| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517 |
- /*!
- *
- * @supermap/vue-iclient.(https://iclient.supermap.io)
- * Copyright© 2000 - 2023 SuperMap Software Co.Ltd
- * license: Apache-2.0
- * version: v11.1.0
- *
- */
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("video.js"),require("echarts"),require("flv.js"),require("videojs-flash"),require("vue-echarts"),require("echarts-liquidfill"),require("leaflet"),require("vue"),require("@supermap/vue-iclient-leaflet/static/libs/iclient-leaflet/iclient-leaflet.min.js"),require("videojs-flvjs-es6")):"function"==typeof define&&define.amd?define(["video.js","echarts","flv.js","videojs-flash","vue-echarts","echarts-liquidfill","leaflet","vue","@supermap/vue-iclient-leaflet/static/libs/iclient-leaflet/iclient-leaflet.min.js","videojs-flvjs-es6"],t):"object"==typeof exports?exports.Components=t(require("video.js"),require("echarts"),require("flv.js"),require("videojs-flash"),require("vue-echarts"),require("echarts-liquidfill"),require("leaflet"),require("vue"),require("@supermap/vue-iclient-leaflet/static/libs/iclient-leaflet/iclient-leaflet.min.js"),require("videojs-flvjs-es6")):(e.SuperMap=e.SuperMap||{},e.SuperMap.Components=t(e.videojs,e.echarts,e.flvjs,e.videojsFlash,e.VueECharts,e["echarts-liquidfill"],e.L,e.Vue,e.SuperMap,e.videojsFlvjs))}(window,function(__WEBPACK_EXTERNAL_MODULE_AzSJ__,__WEBPACK_EXTERNAL_MODULE_Fk5u__,__WEBPACK_EXTERNAL_MODULE_SA_z__,__WEBPACK_EXTERNAL_MODULE_YJnY__,__WEBPACK_EXTERNAL_MODULE_Zni2__,__WEBPACK_EXTERNAL_MODULE_hQXD__,__WEBPACK_EXTERNAL_MODULE_hgx0__,__WEBPACK_EXTERNAL_MODULE_i7_w__,__WEBPACK_EXTERNAL_MODULE_jKu1__,__WEBPACK_EXTERNAL_MODULE_l2c0__){return function(n){var r={};function i(e){var t;return(r[e]||(t=r[e]={i:e,l:!1,exports:{}},n[e].call(t.exports,t,t.exports,i),t.l=!0,t)).exports}return i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i(i.s=0)}({"++4Y":function(e,t,n){"use strict";n=n("eRwv");e.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},"+6XX":function(e,t,n){var r=n("y1pI");e.exports=function(e){return-1<r(this.__data__,e)}},"+99c":function(B,e,t){"use strict";t.r(e),t.d(e,"SliderProps",function(){return j});var n=t("jo6Y"),y=t.n(n),n=t("YEIV"),b=t.n(n),n=t("QbLZ"),_=t.n(n),r=t("TZE5"),n=t("tIgm"),v=t("2qPA"),m=t("aiEA"),f={functional:!0,render:function(e,t){var n=t.props,r=n.included,i=n.vertical,o=n.offset,a=n.length,n=n.reverse,t=t.data,s=t.style,t=t.class,o=i?(i={},b()(i,n?"top":"bottom",o+"%"),b()(i,n?"bottom":"top","auto"),b()(i,"height",a+"%"),i):(i={},b()(i,n?"right":"left",o+"%"),b()(i,n?"left":"right","auto"),b()(i,"width",a+"%"),i),n=_()({},s,o);return r?e("div",{class:t,style:n}):null}},i=t("TSYQ"),x=t.n(i),o=t("yMYy"),w={functional:!0,render:function(i,e){var e=e.props,o=e.prefixCls,a=e.vertical,s=e.reverse,t=e.marks,n=e.dots,r=e.step,l=e.included,u=e.lowerBound,c=e.upperBound,f=e.max,h=e.min,d=e.dotStyle,p=e.activeDotStyle,y=f-h,e=function(e,t,n,r,i){Object(m.a)(!t||0<n,"Slider","`Slider[step]` should be a positive number in order to make Slider[dots] work.");var o=Object.keys(e).map(parseFloat).sort(function(e,t){return e-t});if(t&&n)for(var a=r;a<=i;a+=n)-1===o.indexOf(a)&&o.push(a);return o}(t,n,r,h,f).map(function(e){var t,n=Math.abs(e-h)/y*100+"%",r=!l&&e===c||l&&e<=c&&u<=e,n=a?_()({},d,b()({},s?"top":"bottom",n)):_()({},d,b()({},s?"right":"left",n)),r=(r&&(n=_()({},n,p)),x()((t={},b()(t,o+"-dot",!0),b()(t,o+"-dot-active",r),b()(t,o+"-dot-reverse",s),t)));return i("span",{class:r,style:n,key:e})});return i("div",{class:o+"-step"},[e])}},i=t("EJiy"),A=t.n(i),S={functional:!0,render:function(s,e){var t=e.props,l=t.className,u=t.vertical,c=t.reverse,f=t.marks,h=t.included,d=t.upperBound,p=t.lowerBound,n=t.max,y=t.min,m=e.listeners.clickLabel,t=Object.keys(f),g=n-y,e=t.map(parseFloat).sort(function(e,t){return e-t}).map(function(t){var e,n,r,i="function"==typeof f[t]?f[t](s):f[t],o="object"===(void 0===i?"undefined":A()(i))&&!Object(v.isValidElement)(i),a=o?i.label:i;return a||0===a?(e=!h&&t===d||h&&t<=d&&p<=t,e=x()((n={},b()(n,l+"-text",!0),b()(n,l+"-text-active",e),n)),n=b()({marginBottom:"-50%"},c?"top":"bottom",(t-y)/g*100+"%"),r=b()({transform:"translateX(-50%)",msTransform:"translateX(-50%)"},c?"right":"left",c?(t-y/4)/g*100+"%":(t-y)/g*100+"%"),n=u?n:r,r=o?_()({},n,i.style):n,s("span",{class:e,style:r,key:t,on:{mousedown:function(e){return m(e,t)},touchstart:function(e){return m(e,t)}}},[a])):null});return s("div",{class:l},[e])}},g={name:"Handle",mixins:[n.a],props:{prefixCls:r.a.string,vertical:r.a.bool,offset:r.a.number,disabled:r.a.bool,min:r.a.number,max:r.a.number,value:r.a.number,tabIndex:r.a.number,className:r.a.string,reverse:r.a.bool},data:function(){return{clickFocused:!1}},mounted:function(){this.onMouseUpListener=Object(o.a)(document,"mouseup",this.handleMouseUp)},beforeDestroy:function(){this.onMouseUpListener&&this.onMouseUpListener.remove()},methods:{setClickFocus:function(e){this.setState({clickFocused:e})},handleMouseUp:function(){document.activeElement===this.$refs.handle&&this.setClickFocus(!0)},handleBlur:function(e){this.setClickFocus(!1),this.__emit("blur",e)},handleKeyDown:function(){this.setClickFocus(!1)},clickFocus:function(){this.setClickFocus(!0),this.focus()},focus:function(){this.$refs.handle.focus()},blur:function(){this.$refs.handle.blur()},handleMousedown:function(e){this.focus(),this.__emit("mousedown",e)}},render:function(){var e=arguments[0],t=Object(v.getOptionProps)(this),n=t.prefixCls,r=t.vertical,i=t.reverse,o=t.offset,a=t.disabled,s=t.min,l=t.max,u=t.value,t=t.tabIndex,n=x()(this.$props.className,b()({},n+"-handle-click-focused",this.clickFocused)),o=r?(r={},b()(r,i?"top":"bottom",o+"%"),b()(r,i?"bottom":"top","auto"),b()(r,"transform","translateY(+50%)"),r):(r={},b()(r,i?"right":"left",o+"%"),b()(r,i?"left":"right","auto"),b()(r,"transform","translateX("+(i?"+":"-")+"50%)"),r),i={"aria-valuemin":s,"aria-valuemax":l,"aria-valuenow":u,"aria-disabled":!!a},r=!a&&null!==t?t||0:null;return e("div",{attrs:_()({role:"slider",tabIndex:r},i),class:n,on:_()({},Object(v.getListeners)(this),{blur:this.handleBlur,keydown:this.handleKeyDown,mousedown:this.handleMousedown}),ref:"handle",style:o})}},i=t("m1cH"),s=t.n(i),a=t("GKdC");function l(t,n){try{return Object.keys(n).some(function(e){return t.target===n[e].$el||t.target===n[e]})}catch(e){}}function u(e,t){var n=t.min,t=t.max;return e<n||t<e}function c(e){return 1<e.touches.length||"touchend"===e.type.toLowerCase()&&0<e.touches.length}function h(t,e){var n=e.marks,r=e.step,i=e.min,e=e.max,n=Object.keys(n).map(parseFloat),r=(null!==r&&(e=Math.floor((e-i)/r),e=Math.min((t-i)/r,e),e=Math.round(e)*r+i,n.push(e)),n.map(function(e){return Math.abs(t-e)}));return n[r.indexOf(Math.min.apply(Math,s()(r)))]}function d(e,t){var n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.clientY:t.pageX)/n}function p(e,t){var n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.touches[0].clientY:t.touches[0].pageX)/n}function C(e,t){t=t.getBoundingClientRect();return e?t.top+.5*t.height:window.pageXOffset+t.left+.5*t.width}function O(e,t){var n=t.max,t=t.min;return e<=t?t:n<=e?n:e}function E(e,t){var n=t.step,e=isFinite(h(e,t))?h(e,t):0;return null===n?e:parseFloat(e.toFixed((t=(t=n).toString(),e=(e=0)<=t.indexOf(".")?t.length-t.indexOf(".")-1:e)))}function M(e){e.stopPropagation(),e.preventDefault()}function P(e,t,n){var r="increase",i="decrease",o=r;switch(e.keyCode){case a.a.UP:o=t&&n?i:r;break;case a.a.RIGHT:o=!t&&n?i:r;break;case a.a.DOWN:o=t&&n?r:i;break;case a.a.LEFT:o=!t&&n?r:i;break;case a.a.END:return function(e,t){return t.max};case a.a.HOME:return function(e,t){return t.min};case a.a.PAGE_UP:return function(e,t){return e+2*t.step};case a.a.PAGE_DOWN:return function(e,t){return e-2*t.step};default:return}return function(e,t){return e=e,t=t,i=(r={increase:function(e,t){return e+t},decrease:function(e,t){return e-t}})[n=o](Object.keys(t.marks).indexOf(JSON.stringify(e)),1),i=Object.keys(t.marks)[i],t.step?r[n](e,t.step):Object.keys(t.marks).length&&t.marks[i]?t.marks[i]:e;var n,r,i}}function k(){}function T(e){var t={min:r.a.number,max:r.a.number,step:r.a.number,marks:r.a.object,included:r.a.bool,prefixCls:r.a.string,disabled:r.a.bool,handle:r.a.func,dots:r.a.bool,vertical:r.a.bool,reverse:r.a.bool,minimumTrackStyle:r.a.object,maximumTrackStyle:r.a.object,handleStyle:r.a.oneOfType([r.a.object,r.a.arrayOf(r.a.object)]),trackStyle:r.a.oneOfType([r.a.object,r.a.arrayOf(r.a.object)]),railStyle:r.a.object,dotStyle:r.a.object,activeDotStyle:r.a.object,autoFocus:r.a.bool};return{name:"createSlider",mixins:[e],model:{prop:"value",event:"change"},props:Object(v.initDefaultProps)(t,{prefixCls:"rc-slider",min:0,max:100,step:1,marks:{},included:!0,disabled:!1,dots:!1,vertical:!1,reverse:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),data:function(){var e=this.step,t=this.max,n=this.min,r=!isFinite(t-n)||(t-n)%e==0;return Object(m.a)(!e||Math.floor(e)!==e||r,"Slider","Slider[max] - Slider[min] (%s) should be a multiple of Slider[step] (%s)",t-n,e),this.handlesRefs={},{}},mounted:function(){var n=this;this.$nextTick(function(){n.document=n.$refs.sliderRef&&n.$refs.sliderRef.ownerDocument;var e=n.autoFocus,t=n.disabled;e&&!t&&n.focus()})},beforeDestroy:function(){var e=this;this.$nextTick(function(){e.removeDocumentEvents()})},methods:{defaultHandle:function(e){var t=e.index,n=e.directives,r=e.className,i=e.style,o=e.on,e=y()(e,["index","directives","className","style","on"]),a=this.$createElement;return delete e.dragging,null===e.value?null:(e={props:_()({},e),class:r,style:i,key:t,directives:n,on:o},a(g,e))},onMouseDown:function(e){var t,n;0===e.button&&(t=d(n=this.vertical,e),l(e,this.handlesRefs)?(n=C(n,e.target),this.dragOffset=t-n,t=n):this.dragOffset=0,this.removeDocumentEvents(),this.onStart(t),this.addDocumentMouseEvents(),M(e))},onTouchStart:function(e){var t,n;c(e)||(t=p(n=this.vertical,e),l(e,this.handlesRefs)?(n=C(n,e.target),this.dragOffset=t-n,t=n):this.dragOffset=0,this.onStart(t),this.addDocumentTouchEvents(),M(e))},onFocus:function(e){var t=this.vertical;l(e,this.handlesRefs)&&(t=C(t,e.target),this.dragOffset=0,this.onStart(t),M(e),this.$emit("focus",e))},onBlur:function(e){this.onEnd(),this.$emit("blur",e)},onMouseUp:function(){this.handlesRefs[this.prevMovedHandleIndex]&&this.handlesRefs[this.prevMovedHandleIndex].clickFocus()},onMouseMove:function(e){var t;this.$refs.sliderRef?(t=d(this.vertical,e),this.onMove(e,t-this.dragOffset)):this.onEnd()},onTouchMove:function(e){var t;c(e)||!this.$refs.sliderRef?this.onEnd():(t=p(this.vertical,e),this.onMove(e,t-this.dragOffset))},onKeyDown:function(e){this.$refs.sliderRef&&l(e,this.handlesRefs)&&this.onKeyboard(e)},onClickMarkLabel:function(e,t){var n=this;e.stopPropagation(),this.onChange({sValue:t}),this.setState({sValue:t},function(){return n.onEnd(!0)})},getSliderStart:function(){var e=this.$refs.sliderRef,t=this.vertical,n=this.reverse,e=e.getBoundingClientRect();return t?n?e.bottom:e.top:window.pageXOffset+(n?e.right:e.left)},getSliderLength:function(){var e=this.$refs.sliderRef;return e?(e=e.getBoundingClientRect(),this.vertical?e.height:e.width):0},addDocumentTouchEvents:function(){this.onTouchMoveListener=Object(o.a)(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=Object(o.a)(this.document,"touchend",this.onEnd)},addDocumentMouseEvents:function(){this.onMouseMoveListener=Object(o.a)(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=Object(o.a)(this.document,"mouseup",this.onEnd)},removeDocumentEvents:function(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()},focus:function(){this.disabled||this.handlesRefs[0].focus()},blur:function(){var t=this;this.disabled||Object.keys(this.handlesRefs).forEach(function(e){t.handlesRefs[e]&&t.handlesRefs[e].blur&&t.handlesRefs[e].blur()})},calcValue:function(e){var t=this.vertical,n=this.min,r=this.max,e=Math.abs(Math.max(e,0)/this.getSliderLength());return t?(1-e)*(r-n)+n:e*(r-n)+n},calcValueByPos:function(e){e=(this.reverse?-1:1)*(e-this.getSliderStart());return this.trimAlignValue(this.calcValue(e))},calcOffset:function(e){var t=this.min;return 100*((e-t)/(this.max-t))},saveHandle:function(e,t){this.handlesRefs[e]=t}},render:function(e){var t=this.prefixCls,n=this.marks,r=this.dots,i=this.step,o=this.included,a=this.disabled,s=this.vertical,l=this.reverse,u=this.min,c=this.max,f=this.maximumTrackStyle,h=this.railStyle,d=this.dotStyle,p=this.activeDotStyle,y=this.renderSlider(e),m=y.tracks,y=y.handles,g=x()(t,(g={},b()(g,t+"-with-marks",Object.keys(n).length),b()(g,t+"-disabled",a),b()(g,t+"-vertical",s),g)),v={props:{vertical:s,marks:n,included:o,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:c,min:u,reverse:l,className:t+"-mark"},on:{clickLabel:a?k:this.onClickMarkLabel}};return e("div",{ref:"sliderRef",attrs:{tabIndex:"-1"},class:g,on:{touchstart:a?k:this.onTouchStart,mousedown:a?k:this.onMouseDown,mouseup:a?k:this.onMouseUp,keydown:a?k:this.onKeyDown,focus:a?k:this.onFocus,blur:a?k:this.onBlur}},[e("div",{class:t+"-rail",style:_()({},f,h)}),m,e(w,{attrs:{prefixCls:t,vertical:s,reverse:l,marks:n,dots:r,step:i,included:o,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:c,min:u,dotStyle:d,activeDotStyle:p}}),y,e(S,v),this.$slots.default])}}}function I(e){var t=e.value,n=e.handle,r=e.bounds,i=(e=e.props).allowCross,o=e.pushable,o=Number(o),a=t=O(t,e);return i||null==n||void 0===r||(0<n&&t<=r[n-1]+o&&(a=r[n-1]+o),n<r.length-1&&t>=r[n+1]-o&&(a=r[n+1]-o)),E(a,e)}var L=T({name:"Slider",mixins:[n.a],props:{defaultValue:r.a.number,value:r.a.number,disabled:r.a.bool,autoFocus:r.a.bool,tabIndex:r.a.number,reverse:r.a.bool,min:r.a.number,max:r.a.number},data:function(){var e=void 0!==this.defaultValue?this.defaultValue:this.min,e=void 0!==this.value?this.value:e;return Object(m.a)(!Object(v.hasProp)(this,"minimumTrackStyle"),"Slider","minimumTrackStyle will be deprecate, please use trackStyle instead."),Object(m.a)(!Object(v.hasProp)(this,"maximumTrackStyle"),"Slider","maximumTrackStyle will be deprecate, please use railStyle instead."),{sValue:this.trimAlignValue(e),dragging:!1}},watch:{value:{handler:function(e){this.setChangeValue(e)},deep:!0},min:function(){var e=this.sValue;this.setChangeValue(e)},max:function(){var e=this.sValue;this.setChangeValue(e)}},methods:{setChangeValue:function(e){var e=void 0!==e?e:this.sValue,t=this.trimAlignValue(e,this.$props);t!==this.sValue&&(this.setState({sValue:t}),u(e,this.$props))&&this.$emit("change",t)},onChange:function(e){var t=!Object(v.hasProp)(this,"value"),e=e.sValue>this.max?_()({},e,{sValue:this.max}):e,t=(t&&this.setState(e),e.sValue);this.$emit("change",t)},onStart:function(e){this.setState({dragging:!0});var t=this.sValue,n=(this.$emit("beforeChange",t),this.calcValueByPos(e));this.startValue=n,this.startPosition=e,n!==t&&(this.prevMovedHandleIndex=0,this.onChange({sValue:n}))},onEnd:function(e){var t=this.dragging;this.removeDocumentEvents(),(t||e)&&this.$emit("afterChange",this.sValue),this.setState({dragging:!1})},onMove:function(e,t){M(e);e=this.sValue,t=this.calcValueByPos(t);t!==e&&this.onChange({sValue:t})},onKeyboard:function(e){var t=this.$props,n=t.reverse,t=P(e,t.vertical,n);t&&(M(e),e=t(n=this.sValue,this.$props),(t=this.trimAlignValue(e))!==n)&&(this.onChange({sValue:t}),this.$emit("afterChange",t),this.onEnd())},getLowerBound:function(){return this.min},getUpperBound:function(){return this.sValue},trimAlignValue:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return null===e?null:E(O(e,e=_()({},this.$props,t)),e)},getTrack:function(e){var t=e.prefixCls,n=e.reverse,r=e.vertical,i=e.included,o=e.offset,a=e.minimumTrackStyle,e=e._trackStyle;return(0,this.$createElement)(f,{class:t+"-track",attrs:{vertical:r,included:i,offset:0,reverse:n,length:o},style:_()({},a,e)})},renderSlider:function(){var t=this,e=this.prefixCls,n=this.vertical,r=this.included,i=this.disabled,o=this.minimumTrackStyle,a=this.trackStyle,s=this.handleStyle,l=this.tabIndex,u=this.min,c=this.max,f=this.reverse,h=this.handle,d=this.defaultHandle,h=h||d,d=this.sValue,p=this.dragging,y=this.calcOffset(d),h=h({className:e+"-handle",prefixCls:e,vertical:n,offset:y,value:d,dragging:p,disabled:i,min:u,max:c,reverse:f,index:0,tabIndex:l,style:s[0]||s,directives:[{name:"ant-ref",value:function(e){return t.saveHandle(0,e)}}],on:{focus:this.onFocus,blur:this.onBlur}}),d=a[0]||a;return{tracks:this.getTrack({prefixCls:e,reverse:f,vertical:n,included:r,offset:y,minimumTrackStyle:o,_trackStyle:d}),handles:h}}}}),i={defaultValue:r.a.arrayOf(r.a.number),value:r.a.arrayOf(r.a.number),count:r.a.number,pushable:r.a.oneOfType([r.a.bool,r.a.number]),allowCross:r.a.bool,disabled:r.a.bool,reverse:r.a.bool,tabIndex:r.a.arrayOf(r.a.number),prefixCls:r.a.string,min:r.a.number,max:r.a.number,autoFocus:r.a.bool},R=T({name:"Range",displayName:"Range",mixins:[n.a],props:Object(v.initDefaultProps)(i,{count:1,allowCross:!0,pushable:!1,tabIndex:[]}),data:function(){var n=this,e=this.count,t=this.min,r=this.max,e=Array.apply(void 0,s()(Array(e+1))).map(function(){return t}),e=Object(v.hasProp)(this,"defaultValue")?this.defaultValue:e,i=this.value,e=(i=void 0===i?e:i).map(function(e,t){return I({value:e,handle:t,props:n.$props})});return{sHandle:null,recent:e[0]===r?0:e.length-1,bounds:e}},watch:{value:{handler:function(e){var t=this.bounds;this.setChangeValue(e||t)},deep:!0},min:function(){var e=this.value;this.setChangeValue(e||this.bounds)},max:function(){var e=this.value;this.setChangeValue(e||this.bounds)}},methods:{setChangeValue:function(e){var n=this,r=this.bounds,t=e.map(function(e,t){return I({value:e,handle:t,bounds:r,props:n.$props})});t.length===r.length&&t.every(function(e,t){return e===r[t]})||(this.setState({bounds:t}),e.some(function(e){return u(e,n.$props)})&&(t=e.map(function(e){return O(e,n.$props)}),this.$emit("change",t)))},onChange:function(t){var n;!Object(v.hasProp)(this,"value")?this.setState(t):(n={},["sHandle","recent"].forEach(function(e){void 0!==t[e]&&(n[e]=t[e])}),Object.keys(n).length&&this.setState(n));var e=_()({},this.$data,t).bounds;this.$emit("change",e)},onStart:function(e){var t=this.bounds,n=(this.$emit("beforeChange",t),this.calcValueByPos(e)),e=(this.startValue=n,this.startPosition=e,this.getClosestBound(n));this.prevMovedHandleIndex=this.getBoundNeedMoving(n,e),this.setState({sHandle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex}),n!==t[this.prevMovedHandleIndex]&&((e=[].concat(s()(t)))[this.prevMovedHandleIndex]=n,this.onChange({bounds:e}))},onEnd:function(e){var t=this.sHandle;this.removeDocumentEvents(),null===t&&!e||this.$emit("afterChange",this.bounds),this.setState({sHandle:null})},onMove:function(e,t){M(e);var e=this.bounds,n=this.sHandle,t=this.calcValueByPos(t);t!==e[n]&&this.moveTo(t)},onKeyboard:function(e){var t,n=this.$props,r=n.reverse,n=P(e,n.vertical,r);n&&(M(e),t=n(n=(r=this.bounds)[null===(e=this.sHandle)?this.recent:e],this.$props),(t=I({value:t,handle:e,bounds:r,props:this.$props}))!==n)&&this.moveTo(t,!0)},getClosestBound:function(e){for(var t=this.bounds,n=0,r=1;r<t.length-1;++r)e>t[r]&&(n=r);return Math.abs(t[n+1]-e)<Math.abs(t[n]-e)&&(n+=1),n},getBoundNeedMoving:function(e,t){var n=this.bounds,r=this.recent,i=t,o=n[t+1]===n[t];return o&&n[r]===n[t]&&(i=r),i=o&&e!==n[t+1]?e<n[t+1]?t:t+1:i},getLowerBound:function(){return this.bounds[0]},getUpperBound:function(){var e=this.bounds;return e[e.length-1]},getPoints:function(){var e=this.marks,t=this.step,n=this.min,r=this.max,i=this._getPointsCache;if(!i||i.marks!==e||i.step!==t){var o=_()({},e);if(null!==t)for(var a=n;a<=r;a+=t)o[a]=a;i=Object.keys(o).map(parseFloat);i.sort(function(e,t){return e-t}),this._getPointsCache={marks:e,step:t,points:i}}return this._getPointsCache.points},moveTo:function(e,t){var n=this,r=[].concat(s()(this.bounds)),i=this.sHandle,o=this.recent,o=null===i?o:i,a=(r[o]=e,o);!1!==this.$props.pushable?this.pushSurroundingHandles(r,a):this.$props.allowCross&&(r.sort(function(e,t){return e-t}),a=r.indexOf(e)),this.onChange({recent:a,sHandle:a,bounds:r}),t&&(this.$emit("afterChange",r),this.setState({},function(){n.handlesRefs[a].focus()}),this.onEnd())},pushSurroundingHandles:function(e,t){var n,r=e[t],i=this.pushable,i=Number(i),o=0;e[t+1]-r<i&&(o=1),0===(o=r-e[t-1]<i?-1:o)||(r=o*(e[n=t+o]-r),this.pushHandle(e,n,o,i-r))||(e[t]=e[n]-o*i)},pushHandle:function(e,t,n,r){for(var i=e[t],o=e[t];n*(o-i)<r;){if(!this.pushHandleOnePoint(e,t,n))return e[t]=i,!1;o=e[t]}return!0},pushHandleOnePoint:function(e,t,n){var r,i,o=this.getPoints(),a=o.indexOf(e[t])+n;return!(a>=o.length||a<0||(o=o[a],a=this.pushable,i=n*(e[r=t+n]-o),!this.pushHandle(e,r,n,a-i))||(e[t]=o,0))},trimAlignValue:function(e){var t=this.sHandle,n=this.bounds;return I({value:e,handle:t,bounds:n,props:this.$props})},ensureValueNotConflict:function(e,t,n){var r=n.allowCross,n=n.pushable,i=this.$data||{},o=i.bounds;if(e=void 0===e?i.sHandle:e,n=Number(n),!r&&null!=e&&void 0!==o){if(0<e&&t<=o[e-1]+n)return o[e-1]+n;if(e<o.length-1&&t>=o[e+1]-n)return o[e+1]-n}return t},getTrack:function(e){var t=e.bounds,i=e.prefixCls,o=e.reverse,a=e.vertical,s=e.included,l=e.offsets,u=e.trackStyle,c=this.$createElement;return t.slice(0,-1).map(function(e,t){var n=t+1,r=x()((r={},b()(r,i+"-track",!0),b()(r,i+"-track-"+n,!0),r));return c(f,{class:r,attrs:{vertical:a,reverse:o,included:s,offset:l[n-1],length:l[n]-l[n-1]},style:u[t],key:n})})},renderSlider:function(){var i=this,o=this.sHandle,e=this.bounds,a=this.prefixCls,s=this.vertical,t=this.included,l=this.disabled,u=this.min,c=this.max,f=this.reverse,n=this.handle,r=this.defaultHandle,h=this.trackStyle,d=this.handleStyle,p=this.tabIndex,y=n||r,m=e.map(function(e){return i.calcOffset(e)}),g=a+"-handle",n=e.map(function(e,t){var n,r=p[t]||0;return!l&&null!==p[t]||(r=null),y({className:x()((n={},b()(n,g,!0),b()(n,g+"-"+(t+1),!0),n)),prefixCls:a,vertical:s,offset:m[t],value:e,dragging:o===t,index:t,tabIndex:r,min:u,max:c,reverse:f,disabled:l,style:d[t],directives:[{name:"ant-ref",value:function(e){return i.saveHandle(t,e)}}],on:{focus:i.onFocus,blur:i.onBlur}})});return{tracks:this.getTrack({bounds:e,prefixCls:a,reverse:f,vertical:s,included:t,offsets:m,trackStyle:h}),handles:n}}}}),N=t("+TMU"),z=t("2xRk"),F=t("TfX5"),i=t("9U/e"),V=Object(i.a)(),j=function(){return{prefixCls:r.a.string,tooltipPrefixCls:r.a.string,range:r.a.bool,reverse:r.a.bool,min:r.a.number,max:r.a.number,step:r.a.oneOfType([r.a.number,r.a.any]),marks:r.a.object,dots:r.a.bool,value:r.a.oneOfType([r.a.number,r.a.arrayOf(r.a.number)]),defaultValue:r.a.oneOfType([r.a.number,r.a.arrayOf(r.a.number)]),included:r.a.bool,disabled:r.a.bool,vertical:r.a.bool,tipFormatter:r.a.oneOfType([r.a.func,r.a.object]),tooltipVisible:r.a.bool,tooltipPlacement:V.placement,getTooltipPopupContainer:r.a.func}},D={name:"ASlider",model:{prop:"value",event:"change"},mixins:[n.a],inject:{configProvider:{default:function(){return F.a}}},props:_()({},j(),{tipFormatter:r.a.oneOfType([r.a.func,r.a.object]).def(function(e){return e.toString()})}),data:function(){return{visibles:{}}},methods:{toggleTooltipVisible:function(t,n){this.setState(function(e){e=e.visibles;return{visibles:_()({},e,b()({},t,n))}})},handleWithTooltip:function(e,t,n){var r=this,i=n.value,o=n.dragging,a=n.index,s=n.directives,l=n.on,n=y()(n,["value","dragging","index","directives","on"]),u=this.$createElement,c=this.$props,f=c.tipFormatter,h=c.tooltipVisible,d=c.tooltipPlacement,c=c.getTooltipPopupContainer,p=this.visibles,p=!!f&&(p[a]||o),o=h||void 0===h&&p,h={props:{prefixCls:e,title:f?f(i):"",visible:o,placement:d||"top",transitionName:"zoom-down",overlayClassName:t+"-tooltip",getPopupContainer:c||function(){return document.body}},key:a},p={props:_()({value:i},n),directives:s,on:_()({},l,{mouseenter:function(){return r.toggleTooltipVisible(a,!0)},mouseleave:function(){return r.toggleTooltipVisible(a,!1)}})};return u(N.a,h,[u(g,p)])},focus:function(){this.$refs.sliderRef.focus()},blur:function(){this.$refs.sliderRef.blur()}},render:function(){var t=this,e=arguments[0],n=Object(v.getOptionProps)(this),r=n.range,i=n.prefixCls,o=n.tooltipPrefixCls,n=y()(n,["range","prefixCls","tooltipPrefixCls"]),a=this.configProvider.getPrefixCls,s=a("slider",i),l=a("tooltip",o),i=Object(v.getListeners)(this);return r?(a={props:_()({},n,{prefixCls:s,tooltipPrefixCls:l,handle:function(e){return t.handleWithTooltip(l,s,e)}}),ref:"sliderRef",on:i},e(R,a)):(o={props:_()({},n,{prefixCls:s,tooltipPrefixCls:l,handle:function(e){return t.handleWithTooltip(l,s,e)}}),ref:"sliderRef",on:i},e(L,o))},install:function(e){e.use(z.default),e.component(D.name,D)}};e.default=D},"+Db8":function(e,t,n){"use strict";var r=n("TqRt"),s=(Object.defineProperty(t,"__esModule",{value:!0}),t._getValueOfEpsgCode=d,t.checkAndRectifyFeatures=g,t.default=void 0,t.getServerEpsgCode=m,t.transformFeatures=y,t.vertifyEpsgCode=p,r(n("o0o1"))),i=r(n("VbXa")),o=r(n("yXPU")),a=(n("Qu1R"),n("upFX"),n("peoL")),l=n("ydy9"),u=r(n("p5/s")),c=n("e7LN"),f=n("EtYe"),h=r(n("zT9C"));function d(e){var e="EPSG:"+e,t=(0,l.getProjection)(e);return t?u.default.defs(e)||u.default.defs(e,t):console.error(e+" not define"),{name:e,value:t}}function p(e){var t=4326,e=(e.geometry||{}).coordinates||[];return t=-180<(e=e[0]instanceof Array&&(!(e[0][0]instanceof Array)||(e=e[0][0])[0]instanceof Array)?e[0]:e)[0]&&e[0]<180&&-180<e[1]&&e[1]<180?t:3857}function y(e,t){var n=d(e).name;return t.map(function(e){var t;return u.default.defs(n)&&e.geometry&&e.geometry.coordinates&&(t=e.geometry.coordinates,e.geometry.coordinates=function n(r,i){if(r[0]instanceof Array)r.forEach(function(e,t){e instanceof Array&&(r[t]=n(e,i))});else if(0<r.length)return"EPSG:4326"!==i?(0,u.default)(i,"EPSG:4326",r):r;return r}(t,n)),e})}function m(e,t){if(e)return SuperMap.FetchRequest.get(e,null,t).then(function(e){return e.json()}).then(function(e){var t=e.epsgCode;return t=e.datasetInfo?(e=e.datasetInfo.prjCoordSys)?e.epsgCode:null:t}).catch(function(e){console.log(e)})}function g(e){return v.apply(this,arguments)}function v(){return(v=(0,o.default)(s.default.mark(function e(t){var n,r,i,o,a;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.features,r=t.epsgCode,o=t.projectionUrl,a=t.options,i=n,r=r){e.next=7;break}return e.next=6,m(o,a);case 6:r=e.sent;case 7:return o=(0,l.getProjection)("EPSG:"+r),(r=void 0===o?4326:r)&&n&&n.length&&(4326===r&&(a=p(n[0]),r=a),i=y(r,(0,h.default)(n))),e.abrupt("return",i);case 11:case"end":return e.stop()}},e)}))).apply(this,arguments)}r=function(r){function e(e,t){var n=r.call(this)||this;return n.url=e,n.options=t||{},n.eventTypes=["getdatasucceeded","getdatafailed","featureisempty"],n}(0,i.default)(e,r);var t=e.prototype;return t.getData=function(e,t){if(!this._checkUrl(this.url))return null;this._getDatasetInfoSucceed(e,t)},t._getDatasetInfoSucceed=function(e,t){e.dataUrl=this.url,-1<this.url.indexOf("/rest/maps")&&this.getMapFeatures(e,t),-1<this.url.indexOf("/rest/data")&&this.getDataFeatures(e,t)},t.getMapFeatures=function(e,t){var n=this,r=e.dataUrl,e=e.mapName;t.name=e,this.projectionUrl=r+"/prjCoordSys",t.keyWord?this._getRestMapFields(r,e,function(e){t.attributeFilter=n._getAttributeFilterByKeywords(e,t.keyWord),n._getMapFeatureBySql(r,t)},t.withCredentials):this._getMapFeatureBySql(r,t)},t.getDataFeatures=function(e,t){var n=this,r=e.datasetName,i=e.dataSourceName,o=e.dataUrl;t.name=r+"@"+i,t.datasetNames=[i+":"+r],this.projectionUrl=o+"/datasources/"+i+"/datasets/"+r,t.keyWord?this._getRestDataFields(o+"/datasources/"+i+"/datasets/"+r+"/fields.rjson?returnAll=true",t,function(e){t.attributeFilter=n._getAttributeFilterByKeywords(e,t.keyWord),n._getDataFeaturesBySql(o,t)}):this._getDataFeaturesBySql(o,t)},t._getMapFeatureBySql=function(e,t){var n=this,r=new SuperMap.QueryBySQLParameters({queryParams:[{name:t.name,attributeFilter:t.attributeFilter,orderBy:t.orderBy}],queryOption:!1===this.options.hasGeometry?"ATTRIBUTE":"ATTRIBUTEANDGEOMETRY",startRecord:this.options.fromIndex,expectCount:this.options.toIndex?this.options.toIndex-this.options.fromIndex+1:t.maxFeatures});new SuperMap.QueryBySQLService(e,{proxy:this.options.proxy,withCredentials:t.withCredentials,eventListeners:{processCompleted:this._getFeaturesSucceed.bind(this),processFailed:function(e){console.error(e.error),n.fetchFailed(e.error)}}}).processAsync(r)},t._getDataFeaturesBySql=function(e,t){var n=this,r=new SuperMap.GetFeaturesBySQLParameters({queryParameter:{name:t.name,attributeFilter:t.attributeFilter,orderBy:t.orderBy},hasGeometry:this.options.hasGeometry,datasetNames:t.datasetNames,fromIndex:this.options.fromIndex||0,toIndex:this.options.toIndex||(1e3<=t.maxFeatures?-1:t.maxFeatures-1),maxFeatures:-1});new SuperMap.GetFeaturesBySQLService(e,{proxy:this.options.proxy,withCredentials:t.withCredentials,eventListeners:{processCompleted:this._getFeaturesSucceed.bind(this),processFailed:function(e){console.error(e.error),n.fetchFailed(e.error)}}}).processAsync(r)},t._getFeaturesSucceed=function(){var t=(0,o.default)(s.default.mark(function e(t){var n,r,i;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.result&&t.result.recordsets?(i=t.result.recordsets[0]||{},this.features=i.features||{},(n=this.features.features)&&0<n.length?((r=(0,f.statisticsFeatures)(n,i.fields,i.fieldCaptions,i.fieldTypes)).totalCount=t.result.totalCount,e.next=11):e.next=9):e.next=13;break;case 9:return this.triggerEvent("featureisempty",{results:t}),e.abrupt("return");case 11:e.next=27;break;case 13:t.result&&t.result.features?(this.features=t.result.features,(n=this.features.features)&&0<n.length?((r=(0,f.statisticsFeatures)(n)).totalCount=t.result.totalCount,e.next=23):e.next=21):e.next=25;break;case 21:return this.triggerEvent("featureisempty",{results:t}),e.abrupt("return");case 23:e.next=27;break;case 25:return this.triggerEvent("getdatafailed",{results:t}),e.abrupt("return");case 27:if(t.result.vertified){e.next=31;break}return e.next=30,g({features:r.features,epsgCode:this.options.epsgCode,projectionUrl:this.projectionUrl,options:{proxy:this.options.proxy}});case 30:r.features=e.sent;case 31:this.triggerEvent("getdatasucceeded",r);case 32:case"end":return e.stop()}},e,this)}));return function(e){return t.apply(this,arguments)}}(),t._getRestDataFields=function(e,t,n){var r=this;SuperMap.FetchRequest.get(e,null,{proxy:this.options.proxy,withCredentials:t.withCredentials}).then(function(e){return e.json()}).then(function(e){var t=r._getFiledsByType(["CHAR","TEXT","WTEXT"],e);n(t,e)}).catch(function(e){console.log(e),r.fetchFailed(e)})},t._getRestMapFields=function(e,t,n,r){var i=this,t=(void 0===r&&(r=!1),new SuperMap.QueryBySQLParameters({queryParams:[new SuperMap.FilterParameter({name:t,attributeFilter:"SMID=0"})]}));new SuperMap.QueryBySQLService(e,{proxy:this.options.proxy,withCredentials:r,eventListeners:{processCompleted:function(e){var t;e.result&&(t=e.result.recordsets[0],t=i._getFiledsByType(["CHAR","TEXT","WTEXT"],t.fieldCaptions,t.fieldTypes)),t&&n(t,e.result.recordsets[0])},processFailed:function(e){console.error(e.error),i.fetchFailed(e.error)}}}).processAsync(t)},t._getAttributeFilterByKeywords=function(n,r){var i="";return n&&n.forEach(function(e,t){i+=t!==n.length-1?e+" LIKE '%"+r+"%' OR ":e+" LIKE '%"+r+"%'"},this),i},t._checkUrl=function(e){e=!(""===e||!(0,c.isMatchUrl)(e));return e},t._getFiledsByType=function(n,e,r){var i=[];return e.forEach(function(e,t){n.includes(r&&r[t]||e.type)&&i.push(r?e:e.name)}),i},t.fetchFailed=function(e){this.triggerEvent("getdatafailed",{error:e})},e}(a.Events);t.default=r},"+JPL":function(e,t,n){e.exports={default:n("+SFK"),__esModule:!0}},"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Lv6":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.directoryTreeTypes=t.default=void 0,r(n("9Anx"))),o=r(n("TFue")),a=r(n("WlrG")),r={expandAction:r(n("ET/Y")).default.oneOf(["false","click","dblclick"]).def("click")},n=(t.directoryTreeTypes=r,{name:"SmDirectoryTree",defaultComponent:i.default,mixins:[o.default,a.default],inheritAttrs:!1,model:{prop:"checkedKeys",event:"check"},props:r,computed:{extralListeners:function(){var e=this;return{check:function(){e.$emit.apply(e,["check"].concat(Array.prototype.slice.call(arguments)))}}}}});t.default=n},"+NXu":function(e,t,n){"use strict";t.a={today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}},"+Qka":function(e,t,n){var u=n("fmRc"),c=n("t2Dn"),f=n("cq/+"),h=n("T1AV"),d=n("GoyQ"),p=n("mTTR"),y=n("itsj");e.exports=function r(i,o,a,s,l){i!==o&&f(o,function(e,t){var n;l=l||new u,d(e)?h(i,o,t,a,r,s,l):(n=s?s(y(i,t),e,t+"",i,o,l):void 0,c(i,t,n=void 0===n?e:n))},p)}},"+SFK":function(e,t,n){n("AUvm"),n("wgeU"),n("adOz"),n("dl0q"),e.exports=n("WEpk").Symbol},"+TMU":function(e,t,n){"use strict";var r=n("OJaq"),i=n("2xRk");r.default.install=function(e){e.use(i.default),e.component(r.default.name,r.default)},t.a=r.default},"+XHg":function(e,t,n){"use strict";var r=n("kvrn"),p=n.n(r),r=n("YEIV"),y=n.n(r),r=n("jo6Y"),m=n.n(r),r=n("QbLZ"),g=n.n(r),r=n("TZE5"),i=n("TSYQ"),v=n.n(i),b=n("2qPA"),i={name:"Checkbox",mixins:[n("tIgm").a],inheritAttrs:!1,model:{prop:"checked",event:"change"},props:Object(b.initDefaultProps)({prefixCls:r.a.string,name:r.a.string,id:r.a.string,type:r.a.string,defaultChecked:r.a.oneOfType([r.a.number,r.a.bool]),checked:r.a.oneOfType([r.a.number,r.a.bool]),disabled:r.a.bool,tabIndex:r.a.oneOfType([r.a.string,r.a.number]),readOnly:r.a.bool,autoFocus:r.a.bool,value:r.a.any},{prefixCls:"rc-checkbox",type:"checkbox",defaultChecked:!1}),data:function(){return{sChecked:Object(b.hasProp)(this,"checked")?this.checked:this.defaultChecked}},watch:{checked:function(e){this.sChecked=e}},mounted:function(){var e=this;this.$nextTick(function(){e.autoFocus&&e.$refs.input&&e.$refs.input.focus()})},methods:{focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},handleChange:function(e){var t=Object(b.getOptionProps)(this);t.disabled||("checked"in t||(this.sChecked=e.target.checked),this.$forceUpdate(),e.shiftKey=this.eventShiftKey,this.__emit("change",{target:g()({},t,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e}),this.eventShiftKey=!1)},onClick:function(e){this.__emit("click",e),this.eventShiftKey=e.shiftKey}},render:function(){var e,t=arguments[0],n=Object(b.getOptionProps)(this),r=n.prefixCls,i=n.name,o=n.id,a=n.type,s=n.disabled,l=n.readOnly,u=n.tabIndex,c=n.autoFocus,f=n.value,h=m()(n,["prefixCls","name","id","type","disabled","readOnly","tabIndex","autoFocus","value"]),n=Object(b.getAttrs)(this),n=Object.keys(g()({},h,n)).reduce(function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=h[t]),e},{}),d=this.sChecked;return t("span",{class:v()(r,(e={},y()(e,r+"-checked",d),y()(e,r+"-disabled",s),e))},[t("input",p()([{attrs:{name:i,id:o,type:a,readOnly:l,disabled:s,tabIndex:u,autoFocus:c},class:r+"-input",domProps:{checked:!!d,value:f},ref:"input"},{attrs:n,on:g()({},Object(b.getListeners)(this),{change:this.handleChange,click:this.onClick})}])),t("span",{class:r+"-inner"})])}};t.a=i},"+iFO":function(e,t,n){var r=n("dTAl"),i=n("LcsW"),o=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},"+kNC":function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),a=n.n(r),r=n("YEIV"),s=n.n(r),r=n("NZOc"),l=n("2qPA"),i=n("ewVk"),o=n("k7Bk"),u=n("QfMm"),c=n("DGO/"),f=n("TfX5");t.default={name:"ACollapse",model:{prop:"activeKey",event:"change"},props:Object(l.initDefaultProps)(Object(o.a)(),{bordered:!0,openAnimation:r.a,expandIconPosition:"left"}),inject:{configProvider:{default:function(){return f.a}}},methods:{renderExpandIcon:function(e,t){var n=this.$createElement,r=Object(l.getComponentFromProp)(this,"expandIcon",e),n=r||n(c.default,{attrs:{type:"right",rotate:e.isActive?90:void 0}});return Object(l.isValidElement)(Array.isArray(r)?n[0]:n)?Object(i.a)(n,{class:t+"-arrow"}):n}},render:function(){var t=this,e=arguments[0],n=this.prefixCls,r=this.bordered,i=this.expandIconPosition,o=(0,this.configProvider.getPrefixCls)("collapse",n),r=(n={},s()(n,o+"-borderless",!r),s()(n,o+"-icon-position-"+i,!0),n),i={props:a()({},Object(l.getOptionProps)(this),{prefixCls:o,expandIcon:function(e){return t.renderExpandIcon(e,o)}}),class:r,on:Object(l.getListeners)(this)};return e(u.default,i,[this.$slots.default])}}},"+qE3":function(e,t,n){"use strict";var r="object"==typeof Reflect?Reflect:null,l=r&&"function"==typeof r.apply?r.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};var i=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(s,l){return new Promise(function(e,t){function n(e){s.removeListener(l,r),t(e)}function r(){"function"==typeof s.removeListener&&s.removeListener("error",n),e([].slice.call(arguments))}var i,o,a;m(s,l,r,{once:!0}),"error"!==l&&(o=n,a={once:!0},"function"==typeof(i=s).on)&&m(i,"error",o,a)})},(a.EventEmitter=a).prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,o;return u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener||n),i=e._events),o=i[t]),void 0===o?(o=i[t]=n,++e._eventsCount):("function"==typeof o?o=i[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),0<(i=c(e))&&o.length>i&&!o.warned&&(o.warned=!0,(r=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",r.emitter=e,r.type=t,r.count=o.length,n=r,console)&&console.warn&&console.warn(n)),e}function h(e,t,n){e={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},t=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(e);return t.listener=n,e.wrapFn=t}function d(e,t,n){e=e._events;if(void 0===e)return[];e=e[t];if(void 0===e)return[];if("function"==typeof e)return n?[e.listener||e]:[e];if(n){for(var r=e,i=new Array(r.length),o=0;o<i.length;++o)i[o]=r[o].listener||r[o];return i}return y(e,e.length)}function p(e){var t=this._events;if(void 0!==t){t=t[e];if("function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(n,r,i,o){if("function"==typeof n.on)o.once?n.once(r,i):n.on(r,i);else{if("function"!=typeof n.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof n);n.addEventListener(r,function e(t){o.once&&n.removeEventListener(r,e),i(t)})}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){if((o=0<t.length?t[0]:o)instanceof Error)throw o;r=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw r.context=o,r}var o=i[e];if(void 0===o)return!1;if("function"==typeof o)l(o,this,t);else for(var a=o.length,s=y(o,a),n=0;n<a;++n)l(s[n],this,t);return!0},a.prototype.on=a.prototype.addListener=function(e,t){return f(this,e,t,!1)},a.prototype.prependListener=function(e,t){return f(this,e,t,!0)},a.prototype.once=function(e,t){return u(t),this.on(e,h(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,h(this,e,t)),this},a.prototype.off=a.prototype.removeListener=function(e,t){var n,r,i,o,a;if(u(t),void 0!==(r=this._events)&&void 0!==(n=r[e]))if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;0<=o;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;if(0===i)n.shift();else{for(var s=n,l=i;l+1<s.length;l++)s[l]=s[l+1];s.pop()}1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.removeAllListeners=function(e){var t,n=this._events;if(void 0!==n)if(void 0===n.removeListener)0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]);else if(0===arguments.length){for(var r,i=Object.keys(n),o=0;o<i.length;++o)"removeListener"!==(r=i[o])&&this.removeAllListeners(r);this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0}else if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(o=t.length-1;0<=o;o--)this.removeListener(e,t[o]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return 0<this._eventsCount?i(this._events):[]}},"+rkK":function(e,t,n){"use strict";n.r(t);var r,i=n("Vtdf"),o=n("2u5Z");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},"+s0g":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var n="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),t=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){if(!e)return n;else if(/-MMM-/.test(t))return r[e.month()];else return n[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"+us0":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r={name:"SmCollapseCard",mixins:[r(n("TFue")).default],props:{iconPosition:{type:String,default:"top-left"},iconClass:{type:String},autoRotate:{type:Boolean,default:!1},headerName:{type:String},collapsed:{type:Boolean,default:!1},splitLine:{type:Boolean,default:!0}},data:function(){return{isShow:!0,transform:null}},computed:{getCardStyle:function(){return this.iconClass||this.headerName?this.collapseCardBackgroundStyle:{background:"transparent"}},iconStyle:function(){return{transform:this.transform}},position:function(){return this.iconPosition},rotateDeg:function(){return{"top-right":["rotate(-45deg)","rotate(135deg)"],"top-left":["rotate(-135deg)","rotate(45deg)"],"bottom-left":["rotate(135deg)","rotate(-45deg)"],"bottom-right":["rotate(45deg)","rotate(-135deg)"]}},hasHeaderRotateDeg:function(){return{"top-right":["rotate(-45deg)","rotate(135deg)"],"top-left":["rotate(-135deg)","rotate(45deg)"],"bottom-left":["rotate(-135deg)","rotate(45deg)"],"bottom-right":["rotate(-45deg)","rotate(135deg)"]}}},watch:{iconClass:function(e,t){e&&!t?(this.isShow=!this.collapsed,this.toggleTransition(this.collapsed?"leave":"enter")):e||(this.isShow=!0)},iconPosition:function(){this.resetIconTransform()}},created:function(){this.iconClass&&(this.isShow=!this.collapsed),this.resetIconTransform()},mounted:function(){this.toggleTransition(this.collapsed?"leave":"enter")},methods:{iconClicked:function(){this.isShow=!this.isShow,this.resetIconTransform(),this.$emit("content-show-state",this.isShow)},toggleTransition:function(t){var n=this;this.$nextTick(function(){var e=n.$el.querySelector(".sm-component-collapse-card__icon");e&&(e.style.position="leave"===t?"relative":"absolute")})},resetIconTransform:function(){var e=this.headerName?this.hasHeaderRotateDeg:this.rotateDeg;this.autoRotate&&(this.transform=e[this.position][this.isShow?1:0])}}};t.default=r},"+wOk":function(e,t,n){"use strict";e.exports=function(n){"use strict";var o,e=(n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n["default"]:n,o||(o={})),a=(e["SwiperComponent"]="Swiper",e["SwiperSlideComponent"]="SwiperSlide",e["SwiperDirective"]="swiper",e["SwiperInstance"]="$swiper",Object.freeze({containerClass:"swiper-container",wrapperClass:"swiper-wrapper",slideClass:"swiper-slide"})),d,S,t=d||(d={}),r=(t["Ready"]="ready",t["ClickSlide"]="clickSlide",S||(S={})),i=(r["AutoUpdate"]="autoUpdate",r["AutoDestroy"]="autoDestroy",r["DeleteInstanceOnDestroy"]="deleteInstanceOnDestroy",r["CleanupStylesOnDestroy"]="cleanupStylesOnDestroy",["init","beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize","observerUpdate","beforeLoopFix","loopFix"]);
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation. All rights reserved.
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of the
- License at http://www.apache.org/licenses/LICENSE-2.0
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
- MERCHANTABLITY OR NON-INFRINGEMENT.
- See the Apache Version 2.0 License for specific language governing permissions
- and limitations under the License.
- ***************************************************************************** */
- function s(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}var p=function e(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()},l=function e(t,n,r){var i,o,a;if(t&&!t.destroyed){var s=((i=n.composedPath)===null||i===void 0?void 0:i.call(n))||n.path;if((n===null||n===void 0?void 0:n.target)&&s){var l=Array.from(t.slides);var u=Array.from(s);if(l.includes(n.target)||u.some(function(e){return l.includes(e)})){var c=t.clickedIndex;var f=Number((a=(o=t.clickedSlide)===null||o===void 0?void 0:o.dataset)===null||a===void 0?void 0:a.swiperSlideIndex);var h=Number.isInteger(f)?f:null;r(d.ClickSlide,c,h);r(p(d.ClickSlide),c,h)}}}},y=function e(t,o){i.forEach(function(i){t.on(i,function(){var e=arguments;var t=[];for(var n=0;n<arguments.length;n++)t[n]=e[n];o.apply(void 0,s([i],t));var r=p(i);if(r!==i)o.apply(void 0,s([r],t))})})},u="instanceName",c;function f(c,n){var _=function e(t,n){var r,i,o,a;var s=(i=(r=t.data)===null||r===void 0?void 0:r.attrs)===null||i===void 0?void 0:i[n];return s!==undefined?s:(a=(o=t.data)===null||o===void 0?void 0:o.attrs)===null||a===void 0?void 0:a[p(n)]};var f=function e(t,n,r){return n.arg||_(r,u)||t.id||o.SwiperInstance};var x=function e(t,n,r){var i=f(t,n,r);return r.context[i]||null};var w=function e(t){return t.value||n};var A=function e(t){return[true,undefined,null,""].includes(t)};var h=function e(t){var n,r;var a=((n=t.data)===null||n===void 0?void 0:n.on)||((r=t.componentOptions)===null||r===void 0?void 0:r.listeners);return function(e){var t=arguments;var n=[];for(var r=1;r<arguments.length;r++)n[r-1]=t[r];var i;var o=(i=a)===null||i===void 0?void 0:i[e];if(o)o.fns.apply(o,n)}};return{bind:function e(r,i,o){if(r.className.indexOf(a.containerClass)===-1)r.className+=(r.className?" ":"")+a.containerClass;r.addEventListener("click",function(e){var t=h(o);var n=x(r,i,o);l(n,e,t)})},inserted:function e(t,n,r){var i=r.context;var o=w(n);var a=f(t,n,r);var s=h(r);var l=i;var u=l===null||l===void 0?void 0:l[a];if(!u||u.destroyed){u=new c(t,o);l[a]=u;y(u,s);s(d.Ready,u)}},componentUpdated:function e(t,n,r){var i,o,a,s,l,u,c,f,h,d,p,y;var m=_(r,S.AutoUpdate);if(A(m)){var g=x(t,n,r);if(g){var v=w(n);var b=v.loop;if(b)(o=(i=g)===null||i===void 0?void 0:i.loopDestroy)===null||o===void 0?void 0:o.call(i);(a=g===null||g===void 0?void 0:g.update)===null||a===void 0?void 0:a.call(g);(l=(s=g.navigation)===null||s===void 0?void 0:s.update)===null||l===void 0?void 0:l.call(s);(c=(u=g.pagination)===null||u===void 0?void 0:u.render)===null||c===void 0?void 0:c.call(u);(h=(f=g.pagination)===null||f===void 0?void 0:f.update)===null||h===void 0?void 0:h.call(f);if(b){(p=(d=g)===null||d===void 0?void 0:d.loopCreate)===null||p===void 0?void 0:p.call(d);(y=g===null||g===void 0?void 0:g.update)===null||y===void 0?void 0:y.call(g)}}}},unbind:function e(t,n,r){var i;var o=_(r,S.AutoDestroy);if(A(o)){var a=x(t,n,r);if(a&&a.initialized)(i=a===null||a===void 0?void 0:a.destroy)===null||i===void 0?void 0:i.call(a,A(_(r,S.DeleteInstanceOnDestroy)),A(_(r,S.CleanupStylesOnDestroy)))}}}}var h=c||(c={});function m(t){var e;return n.extend({name:o.SwiperComponent,props:(e={defaultOptions:{type:Object,required:false,default:function e(){return{}}},options:{type:Object,required:false}},e[S.AutoUpdate]={type:Boolean,default:true},e[S.AutoDestroy]={type:Boolean,default:true},e[S.DeleteInstanceOnDestroy]={type:Boolean,required:false,default:true},e[S.CleanupStylesOnDestroy]={type:Boolean,required:false,default:true},e),data:function e(){var t;return t={},t[o.SwiperInstance]=null,t},computed:{swiperInstance:{cache:false,set:function e(t){this[o.SwiperInstance]=t},get:function e(){return this[o.SwiperInstance]}},swiperOptions:function e(){return this.options||this.defaultOptions},wrapperClass:function e(){return this.swiperOptions.wrapperClass||a.wrapperClass}},methods:{handleSwiperClick:function e(t){l(this.swiperInstance,t,this.$emit.bind(this))},autoReLoopSwiper:function e(){var t,n;if(this.swiperInstance&&this.swiperOptions.loop){var r=this.swiperInstance;(t=r===null||r===void 0?void 0:r.loopDestroy)===null||t===void 0?void 0:t.call(r);(n=r===null||r===void 0?void 0:r.loopCreate)===null||n===void 0?void 0:n.call(r)}},updateSwiper:function e(){var t,n,r,i,o,a,s,l;if(this[S.AutoUpdate]&&this.swiperInstance){this.autoReLoopSwiper();(n=(t=this.swiperInstance)===null||t===void 0?void 0:t.update)===null||n===void 0?void 0:n.call(t);(i=(r=this.swiperInstance.navigation)===null||r===void 0?void 0:r.update)===null||i===void 0?void 0:i.call(r);(a=(o=this.swiperInstance.pagination)===null||o===void 0?void 0:o.render)===null||a===void 0?void 0:a.call(o);(l=(s=this.swiperInstance.pagination)===null||s===void 0?void 0:s.update)===null||l===void 0?void 0:l.call(s)}},destroySwiper:function e(){var t,n;if(this[S.AutoDestroy]&&this.swiperInstance)if(this.swiperInstance.initialized)(n=(t=this.swiperInstance)===null||t===void 0?void 0:t.destroy)===null||n===void 0?void 0:n.call(t,this[S.DeleteInstanceOnDestroy],this[S.CleanupStylesOnDestroy])},initSwiper:function e(){this.swiperInstance=new t(this.$el,this.swiperOptions);y(this.swiperInstance,this.$emit.bind(this));this.$emit(d.Ready,this.swiperInstance)}},mounted:function e(){if(!this.swiperInstance)this.initSwiper()},activated:function e(){this.updateSwiper()},updated:function e(){this.updateSwiper()},beforeDestroy:function e(){this.$nextTick(this.destroySwiper)},render:function e(t){return t("div",{staticClass:a.containerClass,on:{click:this.handleSwiperClick}},[this.$slots[c.ParallaxBg],t("div",{class:this.wrapperClass},this.$slots.default),this.$slots[c.Pagination],this.$slots[c.PrevButton],this.$slots[c.NextButton],this.$slots[c.Scrollbar]])}})}h["ParallaxBg"]="parallax-bg",h["Pagination"]="pagination",h["Scrollbar"]="scrollbar",h["PrevButton"]="button-prev",h["NextButton"]="button-next";var g=n.extend({name:o.SwiperSlideComponent,computed:{slideClass:function e(){var t,n;return((n=(t=this.$parent)===null||t===void 0?void 0:t.swiperOptions)===null||n===void 0?void 0:n.slideClass)||a.slideClass}},methods:{update:function e(){var t;var n=this.$parent;if(n[S.AutoUpdate])(t=n===null||n===void 0?void 0:n.swiperInstance)===null||t===void 0?void 0:t.update()}},mounted:function e(){this.update()},updated:function e(){this.update()},render:function e(t){return t("div",{class:this.slideClass},this.$slots.default)}}),v=function e(i){var t=function e(t,n){if(e.installed)return;var r=m(i);if(n)r.options.props.defaultOptions.default=function(){return n};t.component(o.SwiperComponent,r);t.component(o.SwiperSlideComponent,g);t.directive(o.SwiperDirective,f(i,n));e.installed=true};return t};function b(e){var t;return t={version:"4.1.1",install:v(e),directive:f(e)},t[o.SwiperComponent]=m(e),t[o.SwiperSlideComponent]=g,t}return b}(n("i7/w"))},"//9w":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/9aa":function(e,t,n){var r=n("NykK"),i=n("ExA7");e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},"/CVL":function(e,t,n){"use strict";n.r(t),n.d(t,"TransferLocale",function(){return s}),n.d(t,"EmptyProps",function(){return p});var r=n("kvrn"),l=n.n(r),r=n("EJiy"),u=n.n(r),r=n("YEIV"),c=n.n(r),r=n("QbLZ"),r=n.n(r),i=n("TZE5"),f=n("TfX5"),h=n("2qPA"),o=n("5c0L"),d={functional:!0,PRESENTED_IMAGE_DEFAULT:!0,render:function(){var e=arguments[0];return e("svg",{attrs:{width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"}},[e("g",{attrs:{fill:"none",fillRule:"evenodd"}},[e("g",{attrs:{transform:"translate(24 31.67)"}},[e("ellipse",{attrs:{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}}),e("path",{attrs:{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}}),e("path",{attrs:{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}}),e("path",{attrs:{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}}),e("path",{attrs:{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"}})]),e("path",{attrs:{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}}),e("g",{attrs:{transform:"translate(149.65 15.383)",fill:"#FFF"}},[e("ellipse",{attrs:{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}}),e("path",{attrs:{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}})])])])}},a=n("2xRk"),s=function(){return{description:i.a.string}},p=function(){return{prefixCls:i.a.string,image:i.a.any,description:i.a.any,imageStyle:i.a.object}},y={name:"AEmpty",props:r()({},p()),methods:{renderEmpty:function(e){var t=this.$createElement,n=this.$props,r=n.prefixCls,n=n.imageStyle,r=f.a.getPrefixCls("empty",r),i=Object(h.getComponentFromProp)(this,"image")||t(d),o=Object(h.getComponentFromProp)(this,"description"),o=void 0!==o?o:e.description,e="string"==typeof o?o:"empty",a=c()({},r,!0),s=null;return"string"==typeof i?s=t("img",{attrs:{alt:e,src:i}}):"object"===(void 0===i?"undefined":u()(i))&&i.PRESENTED_IMAGE_SIMPLE?(s=t(i),a[r+"-normal"]=!0):s=i,t("div",l()([{class:a},{on:Object(h.getListeners)(this)}]),[t("div",{class:r+"-image",style:n},[s]),o&&t("p",{class:r+"-description"},[o]),this.$slots.default&&t("div",{class:r+"-footer"},[this.$slots.default])])}},render:function(){return(0,arguments[0])(o.a,{attrs:{componentName:"Empty"},scopedSlots:{default:this.renderEmpty}})}};y.PRESENTED_IMAGE_DEFAULT=d,y.PRESENTED_IMAGE_SIMPLE={functional:!0,PRESENTED_IMAGE_SIMPLE:!0,render:function(){var e=arguments[0];return e("svg",{attrs:{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"}},[e("g",{attrs:{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"}},[e("ellipse",{attrs:{fill:"#F5F5F5",cx:"32",cy:"33",rx:"32",ry:"7"}}),e("g",{attrs:{fillRule:"nonzero",stroke:"#D9D9D9"}},[e("path",{attrs:{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}}),e("path",{attrs:{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:"#FAFAFA"}})])])])}},y.install=function(e){e.use(a.default),e.component(y.name,y)},t.default=y},"/NU2":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.avatarTypes=void 0,r(n("qn6N"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={icon:o.default.any,shape:o.default.oneOf(["circle","square"]).def("circle"),size:o.default.oneOfType([o.default.number,o.default.string]),src:o.default.string,srcSet:o.default.string,alt:o.default.string,loadError:o.default.func,iconClass:o.default.string},o=(t.avatarTypes=n,{name:"SmAvatar",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n,methods:{renderChildren:function(){var e=this.$createElement,t=[];return this.icon&&this.$slots.icon||!this.iconClass||t.push(e("i",{class:((e={})[this.iconClass]=!0,e),slot:"icon"})),[this.$slots.default,t]}}});t.default=o},"/Rr7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){void 0===e&&(e=0);void 0===t&&(t=this.params.speed);void 0===n&&(n=!0);if("number"!=typeof e&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"==typeof e){var o=parseInt(e,10);if(!isFinite(o))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=o}var a=this,s=e;s<0&&(s=0);var o=a.params,e=a.snapGrid,l=a.slidesGrid,u=a.previousIndex,c=a.activeIndex,f=a.rtlTranslate,h=a.wrapperEl,d=a.enabled;if(a.animating&&o.preventInteractionOnTransition||!d&&!r&&!i)return!1;d=Math.min(a.params.slidesPerGroupSkip,s),i=d+Math.floor((s-d)/a.params.slidesPerGroup);i>=e.length&&(i=e.length-1);(c||o.initialSlide||0)===(u||0)&&n&&a.emit("beforeSlideChangeStart");var p,y=-e[i];if(a.updateProgress(y),o.normalizeSlideIndex)for(var m=0;m<l.length;m+=1){var g=-Math.floor(100*y),v=Math.floor(100*l[m]),b=Math.floor(100*l[m+1]);void 0!==l[m+1]?v<=g&&g<b-(b-v)/2?s=m:v<=g&&g<b&&(s=m+1):v<=g&&(s=m)}if(a.initialized&&s!==c){if(!a.allowSlideNext&&y<a.translate&&y<a.minTranslate())return!1;if(!a.allowSlidePrev&&y>a.translate&&y>a.maxTranslate()&&(c||0)!==s)return!1}p=c<s?"next":s<c?"prev":"reset";if(f&&-y===a.translate||!f&&y===a.translate)return a.updateActiveIndex(s),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(y),"reset"!==p&&(a.transitionStart(n,p),a.transitionEnd(n,p)),!1;return o.cssMode?(d=a.isHorizontal(),u=-y,f&&(u=h.scrollWidth-h.offsetWidth-u),0!==t&&h.scrollTo?h.scrollTo(((e={})[d?"left":"top"]=u,e.behavior="smooth",e)):h[d?"scrollLeft":"scrollTop"]=u):0===t?(a.setTransition(0),a.setTranslate(y),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,r),a.transitionStart(n,p),a.transitionEnd(n,p)):(a.setTransition(t),a.setTranslate(y),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,r),a.transitionStart(n,p),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,p))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))),!0}},"/TZh":function(e,t,n){"use strict";var r=n("11yv")("match");e.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,"/./"[t](n)}catch(e){}}return!1}},"/WHX":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this,n=t.params,r=t.$wrapperEl,i=t.activeIndex;n.loop&&(i-=t.loopedSlides,t.loopDestroy(),t.slides=r.children("."+n.slideClass));var o,a=i;{if("object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)o=e[s],t.slides[o]&&t.slides.eq(o).remove(),o<a&&--a;else o=e,t.slides[o]&&t.slides.eq(o).remove(),o<a&&--a;a=Math.max(a,0)}n.loop&&t.loopCreate();n.observer&&t.support.observer||t.update();n.loop?t.slideTo(a+t.loopedSlides,0,!1):t.slideTo(a,0,!1)}},"/X5v":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:true,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"/aIJ":function(e,t,n){},"/dXc":function(e,t,n){"use strict";var r=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){e=+e;return(0<e?i:r)(e)}},"/muI":function(e,t,n){"use strict";n.r(t);var r=n("YEIV"),i=n.n(r),r=n("QbLZ"),o=n.n(r),a=n("2qPA"),r=n("k7Bk"),s=n("QfMm"),l=n("TfX5");t.default={name:"ACollapsePanel",props:o()({},Object(r.b)()),inject:{configProvider:{default:function(){return l.a}}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.showArrow,n=void 0===n||n,t=(0,this.configProvider.getPrefixCls)("collapse",t),n=i()({},t+"-no-arrow",!n),t={props:o()({},Object(a.getOptionProps)(this),{prefixCls:t,extra:Object(a.getComponentFromProp)(this,"extra")}),class:n,on:Object(a.getListeners)(this)},n=Object(a.getComponentFromProp)(this,"header");return e(s.default.Panel,t,[this.$slots.default,n?e("template",{slot:"header"},[n]):null])}}},"/pbl":function(e,t,n){"use strict";n=n("eE3R");e.exports=/web0s(?!.*chrome)/i.test(n)},"/t1m":function(e,t,n){"use strict";n.r(t);var r,i=n("/NU2"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"/xfr":function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(t,n){void 0===t&&(t={}),void 0===n&&(n={}),Object.keys(n).forEach(function(e){void 0===t[e]?t[e]=n[e]:r(n[e])&&r(t[e])&&0<Object.keys(n[e]).length&&i(t[e],n[e])})}n.r(t),n.d(t,"extend",function(){return i}),n.d(t,"getDocument",function(){return a}),n.d(t,"getWindow",function(){return l}),n.d(t,"ssrDocument",function(){return o}),n.d(t,"ssrWindow",function(){return s});var o={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){var e="undefined"!=typeof document?document:{};return i(e,o),e}var s={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){var e="undefined"!=typeof window?window:{};return i(e,s),e}},0:function(e,t,n){n("uH/5"),e.exports=n("0iNa")},"00qV":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" ")),this.emitContainerClasses()}},"013W":function(e,t,n){"use strict";var r="object"==typeof document&&document.all;e.exports={all:r,IS_HTMLDDA:void 0===r&&void 0!==r}},"03A+":function(e,t,n){var r=n("JTzB"),i=n("ExA7"),n=Object.prototype,o=n.hasOwnProperty,a=n.propertyIsEnumerable,n=r(function(){return arguments}())?r:function(e){return i(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=n},"05KR":function(e,t,n){"use strict";n.r(t);var r,i=n("gdsn");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"07ub":function(e,t,n){"use strict";n.r(t);var r,i=n("8Q8H"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"0B/8":function(e,t,n){"use strict";n.d(t,"a",function(){return T});
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */
- var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function m(e,t){var n=e[0],e=e[1];return[n*Math.cos(t)-e*Math.sin(t),n*Math.sin(t)+e*Math.cos(t)]}function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0;n<e.length;n++)if("number"!=typeof e[n])throw new Error("assertNumbers arguments["+n+"] is not a number. "+typeof e[n]+" == typeof "+e[n])}var h=Math.PI;function O(e,t,n){e.lArcFlag=0===e.lArcFlag?0:1,e.sweepFlag=0===e.sweepFlag?0:1;var r=e.rX,i=e.rY,o=e.x,a=e.y,r=Math.abs(e.rX),i=Math.abs(e.rY),s=m([(t-o)/2,(n-a)/2],-e.xRot/180*h),l=s[0],s=s[1],u=Math.pow(l,2)/Math.pow(r,2)+Math.pow(s,2)/Math.pow(i,2),u=(1<u&&(r*=Math.sqrt(u),i*=Math.sqrt(u)),e.rX=r,e.rY=i,Math.pow(r,2)*Math.pow(s,2)+Math.pow(i,2)*Math.pow(l,2)),u=(e.lArcFlag!==e.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(r,2)*Math.pow(i,2)-u)/u)),c=r*s/i*u,u=-i*l/r*u,f=m([c,u],e.xRot/180*h);e.cX=f[0]+(t+o)/2,e.cY=f[1]+(n+a)/2,e.phi1=Math.atan2((s-u)/i,(l-c)/r),e.phi2=Math.atan2((-s-u)/i,(-l-c)/r),0===e.sweepFlag&&e.phi2>e.phi1&&(e.phi2-=2*h),1===e.sweepFlag&&e.phi2<e.phi1&&(e.phi2+=2*h),e.phi1*=180/h,e.phi2*=180/h}function E(e,t,n){o(e,t,n);var r=e*e+t*t-n*n;return r<0?[]:0==r?[[e*n/(e*e+t*t),t*n/(e*e+t*t)]]:[[(e*n+t*(r=Math.sqrt(r)))/(e*e+t*t),(t*n-e*r)/(e*e+t*t)],[(e*n-t*r)/(e*e+t*t),(t*n+e*r)/(e*e+t*t)]]}var a,g=Math.PI/180;function v(e,t,n){return(1-n)*e+n*t}function M(e,t,n,r){return e+Math.cos(r/180*h)*t+Math.sin(r/180*h)*n}function P(e,t,n,r){var i=1e-6,e=t-e,t=n-t,r=3*e+3*(r-n)-6*t,n=6*(t-e),t=3*e;return Math.abs(r)<1e-6?[-t/n]:(e=1e-6,(t=(n=n/r)*n/4-t/r)<-(e=void 0===i?1e-6:i)?[]:t<=e?[-n/2]:[-n/2-(e=Math.sqrt(t)),-n/2+e])}function k(e,t,n,r,i){var o=1-i;return e*(o*o*o)+t*(3*o*o*i)+n*(3*o*i*i)+r*(i*i*i)}function s(){return b(function(e,t,n){return e.relative&&(void 0!==e.x1&&(e.x1+=t),void 0!==e.y1&&(e.y1+=n),void 0!==e.x2&&(e.x2+=t),void 0!==e.y2&&(e.y2+=n),void 0!==e.x&&(e.x+=t),void 0!==e.y&&(e.y+=n),e.relative=!1),e})}function l(){var r=NaN,i=NaN,o=NaN,a=NaN;return b(function(e,t,n){return e.type&T.SMOOTH_CURVE_TO&&(e.type=T.CURVE_TO,r=isNaN(r)?t:r,i=isNaN(i)?n:i,e.x1=e.relative?t-r:2*t-r,e.y1=e.relative?n-i:2*n-i),i=e.type&T.CURVE_TO?(r=e.relative?t+e.x2:e.x2,e.relative?n+e.y2:e.y2):r=NaN,e.type&T.SMOOTH_QUAD_TO&&(e.type=T.QUAD_TO,o=isNaN(o)?t:o,a=isNaN(a)?n:a,e.x1=e.relative?t-o:2*t-o,e.y1=e.relative?n-a:2*n-a),a=e.type&T.QUAD_TO?(o=e.relative?t+e.x1:e.x1,e.relative?n+e.y1:e.y1):o=NaN,e})}function u(){var o=NaN,a=NaN;return b(function(e,t,n){var r,i;return e.type&T.SMOOTH_QUAD_TO&&(e.type=T.QUAD_TO,o=isNaN(o)?t:o,a=isNaN(a)?n:a,e.x1=e.relative?t-o:2*t-o,e.y1=e.relative?n-a:2*n-a),e.type&T.QUAD_TO?(o=e.relative?t+e.x1:e.x1,a=e.relative?n+e.y1:e.y1,r=e.x1,i=e.y1,e.type=T.CURVE_TO,e.x1=((e.relative?0:t)+2*r)/3,e.y1=((e.relative?0:n)+2*i)/3,e.x2=(e.x+2*r)/3,e.y2=(e.y+2*i)/3):a=o=NaN,e})}function b(n){var r=0,i=0,o=NaN,a=NaN;return function(e){var t;if(!isNaN(o)||e.type&T.MOVE_TO)return t=n(e,r,i,o,a),e.type&T.CLOSE_PATH&&(r=o,i=a),void 0!==e.x&&(r=e.relative?r+e.x:e.x),void 0!==e.y&&(i=e.relative?i+e.y:e.y),e.type&T.MOVE_TO&&(o=r,a=i),t;throw new Error("path must start with moveto")}}function c(u,c,f,h,d,p){return o(u,c,f,h,d,p),b(function(e,t,n,r){var i=e.x1,o=e.x2,r=e.relative&&!isNaN(r),a=void 0!==e.x?e.x:r?0:t,s=void 0!==e.y?e.y:r?0:n;function l(e){return e*e}e.type&T.HORIZ_LINE_TO&&0!==c&&(e.type=T.LINE_TO,e.y=e.relative?0:n),e.type&T.VERT_LINE_TO&&0!==f&&(e.type=T.LINE_TO,e.x=e.relative?0:t),void 0!==e.x&&(e.x=e.x*u+s*f+(r?0:d)),void 0!==e.y&&(e.y=a*c+e.y*h+(r?0:p)),void 0!==e.x1&&(e.x1=e.x1*u+e.y1*f+(r?0:d)),void 0!==e.y1&&(e.y1=i*c+e.y1*h+(r?0:p)),void 0!==e.x2&&(e.x2=e.x2*u+e.y2*f+(r?0:d)),void 0!==e.y2&&(e.y2=o*c+e.y2*h+(r?0:p));n=u*h-c*f;return void 0===e.xRot||1===u&&0===c&&0===f&&1===h||(0==n?(delete e.rX,delete e.rY,delete e.xRot,delete e.lArcFlag,delete e.sweepFlag,e.type=T.LINE_TO):(t=e.xRot*Math.PI/180,s=Math.sin(t),a=Math.cos(t),i=1/l(e.rX),o=1/l(e.rY),r=l(a)*i+l(s)*o,t=l(s)*i+l(a)*o,a=r*h*h-(s=2*s*a*(i-o))*c*h+t*c*c,i=s*(u*h+c*f)-2*(r*f*h+t*u*c),o=r*f*f-s*u*f+t*u*u,r=(Math.atan2(i,a-o)+Math.PI)%Math.PI/2,s=Math.sin(r),t=Math.cos(r),e.rX=Math.abs(n)/Math.sqrt(a*l(t)+i*s*t+o*l(s)),e.rY=Math.abs(n)/Math.sqrt(a*l(s)-i*s*t+o*l(t)),e.xRot=180*r/Math.PI)),void 0!==e.sweepFlag&&n<0&&(e.sweepFlag=+!e.sweepFlag),e})}(n=a=a||{}).ROUND=function(t){function n(e){return Math.round(e*t)/t}return o(t=void 0===t?1e13:t),function(e){return void 0!==e.x1&&(e.x1=n(e.x1)),void 0!==e.y1&&(e.y1=n(e.y1)),void 0!==e.x2&&(e.x2=n(e.x2)),void 0!==e.y2&&(e.y2=n(e.y2)),void 0!==e.x&&(e.x=n(e.x)),void 0!==e.y&&(e.y=n(e.y)),void 0!==e.rX&&(e.rX=n(e.rX)),void 0!==e.rY&&(e.rY=n(e.rY)),e}},n.TO_ABS=s,n.TO_REL=function(){return b(function(e,t,n){return e.relative||(void 0!==e.x1&&(e.x1-=t),void 0!==e.y1&&(e.y1-=n),void 0!==e.x2&&(e.x2-=t),void 0!==e.y2&&(e.y2-=n),void 0!==e.x&&(e.x-=t),void 0!==e.y&&(e.y-=n),e.relative=!0),e})},n.NORMALIZE_HVZ=function(o,a,s){return void 0===o&&(o=!0),void 0===a&&(a=!0),void 0===s&&(s=!0),b(function(e,t,n,r,i){if(!isNaN(r)||e.type&T.MOVE_TO)return a&&e.type&T.HORIZ_LINE_TO&&(e.type=T.LINE_TO,e.y=e.relative?0:n),s&&e.type&T.VERT_LINE_TO&&(e.type=T.LINE_TO,e.x=e.relative?0:t),o&&e.type&T.CLOSE_PATH&&(e.type=T.LINE_TO,e.x=e.relative?r-t:r,e.y=e.relative?i-n:i),e.type&T.ARC&&(0===e.rX||0===e.rY)&&(e.type=T.LINE_TO,delete e.rX,delete e.rY,delete e.xRot,delete e.lArcFlag,delete e.sweepFlag),e;throw new Error("path must start with moveto")})},n.NORMALIZE_ST=l,n.QT_TO_C=u,n.INFO=b,n.SANITIZE=function(d){o(d=void 0===d?0:d);var p=NaN,y=NaN,m=NaN,g=NaN;return b(function(e,t,n,r,i){var o,a,s,l,u=Math.abs,c=!1,f=0,h=0;return e.type&T.SMOOTH_CURVE_TO&&(f=isNaN(p)?0:t-p,h=isNaN(y)?0:n-y),y=e.type&(T.CURVE_TO|T.SMOOTH_CURVE_TO)?(p=e.relative?t+e.x2:e.x2,e.relative?n+e.y2:e.y2):p=NaN,g=e.type&T.SMOOTH_QUAD_TO?(m=isNaN(m)?t:2*t-m,isNaN(g)?n:2*n-g):e.type&T.QUAD_TO?(m=e.relative?t+e.x1:e.x1,e.relative?n+e.y1:e.y2):m=NaN,(e.type&T.LINE_COMMANDS||e.type&T.ARC&&(0===e.rX||0===e.rY||!e.lArcFlag)||e.type&T.CURVE_TO||e.type&T.SMOOTH_CURVE_TO||e.type&T.QUAD_TO||e.type&T.SMOOTH_QUAD_TO)&&(o=void 0===e.x?0:e.relative?e.x:e.x-t,a=void 0===e.y?0:e.relative?e.y:e.y-n,f=isNaN(m)?void 0===e.x1?f:e.relative?e.x:e.x1-t:m-t,h=isNaN(g)?void 0===e.y1?h:e.relative?e.y:e.y1-n:g-n,s=void 0===e.x2?0:e.relative?e.x:e.x2-t,l=void 0===e.y2?0:e.relative?e.y:e.y2-n,u(o)<=d)&&u(a)<=d&&u(f)<=d&&u(h)<=d&&u(s)<=d&&u(l)<=d&&(c=!0),(c=e.type&T.CLOSE_PATH&&u(t-r)<=d&&u(n-i)<=d?!0:c)?[]:e})},n.MATRIX=c,n.ROTATE=function(e,t,n){o(e,t=void 0===t?0:t,n=void 0===n?0:n);var r=Math.sin(e),e=Math.cos(e);return c(e,r,-r,e,t-t*e+n*r,n-t*r-n*e)},n.TRANSLATE=function(e,t){return o(e,t=void 0===t?0:t),c(1,0,0,1,e,t)},n.SCALE=function(e,t){return o(e,t=void 0===t?e:t),c(e,0,0,t,0,0)},n.SKEW_X=function(e){return o(e),c(1,0,Math.atan(e),1,0,0)},n.SKEW_Y=function(e){return o(e),c(1,Math.atan(e),0,1,0,0)},n.X_AXIS_SYMMETRY=function(e){return o(e=void 0===e?0:e),c(-1,0,0,1,e,0)},n.Y_AXIS_SYMMETRY=function(e){return o(e=void 0===e?0:e),c(1,0,0,-1,0,e)},n.A_TO_C=function(){return b(function(e,t,n){if(T.ARC!==e.type)return e;var r=e,t=e.relative?0:t,e=e.relative?0:n;r.cX||O(r,t,e);for(var n=Math.min(r.phi1,r.phi2),n=Math.max(r.phi1,r.phi2)-n,i=Math.ceil(n/90),o=new Array(i),a=t,s=e,l=0;l<i;l++){var u=v(r.phi1,r.phi2,l/i),c=v(r.phi1,r.phi2,(l+1)/i),f=4/3*Math.tan((c-u)*g/4),u=[Math.cos(u*g)-f*Math.sin(u*g),Math.sin(u*g)+f*Math.cos(u*g)],h=u[0],u=u[1],d=[Math.cos(c*g),Math.sin(c*g)],p=d[0],d=d[1],f=[p+f*Math.sin(c*g),d-f*Math.cos(c*g)],c=f[0],f=f[1],y=(o[l]={relative:r.relative,type:T.CURVE_TO},function(e,t){e=m([e*r.rX,t*r.rY],r.xRot),t=e[0],e=e[1];return[r.cX+t,r.cY+e]}),h=y(h,u);o[l].x1=h[0],o[l].y1=h[1],u=y(c,f),o[l].x2=u[0],o[l].y2=u[1],h=y(p,d),o[l].x=h[0],o[l].y=h[1],r.relative&&(o[l].x1-=a,o[l].y1-=s,o[l].x2-=a,o[l].y2-=s,o[l].x-=a,o[l].y-=s),a=(c=[o[l].x,o[l].y])[0],s=c[1]}return o})},n.ANNOTATE_ARCS=function(){return b(function(e,t,n){return e.relative&&(n=t=0),T.ARC===e.type&&O(e,t,n),e})},n.CLONE=function(){return function(e){var t,n={};for(t in e)n[t]=e[t];return n}},n.CALCULATE_BOUNDS=function(){var w=s(),A=u(),S=l(),C=b(function(e,t,n){var r=S(A(w(function(e){var t,n={};for(t in e)n[t]=e[t];return n}(e))));function i(e){e>C.maxX&&(C.maxX=e),e<C.minX&&(C.minX=e)}function o(e){e>C.maxY&&(C.maxY=e),e<C.minY&&(C.minY=e)}if(r.type&T.DRAWING_COMMANDS&&(i(t),o(n)),r.type&T.HORIZ_LINE_TO&&i(r.x),r.type&T.VERT_LINE_TO&&o(r.y),r.type&T.LINE_TO&&(i(r.x),o(r.y)),r.type&T.CURVE_TO){i(r.x),o(r.y);for(var a=0,s=P(t,r.x1,r.x2,r.x);a<s.length;a++)0<(b=s[a])&&b<1&&i(k(t,r.x1,r.x2,r.x,b));for(var l=0,u=P(n,r.y1,r.y2,r.y);l<u.length;l++)0<(b=u[l])&&b<1&&o(k(n,r.y1,r.y2,r.y,b))}if(r.type&T.ARC){i(r.x),o(r.y),O(r,t,n);for(var c=r.xRot/180*Math.PI,f=Math.cos(c)*r.rX,h=Math.sin(c)*r.rX,d=-Math.sin(c)*r.rY,p=Math.cos(c)*r.rY,c=r.phi1<r.phi2?[r.phi1,r.phi2]:r.phi2<-180?[r.phi2+360,r.phi1+360]:[r.phi2,r.phi1],y=c[0],m=c[1],c=function(e){var t=e[0],e=e[1],e=180*Math.atan2(e,t)/Math.PI;return e<y?360+e:e},g=0,v=E(d,-f,0).map(c);g<v.length;g++)(b=v[g])>y&&b<m&&i(M(r.cX,f,d,b));for(var b,_=0,x=E(p,-h,0).map(c);_<x.length;_++)(b=x[_])>y&&b<m&&o(M(r.cY,h,p,b))}return e});return C.minX=1/0,C.maxX=-1/0,C.minY=1/0,C.maxY=-1/0,C};function f(e){return"0".charCodeAt(0)<=e.charCodeAt(0)&&e.charCodeAt(0)<="9".charCodeAt(0)}A.prototype.round=function(e){return this.transform(a.ROUND(e))},A.prototype.toAbs=function(){return this.transform(a.TO_ABS())},A.prototype.toRel=function(){return this.transform(a.TO_REL())},A.prototype.normalizeHVZ=function(e,t,n){return this.transform(a.NORMALIZE_HVZ(e,t,n))},A.prototype.normalizeST=function(){return this.transform(a.NORMALIZE_ST())},A.prototype.qtToC=function(){return this.transform(a.QT_TO_C())},A.prototype.aToC=function(){return this.transform(a.A_TO_C())},A.prototype.sanitize=function(e){return this.transform(a.SANITIZE(e))},A.prototype.translate=function(e,t){return this.transform(a.TRANSLATE(e,t))},A.prototype.scale=function(e,t){return this.transform(a.SCALE(e,t))},A.prototype.rotate=function(e,t,n){return this.transform(a.ROTATE(e,t,n))},A.prototype.matrix=function(e,t,n,r,i,o){return this.transform(a.MATRIX(e,t,n,r,i,o))},A.prototype.skewX=function(e){return this.transform(a.SKEW_X(e))},A.prototype.skewY=function(e){return this.transform(a.SKEW_Y(e))},A.prototype.xSymmetry=function(e){return this.transform(a.X_AXIS_SYMMETRY(e))},A.prototype.ySymmetry=function(e){return this.transform(a.Y_AXIS_SYMMETRY(e))},A.prototype.annotateArcs=function(){return this.transform(a.ANNOTATE_ARCS())};var d,p,t=A,y=(i(w,p=t),w.prototype.finish=function(e){if(this.parse(" ",e=void 0===e?[]:e),0===this.curArgs.length&&this.canParseCommandOrComma)return e;throw new SyntaxError("Unterminated command at the path end.")},w.prototype.parse=function(e,t){var n=this;void 0===t&&(t=[]);for(var r=function(e){t.push(e),n.curArgs.length=0,n.canParseCommandOrComma=!0},i=0;i<e.length;i++){var o=e[i],a=!(this.curCommandType!==T.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),s=f(o)&&("0"===this.curNumber&&"0"===o||a);if(!f(o)||s)if("e"!==o&&"E"!==o)if("-"!==o&&"+"!==o||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==o||this.curNumberHasExp||this.curNumberHasDecimal||a){if(this.curNumber&&-1!==this.curCommandType){var a=Number(this.curNumber);if(isNaN(a))throw new SyntaxError("Invalid number ending at "+i);if(this.curCommandType===T.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(a<0)throw new SyntaxError('Expected positive number, got "'+a+'" at index "'+i+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+i+'"');this.curArgs.push(a),this.curArgs.length===_[this.curCommandType]&&(T.HORIZ_LINE_TO===this.curCommandType?r({type:T.HORIZ_LINE_TO,relative:this.curCommandRelative,x:a}):T.VERT_LINE_TO===this.curCommandType?r({type:T.VERT_LINE_TO,relative:this.curCommandRelative,y:a}):this.curCommandType===T.MOVE_TO||this.curCommandType===T.LINE_TO||this.curCommandType===T.SMOOTH_QUAD_TO?(r({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),T.MOVE_TO===this.curCommandType&&(this.curCommandType=T.LINE_TO)):this.curCommandType===T.CURVE_TO?r({type:T.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===T.SMOOTH_CURVE_TO?r({type:T.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===T.QUAD_TO?r({type:T.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===T.ARC&&r({type:T.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(" "!==(a=o)&&"\t"!==a&&"\r"!==a&&"\n"!==a)if(","===o&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==o&&"-"!==o&&"."!==o)if(s)this.curNumber=o,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+i+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+o+'" at index '+i+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==o&&"Z"!==o)if("h"===o||"H"===o)this.curCommandType=T.HORIZ_LINE_TO,this.curCommandRelative="h"===o;else if("v"===o||"V"===o)this.curCommandType=T.VERT_LINE_TO,this.curCommandRelative="v"===o;else if("m"===o||"M"===o)this.curCommandType=T.MOVE_TO,this.curCommandRelative="m"===o;else if("l"===o||"L"===o)this.curCommandType=T.LINE_TO,this.curCommandRelative="l"===o;else if("c"===o||"C"===o)this.curCommandType=T.CURVE_TO,this.curCommandRelative="c"===o;else if("s"===o||"S"===o)this.curCommandType=T.SMOOTH_CURVE_TO,this.curCommandRelative="s"===o;else if("q"===o||"Q"===o)this.curCommandType=T.QUAD_TO,this.curCommandRelative="q"===o;else if("t"===o||"T"===o)this.curCommandType=T.SMOOTH_QUAD_TO,this.curCommandRelative="t"===o;else{if("a"!==o&&"A"!==o)throw new SyntaxError('Unexpected character "'+o+'" at index '+i+".");this.curCommandType=T.ARC,this.curCommandRelative="a"===o}else t.push({type:T.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=o,this.curNumberHasDecimal="."===o}else this.curNumber+=o,this.curNumberHasDecimal=!0;else this.curNumber+=o;else this.curNumber+=o,this.curNumberHasExp=!0;else this.curNumber+=o,this.curNumberHasExpDigits=this.curNumberHasExp}return t},w.prototype.transform=function(o){return Object.create(this,{parse:{value:function(e,t){void 0===t&&(t=[]);for(var n=0,r=Object.getPrototypeOf(this).parse.call(this,e);n<r.length;n++){var i=r[n],i=o(i);Array.isArray(i)?t.push.apply(t,i):t.push(i)}return t}}})},w),T=(i(x,d=t),x.prototype.encode=function(){return x.encode(this.commands)},x.prototype.getBounds=function(){var e=a.CALCULATE_BOUNDS();return this.transform(e),e},x.prototype.transform=function(e){for(var t=[],n=0,r=this.commands;n<r.length;n++){var i=e(r[n]);Array.isArray(i)?t.push.apply(t,i):t.push(i)}return this.commands=t,this},x.encode=function(e){var t=e,n="";Array.isArray(t)||(t=[t]);for(var r=0;r<t.length;r++){var i=t[r];if(i.type===T.CLOSE_PATH)n+="z";else if(i.type===T.HORIZ_LINE_TO)n+=(i.relative?"h":"H")+i.x;else if(i.type===T.VERT_LINE_TO)n+=(i.relative?"v":"V")+i.y;else if(i.type===T.MOVE_TO)n+=(i.relative?"m":"M")+i.x+" "+i.y;else if(i.type===T.LINE_TO)n+=(i.relative?"l":"L")+i.x+" "+i.y;else if(i.type===T.CURVE_TO)n+=(i.relative?"c":"C")+i.x1+" "+i.y1+" "+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===T.SMOOTH_CURVE_TO)n+=(i.relative?"s":"S")+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===T.QUAD_TO)n+=(i.relative?"q":"Q")+i.x1+" "+i.y1+" "+i.x+" "+i.y;else if(i.type===T.SMOOTH_QUAD_TO)n+=(i.relative?"t":"T")+i.x+" "+i.y;else{if(i.type!==T.ARC)throw new Error('Unexpected command type "'+i.type+'" at index '+r+".");n+=(i.relative?"a":"A")+i.rX+" "+i.rY+" "+i.xRot+" "+ +i.lArcFlag+" "+ +i.sweepFlag+" "+i.x+" "+i.y}}return n},x.parse=function(e){var t=new y,n=[];return t.parse(e,n),t.finish(n),n},x.CLOSE_PATH=1,x.MOVE_TO=2,x.HORIZ_LINE_TO=4,x.VERT_LINE_TO=8,x.LINE_TO=16,x.CURVE_TO=32,x.SMOOTH_CURVE_TO=64,x.QUAD_TO=128,x.SMOOTH_QUAD_TO=256,x.ARC=512,x.LINE_COMMANDS=x.LINE_TO|x.HORIZ_LINE_TO|x.VERT_LINE_TO,x.DRAWING_COMMANDS=x.HORIZ_LINE_TO|x.VERT_LINE_TO|x.LINE_TO|x.CURVE_TO|x.SMOOTH_CURVE_TO|x.QUAD_TO|x.SMOOTH_QUAD_TO|x.ARC,x),_=((n={})[T.MOVE_TO]=2,n[T.LINE_TO]=2,n[T.HORIZ_LINE_TO]=1,n[T.VERT_LINE_TO]=1,n[T.CLOSE_PATH]=0,n[T.QUAD_TO]=4,n[T.SMOOTH_QUAD_TO]=2,n[T.CURVE_TO]=6,n[T.SMOOTH_CURVE_TO]=4,n[T.ARC]=7,n);function x(e){var t=d.call(this)||this;return t.commands="string"==typeof e?x.parse(e):e,t}function w(){var e=p.call(this)||this;return e.curNumber="",e.curCommandType=-1,e.curCommandRelative=!1,e.canParseCommandOrComma=!0,e.curNumberHasExp=!1,e.curNumberHasExpDigits=!1,e.curNumberHasDecimal=!1,e.curArgs=[],e}function A(){}},"0Cz8":function(e,t,n){var i=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var r=n.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}},"0F1z":function(e,t,n){"use strict";var r=n("TqRt"),f=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("o0o1"))),i=r(n("VbXa")),h=r(n("uTlj")),o=(n("jKu1"),n("e/Qi"),r(n("7mrb"))),r=r(n("qPby")),a=n("ydy9"),s=function(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{o(l.next(e))}catch(e){t(e)}}function i(e){try{o(l.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}o((l=l.apply(e,a||[])).next())})},n=function(r){function e(e,t,n){return(e=r.call(this,e,t=void 0===t?{}:t,n=void 0===n?{}:n)||this).layers={},e._dataflowPathIdCache={},e._dataflowLabelIdCache={},e._dataflowLineFeatureCache={},e.center=n.center,e.zoom=n.zoom,e._initWebMap(),e}(0,i.default)(e,r);var t=e.prototype;return t.resize=function(){this.map&&this.map.invalidateSize(),this.echartsLayerResize()},t.setCenter=function(e){this.map&&(this.mapOptions.center=e)&&0<e.length&&this.map.setView(e,this.zoom)},t._initWebMap=function(){this.initWebMap()},t._getMapInfo=function(e,t){var n=e.layers;this._layers=[],this._createMap(e),this._initBaseLayer(e,!1),n&&0!==n.length?this._initOverlayLayers(n,t):this._sendMapToUser(0,0)},t._createMap=function(e){var t,n,r,i,o=this;e?(r=e.level,t=e.maxZoom,n=e.minZoom,r=0===(r=r||0)?0:r,i=this._handleMapCrs(e),e=this._getMapCenter(e),this.map=h.default.map(this.target,{center:this.center||e,zoom:this.zoom||r,crs:i,maxZoom:t||30,minZoom:n||0,preferCanvas:!0}),this.triggerEvent("mapinitialized",{map:this.map})):(this.map=h.default.map(this.target,{center:this.center&&this.center.length?h.default.latLng(this.center[0],this.center[1]):[0,0],zoom:this.zoom||0,crs:this.mapOptions.crs||h.default.CRS.EPSG3857,maxZoom:this.mapOptions.maxZoom||30,minZoom:this.mapOptions.minZoom||0,preferCanvas:this.mapOptions.preferCanvas||!0}),setTimeout(function(){o.triggerEvent("addlayerssucceeded",{map:o.map,mapparams:{},layers:[]})},0))},t._initBaseLayer=function(e,t){void 0===t&&(t=!0);var n,r,i=e.baseLayer||e,o=this.getBaseLayerType(i),a=this.getMapurls({CLOUD:"http://t2.dituhui.com/FileService/image",CLOUD_BLACK:"http://t3.dituhui.com/MapService/getGdp",OSM:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"});switch(o){case"TIANDITU":r=this._createTiandituLayer(i);break;case"BING":r=this._createBingLayer();break;case"WMS":r=this._createWMSLayer(i);break;case"WMTS":r=this._createWMTSLayer(i);break;case"TILE":r=this._createDynamicTiledLayer(i);break;case"CLOUD":n=a[i.layerType],r=this._createCLOUDLayer(o,n);break;case"XYZ":n=a[i.layerType],r=this._createXYZLayer(n);break;case"BAIDU":r=this._createBaiduTileLayer();break;case"MAPBOXSTYLE":this.triggerEvent("notsupportmvt",{})}r&&this._addLayerToMap({layer:r,type:"baseLayers",layerInfo:i,sendToMap:t})},t._initOverlayLayers=function(e,r){var i=this;this._layers=e,this.layerAdded=0,this.expectLayerLen=e.length,0<this.expectLayerLen&&e.forEach(function(e,t){var n=i.webMapService.getDatasourceType(e);"SAMPLE_DATA"===n?(i._addLayerSucceeded(),i.triggerEvent("getlayerdatasourcefailed",{error:"SAMPLE DATA is not supported",layer:e,map:i.map})):(e.layerID=e.name+"-"+t,e.index=t,"tile"===n?i._initBaseLayer(e):i.getLayerFeatures(e,r,n))},this)},t._createMvtLayer=function(){this._addLayerSucceeded()},t._createRestMapLayer=function(n,r){var i=this;n.forEach(function(e,t){r=i.getRestMapLayerInfo(e,r),i._initBaseLayer(r,t===n.length-1)})},t._initOverlayLayer=function(u,c){return s(this,void 0,void 0,f.default.mark(function e(){var t,n,r,i,o,a,s,l;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t=u.layerType,n=u.style,r=u.filterCondition,i=u.featureType,o=u.labelStyle,a=u.projection,"restMap"===t)return this._createRestMapLayer(c,u),e.abrupt("return");e.next=5;break;case 5:if("mvt"===t)return this._createMvtLayer(),e.abrupt("return");e.next=8;break;case 8:if(!c||!a||"EPSG:4326"===a){e.next=14;break}if(a.split(":")[1]){e.next=12;break}return e.abrupt("return");case 12:this._unprojectCrs=this.getTransformCoodinatesCRS(a.split(":")[1]),c=this.transformFeatures(c);case 14:c=this.handleLayerFeatures(c,u),e.t0=t,e.next="VECTOR"===e.t0?18:"UNIQUE"===e.t0?34:"RANGE"===e.t0?38:"HEAT"===e.t0?42:"MARKER"===e.t0?46:"RANK_SYMBOL"===e.t0?50:"MIGRATION"===e.t0?54:"DATAFLOW_POINT_TRACK"===e.t0||"DATAFLOW_HEAT"===e.t0?58:62;break;case 18:if("POINT"!==i)e.next=30;else{if("SYMBOL_POINT"===n.type)return e.next=22,this._createSymbolLayer(u,c);e.next=25}break;case 22:s=e.sent,e.next=28;break;case 25:return e.next=27,this._createGraphicLayer(u,c);case 27:s=e.sent;case 28:e.next=33;break;case 30:return e.next=32,this._createVectorLayer(u,c);case 32:s=e.sent;case 33:return e.abrupt("break",62);case 34:return e.next=36,this._createUniqueLayer(u,c);case 36:return s=e.sent,e.abrupt("break",62);case 38:return e.next=40,this._createRangeLayer(u,c);case 40:return s=e.sent,e.abrupt("break",62);case 42:return e.next=44,this._createHeatLayer(u,c);case 44:return s=e.sent,e.abrupt("break",62);case 46:return e.next=48,this._createMarkerLayer(c);case 48:return s=e.sent,e.abrupt("break",62);case 50:return e.next=52,this._createRankSymbolLayer(u,c);case 52:return s=e.sent,e.abrupt("break",62);case 54:return e.next=56,this._createMigrationLayer(u,c);case 56:return s=e.sent,e.abrupt("break",62);case 58:return e.next=60,this._createDataflowLayer(u);case 60:return s=e.sent,e.abrupt("break",62);case 62:o&&o.labelField&&"DATAFLOW_POINT_TRACK"!==t?(c=this.getFilterFeatures(r,c),l=JSON.parse(JSON.stringify(u)),l=this._addLabelLayer(l,c),this._addLayerToMap({layer:h.default.layerGroup([s,l]),layerInfo:u})):s&&this._addLayerToMap({layer:s,layerInfo:u}),e.next=70;break;case 65:e.prev=65,e.t1=e.catch(0),console.error(e.t1),this._addLayerSucceeded(),this.triggerEvent("getlayerdatasourcefailed",{error:e.t1,layer:u,map:this.map});case 70:case"end":return e.stop()}},e,this,[[0,65]])}))},t._createBingLayer=function(){var l="https://dynamic.t0.tiles.ditu.live.com/comp/ch/{quadKey}?it=G,TW,L,LA&mkt=zh-cn&og=109&cstl=w4c&ur=CN&n=z";return h.default.TileLayer.BingLayer=h.default.TileLayer.extend({getTileUrl:function(e){for(var t=e.z,n=e.x,r=e.y,i="",o=t;0<o;o--){var a=0,s=1<<o-1;0!=(n&s)&&a++,0!=(r&s)&&(a+=2),i+=a.toString()}return l.replace("{quadKey}",i)}}),h.default.tileLayer.bingLayer=function(e,t){return new h.default.TileLayer.BingLayer(e,t)},h.default.tileLayer.bingLayer(l,{noWrap:!0})},t._createDynamicTiledLayer=function(e){e=e.url;return h.default.supermap.tiledMapLayer(e,{noWrap:!0,prjCoordSys:{epsgCode:this.baseProjection.split(":")[1]}})},t._createWMSLayer=function(e){var t=e.url,e=e.layers;return e&&"undefined"!==e&&"null"!==e?0<e.length&&(e=e[0]):e="0",h.default.tileLayer.wms(t,{layers:e,format:"image/png",transparent:!0,noWrap:!0})},t._createWMTSLayer=function(e){var t=e.url,n=e.tileMatrixSet,e=e.name;return h.default.supermap.wmtsLayer(t,{layer:e,style:"default",tilematrixSet:n,format:"image/png",noWrap:!0})},t._createTiandituLayer=function(e){this.map.getZoom()<1&&this.map.setZoom(1),this.map.setMinZoom(1);var t=e.layerType.split("_")[1].toLowerCase(),e=Boolean(e.labelLayerVisible),n=h.default.supermap.tiandituTileLayer({layerType:t,key:this.tiandituKey}),t=h.default.supermap.tiandituTileLayer({layerType:t,isLabel:!0,key:this.tiandituKey}),n=[n];return e&&n.push(t),h.default.layerGroup(n)},t._createCLOUDLayer=function(e,t){return"CLOUD"===e&&(this.map.getZoom()<3&&this.map.setZoom(3),this.map.setMinZoom(3)),h.default.supermap.cloudTileLayer(t,{noWrap:!0})},t._createXYZLayer=function(e){return h.default.tileLayer(e,{noWrap:!0})},t._createBaiduTileLayer=function(){return this.map.getZoom()<3&&this.map.setZoom(3),this.map.setMinZoom(3),h.default.supermap.baiduTileLayer("",{noWrap:!0})},t._createUniqueLayer=function(e,t){return this._createThemeLayer("unique",e,t)},t._createRangeLayer=function(e,t){return this._createThemeLayer("range",e,t)},t._createMarkerLayer=function(n){var a=this;return new Promise(function(t){var e=n&&n.map(function(o){return new Promise(function(t){var e=o.geometry.type.toUpperCase(),n=o.dv_v5_markerStyle,r=("POINT"===e&&n.text&&(e="TEXT"),a.setFeatureInfo(o)),r=(o.properties.useStyle=n,o.properties.featureInfo=r,"POINT"===e&&n.src&&-1===n.src.indexOf("http://")&&-1===n.src.indexOf("https://")&&(n.src=a.serverUrl+n.src),(n.imgWidth||48)*n.scale),i=(n.imgHeight||43)*n.scale;"POINT"===e&&n.src&&n.src.indexOf("svg")<=-1&&t(h.default.marker([o.geometry.coordinates[1],o.geometry.coordinates[0]],{icon:h.default.icon({iconUrl:n.src,iconSize:[r,i],iconAnchor:[r*n.anchor[0],i*n.anchor[1]]})})),"POINT"===e&&n.src&&-1<n.src.indexOf("svg")&&(a._svgDiv||(a._svgDiv=document.createElement("div"),document.body.appendChild(a._svgDiv)),a.getCanvasFromSVG(n.src,a._svgDiv,function(e){t(a._getSvgLayer(e,n,[o]))})),n.src||("LINESTRING"===e&&n.lineCap||"POLYGON"===e?t(a._createGeojsonLayer([o],a._getVectorLayerStyle(n))):"TEXT"===e?((r=new h.default.supermap.labelThemeLayer(n.text+"-text")).style={fontSize:n.font.split(" ")[0],labelRect:!0,fontColor:n.fillColor,fill:!0,fillColor:n.backgroundFill,stroke:!1},r.themeField="text",o.properties.text=n.text,i=new h.default.supermap.themeFeature([o.geometry.coordinates[1],o.geometry.coordinates[0],n.text],o.properties),r.addFeatures([i]),t(r)):t(h.default.circleMarker([o.geometry.coordinates[1],o.geometry.coordinates[0]],Object.assign({},a._getVectorLayerStyle(n)))))})});e&&Promise.all(e).then(function(e){e&&t(h.default.layerGroup(e))}).catch(function(e){console.error(e)})})},t._createRankSymbolLayer=function(e,t){var n,r=this,i=e.themeSetting.themeField,o=e.style,a=this.createRankStyleSource(e,t).styleGroups,s=(t=this.getFilterFeatures(e.filterCondition,t),[]);return t.forEach(function(e){var t=parseFloat(e.properties[i]);if(a)for(var n,r=0;r<a.length;r++)a[r].start<=t&&t<a[r].end&&(n=("SYMBOL_POINT"===o.type||"IMAGE_POINT"===o.type)&&"SYMBOL_POINT"===o.type?2*a[r].radius:a[r].radius,s.push(n))},this),"SYMBOL_POINT"===o.type?this._createSymbolLayer(e,t,s):"IMAGE_POINT"===o.type||"SVG_POINT"===o.type?this._createGraphicLayer(e,t,s):(n=[],t.forEach(function(e,t){t=Object.assign({},o,{radius:s[t]});n.push(h.default.circleMarker([e.geometry.coordinates[1],e.geometry.coordinates[0]],r._getVectorLayerStyle(t)))}),h.default.layerGroup(n))},t._addLabelLayer=function(e,t){var n=e.labelStyle,r=e.layerID,i=e.featureType,r=new h.default.supermap.labelThemeLayer(r+"-label"),n=(n.fontSize=14,n.labelRect=!0,n.fontColor=n.fill,n.fill=!0,n.fillColor="#FFFFFF",n.stroke=!1,n.strokeColor="#8B7B8B",r.style=n,r.themeField=n.labelField,this._convertLabelFeatures(r,t,e,i));return r.addFeatures(n),r},t._createHeatLayer=function(e,t){var n,r=e.themeSetting,e=e.layerID,i=r.colors,o=r.radius,a=r.customSettings,r=r.weight,s=i.slice();for(n in a)s[n]=a[n];i=h.default.supermap.heatMapLayer(e,{colors:s,map:this.map,radius:2*o,featureWeight:r,blur:1.5*o});return i.addFeatures({type:"FeatureCollection",features:t}),i},t._createSymbolLayer=function(e,t,n){var r,e=e.style;return(r=e.unicode?this._getSymbolPointLayer(e,n):r)&&this._createGeojsonLayer(t,null,r)},t._createGraphicLayer=function(l,u,c){var f=this;return new Promise(function(t){var n,e,r=l.style,i=r.type,o=r.imageInfo,a=r.radius,s=r.url;"IMAGE_POINT"===i&&o.url?(n=o.size.w/o.size.h,e=function(e,t){e=c&&2*c[e.id-1||e.properties.index];return h.default.marker(t,{icon:h.default.icon({iconUrl:o.url,iconSize:c?[e,e/n]:[2*a,2*a/n]})})}):"SVG_POINT"===i?(f._svgDiv||(f._svgDiv=document.createElement("div"),document.body.appendChild(f._svgDiv)),f.getCanvasFromSVG(s,f._svgDiv,function(e){t(f._getSvgLayer(e,r,u,c))})):e=function(e,t){return h.default.circleMarker(t,f._getVectorLayerStyle(r))},e&&t(f._createGeojsonLayer(u,null,e))})},t._createVectorLayer=function(e,t){e=e.style;return this._createGeojsonLayer(t,this._getVectorLayerStyle(e))},t._createMigrationLayer=function(e,t){e=this.getEchartsLayerOptions(e,t,"leaflet"),t=h.default.supermap.echartsLayer(e);return this.echartslayer.push(t),t},t._createDataflowLayer=function(n){var r=this;return this._dataflowFeatureCache={},new Promise(function(t){r._getDataflowPointLayer(n).then(function(e){e=h.default.supermap.dataFlowLayer(n.wsUrl,{pointToLayer:e});r._updateDataFlowFeaturesCallback=r._updateDataFlowFeature.bind(r,n),e.on("dataupdated",r._updateDataFlowFeaturesCallback),r._dataFlowLayer=e,t(e)})})},t._createGeojsonLayer=function(e,t,n){return h.default.geoJSON({type:"FeatureCollection",features:e},{pointToLayer:n,style:t})},t._getVectorLayerStyle=function(e){var t,n=e.fillColor,r=e.fillOpacity,i=e.strokeColor,o=e.strokeOpacity,a=e.strokeWidth,s=e.radius,e=e.lineDash,i={color:i,weight:a,opacity:o,fillColor:n,fillOpacity:r};return e&&(t=this.getDashStyle(e,a,"string")),s&&(i.radius=s),e&&(i.dashArray=t),i},t._getMapCenter=function(e){e=e.center&&[e.center.x,e.center.y];return e=e||[0,0],e="EPSG:3857"===this.baseProjection?this.crs.unproject(h.default.point(e[0],e[1])):h.default.latLng(e[1],e[0])},t._sendMapToUser=function(e,t){e===t&&this.triggerEvent("addlayerssucceeded",{map:this.map,mapparams:this.mapParams,layers:this._layers})},t._addLayerToMap=function(e){var t=e.layer,n=e.type,n=void 0===n?"overlays":n,r=e.layerInfo,e=e.sendToMap,e=void 0===e||e,i=r.visible,o=r.layerID,a=r.name,s=r.index;"overlays"===(n=e?"overlays":n)&&t.setZIndex&&t.setZIndex(s+1),void 0!==i&&!i||this.map.addLayer(t,r.name),this.layers[n]||(this.layers[n]={}),this.layers[n][o||a]=t,this._addLayerSucceeded(e)},t._convertLabelFeatures=function(e,t,n,r){var i,o,a,s,l=this;return t?(i=e.themeField,o=e.style,a=[],s=n.style||{},t.forEach(function(e){var t=l._getLabelLngLat(r,e),e=(l._setLabelOffset(r,s,o),e.properties),t=new h.default.supermap.themeFeature([t[1],t[0],e[i]],e);a.push(t)}),a):[]},t._getLabelLngLat=function(e,t){var n=t.geometry.coordinates;return"POINT"===e?n:"LINE"===e?(e=n.length,n[Math.round(e/2)]):(0,o.default)(t).geometry.coordinates},t._setLabelOffset=function(e,t,n){var r,i;"POINT"===e&&(e=t.pointRadius||0,r=t.strokeWidth||0,i=parseInt(t.fontSize)||0,n.labelXOffset=0,n.labelYOffset=t.unicode?20+i:25+(e+r))},t._addLayerSucceeded=function(e){(e=void 0===e?!0:e)&&(this.layerAdded++,this._sendMapToUser(this.layerAdded,this.expectLayerLen))},t._unproject=function(e){var t=this._unprojectCrs||h.default.CRS.EPSG3857;return this._latlngToCoordinate(t.unproject(h.default.point(e[0],e[1])))},t._latlngToCoordinate=function(e){return e?[e.lng,e.lat]:null},t._getSvgLayer=function(e,t,n,r){e=this._getSvgPointLayer(e,t,r);return this._createGeojsonLayer(n,null,e)},t._createThemeLayer=function(e,t,n){var r,i=t.filterCondition,o=t.style,a=t.themeSetting,s=t.featureType,l=t.layerID,u=JSON.parse(JSON.stringify(o)),c=("POINT"===s&&(u.pointRadius=o.radius),delete u.radius,"LINE"===s&&(u.fill=!1,u.strokeDashstyle=o.lineDash,delete u.lineDash),"unique"===e?r=this.getUniqueStyleGroup(t,n):"range"===e&&(r=this.getRangeStyleGroup(t,n)),i&&(n=this.getFilterFeatures(i,n)),a.themeField),s=(Object.keys(n[0].properties).forEach(function(e){e.toLocaleUpperCase()===c.toLocaleUpperCase()&&(c=e)}),h.default.supermap[e+"ThemeLayer"](l));return u.stroke=!0,s.style=u,s.themeField=c,s.styleGroups=r,s.addFeatures({type:"FeatureCollection",features:n}),s},t._handleMapCrs=function(e){var t=e.projection,n=e.baseLayer,r=e.extent;return"EPSG:910111"===(this.baseProjection=t)||"EPSG:910112"===t?this.baseProjection="EPSG:3857":"EPSG:910101"!==t&&"EPSG:910102"!==t||(this.baseProjection="EPSG:4326"),"BAIDU"===n.layerType?this.crs=h.default.CRS.Baidu:-1<n.layerType.indexOf("TIANDITU")?this.crs="EPSG:3857"===this.baseProjection?h.default.CRS.TianDiTu_Mercator:h.default.CRS.TianDiTu_WGS84:(t=this.baseProjection.split(":")[1],n=h.default.bounds([r.leftBottom.x,r.leftBottom.y],[r.rightTop.x,r.rightTop.y]),["4326","3857","3395"].includes(t)?this.crs=h.default.Proj.CRS("EPSG:"+t,{bounds:n}):parseFloat(t)<0?this.crs=new h.default.CRS.NonEarthCRS({bounds:n}):t||(this.baseProjection=(0,a.toEpsgCode)(this.baseProjection),this.baseProjection&&(this.crs=h.default.Proj.CRS(this.baseProjection,{bounds:n,def:e.projection})))),this.crs},t._updateDataFlowFeature=function(e,t){var n,r;e.visible&&(t=t.data,n=e.lineStyle,r=e.labelStyle,n&&this._updateDataflowPathLayer(t,e),r)&&"未设置"!==r.labelField&&this._updateDataflowLabelLayer(t,e)},t._getSymbolPointLayer=function(e,n){var r=JSON.parse(JSON.stringify(e));r.fontColor=e.fillColor,r.label=e.unicode,r.fontFamily="supermapol-icons";return function(e,t){return n&&(r.fontSize=n[e.id-1||e.properties.index]+"px"),new h.default.supermap.unicodeMarker(t,r)}},t._getSvgPointLayer=function(e,t,n){var r=t.radius,i=(this.handleSvgColor(t,e),e.toDataURL("img/png")),o=e.width/e.height;return function(e,t){e=n&&n[e.id-1||e.properties.index];return h.default.marker(t,{icon:h.default.icon({iconUrl:i,iconSize:n?[e,e/o]:[r,r/o]})})}},t._getDataflowPointLayer=function(e){var a=this,s=e.layerType,l=e.pointStyle,u=e.layerID,c=e.themeSetting;return new Promise(function(t){var e,n,r,i,o;"DATAFLOW_HEAT"===s?(e=c.colors,n=c.radius,r=c.customSettings,i=c.weight,o={layerID:u,themeSetting:{colors:e,radius:n,customSettings:r,weight:i}},t(function(e){return a._createHeatLayer(o,[e])})):"SYMBOL_POINT"===l.type?t(a._getSymbolPointLayer(l,null)):"SVG_POINT"===l.type?(a._svgDiv||(a._svgDiv=document.createElement("div"),document.body.appendChild(a._svgDiv)),a.getCanvasFromSVG(l.url,a._svgDiv,function(e){t(a._getSvgPointLayer(e,l,null))})):t(function(e,t){return h.default.circleMarker(t,a._getVectorLayerStyle(l))})})},t._handleDataflowFeature=function(e,t){var n=t.identifyField,r=t.maxPointCount,t=t.lineStyle,n=e.properties[n];t&&(this._dataflowLineFeatureCache[n]?((t=this._dataflowLineFeatureCache[n].geometry.coordinates).push(e.geometry.coordinates),r&&t.length>r&&t.splice(0,t.length-r),this._dataflowLineFeatureCache[n].geometry.coordinates=t):this._dataflowLineFeatureCache[n]={type:"Feature",properties:e.properties,geometry:{type:"LineString",coordinates:[e.geometry.coordinates]}}),this._dataflowFeatureCache[n]=e},t._updateDataflowLabelLayer=function(e,t){this._handleDataflowFeature(e,t);var n,r,e=e.properties[t.identifyField];this._dataflowLabelIdCache[e]?(n=this._dataFlowLayer.getLayer(this._dataflowLabelIdCache[e]),r=this._dataflowFeatureCache[e],r=new h.default.supermap.themeFeature([r.geometry.coordinates[1],r.geometry.coordinates[0],e],r.properties),n.removeAllFeatures(),n.addFeatures([r])):(r=this._dataflowFeatureCache[e],n=this._addLabelLayer(t,[r]),this._dataFlowLayer.addLayer(n),this._dataflowLabelIdCache[e]=this._dataFlowLayer.getLayerId(n))},t._updateDataflowPathLayer=function(e,t){this._handleDataflowFeature(e,t);var n,e=e.properties[t.identifyField],r=this._dataflowLineFeatureCache[e].geometry.coordinates,r=h.default.GeoJSON.coordsToLatLngs(r,0);this._dataflowPathIdCache[e]?(n=this._dataFlowLayer.getLayer(this._dataflowPathIdCache[e])).setLatLngs(r):(n=h.default.polyline(r,Object.assign({},this._getVectorLayerStyle(t.lineStyle))),this._dataFlowLayer.addLayer(n),this._dataflowPathIdCache[e]=this._dataFlowLayer.getLayerId(n))},t.getTransformCoodinatesCRS=function(e){e=(0,a.getProjection)("EPSG:"+e);return h.default.Proj.CRS((0,a.toEpsgCode)(e),{def:e})},t.cleanWebMap=function(){this.map&&(this.map.remove(),this.stopCanvg(),this.center=null,this.zoom=null,this._dataFlowLayer.off("dataupdated",this._updateDataFlowFeaturesCallback),this._unprojectCrs=null)},e}(r.default);t.default=n},"0Tzf":function(e,t,n){"use strict";n.r(t);var r,i=n("5L7t"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"0Xqd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("/xfr"),i=n("cKS0");function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={run:function(){var t=this,e=t.slides.eq(t.activeIndex),n=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(n=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=(0,i.nextTick)(function(){var e;t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")),(t.params.cssMode&&t.autoplay.running||!1===e)&&t.autoplay.run()},n)},start:function(){var e=this;return void 0===e.autoplay.timeout&&!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0)},stop:function(){var e=this;return!!e.autoplay.running&&void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0)},pause:function(e){var t=this;t.autoplay.running&&!t.autoplay.paused&&(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(function(e){t.$wrapperEl[0].addEventListener(e,t.autoplay.onTransitionEnd)}):(t.autoplay.paused=!1,t.autoplay.run()))},onVisibilityChange:function(){var e=this,t=(0,r.getDocument)();"hidden"===t.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===t.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(e){var t=this;t&&!t.destroyed&&t.$wrapperEl&&e.target===t.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(function(e){t.$wrapperEl[0].removeEventListener(e,t.autoplay.onTransitionEnd)}),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())},onMouseEnter:function(){var t=this;t.params.autoplay.disableOnInteraction?t.autoplay.stop():t.autoplay.pause(),["transitionend","webkitTransitionEnd"].forEach(function(e){t.$wrapperEl[0].removeEventListener(e,t.autoplay.onTransitionEnd)})},onMouseLeave:function(){this.params.autoplay.disableOnInteraction||(this.autoplay.paused=!1,this.autoplay.run())},attachMouseEvents:function(){var e=this;e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",e.autoplay.onMouseEnter),e.$el.on("mouseleave",e.autoplay.onMouseLeave))},detachMouseEvents:function(){this.$el.off("mouseenter",this.autoplay.onMouseEnter),this.$el.off("mouseleave",this.autoplay.onMouseLeave)}};t.default={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}},create:function(){(0,i.bindModuleMethods)(this,{autoplay:o({},a,{running:!1,paused:!1})})},on:{init:function(e){e.params.autoplay.enabled&&(e.autoplay.start(),(0,r.getDocument)().addEventListener("visibilitychange",e.autoplay.onVisibilityChange),e.autoplay.attachMouseEvents())},beforeTransitionStart:function(e,t,n){e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(t):e.autoplay.stop())},sliderFirstMove:function(e){e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(e){e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(e){e.autoplay.detachMouseEvents(),e.autoplay.running&&e.autoplay.stop(),(0,r.getDocument)().removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}}},"0cRc":function(e,t,n){"use strict";n.r(t);var r=n("YEIV"),u=n.n(r),r=n("jo6Y"),c=n.n(r),r=n("QbLZ"),f=n.n(r),r=n("TSYQ"),h=n.n(r),i=n("jfjY"),d=n("J+PB"),p=n("DGO/"),r=n("yXPv"),y=n("Xvvz"),m=n("ewVk"),o=n("TZE5"),g=n("2qPA"),a=n("TfX5");t.default={name:"AInputSearch",inheritAttrs:!1,model:{prop:"value",event:"change.value"},props:f()({},r.default,{enterButton:o.a.any}),inject:{configProvider:{default:function(){return a.a}}},methods:{onChange:function(e){e&&e.target&&"click"===e.type&&this.$emit("search",e.target.value,e),this.$emit("change",e)},onSearch:function(e){this.loading||this.disabled||(this.$emit("search",this.$refs.input.stateValue,e),Object(i.isMobile)({tablet:!0}))||this.$refs.input.focus()},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},renderLoading:function(e){var t=this.$createElement,n=this.$props.size,r=Object(g.getComponentFromProp)(this,"enterButton");return r||""===r?t(y.a,{class:e+"-button",attrs:{type:"primary",size:n},key:"enterButton"},[t(p.default,{attrs:{type:"loading"}})]):t(p.default,{class:e+"-icon",attrs:{type:"loading"},key:"loadingIcon"})},renderSuffix:function(e){var t=this.$createElement,n=this.loading,r=Object(g.getComponentFromProp)(this,"suffix"),i=(i=Object(g.getComponentFromProp)(this,"enterButton"))||""===i;return n&&!i?[r,this.renderLoading(e)]:i?r:(n=t(p.default,{class:e+"-icon",attrs:{type:"search"},key:"searchIcon",on:{click:this.onSearch}}),r?[r,n]:n)},renderAddonAfter:function(e){var t,n=this.$createElement,r=this.size,i=this.disabled,o=this.loading,a=e+"-button",s=(s=Object(g.getComponentFromProp)(this,"enterButton"))||""===s,l=Object(g.getComponentFromProp)(this,"addonAfter");return o&&s?[this.renderLoading(e),l]:s?(o=void 0,t=(e=Array.isArray(s)?s[0]:s).componentOptions&&e.componentOptions.Ctor.extendOptions.__ANT_BUTTON,o="button"===e.tag||t?Object(m.a)(e,{key:"enterButton",class:t?a:"",props:t?{size:r}:{},on:{click:this.onSearch}}):n(y.a,{class:a,attrs:{type:"primary",size:r,disabled:i},key:"enterButton",on:{click:this.onSearch}},[!0===s||""===s?n(p.default,{attrs:{type:"search"}}):s]),l?[o,l]:o):l}},render:function(){var e=arguments[0],t=Object(g.getOptionProps)(this),n=t.prefixCls,r=t.inputPrefixCls,i=t.size,t=(t.loading,c()(t,["prefixCls","inputPrefixCls","size","loading"])),o=this.configProvider.getPrefixCls,n=o("input-search",n),o=o("input",r),r=Object(g.getComponentFromProp)(this,"enterButton"),a=Object(g.getComponentFromProp)(this,"addonBefore"),s=void 0,r=(s=(r=r||""===r)?h()(n,(l={},u()(l,n+"-enter-button",!!r),u()(l,n+"-"+i,!!i),l)):n,f()({},Object(g.getListeners)(this))),l=(delete r.search,{props:f()({},t,{prefixCls:o,size:i,suffix:this.renderSuffix(n),prefix:Object(g.getComponentFromProp)(this,"prefix"),addonAfter:this.renderAddonAfter(n),addonBefore:a,className:s}),attrs:this.$attrs,ref:"input",on:f()({pressEnter:this.onSearch},r,{change:this.onChange})});return e(d.default,l)}}},"0iNa":function(B,e,t){"use strict";var n=t("TqRt"),R=(Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Avatar",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Border",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Breadcrumb",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Button",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Card",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Chart",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(e,"Checkbox",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Collapse",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"CollapseCard",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"ColorPicker",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"DatePicker",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"Dropdown",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"Empty",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"Icon",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"Identify",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"Iframe",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"Indicator",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"Input",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"InputNumber",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"Layout",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"LiquidFill",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"Menu",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"Modal",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"Pagination",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"Popup",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"Progress",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"Radio",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"Select",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"Slideshow",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"Spin",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"Steps",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"Switch",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"Table",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"TablePopup",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"Tabs",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"TileLayer",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"TimeLine",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"TimeRange",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"TimeSlider",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"TimeText",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"Tooltip",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"Transfer",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"Tree",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"TreeSelect",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"VideoPlayer",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"WebMap",{enumerable:!0,get:function(){return ae.default}}),e.default=e.commontypes=void 0,Object.defineProperty(e,"initi18n",{enumerable:!0,get:function(){return r.initi18n}}),Object.defineProperty(e,"lang",{enumerable:!0,get:function(){return r.lang}}),Object.defineProperty(e,"message",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"notification",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"registerProjection",{enumerable:!0,get:function(){return R.registerProjection}}),Object.defineProperty(e,"setTheme",{enumerable:!0,get:function(){return o.setTheme}}),t("ydy9")),r=t("DSM6"),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=se(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(t("NGA9")),o=(e.commontypes=i,t("Fwpn")),a=n(t("Y8hN")),s=n(t("Eb4R")),l=n(t("zqxc")),u=n(t("G/6Y")),c=n(t("prwZ")),f=n(t("cZul")),h=n(t("EboO")),d=n(t("Wx+d")),p=n(t("lYDR")),y=n(t("T/sc")),m=n(t("mADD")),g=n(t("9csV")),v=n(t("OZ5v")),b=n(t("bdOm")),_=n(t("fCBf")),x=n(t("YKop")),w=n(t("A8UG")),A=n(t("anRA")),S=n(t("cce3")),C=n(t("v1Hm")),O=n(t("kl34")),E=n(t("NQEM")),M=n(t("ikbW")),P=n(t("SHrc")),k=n(t("rYjP")),T=n(t("GYfH")),I=n(t("JnDh")),L=n(t("LLgY")),j=n(t("So9u")),N=n(t("AL3B")),z=n(t("Zc6E")),F=n(t("c8iL")),V=n(t("nzyA")),H=n(t("kGYo")),Y=n(t("DatF")),G=n(t("T2bp")),U=n(t("Wx5T")),Q=n(t("O4cD")),W=n(t("hv+s")),q=n(t("nFX3")),K=n(t("T3d4")),X=n(t("PNO5")),J=n(t("JPNL")),$=n(t("gluN")),Z=n(t("qggx")),ee=n(t("C9xp")),te=n(t("YomP")),ne=n(t("n1Yy")),re=n(t("Pfwi")),ie=n(t("TJ20")),oe=n(t("lr5O")),ae=n(t("Grxt"));function se(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(se=function(e){return e?n:t})(e))}function le(e,t){for(var n in void 0===t&&(t={}),e.prototype.$message=D.Message,e.prototype.$notification=D.Notification,e.prototype.$info=D.Modal.info,e.prototype.$success=D.Modal.success,e.prototype.$error=D.Modal.error,e.prototype.$warning=D.Modal.warning,e.prototype.$confirm=D.Modal.confirm,e.prototype.$destroyAll=D.Modal.destroyAll,D)["Notification","Message"].includes(n)||e.use(D[n],t)}var D={Avatar:a.default,Border:s.default,Breadcrumb:l.default,Button:u.default,Card:c.default,Checkbox:f.default,Collapse:h.default,CollapseCard:d.default,ColorPicker:p.default,DatePicker:y.default,Dropdown:m.default,Empty:g.default,Icon:v.default,Iframe:b.default,Image:_.default,Indicator:x.default,Input:w.default,InputNumber:A.default,Layout:S.default,LiquidFill:C.default,Menu:O.default,Message:E.default,Modal:M.default,Notification:P.default,Pagination:k.default,Progress:T.default,Radio:I.default,Select:L.default,Slider:j.default,Slideshow:N.default,Spin:z.default,Steps:F.default,Switch:V.default,Table:H.default,TablePopup:Y.default,Tabs:G.default,Text:U.default,TimeLine:Q.default,TimeRange:W.default,TimeSlider:q.default,TimeText:K.default,Tooltip:X.default,Transfer:J.default,Tree:$.default,TreeSelect:Z.default,VideoPlayer:ee.default,Chart:ne.default,Identify:re.default,Marker:ie.default,Popup:oe.default,WebMap:ae.default,TileLayer:te.default},n=("undefined"!=typeof window&&window.Vue&&le(window.Vue,{theme:"light"}),{setTheme:o.setTheme,commontypes:i,lang:r.lang,locale:r.setLocale,install:le});e.default=n},"0me/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this,n=t.params,r=t.$wrapperEl,i=t.activeIndex;n.loop&&t.loopDestroy();var o=i+1;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)e[a]&&r.prepend(e[a]);o=i+e.length}else r.prepend(e);n.loop&&t.loopCreate();n.observer&&t.support.observer||t.update();t.slideTo(o,0,!1)}},"0mo+":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r;e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:true,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="མཚན་མོ"&&e>=4||t==="ཉིན་གུང"&&e<5||t==="དགོང་དག")return e+12;else return e},meridiem:function(e,t,n){if(e<4)return"མཚན་མོ";else if(e<10)return"ཞོགས་ཀས";else if(e<17)return"ཉིན་གུང";else if(e<20)return"དགོང་དག";else return"མཚན་མོ"},week:{dow:0,doy:6}})}(n("wd/R"))},"0r2v":function(e,t,n){"use strict";n=n("aLaa");e.exports=n([].slice)},"0roy":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("jQP/"))),o=r(n("EJt4")),a=r(n("IBc5")),s=r(n("2ijT")),r=r(n("s/PY")),n={getTranslate:i.default,setTranslate:o.default,minTranslate:a.default,maxTranslate:s.default,translateTo:r.default};t.default=n},"0t0F":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("/xfr"),i=n("cKS0");t.default={name:"resize",create:function(){var o=this;(0,i.extend)(o,{resize:{observer:null,createObserver:function(){o&&!o.destroyed&&o.initialized&&(o.resize.observer=new ResizeObserver(function(e){var t=o.width,n=o.height,r=t,i=n;e.forEach(function(e){var t=e.contentBoxSize,n=e.contentRect,e=e.target;e&&e!==o.el||(r=n?n.width:(t[0]||t).inlineSize,i=n?n.height:(t[0]||t).blockSize)}),r===t&&i===n||o.resize.resizeHandler()}),o.resize.observer.observe(o.el))},removeObserver:function(){o.resize.observer&&o.resize.observer.unobserve&&o.el&&(o.resize.observer.unobserve(o.el),o.resize.observer=null)},resizeHandler:function(){o&&!o.destroyed&&o.initialized&&(o.emit("beforeResize"),o.emit("resize"))},orientationChangeHandler:function(){o&&!o.destroyed&&o.initialized&&o.emit("orientationchange")}}})},on:{init:function(e){var t=(0,r.getWindow)();e.params.resizeObserver&&void 0!==(0,r.getWindow)().ResizeObserver?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=(0,r.getWindow)();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}}},"0tG6":function(e,t,n){"use strict";n.r(t);n=n("AcmY");t.default={name:"ATableColumn",props:n.ColumnProps}},"0tRk":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n("wd/R"))},"0tVQ":function(e,t,n){n("FlQf"),n("VJsP"),e.exports=n("WEpk").Array.from},"0uMD":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.datePickerTypes=void 0,r(n("C7dx"))),o=n("i9cM"),r=r(n("kuQC")),n=Object.assign({},(0,o.DatePickerProps)()),o=(t.datePickerTypes=n,{name:"SmDatePicker",defaultComponent:i.default,mixins:[r.default],props:n});t.default=o},"0wsv":function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"d",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"b",function(){return s});function r(e,t,n){var r={type:"Feature"};return 0!==(n=void 0===n?{}:n).id&&!n.id||(r.id=n.id),n.bbox&&(r.bbox=n.bbox),r.properties=t||{},r.geometry=e,r}function i(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");if(e.length<2)throw new Error("coordinates must be at least 2 numbers long");if(a(e[0])&&a(e[1]))return r({type:"Point",coordinates:e},t,n);throw new Error("coordinates must contain numbers")}function o(e,t,n){if(void 0===n&&(n={}),e.length<2)throw new Error("coordinates must be an array of two or more positions");return r({type:"LineString",coordinates:e},t,n)}function a(e){return!isNaN(e)&&null!==e&&!Array.isArray(e)}function s(e){return!!e&&e.constructor===Object}},"0ycA":function(e,t){e.exports=function(){return[]}},"0zgg":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),r=r(n("i7/w")),n=n("YKMj"),o=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},a=["zoomlevelschange","resize","unload","viewreset","load","zoomstart","movestart","zoom","move","zoomend","moveend","popupopen","popupclose","autopanstart","tooltipopen","tooltipclose","locationerror","locationfound","click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","contextmenu","keypress","keydown","keyup","preclick","zoomanim"],r=function(e){function t(){return e.apply(this,arguments)||this}(0,i.default)(t,e);var n=t.prototype;return n.mapEventCallback=function(e,t){void 0===t&&(t={}),this.emitMapEvent(e.type,Object.assign({mapboxEvent:e},t))},n.bindMapEvents=function(){var t=this;Object.keys(this.$listeners).forEach(function(e){a.includes(e)&&t.bindMapEvent(e,t.mapEventCallback.bind(t))})},n.emitMapEvent=function(e,t){void 0===t&&(t={}),this.$emit(e,Object.assign({map:this.map,component:this},t))},n.bindMapEvent=function(e,t){this.map.on(e,t)},t}(r.default),r=o([n.Component],r);t.default=r},"0zjr":function(e,t,n){"use strict";n.r(t);var r=n("kvrn"),u=n.n(r),r=n("YEIV"),c=n.n(r),r=n("QbLZ"),f=n.n(r),r=n("jo6Y"),h=n.n(r),r=n("TZE5"),d=n("+XHg"),i=n("TSYQ"),p=n.n(i),y=n("2qPA"),o=n("TfX5");function m(){}t.default={name:"ARadio",model:{prop:"checked"},props:{prefixCls:r.a.string,defaultChecked:Boolean,checked:{type:Boolean,default:void 0},disabled:Boolean,isGroup:Boolean,value:r.a.any,name:String,id:String,autoFocus:Boolean,type:r.a.string.def("radio")},inject:{radioGroupContext:{default:void 0},configProvider:{default:function(){return o.a}}},methods:{focus:function(){this.$refs.vcCheckbox.focus()},blur:function(){this.$refs.vcCheckbox.blur()},handleChange:function(e){var t=e.target.checked;this.$emit("input",t),this.$emit("change",e)},onChange:function(e){this.$emit("change",e),this.radioGroupContext&&this.radioGroupContext.onRadioChange&&this.radioGroupContext.onRadioChange(e)}},render:function(){var e=arguments[0],t=this.$slots,n=this.radioGroupContext,r=Object(y.getOptionProps)(this),t=t.default,i=Object(y.getListeners)(this),o=i.mouseenter,o=void 0===o?m:o,a=i.mouseleave,a=void 0===a?m:a,i=h()(i,["mouseenter","mouseleave"]),s=r.prefixCls,l=h()(r,["prefixCls"]),s=(0,this.configProvider.getPrefixCls)("radio",s),l={props:f()({},l,{prefixCls:s}),on:i,attrs:Object(y.getAttrs)(this)};return n?(l.props.name=n.name,l.on.change=this.onChange,l.props.checked=r.value===n.stateValue,l.props.disabled=r.disabled||n.disabled):l.on.change=this.handleChange,e("label",{class:p()((i={},c()(i,s+"-wrapper",!0),c()(i,s+"-wrapper-checked",l.props.checked),c()(i,s+"-wrapper-disabled",l.props.disabled),i)),on:{mouseenter:o,mouseleave:a}},[e(d.a,u()([l,{ref:"vcCheckbox"}])),void 0!==t?e("span",[t]):null])}}},1:function(e,t){},"1+5i":function(e,t,n){var r=n("w/wX"),i=n("sEf8"),n=n("mdPL"),n=n&&n.isSet,i=n?i(n):r;e.exports=i},"11yv":function(e,t,n){"use strict";var r=n("Ks5W"),i=n("aNr2"),o=n("YELS"),a=n("MURR"),s=n("v/rq"),n=n("1Sr1"),l=r.Symbol,u=i("wks"),c=n?l.for||l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)||(u[e]=s&&o(l,e)?l[e]:c("Symbol."+e)),u[e]}},"13vt":function(e,t,n){"use strict";var r=n("nCzB"),i=n("jybJ"),o=n("GxTi").CONSTRUCTOR,a=n("KLK4"),s=n("RYfq"),l=n("JTf3"),n=n("WaP5"),u=a&&a.prototype;r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&l(a)&&(r=s("Promise").prototype.catch,u.catch!==r)&&n(u,"catch",r,{unsafe:!0})},"14H2":function(e,t,n){"use strict";n.r(t);var r,i=n("zxod"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"14g6":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.inputSearchTypes=t.default=void 0,r(n("0cRc"))),o=r(n("yXPv")),a=r(n("ET/Y")),r=r(n("nvtG")),n=Object.assign(Object.assign({},o.default),{enterButton:a.default.any,size:a.default.oneOf(["small","large","default","middle"])}),o=(t.inputSearchTypes=n,{name:"SmInputSearch",defaultComponent:i.default,mixins:[r.default],props:n,computed:{extralProps:function(){return{size:"middle"===this.size?void 0:this.size}},componentClass:function(){return{"sm-component-input-group-wrapper-md":"middle"===this.size,"sm-component-input-search-md":"middle"===this.size}}},mounted:function(){var e;"middle"===this.size&&((e=this.$el.querySelector(".sm-component-input"))&&e.classList&&e.classList.add("sm-component-input-md"),e=this.$el.querySelector(".sm-component-input-group-addon .sm-component-btn"))&&e.classList&&e.classList.add("sm-component-btn-md")}});t.default=o},"15ft":function(e,t,n){"use strict";n.r(t);var r,i=n("vpOj"),o=n("y7w9");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},"1B3U":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var r=["moz","ms","webkit"];var i,o="undefined"==typeof window?function(){}:window.requestAnimationFrame?window.requestAnimationFrame.bind(window):(n=r.filter(function(e){return e+"RequestAnimationFrame"in window})[0])?window[n+"RequestAnimationFrame"]:(i=0,function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-i)),r=window.setTimeout(function(){e(t+n)},n);return i=t+n,r}),a=function(e){return function(e){var t;return"undefined"==typeof window?null:window.cancelAnimationFrame?window.cancelAnimationFrame(e):(t=r.filter(function(e){return e+"CancelAnimationFrame"in window||e+"CancelRequestAnimationFrame"in window})[0])?(window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]).call(this,e):clearTimeout(e)}(e.id)},s=function(t,n){var r=Date.now();var i={id:o(function e(){Date.now()-r>=n?t.call():i.id=o(e)})};return i}},"1IWx":function(e,t,n){e.exports=r;var c=n("+qE3").EventEmitter;function r(){c.call(this)}n("P7XM")(r,c),r.Readable=n("CsPn"),r.Writable=n("r36U"),r.Duplex=n("fBa/"),r.Transform=n("if1q"),r.PassThrough=n("UaIL"),(r.Stream=r).prototype.pipe=function(t,e){var n=this;function r(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",r),t.on("drain",i),t._isStdio||e&&!1===e.end||(n.on("end",a),n.on("close",s));var o=!1;function a(){o||(o=!0,t.end())}function s(){o||(o=!0,"function"==typeof t.destroy&&t.destroy())}function l(e){if(u(),0===c.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",r),t.removeListener("drain",i),n.removeListener("end",a),n.removeListener("close",s),n.removeListener("error",l),t.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),t.removeListener("close",u)}return n.on("error",l),t.on("error",l),n.on("end",u),n.on("close",u),t.on("close",u),t.emit("pipe",n),t}},"1Mc+":function(e,t,n){"use strict";n.r(t);var r,i=n("QmiY"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"1P0Z":function(e,t,n){},"1RHo":function(e,t,n){"use strict";n.r(t);var r=n("kvrn"),m=n.n(r),r=n("YEIV"),g=n.n(r),v=n("Sx0+"),b=n("zLns"),r=n("EJiy"),d=n.n(r),r=n("QbLZ"),p=n.n(r),r=n("TZE5"),i=n("tIgm"),o=n("TfX5"),a=void 0,s=("undefined"!=typeof window&&(window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),a=n("jpXb")),{xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"}),l=[],u=-1,c={},f={dispatch:function(e){return c=e,!(l.length<1||(l.forEach(function(e){e.func(c)}),0))},subscribe:function(e){0===l.length&&this.register();var t=(++u).toString();return l.push({token:t,func:e}),e(c),t},unsubscribe:function(t){0===(l=l.filter(function(e){return e.token!==t})).length&&this.unregister()},unregister:function(){Object.keys(s).map(function(e){return a.unregister(s[e])})},register:function(){var n=this;Object.keys(s).map(function(t){return a.register(s[t],{match:function(){var e=p()({},c,g()({},t,!0));n.dispatch(e)},unmatch:function(){var e=p()({},c,g()({},t,!1));n.dispatch(e)},destroy:function(){}})})}},h={gutter:r.a.oneOfType([r.a.object,r.a.number,r.a.array]),type:r.a.oneOf(["flex"]),align:r.a.oneOf(["top","middle","bottom","stretch"]),justify:r.a.oneOf(["start","end","center","space-around","space-between"]),prefixCls:r.a.string},y=["xxl","xl","lg","md","sm","xs"],_={name:"ARow",mixins:[i.a],props:p()({},h,{gutter:r.a.oneOfType([r.a.object,r.a.number,r.a.array]).def(0)}),provide:function(){return{rowContext:this}},inject:{configProvider:{default:function(){return o.a}}},data:function(){return{screens:{}}},mounted:function(){var n=this;this.$nextTick(function(){n.token=f.subscribe(function(e){var t=n.gutter;"object"!==(void 0===t?"undefined":d()(t))&&(!Array.isArray(t)||"object"!==d()(t[0])&&"object"!==d()(t[1]))||(n.screens=e)})})},beforeDestroy:function(){f.unsubscribe(this.token)},methods:{getGutter:function(){var i=[0,0],e=this.gutter,o=this.screens;return(Array.isArray(e)?e:[e,0]).forEach(function(e,t){if("object"===(void 0===e?"undefined":d()(e)))for(var n=0;n<y.length;n++){var r=y[n];if(o[r]&&void 0!==e[r]){i[t]=e[r];break}}else i[t]=e||0}),i}},render:function(){var e=arguments[0],t=this.type,n=this.justify,r=this.align,i=this.prefixCls,o=this.$slots,i=(0,this.configProvider.getPrefixCls)("row",i),a=this.getGutter(),s={};return g()(s,i,!t),g()(s,i+"-"+t,t),g()(s,i+"-"+t+"-"+n,t&&n),g()(s,i+"-"+t+"-"+r,t&&r),e("div",{class:s,style:p()({},0<a[0]?{marginLeft:a[0]/-2+"px",marginRight:a[0]/-2+"px"}:{},0<a[1]?{marginTop:a[1]/-2+"px",marginBottom:a[1]/-2+"px"}:{})},[o.default])}},x=n("2xRk"),w=(_.install=function(e){e.use(x.default),e.component(_.name,_)},_),A=n("2qPA"),h=r.a.oneOfType([r.a.string,r.a.number]),n=r.a.shape({span:h,order:h,offset:h,push:h,pull:h}).loose,n=r.a.oneOfType([r.a.string,r.a.number,n]),S={name:"ACol",props:{span:h,order:h,offset:h,push:h,pull:h,xs:n,sm:n,md:n,lg:n,xl:n,xxl:n,prefixCls:r.a.string,flex:h},inject:{configProvider:{default:function(){return o.a}},rowContext:{default:function(){return null}}},methods:{parseFlex:function(e){return"number"==typeof e?e+" "+e+" auto":/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 "+e:e}},render:function(){var r=this,e=arguments[0],t=this.span,n=this.order,i=this.offset,o=this.push,a=this.pull,s=this.flex,l=this.prefixCls,u=this.$slots,c=this.rowContext,f=(0,this.configProvider.getPrefixCls)("col",l),h={},t=(["xs","sm","md","lg","xl","xxl"].forEach(function(e){var t={},n=r[e];"number"==typeof n?t.span=n:"object"===(void 0===n?"undefined":d()(n))&&(t=n||{}),h=p()({},h,(n={},g()(n,f+"-"+e+"-"+t.span,void 0!==t.span),g()(n,f+"-"+e+"-order-"+t.order,t.order||0===t.order),g()(n,f+"-"+e+"-offset-"+t.offset,t.offset||0===t.offset),g()(n,f+"-"+e+"-push-"+t.push,t.push||0===t.push),g()(n,f+"-"+e+"-pull-"+t.pull,t.pull||0===t.pull),n))}),p()((l={},g()(l,""+f,!0),g()(l,f+"-"+t,void 0!==t),g()(l,f+"-order-"+n,n),g()(l,f+"-offset-"+i,i),g()(l,f+"-push-"+o,o),g()(l,f+"-pull-"+a,a),l),h)),n={on:Object(A.getListeners)(this),class:t,style:{}};return c&&(i=c.getGutter())&&(n.style=p()({},0<i[0]?{paddingLeft:i[0]/2+"px",paddingRight:i[0]/2+"px"}:{},0<i[1]?{paddingTop:i[1]/2+"px",paddingBottom:i[1]/2+"px"}:{})),s&&(n.style.flex=this.parseFlex(s)),e("div",n,[u.default])},install:function(e){e.use(x.default),e.component(S.name,S)}},C=S,O=b.default.TabPane;t.default={name:"ACard",mixins:[i.a],props:{prefixCls:r.a.string,title:r.a.any,extra:r.a.any,bordered:r.a.bool.def(!0),bodyStyle:r.a.object,headStyle:r.a.object,loading:r.a.bool.def(!1),hoverable:r.a.bool.def(!1),type:r.a.string,size:r.a.oneOf(["default","small"]),actions:r.a.any,tabList:r.a.array,tabBarExtraContent:r.a.any,activeTabKey:r.a.string,defaultActiveTabKey:r.a.string},inject:{configProvider:{default:function(){return o.a}}},data:function(){return{widerPadding:!1}},methods:{getAction:function(n){var r=this.$createElement;return n.map(function(e,t){return r("li",{style:{width:100/n.length+"%"},key:"action-"+t},[r("span",[e])])})},onTabChange:function(e){this.$emit("tabChange",e)},isContainGrid:function(){var t=void 0;return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach(function(e){e&&Object(A.getSlotOptions)(e).__ANT_CARD_GRID&&(t=!0)}),t}},render:function(){var r=arguments[0],e=this.$props,t=e.prefixCls,n=e.headStyle,n=void 0===n?{}:n,i=e.bodyStyle,i=void 0===i?{}:i,o=e.loading,a=e.bordered,a=void 0===a||a,s=e.size,s=void 0===s?"default":s,l=e.type,u=e.tabList,c=e.hoverable,f=e.activeTabKey,e=e.defaultActiveTabKey,t=(0,this.configProvider.getPrefixCls)("card",t),h=this.$slots,d=this.$scopedSlots,p=Object(A.getComponentFromProp)(this,"tabBarExtraContent"),a=(y={},g()(y,""+t,!0),g()(y,t+"-loading",o),g()(y,t+"-bordered",a),g()(y,t+"-hoverable",!!c),g()(y,t+"-contain-grid",this.isContainGrid(h.default)),g()(y,t+"-contain-tabs",u&&u.length),g()(y,t+"-"+s,"default"!==s),g()(y,t+"-type-"+l,!!l),y),c=0===i.padding||"0px"===i.padding?{padding:24}:void 0,s=r("div",{class:t+"-loading-content",style:c},[r(w,{attrs:{gutter:8}},[r(C,{attrs:{span:22}},[r("div",{class:t+"-loading-block"})])]),r(w,{attrs:{gutter:8}},[r(C,{attrs:{span:8}},[r("div",{class:t+"-loading-block"})]),r(C,{attrs:{span:15}},[r("div",{class:t+"-loading-block"})])]),r(w,{attrs:{gutter:8}},[r(C,{attrs:{span:6}},[r("div",{class:t+"-loading-block"})]),r(C,{attrs:{span:18}},[r("div",{class:t+"-loading-block"})])]),r(w,{attrs:{gutter:8}},[r(C,{attrs:{span:13}},[r("div",{class:t+"-loading-block"})]),r(C,{attrs:{span:9}},[r("div",{class:t+"-loading-block"})])]),r(w,{attrs:{gutter:8}},[r(C,{attrs:{span:4}},[r("div",{class:t+"-loading-block"})]),r(C,{attrs:{span:3}},[r("div",{class:t+"-loading-block"})]),r(C,{attrs:{span:16}},[r("div",{class:t+"-loading-block"})])])]),l=void 0!==f,c={props:(y={size:"large"},g()(y,l?"activeKey":"defaultActiveKey",l?f:e),g()(y,"tabBarExtraContent",p),y),on:{change:this.onTabChange},class:t+"-head-tabs"},l=void 0,f=u&&u.length?r(b.default,c,[u.map(function(e){var t=e.tab,n=e.scopedSlots,n=(void 0===n?{}:n).tab,t=void 0!==t?t:d[n]?d[n](e):null;return r(O,{attrs:{tab:t,disabled:e.disabled},key:e.key})})]):null,e=Object(A.getComponentFromProp)(this,"title"),p=Object(A.getComponentFromProp)(this,"extra"),y=((e||p||f)&&(l=r("div",{class:t+"-head",style:n},[r("div",{class:t+"-head-wrapper"},[e&&r("div",{class:t+"-head-title"},[e]),p&&r("div",{class:t+"-extra"},[p])]),f])),h.default),c=Object(A.getComponentFromProp)(this,"cover"),u=c?r("div",{class:t+"-cover"},[c]):null,n=r("div",{class:t+"-body",style:i},[o?s:y]),e=Object(A.filterEmpty)(this.$slots.actions),p=e&&e.length?r("ul",{class:t+"-actions"},[this.getAction(e)]):null;return r("div",m()([{class:a,ref:"cardContainerRef"},{on:Object(v.a)(Object(A.getListeners)(this),["tabChange","tab-change"])}]),[l,u,y?n:null,p])}}},"1Sr1":function(e,t,n){"use strict";n=n("v/rq");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"1ThP":function(e,t,n){"use strict";n.r(t);var r,i=n("TPtX");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"1VCM":function(e,t,n){"use strict";var r=n("TqRt"),S=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Jq2x"))),i=n("cKS0");function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={setTranslate:function(){var e=this,t=e.$el,n=e.$wrapperEl,r=e.slides,i=e.width,o=e.height,a=e.rtlTranslate,s=e.size,l=e.browser,u=e.params.cubeEffect,c=e.isHorizontal(),f=e.virtual&&e.params.virtual.enabled,h=0;u.shadow&&(c?(0===(A=n.find(".swiper-cube-shadow")).length&&(A=(0,S.default)('<div class="swiper-cube-shadow"></div>'),n.append(A)),A.css({height:i+"px"})):0===(A=t.find(".swiper-cube-shadow")).length&&(A=(0,S.default)('<div class="swiper-cube-shadow"></div>'),t.append(A)));for(var d,p=0;p<r.length;p+=1){var y=r.eq(p),m=p,g=90*(m=f?parseInt(y.attr("data-swiper-slide-index"),10):m),v=Math.floor(g/360),b=(a&&(g=-g,v=Math.floor(-g/360)),Math.max(Math.min(y[0].progress,1),-1)),_=0,x=0,w=0,v=(m%4==0?(_=4*-v*s,w=0):(m-1)%4==0?(_=0,w=4*-v*s):(m-2)%4==0?(_=s+4*v*s,w=s):(m-3)%4==0&&(_=-s,w=3*s+4*s*v),a&&(_=-_),c||(x=_,_=0),"rotateX("+(c?0:-g)+"deg) rotateY("+(c?g:0)+"deg) translate3d("+_+"px, "+x+"px, "+w+"px)");b<=1&&-1<b&&(h=90*m+90*b,a)&&(h=90*-m-90*b),y.transform(v),u.slideShadows&&(g=c?y.find(".swiper-slide-shadow-left"):y.find(".swiper-slide-shadow-top"),_=c?y.find(".swiper-slide-shadow-right"):y.find(".swiper-slide-shadow-bottom"),0===g.length&&(g=(0,S.default)('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),y.append(g)),0===_.length&&(_=(0,S.default)('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),y.append(_)),g.length&&(g[0].style.opacity=Math.max(-b,0)),_.length)&&(_[0].style.opacity=Math.max(b,0))}n.css({"-webkit-transform-origin":"50% 50% -"+s/2+"px","-moz-transform-origin":"50% 50% -"+s/2+"px","-ms-transform-origin":"50% 50% -"+s/2+"px","transform-origin":"50% 50% -"+s/2+"px"}),u.shadow&&(c?A.transform("translate3d(0px, "+(i/2+u.shadowOffset)+"px, "+-i/2+"px) rotateX(90deg) rotateZ(0deg) scale("+u.shadowScale+")"):(t=Math.abs(h)-90*Math.floor(Math.abs(h)/90),i=1.5-(Math.sin(2*t*Math.PI/360)/2+Math.cos(2*t*Math.PI/360)/2),t=u.shadowScale,i=u.shadowScale/i,d=u.shadowOffset,A.transform("scale3d("+t+", 1, "+i+") translate3d(0px, "+(o/2+d)+"px, "+-o/2/i+"px) rotateX(-90deg)")));var A=l.isSafari||l.isWebView?-s/2:0;n.transform("translate3d(0px,0,"+A+"px) rotateX("+(e.isHorizontal()?0:h)+"deg) rotateY("+(e.isHorizontal()?-h:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}};t.default={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){(0,i.bindModuleMethods)(this,{cubeEffect:o({},a)})},on:{beforeInit:function(e){var t;"cube"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d"),(0,i.extend)(e.params,t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0}),(0,i.extend)(e.originalParams,t))},setTranslate:function(e){"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e,t){"cube"===e.params.effect&&e.cubeEffect.setTransition(t)}}}},"1jv1":function(e,t,n){"use strict";n.r(t);var r,i=n("QGYI"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"1mOU":function(e,t,n){"use strict";var n=n("66qH"),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},"1nqv":function(e,t,n){"use strict";n.r(t);var r,i=n("jblz");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"1ppg":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){if(e<4)return"գիշերվա";else if(e<12)return"առավոտվա";else if(e<17)return"ցերեկվա";else return"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":if(e===1)return e+"-ին";return e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1t2c":function(e,t,n){"use strict";var r=n("lm0R"),i=Object.keys||function(e){var t,n=[];for(t in e)n.push(t);return n},e=(e.exports=c,Object.create(n("Onz0"))),o=(e.inherits=n("P7XM"),n("by5u")),a=n("b/oV");e.inherits(c,o);for(var s=i(a.prototype),l=0;l<s.length;l++){var u=s[l];c.prototype[u]||(c.prototype[u]=a.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);o.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||r.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),c.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},"1xZ4":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:true,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(this.hours()!==1?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(this.hours()!==1?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(this.hours()!==1?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(this.hours()!==1?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(this.hours()!==1?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=e===1?"r":e===2?"n":e===3?"r":e===4?"t":"è";if(t==="w"||t==="W")n="a";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},2:function(e,t){},"29s/":function(e,t,n){var r=n("WEpk"),i=n("5T2Y"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("uOPS")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"2EDF":function(e,t,n){"use strict";n.r(t);var r,i=n("kokw"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"2GTP":function(e,t,n){var o=n("eaoh");e.exports=function(r,i,e){if(o(r),void 0===i)return r;switch(e){case 1:return function(e){return r.call(i,e)};case 2:return function(e,t){return r.call(i,e,t)};case 3:return function(e,t,n){return r.call(i,e,t,n)}}return function(){return r.apply(i,arguments)}}},"2GWg":function(e,t,n){"use strict";n.r(t);var r=n("IbFF"),i=n("9Anx"),o=n("2xRk");r.default.TreeNode.name="ATreeNode",r.default.DirectoryTree=i.default,r.default.install=function(e){e.use(o.default),e.component(r.default.name,r.default),e.component(r.default.TreeNode.name,r.default.TreeNode),e.component(i.default.name,i.default)},t.default=r.default},"2Nb0":function(e,t,n){n("FlQf"),n("bBy9"),e.exports=n("zLkG").f("iterator")},"2Vb1":function(e,t,n){"use strict";var r=n("TqRt"),l=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("o0o1"))),i=r(n("VbXa")),o=n("peoL"),A=n("e7LN"),S=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=a(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("xRo1")),C=r(n("w1NJ")),O=r(n("rP+d"));function a(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(a=function(e){return e?n:t})(e))}var u=function(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{o(l.next(e))}catch(e){t(e)}}function i(e){try{o(l.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}o((l=l.apply(e,a||[])).next())})},E=["GoogleCRS84Quad","GoogleMapsCompatible","urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible","urn:ogc:def:wkss:OGC:1.0:GoogleCRS84Quad"],M=[559082264.0287178,279541132.0143589,139770566.00717944,69885283.00358972,34942641.50179486,17471320.75089743,8735660.375448715,4367830.1877243575,2183915.0938621787,1091957.5469310894,545978.7734655447,272989.38673277234,136494.69336638617,68247.34668319309,34123.67334159654,17061.83667079827,8530.918335399136,4265.459167699568,2132.729583849784,1066.364791924892,533.182395962446,266.591197981223,133.2955989906115],P=[559082264.0287176,279541132.0143588,139770566.0071794,69885283.0035897,34942641.50179485,17471320.750897426,8735660.375448713,4367830.187724357,2183915.0938621783,1091957.5469310891,545978.7734655446,272989.3867327723,136494.69336638614,68247.34668319307,34123.673341596535,17061.836670798268,8530.918335399134,4265.459167699567,2132.7295838497835,1066.3647919248917,533.1823959624459,266.59119798122293,133.29559899061147],r=function(r){function e(e,t){var n;return void 0===t&&(t={}),(n=r.call(this)||this).proxyOptions={data:"apps/viewer/getUrlResource.json?url=",image:"apps/viewer/getUrlResource.png?url="},"string"==typeof e||"number"==typeof e?n.mapId=e:null!==e&&"object"==typeof e&&(n.mapInfo=e),n.serverUrl=t.serverUrl||"https://www.supermapol.com",n.accessToken=t.accessToken,n.accessKey=t.accessKey,n.tiandituKey=t.tiandituKey||"",n.withCredentials=t.withCredentials||!1,n.excludePortalProxyUrl=t.excludePortalProxyUrl,n.iportalServiceProxyUrl=t.iportalServiceProxyUrlPrefix,n.proxy=t.proxy,n}(0,i.default)(e,r);var t=e.prototype;return t.setMapId=function(e){"string"==typeof e||"number"==typeof e?(this.mapId=e,this.mapInfo=null):null!==e&&"object"==typeof e&&(this.mapInfo=e,this.mapId="")},t.setServerUrl=function(e){this.serverUrl=e},t.setWithCredentials=function(e){this.withCredentials=e},t.setProxy=function(e){this.proxy=e},t.handleServerUrl=function(e){var t=e.split("");return"/"!==t[t.length-1]&&(e+="/"),this.serverUrl=e},t.getMapInfo=function(){var t,i=this;return!this.mapId&&this.mapInfo?new Promise(function(e){e(i.mapInfo)}):(t=this._handleMapUrl(),new Promise(function(n,r){return u(i,void 0,void 0,l.default.mark(function e(){return l.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.getiPortalServiceProxy();case 3:SuperMap.FetchRequest.get(t,null,{withCredentials:this.withCredentials}).then(function(e){return e.json()}).then(function(e){var t;e&&!1===e.succeed?(t={message:e&&e.error&&e.error.errorMsg},r(t)):(e.mapParams={title:e.title,description:e.description},n(e))}).catch(function(e){r(e)}),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),r(e.t0);case 9:case"end":return e.stop()}},e,this,[[0,6]])}))}))},t.getiPortalServiceProxy=function(){var r=this;return new Promise(function(t,n){SuperMap.FetchRequest.get(r.serverUrl+"web/config/portal.json",{scope:["serviceProxy"]}).then(function(e){return e.json()}).then(function(e){e&&e.serviceProxy?((e=e.serviceProxy).enable&&(e.proxyServerRootUrl?r.iportalServiceProxyUrl=e.proxyServerRootUrl:e.port&&e.rootUrlPostfix&&(r.iportalServiceProxyUrl=e.port+"/"+e.rootUrlPostfix),-1<r.serverUrl.indexOf(r.iportalServiceProxyUrl))&&(r.iportalServiceProxyUrl=""),t(e)):n("serviceProxyFailed")}).catch(function(e){n(e)})})},t.getLayerFeatures=function(e,t,n){var r;switch(e){case"hosted":r=this._getFeaturesFromHosted(t,n);break;case"rest_data":r=this._getFeaturesFromRestData(t,n);break;case"rest_map":r=this._getFeaturesFromRestMap(t);break;case"dataflow":r=this._getFeaturesFromDataflow(t);break;case"user_data":r=this._getFeaturesFromUserData(t)}return r},t.getWmsInfo=function(r){var i=this;return new Promise(function(n){var e=i.handleProxy(),t=SuperMap.Util.urlAppend(r.url,"REQUEST=GetCapabilities&SERVICE=WMS");SuperMap.FetchRequest.get(t,null,{withCredentials:i.handleWithCredentials(e,r.url,!1),withoutFormatSuffix:!0,proxy:e}).then(function(e){return e.text()}).then(function(e){var t=S||window.convert,t=JSON.parse(t.xml2json(e,{compact:!0,spaces:4})),e=t.WMT_MS_Capabilities||t.WMS_Capabilities;n({version:e._attributes.version})})})},t.getMapBoxStyle=function(e){return new Promise(function(t,n){SuperMap.FetchRequest.get(e).then(function(e){return e.json()}).then(function(e){t(e)}).catch(function(e){n(e)})})},t.getWmtsInfo=function(x,w){var r=this;return new Promise(function(d,t){var p,y=!1,m=22,g=0,v="",b="",_="",e=r.handleProxy(),n=SuperMap.Util.urlAppend(x.url,"REQUEST=GetCapabilities&SERVICE=WMTS&VERSION=1.0.0"),n=r.handleParentRes(n);SuperMap.FetchRequest.get(n,null,{withCredentials:r.handleWithCredentials(e,x.url,!1),withoutFormatSuffix:!0,proxy:e}).then(function(e){return e.text()}).then(function(e){for(var t=S||window.convert,t=JSON.parse(t.xml2json(e,{compact:!0,spaces:4,alwaysArray:["Layer","TileMatrixSet","ows:Operation","ows:Get","ResourceURL","Style"]})).Capabilities,e=t.Contents,t=t["ows:OperationsMetadata"],n=(t&&(t=t["ows:Operation"],t=(t=Array.isArray(t)?t:[t]).find(function(e){return"GetTile"===e._attributes.name}))&&(t=t["ows:DCP"]["ows:HTTP"]["ows:Get"],t=(t=Array.isArray(t)?t:[t]).find(function(e){return"KVP"===e["ows:Constraint"]["ows:AllowedValues"]["ows:Value"]._text}))&&(_=t._attributes["xlink:href"]),e.TileMatrixSet),r=0;r<n.length;r++)if(n[r]["ows:Identifier"]&&n[r]["ows:Identifier"]._text===x.tileMatrixSet){if(!n[r].WellKnownScaleSet||!E.includes(n[r].WellKnownScaleSet._text)){for(var i={},o="EPSG:3857"===w?M:P,a="EPSG:3857"===w?[-20037508.342789248,20037508.342789087]:[-180,90],s=0;s<n[r].TileMatrix.length;s++){var l=n[r].TileMatrix[s],u=l["ows:Identifier"]._text,l=[].concat(l.TopLeftCorner._text.split(" "));if(!((0,A.numberEqual)(l[0],a[0])&&(0,A.numberEqual)(l[1],a[1])||(0,A.numberEqual)(l[0],a[1])&&(0,A.numberEqual)(l[1],a[0])))break;l=o[+u];if(!l)break;var c=parseFloat(n[r].TileMatrix[s].ScaleDenominator._text);if((0,A.numberEqual)(l,c))i[+u]=c;else if(0<Object.keys(i).length)break}var f=Object.keys(i).map(function(e){return+e});if(m=(0,C.default)(f),g=(0,O.default)(f),0===f.length)throw Error("TileMatrixSetNotSuppport")}y=!0;break}var h,t=e.Layer.find(function(e){return e["ows:Identifier"]._text===x.layer});t&&(e=t.Style,v=Array.isArray(t.Style)?e[0]["ows:Identifier"]?e[0]["ows:Identifier"]._text:"":e["ows:Identifier"]?e["ows:Identifier"]._text:"",t["ows:WGS84BoundingBox"]&&(e=t["ows:WGS84BoundingBox"]["ows:LowerCorner"]._text.split(" "),h=t["ows:WGS84BoundingBox"]["ows:UpperCorner"]._text.split(" "),p=[parseFloat(e[0]),parseFloat(e[1]),parseFloat(h[0]),parseFloat(h[1])]),e=t.ResourceURL,h=(e=Array.isArray(e)?e:[e]).find(function(e){return"tile"===e._attributes.resourceType}))&&(b=h._attributes.template),d({isMatched:y,matchMaxZoom:m,matchMinZoom:g,style:v,bounds:p,restResourceURL:b,kvpResourceUrl:_})}).catch(function(e){t(e)})})},t._getFeaturesFromHosted=function(e,t){var n=e.dataSource,r=e.layerType,i=(n||e).serverId;return i?"MARKER"===r||n&&(!n.accessType||"DIRECT"===n.accessType)?this._getDataFromIportal(i,e):this._getDataFromHosted({layer:e,serverId:i,baseProjection:t}):new Promise(function(e){e({type:"noServerId"})})},t._getFeaturesFromRestData=function(e,r){var i,o=this,a=e.dataSource;return new Promise(function(t,n){o._getFeatureBySQL(a.url,[a.dataSourceName||e.name],function(e){i=o.parseGeoJsonData2Feature({allDatas:{features:e.result.features.features}}),t({type:"feature",features:i})},function(e){n(e)},r)})},t._getFeaturesFromRestMap=function(s){var l=this;return new Promise(function(o,a){l._queryFeatureBySQL(s.dataSource.url,s.dataSource.layerName,function(e){var e=e&&e.result.recordsets,e=e&&e[0],t=e.fields;if(e&&t){var n,r=[];for(n in t){var i=t[n];0===i.indexOf("Sm")&&"SmID"!==i||r.push(i)}l._getFeatures(r,s,function(e){o({type:"feature",features:e})},function(e){a(e)})}},function(e){a(e)},"smid=1")})},t._getFeaturesFromUserData=function(e){var i=this,o=e.dataSource;return new Promise(function(t,n){var e=i.handleProxy(),r=i.handleParentRes(o.url);SuperMap.FetchRequest.get(r,null,{withCredentials:i.handleWithCredentials(e,r,i.withCredentials),proxy:e,withoutFormatSuffix:!0}).then(function(e){return e.json()}).then(function(e){e=e&&e instanceof Object&&"FeatureCollection"===e.type?e.features:e;e=i.parseGeoJsonData2Feature({allDatas:{features:e}}),t({type:"feature",features:e})}).catch(function(e){n(e)})})},t._queryFeatureBySQL=function(e,t,n,r,i,o,a,s,l,u){t=this._getQueryFeaturesParam(t,i,o,a,s,l,u),i=this.handleProxy(),o=this.handleParentRes(e);new SuperMap.QueryBySQLService(o,{proxy:i,withCredentials:this.handleWithCredentials(i,e,!1),eventListeners:{processCompleted:function(e){n&&n(e)},processFailed:function(e){r&&r(e)}}}).processAsync(t)},t._getFeatures=function(e,t,n,r){var i=this,t=t.dataSource;this._queryFeatureBySQL(t.url,t.layerName,function(e){e=e.result.recordsets[0].features.features,e=i.parseGeoJsonData2Feature({allDatas:{features:e}});n(e)},function(e){r(e)},null,e)},t._getQueryFeaturesParam=function(e,t,n,r,i,o,a){e=new SuperMap.FilterParameter({name:e,attributeFilter:t}),n&&(e.fields=n),t={queryParams:[e]};return a&&(t.queryOption=SuperMap.QueryOption.ATTRIBUTE),i&&(t.startRecord=i),o&&(t.expectCount=o),r&&(t.prjCoordSys={epsgCode:r}),new SuperMap.QueryBySQLParameters(t)},t._getFeaturesFromDataflow=function(n){var r=this;return new Promise(function(e,t){r._getDataflowInfo(n,function(){e({type:"dataflow"})},function(e){t(e)})})},t._getDataflowInfo=function(n,t,r){var e=n.url+".json",i=(n.credential&&n.credential.token&&(e+="?token="+n.credential.token),this.handleProxy()),e=this.handleParentRes(e);SuperMap.FetchRequest.get(e,null,{proxy:i,withCredentials:this.handleWithCredentials(i,e,!1)}).then(function(e){return e.json()}).then(function(e){(e?(e.featureMetaData&&(n.featureType=e.featureMetaData.featureType.toUpperCase(),n.dataSource={dataTypes:{}},e.featureMetaData.fieldInfos)&&0<e.featureMetaData.fieldInfos.length&&e.featureMetaData.fieldInfos.forEach(function(e){var t=e.name.trim();"TEXT"===e.type?n.dataSource.dataTypes[t]="STRING":["DOUBLE","INT","FLOAT","LONG","SHORT"].includes(e.type)?n.dataSource.dataTypes[t]="NUMBER":n.dataSource.dataTypes[t]="UNKNOWN"}),n.wsUrl=e.urls[0].url,n.name=e.urls[0].url.split("iserver/services/")[1].split("/dataflow")[0],t):r)()}).catch(function(){r()})},t.getDatasourceType=function(e){var t,n=e.dataSource,e=e.layerType;return n&&"SAMPLE_DATA"===n.type?n.type:(n&&n.serverId||"MARKER"===e||"HOSTED_TILE"===e?t="hosted":"SUPERMAP_REST"===e||"TILE"===e||"WMS"===e||"WMTS"===e||"MAPBOXSTYLE"===e?t="tile":n&&"REST_DATA"===n.type?t="rest_data":n&&"REST_MAP"===n.type&&n.url?t="rest_map":"DATAFLOW_POINT_TRACK"===e||"DATAFLOW_HEAT"===e?t="dataflow":n&&"USER_DATA"===n.type&&(t="user_data"),t)},t.getFeatureProperties=function(e){var t=[];return e&&e.length&&e.forEach(function(e){e=e.properties;e&&t.push(e)}),t},t.parseGeoJsonData2Feature=function(e){for(var t=e.allDatas.features,n=[],r=0,i=t.length;r<i;r++){var o=t[r],a=o.geometry.coordinates;"Point"===t[r].geometry.type&&t[r].properties&&(t[r].properties.lon=a[0],t[r].properties.lat=a[1]),o.properties.index=r+"",n.push(o)}return n},t._getDataFromIportal=function(e,a){var s,t=this,n=this.serverUrl+"web/datas/"+e+"/content.json?pageSize=9999999¤tPage=1";return this.accessToken&&(n=n+"&"+this.accessKey+"="+this.accessToken),new Promise(function(i,o){n=t.handleParentRes(n);var e=t.handleProxy();SuperMap.FetchRequest.get(n,null,{withCredentials:t.handleWithCredentials(e,n,t.withCredentials),proxy:e}).then(function(e){return e.json()}).then(function(r){return u(t,void 0,void 0,l.default.mark(function e(){var t,n;return l.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:!1===r.succeed&&o(r.error),r&&r.type?"JSON"!==r.type&&"GEOJSON"!==r.type?e.next=7:(r.content=JSON.parse(r.content.trim()),s=this._formatGeoJSON(r.content),e.next=21):e.next=22;break;case 7:if("EXCEL"!==r.type&&"CSV"!==r.type)e.next=20;else{if(a.dataSource&&a.dataSource.administrativeInfo)return r.content.rows.unshift(r.content.colTitles),t=a.dataSource.administrativeInfo,n=t.divisionType,t=t.divisionField,e.next=13,this._excelData2FeatureByDivision(r.content,n,t);e.next=17}break;case 13:n=e.sent,s=this._formatGeoJSON(n),e.next=18;break;case 17:s=this._excelData2Feature(r.content,a&&a.xyField||{});case 18:e.next=21;break;case 20:"SHP"===r.type&&(r.content=JSON.parse(r.content.trim()),s=this._formatGeoJSON(r.content.layers[0]));case 21:i({type:"feature",features:s});case 22:case"end":return e.stop()}},e,this)}))}).catch(function(e){o(e)})})},t._getDataFromHosted=function(e){var a=this,s=e.layer,t=e.serverId,l=e.baseProjection,u="HOSTED_TILE"===s.layerType;return new Promise(function(i,o){a._checkUploadToRelationship(t).then(function(e){var n,r;e&&0<e.length?(n=e[0].name,r=e[0].type.toUpperCase(),a._getDataService(t,n).then(function(e){var e=e.dataItemServices,t=(0===e.length&&o("noDataServices"),{layer:s,dataItemServices:e,datasetName:n,featureType:r,resolve:i,reject:o,baseProjection:l});u?(e=e.filter(function(e){return e&&"RESTDATA"===e.serviceType})[0],a._isMvt(e.address,n,l).then(function(e){a._getServiceInfoFromLayer(t,e)}).catch(function(){a._getServiceInfoFromLayer(t)})):a._getServiceInfoFromLayer(t)})):o("resultIsEmpty")}).catch(function(e){o(e)})})},t._isMvt=function(e,t,n){return this._getDatasetsInfo(e,t).then(function(t){return t.epsgCode==n.split("EPSG:")[1]?SuperMap.FetchRequest.get(t.url+"/tilefeature.mvt").then(function(e){return e.json()}).then(function(e){return t.isMvt=e.error&&400===e.error.code,t}).catch(function(){return t}):t})},t._getServiceInfoFromLayer=function(e,n){var r=this,i=e.layer,t=e.dataItemServices,o=e.datasetName,a=e.featureType,s=e.resolve,l=e.reject,u=e.baseProjection,c=n?!n.isMvt:"HOSTED_TILE"===i.layerType,f=!1;t.forEach(function(t){f||(t&&c&&"RESTMAP"===t.serviceType?(f=!0,r._getTileLayerInfo(t.address,u).then(function(e){s({type:"restMap",restMaps:e})})):t&&!c&&"RESTDATA"===t.serviceType&&(n&&n.isMvt?s({type:"mvt",info:n,featureType:a}):(f=!0,r._getDatasources(t.address).then(function(e){i.dataSource.dataSourceName=e+":"+o,i.dataSource.url=t.address+"/data",r._getFeatureBySQL(i.dataSource.url,[i.dataSource.dataSourceName||i.name],function(e){e=r.parseGeoJsonData2Feature({allDatas:{features:e.result.features.features}});s({type:"feature",features:e})},function(e){l(e)})},function(e){l(e)}))))},this),f||l("noService")},t._getDatasetsInfo=function(r,i){var o=this;return this._getDatasources(r).then(function(t){var n=r+"/data/datasources/"+t+"/datasets/"+i,e=o.handleProxy(),n=o.handleParentRes(n);return SuperMap.FetchRequest.get(n,null,{withCredentials:o.handleWithCredentials(e,n,!1),proxy:e}).then(function(e){return e.json()}).then(function(e){return{epsgCode:e.datasetInfo.prjCoordSys.epsgCode,bounds:e.datasetInfo.bounds,datasourceName:t,datasetName:i,url:n}})})},t._getDatasources=function(e){var t=this.handleProxy(),e=this.handleParentRes(e+"/data/datasources.json");return SuperMap.FetchRequest.get(e,null,{withCredentials:this.handleWithCredentials(t,e,!1),proxy:t}).then(function(e){return e.json()}).then(function(e){if(401===e.code)throw Error(e.errorMsg);return e.datasourceNames[0]})},t._getDataService=function(t,n){var e=this.handleProxy(),r=this.serverUrl+"web/datas/"+t+".json",r=this.handleParentRes(r);return SuperMap.FetchRequest.get(r,null,{withCredentials:this.handleWithCredentials(e,r,this.withCredentials),proxy:e}).then(function(e){return e.json()}).then(function(e){return e.fileId=t,e.datasetName=n,e})},t._checkUploadToRelationship=function(e){var t=this.handleProxy(),e=this.serverUrl+"web/datas/"+e+"/datasets.json",e=this.handleParentRes(e);return SuperMap.FetchRequest.get(e,null,{withCredentials:this.handleWithCredentials(t,e,this.withCredentials),proxy:t}).then(function(e){return e.json()}).then(function(e){return e})},t._handleMapUrl=function(){var e,t=this.serverUrl+"web/maps/"+this.mapId+"/map",n=((this.accessToken||this.accessKey)&&(t+="token="+this.accessToken),"getUrlResource.json?url=");return t=-1===(t=this.excludePortalProxyUrl&&-1<this.serverUrl.indexOf(n)&&1<(e=this.serverUrl.split(n)).length?e[0]+n+this.serverUrl+"web/maps/"+this.mapId+"/map.json":t).indexOf(".json")?t+".json":t},t.handleProxy=function(e){return this.proxy?(e=this.proxyOptions[e||"data"],e=this.serverUrl+e,"string"==typeof this.proxy?this.proxy:e):null},t.handleWithCredentials=function(e,t,n){return void 0===n&&(n=this.withCredentials),!(!e||!e.startsWith(this.serverUrl)||t&&!t.startsWith(e))||!!(t&&this.iportalServiceProxyUrl&&0<=t.indexOf(this.iportalServiceProxyUrl))||n},t.isIportalResourceUrl=function(e){return e.startsWith(this.serverUrl)||this.iportalServiceProxyUrl&&0<=e.indexOf(this.iportalServiceProxyUrl)},t.handleParentRes=function(e,t,n){return void 0===t&&(t=this.mapId),void 0===n&&(n="MAP"),this.isIportalResourceUrl(e)?(0,A.urlAppend)(e,"parentResType="+n+"&parentResId="+t):e},t._formatGeoJSON=function(e){e=e.features;return e.forEach(function(e,t){e.properties.index=t}),e},t._excelData2Feature=function(e,t){var n=e.colTitles,r=n.indexOf((t=void 0===t?{}:t).xField),i=n.indexOf(t.yField);if(i<0||r<0)for(var o=0,a=n.length;o<a;o++)(0,A.isXField)(n[o])&&(r=o),(0,A.isYField)(n[o])&&(i=o);for(var s=[],l=0,u=e.rows.length;l<u;l++){for(var c=e.rows[l],f=Number(c[r]),c=Number(c[i]),h={},d=0;d<e.colTitles.length;d++)h[e.colTitles[d].trim()]=e.rows[l][d];h.index=l+"",s.push({type:"Feature",geometry:{type:"Point",coordinates:[f,c]},properties:h})}return s},t._excelData2FeatureByDivision=function(t,e,n){var r,i=this,o=["城市","City"].includes(e)?"MunicipalData":"ProvinceData";return window[o]&&window[o].features?new Promise(function(e){e(i._combineFeature(t,window[o],n))}):(e=["城市","City"].includes(e)?"MunicipalData.js":"ProvincialData.js",r=this.handleProxy(),e=this.serverUrl+"apps/dataviz/libs/administrative_data/"+e,SuperMap.FetchRequest.get(e,null,{withCredentials:!1,proxy:r,withoutFormatSuffix:!0}).then(function(e){return e.text()}).then(function(e){return new Function(e)(),i._combineFeature(t,window[o],n)}))},t._combineFeature=function(e,i,t){var o,a,s=this,l={type:"FeatureCollection",features:[]};return e.length<2||(o=e.colTitles,e=e.rows,a=o.findIndex(function(e){return e===t}),e.forEach(function(t){var e,n,r=i.features.find(function(e){return s._isMatchAdministrativeName(e.properties.Name,t[a])});r&&(e=r.properties.Province,n={properties:{},geometry:r.geometry,type:"Feature"},t.forEach(function(e,t){n.properties[o[t]]=e}),e&&(n.properties.Province=e),l.features.push(n))})),l},t._isMatchAdministrativeName=function(e,t){var n;return!(!e||"string"!=typeof t||t.constructor!==String||("阿拉"===(n="张家"===(n=e.trim().substr(0,2))?e.trim().substr(0,3):n)&&(n=e.trim().substr(0,3)),!t.match(new RegExp(n))))},t._getTileLayerInfo=function(e,t){var r=this,i=this.handleProxy(),o=t.split("EPSG:")[1],t=this.handleParentRes(e+"/maps.json");return SuperMap.FetchRequest.get(t,null,{withCredentials:this.handleWithCredentials(i,t,this.withCredentials),proxy:i}).then(function(e){return e.json()}).then(function(e){var n=[];return e&&e.forEach(function(t){var e=SuperMap.FetchRequest.get(t.path+".json?prjCoordSys="+JSON.stringify({epsgCode:o}),null,{withCredentials:r.withCredentials,proxy:i}).then(function(e){return e.json()}).then(function(e){return e.url=t.path,e});n.push(e)}),Promise.all(n).then(function(e){return e})})},t._getFeatureBySQL=function(e,t,n,r,i){var o=new SuperMap.FilterParameter({name:t.join().replace(":","@"),attributeFilter:null}),o=new SuperMap.GetFeaturesBySQLParameters({queryParameter:o,datasetNames:t,fromIndex:0,toIndex:-1,maxFeatures:-1,returnContent:!0}),t=(i&&(o.targetEpsgCode="EPSG:3857"===i||"EPSG:-1000"===i?4326:+i.split(":")[1]),this.handleProxy()),i={proxy:t,withCredentials:this.handleWithCredentials(t,e,!1),eventListeners:{processCompleted:function(e){n&&n(e)},processFailed:function(e){r&&r(e)}}},t=this.handleParentRes(e);new SuperMap.GetFeaturesBySQLService(t,i).processAsync(o)},t.getEpsgCodeInfo=function(n,r){return u(this,void 0,void 0,l.default.mark(function e(){var t;return l.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t="/"===r.slice(-1)?r:r+"/",t=t+"epsgcodes/"+n+".json",e.next=4,SuperMap.FetchRequest.get(t,null).then(function(e){return e.json()}).then(function(e){return e.wkt}).catch(function(e){console.error(e)});case 4:return t=e.sent,e.abrupt("return",t);case 6:case"end":return e.stop()}},e)}))},e}(o.Events);t.default=r},"2W6z":function(e,t,n){"use strict";var r=function(){};e.exports=r},"2YF/":function(e,t,n){"use strict";var r=n("KLK4"),i=n("X/EZ"),n=n("GxTi").CONSTRUCTOR;e.exports=n||!i(function(e){r.all(e).then(void 0,function(){})})},"2Z54":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("ydy9")),o=n("DSM6"),a=n("Fwpn"),s=r(n("2xRk"));function l(e,t){var n,r;return(t=void 0===t?{}:t).projections&&(0,i.registerProjection)(t.projections),e.use(s.default),e.iclient&&e.iclient.theme||(n=(n=void 0===(n=t)?{}:n).theme||"light",(0,a.setTheme)(n)),e.iclient&&e.iclient.locale||(r=(n=void 0===(n=t)?{}:n)&&n.i18n?{i18n:n.i18n}:{locale:n&&n.locale||o.lang.zh},(0,o.initi18n)(e,r),n&&(n.locale||n.i18n))||o.lang.zh,{theme:e.iclient&&e.iclient.theme||t.theme||"light",locale:e.iclient&&e.iclient.locale||t.locale||t.i18n||o.lang.zh}}t.default=function(e,t){var n=e.iclient||{},r=n.theme,n=n.locale;e.iclient&&r&&n||(e.iclient=l(e,t),e.prototype.$iclient=e.iclient)}},"2Zn6":function(e){e.exports=JSON.parse('[{"title":"经典深色","label":"dark","style":"dark","alpha100":"rgba(255, 255, 255, 1)","alpha85":"rgba(255, 255, 255, 0.85)","alpha65":"rgba(255, 255, 255, 0.65)","alpha45":"rgba(255, 255, 255, 0.45)","alpha25":"rgba(255, 255, 255, 0.25)","alpha20":"rgba(255, 255, 255, 0.20)","alpha15":"rgba(255, 255, 255, 0.15)","alpha08":"rgba(255, 255, 255, 0.08)","alpha04":"rgba(255, 255, 255, 0.04)","g7":"#121212","g14":"#242424","g17":"#2C2C2C","g20":"#333333","g22":"#383838","g25":"#414141","g29":"#4A4A4A","g33":"#535353","g42":"#686868","g55":"#8D8D8D","g66":"#A8A8A8","g78":"#C6C6C6","g88":"#E0E0E0","g96":"#F4F4F4","successColor":"#2BA250","infoColor":"#3499E5","warningColor":"#F0BD3E","dangerColor":"#DC5849","shadowBase":"rgba(0, 0, 0, 0.35)","shadowTooltip":"rgba(0, 0, 0, 0.35)","shadowModal":"rgba(0, 0, 0, 0.45)","containerBasic":"rgba(255, 255, 255, 0.04)","containerDisabled":"rgba(255, 255, 255, 0.08)","containerGhost":"rgba(255, 255, 255, 0.65)","containerBorder":"rgba(255, 255, 255, 0.20)","textColor":"var(--alpha65)","textColorSecondary":"var(--alpha45)","textColorActive":"var(--alpha85)","background":"#1E1E1E","backgroundLight":"rgba(255, 255, 255, 0.08)","backgroundBase":"rgba(0, 0, 0, 0.08)","selectedColor":"rgba(52, 153, 229, 0.15)","hoverColor":"#5eb7f2","clickColor":"#2276bf","iconColorHover":"rgba(255, 255, 255, 0.75)","headingColor":"var(--alpha85)","handleColor":"#d9d9d9","disabledBgColor":"var(--container-disabled)","disabledBorderColor":"var(--container-disabled)","disabledTextColor":"var(--alpha25)","borderColorBase":"var(--alpha15)","borderColorSplit":"var(--alpha15)","shadowColor":"var(--shadow-tooltip)","placeholderColor":"var(--alpha45)","buttonPrimaryColor":"var(--alpha100)","buttonBorderDefaultColor":"var(--container-border)","paginationBorderDefaultColor":"var(--container-border)","paginationEllipsisColor":"var(--alpha65)","paginationActiveTextColor":"var(--alpha100)","componentBackground":"var(--container-basic)","switchBackground":"var(--alpha25)","switchDisabledBgColor":"var(--alpha15)","switchDisabledAfterColor":"var(--alpha15)","switchAfterBg":"var(--alpha100)","emptyShadowColor":"rgba(0, 0, 0, 0.25)","emptyStrokeColor":"rgba(0, 0, 0, 0)","emptyTopColor":"var(--g25)","emptyBottomColor":"var(--g33)","emptyDescriptionColor":"var(--alpha45)","selectItemSelectedColor":"var(--alpha100)","selectDropdownBackground":"var(--g25)","selectItemHoverBg":"var(--alpha08)","avatarBackground":"var(--alpha100)","avatarTextColor":"var(--g20)","tooltipBackground":"var(--g33)","tooltipColor":"var(--alpha85)","modalBackground":"var(--g20)","messageBackground":"var(--g33)","radioInnerDisabledBg":"var(--container-disabled)","collapseCardHeaderBg":"var(--g29)","collapseCardBackground":"var(--g25)","collapseCardSecondaryBackground":"var(--background-base)","collapseCardSecondaryHeardBackground":"rgba(0, 0, 0, 0.12)","collapseCardSplitLine":"var(--collapse-card-header-bg)","searchArrowIconBg":"var(--g25)","sliderRailBackgroundColor":"var(--alpha25)","scrollbarBackground":"var(--alpha15)","swiperPrevNextBackground":"rgba(255, 255, 255, 0.15)","subComponentSpanBg":"var(--g29)","tdtMapSwitcherLayerNameBg":"rgba(0, 0, 0, 0.25)","searchInputCloseBackground":"var(--alpha45)","tdtRoutePlanHoverBg":"var(--alpha08)","compareSwiperColor":"#d9d9d9","compareSwiperBackground":"#d9d9d9","timeRangeBackground":"var(--container-disabled)","swiperPaginationBullet":"rgba(0, 0, 0, 0.18)","colorGroup":["#3499e5","#759aa0","#e69d87","#8dc1a9","#ea7e53"]},{"title":"经典浅色","label":"light","style":"light","alpha85":"rgba(0, 0, 0, 0.85)","alpha65":"rgba(0, 0, 0, 0.65)","alpha45":"rgba(0, 0, 0, 0.45)","alpha25":"rgba(0, 0, 0, 0.25)","alpha15":"rgba(0, 0, 0, 0.15)","alpha06":"rgba(0, 0, 0, 0.06)","alpha04":"rgba(0, 0, 0, 0.04)","alpha02":"rgba(0, 0, 0, 0.02)","alpha0":"rgba(255, 255, 255, 1)","l20":"#333333","l40":"#666666","l60":"#999999","l80":"#CCCCCC","l87":"#DEDEDE","l93":"#EDEDED","l96":"#F5F5F5","l98":"#FAFAFA","l100":"#FFFFFF","successColor":"#51BEFC","infoColor":"#0081E2","warningColor":"#FAAD14","dangerColor":"#FF4D4F","shadowBase":"rgba(0, 0, 0, 0.14)","shadowTooltip":"rgba(0, 0, 0, 0.14)","shadowModal":"rgba(0, 0, 0, 0.14)","containerShadowTooltipBg":"rgba(0, 0, 0, 0.80)","containerBasic":"rgba(255, 255, 255, 1)","containerDisabledBg":"rgba(0, 0, 0, 0.04)","containerDisabledBorder":"rgba(0, 0, 0, 0.15)","containerGhost":"rgba(0, 0, 0, 0.15)","containerBorder":"rgba(0, 0, 0, 0.15)","containerShadowModal":"rgba(255, 255, 255, 1)","textColor":"var(--alpha65)","textColorSecondary":"var(--alpha45)","textColorActive":"var(--alpha85)","background":"#fff","backgroundLight":"#FAFAFA","backgroundBase":"#F5F5F5","selectedColor":"rgba(0, 129, 226, 0.15)","hoverColor":"#269ff0","clickColor":"#0065bd","iconColorHover":"rgba(0, 0, 0, 0.75)","headingColor":"var(--alpha85)","handleColor":"var(--alpha0)","disabledBgColor":"var(--container-disabled-bg)","disabledBorderColor":"var(--container-disabled-border)","disabledTextColor":"var(--alpha25)","borderColorBase":"var(--alpha15)","borderColorSplit":"var(--alpha15)","shadowColor":"var(--alpha15)","placeholderColor":"var(--alpha45)","buttonPrimaryColor":"var(--alpha0)","buttonBorderDefaultColor":"var(--container-border)","paginationBorderDefaultColor":"var(--container-border)","paginationEllipsisColor":"var(--alpha45)","paginationActiveTextColor":"var(--alpha0)","componentBackground":"var(--container-basic)","switchBackground":"var(--alpha25)","switchDisabledBgColor":"var(--alpha15)","switchDisabledAfterColor":"var(--alpha15)","switchAfterBg":"var(--alpha0)","emptyShadowColor":"var(--alpha04)","emptyStrokeColor":"var(--l87)","emptyTopColor":"var(--l100)","emptyBottomColor":"var(--l98)","emptyDescriptionColor":"var(--alpha45)","selectItemSelectedColor":"var(--alpha85)","selectDropdownBackground":"var(--alpha0)","selectItemHoverBg":"var(--alpha06)","avatarBackground":"var(--alpha06)","avatarTextColor":"var(--alpha65)","tooltipBackground":"var(--container-shadow-tooltip-bg)","tooltipColor":"var(--alpha0)","modalBackground":"var(--container-shadow-modal)","messageBackground":"var(--container-shadow-modal)","radioInnerDisabledBg":"var(--container-disabled-bg)","collapseCardHeaderBg":"var(--alpha0)","collapseCardBackground":"var(--container-basic)","collapseCardSecondaryBackground":"var(--alpha02)","collapseCardSecondaryHeardBackground":"var(--alpha04)","collapseCardSplitLine":"var(--alpha15)","searchArrowIconBg":"rgba(0, 0, 0, 0.08)","sliderRailBackgroundColor":"var(--alpha25)","scrollbarBackground":"var(--alpha15)","swiperPrevNextBackground":"var(--alpha15)","subComponentSpanBg":"var(--alpha04)","tdtMapSwitcherLayerNameBg":"var(--alpha25)","searchInputCloseBackground":"var(--alpha25)","tdtRoutePlanHoverBg":"var(--alpha04)","compareSwiperColor":"var(--alpha0)","compareSwiperBackground":"var(--info-color)","timeRangeBackground":"rgba(0, 0, 0, 0.08)","swiperPaginationBullet":"var(--alpha15)","colorGroup":["#0081e2","#6be6c1","#626c91","#a0a7e6","#c4ebad"]},{"title":"经典暖灰","label":"warmGray","textColor":"rgba(255, 255, 255, 0.65)","textColorSecondary":"rgba(255, 255, 255, 0.45)","textColorActive":"rgba(255, 255, 255, 0.85)","background":"#191515","backgroundLight":"#1f1a1a","backgroundBase":"rgba(25, 21, 21, 0.08)","selectedColor":"rgba(225, 77, 87, 0.15)","hoverColor":"#e5666f","clickColor":"#dc333f","successColor":"#2BA250","infoColor":"#3499E5","warningColor":"#F0BD3E","dangerColor":"#DC5849","iconColorHover":"rgba(255, 255, 255, 0.75)","headingColor":"rgba(255, 255, 255, 0.85)","disabledBgColor":"rgba(255, 255, 255, 0.08)","disabledBorderColor":"rgba(255, 255, 255, 0.08)","disabledTextColor":"rgba(255, 255, 255, 0.25)","borderColorBase":"rgba(255, 255, 255, 0.15)","handleColor":"#d9d9d9","borderColorSplit":"rgba(255, 255, 255, 0.12)","componentBackground":"rgba(255, 255, 255, 0.04)","selectDropdownBackground":"#423939","selectItemHoverBg":"rgba(255, 255, 255, 0.08)","messageBackground":"#535353","modalBackground":"#333333","collapseCardHeaderBg":"#4a4a4a","collapseCardBackground":"#414141","searchArrowIconBg":"#383838","colorGroup":["#e14d57","#6be6c1","#626c91","#a0a7e6","#c4ebad"]},{"title":"绿色渐变","label":"green-g","textColor":"#fff","background":"rgba(0,0,0,0.6)","colorGroup":["#064049","#165A65","#1F717F","#3097AB","#9AEAF4"]},{"title":"蓝色渐变","label":"blue-g","textColor":"#fff","background":"rgba(0,0,0,0.6)","colorGroup":["#243BCC","#1C55FF","#0C75FF","#338FFF","#00CDF1"]},{"title":"橙红渐变","label":"red-g","textColor":"#fff","background":"rgba(0,0,0,0.6)","colorGroup":["#770000","#882241","#BE3144","#F05940","#FF8417"]},{"title":"紫色渐变","label":"purple-g","textColor":"#fff","background":"rgba(0,0,0,0.6)","colorGroup":["#2F2AA4","#5432D3","#8B3B86","#9740B1","#7B6CF5"]},{"title":"深蓝黑色","label":"bluedark-dark","textColor":"#fff","background":"rgba(0,0,0,0.6)","colorGroup":["#15D1F2","#499BFF","#2C61FF","#243BCC","#67A9FF"]},{"title":"墨绿黑色","label":"green-dark","textColor":"#fff","background":"rgba(0,0,0,0.6)","colorGroup":["#2D808D","#53A8B6","#7AC2D0","#BCE4E9","#F1FDFF"]},{"title":"浅蓝黑色","label":"blue-dark","textColor":"#fff","background":"rgba(0,0,0,0.6)","colorGroup":["#00E9FF","#BBE7FF","#6AE5C1","#46ABFF","#363EFF"]},{"title":"浅灰黑色","label":"grey-dark","textColor":"#fff","background":"rgba(0,0,0,0.6)","colorGroup":["#52606D","#8894A0","#BACBDB","#D3DDE8","#F2F5F8"]},{"title":"深紫黑色","label":"purple-dark","textColor":"#fff","background":"rgba(0,0,0,0.6)","colorGroup":["#7B6CF6","#5432D3","#241F92","#8B3B86","#E6A5FF"]},{"title":"深蓝白色","label":"blue-light","textColor":"#000","background":"rgba(255,255,255,0.6)","colorGroup":["#243BCC","#2C61FF","#499BFF","#15D1F2","#67A9FF"]},{"title":"深红白色","label":"red-light","textColor":"#000","background":"rgba(255,255,255,0.6)","colorGroup":["#F05940","#BE3144","#882241","#770000","#FF8418"]}]')},"2a28":function(e,t,n){"use strict";n.r(t);var r,i=n("ENUd"),o=n("ekee");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},"2b9d":function(e,t,n){"use strict";n.r(t);var r,i=n("i/Ua");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"2faE":function(e,t,n){var r=n("5K7Z"),i=n("eUtF"),o=n("G8Mo"),a=Object.defineProperty;t.f=n("jmDH")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"2fjn":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:true,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}}})}(n("wd/R"))},"2gN3":function(e,t,n){n=n("Kz5y")["__core-js_shared__"];e.exports=n},"2iC5":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.breadcrumbTypes=void 0,r(n("cXAu"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={routes:o.default.array,params:o.default.object,separator:o.default.any,itemRender:o.default.any},o=(t.breadcrumbTypes=n,{name:"SmBreadcrumb",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},"2ijT":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return-this.snapGrid[this.snapGrid.length-1]}},"2jBj":function(e,t,n){"use strict";var r=n("QbLZ"),i=n.n(r),r=n("TZE5"),o=n("b1SC"),a=n("MujB"),s=n("FGKw"),l=n("tIgm"),u=n("2qPA"),n=n("IqTT"),n={name:"Menu",props:i()({},n.a,{selectable:r.a.bool.def(!0)}),mixins:[l.a],data:function(){var e=Object(u.getOptionProps)(this),t=e.defaultSelectedKeys,n=e.defaultOpenKeys;return"selectedKeys"in e&&(t=e.selectedKeys||[]),"openKeys"in e&&(n=e.openKeys||[]),this.store=Object(o.a)({selectedKeys:t,openKeys:n,activeKey:{"0-menu-":Object(s.b)(i()({},e,{children:this.$slots.default||[]}),e.activeKey)}}),{}},mounted:function(){this.updateMiniStore()},updated:function(){this.updateMiniStore()},methods:{onSelect:function(e){var t,n,r=this.$props;r.selectable&&(n=this.store.getState().selectedKeys,t=e.key,n=r.multiple?n.concat([t]):[t],Object(u.default)(this,"selectedKeys")||this.store.setState({selectedKeys:n}),this.__emit("select",i()({},e,{selectedKeys:n})))},onClick:function(e){this.__emit("click",e)},onKeyDown:function(e,t){this.$refs.innerMenu.getWrappedInstance().onKeyDown(e,t)},onOpenChange:function(e){function t(e){var t=!1;e.open?(t=-1===n.indexOf(e.key))&&n.push(e.key):(t=-1!==(e=n.indexOf(e.key)))&&n.splice(e,1),r=r||t}var n=this.store.getState().openKeys.concat(),r=!1;Array.isArray(e)?e.forEach(t):t(e),r&&(Object(u.default)(this,"openKeys")||this.store.setState({openKeys:n}),this.__emit("openChange",n))},onDeselect:function(e){var t,n;this.$props.selectable&&(t=this.store.getState().selectedKeys.concat(),n=e.key,-1!==(n=t.indexOf(n))&&t.splice(n,1),Object(u.default)(this,"selectedKeys")||this.store.setState({selectedKeys:t}),this.__emit("deselect",i()({},e,{selectedKeys:t})))},getOpenTransitionName:function(){var e=this.$props,t=e.openTransitionName,n=e.openAnimation;return t=t||"string"!=typeof n?t:e.prefixCls+"-open-"+n},updateMiniStore:function(){var e=Object(u.getOptionProps)(this);"selectedKeys"in e&&this.store.setState({selectedKeys:e.selectedKeys||[]}),"openKeys"in e&&this.store.setState({openKeys:e.openKeys||[]})}},render:function(){var e=arguments[0],t=Object(u.getOptionProps)(this),t={props:i()({},t,{itemIcon:Object(u.getComponentFromProp)(this,"itemIcon",t),expandIcon:Object(u.getComponentFromProp)(this,"expandIcon",t),overflowedIndicator:Object(u.getComponentFromProp)(this,"overflowedIndicator",t)||e("span",["···"]),openTransitionName:this.getOpenTransitionName(),parentMenu:this,children:Object(u.filterEmpty)(this.$slots.default||[])}),class:t.prefixCls+"-root",on:i()({},Object(u.getListeners)(this),{click:this.onClick,openChange:this.onOpenChange,deselect:this.onDeselect,select:this.onSelect}),ref:"innerMenu"};return e(a.a,{attrs:{store:this.store}},[e(s.a,t)])}};t.a=n},"2lHc":function(e,t,n){"use strict";var i=n("m7zg"),o=n("JTf3"),a=n("SwuV"),s=TypeError;e.exports=function(e,t){var n,r;if("string"===t&&o(n=e.toString)&&!a(r=i(n,e)))return r;if(o(n=e.valueOf)&&!a(r=i(n,e)))return r;if("string"!==t&&o(n=e.toString)&&!a(r=i(n,e)))return r;throw s("Can't convert object to primitive value")}},"2oH+":function(e,ke,t){!function(e,t){var B="__lodash_hash_undefined__",R=9007199254740991,N="[object Arguments]",z="[object AsyncFunction]",F="[object Function]",V="[object GeneratorFunction]",H="[object Null]",Y="[object Object]",G="[object Proxy]",U="[object Undefined]",Q=/^\[object .+?Constructor\]$/,W=/^(?:0|[1-9]\d*)$/,n={},e=(n["[object Float32Array]"]=n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0,n[N]=n["[object Array]"]=n["[object ArrayBuffer]"]=n["[object Boolean]"]=n["[object DataView]"]=n["[object Date]"]=n["[object Error]"]=n[F]=n["[object Map]"]=n["[object Number]"]=n[Y]=n["[object RegExp]"]=n["[object Set]"]=n["[object String]"]=n["[object WeakMap]"]=!1,"object"==typeof e&&e&&e.Object===Object&&e),r="object"==typeof self&&self&&self.Object===Object&&self,r=e||r||Function("return this")(),i=ke&&!ke.nodeType&&ke,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,i=o&&o.exports===i,a=i&&e.process,e=function(){try{var e=o&&o.require&&o.require("util").types;return e?e:a&&a.binding&&a.binding("util")}catch(e){}}(),e=e&&e.isTypedArray;var q,K,X=Array.prototype,s=Function.prototype,l=Object.prototype,u=r["__core-js_shared__"],_=s.toString,x=l.hasOwnProperty,J=(s=/[^.]+$/.exec(u&&u.keys&&u.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"",$=l.toString,Z=_.call(Object),ee=RegExp("^"+_.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),u=i?r.Buffer:void 0,s=r.Symbol,te=r.Uint8Array,ne=u?u.allocUnsafe:void 0,re=(q=Object.getPrototypeOf,K=Object,function(e){return q(K(e))}),ie=Object.create,oe=l.propertyIsEnumerable,ae=X.splice,c=s?s.toStringTag:void 0,f=function(){try{var e=b(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),i=u?u.isBuffer:void 0,se=Math.max,le=Date.now,ue=b(r,"Map"),h=b(Object,"create"),ce=function(e){if(!j(e))return{};if(ie)return ie(e);d.prototype=e;e=new d;return d.prototype=void 0,e};function d(){}function p(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function m(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(e){e=this.__data__=new y(e);this.size=e.size}function fe(e,t){var n,r=T(e),i=!r&&k(e),o=!r&&!i&&Ae(e),a=!r&&!i&&!o&&Oe(e),s=r||i||o||a,l=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=l.length;for(n in e)!t&&!x.call(e,n)||s&&("length"==n||o&&("offset"==n||"parent"==n)||a&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||be(n,u))||l.push(n);return l}function A(e,t,n){(void 0===n||P(e[t],n))&&(void 0!==n||t in e)||S(e,t,n)}function g(e,t){for(var n=e.length;n--;)if(P(e[n][0],t))return n;return-1}function S(e,t,n){"__proto__"==t&&f?f(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}p.prototype.clear=function(){this.__data__=h?h(null):{},this.size=0},p.prototype.delete=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e},p.prototype.get=function(e){var t,n=this.__data__;return h?(t=n[e])===B?void 0:t:x.call(n,e)?n[e]:void 0},p.prototype.has=function(e){var t=this.__data__;return h?void 0!==t[e]:x.call(t,e)},p.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=h&&void 0===t?B:t,this},y.prototype.clear=function(){this.__data__=[],this.size=0},y.prototype.delete=function(e){var t=this.__data__;return!((e=g(t,e))<0||(e==t.length-1?t.pop():ae.call(t,e,1),--this.size,0))},y.prototype.get=function(e){var t=this.__data__;return(e=g(t,e))<0?void 0:t[e][1]},y.prototype.has=function(e){return-1<g(this.__data__,e)},y.prototype.set=function(e,t){var n=this.__data__,r=g(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},m.prototype.clear=function(){this.size=0,this.__data__={hash:new p,map:new(ue||y),string:new p}},m.prototype.delete=function(e){return e=v(this,e).delete(e),this.size-=e?1:0,e},m.prototype.get=function(e){return v(this,e).get(e)},m.prototype.has=function(e){return v(this,e).has(e)},m.prototype.set=function(e,t){var n=v(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},w.prototype.clear=function(){this.__data__=new y,this.size=0},w.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e},w.prototype.get=function(e){return this.__data__.get(e)},w.prototype.has=function(e){return this.__data__.has(e)},w.prototype.set=function(e,t){var n=this.__data__;if(n instanceof y){var r=n.__data__;if(!ue||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new m(r)}return n.set(e,t),this.size=n.size,this};var he,de=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[he?a:++r];if(!1===t(i[s],s,i))break}return e};function C(e){if(null==e)return void 0===e?U:H;if(c&&c in Object(e)){var t=e,n=x.call(t,c),r=t[c];try{var i=!(t[c]=void 0)}catch(e){}var o=$.call(t);return i&&(n?t[c]=r:delete t[c]),o}return $.call(e)}function pe(e){return D(e)&&C(e)==N}function ye(e){var t;return j(e)&&(t=e,!(J&&J in t))&&(L(e)?ee:Q).test(function(e){if(null!=e){try{return _.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function me(e){if(!j(e)){var t=e,n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}var i,o=_e(e),a=[];for(i in e)("constructor"!=i||!o&&x.call(e,i))&&a.push(i);return a}function ge(y,m,g,v,b){y!==m&&de(m,function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p;b=b||new w,j(e)?(r=m,o=g,a=ge,s=v,l=b,h=O(n=y,i=t),d=O(r,i),(p=l.get(d))?A(n,i,p):(p=s?s(h,d,i+"",n,r,l):void 0,(r=void 0===p)&&(u=T(d),c=!u&&Ae(d),f=!u&&!c&&Oe(d),p=d,u||c||f?p=T(h)?h:function(e){return D(e)&&I(e)}(h)?function(e,t){var n=-1,r=e.length;t=t||Array(r);for(;++n<r;)t[n]=e[n];return t}(h):c?function(e,t){if(t)return e.slice();t=e.length,t=ne?ne(t):new e.constructor(t);return e.copy(t),t}(d,!(r=!1)):f?function(e,t){t=t?function(e){var t=new e.constructor(e.byteLength);return new te(t).set(new te(e)),t}(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}(d,!(r=!1)):[]:function(e){if(!D(e)||C(e)!=Y)return;e=re(e);if(null===e)return 1;e=x.call(e,"constructor")&&e.constructor;return"function"==typeof e&&e instanceof e&&_.call(e)==Z}(d)||k(d)?k(p=h)?p=function(e){return function(e,t,n,r){var i=!n,o=(n=n||{},-1),a=t.length;for(;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),(i?S:function(e,t,n){var r=e[t];x.call(e,t)&&P(r,n)&&(void 0!==n||t in e)||S(e,t,n)})(n,s,l)}return n}(e,Ee(e))}(h):j(h)&&!L(h)||(p=function(e){return"function"!=typeof e.constructor||_e(e)?{}:ce(re(e))}(d)):r=!1),r&&(l.set(d,p),a(p,d,o,s,l),l.delete(d)),A(n,i,p))):(u=v?v(O(y,t),e,t+"",y,m,b):void 0,A(y,t,u=void 0===u?e:u))},Ee)}function ve(e,t){return we((l=e,c=Pe,u=se(void 0===(u=t)?l.length-1:u,0),function(){for(var e=arguments,t=-1,n=se(e.length-u,0),r=Array(n);++t<n;)r[t]=e[u+t];for(var t=-1,i=Array(u+1);++t<u;)i[t]=e[t];i[u]=c(r);var o=l,a=this,s=i;switch(s.length){case 0:return o.call(a);case 1:return o.call(a,s[0]);case 2:return o.call(a,s[0],s[1]);case 3:return o.call(a,s[0],s[1],s[2])}return o.apply(a,s)}),e+"");var l,u,c}function v(e,t){var n,r,e=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?e["string"==typeof t?"string":"hash"]:e.map}function b(e,t){t=t;e=null==(e=e)?void 0:e[t];return ye(e)?e:void 0}function be(e,t){var n=typeof e;return(t=null==t?R:t)&&("number"==n||"symbol"!=n&&W.test(e))&&-1<e&&e%1==0&&e<t}function _e(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||l)}function O(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}xe=f?function(e,t){return f(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Pe,M=E=0;var xe,E,M,we=function(){var e=le(),t=16-(e-M);if(M=e,0<t){if(800<=++E)return arguments[0]}else E=0;return xe.apply(void 0,arguments)};function P(e,t){return e===t||e!=e&&t!=t}var k=pe(function(){return arguments}())?pe:function(e){return D(e)&&x.call(e,"callee")&&!oe.call(e,"callee")},T=Array.isArray;function I(e){return null!=e&&Se(e.length)&&!L(e)}var Ae=i||function(){return!1};function L(e){if(j(e))return(e=C(e))==F||e==V||e==z||e==G}function Se(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=R}function j(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function D(e){return null!=e&&"object"==typeof e}var Ce,Oe=e?(Ce=e,function(e){return Ce(e)}):function(e){return D(e)&&Se(e.length)&&!!n[C(e)]};function Ee(e){return I(e)?fe(e,!0):me(e)}Me=function(e,t,n){ge(e,t,n)};var Me,X=ve(function(e,t){var n=-1,r=t.length,i=1<r?t[r-1]:void 0,o=2<r?t[2]:void 0,i=3<Me.length&&"function"==typeof i?(r--,i):void 0;for(o&&function(e,t,n){if(j(n)){var r=typeof t;if("number"==r?I(n)&&be(t,n.length):"string"==r&&t in n)return P(n[t],e)}return}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Me(e,a,n,i)}return e});function Pe(e){return e}t.exports=X}.call(this,t("yLpj"),t("YuTi")(e))},"2qPA":function(B,e,t){"use strict";t.r(e),t.d(e,"getEvents",function(){return O}),t.d(e,"getDataEvents",function(){return E}),t.d(e,"getListeners",function(){return M}),t.d(e,"getClass",function(){return P}),t.d(e,"getStyle",function(){return k}),t.d(e,"getComponentName",function(){return T}),t.d(e,"isEmptyElement",function(){return I}),t.d(e,"isStringElement",function(){return L}),t.d(e,"filterEmpty",function(){return j}),t.d(e,"mergeProps",function(){return R}),t.d(e,"hasProp",function(){return u}),t.d(e,"filterProps",function(){return g}),t.d(e,"getOptionProps",function(){return b}),t.d(e,"getComponentFromProp",function(){return _}),t.d(e,"getSlotOptions",function(){return v}),t.d(e,"slotHasProp",function(){return c}),t.d(e,"getPropsData",function(){return w}),t.d(e,"getKey",function(){return C}),t.d(e,"getAttrs",function(){return S}),t.d(e,"getValueByProp",function(){return A}),t.d(e,"parseStyleText",function(){return l}),t.d(e,"initDefaultProps",function(){return D}),t.d(e,"isValidElement",function(){return N}),t.d(e,"camelize",function(){return a}),t.d(e,"getSlots",function(){return h}),t.d(e,"getSlot",function(){return d}),t.d(e,"getAllProps",function(){return x}),t.d(e,"getAllChildren",function(){return p});var n=t("EJiy"),r=t.n(n),n=t("sk9p"),y=t.n(n),n=t("QbLZ"),m=t.n(n),n=t("YO3V"),f=t.n(n),n=t("TSYQ"),i=t.n(n);function s(e){return e.data&&e.data.scopedSlots||{}}var o=/-(\w)/g,a=function(e){return e.replace(o,function(e,t){return t?t.toUpperCase():""})},l=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1],r={},i=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){var t;e&&1<(e=e.split(i)).length&&(t=n?a(e[0].trim()):e[0].trim(),r[t]=e[1].trim())}),r},u=function(e,t){return t in((e.$options||{}).propsData||{})},c=function(e,t){return t in((e.componentOptions||{}).propsData||{})},g=function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r={};return Object.keys(t).forEach(function(e){(e in n||void 0!==t[e])&&(r[e]=t[e])}),r},h=function(e){var t=e.componentOptions||{},t=(e.$vnode&&(t=e.$vnode.componentOptions||{}),e.children||t.children||[]),n={};return t.forEach(function(e){var t;I(e)||(t=e.data&&e.data.slot||"default",n[t]=n[t]||[],n[t].push(e))}),m()({},n,s(e))},d=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"default";return e.$scopedSlots&&e.$scopedSlots[t]&&e.$scopedSlots[t](2<arguments.length&&void 0!==arguments[2]?arguments[2]:{})||e.$slots[t]||[]},p=function(e){var t=e.componentOptions||{};return e.$vnode&&(t=e.$vnode.componentOptions||{}),e.children||t.children||[]},v=function(e){var t;return e.fnOptions||(t=e.componentOptions,(t=e.$vnode?e.$vnode.componentOptions:t)&&t.Ctor.options)||{}},b=function(e){if(e.componentOptions){var t=e.componentOptions,n=t.propsData,n=void 0===n?{}:n,t=t.Ctor,t=((void 0===t?{}:t).options||{}).props||{},r={},i=!0,o=!1,a=void 0;try{for(var s,l=Object.entries(t)[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u=s.value,c=y()(u,2),f=c[0],h=c[1],d=h.default;void 0!==d&&(r[f]="function"==typeof d&&"Function"!==((p=(p=h.type)&&p.toString().match(/^\s*function (\w+)/))?p[1]:"")?d.call(e):d)}}catch(e){o=!0,a=e}finally{try{!i&&l.return&&l.return()}finally{if(o)throw a}}return m()({},r,n)}var p,t=e.$options,o=e.$props;return g(void 0===o?{}:o,(void 0===t?{}:t).propsData)},_=function(e,t){var n,r,i,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:e,a=!(3<arguments.length&&void 0!==arguments[3])||arguments[3];return e.$createElement?(n=e.$createElement,void 0!==(r=e[t])?"function"==typeof r&&a?r(n,o):r:e.$scopedSlots[t]&&a&&e.$scopedSlots[t](o)||e.$scopedSlots[t]||e.$slots[t]||void 0):(n=e.context.$createElement,void 0!==(r=w(e)[t])?"function"==typeof r&&a?r(n,o):r:void 0!==(r=s(e)[t])?"function"==typeof r&&a?r(n,o):r:(i=[],((e.componentOptions||{}).children||[]).forEach(function(e){e.data&&e.data.slot===t&&(e.data.attrs&&delete e.data.attrs.slot,"template"===e.tag?i.push(e.children):i.push(e))}),i.length?i:void 0))},x=function(e){var t=e.data||{},n=e.componentOptions||{};return e.$vnode&&(t=e.$vnode.data||{},n=e.$vnode.componentOptions||{}),m()({},t.props,t.attrs,n.propsData)},w=function(e){var t=e.componentOptions;return(t=e.$vnode?e.$vnode.componentOptions:t)&&t.propsData||{}},A=function(e,t){return w(e)[t]},S=function(e){var t=e.data;return(t=e.$vnode?e.$vnode.data:t)&&t.attrs||{}},C=function(e){var t=e.key;return t=e.$vnode?e.$vnode.key:t};function O(e){var t={};return e.componentOptions&&e.componentOptions.listeners?t=e.componentOptions.listeners:e.data&&e.data.on&&(t=e.data.on),m()({},t)}function E(e){var t={};return e.data&&e.data.on&&(t=e.data.on),m()({},t)}function M(e){return(e.$vnode?e.$vnode.componentOptions.listeners:e.$listeners)||{}}function P(e){var t={},e=(e.data?t=e.data:e.$vnode&&e.$vnode.data&&(t=e.$vnode.data),t.class||{}),t=t.staticClass,n={};return t&&t.split(" ").forEach(function(e){n[e.trim()]=!0}),"string"==typeof e?e.split(" ").forEach(function(e){n[e.trim()]=!0}):Array.isArray(e)?i()(e).split(" ").forEach(function(e){n[e.trim()]=!0}):n=m()({},n,e),n}function k(e,t){var n,r={},i=(e.data?r=e.data:e.$vnode&&e.$vnode.data&&(r=e.$vnode.data),r.style||r.staticStyle);if("string"==typeof i)i=l(i,t);else if(t&&i)return n={},Object.keys(i).forEach(function(e){return n[a(e)]=i[e]}),n;return i}function T(e){return e&&(e.Ctor.options.name||e.tag)}function I(e){return!(e.tag||e.text&&""!==e.text.trim())}function L(e){return!e.tag}function j(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).filter(function(e){return!I(e)})}var D=function(t,n){return Object.keys(n).forEach(function(e){if(!t[e])throw new Error("not have "+e+" prop");t[e].def&&(t[e]=t[e].def(n[e]))}),t};function R(){var e=[].slice.call(arguments,0),c={};return e.forEach(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=!0,n=!1,r=void 0;try{for(var i,o=Object.entries(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=i.value,s=y()(a,2),l=s[0],u=s[1];c[l]=c[l]||{},f()(u)?m()(c[l],u):c[l]=u}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}),c}function N(e){return e&&"object"===(void 0===e?"undefined":r()(e))&&"componentOptions"in e&&"context"in e&&void 0!==e.tag}e.default=u},"2tgw":function(e,t,n){"use strict";n.r(t);var r,i=n("DesM"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"2u5Z":function(e,t,n){"use strict";n.r(t);var r,i=n("Zwk+"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"2xRk":function(e,t,n){"use strict";n.r(t);var r=n("Rs/M"),i=n.n(r),o=n("Ep19");function a(e){e.directive("decorator",{})}function s(e){e.directive("ant-portal",{inserted:function(e,t){t=t.value,t="function"==typeof t?t(e):t;t!==e.parentNode&&t.appendChild(e)},componentUpdated:function(e,t){t=t.value,t="function"==typeof t?t(e):t;t!==e.parentNode&&t.appendChild(e)}})}var l={install:function(e){e.use(i.a,{name:"ant-ref"}),Object(o.a)(e),a(e),s(e)}},u={};u.install=function(e){(u.Vue=e).use(l)},t.default=u},"2ykv":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var n="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),t=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){if(!e)return n;else if(/-MMM-/.test(t))return r[e.month()];else return n[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"34Qi":function(e,t,n){},"36bv":function(e,t,n){"use strict";n.r(t);var r,i=n("ZDa7"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"38+u":function(e,t,n){"use strict";n.r(t),n.d(t,"BasicProps",function(){return f});var r=n("YEIV"),i=n.n(r),r=n("m1cH"),o=n.n(r),r=n("QbLZ"),a=n.n(r),r=n("TZE5"),s=n("TSYQ"),l=n.n(s),u=n("2qPA"),c=n("TfX5"),f={prefixCls:r.a.string,hasSider:r.a.boolean,tagName:r.a.string};function h(e){var r=e.suffixCls,i=e.tagName,t=e.name;return function(n){return{name:t,props:n.props,inject:{configProvider:{default:function(){return c.a}}},render:function(){var e=arguments[0],t=this.$props.prefixCls,t=(0,this.configProvider.getPrefixCls)(r,t),t={props:a()({prefixCls:t},Object(u.getOptionProps)(this),{tagName:i}),on:Object(u.getListeners)(this)};return e(n,t,[this.$slots.default])}}}}var s={props:f,render:function(){var e=arguments[0],t=this.prefixCls,n=this.tagName,r=this.$slots;return e(n,{class:t,on:Object(u.getListeners)(this)},[r.default])}},n=h({suffixCls:"layout",tagName:"section",name:"ALayout"})({props:f,data:function(){return{siders:[]}},provide:function(){var n=this;return{siderHook:{addSider:function(e){n.siders=[].concat(o()(n.siders),[e])},removeSider:function(t){n.siders=n.siders.filter(function(e){return e!==t})}}}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.$slots,r=this.hasSider;return e(this.tagName,{class:l()(t,i()({},t+"-has-sider","boolean"==typeof r?r:0<this.siders.length)),on:u.getListeners},[n.default])}}),r=h({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})(s),d=h({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})(s),s=h({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})(s);n.Header=r,n.Footer=d,n.Content=s,t.default=n},"3DCu":function(e,t,n){"use strict";var r=n("aLaa"),i=n("eRwv"),o=n("JTf3"),a=n("YELS"),s=n("++4Y"),l=n("N6FT").CONFIGURABLE,u=n("sNJV"),n=n("UQ6y"),c=n.enforce,f=n.get,h=String,d=Object.defineProperty,p=r("".slice),y=r("".replace),m=r([].join),g=s&&!i(function(){return 8!==d(function(){},"length",{value:8}).length}),v=String(String).split("String"),n=e.exports=function(e,t,n){"Symbol("===p(h(t),0,7)&&(t="["+y(h(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),g&&n&&a(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}n=c(e);return a(n,"source")||(n.source=m(v,"string"==typeof t?t:"")),e};Function.prototype.toString=n(function(){return o(this)&&f(this).source||u(this)},"toString")},"3E1r":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],i=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],o;e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:i,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="रात")return e<4?e:e+12;else if(t==="सुबह")return e;else if(t==="दोपहर")return e>=10?e:e+12;else if(t==="शाम")return e+12},meridiem:function(e,t,n){if(e<4)return"रात";else if(e<10)return"सुबह";else if(e<17)return"दोपहर";else if(e<20)return"शाम";else return"रात"},week:{dow:0,doy:6}})}(n("wd/R"))},"3Fdi":function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},"3L66":function(e,t,n){var r=n("MMmD"),i=n("ExA7");e.exports=function(e){return i(e)&&r(e)}},"3N2c":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAADb5JREFUeAHt3bGK3QkdhuFzJhtRsNRyr8DOQiHaiJ3LFILiDdhpZ7Gla2lhpxchLliE2AoSU1gIFlvY2FiK2AgK2Z1xpghvsUyW5Jt1T2aeNPvtzvzO/M9zin0hgRwPd/DX9y8vH/z2ybOfX15e/uQOvr2Tf0vH4/EX333n0bu/OR4/OvmH9YAECBAgcKsCx1t9tRN4sS/+7s9f/u/Ff359FRXfOoHHubePcBUXv//82Rd+8O/vfPUf9xbBGydAgMA9FLhTYfHw8bOvXRwu3r/6HN++h5/lKb7lv58dzr73/PzRn07x4TwTAQJ3R+DB46eXd+fdfPydfHT+zTfm/9dnH3/8N/O/PHzy9IcXx4s/XD29qDidj/Dt68/k+rM5nUfyJAQIECDwaQoc73rlfZp4XpsAAQIECBAgQIAAAQIECBAgQIAAAQIECBA4dYE35g+DnBrkm/5bSG/SHwQ6tc/e8xAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAgbslcLz6y7q+dLfekndDgAABAgQIfFYCd+bvCvmsAP1cAgQIECBAIAFhkYVFgAABAgQIjALCYgR0ToAAAQIECCQgLLKwCBAgQIAAgVFAWIyAzgkQIECAAIEEhEUWFgECBAgQIDAKCIsR0DkBAgQIECCQgLDIwiJAgAABAgRGAWExAjonQIAAAQIEEhAWWVgECBAgQIDAKCAsRkDnBAgQIECAQALCIguLAAECBAgQGAWExQjonAABAgQIEEhAWGRhESBAgAABAqOAsBgBnRMgQIAAAQIJCIssLAIECBAgQGAUEBYjoHMCBAgQIEAgAWGRhUWAAAECBAiMAsJiBHROgAABAgQIJCAssrAIECBAgACBUUBYjIDOCRAgQIAAgQSERRYWAQIECBAgMAoIixHQOQECBAgQIJCAsMjCIkCAAAECBEYBYTECOidAgAABAgQSEBZZWAQIECBAgMAoICxGQOcECBAgQIBAAsIiC4sAAQIECBAYBYTFCOicAAECBAgQSEBYZGERIECAAAECo4CwGAGdEyBAgAABAgkIiywsAgQIECBAYBQQFiOgcwIECBAgQCABYZGFRYAAAQIECIwCwmIEdE6AAAECBAgkICyysAgQIECAAIFRQFiMgM4JECBAgACBBIRFFhYBAgQIECAwCgiLEdA5AQIECBAgkICwyMIiQIAAAQIERgFhMQI6J0CAAAECBBIQFllYBAgQIECAwCggLEZA5wQIECBAgEACwiILiwABAgQIEBgFhMUI6JwAAQIECBBIQFhkYREgQIAAAQKjgLAYAZ0TIECAAAECCQiLLCwCBAgQIEBgFBAWI6BzAgQIECBAIAFhkYVFgAABAgQIjALCYgR0ToAAAQIECCQgLLKwCBAgQIAAgVFAWIyAzgkQIECAAIEEhEUWFgECBAgQIDAKCIsR0DkBAgQIECCQgLDIwiJAgAABAgRGAWExAjonQIAAAQIEEhAWWVgECBAgQIDAKCAsRkDnBAgQIECAQALCIguLAAECBAgQGAWExQjonAABAgQIEEhAWGRhESBAgAABAqOAsBgBnRMgQIAAAQIJCIssLAIECBAgQGAUEBYjoHMCBAgQIEAgAWGRhUWAAAECBAiMAsJiBHROgAABAgQIJCAssrAIECBAgACBUUBYjIDOCRAgQIAAgQSERRYWAQIECBAgMAoIixHQOQECBAgQIJCAsMjCIkCAAAECBEYBYTECOidAgAABAgQSEBZZWAQIECBAgMAoICxGQOcECBAgQIBAAsIiC4sAAQIECBAYBYTFCOicAAECBAgQSEBYZGERIECAAAECo4CwGAGdEyBAgAABAgkIiywsAgQIECBAYBQQFiOgcwIECBAgQCABYZGFRYAAAQIECIwCwmIEdE6AAAECBAgkICyysAgQIECAAIFRQFiMgM4JECBAgACBBIRFFhYBAgQIECAwCgiLEdA5AQIECBAgkICwyMIiQIAAAQIERgFhMQI6J0CAAAECBBIQFllYBAgQIECAwCggLEZA5wQIECBAgEACwiILiwABAgQIEBgFhMUI6JwAAQIECBBIQFhkYREgQIAAAQKjgLAYAZ0TIECAAAECCQiLLCwCBAgQIEBgFBAWI6BzAgQIECBAIAFhkYVFgAABAgQIjALCYgR0ToAAAQIECCQgLLKwCBAgQIAAgVFAWIyAzgkQIECAAIEEhEUWFgECBAgQIDAKCIsR0DkBAgQIECCQgLDIwiJAgAABAgRGAWExAjonQIAAAQIEEhAWWVgECBAgQIDAKCAsRkDnBAgQIECAQALCIguLAAECBAgQGAWExQjonAABAgQIEEhAWGRhESBAgAABAqOAsBgBnRMgQIAAAQIJCIssLAIECBAgQGAUEBYjoHMCBAgQIEAgAWGRhUWAAAECBAiMAsJiBHROgAABAgQIJCAssrAIECBAgACBUUBYjIDOCRAgQIAAgQSERRYWAQIECBAgMAoIixHQOQECBAgQIJCAsMjCIkCAAAECBEYBYTECOidAgAABAgQSEBZZWAQIECBAgMAoICxGQOcECBAgQIBAAsIiC4sAAQIECBAYBYTFCOicAAECBAgQSEBYZGERIECAAAECo4CwGAGdEyBAgAABAgkIiywsAgQIECBAYBQQFiOgcwIECBAgQCABYZGFRYAAAQIECIwCwmIEdE6AAAECBAgkICyysAgQIECAAIFRQFiMgM4JECBAgACBBIRFFhYBAgQIECAwCgiLEdA5AQIECBAgkICwyMIiQIAAAQIERgFhMQI6J0CAAAECBBIQFllYBAgQIECAwCggLEZA5wQIECBAgEACwiILiwABAgQIEBgFhMUI6JwAAQIECBBIQFhkYREgQIAAAQKjgLAYAZ0TIECAAAECCQiLLCwCBAgQIEBgFBAWI6BzAgQIECBAIAFhkYVFgAABAgQIjALCYgR0ToAAAQIECCQgLLKwCBAgQIAAgVFAWIyAzgkQIECAAIEEhEUWFgECBAgQIDAKCIsR0DkBAgQIECCQgLDIwiJAgAABAgRGAWExAjonQIAAAQIEEhAWWVgECBAgQIDAKCAsRkDnBAgQIECAQALCIguLAAECBAgQGAWExQjonAABAgQIEEhAWGRhESBAgAABAqOAsBgBnRMgQIAAAQIJCIssLAIECBAgQGAUEBYjoHMCBAgQIEAgAWGRhUWAAAECBAiMAsJiBHROgAABAgQIJCAssrAIECBAgACBUUBYjIDOCRAgQIAAgQSERRYWAQIECBAgMAoIixHQOQECBAgQIJCAsMjCIkCAAAECBEYBYTECOidAgAABAgQSEBZZWAQIECBAgMAoICxGQOcECBAgQIBAAsIiC4sAAQIECBAYBYTFCOicAAECBAgQSEBYZGERIECAAAECo4CwGAGdEyBAgAABAgkIiywsAgQIECBAYBQQFiOgcwIECBAgQCABYZGFRYAAAQIECIwCwmIEdE6AAAECBAgkICyysAgQIECAAIFRQFiMgM4JECBAgACBBIRFFhYBAgQIECAwCgiLEdA5AQIECBAgkICwyMIiQIAAAQIERgFhMQI6J0CAAAECBBIQFllYBAgQIECAwCggLEZA5wQIECBAgEACwiILiwABAgQIEBgFhMUI6JwAAQIECBBIQFhkYREgQIAAAQKjgLAYAZ0TIECAAAECCQiLLCwCBAgQIEBgFBAWI6BzAgQIECBAIAFhkYVFgAABAgQIjALCYgR0ToAAAQIECCQgLLKwCBAgQIAAgVFAWIyAzgkQIECAAIEEhEUWFgECBAgQIDAKCIsR0DkBAgQIECCQgLDIwiJAgAABAgRGAWExAjonQIAAAQIEEhAWWVgECBAgQIDAKCAsRkDnBAgQIECAQALCIguLAAECBAgQGAWExQjonAABAgQIEEhAWGRhESBAgAABAqOAsBgBnRMgQIAAAQIJCIssLAIECBAgQGAUEBYjoHMCBAgQIEAgAWGRhUWAAAECBAiMAsJiBHROgAABAgQIJCAssrAIECBAgACBUUBYjIDOCRAgQIAAgQSERRYWAQIECBAgMAoIixHQOQECBAgQIJCAsMjCIkCAAAECBEYBYTECOidAgAABAgQSEBZZWAQIECBAgMAoICxGQOcECBAgQIBAAsIiC4sAAQIECBAYBYTFCOicAAECBAgQSEBYZGERIECAAAECo4CwGAGdEyBAgAABAgkIiywsAgQIECBAYBQQFiOgcwIECBAgQCABYZGFRYAAAQIECIwCwmIEdE6AAAECBAgkICyysAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAEC91DgeA/fs7dMgAABAv8HgYdPnv3o4uLil9c/6uzs7MfP33n0qxc/9ra/9pUPPvjcX//2r/cvD4fzw+H4z7PDW99+fv71v7z4eW89/uN7l4fLn774d/+8WeB4OP7sw/NvvHfzd7z8K8Li5T6+SoAAAQKvIXDb4XD9CDe9pqh4jQ/oE06WuBAWn4DrywQIECDwagI3BcD1q9z210TFq302r/LdrxsXwuJVlH0vAQIECLxU4LbD4fqH3fSaouKlH8WtfPF14uL44PHTq9+S8osAAQIECBAgsAv8D3+y/1UxtS72AAAAAElFTkSuQmCC"},"3NCs":function(e,t,n){"use strict";e.exports=i;var r=n("1t2c"),e=Object.create(n("Onz0"));function i(e){if(!(this instanceof i))return new i(e);r.call(this,e),this._transformState={afterTransform:function(e,t){var n=this._transformState,r=(n.transforming=!1,n.writecb);if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,(n.writecb=null)!=t&&this.push(t),r(e),(n=this._readableState).reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush)&&(this._flush=e.flush),this.on("prefinish",o)}function o(){var n=this;"function"==typeof this._flush?this._flush(function(e,t){a(n,e,t)}):a(this,null,null)}function a(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");e.push(null)}e.inherits=n("P7XM"),e.inherits(i,r),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},i.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},i.prototype._write=function(e,t,n){var r=this._transformState;r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming&&(n=this._readableState,r.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)},i.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},i.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},"3P00":function(e,t,n){"use strict";n.r(t);var r,i=n("lE/o"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"3PNi":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.$=y,t.add=function(){for(var e,t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(e=0;e<r.length;e+=1){var o=y(r[e]);for(t=0;t<o.length;t+=1)this.push(o[t])}return this},t.addClass=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=s(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).add.apply(e,r)}),this},t.animate=function(e,t){var y=(0,f.getWindow)(),n=this,m={props:Object.assign({},e),params:Object.assign({duration:300,easing:"swing"},t),elements:n,animating:!1,que:[],easingProgress:function(e,t){return"swing"===e?.5-Math.cos(t*Math.PI)/2:"function"==typeof e?e(t):t},stop:function(){m.frameId&&y.cancelAnimationFrame(m.frameId),m.animating=!1,m.elements.each(function(e){delete e.dom7AnimateInstance}),m.que=[]},done:function(e){m.animating=!1,m.elements.each(function(e){delete e.dom7AnimateInstance}),e&&e(n),0<m.que.length&&(e=m.que.shift(),m.animate(e[0],e[1]))},animate:function(l,s){var u,c,f,h,d,p,t;return m.animating?m.que.push([l,s]):(u=[],c=(m.elements.each(function(t,n){var r,i,o,a,s;t.dom7AnimateInstance||(m.elements[n].dom7AnimateInstance=m),u[n]={container:t},Object.keys(l).forEach(function(e){r=y.getComputedStyle(t,null).getPropertyValue(e).replace(",","."),i=parseFloat(r),o=r.replace(i,""),a=parseFloat(l[e]),s=l[e]+o,u[n][e]={initialFullValue:r,initialValue:i,unit:o,finalValue:a,finalFullValue:s,currentValue:i}})}),null),d=h=0,t=!1,m.animating=!0,m.frameId=y.requestAnimationFrame(function e(){var a;f=(new Date).getTime(),t||(t=!0,s.begin&&s.begin(n)),null===c&&(c=f),s.progress&&s.progress(n,Math.max(Math.min((f-c)/s.duration,1),0),c+s.duration-f<0?0:c+s.duration-f,c),u.forEach(function(e){var o=e;p||o.done||Object.keys(l).forEach(function(e){var t,n,r,i;p||o.done||(a=Math.max(Math.min((f-c)/s.duration,1),0),a=m.easingProgress(s.easing,a),t=(r=o[e]).initialValue,n=r.finalValue,r=r.unit,o[e].currentValue=t+a*(n-t),i=o[e].currentValue,(p=(t<n&&n<=i||n<t&&i<=n)&&(o.container.style[e]=n+r,(d+=1)===Object.keys(l).length&&(o.done=!0,h+=1),h===u.length)||p)?m.done(s.complete):o.container.style[e]=i+r)})}),p||(m.frameId=y.requestAnimationFrame(e))})),m}};if(0!==m.elements.length){for(var r,i=0;i<m.elements.length;i+=1)m.elements[i].dom7AnimateInstance?r=m.elements[i].dom7AnimateInstance:m.elements[i].dom7AnimateInstance=m;r=r||m,"stop"===e?r.stop():r.animate(m.props,m.params)}return n},t.animationEnd=function(n){var r=this;n&&r.on("animationend",function e(t){t.target===this&&(n.call(this,t),r.off("animationend",e))});return this},t.append=function(){for(var e,t=(0,f.getDocument)(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if("string"==typeof e){var i=t.createElement("div");for(i.innerHTML=e;i.firstChild;)this[r].appendChild(i.firstChild)}else if(e instanceof u)for(var o=0;o<e.length;o+=1)this[r].appendChild(e[o]);else this[r].appendChild(e)}return this},t.appendTo=function(e){return y(e).append(this),this},t.attr=function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this},t.change=t.blur=void 0,t.children=function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,i=0;i<r.length;i+=1)e&&!y(r[i]).is(e)||t.push(r[i]);return y(t)},t.click=void 0,t.closest=function(e){var t=this;if(void 0===e)return y([]);t.is(e)||(t=t.parents(e).eq(0));return t},t.css=function(e,t){var n,r=(0,f.getWindow)();if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(var i in e)this[n].style[i]=e[i];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e)for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this},t.data=function(e,t){var n;if(void 0===t)return(n=this[0])?n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage?n.dom7ElementDataStorage[e]:n.getAttribute("data-"+e)||void 0:void 0;for(var r=0;r<this.length;r+=1)(n=this[r]).dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this},t.dataset=function(){var e=this[0];if(!e)return;var t,n={};if(e.dataset)for(var r in e.dataset)n[r]=e.dataset[r];else for(var i=0;i<e.attributes.length;i+=1){var o=e.attributes[i];0<=o.name.indexOf("data-")&&(n[function(e){return e.toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()})}(o.name.split("data-")[1])]=o.value)}for(t in n)"false"===n[t]?n[t]=!1:"true"===n[t]?n[t]=!0:parseFloat(n[t])===+n[t]&&(n[t]*=1);return n},t.default=void 0,t.detach=function(){return this.remove()},t.each=function(n){return n&&this.forEach(function(e,t){n.apply(e,[e,t])}),this},t.empty=function(){for(var e=0;e<this.length;e+=1){var t=this[e];if(1===t.nodeType){for(var n=0;n<t.childNodes.length;n+=1)t.childNodes[n].parentNode&&t.childNodes[n].parentNode.removeChild(t.childNodes[n]);t.textContent=""}}return this},t.eq=function(e){if(void 0===e)return this;var t=this.length;if(t-1<e)return y([]);if(e<0)return y((t=t+e)<0?[]:[this[t]]);return y([this[e]])},t.filter=function(e){return y(l(this,e))},t.find=function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),i=0;i<r.length;i+=1)t.push(r[i]);return y(t)},t.focusout=t.focusin=t.focus=void 0,t.hasClass=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=s(t.map(function(e){return e.split(" ")}));return 0<l(this,function(t){return 0<r.filter(function(e){return t.classList.contains(e)}).length}).length},t.height=function(){var e=(0,f.getWindow)();if(this[0]===e)return e.innerHeight;if(0<this.length)return parseFloat(this.css("height"));return null},t.hide=function(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this},t.html=function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},t.index=function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}return},t.insertAfter=function(e){for(var t=y(e),n=0;n<this.length;n+=1)if(1===t.length)t[0].parentNode.insertBefore(this[n],t[0].nextSibling);else if(1<t.length)for(var r=0;r<t.length;r+=1)t[r].parentNode.insertBefore(this[n].cloneNode(!0),t[r].nextSibling)},t.insertBefore=function(e){for(var t=y(e),n=0;n<this.length;n+=1)if(1===t.length)t[0].parentNode.insertBefore(this[n],t[0]);else if(1<t.length)for(var r=0;r<t.length;r+=1)t[r].parentNode.insertBefore(this[n].cloneNode(!0),t[r])},t.is=function(e){var t,n,r=(0,f.getWindow)(),i=(0,f.getDocument)(),o=this[0];if(o&&void 0!==e)if("string"==typeof e){if(o.matches)return o.matches(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);for(t=y(e),n=0;n<t.length;n+=1)if(t[n]===o)return!0}else{if(e===i)return o===i;if(e===r)return o===r;if(e.nodeType||e instanceof u)for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===o)return!0}return!1},t.mouseup=t.mouseover=t.mouseout=t.mousemove=t.mouseleave=t.mouseenter=t.mousedown=t.keyup=t.keypress=t.keydown=void 0,t.next=function(e){if(0<this.length){if(e)return this[0].nextElementSibling&&y(this[0].nextElementSibling).is(e)?y([this[0].nextElementSibling]):y([]);if(this[0].nextElementSibling)return y([this[0].nextElementSibling])}return y([])},t.nextAll=function(e){var t=[],n=this[0];if(!n)return y([]);for(;n.nextElementSibling;){var r=n.nextElementSibling;(!e||y(r).is(e))&&t.push(r),n=r}return y(t)},t.off=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];"function"==typeof t[1]&&(r=t[0],o=t[1],a=t[2],i=void 0);a=a||!1;for(var s=r.split(" "),l=0;l<s.length;l+=1)for(var u=s[l],c=0;c<this.length;c+=1){var f=this[c],h=void 0;if(!i&&f.dom7Listeners?h=f.dom7Listeners[u]:i&&f.dom7LiveListeners&&(h=f.dom7LiveListeners[u]),h&&h.length)for(var d=h.length-1;0<=d;--d){var p=h[d];(o&&p.listener===o||o&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===o||!o)&&(f.removeEventListener(u,p.proxyListener,a),h.splice(d,1))}}return this},t.offset=function(){{var e,t,n,r,i,o;if(0<this.length)return o=(0,f.getWindow)(),r=(0,f.getDocument)(),e=this[0],t=e.getBoundingClientRect(),r=r.body,n=e.clientTop||r.clientTop||0,r=e.clientLeft||r.clientLeft||0,i=e===o?o.scrollY:e.scrollTop,o=e===o?o.scrollX:e.scrollLeft,{top:t.top+i-n,left:t.left+o-r}}return null},t.on=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],a=t[2],i=t[3];"function"==typeof t[1]&&(r=t[0],a=t[1],i=t[2],o=void 0);i=i||!1;function s(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),y(t).is(o))a.apply(t,n);else for(var r=y(t).parents(),i=0;i<r.length;i+=1)y(r[i]).is(o)&&a.apply(r[i],n)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}for(var u,c=r.split(" "),f=0;f<this.length;f+=1){var h=this[f];if(o)for(u=0;u<c.length;u+=1){var d=c[u];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[d]||(h.dom7LiveListeners[d]=[]),h.dom7LiveListeners[d].push({listener:a,proxyListener:s}),h.addEventListener(d,s,i)}else for(u=0;u<c.length;u+=1){var p=c[u];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[p]||(h.dom7Listeners[p]=[]),h.dom7Listeners[p].push({listener:a,proxyListener:l}),h.addEventListener(p,l,i)}}return this},t.once=function(){for(var r=this,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[0],o=t[1],a=t[2],s=t[3];"function"==typeof t[1]&&(i=t[0],a=t[1],s=t[2],o=void 0);function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];a.apply(this,t),r.off(i,o,l,s),l.dom7proxy&&delete l.dom7proxy}return l.dom7proxy=a,r.on(i,o,l,s)},t.outerHeight=function(e){if(0<this.length)return e?(e=this.styles(),this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))):this[0].offsetHeight;return null},t.outerWidth=function(e){if(0<this.length)return e?(e=this.styles(),this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))):this[0].offsetWidth;return null},t.parent=function(e){for(var t=[],n=0;n<this.length;n+=1)null===this[n].parentNode||e&&!y(this[n].parentNode).is(e)||t.push(this[n].parentNode);return y(t)},t.parents=function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e&&!y(r).is(e)||t.push(r),r=r.parentNode;return y(t)},t.prepend=function(e){var t,n,r=(0,f.getDocument)();for(t=0;t<this.length;t+=1)if("string"==typeof e){var i=r.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;0<=n;--n)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof u)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},t.prependTo=function(e){return y(e).prepend(this),this},t.prev=function(e){if(0<this.length){var t=this[0];if(e)return t.previousElementSibling&&y(t.previousElementSibling).is(e)?y([t.previousElementSibling]):y([]);if(t.previousElementSibling)return y([t.previousElementSibling])}return y([])},t.prevAll=function(e){var t=[],n=this[0];if(!n)return y([]);for(;n.previousElementSibling;){var r=n.previousElementSibling;(!e||y(r).is(e))&&t.push(r),n=r}return y(t)},t.prop=function(e,t){if(1===arguments.length&&"string"==typeof e){if(this[0])return this[0][e]}else for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n][e]=t;else for(var r in e)this[n][r]=e[r];return this},t.remove=function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},t.removeAttr=function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},t.removeClass=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=s(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).remove.apply(e,r)}),this},t.removeData=function(e){for(var t=0;t<this.length;t+=1){var n=this[t];n.dom7ElementDataStorage&&n.dom7ElementDataStorage[e]&&(n.dom7ElementDataStorage[e]=null,delete n.dom7ElementDataStorage[e])}},t.scroll=t.resize=void 0,t.scrollLeft=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];3===t.length&&"function"==typeof o&&(r=t[0],i=t[1],a=t[2],o=t[3]);return void 0!==r?this.scrollTo(r,void 0,i,o,a):0<this.length?this[0].scrollLeft:null},t.scrollTo=function(){for(var d=(0,f.getWindow)(),e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var p=t[0],y=t[1],m=t[2],g=t[3],v=t[4];4===t.length&&"function"==typeof g&&(v=g,p=t[0],y=t[1],m=t[2],v=t[3],g=t[4]);void 0===g&&(g="swing");return this.each(function(){var r,i,e,o,a,s,l,u,c=this,f=0<y||0===y,h=0<p||0===p;void 0===g&&(g="swing"),f&&(r=c.scrollTop,m||(c.scrollTop=y)),h&&(i=c.scrollLeft,m||(c.scrollLeft=p)),m&&(f&&(e=c.scrollHeight-c.offsetHeight,o=Math.max(Math.min(y,e),0)),h&&(e=c.scrollWidth-c.offsetWidth,a=Math.max(Math.min(p,e),0)),u=null,f&&o===r&&(f=!1),h&&a===i&&(h=!1),d.requestAnimationFrame(function e(t){void 0===t&&(t=(new Date).getTime()),null===u&&(u=t);var n,t=Math.max(Math.min((t-u)/m,1),0),t="linear"===g?t:.5-Math.cos(t*Math.PI)/2;f&&(s=r+t*(o-r)),h&&(l=i+t*(a-i)),f&&r<o&&o<=s&&(c.scrollTop=o,n=!0),f&&o<r&&s<=o&&(c.scrollTop=o,n=!0),h&&i<a&&a<=l&&(c.scrollLeft=a,n=!0),h&&a<i&&l<=a&&(c.scrollLeft=a,n=!0),n?v&&v():(f&&(c.scrollTop=s),h&&(c.scrollLeft=l),d.requestAnimationFrame(e))}))})},t.scrollTop=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];3===t.length&&"function"==typeof o&&(r=t[0],i=t[1],a=t[2],o=t[3]);return void 0!==r?this.scrollTo(void 0,r,i,o,a):0<this.length?this[0].scrollTop:null},t.show=function(){for(var e=(0,f.getWindow)(),t=0;t<this.length;t+=1){var n=this[t];"none"===n.style.display&&(n.style.display=""),"none"===e.getComputedStyle(n,null).getPropertyValue("display")&&(n.style.display="block")}return this},t.siblings=function(e){return this.nextAll(e).add(this.prevAll(e))},t.stop=function(){for(var e=0;e<this.length;e+=1)this[e].dom7AnimateInstance&&this[e].dom7AnimateInstance.stop()},t.styles=function(){var e=(0,f.getWindow)();return this[0]?e.getComputedStyle(this[0],null):{}},t.submit=void 0,t.text=function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},t.toggleClass=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=s(t.map(function(e){return e.split(" ")}));this.forEach(function(t){r.forEach(function(e){t.classList.toggle(e)})})},t.touchstart=t.touchmove=t.touchend=void 0,t.transform=function(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this},t.transition=function(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?e+"ms":e;return this},t.transitionEnd=function(n){var r=this;n&&r.on("transitionend",function e(t){t.target===this&&(n.call(this,t),r.off("transitionend",e))});return this},t.trigger=function(){for(var e=(0,f.getWindow)(),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=n[0].split(" "),o=n[1],a=0;a<i.length;a+=1)for(var s=i[a],l=0;l<this.length;l+=1){var u,c=this[l];e.CustomEvent&&(u=new e.CustomEvent(s,{detail:o,bubbles:!0,cancelable:!0}),c.dom7EventData=n.filter(function(e,t){return 0<t}),c.dispatchEvent(u),c.dom7EventData=[],delete c.dom7EventData)}return this},t.val=function(e){if(void 0===e){var t=this[0];if(!t)return;if(t.multiple&&"select"===t.nodeName.toLowerCase()){for(var n=[],r=0;r<t.selectedOptions.length;r+=1)n.push(t.selectedOptions[r].value);return n}return t.value}for(var i=0;i<this.length;i+=1){var o=this[i];if(Array.isArray(e)&&o.multiple&&"select"===o.nodeName.toLowerCase())for(var a=0;a<o.options.length;a+=1)o.options[a].selected=0<=e.indexOf(o.options[a].value);else o.value=e}return this},t.value=function(e){return this.val(e)},t.width=function(){var e=(0,f.getWindow)();if(this[0]===e)return e.innerWidth;if(0<this.length)return parseFloat(this.css("width"));return null};var f=n("/xfr");function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t,n){return(o=function(){if("undefined"!=typeof Reflect&&Reflect.construct&&!Reflect.construct.sham){if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){}}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);t=new(Function.bind.apply(e,r));return n&&i(t,n.prototype),t}).apply(null,arguments)}function a(e){var n="function"==typeof Map?new Map:void 0;return function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return o(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)}(e)}var u=function(r){var e,t;function n(e){var t,n,e=r.call.apply(r,[this].concat(e))||this;return t=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e),n=t.__proto__,Object.defineProperty(t,"__proto__",{get:function(){return n},set:function(e){n.__proto__=e}}),e}return t=r,(e=n).prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t,n}(a(Array));function s(e){var t=[];return(e=void 0===e?[]:e).forEach(function(e){Array.isArray(e)?t.push.apply(t,s(e)):t.push(e)}),t}function l(e,t){return Array.prototype.filter.call(e,t)}function y(e,t){var n=(0,f.getWindow)(),r=(0,f.getDocument)(),i=[];if(!t&&e instanceof u)return e;if(!e)return new u(i);if("string"==typeof e){var o=e.trim();if(0<=o.indexOf("<")&&0<=o.indexOf(">")){var a="div",s=(0===o.indexOf("<li")&&(a="ul"),0===o.indexOf("<tr")&&(a="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(a="tr"),0===o.indexOf("<tbody")&&(a="table"),0===o.indexOf("<option")&&(a="select"),r.createElement(a));s.innerHTML=o;for(var l=0;l<s.childNodes.length;l+=1)i.push(s.childNodes[l])}else i=function(e,t){if("string"!=typeof e)return[e];for(var n=[],r=t.querySelectorAll(e),i=0;i<r.length;i+=1)n.push(r[i]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)i.push(e);else if(Array.isArray(e)){if(e instanceof u)return e;i=e}return new u(function(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(i))}y.fn=u.prototype;var c="resize scroll".split(" ");function h(i){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(void 0!==t[0])return this.on.apply(this,[i].concat(t));for(var r=0;r<this.length;r+=1)c.indexOf(i)<0&&(i in this[r]?this[r][i]():y(this[r]).trigger(i));return this}}n=h("click"),t.click=n,n=h("blur"),t.blur=n,n=h("focus"),t.focus=n,n=h("focusin"),t.focusin=n,n=h("focusout"),t.focusout=n,n=h("keyup"),t.keyup=n,n=h("keydown"),t.keydown=n,n=h("keypress"),t.keypress=n,n=h("submit"),t.submit=n,n=h("change"),t.change=n,n=h("mousedown"),t.mousedown=n,n=h("mousemove"),t.mousemove=n,n=h("mouseup"),t.mouseup=n,n=h("mouseenter"),t.mouseenter=n,n=h("mouseleave"),t.mouseleave=n,n=h("mouseout"),t.mouseout=n,n=h("mouseover"),t.mouseover=n,n=h("touchstart"),t.touchstart=n,n=h("touchend"),t.touchend=n,n=h("touchmove"),t.touchmove=n,n=h("resize"),t.resize=n,n=h("scroll"),t.scroll=n,n=y;t.default=n},"3Xd8":function(e,t,n){"use strict";n=n("aLaa");e.exports=n({}.isPrototypeOf)},"3fk+":function(e,t,n){"use strict";var r=n("m7zg"),i=n("WxoH"),o=n("JTf3"),a=n("ba8b"),s=n("WMbf"),l=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n))return null!==(n=r(n,e,t))&&i(n),n;if("RegExp"===a(e))return r(s,e,t);throw l("RegExp#exec called on incompatible receiver")}},"3gHV":function(e,t,n){"use strict";n.r(t);var r,i=n("bMu0");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"3hup":function(e,t,n){"use strict";n.r(t);var r=n("UJE+"),i=n("2xRk");n.d(t,"PaginationProps",function(){return r.PaginationProps}),n.d(t,"PaginationConfig",function(){return r.PaginationConfig}),r.default.install=function(e){e.use(i.default),e.component(r.default.name,r.default)},t.default=r.default},"3n0U":function(e,t,n){"use strict";var r=n("11yv"),i=n("AoAp"),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},"3u6h":function(e,t,n){"use strict";n.r(t);var r,i=n("kJb/");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"42op":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("cKS0");function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var o={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var n=this.slides.eq(t),r=-n[0].swiperSlideOffset,i=(this.params.virtualTranslate||(r-=this.translate),0),o=(this.isHorizontal()||(i=r,r=0),this.params.fadeEffect.crossFade?Math.max(1-Math.abs(n[0].progress),0):1+Math.min(Math.max(n[0].progress,-1),0));n.css({opacity:o}).transform("translate3d("+r+"px, "+i+"px, 0px)")}},setTransition:function(e){var n,r=this,t=r.slides,i=r.$wrapperEl;t.transition(e),r.params.virtualTranslate&&0!==e&&(n=!1,t.transitionEnd(function(){if(!n&&r&&!r.destroyed){n=!0,r.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)i.trigger(e[t])}}))}};t.default={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){(0,r.bindModuleMethods)(this,{fadeEffect:i({},o)})},on:{beforeInit:function(e){var t;"fade"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"fade"),(0,r.extend)(e.params,t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0}),(0,r.extend)(e.originalParams,t))},setTranslate:function(e){"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e,t){"fade"===e.params.effect&&e.fadeEffect.setTransition(t)}}}},"44Ds":function(e,t,n){var a=n("e4Nc");function s(r,i){if("function"!=typeof r||null!=i&&"function"!=typeof i)throw new TypeError("Expected a function");function o(){var e=arguments,t=i?i.apply(this,e):e[0],n=o.cache;return n.has(t)?n.get(t):(e=r.apply(this,e),o.cache=n.set(t,e)||n,e)}return o.cache=new(s.Cache||a),o}s.Cache=a,e.exports=s},"49sm":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},"4EGE":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAAFw1JREFUeAHt3U+rJOd1B+D+f1sj7OWQ1WgjSAhk4QS0NsGQD+CP4m2CMckqkI+iDxAwwWtB7EUgJKCNZhVmmUQzt/9V5ZzqrqvWydgJZ9fiqfGdqlPVp2/3I0P/eN+3epbvP3x4u/h/bO/evfvqYw/77M2bLz923jkCBAgQIEDg8QS+efv25x971a9fv/7iY+fruWUGi9Vy/fU4DovFcjUuF4txPl7czi3GxeLXv/ndL+PCOMRPPkke5P50PufORoAAAQIECPwABLabzfQulqtlRILFInbT9rOf/uRXizwzDsvIC9N+GfsIA8s8l8fDePl8ChbxiK+/+u2//93pdBqHacvdasgQMVzi8JYoDsfjNVTk+VuwyF96f5y1jQABAgQIEHg8gdUtTOQrz+Pc8vhpt4vcMP1vuVqvpkur1ZAH8bNabbfb5Rd//sd/PS7Gz+dYMt6HivNleRkukSgiQByPU9gYs8wTQ/65hYo8kb9wrvPYRoAAAQIECDymwBwsMjHkO8g6ssPycnlerjNQxIndbjtm5oiAMW5yvGIxLCJDrHLWYzFeFlOwiO6XkYprqBimXJEjFBkozlOqyFGKa6iY9pdxzOjxmHReNQECBAgQIPD7BCJDRHCI8JD7DBe5vyyHTaSLyACrHMHI3vNiFUHiGi4yS+TRFCwiMuSoQwSIHKkYhufDMYLFZTifr6HifL4OV5xOl1iIsVg8Pz9PgSIe8r19XrMRIECAAAECjykQuWEKDPN+v99P9XY7DVdEshjHzbCO+YzDar1eL/ZPu5dwkVkit5epkFxTkXMcOTgxh4pjJIkMFRkojsdjhI8hpkbOef0lUMTl6fgxCb1qAgQIECBA4F5gE+FiDhbxmR9TH5vV8bgadrvdlAOGTX7ub6eWyAyLXIcxLFdxcDcVEhMhsZJzmtoYcvojRyruQ0WOUMyBIkcpMkzE9Mh4OV8DRoQP4eL+v4pjAgQIECDwgAKbzXp5iNe9jn1Me8TPEOsrLmOMTixzCmSx2F+HJab3tl0clseYJ3mKXBGLPP/XiEWMVORCzRyxyDUV80jFHCriWpwfxkNMk2SQOMXP+XwWKB7w/zheMgECBAgQ+EMCm81muc1wET9PT7tVBozr459fwsW8/iLyQeaKOmIRazqnW0inkYiPhornCBaH5+MwB4oIHIvj6TpScToJGH/oP5BrBAgQIEDgEQS2280UIHbbWD+x348ZMHIw4Wm/i0Axb9dwMQeLmDaJtRSxbvM21LDJb9T8l3/9j3/IL7zK0YpYRjHd/ZFrKnL6I0cq5lDx4fkwzIEiw0SOcOSvmffzr7QnQIAAAQIEHk8gbiWdgsUp9jF4sJwDRn0nq9VxHQs6c2nmlB0iQyzzizT/7E//6Be3u0JifWesrZhDRS7WzISR8yrT9EeMVMyh4tv3h2nKZA4ThwgXh8M1YNRfrCZAgAABAgQeR+Dpabt8ylARn+0ZMjJgxKvP0YppbUWuu1hHNsiMkFkhpkqmb9PMDLFe76fBhilYTEMY2XX35VfXxZrXNRU5/ZEjFfehYg4Uz8/Xb+N8HDavlAABAgQIEPiYQH6m7/e7WFdxHbm4PSZDxSqmRaZ1lnnXSGaE/X6xngYkIjvEcs9pSUU+/nq7aRzE9MjLiEUu2JxHK3JuJRdp5nqKTDD585//9T6mRK6BIvfvPxxuMyv5lDYCBAgQIEDgEQVeffI0TYXMAePHP3o1ra2ItReZBRbn83qaychRi8wK83RIZoj5/V6nQqZ1FdeTQ3yj5nwxbymdRyvmNRU5UiFUzEL2BAgQIEDghyMwDxTkqEV+1sfIxZQJ8mu8I0jEXSIRMCIbPN3GJebMkCMXuVYzJV5GLLLIOZPc53dVTD9ltCKvzesp5pGK9x+u38KZ12wECBAgQIDAD0Mgw0V+5s9rLuZRi/wOqzkn5Duds8P8rjefvXnz5Ve//WauF7FscwoX05dgRfPLhTiYRytqqPj2W+Hi3skxAQIECBB4RIFPP93Hv3r+/c/0HLWY7xbJ9zQtkYgBiDyeM0Men2KqJDPFy4jFtADjNoyRSSQfNG8v0yC3uz/moZK8nqHiv+cH2hMgQIAAAQKPKxCf6Rku8g3kZ/13oxbTXSKZDaZreX3OCvf5Ic/ffeFFljYCBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX0Cw6NvpJECAAAECBIqAYFFAlAQIECBAgEBfQLDo2+kkQIAAAQIEioBgUUCUBAgQIECAQF9AsOjb6SRAgAABAgSKgGBRQJQECBAgQIBAX2Azt65Wy2X+ZL1er6b9fG273Sx3u+3y6Wm7fH4+jq8+eVq+/3AY8/qnn+6Xi2+fp+P58fYECBAgQIDA4wlMn+m3l52f9XmYn/2ZATIL3L+jOSvc54e8vvnm7dufbzebvz+dztPj1/GI6UKEi81m/b0neYon3u933zv3/sPzeP9CpifxFwECBAgQIPCQAq8+2S8zVOTnff7kZ//9G8lssLkNQMyZIa9HllhkpngZsciTq1uoyBQy/WTzJkYrtuvFKZ74eDyN86hFDRjZbyNAgAABAgQeW2AOFfku8jM/9zliEVlgygTryAZzTshrc3bI49ymNRbLu2mQ1fo6HZIXN+v1chtPsN/vFy/TIXejFhku5qGSfLyNAAECBAgQeFyB+1Axj1bM0yBTFphGK76bzZgzQ06HZJbId/4yYhGnpjUWmTyiOUYnzjHUMUzTIfejFtn04x+9WkWKGQ+H07S2wuhFqtgIECBAgMDjC0yBIkYqcgpkGqm4G62Yp0HWMfCQWSEzwxQqIkPM73wKFhk08kRcflnAudttVpfLJaY+dqvz+TLGE2SIyBGOIR+bW/7S+4BxPetvAgQIECBA4BEFcupjXlMxh4pPXz2t5tGKzAQ5DZIZId9fhorMDtPxLUtMwSKO44l2y8vleUof2+16dTyuhkwkOWrxtN/Nt6VmqFjFtMgYv3DMNRf5i59215GLfGIbAQIECBAg8JgC+Zmerzz30xKIWFeRoeKT/dMqs0Au2sxskCMVmRXmEYvMELllb9w2+uHtcrH+t3/8p3/+m+fnw3A4ns4xDXKJaY7L8/NzhIfzEAFieI6fw/NxOMXoxfl8HuPa4ni6TFMhcUeJ201T00aAAAECBB5YYL6lNBdqZqDIpRC51jJDxX63XUXgiJ9NjmDkjMU6jtcxwrHZR/D4q7/8i78dF5c/ua6xiIwxrbuIBBILNlfDZhyHYYiwsI8Riud5tGJazHk4HIfzeT3GL8uAMfNNKWUu7AkQIECAAIHHFZgDRa6pyOmPHKm4DxU5WhHX4vxt1CJHKzIJRHK4BotxWK7iWjRloFhthvU4bDJY5PZduFjHmot88vNlGM9xfInRi3xErsHIvY0AAQIECBB4XIEMEvnq85bSvDP0OvVxnf6YRyruQ0Xmipw2yQyxiCyRvbcRi9U0YpG5I+ZJxnE8xCjFNq/ftv2wWh3XOYqRUyMZMJ6i9TIFjCEWeM6PsydAgAABAgQeWWAOE/kecj1FBopcS7Hb7eKrJ64jFbs42MTpXFuR2WG6CWQZ0WG83I1YrIbVMC7HTB/xRDeT7fTFF9kSzzGeTpchplzWufYiH5DB4n5/a7IjQIAAAQIEHlAgMsB1xOK2z7UU+TYyUGQWmKc/MlREVsg7RPKmkFjMOXx/xCJO5S0jq01MjpzjjtL90y5Dw+KwPE63n8a1ZQxWxLqKWH8R+wwZw2UcL9M6jAeU85IJECBAgACB3ysw5YX4wswME5kB5n2uqcgwMY1UZNaIn816nB6eWSKSwXXEIoYdsinGMIY4cQ0X+dtilWfeUppf3RnfaRETIREqhvwT+7yeJ677a53HNgIECBAgQOAxBTJE5CvPIHHdR1zIP3E+s0Cen9ZUxGLN+1CRFzJLZM/L4s3tdrs8nU4v4WJYrpeRH8bbYEUmiuXheIy+dSSSvGvkuzBxf5xPaiNAgAABAgQeT2AOFvnK8zi3PJ6+pyLqPJWBYtrH9EccZKaI77eK77+4Ld6cvsci1nt+HVEhxy3GeIaMDdNxPOi2Xyx+/Zvf/XIKFPFX/pIIGtP+9N0tp3naRoAAAQIECDywQP4rpbllish9hojcfvbTn/zqektp3P0xLdQc4mxMf8RDM1Tk8TBePp+CRTb+X9u7d++++thjPnvz5suPnXeOAAECBAgQeDyB/KfPP/aqX79+/cXHztdz/wOOaWdXmTJgygAAAABJRU5ErkJggg=="},"4JXE":function(e,t,n){"use strict";n.r(t);var r,i=n("TbAe");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"4K6O":function(e,t,n){"use strict";n.r(t);var r,i=n("ZnZ9"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"4MV3":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},r;e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:true,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="રાત")return e<4?e:e+12;else if(t==="સવાર")return e;else if(t==="બપોર")return e>=10?e:e+12;else if(t==="સાંજ")return e+12},meridiem:function(e,t,n){if(e<4)return"રાત";else if(e<10)return"સવાર";else if(e<17)return"બપોર";else if(e<20)return"સાંજ";else return"રાત"},week:{dow:0,doy:6}})}(n("wd/R"))},"4Oe1":function(e,t,n){var r=n("YO3V");e.exports=function(e){return r(e)?void 0:e}},"4Qxg":function(e,t,n){"use strict";var r=n("eRwv"),i=n("Ks5W").RegExp;e.exports=r(function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})},"4YbN":function(e,t,n){"use strict";function r(){}function i(e){if(!l(e))return!1;try{return d(r,h,e),!0}catch(e){return!1}}function o(e){if(!l(e))return!1;switch(u(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!y(p,f(e))}catch(e){return!0}}var a=n("aLaa"),s=n("eRwv"),l=n("JTf3"),u=n("g8+u"),c=n("RYfq"),f=n("sNJV"),h=[],d=c("Reflect","construct"),p=/^\s*(?:class|function)\b/,y=a(p.exec),m=!p.exec(r);o.sham=!0,e.exports=!d||s(function(){var e;return i(i.call)||!i(Object)||!i(function(){e=!0})||e})?o:i},"4aUf":function(e,t,n){"use strict";n.r(t);var r,i=n("7pJA"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"4dOw":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"4g6d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n=this,r=n.$el;e=void 0!==n.params.width&&null!==n.params.width?n.params.width:r[0].clientWidth;t=void 0!==n.params.height&&null!==n.params.height?n.params.height:r[0].clientHeight;0===e&&n.isHorizontal()||0===t&&n.isVertical()||(e=e-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),t=t-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),(0,i.extend)(n,{width:e,height:t,size:n.isHorizontal()?e:t}))};var i=n("cKS0")},"4gdG":function(e,t,n){"use strict";var r=n("Ks5W"),n=n("X4md"),i="__core-js_shared__",r=r[i]||n(i,{});e.exports=r},"4kuk":function(e,t,n){var r=n("SfRM"),i=n("Hvzi"),o=n("u8Dt"),a=n("ekgI"),n=n("JSQU");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=n,e.exports=s},"4l1m":function(e,t,n){},"4mgO":function(e,t,n){"use strict";n.r(t);var r,i=n("Z9Xy"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"4rkx":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC"},"4uGi":function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"4uTw":function(e,t,n){var r=n("Z0cm"),i=n("9ggG"),o=n("GNiM"),a=n("dt0z");e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},"4xX3":function(e,t,n){"use strict";var r=n("TqRt"),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("/CVL"))),i={functional:!0,inject:{configProvider:{default:function(){}}},inheritAttrs:!1,props:{componentName:r(n("ET/Y")).default.string},render:function(e,t){var n=t.props,t=t.injections;var n=n.componentName,r=t.configProvider.getPrefixCls,t=(t.configProvider.locale||{}).Empty||{},i=r("empty"),o={image:a.default.PRESENTED_IMAGE_SIMPLE,description:t.description,prefixCls:i||"sm-component-empty"};switch(n){case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return e(a.default,{props:o,class:i+"-small"});default:return e(a.default,{props:o})}}};t.default=function(e,t){return e(i,{props:{componentName:t}})}},"5Eyh":function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{staticClass:"sm-component-time-slider",style:[e.getBackgroundStyle,e.newThemeStyle],attrs:{dir:"ltr"}},[t("button",{staticClass:"sm-play-control sm-button sm-paused",style:Object.assign({},{color:e.color},e.newThemeStyle),on:{click:e.changePlayState}},[t("i",{class:["sm-icon-play",e.playState?"sm-components-icon-zanting":"sm-components-icon-bofang3"]})]),e._v(" "),t("div",{staticClass:"sm-progress-control-wrapper",style:e.lineStyleHeight},[t("div",{class:["sm-progress-control",e.uniqueId],style:Object.assign({},e.lineStyle,e.lineStyleHeight),on:{click:e.handleMouseClick}},[t("div",{staticClass:"sm-progress-holder"},[t("div",{staticClass:"sm-load-progress",style:{width:e.sliderBarWidth}}),e._v(" "),t("div",{staticClass:"sm-mouse-display",style:{left:e.mouseLeft+"px"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.mouseCurrent,expression:"mouseCurrent"}],staticClass:"sm-time-tooltip"},[t("span",{staticClass:"sm-time-tooltip-content"},[e._v(e._s(e.mouseCurrent))])])]),e._v(" "),t("div",{staticClass:"sm-play-progress sm-slider-bar",style:Object.assign({},e.playProgressStyle,{width:e.sliderBarWidth})}),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showLabel,expression:"showLabel"}],staticClass:"sm-time-node",style:e.newLabelStyle},[t("div",{staticClass:"sm-start-node"},[e._v(e._s(e.startFormat))]),e._v(" "),t("div",{staticClass:"sm-end-node"},[e._v(e._s(e.endFormat))])])])])])])},i=[]},"5JCY":function(e,t,n){"use strict";var r=n("N6FT").PROPER,i=n("eRwv"),o=n("noWC");e.exports=function(e){return i(function(){return!!o[e]()||"
"!=="
"[e]()||r&&o[e].name!==e})}},"5K7Z":function(e,t,n){var r=n("93I4");e.exports=function(e){if(r(e))return e;throw TypeError(e+" is not an object!")}},"5L7t":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.progressTypes=t.default=void 0,r(n("pVnL"))),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=h(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("n502")),a=r(n("TFue")),s=r(n("BhAg")),l=r(n("UJ+e")),u=r(n("WlrG")),r=r(n("ET/Y")),c=n("h9Sk"),f=n("e7LN");function h(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(h=function(e){return e?n:t})(e))}n=(0,i.default)({},o.ProgressProps,{percent:r.default.oneOfType([r.default.string,r.default.number]),strokeWidth:r.default.oneOfType([r.default.number]),size:r.default.oneOfType([o.ProgressSize,r.default.number])}),t.progressTypes=n,i={name:"SmProgress",defaultComponent:o.default,mixins:[a.default,u.default,s.default,l.default],props:n,data:function(){return{colorData:"",circleWidth:0,finalValue:this.percent}},computed:{calWidth:function(){return"number"==typeof this.size?this.size:this.circleWidth},extralProps:function(){var e=this,t={percent:(0,f.strip)(+this.finalValue),strokeColor:this.colorData};return 100<+this.finalValue&&(t.format=function(){return(0,f.strip)(+e.finalValue)+"%"}),"circle"===this.type&&(t.width=this.calWidth),t},componentStyle:function(){return Object.assign({},this.getBackgroundStyle,this.getTextColorStyle)}},watch:{strokeColor:function(e){this.colorData=e},trailColor:function(e){"line"===this.type&&this.progressLineTrailNode&&(this.progressLineTrailNode.style.backgroundColor=e)},percent:function(e){this.finalValue=e}},created:function(){this.colorData=this.strokeColor||this.getColor(0)},mounted:function(){var e,t=this;this.$on("theme-style-changed",function(){t.colorData=t.getColor(0)}),"line"===this.type&&(e=this.getPrefixCls("progress-inner",this.prefixCls),this.progressLineTrailNode=this.$el.querySelector("."+e),this.progressLineTrailNode)&&(this.progressLineTrailNode.style.backgroundColor=this.trailColor),this.resizeObsever=new c.ResizeSensor(this.$el,function(){t.resize()})},beforeDestroy:function(){this.restService&&this.restService.remove("getdatasucceeded")},methods:{resize:function(){this.circleWidth=Math.min(this.$el.offsetWidth,this.$el.offsetHeight)},timing:function(){this.getData()}}};t.default=i},"5Q0V":function(e,t,n){var r=n("cDf5").default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);if(n=n.call(e,t||"default"),"object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")},e.exports.__esModule=!0,e.exports.default=e.exports},"5T2Y":function(e,t){e=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},"5Tg0":function(e,o,a){!function(e){var t=a("Kz5y"),n=o&&!o.nodeType&&o,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,r=r&&r.exports===n?t.Buffer:void 0,i=r?r.allocUnsafe:void 0;e.exports=function(e,t){return t?e.slice():(t=e.length,t=i?i(t):new e.constructor(t),e.copy(t),t)}}.call(this,a("YuTi")(e))},"5bqR":function(e,t,n){"use strict";n.r(t);var r,i=n("Kx1n"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"5c0L":function(e,t,n){"use strict";var r=n("QbLZ"),i=n.n(r),r=n("TZE5"),o=n("AuqM");t.a={name:"LocaleReceiver",props:{componentName:r.a.string.def("global"),defaultLocale:r.a.oneOfType([r.a.object,r.a.func]),children:r.a.func},inject:{localeData:{default:function(){return{}}}},methods:{getLocale:function(){var e=this.componentName,t=this.defaultLocale||o.a[e||"global"],n=this.localeData.antLocale,n=e&&n?n[e]:{};return i()({},"function"==typeof t?t():t,n||{})},getLocaleCode:function(){var e=this.localeData.antLocale,t=e&&e.locale;return e&&e.exist&&!t?o.a.locale:t}},render:function(){var e=this.$scopedSlots,e=this.children||e.default,t=this.localeData.antLocale;return e(this.getLocale(),this.getLocaleCode(),t)}}},"5r2E":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){e=i(this,e);return!!e&&e.enumerable}:r},"5vMV":function(e,t,n){var a=n("B+OT"),s=n("NsO/"),l=n("W070")(!1),u=n("VVlx")("IE_PROTO");e.exports=function(e,t){var n,r=s(e),i=0,o=[];for(n in r)n!=u&&a(r,n)&&o.push(n);for(;t.length>i;)!a(r,n=t[i++])||~l(o,n)||o.push(n);return o}},"6+QB":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="pagi")return e;else if(t==="tengahari")return e>=11?e:e+12;else if(t==="petang"||t==="malam")return e+12},meridiem:function(e,t,n){if(e<11)return"pagi";else if(e<15)return"tengahari";else if(e<19)return"petang";else return"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6/1s":function(e,t,n){function r(e){s(e,i,{value:{i:"O"+ ++l,w:{}}})}var i=n("YqAc")("meta"),o=n("93I4"),a=n("B+OT"),s=n("2faE").f,l=0,u=Object.isExtensible||function(){return!0},c=!n("KUxP")(function(){return u(Object.preventExtensions({}))}),f=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!u(e))return"F";if(!t)return"E";r(e)}return e[i].i},getWeak:function(e,t){if(!a(e,i)){if(!u(e))return!0;if(!t)return!1;r(e)}return e[i].w},onFreeze:function(e){return c&&f.NEED&&u(e)&&!a(e,i)&&r(e),e}}},"62A4":function(e,t,n){"use strict";n.r(t);var r=n("NXk5"),i=n("QbLZ"),n=n.n(i),i={placeholder:"请选择时间"},n={lang:n()({placeholder:"请选择日期",rangePlaceholder:["开始日期","结束日期"]},{today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}),timePickerLocale:n()({},i)};n.lang.ok="确 定";t.default={locale:"zh-cn",Pagination:r.a,DatePicker:n,TimePicker:i,Calendar:n,ColorPicker:{"btn:save":"保存","btn:cancel":"取消","btn:clear":"清除"},global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",selectAll:"全选当页",selectInvert:"反选当页",sortTitle:"排序",expand:"展开行",collapse:"关闭行"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"}}},"66qH":function(e,t,n){"use strict";n=n("eRwv");e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},"6B0Y":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},r;e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return e==="ល្ងាច"},meridiem:function(e,t,n){if(e<12)return"ព្រឹក";else return"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n("wd/R"))},"6N1L":function(e,t,n){"use strict";var r=n("TqRt"),l=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Jq2x"))),i=n("cKS0");function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={setTransform:function(e,t){var n=this.rtl,e=(0,l.default)(e),n=n?-1:1,r=e.attr("data-swiper-parallax")||"0",i=e.attr("data-swiper-parallax-x"),o=e.attr("data-swiper-parallax-y"),a=e.attr("data-swiper-parallax-scale"),s=e.attr("data-swiper-parallax-opacity");i||o?(i=i||"0",o=o||"0"):this.isHorizontal()?(i=r,o="0"):(o=r,i="0"),i=0<=i.indexOf("%")?parseInt(i,10)*t*n+"%":i*t*n+"px",o=0<=o.indexOf("%")?parseInt(o,10)*t+"%":o*t+"px",null!=s&&(r=s-(s-1)*(1-Math.abs(t)),e[0].style.opacity=r),null==a?e.transform("translate3d("+i+", "+o+", 0px)"):(n=a-(a-1)*(1-Math.abs(t)),e.transform("translate3d("+i+", "+o+", 0px) scale("+n+")"))},setTranslate:function(){var r=this,e=r.$el,t=r.slides,i=r.progress,o=r.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){r.parallax.setTransform(e,i)}),t.each(function(e,t){var n=e.progress;1<r.params.slidesPerGroup&&"auto"!==r.params.slidesPerView&&(n+=Math.ceil(t/2)-i*(o.length-1)),n=Math.min(Math.max(n,-1),1),(0,l.default)(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){r.parallax.setTransform(e,n)})})},setTransition:function(n){void 0===n&&(n=this.params.speed);this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){var e=(0,l.default)(e),t=parseInt(e.attr("data-swiper-parallax-duration"),10)||n;0===n&&(t=0),e.transition(t)})}};t.default={name:"parallax",params:{parallax:{enabled:!1}},create:function(){(0,i.bindModuleMethods)(this,{parallax:o({},a)})},on:{beforeInit:function(e){e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e,t){e.params.parallax.enabled&&e.parallax.setTransition(t)}}}},"6Qq3":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var t=n("kvrn"),s=n.n(t),t=n("QbLZ"),l=n.n(t),t=n("Gytx"),u=n.n(t),c=n("Sx0+"),f=n("2qPA"),h=n("TZE5"),d=n("WMEv");var a=function(){return{}};function r(r){var i=!!r,o=r||a;return function(a){var t=Object(c.a)(a.props||{},["store"]),n={__propsSymbol__:h.a.any},e=(Object.keys(t).forEach(function(e){n[e]=l()({},t[e],{required:!1})}),{name:"Connect_"+(a.name||"Component"),props:n,inject:{storeContext:{default:function(){return{}}}},data:function(){return this.store=this.storeContext.store,this.preProps=Object(c.a)(Object(f.getOptionProps)(this),["__propsSymbol__"]),{subscribed:o(this.store.getState(),this.$props)}},watch:{__propsSymbol__:function(){r&&2===r.length&&(this.subscribed=o(this.store.getState(),this.$props))}},mounted:function(){this.trySubscribe()},beforeDestroy:function(){this.tryUnsubscribe()},methods:{handleChange:function(){var e,t;this.unsubscribe&&(e=Object(c.a)(Object(f.getOptionProps)(this),["__propsSymbol__"]),t=o(this.store.getState(),e),u()(this.preProps,e)&&u()(this.subscribed,t)||(this.subscribed=t))},trySubscribe:function(){i&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},tryUnsubscribe:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},getWrappedInstance:function(){return this.$refs.wrappedInstance}},render:function(){var t=arguments[0],e=this.$slots,n=void 0===e?{}:e,e=this.$scopedSlots,r=this.subscribed,i=this.store,o=Object(f.getOptionProps)(this),o=(this.preProps=l()({},Object(c.a)(o,["__propsSymbol__"])),{props:l()({},o,r,{store:i}),on:Object(f.getListeners)(this),scopedSlots:e});return t(a,s()([o,{ref:"wrappedInstance"}]),[Object.keys(n).map(function(e){return t("template",{slot:e},[n[e]])})])}});return Object(d.a)(e)}}},"6TV0":function(e,t,n){"use strict";var r=n("TqRt"),b=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(m){var g,v=[];return new Promise(function(t,n){var e=m.url,r=m.type,i=m.geoJSON,o=m.maxFeatures,a=m.attributeFilter,s=m.dataName,l=m.layerName,u=m.withCredentials,c=m.preferContent,f=m.epsgCode,h=m.fromIndex,d=m.toIndex,p=m.hasGeometry,y=m.orderBy;m&&(e||i)&&r&&(o={maxFeatures:o,attributeFilter:a,orderBy:y},"iServer"===r?(a={fromIndex:h,toIndex:d,hasGeometry:p},m.proxy&&(a.proxy=m.proxy),f&&(a.epsgCode=f),g=new b.default(m.url,a),h=s?{datasetName:(y=s[0].split(":"))[1],dataSourceName:y[0],dataUrl:e}:{mapName:l,dataUrl:e},v=[h,o]):"iPortal"===r?(o.withCredentials=u,g=new _.default(e,u,{epsgCode:f}),v=[o,!!c]):"rest"===r?(g=new x.default({proxy:m.proxy}),v=[e,o]):"geoJSON"===r&&i&&(g=new x.default,v=[i,o])),g&&(g.on({getdatasucceeded:function(e){t(e)},getdatafailed:function(e){n(e)}}),g.getData(v[0],v[1]))})},r(n("+Db8"))),_=r(n("nDi8")),x=r(n("w4Wy"))},"6UZ0":function(e,t,n){"use strict";n.r(t);var r,i=n("/t1m");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"6dy9":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.rangePickerTypes=t.default=void 0,r(n("C7dx"))),o=n("i9cM"),r=r(n("kuQC")),n=Object.assign({},(0,o.RangePickerProps)()),o=(t.rangePickerTypes=n,{name:"SmRangePicker",defaultComponent:i.default.RangePicker,mixins:[r.default],props:n});t.default=o},"6n/b":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=r(n("hgx0")),a=(n("jKu1"),n("hS5c")),r=function(r){function e(e){var t,n=r.call(this)||this;n.defaultOptions={minZoom:0,maxZoom:22,opacity:1,tileSize:256};for(t in e)!function(t){var e="set"+(0,a.capitalizeFirstLetter)(t);n[e]=function(e){this.layer&&(this.layer._paramsChanged=!0,"url"===t?this.layer.setUrl(e):"bounds"===t?this.layer.options[t]=this._setBounds(e):(this.layer.options[t]=e,this.layer.redraw()))}}(t);return Object.assign(n.defaultOptions,e),n.defaultOptions.bounds&&(n.defaultOptions.bounds=n._setBounds(n.defaultOptions.bounds)),n._init(),n}(0,i.default)(e,r);var t=e.prototype;return t._setBounds=function(e){return o.default.latLngBounds(o.default.latLng(e[1],e[0]),o.default.latLng(e[3],e[2]))},t._init=function(){this._addLayer()},t._addLayer=function(){this.layer=o.default.supermap.tiledMapLayer(this.defaultOptions.url,this.defaultOptions)},t.getLayer=function(){return this.layer},t.addTo=function(e){this.map=e,this.map.addLayer(this.layer)},t.clear=function(){var e=this.map,t=this.layer;e&&t&&e.hasLayer(this.layer)&&e.removeLayer(t)},e}(o.default.Evented);t.default=r},"6sEm":function(e,t,n){"use strict";n.r(t);var r,i=n("mu6A"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"6sVZ":function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},"721z":function(e,t,n){"use strict";var r=n("XaNE"),i=Object;e.exports=function(e){return i(r(e))}},"74XF":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("seDm")),r=r(n("1nqv")),n=(r.default.setDefaultIndicator=i.setDefaultIndicator,r.default);t.default=n},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"78qI":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},"7BjC":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};if(t)return i[n][2]?i[n][2]:i[n][1];return r?i[n][0]:i[n][1]}var n;e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7BsA":function(e,t,n){function r(e){var t;return(o[e]||(t=o[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,r),t.l=!0,t)).exports}var i,o;e.exports=(i=[function(e,t,n){n=n(4)(n(1),n(5),null,null);e.exports=n.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(e){return 0<=e}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(e,t,n,r){return n*(1-Math.pow(2,-10*e/r))*1024/1023+t}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,r.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,r.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,r.requestAnimationFrame)(this.count)},reset:function(){(this.startTime=null,r.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(e){this.startTime||(this.startTime=e);e=(this.timestamp=e)-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e<this.localDuration?this.rAF=(0,r.requestAnimationFrame)(this.count):this.$emit("callback")},isNumber:function(e){return!isNaN(parseFloat(e))},formatNumber:function(e){e=e.toFixed(this.decimals);var e=(e+="").split("."),t=e[0],e=1<e.length?this.decimal+e[1]:"",n=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;n.test(t);)t=t.replace(n,"$1"+this.separator+"$2");return this.prefix+t+e+this.suffix}},destroyed:function(){(0,r.cancelAnimationFrame)(this.rAF)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=n(0),n=n&&n.__esModule?n:{default:n};t.default=n.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",n.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=0,r="webkit moz ms o".split(" "),o=void 0,a=void 0;if("undefined"==typeof window)t.requestAnimationFrame=o=function(){},t.cancelAnimationFrame=a=function(){};else{t.requestAnimationFrame=o=window.requestAnimationFrame,t.cancelAnimationFrame=a=window.cancelAnimationFrame;for(var s,l=0;l<r.length&&(!o||!a);l++)s=r[l],t.requestAnimationFrame=o=o||window[s+"RequestAnimationFrame"],t.cancelAnimationFrame=a=a||window[s+"CancelAnimationFrame"]||window[s+"CancelRequestAnimationFrame"];o&&a||(t.requestAnimationFrame=o=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-i)),r=window.setTimeout(function(){e(t+n)},n);return i=t+n,r},t.cancelAnimationFrame=a=function(e){window.clearTimeout(e)})}t.requestAnimationFrame=o,t.cancelAnimationFrame=a},function(e,t){e.exports=function(e,t,n,r){var i,o,a=e=e||{},s=typeof e.default,s="function"==typeof(a="object"!=s&&"function"!=s?a:(i=e).default)?a.options:a;return t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r&&(o=Object.create(s.computed||null),Object.keys(r).forEach(function(e){var t=r[e];o[e]=function(){return t}}),s.computed=o),{esModule:i,exports:a,options:s}}},function(e,t){e.exports={render:function(){var e=this.$createElement;return(this._self._c||e)("span",[this._v("\n "+this._s(this.displayValue)+"\n")])},staticRenderFns:[]}}],o={},r.m=i,r.c=o,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=2))},"7C5Q":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n},week:{dow:0,doy:6}})}(n("wd/R"))},"7ERv":function(e,t,n){"use strict";function i(e){return(i="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})(e)}function o(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function r(e,t){var n=e["page".concat(t?"Y":"X","Offset")],t="scroll".concat(t?"Top":"Left");return n="number"!=typeof n&&"number"!=typeof(n=(e=e.document).documentElement[t])?e.body[t]:n}function a(e){return r(e)}function s(e){return r(e,!0)}function l(e){i=(r=(t=e).ownerDocument).body,r=r&&r.documentElement,n=(t=t.getBoundingClientRect()).left,t=t.top;var t,n={left:n-=r.clientLeft||i.clientLeft||0,top:t-=r.clientTop||i.clientTop||0},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=a(i),n.top+=s(i),n}var u,c=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),f=/^(top|right|bottom|left)$/,h="currentStyle",d="runtimeStyle";function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function y(e){return"border-box"===u(e,"boxSizing")}"undefined"!=typeof window&&(u=window.getComputedStyle?function(e,t,n){var r="",i=e.ownerDocument,n=n||i.defaultView.getComputedStyle(e,null);return r=n?n.getPropertyValue(t)||n[t]:r}:function(e,t){var n,r,i,o=e[h]&&e[h][t];return c.test(o)&&!f.test(t)&&(r=(n=e.style).left,i=e[d].left,e[d].left=e[h].left,n.left="fontSize"===t?"1em":o||0,o=n.pixelLeft+"px",n.left=r,e[d].left=i),""===o?"auto":o});var m=["margin","border","padding"],g=-1,v=2,b=1;function _(e,t,n){for(var r,i,o=0,a=0;a<t.length;a++)if(r=t[a])for(i=0;i<n.length;i++){var s=void 0,s="border"===r?"".concat(r+n[i],"Width"):r+n[i];o+=parseFloat(u(e,s))||0}return o}function x(e){return null!=e&&e==e.window}var w={};function A(e,t,n){var r,i,o,a;return x(e)?"width"===t?w.viewportWidth(e):w.viewportHeight(e):9===e.nodeType?"width"===t?w.docWidth(e):w.docHeight(e):(r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,u(e),a=y(e),i=0,(null==o||o<=0)&&(o=void 0,(null==(i=u(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),t=void 0!==o||a,o=o||i,(n=void 0===n?a?b:g:n)===g?t?o-_(e,["border","padding"],r):i:t?(a=n===v?-_(e,["border"],r):_(e,["margin"],r),o+(n===b?0:a)):i+_(e,m.slice(n),r))}p(["Width","Height"],function(i){w["doc".concat(i)]=function(e){e=e.document;return Math.max(e.documentElement["scroll".concat(i)],e.body["scroll".concat(i)],w["viewport".concat(i)](e))},w["viewport".concat(i)]=function(e){var t="client".concat(i),e=e.document,n=e.body,r=e.documentElement[t];return"CSS1Compat"===e.compatMode&&r||n&&n[t]||r}});var S={position:"absolute",visibility:"hidden",display:"block"};function C(e){var t,n=arguments;if(0!==e.offsetWidth)t=A.apply(void 0,n);else{var r,i=S,o=function(){t=A.apply(void 0,n)},a={},s=e.style;for(r in i)i.hasOwnProperty(r)&&(a[r]=s[r],s[r]=i[r]);for(r in o.call(e),i)i.hasOwnProperty(r)&&(s[r]=a[r])}return t}function O(e,t,n){if("object"===i(t))for(var r in t)t.hasOwnProperty(r)&&O(e,r,t[r]);else{if(void 0===n)return u(e,t);"number"==typeof n&&(n+="px"),e.style[t]=n}}p(["width","height"],function(n){var e=n.charAt(0).toUpperCase()+n.slice(1),r=(w["outer".concat(e)]=function(e,t){return e&&C(e,n,t?0:b)},"width"===n?["Left","Right"]:["Top","Bottom"]);w[n]=function(e,t){return void 0!==t?e?(u(e),y(e)&&(t+=_(e,["padding","border"],r)),O(e,n,t)):void 0:e&&C(e,n,g)}});var E=function(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(i,!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):o(i).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}({getWindow:function(e){e=e.ownerDocument||e;return e.defaultView||e.parentWindow},offset:function(e,t){if(void 0===t)return l(e);var n=e,r=t;"static"===O(n,"position")&&(n.style.position="relative");var i,o,a=l(n),s={};for(o in r)r.hasOwnProperty(o)&&(i=parseFloat(O(n,o))||0,s[o]=i+r[o]-a[o]);O(n,s)},isWindow:x,each:p,css:O,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(var r in e)e.hasOwnProperty(r)&&(n.overflow[r]=e.overflow[r]);return n},scrollLeft:function(e,t){if(x(e)){if(void 0===t)return a(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(x(e)){if(void 0===t)return s(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},w);t.a=function(e,t,n){n=n||{},9===t.nodeType&&(t=E.getWindow(t));var r,i,o,a,s,l=n.allowHorizontalScroll,u=n.onlyScrollIfNeeded,c=n.alignWithTop,f=n.alignWithLeft,h=n.offsetTop||0,d=n.offsetLeft||0,p=n.offsetBottom||0,n=n.offsetRight||0,l=void 0===l||l,y=E.isWindow(t),m=E.offset(e),g=E.outerHeight(e),e=E.outerWidth(e);y?(y=t,s=E.height(y),a=E.width(y),y={left:E.scrollLeft(y),top:E.scrollTop(y)},o={left:m.left-y.left-d,top:m.top-y.top-h},a={left:m.left+e-(y.left+a)+n,top:m.top+g-(y.top+s)+p},s=y):(y=E.offset(t),r=t.clientHeight,i=t.clientWidth,s={left:t.scrollLeft,top:t.scrollTop},o={left:m.left-(y.left+(parseFloat(E.css(t,"borderLeftWidth"))||0))-d,top:m.top-(y.top+(parseFloat(E.css(t,"borderTopWidth"))||0))-h},a={left:m.left+e-(y.left+i+(parseFloat(E.css(t,"borderRightWidth"))||0))+n,top:m.top+g-(y.top+r+(parseFloat(E.css(t,"borderBottomWidth"))||0))+p}),o.top<0||0<a.top?!0===c||!1!==c&&o.top<0?E.scrollTop(t,s.top+o.top):E.scrollTop(t,s.top+a.top):u||(void 0===c||!!c?E.scrollTop(t,s.top+o.top):E.scrollTop(t,s.top+a.top)),l&&(o.left<0||0<a.left?!0===f||!1!==f&&o.left<0?E.scrollLeft(t,s.left+o.left):E.scrollLeft(t,s.left+a.left):u||(void 0===f||!!f?E.scrollLeft(t,s.left+o.left):E.scrollLeft(t,s.left+a.left)))}},"7GkX":function(e,t,n){var r=n("b80T"),i=n("A90E"),o=n("MMmD");e.exports=function(e){return(o(e)?r:i)(e)}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Ts9":function(B,e,t){"use strict";t.r(e);var n=t("QbLZ"),p=t.n(n),n=t("YEIV"),k=t.n(n),n=t("TSYQ"),T=t.n(n),n=t("kvrn"),y=t.n(n),m=t("2qPA"),r=t("GKdC"),i=t("a7Ss"),o=t("TZE5"),g={props:{visible:o.a.bool,hiddenClassName:o.a.string,forceRender:o.a.bool},render:function(){return(0,arguments[0])("div",{on:Object(m.getListeners)(this)},[this.$slots.default])}},n=t("tIgm"),v=t("lOvz"),a=void 0;function s(e){var t,n;document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth&&(e?(document.body.style.position="",document.body.style.width=""):(!t&&void 0!==a||((t=document.createElement("div")).style.width="100%",t.style.height="200px",(n=(e=document.createElement("div")).style).position="absolute",n.top=0,n.left=0,n.pointerEvents="none",n.visibility="hidden",n.width="200px",n.height="150px",n.overflow="hidden",e.appendChild(t),document.body.appendChild(e),n=t.offsetWidth,e.style.overflow="scroll",n===(t=t.offsetWidth)&&(t=e.clientWidth),document.body.removeChild(e),a=n-t),(e=a)&&(document.body.style.position="relative",document.body.style.width="calc(100% - "+e+"px)")))}var l=function(){return{keyboard:o.a.bool,mask:o.a.bool,afterClose:o.a.func,closable:o.a.bool,maskClosable:o.a.bool,visible:o.a.bool,destroyOnClose:o.a.bool,mousePosition:o.a.shape({x:o.a.number,y:o.a.number}).loose,title:o.a.any,footer:o.a.any,transitionName:o.a.string,maskTransitionName:o.a.string,animation:o.a.any,maskAnimation:o.a.any,wrapStyle:o.a.object,bodyStyle:o.a.object,maskStyle:o.a.object,prefixCls:o.a.string,wrapClassName:o.a.string,width:o.a.oneOfType([o.a.string,o.a.number]),height:o.a.oneOfType([o.a.string,o.a.number]),zIndex:o.a.number,bodyProps:o.a.any,maskProps:o.a.any,wrapProps:o.a.any,getContainer:o.a.any,dialogStyle:o.a.object.def(function(){return{}}),dialogClass:o.a.string.def(""),closeIcon:o.a.any,forceRender:o.a.bool,getOpenCount:o.a.func,focusTriggerAfterClose:o.a.bool}},u=l(),c=0;function b(){}function f(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],t="scroll"+(t?"Top":"Left");return n="number"!=typeof n&&"number"!=typeof(n=(e=e.document).documentElement[t])?e.body[t]:n}function h(e,t){var n=e.style;["Webkit","Moz","Ms","ms"].forEach(function(e){n[e+"TransformOrigin"]=t}),n.transformOrigin=t}var d={},_={mixins:[n.a],props:Object(m.initDefaultProps)(u,{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:function(){return null},focusTriggerAfterClose:!0}),data:function(){return{destroyPopup:!1}},provide:function(){return{dialogContext:this}},watch:{visible:function(e){var t=this;e&&(this.destroyPopup=!1),this.$nextTick(function(){t.updatedCallback(!e)})}},beforeMount:function(){this.inTransition=!1,this.titleId="rcDialogTitle"+c++},mounted:function(){var e=this;this.$nextTick(function(){e.updatedCallback(!1),(e.forceRender||!1===e.getContainer&&!e.visible)&&e.$refs.wrap&&(e.$refs.wrap.style.display="none")})},beforeDestroy:function(){var e=this.visible,t=this.getOpenCount;!e&&!this.inTransition||t()||this.switchScrollingEffect(),clearTimeout(this.timeoutId)},methods:{getDialogWrap:function(){return this.$refs.wrap},updatedCallback:function(e){var t,n,r,i=this.mousePosition,o=this.mask,a=this.focusTriggerAfterClose;if(this.visible)e||(this.openTime=Date.now(),this.switchScrollingEffect(),this.tryFocus(),t=this.$refs.dialog.$el,i?(r={left:(r=(n=t).getBoundingClientRect()).left,top:r.top},n=(n=n.ownerDocument).defaultView||n.parentWindow,r.left+=f(n),r.top+=f(n,!0),n=r,h(t,i.x-n.left+"px "+(i.y-n.top)+"px")):h(t,""));else if(e&&(this.inTransition=!0,o)&&this.lastOutSideFocusNode&&a){try{this.lastOutSideFocusNode.focus()}catch(e){this.lastOutSideFocusNode=null}this.lastOutSideFocusNode=null}},tryFocus:function(){Object(i.a)(this.$refs.wrap,document.activeElement)||(this.lastOutSideFocusNode=document.activeElement,this.$refs.sentinelStart.focus())},onAnimateLeave:function(){var e=this.afterClose,t=this.destroyOnClose;this.$refs.wrap&&(this.$refs.wrap.style.display="none"),t&&(this.destroyPopup=!0),this.inTransition=!1,this.switchScrollingEffect(),e&&e()},onDialogMouseDown:function(){this.dialogMouseDown=!0},onMaskMouseUp:function(){var e=this;this.dialogMouseDown&&(this.timeoutId=setTimeout(function(){e.dialogMouseDown=!1},0))},onMaskClick:function(e){Date.now()-this.openTime<300||e.target!==e.currentTarget||this.dialogMouseDown||this.close(e)},onKeydown:function(e){var t,n=this.$props;n.keyboard&&e.keyCode===r.a.ESC?(e.stopPropagation(),this.close(e)):n.visible&&e.keyCode===r.a.TAB&&(n=document.activeElement,t=this.$refs.sentinelStart,e.shiftKey?n===t&&this.$refs.sentinelEnd.focus():n===this.$refs.sentinelEnd&&t.focus())},getDialogElement:function(){var e=this.$createElement,t=this.closable,n=this.prefixCls,r=this.width,i=this.height,o=this.title,a=this.footer,s=this.bodyStyle,l=this.visible,u=this.bodyProps,c=this.forceRender,f=this.dialogStyle,h=this.dialogClass,f=p()({},f),r=(void 0!==r&&(f.width="number"==typeof r?r+"px":r),void 0!==i&&(f.height="number"==typeof i?i+"px":i),void 0),i=(a&&(r=e("div",{key:"footer",class:n+"-footer",ref:"footer"},[a])),void 0),a=(o&&(i=e("div",{key:"header",class:n+"-header",ref:"header"},[e("div",{class:n+"-title",attrs:{id:this.titleId}},[o])])),void 0),t=(t&&(o=Object(m.getComponentFromProp)(this,"closeIcon"),a=e("button",{attrs:{type:"button","aria-label":"Close"},key:"close",on:{click:this.close||b},class:n+"-close"},[o||e("span",{class:n+"-close-x"})])),f),o={width:0,height:0,overflow:"hidden"},f=k()({},n,!0),d=this.getTransitionName(),c=e(g,{directives:[{name:"show",value:l}],key:"dialog-element",attrs:{role:"document",forceRender:c},ref:"dialog",style:t,class:[f,h],on:{mousedown:this.onDialogMouseDown}},[e("div",{attrs:{tabIndex:0,"aria-hidden":"true"},ref:"sentinelStart",style:o}),e("div",{class:n+"-content"},[a,i,e("div",y()([{key:"body",class:n+"-body",style:s,ref:"body"},u]),[this.$slots.default]),r]),e("div",{attrs:{tabIndex:0,"aria-hidden":"true"},ref:"sentinelEnd",style:o})]),t=Object(v.a)(d,{afterLeave:this.onAnimateLeave});return e("transition",y()([{key:"dialog"},t]),[l||!this.destroyPopup?c:null])},getZIndexStyle:function(){var e={},t=this.$props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},getWrapStyle:function(){return p()({},this.getZIndexStyle(),this.wrapStyle)},getMaskStyle:function(){return p()({},this.getZIndexStyle(),this.maskStyle)},getMaskElement:function(){var e,t=this.$createElement,n=this.$props,r=void 0;return n.mask&&(e=this.getMaskTransitionName(),r=t(g,y()([{directives:[{name:"show",value:n.visible}],style:this.getMaskStyle(),key:"mask",class:n.prefixCls+"-mask"},n.maskProps])),e)&&(n=Object(v.a)(e),r=t("transition",y()([{key:"mask"},n]),[r])),r},getMaskTransitionName:function(){var e=this.$props,t=e.maskTransitionName,n=e.maskAnimation;return t=!t&&n?e.prefixCls+"-"+n:t},getTransitionName:function(){var e=this.$props,t=e.transitionName,n=e.animation;return t=!t&&n?e.prefixCls+"-"+n:t},switchScrollingEffect:function(){var e=(0,this.getOpenCount)();1===e?d.hasOwnProperty("overflowX")||(d={overflowX:document.body.style.overflowX,overflowY:document.body.style.overflowY,overflow:document.body.style.overflow},s(),document.body.style.overflow="hidden"):e||(void 0!==d.overflow&&(document.body.style.overflow=d.overflow),void 0!==d.overflowX&&(document.body.style.overflowX=d.overflowX),void 0!==d.overflowY&&(document.body.style.overflowY=d.overflowY),d={},s(!0))},close:function(e){this.__emit("close",e)}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.maskClosable,r=this.visible,i=this.wrapClassName,o=this.title,a=this.wrapProps,s=this.getWrapStyle();return r&&(s.display=null),e("div",{class:t+"-root"},[this.getMaskElement(),e("div",y()([{attrs:{tabIndex:-1,role:"dialog","aria-labelledby":o?this.titleId:null},on:{keydown:this.onKeydown,click:n?this.onMaskClick:b,mouseup:n?this.onMaskMouseUp:b},class:t+"-wrap "+(i||""),ref:"wrap",style:s},a]),[this.getDialogElement()])])}},u=t("EJiy"),R=t.n(u);var x=function(t){var e=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).element,n=void 0===e?document.body:e,r={};return(e=Object.keys(t)).forEach(function(e){r[e]=n.style[e]}),e.forEach(function(e){n.style[e]=t[e]}),r},N=t("ewVk"),z={name:"Portal",props:{getContainer:o.a.func.isRequired,children:o.a.any.isRequired,didUpdate:o.a.func},mounted:function(){this.createContainer()},updated:function(){var e=this,t=this.$props.didUpdate;t&&this.$nextTick(function(){t(e.$props)})},beforeDestroy:function(){this.removeContainer()},methods:{createContainer:function(){this._container=this.$props.getContainer(),this.$forceUpdate()},removeContainer:function(){this._container&&this._container.parentNode&&this._container.parentNode.removeChild(this._container)}},render:function(){return this._container?Object(N.a)(this.$props.children,{directives:[{name:"ant-portal",value:this._container}]}):null}},w=0,F=!("undefined"!=typeof window&&window.document&&window.document.createElement),A={},V={name:"PortalWrapper",props:{wrapperClassName:o.a.string,forceRender:o.a.bool,getContainer:o.a.any,children:o.a.func,visible:o.a.bool},data:function(){var e=this.$props.visible;return w=e?w+1:w,{}},updated:function(){this.setWrapperClassName()},watch:{visible:function(e){w=e?w+1:w-1},getContainer:function(e,t){("function"==typeof e&&"function"==typeof t?e.toString()!==t.toString():e!==t)&&this.removeCurrentContainer(!1)}},beforeDestroy:function(){var e=this.$props.visible;w=e&&w?w-1:w,this.removeCurrentContainer(e)},methods:{getParent:function(){var e=this.$props.getContainer;if(e){if("string"==typeof e)return document.querySelectorAll(e)[0];if("function"==typeof e)return e();if("object"===(void 0===e?"undefined":R()(e))&&e instanceof window.HTMLElement)return e}return document.body},getDomContainer:function(){var e;return F?null:(!this.container&&(this.container=document.createElement("div"),e=this.getParent())&&e.appendChild(this.container),this.setWrapperClassName(),this.container)},setWrapperClassName:function(){var e=this.$props.wrapperClassName;this.container&&e&&e!==this.container.className&&(this.container.className=e)},savePortal:function(e){this._component=e},removeCurrentContainer:function(){this.container=null,this._component=null},switchScrollingEffect:function(){1!==w||Object.keys(A).length?w||(x(A),A={},s(!0)):(s(),A=x({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))}},render:function(){var e=arguments[0],t=this.$props,n=t.children,r=t.forceRender,t=t.visible,i=null,o={getOpenCount:function(){return w},getContainer:this.getDomContainer,switchScrollingEffect:this.switchScrollingEffect};return i=r||t||this._component?e(z,y()([{attrs:{getContainer:this.getDomContainer,children:n(o)}},{directives:[{name:"ant-ref",value:this.savePortal}]}])):i}},u=l(),H={inheritAttrs:!1,props:p()({},u,{visible:u.visible.def(!1)}),render:function(){var t=this,n=arguments[0],e=this.$props,r=e.visible,i=e.getContainer,e=e.forceRender,o={props:this.$props,attrs:this.$attrs,ref:"_component",key:"dialog",on:Object(m.getListeners)(this)};return!1===i?n(_,y()([o,{attrs:{getOpenCount:function(){return 2}}}]),[this.$slots.default]):n(V,{attrs:{visible:r,forceRender:e,getContainer:i,children:function(e){return o.props=p()({},o.props,e),n(_,o,[t.$slots.default])}}})}},l=t("yMYy"),I=t("l+HE"),L=t("DGO/"),S=t("Xvvz"),u=t("uSu3"),Y=t("5c0L"),G=t("TfX5"),U=Object(u.default)().type,C=null;function Q(){}"undefined"!=typeof window&&window.document&&window.document.documentElement&&Object(l.a)(document.documentElement,"click",function(e){C={x:e.pageX,y:e.pageY},setTimeout(function(){return C=null},100)},!0);var O=[],j={name:"AModal",inheritAttrs:!1,model:{prop:"visible",event:"change"},props:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t={prefixCls:o.a.string,visible:o.a.bool,confirmLoading:o.a.bool,title:o.a.any,closable:o.a.bool,closeIcon:o.a.any,afterClose:o.a.func.def(Q),centered:o.a.bool,width:o.a.oneOfType([o.a.string,o.a.number]),footer:o.a.any,okText:o.a.any,okType:U,cancelText:o.a.any,icon:o.a.any,maskClosable:o.a.bool,forceRender:o.a.bool,okButtonProps:o.a.object,cancelButtonProps:o.a.object,destroyOnClose:o.a.bool,wrapClassName:o.a.string,maskTransitionName:o.a.string,transitionName:o.a.string,getContainer:o.a.func,zIndex:o.a.number,bodyStyle:o.a.object,maskStyle:o.a.object,mask:o.a.bool,keyboard:o.a.bool,wrapProps:o.a.object,focusTriggerAfterClose:o.a.bool};return Object(m.initDefaultProps)(t,e)}({width:520,transitionName:"zoom",maskTransitionName:"fade",confirmLoading:!1,visible:!1,okType:"primary"}),data:function(){return{sVisible:!!this.visible}},watch:{visible:function(e){this.sVisible=e}},inject:{configProvider:{default:function(){return G.a}}},methods:{handleCancel:function(e){this.$emit("cancel",e),this.$emit("change",!1)},handleOk:function(e){this.$emit("ok",e)},renderFooter:function(e){var t=this.$createElement,n=this.okType,r=this.confirmLoading,i=Object(m.mergeProps)({on:{click:this.handleCancel}},this.cancelButtonProps||{}),n=Object(m.mergeProps)({on:{click:this.handleOk},props:{type:n,loading:r}},this.okButtonProps||{});return t("div",[t(S.a,i,[Object(m.getComponentFromProp)(this,"cancelText")||e.cancelText]),t(S.a,n,[Object(m.getComponentFromProp)(this,"okText")||e.okText])])}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.sVisible,r=this.wrapClassName,i=this.centered,o=this.getContainer,a=this.$slots,s=this.$scopedSlots,l=this.$attrs,s=s.default?s.default():a.default,a=this.configProvider,u=a.getPrefixCls,a=a.getPopupContainer,u=u("modal",t),t=e(Y.a,{attrs:{componentName:"Modal",defaultLocale:Object(I.b)()},scopedSlots:{default:this.renderFooter}}),c=e("span",{class:u+"-close-x"},[Object(m.getComponentFromProp)(this,"closeIcon")||e(L.default,{class:u+"-close-icon",attrs:{type:"close"}})]),f=Object(m.getComponentFromProp)(this,"footer"),h=Object(m.getComponentFromProp)(this,"title"),a={props:p()({},this.$props,{getContainer:void 0===o?a:o,prefixCls:u,wrapClassName:T()(k()({},u+"-centered",!!i),r),title:h,footer:void 0===f?t:f,visible:n,mousePosition:C,closeIcon:c}),on:p()({},Object(m.getListeners)(this),{close:this.handleCancel}),class:Object(m.getClass)(this),style:Object(m.getStyle)(this),attrs:l};return e(H,a,[s])}},l=t("i7/w"),W=t.n(l),l={type:Object(u.default)().type,actionFn:o.a.func,closeModal:o.a.func,autoFocus:o.a.bool,buttonProps:o.a.object},D={mixins:[n.a],props:l,data:function(){return{loading:!1}},mounted:function(){var e=this;this.autoFocus&&(this.timeoutId=setTimeout(function(){return e.$el.focus()}))},beforeDestroy:function(){clearTimeout(this.timeoutId)},methods:{onClick:function(){var e,t=this,n=this.actionFn,r=this.closeModal;n?(e=void 0,n.length?e=n(r):(e=n())||r(),e&&e.then&&(this.setState({loading:!0}),e.then(function(){r.apply(void 0,arguments)},function(e){console.error(e),t.setState({loading:!1})}))):r()}},render:function(){var e=arguments[0],t=this.type,n=this.$slots,r=this.loading,i=this.buttonProps;return e(S.a,y()([{attrs:{type:t,loading:r},on:{click:this.onClick}},i]),[n.default])}},q=t("aiEA"),K={functional:!0,render:function(e,t){var t=t.props,n=t.onCancel,r=t.onOk,i=t.close,o=t.zIndex,a=t.afterClose,s=t.visible,l=t.keyboard,u=t.centered,c=t.getContainer,f=t.maskStyle,h=t.okButtonProps,d=t.cancelButtonProps,p=t.iconType,p=void 0===p?"question-circle":p,y=t.closable,y=void 0!==y&&y,p=(Object(q.a)(!("iconType"in t),"Modal","The property 'iconType' is deprecated. Use the property 'icon' instead."),t.icon||p),m=t.okType||"primary",g=t.prefixCls||"ant-modal",v=g+"-confirm",b=!("okCancel"in t)||t.okCancel,_=t.width||416,x=t.style||{},w=void 0===t.mask||t.mask,A=void 0!==t.maskClosable&&t.maskClosable,S=Object(I.b)(),C=t.okText||(b?S.okText:S.justOkText),S=t.cancelText||S.cancelText,O=null!==t.autoFocusButton&&(t.autoFocusButton||"ok"),E=t.transitionName||"zoom",M=t.maskTransitionName||"fade",P=T()(v,v+"-"+t.type,g+"-"+t.type,t.class),b=b&&e(D,{attrs:{actionFn:n,closeModal:i,autoFocus:"cancel"===O,buttonProps:d}},[S]),n="string"==typeof p?e(L.default,{attrs:{type:p}}):p(e);return e(j,{attrs:{prefixCls:g,wrapClassName:T()(k()({},v+"-centered",!!u)),visible:s,closable:y,title:"",transitionName:E,footer:"",maskTransitionName:M,mask:w,maskClosable:A,maskStyle:f,width:_,zIndex:o,afterClose:a,keyboard:l,centered:u,getContainer:c},class:P,on:{cancel:function(e){return i({triggerCancel:!0},e)}},style:x},[e("div",{class:v+"-body-wrapper"},[e("div",{class:v+"-body"},[n,void 0===t.title?null:e("span",{class:v+"-title"},["function"==typeof t.title?t.title(e):t.title]),e("div",{class:v+"-content"},["function"==typeof t.content?t.content(e):t.content])]),e("div",{class:v+"-btns"},[b,e(D,{attrs:{type:m,actionFn:r,closeModal:i,autoFocus:"ok"===O,buttonProps:h}},[C])])])])}},E=t("2xRk"),X=t("Sx0+");function M(o){var e,a=document.createElement("div"),t=document.createElement("div"),n=(a.appendChild(t),document.body.appendChild(a),p()({},Object(X.a)(o,["parentContext"]),{close:l,visible:!0})),s=null,r={props:{}};function l(){!function(){s&&a.parentNode&&(s.$destroy(),s=null,a.parentNode.removeChild(a));for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.some(function(e){return e&&e.triggerCancel});o.onCancel&&r&&o.onCancel.apply(o,t);for(var i=0;i<O.length;i++)if(O[i]===l){O.splice(i,1);break}}.apply(void 0,arguments)}return e=n,r.props=e,s=new(E.default.Vue||W.a)({el:t,parent:o.parentContext,data:function(){return{confirmDialogProps:r}},render:function(){var e=arguments[0],t=p()({},this.confirmDialogProps);return e(K,t)}}),O.push(l),{destroy:l,update:function(e){n=p()({},n,e),r.props=n}}}function P(e){return M(p()({type:"warning",icon:function(e){return e(L.default,{attrs:{type:"exclamation-circle"}})},okCancel:!1},e))}u=P;j.info=function(e){return M(p()({type:"info",icon:function(e){return e(L.default,{attrs:{type:"info-circle"}})},okCancel:!1},e))},j.success=function(e){return M(p()({type:"success",icon:function(e){return e(L.default,{attrs:{type:"check-circle"}})},okCancel:!1},e))},j.error=function(e){return M(p()({type:"error",icon:function(e){return e(L.default,{attrs:{type:"close-circle"}})},okCancel:!1},e))},j.warning=P,j.warn=u,j.confirm=function(e){return M(p()({type:"confirm",okCancel:!0},e))},j.destroyAll=function(){for(;O.length;){var e=O.pop();e&&e()}},j.install=function(e){e.use(E.default),e.component(j.name,j)},e.default=j},"7URU":function(e,t,n){"use strict";n.r(t);var r,i=n("3P00");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"7aQr":function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var r=this,e=r.$createElement,i=r._self._c||e;return i("ul",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"Popup",class:["sm-component-identify"],style:[r.getTextColorStyle]},r._l(r.popupProps,function(e,t,n){return i("li",{key:n,staticClass:"sm-component-identify__body"},[i("div",{staticClass:"sm-component-identify__left",attrs:{title:t}},[r._v(r._s(t))]),r._v(" "),i("div",{staticClass:"sm-component-identify__right",attrs:{title:e}},[r._v(r._s(e))])])}),0)},i=[]},"7aV9":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return e==="ප.ව."||e==="පස් වරු"},meridiem:function(e,t,n){if(e>11)return n?"ප.ව.":"පස් වරු";else return n?"පෙ.ව.":"පෙර වරු"}})}(n("wd/R"))},"7mrb":function(e,t,n){"use strict";n.r(t);var r=n("Nwvx");function i(e){var t=[1/0,1/0,-1/0,-1/0];return Object(r.coordEach)(e,function(e){t[0]>e[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]<e[0]&&(t[2]=e[0]),t[3]<e[1]&&(t[3]=e[1])}),t}var o=i.default=i,a=n("0wsv");t.default=function(e,t){void 0===t&&(t={});var n=((e=o(e))[0]+e[2])/2,e=(e[1]+e[3])/2;return Object(a.d)([n,e],t.properties,t)}},"7pJA":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.monthPickerTypes=t.default=void 0,r(n("C7dx"))),o=n("i9cM"),r=r(n("kuQC")),n=Object.assign({},(0,o.MonthPickerProps)()),o=(t.monthPickerTypes=n,{name:"SmMonthPicker",defaultComponent:i.default.MonthPicker,mixins:[r.default],props:n});t.default=o},"8/+R":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},r;e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="ਰਾਤ")return e<4?e:e+12;else if(t==="ਸਵੇਰ")return e;else if(t==="ਦੁਪਹਿਰ")return e>=10?e:e+12;else if(t==="ਸ਼ਾਮ")return e+12},meridiem:function(e,t,n){if(e<4)return"ਰਾਤ";else if(e<10)return"ਸਵੇਰ";else if(e<17)return"ਦੁਪਹਿਰ";else if(e<20)return"ਸ਼ਾਮ";else return"ਰਾਤ"},week:{dow:0,doy:6}})}(n("wd/R"))},"81VL":function(e,t,n){"use strict";n.r(t);var r,i=n("JNXO"),o=n("2EDF");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},"87oN":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this.slides,t=this.params,n=this.$wrapperEl,r=this.activeIndex,i=this.realIndex,o=this.virtual&&t.virtual.enabled;e.removeClass(t.slideActiveClass+" "+t.slideNextClass+" "+t.slidePrevClass+" "+t.slideDuplicateActiveClass+" "+t.slideDuplicateNextClass+" "+t.slideDuplicatePrevClass),o=o?this.$wrapperEl.find("."+t.slideClass+'[data-swiper-slide-index="'+r+'"]'):e.eq(r);o.addClass(t.slideActiveClass),t.loop&&(o.hasClass(t.slideDuplicateClass)?n.children("."+t.slideClass+":not(."+t.slideDuplicateClass+')[data-swiper-slide-index="'+i+'"]'):n.children("."+t.slideClass+"."+t.slideDuplicateClass+'[data-swiper-slide-index="'+i+'"]')).addClass(t.slideDuplicateActiveClass);r=o.nextAll("."+t.slideClass).eq(0).addClass(t.slideNextClass);t.loop&&0===r.length&&(r=e.eq(0)).addClass(t.slideNextClass);i=o.prevAll("."+t.slideClass).eq(0).addClass(t.slidePrevClass);t.loop&&0===i.length&&(i=e.eq(-1)).addClass(t.slidePrevClass);t.loop&&((r.hasClass(t.slideDuplicateClass)?n.children("."+t.slideClass+":not(."+t.slideDuplicateClass+')[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]'):n.children("."+t.slideClass+"."+t.slideDuplicateClass+'[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]')).addClass(t.slideDuplicateNextClass),(i.hasClass(t.slideDuplicateClass)?n.children("."+t.slideClass+":not(."+t.slideDuplicateClass+')[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]'):n.children("."+t.slideClass+"."+t.slideDuplicateClass+'[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]')).addClass(t.slideDuplicatePrevClass));this.emitSlidesClasses()}},"88Gu":function(e,t){var o=Date.now;e.exports=function(n){var r=0,i=0;return function(){var e=o(),t=16-(e-i);if(i=e,0<t){if(800<=++r)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}},"8HGC":function(e,t,n){"use strict";n.r(t);var r,i=n("bMiv");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"8HiI":function(e,t,n){"use strict";var r=n("JTf3"),i=n("IL+x"),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},"8ODz":function(e,t,n){"use strict";var r=n("++4Y"),i=n("FlRv"),o=n("4uGi");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"8Q8H":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("TFue"))),o=r(n("BhAg")),a=r(n("w4Wy")),r={name:"SmIndicator",components:{countTo:r(n("C07L")).default},mixins:[i.default,o.default],props:{title:{type:String,default:function(){return this.$t("indicator.title")}},unit:{type:String,default:function(){return this.$t("indicator.unit")}},indicatorColor:{type:String},textFontSize:{type:[String,Number]},fontSize:{type:[String,Number]},fontWeight:{type:[String,Number],default:"border"},num:{type:[Number,String],default:0},url:{type:String},proxy:{type:String},animated:{type:Boolean,default:!1},duration:{type:[Number,String],default:1e3},decimals:{type:Number,default:-1},mode:{type:String,default:"vertical",validator:function(){return["vertical","horizontal"]}},separator:{type:String,default:","},numSpacing:{type:Number,default:0},numBackground:{type:Object,default:function(){return{color:"rgba(0, 0, 0, 0)",image:"",padding:0}}},separatorBackground:{type:Boolean,default:!1},showTitleUnit:{type:Boolean,default:!0},titleField:String,numField:String,unitField:String,thresholdsStyle:Array},data:function(){return{indicatorColorData:"",titleData:this.title,unitData:this.unit,numData:0,startData:0,indicatorNum:0}},computed:{unit_titleStyle:function(){return{fontSize:this.textFontSize||.66*parseFloat(this.fontSize)+this.fontUnit,fontWeight:this.fontWeight}},fontUnit:function(){return this.fontSize&&isNaN(this.fontSize)?this.fontSize.replace(/\d+(\.\d+)?([a-z]+)/gi,"$2"):"px"},indicatorStyle:function(){var n=this,e=this.indicatorColorData,t={color:e=!isNaN(this.indicatorNum)&&this.thresholdsStyle&&(t=this.thresholdsStyle.find(function(e){var t;return e.min&&(t=+n.indicatorNum>=+e.min),t=e.max?(t=void 0===t||t)&&+n.indicatorNum<=+e.max:t}))?t.color:e};return"string"==typeof this.indicatorNum&&(t.fontSize=parseFloat(this.fontSize)+this.fontUnit),t},direction:function(){return{vertical:"column",horizontal:"row"}[this.mode]},filterSeparator:function(){return this.separator.replace(/\d+/,"")},calDecimals:function(){return 0<this.decimals?this.decimals:this.numData.toString().split(".")[1]?this.numData.toString().split(".")[1].length:0}},watch:{url:{handler:function(e){e?this.getData():(this.unitData=this.unit,this.changeNumData(this.num),this.titleData=this.title,this.fetchProperties=null)},immediate:!0},indicatorColor:function(e){this.indicatorColorData=e},proxy:function(){this.restService&&this.restService.setProxy(this.proxy),this.url&&this.getData()}},mounted:function(){var e=this;this.$on("theme-style-changed",function(){e.indicatorColorData=e.getColor(0)}),this.indicatorColorData=this.indicatorColor||this.getColor(0),this.partsOfPropsWatcher()},beforeDestroy:function(){this.restService&&this.restService.remove("getdatasucceeded")},methods:{partsOfPropsWatcher:function(){var e=this;["title","unit","num","titleField","unitField","numField"].forEach(function(t){e.$watch(t,function(e){switch(t){case"title":this.titleData=e;break;case"titleField":this.fetchProperties&&Object.prototype.hasOwnProperty.call(this.fetchProperties,e)?this.titleData=this.fetchProperties[this.titleField]:this.titleData=this.title;break;case"unit":this.unitData=e;break;case"unitField":this.fetchProperties&&Object.prototype.hasOwnProperty.call(this.fetchProperties,e)?this.unitData=this.fetchProperties[this.unitField]:this.unitData=this.unit;break;case"num":this.changeNumData(e);break;case"numField":this.fetchProperties&&Object.prototype.hasOwnProperty.call(this.fetchProperties,e)?this.changeNumData(this.fetchProperties[this.numField]):this.changeNumData(this.num)}})})},isNumber:function(e){return/^\d+$/.test(e)},timing:function(){this.getData()},fetchData:function(e){var e=e.features;e&&e.length&&(e=e[0].properties,this.fetchProperties=e,this.unitData=Object.prototype.hasOwnProperty.call(e,this.unitField)?e[this.unitField]:this.unit,Object.prototype.hasOwnProperty.call(e,this.numField)?this.changeNumData(e[this.numField]):this.changeNumData(this.num),this.titleData=Object.prototype.hasOwnProperty.call(e,this.titleField)?e[this.titleField]:this.title)},getData:function(){this.getRestService().getData(this.url)},changeNumData:function(e){var t=this.animated?+this.numData:+e;this.startData=isNaN(t)?0:t,this.numData=+e,this.indicatorNum=e},getRestService:function(){return this.restService||(this.restService=new a.default({proxy:this.proxy}),this.restService.on({getdatasucceeded:this.fetchData})),this.restService}}};t.default=r},"8UUx":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.radioTypes=t.default=void 0,r(n("0zjr"))),o=r(n("TFue")),a=r(n("WlrG")),r=r(n("ET/Y")),n={defaultChecked:r.default.bool,checked:r.default.bool,disabled:r.default.bool,value:r.default.any,autoFocus:r.default.bool},r=(t.radioTypes=n,{name:"SmRadio",defaultComponent:i.default,mixins:[o.default,a.default],inheritAttrs:!1,model:{prop:"checked",event:"input"},props:n,computed:{extralListeners:function(){var t=this;return{input:function(e){t.$emit("input",e)}}}}});t.default=r},"8Wwx":function(e,t,n){"use strict";n.r(t);var r,i=n("it7g"),o=n("dZA3");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},"8XH1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("DSM6");t.default=function(e){this.url=e.url,this.name=e.name||(0,r.geti18n)().t("commontypes.addressMatch"),this.proxy=e.proxy}},"8Ys4":function(e,t,n){"use strict";var l=n("n6S8"),u=n("tMNq"),c=n("oauk"),f=Array,h=Math.max;e.exports=function(e,t,n){for(var r=u(e),i=l(t,r),o=l(void 0===n?r:n,r),a=f(h(o-i,0)),s=0;i<o;i++,s++)c(a,s,e[i]);return a.length=s,a}},"8mBD":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},"8oxB":function(e,t){var n,r,e=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return(n=setTimeout)(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}var s,l=[],u=!1,c=-1;function f(){u&&s&&(u=!1,s.length?l=s.concat(l):c=-1,l.length)&&h()}function h(){if(!u){for(var e=a(f),t=(u=!0,l.length);t;){for(s=l,l=[];++c<t;)s&&s[c].run();c=-1,t=l.length}s=null,u=!1,!function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return(r=clearTimeout)(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new d(e,t)),1!==l.length||u||a(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=p,e.addListener=p,e.once=p,e.off=p,e.removeListener=p,e.removeAllListeners=p,e.emit=p,e.prependListener=p,e.prependOnceListener=p,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},"8pg5":function(e,t,n){"use strict";var r=n("TqRt"),r=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("/aIJ"),r(n("AzSJ"))),a=window.videojs||r.default,n={name:"videoplayer",props:{crossOrigin:{type:String,default:""},playsinline:{type:Boolean,default:!1},customEventName:{type:String,default:"statechanged"},options:{type:Object,required:!0},events:{type:Array,default:function(){return[]}},globalOptions:{type:Object,default:function(){return{autoplay:!0,controls:!0,language:"zh",inactivityTimeout:0,preload:"auto",fluid:!1,techOrder:["html5"],plugins:{}}}},globalEvents:{type:Array,default:function(){return[]}},trackList:{type:Array,default:function(){return[]}}},data:function(){return{player:null,reseted:!0}},methods:{initialize:function(){var i=this,o=this,e=this.$refs.video,t=Object.assign({},this.globalOptions,this.options);this.playsinline&&(e.setAttribute("playsinline",this.playsinline),e.setAttribute("webkit-playsinline",this.playsinline),e.setAttribute("x5-playsinline",this.playsinline),e.setAttribute("x5-video-player-type","h5"),e.setAttribute("x5-video-player-fullscreen",!1)),""!==this.crossOrigin&&(e.crossOrigin=this.crossOrigin,e.setAttribute("crossOrigin",this.crossOrigin)),t.plugins&&delete t.plugins.__ob__;this.player=a(e,t,function(){for(var e=this,t=["loadeddata","canplay","canplaythrough","play","pause","waiting","playing","ended","error"].concat(o.events).concat(o.globalEvents),n={},r=0;r<t.length;r++)"string"==typeof t[r]&&void 0===n[t[r]]&&!function(r){n[r]=null,e.on(r,function(){var e,t,n;t=!0,(e=r)&&i.$emit(e,i.player),t&&i.$emit(i.customEventName,((n={})[e]=t,n))})}(t[r]);o.$emit("ready",this)})},dispose:function(e){var t=this;this.player&&this.player.dispose&&("Flash"!==this.player.techName_&&this.player.pause&&this.player.pause(),this.player.dispose(),this.player=null,this.$nextTick(function(){t.reseted=!1,t.$nextTick(function(){t.reseted=!0,t.$nextTick(function(){e&&e()})})}))}},watch:{options:{deep:!0,handler:function(e,t){var n=this;this.dispose(function(){e&&e.sources&&e.sources.length&&n.initialize()})}}},mounted:function(){this.player||this.initialize()},beforeDestroy:function(){this.player&&this.dispose()}};t.default=n},"8siY":function(e,t,n){"use strict";n.r(t);var r,i=n("qCZ/"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"8xe4":function(e,t,n){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},"9/5/":function(f,e,t){!function(e){function v(){return n.Date.now()}var r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,e="object"==typeof e&&e&&e.Object===Object&&e,t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")(),c=Object.prototype.toString,b=Math.max,_=Math.min;function x(e){var t=typeof e;return e&&("object"==t||"function"==t)}function w(e){if("number"==typeof e)return e;if("symbol"==typeof(n=e)||!!(t=n)&&"object"==typeof t&&c.call(n)==i)return r;var t;if("string"!=typeof(e=x(e)?x(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):a.test(e)?r:+e}f.exports=function(r,n,e){var i,o,a,s,l,u,c=0,f=!1,h=!1,t=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function d(e){var t=i,n=o;return i=o=void 0,c=e,s=r.apply(n,t)}function p(e){var t=e-u;return void 0===u||n<=t||t<0||h&&a<=e-c}function y(){var e,t=v();if(p(t))return m(t);l=setTimeout(y,(e=n-((t=t)-u),h?_(e,a-(t-c)):e))}function m(e){return l=void 0,t&&i?d(e):(i=o=void 0,s)}function g(){var e=v(),t=p(e);if(i=arguments,o=this,u=e,t){if(void 0===l)return c=e=u,l=setTimeout(y,n),f?d(e):s;if(h)return l=setTimeout(y,n),d(u)}return void 0===l&&(l=setTimeout(y,n)),s}return n=w(n)||0,x(e)&&(f=!!e.leading,h="maxWait"in e,a=h?b(w(e.maxWait)||0,n):a,t="trailing"in e?!!e.trailing:t),g.cancel=function(){void 0!==l&&clearTimeout(l),i=u=o=l=void(c=0)},g.flush=function(){return void 0===l?s:m(v())},g}}.call(this,t("yLpj"))},"93I4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"9A0v":function(e,t,n){"use strict";n.r(t);var r,i=n("N5dz"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"9Anx":function(e,t,n){"use strict";n.r(t);var r=n("jo6Y"),a=n.n(r),r=n("m1cH"),f=n.n(r),r=n("QbLZ"),h=n.n(r),s=n("Sx0+"),r=n("sEfC"),l=n.n(r),r=n("TZE5"),u=n("aiEA"),c=n("yaTQ"),d=n("IbFF"),p=n("2qPA"),y="node",m="start",g="end";function v(e,r){(Object(c.j)(e)||[]).forEach(function(e){var t=e.key,n=Object(p.getSlots)(e).default;!1!==r(t,e)&&v("function"==typeof n?n():n,r)})}function b(e,n,r,i){var o=[],a=y;return r&&r===i?[r]:r&&i?(v(e,function(e){if(a===g)return!1;if((t=e)===r||t===i){if(o.push(e),a===y)a=m;else if(a===m)return a=g,!1}else a===m&&o.push(e);var t;return-1!==n.indexOf(e)}),o):[]}function _(e,t){var n=[].concat(f()(t)),r=[];return v(e,function(e,t){e=n.indexOf(e);return-1!==e&&(r.push(t),n.splice(e,1)),!!n.length}),r}var i=n("DGO/"),o=n("tIgm"),x=n("TfX5");function w(e,t){var n=e.isLeaf,e=e.expanded;return t(i.default,n?{attrs:{type:"file"}}:{attrs:{type:e?"folder-open":"folder"}})}t.default={name:"ADirectoryTree",mixins:[o.a],model:{prop:"checkedKeys",event:"check"},props:Object(p.initDefaultProps)(h()({},Object(d.TreeProps)(),{expandAction:r.a.oneOf([!1,"click","doubleclick","dblclick"])}),{showIcon:!0,expandAction:"click"}),inject:{configProvider:{default:function(){return x.a}}},data:function(){var e=Object(p.getOptionProps)(this),t=e.defaultExpandAll,n=e.defaultExpandParent,r=e.expandedKeys,i=e.defaultExpandedKeys,o=Object(c.h)(this.$slots.default).keyEntities,a={};return a._selectedKeys=e.selectedKeys||e.defaultSelectedKeys||[],t?e.treeData?a._expandedKeys=function t(e){var n=[];return(e||[]).forEach(function(e){n.push(e.key),e.children&&(n=[].concat(f()(n),f()(t(e.children))))}),n}(e.treeData):a._expandedKeys=(t=this.$slots.default,t=Object(c.h)(t).keyEntities,[].concat(f()(t.keys()))):a._expandedKeys=n?Object(c.f)(r||i,o):r||i,this.onDebounceExpand=l()(this.expandFolderNode,200,{leading:!0}),h()({_selectedKeys:[],_expandedKeys:[]},a)},watch:{expandedKeys:function(e){this.setState({_expandedKeys:e})},selectedKeys:function(e){this.setState({_selectedKeys:e})}},methods:{onExpand:function(e,t){this.setUncontrolledState({_expandedKeys:e}),this.$emit("expand",e,t)},onClick:function(e,t){"click"===this.$props.expandAction&&this.onDebounceExpand(e,t),this.$emit("click",e,t)},onDoubleClick:function(e,t){var n=this.$props.expandAction;"dblclick"!==n&&"doubleclick"!==n||this.onDebounceExpand(e,t),this.$emit("doubleclick",e,t),this.$emit("dblclick",e,t)},onSelect:function(e,t){var n=this.$props.multiple,r=this.$slots.default||[],i=this.$data._expandedKeys,i=void 0===i?[]:i,o=t.node,a=t.nativeEvent,o=o.eventKey,o=void 0===o?"":o,s={},l=h()({},t,{selected:!0}),u=a.ctrlKey||a.metaKey,a=a.shiftKey,c=void 0;n&&u?(c=e,this.lastSelectedKey=o,this.cachedSelectedKeys=c,l.selectedNodes=_(r,c)):n&&a?(c=Array.from(new Set([].concat(f()(this.cachedSelectedKeys||[]),f()(b(r,i,o,this.lastSelectedKey))))),l.selectedNodes=_(r,c)):(c=[o],this.lastSelectedKey=o,this.cachedSelectedKeys=c,l.selectedNodes=[t.node]),s._selectedKeys=c,this.$emit("update:selectedKeys",c),this.$emit("select",c,l),this.setUncontrolledState(s)},expandFolderNode:function(e,t){t.isLeaf||e.shiftKey||e.metaKey||e.ctrlKey||this.$refs.tree.$refs.tree&&this.$refs.tree.$refs.tree.onNodeExpand(e,t)},setUncontrolledState:function(e){e=Object(s.a)(e,Object.keys(Object(p.getOptionProps)(this)).map(function(e){return"_"+e}));Object.keys(e).length&&this.setState(e)}},render:function(){var e=arguments[0],t=Object(p.getOptionProps)(this),n=t.prefixCls,t=a()(t,["prefixCls"]),n=(0,this.configProvider.getPrefixCls)("tree",n),r=this.$data,i=r._expandedKeys,r=r._selectedKeys,o=Object(p.getListeners)(this),t=(Object(u.a)(!o.doubleclick,"`doubleclick` is deprecated. please use `dblclick` instead."),{props:h()({icon:w},t,{prefixCls:n,expandedKeys:i,selectedKeys:r,switcherIcon:Object(p.getComponentFromProp)(this,"switcherIcon")}),ref:"tree",class:n+"-directory",on:h()({},Object(s.a)(o,["update:selectedKeys"]),{select:this.onSelect,click:this.onClick,dblclick:this.onDoubleClick,expand:this.onExpand})});return e(d.default,t,[this.$slots.default])}}},"9Bi7":function(e,t,n){"use strict";var r=n("RYfq"),i=n("WhZm"),o=n("11yv"),a=n("++4Y"),s=o("species");e.exports=function(e){e=r(e);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},"9Nap":function(e,t,n){var r=n("/9aa");e.exports=function(e){var t;return"string"==typeof e||r(e)?e:"0"==(t=e+"")&&1/e==-1/0?"-0":t}},"9QBS":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this.$wrapperEl,n=this.params;n.loop&&this.loopDestroy();if("object"==typeof e&&"length"in e)for(var r=0;r<e.length;r+=1)e[r]&&t.append(e[r]);else t.append(e);n.loop&&this.loopCreate();n.observer&&this.support.observer||this.update()}},"9U/e":function(e,t,n){"use strict";var r=n("TZE5"),i=r.a.oneOf(["hover","focus","click","contextmenu"]);t.a=function(){return{trigger:r.a.oneOfType([i,r.a.arrayOf(i)]).def("hover"),visible:r.a.bool,defaultVisible:r.a.bool,placement:r.a.oneOf(["top","left","right","bottom","topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]).def("top"),transitionName:r.a.string.def("zoom-big-fast"),overlayStyle:r.a.object.def(function(){return{}}),overlayClassName:r.a.string,prefixCls:r.a.string,mouseEnterDelay:r.a.number.def(.1),mouseLeaveDelay:r.a.number.def(.1),getPopupContainer:r.a.func,arrowPointAtCenter:r.a.bool.def(!1),autoAdjustOverflow:r.a.oneOfType([r.a.bool,r.a.object]).def(!0),destroyTooltipOnHide:r.a.bool.def(!1),align:r.a.object.def(function(){return{}}),builtinPlacements:r.a.object}}},"9cj4":function(e,t,n){"use strict";var r=n("TqRt"),s=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("/xfr")),l=r(n("Jq2x")),i=n("cKS0");function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={onHashChange:function(){var e=(0,s.getDocument)(),e=(this.emit("hashChange"),e.location.hash.replace("#",""));e!==this.slides.eq(this.activeIndex).attr("data-hash")&&void 0!==(e=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index())&&this.slideTo(e)},setHash:function(){var e=(0,s.getWindow)(),t=(0,s.getDocument)();this.hashNavigation.initialized&&this.params.hashNavigation.enabled&&(this.params.hashNavigation.replaceState&&e.history&&e.history.replaceState?e.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1):(e=(e=this.slides.eq(this.activeIndex)).attr("data-hash")||e.attr("data-history"),t.location.hash=e||""),this.emit("hashSet"))},init:function(){var e=this,t=(0,s.getDocument)(),n=(0,s.getWindow)();if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var r=t.location.hash.replace("#","");if(r)for(var i=0,o=e.slides.length;i<o;i+=1){var a=e.slides.eq(i);(a.attr("data-hash")||a.attr("data-history"))!==r||a.hasClass(e.params.slideDuplicateClass)||(a=a.index(),e.slideTo(a,0,e.params.runCallbacksOnInit,!0))}e.params.hashNavigation.watchState&&(0,l.default)(n).on("hashchange",e.hashNavigation.onHashChange)}},destroy:function(){var e=(0,s.getWindow)();this.params.hashNavigation.watchState&&(0,l.default)(e).off("hashchange",this.hashNavigation.onHashChange)}};t.default={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){(0,i.bindModuleMethods)(this,{hashNavigation:o({initialized:!1},a)})},on:{init:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},"transitionEnd _freeModeNoMomentumRelease":function(e){e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange:function(e){e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}}},"9csQ":function(l,e,t){!function(e){var n=1/0,r="[object Symbol]",e="object"==typeof e&&e&&e.Object===Object&&e,t="object"==typeof self&&self&&self.Object===Object&&self,e=e||t||Function("return this")(),t=Object.prototype,i=0,o=t.toString,t=e.Symbol,e=t?t.prototype:void 0,a=e?e.toString:void 0;function s(e){var t;return"string"==typeof e?e:"symbol"==typeof(t=e)||function(e){return e&&"object"==typeof e}(t)&&o.call(t)==r?a?a.call(e):"":"0"==(t=e+"")&&1/e==-n?"-0":t}l.exports=function(e){var t=++i;return(null==(e=e)?"":s(e))+t}}.call(this,t("yLpj"))},"9csV":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("WW3/"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},"9ggG":function(e,t,n){var r=n("Z0cm"),i=n("/9aa"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){var n;return!r(e)&&(!("number"!=(n=typeof e)&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},"9gtR":function(e,t,n){var r=n("tjlA"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");e=i(e);return void 0!==t?"string"==typeof n?e.fill(t,n):e.fill(t):e.fill(0),e},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"9kws":function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),o=n.n(r),s=n("L81K"),l=n("DGO/"),u=3,c=void 0,f=void 0,h=1,d="ant-message",p="move-up",y=function(){return document.body},m=void 0;var a={open:function(r){function e(){f&&f.removeNotice(a)}var i=void 0!==r.duration?r.duration:u,o={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle",loading:"loading"}[r.type],a=r.key||h++,n=new Promise(function(e){function t(){return"function"==typeof r.onClose&&r.onClose(),e(!0)}var n;n=function(e){e.notice({key:a,duration:i,style:{},content:function(e){var t=e(l.default,{attrs:{type:o,theme:"loading"===o?"outlined":"filled"}}),t=o?t:"";return e("div",{class:d+"-custom-content"+(r.type?" "+d+"-"+r.type:"")},[r.icon?"function"==typeof r.icon?r.icon(e):r.icon:t,e("span",["function"==typeof r.content?r.content(e):r.content])])},onClose:t})},f?n(f):s.a.newInstance({prefixCls:d,transitionName:p,style:{top:c},getContainer:y,maxCount:m},function(e){n(f=f||e)})});return e.then=function(e,t){return n.then(e,t)},e.promise=n,e},config:function(e){void 0!==e.top&&(c=e.top,f=null),void 0!==e.duration&&(u=e.duration),void 0!==e.prefixCls&&(d=e.prefixCls),void 0!==e.getContainer&&(y=e.getContainer),void 0!==e.transitionName&&(p=e.transitionName,f=null),void 0!==e.maxCount&&(m=e.maxCount,f=null)},destroy:function(){f&&(f.destroy(),f=null)}};["success","info","warning","error","loading"].forEach(function(i){a[i]=function(e,t,n){var r;return r=e,"[object Object]"===Object.prototype.toString.call(r)&&r.content?a.open(o()({},e,{type:i})):("function"==typeof t&&(n=t,t=void 0),a.open({content:e,duration:t,type:i,onClose:n}))}}),a.warn=a.warning,t.default=a},"9pJD":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAACzdJREFUeAHt3VFu2jAcwGEHcZTugRtUPdZ6jl2r6g3yQO+S5Q9TMRSLJpbWOPnyFIjdOl+Y+ht0WZeO/e/U0tal9/R0eGtpydZKgAABAgRmCXz0L2lIz7Pm/tCk3Q993/nfNoAD2kaAAAECBNYs0GBUxOVoLyxi1eIiFGwECBAgsFaBRqMiLkebYRErFxehYCNAgACBtQk0HBVxKdoNi1i9uAgFGwECBAisRaDxqIjL0HZYxBmIi1CwESBAgEDrAiuIirgE+9vr0KX05/a5xT8exhUe+8Uv0wIJECBAgEBRIH6WNbiNy37Nl/0lLOLg8Osw9oWNAAECBAgQIFAW6I79dQ6Nt4Ro/6OQ8vk6QoAAAQIECPwvgX/3mdql2LERIECAAAECBOYKZDev3J3uYiku5lKaR4AAAQIEti2QRUVAnD8KiVtki4ttvzCcPQECBAgQmCNw899sXH7HQlzM4TSHAAECBAgQyAQuYRFP3lRHNs4uAQIECBAgQOChwHVYPBxuAAECBAgQIECgLCAsyjaOECBAgAABAhMFhMVEMMMJECBAgACBsoCwKNs4QoAAAQIECEwUEBYTwQwnQIAAAQIEygLComzjCAECBAgQIDBRQFhMBDOcAAECBAgQKAsIi7KNIwQIECBAgMBEAWExEcxwAgQIECBAoCwgLMo2jhAgQIAAAQITBYTFRDDDCRAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQKbEOiO/bCJE3WSBAgQIECAQJXAvWbYVX1FkwkQIECAAAECmYCwyDDsEiBAgAABAnUCwqLOz2wCBAgQIEAgExAWGYZdAgQIECBAoE5AWNT5mU2AAAECBAhkAsIiw7BLgAABAgQI1AkIizo/swkQIECAAIFMQFhkGHYJECBAgACBOgFhUednNgECBAgQIJAJCIsMwy4BAgQIECBQJyAs6vzMJkCAAAECBDIBYZFh2CVAgAABAgTqBK7D4qN/qftyZhMgQIAAAQJbFriERUTFkJ63jOHcCRAgQIAAgYkCN29KnMNCVExUNJwAAQIECBA4CcSbEllc7E4PvFPh1UGAAAECBAjMFcjiYu/jj7mK5hEgQIAAAQKfAue4SPvPJ7Kd7tgP2UO7BAgQIECAAIHHAmNcfAmLsSheH89c2Iguvaenw9vCVmU5BAgQIEDg+wIr+X3Hy78K+f6pL2ukqFjW9bAaAgQIEJgnEH9Bjp9pjW9th4WoaPzlZ/kECBAgcCWwgrhoNyxExdVr0QMCBAgQWIlA43HRZliIipX86XEaBAgQIHBXoOG4aC8sRMXd16AnCRAgQGBlAo3GxV/c4HmOBfV/nAAAAABJRU5ErkJggg=="},"9rNx":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAADXRJREFUeAHt3DFulAcYRVEcsRiW4X2wAAqUiobCVHFBQ4UosgD24WWwGyIKSxTDs681lsb5T5pE8z5PPMdIXM0Irj5/v/v56sL/+fj2+urCv0XfHgECBAgQeHaBl/B79l/PruB/QIAAAQIECBxG4Oq+frwrcJifuRdKgAABAgTOLnDfE96xODutJyRAgAABAscVEBbH/dl75QQIECBA4OwCwuLspJ6QAAECBAgcV0BYHPdn75UTIECAAIGzCwiLs5N6QgIECBAgcFyB1w+99C9v3l/833Px0GuwEyBAgAABAucR+PDj2/y7pR4Mi1/fxkNPcp5v1bMQIECAAAEClyzwmDcbfBRyyT9B3xsBAgQIEHhhAo96x+L+Nf19+6+PRe4x/JsAAQIECBxE4OvNu/nxx+8MKSx+feHdzT/Xvz+B/yZAgAABAgT+vwLXt5/uyqvzUUjRckuAAAECBAhMAWExeYwECBAgQIBAERAWRcstAQIECBAgMAWExeQxEiBAgAABAkVAWBQttwQIECBAgMAUEBaTx0iAAAECBAgUAWFRtNwSIECAAAECU0BYTB4jAQIECBAgUASERdFyS4AAAQIECEwBYTF5jAQIECBAgEAREBZFyy0BAgQIECAwBYTF5DESIECAAAECRUBYFC23BAgQIECAwBQQFpPHSIAAAQIECBQBYVG03BIgQIAAAQJTQFhMHiMBAgQIECBQBIRF0XJLgAABAgQITAFhMXmMBAgQIECAQBEQFkXLLQECBAgQIDAFhMXkMRIgQIAAAQJFQFgULbcECBAgQIDAFBAWk8dIgAABAgQIFAFhUbTcEiBAgAABAlNAWEweIwECBAgQIFAEhEXRckuAAAECBAhMAWExeYwECBAgQIBAERAWRcstAQIECBAgMAWExeQxEiBAgAABAkVAWBQttwQIECBAgMAUEBaTx0iAAAECBAgUAWFRtNwSIECAAAECU0BYTB4jAQIECBAgUASERdFyS4AAAQIECEwBYTF5jAQIECBAgEAREBZFyy0BAgQIECAwBYTF5DESIECAAAECRUBYFC23BAgQIECAwBQQFpPHSIAAAQIECBQBYVG03BIgQIAAAQJTQFhMHiMBAgQIECBQBIRF0XJLgAABAgQITAFhMXmMBAgQIECAQBEQFkXLLQECBAgQIDAFhMXkMRIgQIAAAQJFQFgULbcECBAgQIDAFBAWk8dIgAABAgQIFAFhUbTcEiBAgAABAlNAWEweIwECBAgQIFAEhEXRckuAAAECBAhMAWExeYwECBAgQIBAERAWRcstAQIECBAgMAWExeQxEiBAgAABAkVAWBQttwQIECBAgMAUEBaTx0iAAAECBAgUAWFRtNwSIECAAAECU0BYTB4jAQIECBAgUASERdFyS4AAAQIECEwBYTF5jAQIECBAgEAREBZFyy0BAgQIECAwBYTF5DESIECAAAECRUBYFC23BAgQIECAwBQQFpPHSIAAAQIECBQBYVG03BIgQIAAAQJTQFhMHiMBAgQIECBQBIRF0XJLgAABAgQITAFhMXmMBAgQIECAQBEQFkXLLQECBAgQIDAFhMXkMRIgQIAAAQJFQFgULbcECBAgQIDAFBAWk8dIgAABAgQIFAFhUbTcEiBAgAABAlNAWEweIwECBAgQIFAEhEXRckuAAAECBAhMAWExeYwECBAgQIBAERAWRcstAQIECBAgMAWExeQxEiBAgAABAkVAWBQttwQIECBAgMAUEBaTx0iAAAECBAgUAWFRtNwSIECAAAECU0BYTB4jAQIECBAgUASERdFyS4AAAQIECEwBYTF5jAQIECBAgEAREBZFyy0BAgQIECAwBYTF5DESIECAAAECRUBYFC23BAgQIECAwBQQFpPHSIAAAQIECBQBYVG03BIgQIAAAQJTQFhMHiMBAgQIECBQBIRF0XJLgAABAgQITAFhMXmMBAgQIECAQBEQFkXLLQECBAgQIDAFhMXkMRIgQIAAAQJFQFgULbcECBAgQIDAFBAWk8dIgAABAgQIFAFhUbTcEiBAgAABAlNAWEweIwECBAgQIFAEhEXRckuAAAECBAhMAWExeYwECBAgQIBAERAWRcstAQIECBAgMAWExeQxEiBAgAABAkVAWBQttwQIECBAgMAUEBaTx0iAAAECBAgUAWFRtNwSIECAAAECU0BYTB4jAQIECBAgUASERdFyS4AAAQIECEwBYTF5jAQIECBAgEAREBZFyy0BAgQIECAwBYTF5DESIECAAAECRUBYFC23BAgQIECAwBQQFpPHSIAAAQIECBQBYVG03BIgQIAAAQJTQFhMHiMBAgQIECBQBIRF0XJLgAABAgQITAFhMXmMBAgQIECAQBEQFkXLLQECBAgQIDAFhMXkMRIgQIAAAQJFQFgULbcECBAgQIDAFBAWk8dIgAABAgQIFAFhUbTcEiBAgAABAlNAWEweIwECBAgQIFAEhEXRckuAAAECBAhMAWExeYwECBAgQIBAERAWRcstAQIECBAgMAWExeQxEiBAgAABAkVAWBQttwQIECBAgMAUEBaTx0iAAAECBAgUAWFRtNwSIECAAAECU0BYTB4jAQIECBAgUASERdFyS4AAAQIECEwBYTF5jAQIECBAgEAREBZFyy0BAgQIECAwBYTF5DESIECAAAECRUBYFC23BAgQIECAwBQQFpPHSIAAAQIECBQBYVG03BIgQIAAAQJTQFhMHiMBAgQIECBQBIRF0XJLgAABAgQITAFhMXmMBAgQIECAQBEQFkXLLQECBAgQIDAFhMXkMRIgQIAAAQJFQFgULbcECBAgQIDAFBAWk8dIgAABAgQIFAFhUbTcEiBAgAABAlNAWEweIwECBAgQIFAEhEXRckuAAAECBAhMAWExeYwECBAgQIBAERAWRcstAQIECBAgMAWExeQxEiBAgAABAkVAWBQttwQIECBAgMAUEBaTx0iAAAECBAgUAWFRtNwSIECAAAECU0BYTB4jAQIECBAgUASERdFyS4AAAQIECEwBYTF5jAQIECBAgEAREBZFyy0BAgQIECAwBYTF5DESIECAAAECRUBYFC23BAgQIECAwBQQFpPHSIAAAQIECBQBYVG03BIgQIAAAQJTQFhMHiMBAgQIECBQBIRF0XJLgAABAgQITAFhMXmMBAgQIECAQBEQFkXLLQECBAgQIDAFhMXkMRIgQIAAAQJFQFgULbcECBAgQIDAFBAWk8dIgAABAgQIFAFhUbTcEiBAgAABAlNAWEweIwECBAgQIFAEhEXRckuAAAECBAhMAWExeYwECBAgQIBAERAWRcstAQIECBAgMAWExeQxEiBAgAABAkVAWBQttwQIECBAgMAUEBaTx0iAAAECBAgUAWFRtNwSIECAAAECU0BYTB4jAQIECBAgUASERdFyS4AAAQIECEwBYTF5jAQIECBAgEAREBZFyy0BAgQIECAwBYTF5DESIECAAAECRUBYFC23BAgQIECAwBQQFpPHSIAAAQIECBQBYVG03BIgQIAAAQJTQFhMHiMBAgQIECBQBIRF0XJLgAABAgQITAFhMXmMBAgQIECAQBEQFkXLLQECBAgQIDAFhMXkMRIgQIAAAQJFQFgULbcECBAgQIDAFBAWk8dIgAABAgQIFAFhUbTcEiBAgAABAlNAWEweIwECBAgQIFAEhEXRckuAAAECBAhMAWExeYwECBAgQIBAERAWRcstAQIECBAgMAWExeQxEiBAgAABAkVAWBQttwQIECBAgMAUEBaTx0iAAAECBAgUAWFRtNwSIECAAAECU0BYTB4jAQIECBAgUASERdFyS4AAAQIECEwBYTF5jAQIECBAgEAREBZFyy0BAgQIECAwBYTF5DESIECAAAECRUBYFC23BAgQIECAwBQQFpPHSIAAAQIECBQBYVG03BIgQIAAAQJTQFhMHiMBAgQIECBQBIRF0XJLgAABAgQITAFhMXmMBAgQIECAQBEQFkXLLQECBAgQIDAFhMXkMRIgQIAAAQJFQFgULbcECBAgQIDAFBAWk8dIgAABAgQIFAFhUbTcEiBAgAABAlNAWEweIwECBAgQIFAEhEXRckuAAAECBAhMAWExeYwECBAgQIBAERAWRcstAQIECBAgMAWExeQxEiBAgAABAkVAWBQttwQIECBAgMAUEBaTx0iAAAECBAgUAWFRtNwSIECAAAECU0BYTB4jAQIECBAgUASERdFyS4AAAQIECEwBYTF5jAQIECBAgEAREBZFyy0BAgQIECAwBYTF5DESIECAAAECRUBYFC23BAgQIECAwBR4PdcT4/Xtp7sTD3uIAAECBAgQIPAqhcXXm3dXzAgQIECAAAECfxLwUcifZDxOgAABAgQIZIFHvWPx5c37n/mZfQEBAgQIECBwOIEHw+LDj28+/jjcLwsvmAABAgQIPE3ARyFPc/NVBAgQIECAwAkBYXECxUMECBAgQIDA0wSExdPcfBUBAgQIECBwQkBYnEDxEAECBAgQIPA0AWHxNDdfRYAAAQIECJwQuPr8/e7i/yjpx7fX/mTKiR+ehwgQIEDgWAIv4fds71gc69ekV0uAAAECBJ5V4D9D2y5GdTuSHwAAAABJRU5ErkJggg=="},"9rRi":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t,n,r,i,o,a;e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:true,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=e===1?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n("wd/R"))},A2dy:function(e,t,n){"use strict";var r=n("nCzB"),c=n("m7zg"),f=n("8HiI"),i=n("zFjv"),o=n("8xe4"),h=n("nvEG");r({target:"Promise",stat:!0,forced:n("2YF/")},{all:function(e){var s=this,t=i.f(s),l=t.resolve,u=t.reject,n=o(function(){var r=f(s.resolve),i=[],o=0,a=1;h(e,function(e){var t=o++,n=!1;a++,c(r,s,e).then(function(e){n||(n=!0,i[t]=e,--a)||l(i)},u)}),--a||l(i)});return n.error&&u(n.value),t.promise}})},A5Xg:function(e,t,n){var r=n("NsO/"),i=n("ar/p").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){if(!a||"[object Window]"!=o.call(e))return i(r(e));try{return i(e)}catch(e){return a.slice()}}},A8UG:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("J4bC"))),o=r(n("tgvi")),a=r(n("sjD4")),s=r(n("TtXm")),l=r(n("Lpxi")),u=r(n("2Z54")),r=(o.default.install=function(e,t){(0,u.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default),e.component((a.default.options||a.default).name,a.default),e.component((s.default.options||s.default).name,s.default),e.component((l.default.options||l.default).name,l.default)},o.default);t.default=r},A90E:function(e,t,n){var r=n("6sVZ"),i=n("V6Ve"),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t,n=[];for(t in Object(e))o.call(e,t)&&"constructor"!=t&&n.push(t);return n}},ACDd:function(B,e,t){"use strict";t.r(e);var n=t("QbLZ"),P=t.n(n),n=t("jo6Y"),S=t.n(n),n=t("YEIV"),m=t.n(n),n=t("m1cH"),f=t.n(n),n=t("EJiy"),l=t.n(n),r=void 0,i=void 0,o={position:"absolute",top:"-9999px",width:"50px",height:"50px"},c="RC_TABLE_INTERNAL_COL_DEFINE";function g(e){var t,n=e.direction,e=e.prefixCls;return"undefined"==typeof document||"undefined"==typeof window?0:(n="vertical"===(void 0===n?"vertical":n))&&r?r:!n&&i?i:(t=document.createElement("div"),Object.keys(o).forEach(function(e){t.style[e]=o[e]}),t.className=e+"-hide-scrollbar scroll-div-append-to-body",n?t.style.overflowY="scroll":t.style.overflowX="scroll",document.body.appendChild(t),e=0,n?(e=t.offsetWidth-t.clientWidth,r=e):(e=t.offsetHeight-t.clientHeight,i=e),document.body.removeChild(t),e)}var n=t("kvrn"),v=t.n(n),n=t("Gytx"),s=t.n(n),n=t("QkVN"),R=t.n(n),n=t("PFWz"),N=t.n(n),n=t("TSYQ"),C=t.n(n),n=t("TZE5"),O=t("aiEA"),z=t("yMYy"),F=t("b1SC"),V=t("MujB"),a=t("iCc5"),H=t.n(a),a=t("V7oC");function u(e){H()(this,u),this.columns=e,this._cached={}}t.n(a)()(u,[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",function(){return e.columns.some(function(e){return!!e.fixed})})}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",function(){return e.columns.some(function(e){return"left"===e.fixed||!0===e.fixed})})}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",function(){return e.columns.some(function(e){return"right"===e.fixed})})}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",function(){return e.groupedColumns().filter(function(e){return"left"===e.fixed||!0===e.fixed})})}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",function(){return e.groupedColumns().filter(function(e){return"right"===e.fixed})})}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",function(){return e._leafColumns(e.columns)})}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",function(){return e._leafColumns(e.leftColumns())})}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",function(){return e._leafColumns(e.rightColumns())})}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",function(){return function r(i){function o(e){var t=l.length-a;e&&!e.children&&1<t&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)}var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},l=3<arguments.length&&void 0!==arguments[3]?arguments[3]:[],u=(l[a]=l[a]||[],[]);return i.forEach(function(e,t){e=P()({},e);l[a].push(e),s.colSpan=s.colSpan||0,e.children&&0<e.children.length?(e.children=r(e.children,a+1,e,l),s.colSpan+=e.colSpan):s.colSpan+=1;for(var n=0;n<l[a].length-1;n+=1)o(l[a][n]);t+1===i.length&&o(e),u.push(e)}),u}(e.columns)})}},{key:"reset",value:function(e){this.columns=e,this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach(function(e){e.children?n.push.apply(n,f()(t._leafColumns(e.children))):n.push(e)}),n}}]);var Y=u,G={name:"ColGroup",props:{fixed:n.a.string,columns:n.a.array},inject:{table:{default:function(){return{}}}},render:function(){var i=arguments[0],e=this.fixed,t=this.table,n=t.prefixCls,r=t.expandIconAsCell,t=t.columnManager,o=[],r=(r&&"right"!==e&&o.push(i("col",{class:n+"-expand-icon-col",key:"rc-table-expand-icon-col"})),void 0),r="left"===e?t.leftLeafColumns():"right"===e?t.rightLeafColumns():t.leafColumns(),o=o.concat(r.map(function(e){var t=e.key,n=e.dataIndex,r=e.width,e=e[c],t=void 0!==t?t:n,n="number"==typeof r?r+"px":r;return i("col",v()([{key:t,style:{width:n,minWidth:n}},e]))}));return i("colgroup",[o])}},a=t("6Qq3"),k=t("2qPA"),h={props:{index:n.a.number,fixed:n.a.string,columns:n.a.array,rows:n.a.array,row:n.a.array,components:n.a.object,height:n.a.any,customHeaderRow:n.a.func,prefixCls:n.a.prefixCls},name:"TableHeaderRow",render:function(a){var e=this.row,t=this.index,n=this.height,r=this.components,i=this.customHeaderRow,s=this.prefixCls,o=r.header.row,l=r.header.cell,r=i(e.map(function(e){return e.column}),t),i=r?r.style:{},t=P()({height:n},i);return null===t.height&&delete t.height,a(o,v()([r,{style:t}]),[e.map(function(e,t){var n=e.column,r=e.isLast,i=e.children,e=(e.className,S()(e,["column","isLast","children","className"])),o=n.customHeaderCell?n.customHeaderCell(n):{},e=Object(k.mergeProps)({attrs:P()({},e)},P()({},o,{key:n.key||n.dataIndex||t}));return n.align&&(e.style=P()({},o.style,{textAlign:n.align})),e.class=C()(o.class,o.className,n.class,n.className,(t={},m()(t,s+"-align-"+n.align,!!n.align),m()(t,s+"-row-cell-ellipsis",!!n.ellipsis),m()(t,s+"-row-cell-break-word",!!n.width),m()(t,s+"-row-cell-last",r),t)),"function"==typeof l?l(a,e,i):a(l,e,[i])})])}};var U=Object(a.a)(function(e,t){return{height:(n=t,e=(e=e).fixedColumnsHeadRowsHeight,r=t.columns,i=t.rows,n=t.fixed,e=e[0],n&&e&&r?"auto"===e?"auto":e/i.length+"px":null)};var n,r,i})(h);var Q={name:"TableHeader",props:{fixed:n.a.string,columns:n.a.array.isRequired,expander:n.a.object.isRequired},inject:{table:{default:function(){return{}}}},render:function(){var n,r=arguments[0],e=this.table,i=e.sComponents,o=e.prefixCls,t=e.showHeader,a=e.customHeaderRow,e=this.expander,s=this.columns,l=this.fixed;return t?(n=function r(e){var t=e.columns,i=void 0===t?[]:t,t=e.currentRow,o=void 0===t?0:t,t=e.rows,a=void 0===t?[]:t,t=e.isLast,s=void 0===t||t;return(a=a||[])[o]=a[o]||[],i.forEach(function(e,t){if(e.rowSpan&&a.length<e.rowSpan)for(;a.length<e.rowSpan;)a.push([]);var t=s&&t===i.length-1,n={key:e.key,className:e.className||e.class||"",children:e.title,isLast:t,column:e};e.children&&r({columns:e.children,currentRow:o+1,rows:a,isLast:t}),"colSpan"in e&&(n.colSpan=e.colSpan),"rowSpan"in e&&(n.rowSpan=e.rowSpan),0!==n.colSpan&&a[o].push(n)}),a.filter(function(e){return 0<e.length})}({columns:s}),e.renderExpandIndentCell(n,l),t=i.header.wrapper,r(t,{class:o+"-thead"},[n.map(function(e,t){return r(U,{attrs:{prefixCls:o,index:t,fixed:l,columns:s,rows:n,row:e,components:i,customHeaderRow:a},key:t})})])):null}},h=t("mwIZ"),W=t.n(h);function q(e){return e&&!Object(k.isValidElement)(e)&&"[object Object]"===Object.prototype.toString.call(e)}var K={name:"TableCell",props:{record:n.a.object,prefixCls:n.a.string,index:n.a.number,indent:n.a.number,indentSize:n.a.number,column:n.a.object,expandIcon:n.a.any,component:n.a.any},inject:{table:{default:function(){return{}}}},methods:{handleClick:function(e){var t=this.record,n=this.column.onCellClick;n&&n(t,e)}},render:function(){var e=arguments[0],t=this.record,n=this.indentSize,r=this.prefixCls,i=this.indent,o=this.index,a=this.expandIcon,s=this.column,l=this.component,u=s.dataIndex,c=s.customRender,f=s.className,f=void 0===f?"":f,h=this.table.transformCellText,d=void 0,d="number"==typeof u||u&&0!==u.length?W()(t,u):t,u={props:{},attrs:{},on:{click:this.handleClick}},p=void 0,y=void 0,c=(c&&q(d=c(d,t,o,s))&&(u.attrs=d.attrs||{},u.props=d.props||{},u.class=d.class,u.style=d.style,p=u.attrs.colSpan,y=u.attrs.rowSpan,d=d.children),s.customCell&&(u=Object(k.mergeProps)(u,s.customCell(t,o))),q(d)&&(d=null),h&&(d=h({text:d,column:s,record:t,index:o})),a?e("span",{style:{paddingLeft:n*i+"px"},class:r+"-indent indent-level-"+i}):null);if(0===y||0===p)return null;s.align&&(u.style=P()({textAlign:s.align},u.style));t=C()(f,s.class,(h={},m()(h,r+"-cell-ellipsis",!!s.ellipsis),m()(h,r+"-cell-break-word",!!s.width),h));return s.ellipsis&&"string"==typeof d&&(u.attrs.title=d),e(l,v()([{class:t},u]),[c,a,d])}},h=t("tIgm");function E(){}var d={name:"TableRow",mixins:[h.a],props:Object(k.initDefaultProps)({customRow:n.a.func,record:n.a.object,prefixCls:n.a.string,columns:n.a.array,height:n.a.oneOfType([n.a.string,n.a.number]),index:n.a.number,rowKey:n.a.oneOfType([n.a.string,n.a.number]).isRequired,className:n.a.string,indent:n.a.number,indentSize:n.a.number,hasExpandIcon:n.a.func,hovered:n.a.bool.isRequired,visible:n.a.bool.isRequired,store:n.a.object.isRequired,fixed:n.a.oneOfType([n.a.string,n.a.bool]),renderExpandIcon:n.a.func,renderExpandIconCell:n.a.func,components:n.a.any,expandedRow:n.a.bool,isAnyColumnsFixed:n.a.bool,ancestorKeys:n.a.array.isRequired,expandIconColumnIndex:n.a.number,expandRowByClick:n.a.bool},{hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}}),data:function(){return{shouldRender:this.visible}},mounted:function(){var e=this;this.shouldRender&&this.$nextTick(function(){e.saveRowRef()})},watch:{visible:function(e){e&&(this.shouldRender=!0)}},updated:function(){var e=this;this.shouldRender&&!this.rowRef&&this.$nextTick(function(){e.saveRowRef()})},methods:{onRowClick:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:E,n=this.record,r=this.index;this.__emit("rowClick",n,r,e),t(e)},onRowDoubleClick:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:E,n=this.record,r=this.index;this.__emit("rowDoubleClick",n,r,e),t(e)},onContextMenu:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:E,n=this.record,r=this.index;this.__emit("rowContextmenu",n,r,e),t(e)},onMouseEnter:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:E,n=this.record,r=this.index,i=this.rowKey;this.__emit("hover",!0,i),this.__emit("rowMouseenter",n,r,e),t(e)},onMouseLeave:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:E,n=this.record,r=this.index,i=this.rowKey;this.__emit("hover",!1,i),this.__emit("rowMouseleave",n,r,e),t(e)},setExpandedRowHeight:function(){var e=this.store,t=this.rowKey,n=e.getState().expandedRowsHeight,r=this.rowRef.getBoundingClientRect().height,n=P()({},n,m()({},t,r));e.setState({expandedRowsHeight:n})},setRowHeight:function(){var e=this.store,t=this.rowKey,n=e.getState().fixedColumnsBodyRowsHeight,r=this.rowRef.getBoundingClientRect().height;e.setState({fixedColumnsBodyRowsHeight:P()({},n,m()({},t,r))})},getStyle:function(){var e=this.height,t=this.visible,n=Object(k.getStyle)(this);return e&&(n=P()({},n,{height:e})),n=t||n.display?n:P()({},n,{display:"none"})},saveRowRef:function(){this.rowRef=this.$el;var e=this.isAnyColumnsFixed,t=this.fixed,n=this.expandedRow,r=this.ancestorKeys;e&&(!t&&n&&this.setExpandedRowHeight(),!t)&&0<=r.length&&this.setRowHeight()}},render:function(){var t=this,e=arguments[0];if(!this.shouldRender)return null;var n=this.prefixCls,r=this.columns,i=this.record,o=this.rowKey,a=this.index,s=this.customRow,s=void 0===s?E:s,l=this.indent,u=this.indentSize,c=this.hovered,f=this.height,h=this.visible,d=this.components,p=this.hasExpandIcon,y=this.renderExpandIcon,m=this.renderExpandIconCell,g=d.body.row,v=d.body.cell,d="",b=(c&&(d+=" "+n+"-hover"),[]);m(b);for(var _=0;_<r.length;_+=1){var x=r[_];Object(O.a)(void 0===x.onCellClick,"column[onCellClick] is deprecated, please use column[customCell] instead."),b.push(e(K,{attrs:{prefixCls:n,record:i,indentSize:u,indent:l,index:a,column:x,expandIcon:p(_)&&y(),component:v},key:x.key||x.dataIndex}))}var c=s(i,a)||{},m=c.class,s=c.className,w=c.style,c=S()(c,["class","className","style"]),f={height:"number"==typeof f?f+"px":f},h=(h||(f.display="none"),f=P()({},f,w),C()(n,d,n+"-level-"+l,s,m)),A=c.on||{};return e(g,Object(k.mergeProps)(P()({},c,{style:f}),{on:{click:function(e){t.onRowClick(e,A.click)},dblclick:function(e){t.onRowDoubleClick(e,A.dblclick)},mouseenter:function(e){t.onMouseEnter(e,A.mouseenter)},mouseleave:function(e){t.onMouseLeave(e,A.mouseleave)},contextmenu:function(e){t.onContextMenu(e,A.contextmenu)}},class:h},{attrs:{"data-row-key":o}}),[b])}};var X=Object(a.a)(function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,i=t.rowKey,o=t.ancestorKeys;return{visible:0===o.length||o.every(function(e){return r.includes(e)}),hovered:n===i,height:(o=t,i=(n=e).expandedRowsHeight,n=e.fixedColumnsBodyRowsHeight,t=o.fixed,o=o.rowKey,t&&(i[o]||n[o])||null)}})(d),J={name:"ExpandIcon",mixins:[h.a],props:{record:n.a.object,prefixCls:n.a.string,expandable:n.a.any,expanded:n.a.bool,needIndentSpaced:n.a.bool},methods:{onExpand:function(e){this.__emit("expand",this.record,e)}},render:function(){var e=arguments[0],t=this.expandable,n=this.prefixCls,r=this.onExpand,i=this.needIndentSpaced,o=this.expanded;return t?e("span",{class:n+"-expand-icon "+n+"-"+(o?"expanded":"collapsed"),on:{click:r}}):i?e("span",{class:n+"-expand-icon "+n+"-spaced"}):null}},d={mixins:[h.a],name:"ExpandableRow",props:{prefixCls:n.a.string.isRequired,rowKey:n.a.oneOfType([n.a.string,n.a.number]).isRequired,fixed:n.a.oneOfType([n.a.string,n.a.bool]),record:n.a.oneOfType([n.a.object,n.a.array]).isRequired,indentSize:n.a.number,needIndentSpaced:n.a.bool.isRequired,expandRowByClick:n.a.bool,expanded:n.a.bool.isRequired,expandIconAsCell:n.a.bool,expandIconColumnIndex:n.a.number,childrenColumnName:n.a.string,expandedRowRender:n.a.func,expandIcon:n.a.func},beforeDestroy:function(){this.handleDestroy()},methods:{hasExpandIcon:function(e){var t=this.$props,n=t.expandRowByClick,t=t.expandIcon;return!(this.tempExpandIconAsCell||e!==this.tempExpandIconColumnIndex||!t&&n)},handleExpandChange:function(e,t){var n=this.expanded,r=this.rowKey;this.__emit("expandedChange",!n,e,t,r)},handleDestroy:function(){var e=this.rowKey,t=this.record;this.__emit("expandedChange",!1,t,null,e,!0)},handleRowClick:function(e,t,n){this.expandRowByClick&&this.handleExpandChange(e,n),this.__emit("rowClick",e,t,n)},renderExpandIcon:function(){var e=this.$createElement,t=this.prefixCls,n=this.expanded,r=this.record,i=this.needIndentSpaced,o=this.expandIcon;return o?o({prefixCls:t,expanded:n,record:r,needIndentSpaced:i,expandable:this.expandable,onExpand:this.handleExpandChange}):e(J,{attrs:{expandable:this.expandable,prefixCls:t,needIndentSpaced:i,expanded:n,record:r},on:{expand:this.handleExpandChange}})},renderExpandIconCell:function(e){var t,n=this.$createElement;this.tempExpandIconAsCell&&(t=this.prefixCls,e.push(n("td",{class:t+"-expand-icon-cell",key:"rc-table-expand-icon-cell"},[this.renderExpandIcon()])))}},render:function(){var e=this.childrenColumnName,t=this.expandedRowRender,n=this.indentSize,r=this.record,i=this.fixed,o=this.$scopedSlots,a=this.expanded,i=(this.tempExpandIconAsCell="right"!==i&&this.expandIconAsCell,this.tempExpandIconColumnIndex="right"!==i?this.expandIconColumnIndex:-1,r[e]),r=(this.expandable=!(!i&&!t),{props:{indentSize:n,expanded:a,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell},on:{rowClick:this.handleRowClick}});return o.default&&o.default(r)}},$=Object(a.a)(function(e,t){e=e.expandedRowKeys,t=t.rowKey;return{expanded:e.includes(t)}})(d);function T(){}var d={name:"BaseTable",props:{fixed:n.a.oneOfType([n.a.string,n.a.bool]),columns:n.a.array.isRequired,tableClassName:n.a.string.isRequired,hasHead:n.a.bool.isRequired,hasBody:n.a.bool.isRequired,store:n.a.object.isRequired,expander:n.a.object.isRequired,getRowKey:n.a.func,isAnyColumnsFixed:n.a.bool},inject:{table:{default:function(){return{}}}},methods:{getColumns:function(e){var t=this.$props,n=t.columns,n=void 0===n?[]:n,r=t.fixed,i=this.table.$props.prefixCls;return(e||n).map(function(e){return P()({},e,{className:e.fixed&&!r?C()(i+"-fixed-columns-in-body",e.className||e.class):e.className||e.class})})},handleRowHover:function(e,t){this.store.setState({currentHoverKey:e?t:null})},renderRows:function(l,u){for(var c=this,f=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],h=this.$createElement,e=this.table,d=e.columnManager,p=e.sComponents,y=e.prefixCls,m=e.childrenColumnName,g=e.rowClassName,e=e.customRow,v=void 0===e?T:e,e=Object(k.getListeners)(this.table),t=e.rowClick,b=void 0===t?T:t,t=e.rowDoubleclick,_=void 0===t?T:t,t=e.rowContextmenu,x=void 0===t?T:t,t=e.rowMouseenter,w=void 0===t?T:t,t=e.rowMouseleave,A=void 0===t?T:t,S=this.getRowKey,C=this.fixed,O=this.expander,E=this.isAnyColumnsFixed,M=[],n=0;n<l.length;n+=1)!function(t){var n=l[t],r=S(n,t),i="string"==typeof g?g:g(n,t,u),o={},a=(d.isAnyColumnsFixed()&&(o.hover=c.handleRowHover),void 0),a="left"===C?d.leftLeafColumns():"right"===C?d.rightLeafColumns():c.getColumns(d.leafColumns()),s=y+"-row",e={props:P()({},O.props,{fixed:C,index:t,prefixCls:s,record:n,rowKey:r,needIndentSpaced:O.needIndentSpaced}),key:r,on:{rowClick:b,expandedChange:O.handleExpandChange},scopedSlots:{default:function(e){e=Object(k.mergeProps)({props:{fixed:C,indent:u,record:n,index:t,prefixCls:s,childrenColumnName:m,columns:a,rowKey:r,ancestorKeys:f,components:p,isAnyColumnsFixed:E,customRow:v},on:P()({rowDoubleclick:_,rowContextmenu:x,rowMouseenter:w,rowMouseleave:A},o),class:i,ref:"row_"+t+"_"+u},e);return h(X,e)}}},e=h($,e);M.push(e),O.renderRows(c.renderRows,M,n,t,u,C,r,f)}(n);return M}},render:function(){var e=arguments[0],t=this.table,n=t.sComponents,r=t.prefixCls,i=t.scroll,o=t.data,t=t.getBodyWrapper,a=this.$props,s=a.expander,l=a.tableClassName,u=a.hasHead,c=a.hasBody,f=a.fixed,a=a.isAnyColumnsFixed,h=this.getColumns(),d={},i=(!f&&i.x&&(d.width=!0===i.x?a?"max-content":"auto":i.x,d.width="number"==typeof d.width?d.width+"px":d.width),f&&0<(a=h.reduce(function(e,t){t=t.width;return e+parseFloat(t,10)},0))&&(d.width=a+"px"),c?n.table:"table"),a=n.body.wrapper,n=void 0;return c&&(n=e(a,{class:r+"-tbody"},[this.renderRows(o,0)]),t)&&(n=t(n)),e(i,{class:l,style:d,key:"table"},[e(G,{attrs:{columns:h,fixed:f}}),u&&e(Q,{attrs:{expander:s,columns:h,fixed:f}}),n])}},Z=Object(a.a)()(d),ee={name:"HeadTable",props:{fixed:n.a.oneOfType([n.a.string,n.a.bool]),columns:n.a.array.isRequired,tableClassName:n.a.string.isRequired,handleBodyScrollLeft:n.a.func.isRequired,expander:n.a.object.isRequired},inject:{table:{default:function(){return{}}}},render:function(){var e=arguments[0],t=this.columns,n=this.fixed,r=this.tableClassName,i=this.handleBodyScrollLeft,o=this.expander,a=this.table,s=a.prefixCls,l=a.scroll,u=a.showHeader,c=a.saveRef,a=a.useFixedHeader,f={},h=g({direction:"vertical"});return l.y&&(a=!0,0<(l=g({direction:"horizontal",prefixCls:s})))&&!n&&(f.marginBottom="-"+l+"px",f.paddingBottom="0px",f.minWidth=h+"px",f.overflowX="scroll",f.overflowY=0===h?"hidden":"scroll"),a&&u?e("div",v()([{key:"headTable"},{directives:[{name:"ant-ref",value:n?function(){}:c("headTable")}]},{class:C()(s+"-header",m()({},s+"-hide-scrollbar",0<h)),style:f,on:{scroll:i}}]),[e(Z,{attrs:{tableClassName:r,hasHead:!0,hasBody:!1,fixed:n,columns:t,expander:o}})]):null}},te={name:"BodyTable",props:{fixed:n.a.oneOfType([n.a.string,n.a.bool]),columns:n.a.array.isRequired,tableClassName:n.a.string.isRequired,handleBodyScroll:n.a.func.isRequired,handleWheel:n.a.func.isRequired,getRowKey:n.a.func.isRequired,expander:n.a.object.isRequired,isAnyColumnsFixed:n.a.bool},inject:{table:{default:function(){return{}}}},render:function(){var e=arguments[0],t=this.table,n=t.prefixCls,t=t.scroll,r=this.columns,i=this.fixed,o=this.tableClassName,a=this.getRowKey,s=this.handleBodyScroll,l=this.handleWheel,u=this.expander,c=this.isAnyColumnsFixed,f=this.table,h=f.useFixedHeader,f=f.saveRef,d=P()({},this.table.bodyStyle),p={},y=((t.x||i)&&(d.overflowX=d.overflowX||"scroll",d.WebkitTransform="translate3d (0, 0, 0)"),t.y&&(y="number"==typeof(y=d.maxHeight||t.y)?y+"px":y,i?(p.maxHeight=y,p.overflowY=d.overflowY||"scroll"):d.maxHeight=y,d.overflowY=d.overflowY||"scroll",h=!0,0<(y=g({direction:"vertical"})))&&i&&(d.marginBottom="-"+y+"px",d.paddingBottom="0px"),e(Z,{attrs:{tableClassName:o,hasHead:!h,hasBody:!0,fixed:i,columns:r,expander:u,getRowKey:a,isAnyColumnsFixed:c}}));return i&&r.length?(o=void 0,"left"===r[0].fixed||!0===r[0].fixed?o="fixedColumnsBodyLeft":"right"===r[0].fixed&&(o="fixedColumnsBodyRight"),delete d.overflowX,delete d.overflowY,e("div",{key:"bodyTable",class:n+"-body-outer",style:P()({},d)},[e("div",v()([{class:n+"-body-inner",style:p},{directives:[{name:"ant-ref",value:f(o)}]},{on:{wheel:l,scroll:s}}]),[y])])):(h=t&&(t.x||t.y),e("div",v()([{attrs:{tabIndex:h?-1:void 0},key:"bodyTable",class:n+"-body",style:d},{directives:[{name:"ant-ref",value:f("bodyTable")}]},{on:{wheel:l,scroll:s}}]),[y]))}},d={name:"ExpandableTable",mixins:[h.a],props:Object(k.initDefaultProps)({expandIconAsCell:n.a.bool,expandRowByClick:n.a.bool,expandedRowKeys:n.a.array,expandedRowClassName:n.a.func,defaultExpandAllRows:n.a.bool,defaultExpandedRowKeys:n.a.array,expandIconColumnIndex:n.a.number,expandedRowRender:n.a.func,expandIcon:n.a.func,childrenColumnName:n.a.string,indentSize:n.a.number,columnManager:n.a.object.isRequired,store:n.a.object.isRequired,prefixCls:n.a.string.isRequired,data:n.a.array,getRowKey:n.a.func},{expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15}),data:function(){var e=this.data,t=this.childrenColumnName,n=this.defaultExpandAllRows,r=this.expandedRowKeys,i=this.defaultExpandedRowKeys,o=this.getRowKey,a=[],s=[].concat(f()(e));if(n)for(var l=0;l<s.length;l+=1){var u=s[l];a.push(o(u,l)),s=s.concat(u[t]||[])}else a=r||i;return this.store.setState({expandedRowsHeight:{},expandedRowKeys:a}),{}},mounted:function(){this.handleUpdated()},updated:function(){this.handleUpdated()},watch:{expandedRowKeys:function(e){var t=this;this.$nextTick(function(){t.store.setState({expandedRowKeys:e})})}},methods:{handleUpdated:function(){this.latestExpandedRows=null},handleExpandChange:function(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]&&arguments[4];n&&(n.preventDefault(),n.stopPropagation());var o,a,n=this.store.getState().expandedRowKeys;e?n=[].concat(f()(n),[r]):-1!==n.indexOf(r)&&(r=r,r=(o=n).indexOf(r),a=o.slice(0,r),r=o.slice(r+1,o.length),n=a.concat(r)),this.expandedRowKeys||this.store.setState({expandedRowKeys:n}),this.latestExpandedRows&&s()(this.latestExpandedRows,n)||(this.latestExpandedRows=n,this.__emit("expandedRowsChange",n)),i||this.__emit("expand",e,t)},renderExpandIndentCell:function(e,t){var n=this.prefixCls;this.expandIconAsCell&&"right"!==t&&e.length&&(t={key:"rc-table-expand-icon-cell",className:n+"-expand-icon-th",title:"",rowSpan:e.length},e[0].unshift(P()({},t,{column:t})))},renderExpandedRow:function(t,n,r,e,i,o,a){var s=this,l=this.$createElement,u=this.prefixCls,c=this.expandIconAsCell,f=this.indentSize,h=i[i.length-1],d=h+"-extra-row",p=void 0,p=("left"===a?this.columnManager.leftLeafColumns():"right"===a?this.columnManager.rightLeafColumns():this.columnManager.leafColumns()).length,y=[{key:"extra-row",customRender:function(){var e=s.store.getState().expandedRowKeys.includes(h);return{attrs:{colSpan:p},children:"right"!==a?r(t,n,o,e):" "}}}];return c&&"right"!==a&&y.unshift({key:"expand-icon-placeholder",customRender:function(){return null}}),l(X,{key:d,attrs:{columns:y,rowKey:d,ancestorKeys:i,prefixCls:u+"-expanded-row",indentSize:f,indent:o,fixed:a,components:{body:{row:"tr",cell:"td"}},expandedRow:!0,hasExpandIcon:function(){}},class:e})},renderRows:function(e,t,n,r,i,o,a,s){var l=this.expandedRowClassName,u=this.expandedRowRender,c=n[this.childrenColumnName],s=[].concat(f()(s),[a]),a=i+1;u&&t.push(this.renderExpandedRow(n,r,u,l(n,r,i),s,a,o)),c&&t.push.apply(t,f()(e(c,a,s)))}},render:function(){var e=this.data,t=this.childrenColumnName,n=this.$scopedSlots,r=Object(k.getOptionProps)(this),e=e.some(function(e){return e[t]});return n.default&&n.default({props:r,on:Object(k.getListeners)(this),needIndentSpaced:e,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}},ne=Object(a.a)()(d),re={name:"Table",mixins:[h.a],props:Object(k.initDefaultProps)({data:n.a.array,useFixedHeader:n.a.bool,columns:n.a.array,prefixCls:n.a.string,bodyStyle:n.a.object,rowKey:n.a.oneOfType([n.a.string,n.a.func]),rowClassName:n.a.oneOfType([n.a.string,n.a.func]),customRow:n.a.func,customHeaderRow:n.a.func,showHeader:n.a.bool,title:n.a.func,id:n.a.string,footer:n.a.func,emptyText:n.a.any,scroll:n.a.object,rowRef:n.a.func,getBodyWrapper:n.a.func,components:n.a.shape({table:n.a.any,header:n.a.shape({wrapper:n.a.any,row:n.a.any,cell:n.a.any}),body:n.a.shape({wrapper:n.a.any,row:n.a.any,cell:n.a.any})}),expandIconAsCell:n.a.bool,expandedRowKeys:n.a.array,expandedRowClassName:n.a.func,defaultExpandAllRows:n.a.bool,defaultExpandedRowKeys:n.a.array,expandIconColumnIndex:n.a.number,expandedRowRender:n.a.func,childrenColumnName:n.a.string,indentSize:n.a.number,expandRowByClick:n.a.bool,expandIcon:n.a.func,tableLayout:n.a.string,transformCellText:n.a.func},{data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},prefixCls:"rc-table",bodyStyle:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"},customHeaderRow:function(){}}),data:function(){return this.preData=[].concat(f()(this.data)),{columnManager:new Y(this.columns),sComponents:R()({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.components)}},watch:{components:function(){this._components=R()({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.components)},columns:function(e){e&&this.columnManager.reset(e)},data:function(e){var t=this;0===e.length&&this.hasScrollX()&&this.$nextTick(function(){t.resetScrollX()})}},created:function(){var o,a,s,l,t=this;function e(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=this,i=(t[0]&&t[0].persist&&t[0].persist(),s&&!l);clearTimeout(l),l=setTimeout(function(){l=null,s||o.apply(r,t)},a),i&&o.apply(r,t)}["rowClick","rowDoubleclick","rowContextmenu","rowMouseenter","rowMouseleave"].forEach(function(e){Object(O.a)(void 0===Object(k.getListeners)(t)[e],e+" is deprecated, please use customRow instead.")}),Object(O.a)(void 0===this.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),this.store=Object(F.a)({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),this.setScrollPosition("left"),this.debouncedWindowResize=(o=this.handleWindowResize,a=150,l=void 0,e.cancel=function(){l&&(clearTimeout(l),l=null)},e)},provide:function(){return{table:this}},mounted:function(){var e=this;this.$nextTick(function(){e.columnManager.isAnyColumnsFixed()&&(e.handleWindowResize(),e.resizeEvent=Object(z.a)(window,"resize",e.debouncedWindowResize)),e.ref_headTable&&(e.ref_headTable.scrollLeft=0),e.ref_bodyTable&&(e.ref_bodyTable.scrollLeft=0)})},updated:function(){var e=this;this.$nextTick(function(){e.columnManager.isAnyColumnsFixed()&&(e.handleWindowResize(),e.resizeEvent||(e.resizeEvent=Object(z.a)(window,"resize",e.debouncedWindowResize)))})},beforeDestroy:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()},methods:{getRowKey:function(e,t){var n=this.rowKey,e="function"==typeof n?n(e,t):e[n];return Object(O.a)(void 0!==e,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===e?t:e},setScrollPosition:function(e){var t;this.scrollPosition=e,this.tableNode&&(t=this.prefixCls,"both"===e?N()(this.tableNode).remove(new RegExp("^"+t+"-scroll-position-.+$")).add(t+"-scroll-position-left").add(t+"-scroll-position-right"):N()(this.tableNode).remove(new RegExp("^"+t+"-scroll-position-.+$")).add(t+"-scroll-position-"+e))},setScrollPositionClassName:function(){var e=this.ref_bodyTable,t=0===e.scrollLeft,e=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&e?this.setScrollPosition("both"):t?this.setScrollPosition("left"):e?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")},isTableLayoutFixed:function(){var e=this.$props,t=e.tableLayout,n=e.columns,n=void 0===n?[]:n,r=e.useFixedHeader,e=e.scroll,e=void 0===e?{}:e;return void 0!==t?"fixed"===t:!!n.some(function(e){return!!e.ellipsis})||!!(r||e.y||e.x&&!0!==e.x&&"max-content"!==e.x)},handleWindowResize:function(){this.syncFixedTableRowHeight(),this.setScrollPositionClassName()},syncFixedTableRowHeight:function(){var e,r,t=this.tableNode.getBoundingClientRect();void 0!==t.height&&t.height<=0||(t=this.prefixCls,e=(this.ref_headTable||this.ref_bodyTable).querySelectorAll("thead"),t=this.ref_bodyTable.querySelectorAll("."+t+"-row")||[],e=[].map.call(e,function(e){return e.getBoundingClientRect().height?e.getBoundingClientRect().height-.5:"auto"}),r=this.store.getState(),t=[].reduce.call(t,function(e,t){var n=t.getAttribute("data-row-key"),t=t.getBoundingClientRect().height||r.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=t,e},{}),s()(r.fixedColumnsHeadRowsHeight,e)&&s()(r.fixedColumnsBodyRowsHeight,t))||this.store.setState({fixedColumnsHeadRowsHeight:e,fixedColumnsBodyRowsHeight:t})},resetScrollX:function(){this.ref_headTable&&(this.ref_headTable.scrollLeft=0),this.ref_bodyTable&&(this.ref_bodyTable.scrollLeft=0)},hasScrollX:function(){var e=this.scroll;return"x"in(void 0===e?{}:e)},handleBodyScrollLeft:function(e){var t,n,r;e.currentTarget===e.target&&(e=e.target,t=this.scroll,n=this.ref_headTable,r=this.ref_bodyTable,e.scrollLeft!==this.lastScrollLeft&&(void 0===t?{}:t).x&&(e===r&&n?n.scrollLeft=e.scrollLeft:e===n&&r&&(r.scrollLeft=e.scrollLeft),this.setScrollPositionClassName()),this.lastScrollLeft=e.scrollLeft)},handleBodyScrollTop:function(e){var t,n,r,i,o=e.target;e.currentTarget===o&&(e=this.scroll,t=this.ref_headTable,n=this.ref_bodyTable,r=this.ref_fixedColumnsBodyLeft,i=this.ref_fixedColumnsBodyRight,o.scrollTop!==this.lastScrollTop&&(void 0===e?{}:e).y&&o!==t&&(e=o.scrollTop,r&&o!==r&&(r.scrollTop=e),i&&o!==i&&(i.scrollTop=e),n)&&o!==n&&(n.scrollTop=e),this.lastScrollTop=o.scrollTop)},handleBodyScroll:function(e){this.handleBodyScrollLeft(e),this.handleBodyScrollTop(e)},handleWheel:function(e){var t,n,r,i,o=this.$props.scroll,o=void 0===o?{}:o;window.navigator.userAgent.match(/Trident\/7\./)&&o.y&&(e.preventDefault(),o=e.deltaY,e=e.target,t=this.ref_bodyTable,n=this.ref_fixedColumnsBodyLeft,r=this.ref_fixedColumnsBodyRight,i=0,i=this.lastScrollTop?this.lastScrollTop+o:o,n&&e!==n&&(n.scrollTop=i),r&&e!==r&&(r.scrollTop=i),t)&&e!==t&&(t.scrollTop=i)},saveRef:function(t){var n=this;return function(e){n["ref_"+t]=e}},saveTableNodeRef:function(e){this.tableNode=e},renderMainTable:function(){var e=this.$createElement,t=this.scroll,n=this.prefixCls,r=this.columnManager.isAnyColumnsFixed(),t=r||t.x||t.y,r=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return t?e("div",{class:n+"-scroll"},[r]):r},renderLeftFixedTable:function(){return(0,this.$createElement)("div",{class:this.prefixCls+"-fixed-left"},[this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"})])},renderRightFixedTable:function(){return(0,this.$createElement)("div",{class:this.prefixCls+"-fixed-right"},[this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"})])},renderTable:function(e){var t=this.$createElement,n=e.columns,r=e.fixed,e=e.isAnyColumnsFixed,i=this.prefixCls,o=this.scroll,o=(void 0===o?{}:o).x||r?i+"-fixed":"";return[t(ee,{key:"head",attrs:{columns:n,fixed:r,tableClassName:o,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}}),t(te,{key:"body",attrs:{columns:n,fixed:r,tableClassName:o,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:e}})]},renderTitle:function(){var e=this.$createElement,t=this.title,n=this.prefixCls,r=this.data;return t?e("div",{class:n+"-title",key:"title"},[t(r)]):null},renderFooter:function(){var e=this.$createElement,t=this.footer,n=this.prefixCls,r=this.data;return t?e("div",{class:n+"-footer",key:"footer"},[t(r)]):null},renderEmptyText:function(){var e=this.$createElement,t=this.emptyText,n=this.prefixCls;return this.data.length?null:e("div",{class:n+"-placeholder",key:"emptyText"},["function"==typeof t?t():t])}},render:function(){var t=this,n=arguments[0],e=Object(k.getOptionProps)(this),r=this.columnManager,i=this.getRowKey,o=e.prefixCls,a=C()(e.prefixCls,(u={},m()(u,o+"-fixed-header",e.useFixedHeader||e.scroll&&e.scroll.y),m()(u,o+"-scroll-position-left "+o+"-scroll-position-right","both"===this.scrollPosition),m()(u,o+"-scroll-position-"+this.scrollPosition,"both"!==this.scrollPosition),m()(u,o+"-layout-fixed",this.isTableLayoutFixed()),u)),s=r.isAnyColumnsLeftFixed(),l=r.isAnyColumnsRightFixed(),u={props:P()({},e,{columnManager:r,getRowKey:i}),on:Object(k.getListeners)(this),scopedSlots:{default:function(e){return t.expander=e,n("div",v()([{directives:[{name:"ant-ref",value:t.saveTableNodeRef}]},{class:a}]),[t.renderTitle(),n("div",{class:o+"-content"},[t.renderMainTable(),s&&t.renderLeftFixedTable(),l&&t.renderRightFixedTable()])])}}};return n(V.a,{attrs:{store:this.store}},[n(ne,u)])}},ie={name:"Table",Column:{name:"Column",props:{rowSpan:n.a.number,colSpan:n.a.number,title:n.a.any,dataIndex:n.a.string,width:n.a.oneOfType([n.a.number,n.a.string]),ellipsis:n.a.bool,fixed:n.a.oneOf([!0,"left","right"]),align:n.a.oneOf(["left","center","right"]),customRender:n.a.func,className:n.a.string,customCell:n.a.func,customHeaderCell:n.a.func}},ColumnGroup:{name:"ColumnGroup",props:{title:n.a.any},isTableColumnGroup:!0},props:re.props,methods:{getTableNode:function(){return this.$refs.table.tableNode},getBodyTable:function(){return this.$refs.table.ref_bodyTable},normalize:function(){var u=this,c=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach(function(e){var t,n,r,i,o,a,s,l;e.tag&&(t=Object(k.getKey)(e),n=Object(k.getStyle)(e),r=Object(k.getClass)(e),l=Object(k.getOptionProps)(e),i=Object(k.getEvents)(e),o={},Object.keys(i).forEach(function(e){var t="on-"+e;o[Object(k.camelize)(t)]=i[e]}),a=(s=Object(k.getSlots)(e)).default,s=s.title,s=P()({title:s},l,{style:n,class:r},o),t&&(s.key=t),Object(k.getSlotOptions)(e).isTableColumnGroup?s.children=u.normalize("function"==typeof a?a():a):(l=e.data&&e.data.scopedSlots&&e.data.scopedSlots.default,s.customRender=s.customRender||l),c.push(s))}),c}},render:function(){var e=arguments[0],t=this.$slots,n=this.normalize,r=Object(k.getOptionProps)(this),n=r.columns||n(t.default),t={props:P()({},r,{columns:n}),on:Object(k.getListeners)(this),ref:"table"};return e(re,t)}},oe=t("o6Ky"),ae=t("Uo1l"),se=t("2jBj"),a=t("Yf6U"),le=t.n(a),ue=t("pgDu"),b=t("DGO/"),p=t("u3aP"),y=t("0zjr"),d=t("ie6f"),a=t("wOTH"),ce=t("2xRk"),fe=(y.default.Group=d.default,y.default.Button=a.default,y.default.install=function(e){e.use(ce.default),e.component(y.default.name,y.default),e.component(y.default.Group.name,y.default.Group),e.component(y.default.Button.name,y.default.Button)},y.default),he={name:"FilterDropdownMenuWrapper",methods:{handelClick:function(e){e.stopPropagation()}},render:function(){var e=arguments[0],t=this.$slots;return e("div",{on:{click:this.handelClick}},[t.default])}},d=t("AcmY"),de=t("ewVk");function pe(e,t){var e=0<arguments.length&&void 0!==e?e:[],r=1<arguments.length&&void 0!==t?t:"children",i=[];return function n(e){e.forEach(function(e){var t;e[r]?(delete(t=P()({},e))[r],i.push(t),0<e[r].length&&n(e[r])):i.push(e)})}(e),i}function _(e,r,t){var i=2<arguments.length&&void 0!==t?t:"children";return e.map(function(e,t){var n={};return e[i]&&(n[i]=_(e[i],r,i)),P()({},r(e,t),n)})}function x(e,n){return e.reduce(function(e,t){return n(t)&&e.push(t),t.children&&(t=x(t.children,n),e.push.apply(e,f()(t))),e},[])}function w(e,t){var n=1<arguments.length&&void 0!==t?t:{};return(e||[]).forEach(function(e){var t=e.value,e=e.children;n[t.toString()]=t,w(e,n)}),n}function ye(e){e.stopPropagation()}var me={name:"FilterMenu",mixins:[h.a],props:Object(k.initDefaultProps)(d.FilterMenuProps,{handleFilter:function(){},column:{}}),data:function(){var e="filterDropdownVisible"in this.column&&this.column.filterDropdownVisible;return this.preProps=P()({},Object(k.getOptionProps)(this)),{sSelectedKeys:this.selectedKeys,sKeyPathOfSelectedItem:{},sVisible:e,sValueKeys:w(this.column.filters)}},watch:{_propsSymbol:function(){var e=Object(k.getOptionProps)(this),t=e.column,n={};"selectedKeys"in e&&!s()(this.preProps.selectedKeys,e.selectedKeys)&&(n.sSelectedKeys=e.selectedKeys),s()((this.preProps.column||{}).filters,(e.column||{}).filters)||(n.sValueKeys=w(e.column.filters)),"filterDropdownVisible"in t&&(n.sVisible=t.filterDropdownVisible),0<Object.keys(n).length&&this.setState(n),this.preProps=P()({},e)}},mounted:function(){var e=this,t=this.column;this.$nextTick(function(){e.setNeverShown(t)})},updated:function(){var e=this,t=this.column;this.$nextTick(function(){e.setNeverShown(t)})},methods:{getDropdownVisible:function(){return!this.neverShown&&this.sVisible},setNeverShown:function(e){var t=this.$el;!le()(t,".ant-table-scroll")||(this.neverShown=!!e.fixed)},setSelectedKeys:function(e){e=e.selectedKeys;this.setState({sSelectedKeys:e})},setVisible:function(e){var t=this.column;"filterDropdownVisible"in t||this.setState({sVisible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)},handleClearFilters:function(){this.setState({sSelectedKeys:[]},this.handleConfirm)},handleConfirm:function(){var e=this;this.setVisible(!1),this.confirmFilter2(),this.$forceUpdate(),this.$nextTick(function(){e.confirmFilter})},onVisibleChange:function(e){this.setVisible(e);var t=this.$props.column;e||t.filterDropdown instanceof Function||this.confirmFilter2()},handleMenuItemClick:function(e){var t,n=this.$data.sSelectedKeys;!e.keyPath||e.keyPath.length<=1||(t=this.$data.sKeyPathOfSelectedItem,n&&0<=n.indexOf(e.key)?delete t[e.key]:t[e.key]=e.keyPath,this.setState({sKeyPathOfSelectedItem:t}))},hasSubMenu:function(){var e=this.column.filters;return(void 0===e?[]:e).some(function(e){return!!(e.children&&0<e.children.length)})},confirmFilter2:function(){var e=this.$props,t=e.column,n=e.selectedKeys,e=e.confirmFilter,r=this.$data,i=r.sSelectedKeys,o=r.sValueKeys,r=t.filterDropdown;s()(i,n)||e(t,r?i:i.map(function(e){return o[e]}).filter(function(e){return void 0!==e}))},renderMenus:function(e){var r=this,i=this.$createElement,t=this.$props,o=t.dropdownPrefixCls,a=t.prefixCls;return e.map(function(t){var n,e;return t.children&&0<t.children.length?(n=r.sKeyPathOfSelectedItem,e=Object.keys(n).some(function(e){return 0<=n[e].indexOf(t.value)}),e=C()(a+"-dropdown-submenu",m()({},o+"-submenu-contain-selected",e)),i(oe.a,{attrs:{title:t.text,popupClassName:e},key:t.value},[r.renderMenus(t.children)])):r.renderMenuItem(t)})},renderFilterIcon:function(){var e,t=this.$createElement,n=this.column,r=this.locale,i=this.prefixCls,o=this.selectedKeys,o=o&&0<o.length,a=n.filterIcon,n=("function"==typeof a&&(a=a(o,n)),C()((e={},m()(e,i+"-selected","filtered"in n?n.filtered:o),m()(e,i+"-open",this.getDropdownVisible()),e)));return a?1===a.length&&Object(k.isValidElement)(a[0])?Object(de.a)(a[0],{on:{click:ye},class:C()(i+"-icon",n)}):t("span",{class:C()(i+"-icon",n)},[a]):t(b.default,{attrs:{title:r.filterTitle,type:"filter",theme:"filled"},class:n,on:{click:ye}})},renderMenuItem:function(e){var t=this.$createElement,n=this.column,r=this.$data.sSelectedKeys,n=t(!("filterMultiple"in n)||n.filterMultiple?p.a:fe,{attrs:{checked:r&&0<=r.indexOf(e.value)}});return t(ae.a,{key:e.value},[n,t("span",[e.text])])}},render:function(){var t=this,e=arguments[0],n=this.$data.sSelectedKeys,r=this.column,i=this.locale,o=this.prefixCls,a=this.dropdownPrefixCls,s=this.getPopupContainer,l=!("filterMultiple"in r)||r.filterMultiple,u=C()(m()({},a+"-menu-without-submenu",!this.hasSubMenu())),c=r.filterDropdown,c=(c instanceof Function&&(c=c({prefixCls:a+"-custom",setSelectedKeys:function(e){return t.setSelectedKeys({selectedKeys:e})},selectedKeys:n,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:r.filters,visible:this.getDropdownVisible(),column:r})),e(he,{class:o+"-dropdown"},c?[c]:[e(se.a,{attrs:{multiple:l,prefixCls:a+"-menu",selectedKeys:n&&n.map(function(e){return e}),getPopupContainer:s},on:{click:this.handleMenuItemClick,select:this.setSelectedKeys,deselect:this.setSelectedKeys},class:u},[this.renderMenus(r.filters)]),e("div",{class:o+"-dropdown-btns"},[e("a",{class:o+"-dropdown-link confirm",on:{click:this.handleConfirm}},[i.filterConfirm]),e("a",{class:o+"-dropdown-link clear",on:{click:this.handleClearFilters}},[i.filterReset])])]));return e(ue.default,{attrs:{trigger:["click"],placement:"bottomRight",visible:this.getDropdownVisible(),getPopupContainer:s,forceRender:!0},on:{visibleChange:this.onVisibleChange}},[e("template",{slot:"overlay"},[c]),this.renderFilterIcon()])}},ge=t("Uxz4"),ve={name:"SelectionBox",mixins:[h.a],props:d.SelectionBoxProps,data:function(){return{checked:this.getCheckState(this.$props)}},mounted:function(){this.subscribe()},beforeDestroy:function(){this.unsubscribe&&this.unsubscribe()},methods:{getCheckState:function(e){var t=e.store,n=e.defaultSelection,e=e.rowIndex;return t.getState().selectionDirty?0<=t.getState().selectedRowKeys.indexOf(e):0<=t.getState().selectedRowKeys.indexOf(e)||0<=n.indexOf(e)},subscribe:function(){var t=this,e=this.store;this.unsubscribe=e.subscribe(function(){var e=t.getCheckState(t.$props);t.setState({checked:e})})}},render:function(){var e=arguments[0],t=Object(k.getOptionProps)(this),n=t.type,r=t.rowIndex,t=S()(t,["type","rowIndex"]),i=this.checked,i={props:P()({checked:i},t),on:Object(k.getListeners)(this)};return"radio"===n?(i.props.value=r,e(fe,i)):e(p.a,i)}},be=t("VfG/");function A(e){var n=e.store,r=e.getCheckboxPropsByItem,i=e.getRecordKey,t=e.data,o=e.type;return e.byDefaultChecked?t[o](function(e,t){return r(e,t).defaultChecked}):t[o](function(e,t){return 0<=n.getState().selectedRowKeys.indexOf(i(e,t))})}function _e(e){var t,n=e.store,r=e.data;return!!r.length&&(t=A(P()({},e,{data:r,type:"some",byDefaultChecked:!1}))&&!A(P()({},e,{data:r,type:"every",byDefaultChecked:!1})),e=A(P()({},e,{data:r,type:"some",byDefaultChecked:!0}))&&!A(P()({},e,{data:r,type:"every",byDefaultChecked:!0})),n.getState().selectionDirty?t:t||e)}function xe(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?A(P()({},e,{data:n,type:"every",byDefaultChecked:!1})):A(P()({},e,{data:n,type:"every",byDefaultChecked:!1}))||A(P()({},e,{data:n,type:"every",byDefaultChecked:!0})))}var we={name:"SelectionCheckboxAll",mixins:[h.a],props:d.SelectionCheckboxAllProps,data:function(){var e=this.$props;return this.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],{checked:xe(e),indeterminate:_e(e)}},watch:{$props:{handler:function(){this.setCheckState(this.$props)},deep:!0}},mounted:function(){this.subscribe()},beforeDestroy:function(){this.unsubscribe&&this.unsubscribe()},methods:{checkSelection:function(e,t,n,r){var e=e||this.$props,i=e.store,o=e.getCheckboxPropsByItem,a=e.getRecordKey;return("every"===n||"some"===n)&&(r?t[n](function(e,t){return o(e,t).props.defaultChecked}):t[n](function(e,t){return 0<=i.getState().selectedRowKeys.indexOf(a(e,t))}))},setCheckState:function(e){var n=xe(e),r=_e(e);this.setState(function(e){var t={};return r!==e.indeterminate&&(t.indeterminate=r),n!==e.checked&&(t.checked=n),t})},handleSelectAllChange:function(e){e=e.target.checked;this.$emit("select",e?"all":"removeAll",0,null)},subscribe:function(){var e=this,t=this.store;this.unsubscribe=t.subscribe(function(){e.setCheckState(e.$props)})},renderMenus:function(e){var n=this,r=this.$createElement;return e.map(function(e,t){return r(be.default.Item,{key:e.key||t},[r("div",{on:{click:function(){n.$emit("select",e.key,t,e.onSelect)}}},[e.text])])})}},render:function(){var e,t=arguments[0],n=this.disabled,r=this.prefixCls,i=this.selections,o=this.getPopupContainer,a=this.checked,s=this.indeterminate,r=r+"-selection",l=null;return i&&(i=Array.isArray(i)?this.defaultSelections.concat(i):this.defaultSelections,e=t(be.default,{class:r+"-menu",attrs:{selectedKeys:[]}},[this.renderMenus(i)]),l=0<i.length?t(ue.default,{attrs:{getPopupContainer:o}},[t("template",{slot:"overlay"},[e]),t("div",{class:r+"-down"},[t(b.default,{attrs:{type:"down"}})])]):null),t("div",{class:r},[t(p.a,{class:C()(m()({},r+"-select-all-custom",l)),attrs:{checked:a,indeterminate:s,disabled:n},on:{change:this.handleSelectAllChange}}),l])}},a=t("0tG6"),Ae=t("WU/S"),Se={store:ge.a,rowKey:n.a.oneOfType([n.a.string,n.a.number]),prefixCls:n.a.string};var Ce=t("TfX5"),Oe=t("3hup"),Ee=t("hZIQ"),Me=t("5c0L"),Pe=t("AuqM"),ke=t("xEkU"),Te=t.n(ke);function Ie(i,e){function o(){var e,t,n=Date.now()-c,r=(e=s<n?s:n,r=i,r-=t=u,(e/=s/2)<1?r/2*e*e*e+t:r/2*((e-=2)*e*e+2)+t);l===window?window.scrollTo(window.pageXOffset,r):l.scrollTop=r,n<s?Te()(o):"function"==typeof a&&a()}var t,n,e=1<arguments.length&&void 0!==e?e:{},r=e.getContainer,r=void 0===r?function(){return window}:r,a=e.callback,e=e.duration,s=void 0===e?450:e,l=r(),u=(e=l,r=!0,"undefined"==typeof window?0:(t=r?"scrollTop":"scrollLeft",r=(n=e===window)?e[r?"pageYOffset":"pageXOffset"]:e[t],n&&"number"!=typeof r?window.document.documentElement[t]:r)),c=Date.now();Te()(o)}var Le=t("GKdC"),je={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},De={props:{noStyle:n.a.bool},methods:{onKeyDown:function(e){e.keyCode===Le.a.ENTER&&e.preventDefault()},onKeyUp:function(e){e.keyCode===Le.a.ENTER&&this.$emit("click",e)},setRef:function(e){this.div=e},focus:function(){this.div&&this.div.focus()},blur:function(){this.div&&this.div.blur()}},render:function(){var e=arguments[0],t=this.$props.noStyle;return e("div",v()([{attrs:{role:"button",tabIndex:0}},{directives:[{name:"ant-ref",value:this.setRef}],on:P()({},this.$listeners,{keydown:this.onKeyDown,keyup:this.onKeyUp})},{style:P()({},t?null:je)}]),[this.$slots.default])}};function Be(){}function Re(e){e.stopPropagation()}function M(e){return e.rowSelection||{}}function I(e,t){return e.key||e.dataIndex||t}function Ne(e,t){return e&&t&&e.key&&e.key===t.key||e===t||s()(e,t,function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||s()(e,t):void 0})}function ze(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return P()({},e,{body:P()({},e.body,{row:function(e){var n=0<arguments.length&&void 0!==e?e:"tr";return{name:"BodyRow",props:Se,data:function(){return{selected:0<=this.store.getState().selectedRowKeys.indexOf(this.rowKey)}},mounted:function(){this.subscribe()},beforeDestroy:function(){this.unsubscribe&&this.unsubscribe()},methods:{subscribe:function(){var t=this,e=this.store,n=this.rowKey;this.unsubscribe=e.subscribe(function(){var e=0<=t.store.getState().selectedRowKeys.indexOf(n);e!==t.selected&&(t.selected=e)})}},render:function(){var e=arguments[0],t=m()({},this.prefixCls+"-row-selected",this.selected);return e(n,v()([{class:t},{on:Object(k.getListeners)(this)}]),[this.$slots.default])}}}(t)})})}var Fe={onChange:Be,onShowSizeChange:Be},Ve={};function L(e,t){return x(t||(e||{}).columns||[],function(e){return void 0!==e.filteredValue})}function He(e,t){var n={};return L(e,t).forEach(function(e){var t=I(e);n[t]=e.filteredValue}),n}var j={name:"Table",Column:a.default,ColumnGroup:Ae.default,mixins:[h.a],props:Object(k.initDefaultProps)(d.TableProps,{dataSource:[],useFixedHeader:!1,size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"}),inject:{configProvider:{default:function(){return Ce.a}}},data:function(){var e=Object(k.getOptionProps)(this);return Object(O.a)(!(e.expandedRowRender&&"scroll"in e),"`expandedRowRender` and `scroll` are not compatible. Please use one of them at one time."),this.CheckboxPropsCache={},this.store=Object(ge.b)({selectedRowKeys:M(this.$props).selectedRowKeys||[],selectionDirty:!1}),P()({},this.getDefaultSortOrder(e.columns||[]),{sFilters:this.getDefaultFilters(e.columns),sPagination:this.getDefaultPagination(this.$props),pivot:void 0,sComponents:ze(this.components),filterDataCnt:0})},watch:{pagination:{handler:function(t){this.setState(function(e){e=P()({},Fe,e.sPagination,t);return e.current=e.current||1,e.pageSize=e.pageSize||10,{sPagination:!1!==t?e:Ve}})},deep:!0},rowSelection:{handler:function(e,t){var n;e&&"selectedRowKeys"in e?(this.store.setState({selectedRowKeys:e.selectedRowKeys||[]}),(n=this.rowSelection)&&e.getCheckboxProps!==n.getCheckboxProps&&(this.CheckboxPropsCache={})):t&&!e&&this.store.setState({selectedRowKeys:[]})},deep:!0},dataSource:function(){this.store.setState({selectionDirty:!1}),this.CheckboxPropsCache={}},columns:function(e){var t,n,r,i;0<L({columns:e},e).length&&(t=He({columns:e},e),n=P()({},this.sFilters),Object.keys(t).forEach(function(e){n[e]=t[e]}),r={filters:this.sFilters},i=n,Object.keys(i).length===Object.keys(r.filters).length&&!Object.keys(i).some(function(e){return i[e]!==r.filters[e]})||this.setState({sFilters:n}))},components:{handler:function(e,t){!function(e,t){var n=0<arguments.length&&void 0!==e?e:{},r=1<arguments.length&&void 0!==t?t:{};return n===r||["table","header","body"].every(function(e){return s()(n[e],r[e])})}(e,t)&&(t=ze(e),this.setState({sComponents:t}))},deep:!0}},updated:function(){var e=this.columns,t=this.sSortColumn,n=this.sSortOrder;0<this.getSortOrderColumns(e).length&&(Ne((e=this.getSortStateFromColumns(e)).sSortColumn,t)&&e.sSortOrder===n||this.setState(e))},methods:{getCheckboxPropsByItem:function(e,t){var n=M(this.$props);return n.getCheckboxProps?(t=this.getRecordKey(e,t),this.CheckboxPropsCache[t]||(this.CheckboxPropsCache[t]=n.getCheckboxProps(e)),this.CheckboxPropsCache[t].props=this.CheckboxPropsCache[t].props||{},this.CheckboxPropsCache[t]):{props:{}}},getDefaultSelection:function(){var n=this;return M(this.$props).getCheckboxProps?this.getFlatData().filter(function(e,t){return n.getCheckboxPropsByItem(e,t).props.defaultChecked}).map(function(e,t){return n.getRecordKey(e,t)}):[]},getDefaultPagination:function(e){var t="object"===l()(e.pagination)?e.pagination:{},n=void 0,r=("current"in t?n=t.current:"defaultCurrent"in t&&(n=t.defaultCurrent),void 0);return"pageSize"in t?r=t.pageSize:"defaultPageSize"in t&&(r=t.defaultPageSize),this.hasPagination(e)?P()({},Fe,t,{current:n||1,pageSize:r||10}):{}},getSortOrderColumns:function(e){return x(e||this.columns||[],function(e){return"sortOrder"in e})},getDefaultFilters:function(e){var t=He({columns:this.columns},e),e=x(e||[],function(e){return void 0!==e.defaultFilteredValue}).reduce(function(e,t){return e[I(t)]=t.defaultFilteredValue,e},{});return P()({},e,t)},getDefaultSortOrder:function(e){var t=this.getSortStateFromColumns(e),e=x(e||[],function(e){return null!=e.defaultSortOrder})[0];return e&&!t.sortColumn?{sSortColumn:e,sSortOrder:e.defaultSortOrder}:t},getSortStateFromColumns:function(e){e=this.getSortOrderColumns(e).filter(function(e){return e.sortOrder})[0];return e?{sSortColumn:e,sSortOrder:e.sortOrder}:{sSortColumn:null,sSortOrder:null}},getMaxCurrent:function(e){var t=this.sPagination,n=t.current,t=t.pageSize;return e<=(n-1)*t?Math.floor((e-1)/t)+1:n},getRecordKey:function(e,t){var n=this.rowKey,e="function"==typeof n?n(e,t):e[n];return Object(O.a)(void 0!==e,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, "),void 0===e?t:e},getSorterFn:function(e){var e=e||this.$data,n=e.sSortOrder,r=e.sSortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){e=r.sorter(e,t,n);return 0!==e?"descend"===n?-e:e:0}},getCurrentPageData:function(){var e=this.getLocalData(),t=(this.filterDataCnt=e.length,void 0),n=void 0,r=this.sPagination,t=this.hasPagination()?(n=r.pageSize,this.getMaxCurrent(r.total||e.length)):(n=Number.MAX_VALUE,1);return e=e.length>n||n===Number.MAX_VALUE?e.slice((t-1)*n,t*n):e},getFlatData:function(){var e=this.$props.childrenColumnName;return pe(this.getLocalData(null,!1),e)},getFlatCurrentPageData:function(){var e=this.$props.childrenColumnName;return pe(this.getCurrentPageData(),e)},getLocalData:function(e){var i=this,t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],e=e||this.$data,o=e.sFilters,n=this.$props.dataSource,a=(a=n||[]).slice(0),n=this.getSorterFn(e);return n&&(a=this.recursiveSort([].concat(f()(a)),n)),t&&o&&Object.keys(o).forEach(function(e){var n,r,t=i.findColumn(e);t&&0!==(n=o[e]||[]).length&&(r=t.onFilter,a=r?a.filter(function(t){return n.some(function(e){return r(e,t)})}):a)}),a},onRow:function(e,t,n){var r=this.customRow,r=r?r(t,n):{};return Object(k.mergeProps)(r,{props:{prefixCls:e,store:this.store,rowKey:this.getRecordKey(t,n)}})},setSelectedRowKeys:function(n,e){var t,r=this,i=e.selectWay,o=e.record,a=e.checked,s=e.changeRowKeys,e=e.nativeEvent,l=M(this.$props),u=(!l||"selectedRowKeys"in l||this.store.setState({selectedRowKeys:n}),this.getFlatData());(l.onChange||l[i])&&(t=u.filter(function(e,t){return 0<=n.indexOf(r.getRecordKey(e,t))}),l.onChange&&l.onChange(n,t),"onSelect"===i&&l.onSelect?l.onSelect(o,a,t,e):"onSelectMultiple"===i&&l.onSelectMultiple?(o=u.filter(function(e,t){return 0<=s.indexOf(r.getRecordKey(e,t))}),l.onSelectMultiple(a,t,o)):"onSelectAll"===i&&l.onSelectAll?(e=u.filter(function(e,t){return 0<=s.indexOf(r.getRecordKey(e,t))}),l.onSelectAll(a,t,e)):"onSelectInvert"===i&&l.onSelectInvert&&l.onSelectInvert(n))},generatePopupContainerFunc:function(e){var t=this.$props.scroll,n=this.$refs.vcTable;return e||(t&&n?function(){return n.getTableNode()}:void 0)},scrollToFirstRow:function(){var e=this,t=this.$props.scroll;t&&!1!==t.scrollToFirstRowOnChange&&Ie(0,{getContainer:function(){return e.$refs.vcTable.getBodyTable()}})},isSameColumn:function(e,t){return!!(e&&t&&e.key&&e.key===t.key)||e===t||s()(e,t,function(e,t){if("function"==typeof e&&"function"==typeof t)return e===t||e.toString()===t.toString()})},handleFilter:function(e,t){var n=this,r=this.$props,i=P()({},this.sPagination),o=P()({},this.sFilters,m()({},I(e),t)),a=[],e=(_(this.columns,function(e){e.children||a.push(I(e))}),Object.keys(o).forEach(function(e){a.indexOf(e)<0&&delete o[e]}),r.pagination&&(i.current=1,i.onChange(i.current)),{sPagination:i,sFilters:{}}),s=P()({},o);L({columns:r.columns}).forEach(function(e){e=I(e);e&&delete s[e]}),0<Object.keys(s).length&&(e.sFilters=s),"object"===l()(r.pagination)&&"current"in r.pagination&&(e.sPagination=P()({},i,{current:this.sPagination.current})),this.setState(e,function(){n.scrollToFirstRow(),n.store.setState({selectionDirty:!1}),n.$emit.apply(n,["change"].concat(f()(n.prepareParamsArguments(P()({},n.$data,{sSelectionDirty:!1,sFilters:o,sPagination:i})))))})},handleSelect:function(e,t,n){var r=this,i=n.target.checked,n=n.nativeEvent,o=this.store.getState().selectionDirty?[]:this.getDefaultSelection(),a=this.store.getState().selectedRowKeys.concat(o),s=this.getRecordKey(e,t),o=this.$data.pivot,l=this.getFlatCurrentPageData(),u=t;if(this.$props.expandedRowRender&&(u=l.findIndex(function(e){return r.getRecordKey(e,t)===s})),n.shiftKey&&void 0!==o&&u!==o){for(var c=[],f=Math.sign(o-u),h=Math.abs(o-u),d=0;d<=h;)!function(){var e=u+d*f,t=(d+=1,l[e]),n=r.getRecordKey(t,e);r.getCheckboxPropsByItem(t,e).disabled||(a.includes(n)?i||(a=a.filter(function(e){return n!==e}),c.push(n)):i&&(a.push(n),c.push(n)))}();this.setState({pivot:u}),this.store.setState({selectionDirty:!0}),this.setSelectedRowKeys(a,{selectWay:"onSelectMultiple",record:e,checked:i,changeRowKeys:c,nativeEvent:n})}else i?a.push(this.getRecordKey(e,u)):a=a.filter(function(e){return s!==e}),this.setState({pivot:u}),this.store.setState({selectionDirty:!0}),this.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:i,changeRowKeys:void 0,nativeEvent:n})},handleRadioSelect:function(e,t,n){var r=n.target.checked,n=n.nativeEvent,t=[this.getRecordKey(e,t)];this.store.setState({selectionDirty:!0}),this.setSelectedRowKeys(t,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:n})},handleSelectRow:function(e,t,n){var r=this,i=this.getFlatCurrentPageData(),o=this.store.getState().selectionDirty?[]:this.getDefaultSelection(),a=this.store.getState().selectedRowKeys.concat(o),s=i.filter(function(e,t){return!r.getCheckboxPropsByItem(e,t).props.disabled}).map(function(e,t){return r.getRecordKey(e,t)}),l=[],u="onSelectAll",c=void 0;switch(e){case"all":s.forEach(function(e){a.indexOf(e)<0&&(a.push(e),l.push(e))}),u="onSelectAll",c=!0;break;case"removeAll":s.forEach(function(e){0<=a.indexOf(e)&&(a.splice(a.indexOf(e),1),l.push(e))}),c=!(u="onSelectAll");break;case"invert":s.forEach(function(e){a.indexOf(e)<0?a.push(e):a.splice(a.indexOf(e),1),l.push(e),u="onSelectInvert"})}this.store.setState({selectionDirty:!0});o=this.rowSelection,i=2;if((i=o&&o.hideDefaultSelections?0:i)<=t&&"function"==typeof n)return n(s);this.setSelectedRowKeys(a,{selectWay:u,checked:c,changeRowKeys:l})},handlePageChange:function(e){var t=this.$props,n=P()({},this.sPagination);n.current=e||n.current||1;for(var r=arguments.length,i=Array(1<r?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];n.onChange.apply(n,[n.current].concat(f()(i)));e={sPagination:n};t.pagination&&"object"===l()(t.pagination)&&"current"in t.pagination&&(e.sPagination=P()({},n,{current:this.sPagination.current})),this.setState(e,this.scrollToFirstRow),this.store.setState({selectionDirty:!1}),this.$emit.apply(this,["change"].concat(f()(this.prepareParamsArguments(P()({},this.$data,{sSelectionDirty:!1,sPagination:n})))))},handleShowSizeChange:function(e,t){var n=this.sPagination,n=(n.onShowSizeChange(e,t),P()({},n,{pageSize:t,current:e}));this.setState({sPagination:n},this.scrollToFirstRow),this.$emit.apply(this,["change"].concat(f()(this.prepareParamsArguments(P()({},this.$data,{sPagination:n})))))},toggleSortOrder:function(e){var t=e.sortDirections||this.sortDirections,n=this.sSortOrder,r=void 0,n={sSortOrder:r=Ne(this.sSortColumn,e)&&void 0!==n?(n=t.indexOf(n)+1)===t.length?void 0:t[n]:t[0],sSortColumn:r?e:null};0===this.getSortOrderColumns().length&&this.setState(n,this.scrollToFirstRow),this.$emit.apply(this,["change"].concat(f()(this.prepareParamsArguments(P()({},this.$data,n),e))))},hasPagination:function(e){return!1!==(e||this.$props).pagination},isSortColumn:function(e){var t=this.sSortColumn;return!(!e||!t)&&I(t)===I(e)},prepareParamsArguments:function(e,t){var n=P()({},e.sPagination),r=(delete n.onChange,delete n.onShowSizeChange,e.sFilters),i={},t=(e.sSortColumn&&e.sSortOrder&&(t=e.sSortColumn,i.column=e.sSortColumn,i.order=e.sSortOrder),t&&(i.field=t.dataIndex,i.columnKey=I(t)),{currentDataSource:this.getLocalData(e)});return[n,r,i,t]},findColumn:function(t){var n=void 0;return _(this.columns,function(e){I(e)===t&&(n=e)}),n},recursiveSort:function(e,t){var n=this,r=this.childrenColumnName,i=void 0===r?"children":r;return e.sort(t).map(function(e){return e[i]?P()({},e,m()({},i,n.recursiveSort([].concat(f()(e[i])),t))):e})},renderExpandIcon:function(a){var s=this.$createElement;return function(e){var t=e.expandable,n=e.expanded,r=e.needIndentSpaced,i=e.record,o=e.onExpand;return t?s(Me.a,{attrs:{componentName:"Table",defaultLocale:Pe.a.Table}},[function(e){var t;return s(De,{class:C()(a+"-row-expand-icon",(t={},m()(t,a+"-row-collapsed",!n),m()(t,a+"-row-expanded",n),t)),on:{click:function(e){o(i,e)}},attrs:{"aria-label":n?e.collapse:e.expand,noStyle:!0}})}]):r?s("span",{class:a+"-row-expand-icon "+a+"-row-spaced"}):null}},renderPagination:function(e,t){var n,r,i,o,a,s,l=this.$createElement;return this.hasPagination()&&(n="default",(a=this.sPagination).size?n=a.size:"middle"!==this.size&&"small"!==this.size||(n="small"),r=a.position||"bottom",i=a.total||this.filterDataCnt,s=a.class,o=a.style,a.onChange,a.onShowSizeChange,a=S()(a,["class","style","onChange","onShowSizeChange"]),s=Object(k.mergeProps)({key:"pagination-"+t,class:C()(s,e+"-pagination"),props:P()({},a,{total:i,size:n,current:this.getMaxCurrent(i)}),style:o,on:{change:this.handlePageChange,showSizeChange:this.handleShowSizeChange}}),0<i)&&(r===t||"both"===r)?l(Oe.default,s):null},renderSelectionBox:function(o){var a=this,s=this.$createElement;return function(e,t,n){var r=a.getRecordKey(t,n),i=a.getCheckboxPropsByItem(t,n),r=Object(k.mergeProps)({props:{type:o,store:a.store,rowIndex:r,defaultSelection:a.getDefaultSelection()},on:{change:function(e){"radio"===o?a.handleRadioSelect(t,n,e):a.handleSelect(t,n,e)}}},i);return s("span",{on:{click:Re}},[s(ve,r)])}},renderRowSelection:function(e){var t,n,r,i=this,o=e.prefixCls,a=e.locale,e=e.getPopupContainer,s=this.$createElement,l=this.rowSelection,u=this.columns.concat();return l&&(t=this.getFlatCurrentPageData().filter(function(e,t){return!l.getCheckboxProps||!i.getCheckboxPropsByItem(e,t).props.disabled}),n=C()(o+"-selection-column",m()({},o+"-selection-column-custom",l.selections)),n=m()({key:"selection-column",customRender:this.renderSelectionBox(l.type),className:n,fixed:l.fixed,width:l.columnWidth,title:l.columnTitle},c,{class:o+"-selection-col"}),"radio"!==l.type&&(r=t.every(function(e,t){return i.getCheckboxPropsByItem(e,t).props.disabled}),n.title=n.title||s(we,{attrs:{store:this.store,locale:a,data:t,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:r,prefixCls:o,selections:l.selections,hideDefaultSelections:l.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(e)},on:{select:this.handleSelectRow}})),"fixed"in l?n.fixed=l.fixed:u.some(function(e){return"left"===e.fixed||!0===e.fixed})&&(n.fixed="left"),u[0]&&"selection-column"===u[0].key?u[0]=n:u.unshift(n)),u},renderColumnsDropdown:function(e){var l=this,u=e.prefixCls,c=e.dropdownPrefixCls,t=e.columns,f=e.locale,h=e.getPopupContainer,d=this.$createElement,p=this.sSortOrder,y=this.sFilters;return _(t,function(r,e){var t,n,e=I(r,e),i=void 0,o=void 0,a=r.customHeaderCell,s=l.isSortColumn(r);return(r.filters&&0<r.filters.length||r.filterDropdown)&&(e=e in y?y[e]:[],i=d(me,{attrs:{_propsSymbol:Symbol(),locale:f,column:r,selectedKeys:e,confirmFilter:l.handleFilter,prefixCls:u+"-filter",dropdownPrefixCls:c||"ant-dropdown",getPopupContainer:l.generatePopupContainerFunc(h)},key:"filter-dropdown"})),r.sorter&&(e=r.sortDirections||l.sortDirections,n=s&&"ascend"===p,t=s&&"descend"===p,n=-1!==e.indexOf("ascend")&&d(b.default,{class:u+"-column-sorter-up "+(n?"on":"off"),attrs:{type:"caret-up",theme:"filled"},key:"caret-up"}),e=-1!==e.indexOf("descend")&&d(b.default,{class:u+"-column-sorter-down "+(t?"on":"off"),attrs:{type:"caret-down",theme:"filled"},key:"caret-down"}),o=d("div",{attrs:{title:f.sortTitle},class:C()(u+"-column-sorter-inner",n&&e&&u+"-column-sorter-inner-full"),key:"sorter"},[n,e]),a=function(e){var t={},n=((t=r.customHeaderCell?P()({},r.customHeaderCell(e)):t).on=t.on||{},t.on.click);return t.on.click=function(){l.toggleSortOrder(r),n&&n.apply(void 0,arguments)},t}),P()({},r,{className:C()(r.className,(t={},m()(t,u+"-column-has-actions",o||i),m()(t,u+"-column-has-filters",i),m()(t,u+"-column-has-sorters",o),m()(t,u+"-column-sort",s&&p),t)),title:[d("span",{key:"title",class:u+"-header-column"},[d("div",{class:o?u+"-column-sorters":void 0},[d("span",{class:u+"-column-title"},[l.renderColumnTitle(r.title)]),d("span",{class:u+"-column-sorter"},[o])])]),i],customHeaderCell:a})})},renderColumnTitle:function(e){var t=this.$data,n=t.sFilters,r=t.sSortOrder,t=t.sSortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:t}):e},renderTable:function(e){var n=this,r=e.prefixCls,t=e.renderEmpty,i=e.dropdownPrefixCls,o=e.contextLocale,a=e.getPopupContainer,e=e.transformCellText,s=this.$createElement,l=Object(k.getOptionProps)(this),u=l.showHeader,c=l.locale,f=l.getPopupContainer,l=S()(l,["showHeader","locale","getPopupContainer"]),h=this.getCurrentPageData(),d=this.expandedRowRender&&!1!==this.expandIconAsCell,f=f||a,a=P()({},o,c),c=(c&&c.emptyText||(a.emptyText=t(s,"Table")),C()((o={},m()(o,r+"-"+this.size,!0),m()(o,r+"-bordered",this.bordered),m()(o,r+"-empty",!h.length),m()(o,r+"-without-column-header",!u),o))),t=this.renderRowSelection({prefixCls:r,locale:a,getPopupContainer:f}),o=this.renderColumnsDropdown({columns:t,prefixCls:r,dropdownPrefixCls:i,locale:a,getPopupContainer:f}).map(function(e,t){e=P()({},e);return e.key=I(e,t),e}),t=o[0]&&"selection-column"===o[0].key?1:0,i=("expandIconColumnIndex"in l&&(t=l.expandIconColumnIndex),{key:"table",props:P()({expandIcon:this.renderExpandIcon(r)},l,{customRow:function(e,t){return n.onRow(r,e,t)},components:this.sComponents,prefixCls:r,data:h,columns:o,showHeader:u,expandIconColumnIndex:t,expandIconAsCell:d,emptyText:a.emptyText,transformCellText:e}),on:Object(k.getListeners)(this),class:c,ref:"vcTable"});return s(ie,i)}},render:function(){var t=this,e=arguments[0],n=this.prefixCls,r=this.dropdownPrefixCls,i=this.transformCellText,o=this.getCurrentPageData(),a=this.configProvider,s=a.getPopupContainer,a=a.transformCellText,l=this.getPopupContainer||s,u=i||a,s="boolean"==typeof(s=this.loading)?{props:{spinning:s}}:{props:P()({},s)},i=this.configProvider.getPrefixCls,c=this.configProvider.renderEmpty,f=i("table",n),h=i("dropdown",r),a=e(Me.a,{attrs:{componentName:"Table",defaultLocale:Pe.a.Table,children:function(e){return t.renderTable({prefixCls:f,renderEmpty:c,dropdownPrefixCls:h,contextLocale:e,getPopupContainer:l,transformCellText:u})}}}),n=this.hasPagination()&&o&&0!==o.length?f+"-with-pagination":f+"-without-pagination",i=P()({},s,{class:s.props&&s.props.spinning?n+" "+f+"-spin-holder":""});return e("div",{class:C()(f+"-wrapper")},[e(Ee.a,i,[this.renderPagination(f,"top"),a,this.renderPagination(f,"bottom")])])}},ke=t("Rs/M"),n=t.n(ke),a=t("i7/w"),D=(t.n(a).a.use(n.a,{name:"ant-ref"}),{name:"ATable",Column:j.Column,ColumnGroup:j.ColumnGroup,props:j.props,methods:{normalize:function(){var u=this,c=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach(function(e){var t,n,r,i,o,a,s,l;e.tag&&(t=Object(k.getKey)(e),n=Object(k.getStyle)(e),r=Object(k.getClass)(e),l=Object(k.getOptionProps)(e),i=Object(k.getEvents)(e),o={},Object.keys(i).forEach(function(e){var t="on-"+e;o[Object(k.camelize)(t)]=i[e]}),a=(s=Object(k.getSlots)(e)).default,s=S()(s,["default"]),s=P()({},s,l,{style:n,class:r},o),t&&(s.key=t),Object(k.getSlotOptions)(e).__ANT_TABLE_COLUMN_GROUP?s.children=u.normalize("function"==typeof a?a():a):(l=e.data&&e.data.scopedSlots&&e.data.scopedSlots.default,s.customRender=s.customRender||l),c.push(s))}),c},updateColumns:function(){var o=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],a=[],s=this.$slots,l=this.$scopedSlots;return e.forEach(function(e){var t=e.slots,n=void 0===t?{}:t,t=e.scopedSlots,r=void 0===t?{}:t,t=S()(e,["slots","scopedSlots"]),i=P()({},t);Object.keys(n).forEach(function(e){var t=n[e];void 0===i[e]&&s[t]&&(i[e]=1===s[t].length?s[t][0]:s[t])}),Object.keys(r).forEach(function(e){var t=r[e];void 0===i[e]&&l[t]&&(i[e]=l[t])}),e.children&&(i.children=o.updateColumns(i.children)),a.push(i)}),a}},render:function(){var e=arguments[0],t=this.$slots,n=this.normalize,r=this.$scopedSlots,i=Object(k.getOptionProps)(this),n=i.columns?this.updateColumns(i.columns):n(t.default),t=i.title,o=i.footer,a=r.title,s=r.footer,r=r.expandedRowRender,r=void 0===r?i.expandedRowRender:r,t=t||a,o=o||s,a={props:P()({},i,{columns:n,title:t,footer:o,expandedRowRender:r}),on:Object(k.getListeners)(this)};return e(j,a)}});D.install=function(e){e.use(ce.default),e.component(D.name,D),e.component(D.Column.name,D.Column),e.component(D.ColumnGroup.name,D.ColumnGroup)},e.default=D},AFPW:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.tableColumnGroupTypes=t.default=void 0,r(n("WU/S"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={title:o.default.any},o=(t.tableColumnGroupTypes=n,{name:"SmTableColumnGroup",__ANT_TABLE_COLUMN_GROUP:!0,defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},AHQ4:function(e,t,n){"use strict";n.r(t);var r,i=n("B/MC"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},AL3B:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Nhxv"))),o=r(n("JSit")),a=r(n("2Z54")),r=(i.default.install=function(e,t){(0,a.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default)},i.default);t.default=r},AP2z:function(e,t,n){var n=n("nmnc"),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{var r=!(e[s]=void 0)}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},AQ68:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},ASsH:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.optGroupTypes=t.default=void 0,r(n("mDm7"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={key:o.default.string,label:o.default.any},o=(t.optGroupTypes=n,{name:"SmSelectOptGroup",isSelectOptGroup:!0,defaultComponent:i.default.OptGroup,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},AUG5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={checkOverflow:function(){var e=this,t=e.params,n=e.isLocked,r=0<e.slides.length&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&r?e.isLocked=r<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,n!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),n&&n!==e.isLocked&&(e.isEnd=!1,e.navigation)&&e.navigation.update()}}},AUvm:function(B,R,e){"use strict";function r(e){var t=M[e]=b(w[C]);return t._k=e,t}function n(e,t){y(e);for(var n,r=Y(t=m(t)),i=0,o=r.length;i<o;)D(e,n=r[i++],t[n]);return e}function t(e){var t=ee.call(this,e=g(e,!0));return!(this===k&&l(M,e)&&!l(P,e))&&(!(t||!l(this,e)||!l(M,e)||l(this,O)&&this[O][e])||t)}function i(e,t){var n;if(e=m(e),t=g(t,!0),e!==k||!l(M,t)||l(P,t))return!(n=J(e,t))||!l(M,t)||l(e,O)&&e[O][t]||(n.enumerable=!0),n}function o(e){for(var t,n=$(m(e)),r=[],i=0;n.length>i;)l(M,t=n[i++])||t==O||t==z||r.push(t);return r}function a(e){for(var t,n=e===k,r=$(n?P:m(e)),i=[],o=0;r.length>o;)!l(M,t=r[o++])||n&&!l(k,t)||i.push(M[t]);return i}var s=e("5T2Y"),l=e("B+OT"),u=e("jmDH"),c=e("Y7ZC"),N=e("kTiW"),z=e("6/1s").KEY,f=e("KUxP"),h=e("29s/"),d=e("RfKB"),F=e("YqAc"),p=e("UWiX"),V=e("zLkG"),H=e("Zxgi"),Y=e("R+7+"),G=e("kAMH"),y=e("5K7Z"),U=e("93I4"),Q=e("JB68"),m=e("NsO/"),g=e("G8Mo"),v=e("rr1i"),b=e("oVml"),W=e("A5Xg"),q=e("vwuL"),_=e("mqlF"),K=e("2faE"),X=e("w6GO"),J=q.f,x=K.f,$=W.f,w=s.Symbol,A=s.JSON,S=A&&A.stringify,C="prototype",O=p("_hidden"),Z=p("toPrimitive"),ee={}.propertyIsEnumerable,E=h("symbol-registry"),M=h("symbols"),P=h("op-symbols"),k=Object[C],h="function"==typeof w&&!!_.f,T=s.QObject,I=!T||!T[C]||!T[C].findChild,L=u&&f(function(){return 7!=b(x({},"a",{get:function(){return x(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=J(k,t);r&&delete k[t],x(e,t,n),r&&e!==k&&x(k,t,r)}:x,j=h&&"symbol"==typeof w.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof w},D=function(e,t,n){return e===k&&D(P,t,n),y(e),t=g(t,!0),y(n),(l(M,t)?(n.enumerable?(l(e,O)&&e[O][t]&&(e[O][t]=!1),n=b(n,{enumerable:v(0,!1)})):(l(e,O)||x(e,O,v(1,{})),e[O][t]=!0),L):x)(e,t,n)};h||(N((w=function(){if(this instanceof w)throw TypeError("Symbol is not a constructor!");var t=F(0<arguments.length?arguments[0]:void 0),n=function(e){this===k&&n.call(P,e),l(this,O)&&l(this[O],t)&&(this[O][t]=!1),L(this,t,v(1,e))};return u&&I&&L(k,t,{configurable:!0,set:n}),r(t)})[C],"toString",function(){return this._k}),q.f=i,K.f=D,e("ar/p").f=W.f=o,e("NV0k").f=t,_.f=a,u&&!e("uOPS")&&N(k,"propertyIsEnumerable",t,!0),V.f=function(e){return r(p(e))}),c(c.G+c.W+c.F*!h,{Symbol:w});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=X(p.store),ie=0;re.length>ie;)H(re[ie++]);c(c.S+c.F*!h,"Symbol",{for:function(e){return l(E,e+="")?E[e]:E[e]=w(e)},keyFor:function(e){if(!j(e))throw TypeError(e+" is not a symbol!");for(var t in E)if(E[t]===e)return t},useSetter:function(){I=!0},useSimple:function(){I=!1}}),c(c.S+c.F*!h,"Object",{create:function(e,t){return void 0===t?b(e):n(b(e),t)},defineProperty:D,defineProperties:n,getOwnPropertyDescriptor:i,getOwnPropertyNames:o,getOwnPropertySymbols:a});T=f(function(){_.f(1)});c(c.S+c.F*T,"Object",{getOwnPropertySymbols:function(e){return _.f(Q(e))}}),A&&c(c.S+c.F*(!h||f(function(){var e=w();return"[null]"!=S([e])||"{}"!=S({a:e})||"{}"!=S(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;i<arguments.length;)r.push(arguments[i++]);if(n=t=r[1],(U(t)||void 0!==e)&&!j(e))return G(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!j(t))return t}),r[1]=t,S.apply(A,r)}}),w[C][Z]||e("NegM")(w[C],Z,w[C].valueOf),d(w,"Symbol"),d(Math,"Math",!0),d(s.JSON,"JSON",!0)},AVid:function(e,t,n){"use strict";n.r(t);var r,i=n("OhA9");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},AWw9:function(e,t,n){"use strict";n.r(t);var r,i=n("ZwIF");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"AcI+":function(e,t,n){"use strict";t.a={placeholder:"Select time"}},AcmY:function(e,t,n){"use strict";n.r(t),n.d(t,"ColumnFilterItem",function(){return a}),n.d(t,"ColumnProps",function(){return s}),n.d(t,"TableLocale",function(){return l}),n.d(t,"RowSelectionType",function(){return u}),n.d(t,"TableRowSelection",function(){return c}),n.d(t,"TableProps",function(){return f}),n.d(t,"SelectionCheckboxAllProps",function(){return h}),n.d(t,"SelectionBoxProps",function(){return d}),n.d(t,"FilterMenuProps",function(){return p});var t=n("QbLZ"),t=n.n(t),r=n("TZE5"),i=n("UJE+"),o=n("seDm"),n=n("Uxz4"),i=Object(i.PaginationProps)(),o=Object(o.SpinProps)(),a=r.a.shape({text:r.a.string,value:r.a.string,children:r.a.array}).loose,s={title:r.a.any,dataIndex:r.a.string,customRender:r.a.func,customCell:r.a.func,customHeaderCell:r.a.func,align:r.a.oneOf(["left","right","center"]),ellipsis:r.a.bool,filters:r.a.arrayOf(a),filterMultiple:r.a.bool,filterDropdown:r.a.any,filterDropdownVisible:r.a.bool,sorter:r.a.oneOfType([r.a.boolean,r.a.func]),defaultSortOrder:r.a.oneOf(["ascend","descend"]),colSpan:r.a.number,width:r.a.oneOfType([r.a.string,r.a.number]),className:r.a.string,fixed:r.a.oneOfType([r.a.bool,r.a.oneOf(["left","right"])]),filterIcon:r.a.any,filteredValue:r.a.array,filtered:r.a.bool,defaultFilteredValue:r.a.array,sortOrder:r.a.oneOfType([r.a.bool,r.a.oneOf(["ascend","descend"])]),sortDirections:r.a.array},l=r.a.shape({filterTitle:r.a.string,filterConfirm:r.a.any,filterReset:r.a.any,emptyText:r.a.any,selectAll:r.a.any,selectInvert:r.a.any,sortTitle:r.a.string,expand:r.a.string,collapse:r.a.string}).loose,u=r.a.oneOf(["checkbox","radio"]),c={type:u,selectedRowKeys:r.a.array,getCheckboxProps:r.a.func,selections:r.a.oneOfType([r.a.array,r.a.bool]),hideDefaultSelections:r.a.bool,fixed:r.a.bool,columnWidth:r.a.oneOfType([r.a.string,r.a.number]),selectWay:r.a.oneOf(["onSelect","onSelectMultiple","onSelectAll","onSelectInvert"]),columnTitle:r.a.any},f={prefixCls:r.a.string,dropdownPrefixCls:r.a.string,rowSelection:r.a.oneOfType([r.a.shape(c).loose,null]),pagination:r.a.oneOfType([r.a.shape(t()({},i,{position:r.a.oneOf(["top","bottom","both"])})).loose,r.a.bool]),size:r.a.oneOf(["default","middle","small","large"]),dataSource:r.a.array,components:r.a.object,columns:r.a.array,rowKey:r.a.oneOfType([r.a.string,r.a.func]),rowClassName:r.a.func,expandedRowRender:r.a.any,defaultExpandAllRows:r.a.bool,defaultExpandedRowKeys:r.a.array,expandedRowKeys:r.a.array,expandIconAsCell:r.a.bool,expandIconColumnIndex:r.a.number,expandRowByClick:r.a.bool,loading:r.a.oneOfType([r.a.shape(o).loose,r.a.bool]),locale:l,indentSize:r.a.number,customRow:r.a.func,customHeaderRow:r.a.func,useFixedHeader:r.a.bool,bordered:r.a.bool,showHeader:r.a.bool,footer:r.a.func,title:r.a.func,scroll:r.a.object,childrenColumnName:r.a.oneOfType([r.a.array,r.a.string]),bodyStyle:r.a.any,sortDirections:r.a.array,tableLayout:r.a.string,getPopupContainer:r.a.func,expandIcon:r.a.func,transformCellText:r.a.func},h={store:n.a,locale:r.a.any,disabled:r.a.bool,getCheckboxPropsByItem:r.a.func,getRecordKey:r.a.func,data:r.a.array,prefixCls:r.a.string,hideDefaultSelections:r.a.bool,selections:r.a.oneOfType([r.a.array,r.a.bool]),getPopupContainer:r.a.func},d={store:n.a,type:u,defaultSelection:r.a.arrayOf([r.a.string,r.a.number]),rowIndex:r.a.oneOfType([r.a.string,r.a.number]),name:r.a.string,disabled:r.a.bool,id:r.a.string},p={_propsSymbol:r.a.any,locale:l,selectedKeys:r.a.arrayOf([r.a.string,r.a.number]),column:r.a.object,confirmFilter:r.a.func,prefixCls:r.a.string,dropdownPrefixCls:r.a.string,getPopupContainer:r.a.func,handleFilter:r.a.func}},"AfU/":function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement,e=this._self._c||e;return e("div",{staticClass:"sm-component-time-text",style:[this.fontStyle,this.getBackgroundStyle,this.getTextColorStyle]},[e("span",[this._v(this._s(this.time))])])},i=[]},Ai06:function(e,t,n){"use strict";var r=n("ZpKI"),i=n("Yzn+");e.exports=Object.keys||function(e){return r(e,i)}},AoAp:function(e,t,n){"use strict";e.exports={}},"Ap4+":function(e,t,n){"use strict";var r=n("TqRt"),l=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("/xfr")),o=r(n("Jq2x")),u=n("cKS0");function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={setTranslate:function(){var e,t,n,r,i,o,a,s;this.params.scrollbar.el&&this.scrollbar.el&&(o=this.scrollbar,e=this.rtlTranslate,s=this.progress,t=o.dragSize,n=o.trackSize,r=o.$dragEl,i=o.$el,o=this.params.scrollbar,s=(n-(a=t))*s,e?0<(s=-s)?(a=t-s,s=0):n<-s+t&&(a=n+s):s<0?(a=t+s,s=0):n<s+t&&(a=n-s),this.isHorizontal()?(r.transform("translate3d("+s+"px, 0, 0)"),r[0].style.width=a+"px"):(r.transform("translate3d(0px, "+s+"px, 0)"),r[0].style.height=a+"px"),o.hide)&&(clearTimeout(this.scrollbar.timeout),i[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){i[0].style.opacity=0,i.transition(400)},1e3))},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e,t,n,r,i,o,a,s=this;s.params.scrollbar.el&&s.scrollbar.el&&(t=(e=s.scrollbar).$dragEl,n=e.$el,t[0].style.width="",t[0].style.height="",r=s.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,o=(i=s.size/s.virtualSize)*(r/s.size),a="auto"===s.params.scrollbar.dragSize?r*i:parseInt(s.params.scrollbar.dragSize,10),s.isHorizontal()?t[0].style.width=a+"px":t[0].style.height=a+"px",n[0].style.display=1<=i?"none":"",s.params.scrollbar.hide&&(n[0].style.opacity=0),(0,u.extend)(e,{trackSize:r,divider:i,moveDivider:o,dragSize:a}),s.params.watchOverflow)&&s.enabled&&e.$el[s.isLocked?"addClass":"removeClass"](s.params.scrollbar.lockClass)},getPointerPosition:function(e){return this.isHorizontal()?("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientX:("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientY},setDragPosition:function(e){var t=this,n=t.scrollbar,r=t.rtlTranslate,i=n.$el,o=n.dragSize,a=n.trackSize,s=n.dragStartPos,n=(n.getPointerPosition(e)-i.offset()[t.isHorizontal()?"left":"top"]-(null!==s?s:o/2))/(a-o),e=(n=Math.max(Math.min(n,1),0),r&&(n=1-n),t.minTranslate()+(t.maxTranslate()-t.minTranslate())*n);t.updateProgress(e),t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()},onDragStart:function(e){var t=this,n=t.params.scrollbar,r=t.scrollbar,i=t.$wrapperEl,o=r.$el,a=r.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===a[0]||e.target===a?r.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),a.transition(100),r.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),o.transition(0),n.hide&&o.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,n=this.$wrapperEl,r=t.$el,i=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),n.transition(0),r.transition(0),i.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,n=t.params.scrollbar,r=t.scrollbar,i=t.$wrapperEl,o=r.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),i.transition("")),n.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=(0,u.nextTick)(function(){o.css("opacity",0),o.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),n.snapOnRelease)&&t.slideToClosest()},enableDraggable:function(){var e,t,n,r,i,o,a,s=this;s.params.scrollbar.el&&(e=(0,l.getDocument)(),i=s.scrollbar,t=s.touchEventsTouch,n=s.touchEventsDesktop,a=s.params,r=s.support,i=i.$el[0],o=!(!r.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},a=!(!r.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1},i)&&(r.touch?(i.addEventListener(t.start,s.scrollbar.onDragStart,o),i.addEventListener(t.move,s.scrollbar.onDragMove,o),i.addEventListener(t.end,s.scrollbar.onDragEnd,a)):(i.addEventListener(n.start,s.scrollbar.onDragStart,o),e.addEventListener(n.move,s.scrollbar.onDragMove,o),e.addEventListener(n.end,s.scrollbar.onDragEnd,a)))},disableDraggable:function(){var e,t,n,r,i,o,a,s=this;s.params.scrollbar.el&&(e=(0,l.getDocument)(),i=s.scrollbar,t=s.touchEventsTouch,n=s.touchEventsDesktop,a=s.params,r=s.support,i=i.$el[0],o=!(!r.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},a=!(!r.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1},i)&&(r.touch?(i.removeEventListener(t.start,s.scrollbar.onDragStart,o),i.removeEventListener(t.move,s.scrollbar.onDragMove,o),i.removeEventListener(t.end,s.scrollbar.onDragEnd,a)):(i.removeEventListener(n.start,s.scrollbar.onDragStart,o),e.removeEventListener(n.move,s.scrollbar.onDragMove,o),e.removeEventListener(n.end,s.scrollbar.onDragEnd,a)))},init:function(){var e,t=this,n=t.scrollbar,r=t.$el,i=(t.params.scrollbar=(0,u.createElementIfNotDefined)(r,t.params.scrollbar,t.params.createElements,{el:"swiper-scrollbar"}),t.params.scrollbar);i.el&&(e=(0,o.default)(i.el),0===(r=(e=t.params.uniqueNavElements&&"string"==typeof i.el&&1<e.length&&1===r.find(i.el).length?r.find(i.el):e).find("."+t.params.scrollbar.dragClass)).length&&(r=(0,o.default)('<div class="'+t.params.scrollbar.dragClass+'"></div>'),e.append(r)),(0,u.extend)(n,{$el:e,el:e[0],$dragEl:r,dragEl:r[0]}),i.draggable&&n.enableDraggable(),e)&&e[t.enabled?"removeClass":"addClass"](t.params.scrollbar.lockClass)},destroy:function(){this.scrollbar.disableDraggable()}};t.default={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){(0,u.bindModuleMethods)(this,{scrollbar:i({isTouched:!1,timeout:null,dragTimeout:null},a)})},on:{init:function(e){e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(e){e.scrollbar.updateSize()},resize:function(e){e.scrollbar.updateSize()},observerUpdate:function(e){e.scrollbar.updateSize()},setTranslate:function(e){e.scrollbar.setTranslate()},setTransition:function(e,t){e.scrollbar.setTransition(t)},"enable disable":function(e){var t=e.scrollbar.$el;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)},destroy:function(e){e.scrollbar.destroy()}}}},AqgP:function(e,t,n){"use strict";var r=n("TqRt"),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.sortData=h,t.tranformSingleToMulti=f,r(n("pVnL"))),s=r(n("6TV0")),l=r(n("CeSn")),o=r(n("w1NJ")),u=r(n("SPmy")),c=n("e7LN"),i=n("EtYe");function f(e){var t=(e.features[0]||{}).properties;return t?(e.features=Object.entries(t).map(function(e){return{properties:{label:e[0],value:e[1]}}}),Object.assign(e,(0,i.statisticsFeatures)(e.features))):e}function h(e,t,n,r){var i=t.find(function(e){return e.sort&&"unsort"!==e.sort}),t=[].concat(e),e=(i&&(t=(0,u.default)(e,function(e){return isNaN(+e.properties[i.yField])?-Number.MAX_VALUE:+e.properties[i.yField]},"ascending"===i.sort?"asc":"desc")),+n);return e&&t.length>e&&(t.length=e),i&&r&&t.reverse(),t}t.default=function(){function e(e,t){e.withCredentials=e.withCredentials||!1,this.dataset=e,this.datasetOptions=t,this.dataCache=null,this.sortDataCache=null,this.axisDatas=[],this.serieDatas=[],this.gridAxis={xAxis:[],yAxis:{}},this.radarAxis={},this.radarMax=0}var t=e.prototype;return t.getDataOption=function(r,i){var o=this;return void 0===i&&(i=!1),new Promise(function(n,t){var e=o.datasetOptions.find(function(e){return"unsort"!==e.sort})?"":r.maxFeatures;(0,s.default)((0,a.default)({},r,{maxFeatures:e})).then(function(e){var t;e.transformed&&e.features.length&&(e=f(e)),"iPortal"!==o.dataset.type&&"iServer"!==o.dataset.type&&"rest"!==o.dataset.type&&"geoJSON"!==o.dataset.type||(t=o.formatChartData(o.datasetOptions,i,e)),n(t)}).catch(function(e){t(e)})})},t.formatChartData=function(e,r,i){var o=this,e=(void 0===r&&(r=!1),void 0===i&&(i=this.dataCache),this._clearChartCache(),this.setDatasetOptions(e),i=this._setData(i,r),e.forEach(function(e){var t=o._fieldsData(i,e,r),n=o._createDataOption(t,e);o._createAxisData(t,e),n.tooltip||(n.tooltip=o._fixToolTip(i,e)),o.serieDatas.push(n)}),(0<this.gridAxis.xAxis.length||"{}"!==JSON.stringify(this.gridAxis.yAxis))&&this.gridAxis),t=this.radarAxis,n=this.serieDatas;return(0,a.default)({},e,t,{series:n})},t.setDatasetOptions=function(e){this.datasetOptions=e},t._setData=function(e,t){var n=e;return e&&(e=(0,c.filterInvalidData)(this.datasetOptions,e.features),this.dataCache=(0,i.statisticsFeatures)(e),e=h(e,this.datasetOptions,this.dataset.maxFeatures,t),n=(0,i.statisticsFeatures)(e),this.sortDataCache=n),n},t._clearChartCache=function(){this.axisDatas=[],this.serieDatas=[],this.gridAxis={xAxis:[],yAxis:{}}},t._createDataOption=function(e,t){var n=t.seriesType,r=e.xData,e=e.yData,i={type:n,name:t.yField,data:[]};return"pie"===n?e.forEach(function(e,t){i.data.push({value:e,name:r[t]})}):"radar"===n?(n=[].concat(e),i.data.push({value:[].concat(e),name:t.yField}),n=(0,o.default)(n),this.radarMax=Math.max(n,this.radarMax)):(i.data=[].concat(e),t.isStack?i.stack=1:i.stack=0),i},t._fixToolTip=function(e,t){return e.transformed?"pie"===t.seriesType?{trigger:"item",formatter:"{b} : {c} ({d}%)"}:{trigger:"item",formatter:"{b} : {c}"}:null},t._createAxisData=function(e,t){var n,r=t.seriesType,t=e.xData,i=[],t="radar"===r&&t?(n=this.radarMax,t.forEach(function(e){i.push({text:e,max:n})}),this.radarAxis={radar:{indicator:i}},this.radarAxis):["bar","line","scatter","2.5Bar"].find(function(e){return e===r})?(e=t&&[].concat(t),this.gridAxis.xAxis||(this.gridAxis.xAxis=[],this.gridAxis.yAxis={}),0===this.gridAxis.xAxis.length?this.gridAxis.xAxis.push({data:e}):this.gridAxis.xAxis[0]={data:e},this.gridAxis):{};return t},t._fieldsData=function(e,t){var n,r=t.sort,i=t.yField,o=t.xField,t=t.isStastic,a=e.fieldCaptions,o=a.indexOf(o),a=a.indexOf(i),i=a<0?[]:e.fieldValues[a],t=t?(a=this._getUniqFieldDatas(e,o,r),n=this._stasticXData(a,r),this._stasticYData(i,a,r)):(n=this._getFieldDatas(e,o),[].concat(i).map(function(e){return(0,l.default)(e)}));return{xData:n,yData:t}},t._stasticXData=function(e){return Object.keys(e)},t._stasticYData=function(n,e){var r,i=[];for(r in e)!function(){var t=0;e[r].forEach(function(e){e=n[e]&&(0,c.clearNumberComma)(n[e]);t+=(0,l.default)(e)}),i.push(t)}();return i},t._getUniqFieldDatas=function(e,t){var e=this._getFieldDatas(e,t),n={};return e&&e.forEach(function(e,t){n[e]?n[e].push(t):n[e]=[t]}),n},t._getFieldDatas=function(e,t){return e.fieldValues[t]},e}()},ArHY:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.metaTypes=t.default=void 0,r(n("v2zb"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={prefixCls:o.default.string,title:o.default.any,description:o.default.any},o=(t.metaTypes=n,{name:"SmCardMeta",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},AuqM:function(e,t,n){"use strict";n=n("cyC+");t.a=n.a},AvvY:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:true,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){if(e===12)e=0;if(t==="രാത്രി"&&e>=4||t==="ഉച്ച കഴിഞ്ഞ്"||t==="വൈകുന്നേരം")return e+12;else return e},meridiem:function(e,t,n){if(e<4)return"രാത്രി";else if(e<12)return"രാവിലെ";else if(e<17)return"ഉച്ച കഴിഞ്ഞ്";else if(e<20)return"വൈകുന്നേരം";else return"രാത്രി"}})}(n("wd/R"))},AzSJ:function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE_AzSJ__},"B+OT":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"B/MC":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.tableColumnTypes=t.default=void 0,r(n("0tG6"))),o=n("AcmY"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},o.ColumnProps),o=(t.tableColumnTypes=n,{name:"SmTableColumn",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},B4q0:function(e,t,n){var r=n("lsHq"),i=n("hE+I");e.exports=function(e,t){var n;return t=t,t=r.copyOptions(t),r.ensureSpacesExists(t),t=i(e,e=t),n="compact"in e&&e.compact?"_parent":"parent",("addParent"in e&&e.addParent?JSON.stringify(t,function(e,t){return e===n?"_":t},e.spaces):JSON.stringify(t,null,e.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},B55N:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return t[1]==="元"?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return e==="午後"},meridiem:function(e,t,n){if(e<12)return"午前";else return"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){if(e.week()!==this.week())return"[来週]dddd LT";else return"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){if(this.week()!==e.week())return"[先週]dddd LT";else return"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return e===1?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n("wd/R"))},B8du:function(e,t){e.exports=function(){return!1}},B8yF:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.buttonGroupTypes=void 0,function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=s(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("g6so"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG"));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}n=Object.assign(Object.assign({},i.ButtonGroupProps),{size:o.default.oneOf(["small","large","default","middle"])}),t.buttonGroupTypes=n,o={name:"SmButtonGroup",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n,computed:{extralProps:function(){return{size:"middle"===this.size?void 0:this.size}},componentClass:function(){return{"sm-component-btn-group-md":"middle"===this.size}}}};t.default=o},"BGR+":function(e,t,n){"use strict";n.r(t),t.default=function(e,t){for(var n=Object.assign({},e),r=0;r<t.length;r+=1)delete n[t[r]];return n}},BKau:function(e,t,n){"use strict";n.r(t);var r,i=n("CFAA");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},BLzb:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var n=this,e=n.$createElement,r=n._self._c||e;return r("span",n._l(n.numDataList,function(e,t){return r("div",{key:t,staticClass:"sm-component-count-to__numItem",style:[n.calNumBackground(e),n.numInterval,n.numStyle]},[r("span",[n._v(n._s(e))])])}),0)},i=[]},BVg3:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function o(e){if(e%100===11)return true;else if(e%10===1)return false;return true}function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":if(o(e))return i+(t||r?"sekúndur":"sekúndum");return i+"sekúnda";case"m":return t?"mínúta":"mínútu";case"mm":if(o(e))return i+(t||r?"mínútur":"mínútum");else if(t)return i+"mínúta";return i+"mínútu";case"hh":if(o(e))return i+(t||r?"klukkustundir":"klukkustundum");return i+"klukkustund";case"d":if(t)return"dagur";return r?"dag":"degi";case"dd":if(o(e)){if(t)return i+"dagar";return i+(r?"daga":"dögum")}else if(t)return i+"dagur";return i+(r?"dag":"degi");case"M":if(t)return"mánuður";return r?"mánuð":"mánuði";case"MM":if(o(e)){if(t)return i+"mánuðir";return i+(r?"mánuði":"mánuðum")}else if(t)return i+"mánuður";return i+(r?"mánuð":"mánuði");case"y":return t||r?"ár":"ári";case"yy":if(o(e))return i+(t||r?"ár":"árum");return i+(t||r?"ár":"ári")}}var n;e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:t,ss:t,m:t,mm:t,h:"klukkustund",hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},BYqR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){void 0===e&&(e=this.params.speed);void 0===t&&(t=!0);void 0===r&&(r=.5);var i=this,o=i.activeIndex,a=Math.min(i.params.slidesPerGroupSkip,o),a=a+Math.floor((o-a)/i.params.slidesPerGroup),s=i.rtlTranslate?i.translate:-i.translate;{var l;s>=i.snapGrid[a]?(l=i.snapGrid[a],(i.snapGrid[a+1]-l)*r<s-l&&(o+=i.params.slidesPerGroup)):(l=i.snapGrid[a-1],a=i.snapGrid[a],s-l<=(a-l)*r&&(o-=i.params.slidesPerGroup))}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)}},BhAg:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),r=r(n("i7/w")),n=n("YKMj"),o=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},r=function(t){function e(){var e=t.apply(this,arguments)||this;return e.timer=null,e}(0,i.default)(e,t);var n=e.prototype;return n.onStartTimingChange=function(e){e?this._start():this._close()},n.onFrequencyChange=function(){this.startTiming&&this.resetTimer()},n._start=function(){var e=this,t=1e3*this.frequency||3e3;this.startTimer(),this.timer=setInterval(function(){e.timing()},t)},n._close=function(){this.timer&&(clearInterval(this.timer),this.timer=null),this.closeTimer()},n.startTimer=function(){},n.timing=function(){},n.closeTimer=function(){},n.resetTimer=function(){this._close(),this._start()},n.beforeDestroy=function(){this.startTiming&&this._close()},e}(r.default);o([(0,n.Prop)({default:!1})],r.prototype,"startTiming",void 0),o([(0,n.Prop)({default:3})],r.prototype,"frequency",void 0),o([(0,n.Watch)("startTiming",{immediate:!0})],r.prototype,"onStartTimingChange",null),o([(0,n.Watch)("frequency")],r.prototype,"onFrequencyChange",null),r=o([n.Component],r);t.default=r},BiGR:function(e,t,n){var r=n("nmnc"),i=n("03A+"),o=n("Z0cm"),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},BkRI:function(e,t,n){var r=n("OBhP");e.exports=function(e){return r(e,5)}},BtDp:function(e,t,n){"use strict";n.r(t);var r,i=n("ydGV"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},Bv3t:function(e,t,n){"use strict";n.r(t);var r,i=n("zqUU"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},ByF4:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},C07L:function(e,t,n){"use strict";n.r(t);var r,i=n("BLzb"),o=n("1Mc+");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},C6WP:function(e){e.exports=JSON.parse('[{"name":"黑龙江省","coord":[127.64559817675396,48.48668098449708]},{"name":"内蒙古自治区","coord":[118.34519572208615,45.370218276977525]},{"name":"新疆维吾尔自治区","coord":[87.13479065593184,41.75497055053711]},{"name":"吉林省","coord":[126.12985278813787,43.57983207702637]},{"name":"辽宁省","coord":[124.02494773936439,41.105743408203125]},{"name":"甘肃省","coord":[102.87785725633012,37.69582366943361]},{"name":"河北省","coord":[115.66327227481898,39.33383178710938]},{"name":"北京市","coord":[116.62199343603638,40.25053787231445]},{"name":"山西省","coord":[112.45180235808988,37.666561126708984]},{"name":"天津市","coord":[117.35711842642581,39.406789779663086]},{"name":"陕西省","coord":[109.56294003056632,35.64754199981689]},{"name":"宁夏回族自治区","coord":[105.96110877640074,37.3081169128418]},{"name":"青海省","coord":[96.07301048277901,35.44417190551758]},{"name":"山东省","coord":[118.03833752951093,36.29800605773925]},{"name":"西藏自治区","coord":[87.47361520439412,31.6703872680664]},{"name":"河南省","coord":[113.07832397097275,33.87751102447509]},{"name":"江苏省","coord":[119.93926538201052,32.945452690124505]},{"name":"安徽省","coord":[117.15146765881019,32.024482727050774]},{"name":"四川省","coord":[102.28998890142759,30.182161331176758]},{"name":"湖北省","coord":[112.87798261431585,31.157071113586426]},{"name":"重庆市","coord":[107.870126637831,30.188085556030266]},{"name":"上海市","coord":[121.42561166015514,31.276043891906745]},{"name":"浙江省","coord":[119.75337092707514,29.175934791564945]},{"name":"湖南省","coord":[111.52770282777405,27.38110256195069]},{"name":"江西省","coord":[115.51091280655628,27.283511161804206]},{"name":"云南省","coord":[101.27053825991308,25.19783210754396]},{"name":"贵州省","coord":[106.49672346773299,26.92267990112305]},{"name":"福建省","coord":[117.9976766946587,25.939599990844727]},{"name":"广西壮族自治区","coord":[108.98706831086302,23.891559600830078]},{"name":"台湾省","coord":[120.82468432537434,23.602651596069336]},{"name":"香港特别行政区","coord":[114.21036850371561,22.374858856201172]},{"name":"海南省","coord":[109.62792940960824,19.163116455078125]},{"name":"广东省","coord":[113.32127888266032,22.873867034912106]},{"name":"澳门特别行政区","coord":[113.56819996291901,22.160347992976]}]')},C7JN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this,t=e.wrapperEl,n=e.rtlTranslate;e.enabled&&(e.previousTranslate=e.translate,e.isHorizontal()?e.translate=n?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses(),t=e.maxTranslate()-e.minTranslate(),(0==t?0:(e.translate-e.minTranslate())/t)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1))}},C7dx:function(g,v,e){"use strict";e.r(v);var t=e("QbLZ"),R=e.n(t),t=e("i7/w"),t=e.n(t),n=e("Rs/M"),n=e.n(n),r=e("TZE5"),i=e("tIgm"),X=e("2qPA"),N=e("ewVk"),h=e("GKdC"),E=e("wd/R"),M=e.n(E),re=6,J=7,b={functional:!0,render:function(e,t){for(var n=e,e=t.props,r=e.value.localeData(),i=e.prefixCls,o=[],a=[],s=r.firstDayOfWeek(),t=void 0,l=M()(),u=0;u<J;u++){var c=(s+u)%J;l.day(c),o[u]=r.weekdaysMin(l),a[u]=r.weekdaysShort(l)}e.showWeekNumber&&(t=n("th",{attrs:{role:"columnheader"},class:i+"-column-header "+i+"-week-number-header"},[n("span",{class:i+"-column-header-inner"},["x"])]));e=a.map(function(e,t){return n("th",{key:t,attrs:{role:"columnheader",title:e},class:i+"-column-header"},[n("span",{class:i+"-column-header-inner"},[o[t]])])});return n("thead",[n("tr",{attrs:{role:"row"}},[t,e])])}},o=e("YEIV"),$=e.n(o),o=e("TSYQ"),Z=e.n(o),_={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function ee(e){var t=M()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function ie(e){return e.format("LL")}function a(e,t){M.a.isMoment(e)&&M.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function V(e,t){t=t?t(e):{};return R()({},_,t)}function u(e,t,n){var r,i;return!(t&&t(e)||n&&(e=e=V(t=e,e=n),n=!1,(t=t)&&(r=t.hour(),i=t.minute(),t=t.second(),n=-1!==e.disabledHours().indexOf(r)||-1!==e.disabledMinutes(r).indexOf(i)||-1!==e.disabledSeconds(r,i).indexOf(t)),n))}function x(e,t){if(!e)return"";if("function"!=typeof(t=Array.isArray(t)?t[0]:t))return e.format(t);t=t(e);if("string"==typeof t)return t;throw new Error("The function of format does not return a string")}function te(){}function ne(e,t){return e&&t&&e.isSame(t,"day")}var w={props:{contentRender:r.a.func,dateRender:r.a.func,disabledDate:r.a.func,prefixCls:r.a.string,selectedValue:r.a.oneOfType([r.a.any,r.a.arrayOf(r.a.any)]),value:r.a.object,hoverValue:r.a.any.def([]),showWeekNumber:r.a.bool},render:function(){var e=arguments[0],t=Object(X.getOptionProps)(this),n=t.contentRender,r=t.prefixCls,i=t.selectedValue,o=t.value,a=t.showWeekNumber,s=t.dateRender,l=t.disabledDate,u=t.hoverValue,t=Object(X.getListeners)(this),c=t.select,f=void 0===c?te:c,c=t.dayHover,h=void 0===c?te:c,d=void 0,p=void 0,y=void 0,m=[],g=ee(o),D=r+"-cell",B=r+"-week-number-cell",R=r+"-date",N=r+"-today",z=r+"-selected-day",F=r+"-selected-date",V=r+"-selected-start-date",H=r+"-selected-end-date",Y=r+"-in-range-cell",G=r+"-last-month-cell",U=r+"-next-month-btn-day",Q=r+"-disabled-cell",W=r+"-disabled-cell-first-of-row",q=r+"-disabled-cell-last-of-row",K=r+"-last-day-of-month",t=o.clone();t.date(1);for(var c=(t.day()+7-o.localeData().firstDayOfWeek())%7,v=t.clone(),b=(v.add(0-c,"days"),0),d=0;d<re;d++)for(p=0;p<J;p++)y=v,b&&(y=y.clone()).add(b,"days"),m.push(y),b++;var _=[],b=0;for(d=0;d<re;d++){var x,w=void 0,A=void 0,S=!1,C=[];for(a&&(A=e("td",{key:"week-"+m[b].week(),attrs:{role:"gridcell"},class:B},[m[b].week()])),p=0;p<J;p++){var O,E=null,M=null,y=m[b],P=(p<J-1&&(E=m[b+1]),0<p&&(M=m[b-1]),D),k=!1,T=!1,I=(ne(y,g)&&(P+=" "+N,w=!0),O=o,(I=y).year()<O.year()?1:I.year()===O.year()&&I.month()<O.month()),L=(O=o,(L=y).year()>O.year()?1:L.year()===O.year()&&L.month()>O.month()),j=(i&&Array.isArray(i)?(O=u.length?u:i,!I&&!L&&(j=O[0],O=O[1],j&&ne(y,j)&&(S=T=!0,P+=" "+V),j||O)&&(ne(y,O)?(S=T=!0,P+=" "+H):(null==j&&y.isBefore(O,"day")||null==O&&y.isAfter(j,"day")||y.isAfter(j,"day")&&y.isBefore(O,"day"))&&(P+=" "+Y))):ne(y,o)&&(S=T=!0),ne(y,i)&&(P+=" "+F),I&&(P+=" "+G),L&&(P+=" "+U),y.clone().endOf("month").date()===y.date()&&(P+=" "+K),l&&l(y,o)&&(k=!0,M&&l(M,o)||(P+=" "+W),E&&l(E,o)||(P+=" "+q)),T&&(P+=" "+z),k&&(P+=" "+Q),void 0);j=s?s(y,o):(O=n?n(y,o):y.date(),e("div",{key:"rc-calendar-"+(I=y).year()+"-"+I.month()+"-"+I.date(),class:R,attrs:{"aria-selected":T,"aria-disabled":k}},[O])),C.push(e("td",{key:b,on:{click:k?te:f.bind(null,y),mouseenter:k?te:h.bind(null,y)},attrs:{role:"gridcell",title:ie(y)},class:P},[j])),b++}_.push(e("tr",{key:d,attrs:{role:"row"},class:Z()((x={},$()(x,r+"-current-week",w),$()(x,r+"-active-week",S),x))},[A,C]))}return e("tbody",{class:r+"-tbody"},[_])}},H={functional:!0,render:function(e,t){var n=t.props,t=t.listeners,t={props:n,on:void 0===t?{}:t};return e("table",{class:n.prefixCls+"-table",attrs:{cellSpacing:"0",role:"grid"}},[e(b,t),e(w,t)])}};function A(){}var S={name:"MonthTable",mixins:[i.a],props:{cellRender:r.a.func,prefixCls:r.a.string,value:r.a.object,locale:r.a.any,contentRender:r.a.any,disabledDate:r.a.func},data:function(){return{sValue:this.value}},watch:{value:function(e){this.setState({sValue:e})}},methods:{setAndSelectValue:function(e){this.setState({sValue:e}),this.__emit("select",e)},chooseMonth:function(e){var t=this.sValue.clone();t.month(e),this.setAndSelectValue(t)},months:function(){for(var e,t=this.sValue.clone(),n=[],r=0,i=0;i<4;i++){n[i]=[];for(var o=0;o<3;o++){t.month(r);a=void 0,a=(e=t).locale();var a=e.localeData()["zh-cn"===a?"months":"monthsShort"](e);n[i][o]={value:r,content:a,title:a},r++}}return n}},render:function(){var a=this,s=arguments[0],e=this.$props,l=this.sValue,u=ee(l),t=this.months(),c=l.month(),f=e.prefixCls,h=e.locale,d=e.contentRender,p=e.cellRender,y=e.disabledDate,e=t.map(function(e,t){e=e.map(function(e){var t,n,r,i=!1,o=(y&&((r=l.clone()).month(e.value),i=y(r)),r={},$()(r,f+"-cell",1),$()(r,f+"-cell-disabled",i),$()(r,f+"-selected-cell",e.value===c),$()(r,f+"-current-cell",u.year()===l.year()&&e.value===u.month()),void 0);return o=p?((n=l.clone()).month(e.value),p(n,h)):(n=void 0,n=d?((t=l.clone()).month(e.value),d(t,h)):e.content,s("a",{class:f+"-month"},[n])),s("td",{attrs:{role:"gridcell",title:e.title},key:e.value,on:{click:i?A:function(){return a.chooseMonth(e.value)}},class:r},[o])});return s("tr",{key:t,attrs:{role:"row"}},[e])});return s("table",{class:f+"-table",attrs:{cellSpacing:"0",role:"grid"}},[s("tbody",{class:f+"-tbody"},[e])])}};function C(e){this.changeYear(e)}function T(){}var I={name:"MonthPanel",mixins:[i.a],props:{value:r.a.any,defaultValue:r.a.any,cellRender:r.a.any,contentRender:r.a.any,locale:r.a.any,rootPrefixCls:r.a.string,disabledDate:r.a.func,renderFooter:r.a.func,changeYear:r.a.func.def(T)},data:function(){var e=this.value,t=this.defaultValue;return this.nextYear=C.bind(this,1),this.previousYear=C.bind(this,-1),{sValue:e||t}},watch:{value:function(e){this.setState({sValue:e})}},methods:{setAndSelectValue:function(e){this.setValue(e),this.__emit("select",e)},setValue:function(e){Object(X.hasProp)(this,"value")&&this.setState({sValue:e})}},render:function(){var e=arguments[0],t=this.sValue,n=this.cellRender,r=this.contentRender,i=this.locale,o=this.rootPrefixCls,a=this.disabledDate,s=this.renderFooter,l=t.year(),o=o+"-month-panel",s=s&&s("month");return e("div",{class:o},[e("div",[e("div",{class:o+"-header"},[e("a",{class:o+"-prev-year-btn",attrs:{role:"button",title:i.previousYear},on:{click:this.previousYear}}),e("a",{class:o+"-year-select",attrs:{role:"button",title:i.yearSelect},on:{click:Object(X.getListeners)(this).yearPanelShow||T}},[e("span",{class:o+"-year-select-content"},[l]),e("span",{class:o+"-year-select-arrow"},["x"])]),e("a",{class:o+"-next-year-btn",attrs:{role:"button",title:i.nextYear},on:{click:this.nextYear}})]),e("div",{class:o+"-body"},[e(S,{attrs:{disabledDate:a,locale:i,value:t,cellRender:n,contentRender:r,prefixCls:o},on:{select:this.setAndSelectValue}})]),s&&e("div",{class:o+"-footer"},[s])])])}};function L(){}function Y(e){var t=this.sValue.clone();t.add(e,"year"),this.setState({sValue:t})}var G={mixins:[i.a],props:{rootPrefixCls:r.a.string,value:r.a.object,defaultValue:r.a.object,locale:r.a.object,renderFooter:r.a.func},data:function(){return this.nextDecade=Y.bind(this,10),this.previousDecade=Y.bind(this,-10),{sValue:this.value||this.defaultValue}},watch:{value:function(e){this.sValue=e}},methods:{years:function(){for(var e=this.sValue.year(),t=10*parseInt(e/10,10)-1,n=[],r=0,i=0;i<4;i++){n[i]=[];for(var o=0;o<3;o++){var a=t+r,s=String(a);n[i][o]={content:s,year:a,title:s},r++}}return n}},render:function(){var r=this,i=arguments[0],e=this.sValue,t=this.locale,n=this.renderFooter,o=Object(X.getListeners)(this).decadePanelShow||L,a=this.years(),s=e.year(),l=10*parseInt(s/10,10),u=9+l,c=this.rootPrefixCls+"-year-panel",e=a.map(function(e,t){e=e.map(function(e){t={},$()(t,c+"-cell",1),$()(t,c+"-selected-cell",e.year===s),$()(t,c+"-last-decade-cell",e.year<l),$()(t,c+"-next-decade-cell",e.year>u);var t,n=L,n=e.year<l?r.previousDecade:e.year>u?r.nextDecade:function(e){var t=this.sValue.clone();t.year(e),t.month(this.sValue.month()),this.sValue=t,this.__emit("select",t)}.bind(r,e.year);return i("td",{attrs:{role:"gridcell",title:e.title},key:e.content,on:{click:n},class:t},[i("a",{class:c+"-year"},[e.content])])});return i("tr",{key:t,attrs:{role:"row"}},[e])}),a=n&&n("year");return i("div",{class:c},[i("div",[i("div",{class:c+"-header"},[i("a",{class:c+"-prev-decade-btn",attrs:{role:"button",title:t.previousDecade},on:{click:this.previousDecade}}),i("a",{class:c+"-decade-select",attrs:{role:"button",title:t.decadeSelect},on:{click:o}},[i("span",{class:c+"-decade-select-content"},[l,"-",u]),i("span",{class:c+"-decade-select-arrow"},["x"])]),i("a",{class:c+"-next-decade-btn",attrs:{role:"button",title:t.nextDecade},on:{click:this.nextDecade}})]),i("div",{class:c+"-body"},[i("table",{class:c+"-table",attrs:{cellSpacing:"0",role:"grid"}},[i("tbody",{class:c+"-tbody"},[e])])]),a&&i("div",{class:c+"-footer"},[a])])])}};function U(){}function Q(e){var t=this.sValue.clone();t.add(e,"years"),this.setState({sValue:t})}var W={mixins:[i.a],props:{locale:r.a.object,value:r.a.object,defaultValue:r.a.object,rootPrefixCls:r.a.string,renderFooter:r.a.func},data:function(){return this.nextCentury=Q.bind(this,100),this.previousCentury=Q.bind(this,-100),{sValue:this.value||this.defaultValue}},watch:{value:function(e){this.sValue=e}},render:function(){for(var a=this,s=arguments[0],e=this.sValue,t=this.$props,n=t.locale,t=t.renderFooter,l=e.year(),u=100*parseInt(l/100,10),r=u-10,c=99+u,i=[],o=0,f=this.rootPrefixCls+"-decade-panel",h=0;h<4;h++){i[h]=[];for(var d=0;d<3;d++)i[h][d]={startDecade:r+10*o,endDecade:r+10*o+9},o++}e=t&&t("decade"),t=i.map(function(e,t){e=e.map(function(e){var t,n=e.startDecade,e=e.endDecade,r=n<u,i=c<e,e=(t={},$()(t,f+"-cell",1),$()(t,f+"-selected-cell",n<=l&&l<=e),$()(t,f+"-last-century-cell",r),$()(t,f+"-next-century-cell",i),n+"-"+e),o=U,o=r?a.previousCentury:i?a.nextCentury:function(e,t){var n=this.sValue.clone();n.year(e),n.month(this.sValue.month()),this.__emit("select",n),t.preventDefault()}.bind(a,n);return s("td",{key:n,on:{click:o},attrs:{role:"gridcell"},class:t},[s("a",{class:f+"-decade"},[e])])});return s("tr",{key:t,attrs:{role:"row"}},[e])});return s("div",{class:f},[s("div",{class:f+"-header"},[s("a",{class:f+"-prev-century-btn",attrs:{role:"button",title:n.previousCentury},on:{click:this.previousCentury}}),s("div",{class:f+"-century"},[u,"-",c]),s("a",{class:f+"-next-century-btn",attrs:{role:"button",title:n.nextCentury},on:{click:this.nextCentury}})]),s("div",{class:f+"-body"},[s("table",{class:f+"-table",attrs:{cellSpacing:"0",role:"grid"}},[s("tbody",{class:f+"-tbody"},[t])])]),e&&s("div",{class:f+"-footer"},[e])])}};function q(){}function K(e){var t=this.value.clone();t.add(e,"months"),this.__emit("valueChange",t)}function oe(e){var t=this.value.clone();t.add(e,"years"),this.__emit("valueChange",t)}function d(e,t){return e?t:null}var ae={name:"CalendarHeader",mixins:[i.a],props:{prefixCls:r.a.string,value:r.a.object,showTimePicker:r.a.bool,locale:r.a.object,enablePrev:r.a.any.def(1),enableNext:r.a.any.def(1),disabledMonth:r.a.func,mode:r.a.any,monthCellRender:r.a.func,monthCellContentRender:r.a.func,renderFooter:r.a.func},data:function(){return this.nextMonth=K.bind(this,1),this.previousMonth=K.bind(this,-1),this.nextYear=oe.bind(this,1),this.previousYear=oe.bind(this,-1),{yearPanelReferer:null}},methods:{onMonthSelect:function(e){this.__emit("panelChange",e,"date"),Object(X.getListeners)(this).monthSelect?this.__emit("monthSelect",e):this.__emit("valueChange",e)},onYearSelect:function(e){var t=this.yearPanelReferer;this.setState({yearPanelReferer:null}),this.__emit("panelChange",e,t),this.__emit("valueChange",e)},onDecadeSelect:function(e){this.__emit("panelChange",e,"year"),this.__emit("valueChange",e)},changeYear:function(e){0<e?this.nextYear():this.previousYear()},monthYearElement:function(e){var t=this,n=this.$createElement,r=this.$props,i=r.prefixCls,o=r.locale,r=r.value,a=r.localeData(),s=o.monthBeforeYear,l=i+"-"+(s?"my-select":"ym-select"),u=e?" "+i+"-time-status":"",c=n("a",{class:i+"-year-select"+u,attrs:{role:"button",title:e?null:o.yearSelect},on:{click:e?q:function(){return t.showYearPanel("date")}}},[r.format(o.yearFormat)]),a=n("a",{class:i+"-month-select"+u,attrs:{role:"button",title:e?null:o.monthSelect},on:{click:e?q:this.showMonthPanel}},[o.monthFormat?r.format(o.monthFormat):a.monthsShort(r)]),f=void 0;e&&(f=n("a",{class:i+"-day-select"+u,attrs:{role:"button"}},[r.format(o.dayFormat)]));return n("span",{class:l},[s?[a,f,c]:[c,a,f]])},showMonthPanel:function(){this.__emit("panelChange",null,"month")},showYearPanel:function(e){this.setState({yearPanelReferer:e}),this.__emit("panelChange",null,"year")},showDecadePanel:function(){this.__emit("panelChange",null,"decade")}},render:function(){var e=this,t=arguments[0],n=Object(X.getOptionProps)(this),r=n.prefixCls,i=n.locale,o=n.mode,a=n.value,s=n.showTimePicker,l=n.enableNext,u=n.enablePrev,c=n.disabledMonth,f=n.renderFooter,h=null;return"month"===o&&(h=t(I,{attrs:{locale:i,value:a,rootPrefixCls:r,disabledDate:c,cellRender:n.monthCellRender,contentRender:n.monthCellContentRender,renderFooter:f,changeYear:this.changeYear},on:{select:this.onMonthSelect,yearPanelShow:function(){return e.showYearPanel("month")}}})),"year"===o&&(h=t(G,{attrs:{locale:i,value:a,rootPrefixCls:r,renderFooter:f},on:{select:this.onYearSelect,decadePanelShow:this.showDecadePanel}})),"decade"===o&&(h=t(W,{attrs:{locale:i,value:a,rootPrefixCls:r,renderFooter:f},on:{select:this.onDecadeSelect}})),t("div",{class:r+"-header"},[t("div",{style:{position:"relative"}},[d(u&&!s,t("a",{class:r+"-prev-year-btn",attrs:{role:"button",title:i.previousYear},on:{click:this.previousYear}})),d(u&&!s,t("a",{class:r+"-prev-month-btn",attrs:{role:"button",title:i.previousMonth},on:{click:this.previousMonth}})),this.monthYearElement(s),d(l&&!s,t("a",{class:r+"-next-month-btn",on:{click:this.nextMonth},attrs:{title:i.nextMonth}})),d(l&&!s,t("a",{class:r+"-next-year-btn",on:{click:this.nextYear},attrs:{title:i.nextYear}}))]),h])}},o=e("kvrn"),O=e.n(o);function se(){}var le={functional:!0,render:function(e,t){var n=t.props,t=t.listeners,r=n.prefixCls,i=n.locale,o=n.value,a=n.timePicker,s=n.disabled,l=n.disabledDate,n=n.text,t=(void 0===t?{}:t).today,t=void 0===t?se:t,a=(!n&&a?i.now:n)||i.today,n=l&&!u(ee(o),l)||s;return e("a",{class:r+"-today-btn "+(n?r+"-today-btn-disabled":""),attrs:{role:"button",title:ie(ee(o))},on:{click:n?se:t}},[a])}};function ue(){}var ce={functional:!0,render:function(e,t){var n=t.props,t=t.listeners,r=n.prefixCls,i=n.locale,n=n.okDisabled,t=(void 0===t?{}:t).ok,o=r+"-ok-btn";return n&&(o+=" "+r+"-ok-btn-disabled"),e("a",{class:o,attrs:{role:"button"},on:{click:n?ue:void 0===t?ue:t}},[i.ok])}};function fe(){}var he={functional:!0,render:function(e,t){var n=t.props,t=t.listeners,t=void 0===t?{}:t,r=n.prefixCls,i=n.locale,o=n.showTimePicker,n=n.timePickerDisabled,a=t.closeTimePicker,a=void 0===a?fe:a,t=t.openTimePicker,t=void 0===t?fe:t,s={};return $()(s,r+"-time-picker-btn",!0),$()(s,r+"-time-picker-btn-disabled",n),e("a",{class:s,attrs:{role:"button"},on:{click:n?fe:o?a:t}},[o?i.dateSelect:i.timeSelect])}},de={mixins:[i.a],props:{prefixCls:r.a.string,showDateInput:r.a.bool,disabledTime:r.a.any,timePicker:r.a.any,selectedValue:r.a.any,showOk:r.a.bool,value:r.a.object,renderFooter:r.a.func,defaultValue:r.a.object,locale:r.a.object,showToday:r.a.bool,disabledDate:r.a.func,showTimePicker:r.a.bool,okDisabled:r.a.bool,mode:r.a.string},methods:{onSelect:function(e){this.__emit("select",e)},getRootDOMNode:function(){return this.$el}},render:function(){var e=arguments[0],t=Object(X.getOptionProps)(this),n=t.value,r=t.prefixCls,i=t.showOk,o=t.timePicker,a=t.renderFooter,s=t.showToday,l=t.mode,u=null,a=a&&a(l);return(s||o||a)&&(l={props:R()({},t,{value:n}),on:Object(X.getListeners)(this)},t=null,s&&(t=e(le,O()([{key:"todayButton"},l]))),delete l.props.value,(!(n=null)===i||!1!==i&&o)&&(n=e(ce,O()([{key:"okButton"},l]))),s=null,i=void(o&&(s=e(he,O()([{key:"timePickerButton"},l])))),(t||s||n||a)&&(i=e("span",{class:r+"-footer-btn"},[a,t,s,n])),o={},$()(o,r+"-footer",!0),$()(o,r+"-footer-show-ok",!!n),u=e("div",{class:o},[i])),u}};function pe(){}function ye(e){return e?ee(e):M()()}var o=r.a.custom(function(e){return Array.isArray(e)?0===e.length||-1!==e.findIndex(function(e){return void 0===e||M.a.isMoment(e)}):void 0===e||M.a.isMoment(e)}),o={mixins:[i.a],name:"CalendarMixinWrapper",props:{value:o,defaultValue:o},data:function(){var e=this.$props;return{sValue:e.value||e.defaultValue||ye(),sSelectedValue:e.selectedValue||e.defaultSelectedValue}},watch:{value:function(e){e=e||this.defaultValue||ye(this.sValue);this.setState({sValue:e})},selectedValue:function(e){this.setState({sSelectedValue:e})}},methods:{onSelect:function(e,t){e&&this.setValue(e),this.setSelectedValue(e,t)},renderRoot:function(e){var t=this.$createElement,n=this.$props,r=n.prefixCls,i={};return $()(i,r,1),$()(i,r+"-hidden",!n.visible),$()(i,e.class,!!e.class),t("div",{ref:"rootInstance",class:i,attrs:{tabIndex:"0"},on:{keydown:this.onKeyDown||pe,blur:this.onBlur||pe}},[e.children])},setSelectedValue:function(e,t){Object(X.hasProp)(this,"selectedValue")||this.setState({sSelectedValue:e}),this.__emit("select",e,t)},setValue:function(e){var t=this.sValue;Object(X.hasProp)(this,"value")||this.setState({sValue:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&this.__emit("change",e)},isAllowedDate:function(e){return u(e,this.disabledDate,this.disabledTime)}}},me={methods:{getFormat:function(){var e=this.format,t=this.locale,n=this.timePicker;return e=e||(n?t.dateTimeFormat:t.dateFormat)},focus:function(){this.focusElement?this.focusElement.focus():this.$refs.rootInstance&&this.$refs.rootInstance.focus()},saveFocusElement:function(e){this.focusElement=e}}},ge=void 0,ve=void 0,s=void 0,be={mixins:[i.a],props:{prefixCls:r.a.string,timePicker:r.a.object,value:r.a.object,disabledTime:r.a.any,format:r.a.oneOfType([r.a.string,r.a.arrayOf(r.a.string),r.a.func]),locale:r.a.object,disabledDate:r.a.func,placeholder:r.a.string,selectedValue:r.a.object,clearIcon:r.a.any,inputMode:r.a.string,inputReadOnly:r.a.bool},data:function(){return{str:x(this.selectedValue,this.format),invalid:!1,hasFocus:!1}},watch:{selectedValue:function(){this.setState()},format:function(){this.setState()}},updated:function(){var e=this;this.$nextTick(function(){!s||!e.$data.hasFocus||e.invalid||0===ge&&0===ve||s.setSelectionRange(ge,ve)})},getInstance:function(){return s},methods:{getDerivedStateFromProps:function(e,t){var n={},e=(s&&(ge=s.selectionStart,ve=s.selectionEnd),e.selectedValue);return n=t.hasFocus?n:{str:x(e,this.format),invalid:!1}},onClear:function(){this.setState({str:""}),this.__emit("clear",null)},onInputChange:function(e){var t,n=e.target,r=n.value,n=n.composing,i=this.str;e.isComposing||n||(void 0===i?"":i)===r||(n=(e=this.$props).disabledDate,i=e.format,e=e.selectedValue,r?!(i=M()(r,i,!0)).isValid()||((t=this.value.clone()).year(i.year()).month(i.month()).date(i.date()).hour(i.hour()).minute(i.minute()).second(i.second()),!t)||n&&n(t)?this.setState({invalid:!0,str:r}):(e!==t||e&&t&&!e.isSame(t))&&(this.setState({invalid:!1,str:r}),this.__emit("change",t)):(this.__emit("change",null),this.setState({invalid:!1,str:r})))},onFocus:function(){this.setState({hasFocus:!0})},onBlur:function(){this.setState(function(e,t){return{hasFocus:!1,str:x(t.value,t.format)}})},onKeyDown:function(e){var t=e.keyCode,n=this.$props,r=n.value,n=n.disabledDate;t===h.a.ENTER&&(n&&n(r)||this.__emit("select",r.clone()),e.preventDefault())},getRootDOMNode:function(){return this.$el},focus:function(){s&&s.focus()},saveDateInput:function(e){s=e}},render:function(){var e=arguments[0],t=this.invalid,n=this.str,r=this.locale,i=this.prefixCls,o=this.placeholder,a=this.disabled,s=this.showClear,l=this.inputMode,u=this.inputReadOnly,c=Object(X.getComponentFromProp)(this,"clearIcon"),t=t?i+"-input-invalid":"";return e("div",{class:i+"-input-wrap"},[e("div",{class:i+"-date-input-wrap"},[e("input",O()([{directives:[{name:"ant-ref",value:this.saveDateInput},{name:"ant-input"}]},{class:i+"-input "+t,domProps:{value:n},attrs:{disabled:a,placeholder:o,inputMode:l,readOnly:u},on:{input:this.onInputChange,keydown:this.onKeyDown,focus:this.onFocus,blur:this.onBlur}}]))]),s?e("a",{attrs:{role:"button",title:r.clear},on:{click:this.onClear}},[c||e("span",{class:i+"-clear-btn"})]):null])}},_e=e("+NXu");function xe(e){return e.clone().startOf("month")}function we(e){return e.clone().endOf("month")}function p(e,t,n){return e.clone().add(t,n)}function Ae(e){return!(!M.a.isMoment(e)||!e.isValid())&&e}var l={name:"Calendar",props:{locale:r.a.object.def(_e.a),format:r.a.oneOfType([r.a.string,r.a.arrayOf(r.a.string),r.a.func]),visible:r.a.bool.def(!0),prefixCls:r.a.string.def("rc-calendar"),defaultValue:r.a.object,value:r.a.object,selectedValue:r.a.object,defaultSelectedValue:r.a.object,mode:r.a.oneOf(["time","date","month","year","decade"]),showDateInput:r.a.bool.def(!0),showWeekNumber:r.a.bool,showToday:r.a.bool.def(!0),showOk:r.a.bool,timePicker:r.a.any,dateInputPlaceholder:r.a.any,disabledDate:r.a.func,disabledTime:r.a.any,dateRender:r.a.func,renderFooter:r.a.func.def(function(){return null}),renderSidebar:r.a.func.def(function(){return null}),clearIcon:r.a.any,focusablePanel:r.a.bool.def(!0),inputMode:r.a.string,inputReadOnly:r.a.bool},mixins:[i.a,me,o],data:function(){var e=this.$props;return{sMode:this.mode||"date",sValue:Ae(e.value)||Ae(e.defaultValue)||M()(),sSelectedValue:e.selectedValue||e.defaultSelectedValue}},watch:{mode:function(e){this.setState({sMode:e})},value:function(e){this.setState({sValue:Ae(e)||Ae(this.defaultValue)||ye(this.sValue)})},selectedValue:function(e){this.setState({sSelectedValue:e})}},mounted:function(){var e=this;this.$nextTick(function(){e.saveFocusElement(be.getInstance())})},methods:{onPanelChange:function(e,t){var n=this.sValue;Object(X.hasProp)(this,"mode")||this.setState({sMode:t}),this.__emit("panelChange",e||n,t)},onKeyDown:function(e){if("input"!==e.target.nodeName.toLowerCase()){var t=e.keyCode,n=e.ctrlKey||e.metaKey,r=this.disabledDate,i=this.sValue;switch(t){case h.a.DOWN:return this.goTime(1,"weeks"),e.preventDefault(),1;case h.a.UP:return this.goTime(-1,"weeks"),e.preventDefault(),1;case h.a.LEFT:return n?this.goTime(-1,"years"):this.goTime(-1,"days"),e.preventDefault(),1;case h.a.RIGHT:return n?this.goTime(1,"years"):this.goTime(1,"days"),e.preventDefault(),1;case h.a.HOME:return this.setValue(xe(i)),e.preventDefault(),1;case h.a.END:return this.setValue(we(i)),e.preventDefault(),1;case h.a.PAGE_DOWN:return this.goTime(1,"month"),e.preventDefault(),1;case h.a.PAGE_UP:return this.goTime(-1,"month"),e.preventDefault(),1;case h.a.ENTER:return r&&r(i)||this.onSelect(i,{source:"keyboard"}),e.preventDefault(),1;default:return this.__emit("keydown",e),1}}},onClear:function(){this.onSelect(null),this.__emit("clear")},onOk:function(){var e=this.sSelectedValue;this.isAllowedDate(e)&&this.__emit("ok",e)},onDateInputChange:function(e){this.onSelect(e,{source:"dateInput"})},onDateInputSelect:function(e){this.onSelect(e,{source:"dateInputSelect"})},onDateTableSelect:function(e){var t=this.timePicker;!this.sSelectedValue&&t&&(t=Object(X.getOptionProps)(t).defaultValue)&&a(t,e),this.onSelect(e)},onToday:function(){var e=ee(this.sValue);this.onSelect(e,{source:"todayButton"})},onBlur:function(n){var r=this;setTimeout(function(){var e=be.getInstance(),t=r.rootInstance;!t||t.contains(document.activeElement)||e&&e.contains(document.activeElement)||r.$emit("blur",n)},0)},getRootDOMNode:function(){return this.$el},openTimePicker:function(){this.onPanelChange(null,"time")},closeTimePicker:function(){this.onPanelChange(null,"date")},goTime:function(e,t){this.setValue(p(this.sValue,e,t))}},render:function(){var e=arguments[0],t=this.locale,n=this.prefixCls,r=this.disabledDate,i=this.dateInputPlaceholder,o=this.timePicker,a=this.disabledTime,s=this.showDateInput,l=this.sValue,u=this.sSelectedValue,c=this.sMode,f=this.renderFooter,h=this.inputMode,d=this.inputReadOnly,p=this.monthCellRender,y=this.monthCellContentRender,m=this.$props,g=Object(X.getComponentFromProp)(this,"clearIcon"),v="time"===c,b=v&&a&&o?V(u,a):null,_=null,x=(o&&v&&(x=Object(X.getOptionProps)(o),b={props:R()({showHour:!0,showSecond:!0,showMinute:!0},x,b,{value:u,disabledTime:a}),on:{change:this.onDateInputChange}},void 0!==x.defaultValue&&(b.props.defaultOpenValue=x.defaultValue),_=Object(N.a)(o,b)),s?e(be,{attrs:{format:this.getFormat(),value:l,locale:t,placeholder:i,showClear:!0,disabledTime:a,disabledDate:r,prefixCls:n,selectedValue:u,clearIcon:g,inputMode:h,inputReadOnly:d},key:"date-input",on:{clear:this.onClear,change:this.onDateInputChange,select:this.onDateInputSelect}}):null),b=[];return m.renderSidebar&&b.push(m.renderSidebar()),b.push(e("div",{class:n+"-panel",key:"panel"},[x,e("div",{attrs:{tabIndex:m.focusablePanel?0:void 0},class:n+"-date-panel"},[e(ae,{attrs:{locale:t,mode:c,value:l,renderFooter:f,showTimePicker:v,prefixCls:n,monthCellRender:p,monthCellContentRender:y},on:{valueChange:this.setValue,panelChange:this.onPanelChange}}),o&&v?e("div",{class:n+"-time-picker"},[e("div",{class:n+"-time-picker-panel"},[_])]):null,e("div",{class:n+"-body"},[e(H,{attrs:{locale:t,value:l,selectedValue:u,prefixCls:n,dateRender:m.dateRender,disabledDate:r,showWeekNumber:m.showWeekNumber},on:{select:this.onDateTableSelect}})]),e(de,{attrs:{showOk:m.showOk,mode:c,renderFooter:m.renderFooter,locale:t,prefixCls:n,showToday:m.showToday,disabledTime:a,showTimePicker:v,showDateInput:m.showDateInput,timePicker:o,selectedValue:u,timePickerDisabled:!u,value:l,disabledDate:r,okDisabled:!(!1===m.showOk||u&&this.isAllowedDate(u))},on:{ok:this.onOk,select:this.onSelect,today:this.onToday,openTimePicker:this.openTimePicker,closeTimePicker:this.closeTimePicker}})])])),this.renderRoot({children:b,class:m.showWeekNumber?n+"-week-number":""})}},Se=(t.a.use(n.a,{name:"ant-ref"}),l),Ce={name:"MonthCalendar",props:{locale:r.a.object.def(_e.a),format:r.a.string,visible:r.a.bool.def(!0),prefixCls:r.a.string.def("rc-calendar"),monthCellRender:r.a.func,value:r.a.object,defaultValue:r.a.object,selectedValue:r.a.object,defaultSelectedValue:r.a.object,disabledDate:r.a.func,monthCellContentRender:r.a.func,renderFooter:r.a.func.def(function(){return null}),renderSidebar:r.a.func.def(function(){return null})},mixins:[i.a,me,o],data:function(){var e=this.$props;return{mode:"month",sValue:e.value||e.defaultValue||M()(),sSelectedValue:e.selectedValue||e.defaultSelectedValue}},methods:{onKeyDown:function(e){var t=e.keyCode,n=e.ctrlKey||e.metaKey,r=this.sValue,i=this.disabledDate,o=r;switch(t){case h.a.DOWN:(o=r.clone()).add(3,"months");break;case h.a.UP:(o=r.clone()).add(-3,"months");break;case h.a.LEFT:o=r.clone(),n?o.add(-1,"years"):o.add(-1,"months");break;case h.a.RIGHT:o=r.clone(),n?o.add(1,"years"):o.add(1,"months");break;case h.a.ENTER:return i&&i(r)||this.onSelect(r),e.preventDefault(),1;default:return}if(o!==r)return this.setValue(o),e.preventDefault(),1},handlePanelChange:function(e,t){"date"!==t&&this.setState({mode:t})}},render:function(){var e=arguments[0],t=this.mode,n=this.sValue,r=this.$props,i=this.$scopedSlots,o=r.prefixCls,a=r.locale,s=r.disabledDate,l=this.monthCellRender||i.monthCellRender,u=this.monthCellContentRender||i.monthCellContentRender,i=this.renderFooter||i.renderFooter,t=e("div",{class:o+"-month-calendar-content"},[e("div",{class:o+"-month-header-wrap"},[e(ae,{attrs:{prefixCls:o,mode:t,value:n,locale:a,disabledMonth:s,monthCellRender:l,monthCellContentRender:u},on:{monthSelect:this.onSelect,valueChange:this.setValue,panelChange:this.handlePanelChange}})]),e(de,{attrs:{prefixCls:o,renderFooter:i}})]);return this.renderRoot({class:r.prefixCls+"-month-calendar",children:t})}},t=e("Puqe"),Oe=e.n(t),Ee=e("P1CO"),n={adjustX:1,adjustY:1},l=[0,0],Me={bottomLeft:{points:["tl","tl"],overflow:n,offset:[0,-3],targetOffset:l},bottomRight:{points:["tr","tr"],overflow:n,offset:[0,-3],targetOffset:l},topRight:{points:["br","br"],overflow:n,offset:[0,3],targetOffset:l},topLeft:{points:["bl","bl"],overflow:n,offset:[0,3],targetOffset:l}},Pe=e("hJbE"),o=e("J2iB"),ke=e.n(o),t={validator:function(e){return Array.isArray(e)?0===e.length||-1===e.findIndex(function(e){return!ke()(e)&&!M.a.isMoment(e)}):ke()(e)||M.a.isMoment(e)}},Te={name:"Picker",props:{animation:r.a.oneOfType([r.a.func,r.a.string]),disabled:r.a.bool,transitionName:r.a.string,format:r.a.oneOfType([r.a.string,r.a.array,r.a.func]),children:r.a.func,getCalendarContainer:r.a.func,calendar:r.a.any,open:r.a.bool,defaultOpen:r.a.bool.def(!1),prefixCls:r.a.string.def("rc-calendar-picker"),placement:r.a.any.def("bottomLeft"),value:t,defaultValue:t,align:r.a.object.def(function(){return{}}),dropdownClassName:r.a.string,dateRender:r.a.func},mixins:[i.a],data:function(){var e=this.$props;return{sOpen:Object(X.hasProp)(this,"open")?e.open:e.defaultOpen,sValue:e.value||e.defaultValue}},watch:{value:function(e){this.setState({sValue:e})},open:function(e){this.setState({sOpen:e})}},mounted:function(){this.preSOpen=this.sOpen},updated:function(){!this.preSOpen&&this.sOpen&&(this.focusTimeout=setTimeout(this.focusCalendar,0)),this.preSOpen=this.sOpen},beforeDestroy:function(){clearTimeout(this.focusTimeout)},methods:{onCalendarKeyDown:function(e){e.keyCode===h.a.ESC&&(e.stopPropagation(),this.closeCalendar(this.focus))},onCalendarSelect:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=this.$props,n=(Object(X.hasProp)(this,"value")||this.setState({sValue:e}),Object(X.getOptionProps)(n.calendar));"keyboard"!==t.source&&"dateInputSelect"!==t.source&&(n.timePicker||"dateInput"===t.source)&&"todayButton"!==t.source||this.closeCalendar(this.focus),this.__emit("change",e)},onKeyDown:function(e){this.sOpen||e.keyCode!==h.a.DOWN&&e.keyCode!==h.a.ENTER||(this.openCalendar(),e.preventDefault())},onCalendarOk:function(){this.closeCalendar(this.focus)},onCalendarClear:function(){this.closeCalendar(this.focus)},onCalendarBlur:function(){this.setOpen(!1)},onVisibleChange:function(e){this.setOpen(e)},getCalendarElement:function(){var e=this.$props,t=Object(X.getOptionProps)(e.calendar),n=Object(X.getEvents)(e.calendar),r=this.sValue,t={ref:"calendarInstance",props:{defaultValue:r||t.defaultValue,selectedValue:r},on:{keydown:this.onCalendarKeyDown,ok:Object(Ee.a)(n.ok,this.onCalendarOk),select:Object(Ee.a)(n.select,this.onCalendarSelect),clear:Object(Ee.a)(n.clear,this.onCalendarClear),blur:Object(Ee.a)(n.blur,this.onCalendarBlur)}};return Object(N.a)(e.calendar,t)},setOpen:function(e,t){this.sOpen!==e&&(Object(X.hasProp)(this,"open")||this.setState({sOpen:e},t),this.__emit("openChange",e))},openCalendar:function(e){this.setOpen(!0,e)},closeCalendar:function(e){this.setOpen(!1,e)},focus:function(){this.sOpen||this.$el.focus()},focusCalendar:function(){this.sOpen&&this.calendarInstance&&this.calendarInstance.componentInstance&&this.calendarInstance.componentInstance.focus()}},render:function(){var e=arguments[0],t=Object(X.getOptionProps)(this),n=Object(X.getStyle)(this),r=t.prefixCls,i=t.placement,o=t.getCalendarContainer,a=t.align,s=t.animation,l=t.disabled,u=t.dropdownClassName,c=t.transitionName,f=this.sValue,h=this.sOpen,d=this.$scopedSlots.default,f={value:f,open:h};return!this.sOpen&&this.calendarInstance||(this.calendarInstance=this.getCalendarElement()),e(Pe.a,{attrs:{popupAlign:a,builtinPlacements:Me,popupPlacement:i,action:l&&!h?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:o,popupStyle:n,popupAnimation:s,popupTransitionName:c,popupVisible:h,prefixCls:r,popupClassName:u},on:{popupVisibleChange:this.onVisibleChange}},[e("template",{slot:"popup"},[this.calendarInstance]),Object(N.a)(d(f,t),{on:{keydown:this.onKeyDown}})])}},j=e("DGO/"),c=e("TfX5"),P=e("LPgQ");function D(e,t){if(!e)return"";if("function"!=typeof(t=Array.isArray(t)?t[0]:t))return e.format(t);t=t(e);if("string"==typeof t)return t;throw new Error("The function of format does not return a string")}function Ie(){}function Le(O,e){return{props:Object(X.initDefaultProps)(e,{allowClear:!0,showToday:!0}),mixins:[i.a],model:{prop:"value",event:"change"},inject:{configProvider:{default:function(){return c.a}}},data:function(){var e=this.value||this.defaultValue;if(e&&!Object(P.a)(E).isMoment(e))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object");return{sValue:e,showDate:e,_open:!!this.open}},watch:{open:function(e){var t=Object(X.getOptionProps)(this),n={};n._open=e,"value"in t&&!e&&t.value!==this.showDate&&(n.showDate=t.value),this.setState(n)},value:function(e){var t={};(t.sValue=e)!==this.sValue&&(t.showDate=e),this.setState(t)},_open:function(e,t){var n=this;this.$nextTick(function(){Object(X.hasProp)(n,"open")||!t||e||n.focus()})}},methods:{clearSelection:function(e){e.preventDefault(),e.stopPropagation(),this.handleChange(null)},handleChange:function(e){Object(X.hasProp)(this,"value")||this.setState({sValue:e,showDate:e}),this.$emit("change",e,D(e,this.format))},handleCalendarChange:function(e){this.setState({showDate:e})},handleOpenChange:function(e){"open"in Object(X.getOptionProps)(this)||this.setState({_open:e}),this.$emit("openChange",e)},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},renderFooter:function(){var e=this.$createElement,t=this.$scopedSlots,n=this.$slots,r=this._prefixCls,t=this.renderExtraFooter||t.renderExtraFooter||n.renderExtraFooter;return t?e("div",{class:r+"-footer-extra"},["function"==typeof t?t.apply(void 0,arguments):t]):null},onMouseEnter:function(e){this.$emit("mouseenter",e)},onMouseLeave:function(e){this.$emit("mouseleave",e)}},render:function(){var t=this,n=arguments[0],e=this.$scopedSlots,r=this.$data,i=r.sValue,o=r.showDate,r=r._open,a=Object(X.getComponentFromProp)(this,"suffixIcon"),a=Array.isArray(a)?a[0]:a,s=Object(X.getListeners)(this),l=s.panelChange,l=void 0===l?Ie:l,u=s.focus,c=void 0===u?Ie:u,u=s.blur,f=void 0===u?Ie:u,u=s.ok,u=void 0===u?Ie:u,h=Object(X.getOptionProps)(this),d=h.prefixCls,p=h.locale,y=h.localeCode,m=h.inputReadOnly,d=(0,this.configProvider.getPrefixCls)("calendar",d),g=(this._prefixCls=d,h.dateRender||e.dateRender),v=h.monthCellContentRender||e.monthCellContentRender,b=("placeholder"in h?h:p.lang).placeholder,_=h.showTime?h.disabledTime:null,x=Z()((x={},$()(x,d+"-time",h.showTime),$()(x,d+"-month",Ce===O),x)),y=(i&&y&&i.locale(y),{props:{},on:{}}),w={props:{},on:{}},A={},w=(h.showTime?(w.on.select=this.handleChange,A.minWidth="195px"):y.on.change=this.handleChange,"mode"in h&&(w.props.mode=h.mode),Object(X.mergeProps)(w,{props:{disabledDate:h.disabledDate,disabledTime:_,locale:p.lang,timePicker:h.timePicker,defaultValue:h.defaultPickerValue||Object(P.a)(E)(),dateInputPlaceholder:b,prefixCls:d,dateRender:g,format:h.format,showToday:h.showToday,monthCellContentRender:v,renderFooter:this.renderFooter,value:o,inputReadOnly:m},on:{ok:u,panelChange:l,change:this.handleCalendarChange},class:x,scopedSlots:e})),_=n(O,w),S=!h.disabled&&h.allowClear&&i?n(j.default,{attrs:{type:"close-circle",theme:"filled"},class:d+"-picker-clear",on:{click:this.clearSelection}}):null,C=a&&(Object(X.isValidElement)(a)?Object(N.a)(a,{class:d+"-picker-icon"}):n("span",{class:d+"-picker-icon"},[a]))||n(j.default,{attrs:{type:"calendar"},class:d+"-picker-icon"}),p={props:R()({},h,y.props,{calendar:_,value:i,prefixCls:d+"-picker-container"}),on:R()({},Oe()(s,"change"),y.on,{open:r,onOpenChange:this.handleOpenChange}),style:h.popupStyle,scopedSlots:R()({default:function(e){e=e.value;return n("div",[n("input",{ref:"input",attrs:{disabled:h.disabled,readOnly:!0,placeholder:b,tabIndex:h.tabIndex,name:t.name},on:{focus:c,blur:f},domProps:{value:D(e,t.format)},class:h.pickerInputClass}),S,C])}},e)};return n("span",{class:h.pickerClass,style:A,on:{mouseenter:this.onMouseEnter,mouseleave:this.onMouseLeave}},[n(Te,p)])}}}var je={mixins:[i.a],props:{format:r.a.string,prefixCls:r.a.string,disabledDate:r.a.func,placeholder:r.a.string,clearText:r.a.string,value:r.a.object,inputReadOnly:r.a.bool.def(!1),hourOptions:r.a.array,minuteOptions:r.a.array,secondOptions:r.a.array,disabledHours:r.a.func,disabledMinutes:r.a.func,disabledSeconds:r.a.func,allowEmpty:r.a.bool,defaultOpenValue:r.a.object,currentSelectPanel:r.a.string,focusOnOpen:r.a.bool,clearIcon:r.a.any},data:function(){var e=this.value,t=this.format;return{str:e&&e.format(t)||"",invalid:!1}},mounted:function(){var e=this;this.focusOnOpen&&(window.requestAnimationFrame||window.setTimeout)(function(){e.$refs.input.focus(),e.$refs.input.select()})},watch:{value:function(e){var t=this;this.$nextTick(function(){t.setState({str:e&&e.format(t.format)||"",invalid:!1})})}},methods:{onInputChange:function(e){var t=e.target,n=t.value,t=t.composing,r=this.str,r=void 0===r?"":r;if(!e.isComposing&&!t&&r!==n){this.setState({str:n});var e=this.format,t=this.hourOptions,r=this.minuteOptions,i=this.secondOptions,o=this.disabledHours,a=this.disabledMinutes,s=this.disabledSeconds,l=this.value;if(n){var u=this.getProtoValue().clone(),n=M()(n,e,!0);if(!n.isValid())return void this.setState({invalid:!0});if(u.hour(n.hour()).minute(n.minute()).second(n.second()),t.indexOf(u.hour())<0||r.indexOf(u.minute())<0||i.indexOf(u.second())<0)return void this.setState({invalid:!0});e=o(),n=a(u.hour()),t=s(u.hour(),u.minute());if(e&&0<=e.indexOf(u.hour())||n&&0<=n.indexOf(u.minute())||t&&0<=t.indexOf(u.second()))return void this.setState({invalid:!0});l?l.hour()===u.hour()&&l.minute()===u.minute()&&l.second()===u.second()||((r=l.clone()).hour(u.hour()),r.minute(u.minute()),r.second(u.second()),this.__emit("change",r)):l!==u&&this.__emit("change",u)}else this.__emit("change",null);this.setState({invalid:!1})}},onKeyDown:function(e){27===e.keyCode&&this.__emit("esc"),this.__emit("keydown",e)},getProtoValue:function(){return this.value||this.defaultOpenValue},getInput:function(){var e=this.$createElement,t=this.prefixCls,n=this.placeholder,r=this.inputReadOnly,i=this.invalid,o=this.str,i=i?t+"-input-invalid":"";return e("input",O()([{class:t+"-input "+i,ref:"input",on:{keydown:this.onKeyDown,input:this.onInputChange},domProps:{value:o},attrs:{placeholder:n,readOnly:!!r}},{directives:[{name:"ant-input"}]}]))}},render:function(){return(0,arguments[0])("div",{class:this.prefixCls+"-input-wrap"},[this.getInput()])}},n=e("xEkU"),De=e.n(n);function Be(){}function Re(e,t,n){var r;n<=0?De()(function(){e.scrollTop=t}):(r=(t-e.scrollTop)/n*10,De()(function(){e.scrollTop+=r,e.scrollTop!==t&&Re(e,t,n-10)}))}function Ne(e,t){var n=""+e,r=!1;return{value:n=e<10?"0"+e:n,disabled:r=t&&0<=t.indexOf(e)?!0:r}}var ze={mixins:[i.a],props:{prefixCls:r.a.string,options:r.a.array,selectedIndex:r.a.number,type:r.a.string},data:function(){return{active:!1}},mounted:function(){var e=this;this.$nextTick(function(){e.scrollToSelected(0)})},watch:{selectedIndex:function(){var e=this;this.$nextTick(function(){e.scrollToSelected(120)})}},methods:{onSelect:function(e){var t=this.type;this.__emit("select",t,e)},onEsc:function(e){this.__emit("esc",e)},getOptions:function(){var i=this,o=this.$createElement,e=this.options,a=this.selectedIndex,s=this.prefixCls;return e.map(function(e,t){var n=Z()((n={},$()(n,s+"-select-option-selected",a===t),$()(n,s+"-select-option-disabled",e.disabled),n)),r=e.disabled?Be:function(){i.onSelect(e.value)};return o("li",{attrs:{role:"button",disabled:e.disabled,tabIndex:"0"},on:{click:r,keydown:function(e){13===e.keyCode?r():27===e.keyCode&&i.onEsc()}},class:n,key:t},[e.value])})},handleMouseEnter:function(e){this.setState({active:!0}),this.__emit("mouseenter",e)},handleMouseLeave:function(){this.setState({active:!1})},scrollToSelected:function(e){var t,n=this.$el,r=this.$refs.list;r&&(t=this.selectedIndex,r=r.children[t=t<0?0:t].offsetTop,Re(n,r,e))}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.options,r=this.active;return 0===n.length?null:(n={},$()(n,t+"-select",1),$()(n,t+"-select-active",r),e("div",{class:n,on:{mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave}},[e("ul",{ref:"list"},[this.getOptions()])]))}},Fe={mixins:[i.a],name:"Combobox",props:{format:r.a.string,defaultOpenValue:r.a.object,prefixCls:r.a.string,value:r.a.object,showHour:r.a.bool,showMinute:r.a.bool,showSecond:r.a.bool,hourOptions:r.a.array,minuteOptions:r.a.array,secondOptions:r.a.array,disabledHours:r.a.func,disabledMinutes:r.a.func,disabledSeconds:r.a.func,use12Hours:r.a.bool,isAM:r.a.bool},methods:{onItemChange:function(e,t){var n=this.defaultOpenValue,r=this.use12Hours,i=this.value,o=this.isAM,i=(i||n).clone();"hour"===e?r?o?i.hour(+t%12):i.hour(+t%12+12):i.hour(+t):"minute"===e?i.minute(+t):"ampm"===e?(n=t.toUpperCase(),r&&("PM"===n&&i.hour()<12&&i.hour(i.hour()%12+12),"AM"===n)&&12<=i.hour()&&i.hour(i.hour()-12),this.__emit("amPmChange",n)):i.second(+t),this.__emit("change",i)},onEnterSelectPanel:function(e){this.__emit("currentSelectPanelChange",e)},onEsc:function(e){this.__emit("esc",e)},getHourSelect:function(e){var t,n=this,r=this.$createElement,i=this.prefixCls,o=this.hourOptions,a=this.disabledHours,s=this.showHour,l=this.use12Hours;return s?(t=a(),a=s=void 0,a=l?(s=[12].concat(o.filter(function(e){return e<12&&0<e})),e%12||12):(s=o,e),r(ze,{attrs:{prefixCls:i,options:s.map(function(e){return Ne(e,t)}),selectedIndex:s.indexOf(a),type:"hour"},on:{select:this.onItemChange,mouseenter:function(){return n.onEnterSelectPanel("hour")},esc:this.onEsc}})):null},getMinuteSelect:function(e){var t,n=this,r=this.$createElement,i=this.prefixCls,o=this.minuteOptions,a=this.disabledMinutes,s=this.defaultOpenValue,l=this.showMinute,u=this.value;return l?(t=a((u||s).hour()),r(ze,{attrs:{prefixCls:i,options:o.map(function(e){return Ne(e,t)}),selectedIndex:o.indexOf(e),type:"minute"},on:{select:this.onItemChange,mouseenter:function(){return n.onEnterSelectPanel("minute")},esc:this.onEsc}})):null},getSecondSelect:function(e){var t,n=this,r=this.$createElement,i=this.prefixCls,o=this.secondOptions,a=this.disabledSeconds,s=this.showSecond,l=this.defaultOpenValue,u=this.value;return s?(t=a((s=u||l).hour(),s.minute()),r(ze,{attrs:{prefixCls:i,options:o.map(function(e){return Ne(e,t)}),selectedIndex:o.indexOf(e),type:"second"},on:{select:this.onItemChange,mouseenter:function(){return n.onEnterSelectPanel("second")},esc:this.onEsc}})):null},getAMPMSelect:function(){var e=this,t=this.$createElement,n=this.prefixCls,r=this.use12Hours,i=this.format,o=this.isAM;return r?(r=["am","pm"].map(function(e){return i.match(/\sA/)?e.toUpperCase():e}).map(function(e){return{value:e}}),t(ze,{attrs:{prefixCls:n,options:r,selectedIndex:o?0:1,type:"ampm"},on:{select:this.onItemChange,mouseenter:function(){return e.onEnterSelectPanel("ampm")},esc:this.onEsc}})):null}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.defaultOpenValue,n=this.value||n;return e("div",{class:t+"-combobox"},[this.getHourSelect(n.hour()),this.getMinuteSelect(n.minute()),this.getSecondSelect(n.second()),this.getAMPMSelect(n.hour())])}};function k(){}function Ve(e,t,n,r){for(var i=3<arguments.length&&void 0!==r?r:1,o=[],a=0;a<e;a+=i)t&&!(t.indexOf(a)<0)&&n||o.push(a);return o}var He={mixins:[i.a],props:{clearText:r.a.string,prefixCls:r.a.string.def("rc-time-picker-panel"),defaultOpenValue:{type:Object,default:function(){return M()()}},value:r.a.any,defaultValue:r.a.any,placeholder:r.a.string,format:r.a.string,inputReadOnly:r.a.bool.def(!1),disabledHours:r.a.func.def(k),disabledMinutes:r.a.func.def(k),disabledSeconds:r.a.func.def(k),hideDisabledOptions:r.a.bool,allowEmpty:r.a.bool,showHour:r.a.bool,showMinute:r.a.bool,showSecond:r.a.bool,use12Hours:r.a.bool.def(!1),hourStep:r.a.number,minuteStep:r.a.number,secondStep:r.a.number,addon:r.a.func.def(k),focusOnOpen:r.a.bool,clearIcon:r.a.any},data:function(){return{sValue:this.value,selectionRange:[],currentSelectPanel:""}},watch:{value:function(e){this.setState({sValue:e})}},methods:{onChange:function(e){this.setState({sValue:e}),this.__emit("change",e)},onAmPmChange:function(e){this.__emit("amPmChange",e)},onCurrentSelectPanelChange:function(e){this.setState({currentSelectPanel:e})},close:function(){this.__emit("esc")},onEsc:function(e){this.__emit("esc",e)},disabledHours2:function(){var e=this.use12Hours,t=(0,this.disabledHours)();return t=e&&Array.isArray(t)?this.isAM()?t.filter(function(e){return e<12}).map(function(e){return 0===e?12:e}):t.map(function(e){return 12===e?12:e-12}):t},isAM:function(){var e=this.sValue||this.defaultOpenValue;return 0<=e.hour()&&e.hour()<12}},render:function(){var n,e=arguments[0],t=this.prefixCls,r=this.placeholder,i=this.disabledMinutes,o=this.addon,a=this.disabledSeconds,s=this.hideDisabledOptions,l=this.showHour,u=this.showMinute,c=this.showSecond,f=this.format,h=this.defaultOpenValue,d=this.clearText,p=this.use12Hours,y=this.focusOnOpen,m=this.hourStep,g=this.minuteStep,v=this.secondStep,b=this.inputReadOnly,_=this.sValue,x=this.currentSelectPanel,w=Object(X.getComponentFromProp)(this,"clearIcon"),A=Object(X.getListeners)(this),S=A.esc,S=void 0===S?k:S,A=A.keydown,A=void 0===A?k:A,C=this.disabledHours2(),O=i(_?_.hour():null),E=a(_?_.hour():null,_?_.minute():null),C=Ve(24,C,s,m),m=Ve(60,O,s,g),O=Ve(60,E,s,v),v=(n=h,g=m,E=O,s=(s=C).slice().sort(function(e,t){return Math.abs(n.hour()-e)-Math.abs(n.hour()-t)})[0],g=g.slice().sort(function(e,t){return Math.abs(n.minute()-e)-Math.abs(n.minute()-t)})[0],E=E.slice().sort(function(e,t){return Math.abs(n.second()-e)-Math.abs(n.second()-t)})[0],M()(s+":"+g+":"+E,"HH:mm:ss"));return e("div",{class:t+"-inner"},[e(je,{attrs:{clearText:d,prefixCls:t,defaultOpenValue:v,value:_,currentSelectPanel:x,format:f,placeholder:r,hourOptions:C,minuteOptions:m,secondOptions:O,disabledHours:this.disabledHours2,disabledMinutes:i,disabledSeconds:a,focusOnOpen:y,inputReadOnly:b,clearIcon:w},on:{esc:S,change:this.onChange,keydown:A}}),e(Fe,{attrs:{prefixCls:t,value:_,defaultOpenValue:v,format:f,showHour:l,showMinute:u,showSecond:c,hourOptions:C,minuteOptions:m,secondOptions:O,disabledHours:this.disabledHours2,disabledMinutes:i,disabledSeconds:a,use12Hours:p,isAM:this.isAM()},on:{change:this.onChange,amPmChange:this.onAmPmChange,currentSelectPanelChange:this.onCurrentSelectPanelChange,esc:this.onEsc}}),o(this)])}},Ye=e("5c0L"),Ge=e("Sx0+"),l={adjustX:1,adjustY:1},o=[0,0],Ue={bottomLeft:{points:["tl","tl"],overflow:l,offset:[0,-3],targetOffset:o},bottomRight:{points:["tr","tr"],overflow:l,offset:[0,-3],targetOffset:o},topRight:{points:["br","br"],overflow:l,offset:[0,3],targetOffset:o},topLeft:{points:["bl","bl"],overflow:l,offset:[0,3],targetOffset:o}};function Qe(){}var We={name:"VcTimePicker",mixins:[i.a],props:Object(X.initDefaultProps)({prefixCls:r.a.string,clearText:r.a.string,value:r.a.any,defaultOpenValue:{type:Object,default:function(){return M()()}},inputReadOnly:r.a.bool,disabled:r.a.bool,allowEmpty:r.a.bool,defaultValue:r.a.any,open:r.a.bool,defaultOpen:r.a.bool,align:r.a.object,placement:r.a.any,transitionName:r.a.string,getPopupContainer:r.a.func,placeholder:r.a.string,format:r.a.string,showHour:r.a.bool,showMinute:r.a.bool,showSecond:r.a.bool,popupClassName:r.a.string,popupStyle:r.a.object,disabledHours:r.a.func,disabledMinutes:r.a.func,disabledSeconds:r.a.func,hideDisabledOptions:r.a.bool,name:r.a.string,autoComplete:r.a.string,use12Hours:r.a.bool,hourStep:r.a.number,minuteStep:r.a.number,secondStep:r.a.number,focusOnOpen:r.a.bool,autoFocus:r.a.bool,id:r.a.string,inputIcon:r.a.any,clearIcon:r.a.any,addon:r.a.func},{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,popupClassName:"",popupStyle:{},align:{},allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:Qe,disabledMinutes:Qe,disabledSeconds:Qe,hideDisabledOptions:!1,placement:"bottomLeft",use12Hours:!1,focusOnOpen:!1}),data:function(){var e=this.defaultOpen,t=this.defaultValue,n=this.open,r=this.value;return{sOpen:void 0===n?e:n,sValue:void 0===r?t:r}},watch:{value:function(e){this.setState({sValue:e})},open:function(e){void 0!==e&&this.setState({sOpen:e})}},mounted:function(){var e=this;this.$nextTick(function(){e.autoFocus&&e.focus()})},methods:{onPanelChange:function(e){this.setValue(e)},onAmPmChange:function(e){this.__emit("amPmChange",e)},onClear:function(e){e.stopPropagation(),this.setValue(null),this.setOpen(!1)},onVisibleChange:function(e){this.setOpen(e)},onEsc:function(){this.setOpen(!1),this.focus()},onKeyDown:function(e){40===e.keyCode&&this.setOpen(!0)},onKeyDown2:function(e){this.__emit("keydown",e)},setValue:function(e){Object(X.hasProp)(this,"value")||this.setState({sValue:e}),this.__emit("change",e)},getFormat:function(){var e=this.format,t=this.showHour,n=this.showMinute,r=this.showSecond,i=this.use12Hours;return e||(i?[t?"h":"",n?"mm":"",r?"ss":""].filter(function(e){return!!e}).join(":").concat(" a"):[t?"HH":"",n?"mm":"",r?"ss":""].filter(function(e){return!!e}).join(":"))},getPanelElement:function(){var e=this.$createElement,t=this.prefixCls,n=this.placeholder,r=this.disabledHours,i=this.addon,o=this.disabledMinutes,a=this.disabledSeconds,s=this.hideDisabledOptions,l=this.inputReadOnly,u=this.showHour,c=this.showMinute,f=this.showSecond,h=this.defaultOpenValue,d=this.clearText,p=this.use12Hours,y=this.focusOnOpen,m=this.onKeyDown2,g=this.hourStep,v=this.minuteStep,b=this.secondStep,_=this.sValue,x=Object(X.getComponentFromProp)(this,"clearIcon");return e(He,{attrs:{clearText:d,prefixCls:t+"-panel",value:_,inputReadOnly:l,defaultOpenValue:h,showHour:u,showMinute:c,showSecond:f,format:this.getFormat(),placeholder:n,disabledHours:r,disabledMinutes:o,disabledSeconds:a,hideDisabledOptions:s,use12Hours:p,hourStep:g,minuteStep:v,secondStep:b,focusOnOpen:y,clearIcon:x,addon:i},ref:"panel",on:{change:this.onPanelChange,amPmChange:this.onAmPmChange,esc:this.onEsc,keydown:m}})},getPopupClassName:function(){var e=this.showHour,t=this.showMinute,n=this.showSecond,r=this.use12Hours,i=this.prefixCls,o=this.popupClassName,a=0;return e&&(a+=1),t&&(a+=1),n&&(a+=1),r&&(a+=1),Z()(o,$()({},i+"-panel-narrow",!(e&&t&&n||r)),i+"-panel-column-"+a)},setOpen:function(e){this.sOpen!==e&&(Object(X.hasProp)(this,"open")||this.setState({sOpen:e}),e?this.__emit("open",{open:e}):this.__emit("close",{open:e}))},focus:function(){this.$refs.picker.focus()},blur:function(){this.$refs.picker.blur()},onFocus:function(e){this.__emit("focus",e)},onBlur:function(e){this.__emit("blur",e)},renderClearButton:function(){var e,t=this,n=this.$createElement,r=this.sValue,i=this.$props,o=i.prefixCls,a=i.allowEmpty,s=i.clearText,i=i.disabled;return a&&r&&!i?(a=Object(X.getComponentFromProp)(this,"clearIcon"),Object(X.isValidElement)(a)?(e=(Object(X.getEvents)(a)||{}).click,Object(N.a)(a,{on:{click:function(){e&&e.apply(void 0,arguments),t.onClear.apply(t,arguments)}}})):n("a",{attrs:{role:"button",title:s,tabIndex:0},class:o+"-clear",on:{click:this.onClear}},[a||n("i",{class:o+"-clear-icon"})])):null}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.placeholder,r=this.placement,i=this.align,o=this.id,a=this.disabled,s=this.transitionName,l=this.getPopupContainer,u=this.name,c=this.autoComplete,f=this.autoFocus,h=this.inputReadOnly,d=this.sOpen,p=this.sValue,y=this.onFocus,m=this.onBlur,g=this.popupStyle,v=this.getPopupClassName(),b=Object(X.getComponentFromProp)(this,"inputIcon");return e(Pe.a,{attrs:{prefixCls:t+"-panel",popupClassName:v,popupStyle:g,popupAlign:i,builtinPlacements:Ue,popupPlacement:r,action:a?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:l,popupTransitionName:s,popupVisible:d},on:{popupVisibleChange:this.onVisibleChange}},[e("template",{slot:"popup"},[this.getPanelElement()]),e("span",{class:""+t},[e("input",{class:t+"-input",ref:"picker",attrs:{type:"text",placeholder:n,name:u,disabled:a,autoComplete:c,autoFocus:f,readOnly:!!h,id:o},on:{keydown:this.onKeyDown,focus:y,blur:m},domProps:{value:p&&p.format(this.getFormat())||""}}),b||e("span",{class:t+"-icon"}),this.renderClearButton()])])}},qe=e("aiEA"),Ke=e("AcI+"),Xe=e("2xRk"),f=e("FQGa");function Je(e){return{showHour:-1<e.indexOf("H")||-1<e.indexOf("h")||-1<e.indexOf("k"),showMinute:-1<e.indexOf("m"),showSecond:-1<e.indexOf("s")}}var $e={name:"ATimePicker",mixins:[i.a],props:Object(X.initDefaultProps)({size:r.a.oneOf(["large","default","small"]),value:f.a,defaultValue:f.a,open:r.a.bool,format:r.a.string,disabled:r.a.bool,placeholder:r.a.string,prefixCls:r.a.string,hideDisabledOptions:r.a.bool,disabledHours:r.a.func,disabledMinutes:r.a.func,disabledSeconds:r.a.func,getPopupContainer:r.a.func,use12Hours:r.a.bool,focusOnOpen:r.a.bool,hourStep:r.a.number,minuteStep:r.a.number,secondStep:r.a.number,allowEmpty:r.a.bool,allowClear:r.a.bool,inputReadOnly:r.a.bool,clearText:r.a.string,defaultOpenValue:r.a.object,popupClassName:r.a.string,popupStyle:r.a.object,suffixIcon:r.a.any,align:r.a.object,placement:r.a.any,transitionName:r.a.string,autoFocus:r.a.bool,addon:r.a.any,clearIcon:r.a.any,locale:r.a.object,valueFormat:r.a.string},{align:{offset:[0,-2]},disabled:!1,disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up",focusOnOpen:!0,allowClear:!0}),model:{prop:"value",event:"change"},provide:function(){return{savePopupRef:this.savePopupRef}},inject:{configProvider:{default:function(){return c.a}}},data:function(){var e=this.value,t=this.defaultValue,n=this.valueFormat;return Object(f.d)("TimePicker",t,"defaultValue",n),Object(f.d)("TimePicker",e,"value",n),Object(qe.a)(!Object(X.hasProp)(this,"allowEmpty"),"TimePicker","`allowEmpty` is deprecated. Please use `allowClear` instead."),{sValue:Object(f.f)(e||t,n)}},watch:{value:function(e){Object(f.d)("TimePicker",e,"value",this.valueFormat),this.setState({sValue:Object(f.f)(e,this.valueFormat)})}},methods:{getDefaultFormat:function(){var e=this.format,t=this.use12Hours;return e||(t?"h:mm:ss a":"HH:mm:ss")},getAllowClear:function(){var e=this.$props,t=e.allowClear,e=e.allowEmpty;return Object(X.hasProp)(this,"allowClear")?t:e},getDefaultLocale:function(){return R()({},Ke.a,this.$props.locale)},savePopupRef:function(e){this.popupRef=e},handleChange:function(e){Object(X.hasProp)(this,"value")||this.setState({sValue:e});var t=this.format,t=void 0===t?"HH:mm:ss":t;this.$emit("change",this.valueFormat?Object(f.e)(e,this.valueFormat):e,e&&e.format(t)||"")},handleOpenClose:function(e){e=e.open;this.$emit("openChange",e),this.$emit("update:open",e)},focus:function(){this.$refs.timePicker.focus()},blur:function(){this.$refs.timePicker.blur()},renderInputIcon:function(e){var t=this.$createElement,n=Object(X.getComponentFromProp)(this,"suffixIcon"),n=(n=Array.isArray(n)?n[0]:n)&&Object(X.isValidElement)(n)&&Object(N.a)(n,{class:e+"-clock-icon"})||t(j.default,{attrs:{type:"clock-circle"},class:e+"-clock-icon"});return t("span",{class:e+"-icon"},[n])},renderClearIcon:function(e){var t=this.$createElement,n=Object(X.getComponentFromProp)(this,"clearIcon"),e=e+"-clear";return n&&Object(X.isValidElement)(n)?Object(N.a)(n,{class:e}):t(j.default,{attrs:{type:"close-circle",theme:"filled"},class:e})},renderTimePicker:function(e){var t=this.$createElement,n=Object(X.getOptionProps)(this),r=(n=Object(Ge.a)(n,["defaultValue","suffixIcon","allowEmpty","allowClear"])).prefixCls,i=n.getPopupContainer,o=n.placeholder,a=n.size,s=(0,this.configProvider.getPrefixCls)("time-picker",r),r=this.getDefaultFormat(),a=$()({},s+"-"+a,!!a),l=Object(X.getComponentFromProp)(this,"addon",{},!1),u=this.renderInputIcon(s),c=this.renderClearIcon(s),f=this.configProvider.getPopupContainer,n={props:R()({},Je(r),n,{allowEmpty:this.getAllowClear(),prefixCls:s,getPopupContainer:i||f,format:r,value:this.sValue,placeholder:void 0===o?e.placeholder:o,addon:function(e){return l?t("div",{class:s+"-panel-addon"},["function"==typeof l?l(e):l]):null},inputIcon:u,clearIcon:c}),class:a,ref:"timePicker",on:R()({},Object(X.getListeners)(this),{change:this.handleChange,open:this.handleOpenClose,close:this.handleOpenClose})};return t(We,n)}},render:function(){return(0,arguments[0])(Ye.a,{attrs:{componentName:"TimePicker",defaultLocale:this.getDefaultLocale()},scopedSlots:{default:this.renderTimePicker}})},install:function(e){e.use(Xe.default),e.component($e.name,$e)}},Ze=e("tKCg"),et={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",week:"gggg-wo",month:"YYYY-MM"},tt={date:"dateFormat",dateTime:"dateTimeFormat",week:"weekFormat",month:"monthFormat"};function nt(p,e,y){return{name:p.name,props:Object(X.initDefaultProps)(e,{transitionName:"slide-up",popupStyle:{},locale:{}}),model:{prop:"value",event:"change"},inject:{configProvider:{default:function(){return c.a}}},provide:function(){return{savePopupRef:this.savePopupRef}},mounted:function(){var e=this,t=this.autoFocus,n=this.disabled,r=this.value,i=this.defaultValue,o=this.valueFormat;Object(f.d)("DatePicker",i,"defaultValue",o),Object(f.d)("DatePicker",r,"value",o),t&&!n&&this.$nextTick(function(){e.focus()})},watch:{value:function(e){Object(f.d)("DatePicker",e,"value",this.valueFormat)}},methods:{getDefaultLocale:function(){var e=R()({},Ze.a,this.locale);return e.lang=R()({},e.lang,(this.locale||{}).lang),e},savePopupRef:function(e){this.popupRef=e},handleOpenChange:function(e){this.$emit("openChange",e)},handleFocus:function(e){this.$emit("focus",e)},handleBlur:function(e){this.$emit("blur",e)},handleMouseEnter:function(e){this.$emit("mouseenter",e)},handleMouseLeave:function(e){this.$emit("mouseleave",e)},handleChange:function(e,t){this.$emit("change",this.valueFormat?Object(f.e)(e,this.valueFormat):e,t)},handleOk:function(e){this.$emit("ok",this.valueFormat?Object(f.e)(e,this.valueFormat):e)},handleCalendarChange:function(e,t){this.$emit("calendarChange",this.valueFormat?Object(f.e)(e,this.valueFormat):e,t)},focus:function(){this.$refs.picker.focus()},blur:function(){this.$refs.picker.blur()},transformValue:function(e){"value"in e&&(e.value=Object(f.f)(e.value,this.valueFormat)),"defaultValue"in e&&(e.defaultValue=Object(f.f)(e.defaultValue,this.valueFormat)),"defaultPickerValue"in e&&(e.defaultPickerValue=Object(f.f)(e.defaultPickerValue,this.valueFormat))},renderPicker:function(e,t){var n=this,r=this.$createElement,i=Object(X.getOptionProps)(this),o=(this.transformValue(i),i.prefixCls),a=i.inputPrefixCls,s=i.getCalendarContainer,l=i.size,u=i.showTime,c=i.disabled,f=i.format,h=u?y+"Time":y,f=f||e[tt[h]]||et[h],h=this.configProvider,d=h.getPrefixCls,h=h.getPopupContainer,s=s||h,h=d("calendar",o),o=d("input",a),d=Z()(h+"-picker",$()({},h+"-picker-"+l,!!l)),l=Z()(h+"-picker-input",o,(a={},$()(a,o+"-lg","large"===l),$()(a,o+"-sm","small"===l),$()(a,o+"-disabled",c),a)),o=u&&u.format||"HH:mm:ss",c=R()({},Je(o),{format:o,use12Hours:u&&u.use12Hours});a=0,c.showHour&&(a+=1),c.showMinute&&(a+=1),c.showSecond&&(a+=1),c.use12Hours&&(a+=1);o=h+"-time-picker-column-"+a,a={props:R()({},c,u,{prefixCls:h+"-time-picker",placeholder:e.timePickerLocale.placeholder,transitionName:"slide-up"}),class:o,on:{esc:function(){}}},c=u?r(He,a):null,h={props:R()({},i,{getCalendarContainer:s,format:f,pickerClass:d,pickerInputClass:l,locale:e,localeCode:t,timePicker:c}),on:R()({},Object(X.getListeners)(this),{openChange:this.handleOpenChange,focus:this.handleFocus,blur:this.handleBlur,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave,change:this.handleChange,ok:this.handleOk,calendarChange:this.handleCalendarChange}),ref:"picker",scopedSlots:this.$scopedSlots||{}};return r(p,h,[this.$slots&&Object.keys(this.$slots).map(function(e){return r("template",{slot:e,key:e},[n.$slots[e]])})])}},render:function(){return(0,arguments[0])(Ye.a,{attrs:{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},scopedSlots:{default:this.renderPicker}})}}}var t=e("sk9p"),B=e.n(t),n=e("m1cH"),rt=e.n(n);function z(){}var it={mixins:[i.a],props:{prefixCls:r.a.string,value:r.a.any,hoverValue:r.a.any,selectedValue:r.a.any,direction:r.a.any,locale:r.a.any,showDateInput:r.a.bool,showTimePicker:r.a.bool,showWeekNumber:r.a.bool,format:r.a.any,placeholder:r.a.any,disabledDate:r.a.any,timePicker:r.a.any,disabledTime:r.a.any,disabledMonth:r.a.any,mode:r.a.any,timePickerDisabledTime:r.a.object,enableNext:r.a.any,enablePrev:r.a.any,clearIcon:r.a.any,dateRender:r.a.func,inputMode:r.a.string,inputReadOnly:r.a.bool},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,r=t.value,i=t.hoverValue,o=t.selectedValue,a=t.mode,s=t.direction,l=t.locale,u=t.format,c=t.placeholder,f=t.disabledDate,h=t.timePicker,d=t.disabledTime,p=t.timePickerDisabledTime,y=t.showTimePicker,m=t.enablePrev,g=t.enableNext,v=t.disabledMonth,b=t.showDateInput,_=t.dateRender,x=t.showWeekNumber,w=t.showClear,D=t.inputMode,t=t.inputReadOnly,B=Object(X.getComponentFromProp)(this,"clearIcon"),A=Object(X.getListeners)(this),S=A.inputChange,S=void 0===S?z:S,C=A.inputSelect,C=void 0===C?z:C,O=A.valueChange,O=void 0===O?z:O,E=A.panelChange,E=void 0===E?z:E,M=A.select,M=void 0===M?z:M,A=A.dayHover,A=void 0===A?z:A,P=y&&h,k=P&&d?V(o,d):null,T=n+"-range",I={locale:l,value:r,prefixCls:n,showTimePicker:y},L="left"===s?0:1,j=null,P=(P&&(P=Object(X.getOptionProps)(h),j=Object(N.a)(h,{props:R()({showHour:!0,showMinute:!0,showSecond:!0},P,k,p,{defaultOpenValue:r,value:o[L]}),on:{change:S}})),b&&e(be,{attrs:{format:u,locale:l,prefixCls:n,timePicker:h,disabledDate:f,placeholder:c,disabledTime:d,value:r,showClear:w||!1,selectedValue:o[L],clearIcon:B,inputMode:D,inputReadOnly:t},on:{change:S,select:C}})),k={props:R()({},I,{mode:a,enableNext:g,enablePrev:m,disabledMonth:v}),on:{valueChange:O,panelChange:E}},p={props:R()({},I,{hoverValue:i,selectedValue:o,dateRender:_,disabledDate:f,showWeekNumber:x}),on:{select:M,dayHover:A}};return e("div",{class:T+"-part "+T+"-"+s},[P,e("div",{style:{outline:"none"}},[e(ae,k),y?e("div",{class:n+"-time-picker"},[e("div",{class:n+"-time-picker-panel"},[j])]):null,e("div",{class:n+"-body"},[e(H,p)])])])}};function ot(){}function at(e,t){if(e===t)return 1;if(null!=e&&null!=t&&e.length===t.length){for(var n=0;n<e.length;++n)if(e[n]!==t[n])return;return 1}}function st(e){var e=B()(e,2),t=e[0],e=e[1];return(t=e&&null==t?e.clone().subtract(1,"month"):t)&&null==e&&(e=t.clone().add(1,"month")),[t,e]}function lt(e,t){var n=e.selectedValue||t&&e.defaultSelectedValue,e=e.value||t&&e.defaultValue,e=st(e||n);return n=e,!Array.isArray(n)||0!==n.length&&!n.every(function(e){return!e})?e:t&&[M()(),M()().add(1,"months")]}function ut(e,t){for(var n=t?t().concat():[],r=0;r<e;r++)-1===n.indexOf(r)&&n.push(r);return n}function ct(e,t,n){var r;t&&((r=this.sSelectedValue.concat())[e="left"===e?0:1]=t,r[0]&&0<this.compare(r[0],r[1])&&(r[1-e]=this.sShowTimePicker?r[e]:void 0),this.__emit("inputSelect",r),this.fireSelectValueChange(r,null,n||{source:"dateInput"}))}var ft={props:{locale:r.a.object.def(_e.a),visible:r.a.bool.def(!0),prefixCls:r.a.string.def("rc-calendar"),dateInputPlaceholder:r.a.any,seperator:r.a.string.def("~"),defaultValue:r.a.any,value:r.a.any,hoverValue:r.a.any,mode:r.a.arrayOf(r.a.oneOf(["time","date","month","year","decade"])),showDateInput:r.a.bool.def(!0),timePicker:r.a.any,showOk:r.a.bool,showToday:r.a.bool.def(!0),defaultSelectedValue:r.a.array.def([]),selectedValue:r.a.array,showClear:r.a.bool,showWeekNumber:r.a.bool,format:r.a.oneOfType([r.a.string,r.a.arrayOf(r.a.string),r.a.func]),type:r.a.any.def("both"),disabledDate:r.a.func,disabledTime:r.a.func.def(ot),renderFooter:r.a.func.def(function(){return null}),renderSidebar:r.a.func.def(function(){return null}),dateRender:r.a.func,clearIcon:r.a.any,inputReadOnly:r.a.bool},mixins:[i.a,me],data:function(){var e=this.$props,t=e.selectedValue||e.defaultSelectedValue,n=lt(e,1);return{sSelectedValue:t,prevSelectedValue:t,firstSelectedValue:null,sHoverValue:e.hoverValue||[],sValue:n,sShowTimePicker:!1,sMode:e.mode||["date","date"],sPanelTriggerSource:""}},watch:{value:function(){var e={};e.sValue=lt(this.$props,0),this.setState(e)},hoverValue:function(e){at(this.sHoverValue,e)||this.setState({sHoverValue:e})},selectedValue:function(e){var t={};t.sSelectedValue=e,t.prevSelectedValue=e,this.setState(t)},mode:function(e){at(this.sMode,e)||this.setState({sMode:e})}},methods:{onDatePanelEnter:function(){this.hasSelectedValue()&&this.fireHoverValueChange(this.sSelectedValue.concat())},onDatePanelLeave:function(){this.hasSelectedValue()&&this.fireHoverValueChange([])},onSelect:function(e){var t=this.type,n=this.sSelectedValue,r=this.prevSelectedValue,i=this.firstSelectedValue,o=void 0;o="both"===t?i?this.compare(i,e)<0?(a(r[1],e),[i,e]):(a(r[0],e),a(r[1],i),[e,i]):(a(r[0],e),[e]):"start"===t?(a(r[0],e),(i=n[1])&&0<this.compare(i,e)?[e,i]:[e]):(t=n[0])&&this.compare(t,e)<=0?(a(r[1],e),[t,e]):(a(r[0],e),[e]),this.fireSelectValueChange(o)},onKeyDown:function(i){var o=this;if("input"!==i.target.nodeName.toLowerCase()){var e=i.keyCode,t=i.ctrlKey||i.metaKey,n=this.$data,a=n.sSelectedValue,s=n.sHoverValue,l=n.firstSelectedValue,u=n.sValue,r=this.$props.disabledDate,c=function(e){var t=void 0,n=void 0,r=void 0;return l?r=(n=e(t=1===s.length?s[0].clone():s[0].isSame(l,"day")?s[1]:s[0]),o.onDayHover(n)):(t=s[0]||a[0]||u[0]||M()(),r=[n=e(t)],o.fireHoverValueChange(r)),2<=r.length?r.some(function(e){return!function(e,t,n){var r=t,i=n;return(0<arguments.length&&void 0!==e?e:[]).some(function(e){return e.isSame(r,i)})}(u,e,"month")})&&((e=r.slice().sort(function(e,t){return e.valueOf()-t.valueOf()}))[0].isSame(e[1],"month")&&(e[1]=e[0].clone().add(1,"month")),o.fireValueChange(e)):1===r.length&&(-1===(e=u.findIndex(function(e){return e.isSame(t,"month")}))&&(e=0),u.every(function(e){return!e.isSame(n,"month")}))&&((r=u.slice())[e]=n.clone(),o.fireValueChange(r)),i.preventDefault(),n};switch(e){case h.a.DOWN:return void c(function(e){return p(e,1,"weeks")});case h.a.UP:return void c(function(e){return p(e,-1,"weeks")});case h.a.LEFT:return void c(t?function(e){return p(e,-1,"years")}:function(e){return p(e,-1,"days")});case h.a.RIGHT:return void c(t?function(e){return p(e,1,"years")}:function(e){return p(e,1,"days")});case h.a.HOME:return void c(xe);case h.a.END:return void c(we);case h.a.PAGE_DOWN:return void c(function(e){return p(e,1,"month")});case h.a.PAGE_UP:return void c(function(e){return p(e,-1,"month")});case h.a.ENTER:var f=void 0;return!(f=0===s.length?c(function(e){return e}):1!==s.length&&s[0].isSame(l,"day")?s[1]:s[0])||r&&r(f)||this.onSelect(f),void i.preventDefault();default:this.__emit("keydown",i)}}},onDayHover:function(e){var t=[],n=this.sSelectedValue,r=this.firstSelectedValue,i=this.type;if("start"===i&&n[1])t=this.compare(e,n[1])<0?[e,n[1]]:[e];else if("end"===i&&n[0])t=0<this.compare(e,n[0])?[n[0],e]:[];else{if(!r)return this.sHoverValue.length&&this.setState({sHoverValue:[]}),t;t=this.compare(e,r)<0?[e,r]:[r,e]}return this.fireHoverValueChange(t),t},onToday:function(){var e=ee(this.sValue[0]),t=e.clone().add(1,"months");this.setState({sValue:[e,t]})},onOpenTimePicker:function(){this.setState({sShowTimePicker:!0})},onCloseTimePicker:function(){this.setState({sShowTimePicker:!1})},onOk:function(){var e=this.sSelectedValue;this.isAllowedDateAndTime(e)&&this.__emit("ok",e)},onStartInputChange:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=["left"].concat(t);return ct.apply(this,r)},onEndInputChange:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=["right"].concat(t);return ct.apply(this,r)},onStartInputSelect:function(e){return ct.apply(this,["left",e,{source:"dateInputSelect"}])},onEndInputSelect:function(e){return ct.apply(this,["right",e,{source:"dateInputSelect"}])},onStartValueChange:function(e){var t=[].concat(rt()(this.sValue));return t[0]=e,this.fireValueChange(t)},onEndValueChange:function(e){var t=[].concat(rt()(this.sValue));return t[1]=e,this.fireValueChange(t)},onStartPanelChange:function(e,t){var n=this.sMode,r=this.sValue,t=[t,n[1]],n=[e||r[0],r[1]],e=(this.__emit("panelChange",n,t),{sPanelTriggerSource:"start"});Object(X.hasProp)(this,"mode")||(e.sMode=t),this.setState(e)},onEndPanelChange:function(e,t){var n=this.sMode,r=this.sValue,n=[n[0],t],t=[r[0],e||r[1]],e=(this.__emit("panelChange",t,n),{sPanelTriggerSource:"end"});Object(X.hasProp)(this,"mode")||(e.sMode=n),this.setState(e)},getStartValue:function(){var e=this.$data,t=e.sSelectedValue,n=e.sShowTimePicker,r=e.sValue,i=e.sMode,e=e.sPanelTriggerSource,o=r[0];return t[0]&&this.$props.timePicker&&(o=o.clone(),a(t[0],o)),n&&t[0]&&(o=t[0]),o="end"===e&&"date"===i[0]&&"date"===i[1]&&o.isSame(r[1],"month")?o.clone().subtract(1,"month"):o},getEndValue:function(){var e=this.$data,t=e.sSelectedValue,n=e.sShowTimePicker,r=e.sValue,i=e.sMode,e=e.sPanelTriggerSource,o=r[1]?r[1].clone():r[0].clone().add(1,"month");return t[1]&&this.$props.timePicker&&a(t[1],o),n&&(o=t[1]||this.getStartValue()),o=!n&&"end"!==e&&"date"===i[0]&&"date"===i[1]&&o.isSame(r[0],"month")?o.clone().add(1,"month"):o},getEndDisableTime:function(){var n,r,t,i,e,o,a,s=this.sSelectedValue,l=this.sValue,u=(0,this.disabledTime)(s,"end")||{},l=s&&s[0]||l[0].clone();return!s[1]||l.isSame(s[1],"day")?(n=l.hour(),r=l.minute(),s=l.second(),e=u.disabledHours,o=u.disabledMinutes,a=u.disabledSeconds,t=o?o():[],i=a?a():[],e=ut(n,e),o=ut(r,o),a=ut(s,a),{disabledHours:function(){return e},disabledMinutes:function(e){return e===n?o:t},disabledSeconds:function(e,t){return e===n&&t===r?a:i}}):u},isAllowedDateAndTime:function(e){return u(e[0],this.disabledDate,this.disabledStartTime)&&u(e[1],this.disabledDate,this.disabledEndTime)},isMonthYearPanelShow:function(e){return-1<["month","year","decade"].indexOf(e)},hasSelectedValue:function(){var e=this.sSelectedValue;return!!e[1]&&!!e[0]},compare:function(e,t){return this.timePicker?e.diff(t):e.diff(t,"days")},fireSelectValueChange:function(e,t,n){var r=this.timePicker,i=this.prevSelectedValue;r&&(r=Object(X.getOptionProps)(r)).defaultValue&&(r=r.defaultValue,!i[0]&&e[0]&&a(r[0],e[0]),!i[1])&&e[1]&&a(r[1],e[1]),this.sSelectedValue[0]&&this.sSelectedValue[1]||(i=e[0]||M()(),r=e[1]||i.clone().add(1,"months"),this.setState({sSelectedValue:e,sValue:e&&2===e.length?st([i,r]):this.sValue})),e[0]&&!e[1]&&(this.setState({firstSelectedValue:e[0]}),this.fireHoverValueChange(e.concat())),this.__emit("change",e),(t||e[0]&&e[1])&&(this.setState({prevSelectedValue:e,firstSelectedValue:null}),this.fireHoverValueChange([]),this.__emit("select",e,n)),Object(X.hasProp)(this,"selectedValue")||this.setState({sSelectedValue:e})},fireValueChange:function(e){Object(X.hasProp)(this,"value")||this.setState({sValue:e}),this.__emit("valueChange",e)},fireHoverValueChange:function(e){Object(X.hasProp)(this,"hoverValue")||this.setState({sHoverValue:e}),this.__emit("hoverChange",e)},clear:function(){this.fireSelectValueChange([],!0),this.__emit("clear")},disabledStartTime:function(e){return this.disabledTime(e,"start")},disabledEndTime:function(e){return this.disabledTime(e,"end")},disabledStartMonth:function(e){var t=this.sValue;return e.isAfter(t[1],"month")},disabledEndMonth:function(e){var t=this.sValue;return e.isBefore(t[0],"month")}},render:function(){var e,t=arguments[0],n=Object(X.getOptionProps)(this),r=n.prefixCls,i=n.dateInputPlaceholder,o=n.timePicker,a=n.showOk,s=n.locale,l=n.showClear,u=n.showToday,c=n.type,f=n.seperator,h=Object(X.getComponentFromProp)(this,"clearIcon"),d=this.sHoverValue,p=this.sSelectedValue,y=this.sMode,m=this.sShowTimePicker,g=this.sValue,v=(e={},$()(e,r,1),$()(e,r+"-hidden",!n.visible),$()(e,r+"-range",1),$()(e,r+"-show-time-picker",m),$()(e,r+"-week-number",n.showWeekNumber),{props:n,on:Object(X.getListeners)(this)}),b={props:{selectedValue:p},on:{select:this.onSelect,dayHover:"start"===c&&p[1]||"end"===c&&p[0]||d.length?this.onDayHover:ot}},_=void 0,x=void 0,w=(i&&(Array.isArray(i)?(_=(w=B()(i,2))[0],x=w[1]):_=x=i),!0===a||!1!==a&&!!o),a=(i={},$()(i,r+"-footer",!0),$()(i,r+"-range-bottom",!0),$()(i,r+"-footer-show-ok",w),i),i=this.getStartValue(),A=this.getEndValue(),S=ee(i),C=S.month(),S=S.year(),S=i.year()===S&&i.month()===C||A.year()===S&&A.month()===C,C=i.clone().add(1,"months"),C=C.year()===A.year()&&C.month()===A.month(),i=Object(X.mergeProps)(v,b,{props:{hoverValue:d,direction:"left",disabledTime:this.disabledStartTime,disabledMonth:this.disabledStartMonth,format:this.getFormat(),value:i,mode:y[0],placeholder:_,showDateInput:this.showDateInput,timePicker:o,showTimePicker:m||"time"===y[0],enablePrev:!0,enableNext:!C||this.isMonthYearPanelShow(y[1]),clearIcon:h},on:{inputChange:this.onStartInputChange,inputSelect:this.onStartInputSelect,valueChange:this.onStartValueChange,panelChange:this.onStartPanelChange}}),_=Object(X.mergeProps)(v,b,{props:{hoverValue:d,direction:"right",format:this.getFormat(),timePickerDisabledTime:this.getEndDisableTime(),placeholder:x,value:A,mode:y[1],showDateInput:this.showDateInput,timePicker:o,showTimePicker:m||"time"===y[1],disabledTime:this.disabledEndTime,disabledMonth:this.disabledEndMonth,enablePrev:!C||this.isMonthYearPanelShow(y[0]),enableNext:!0,clearIcon:h},on:{inputChange:this.onEndInputChange,inputSelect:this.onEndInputSelect,valueChange:this.onEndValueChange,panelChange:this.onEndPanelChange}}),b=null,A=(u&&(x=Object(X.mergeProps)(v,{props:{disabled:S,value:g[0],text:s.backToToday},on:{today:this.onToday}}),b=t(le,O()([{key:"todayButton"},x]))),null),C=(n.timePicker&&(o=Object(X.mergeProps)(v,{props:{showTimePicker:m||"time"===y[0]&&"time"===y[1],timePickerDisabled:!this.hasSelectedValue()||d.length},on:{openTimePicker:this.onOpenTimePicker,closeTimePicker:this.onCloseTimePicker}}),A=t(he,O()([{key:"timePickerButton"},o]))),null),g=(w&&(S=Object(X.mergeProps)(v,{props:{okDisabled:!this.isAllowedDateAndTime(p)||!this.hasSelectedValue()||d.length},on:{ok:this.onOk}}),C=t(ce,O()([{key:"okButtonNode"},S]))),this.renderFooter(y));return t("div",{ref:"rootInstance",class:e,attrs:{tabIndex:"0"},on:{keydown:this.onKeyDown}},[n.renderSidebar(),t("div",{class:r+"-panel"},[l&&p[0]&&p[1]?t("a",{attrs:{role:"button",title:s.clear},on:{click:this.clear}},[h||t("span",{class:r+"-clear-btn"})]):null,t("div",{class:r+"-date-panel",on:{mouseleave:"both"!==c?this.onDatePanelLeave:ot,mouseenter:"both"!==c?this.onDatePanelEnter:ot}},[t(it,i),t("span",{class:r+"-range-middle"},[f]),t(it,_)]),t("div",{class:a},[u||n.timePicker||w||g?t("div",{class:r+"-footer-btn"},[g,b,A,C]):null])])])}},l=e("Gytx"),ht=e.n(l),dt=e("lOvz"),pt=e("qdSf"),yt=new RegExp("^("+["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"].join("|")+")(-inverse)?$"),y={name:"ATag",mixins:[i.a],model:{prop:"visible",event:"close.visible"},props:{prefixCls:r.a.string,color:r.a.string,closable:r.a.bool.def(!1),visible:r.a.bool,afterClose:r.a.func},inject:{configProvider:{default:function(){return c.a}}},data:function(){var e=!0,t=Object(X.getOptionProps)(this);return"visible"in t&&(e=this.visible),Object(qe.a)(!("afterClose"in t),"Tag","'afterClose' will be deprecated, please use 'close' event, we will remove this in the next version."),{_visible:e}},watch:{visible:function(e){this.setState({_visible:e})}},methods:{setVisible:function(e,t){this.$emit("close",t),this.$emit("close.visible",!1);var n=this.afterClose;n&&n(),t.defaultPrevented||Object(X.hasProp)(this,"visible")||this.setState({_visible:e})},handleIconClick:function(e){e.stopPropagation(),this.setVisible(!1,e)},isPresetColor:function(){var e=this.$props.color;return!!e&&yt.test(e)},getTagStyle:function(){var e=this.$props.color,t=this.isPresetColor();return{backgroundColor:e&&!t?e:void 0}},getTagClassName:function(e){var t=this.$props.color,n=this.isPresetColor(),r={};return $()(r,e,!0),$()(r,e+"-"+t,n),$()(r,e+"-has-color",t&&!n),r},renderCloseIcon:function(){var e=this.$createElement;return this.$props.closable?e(j.default,{attrs:{type:"close"},on:{click:this.handleIconClick}}):null}},render:function(){var e=arguments[0],t=this.$props.prefixCls,t=(0,this.configProvider.getPrefixCls)("tag",t),n=this.$data._visible,n=e("span",O()([{directives:[{name:"show",value:n}]},{on:Object(Ge.a)(Object(X.getListeners)(this),["close"])},{class:this.getTagClassName(t),style:this.getTagStyle()}]),[this.$slots.default,this.renderCloseIcon()]),t=Object(dt.a)(t+"-zoom",{appear:!1});return e(pt.a,[e("transition",t,[n])])}},o={name:"ACheckableTag",model:{prop:"checked"},props:{prefixCls:r.a.string,checked:Boolean},inject:{configProvider:{default:function(){return c.a}}},computed:{classes:function(){var e=this.checked,t=this.prefixCls,t=(0,this.configProvider.getPrefixCls)("tag",t),n={};return $()(n,""+t,!0),$()(n,t+"-checkable",!0),$()(n,t+"-checkable-checked",e),n}},methods:{handleClick:function(){var e=this.checked;this.$emit("input",!e),this.$emit("change",!e)}},render:function(){return(0,arguments[0])("div",{class:this.classes,on:{click:this.handleClick}},[this.$slots.default])}},mt=(y.CheckableTag=o,y.install=function(e){e.use(Xe.default),e.component(y.name,y),e.component(y.CheckableTag.name,y.CheckableTag)},y),t=e("i9cM"),gt={functional:!0,render:function(e,t){var t=t.props,n=t.suffixIcon,t=t.prefixCls;return(n&&Object(X.isValidElement)(n)?Object(N.a)(n,{class:t+"-picker-icon"}):e("span",{class:t+"-picker-icon"},[n]))||e(j.default,{attrs:{type:"calendar"},class:t+"-picker-icon"})}};function F(){}function vt(e,t){var e=B()(e,2),n=e[0],e=e[1];if(n||e)return t&&"month"===t[0]?[n,e]:[n,e&&e.isSame(n,"month")?e.clone().add(1,"month"):e]}function bt(e,t){var n;t&&e&&0!==e.length&&(n=(e=B()(e,2))[0],e=e[1],n&&n.locale(t),e)&&e.locale(t)}n={name:"ARangePicker",mixins:[i.a],model:{prop:"value",event:"change"},props:Object(X.initDefaultProps)(Object(t.RangePickerProps)(),{allowClear:!0,showToday:!1,separator:"~"}),inject:{configProvider:{default:function(){return c.a}}},data:function(){var e=this.value||this.defaultValue||[],t=B()(e,2),n=t[0],t=t[1];if(n&&!Object(P.a)(E).isMoment(n)||t&&!Object(P.a)(E).isMoment(t))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");return{sValue:e,sShowDate:function(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}((e&&(n=e,!Array.isArray(n)||0!==n.length&&!n.every(function(e){return!e}))?e:this.defaultPickerValue)||Object(P.a)(E)()),sOpen:this.open,sHoverValue:[]}},watch:{value:function(e){var t,n={sValue:t=e||[]};ht()(e,this.sValue)||(n=R()({},n,{sShowDate:vt(t,this.mode)||this.sShowDate})),this.setState(n)},open:function(e){this.setState({sOpen:e})},sOpen:function(e,t){var n=this;this.$nextTick(function(){Object(X.hasProp)(n,"open")||!t||e||n.focus()})}},methods:{setValue:function(e,t){this.handleChange(e),!t&&this.showTime||Object(X.hasProp)(this,"open")||this.setState({sOpen:!1})},clearSelection:function(e){e.preventDefault(),e.stopPropagation(),this.setState({sValue:[]}),this.handleChange([])},clearHoverValue:function(){this.setState({sHoverValue:[]})},handleChange:function(t){Object(X.hasProp)(this,"value")||this.setState(function(e){e=e.sShowDate;return{sValue:t,sShowDate:vt(t)||e}}),t[0]&&t[1]&&0<t[0].diff(t[1])&&(t[1]=void 0);var e=B()(t,2),n=e[0],e=e[1];this.$emit("change",t,[D(n,this.format),D(e,this.format)])},handleOpenChange:function(e){Object(X.hasProp)(this,"open")||this.setState({sOpen:e}),!1===e&&this.clearHoverValue(),this.$emit("openChange",e)},handleShowDateChange:function(e){this.setState({sShowDate:e})},handleHoverChange:function(e){this.setState({sHoverValue:e})},handleRangeMouseLeave:function(){this.sOpen&&this.clearHoverValue()},handleCalendarInputSelect:function(t){B()(t,1)[0]&&this.setState(function(e){e=e.sShowDate;return{sValue:t,sShowDate:vt(t)||e}})},handleRangeClick:function(e){"function"==typeof e&&(e=e()),this.setValue(e,!0),this.$emit("ok",e),this.$emit("openChange",!1)},onMouseEnter:function(e){this.$emit("mouseenter",e)},onMouseLeave:function(e){this.$emit("mouseleave",e)},focus:function(){this.$refs.picker.focus()},blur:function(){this.$refs.picker.blur()},renderFooter:function(){var r=this,i=this.$createElement,o=this.ranges,e=this.$scopedSlots,t=this.$slots,n=this._prefixCls,a=this._tagPrefixCls,e=this.renderExtraFooter||e.renderExtraFooter||t.renderExtraFooter;return o||e?(t=e?i("div",{class:n+"-footer-extra",key:"extra"},["function"==typeof e?e():e]):null,[(e=o&&Object.keys(o).map(function(e){var t=o[e],n="function"==typeof t?t.call(r):t;return i(mt,{key:e,attrs:{prefixCls:a,color:"blue"},on:{click:function(){return r.handleRangeClick(t)},mouseenter:function(){return r.setState({sHoverValue:n})},mouseleave:r.handleRangeMouseLeave}},[e])}))&&0<e.length?i("div",{class:n+"-footer-extra "+n+"-range-quick-selector",key:"range"},[e]):null,t]):null}},render:function(){var t=this,n=arguments[0],r=Object(X.getOptionProps)(this),e=Object(X.getComponentFromProp)(this,"suffixIcon"),e=Array.isArray(e)?e[0]:e,i=this.sValue,o=this.sShowDate,a=this.sHoverValue,s=this.sOpen,l=this.$scopedSlots,u=Object(X.getListeners)(this),c=u.calendarChange,c=void 0===c?F:c,f=u.ok,f=void 0===f?F:f,h=u.focus,h=void 0===h?F:h,d=u.blur,d=void 0===d?F:d,p=u.panelChange,p=void 0===p?F:p,y=r.prefixCls,m=r.tagPrefixCls,g=r.popupStyle,v=r.disabledDate,b=r.disabledTime,_=r.showTime,x=r.showToday,w=r.ranges,A=r.locale,S=r.localeCode,C=r.format,O=r.separator,E=r.inputReadOnly,M=this.configProvider.getPrefixCls,P=M("calendar",y),y=M("tag",m),M=(this._prefixCls=P,this._tagPrefixCls=y,r.dateRender||l.dateRender),y=(bt(i,S),bt(o,S),Z()((m={},$()(m,P+"-time",_),$()(m,P+"-range-with-ranges",w),m))),S={on:{change:this.handleChange}},_={on:{ok:this.handleChange},props:{}},k=(r.timePicker?S.on.change=function(e){return t.handleChange(e)}:_={on:{},props:{}},"mode"in r&&(_.props.mode=r.mode),(Array.isArray(r.placeholder)?r.placeholder:A.lang.rangePlaceholder)[0]),T=(Array.isArray(r.placeholder)?r.placeholder:A.lang.rangePlaceholder)[1],w=Object(X.mergeProps)(_,{props:{separator:O,format:C,prefixCls:P,renderFooter:this.renderFooter,timePicker:r.timePicker,disabledDate:v,disabledTime:b,dateInputPlaceholder:[k,T],locale:A.lang,dateRender:M,value:o,hoverValue:a,showToday:x,inputReadOnly:E},on:{change:c,ok:f,valueChange:this.handleShowDateChange,hoverChange:this.handleHoverChange,panelChange:p,inputSelect:this.handleCalendarInputSelect},class:y,scopedSlots:l}),m=n(ft,w),_={},C=(r.showTime&&(_.width="350px"),B()(i,2)),v=C[0],b=C[1],I=!r.disabled&&r.allowClear&&i&&(v||b)?n(j.default,{attrs:{type:"close-circle",theme:"filled"},class:P+"-picker-clear",on:{click:this.clearSelection}}):null,L=n(gt,{attrs:{suffixIcon:e,prefixCls:P}}),A=Object(X.mergeProps)({props:r,on:u},S,{props:{calendar:m,value:i,open:s,prefixCls:P+"-picker-container"},on:{openChange:this.handleOpenChange},style:g,scopedSlots:R()({default:function(e){var e=e.value,e=B()(e,2),t=e[0],e=e[1];return n("span",{class:r.pickerInputClass},[n("input",{attrs:{disabled:r.disabled,readOnly:!0,placeholder:k,tabIndex:-1},domProps:{value:D(t,r.format)},class:P+"-range-picker-input"}),n("span",{class:P+"-range-picker-separator"},[" ",O," "]),n("input",{attrs:{disabled:r.disabled,readOnly:!0,placeholder:T,tabIndex:-1},domProps:{value:D(e,r.format)},class:P+"-range-picker-input"}),I,L])}},l)});return n("span",{ref:"picker",class:r.pickerClass,style:_,attrs:{tabIndex:r.disabled?-1:0},on:{focus:h,blur:d,mouseenter:this.onMouseEnter,mouseleave:this.onMouseLeave}},[n(Te,A)])}};function _t(){}var _e={name:"AWeekPicker",mixins:[i.a],model:{prop:"value",event:"change"},props:Object(X.initDefaultProps)(Object(t.WeekPickerProps)(),{format:"gggg-wo",allowClear:!0}),inject:{configProvider:{default:function(){return c.a}}},data:function(){var e=this.value||this.defaultValue;if(e&&!Object(P.a)(E).isMoment(e))throw new Error("The value/defaultValue of WeekPicker or MonthPicker must be a moment object");return{_value:e,_open:this.open}},watch:{value:function(e){e={_value:e};this.setState(e),this.prevState=R()({},this.$data,e)},open:function(e){e={_open:e};this.setState(e),this.prevState=R()({},this.$data,e)},_open:function(e,t){var n=this;this.$nextTick(function(){Object(X.hasProp)(n,"open")||!t||e||n.focus()})}},mounted:function(){this.prevState=R()({},this.$data)},updated:function(){var e=this;this.$nextTick(function(){Object(X.hasProp)(e,"open")||!e.prevState._open||e._open||e.focus()})},methods:{weekDateRender:function(e){var t=this.$createElement,n=this.$data._value,r=this._prefixCls,i=this.$scopedSlots,i=this.dateRender||i.dateRender,i=i?i(e):e.date();return n&&e.year()===n.year()&&e.week()===n.week()?t("div",{class:r+"-selected-day"},[t("div",{class:r+"-date"},[i])]):t("div",{class:r+"-date"},[i])},handleChange:function(e){var t;Object(X.hasProp)(this,"value")||this.setState({_value:e}),this.$emit("change",e,(e=e,t=this.format,e&&e.format(t)||""))},handleOpenChange:function(e){Object(X.hasProp)(this,"open")||this.setState({_open:e}),this.$emit("openChange",e)},clearSelection:function(e){e.preventDefault(),e.stopPropagation(),this.handleChange(null)},focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},renderFooter:function(){var e=this.$createElement,t=this._prefixCls,n=this.$scopedSlots,n=this.renderExtraFooter||n.renderExtraFooter;return n?e("div",{class:t+"-footer-extra"},[n.apply(void 0,arguments)]):null}},render:function(){var t=arguments[0],e=Object(X.getOptionProps)(this),n=Object(X.getComponentFromProp)(this,"suffixIcon"),n=Array.isArray(n)?n[0]:n,r=this.prefixCls,i=this.disabled,o=this.pickerClass,a=this.popupStyle,s=this.pickerInputClass,l=this.format,u=this.allowClear,c=this.locale,f=this.localeCode,h=this.disabledDate,d=this.defaultPickerValue,p=this.$data,y=this.$scopedSlots,m=Object(X.getListeners)(this),r=(0,this.configProvider.getPrefixCls)("calendar",r),g=(this._prefixCls=r,p._value),v=p._open,b=m.focus,_=void 0===b?_t:b,b=m.blur,x=void 0===b?_t:b,w=(g&&f&&g.locale(f),(Object(X.hasProp)(this,"placeholder")?this:c.lang).placeholder),b=this.dateRender||y.dateRender||this.weekDateRender,f=t(Se,{attrs:{showWeekNumber:!0,dateRender:b,prefixCls:r,format:l,locale:c.lang,showDateInput:!1,showToday:!1,disabledDate:h,renderFooter:this.renderFooter,defaultValue:d}}),A=!i&&u&&p._value?t(j.default,{attrs:{type:"close-circle",theme:"filled"},class:r+"-picker-clear",on:{click:this.clearSelection}}):null,S=t(gt,{attrs:{suffixIcon:n,prefixCls:r}}),b={props:R()({},e,{calendar:f,prefixCls:r+"-picker-container",value:g,open:v}),on:R()({},m,{change:this.handleChange,openChange:this.handleOpenChange}),style:a,scopedSlots:R()({default:function(e){e=e.value;return t("span",{style:{display:"inline-block",width:"100%"}},[t("input",{ref:"input",attrs:{disabled:i,readOnly:!0,placeholder:w},domProps:{value:e&&e.format(l)||""},class:s,on:{focus:_,blur:x}}),A,S])}},y)};return t("span",{class:o},[t(Te,b)])}},m=nt(R()({},Le(Se,Object(t.DatePickerProps)()),{name:"ADatePicker"}),Object(t.DatePickerProps)(),"date"),me=nt(R()({},Le(Ce,Object(t.MonthPickerProps)()),{name:"AMonthPicker"}),Object(t.MonthPickerProps)(),"month");R()(m,{RangePicker:nt(n,Object(t.RangePickerProps)(),"date"),MonthPicker:me,WeekPicker:nt(_e,Object(t.WeekPickerProps)(),"week")}),m.install=function(e){e.use(Xe.default),e.component(m.name,m),e.component(m.RangePicker.name,m.RangePicker),e.component(m.MonthPicker.name,m.MonthPicker),e.component(m.WeekPicker.name,m.WeekPicker)},v.default=m},C7wX:function(e,t,n){"use strict";n.r(t);var r,i=n("bqzh");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},C9xp:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VEr5"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},CCnC:function(e,t,n){"use strict";n.r(t);var r=n("jo6Y"),a=n.n(r),r=n("YEIV"),s=n.n(r),r=n("QbLZ"),l=n.n(r),r=n("TSYQ"),u=n.n(r),c=n("2qPA"),f=n("J+PB"),i=n("DGO/"),r=n("yXPv"),o=n("TZE5"),n=n("tIgm"),h={click:"click",hover:"mouseover"};t.default={name:"AInputPassword",mixins:[n.a],inheritAttrs:!1,model:{prop:"value",event:"change.value"},props:l()({},r.default,{prefixCls:o.a.string.def("ant-input-password"),inputPrefixCls:o.a.string.def("ant-input"),action:o.a.string.def("click"),visibilityToggle:o.a.bool.def(!0)}),data:function(){return{visible:!1}},methods:{focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},onVisibleChange:function(){this.disabled||this.setState({visible:!this.visible})},getIcon:function(){var e,t=this.$createElement,n=this.$props,r=n.prefixCls,n=n.action,n=h[n]||"",n={props:{type:this.visible?"eye":"eye-invisible"},on:(e={},s()(e,n,this.onVisibleChange),s()(e,"mousedown",function(e){e.preventDefault()}),s()(e,"mouseup",function(e){e.preventDefault()}),e),class:r+"-icon",key:"passwordIcon"};return t(i.default,n)}},render:function(){var e=arguments[0],t=Object(c.getOptionProps)(this),n=t.prefixCls,r=t.inputPrefixCls,i=t.size,o=(t.suffix,t.visibilityToggle),t=a()(t,["prefixCls","inputPrefixCls","size","suffix","visibilityToggle"]),o=o&&this.getIcon(),n=u()(n,s()({},n+"-"+i,!!i)),t={props:l()({},t,{prefixCls:r,size:i,suffix:o,prefix:Object(c.getComponentFromProp)(this,"prefix"),addonAfter:Object(c.getComponentFromProp)(this,"addonAfter"),addonBefore:Object(c.getComponentFromProp)(this,"addonBefore")}),attrs:l()({},this.$attrs,{type:this.visible?"text":"password"}),class:n,ref:"input",on:Object(c.getListeners)(this)};return e(f.default,t)}}},CFAA:function(e,t,n){"use strict";n.r(t);var r,i=n("+Lv6"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},CHBU:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=r(n("i7/w")),a=n("YKMj"),s=r(n("XaGS")),r=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},n=function(e){function t(){return e.apply(this,arguments)||this}(0,i.default)(t,e);var n=t.prototype;return n.mounted=function(){this.$options.viewModelProps&&this.watchViewModelOptions(this.$options.viewModelProps)},n.setViewModel=function(e){this.viewModel=e},n.watchViewModelOptions=function(e){var t=this;e.map(function(n){t.$watch(n,function(e,t){(0,s.default)(e,t)||(t="set"+(n=n.includes(".")?(t=n.split("."))[t.length-1]:n).replace(n[0],n[0].toUpperCase()),this.viewModel&&this.viewModel[t](e))},{deep:!0})})},t}(o.default),n=r([a.Component],n);t.default=n},CK30:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("9QBS"))),o=r(n("0me/")),a=r(n("dtSe")),s=r(n("/WHX")),r=r(n("78qI")),n={appendSlide:i.default,prependSlide:o.default,addSlide:a.default,removeSlide:s.default,removeAllSlides:r.default};t.default=n},COGW:function(e,t,n){"use strict";var r=n("SwuV"),i=n("ba8b"),o=n("11yv")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},Cb6A:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAAFVhJREFUeAHt3VdzG0cWBlBx7V3nnHM5r+Pu0z77p+9PWEfZco4KDrItOQfuvTZAkyAlEdMTu89UtUiAmJ7u06jSV3dmgJ3d3d2nThze/nP4Kc8QIECAAAECDQl80mWuV+dOOzs7p/bvHGHj/v2P/U6AAAECBAg0JfBg19n+ESwutXMEjv9e6m+eJ0CAAAECBOoTiOLCTszqyc2iw5VmGvu9lK/525Ve6O8ECBAgQIAAgeMKCBbHlfI6AgQIECDQhkBWLHa7TlWw6CpnPwIECBAgQOCQgGBxiMQTBAgQIECAQFcBwaKrnP0IECBAgACBQwKCxSESTxAgQIAAAQJdBS57u2nXTqfY7xIf9DXFUByTAAECBAjMQmDbW0b7GLSKRR+K+iBAgAABAvUIuCuknrU0EwIECBAgsGwBFYtlr5/REyBAgACBWQkIFrNaDoMhQIAAAQLLFhAslr1+Rk+AAAECBGYlUM1dIVNc+TqrlTQYAgQIECDQj4CLN/tx1AsBAgQIECBQKuBUSKmg/QkQIECAAIE9AcFij8IvBAgQIECAQKnAoNdY+DTM0uWxPwECBAgQ6C4wxfWHKhbd18ueBAgQIECgRoGiizcHrVhMkZRqXGFzIkCAAAECSxFQsVjKShknAQIECBBYgIBgsYBFMkQCBAgQILAUAcFiKStlnAQIECBAYAECgsUCFskQCRAgQIDAiAJFF28KFiOulEMRIECAAIHaBQSL2lfY/AgQIECAwIgCgsWI2A5FgAABAgRqFxAsal9h8yNAgAABAiMKCBYjYjsUAQIECBBYgICLNxewSIZIgAABAgSaEFCxaGKZTZIAAQIECIwjIFiM4+woBAgQIECgCQHBoollNkkCBAgQIDCOgGAxjrOjECBAgACBpQi4eHMpK2WcBAgQIECgdgEVi9pX2PwIECBAgMCIAoLFiNgORYAAAQIEahcQLGpfYfMjQIAAAQIjCggWI2I7FAECBAgQWICAizcXsEiGSIAAAQIEmhBQsWhimU2SAAECBAiMIyBYjOPsKAQIECBAoAkBwaKJZTZJAgQIECAwjoBgMY6zoxAgQIAAgaUIuHhzKStlnAQIECBAoHYBFYvaV9j8CBAgQIDAiAKCxYjYDkWAAAECBGoXECxqX2HzI0CAAAECIwoIFiNiOxQBAgQIEKhdQLCofYXNjwABAgQIbCfgrpDtvLyaAAECBAgQGEpAxWIoWf0SIECAAIEGBQSLBhfdlAkQIECAwFACgsVQsvolQIAAAQLLFHCNxTLXzagJECBAgEB9AioW9a2pGREgQIAAgckEBIvJ6B2YAAECBAjUJyBY1LemZkSAAAECBCYTECwmo3dgAgQIECBQn4BgUd+amhEBAgQIECgRcFdIiZ59CRAgQIAAgf4EVCz6s9QTAQIECBBoXkCwaP4tAIAAAQIECPQnIFj0Z6knAgQIECDQvIBg0fxbAAABAgQIEDgg4OLNAxweECBAgAABApMJqFhMRu/ABAgQIECgPgHBor41NSMCBAgQIDCZgGAxGb0DEyBAgACB+gQEi/rW1IwIECBAgECJgIs3S/TsS4AAAQIECPQnoGLRn6WeCBAgQIBA8wKCRfNvAQAECBAgQKA/AcGiP0s9ESBAgACB5gUEi+bfAgAIECBAgMABARdvHuDwgAABAgQIEJhMQMViMnoHJkCAAAEC9QkIFvWtqRkRIECAAIHJBASLyegdmAABAgQI1CcgWNS3pmZEgAABAgRKBFy8WaJnXwIECBAgQKA/ARWL/iz1RIAAAQIEmhcQLJp/CwAgQIAAAQL9CQgW/VnqiQABAgQINC8gWDT/FgBAgAABAgT6ExAs+rPUEwECBAgQqEHAXSE1rKI5ECBAgACBGgRULGpYRXMgQIAAAQIzERAsZrIQhkGAAAECBGoQECxqWEVzIECAAAEC/Qm4xqI/Sz0RIECAAAECJQIqFiV69iVAgAABAgQOCAgWBzg8IECAAAECBEoEBIsSPfsSIECAAAECBwQEiwMcHhAgQIAAgeYFXLzZ/FsAAAECBAgQmImAisVMFsIwCBAgQIBADQKCRQ2raA4ECBAgQGAmAoLFTBbCMAgQIECAQA0CgkUNq2gOBAgQIEBgJgKCxUwWwjAIECBAgMBMBNwVMpOFMAwCBAgQINC8gIpF828BAAQIECBAoD8BwaI/Sz0RIECAAIHmBQSL5t8CAAgQIECAwAEB11gc4PCAAAECBAgQmExAxWIyegcmQIAAAQL1CQgW9a2pGREgQIAAgckEBIvJ6B2YAAECBAjUJyBY1LemZkSAAAECBCYTECwmo3dgAgQIECAwSwF3hcxyWQyKAAECBAg0KKBi0eCimzIBAgQIEBhKQLAYSla/BAgQIECgQQHBosFFN2UCBAgQIDCUgGAxlKx+CRAgQIDAMgVcvLnMdTNqAgQIECBQn4CKRX1rakYECBAgQGAyAcFiMnoHJkCAAAEC9QkIFvWtqRkRIECAAIHJBASLyegdmAABAgQIzFLAxZuzXBaDIkCAAAECDQqoWDS46KZMgAABAgSGEhAshpLVLwECBAgQaFBAsGhw0U2ZAAECBAgMJSBYDCWrXwIECBAgsEwBF28uc92MmgABAgQI1CegYlHfmpoRAQIECBCYTECwmIzegQkQIECAQH0CgkV9a2pGBAgQIEBgMgHBYjJ6ByZAgAABArMUcPHmLJfFoAgQIECAQIMCKhYNLropEyBAgACBoQQEi6Fk9UuAAAECBBoUECwaXHRTJkCAAAECQwkIFkPJ6pcAAQIECDQoIFg0uOimTIAAAQIELiPgrpDL4PgTAQIECBAgMKKAisWI2A5FgAABAgRqFxAsal9h8yNAgAABAiMKCBYjYjsUAQIECBBYgIBrLBawSIZIgAABAgSaEFCxaGKZTZIAAQIECIwjIFiM4+woBAgQIECgCQHBoollNkkCBAgQIDCOgGAxjrOjECBAgACBJgQEiyaW2SQJECBAgMCxBdwVcmwqLyRAgAABAgQGFVCxGJRX5wQIECBAoC0BwaKt9TZbAgQIECAwqIBgMSivzgkQIECAQFsCgkVb6222BAgQIEDgSgIu3rySkL8TIECAAAEC4wioWIzj7CgECBAgQKAJAcGiiWU2SQIECBAgMI6AYDGOs6MQIECAAIEmBASLJpbZJAkQIECAwLEFXLx5bCovJECAAAECBAYVULEYlFfnBAgQIECgfoHd3d1H17MULNYSfhIgQIAAAQJbC6xCxSOrHU9evXUPdiBAgAABAgQIhECEisfix8P5a7STOzs75wSLkLARIECAAAECewLHungzQsXjscdD0fZCRfYgWKSCjQABAgQIEDi2wEaoeCMqFZ+vdxYs1hJ+EiBAgAABAlcUiFDxRLzowWhZqXg9QsUX+3cSLPZr+J0AAQIECBC4pECEiifjjw9EOzJU5I6CRSrYCBAgQIAAgcsKbISK16JS8eVROwgWR6l4jgABAgQItCtw4OLNCBT5OCsV90fLSsUlQ0X8TcUiEWwECBAgQIDAYYGNUPF7vCJDxVeHX/nXMyoWf1n4jQABAgQIEFgJrELFU/HwvmjHChW5q2CRCjYCBAgQIEBgU+DpeOLeaBkqXo1KxfnNFxz1WLA4SsVzBAgQIECgbYEMFXdG2ypUJJlgkQo2AgQIECBAID+iOy/UfCLar6v2SlQqvt6GxpeQbaPltQQIECBAoFKBVah4Jqa3rlRsHSqSRrCo9A1iWgQIECBA4LgC+0LF3bHPb9E6hYo8nlMhqWAjQIAAAQKNCkSoyCJDViruipah4s1o30brtKlYdGKzEwECBAgQWL7AEaHi5ZjVxZKZCRYlevYlQIAAAQILFViFimdj+FmpyIs1X44LNbNSceCTN+PxVptgsRWXFxMgQIAAgeUL7AsVeaFmhoq8pqLz6Y/9Iq6x2K/hdwIECBAgULnAKlQ8F9O8I9q6UnGhr2mrWPQlqR8CBAgQIDBzgaFDRU5fxWLmbwLDI0CAAAECfQisQsXz0dft0X6JltdUFF2oedS4BIujVDxHgAABAgQqEohQcVVMJ0PFbdGuFCqKLt4ULCp645gKAQIECBDYFDgiVPwvKhXfbb6ur8eCRV+S+iFAgAABAjMTWIWKF2JYt0bLSsWgoSKnL1ikgo0AAQIECFQmsBEqfo7p5TUVg1Uq1nyCxVrCTwIECBAgUInAKlS8GNO5JVqGiqxUfD/G9ASLMZQdgwABAgQIjCQQoSL/b8/TH6OHipyiYJEKNgIECBAgUIHAKlRkpeLmaD9Fy0rFD1tOreiuEB+QtaW2lxMgQIAAgTkK9BQqiqcmWBQT6oAAAQIECEwrMJdQkQpOhUz7XnB0AgQIECBQJLAKFf+KTm6K9mO0PP2RPyfZBItJ2B2UAAECBAiUC0So+Hv0ktdU9BoqIpjsdh2dYNFVzn4ECBAgQGBCgVWoyErFjdHyAs38nIqiSkX0mV+jnrendt4Ei850diRAgAABAtMIHBEq8vRH3gXSeYs+74qdr4/2cedOYkfBokTPvgQIECBAYGSBCAD/iENmpeKGaFmp6DNUfBIB5bfos/MmWHSmsyMBAgQIEBhXYCNU5Cdp5umP0krF3dHPddGKQ0VqCBapYCNAgAABAjMXOCJUZKWi6HqI6DNDxbXRegkVSShYpIKNAAECBAjMWGAVKv4dQ8xrILJS0UeouCf6uSbap6WnP6KPvU2w2KPwCwECBAgQmJ9AhIr8zz+vqchQkd9Omqc/SisV90Y/eatqVip+j5+9bYJFb5Q6IkCAAAEC/QqsQkVWKvIaiOJQEf3l94BkpSJDRVYqeg0V0adTIYlgI0CAAAECcxPYCBUXY3xZqfil6zhXoSIrFVlUGCRU5NhULFLBRoAAAQIEZiQQISAvqMzTH1mp6DNUXBX9DRYqom/BIhFsBAgQIEBgLgKrUJGnPzJcXIj2Sg+VivuinzwN8tkQpz+i371NxWKPwi8ECBAgQGBagRFCRefvADmujGBxXCmvI0CAAAECAwpEqMjTHlmpyLtAslKR11T8Gj87bdFfVijuj5ZhIisVg4eKHKhgkQo2AgQIECAwocBGqPg2hpKnP/oKFafHChVJKFhM+EZyaAIECBAgMECo+FuoZqUiv/PjzJihIldTsEgFGwECBAgQmEAgQkV+6FWe/sgvFvsm2quFlYoMFQ9Ey2rH6KEijilYJIKNAAECBAiMLXBEqMjTH52/WTT6W4eK/KyLs2NXKtZ+KhZrCT8JECBAgMBIAhEC8ivP83MqslLxdbSsVCw+VMQ8TmS6sREgQIAAAQIjCQwUKh6M4ef3h0xWqVjzqVisJfwkQIAAAQIDC6xCRV5Tkd/VcT7aa4WVivwkzbym4qdo56Y6/RHH3tsEiz0KvxAgQIAAgeEEIlTcGL3n6Y8+Q0VWKn6IQHFuuJFv17NgsZ2XVxMgQIAAga0FNkLFV9FBVio6f7No9JeVigwV30c/n289oAF3ECwGxNU1AQIECBCIEHBTKGSlIv/PrTpU5GoLFqlgI0CAAAECAwhshIov4xCvF1Yq8v/trFRcjH6+GGDIxV0KFsWEOiBAgAABAocFNkJFhoA3egoVF6KfDCmz3NxuOstlMSgCBAgQWLJAhIqbY/zr0x99hYqHos9Zh4pcMxWLVLARIECAAIGeBPaFirzAMi+sPFlYqci7SPL0xzfRT16jMetNsJj18hgcAQIECCxJIELFLTHeF6P1HSq+jlBxfgkWgsUSVskYCRAgQGD2AhuhIj9XIisVu10HHv1lpSJPf5xfSqjIuQoWqWAjQIAAAQIFAhECbo3dX4iWlYo+QkV+h0ie/vgqQkV+l8hiNsFiMUtloAQIECAwR4FVqMjTH3lDxNlobxZWKhYbKnJ9BItUsBEgQIAAgQ4CESpui92yUpGh4ky0t3oKFV9GP99Ef4vbBIvFLZkBEyBAgMAcBAYIFdfEvPL0x+cRKr6dwxy7jEGw6KJmHwIECBBoWiBCxe0B8Hy0rFScjnaqsFJRRagIB6dCEsFGgAABAgSOKzBAqLg2jp1ffZ5fe37huOOY6+tULOa6MsZFgAABArMTiFBxRwwqKxU70T6L9nZhpaKqUBEew1YsYgGeyoPYCBAgQIBAXwLxH/mpvvrapp+NUPFpjOPtbfbffG30tw4VZ6Ovi5t/X+pjFYulrpxxEyBAgMBoAhEC7oyDPRctKxV9hIrrop/7o1UVKmI+w1YspkqVOTEbAQIECBDoQ2AjVHwS/7e9U9Jv9LcOFWeir+9K+prjvioWc1wVYyJAgACBWQhECLgrBvJstKxUfBxB4N2SgUV/18f+90WrMlSkjWCRCjYCBAgQILAhMGCoOB0B5fuNw1XzULCoZilNhAABAgT6EohQcXf09Uy0rFR8FEHgvZK+o78bYv97o1UdKtJo0GARkO4KSWUbAQIECPQmEP/JD3pXSPzfdU8MNkNFbh/G8d7/89du/+4LFZ9FXz9062U5ew0aLJbDYKQECBAgQODEiQFCxY3hmkGliVCR7yHBIhVsBAgQINC8QISKPFXxzxXEB1Fd+KAEJfpbh4q8PfXHkr6WtK9gsaTVMlYCBAgQGERgI1S8H0Hgw5IDRX83xf55nUZToSLNBItUsBEgQIBAswIRAvL2z6dXAEJF4TtBsCgEtDsBAgQILFcgQkV++uX6RoP3olLxUclsor+bY//87Iv8IK2fSvpa6r6DBotAHfTK3aWiGzcBAgQITC+wESrejf+zPi4ZlVDxp96gwaJkgexLgAABAgSGEogQkF9T/uSq/z5CxS3RV37zaX4658+rfpv8IVg0uewmTYAAgXYFNkLFOxEEPinRiP7WoSJPfzQdKtJRsCh5N9mXAAECBBYlECHgwRjwE6tBvx1B4NOSCUR/t8b+t0cTKlaQgkXJO8q+BAgQILAYgQgBD8VgH18NuI9QcVv0lS1Pf/yy6rf5H4JF828BAAQIEKhfYCNUnIog8FnJrKO/DBRZrRAqNiAFiw0QDwkQIECgLoEIAQ/HjB5bzeqtCBWnS2YY/eWpj7yuIk9/qFRsYAoWGyAeEiBAgEA9AhECHonZPLqaUR+hIu/8yM+qyErFr6t+/dgnIFjsw/ArAQIECNQjsBEq3owgcKZkdtFfhor8qG6h4jKQfwSLwFp/6tj6pXnVbH7L2+bz67/7SYAAAQIE5iyQn1ORLbf3ot0c/6dlpaFky1tJ8/SHSsVlFHeO+lvgv3TU854jQIAAAQILEzgZQeDswsa86OE6FbLo5TN4AgQIELiEwG48n6Hi3CX+7umBBP4PbSiG3RVuKeMAAAAASUVORK5CYII="},CdlZ:function(e,t,n){"use strict";n.r(t),n.d(t,"InputNumberProps",function(){return O});var r=n("QbLZ"),l=n.n(r),r=n("YEIV"),b=n.n(r),r=n("jo6Y"),a=n.n(r),r=n("TZE5"),_=n("2qPA"),i=n("TSYQ"),x=n.n(i),s=n("DGO/"),i=n("m1cH"),o=n.n(i),i=n("tIgm"),u=n("GKdC"),c=n("ewVk"),f=n("aiEA"),h={disabled:r.a.bool,activeClassName:r.a.string,activeStyle:r.a.any},d={name:"TouchFeedback",mixins:[i.a],props:Object(_.initDefaultProps)(h,{disabled:!1}),data:function(){return{active:!1}},mounted:function(){var e=this;this.$nextTick(function(){e.disabled&&e.active&&e.setState({active:!1})})},methods:{triggerEvent:function(e,t,n){this.$emit(e,n),t!==this.active&&this.setState({active:t})},onTouchStart:function(e){this.triggerEvent("touchstart",!0,e)},onTouchMove:function(e){this.triggerEvent("touchmove",!1,e)},onTouchEnd:function(e){this.triggerEvent("touchend",!1,e)},onTouchCancel:function(e){this.triggerEvent("touchcancel",!1,e)},onMouseDown:function(e){this.triggerEvent("mousedown",!0,e)},onMouseUp:function(e){this.triggerEvent("mouseup",!1,e)},onMouseLeave:function(e){this.triggerEvent("mouseleave",!1,e)}},render:function(){var e,t=this.$props,n=t.disabled,r=t.activeClassName,r=void 0===r?"":r,t=t.activeStyle,t=void 0===t?{}:t,i=this.$slots.default;return 1!==i.length?(Object(f.a)(!1,"m-feedback组件只能包含一个子元素"),null):(e={on:n?{}:{touchstart:this.onTouchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchCancel,mousedown:this.onMouseDown,mouseup:this.onMouseUp,mouseleave:this.onMouseLeave}},!n&&this.active&&(e=l()({},e,{style:t,class:r})),Object(c.a)(i,e))}},w={name:"InputHandler",props:{prefixCls:r.a.string,disabled:r.a.bool},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,t={props:{disabled:t.disabled,activeClassName:n+"-handler-active"},on:Object(_.getListeners)(this)};return e(d,t,[e("span",[this.$slots.default])])}};function A(){}function S(e){e.preventDefault()}function p(e){return null!=e}function y(e,t){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}var h=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,m={value:r.a.oneOfType([r.a.number,r.a.string]),defaultValue:r.a.oneOfType([r.a.number,r.a.string]),focusOnUpDown:r.a.bool,autoFocus:r.a.bool,prefixCls:r.a.string,tabIndex:r.a.oneOfType([r.a.string,r.a.number]),placeholder:r.a.string,disabled:r.a.bool,readOnly:r.a.bool,max:r.a.number,min:r.a.number,step:r.a.oneOfType([r.a.number,r.a.string]),upHandler:r.a.any,downHandler:r.a.any,useTouch:r.a.bool,formatter:r.a.func,parser:r.a.func,precision:r.a.number,required:r.a.bool,pattern:r.a.string,decimalSeparator:r.a.string,autoComplete:r.a.string,title:r.a.string,name:r.a.string,id:r.a.string},g={name:"VCInputNumber",mixins:[i.a],model:{prop:"value",event:"change"},props:Object(_.initDefaultProps)(m,{focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",min:-h,step:1,parser:function(e){return e.replace(/[^\w\.-]+/g,"")},required:!1,autoComplete:"off"}),data:function(){var e=Object(_.getOptionProps)(this),t=(this.prevProps=l()({},e),void 0),t="value"in e?this.value:this.defaultValue,e=this.getValidValue(this.toNumber(t));return{inputValue:this.toPrecisionAsStep(e),sValue:e,focused:this.autoFocus}},mounted:function(){var e=this;this.$nextTick(function(){e.autoFocus&&!e.disabled&&e.focus(),e.updatedFunc()})},updated:function(){var e,t=this,n=this.$props,r=n.value,i=n.max,n=n.min,o=this.$data.focused,a=this.prevProps,s=Object(_.getOptionProps)(this);a&&(y(a.value,r)&&y(a.max,i)&&y(a.min,n)||(o=o?r:this.getValidValue(r),e=void 0,e=this.pressingUpOrDown?o:this.inputting?this.rawInput:this.toPrecisionAsStep(o),this.setState({sValue:o,inputValue:e})),o="value"in s?r:this.sValue,"max"in s&&a.max!==i&&"number"==typeof o&&i<o&&this.$emit("change",i),"min"in s)&&a.min!==n&&"number"==typeof o&&o<n&&this.$emit("change",n),this.prevProps=l()({},s),this.$nextTick(function(){t.updatedFunc()})},beforeDestroy:function(){this.stop()},methods:{updatedFunc:function(){var e=this.$refs.inputRef;try{if(void 0!==this.cursorStart&&this.focused)if(this.partRestoreByAfter(this.cursorAfter)||this.sValue===this.value){if(this.currentValue===e.value)switch(this.lastKeyCode){case u.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case u.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1)}}else{var t=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===u.a.BACKSPACE?t=this.cursorStart-1:this.lastKeyCode===u.a.DELETE&&(t=this.cursorStart):t=e.value.length,this.fixCaret(t,t)}}catch(e){}this.lastKeyCode=null,this.pressingUpOrDown&&(this.focusOnUpDown&&this.focused&&document.activeElement!==e&&this.focus(),this.pressingUpOrDown=!1)},onKeyDown:function(e){var t;e.keyCode===u.a.UP?(t=this.getRatio(e),this.up(e,t),this.stop()):e.keyCode===u.a.DOWN?(t=this.getRatio(e),this.down(e,t),this.stop()):e.keyCode===u.a.ENTER&&this.$emit("pressEnter",e),this.recordCursorPosition(),this.lastKeyCode=e.keyCode;for(var n=arguments.length,r=Array(1<n?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.$emit.apply(this,["keydown",e].concat(o()(r)))},onKeyUp:function(e){this.stop(),this.recordCursorPosition();for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.$emit.apply(this,["keyup",e].concat(o()(n)))},onChange:function(e){this.focused&&(this.inputting=!0),this.rawInput=this.parser(this.getValueFromEvent(e)),this.setState({inputValue:this.rawInput}),this.$emit("change",this.toNumber(this.rawInput))},onFocus:function(){this.setState({focused:!0});for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.$emit.apply(this,["focus"].concat(o()(t)))},onBlur:function(){this.inputting=!1,this.setState({focused:!1});var e=this.getCurrentValidValue(this.inputValue),e=this.setValue(e);if(this.$listeners.blur){var t=this.$refs.inputRef.value,e=this.getInputDisplayValue({focused:!1,sValue:e});this.$refs.inputRef.value=e;for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];this.$emit.apply(this,["blur"].concat(o()(r))),this.$refs.inputRef.value=t}},getCurrentValidValue:function(e){e=""===(e=e)?"":this.isNotCompleteNumber(parseFloat(e,10))?this.sValue:this.getValidValue(e);return this.toNumber(e)},getRatio:function(e){var t=1;return e.metaKey||e.ctrlKey?t=.1:e.shiftKey&&(t=10),t},getValueFromEvent:function(e){e=e.target.value.trim().replace(/。/g,".");return e=p(this.decimalSeparator)?e.replace(this.decimalSeparator,"."):e},getValidValue:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.min,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.max,r=parseFloat(e,10);return isNaN(r)?e:n<(r=r<t?t:r)?n:r},setValue:function(e,t){var n=this.$props.precision,r=this.isNotCompleteNumber(parseFloat(e,10))?null:parseFloat(e,10),i=this.$data,o=i.sValue,o=void 0===o?null:o,i=i.inputValue,i=void 0===i?null:i,n="number"==typeof r?r.toFixed(n):""+r,o=r!==o||n!==""+i;return Object(_.hasProp)(this,"value")?this.setState({inputValue:this.toPrecisionAsStep(this.sValue)},t):this.setState({sValue:r,inputValue:this.toPrecisionAsStep(e)},t),o&&this.$emit("change",r),r},getPrecision:function(e){var t;return p(this.precision)?this.precision:0<=(e=e.toString()).indexOf("e-")?parseInt(e.slice(e.indexOf("e-")+2),10):(t=0)<=e.indexOf(".")?e.length-e.indexOf(".")-1:t},getMaxPrecision:function(e){var t,n,r;return p(this.precision)?this.precision:(n=this.step,t=this.getPrecision(1<arguments.length&&void 0!==arguments[1]?arguments[1]:1),n=this.getPrecision(n),r=this.getPrecision(e),e?Math.max(r,t+n):t+n)},getPrecisionFactor:function(e){e=this.getMaxPrecision(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:1);return Math.pow(10,e)},getInputDisplayValue:function(e){var e=e||this.$data,t=e.focused,n=e.inputValue,e=e.sValue,r=void 0,r=t?n:this.toPrecisionAsStep(e),t=this.formatWrapper(r=null==r?"":r);return t=p(this.$props.decimalSeparator)?t.toString().replace(".",this.$props.decimalSeparator):t},recordCursorPosition:function(){try{var e=this.$refs.inputRef;this.cursorStart=e.selectionStart,this.cursorEnd=e.selectionEnd,this.currentValue=e.value,this.cursorBefore=e.value.substring(0,this.cursorStart),this.cursorAfter=e.value.substring(this.cursorEnd)}catch(e){}},fixCaret:function(e,t){if(void 0!==e&&void 0!==t&&this.$refs.inputRef&&this.$refs.inputRef.value)try{var n=this.$refs.inputRef,r=n.selectionStart,i=n.selectionEnd;e===r&&t===i||n.setSelectionRange(e,t)}catch(e){}},restoreByAfter:function(e){var t,n,r;return void 0!==e&&-1!==(n=(t=this.$refs.inputRef.value).lastIndexOf(e))&&(r=this.cursorBefore.length,this.lastKeyCode===u.a.DELETE&&this.cursorBefore.charAt(r-1)===e[0]?(this.fixCaret(r,r),!0):n+e.length===t.length&&(this.fixCaret(n,n),!0))},partRestoreByAfter:function(n){var r=this;return void 0!==n&&Array.prototype.some.call(n,function(e,t){t=n.substring(t);return r.restoreByAfter(t)})},focus:function(){this.$refs.inputRef.focus(),this.recordCursorPosition()},blur:function(){this.$refs.inputRef.blur()},formatWrapper:function(e){return this.formatter?this.formatter(e):e},toPrecisionAsStep:function(e){var t;return this.isNotCompleteNumber(e)||""===e?e:(t=Math.abs(this.getMaxPrecision(e)),isNaN(t)?e.toString():Number(e).toFixed(t))},isNotCompleteNumber:function(e){return isNaN(e)||""===e||null===e||e&&e.toString().indexOf(".")===e.toString().length-1},toNumber:function(e){var t=this.$props,n=t.precision,t=t.autoFocus,r=this.focused,t=e&&16<e.length&&(void 0===r?t:r);return this.isNotCompleteNumber(e)||t?e:p(n)?Math.round(e*Math.pow(10,n))/Math.pow(10,n):Number(e)},upStep:function(e,t){var n=this.step,r=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t)),e=((r*e+r*n*t)/r).toFixed(i);return this.toNumber(e)},downStep:function(e,t){var n=this.step,r=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t)),e=((r*e-r*n*t)/r).toFixed(i);return this.toNumber(e)},stepFn:function(e,t){var n,r,i,o,a=this,s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1,l=arguments[3];this.stop(),t&&t.preventDefault(),this.disabled||(n=this.max,r=this.min,i=this.getCurrentValidValue(this.inputValue)||0,this.isNotCompleteNumber(i))||(o=n<(i=this[e+"Step"](i,s))||i<r,n<i?i=n:i<r&&(i=r),this.setValue(i),this.setState({focused:!0}),o)||(this.autoStepTimer=setTimeout(function(){a[e](t,s,!0)},l?200:600))},stop:function(){this.autoStepTimer&&clearTimeout(this.autoStepTimer)},down:function(e,t,n){this.pressingUpOrDown=!0,this.stepFn("down",e,t,n)},up:function(e,t,n){this.pressingUpOrDown=!0,this.stepFn("up",e,t,n)},handleInputClick:function(){this.$emit("click")}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,r=t.disabled,i=t.readOnly,o=t.useTouch,a=t.autoComplete,s=t.upHandler,t=t.downHandler,l=x()((l={},b()(l,n,!0),b()(l,n+"-disabled",r),b()(l,n+"-focused",this.focused),l)),u="",c="",f=this.sValue,h=(!f&&0!==f||(isNaN(f)?(u=n+"-handler-up-disabled",c=n+"-handler-down-disabled"):((h=Number(f))>=this.max&&(u=n+"-handler-up-disabled"),h<=this.min&&(c=n+"-handler-down-disabled"))),!this.readOnly&&!this.disabled),d=this.getInputDisplayValue(),p=void 0,y=void 0,y=o?(p={touchstart:h&&!u?this.up:A,touchend:this.stop},{touchstart:h&&!c?this.down:A,touchend:this.stop}):(p={mousedown:h&&!u?this.up:A,mouseup:this.stop,mouseleave:this.stop},{mousedown:h&&!c?this.down:A,mouseup:this.stop,mouseleave:this.stop}),o=!!u||r||i,r=!!c||r||i,i=Object(_.getListeners)(this),m=i.mouseenter,g=i.mouseleave,v=i.mouseover,i=i.mouseout,r={props:{disabled:r,prefixCls:n},attrs:{unselectable:"unselectable",role:"button","aria-label":"Decrease Value","aria-disabled":!!r},class:n+"-handler "+n+"-handler-down "+c,on:y,ref:"down"};return e("div",{on:{mouseenter:void 0===m?A:m,mouseleave:void 0===g?A:g,mouseover:void 0===v?A:v,mouseout:void 0===i?A:i},class:l,attrs:{title:this.$props.title}},[e("div",{class:n+"-handler-wrap"},[e(w,{props:{disabled:o,prefixCls:n},attrs:{unselectable:"unselectable",role:"button","aria-label":"Increase Value","aria-disabled":!!o},class:n+"-handler "+n+"-handler-up "+u,on:p,ref:"up"},[s||e("span",{attrs:{unselectable:"unselectable"},class:n+"-handler-up-inner",on:{click:S}})]),e(w,r,[t||e("span",{attrs:{unselectable:"unselectable"},class:n+"-handler-down-inner",on:{click:S}})])]),e("div",{class:n+"-input-wrap"},[e("input",{attrs:{role:"spinbutton","aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":f,required:this.required,type:this.type,placeholder:this.placeholder,tabIndex:this.tabIndex,autoComplete:a,readOnly:this.readOnly,disabled:this.disabled,max:this.max,min:this.min,step:this.step,name:this.name,title:this.title,id:this.id,pattern:this.pattern},on:{click:this.handleInputClick,focus:this.onFocus,blur:this.onBlur,keydown:h?this.onKeyDown:A,keyup:h?this.onKeyUp:A,input:this.onChange},class:n+"-input",ref:"inputRef",domProps:{value:d}})])])}},v=n("TfX5"),C=n("2xRk"),O={prefixCls:r.a.string,min:r.a.number,max:r.a.number,value:r.a.oneOfType([r.a.number,r.a.string]),step:r.a.oneOfType([r.a.number,r.a.string]),defaultValue:r.a.oneOfType([r.a.number,r.a.string]),tabIndex:r.a.number,disabled:r.a.bool,size:r.a.oneOf(["large","small","default"]),formatter:r.a.func,parser:r.a.func,decimalSeparator:r.a.string,placeholder:r.a.string,name:r.a.string,id:r.a.string,precision:r.a.number,autoFocus:r.a.bool},E={name:"AInputNumber",model:{prop:"value",event:"change"},props:Object(_.initDefaultProps)(O,{step:1}),inject:{configProvider:{default:function(){return v.a}}},methods:{focus:function(){this.$refs.inputNumberRef.focus()},blur:function(){this.$refs.inputNumberRef.blur()}},render:function(){var e=arguments[0],t=Object(_.getOptionProps)(this),n=t.prefixCls,r=t.size,t=a()(t,["prefixCls","size"]),n=(0,this.configProvider.getPrefixCls)("input-number",n),r=x()((i={},b()(i,n+"-lg","large"===r),b()(i,n+"-sm","small"===r),i)),i=e(s.default,{attrs:{type:"up"},class:n+"-handler-up-inner"}),o=e(s.default,{attrs:{type:"down"},class:n+"-handler-down-inner"}),n={props:l()({prefixCls:n,upHandler:i,downHandler:o},t),class:r,ref:"inputNumberRef",on:Object(_.getListeners)(this)};return e(g,n)},install:function(e){e.use(C.default),e.component(E.name,E)}};t.default=E},CeSn:function(e,t){var r="[object Symbol]",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,u=Object.prototype.toString;function c(e){var t=typeof e;return e&&("object"==t||"function"==t)}e.exports=function(e){if("number"==typeof e)return e;if("symbol"==typeof(n=e)||!!(t=n)&&"object"==typeof t&&u.call(n)==r)return NaN;var t;if("string"!=typeof(e=c(e)?c(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=e.replace(i,"");var n=a.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):o.test(e)?NaN:+e}},ChI7:function(e,t,n){"use strict";n.r(t);var r,i=n("f8sJ"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},CjzT:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var n="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),t=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){if(!e)return n;else if(/-MMM-/.test(t))return r[e.month()];else return n[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n("wd/R"))},CsPn:function(e,t,n){(((t=e.exports=n("by5u")).Stream=t).Readable=t).Writable=n("b/oV"),t.Duplex=n("1t2c"),t.Transform=n("3NCs"),t.PassThrough=n("qml0")},Cwc5:function(e,t,n){var r=n("NKxu"),i=n("Npjl");e.exports=function(e,t){return e=i(e,t),r(e)?e:void 0}},"D/JM":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:true,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0VN:function(e,t,n){"use strict";var r=n("nCzB"),o=n("m7zg"),a=n("8HiI"),s=n("zFjv"),l=n("8xe4"),u=n("nvEG");r({target:"Promise",stat:!0,forced:n("2YF/")},{race:function(e){var n=this,r=s.f(n),i=r.reject,t=l(function(){var t=a(n.resolve);u(e,function(e){o(t,n,e).then(r.resolve,i)})});return t.error&&i(t.value),r.promise}})},D1be:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.tableTypes=t.default=void 0,r(n("ACDd"))),o=n("AcmY"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},o.TableProps),o=(t.tableTypes=n,{name:"SmTable",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},D3OB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,n=this,r=n.params,i=n.el;i&&0===i.offsetWidth||(r.breakpoints&&n.setBreakpoint(),i=n.allowSlideNext,e=n.allowSlidePrev,t=n.snapGrid,n.allowSlideNext=!0,n.allowSlidePrev=!0,n.updateSize(),n.updateSlides(),n.updateSlidesClasses(),("auto"===r.slidesPerView||1<r.slidesPerView)&&n.isEnd&&!n.isBeginning&&!n.params.centeredSlides?n.slideTo(n.slides.length-1,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0),n.autoplay&&n.autoplay.running&&n.autoplay.paused&&n.autoplay.run(),n.allowSlidePrev=e,n.allowSlideNext=i,n.params.watchOverflow&&t!==n.snapGrid&&n.checkOverflow())}},D4NW:function(e,t,n){"use strict";n.r(t);var r,i=n("YgVm"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},D8kY:function(e,t,n){var r=n("Ojgd"),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},"DGO/":function(e,t,n){"use strict";n.r(t);var r=n("kvrn"),g=n.n(r),r=n("QbLZ"),v=n.n(r),r=n("YEIV"),b=n.n(r),r=n("m1cH"),r=n.n(r),i=n("TSYQ"),_=n.n(i),o=n("Optq"),a=n("Kts3"),s={primaryColor:"#333",secondaryColor:"#E6E6E6"},l={name:"AntdIcon",props:["type","primaryColor","secondaryColor"],displayName:"IconVue",definitions:new a.a,data:function(){return{twoToneColorPalette:s}},add:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){l.definitions.set(Object(a.f)(e.name,e.theme),e)})},clear:function(){l.definitions.clear()},get:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:s;if(e)return(e=l.definitions.get(e))&&"function"==typeof e.icon?v()({},e,{icon:e.icon(t.primaryColor,t.secondaryColor)}):e},setTwoToneColors:function(e){var t=e.primaryColor,e=e.secondaryColor;s.primaryColor=t,s.secondaryColor=e||Object(a.c)(t)},getTwoToneColors:function(){return v()({},s)},render:function(e){var t=this.$props,n=t.type,r=t.primaryColor,t=t.secondaryColor,i=void 0,o=s;if(r&&(o={primaryColor:r,secondaryColor:t||Object(a.c)(r)}),Object(a.d)(n))i=n;else if("string"==typeof n&&!(i=l.get(n,o)))return null;return i?(i&&"function"==typeof i.icon&&(i=v()({},i,{icon:i.icon(o.primaryColor,o.secondaryColor)})),Object(a.b)(e,i.icon,"svg-"+i.name,{attrs:{"data-icon":i.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},on:this.$listeners})):(Object(a.e)("type should be string or icon definiton, but got "+n),null)},install:function(e){e.component(l.name,l)}},x=l,i=n("TZE5"),u=n("jo6Y"),c=n.n(u),w=n("2qPA"),f=new Set;var A=n("aiEA"),S={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},C=/-fill$/,O=/-o$/,E=/-twotone$/;var h=n("5c0L");function d(e){return x.setTwoToneColors({primaryColor:e})}var p=n("2xRk");x.add.apply(x,r()(Object.keys(o).map(function(e){return o[e]}))),d("#1890ff");function y(e,t,n){var r,i,o,a=n.$props,s=n.$slots,n=Object(w.getListeners)(n),l=a.type,u=a.component,c=a.viewBox,f=a.spin,h=a.theme,d=a.twoToneColor,p=a.rotate,a=a.tabIndex,s=0===(s=Object(w.filterEmpty)(s.default)).length?void 0:s,y=(Object(A.a)(Boolean(l||u||s),"Icon","Icon should have `type` prop or `component` prop or `children`."),_()((y={},b()(y,"anticon",!0),b()(y,"anticon-"+l,!!l),y))),f=_()(b()({},"anticon-spin",!!f||"loading"===l)),p=p?{msTransform:"rotate("+p+"deg)",transform:"rotate("+p+"deg)"}:void 0,m={attrs:v()({},S,{viewBox:c}),class:f,style:p},t=(c||delete m.attrs.viewBox,void 0===a&&"click"in n&&(a=-1),{attrs:{"aria-label":l&&t.icon+": "+l,tabIndex:a},on:n,class:y,staticClass:""});return e("i",t,[u?e(u,m,[s]):s?(Object(A.a)(Boolean(c)||1===s.length&&"use"===s[0].tag,"Icon","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),r={attrs:v()({},S),class:f,style:p},e("svg",g()([r,{attrs:{viewBox:c}}]),[s])):"string"==typeof l?(r=l,h&&(i=l,o=null,C.test(i)?o="filled":O.test(i)?o="outlined":E.test(i)&&(o="twoTone"),i=o,Object(A.a)(!i||h===i,"Icon","The icon name '"+l+"' already specify a theme '"+i+"', the 'theme' prop '"+h+"' will be ignored.")),o=function(e){var t=e;switch(e){case"cross":t="close";break;case"interation":t="interaction";break;case"canlendar":t="calendar";break;case"colum-height":t="column-height"}return Object(A.a)(t===e,"Icon","Icon '"+e+"' was a typo and is now deprecated, please use '"+t+"' instead."),t}(r),i=o.replace(C,"").replace(O,"").replace(E,""),a=i,"filled"===(n=h||"outlined")?a+="-fill":"outlined"===n?a+="-o":"twoTone"===n?a+="-twotone":Object(A.a)(!1,"Icon","This icon '"+i+"' has unknown theme '"+n+"'"),e(x,{attrs:{focusable:"false",type:r=a,primaryColor:d},class:f,style:p})):void 0])}var m={name:"AIcon",props:{tabIndex:i.a.number,type:i.a.string,component:i.a.any,viewBox:i.a.any,spin:i.a.bool.def(!1),rotate:i.a.number,theme:i.a.oneOf(["filled","outlined","twoTone"]),twoToneColor:i.a.string,role:i.a.string},render:function(t){var n=this;return t(h.a,{attrs:{componentName:"Icon"},scopedSlots:{default:function(e){return y(t,e,n)}}})},createFromIconfontCN:function(e){var t=e.scriptUrl,s=void 0===(e=e.extraCommonProps)?{}:e;return"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&"string"==typeof t&&t.length&&!f.has(t)&&((e=document.createElement("script")).setAttribute("src",t),e.setAttribute("data-namespace",t),f.add(t),document.body.appendChild(e)),{functional:!0,name:"AIconfont",props:M.props,render:function(e,t){var n=t.props,r=t.slots,i=t.listeners,t=t.data,o=n.type,n=c()(n,["type"]),r=r().default,a=null,o=(o&&(a=e("use",{attrs:{"xlink:href":"#"+o}})),r&&(a=r),Object(w.mergeProps)(s,t,{props:n,on:i}));return e(M,o,[a])}}},getTwoToneColor:function(){return x.getTwoToneColors().primaryColor}},M=(m.setTwoToneColor=d,m.install=function(e){e.use(p.default),e.component(m.name,m)},t.default=m)},"DKr+":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?i[n][0]:i[n][1]}var n;e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:true,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="rati")return e<4?e:e+12;else if(t==="sokallim")return e;else if(t==="donparam")return e>12?e:e+12;else if(t==="sanje")return e+12},meridiem:function(e,t,n){if(e<4)return"rati";else if(e<12)return"sokallim";else if(e<16)return"donparam";else if(e<20)return"sanje";else return"rati"}})}(n("wd/R"))},DMW1:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAADf1JREFUeAHt3N1tnIUahdFxRA2UkAboIog2aMJI5IJUhJLyPGcGGJ+J5QTHCG/xeHHjfP5hs9cbKVseh5ub20/Hg38IECBAgAABAo8IHD+8u3nk3V9815svfsQHCBAgQIAAAQLfKPDd5fO/dZFcvs5bAgQIECBAoCfw3Fc0fMei93tBIwIECBAgMBMwLGb0ggkQIECAQE/AsOjdVCMCBAgQIDATuP8Zi4f/BTe3H39/+D7PBAgQIECAwCsROP75l0Yf7oHjhx9/+prAF4fF+Yv+7ou/9i/2MQIECBAgQOC/K3D54c3TX+64HxIPR8Zj7bwU8piK9xEgQIAAAQLPEjAsnsXmiwgQIECAAIHHBL76Usj1F7z55eP762e/JkCAAAECBLoCx79+xuL6z//j3eHt9fO5/d1vP76/VnjysHjsi6//RX5NgAABAgQIdAROP2Px67nN3W/v3l9anX7G4ofrIfFwZJw/z0shFy1vCRAgQIAAgX8s8E3fsfgs7fbT/U+JfvZ+DwQIECBAgMB/XuCvV0IOh6s/74+H4/fXz3fH49vr53Pp5w+L81d/eOf/dXF28A8BAgQIEIgJnF4K+aPR6a+b3v9Zf3op5Ofr59NLIaeXRv7/8fPI8FJI7DeCOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYgGERO6g6BAgQIEBgKWBYLPVlEyBAgACBmIBhETuoOgQIECBAYClgWCz1ZRMgQIAAgZiAYRE7qDoECBAgQGApYFgs9WUTIECAAIGYwHeXPje3n46XX//x9ng8XL/v+Ofzr5fPOT2eP3559JYAAQIECBAgcPAdC78JCBAgQIAAgX9f4Ob24+/XKW9++fj++vlw++mnz549ECBAgAABAmmBp2wD37FI/xZQjgABAgQIvKzA/c9YPBZ7vUyOd4e3p+cfLp93PBy/Pz3/fHn2lgABAgQIECDwZAEvhTyZyicSIECAAIFXIfDYNvBSyKs4vZIECBAgQOBlBAyLl3GWQoAAAQIEXoXAV3/G4qHA9bc87o7Ht6fn+5+5ePi5ngkQIECAAAECTxfw102fbuUzCRAgQIDAaxA4bQMvhbyGQ+tIgAABAgReSMCweCFoMQQIECBA4DUI3Dy7pJdCnk3nCwkQIECAQFXgf58egNySoaJ8AAAAAElFTkSuQmCC"},DN2a:function(e,t){function a(e){this.i=[],this.m=e}function b(e){var t,n={type:null,target:null,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null};for(t in e)n[t]!==A&&e[t]!==A&&(n[t]=e[t]);return n}function s(r,i){var o=l(r,i);return function(e){var t,p,y,m,n=e.length;function g(e,t,n,r,i){var o,a,s,l=e.length-1;for(i=-~((l-i)/2);s=e.pop();)o=n[s.j],a=r[s.l],y.c&&i&&Math.abs(s.j-s.l)>=l&&(p.push(b({type:"childList",target:t,addedNodes:[o],removedNodes:[o],nextSibling:o.nextSibling,previousSibling:o.previousSibling})),i--),y.b&&a.b&&_(p,o,a.b,y.f),y.a&&3===o.nodeType&&o.nodeValue!==a.a&&p.push(b({type:"characterData",target:o,oldValue:a.a})),y.g&&v(o,a)}function v(e,t){for(var n,r,i,o,a,s=e.childNodes,l=t.c,u=s.length,c=l?l.length:0,f=0,h=0,d=0;h<u||d<c;)(o=s[h])===(a=(i=l[d])&&i.node)?(y.b&&i.b&&_(p,o,i.b,y.f),y.a&&i.a!==A&&o.nodeValue!==i.a&&p.push(b({type:"characterData",target:o,oldValue:i.a})),r&&g(r,e,s,l,f),y.g&&(o.childNodes.length||i.c&&i.c.length)&&v(o,i),h++,d++):(m=!0,n||(n={},r=[]),o&&(n[i=x(o)]||(n[i]=!0,-1===(i=w(l,o,d,"node"))?y.c&&(p.push(b({type:"childList",target:e,addedNodes:[o],nextSibling:o.nextSibling,previousSibling:o.previousSibling})),f++):r.push({j:h,l:i})),h++),a&&a!==s[h]&&(n[i=x(a)]||(n[i]=!0,-1===(i=w(s,a,h))?y.c&&(p.push(b({type:"childList",target:t.node,removedNodes:[a],nextSibling:l[d+1],previousSibling:l[d-1]})),f--):r.push({j:i,l:d})),d++));r&&g(r,e,s,l,f)}i.a&&3===r.nodeType&&r.nodeValue!==o.a&&e.push(new b({type:"characterData",target:r,oldValue:o.a})),i.b&&o.b&&_(e,r,o.b,i.f),(i.c||i.g)&&(p=e,y=i,v(r,o),t=m),!t&&e.length===n||(o=l(r,i))}}function _(e,t,n,r){for(var i,o,a={},s=t.attributes,l=s.length;l--;)o=(i=s[l]).name,r&&r[o]===A||(c(t,i)!==n[o]&&e.push(b({type:"attributes",target:t,attributeName:o,oldValue:n[o],attributeNamespace:i.namespaceURI})),a[o]=!0);for(o in n)a[o]||e.push(b({target:t,type:"attributes",attributeName:o,oldValue:n[o]}))}function l(e,r){var i=!0;return function e(n){var t={node:n};return!r.a||3!==n.nodeType&&8!==n.nodeType?(r.b&&i&&1===n.nodeType&&(t.b=u(n.attributes,function(e,t){return r.f&&!r.f[t.name]||(e[t.name]=c(n,t)),e},{})),i&&(r.c||r.a||r.b&&r.g)&&(t.c=function(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r,e);return n}(n.childNodes,e)),i=r.g):t.a=n.nodeValue,t}(e)}function x(t){try{return t.id||(t.mo_id=t.mo_id||r++)}catch(e){try{return t.nodeValue}catch(e){return r++}}}function u(e,t,n){for(var r=0;r<e.length;r++)n=t(n,e[r],r,e);return n}function w(e,t,n,r){for(;n<e.length;n++)if((r?e[n][r]:e[n])===t)return n;return-1}var A,n,c,r;window.MutationObserver||(window.MutationObserver=(A=void 0,a._period=30,a.prototype={observe:function(e,t){for(var n,r={b:!!(t.attributes||t.attributeFilter||t.attributeOldValue),c:!!t.childList,g:!!t.subtree,a:!(!t.characterData&&!t.characterDataOldValue)},i=this.i,o=0;o<i.length;o++)i[o].s===e&&i.splice(o,1);t.attributeFilter&&(r.f=u(t.attributeFilter,function(e,t){return e[t]=!0,e},{})),i.push({s:e,o:s(e,r)}),this.h||(n=this,function e(){var t=n.takeRecords();t.length&&n.m(t,n),n.h=setTimeout(e,a._period)}())},takeRecords:function(){for(var e=[],t=this.i,n=0;n<t.length;n++)t[n].o(e);return e},disconnect:function(){this.i=[],clearTimeout(this.h),this.h=null}},(n=document.createElement("i")).style.top=0,c=(n="null"!=n.attributes.style.value)?function(e,t){return t.value}:function(e,t){return"style"!==t.name?t.value:e.style.cssText},r=1,a))},DNas:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement;return(this._self._c||e)("swiper-slide",{staticClass:"sm-component-slideshowitem"},[this._t("default")],2)},i=[]},DSM6:function(e,t,n){"use strict";var r,i=n("TqRt"),o=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getLanguage=m,t.geti18n=function(){return r||p},t.initi18n=b,t.locale=t.lang=void 0,t.setLocale=g,i(n("pVnL"))),a=i(n("p46w")),s=i(n("W1yv")),l=i(n("ORi+")),u=i(n("62A4")),c=i(n("ZKpq")),f=i(n("zT9C")),h=i(n("qSUR")),d={en:s.default.dateTimeFormat,zh:l.default.dateTimeFormat},p={},y={en:(0,o.default)({},c.default,s.default),zh:(0,o.default)({},u.default,l.default)};function m(){var e=a.default.get("language");if(e=e||("Netscape"===navigator.appName?navigator.language:navigator.browserLanguage)){if(0===e.indexOf("zh"))return"zh";if(0===e.indexOf("en"))return"en"}return"zh"}function g(e){p.mergeLocaleMessage&&p.mergeLocaleMessage(p.locale,e)}t.locale={install:function(e,t){b(e,t)}};var v=(0,f.default)(y);function b(e,t){(t=t||{}).i18n?((p=t.i18n).getDateTimeFormat()&&0!==Object.keys(p.getDateTimeFormat()).length||(p.setDateTimeFormat("en",s.default.dateTimeFormat),p.setDateTimeFormat("zh",l.default.dateTimeFormat)),p.mergeLocaleMessage&&p.mergeLocaleMessage("en",v.en),p.mergeLocaleMessage&&p.mergeLocaleMessage("zh",v.zh)):Object.prototype.hasOwnProperty.call(e.prototype,"$i18n")||(Object.defineProperty(e.prototype,"$i18n",{get:function(){return(r=!r&&this.$root&&this.$root.$options.i18n?this.$root.$options.i18n:r)||p}}),e.use(h.default),p=new h.default({dateTimeFormats:d,locale:m(),fallbackLocale:"zh",messages:y})),t.locale&&g(t.locale);t=t.i18n||p||t.locale;e.iclient?e.iclient.locale=t:e.iclient={locale:t}}t.lang=v;i=p;t.default=i},DSRE:function(e,o,a){!function(e){var t=a("Kz5y"),n=a("B8du"),r=o&&!o.nodeType&&o,i=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=i&&i.exports===r?t.Buffer:void 0,r=i?i.isBuffer:void 0;e.exports=r||n}.call(this,a("YuTi")(e))},DXPr:function(e,ht,dt){"use strict";dt.r(ht),function(B){dt.d(ht,"AElement",function(){return Ue}),dt.d(ht,"AnimateColorElement",function(){return ze}),dt.d(ht,"AnimateElement",function(){return C}),dt.d(ht,"AnimateTransformElement",function(){return Fe}),dt.d(ht,"BoundingBox",function(){return d}),dt.d(ht,"CB1",function(){return ne}),dt.d(ht,"CB2",function(){return re}),dt.d(ht,"CB3",function(){return ie}),dt.d(ht,"CB4",function(){return oe}),dt.d(ht,"Canvg",function(){return D}),dt.d(ht,"CircleElement",function(){return Ee}),dt.d(ht,"ClipPathElement",function(){return nt}),dt.d(ht,"DefsElement",function(){return je}),dt.d(ht,"DescElement",function(){return lt}),dt.d(ht,"Document",function(){return L}),dt.d(ht,"Element",function(){return t}),dt.d(ht,"EllipseElement",function(){return Me}),dt.d(ht,"FeColorMatrixElement",function(){return et}),dt.d(ht,"FeCompositeElement",function(){return ot}),dt.d(ht,"FeDropShadowElement",function(){return rt}),dt.d(ht,"FeGaussianBlurElement",function(){return at}),dt.d(ht,"FeMorphologyElement",function(){return it}),dt.d(ht,"FilterElement",function(){return I}),dt.d(ht,"Font",function(){return m}),dt.d(ht,"FontElement",function(){return Ve}),dt.d(ht,"FontFaceElement",function(){return He}),dt.d(ht,"GElement",function(){return S}),dt.d(ht,"GlyphElement",function(){return Se}),dt.d(ht,"GradientElement",function(){return De}),dt.d(ht,"ImageElement",function(){return Ke}),dt.d(ht,"LineElement",function(){return Pe}),dt.d(ht,"LinearGradientElement",function(){return Be}),dt.d(ht,"MarkerElement",function(){return Le}),dt.d(ht,"MaskElement",function(){return T}),dt.d(ht,"Matrix",function(){return ve}),dt.d(ht,"MissingGlyphElement",function(){return Ye}),dt.d(ht,"Mouse",function(){return ce}),dt.d(ht,"PSEUDO_ZERO",function(){return h}),dt.d(ht,"Parser",function(){return l}),dt.d(ht,"PathElement",function(){return x}),dt.d(ht,"PathParser",function(){return g}),dt.d(ht,"PatternElement",function(){return Ie}),dt.d(ht,"Point",function(){return p}),dt.d(ht,"PolygonElement",function(){return Te}),dt.d(ht,"PolylineElement",function(){return ke}),dt.d(ht,"Property",function(){return _}),dt.d(ht,"QB1",function(){return ae}),dt.d(ht,"QB2",function(){return se}),dt.d(ht,"QB3",function(){return le}),dt.d(ht,"RadialGradientElement",function(){return Re}),dt.d(ht,"RectElement",function(){return Oe}),dt.d(ht,"RenderedElement",function(){return n}),dt.d(ht,"Rotate",function(){return me}),dt.d(ht,"SVGElement",function(){return A}),dt.d(ht,"SVGFontLoader",function(){return Je}),dt.d(ht,"Scale",function(){return ge}),dt.d(ht,"Screen",function(){return s}),dt.d(ht,"Skew",function(){return be}),dt.d(ht,"SkewX",function(){return _e}),dt.d(ht,"SkewY",function(){return xe}),dt.d(ht,"StopElement",function(){return Ne}),dt.d(ht,"StyleElement",function(){return $e}),dt.d(ht,"SymbolElement",function(){return Xe}),dt.d(ht,"TRefElement",function(){return Ge}),dt.d(ht,"TSpanElement",function(){return w}),dt.d(ht,"TextElement",function(){return f}),dt.d(ht,"TextPathElement",function(){return We}),dt.d(ht,"TitleElement",function(){return st}),dt.d(ht,"Transform",function(){return u}),dt.d(ht,"Translate",function(){return ye}),dt.d(ht,"UnknownElement",function(){return we}),dt.d(ht,"UseElement",function(){return Ze}),dt.d(ht,"ViewPort",function(){return ue}),dt.d(ht,"compressSpaces",function(){return b}),dt.d(ht,"default",function(){return D}),dt.d(ht,"getSelectorSpecificity",function(){return Z}),dt.d(ht,"normalizeAttributeName",function(){return Y}),dt.d(ht,"normalizeColor",function(){return U}),dt.d(ht,"parseExternalUrl",function(){return G}),dt.d(ht,"presets",function(){return z}),dt.d(ht,"toNumbers",function(){return y}),dt.d(ht,"trimLeft",function(){return F}),dt.d(ht,"trimRight",function(){return V}),dt.d(ht,"vectorMagnitude",function(){return ee}),dt.d(ht,"vectorsAngle",function(){return te}),dt.d(ht,"vectorsRatio",function(){return c});dt("vrKp");var e=dt("yXPU"),o=dt.n(e),e=(dt("KKe4"),dt("x8x8"),dt("KLN8"),dt("Lltv"),dt("qJvV"),dt("lSNA")),r=dt.n(e),e=(dt("mdxj"),dt("GVkW"),dt("NCkV"),dt("xEkU")),v=dt.n(e),e=(dt("wOD2"),dt("WOGj")),R=dt.n(e),i=(dt("g9jQ"),dt("MNKV"),dt("iWRt"),dt("0B/8")),N=(dt("yD9w"),dt("Xp4B"));var z=Object.freeze({__proto__:null,offscreen:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})["DOMParser"],t={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,createCanvas(e,t){return new OffscreenCanvas(e,t)},createImage(t){return o()(function*(){var e=yield(yield fetch(t)).blob();return yield createImageBitmap(e)})()}};return"undefined"==typeof DOMParser&&void 0!==e||Reflect.deleteProperty(t,"DOMParser"),t},node:function(e){var{DOMParser:e,canvas:t,fetch:n}=e;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:n,createCanvas:t.createCanvas,createImage:t.loadImage}}});function b(e){return e.replace(/(?!\u3000)\s+/gm," ")}function F(e){return e.replace(/^[\n \t]+/,"")}function V(e){return e.replace(/[\n \t]+$/,"")}function y(e){return((e||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var H=/^[A-Z-]+$/;function Y(e){return H.test(e)?e.toLowerCase():e}function G(e){e=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(e)||[];return e[2]||e[3]||e[4]}function U(e){var n;return e.startsWith("rgb")?(n=3,e.replace(/\d+(\.\d+)?/g,(e,t)=>n--&&t?String(Math.round(parseFloat(e))):e)):e}var Q=/(\[[^\]]+\])/g,W=/(#[^\s+>~.[:]+)/g,q=/(\.[^\s+>~.[:]+)/g,K=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,X=/(:[\w-]+\([^)]*\))/gi,J=/(:[^\s+>~.[:]+)/g,$=/([^\s+>~.[:]+)/g;function a(e,t){var n=t.exec(e);return n?[e.replace(t," "),n.length]:[e,0]}function Z(e){var t=[0,0,0],e=e.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),n=0;return[e,n]=a(e,Q),t[1]+=n,[e,n]=a(e,W),t[0]+=n,[e,n]=a(e,q),t[1]+=n,[e,n]=a(e,K),t[2]+=n,[e,n]=a(e,X),t[1]+=n,[e,n]=a(e,J),t[1]+=n,e=e.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[e,n]=a(e,$),t[2]+=n,t.join("")}var h=1e-8;function ee(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))}function c(e,t){return(e[0]*t[0]+e[1]*t[1])/(ee(e)*ee(t))}function te(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(c(e,t))}function ne(e){return e*e*e}function re(e){return 3*e*e*(1-e)}function ie(e){return 3*e*(1-e)*(1-e)}function oe(e){return(1-e)*(1-e)*(1-e)}function ae(e){return e*e}function se(e){return 2*e*(1-e)}function le(e){return(1-e)*(1-e)}class _{constructor(e,t,n){this.document=e,this.name=t,this.value=n,this.isNormalizedColor=!1}static empty(e){return new _(e,"EMPTY","")}split(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:" ",{document:t,name:n}=this;return b(this.getString()).trim().split(e).map(e=>new _(t,n,e))}hasValue(e){var t=this["value"];return null!==t&&""!==t&&(e||0!==t)&&void 0!==t}isString(e){var t=this["value"],n="string"==typeof t;return n&&e?e.test(t):n}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case e.endsWith("px"):case/^[0-9]+$/.test(e):return!0;default:return!1}}setValue(e){return this.value=e,this}getValue(e){return void 0===e||this.hasValue()?this.value:e}getNumber(e){var t;return this.hasValue()?(t=this["value"],t=parseFloat(t),this.isString(/%$/)&&(t/=100),t):void 0===e?0:parseFloat(e)}getString(e){return void 0===e||this.hasValue()?void 0===this.value?"":String(this.value):String(e)}getColor(e){e=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=U(e),this.value=e),e}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[n,e]="boolean"==typeof e?[void 0,e]:[e],r=this.document.screen["viewPort"];switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(r.computeSize("x"),r.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(r.computeSize("x"),r.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*r.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*r.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&e:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*r.computeSize(n);default:var i=this.getNumber();return t&&i<1?i*r.computeSize(n):i}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var e=this.getString(),t=(t=/#([^)'"]+)/.exec(e))&&t[1];return this.document.definitions[t=t||e]}getFillStyleDefinition(e,t){var n,r=this.getDefinition();return r?"function"==typeof r.createGradient?r.createGradient(this.document.ctx,e,t):"function"==typeof r.createPattern?(r.getHrefAttribute().hasValue()&&(n=r.getAttribute("patternTransform"),r=r.getHrefAttribute().getDefinition(),n.hasValue())&&r.getAttribute("patternTransform",!0).setValue(n.value),r.createPattern(this.document.ctx,e,t)):null:null}getTextBaseline(){return this.hasValue()?_.textBaselineMapping[this.getString()]:null}addOpacity(e){for(var t,n=this.getColor(),r=n.length,i=0,o=0;o<r&&(","===n[o]&&i++,3!==i);o++);return e.hasValue()&&this.isString()&&3!==i&&(t=new R.a(n)).ok&&(t.alpha=e.getNumber(),n=t.toRGBA()),new _(this.document,this.name,n)}}_.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class ue{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(e,t){this.viewPorts.push({width:e,height:t})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var e=this["viewPorts"];return e[e.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(e){return"number"==typeof e?e:"x"===e?this.width:"y"===e?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class p{constructor(e,t){this.x=e,this.y=t}static parse(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,[e=t,t=t]=y(e);return new p(e,t)}static parseScale(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1,[e=t,t=e]=y(e);return new p(e,t)}static parsePath(e){for(var t=y(e),n=t.length,r=[],i=0;i<n;i+=2)r.push(new p(t[i],t[i+1]));return r}angleTo(e){return Math.atan2(e.y-this.y,e.x-this.x)}applyTransform(e){var{x:t,y:n}=this,r=t*e[0]+n*e[2]+e[4],t=t*e[1]+n*e[3]+e[5];this.x=r,this.y=t}}class ce{constructor(e){this.screen=e,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){var e,t,n;this.working||({screen:n,onClick:e,onMouseMove:t}=this,(n=n.ctx.canvas).onclick=e,n.onmousemove=t,this.working=!0)}stop(){var e;this.working&&(e=this.screen.ctx.canvas,this.working=!1,e.onclick=null,e.onmousemove=null)}hasEvents(){return this.working&&0<this.events.length}runEvents(){var e,i,t;this.working&&({screen:t,events:e,eventElements:i}=this,t=t.ctx.canvas["style"],t&&(t.cursor=""),e.forEach((e,t)=>{for(var n=e["run"],r=i[t];r;)n(r),r=r.parent}),this.events=[],this.eventElements=[])}checkPath(r,i){var e,o;this.working&&i&&({events:e,eventElements:o}=this,e.forEach((e,t)=>{var{x:e,y:n}=e;!o[t]&&i.isPointInPath&&i.isPointInPath(e,n)&&(o[t]=r)}))}checkBoundingBox(r,i){var e,o;this.working&&i&&({events:e,eventElements:o}=this,e.forEach((e,t)=>{var{x:e,y:n}=e;!o[t]&&i.isPointInBox(e,n)&&(o[t]=r)}))}mapXY(e,t){for(var{window:n,ctx:r}=this.screen,i=new p(e,t),o=r.canvas;o;)i.x-=o.offsetLeft,i.y-=o.offsetTop,o=o.offsetParent;return n.scrollX&&(i.x+=n.scrollX),n.scrollY&&(i.y+=n.scrollY),i}onClick(e){var{x:e,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onclick",x:e,y:t,run(e){e.onClick&&e.onClick()}})}onMouseMove(e){var{x:e,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onmousemove",x:e,y:t,run(e){e.onMouseMove&&e.onMouseMove()}})}}var fe="undefined"!=typeof window?window:null,he="undefined"!=typeof fetch?fetch.bind(void 0):null;class s{constructor(e){var{fetch:t=he,window:n=fe}=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.ctx=e,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new ue,this.mouse=new ce(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=n,this.fetch=t}wait(e){this.waits.push(e)}ready(){return this.readyPromise||Promise.resolve()}isReady(){var e;return!!this.isReadyLock||((e=this.waits.every(e=>e()))&&(this.waits=[],this.resolveReady)&&this.resolveReady(),this.isReadyLock=e)}setDefaults(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4}setViewBox(e){var{document:e,ctx:t,aspectRatio:n,width:r,desiredWidth:i,height:o,desiredHeight:a,minX:s=0,minY:l=0,refX:u,refY:c,clip:f=!1,clipX:h=0,clipY:d=0}=e,[n,p]=b(n).replace(/^defer\s/,"").split(" "),n=n||"xMidYMid",p=p||"meet",y=r/i,m=o/a,g=Math.min(y,m),v=Math.max(y,m),u=("meet"===p&&(i*=g,a*=g),"slice"===p&&(i*=v,a*=v),new _(e,"refX",u)),e=new _(e,"refY",c),c=u.hasValue()&&e.hasValue();switch(c&&t.translate(-g*u.getPixels("x"),-g*e.getPixels("y")),f&&(u=g*h,e=g*d,t.beginPath(),t.moveTo(u,e),t.lineTo(r,e),t.lineTo(r,o),t.lineTo(u,o),t.closePath(),t.clip()),c||(f="meet"===p&&g===m,h="slice"===p&&v===m,d="meet"===p&&g===y,e="slice"===p&&v===y,n.startsWith("xMid")&&(f||h)&&t.translate(r/2-i/2,0),n.endsWith("YMid")&&(d||e)&&t.translate(0,o/2-a/2),n.startsWith("xMax")&&(f||h)&&t.translate(r-i,0),n.endsWith("YMax")&&(d||e)&&t.translate(0,o-a)),!0){case"none"===n:t.scale(y,m);break;case"meet"===p:t.scale(g,g);break;case"slice"===p:t.scale(v,v)}t.translate(-s,-l)}start(e){var t,n,r,i,{enableRedraw:o=!1,ignoreMouse:a=!1,ignoreAnimation:s=!1,ignoreDimensions:l=!1,ignoreClear:u=!1,forceRedraw:c,scaleWidth:f,scaleHeight:h,offsetX:d,offsetY:p}=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:y,mouse:m}=this,g=1e3/y;this.frameDuration=g,this.readyPromise=new Promise(e=>{this.resolveReady=e}),this.isReady()&&this.render(e,l,u,f,h,d,p),o&&(t=Date.now(),n=t,r=0,i=()=>{t=Date.now(),g<=(r=t-n)&&(n=t-r%g,this.shouldUpdate(s,c))&&(this.render(e,l,u,f,h,d,p),m.runEvents()),this.intervalId=v()(i)},a||m.start(),this.intervalId=v()(i))}stop(){this.intervalId&&(v.a.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(e,t){if(!e){var n=this["frameDuration"];if(this.animations.reduce((e,t)=>t.update(n)||e,!1))return!0}return!("function"!=typeof t||!t())||!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents()}render(e,t,n,r,i,o,a){var{CLIENT_WIDTH:s,CLIENT_HEIGHT:l,viewPort:u,ctx:c,isFirstRender:f}=this,h=c.canvas,s=(u.clear(),h.width&&h.height?u.setCurrent(h.width,h.height):u.setCurrent(s,l),e.getStyle("width")),l=e.getStyle("height"),d=(!t&&(f||"number"!=typeof r&&"number"!=typeof i)&&(s.hasValue()&&(h.width=s.getPixels("x"),h.style)&&(h.style.width="".concat(h.width,"px")),l.hasValue())&&(h.height=l.getPixels("y"),h.style)&&(h.style.height="".concat(h.height,"px")),h.clientWidth||h.width),h=h.clientHeight||h.height;t&&s.hasValue()&&l.hasValue()&&(d=s.getPixels("x"),h=l.getPixels("y")),u.setCurrent(d,h),"number"==typeof o&&e.getAttribute("x",!0).setValue(o),"number"==typeof a&&e.getAttribute("y",!0).setValue(a),"number"!=typeof r&&"number"!=typeof i||(t=y(e.getAttribute("viewBox").getString()),l=s=0,"number"==typeof r&&((u=e.getStyle("width")).hasValue()?s=u.getPixels("x")/r:isNaN(t[2])||(s=t[2]/r)),"number"==typeof i&&((o=e.getStyle("height")).hasValue()?l=o.getPixels("y")/i:isNaN(t[3])||(l=t[3]/i)),s=s||l,l=l||s,e.getAttribute("width",!0).setValue(r),e.getAttribute("height",!0).setValue(i),(a=e.getStyle("transform",!0,!0)).setValue("".concat(a.getString()," scale(").concat(1/s,", ").concat(1/l,")"))),n||c.clearRect(0,0,d,h),e.render(c),f&&(this.isFirstRender=!1)}}s.defaultWindow=fe,s.defaultFetch=he;var de=s["defaultFetch"],pe="undefined"!=typeof DOMParser?DOMParser:null;class l{constructor(){var{fetch:e=de,DOMParser:t=pe}=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.fetch=e,this.DOMParser=t}parse(e){var t=this;return o()(function*(){return e.startsWith("<")?t.parseFromString(e):t.load(e)})()}parseFromString(t){var n=new this.DOMParser;try{return this.checkDocument(n.parseFromString(t,"image/svg+xml"))}catch(e){return this.checkDocument(n.parseFromString(t,"text/xml"))}}checkDocument(e){var t=e.getElementsByTagName("parsererror")[0];if(t)throw new Error(t.textContent);return e}load(t){var n=this;return o()(function*(){var e=yield(yield n.fetch(t)).text();return n.parseFromString(e)})()}}class ye{constructor(e,t){this.type="translate",this.point=null,this.point=p.parse(t)}apply(e){var{x:t,y:n}=this.point;e.translate(t||0,n||0)}unapply(e){var{x:t,y:n}=this.point;e.translate(-1*t||0,-1*n||0)}applyToPoint(e){var{x:t,y:n}=this.point;e.applyTransform([1,0,0,1,t||0,n||0])}}class me{constructor(e,t,n){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;t=y(t);this.angle=new _(e,"angle",t[0]),this.originX=n[0],this.originY=n[1],this.cx=t[1]||0,this.cy=t[2]||0}apply(e){var{cx:t,cy:n,originX:r,originY:i,angle:o}=this,t=t+r.getPixels("x"),r=n+i.getPixels("y");e.translate(t,r),e.rotate(o.getRadians()),e.translate(-t,-r)}unapply(e){var{cx:t,cy:n,originX:r,originY:i,angle:o}=this,t=t+r.getPixels("x"),r=n+i.getPixels("y");e.translate(t,r),e.rotate(-1*o.getRadians()),e.translate(-t,-r)}applyToPoint(e){var{cx:t,cy:n,angle:r}=this,r=r.getRadians();e.applyTransform([1,0,0,1,t||0,n||0]),e.applyTransform([Math.cos(r),Math.sin(r),-Math.sin(r),Math.cos(r),0,0]),e.applyTransform([1,0,0,1,-t||0,-n||0])}}class ge{constructor(e,t,n){this.type="scale",this.scale=null,this.originX=null,this.originY=null;t=p.parseScale(t);0!==t.x&&0!==t.y||(t.x=h,t.y=h),this.scale=t,this.originX=n[0],this.originY=n[1]}apply(e){var{scale:{x:t,y:n},originX:r,originY:i}=this,r=r.getPixels("x"),i=i.getPixels("y");e.translate(r,i),e.scale(t,n||t),e.translate(-r,-i)}unapply(e){var{scale:{x:t,y:n},originX:r,originY:i}=this,r=r.getPixels("x"),i=i.getPixels("y");e.translate(r,i),e.scale(1/t,1/n||t),e.translate(-r,-i)}applyToPoint(e){var{x:t,y:n}=this.scale;e.applyTransform([t||0,0,0,n||0,0,0])}}class ve{constructor(e,t,n){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=y(t),this.originX=n[0],this.originY=n[1]}apply(e){var{originX:t,originY:n,matrix:r}=this,t=t.getPixels("x"),n=n.getPixels("y");e.translate(t,n),e.transform(r[0],r[1],r[2],r[3],r[4],r[5]),e.translate(-t,-n)}unapply(e){var{originX:t,originY:n,matrix:r}=this,i=r[0],o=r[2],a=r[4],s=r[1],l=r[3],r=r[5],u=1/(i*(+l-0*r)-o*(+s-0*r)+a*(0*s-0*l)),t=t.getPixels("x"),n=n.getPixels("y");e.translate(t,n),e.transform(u*(+l-0*r),u*(0*r-+s),u*(0*a-+o),u*(+i-0*a),u*(o*r-a*l),u*(a*s-i*r)),e.translate(-t,-n)}applyToPoint(e){e.applyTransform(this.matrix)}}class be extends ve{constructor(e,t,n){super(e,t,n),this.type="skew",this.angle=null,this.angle=new _(e,"angle",t)}}class _e extends be{constructor(e,t,n){super(e,t,n),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class xe extends be{constructor(e,t,n){super(e,t,n),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}class u{constructor(e,t,n){this.document=e,this.transforms=[],b(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/).forEach(e=>{var t;"none"!==e&&([e,t]=function(e){var[e,t]=e.split("(");return[e.trim(),t.trim().replace(")","")]}(e),void 0!==(e=u.transformTypes[e]))&&this.transforms.push(new e(this.document,t,n))})}static fromElement(e,t){var n=t.getStyle("transform",!1,!0),[t,r=t]=t.getStyle("transform-origin",!1,!0).split(),t=[t,r];return n.hasValue()?new u(e,n.getString(),t):null}apply(e){for(var t=this["transforms"],n=t.length,r=0;r<n;r++)t[r].apply(e)}unapply(e){for(var t=this["transforms"],n=t.length-1;0<=n;n--)t[n].unapply(e)}applyToPoint(e){for(var t=this["transforms"],n=t.length,r=0;r<n;r++)t[r].applyToPoint(e)}}u.transformTypes={translate:ye,rotate:me,scale:ge,matrix:ve,skewX:_e,skewY:xe};class t{constructor(n,e){var t,r,i=2<arguments.length&&void 0!==arguments[2]&&arguments[2];this.document=n,this.node=e,this.captureTextNodes=i,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],e&&1===e.nodeType&&(t=(Array.from(e.attributes).forEach(e=>{var t=Y(e.nodeName);this.attributes[t]=new _(n,t,e.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()&&this.getAttribute("style").getString().split(";").map(e=>e.trim()).forEach(e=>{var t;e&&([e,t]=e.split(":").map(e=>e.trim()),this.styles[e]=new _(n,e,t))}),n)["definitions"],(r=this.getAttribute("id")).hasValue()&&!t[r.getString()]&&(t[r.getString()]=this),Array.from(e.childNodes).forEach(e=>{1===e.nodeType?this.addChild(e):!i||3!==e.nodeType&&4!==e.nodeType||0<(e=n.createTextNode(e)).getText().length&&this.addChild(e)}))}getAttribute(e){var t,n=this.attributes[e];return!n&&(1<arguments.length&&void 0!==arguments[1]&&arguments[1])?(t=new _(this.document,e,""),this.attributes[e]=t):n||_.empty(this.document)}getHrefAttribute(){for(var e in this.attributes)if("href"===e||e.endsWith(":href"))return this.attributes[e];return _.empty(this.document)}getStyle(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=this.styles[e];if(r)return r;var i=this.getAttribute(e);if(null!=i&&i.hasValue())return this.styles[e]=i;if(!n){var i=this["parent"];if(i){n=i.getStyle(e);if(null!=n&&n.hasValue())return n}}return t?(i=new _(this.document,e,""),this.styles[e]=i):r||_.empty(this.document)}render(e){var t;"none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()&&(e.save(),this.getStyle("mask").hasValue()?(t=this.getStyle("mask").getDefinition())&&(this.applyEffects(e),t.apply(e,this)):"none"!==this.getStyle("filter").getValue("none")?(t=this.getStyle("filter").getDefinition())&&(this.applyEffects(e),t.apply(e,this)):(this.setContext(e),this.renderChildren(e),this.clearContext(e)),e.restore())}setContext(e){}applyEffects(e){var t=u.fromElement(this.document,this),t=(t&&t.apply(e),this.getStyle("clip-path",!1,!0));t.hasValue()&&(t=t.getDefinition())&&t.apply(e)}clearContext(e){}renderChildren(t){this.children.forEach(e=>{e.render(t)})}addChild(e){e=e instanceof t?e:this.document.createElement(e);e.parent=this,t.ignoreChildTypes.includes(e.type)||this.children.push(e)}matchesSelector(t){var e,n=this["node"];return"function"==typeof n.matches?n.matches(t):!(!(e=null==(e=n.getAttribute)?void 0:e.call(n,"class"))||""===e)&&e.split(" ").some(e=>".".concat(e)===t)}addStylesFromStyleDefinition(){var e,{styles:t,stylesSpecificity:n}=this.document;for(e in t)if(!e.startsWith("@")&&this.matchesSelector(e)){var r=t[e],i=n[e];if(r)for(var o in r){var a=this.stylesSpecificity[o];(a=void 0===a?"000":a)<=i&&(this.styles[o]=r[o],this.stylesSpecificity[o]=i)}}}removeStyles(i,e){return e.reduce((e,t)=>{var n,r=i.getStyle(t);return r.hasValue()?(n=r.getString(),r.setValue(""),[...e,[t,n]]):e},[])}restoreStyles(n,e){e.forEach(e=>{var[e,t]=e;n.getStyle(e,!0).setValue(t)})}isFirstChild(){var e;return 0===(null==(e=this.parent)?void 0:e.children.indexOf(this))}}t.ignoreChildTypes=["title"];class we extends t{constructor(e,t,n){super(e,t,n)}}function Ae(e){e=e.trim();return/^('|")/.test(e)?e:'"'.concat(e,'"')}class m{constructor(e,t,n,r,i,o){o=o?"string"==typeof o?m.parse(o):o:{};this.fontFamily=i||o.fontFamily,this.fontSize=r||o.fontSize,this.fontStyle=e||o.fontStyle,this.fontWeight=n||o.fontWeight,this.fontVariant=t||o.fontVariant}static parse(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length?arguments[1]:void 0,n="",r="",i="",o="",a="",e=b(e).trim().split(" "),s={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return e.forEach(e=>{switch(!0){case!s.fontStyle&&m.styles.includes(e):"inherit"!==e&&(n=e),s.fontStyle=!0;break;case!s.fontVariant&&m.variants.includes(e):"inherit"!==e&&(r=e),s.fontStyle=!0,s.fontVariant=!0;break;case!s.fontWeight&&m.weights.includes(e):"inherit"!==e&&(i=e),s.fontStyle=!0,s.fontVariant=!0,s.fontWeight=!0;break;case!s.fontSize:"inherit"!==e&&([o]=e.split("/")),s.fontStyle=!0,s.fontVariant=!0,s.fontWeight=!0,s.fontSize=!0;break;default:"inherit"!==e&&(a+=e)}}),new m(n,r,i,o,a,t)}toString(){return[function(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return t;default:return/^oblique\s+(-|)\d+deg$/.test(t)?t:""}}(this.fontStyle),this.fontVariant,function(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return t;default:return/^[\d.]+$/.test(t)?t:""}}(this.fontWeight),this.fontSize,(e=this.fontFamily,void 0===B?e:e.trim().split(",").map(Ae).join(","))].join(" ").trim();var e}}m.styles="normal|italic|oblique|inherit",m.variants="normal|small-caps|inherit",m.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class d{constructor(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Number.NaN,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Number.NaN,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:Number.NaN,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=e,this.y1=t,this.x2=n,this.y2=r,this.addPoint(e,t),this.addPoint(n,r)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(e,t){void 0!==e&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2)&&(this.x2=e),void 0!==t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),t<this.y1&&(this.y1=t),t>this.y2)&&(this.y2=t)}addX(e){this.addPoint(e,null)}addY(e){this.addPoint(null,e)}addBoundingBox(e){var t,n,r;e&&({x1:e,y1:t,x2:n,y2:r}=e,this.addPoint(e,t),this.addPoint(n,r))}sumCubic(e,t,n,r,i){return Math.pow(1-e,3)*t+3*Math.pow(1-e,2)*e*n+3*(1-e)*Math.pow(e,2)*r+Math.pow(e,3)*i}bezierCurveAdd(e,t,n,r,i){var o=6*t-12*n+6*r,a=-3*t+9*n-9*r+3*i,s=3*n-3*t;if(0==a)return 0==o?void 0:void(0<(l=-s/o)&&l<1&&(e?this.addX(this.sumCubic(l,t,n,r,i)):this.addY(this.sumCubic(l,t,n,r,i))));var l=Math.pow(o,2)-4*s*a;l<0||(0<(s=(-o+Math.sqrt(l))/(2*a))&&s<1&&(e?this.addX(this.sumCubic(s,t,n,r,i)):this.addY(this.sumCubic(s,t,n,r,i))),0<(s=(-o-Math.sqrt(l))/(2*a))&&s<1&&(e?this.addX(this.sumCubic(s,t,n,r,i)):this.addY(this.sumCubic(s,t,n,r,i))))}addBezierCurve(e,t,n,r,i,o,a,s){this.addPoint(e,t),this.addPoint(a,s),this.bezierCurveAdd(!0,e,n,i,a),this.bezierCurveAdd(!1,t,r,o,s)}addQuadraticCurve(e,t,n,r,i,o){n=e+2/3*(n-e),r=t+2/3*(r-t);this.addBezierCurve(e,t,n,n+1/3*(i-e),r,r+1/3*(o-t),i,o)}isPointInBox(e,t){var{x1:n,y1:r,x2:i,y2:o}=this;return n<=e&&e<=i&&r<=t&&t<=o}}class g extends i.a{constructor(e){super(e.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new p(0,0),this.control=new p(0,0),this.current=new p(0,0),this.points=[],this.angles=[]}isEnd(){var{i:e,commands:t}=this;return e>=t.length-1}next(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e}getPoint(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"x",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"y",e=new p(this.command[e],this.command[t]);return this.makeAbsolute(e)}getAsControlPoint(e,t){e=this.getPoint(e,t);return this.control=e}getAsCurrentPoint(e,t){e=this.getPoint(e,t);return this.current=e}getReflectedControlPoint(){var e,t,n,r=this.previousCommand.type;return r!==i.a.CURVE_TO&&r!==i.a.SMOOTH_CURVE_TO&&r!==i.a.QUAD_TO&&r!==i.a.SMOOTH_QUAD_TO?this.current:({current:{x:r,y:e},control:{x:t,y:n}}=this,new p(2*r-t,2*e-n))}makeAbsolute(e){var t,n;return this.command.relative&&({x:t,y:n}=this.current,e.x+=t,e.y+=n),e}addMarker(e,t,n){var{points:r,angles:i}=this;n&&0<i.length&&!i[i.length-1]&&(i[i.length-1]=r[r.length-1].angleTo(n)),this.addMarkerAngle(e,t?t.angleTo(e):null)}addMarkerAngle(e,t){this.points.push(e),this.angles.push(t)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var e=this["angles"],t=e.length,n=0;n<t;n++)if(!e[n])for(var r=n+1;r<t;r++)if(e[r]){e[n]=e[r];break}return e}}class n extends t{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var e=1,t=this;t;){var n=t.getStyle("opacity",!1,!0);n.hasValue(!0)&&(e*=n.getNumber()),t=t.parent}return e}setContext(e){var t,n,r,i,o,a,s=1<arguments.length&&void 0!==arguments[1]&&arguments[1];s||(a=this.getStyle("fill"),n=this.getStyle("fill-opacity"),r=this.getStyle("stroke"),i=this.getStyle("stroke-opacity"),a.isUrlDefinition()?(t=a.getFillStyleDefinition(this,n))&&(e.fillStyle=t):a.hasValue()&&("currentColor"===a.getString()&&a.setValue(this.getStyle("color").getColor()),"inherit"!==(t=a.getColor()))&&(e.fillStyle="none"===t?"rgba(0,0,0,0)":t),n.hasValue()&&(a=new _(this.document,"fill",e.fillStyle).addOpacity(n).getColor(),e.fillStyle=a),r.isUrlDefinition()?(t=r.getFillStyleDefinition(this,i))&&(e.strokeStyle=t):r.hasValue()&&("currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor()),"inherit"!==(n=r.getString()))&&(e.strokeStyle="none"===n?"rgba(0,0,0,0)":n),i.hasValue()&&(a=new _(this.document,"stroke",e.strokeStyle).addOpacity(i).getString(),e.strokeStyle=a),(t=this.getStyle("stroke-width")).hasValue()&&(r=t.getPixels(),e.lineWidth=r||h),n=this.getStyle("stroke-linecap"),i=this.getStyle("stroke-linejoin"),a=this.getStyle("stroke-miterlimit"),t=this.getStyle("stroke-dasharray"),r=this.getStyle("stroke-dashoffset"),n.hasValue()&&(e.lineCap=n.getString()),i.hasValue()&&(e.lineJoin=i.getString()),a.hasValue()&&(e.miterLimit=a.getNumber()),t.hasValue()&&"none"!==t.getString()&&(n=y(t.getString()),void 0!==e.setLineDash?e.setLineDash(n):void 0!==e.webkitLineDash?e.webkitLineDash=n:void 0===e.mozDash||1===n.length&&0===n[0]||(e.mozDash=n),i=r.getPixels(),void 0!==e.lineDashOffset?e.lineDashOffset=i:void 0!==e.webkitLineDashOffset?e.webkitLineDashOffset=i:void 0!==e.mozDashOffset&&(e.mozDashOffset=i))),this.modifiedEmSizeStack=!1,void 0!==e.font&&(a=this.getStyle("font"),t=this.getStyle("font-style"),n=this.getStyle("font-variant"),r=this.getStyle("font-weight"),i=this.getStyle("font-size"),o=this.getStyle("font-family"),a=new m(t.getString(),n.getString(),r.getString(),i.hasValue()?"".concat(i.getPixels(!0),"px"):"",o.getString(),m.parse(a.getString(),e.font)),t.setValue(a.fontStyle),n.setValue(a.fontVariant),r.setValue(a.fontWeight),i.setValue(a.fontSize),o.setValue(a.fontFamily),e.font=a.toString(),i.isPixels())&&(this.document.emSize=i.getPixels(),this.modifiedEmSizeStack=!0),s||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}clearContext(e){super.clearContext(e),this.modifiedEmSizeStack&&this.document.popEmSize()}}class x extends n{constructor(e,t,n){super(e,t,n),this.type="path",this.pathParser=null,this.pathParser=new g(this.getAttribute("d").getString())}path(e){var t=this["pathParser"],n=new d;for(t.reset(),e&&e.beginPath();!t.isEnd();)switch(t.next().type){case g.MOVE_TO:this.pathM(e,n);break;case g.LINE_TO:this.pathL(e,n);break;case g.HORIZ_LINE_TO:this.pathH(e,n);break;case g.VERT_LINE_TO:this.pathV(e,n);break;case g.CURVE_TO:this.pathC(e,n);break;case g.SMOOTH_CURVE_TO:this.pathS(e,n);break;case g.QUAD_TO:this.pathQ(e,n);break;case g.SMOOTH_QUAD_TO:this.pathT(e,n);break;case g.ARC:this.pathA(e,n);break;case g.CLOSE_PATH:this.pathZ(e,n)}return n}getBoundingBox(e){return this.path()}getMarkers(){var e=this["pathParser"],t=e.getMarkerPoints(),n=e.getMarkerAngles();return t.map((e,t)=>[e,n[t]])}renderChildren(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var t=this.getStyle("fill-rule"),n=(""!==e.fillStyle&&("inherit"!==t.getString("inherit")?e.fill(t.getString()):e.fill()),""!==e.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke()),this.getMarkers());if(n){var r,i,o=n.length-1,t=this.getStyle("marker-start"),a=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(t.isUrlDefinition()&&(t=t.getDefinition(),[r,i]=n[0],t.render(e,r,i)),a.isUrlDefinition())for(var l=a.getDefinition(),u=1;u<o;u++){var[c,f]=n[u];l.render(e,c,f)}s.isUrlDefinition()&&(t=s.getDefinition(),[r,i]=n[o],t.render(e,r,i))}}static pathM(e){var t=e.getAsCurrentPoint();return e.start=e.current,{point:t}}pathM(e,t){var n=this["pathParser"],r=x.pathM(n)["point"],{x:i,y:o}=r;n.addMarker(r),t.addPoint(i,o),e&&e.moveTo(i,o)}static pathL(e){var t=e["current"];return{current:t,point:e.getAsCurrentPoint()}}pathL(e,t){var n=this["pathParser"],{current:r,point:i}=x.pathL(n),{x:o,y:a}=i;n.addMarker(i,r),t.addPoint(o,a),e&&e.lineTo(o,a)}static pathH(e){var{current:t,command:n}=e,n=new p((n.relative?t.x:0)+n.x,t.y);return{current:t,point:e.current=n}}pathH(e,t){var n=this["pathParser"],{current:r,point:i}=x.pathH(n),{x:o,y:a}=i;n.addMarker(i,r),t.addPoint(o,a),e&&e.lineTo(o,a)}static pathV(e){var{current:t,command:n}=e,n=new p(t.x,(n.relative?t.y:0)+n.y);return{current:t,point:e.current=n}}pathV(e,t){var n=this["pathParser"],{current:r,point:i}=x.pathV(n),{x:o,y:a}=i;n.addMarker(i,r),t.addPoint(o,a),e&&e.lineTo(o,a)}static pathC(e){var t=e["current"];return{current:t,point:e.getPoint("x1","y1"),controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}pathC(e,t){var n=this["pathParser"],{current:r,point:i,controlPoint:o,currentPoint:a}=x.pathC(n);n.addMarker(a,o,i),t.addBezierCurve(r.x,r.y,i.x,i.y,o.x,o.y,a.x,a.y),e&&e.bezierCurveTo(i.x,i.y,o.x,o.y,a.x,a.y)}static pathS(e){var t=e["current"];return{current:t,point:e.getReflectedControlPoint(),controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}pathS(e,t){var n=this["pathParser"],{current:r,point:i,controlPoint:o,currentPoint:a}=x.pathS(n);n.addMarker(a,o,i),t.addBezierCurve(r.x,r.y,i.x,i.y,o.x,o.y,a.x,a.y),e&&e.bezierCurveTo(i.x,i.y,o.x,o.y,a.x,a.y)}static pathQ(e){var t=e["current"];return{current:t,controlPoint:e.getAsControlPoint("x1","y1"),currentPoint:e.getAsCurrentPoint()}}pathQ(e,t){var n=this["pathParser"],{current:r,controlPoint:i,currentPoint:o}=x.pathQ(n);n.addMarker(o,i,i),t.addQuadraticCurve(r.x,r.y,i.x,i.y,o.x,o.y),e&&e.quadraticCurveTo(i.x,i.y,o.x,o.y)}static pathT(e){var t=e.current,n=e.getReflectedControlPoint();return{current:t,controlPoint:e.control=n,currentPoint:e.getAsCurrentPoint()}}pathT(e,t){var n=this["pathParser"],{current:r,controlPoint:i,currentPoint:o}=x.pathT(n);n.addMarker(o,i,i),t.addQuadraticCurve(r.x,r.y,i.x,i.y,o.x,o.y),e&&e.quadraticCurveTo(i.x,i.y,o.x,o.y)}static pathA(e){var{current:t,command:n}=e,{rX:n,rY:r,xRot:i,lArcFlag:o,sweepFlag:a}=n,i=i*(Math.PI/180),e=e.getAsCurrentPoint(),s=new p(Math.cos(i)*(t.x-e.x)/2+Math.sin(i)*(t.y-e.y)/2,-Math.sin(i)*(t.x-e.x)/2+Math.cos(i)*(t.y-e.y)/2),l=Math.pow(s.x,2)/Math.pow(n,2)+Math.pow(s.y,2)/Math.pow(r,2),l=(1<l&&(n*=Math.sqrt(l),r*=Math.sqrt(l)),(o===a?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(r,2)-Math.pow(n,2)*Math.pow(s.y,2)-Math.pow(r,2)*Math.pow(s.x,2))/(Math.pow(n,2)*Math.pow(s.y,2)+Math.pow(r,2)*Math.pow(s.x,2)))),o=(isNaN(l)&&(l=0),new p(l*n*s.y/r,l*-r*s.x/n)),l=new p((t.x+e.x)/2+Math.cos(i)*o.x-Math.sin(i)*o.y,(t.y+e.y)/2+Math.sin(i)*o.x+Math.cos(i)*o.y),t=te([1,0],[(s.x-o.x)/n,(s.y-o.y)/r]),u=[(s.x-o.x)/n,(s.y-o.y)/r],s=[(-s.x-o.x)/n,(-s.y-o.y)/r],o=te(u,s);return c(u,s)<=-1&&(o=Math.PI),{currentPoint:e,rX:n,rY:r,sweepFlag:a,xAxisRotation:i,centp:l,a1:t,ad:o=1<=c(u,s)?0:o}}pathA(e,t){var n=this["pathParser"],{currentPoint:r,rX:i,rY:o,sweepFlag:a,xAxisRotation:s,centp:l,a1:u,ad:c}=x.pathA(n),f=1-a?1:-1,h=u+c/2*f,d=new p(l.x+i*Math.cos(h),l.y+o*Math.sin(h));n.addMarkerAngle(d,h-f*Math.PI/2),n.addMarkerAngle(r,h-f*Math.PI),t.addPoint(r.x,r.y),!e||isNaN(u)||isNaN(c)||(d=o<i?i:o,n=o<i?1:i/o,h=o<i?o/i:1,e.translate(l.x,l.y),e.rotate(s),e.scale(n,h),e.arc(0,0,d,u,u+c,Boolean(1-a)),e.scale(1/n,1/h),e.rotate(-s),e.translate(-l.x,-l.y))}static pathZ(e){e.current=e.start}pathZ(e,t){x.pathZ(this.pathParser),e&&t.x1!==t.x2&&t.y1!==t.y2&&e.closePath()}}class Se extends x{constructor(e,t,n){super(e,t,n),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class f extends n{constructor(e,t,n){super(e,t,new.target===f||n),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(e){super.setContext(e,1<arguments.length&&void 0!==arguments[1]&&arguments[1]);var t=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();t&&(e.textBaseline=t)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(n){if("text"!==this.type)return this.getTElementBoundingBox(n);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(n);var r=null;return this.children.forEach((e,t)=>{t=this.getChildBoundingBox(n,this,this,t);r?r.addBoundingBox(t):r=t}),r}getFontSize(){var{document:e,parent:t}=this,e=m.parse(e.ctx.font).fontSize;return t.getStyle("font-size").getNumber(e)}getTElementBoundingBox(e){var t=this.getFontSize();return new d(this.x,this.y-t,this.x+this.measureText(e),this.y)}getGlyph(e,t,n){var r,i,o=t[n],a=null;return e.isArabic?(r=t.length,i=t[n-1],t=t[n+1],i=0<n&&" "!==i&&(n===r-1||" "===t)?"initial":0<n&&" "!==i&&n<r-1&&" "!==t?"medial":(0===n||" "===i)&&n<r-1&&" "!==t?"terminal":"isolated",void 0!==e.glyphs[o]&&(a=(n=e.glyphs[o])instanceof Se?n:n[i])):a=e.glyphs[o],a=a||e.missingGlyph}getText(){return""}getTextFromNode(e){var e=e||this.node,t=Array.from(e.parentNode.childNodes),n=t.indexOf(e),t=t.length-1,e=b(e.textContent||"");return 0===n&&(e=F(e)),e=n===t?V(e):e}renderChildren(n){var e;"text"!==this.type?this.renderTElementChildren(n):(this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(n),this.children.forEach((e,t)=>{this.renderChild(n,this,this,t)}),e=this.document.screen.mouse,e.isWorking()&&e.checkBoundingBox(this,this.getBoundingBox(n)))}renderTElementChildren(e){var{document:t,parent:n}=this,r=this.getText(),i=n.getStyle("font-family").getDefinition();if(i)for(var o=i.fontFace["unitsPerEm"],t=m.parse(t.ctx.font),a=n.getStyle("font-size").getNumber(t.fontSize),s=n.getStyle("font-style").getString(t.fontStyle),l=a/o,u=i.isRTL?r.split("").reverse().join(""):r,c=y(n.getAttribute("dx").getString()),f=u.length,h=0;h<f;h++){var d=this.getGlyph(i,u,h),p=(e.translate(this.x,this.y),e.scale(l,-l),e.lineWidth);e.lineWidth=e.lineWidth*o/a,"italic"===s&&e.transform(1,0,.4,1,0,0),d.render(e),"italic"===s&&e.transform(1,0,-.4,1,0,0),e.lineWidth=p,e.scale(1/l,-1/l),e.translate(-this.x,-this.y),this.x+=a*(d.horizAdvX||i.horizAdvX)/o,void 0===c[h]||isNaN(c[h])||(this.x+=c[h])}else{var{x:t,y:n}=this;e.fillStyle&&e.fillText(r,t,n),e.strokeStyle&&e.strokeText(r,t,n)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){for(var e=this.leafTexts[this.textChunkStart],t=e.getStyle("text-anchor").getString("start"),n=0,n="start"===t?e.x-this.minX:"end"===t?e.x-this.maxX:e.x-(this.minX+this.maxX)/2,r=this.textChunkStart;r<this.leafTexts.length;r++)this.leafTexts[r].x+=n;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(n){this.children.forEach((e,t)=>{this.adjustChildCoordinatesRecursiveCore(n,this,this,t)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(n,r,e,t){var i=e.children[t];0<i.children.length?i.children.forEach((e,t)=>{r.adjustChildCoordinatesRecursiveCore(n,r,i,t)}):this.adjustChildCoordinates(n,r,e,t)}adjustChildCoordinates(e,t,n,r){var i,o,a,s,l,n=n.children[r];return"function"==typeof n.measureText&&(e.save(),n.setContext(e,!0),i=n.getAttribute("x"),o=n.getAttribute("y"),a=n.getAttribute("dx"),s=n.getAttribute("dy"),l=n.getStyle("font-family").getDefinition(),l=Boolean(l)&&l.isRTL,0===r&&(i.hasValue()||i.setValue(n.getInheritedAttribute("x")),o.hasValue()||o.setValue(n.getInheritedAttribute("y")),a.hasValue()||a.setValue(n.getInheritedAttribute("dx")),s.hasValue()||s.setValue(n.getInheritedAttribute("dy"))),r=n.measureText(e),l&&(t.x-=r),i.hasValue()?(t.applyAnchoring(),n.x=i.getPixels("x"),a.hasValue()&&(n.x+=a.getPixels("x"))):(a.hasValue()&&(t.x+=a.getPixels("x")),n.x=t.x),t.x=n.x,l||(t.x+=r),o.hasValue()?(n.y=o.getPixels("y"),s.hasValue()&&(n.y+=s.getPixels("y"))):(s.hasValue()&&(t.y+=s.getPixels("y")),n.y=t.y),t.y=n.y,t.leafTexts.push(n),t.minX=Math.min(t.minX,n.x,n.x+r),t.maxX=Math.max(t.maxX,n.x,n.x+r),n.clearContext(e),e.restore()),n}getChildBoundingBox(n,r,e,t){var i,o=e.children[t];return"function"==typeof o.getBoundingBox&&(i=o.getBoundingBox(n))?(o.children.forEach((e,t)=>{t=r.getChildBoundingBox(n,r,o,t);i.addBoundingBox(t)}),i):null}renderChild(n,r,e,t){var i=e.children[t];i.render(n),i.children.forEach((e,t)=>{r.renderChild(n,r,i,t)})}measureText(e){var t=this["measureCache"];return~t?t:(t=this.getText(),e=this.measureTargetText(e,t),this.measureCache=e)}measureTargetText(e,t){if(!t.length)return 0;var n=this["parent"],r=n.getStyle("font-family").getDefinition();if(r){for(var i=this.getFontSize(),o=r.isRTL?t.split("").reverse().join(""):t,a=y(n.getAttribute("dx").getString()),s=o.length,l=0,u=0;u<s;u++)l+=(this.getGlyph(r,o,u).horizAdvX||r.horizAdvX)*i/r.fontFace.unitsPerEm,void 0===a[u]||isNaN(a[u])||(l+=a[u]);return l}if(!e.measureText)return 10*t.length;e.save(),this.setContext(e,!0);n=e.measureText(t).width;return this.clearContext(e),e.restore(),n}getInheritedAttribute(e){for(var t=this;t instanceof f&&t.isFirstChild();){var n=t.parent.getAttribute(e);if(n.hasValue(!0))return n.getValue("0");t=t.parent}return null}}class w extends f{constructor(e,t,n){super(e,t,new.target===w||n),this.type="tspan",this.text=0<this.children.length?"":this.getTextFromNode()}getText(){return this.text}}class Ce extends w{constructor(){super(...arguments),this.type="textNode"}}class A extends n{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(e){var t,n=this["document"],{screen:r,window:i}=n,o=e.canvas,{width:o,height:i}=(r.setDefaults(e),o.style&&void 0!==e.font&&i&&void 0!==i.getComputedStyle&&(e.font=i.getComputedStyle(o).getPropertyValue("font"),(i=new _(n,"fontSize",m.parse(e.font).fontSize)).hasValue())&&(n.rootEmSize=i.getPixels("y"),n.emSize=n.rootEmSize),this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0),r.viewPort),a=(this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black"),this.getAttribute("refX")),s=this.getAttribute("refY"),l=this.getAttribute("viewBox"),l=l.hasValue()?y(l.getString()):null,u=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),c=0,f=0,h=0,d=0;l&&(c=l[0],f=l[1]),this.root||(o=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y"),"marker"===this.type&&(h=c,d=f,f=c=0)),r.viewPort.setCurrent(o,i),!this.node||this.parent&&"foreignObject"!==(null==(t=this.node.parentNode)?void 0:t.nodeName)||!this.getStyle("transform",!1,!0).hasValue()||this.getStyle("transform-origin",!1,!0).hasValue()||this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),l&&(o=l[2],i=l[3]),n.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:r.viewPort.width,desiredWidth:o,height:r.viewPort.height,desiredHeight:i,minX:c,minY:f,refX:a.getValue(),refY:s.getValue(),clip:u,clipX:h,clipY:d}),l&&(r.viewPort.removeCurrent(),r.viewPort.setCurrent(o,i))}clearContext(e){super.clearContext(e),this.document.screen.viewPort.removeCurrent()}resize(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:e,n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=this.getAttribute("width",!0),i=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),a=this.getAttribute("style"),s=r.getNumber(0),l=i.getNumber(0);n&&("string"==typeof n?this.getAttribute("preserveAspectRatio",!0).setValue(n):(n=this.getAttribute("preserveAspectRatio")).hasValue()&&n.setValue(n.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))),r.setValue(e),i.setValue(t),o.hasValue()||o.setValue("0 0 ".concat(s||e," ").concat(l||t)),a.hasValue()&&(n=this.getStyle("width"),r=this.getStyle("height"),n.hasValue()&&n.setValue("".concat(e,"px")),r.hasValue())&&r.setValue("".concat(t,"px"))}}class Oe extends x{constructor(){super(...arguments),this.type="rect"}path(e){var t=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),r=this.getStyle("width",!1,!0).getPixels("x"),i=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),a=this.getAttribute("ry"),s=o.getPixels("x"),l=a.getPixels("y");return o.hasValue()&&!a.hasValue()&&(l=s),a.hasValue()&&!o.hasValue()&&(s=l),s=Math.min(s,r/2),l=Math.min(l,i/2),e&&(a=(Math.sqrt(2)-1)/3*4,e.beginPath(),0<i)&&0<r&&(e.moveTo(t+s,n),e.lineTo(t+r-s,n),e.bezierCurveTo(t+r-s+a*s,n,t+r,n+l-a*l,t+r,n+l),e.lineTo(t+r,n+i-l),e.bezierCurveTo(t+r,n+i-l+a*l,t+r-s+a*s,n+i,t+r-s,n+i),e.lineTo(t+s,n+i),e.bezierCurveTo(t+s-a*s,n+i,t,n+i-l+a*l,t,n+i-l),e.lineTo(t,n+l),e.bezierCurveTo(t,n+l-a*l,t+s-a*s,n,t+s,n),e.closePath()),new d(t,n,t+r,n+i)}getMarkers(){return null}}class Ee extends x{constructor(){super(...arguments),this.type="circle"}path(e){var t=this.getAttribute("cx").getPixels("x"),n=this.getAttribute("cy").getPixels("y"),r=this.getAttribute("r").getPixels();return e&&0<r&&(e.beginPath(),e.arc(t,n,r,0,2*Math.PI,!1),e.closePath()),new d(t-r,n-r,t+r,n+r)}getMarkers(){return null}}class Me extends x{constructor(){super(...arguments),this.type="ellipse"}path(e){var t=(Math.sqrt(2)-1)/3*4,n=this.getAttribute("rx").getPixels("x"),r=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return e&&0<n&&0<r&&(e.beginPath(),e.moveTo(i+n,o),e.bezierCurveTo(i+n,o+t*r,i+t*n,o+r,i,o+r),e.bezierCurveTo(i-t*n,o+r,i-n,o+t*r,i-n,o),e.bezierCurveTo(i-n,o-t*r,i-t*n,o-r,i,o-r),e.bezierCurveTo(i+t*n,o-r,i+n,o-t*r,i+n,o),e.closePath()),new d(i-n,o-r,i+n,o+r)}getMarkers(){return null}}class Pe extends x{constructor(){super(...arguments),this.type="line"}getPoints(){return[new p(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new p(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(e){var[{x:t,y:n},{x:r,y:i}]=this.getPoints();return e&&(e.beginPath(),e.moveTo(t,n),e.lineTo(r,i)),new d(t,n,r,i)}getMarkers(){var[e,t]=this.getPoints(),n=e.angleTo(t);return[[e,n],[t,n]]}}class ke extends x{constructor(e,t,n){super(e,t,n),this.type="polyline",this.points=[],this.points=p.parsePath(this.getAttribute("points").getString())}path(n){var e=this["points"],[{x:t,y:r}]=e,i=new d(t,r);return n&&(n.beginPath(),n.moveTo(t,r)),e.forEach(e=>{var{x:e,y:t}=e;i.addPoint(e,t),n&&n.lineTo(e,t)}),i}getMarkers(){var n=this["points"],r=n.length-1,i=[];return n.forEach((e,t)=>{t!==r&&i.push([e,e.angleTo(n[t+1])])}),0<i.length&&i.push([n[n.length-1],i[i.length-1][1]]),i}}class Te extends ke{constructor(){super(...arguments),this.type="polygon"}path(e){var t=super.path(e),[{x:n,y:r}]=this.points;return e&&(e.lineTo(n,r),e.closePath()),t}}class Ie extends t{constructor(){super(...arguments),this.type="pattern"}createPattern(e,t,n){var r=this.getStyle("width").getPixels("x",!0),i=this.getStyle("height").getPixels("y",!0),o=new A(this.document,null),a=(o.attributes.viewBox=new _(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new _(this.document,"width","".concat(r,"px")),o.attributes.height=new _(this.document,"height","".concat(i,"px")),o.attributes.transform=new _(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children,this.document.createCanvas(r,i)),s=a.getContext("2d"),r=this.getAttribute("x"),i=this.getAttribute("y");r.hasValue()&&i.hasValue()&&s.translate(r.getPixels("x",!0),i.getPixels("y",!0)),n.hasValue()?this.styles["fill-opacity"]=n:Reflect.deleteProperty(this.styles,"fill-opacity");for(var l=-1;l<=1;l++)for(var u=-1;u<=1;u++)s.save(),o.attributes.x=new _(this.document,"x",l*a.width),o.attributes.y=new _(this.document,"y",u*a.height),o.render(s),s.restore();return e.createPattern(a,"repeat")}}class Le extends t{constructor(){super(...arguments),this.type="marker"}render(e,t,n){var r,i,o,a;t&&({x:t,y:r}=t,i=this.getAttribute("orient").getString("auto"),o=this.getAttribute("markerUnits").getString("strokeWidth"),e.translate(t,r),"auto"===i&&e.rotate(n),"strokeWidth"===o&&e.scale(e.lineWidth,e.lineWidth),e.save(),(a=new A(this.document,null)).type=this.type,a.attributes.viewBox=new _(this.document,"viewBox",this.getAttribute("viewBox").getValue()),a.attributes.refX=new _(this.document,"refX",this.getAttribute("refX").getValue()),a.attributes.refY=new _(this.document,"refY",this.getAttribute("refY").getValue()),a.attributes.width=new _(this.document,"width",this.getAttribute("markerWidth").getValue()),a.attributes.height=new _(this.document,"height",this.getAttribute("markerHeight").getValue()),a.attributes.overflow=new _(this.document,"overflow",this.getAttribute("overflow").getValue()),a.attributes.fill=new _(this.document,"fill",this.getAttribute("fill").getColor("black")),a.attributes.stroke=new _(this.document,"stroke",this.getAttribute("stroke").getValue("none")),a.children=this.children,a.render(e),e.restore(),"strokeWidth"===o&&e.scale(1/e.lineWidth,1/e.lineWidth),"auto"===i&&e.rotate(-n),e.translate(-t,-r))}}class je extends t{constructor(){super(...arguments),this.type="defs"}render(){}}class S extends n{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var n=new d;return this.children.forEach(e=>{n.addBoundingBox(e.getBoundingBox(t))}),n}}class De extends t{constructor(e,t,n){super(e,t,n),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:r,children:e}=this;e.forEach(e=>{"stop"===e.type&&r.push(e)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(e,t,n){var r,i,o=this,o=(this.getHrefAttribute().hasValue()&&(o=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(o)),o)["stops"],a=this.getGradient(e,t);return a?(o.forEach(e=>{a.addColorStop(e.offset,this.addParentOpacity(n,e.color))}),this.getAttribute("gradientTransform").hasValue()?(e=this["document"],{MAX_VIRTUAL_PIXELS:t,viewPort:r}=e.screen,[r]=r.viewPorts,(i=new Oe(e,null)).attributes.x=new _(e,"x",-t/3),i.attributes.y=new _(e,"y",-t/3),i.attributes.width=new _(e,"width",t),i.attributes.height=new _(e,"height",t),(t=new S(e,null)).attributes.transform=new _(e,"transform",this.getAttribute("gradientTransform").getValue()),t.children=[i],(i=new A(e,null)).attributes.x=new _(e,"x",0),i.attributes.y=new _(e,"y",0),i.attributes.width=new _(e,"width",r.width),i.attributes.height=new _(e,"height",r.height),i.children=[t],(e=(t=e.createCanvas(r.width,r.height)).getContext("2d")).fillStyle=a,i.render(e),e.createPattern(t,"no-repeat")):a):this.addParentOpacity(n,o[o.length-1].color)}inheritStopContainer(t){this.attributesToInherit.forEach(e=>{!this.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&this.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())})}addParentOpacity(e,t){return e.hasValue()?new _(this.document,"color",t).addOpacity(e).getColor():t}}class Be extends De{constructor(e,t,n){super(e,t,n),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(e,t){var n="objectBoundingBox"===this.getGradientUnits(),t=n?t.getBoundingBox(e):null;if(n&&!t)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var r=n?t.x+t.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),i=n?t.y+t.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),o=n?t.x+t.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),n=n?t.y+t.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return r===o&&i===n?null:e.createLinearGradient(r,i,o,n)}}class Re extends De{constructor(e,t,n){super(e,t,n),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(e,t){var n="objectBoundingBox"===this.getGradientUnits(),t=t.getBoundingBox(e);if(n&&!t)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var r=n?t.x+t.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),i=n?t.y+t.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),o=r,a=i,n=(this.getAttribute("fx").hasValue()&&(o=n?t.x+t.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(a=n?t.y+t.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y")),n?(t.width+t.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels()),t=this.getAttribute("fr").getPixels();return e.createRadialGradient(o,a,t,r,i,n)}}class Ne extends t{constructor(e,t,n){super(e,t,n),this.type="stop";e=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),t=this.getStyle("stop-opacity"),n=this.getStyle("stop-color",!0);""===n.getString()&&n.setValue("#000"),t.hasValue()&&(n=n.addOpacity(t)),this.offset=e,this.color=n.getColor()}}class C extends t{constructor(e,t,n){super(e,t,n),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,e.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new _(e,"values",null);t=this.getAttribute("values");t.hasValue()&&this.values.setValue(t.getString().split(";"))}getProperty(){var e=this.getAttribute("attributeType").getString(),t=this.getAttribute("attributeName").getString();return"CSS"===e?this.parent.getStyle(t,!0):this.parent.getAttribute(t,!0)}calcValue(){var e=this["initialUnits"],{progress:t,from:n,to:r}=this.getProgress(),r=n.getNumber()+(r.getNumber()-n.getNumber())*t;return"%"===e&&(r*=100),"".concat(r).concat(e)}update(e){var t=this["parent"],n=this.getProperty();if(this.initialValue||(this.initialValue=n.getString(),this.initialUnits=n.getUnits()),this.duration>this.maxDuration){var r=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==r||this.frozen){if("remove"===r&&!this.removed)return this.removed=!0,n.setValue(t.animationFrozen?t.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,t.animationFrozen=!0,t.animationFrozenValue=n.getString();return!1}this.duration+=e;r=!1;return this.begin<this.duration&&(t=this.calcValue(),(e=this.getAttribute("type")).hasValue()&&(e=e.getString(),t="".concat(e,"(").concat(t,")")),n.setValue(t),r=!0),r}getProgress(){var e,t,n,{document:r,values:i}=this,o={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};return i.hasValue()?(e=o.progress*(i.getValue().length-1),t=Math.floor(e),n=Math.ceil(e),o.from=new _(r,"from",parseFloat(i.getValue()[t])),o.to=new _(r,"to",parseFloat(i.getValue()[n])),o.progress=(e-t)/(n-t)):(o.from=this.from,o.to=this.to),o}}class ze extends C{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var e,t,{progress:n,from:r,to:i}=this.getProgress(),r=new R.a(r.getColor()),i=new R.a(i.getColor());return r.ok&&i.ok?(e=r.r+(i.r-r.r)*n,t=r.g+(i.g-r.g)*n,i=r.b+(i.b-r.b)*n,"rgb(".concat(Math.floor(e),", ").concat(Math.floor(t),", ").concat(Math.floor(i),")")):this.getAttribute("from").getColor()}}class Fe extends C{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:n,from:e,to:t}=this.getProgress(),e=y(e.getString()),r=y(t.getString());return e.map((e,t)=>{return e+(r[t]-e)*n}).join(" ")}}class Ve extends t{constructor(e,t,n){super(e,t,n),this.type="font",this.glyphs={},this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var r,i=e["definitions"],t=this["children"];for(r of t)switch(r.type){case"font-face":var o=(this.fontFace=r).getStyle("font-family");o.hasValue()&&(i[o.getString()]=this);break;case"missing-glyph":this.missingGlyph=r;break;case"glyph":o=r;o.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[o.unicode]&&(this.glyphs[o.unicode]={}),this.glyphs[o.unicode][o.arabicForm]=o):this.glyphs[o.unicode]=o}}render(){}}class He extends t{constructor(e,t,n){super(e,t,n),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class Ye extends x{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class Ge extends f{constructor(){super(...arguments),this.type="tref"}getText(){var e=this.getHrefAttribute().getDefinition();if(e){e=e.children[0];if(e)return e.getText()}return""}}class Ue extends f{constructor(e,t,n){super(e,t,n),this.type="a";e=t.childNodes,n=e[0],t=0<e.length&&Array.from(e).every(e=>3===e.nodeType);this.hasText=t,this.text=t?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(e){var t,n,r,i;this.hasText?(super.renderChildren(e),{document:r,x:t,y:n}=this,i=r.screen["mouse"],r=new _(r,"fontSize",m.parse(r.ctx.font).fontSize),i.isWorking()&&i.checkBoundingBox(this,new d(t,n-r.getPixels("y"),t+this.measureText(e),n))):0<this.children.length&&((i=new S(this.document,null)).children=this.children,i.parent=this,i.render(e))}onClick(){var e=this.document["window"];e&&e.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor="pointer"}}function Qe(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function O(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qe(Object(n),!0).forEach(function(e){r()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}class We extends f{constructor(e,t,n){super(e,t,n),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);e=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(e)}getText(){return this.text}path(h){var e=this["dataArray"];h&&h.beginPath(),e.forEach(e=>{var{type:e,points:t}=e;switch(e){case g.LINE_TO:h&&h.lineTo(t[0],t[1]);break;case g.MOVE_TO:h&&h.moveTo(t[0],t[1]);break;case g.CURVE_TO:h&&h.bezierCurveTo(t[0],t[1],t[2],t[3],t[4],t[5]);break;case g.QUAD_TO:h&&h.quadraticCurveTo(t[0],t[1],t[2],t[3]);break;case g.ARC:var[n,r,i,o,a,s,l,u]=t,c=o<i?i:o,f=o<i?1:i/o,o=o<i?o/i:1;h&&(h.translate(n,r),h.rotate(l),h.scale(f,o),h.arc(0,0,c,a,a+s,Boolean(1-u)),h.scale(1/f,1/o),h.rotate(-l),h.translate(-n,-r));break;case g.CLOSE_PATH:h&&h.closePath()}})}renderChildren(o){this.setTextData(o),o.save();var a=this.parent.getStyle("text-decoration").getString(),s=this.getFontSize(),e=this["glyphInfo"],t=o.fillStyle;"underline"===a&&o.beginPath(),e.forEach((e,t)=>{var{p0:e,p1:n,rotation:r,text:i}=e;o.save(),o.translate(e.x,e.y),o.rotate(r),o.fillStyle&&o.fillText(i,0,0),o.strokeStyle&&o.strokeText(i,0,0),o.restore(),"underline"===a&&(0===t&&o.moveTo(e.x,e.y+s/8),o.lineTo(n.x,n.y+s/5))}),"underline"===a&&(o.lineWidth=s/20,o.strokeStyle=t,o.stroke(),o.closePath()),o.restore()}getLetterSpacingAt(){return this.letterSpacingCache[0<arguments.length&&void 0!==arguments[0]?arguments[0]:0]||0}findSegmentToFitChar(e,t,n,r,i,o,a,s,l){var e=this.measureText(e,s),s=(" "===s&&"justify"===t&&n<r&&(e+=(r-n)/i),-1<l&&(o+=this.getLetterSpacingAt(l)),this.textHeight/20),t=this.getEquidistantPointOnPath(o,s,0),r=this.getEquidistantPointOnPath(o+e,s,0),n={p0:t,p1:r},i=t&&r?Math.atan2(r.y-t.y,r.x-t.x):0;return a&&(l=Math.cos(Math.PI/2+i)*a,s=Math.cos(-i)*a,n.p0=O(O({},t),{},{x:t.x+l,y:t.y+s}),n.p1=O(O({},r),{},{x:r.x+l,y:r.y+s})),{offset:o+=e,segment:n,rotation:i}}measureText(e,t){var n=this["measuresCache"],t=t||this.getText();return n.has(t)?n.get(t):(e=this.measureTargetText(e,t),n.set(t,e),e)}setTextData(i){if(!this.glyphInfo){var e=this.getText(),o=e.split(""),a=e.split(" ").length-1,t=this.parent.getAttribute("dx").split().map(e=>e.getPixels("x")),s=this.parent.getAttribute("dy").getPixels("y"),l=this.parent.getStyle("text-anchor").getString("start"),n=this.getStyle("letter-spacing"),r=this.parent.getStyle("letter-spacing"),u=0,c=(n.hasValue()&&"inherit"!==n.getValue()?n.hasValue()&&"initial"!==n.getValue()&&"unset"!==n.getValue()&&(u=n.getPixels()):u=r.getPixels(),[]),f=e.length;this.letterSpacingCache=c;for(var h=0;h<f;h++)c.push(void 0!==t[h]?t[h]:u);var n=c.reduce((e,t,n)=>0!==n&&e+t||0,0),r=this.measureText(i),d=Math.max(r+n,0),p=(this.textWidth=r,this.textHeight=this.getFontSize(),this.glyphInfo=[],this.getPathLength()),e=this.getStyle("startOffset").getNumber(0)*p,y="end"!==l&&"right"!==l?"middle"!==l&&"center"!==l?0:-d/2:-d;y+=e,o.forEach((e,t)=>{var{offset:e,segment:n,rotation:r}=this.findSegmentToFitChar(i,l,d,p,a,y,s,e,t);y=e,n.p0&&n.p1&&this.glyphInfo.push({text:o[t],p0:n.p0,p1:n.p1,rotation:r})})}}parsePathData(e){if(this.pathLength=-1,!e)return[];var t=[],n=e["pathParser"];for(n.reset();!n.isEnd();){var r=n["current"],i=r?r.x:0,r=r?r.y:0,o=n.next(),a=o.type,s=[];switch(o.type){case g.MOVE_TO:this.pathM(n,s);break;case g.LINE_TO:a=this.pathL(n,s);break;case g.HORIZ_LINE_TO:a=this.pathH(n,s);break;case g.VERT_LINE_TO:a=this.pathV(n,s);break;case g.CURVE_TO:this.pathC(n,s);break;case g.SMOOTH_CURVE_TO:a=this.pathS(n,s);break;case g.QUAD_TO:this.pathQ(n,s);break;case g.SMOOTH_QUAD_TO:a=this.pathT(n,s);break;case g.ARC:s=this.pathA(n);break;case g.CLOSE_PATH:x.pathZ(n)}o.type!==g.CLOSE_PATH?t.push({type:a,points:s,start:{x:i,y:r},pathLength:this.calcLength(i,r,a,s)}):t.push({type:g.CLOSE_PATH,points:[],pathLength:0})}return t}pathM(e,t){var{x:e,y:n}=x.pathM(e).point;t.push(e,n)}pathL(e,t){var{x:e,y:n}=x.pathL(e).point;return t.push(e,n),g.LINE_TO}pathH(e,t){var{x:e,y:n}=x.pathH(e).point;return t.push(e,n),g.LINE_TO}pathV(e,t){var{x:e,y:n}=x.pathV(e).point;return t.push(e,n),g.LINE_TO}pathC(e,t){var{point:e,controlPoint:n,currentPoint:r}=x.pathC(e);t.push(e.x,e.y,n.x,n.y,r.x,r.y)}pathS(e,t){var{point:e,controlPoint:n,currentPoint:r}=x.pathS(e);return t.push(e.x,e.y,n.x,n.y,r.x,r.y),g.CURVE_TO}pathQ(e,t){var{controlPoint:e,currentPoint:n}=x.pathQ(e);t.push(e.x,e.y,n.x,n.y)}pathT(e,t){var{controlPoint:e,currentPoint:n}=x.pathT(e);return t.push(e.x,e.y,n.x,n.y),g.QUAD_TO}pathA(e){var{rX:e,rY:t,sweepFlag:n,xAxisRotation:r,centp:i,a1:o,ad:a}=x.pathA(e);return 0===n&&0<a&&(a-=2*Math.PI),1===n&&a<0&&(a+=2*Math.PI),[i.x,i.y,e,t,o,a,r,n]}calcLength(e,t,n,r){var i=0,o=null,a=null,s=0;switch(n){case g.LINE_TO:return this.getLineLength(e,t,r[0],r[1]);case g.CURVE_TO:for(o=this.getPointOnCubicBezier(i=0,e,t,r[0],r[1],r[2],r[3],r[4],r[5]),s=.01;s<=1;s+=.01)a=this.getPointOnCubicBezier(s,e,t,r[0],r[1],r[2],r[3],r[4],r[5]),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return i;case g.QUAD_TO:for(o=this.getPointOnQuadraticBezier(i=0,e,t,r[0],r[1],r[2],r[3]),s=.01;s<=1;s+=.01)a=this.getPointOnQuadraticBezier(s,e,t,r[0],r[1],r[2],r[3]),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return i;case g.ARC:var i=0,l=r[4],u=r[5],c=r[4]+u,f=Math.PI/180;if(Math.abs(l-c)<f&&(f=Math.abs(l-c)),o=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],l,0),u<0)for(s=l-f;c<s;s-=f)a=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],s,0),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;else for(s=l+f;s<c;s+=f)a=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],s,0),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return a=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],c,0),i+=this.getLineLength(o.x,o.y,a.x,a.y)}return 0}getPointOnLine(e,t,n,r,i){var o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:t,a=6<arguments.length&&void 0!==arguments[6]?arguments[6]:n,s=(i-n)/(r-t+h),l=Math.sqrt(e*e/(1+s*s)),u=(r<t&&(l*=-1),s*l),c=null;if(r===t)c={x:o,y:a+u};else if((a-n)/(o-t+h)==s)c={x:o+l,y:a+u};else{u=this.getLineLength(t,n,r,i);if(u<h)return null;var f=(o-t)*(r-t)+(a-n)*(i-n),u=this.getLineLength(o,a,o=t+(f/=u*u)*(r-t),a=n+f*(i-n)),f=Math.sqrt(e*e-u*u),l=Math.sqrt(f*f/(1+s*s));r<t&&(l*=-1),c={x:o+l,y:a+s*l}}return c}getPointOnPath(e){var t=this.getPathLength(),n=0,r=null;if(!(e<-5e-5||t<e-5e-5)){var i,t=this["dataArray"];for(i of t){if(!i||!(i.pathLength<5e-5||n+i.pathLength+5e-5<e)){var o=e-n,a=0;switch(i.type){case g.LINE_TO:r=this.getPointOnLine(o,i.start.x,i.start.y,i.points[0],i.points[1],i.start.x,i.start.y);break;case g.ARC:var s=i.points[4],l=i.points[5],u=i.points[4]+l,a=s+o/i.pathLength*l;l<0&&a<u||0<=l&&u<a||(r=this.getPointOnEllipticalArc(i.points[0],i.points[1],i.points[2],i.points[3],a,i.points[6]));break;case g.CURVE_TO:1<(a=o/i.pathLength)&&(a=1),r=this.getPointOnCubicBezier(a,i.start.x,i.start.y,i.points[0],i.points[1],i.points[2],i.points[3],i.points[4],i.points[5]);break;case g.QUAD_TO:1<(a=o/i.pathLength)&&(a=1),r=this.getPointOnQuadraticBezier(a,i.start.x,i.start.y,i.points[0],i.points[1],i.points[2],i.points[3])}if(r)return r;break}n+=i.pathLength}}return null}getLineLength(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce((e,t)=>0<t.pathLength?e+t.pathLength:e,0)),this.pathLength}getPointOnCubicBezier(e,t,n,r,i,o,a,s,l){return{x:s*ne(e)+o*re(e)+r*ie(e)+t*oe(e),y:l*ne(e)+a*re(e)+i*ie(e)+n*oe(e)}}getPointOnQuadraticBezier(e,t,n,r,i,o,a){return{x:o*ae(e)+r*se(e)+t*le(e),y:a*ae(e)+i*se(e)+n*le(e)}}getPointOnEllipticalArc(e,t,n,r,i,o){var a=Math.cos(o),o=Math.sin(o),n=n*Math.cos(i),r=r*Math.sin(i);return{x:e+(n*a-r*o),y:t+(n*o+r*a)}}buildEquidistantCache(e,t){var n=this.getPathLength(),r=t||.25,i=e||n/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==r){this.equidistantCache={step:i,precision:r,points:[]};for(var o=0,a=0;a<=n;a+=r){var s=this.getPointOnPath(a),l=this.getPointOnPath(a+r);s&&l&&i<=(o+=this.getLineLength(s.x,s.y,l.x,l.y))&&(this.equidistantCache.points.push({x:s.x,y:s.y,distance:a}),o-=i)}}}getEquidistantPointOnPath(e,t,n){return this.buildEquidistantCache(t,n),!(e<0||5e-5<e-this.getPathLength())&&(t=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1)),this.equidistantCache.points[t])||null}}var qe=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class Ke extends n{constructor(e,t,n){super(e,t,n),this.type="image",this.loaded=!1;t=this.getHrefAttribute().getString();t&&(n=t.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(t),e.images.push(this),n?this.loadSvg(t):this.loadImage(t),this.isSvg=n)}loadImage(t){var n=this;return o()(function*(){try{var e=yield n.document.createImage(t);n.image=e}catch(e){console.error('Error while loading image "'.concat(t,'":'),e)}n.loaded=!0})()}loadSvg(r){var i=this;return o()(function*(){var e=qe.exec(r);if(e){var t=e[5];"base64"===e[4]?i.image=atob(t):i.image=decodeURIComponent(t)}else try{var n=yield(yield i.document.fetch(r)).text();i.image=n}catch(e){console.error('Error while loading image "'.concat(r,'":'),e)}i.loaded=!0})()}renderChildren(e){var{document:t,image:n,loaded:r}=this,i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");r&&n&&a&&s&&(e.save(),e.translate(i,o),this.isSvg?((r=t.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:a,scaleHeight:s})).document.documentElement.parent=this,r.render()):(n=this.image,t.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a,desiredWidth:n.width,height:s,desiredHeight:n.height}),this.loaded&&(void 0===n.complete||n.complete)&&e.drawImage(n,0,0)),e.restore())}getBoundingBox(){var e=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),n=this.getStyle("width").getPixels("x"),r=this.getStyle("height").getPixels("y");return new d(e,t,e+n,t+r)}}class Xe extends n{constructor(){super(...arguments),this.type="symbol"}render(e){}}class Je{constructor(e){this.document=e,this.loaded=!1,e.fonts.push(this)}load(n,r){var i=this;return o()(function*(){try{var t=i["document"],e=(yield t.canvg.parser.load(r)).getElementsByTagName("font");Array.from(e).forEach(e=>{e=t.createElement(e);t.definitions[n]=e})}catch(e){console.error('Error while loading font "'.concat(r,'":'),e)}i.loaded=!0})()}}class $e extends t{constructor(i,e,t){super(i,e,t),this.type="style",b(Array.from(e.childNodes).map(e=>e.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(e=>{var t,n,e=e.trim();e&&(t=(e=e.split("{"))[0].split(","),n=e[1].split(";"),t.forEach(e=>{var r,t,e=e.trim();e&&(r=i.styles[e]||{},n.forEach(e=>{var t=e.indexOf(":"),n=e.substr(0,t).trim(),e=e.substr(t+1,e.length-t).trim();n&&e&&(r[n]=new _(i,n,e))}),i.styles[e]=r,i.stylesSpecificity[e]=Z(e),"@font-face"===e)&&(t=r["font-family"].getString().replace(/"|'/g,""),r.src.getString().split(",").forEach(e=>{0<e.indexOf('format("svg")')&&(e=G(e))&&new Je(i).load(t,e)}))}))})}}$e.parseExternalUrl=G;class Ze extends n{constructor(){super(...arguments),this.type="use"}setContext(e){super.setContext(e);var t=this.getAttribute("x"),n=this.getAttribute("y");t.hasValue()&&e.translate(t.getPixels("x"),0),n.hasValue()&&e.translate(0,n.getPixels("y"))}path(e){var t=this["element"];t&&t.path(e)}renderChildren(e){var t,n,{document:r,element:i}=this;i&&("symbol"===(t=i).type&&((t=new A(r,null)).attributes.viewBox=new _(r,"viewBox",i.getAttribute("viewBox").getString()),t.attributes.preserveAspectRatio=new _(r,"preserveAspectRatio",i.getAttribute("preserveAspectRatio").getString()),t.attributes.overflow=new _(r,"overflow",i.getAttribute("overflow").getString()),t.children=i.children,i.styles.opacity=new _(r,"opacity",this.calculateOpacity())),"svg"===t.type&&(i=this.getStyle("width",!1,!0),n=this.getStyle("height",!1,!0),i.hasValue()&&(t.attributes.width=new _(r,"width",i.getString())),n.hasValue())&&(t.attributes.height=new _(r,"height",n.getString())),i=t.parent,t.parent=this,t.render(e),t.parent=i)}getBoundingBox(e){var t=this["element"];return t?t.getBoundingBox(e):null}elementTransform(){var{document:e,element:t}=this;return u.fromElement(e,t)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function E(e,t,n,r,i,o){return e[n*r*4+4*t+o]}function M(e,t,n,r,i,o,a){e[n*r*4+4*t+o]=a}function P(e,t,n){return e[t]*n}function k(e,t,n,r){return t+Math.cos(e)*n+Math.sin(e)*r}class et extends t{constructor(e,t,n){super(e,t,n),this.type="feColorMatrix";var r=y(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var i=r[0],r=[.213+.787*i,.715-.715*i,.072-.072*i,0,0,.213-.213*i,.715+.285*i,.072-.072*i,0,0,.213-.213*i,.715-.715*i,.072+.928*i,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":i=r[0]*Math.PI/180;r=[k(i,.213,.787,-.213),k(i,.715,-.715,-.715),k(i,.072,-.072,.928),0,0,k(i,.213,-.213,.143),k(i,.715,.285,.14),k(i,.072,-.072,-.283),0,0,k(i,.213,-.213,-.787),k(i,.715,-.715,.715),k(i,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}this.matrix=r,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(e,t,n,r,i){for(var{includeOpacity:o,matrix:a}=this,s=e.getImageData(0,0,r,i),l=0;l<i;l++)for(var u=0;u<r;u++){var c=E(s.data,u,l,r,0,0),f=E(s.data,u,l,r,0,1),h=E(s.data,u,l,r,0,2),d=E(s.data,u,l,r,0,3),p=P(a,0,c)+P(a,1,f)+P(a,2,h)+P(a,3,d)+P(a,4,1),y=P(a,5,c)+P(a,6,f)+P(a,7,h)+P(a,8,d)+P(a,9,1),m=P(a,10,c)+P(a,11,f)+P(a,12,h)+P(a,13,d)+P(a,14,1),c=P(a,15,c)+P(a,16,f)+P(a,17,h)+P(a,18,d)+P(a,19,1);o&&(m=y=p=0,c*=d/255),M(s.data,u,l,r,0,0,p),M(s.data,u,l,r,0,1,y),M(s.data,u,l,r,0,2,m),M(s.data,u,l,r,0,3,c)}e.clearRect(0,0,r,i),e.putImageData(s,0,0)}}class T extends t{constructor(){super(...arguments),this.type="mask"}apply(t,e){var n,r=this["document"],i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y"),l=(a||s||(n=new d,this.children.forEach(e=>{n.addBoundingBox(e.getBoundingBox(t))}),i=Math.floor(n.x1),o=Math.floor(n.y1),a=Math.floor(n.width),s=Math.floor(n.height)),this.removeStyles(e,T.ignoreStyles)),u=r.createCanvas(i+a,o+s),c=u.getContext("2d"),f=(r.screen.setDefaults(c),this.renderChildren(c),new et(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(c,0,0,i+a,o+s),r.createCanvas(i+a,o+s)),h=f.getContext("2d");r.screen.setDefaults(h),e.render(h),h.globalCompositeOperation="destination-in",h.fillStyle=c.createPattern(u,"no-repeat"),h.fillRect(0,0,i+a,o+s),t.fillStyle=h.createPattern(f,"no-repeat"),t.fillRect(0,0,i+a,o+s),this.restoreStyles(e,l)}render(e){}}T.ignoreStyles=["mask","transform","clip-path"];var tt=()=>{};class nt extends t{constructor(){super(...arguments),this.type="clipPath"}apply(n){var r=this["document"],i=Reflect.getPrototypeOf(n),{beginPath:e,closePath:o}=n;i&&(i.beginPath=tt,i.closePath=tt),Reflect.apply(e,n,[]),this.children.forEach(e=>{var t;void 0!==e.path&&((t=(t=void 0!==e.elementTransform?e.elementTransform():null)||u.fromElement(r,e))&&t.apply(n),e.path(n),i&&(i.closePath=o),t)&&t.unapply(n)}),Reflect.apply(o,n,[]),n.clip(),i&&(i.beginPath=e,i.closePath=o)}render(e){}}class I extends t{constructor(){super(...arguments),this.type="filter"}apply(e,t){var n,r,i,o,a,s,l,u,{document:c,children:f}=this,h=t.getBoundingBox(e);h&&(r=n=0,f.forEach(e=>{e=e.extraFilterDistance||0;n=Math.max(n,e),r=Math.max(r,e)}),s=Math.floor(h.width),a=Math.floor(h.height),o=a+2*r,(i=s+2*n)<1||o<1||(a=Math.floor(h.x),s=Math.floor(h.y),h=this.removeStyles(t,I.ignoreStyles),l=c.createCanvas(i,o),u=l.getContext("2d"),c.screen.setDefaults(u),u.translate(-a+n,-s+r),t.render(u),f.forEach(e=>{"function"==typeof e.apply&&e.apply(u,0,0,i,o)}),e.drawImage(l,0,0,i,o,a-n,s-r,i,o),this.restoreStyles(t,h)))}render(e){}}I.ignoreStyles=["filter","transform","clip-path"];class rt extends t{constructor(e,t,n){super(e,t,n),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(e,t,n,r,i){}}class it extends t{constructor(){super(...arguments),this.type="feMorphology"}apply(e,t,n,r,i){}}class ot extends t{constructor(){super(...arguments),this.type="feComposite"}apply(e,t,n,r,i){}}class at extends t{constructor(e,t,n){super(e,t,n),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(e,t,n,r,i){var{document:o,blurRadius:a}=this,s=o.window?o.window.document.body:null,e=e.canvas;e.id=o.getUniqueId(),s&&(e.style.display="none",s.appendChild(e)),Object(N.a)(e,t,n,r,i,a),s&&s.removeChild(e)}}class st extends t{constructor(){super(...arguments),this.type="title"}}class lt extends t{constructor(){super(...arguments),this.type="desc"}}e={svg:A,rect:Oe,circle:Ee,ellipse:Me,line:Pe,polyline:ke,polygon:Te,path:x,pattern:Ie,marker:Le,defs:je,linearGradient:Be,radialGradient:Re,stop:Ne,animate:C,animateColor:ze,animateTransform:Fe,font:Ve,"font-face":He,"missing-glyph":Ye,glyph:Se,text:f,tspan:w,tref:Ge,a:Ue,textPath:We,image:Ke,g:S,symbol:Xe,style:$e,use:Ze,mask:T,clipPath:nt,filter:I,feDropShadow:rt,feMorphology:it,feComposite:ot,feColorMatrix:et,feGaussianBlur:at,title:st,desc:lt};function ut(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ct(){return(ct=o()(function*(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=document.createElement("img");return e&&(n.crossOrigin="Anonymous"),new Promise((e,o)=>{n.onload=()=>{e(n)},n.onerror=(e,t,n,r,i)=>{o(i)},n.src=t})})).apply(this,arguments)}class L{constructor(e){var{rootEmSize:t=12,emSize:n=12,createCanvas:r=L.createCanvas,createImage:i=L.createImage,anonymousCrossOrigin:o}=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.canvg=e,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=e.screen,this.rootEmSize=t,this.emSize=n,this.createCanvas=r,this.createImage=this.bindCreateImage(i,o),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(n,r){return"boolean"==typeof r?(e,t)=>n(e,"boolean"==typeof t?t:r):n}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var e=this["emSizeStack"];return e[e.length-1]}set emSize(e){var t=this["emSizeStack"];t.push(e)}popEmSize(){var e=this["emSizeStack"];e.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(e=>e.loaded)}isFontsLoaded(){return this.fonts.every(e=>e.loaded)}createDocumentElement(e){e=this.createElement(e.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e}createElement(e){var t=e.nodeName.replace(/^[^:]+:/,""),t=L.elementTypes[t];return new(void 0!==t?t:we)(this,e)}createTextNode(e){return new Ce(this,e)}setViewBox(e){this.screen.setViewBox(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ut(Object(n),!0).forEach(function(e){r()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({document:this},e))}}function ft(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function j(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ft(Object(n),!0).forEach(function(e){r()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}L.createCanvas=function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,n},L.createImage=function(e){return ct.apply(this,arguments)},L.elementTypes=e;class D{constructor(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e=(this.parser=new l(n),this.screen=new s(e,n),this.options=n,new L(this,n)),n=e.createDocumentElement(t);this.document=e,this.documentElement=n}static from(n,r){var i=arguments;return o()(function*(){var e=2<i.length&&void 0!==i[2]?i[2]:{},t=yield new l(e).parse(r);return new D(n,t,e)})()}static fromString(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},t=new l(n).parseFromString(t);return new D(e,t,n)}fork(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return D.from(e,t,j(j({},this.options),n))}forkString(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return D.fromString(e,t,j(j({},this.options),n))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var e=arguments,t=this;return o()(function*(){t.start(j({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},0<e.length&&void 0!==e[0]?e[0]:{})),yield t.ready(),t.stop()})()}start(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},{documentElement:t,screen:n,options:r}=this;n.start(t,j(j({enableRedraw:!0},r),e))}stop(){this.screen.stop()}resize(e){this.documentElement.resize(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:e,2<arguments.length&&void 0!==arguments[2]&&arguments[2])}}}.call(this,dt("8oxB"))},DXbN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){this.support.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},DatF:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("vyqP"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},DesM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("LGoc"),n=(n("4l1m"),{name:"SmSlideshowItem",__SM_SLIDESHOW_ITEM:!0,components:{SwiperSlide:r.SwiperSlide}});t.default=n},Dk1u:function(e,t,n){"use strict";var r=n("4YbN"),i=n("IL+x"),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a constructor")}},Dkky:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:true,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var o={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},t;e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){if(e<12)return n?"öö":"ÖÖ";else return n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return e==="ös"||e==="ÖS"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,t){switch(t){case"d":case"D":case"Do":case"DD":return e;default:if(e===0)return e+"'ıncı";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(o[n]||o[r]||o[i])}},week:{dow:1,doy:7}})}(n("wd/R"))},"Dw+G":function(e,t,n){var r=n("juv8"),i=n("mTTR");e.exports=function(e,t){return e&&r(t,i(t),e)}},DxQv:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dxbw:function(e,t,n){"use strict";n.r(t);var r,i=n("ASsH"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},DzJC:function(e,t,n){var o=n("sEfC"),a=n("GoyQ");e.exports=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return a(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),o(e,t,{leading:r,maxWait:t,trailing:i})}},Dzi0:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var a={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){if(e%10>=1&&e%10<=4&&(e%100<10||e%100>=20))return e%10===1?t[0]:t[1];return t[2]},translate:function(e,t,n,r){var i=a.words[n],o;if(n.length===1){if(n==="y"&&t)return"једна година";return r||t?i[0]:i[1]}o=a.correctGrammaticalCase(e,i);if(n==="yy"&&t&&o==="годину")return e+" година";return e+" "+o}},t;e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:true,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},E0u0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var l=r(n("QDlc")),n=r(n("MgzW")),i=!0,u=!1,c=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function a(e){return null==e}var f=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(e,t){a(e.which)&&(e.which=a(t.charCode)?t.keyCode:t.charCode),void 0===e.metaKey&&(e.metaKey=e.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(e,t){var n=void 0,r=void 0,i=void 0,o=t.wheelDelta,a=t.axis,s=t.wheelDeltaY,l=t.wheelDeltaX,t=t.detail;o&&(i=o/120),t&&(i=0-(t%3==0?t/3:t)),void 0!==a&&(a===e.HORIZONTAL_AXIS?n=(r=0)-i:a===e.VERTICAL_AXIS&&(n=0,r=i)),void 0!==s&&(r=s/120),(n=void 0!==l?-1*l/120:n)||(r=r||i),void 0!==n&&(e.deltaX=n),void 0!==r&&(e.deltaY=r),void 0!==i&&(e.delta=i)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(e,t){var n,r,i=e.target,o=t.button;return i&&a(e.pageX)&&!a(t.clientX)&&(n=(r=i.ownerDocument||document).documentElement,r=r.body,e.pageX=t.clientX+(n&&n.scrollLeft||r&&r.scrollLeft||0)-(n&&n.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||r&&r.scrollTop||0)-(n&&n.clientTop||r&&r.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===i?e.toElement:e.fromElement),e}}];function h(){return i}function d(){return u}function o(e){var t,n=e.type,r="function"==typeof e.stopPropagation||"boolean"==typeof e.cancelBubble,i=(l.default.call(this),d),o=("defaultPrevented"in(this.nativeEvent=e)?i=e.defaultPrevented?h:d:"getPreventDefault"in e?i=e.getPreventDefault()?h:d:"returnValue"in e&&(i=e.returnValue===u?h:d),this.isDefaultPrevented=i,[]),a=void 0,s=c.concat();for(f.forEach(function(e){n.match(e.reg)&&(s=s.concat(e.props),e.fix)&&o.push(e.fix)}),a=s.length;a;)this[t=s[--a]]=e[t];for(!this.target&&r&&(this.target=e.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),a=o.length;a;)(0,o[--a])(this,e);this.timeStamp=e.timeStamp||Date.now()}var s=l.default.prototype;(0,n.default)(o.prototype,s,{constructor:o,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=u,s.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=i,s.stopPropagation.call(this)}}),t.default=o,e.exports=t.default},E2jh:function(e,t,n){var n=n("2gN3"),r=(n=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!r&&r in e}},E4d5:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t<=6,e=(0,i.default)(e).toHsv(),t=n?c+1-t:t-c-1;return(0,i.default)({h:function(e,t,n){n=60<=e.h&&e.h<=240?n?e.h-o*t:e.h+o*t:n?e.h+o*t:e.h-o*t;n<0?n+=360:360<=n&&(n-=360);return Math.round(n)}(e,t,n),s:function(e,t,n){e=n?Math.round(100*e.s)-a*t:t===f?Math.round(100*e.s)+a:Math.round(100*e.s)+s*t;100<e&&(e=100);n&&t===c&&10<e&&(e=10);e<6&&(e=6);return Math.round(e)}(e,t,n),v:function(e,t,n){if(n)return Math.round(100*e.v)+l*t;return Math.round(100*e.v)-u*t}(e,t,n)}).toHexString(!1)},r(n("lMfh"))),o=2,a=16,s=5,l=5,u=15,c=5,f=4},E51R:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("zZCW"))),r=r(n("DXbN")),n={setGrabCursor:i.default,unsetGrabCursor:r.default};t.default=n},EA7m:function(e,t,n){var r=n("zZ0H"),i=n("Ioao"),o=n("wclG");e.exports=function(e,t){return o(i(e,t,r),e+"")}},EABD:function(e,t,n){"use strict";n.r(t);var r=n("kvrn"),f=n.n(r),r=n("YEIV"),h=n.n(r),r=n("QbLZ"),d=n.n(r),r=n("jo6Y"),p=n.n(r),r=n("TZE5"),i=n("TSYQ"),y=n.n(i),m=n("+XHg"),g=n("2qPA"),o=n("TfX5"),a=n("aiEA");function v(){}t.default={name:"ACheckbox",inheritAttrs:!1,__ANT_CHECKBOX:!0,model:{prop:"checked"},props:{prefixCls:r.a.string,defaultChecked:r.a.bool,checked:r.a.bool,disabled:r.a.bool,isGroup:r.a.bool,value:r.a.any,name:r.a.string,id:r.a.string,indeterminate:r.a.bool,type:r.a.string.def("checkbox"),autoFocus:r.a.bool},inject:{configProvider:{default:function(){return o.a}},checkboxGroupContext:{default:function(){}}},watch:{value:function(t,n){var r=this;this.$nextTick(function(){var e=r.checkboxGroupContext,e=void 0===e?{}:e;e.registerValue&&e.cancelValue&&(e.cancelValue(n),e.registerValue(t))})}},mounted:function(){var e=this.value,t=this.checkboxGroupContext,t=void 0===t?{}:t;t.registerValue&&t.registerValue(e),Object(a.a)(Object(g.default)(this,"checked")||this.checkboxGroupContext||!Object(g.default)(this,"value"),"Checkbox","`value` is not validate prop, do you mean `checked`?")},beforeDestroy:function(){var e=this.value,t=this.checkboxGroupContext,t=void 0===t?{}:t;t.cancelValue&&t.cancelValue(e)},methods:{handleChange:function(e){var t=e.target.checked;this.$emit("input",t),this.$emit("change",e)},focus:function(){this.$refs.vcCheckbox.focus()},blur:function(){this.$refs.vcCheckbox.blur()}},render:function(){var r=this,e=arguments[0],i=this.checkboxGroupContext,t=this.$slots,o=Object(g.getOptionProps)(this),a=t.default,t=Object(g.getListeners)(this),n=t.mouseenter,n=void 0===n?v:n,s=t.mouseleave,s=void 0===s?v:s,t=(t.input,p()(t,["mouseenter","mouseleave","input"])),l=o.prefixCls,u=o.indeterminate,c=p()(o,["prefixCls","indeterminate"]),l=(0,this.configProvider.getPrefixCls)("checkbox",l),c={props:d()({},c,{prefixCls:l}),on:t,attrs:Object(g.getAttrs)(this)},t=(i?(c.on.change=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];r.$emit.apply(r,["change"].concat(t)),i.toggleOption({label:a,value:o.value})},c.props.name=i.name,c.props.checked=-1!==i.sValue.indexOf(o.value),c.props.disabled=o.disabled||i.disabled,c.props.indeterminate=u):c.on.change=this.handleChange,y()((t={},h()(t,l+"-wrapper",!0),h()(t,l+"-wrapper-checked",c.props.checked),h()(t,l+"-wrapper-disabled",c.props.disabled),t))),l=y()(h()({},l+"-indeterminate",u));return e("label",{class:t,on:{mouseenter:n,mouseleave:s}},[e(m.a,f()([c,{class:l,ref:"vcCheckbox"}])),void 0!==a&&e("span",[a])])}}},EEGq:function(e,t,n){var r=n("juv8"),i=n("oCl/");e.exports=function(e,t){return r(e,i(e),t)}},EFSL:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.stepTypes=t.default=void 0,r(n("v3sQ"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={current:o.default.number,initial:o.default.number,labelPlacement:o.default.oneOf(["horizontal","vertical"]).def("horizontal"),status:o.default.oneOf(["wait","process","finish","error"]),size:o.default.oneOf(["default","small"]),direction:o.default.oneOf(["horizontal","vertical"]),progressDot:o.default.oneOfType([o.default.bool,o.default.func]),type:o.default.oneOf(["default","navigation"])},o=(t.stepTypes=n,{name:"SmSteps",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"current",event:"change"},props:n,computed:{extralListeners:function(){var t=this;return{change:function(e){t.$emit("change",e)}}}}});t.default=o},EJiy:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n("F+2o")),i=a(n("+JPL")),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}},EJt4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=this,r=n.rtlTranslate,i=n.params,o=n.$wrapperEl,a=n.wrapperEl,s=n.progress,l=0,u=0;n.isHorizontal()?l=r?-e:e:u=e;i.roundLengths&&(l=Math.floor(l),u=Math.floor(u));i.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-u:i.virtualTranslate||o.transform("translate3d("+l+"px, "+u+"px, 0px)");n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:u;r=n.maxTranslate()-n.minTranslate();a=0==r?0:(e-n.minTranslate())/r;a!==s&&n.updateProgress(e);n.emit("setTranslate",n.translate,t)}},ENUd:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{staticClass:"sm-component-text",style:[e.customStyle,e.getBackgroundStyle,e.getTextColorStyle]},[e.href?t("span",[t("a",{staticClass:"sm-component-text__href",style:[e.getTextColorStyle],attrs:{target:e.target,href:e.href}},[e._v(e._s(e.finalValue))])]):t("span",{staticClass:"sm-component-text__span"},[e._v(e._s(e.finalValue))])])},i=[]},ENhe:function(e,t,n){"use strict";e.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}},EOgW:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:true,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return e==="หลังเที่ยง"},meridiem:function(e,t,n){if(e<12)return"ก่อนเที่ยง";else return"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n("wd/R"))},ESVS:function(e,t,n){"use strict";var r=n("nCzB"),i=n("m7zg"),o=n("zFjv");r({target:"Promise",stat:!0,forced:n("GxTi").CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},"ET/Y":function(e,t,n){"use strict";function r(){return{func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0}}var i=n("TqRt"),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i(n("zZPE"))),s=n("HCjh"),i={get any(){return(0,s.toType)("any",{type:null})},get func(){return(0,s.toType)("function",{type:Function}).def(o.func)},get bool(){return(0,s.toType)("boolean",{type:Boolean}).def(o.bool)},get string(){return(0,s.toType)("string",{type:String}).def(o.string)},get number(){return(0,s.toType)("number",{type:Number}).def(o.number)},get array(){return(0,s.toType)("array",{type:Array}).def(o.array)},get object(){return(0,s.toType)("object",{type:Object}).def(o.object)},get integer(){return(0,s.toType)("integer",{type:Number,validator:function(e){return(0,s.isInteger)(e)}}).def(o.integer)},get symbol(){return(0,s.toType)("symbol",{type:null,validator:function(e){return"symbol"==typeof e}})},custom:function(t,n){if(void 0===n&&(n="custom validation failed"),"function"!=typeof t)throw new TypeError("[VueTypes error]: You must provide a function as argument");return(0,s.toType)(t.name||"<<anonymous function>>",{validator:function(){var e=t.apply(void 0,arguments);return e||(0,s.warn)(this._vueTypes_name+" - "+n),e}})},oneOf:function(t){var n,e;if((0,s.isArray)(t))return n='oneOf - value should be one of "'+t.join('", "')+'"',e=t.reduce(function(e,t){return null!=t&&-1===e.indexOf(t.constructor)&&e.push(t.constructor),e},[]),(0,s.toType)("oneOf",{type:0<e.length?e:null,validator:function(e){e=-1!==t.indexOf(e);return e||(0,s.warn)(n),e}});throw new TypeError("[VueTypes error]: You must provide an array as argument")},instanceOf:function(e){return(0,s.toType)("instanceOf",{type:e})},oneOfType:function(n){var r,e,i;if((0,s.isArray)(n))return r=!1,e=n.reduce(function(e,t){if((0,a.default)(t)){if("oneOf"===t._vueTypes_name)return e.concat(t.type||[]);if(t.type&&!(0,s.isFunction)(t.validator)){if((0,s.isArray)(t.type))return e.concat(t.type);e.push(t.type)}else(0,s.isFunction)(t.validator)&&(r=!0)}else e.push(t);return e},[]),(r?(i=n.map(function(e){return e&&(0,s.isArray)(e.type)?e.type.map(s.getType):(0,s.getType)(e)}).reduce(function(e,t){return e.concat((0,s.isArray)(t)?t:[t])},[]).join('", "'),this.custom(function(t){var e=n.some(function(e){return"oneOf"===e._vueTypes_name?!e.type||(0,s.validateType)(e.type,t,!0):(0,s.validateType)(e,t,!0)});return e||(0,s.warn)('oneOfType - value type should be one of "'+i+'"'),e})):(0,s.toType)("oneOfType",{type:e})).def(void 0);throw new TypeError("[VueTypes error]: You must provide an array as argument")},arrayOf:function(t){return(0,s.toType)("arrayOf",{type:Array,validator:function(e){e=e.every(function(e){return(0,s.validateType)(t,e)});return e||(0,s.warn)('arrayOf - value must be an array of "'+(0,s.getType)(t)+'"'),e}})},objectOf:function(n){return(0,s.toType)("objectOf",{type:Object,validator:function(t){var e=Object.keys(t).every(function(e){return(0,s.validateType)(n,t[e])});return e||(0,s.warn)('objectOf - value must be an object of "'+(0,s.getType)(n)+'"'),e}})},shape:function(i){var o=Object.keys(i),e=o.filter(function(e){return i[e]&&!0===i[e].required}),t=(0,s.toType)("shape",{type:Object,validator:function(n){var t,r=this;return!!(0,a.default)(n)&&(t=Object.keys(n),0<e.length&&e.some(function(e){return-1===t.indexOf(e)})?((0,s.warn)('shape - at least one of required properties "'+e.join('", "')+'" is not present'),!1):t.every(function(e){var t;return-1===o.indexOf(e)?!0===r._vueTypes_isLoose||((0,s.warn)('shape - object is missing "'+e+'" property'),!1):(t=i[e],(0,s.validateType)(t,n[e]))}))}});return Object.defineProperty(t,"_vueTypes_isLoose",{enumerable:!1,writable:!0,value:!1}),Object.defineProperty(t,"loose",{get:function(){return this._vueTypes_isLoose=!0,this},enumerable:!1}),t}},o=r(),n=(Object.defineProperty(i,"sensibleDefaults",{enumerable:!1,set:function(e){!1===e?o={}:!0===e?o=r():(0,a.default)(e)&&(o=e)},get:function(){return o}}),i);t.default=n},Eb4R:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("U4oE"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},EboO:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("05KR"))),o=r(n("keX5")),a=r(n("2Z54")),r=(i.default.install=function(e,t){(0,a.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default)},i.default);t.default=r},Eekx:function(e,t,n){"use strict";n.r(t);var r,i=n("p/tm"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},Ep19:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var n="undefined"!=typeof window&&window.navigator.userAgent.toLowerCase(),r=n&&0<n.indexOf("msie 9.0");var i=function(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}("text,number,password,search,email,tel,url");function o(e){e.target.composing=!0}function a(e){e.target.composing&&(e.target.composing=!1,s(e.target,"input"))}function s(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function l(e){return e.directive("ant-input",{inserted:function(e,t,n){"textarea"!==n.tag&&!i(e.type)||t.modifiers&&t.modifiers.lazy||(e.addEventListener("compositionstart",o),e.addEventListener("compositionend",a),e.addEventListener("change",a),r&&(e.vmodel=!0))}})}r&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&s(e,"input")}),t.b={install:function(e){l(e)}}},EpBk:function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},EtYe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statisticsFeatures=function(e,t,n,r){var i,o={features:e,fields:t||[],fieldCaptions:n||[],fieldValues:[],fieldTypes:r};if(e&&e.length&&!n&&!t)for(var a in Object.assign({},e[0].properties,e[e.length-1].properties))o.fieldCaptions.push(a),o.fields.push(a);for(i in o.fields){var s,l=[];for(s in e){var u=e[s],c=o.fields[i],u=u.properties[c];l.push(u)}o.fieldValues.push(l)}return o}},ExA7:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},"F+2o":function(e,t,n){e.exports={default:n("2Nb0"),__esModule:!0}},"F/g1":function(e,t,n){"use strict";n.r(t);var r,i=n("HF0n");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},FGKw:function(e,t,n){"use strict";n.d(t,"b",function(){return A});var r=n("jo6Y"),d=n.n(r),r=n("YEIV"),i=n.n(r),r=n("QbLZ"),p=n.n(r),c=n("Sx0+"),r=n("TZE5"),o=n("6Qq3"),a=n("tIgm"),s=n("GKdC"),l=n("TSYQ"),f=n.n(l),y=n("K4mi"),l=n("m1cH"),h=n.n(l),u=n("bdgK"),m=n("o6Ky"),g=n("ewVk"),v=n("2qPA"),l=!("undefined"==typeof window||!window.document||!window.document.createElement),b="menuitem-overflowed",l=(l&&n("DN2a"),{name:"DOMWrap",mixins:[a.a],data:function(){return this.resizeObserver=null,this.mutationObserver=null,this.originalTotalWidth=0,this.overflowedItems=[],this.menuItemSizes=[],{lastVisibleIndex:void 0}},mounted:function(){var t=this;this.$nextTick(function(){var e;t.setChildrenWidthAndResize(),1===t.level&&"horizontal"===t.mode&&(e=t.$el)&&(t.resizeObserver=new u.a(function(e){e.forEach(t.setChildrenWidthAndResize)}),[].slice.call(e.children).concat(e).forEach(function(e){t.resizeObserver.observe(e)}),"undefined"!=typeof MutationObserver)&&(t.mutationObserver=new MutationObserver(function(){t.resizeObserver.disconnect(),[].slice.call(e.children).concat(e).forEach(function(e){t.resizeObserver.observe(e)}),t.setChildrenWidthAndResize()}),t.mutationObserver.observe(e,{attributes:!1,childList:!0,subTree:!1}))})},beforeDestroy:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect()},methods:{getMenuItemNodes:function(){var t=this.$props.prefixCls,e=this.$el;return e?[].slice.call(e.children).filter(function(e){return e.className.split(" ").indexOf(t+"-overflowed-submenu")<0}):[]},getOverflowedSubMenuItem:function(e,t,n){var r,i,o,a,s=this.$createElement,l=this.$props,u=l.overflowedIndicator,c=l.level,f=l.mode,h=l.prefixCls,l=l.theme;return 1!==c||"horizontal"!==f?null:(c=this.$slots.default[0],(f=Object(v.getPropsData)(c)).title,r=d()(f,["title"]),i=Object(v.getEvents)(c),f={},e=c=e+"-overflowed-indicator",0===t.length&&!0!==n?f={display:"none"}:n&&(f={visibility:"hidden",position:"absolute"},c+="-placeholder",e+="-placeholder"),n=l?h+"-"+l:"",o={},a={},y.g.props.forEach(function(e){void 0!==r[e]&&(o[e]=r[e])}),y.g.on.forEach(function(e){void 0!==i[e]&&(a[e]=i[e])}),l={props:p()({title:u,popupClassName:n},o,{eventKey:e,disabled:!1}),class:h+"-overflowed-submenu",key:c,style:f,on:a},s(m.a,l,[t]))},setChildrenWidthAndResize:function(){var e,t,n,r;"horizontal"===this.mode&&(e=this.$el)&&(t=e.children)&&0!==t.length&&(t=e.children[t.length-1],Object(y.i)(t,"display","inline-block"),(r=(n=this.getMenuItemNodes()).filter(function(e){return 0<=e.className.split(" ").indexOf(b)})).forEach(function(e){Object(y.i)(e,"display","inline-block")}),this.menuItemSizes=n.map(function(e){return Object(y.c)(e)}),r.forEach(function(e){Object(y.i)(e,"display","none")}),this.overflowedIndicatorWidth=Object(y.c)(e.children[e.children.length-1]),this.originalTotalWidth=this.menuItemSizes.reduce(function(e,t){return e+t},0),this.handleResize(),Object(y.i)(t,"display","none"))},handleResize:function(){var e,t,n,r,i=this;"horizontal"===this.mode&&(e=this.$el)&&(t=Object(y.c)(e),this.overflowedItems=[],r=void(n=0),this.originalTotalWidth>t+.5&&(r=-1,this.menuItemSizes.forEach(function(e){(n+=e)+i.overflowedIndicatorWidth<=t&&(r+=1)})),this.setState({lastVisibleIndex:r}))},renderChildren:function(a){var s=this,l=this.$data.lastVisibleIndex,u=Object(v.getClass)(this);return(a||[]).reduce(function(e,t,n){var r,i=t,o=Object(v.getPropsData)(t).eventKey;return"horizontal"===s.mode?(r=s.getOverflowedSubMenuItem(o,[]),void 0!==l&&-1!==u[s.prefixCls+"-root"]&&(l<n&&(i=Object(g.a)(t,{style:{display:"none"},props:{eventKey:o+"-hidden"},class:b})),n===l+1)&&(s.overflowedItems=a.slice(l+1).map(function(e){return Object(g.a)(e,{key:Object(v.getPropsData)(e).eventKey,props:{mode:"vertical-left"}})}),r=s.getOverflowedSubMenuItem(o,s.overflowedItems)),t=[].concat(h()(e),[r,i]),n===a.length-1&&t.push(s.getOverflowedSubMenuItem(o,[],!0)),t):[].concat(h()(e),[i])},[])}},render:function(){return(0,arguments[0])(this.$props.tag,{on:Object(v.getListeners)(this)},[this.renderChildren(this.$slots.default)])}}),_=(l.props={mode:r.a.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]),prefixCls:r.a.string,level:r.a.number,theme:r.a.string,overflowedIndicator:r.a.node,visible:r.a.bool,hiddenClassName:r.a.string,tag:r.a.string.def("div")},l);function x(e,t,n){var r=e.getState();e.setState({activeKey:p()({},r.activeKey,i()({},t,n))})}function w(e){return e.eventKey||"0-menu-"}function A(e,t){var r=t,i=e.eventKey,t=e.defaultActiveFirst,e=e.children;if(null!=r){var o=void 0;if(Object(y.e)(e,function(e,t){var n=e.componentOptions.propsData||{};e&&!n.disabled&&r===Object(y.a)(e,i,t)&&(o=!0)}),o)return r}return r=null,t&&Object(y.e)(e,function(e,t){var n=e.componentOptions.propsData||{};null==r&&e&&!n.disabled&&(r=Object(y.a)(e,i,t))}),r}n={name:"SubPopupMenu",props:Object(v.initDefaultProps)({prefixCls:r.a.string,openTransitionName:r.a.string,openAnimation:r.a.oneOfType([r.a.string,r.a.object]),openKeys:r.a.arrayOf(r.a.oneOfType([r.a.string,r.a.number])),visible:r.a.bool,parentMenu:r.a.object,eventKey:r.a.string,store:r.a.object,focusable:r.a.bool,multiple:r.a.bool,defaultActiveFirst:r.a.bool,activeKey:r.a.oneOfType([r.a.string,r.a.number]),selectedKeys:r.a.arrayOf(r.a.oneOfType([r.a.string,r.a.number])),defaultSelectedKeys:r.a.arrayOf(r.a.oneOfType([r.a.string,r.a.number])),defaultOpenKeys:r.a.arrayOf(r.a.oneOfType([r.a.string,r.a.number])),level:r.a.number,mode:r.a.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]),triggerSubMenuAction:r.a.oneOf(["click","hover"]),inlineIndent:r.a.oneOfType([r.a.number,r.a.string]),manualRef:r.a.func,itemIcon:r.a.any,expandIcon:r.a.any,overflowedIndicator:r.a.any,children:r.a.any.def([]),__propsSymbol__:r.a.any},{prefixCls:"rc-menu",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,manualRef:y.h}),mixins:[a.a],created:function(){var e=Object(v.getOptionProps)(this);this.prevProps=p()({},e),e.store.setState({activeKey:p()({},e.store.getState().activeKey,i()({},e.eventKey,A(e,e.activeKey)))}),this.instanceArray=[]},mounted:function(){this.manualRef&&this.manualRef(this)},updated:function(){var e=Object(v.getOptionProps)(this),t=this.prevProps,n="activeKey"in e?e.activeKey:e.store.getState().activeKey[w(e)],r=A(e,n);(r!==n||"activeKey"in t&&r!==A(t,t.activeKey))&&x(e.store,w(e),r),this.prevProps=p()({},e)},methods:{onKeyDown:function(t,e){var n,r=t.keyCode,i=void 0;return this.getFlatInstanceArray().forEach(function(e){e&&e.active&&e.onKeyDown&&(i=e.onKeyDown(t))}),i?1:(n=null,(n=r!==s.a.UP&&r!==s.a.DOWN?n:this.step(r===s.a.UP?-1:1))?(t.preventDefault(),x(this.$props.store,w(this.$props),n.eventKey),"function"==typeof e&&e(n),1):void 0)},onItemHover:function(e){var t=e.key,e=e.hover;x(this.$props.store,w(this.$props),e?t:null)},onDeselect:function(e){this.__emit("deselect",e)},onSelect:function(e){this.__emit("select",e)},onClick:function(e){this.__emit("click",e)},onOpenChange:function(e){this.__emit("openChange",e)},onDestroy:function(e){this.__emit("destroy",e)},getFlatInstanceArray:function(){return this.instanceArray},getOpenTransitionName:function(){return this.$props.openTransitionName},step:function(e){var t=this.getFlatInstanceArray(),n=this.$props.store.getState().activeKey[w(this.$props)],r=t.length;if(!r)return null;e<0&&(t=t.concat().reverse());var i=-1;if(t.every(function(e,t){return!e||e.eventKey!==n||(i=t,!1)}),this.defaultActiveFirst||-1===i||(e=t.slice(i,r-1)).length&&!e.every(function(e){return!!e.disabled})){var o=(i+1)%r,a=o;do{var s=t[a];if(s&&!s.disabled)return s}while((a=(a+1)%r)!==o);return null}},getIcon:function(e,t){var n,r;return e.$createElement?void 0!==(n=e[t])?n:e.$slots[t]||e.$scopedSlots[t]:void 0!==(n=Object(v.getPropsData)(e)[t])?n:(r=[],((e.componentOptions||{}).children||[]).forEach(function(e){e.data&&e.data.slot===t&&("template"===e.tag?r.push(e.children):r.push(e))}),r.length?r:void 0)},renderCommonMenuItem:function(e,t,n){var r,i,o,a,s,l=this;return void 0===e.tag?e:(a=this.$props.store.getState(),r=this.$props,i=Object(y.a)(e,r.eventKey,t),o=e.componentOptions.propsData||{},a=i===a.activeKey[w(this.$props)],o.disabled||(this.instanceArrayKeyIndexMap[i]=Object.keys(this.instanceArrayKeyIndexMap).length),s=Object(v.getEvents)(e),t={props:p()({mode:o.mode||r.mode,level:r.level,inlineIndent:r.inlineIndent,renderMenuItem:this.renderMenuItem,rootPrefixCls:r.prefixCls,index:t,parentMenu:r.parentMenu,manualRef:o.disabled?y.h:function(e,t){t&&(e=this.instanceArrayKeyIndexMap[e],this.instanceArray[e]=t)}.bind(this,i),eventKey:i,active:!o.disabled&&a,multiple:r.multiple,openTransitionName:this.getOpenTransitionName(),openAnimation:r.openAnimation,subMenuOpenDelay:r.subMenuOpenDelay,subMenuCloseDelay:r.subMenuCloseDelay,forceSubMenuRender:r.forceSubMenuRender,builtinPlacements:r.builtinPlacements,itemIcon:this.getIcon(e,"itemIcon")||this.getIcon(this,"itemIcon"),expandIcon:this.getIcon(e,"expandIcon")||this.getIcon(this,"expandIcon")},n),on:{click:function(e){(s.click||y.h)(e),l.onClick(e)},itemHover:this.onItemHover,openChange:this.onOpenChange,deselect:this.onDeselect,select:this.onSelect}},"inline"!==r.mode&&!Object(y.d)()||(t.props.triggerSubMenuAction="click"),Object(g.a)(e,t))},renderMenuItem:function(e,t,n){var r;return e?(r={openKeys:(r=this.$props.store.getState()).openKeys,selectedKeys:r.selectedKeys,triggerSubMenuAction:this.triggerSubMenuAction,isRootMenu:!1,subMenuKey:n},this.renderCommonMenuItem(e,t,r)):null}},render:function(){var n=this,e=arguments[0],t=d()(this.$props,[]),r=t.eventKey,i=t.prefixCls,o=t.visible,a=t.level,s=t.mode,l=t.theme,u=(this.instanceArray=[],this.instanceArrayKeyIndexMap={},f()(t.prefixCls,t.prefixCls+"-"+t.mode)),o={props:{tag:"ul",visible:o,prefixCls:i,level:a,mode:s,theme:l,overflowedIndicator:Object(v.getComponentFromProp)(this,"overflowedIndicator")},attrs:{role:t.role||"menu"},class:u,on:Object(c.a)(Object(v.getListeners)(this),["click"])};return t.focusable&&(o.attrs.tabIndex="0",o.on.keydown=this.onKeyDown),e(_,o,[t.children.map(function(e,t){return n.renderMenuItem(e,t,r||"0-menu-")})])}};t.a=Object(o.a)()(n)},FHWo:function(e,t,n){"use strict";n.r(t);var r,i=n("TTB2"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},FIiR:function(e,t,n){"use strict";n.r(t);var r,i=n("QwkK"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},FQGa:function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"c",function(){return l}),n.d(t,"a",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"f",function(){return f}),n.d(t,"e",function(){return h});var i=n("LPgQ"),o=n("wd/R"),a=n("aiEA"),t=n("J2iB"),r=n.n(t),s={validator:function(e){return"string"==typeof e||r()(e)||o.isMoment(e)}},l={validator:function(e){return!!Array.isArray(e)&&(0===e.length||-1===e.findIndex(function(e){return"string"!=typeof e})||-1===e.findIndex(function(e){return!r()(e)&&!o.isMoment(e)}))}},u={validator:function(e){return Array.isArray(e)?0===e.length||-1===e.findIndex(function(e){return"string"!=typeof e})||-1===e.findIndex(function(e){return!r()(e)&&!o.isMoment(e)}):"string"==typeof e||r()(e)||o.isMoment(e)}};function c(t,e,n,r){(Array.isArray(e)?e:[e]).forEach(function(e){e&&(r&&Object(a.a)(Object(i.a)(o)(e,r).isValid(),t,"When set `valueFormat`, `"+n+"` should provides invalidate string time. "),r||Object(a.a)(Object(i.a)(o).isMoment(e)&&e.isValid(),t,"`"+n+"` provides invalidate moment time. If you want to set empty value, use `null` instead."))})}var f=function(e,t){return Array.isArray(e)?e.map(function(e){return"string"==typeof e&&e?Object(i.a)(o)(e,t):e||null}):"string"==typeof e&&e?Object(i.a)(o)(e,t):e||null},h=function(e,t){return Array.isArray(e)?e.map(function(e){return Object(i.a)(o).isMoment(e)?e.format(t):e}):Object(i.a)(o).isMoment(e)?e.format(t):e}},FXEt:function(e,t,n){"use strict";n.r(t);var r,i=n("dXCY"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},FgxK:function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),l=n.n(r),r=n("YEIV"),u=n.n(r),r=n("jo6Y"),c=n.n(r),r=n("TZE5"),f=n("2qPA"),i={prefixCls:r.a.string,disabled:r.a.bool.def(!1),checkedChildren:r.a.any,unCheckedChildren:r.a.any,tabIndex:r.a.oneOfType([r.a.string,r.a.number]),checked:r.a.bool.def(!1),defaultChecked:r.a.bool.def(!1),autoFocus:r.a.bool.def(!1),loadingIcon:r.a.any},s={name:"VcSwitch",mixins:[n("tIgm").a],model:{prop:"checked",event:"change"},props:l()({},i,{prefixCls:i.prefixCls.def("rc-switch")}),data:function(){return{stateChecked:Object(f.hasProp)(this,"checked")?!!this.checked:!!this.defaultChecked}},watch:{checked:function(e){this.stateChecked=e}},mounted:function(){var n=this;this.$nextTick(function(){var e=n.autoFocus,t=n.disabled;e&&!t&&n.focus()})},methods:{setChecked:function(e,t){this.disabled||(Object(f.hasProp)(this,"checked")||(this.stateChecked=e),this.$emit("change",e,t))},handleClick:function(e){var t=!this.stateChecked;this.setChecked(t,e),this.$emit("click",t,e)},handleKeyDown:function(e){37===e.keyCode?this.setChecked(!1,e):39===e.keyCode&&this.setChecked(!0,e)},handleMouseUp:function(e){this.$refs.refSwitchNode&&this.$refs.refSwitchNode.blur(),this.$emit("mouseup",e)},focus:function(){this.$refs.refSwitchNode.focus()},blur:function(){this.$refs.refSwitchNode.blur()}},render:function(){var e,t=arguments[0],n=Object(f.getOptionProps)(this),r=n.prefixCls,i=n.disabled,o=n.loadingIcon,a=n.tabIndex,n=c()(n,["prefixCls","disabled","loadingIcon","tabIndex"]),s=this.stateChecked;e={},u()(e,r,!0),u()(e,r+"-checked",s),u()(e,r+"-disabled",i);return t("button",{props:l()({},n),on:l()({},Object(f.getListeners)(this),{keydown:this.handleKeyDown,click:this.handleClick,mouseup:this.handleMouseUp}),attrs:{type:"button",role:"switch","aria-checked":s,disabled:i,tabIndex:a},class:e,ref:"refSwitchNode"},[o,t("span",{class:r+"-inner"},[s?Object(f.getComponentFromProp)(this,"checkedChildren"):Object(f.getComponentFromProp)(this,"unCheckedChildren")])])}},h=n("qdSf"),d=n("DGO/"),o=n("TfX5"),a=n("2xRk"),p=n("aiEA"),y={name:"ASwitch",__ANT_SWITCH:!0,model:{prop:"checked",event:"change"},props:{prefixCls:r.a.string,size:r.a.oneOf(["small","default","large"]),disabled:r.a.bool,checkedChildren:r.a.any,unCheckedChildren:r.a.any,tabIndex:r.a.oneOfType([r.a.string,r.a.number]),checked:r.a.bool,defaultChecked:r.a.bool,autoFocus:r.a.bool,loading:r.a.bool},inject:{configProvider:{default:function(){return o.a}}},methods:{focus:function(){this.$refs.refSwitchNode.focus()},blur:function(){this.$refs.refSwitchNode.blur()}},created:function(){Object(p.a)(Object(f.default)(this,"checked")||!Object(f.default)(this,"value"),"Switch","`value` is not validate prop, do you mean `checked`?")},render:function(){var e=arguments[0],t=Object(f.getOptionProps)(this),n=t.prefixCls,r=t.size,i=t.loading,o=t.disabled,t=c()(t,["prefixCls","size","loading","disabled"]),n=(0,this.configProvider.getPrefixCls)("switch",n),r=(a={},u()(a,n+"-small","small"===r),u()(a,n+"-loading",i),a),a=i?e(d.default,{attrs:{type:"loading"},class:n+"-loading-icon"}):null,t={props:l()({},t,{prefixCls:n,loadingIcon:a,checkedChildren:Object(f.getComponentFromProp)(this,"checkedChildren"),unCheckedChildren:Object(f.getComponentFromProp)(this,"unCheckedChildren"),disabled:o||i}),on:Object(f.getListeners)(this),class:r,ref:"refSwitchNode"};return e(h.a,{attrs:{insertExtraNode:!0}},[e(s,t)])},install:function(e){e.use(a.default),e.component(y.name,y)}};t.default=y},FjAG:function(e,t,n){"use strict";function r(u){return function(e,t,n,r){c(t);var i=f(e),o=h(i),a=d(i),s=u?a-1:0,l=u?-1:1;if(n<2)for(;;){if(s in o){r=o[s],s+=l;break}if(s+=l,u?s<0:a<=s)throw p("Reduce of empty array with no initial value")}for(;u?0<=s:s<a;s+=l)s in o&&(r=t(r,o[s],s,i));return r}}var c=n("8HiI"),f=n("721z"),h=n("p5Ma"),d=n("tMNq"),p=TypeError;e.exports={left:r(!1),right:r(!0)}},Fk5u:function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE_Fk5u__},FkIU:function(e,t,n){"use strict";var r=n("++4Y"),n=n("eRwv");e.exports=r&&n(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},FlQf:function(e,t,n){"use strict";var r=n("ccE7")(!0);n("MPFp")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e=this._t,t=this._i;return t>=e.length?{value:void 0,done:!0}:(e=r(e,t),this._i+=e.length,{value:e,done:!1})})},FlRv:function(e,t,n){"use strict";var r=n("++4Y"),i=n("pVCk"),o=n("FkIU"),a=n("WxoH"),s=n("GTqx"),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",d="writable";t.f=r?o?function(e,t,n){var r;return a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]&&(r=c(e,t))&&r[d]&&(e[t]=n.value,n={configurable:(h in n?n:r)[h],enumerable:(f in n?n:r)[f],writable:!1}),u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Fnuy:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:true,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=e===1?"r":e===2?"n":e===3?"r":e===4?"t":"è";if(t==="w"||t==="W")n="a";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},FpHa:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},FqHY:function(e,t,n){"use strict";n=n("eE3R");e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},"Frs+":function(e,t,n){"use strict";n.r(t);var r,i=n("fRgz"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},Fsl0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this,n=t.rtlTranslate?t.translate:-t.translate,r=t.slidesGrid,i=t.snapGrid,o=t.params,a=t.activeIndex,s=t.realIndex,l=t.snapIndex,u=e;if(void 0===u){for(var c=0;c<r.length;c+=1)void 0!==r[c+1]?n>=r[c]&&n<r[c+1]-(r[c+1]-r[c])/2?u=c:n>=r[c]&&n<r[c+1]&&(u=c+1):n>=r[c]&&(u=c);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}e=0<=i.indexOf(n)?i.indexOf(n):(e=Math.min(o.slidesPerGroupSkip,u),e+Math.floor((u-e)/o.slidesPerGroup));e>=i.length&&(e=i.length-1);u===a?e!==l&&(t.snapIndex=e,t.emit("snapIndexChange")):(o=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10),(0,f.extend)(t,{snapIndex:e,realIndex:o,previousIndex:a,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),s!==o&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange"))};var f=n("cKS0")},Fwpn:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.setTheme=void 0,r(n("i7/w"))),o=r(n("qF08")),a=r(n("2Zn6")),s=n("nN7q"),l=n("e7LN");t.setTheme=function(t,e){var n=t=void 0===t?{}:t,n=("string"==typeof t?n=a.default.find(function(e){return e.label===t})||a.default[1]:n.componentBackground&&(n.collapseCardHeaderBg||(n.collapseCardHeaderBg=n.componentBackground),n.collapseCardBackground||(n.collapseCardBackground=n.componentBackground)),(0,s.dealWithTheme)(n)),n=Object.assign({},n.themeStyle);t&&("string"==typeof t||"componentBackground"in t)&&(n.background=n.componentBackground),o.default.$options.theme=n,e&&!0!==e.triggerEvent||o.default.$emit("change-theme",(0,l.objectWithoutProperties)(n,(e||{}).ignoreElements||[])),i.default.iclient?i.default.iclient.theme=n:i.default.iclient={theme:n}}},FyfS:function(e,t,n){e.exports={default:n("Rp86"),__esModule:!0}},"G/6Y":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("hT4P"))),o=r(n("2b9d")),a=r(n("2Z54")),r=(i.default.install=function(e,t){(0,a.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default)},i.default);t.default=r},G0Uy:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},G5Kn:function(e,t,n){"use strict";var r=n("11yv"),i=n("XFuk"),n=n("FlRv").f,o=r("unscopables"),a=Array.prototype;null==a[o]&&n(a,o,{configurable:!0,value:i(null)}),e.exports=function(e){a[o][e]=!0}},G6z8:function(e,t,n){var r=n("fR/l"),i=n("oCl/"),o=n("mTTR");e.exports=function(e){return r(e,o,i)}},G8Mo:function(e,t,n){var i=n("93I4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e))||"function"==typeof(n=e.valueOf)&&!i(r=n.call(e))||!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},GD9B:function(e,t,n){"use strict";n.r(t);var r,i=n("8siY");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},GHES:function(e,t,n){"use strict";function y(){return this}var m=n("nCzB"),g=n("m7zg"),v=n("jybJ"),r=n("N6FT"),b=n("JTf3"),_=n("qozo"),x=n("WLJ+"),w=n("JHvW"),A=n("ueY1"),S=n("8ODz"),C=n("WaP5"),i=n("11yv"),O=n("AoAp"),n=n("qjFr"),E=r.PROPER,M=r.CONFIGURABLE,P=n.IteratorPrototype,k=n.BUGGY_SAFARI_ITERATORS,T=i("iterator"),I="values";e.exports=function(e,t,n,r,i,o,a){_(n,t,r);function s(e){if(e===i&&d)return d;if(!k&&e in f)return f[e];switch(e){case"keys":case I:case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}}var l,u,r=t+" Iterator",c=!1,f=e.prototype,h=f[T]||f["@@iterator"]||i&&f[i],d=!k&&h||s(i),p="Array"==t&&f.entries||h;if(p&&(p=x(p.call(new e)))!==Object.prototype&&p.next&&(v||x(p)===P||(w?w(p,P):b(p[T])||C(p,T,y)),A(p,r,!0,!0),v)&&(O[r]=y),E&&i==I&&h&&h.name!==I&&(!v&&M?S(f,"name",I):(c=!0,d=function(){return g(h,this)})),i)if(l={values:s(I),keys:o?d:s("keys"),entries:s("entries")},a)for(u in l)!k&&!c&&u in f||C(f,u,l[u]);else m({target:t,proto:!0,forced:k||c},l);return v&&!a||f[T]===d||C(f,T,d,{name:i}),O[t]=d,l}},GI0h:function(e,t,n){"use strict";n=n("me6S")("span").classList,n=n&&n.constructor&&n.constructor.prototype;e.exports=n===Object.prototype?void 0:n},GKdC:function(e,t,n){"use strict";var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||r.F1<=t&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(r.ZERO<=e&&e<=r.NINE)return!0;if(r.NUM_ZERO<=e&&e<=r.NUM_MULTIPLY)return!0;if(r.A<=e&&e<=r.Z)return!0;if(-1!==window.navigation.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.a=r},GM6z:function(e,t,n){"use strict";var r=n("EJiy"),u=n.n(r),c=n("xURT"),r=n("PFWz"),f=n.n(r),h=n("1B3U"),o=0!==c.a.endEvents.length,a=["Webkit","Moz","O","ms"],s=["-webkit-","-moz-","-o-","ms-",""];function l(e,t){for(var n=window.getComputedStyle(e,null),r="",i=0;i<s.length&&!(r=n.getPropertyValue(s[i]+t));i++);return r}function d(e){var t,n,r,i;o&&(t=parseFloat(l(e,"transition-delay"))||0,i=parseFloat(l(e,"transition-duration"))||0,n=parseFloat(l(e,"animation-delay"))||0,r=parseFloat(l(e,"animation-duration"))||0,i=Math.max(i+t,r+n),e.rcEndAnimTimeout=setTimeout(function(){e.rcEndAnimTimeout=null,e.rcEndListener&&e.rcEndListener()},1e3*i+200))}function p(e){e.rcEndAnimTimeout&&(clearTimeout(e.rcEndAnimTimeout),e.rcEndAnimTimeout=null)}function i(t,e,n){var r=(a="object"===(void 0===e?"undefined":u()(e)))?e.name:e,i=a?e.active:e+"-active",o=n,a=void 0,s=void 0,l=f()(t);return n&&"[object Object]"===Object.prototype.toString.call(n)&&(o=n.end,a=n.start,s=n.active),t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(e){e&&e.target!==t||(t.rcAnimTimeout&&(Object(h.a)(t.rcAnimTimeout),t.rcAnimTimeout=null),p(t),l.remove(r),l.remove(i),c.a.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,o&&o())},c.a.addEndEventListener(t,t.rcEndListener),a&&a(),l.add(r),t.rcAnimTimeout=Object(h.b)(function(){t.rcAnimTimeout=null,l.add(r),l.add(i),s&&Object(h.b)(s,0),d(t)},30),{stop:function(){t.rcEndListener&&t.rcEndListener()}}}i.style=function(t,n,r){t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(e){e&&e.target!==t||(t.rcAnimTimeout&&(Object(h.a)(t.rcAnimTimeout),t.rcAnimTimeout=null),p(t),c.a.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,r&&r())},c.a.addEndEventListener(t,t.rcEndListener),t.rcAnimTimeout=Object(h.b)(function(){for(var e in n)n.hasOwnProperty(e)&&(t.style[e]=n[e]);t.rcAnimTimeout=null,d(t)},0)},i.setTransition=function(t,e,n){var r=e,i=n;void 0===n&&(i=r,r=""),r=r||"",a.forEach(function(e){t.style[e+"Transition"+r]=i})},i.isCssAnimationSupported=o,t.a=i},GNiM:function(e,t,n){var n=n("I01J"),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,n=n(function(e){var i=[];return 46===e.charCodeAt(0)&&i.push(""),e.replace(r,function(e,t,n,r){i.push(n?r.replace(o,"$1"):t||e)}),i});e.exports=n},GPT2:function(e,t,n){"use strict";n.r(t);var r=n("kvrn"),h=n.n(r),r=n("QbLZ"),d=n.n(r),r=n("YEIV"),p=n.n(r),y=n("qdSf"),m=n("DGO/"),r=n("uSu3"),g=n("2qPA"),i=n("TfX5"),n=/^[\u4e00-\u9fa5]{2}$/,o=n.test.bind(n),n=Object(r.default)();t.default={name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:n,inject:{configProvider:{default:function(){return i.a}}},data:function(){return{sizeMap:{large:"lg",small:"sm"},sLoading:!!this.loading,hasTwoCNChar:!1}},computed:{classes:function(){var e=this.prefixCls,t=this.type,n=this.shape,r=this.size,i=this.hasTwoCNChar,o=this.sLoading,a=this.ghost,s=this.block,l=this.icon,u=this.$slots,e=(0,this.configProvider.getPrefixCls)("btn",e),c=!1!==this.configProvider.autoInsertSpaceInButton,f="";switch(r){case"large":f="lg";break;case"small":f="sm"}r=o?"loading":l,l=Object(g.filterEmpty)(u.default),u={};return p()(u,""+e,!0),p()(u,e+"-"+t,t),p()(u,e+"-"+n,n),p()(u,e+"-"+f,f),p()(u,e+"-icon-only",0===l.length&&r),p()(u,e+"-loading",o),p()(u,e+"-background-ghost",a||"ghost"===t),p()(u,e+"-two-chinese-chars",i&&c),p()(u,e+"-block",s),u}},watch:{loading:function(e,t){var n=this;t&&"boolean"!=typeof t&&clearTimeout(this.delayTimeout),e&&"boolean"!=typeof e&&e.delay?this.delayTimeout=setTimeout(function(){n.sLoading=!!e},e.delay):this.sLoading=!!e}},mounted:function(){this.fixTwoCNChar()},updated:function(){this.fixTwoCNChar()},beforeDestroy:function(){this.delayTimeout&&clearTimeout(this.delayTimeout)},methods:{fixTwoCNChar:function(){var e=this.$refs.buttonNode;e&&(e=e.textContent,this.isNeedInserted()&&o(e)?this.hasTwoCNChar||(this.hasTwoCNChar=!0):this.hasTwoCNChar&&(this.hasTwoCNChar=!1))},handleClick:function(e){this.$data.sLoading||this.$emit("click",e)},insertSpace:function(e,t){var n,r=this.$createElement,t=t?" ":"";return"string"==typeof e.text?(n=e.text.trim(),r("span",[n=o(n)?n.split("").join(t):n])):e},isNeedInserted:function(){var e=this.$slots,t=this.type,n=Object(g.getComponentFromProp)(this,"icon");return e.default&&1===e.default.length&&!n&&"link"!==t}},render:function(){var t=this,e=arguments[0],n=this.type,r=this.htmlType,i=this.classes,o=this.disabled,a=this.handleClick,s=this.sLoading,l=this.$slots,u=this.$attrs,c=Object(g.getComponentFromProp)(this,"icon"),o={attrs:d()({},u,{disabled:o}),class:i,on:d()({},Object(g.getListeners)(this),{click:a})},i=s?"loading":c,a=i?e(m.default,{attrs:{type:i}}):null,s=Object(g.filterEmpty)(l.default),f=!1!==this.configProvider.autoInsertSpaceInButton,c=s.map(function(e){return t.insertSpace(e,t.isNeedInserted()&&f)});return void 0!==u.href?e("a",h()([o,{ref:"buttonNode"}]),[a,c]):(i=e("button",h()([o,{ref:"buttonNode",attrs:{type:r||"button"}}]),[a,c]),"link"===n?i:e(y.a,[i]))}}},GTqx:function(e,t,n){"use strict";var r=n("ms20"),i=n("bT0D");e.exports=function(e){e=r(e,"string");return i(e)?e:e+""}},GVkW:function(e,t,n){"use strict";var r=n("nCzB"),i=n("rt8w"),o=n("fKql").f,a=n("c3MK"),s=n("qzpy"),l=n("OU4x"),u=n("XaNE"),c=n("/TZh"),n=n("jybJ"),f=i("".endsWith),h=i("".slice),d=Math.min,i=c("endsWith");r({target:"String",proto:!0,forced:!!(n||i||!(c=o(String.prototype,"endsWith"))||c.writable)&&!i},{endsWith:function(e){var t=s(u(this)),n=(l(e),1<arguments.length?arguments[1]:void 0),r=t.length,n=void 0===n?r:d(a(n),r),r=s(e);return f?f(t,r,n):h(t,n-r.length,n)===r}})},GYfH:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("j/f9"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},GgKt:function(e,t,n){"use strict";n=n("eE3R");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},Gi0A:function(e,t,n){var r=n("QqLw"),i=n("ExA7");e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},GlvM:function(e,t,n){"use strict";n.r(t);var r,i=n("LU8/"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},GoyQ:function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},Grxt:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("8Wwx"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},"Gt+Y":function(e,t,n){"use strict";n.r(t);var r,i=n("D1be"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},GxTi:function(e,t,n){"use strict";var r=n("Ks5W"),i=n("KLK4"),o=n("JTf3"),a=n("mGb/"),s=n("sNJV"),l=n("11yv"),u=n("vTDQ"),c=n("dAmL"),f=n("jybJ"),h=n("aNIs"),d=i&&i.prototype,p=l("species"),y=!1,m=o(r.PromiseRejectionEvent),n=a("Promise",function(){var e=s(i),t=e!==String(i);if(!t&&66===h)return!0;if(f&&(!d.catch||!d.finally))return!0;if(!h||h<51||!/native code/.test(e)){var e=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((e.constructor={})[p]=n,!(y=e.then(function(){})instanceof n))return!0}return!t&&(u||c)&&!m});e.exports={CONSTRUCTOR:n,REJECTION_EVENT:m,SUBCLASSING:y}},Gytx:function(e,t){e.exports=function(e,t,n,r){if(void 0!==(u=n?n.call(r,e,t):void 0))return!!u;if(e!==t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),s=0;s<i.length;s++){var l=i[s];if(!a(l))return!1;var u,c=e[l],f=t[l];if(!1===(u=n?n.call(r,c,f,l):void 0)||void 0===u&&c!==f)return!1}}return!0}},Gywb:function(e,t,n){"use strict";n=n("eRwv");e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},H7XF:function(e,t,n){"use strict";t.byteLength=function(e){var e=c(e),t=e[0],e=e[1];return 3*(t+e)/4-e},t.toByteArray=function(e){var t,n,r=c(e),i=r[0],r=r[1],o=new u(function(e,t){return 3*(e+t)/4-t}(i,r)),a=0,s=0<r?i-4:i;for(n=0;n<s;n+=4)t=l[e.charCodeAt(n)]<<18|l[e.charCodeAt(n+1)]<<12|l[e.charCodeAt(n+2)]<<6|l[e.charCodeAt(n+3)],o[a++]=t>>16&255,o[a++]=t>>8&255,o[a++]=255&t;2===r&&(t=l[e.charCodeAt(n)]<<2|l[e.charCodeAt(n+1)]>>4,o[a++]=255&t);1===r&&(t=l[e.charCodeAt(n)]<<10|l[e.charCodeAt(n+1)]<<4|l[e.charCodeAt(n+2)]>>2,o[a++]=t>>8&255,o[a++]=255&t);return o},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,i=[],o=0,a=n-r;o<a;o+=16383)i.push(function(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(function(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}(r));return i.join("")}(e,o,a<o+16383?a:o+16383));1==r?(t=e[n-1],i.push(s[t>>2]+s[t<<4&63]+"==")):2==r&&(t=(e[n-2]<<8)+e[n-1],i.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"="));return i.join("")};for(var s=[],l=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i<o;++i)s[i]=r[i],l[r.charCodeAt(i)]=i;function c(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("="),t=(e=-1===e?t:e)===t?0:4-e%4;return[e,t]}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},H8ED:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function i(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function t(e,t,n){var r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};if(n==="m")return t?"хвіліна":"хвіліну";else if(n==="h")return t?"гадзіна":"гадзіну";else return e+" "+i(r[n],+e)}var n;e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){if(e<4)return"ночы";else if(e<12)return"раніцы";else if(e<17)return"дня";else return"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return(e%10===2||e%10===3)&&e%100!==12&&e%100!==13?e+"-і":e+"-ы";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},H8j4:function(e,t,n){var i=n("QkVE");e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},H8qQ:function(e,t,n){"use strict";n.r(t),n.d(t,"SiderProps",function(){return l});var r,i=n("YEIV"),u=n.n(i),i=n("TSYQ"),c=n.n(i),i=n("TZE5"),f=n("2qPA"),o=n("tIgm"),h=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},a=n("TfX5"),d=n("DGO/"),s=("undefined"!=typeof window&&(window.matchMedia=window.matchMedia||function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),{xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"}),l={prefixCls:i.a.string,collapsible:i.a.bool,collapsed:i.a.bool,defaultCollapsed:i.a.bool,reverseArrow:i.a.bool,zeroWidthTriggerStyle:i.a.object,trigger:i.a.any,width:i.a.oneOfType([i.a.number,i.a.string]),collapsedWidth:i.a.oneOfType([i.a.number,i.a.string]),breakpoint:i.a.oneOf(["xs","sm","md","lg","xl","xxl"]),theme:i.a.oneOf(["light","dark"]).def("dark")},p=(r=0,function(){return""+(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"")+(r+=1)});t.default={name:"ALayoutSider",__ANT_LAYOUT_SIDER:!0,mixins:[o.a],model:{prop:"collapsed",event:"collapse"},props:Object(f.initDefaultProps)(l,{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),data:function(){this.uniqueId=p("ant-sider-");var e=void 0,t=("undefined"!=typeof window&&(e=window.matchMedia),Object(f.getOptionProps)(this));e&&t.breakpoint&&t.breakpoint in s&&(this.mql=e("(max-width: "+s[t.breakpoint]+")"));return{sCollapsed:"collapsed"in t?t.collapsed:t.defaultCollapsed,below:!1,belowShow:!1}},provide:function(){return{layoutSiderContext:this}},inject:{siderHook:{default:function(){return{}}},configProvider:{default:function(){return a.a}}},watch:{collapsed:function(e){this.setState({sCollapsed:e})}},mounted:function(){var e=this;this.$nextTick(function(){e.mql&&(e.mql.addListener(e.responsiveHandler),e.responsiveHandler(e.mql)),e.siderHook.addSider&&e.siderHook.addSider(e.uniqueId)})},beforeDestroy:function(){this.mql&&this.mql.removeListener(this.responsiveHandler),this.siderHook.removeSider&&this.siderHook.removeSider(this.uniqueId)},methods:{responsiveHandler:function(e){this.setState({below:e.matches}),this.$emit("breakpoint",e.matches),this.sCollapsed!==e.matches&&this.setCollapsed(e.matches,"responsive")},setCollapsed:function(e,t){Object(f.hasProp)(this,"collapsed")||this.setState({sCollapsed:e}),this.$emit("collapse",e,t)},toggle:function(){var e=!this.sCollapsed;this.setCollapsed(e,"clickTrigger")},belowShowChange:function(){this.setState({belowShow:!this.belowShow})}},render:function(){var e=arguments[0],t=Object(f.getOptionProps)(this),n=t.prefixCls,r=t.theme,i=t.collapsible,o=t.reverseArrow,a=t.width,s=t.collapsedWidth,t=t.zeroWidthTriggerStyle,n=(0,this.configProvider.getPrefixCls)("layout-sider",n),l=Object(f.getComponentFromProp)(this,"trigger"),a=this.sCollapsed?s:a,a=h(a)?a+"px":String(a),s=0===parseFloat(String(s||0))?e("span",{on:{click:this.toggle},class:n+"-zero-width-trigger "+n+"-zero-width-trigger-"+(o?"right":"left"),style:t},[e(d.default,{attrs:{type:"bars"}})]):null,t={expanded:e(d.default,o?{attrs:{type:"right"}}:{attrs:{type:"left"}}),collapsed:e(d.default,o?{attrs:{type:"left"}}:{attrs:{type:"right"}})},o=this.sCollapsed?"collapsed":"expanded",t=null!==l?s||e("div",{class:n+"-trigger",on:{click:this.toggle},style:{width:a}},[l||t[o]]):null,o={flex:"0 0 "+a,maxWidth:a,minWidth:a,width:a},l=c()(n,n+"-"+r,(r={},u()(r,n+"-collapsed",!!this.sCollapsed),u()(r,n+"-has-trigger",i&&null!==l&&!s),u()(r,n+"-below",!!this.below),u()(r,n+"-zero-width",0===parseFloat(a)),r));return e("aside",{on:Object(f.getListeners)(this),class:l,style:o},[e("div",{class:n+"-children"},[this.$slots.default]),i||this.below&&s?t:null])}}},HCjh:function(e,t,n){"use strict";function s(e){return(e=(e=null!=e?e.type||e:null)&&e.toString().match(a))&&e[1]}function l(e){return null==e?null:(e=e.constructor.toString().match(a))&&e[1]}function u(e){return"[object Function]"===Object.prototype.toString.call(e)}function r(e){Object.defineProperty(e,"def",{value:function(e){return void 0===e&&void 0===this.default?this.default=void 0:u(e)||d(this,e)?this.default=h(e)||(0,c.default)(e)?function(){return e}:e:p(this._vueTypes_name+' - invalid default value: "'+e+'"',e),this},enumerable:!1,writable:!1})}function i(e){Object.defineProperty(e,"isRequired",{get:function(){return this.required=!0,this},enumerable:!1})}var o=n("TqRt"),c=(Object.defineProperty(t,"__esModule",{value:!0}),t.withRequired=t.withDefault=t.warn=t.validateType=t.toType=t.isInteger=t.isFunction=t.isArray=t.hasOwn=t.has=t.getType=t.getNativeType=void 0,o(n("zZPE"))),f=Object.prototype.hasOwnProperty,a=(t.hasOwn=f,/^\s*function (\w+)/),o=(t.getType=s,t.getNativeType=l,t.has=function(e,t){return f.call(e,t)},Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}),h=(t.isInteger=o,Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}),d=(t.isArray=h,t.isFunction=u,t.withDefault=r,t.withRequired=i,t.toType=function(e,t){return Object.defineProperty(t,"_vueTypes_name",{enumerable:!1,writable:!1,value:e}),i(t),r(t),u(t.validator)&&(t.validator=t.validator.bind(t)),t},function t(e,n,r){void 0===r&&(r=!1);var i,o=e,a=!0,e=(o=(0,c.default)(e)?o:{type:e})._vueTypes_name?o._vueTypes_name+" - ":"";return f.call(o,"type")&&null!==o.type&&(h(o.type)?(a=o.type.some(function(e){return t(e,n,!0)}),i=o.type.map(s).join(" or ")):a="Array"===(i=s(o))?h(n):"Object"===i?(0,c.default)(n):"String"===i||"Number"===i||"Boolean"===i||"Function"===i?l(n)===i:n instanceof o.type),a?(f.call(o,"validator")&&u(o.validator)&&((a=o.validator(n))||!1!==r||p(e+"custom validation failed")),a):(!1===r&&p(e+'value "'+n+'" should be of type "'+i+'"'),!1)}),p=(t.validateType=d,function(){});t.warn=p},HF0n:function(e,t,n){"use strict";n.r(t);var r,i=n("YIvg"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},HOxn:function(e,t,n){n=n("Cwc5")(n("Kz5y"),"Promise");e.exports=n},HP3h:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},s=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},l={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(a){return function(e,t,n,r){var i=s(e),o=l[a][s(e)];if(i===2)o=o[t?0:1];return o.replace(/%d/i,e)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],i;e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){if(e<12)return"ص";else return"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},HRl5:function(e,t,n){"use strict";var r=n("TZE5");t.a=function(){return{trigger:r.a.array.def(["hover"]),overlay:r.a.any,visible:r.a.bool,disabled:r.a.bool,align:r.a.object,getPopupContainer:r.a.func,prefixCls:r.a.string,transitionName:r.a.string,placement:r.a.oneOf(["topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight"]),overlayClassName:r.a.string,overlayStyle:r.a.object,forceRender:r.a.bool,mouseEnterDelay:r.a.number,mouseLeaveDelay:r.a.number,openClassName:r.a.string,minOverlayWidthMatchTrigger:r.a.bool}}},"HTC/":function(e,t,n){"use strict";var r=n("WxoH");e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},HTGo:function(e,t,n){"use strict";n.r(t),n.d(t,"Tree",function(){return a}),n.d(t,"TreeNode",function(){return y.a});var r=n("YEIV"),s=n.n(r),r=n("m1cH"),u=n.n(r),r=n("QbLZ"),c=n.n(r),r=n("TZE5"),i=n("TSYQ"),l=n.n(i),i=n("2W6z"),f=n.n(i),h=n("2qPA"),d=n("ewVk"),i=n("tIgm"),o=n("WMEv"),p=n("yaTQ");var a={name:"Tree",mixins:[i.a],props:Object(h.initDefaultProps)({prefixCls:r.a.string,tabIndex:r.a.oneOfType([r.a.string,r.a.number]),children:r.a.any,treeData:r.a.array,showLine:r.a.bool,showIcon:r.a.bool,icon:r.a.oneOfType([r.a.object,r.a.func]),focusable:r.a.bool,selectable:r.a.bool,disabled:r.a.bool,multiple:r.a.bool,checkable:r.a.oneOfType([r.a.object,r.a.bool]),checkStrictly:r.a.bool,draggable:r.a.bool,defaultExpandParent:r.a.bool,autoExpandParent:r.a.bool,defaultExpandAll:r.a.bool,defaultExpandedKeys:r.a.array,expandedKeys:r.a.array,defaultCheckedKeys:r.a.array,checkedKeys:r.a.oneOfType([r.a.array,r.a.object]),defaultSelectedKeys:r.a.array,selectedKeys:r.a.array,loadData:r.a.func,loadedKeys:r.a.array,filterTreeNode:r.a.func,openTransitionName:r.a.string,openAnimation:r.a.oneOfType([r.a.string,r.a.object]),switcherIcon:r.a.any,_propsSymbol:r.a.any},{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]}),data:function(){f()(this.$props.__propsSymbol__,"must pass __propsSymbol__"),f()(this.$props.children,"please use children prop replace slots.default"),this.needSyncKeys={},this.domTreeNodes={};var e={_posEntities:new Map,_keyEntities:new Map,_expandedKeys:[],_selectedKeys:[],_checkedKeys:[],_halfCheckedKeys:[],_loadedKeys:[],_loadingKeys:[],_treeNode:[],_prevProps:null,_dragOverNodeKey:"",_dropPosition:null,_dragNodesKeys:[]};return c()({},e,this.getDerivedState(Object(h.getOptionProps)(this),e))},provide:function(){return{vcTree:this}},watch:c()({},function(e){var t={};return(0<arguments.length&&void 0!==e?e:[]).forEach(function(e){t[e]=function(){this.needSyncKeys[e]=!0}}),t}(["treeData","children","expandedKeys","autoExpandParent","selectedKeys","checkedKeys","loadedKeys"]),{__propsSymbol__:function(){this.setState(this.getDerivedState(Object(h.getOptionProps)(this),this.$data)),this.needSyncKeys={}}}),methods:{getDerivedState:function(t,e){var n=e._prevProps,r={_prevProps:c()({},t)},i=this;function o(e){return!n&&e in t||n&&i.needSyncKeys[e]}var a,s=null,l=(o("treeData")?s=Object(p.g)(this.$createElement,t.treeData):o("children")&&(s=t.children),s&&(r._treeNode=s,l=Object(p.h)(s),r._keyEntities=l.keyEntities),r._keyEntities||e._keyEntities);return o("expandedKeys")||n&&o("autoExpandParent")?r._expandedKeys=t.autoExpandParent||!n&&t.defaultExpandParent?Object(p.f)(t.expandedKeys,l):t.expandedKeys:!n&&t.defaultExpandAll?r._expandedKeys=[].concat(u()(l.keys())):!n&&t.defaultExpandedKeys&&(r._expandedKeys=t.autoExpandParent||t.defaultExpandParent?Object(p.f)(t.defaultExpandedKeys,l):t.defaultExpandedKeys),t.selectable&&(o("selectedKeys")?r._selectedKeys=Object(p.d)(t.selectedKeys,t):!n&&t.defaultSelectedKeys&&(r._selectedKeys=Object(p.d)(t.defaultSelectedKeys,t))),t.checkable&&(a=void 0,o("checkedKeys")?a=Object(p.m)(t.checkedKeys)||{}:!n&&t.defaultCheckedKeys?a=Object(p.m)(t.defaultCheckedKeys)||{}:s&&(a=Object(p.m)(t.checkedKeys)||{checkedKeys:e._checkedKeys,halfCheckedKeys:e._halfCheckedKeys}),a)&&(a=void 0===(e=(s=a).checkedKeys)?[]:e,s=void 0===(e=s.halfCheckedKeys)?[]:e,t.checkStrictly||(a=(e=Object(p.e)(a,!0,l)).checkedKeys,s=e.halfCheckedKeys),r._checkedKeys=a,r._halfCheckedKeys=s),o("loadedKeys")&&(r._loadedKeys=t.loadedKeys),r},onNodeDragStart:function(e,t){var n=this.$data._expandedKeys,r=t.eventKey,i=Object(h.getSlots)(t).default;this.dragNode=t,this.setState({_dragNodesKeys:Object(p.i)("function"==typeof i?i():i,t),_expandedKeys:Object(p.b)(n,r)}),this.__emit("dragstart",{event:e,node:t})},onNodeDragEnter:function(t,n){var e,r=this,i=this.$data._expandedKeys,o=n.pos,a=n.eventKey;this.dragNode&&n.$refs.selectHandle&&(e=Object(p.c)(t,n),this.dragNode.eventKey===a&&0===e?this.setState({_dragOverNodeKey:"",_dropPosition:null}):setTimeout(function(){r.setState({_dragOverNodeKey:a,_dropPosition:e}),r.delayedDragEnterLogic||(r.delayedDragEnterLogic={}),Object.keys(r.delayedDragEnterLogic).forEach(function(e){clearTimeout(r.delayedDragEnterLogic[e])}),r.delayedDragEnterLogic[o]=setTimeout(function(){var e=Object(p.a)(i,a);Object(h.hasProp)(r,"expandedKeys")||r.setState({_expandedKeys:e}),r.__emit("dragenter",{event:t,node:n,expandedKeys:e})},400)},0))},onNodeDragOver:function(e,t){var n=t.eventKey,r=this.$data,i=r._dragOverNodeKey,r=r._dropPosition;if(this.dragNode&&n===i&&t.$refs.selectHandle){n=Object(p.c)(e,t);if(n===r)return;this.setState({_dropPosition:n})}this.__emit("dragover",{event:e,node:t})},onNodeDragLeave:function(e,t){this.setState({_dragOverNodeKey:""}),this.__emit("dragleave",{event:e,node:t})},onNodeDragEnd:function(e,t){this.setState({_dragOverNodeKey:""}),this.__emit("dragend",{event:e,node:t}),this.dragNode=null},onNodeDrop:function(e,t){var n=this.$data,r=n._dragNodesKeys,r=void 0===r?[]:r,n=n._dropPosition,i=t.eventKey,o=t.pos;this.setState({_dragOverNodeKey:""}),-1!==r.indexOf(i)?f()(!1,"Can not drop to dragNode(include it's children node)"):(i=Object(p.n)(o),o={event:e,node:t,dragNode:this.dragNode,dragNodesKeys:r.slice(),dropPosition:n+Number(i[i.length-1]),dropToGap:!1},0!==n&&(o.dropToGap=!0),this.__emit("drop",o),this.dragNode=null)},onNodeClick:function(e,t){this.__emit("click",e,t)},onNodeDoubleClick:function(e,t){this.__emit("dblclick",e,t)},onNodeSelect:function(e,t){var n=this.$data._selectedKeys,r=this.$data._keyEntities,i=this.$props.multiple,o=Object(h.getOptionProps)(t),a=o.selected,o=o.eventKey,a=!a,i=(n=a?i?Object(p.a)(n,o):[o]:Object(p.b)(n,o)).map(function(e){e=r.get(e);return e?e.node:null}).filter(function(e){return e}),o=(this.setUncontrolledState({_selectedKeys:n}),{event:"select",selected:a,node:t,selectedNodes:i,nativeEvent:e});this.__emit("update:selectedKeys",n),this.__emit("select",n,o)},onNodeCheck:function(e,t,n){var r=this.$data,i=r._keyEntities,o=r._checkedKeys,r=r._halfCheckedKeys,a=this.$props.checkStrictly,s=Object(h.getOptionProps)(t).eventKey,l=void 0,u={event:"check",node:t,checked:n,nativeEvent:e};a?(l={checked:t=(n?Object(p.a):Object(p.b))(o,s),halfChecked:Object(p.b)(r,s)},u.checkedNodes=t.map(function(e){return i.get(e)}).filter(function(e){return e}).map(function(e){return e.node}),this.setUncontrolledState({_checkedKeys:t})):(a=(e=Object(p.e)([s],n,i,{checkedKeys:o,halfCheckedKeys:r})).checkedKeys,t=e.halfCheckedKeys,l=a,u.checkedNodes=[],u.checkedNodesPositions=[],u.halfCheckedKeys=t,a.forEach(function(e){var t,e=i.get(e);e&&(t=e.node,e=e.pos,u.checkedNodes.push(t),u.checkedNodesPositions.push({node:t,pos:e}))}),this.setUncontrolledState({_checkedKeys:a,_halfCheckedKeys:t})),this.__emit("check",l,u)},onNodeLoad:function(o){var a=this;return new Promise(function(i){a.setState(function(e){var t=e._loadedKeys,t=void 0===t?[]:t,e=e._loadingKeys,e=void 0===e?[]:e,n=a.$props.loadData,r=Object(h.getOptionProps)(o).eventKey;return n&&-1===t.indexOf(r)&&-1===e.indexOf(r)?(n(o).then(function(){var e=a.$data,t=e._loadedKeys,e=e._loadingKeys,t=Object(p.a)(t,r),e=Object(p.b)(e,r);a.__emit("load",t,{event:"load",node:o}),a.setUncontrolledState({_loadedKeys:t}),a.setState({_loadingKeys:e}),i()}),{_loadingKeys:Object(p.a)(e,r)}):{}})})},onNodeExpand:function(e,t){var n=this,r=this.$data._expandedKeys,i=this.$props.loadData,o=Object(h.getOptionProps)(t),a=o.eventKey,o=o.expanded,s=r.indexOf(a),l=!o;return f()(o&&-1!==s||!o&&-1===s,"Expand state not sync with index check"),r=(l?Object(p.a):Object(p.b))(r,a),this.setUncontrolledState({_expandedKeys:r}),this.__emit("expand",r,{node:t,expanded:l,nativeEvent:e}),this.__emit("update:expandedKeys",r),l&&i&&(o=this.onNodeLoad(t))?o.then(function(){n.setUncontrolledState({_expandedKeys:r})}):null},onNodeMouseEnter:function(e,t){this.__emit("mouseenter",{event:e,node:t})},onNodeMouseLeave:function(e,t){this.__emit("mouseleave",{event:e,node:t})},onNodeContextMenu:function(e,t){e.preventDefault(),this.__emit("rightClick",{event:e,node:t})},setUncontrolledState:function(t){var n=!1,r={},i=Object(h.getOptionProps)(this);Object.keys(t).forEach(function(e){e.replace("_","")in i||(n=!0,r[e]=t[e])}),n&&this.setState(r)},registerTreeNode:function(e,t){t?this.domTreeNodes[e]=t:delete this.domTreeNodes[e]},isKeyChecked:function(e){var t=this.$data._checkedKeys;return-1!==(void 0===t?[]:t).indexOf(e)},renderTreeNode:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,r=this.$data,i=r._keyEntities,o=r._expandedKeys,o=void 0===o?[]:o,a=r._selectedKeys,a=void 0===a?[]:a,s=r._halfCheckedKeys,s=void 0===s?[]:s,l=r._loadedKeys,l=void 0===l?[]:l,u=r._loadingKeys,u=void 0===u?[]:u,c=r._dragOverNodeKey,r=r._dropPosition,n=Object(p.k)(n,t),t=e.key;return i.get(t=t||null!=t?t:n)?Object(d.a)(e,{props:{eventKey:t,expanded:-1!==o.indexOf(t),selected:-1!==a.indexOf(t),loaded:-1!==l.indexOf(t),loading:-1!==u.indexOf(t),checked:this.isKeyChecked(t),halfChecked:-1!==s.indexOf(t),pos:n,dragOver:c===t&&0===r,dragOverGapTop:c===t&&-1===r,dragOverGapBottom:c===t&&1===r},key:t}):(Object(p.o)(),null)}},render:function(){var n=this,e=arguments[0],t=this.$data._treeNode,r=this.$props,i=r.prefixCls,o=r.focusable,a=r.showLine,r=r.tabIndex,r=void 0===r?0:r;return e("ul",{class:l()(i,s()({},i+"-show-line",a)),attrs:{role:"tree",unselectable:"on",tabIndex:o?r:null}},[Object(p.l)(t,function(e,t){return n.renderTreeNode(e,t)})])}},i=Object(o.a)(a),y=n("zdGa");a.TreeNode=y.a,i.TreeNode=y.a,t.default=i},HXN9:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=(Object.defineProperty(t,"__esModule",{value:!0}),r(n("d0bx"))),o=(t.generate=i.default,{red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"}),a=(t.presetPrimaryColors=o,{}),r=(t.presetPalettes=a,Object.keys(o).forEach(function(e){a[e]=i.default(o[e]),a[e].primary=a[e][5]}),a.red),n=(t.red=r,a.volcano),r=(t.volcano=n,a.gold),n=(t.gold=r,a.orange),r=(t.orange=n,a.yellow),n=(t.yellow=r,a.lime),r=(t.lime=n,a.green),n=(t.green=r,a.cyan),r=(t.cyan=n,a.blue),n=(t.blue=r,a.geekblue),r=(t.geekblue=n,a.purple),n=(t.purple=r,a.magenta),r=(t.magenta=n,a.grey);t.grey=r},HYap:function(e,t,n){"use strict";n.r(t);var r,i=n("Yux6"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},Hd2G:function(e,t,n){"use strict";n.r(t);var r,i=n("ZJUq"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},Hnr6:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.buttonTypes=void 0,r(n("GPT2"))),o=r(n("uSu3")),a=r(n("ET/Y")),s=r(n("TFue")),r=r(n("WlrG")),n=Object.assign(Object.assign({},(0,o.default)()),{size:a.default.oneOf(["small","large","default","middle"])}),o=(t.buttonTypes=n,{name:"SmButton",__ANT_BUTTON:!0,defaultComponent:i.default,mixins:[s.default,r.default],inheritAttrs:!1,props:n,computed:{extralProps:function(){return{size:"middle"===this.size?void 0:this.size}},componentClass:function(){return{"sm-component-btn-md":"middle"===this.size}}}});t.default=o},"Hox/":function(e,t,n){"use strict";n.r(t);var r,i=n("Eekx");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},Hsns:function(e,t,n){var r=n("93I4"),i=n("5T2Y").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},Hvzi:function(e,t){e.exports=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e}},I01J:function(e,t,n){var r=n("44Ds");e.exports=function(e){var t=(e=r(e,function(e){return 500===t.size&&t.clear(),e})).cache;return e}},I0IZ:function(e,t,n){"use strict";n.r(t);var r,i=n("PEEU");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},IBc5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return-this.snapGrid[0]}},IBtZ:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,function(e,t,n){return n==="ი"?t+"ში":t+n+"ში"})},past:function(e){if(/(წამი|წუთი|საათი|დღე|თვე)/.test(e))return e.replace(/(ი|ე)$/,"ის წინ");if(/წელი/.test(e))return e.replace(/წელი$/,"წლის წინ");return e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){if(e===0)return e;if(e===1)return e+"-ლი";if(e<20||e<=100&&e%20===0||e%100===0)return"მე-"+e;return e+"-ე"},week:{dow:1,doy:7}})}(n("wd/R"))},"IDX/":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("/Rr7"))),o=r(n("U+t4")),a=r(n("w1YM")),s=r(n("YGmK")),l=r(n("gtyG")),u=r(n("BYqR")),r=r(n("l9MX")),n={slideTo:i.default,slideToLoop:o.default,slideNext:a.default,slidePrev:s.default,slideReset:l.default,slideToClosest:u.default,slideToClickedSlide:r.default};t.default=n},IGIO:function(n,e,r){"use strict";!function(e){var t=r("ba8b");n.exports=void 0!==e&&"process"==t(e)}.call(this,r("8oxB"))},II3L:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("TFue"))),o=r(n("BhAg")),r=r(n("UJ+e")),n={name:"SmText",mixins:[i.default,o.default,r.default],props:{fontStyle:{type:Object},title:{type:String},href:{type:String,default:""},target:{type:String,default:"_self"}},data:function(){return{finalValue:this.title}},computed:{customStyle:function(){var e,t=Object.assign({},this.fontStyle);return t.textAlign&&!t.justifyContent&&(e=t.textAlign,t.justifyContent="left"===e?"flex-start":"right"===e?"flex-end":"center",delete t.textAlign),t}},watch:{title:function(e){this.finalValue=e}},beforeDestroy:function(){this.restService&&this.restService.remove("getdatasucceeded")},methods:{timing:function(){this.getData()}}};t.default=n},"IL+x":function(e,t,n){"use strict";var r=String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},IP1Z:function(e,t,n){"use strict";var r=n("2faE"),i=n("rr1i");e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},IX3V:function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},IbFF:function(e,t,n){"use strict";n.r(t),n.d(t,"TreeProps",function(){return u});var r=n("jo6Y"),d=n.n(r),r=n("QbLZ"),p=n.n(r),r=n("YEIV"),f=n.n(r),r=n("2W6z"),i=n.n(r),h=n("fRzl"),r=n("NZOc"),o=n("TZE5"),y=n("2qPA"),s=n("ewVk"),a=n("TfX5"),l=n("DGO/");function u(){return{showLine:o.a.bool,multiple:o.a.bool,autoExpandParent:o.a.bool,checkStrictly:o.a.bool,checkable:o.a.bool,disabled:o.a.bool,defaultExpandAll:o.a.bool,defaultExpandParent:o.a.bool,defaultExpandedKeys:o.a.array,expandedKeys:o.a.array,checkedKeys:o.a.oneOfType([o.a.array,o.a.shape({checked:o.a.array,halfChecked:o.a.array}).loose]),defaultCheckedKeys:o.a.array,selectedKeys:o.a.array,defaultSelectedKeys:o.a.array,selectable:o.a.bool,filterAntTreeNode:o.a.func,loadData:o.a.func,loadedKeys:o.a.array,draggable:o.a.bool,showIcon:o.a.bool,icon:o.a.func,switcherIcon:o.a.any,prefixCls:o.a.string,filterTreeNode:o.a.func,openAnimation:o.a.any,treeNodes:o.a.array,treeData:o.a.array,replaceFields:o.a.object,blockNode:o.a.bool}}t.default={name:"ATree",model:{prop:"checkedKeys",event:"check"},props:Object(y.initDefaultProps)(u(),{checkable:!1,showIcon:!1,openAnimation:{on:r.a,props:{appear:null}},blockNode:!1}),inject:{configProvider:{default:function(){return a.a}}},created:function(){i()(!("treeNodes"in Object(y.getOptionProps)(this)),"`treeNodes` is deprecated. please use treeData instead.")},TreeNode:h.TreeNode,methods:{renderSwitcherIcon:function(e,t,n){var r=n.isLeaf,i=n.expanded,n=n.loading,o=this.$createElement,a=this.$props.showLine;return n?o(l.default,{attrs:{type:"loading"},class:e+"-switcher-loading-icon"}):r?a?o(l.default,{attrs:{type:"file"},class:e+"-switcher-line-icon"}):null:(n=e+"-switcher-icon",t?Object(s.a)(t,{class:f()({},n,!0)}):o(l.default,a?{attrs:{type:i?"minus-square":"plus-square",theme:"outlined"},class:e+"-switcher-line-icon"}:{attrs:{type:"caret-down",theme:"filled"},class:n}))},updateTreeData:function(e){var u=this,c=this.$slots,f=this.$scopedSlots,h=p()({},{children:"children",title:"title",key:"key"},this.$props.replaceFields);return e.map(function(e){var t=e[h.key],n=e[h.children],r=e.on,r=void 0===r?{}:r,i=e.slots,i=void 0===i?{}:i,o=e.scopedSlots,o=void 0===o?{}:o,a=e.class,s=e.style,l=d()(e,["on","slots","scopedSlots","class","style"]),o=p()({},l,{icon:f[o.icon]||c[i.icon]||l.icon,switcherIcon:f[o.switcherIcon]||c[i.switcherIcon]||l.switcherIcon,title:f[o.title]||c[i.title]||l[h.title],dataRef:e,on:r,key:t,class:a,style:s});return n?p()({},o,{children:u.updateTreeData(n)}):o})}},render:function(){var t=this,e=arguments[0],n=Object(y.getOptionProps)(this),r=this.$slots,i=this.$scopedSlots,o=n.prefixCls,a=n.showIcon,s=n.treeNodes,l=n.blockNode,u=(0,this.configProvider.getPrefixCls)("tree",o),c=Object(y.getComponentFromProp)(this,"switcherIcon"),o=n.checkable,s=(s=n.treeData||s)&&this.updateTreeData(s),o={props:p()({},n,{prefixCls:u,checkable:o&&e("span",{class:u+"-checkbox-inner"}),children:Object(y.filterEmpty)(i.default?i.default():r.default),__propsSymbol__:Symbol(),switcherIcon:function(e){return t.renderSwitcherIcon(u,c,e)}}),on:Object(y.getListeners)(this),ref:"tree",class:(n={},f()(n,u+"-icon-hide",!a),f()(n,u+"-block-node",l),n)};return s&&(o.props.treeData=s),e(h.Tree,o)}}},ImIo:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAAHF1JREFUeAHt3W2wXHV9B/A9e5ckvuxUVGoghGdQA6gw2E4fXhdtaRmfxxmn05d2MIankISnJCQQAmrfd9pplVYmSq362um0yoCApApokECAqjg6tm/Mvc3d09/vf3ZDBO5ms3tIcrOfQ+7uvXvO/797Pp6Z/fp/OlXnJNlW/NN3bq3efvrtdb+uqrru1PG5ynO/3+n04+/4qfLV/Bf74yH29+P1ODCfF5v9dfxeZeEoV2WJLD84fvg8fC3rL3VHpcPy/WeeOUlEfAwCBAgQILD8BHonw0de8aXv3hah4rb4LFVVRQ7IDxWBIL/3O1U3fiIkxFMnM0KkhjikyQiDfXFAsz+OrzrdKB8HlopKTXF0bKVQlsvyGVHiv+HuLDfY3xzskQABAgQIEJhE4IQHiwgVt1e/945bo+UgGiAiEHTjaz++6OsICE2LxeDbP17PLTJG8xxBo14c/DFIDcOc0ASHOCzripDRtGrk35kvsmCEi34EkGFlTZUeCRAgQIAAgSkFsh3ghG0rvvzwHdXqM24t7RQZAroRJsqniccMEtmMkC/E65E0IgjE7/ETnSVlXzUXr+e+PIssG6/nT9mfr8XWtHpkwcHv5bmJIKV5pOyJh+aQ4V+eCRAgQIAAgQkETliLxYoHHrmzWv2OzfHNH0kgvugzLEQjQv3fv7hj4ZMfuGOCc1GEAAECBAgQOM4C3c98cdhhUN75hASLFQ88vLV75hmbopUgx1+W8REx9qGuX/7ZnULFcb4ivB0BAgQIEGhR4LgHi1X//Oi2zpp33hIDH2IIRYx1aAZg1vWBn26NUHF7i+emKgIECBAgQOA4CxzXYLHqKxEqzj4zQkVOKY1BEGXmR8SLF3+2beETV912nM/d2xEgQIAAAQItCxy3YLFqz2Pbq7NWbyxDMHOAZU7o6HYjVBzYvvDxq25t+bxUR4AAAQIECJwAgeMSLFbt+d5d1dqzbo6VI6KlIqJFLGaVczT6z79818LHrtpyAs7bWxIgQIAAAQJvgsCbHixWPfT4jursNTflmIpmDYkcrRmTR/e/vGPhY1dsHnVOb9/8t2vnDx1aM+oY+wgQIECAAIE3X+DXO9d/e5x3Gaz2MM6hx35MhIqd3XPX3pSzP15dGjPaLA68tOPgR6/YNKpGoWKUjn0ECBAgQODkFHjTgsXKrz1xd/f8c26MTo9oqIjFq5oFsOp6/ws7D177PqHi5LwefCoCBAgQIDCVwJvSFbLyoSfumbv43OvLDcXy4zULYNX9Z5+/++C1779l1CfWUjFKxz4CBAgQIHByC7QeLFZ+/cldcxeesyFGUcSK2bmaZoypyNt17HvunoPXvDdmhSy9CRVL29hDgAABAgSWg0CrXSErv/Hkrt67zt8QXR9lnGY0VeRS3fXij/fvilBx8ygQoWKUjn0ECBAgQGB5CLTWYrHym9/f3bvkgvWlpSLjStw9tBPLVBx6at+9839x+U2jOISKUTr2ESBAgACB5SPQSrBY+c29u3vvvnB9zPeIf7nyVd5hNJarePrZ3fPXXH7jKA6hYpSOfQQIECBAYHkJTN0VEqHivtPWXby+M9es0l3uUpprYD297775P7v0hlEcQsUoHfsIECBAgMDyE5iqxeIt39p7/9y6S67LVSqqaKjI239EV0h96Oln7p//0GXXj+IQKkbp2EeAAAECBJanwMTBYmWGisvedV2cdlWXPpC8B3qn/r8fRKi4+rINoziEilE69hEgQIAAgeUrMFFXSOn+uDRaKsriV2VZzZz/US/uffrz81evEyqW7/XgkxMgQIAAgakEjrnF4i0xULN76UWfjXeNRSpiy8WvoqWiv/epL/zm6nWfK68t8aClYgkYLxMgQIAAgVNE4JiCRU4p7b7nwvVx7lWnXxbrLi0VhyJUzP/punx9yU2oWJLGDgIECBAgcMoIjB0sVv7bk/f2Lo51KvoxkTS2fMwxFYea7g8tFafMJeFECBAgQIDA5AJjBYuyTPcl53+uWUczHgdLVTQDNY2pmJxfSQIECBAgcGoJHHXwZrmhWN77I1oqqhxPkVs/VtT8wdMx+0OoaEA8EiBAgAABAikwssUib30+d9F51+c6FTE8M/5FDonuj7L4lXUqXEEECBAgQIDAawSWbLFY9dDjO+cuWHtDpIkyULNMKq3revGpfbvnP3Spxa9eA+lPAgQIECBAIG4T9kYIq776+I7q3LU3lnkfOfsjukDqut/cUMwy3W9E5jUCBAgQIEAgBF7XFbJqz/fuqs5Zc1OMp4jujziiiukfMaZi8ZnndrlLqWuGAAECBAgQGCXwW8FixZ7HtkeouDm7P8p4ikwWVdz7/Cf775n/i/fePKoi61SM0rGPAAECBAjMhsDhrpAVX3l029xZqzeWMRVlUc1+WaciQsXdB68RKmbjcnCWBAgQIEBgOoESLFY8+MjW7tozbynLXpUlumOhipwE8uz+nREqNo56Cy0Vo3TsI0CAAAECsyXQW/HAw1u7Z67elOtUxEoVnc5incMq6vrAizsOXvv+TaM4hIpROvYRIECAAIHZE+h212SoiCmlpaWiCRWL+w/cdfDa9wkVs3c9OGMCBAgQIDCVQDcCRbOgZj+6PyJcLD5/YPvCR67YPKpWLRWjdOwjQIAAAQKzK9CN5SnKUM0ytTTCxcKHr9wyikOoGKVjHwECBAgQmG2BbmmuKK0V2WCRC1csvQkVS9vYQ4AAAQIECMTKm9liUQJF3Atk1CZUjNKxjwABAgQIEEiBZoGsXLY7Jp5WI7LF/KFDa5ARIECAAAECBEYJ9GJGSCSK6AbJO5fGs40AAQIECBAgMKlAzArJPFGSRZkVMmlFyhEgQIAAAQIEetFUkTNOI1TEz6i+EFYECBAgQIAAgaMIRLCIJovFPCrHWRy+dchRitlNgAABAgQIEHi9QJkVUsJFBoujzAx5fXGvECBAgAABAgReFejGPULir5xyGo9HWcfi1WJ+I0CAAAECBAi8XqDXjNss9whpGi5ef4xXCBAgQIAAAQJjCfRy5c3SWlFFk0Xe3dRGgAABAgQIEJhQoBljMVjSu7kb2YQ1KUaAAAECBAjMvECZbprjNnOhrHyyESBAgAABAgQmFeh1FrMLZNLiyhEgQIAAAQIEXhWIe4XEGItc1TvDhYDxqozfCBAgQIAAgWMW6OXdTTNUZDdIjt+0ESBAgAABAgQmFTg8K6SKRTctYzEpo3IECBAgQIBACkSLRXOv9Drvmy5ZuCoIECBAgACBKQTi7qbR/5HjN0uo0BcyhaWiBAgQIEBg5gV6uYx3WSSrLME58x4ACBAgQIAAgSkEelW5V0jU0PSITFGVogQIECBAgMCsC5TbpmcHSM40NcRi1i8H50+AAAECBKYTKMEiB1nk4E3LWEyHqTQBAgQIEJh1gTIrpCqrYxm4OesXg/MnQIAAAQLTCpR1LHJhrH5ZHUubxbSgyhMgQIAAgVkW6HVi8Gb+V3XLKItZtnDuBAgQIECAwJQCgzEWUUuZFaLFYkpPxQkQIECAwEwLlJuQRYPFYDv8y/AFzwQIECBAgACBsQWam5BlnogVvW0ECBAgQIAAgWkEmgWysgcku0L0hExjqSwBAgQIEJh5gWaBrLIyVjUYwDnzJgAIECBAgACBCQW6eXfTMtM073I6XN57wsoUI0CAAAECBGZboKxjUW5EFt0gw1uozzaJsydAgAABAgQmFSh3N83Cg96QSetRjgABAgQIECDQadaxGA7aNNvUJUGAAAECBAhMIdAEi2GgGAaMKSpUlAABAgQIEJhdgVjSOwZtlpuQBYL7ps/uleDMCRAgQIBACwKHp5tmY8Ww4aKFelVBgAABAgQIzKBA0xUSJ56NFcOGixl0cMoECBAgQIBACwJlVkgZWqG5ogVOVRAgQIAAgdkW6HUWmzEWdaaLXNbbRoAAAQIECBCYUCC6QvoxtmJwBzKtFhMyKkaAAAECBAikQKy8meMrcoCFVOGSIECAAAECBKYT6NbRYlH6QGSL6SSVJkCAAAECBGLlzbzxWPaERKuFNgtXBAECBAgQIDCNQK+sXmHQ5jSGyhIgQIAAAQIDgW5nMVoq+ovxZ7RXWHnThUGAAAECBAhMIdDNDpAygDOX9s5uERsBAgQIECBAYEKBmBWSYSLCRQy0MMpiQkXFCBAgQIAAgSLQq7OlIrduPGuwaCw8EiBAgAABAhMJlHuFlCW9Y6xFp1t+m6gihQgQIECAAAECZbppWc47LcwOcUUQIECAAAECUwiU6aZl8OYUlShKgAABAgQIEEiBQYtFDq6IbpCyCicYAgQIECBAgMBkAtFiMRy0aeTmZIRKESBAgAABAkOBbp1rV2SmyGmnssXQxTMBAgQIECAwgcDhdSwyV1SSxQSEihAgQIAAAQJDgTLdNPNETjTVYDFk8UyAAAECBAhMItAEiyhZWixy/OYktShDgAABAgQIEAiBXmex36njtunV4cUsuBAgQIAAAQIEJhPo1TErpOoP7xOivWIyRqUIECBAgACBFGi6QqoIF/FHuR8ZFwIECBAgQIDAhAK96uDBw0UN4DxM4RcCBAgQIEBgAoEYXWEjQIAAAQIECLQjIFi046gWAgQIECBAIAQEC5cBAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQmIFi0RqkiAgQIECBAQLBwDRAgQIAAAQKtCQgWrVGqiAABAgQIEBAsXAMECBAgQIBAawKCRWuUKiJAgAABAgQEC9cAAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQmIFi0RqkiAgQIECBAQLBwDRAgQIAAAQKtCQgWrVGqiAABAgQIEBAsXAMECBAgQIBAawKCRWuUKiJAgAABAgQEC9cAAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQmIFi0RqkiAgQIECBAQLBwDRAgQIAAAQKtCQgWrVGqiAABAgQIEBAsXAMECBAgQIBAawKCRWuUKiJAgAABAgQEC9cAAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQmIFi0RqkiAgQIECBAQLBwDRAgQIAAAQKtCQgWrVGqiAABAgQIEBAsXAMECBAgQIBAawKCRWuUKiJAgAABAgQEC9cAAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQmIFi0RqkiAgQIECBAQLBwDRAgQIAAAQKtCQgWrVGqiAABAgQIEBAsXAMECBAgQIBAawKCRWuUKiJAgAABAgQEC9cAAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQmIFi0RqkiAgQIECBAQLBwDRAgQIAAAQKtCQgWrVGqiAABAgQIEBAsXAMECBAgQIBAawKCRWuUKiJAgAABAgQEC9cAAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQmIFi0RqkiAgQIECBAQLBwDRAgQIAAAQKtCQgWrVGqiAABAgQIEBAsXAMECBAgQIBAawKCRWuUKiJAgAABAgQEC9cAAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQmIFi0RqkiAgQIECBAQLBwDRAgQIAAAQKtCQgWrVGqiAABAgQIEBAsXAMECBAgQIBAawKCRWuUKiJAgAABAgQEC9cAAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQmIFi0RqkiAgQIECBAQLBwDRAgQIAAAQKtCQgWrVGqiAABAgQIEBAsXAMECBAgQIBAawKCRWuUKiJAgAABAgQEC9cAAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQmIFi0RqkiAgQIECBAQLBwDRAgQIAAAQKtCQgWrVGqiAABAgQIEBAsXAMECBAgQIBAawKCRWuUKiJAgAABAgQEC9cAAQIECBAg0JqAYNEapYoIECBAgAABwcI1QIAAAQIECLQm0GutJhURIECAAAECMydQnX56p1PHvzoeYhMsZu4ScMIECBAgQKA9gbqKzo+qqa+q+4JFe7RqIkCAAAECsyhQdaoIFtleUXe6gsUsXgLOmQABAgQItCVQzWVzRYSLeKz7/YgWNgIECBAgQIDAxALdTl26QiJcdLVYTMyoIAECBAgQIBAC3ewKqWLwZrRb9A3edE0QIECAAAEC0wiUwZt10xnSNXhzGkplCRAgQIAAgbkcVZHzTeNf9IkYY+GSIECAAAECBCYXyGARXSFV6RIxxmJySCUJECBAgACBEIiRmzFos6yPFYMsLJDloiBAgAABAgQmF8iWiqYnpNOJ1gtdIZNTKkmAAAECBGZeIKeY1tkVUsZaVFosZv6KAECAAAECBKYRyFARM0Oi0aJ0iWixmAZTWQIECBAgMOMCdbRYlLUswiEHcAoWM35BOH0CBAgQIDCNQIaJSBSdujzrCpnGUlkCBAgQIEAg+0ByAGc/2ioiY5gV4pIgQIAAAQIEJhYogzezdK7nHSFDsJiYUkECBAgQIECgdIEkQ7RYxDhOwcIlQYAAAQIECEwjkLNC4iZkcZ+Q7BXRYjGNpbIECBAgQGDGBZr1K7InJKec1oLFjF8PTp8AAQIECEwnkK0VZQBnM8zCdNPpOJUmQIAAAQKzLZALZA1W3czZIYLFbF8Ozp4AAQIECEwnkAtkDcJFHfNNBYvpOJUmQIAAAQKzLZALY+UW4SJbLAzebDg8EiBAgAABAhMI1LHqZhUzQpp40RUsJjBUhAABAgQIEBgKRCtFXceMkBjAWcUiWbpChjCeCRAgQIAAgWMWyDub5joW2WRRxyBOXSHHTKgAAQIECBCYLYGVvd4LS57xXLRYLMbMkDhgMOt0yUPtIECAAAECBGZcIEPFz7f9zf4lGYYzQgatFloslpSygwABAgQIzLbAUUNF8mQzxSBcdPpW3pztK8bZEyBAgACBJQTGChVZNqebZrjILX41eLOh8EiAAAECBAgMBMYNFb2/+/bGTi6QlWkiV9+MlgtdIS4jAgQIECBA4LDAuKFixd//+8bO7/zuthi5WW6ZXvf7GSziVmQ2AgQIECBAgEAIjB8q/nNT561v3dapYgGLaLGoszukO9ev/ud/bxEsXEoECBAgQIDA+KHiH/5jS/X20++M1oluBopmYay5fv3rX21e+Os/vltXiIuJAAECBAjMuMDYLRX/+J0t1emn3153oscjQkXp+Oh2+p1f/mLzob/6kx3JqMVixi8mp0+AAAECsy0wdqj40ndvq8542x2duUF2yHUrunGTkF/+6taFT/9RCRUpKVjM9vXk7AkQIEBghgXGDhUPlFBxW9xtLJopSqDInpB+5+ev3Lbw6T/YfiShrpAjNfxOgAABAgRmRGDsUPHlR+6o3vm2LZ3FerBud9wbJFbCqn/6yu0Ln/7Dba/l0mLxWhF/EyBAgACBU1xg7FDxwCN3ds86Y0u0TlRlIaxwqWO4Zv3zX9yx8Knf3/pGTILFG6l4jQABAgQInKICY4eKBx/Z2j37nZtLO0X2gORCWHNV3Xn5lTsXPvmBO5bi0RWylIzXCRAgQIDAKSYwbqhY9ZVHt3XOWn1LtE9UVSSLwZzSun7xla0Ln/rA7aNYBItROvYRIECAAIFTRGDsULHnse3VmtUb47SrejFW08yluhfrun/g5W0Ln7jytqNx6Ao5mpD9BAgQIEBgmQuMHSq++viO6pw1G2Phq+jziGQRoaKKX/svv7x94eNX3joOgxaLcZQcQ4AAAQIElqnAMYSKndW5a26Mjo+Y9BHtDlW0VsTkj8XnX7pr4SNXbhn39LVYjCvlOAIECBAgsMwExg0VK7/2xN3dC8+5MQZolpaKMgOk260XD7y0Y+EjV2w+ltMWLI5Fy7EECBAgQGCZCIwdKh564p7eJefdULo/hrM/crjmc8/vXLj2fZuO9XR1hRyrmOMJECBAgMBJLjB2qPj6k7vmLj53Qx2LX5XppHHbj9jqet8L9xy89v0xK+TYNy0Wx26mBAECBAgQOGkFxg4V33jy3t57LtiQi19VczmlNE4pVr9afGb/roN/+d6bJz1BLRaTyilHgAABAgROMoHxQ8Xe+3rvvuCz8fFjRc3IEzlYM+58vvij5+6dv/bym6Y5LS0W0+gpS4AAAQIEThKBYwgV9592+cWfzYGa+dHLtNJ4Wvzhvt3zf375jdOejhaLaQWVJ0CAAAECJ1hg7FDxrR/cf9plF10XH7e0VJSHmFN66Kkf3zd/zeU3tHEaWizaUFQHAQIECBA4QQLjhoq3fGvv/addGqHiiJaKvKHYoR8+c//8By+9vq2PL1i0JakeAgQIECBwnAXGDRUrv7l3d3fdxddFO8VvdX/09/7o8/NXX7ahzY+tK6RNTXURIECAAIHjJDB+qPj+7t57LlqfK2rW/TqSRYyqyBU1v//0F37zwXWfa/vjChZti6qPAAECBAi8yQJjh4pvPLmrd/EF6yNIxIqazTDNOsdUPPl0dH+sa7WlYnjKgsVQwjMBAgQIEFgGAmOHiq8/sat30fkb6n6/Kv0fOa80Q8V/xZiKlrs/jmQTLI7U8DsBAgQIEDiJBcYOFf/6xN1zF5y3IW52HhM/IlZEF0gJFTn744OXtTZQ842oxg4Wv965/ttvVIHXCBAgQIAAgZNHYOWeCBXnrb0hVr2qOotx2/P4aHVsi8/8ZHfM/mhlSumoszUrZJSOfQQIECBAYBkJrPrq4zvmLjj7hjrHaOZWD259/tS+e49HqMi3FCxSwUaAAAECBJa5wKo9j22v1p51U6eMqSiBosz+OPTUs7ti8aupV9Qcl2fsrpBxK3QcAQIECBAgcHwFVj346Pbq7DM3RjtFmVJa3r0bc0r3PX/P/BQ3FJvkLLRYTKKmDAECBAgQOEkEVjz4yNZqzeqNsUZFFa0VzaeKTBGh4u5p7lI66ekJFpPKKUeAAAECBE6wwIp/eXhrd/XqTRkqoqki7iSWi1/FXUqfe2FHhIqNJ+LjVd3PfDHnoNgIECBAgMApJxD/Hz62+P/QOeUyV3OoYpZE/B5fw/FnvD431+wbHlOOi2Nif91tnpuy3abM8PgsG8fGHUIH9R55/LDcEe+bx8VPPTeoO98/fh9+nvxs5TPla4PP8Fv1H/Fa+R/p8HvH8XNxXrk/v827sQ7WCy/tOPjhKzaV407AQ3wiGwECBAgQOEUF8ss2vmtzi6/y8hwzJkrGyFdjnYdmjYd8jq2KJJJHNSXKS3FM80J89zezLPKFPD6eo8Ph8MG5e/iTgabsyyKlsjwupmpEV0VZVjtfzLUlyt/5WlNf6crIVofyuZrXc1+WaV6L5/I+EURK3fn542cxy8d/L7y4/USGivxsgkUq2AgQIEDglBTIL/ryzZ7fy/FT/s6HQYDIb+fyxV9eiy/w+EIvX/JHaJTWiwwn8S/L5ZaP5bf4wi/hpASFLJ9/H/E+eVypO0sNXm9+LY9ZZam3HNR8lsOvxTs07xOPGR6ODBfxd5V/Z/F8jjEV/QMHIlRcuaW8eAIfBIsTiO+tCRAgQOA4COT3b37bZ2iIn+Z7vvlSzu/zwXd67M89sZUD8ss6WwEiKERrwLC1o7R+ZFX5k4eWIvHw6h/xe4aTwUHxfGRrRNNaMdwf9WZFWTiDQqk0WjWi/OHPm+XLZx60UOTnG9Sf9ZZwEZX2D/x068JHrzrhoSI/3v8DkctWrrwevwcAAAAASUVORK5CYII="},IoKV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=this,r=[],i=n.virtual&&n.params.virtual.enabled,o=0;"number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);function a(t){return(i?n.slides.filter(function(e){return parseInt(e.getAttribute("data-swiper-slide-index"),10)===t}):n.slides.eq(t))[0]}if("auto"!==n.params.slidesPerView&&1<n.params.slidesPerView)if(n.params.centeredSlides)n.visibleSlides.each(function(e){r.push(e)});else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var s=n.activeIndex+t;if(s>n.slides.length&&!i)break;r.push(a(s))}else r.push(a(n.activeIndex));for(t=0;t<r.length;t+=1){var l;void 0!==r[t]&&(l=r[t].offsetHeight,o=o<l?l:o)}o&&n.$wrapperEl.css("height",o+"px")}},Ioao:function(e,t,n){var l=n("heNW"),u=Math.max;e.exports=function(o,a,s){return a=u(void 0===a?o.length-1:a,0),function(){for(var e=arguments,t=-1,n=u(e.length-a,0),r=Array(n);++t<n;)r[t]=e[a+t];for(var t=-1,i=Array(a+1);++t<a;)i[t]=e[t];return i[a]=s(r),l(o,this,i)}}},IqTT:function(e,t,n){"use strict";n=n("TZE5");t.a={prefixCls:n.a.string.def("rc-menu"),focusable:n.a.bool.def(!0),multiple:n.a.bool,defaultActiveFirst:n.a.bool,visible:n.a.bool.def(!0),activeKey:n.a.oneOfType([n.a.string,n.a.number]),selectedKeys:n.a.arrayOf(n.a.oneOfType([n.a.string,n.a.number])),defaultSelectedKeys:n.a.arrayOf(n.a.oneOfType([n.a.string,n.a.number])).def([]),defaultOpenKeys:n.a.arrayOf(n.a.oneOfType([n.a.string,n.a.number])).def([]),openKeys:n.a.arrayOf(n.a.oneOfType([n.a.string,n.a.number])),openAnimation:n.a.oneOfType([n.a.string,n.a.object]),mode:n.a.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]).def("vertical"),triggerSubMenuAction:n.a.string.def("hover"),subMenuOpenDelay:n.a.number.def(.1),subMenuCloseDelay:n.a.number.def(.1),level:n.a.number.def(1),inlineIndent:n.a.number.def(24),theme:n.a.oneOf(["light","dark"]).def("light"),getPopupContainer:n.a.func,openTransitionName:n.a.string,forceSubMenuRender:n.a.bool,selectable:n.a.bool,isRootMenu:n.a.bool.def(!0),builtinPlacements:n.a.object.def(function(){return{}}),itemIcon:n.a.any,expandIcon:n.a.any,overflowedIndicator:n.a.any}},"Ivi+":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return e==="오후"},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n("wd/R"))},"J+PB":function(e,t,n){"use strict";n.r(t),n.d(t,"fixControlledValue",function(){return p}),n.d(t,"resolveOnChange",function(){return y}),n.d(t,"getInputClassName",function(){return m});var r=n("kvrn"),s=n.n(r),r=n("QbLZ"),l=n.n(r),r=n("YEIV"),i=n.n(r),r=n("TSYQ"),o=n.n(r),u=n("Jh5J"),c=n("Sx0+"),r=n("yXPv"),f=n("2qPA"),a=n("TfX5"),h=n("PXgv");function d(){}function p(e){return null==e?"":e}function y(e,t,n){var r;n&&("click"===(t=t).type?(Object.defineProperty(t,"target",{writable:!0}),Object.defineProperty(t,"currentTarget",{writable:!0}),t.target=e,r=(t.currentTarget=e).value,e.value="",n(t),e.value=r):n(t))}function m(e,t,n){var r;return o()(e,(r={},i()(r,e+"-sm","small"===t),i()(r,e+"-lg","large"===t),i()(r,e+"-disabled",n),r))}t.default={name:"AInput",inheritAttrs:!1,model:{prop:"value",event:"change.value"},props:l()({},r.default),inject:{configProvider:{default:function(){return a.a}}},data:function(){var e=this.$props,e=void 0===e.value?e.defaultValue:e.value;return{stateValue:void 0===e?"":e}},watch:{value:function(e){this.stateValue=e}},mounted:function(){var e=this;this.$nextTick(function(){e.autoFocus&&e.focus(),e.clearPasswordValueAttribute()})},beforeDestroy:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)},methods:{focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},select:function(){this.$refs.input.select()},setValue:function(e,t){this.stateValue===e||Object(f.hasProp)(this,"value")||(this.stateValue=e,this.$nextTick(function(){t&&t()}))},onChange:function(e){this.$emit("change.value",e.target.value),this.$emit("change",e),this.$emit("input",e)},handleReset:function(e){var t=this;this.setValue("",function(){t.focus()}),y(this.$refs.input,e,this.onChange)},renderInput:function(e){var t=this.$createElement,n=Object(c.a)(this.$props,["prefixCls","addonBefore","addonAfter","prefix","suffix","allowClear","value","defaultValue","lazy","size","inputType","className"]),r=this.stateValue,i=this.handleKeyDown,o=this.handleChange,a=this.size,s=this.disabled;return t("input",{directives:[{name:"ant-input"}],domProps:{value:p(r)},attrs:l()({},n,this.$attrs),on:l()({},Object(f.getListeners)(this),{keydown:i,input:o,change:d}),class:m(e,a,s),ref:"input",key:"ant-input"})},clearPasswordValueAttribute:function(){var e=this;this.removePasswordTimeout=setTimeout(function(){e.$refs.input&&e.$refs.input.getAttribute&&"password"===e.$refs.input.getAttribute("type")&&e.$refs.input.hasAttribute("value")&&e.$refs.input.removeAttribute("value")})},handleChange:function(e){var t=e.target,n=t.value,t=t.composing;(e.isComposing||t)&&this.lazy||this.stateValue===n||(this.setValue(n,this.clearPasswordValueAttribute),y(this.$refs.input,e,this.onChange))},handleKeyDown:function(e){13===e.keyCode&&this.$emit("pressEnter",e),this.$emit("keydown",e)}},render:function(){var e,t,n,r,i,o,a=arguments[0];return"textarea"===this.$props.type?(e={props:this.$props,attrs:this.$attrs,on:l()({},Object(f.getListeners)(this),{input:this.handleChange,keydown:this.handleKeyDown,change:d})},a(u.default,s()([e,{ref:"input"}]))):(e=this.$props.prefixCls,o=this.$data.stateValue,e=(0,this.configProvider.getPrefixCls)("input",e),t=Object(f.getComponentFromProp)(this,"addonAfter"),n=Object(f.getComponentFromProp)(this,"addonBefore"),r=Object(f.getComponentFromProp)(this,"suffix"),i=Object(f.getComponentFromProp)(this,"prefix"),o={props:l()({},Object(f.getOptionProps)(this),{prefixCls:e,inputType:"input",value:p(o),element:this.renderInput(e),handleReset:this.handleReset,addonAfter:t,addonBefore:n,suffix:r,prefix:i}),on:Object(f.getListeners)(this)},a(h.a,o))}}},J2iB:function(e,t){e.exports=function(e){return null==e}},J4bC:function(e,t,n){"use strict";n.r(t);var r,i=n("n54j");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},JB68:function(e,t,n){var r=n("Jes0");e.exports=function(e){return Object(r(e))}},JBR1:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAAFxJJREFUeAHt3U9u68qVB2CS8n2byH6ykgA9DLrTQAcBMsqk0YN+AXqUSe8g+8ooC7i2yJxTpGzpXYkiLRJ4cn3EtfivWDI/CfAPp0q6bfP3fw7NnaX92893WjhNgAABAgQIfGWB4d/+/e7tZV54udsqGnw7/uN/mqGPABL/+i4fyr/y0LZ3g8mS59CGAAECBAgQ+JUIDEPbNF35N6779nvT/NeS3649VSy+/f9ffm6G45A/7TFCRJ/bQ9mPHBH7ESZyv4SKDBO5n08R60a4WIKtDQECBAgQ+PULTKEiosUYKk77bdt0JWy0TXuIn9w/tMOha19/95c/ZOvLikWGimOEiqxMHI8RJWK/z2ARP/1b5IfTdgaJ3M4usoqRq/LogQABAgQIEHh2gcgO49JFeIit4xQoMkgM+fMyNO0xQkVuR7yY6hqnqz6GQs5DxfEtKxRjteKYwWKqXmSQyMpFhoxME+1hDBaSxcnTmgABAgQIPLfAcUoWw+s0HJIBIo9l0IjtLioYUbBo+kPTRMZojpch4D1YfFQqIlQMQ9/kcMhYvRhDRoaLMp8iAkWZbxHr4zGeKAOGoZDnfhf57QkQIECAwCTwMb8iUkOEiCHmVuaf+yGrFJkocmhkGgrJoHF4e69xZA/vwWKsSkR4eItAUUJFbB9f+/F4BIches3jbVYwpspF+R1yv2x4IECAAAECBJ5doMSECAwZJnJOxRCVihwCKduRB44RMIY+AkXM7oyZEiV4nN3zR7AocykiJJwmbGaoeMsqRQaH1+l4CR1RpIjjuWTAGNdl5YEAAQIECBB4coEMEBEXIki0ZSplF9WDLqoWWcnoY9ZFnn8rqWOIcJEFjDELTLd9FiwiJJRwkZWK+ClDHxEq3nJoJPezSnFa5/DHqVKhXDFZWhEgQIAAgecXKNMcslIRf/PHSsUYMrpIERkyMk10ER/6yAcxKPLL6RBt+9s/D+V7KvKTIMeoTLy+xTo/FRKzNPvvU8iYQkWGjHEoJKdWREKJJyi54jKtPL+qOyBAgAABArUKRGWiFC3ioZsqFBkwXl7GORZZyTh8y4mcXdPF+nDomm8vXR57/ek3fxwrFpFJ3j/tcapa5JyKsn0WKnK/fMdFpolSsRjDRa327psAAQIECHw9gcgEGSpiLkWWJPJPfhn+iAkVp3GOLodC4pOhfawPMUySnxZtY95FLFOTKURkcMgBlfyUx+lTITn8UYZDMkhkyMh1HMslP3oaCWNa57aFAAECBAgQeGaBMsciQ0IGhvjJj5dmusjj+b1WuWTwiO/GynGQ8knRzA8lQ5yCRfma7tcxKJSwEB3kkEeMiJQwMW5PoSKGQ8Y2sc4sk2FjfB6PBAgQIECAwLML5FyHCA5jqWIMGKUOEX/sS7go2SCHQiJFxBdZ9BFC2jiWEzljmSoW2SiTR1YjMnVkWMifMlkzDpdOok2eL9s5NXTczl5Onw7JbQsBAgQIECDwxAL5lZrxNz7CRflerPwkSO6Xw3FbGSgyD3QlE2TAiE+H5Hb8xDIGi8gK0SoHNaZlChK5V6oVeSYvyIb9lVBROpiutSJAgAABAgSeVqAULPKjptPf9sgX8bc/9vNrNmMpqxwqKd++ncdiOCRPjO0/KhbjwXiME6ecUKoW2TiWfKJSrcjtqUGpVJy1Lw09ECBAgAABAk8rkB8pncJFjHBkVSFLFHE7WbWIb9zMzbaMWkxDIHE6z03LGCxOX9WdB8v//xHzLT4qFNG+dJhnx2pFbl2Eio8O85SFAAECBAgQeFKBPqoV7+GiDHxEuChzLiJURIjIzdOEitwc/9+wqWpxGgrJEzHmUVJIPmTQeM8S07lcfVQsziobfRmCydMWAgQIECBA4LkF4kusIgNM4SJTROaBfCifFsn5mKcKxvsUiTh0muw55Y68xEKAAAECBAgQeFSgFDQe7cT1BAgQIECAQK0Cl1Hicq9WE/dNgAABAgQIbCIgWGzCqBMCBAgQIEAgBQQL7wMCBAgQIEBgMwHBYjNKHREgQIAAAQKChfcAAQIECBAgMC+wIi2saDr/nM4SIECAAAECBAQL7wECBAgQIEBgMwHBYjNKHREgQIAAAQKChfcAAQIECBAgsJmAYLEZpY4IECBAgAABwcJ7gAABAgQIENhMQLDYjFJHBAgQIECAgGDhPUCAAAECBAhsJiBYbEapIwIECBAgQECw8B4gQIAAAQIENhMQLDaj1BEBAgQIEPiCAjeTQtte/l+mY8Obzb8gjVsiQIAAAQIEdhYQLHYG1j0BAgQIEPh6Arfjw+0zX0/BHREgQIAAAQI7CwgWOwPrngABAgQI1CQgWNT0artXAgQIECCwWOBzEeFzVy3+pTQkQIAAAQIEahIQLGp6td0rAQIECBDYWUCw2BlY9wQIECBAoCYBwaKmV9u9EiBAgACBnQUEi52BdU+AAAECBGoSECxqerXdKwECBAgQ2FlAsNgZWPcECBAgQKAmAcGiplfbvRIgQIAAgYcEhviPx+YXwWLex1kCBAgQIEBghYBgsQJLUwIECBAgQGBeQLCY93GWAAECBAgQWCEgWKzA0pQAAQIECBCYFxAs5n2cJUCAAAECBFYICBYrsDQlQIAAAQIE5gUEi3kfZwkQIECAAIElAtMHUQWLJVjaECBAgAABAosEBItFTBoRIECAAAECSwQEiyVK2hAgQIAAAQKLBASLRUwaESBAgAABAksEBIslStoQIECAAAEC1wWG48X/HyJYXGdylAABAgQIEPiEgGDxCTSXECBAgAABAtcFBIvrLo4SIECAAAECnxAQLD6B5hICBAgQIEDguoBgcd3FUQIECBAgQOATAoLFJ9BcQoAAAQIE6hJYHheWt6xL0N0SIECAAAECnxAQLD6B5hICBAgQIEDguoBgcd3FUQIECBAgUJ1Av8EdCxYbIOqCAAECBAjUIzAfHebP1qPkTgkQIECAAIENBASLDRB1QYAAAQIE6hbo3v+/EMGi7neCuydAgAABApsKCBabcuqMAAECBAjULSBY1P36u3sCBAgQILCpgGCxKafOCBAgQIBA3QKCRd2vv7snQIAAAQKbCggWm3LqjAABAgQI1C0gWNT9+rt7AgQIECCwqYBgsSmnzggQIECAwBcWWJAaFjT5wkBujQABAgQIENhUQLDYlFNnBAgQIECgbgHBou7X390TIECAAIFNBQSLTTl1RoAAAQIE6hYQLOp+/d09AQIECBDYVECw2JRTZwQIECBAoG4BwaLu19/dEyBAgACBTQUEi005dUaAAAECBOoWECzqfv3dPQECBAgQ2FRAsNiUU2cECBAgQKBuAcGi7tff3RMgQIAAgU0FBItNOXVGgAABAgTqFhAs6n793T0BAgQIENhUQLDYlFNnBAgQIECgVoExUggWtb7+7psAAQIECOwgIFjsgKpLAgQIECBQq4BgUesr774JECBAgMAOAoLFDqi6JECAAAECtQoIFrW+8u6bAAECBAjsICBY7ICqSwIECBAgUIXAlRRx5VAVFG6SAAECBAgQ2EFAsNgBVZcECBAgQKAegcsocblXj4I7JUCAAAECBHYQECx2QNUlAQIECBCoVUCwqPWVd98ECBAgQGAHAcFiB1RdEiBAgACBWgUEi1pfefdNgAABAgR2EBAsdkDVJQECBAgQqFVAsKj1lXffBAgQIEBgBwHBYgdUXRIgQIAAgVoFBItaX3n3TYAAAQIEVgvcjw33W6x+UhcQIECAAAECVQm0H3crWHxY2CJAgAABAgQeFBAsHgR0OQECBAgQqE+gO6tRXN69YHHpYY8AAQIECBB4QECweADPpQQIECBAgMClgGBx6WGPAAECBAgQeEBAsHgAz6UECBAgQIDApYBgcelhjwABAgQIEHhAQLB4AM+lBAgQIECAwKWAYHHpYY8AAQIECBB4QECweADPpQQIECBAoG6BH2PEj0fqFnL3BAgQIECAwAMCgsUDeC4lQIAAAQIELgUEi0sPewQIECBAgMADAoLFA3guJUCAAAECX1LggXTwwKVfktJNESBAgAABAlcFpshwJzncOX21ZwcJECBAgAABAlcFBIurLA4SIECAAAECswLd9Qhx/ehsT04SIECAAAECBK4LCBbXXRwlQIAAAQIEPiEgWHwCzSUECBAgQIDAdQHB4rqLowQIECBAgMAnBASLT6C5hAABAgQIELguIFhcd3GUAAECBAgQCIGhado1EILFGi1tCRAgQIAAgVkBwWKWx0kCBAgQIEBgjYBgsUZLWwIECBAgQGBWQLCY5XGSAAECBAgQWCMgWKzR0pYAAQIECBBompn0MHOKHAECBAgQIEBgnYBgsc5LawIECBAgQGBGQLCYwXGKAAECBAgQWCcgWKzz0poAAQIECBCYERAsZnCcIkCAAAECBNYJCBbrvLQmQIAAAQIEZgQEixkcpwgQIECAAIF1AoLFOi+tCRAgQIAAgRkBwWIGxykCBAgQIEBgnYBgsc5LawIECBAgUKPA4v86XbCo8e3hngkQIECAwE4CgsVOsLolQIAAAQL1CLRt0w2lqiFY1POqu1MCBAgQILC7gGCxO7EnIECAAAEC9QgIFvW81u6UAAECBAjsLiBY7E7sCQgQIECAQD0CgkU9r7U7JUCAAAECuwsIFrsTewICBAgQIFCPgGBRz2vtTgkQIECAwO4CgsXuxJ6AAAECBAjUIyBY1PNau1MCBAgQILC7gGCxO7EnIECAAAEC9QgIFvW81u6UAAECBAjsLiBY7E7sCQgQIECAwBcW+EWS+MXuF75xt0aAAAECBAh8XqBrFv3X6YLF54ldSYAAAQIEahf4IWwIFrW/Jdw/AQIECBDYUECw2BBTVwQIECBAoHYBwaL2d4D7J0CAAAECGwoIFhti6ooAAQIECNQuIFjU/g5w/wQIECBAYBOBMVIIFptg6oQAAQIECBBIAcHC+4AAAQIECBDYTECw2IxSRwQIECBAgIBg4T1AgAABAgQIbCYgWGxGqSMCBAgQIEBAsPAeIECAAAECBDYTECw2o9QRAQIECBAgIFh4DxAgQIAAAQKbCQgWm1HqiAABAgQIEBAsvAcIECBAgACBzQQEi80odUSAAAECBAgIFt4DBAgQIECAwHKBoW3nGgsWczrOESBAgACB6gXWRYV1ravHBUCAAAECBAjMCQgWczrOESBAgAABAncELodGBIs7XE4TIECAAAECywUEi+VWWhIgQIAAAQJ3BASLO0BOEyBAgACBugS62U993LMQLO4JOU+AAAECBAgsFhAsFlNpSIAAAQIECNwTECzuCTlPgAABAgQILBYQLBZTaUiAAAECBAjcExAs7gk5T4AAAQIECCwWECwWU2lIgAABAgQI3BMQLO4JOU+AAAECBAgsFhAsFlNpSIAAAQIECNwTECzuCTlPgAABAgQILBYQLBZTaUiAAAECBAicCVz9hk7B4kzIJgECBAgQIPCYgGDxmJ+rCRAgQIAAgTMBweIMwyYBAgQIECDwmIBg8ZifqwkQIECAAIEzAcHiDMMmAQIECBAg8JiAYPGYn6sJECBAgACBMwHB4gzDJgECBAgQIPCYgGDxmJ+rCRAgQIAAgTMBweIMwyYBAgQIECDwmIBg8ZifqwkQIECAAIEzAcHiDMMmAQIECBAgsEKg+zFG/HhkRX+aEiBAgAABAgTOBQSLcw3bBAgQIECAwHqBs8qFYLGezxUECBAgQIDADQHB4gaMwwQIECBAgMB6AcFivZkrCBAgQIAAgRsCgsUNGIcJECBAgACBWwK348PtM7f6cpwAAQIECBAgcENAsLgB4zABAgQIECCwXkCwWG/mCgIECBAgQOCGgGBxA8ZhAgQIECBAYL2AYLHezBUECBAgQIDADQHB4gaMwwQIECBAgMCcwPUIcf3oXD/OESBAgAABAgRuCAgWN2AcJkCAAAECBNYLCBbrzVxBgAABAgQI3BAQLG7AOEyAAAECBAisFxAs1pu5ggABAgQIELghIFjcgHGYAAECBAgQWC8gWKw3cwUBAgQIECBwQ0CwuAHjMAECBAgQILBeQLBYb+YKAgQIECBA4IaAYHEDxmECBAgQIEBgvYBgsd7MFQQIECBAgMANAcHiBozDBAgQIECAwCTQLY8Ly1vSJUCAAAECBAjcERAs7gA5TYAAAQIECCwXePloOrRNxoxjPAzTdtnPFrEfD00phfSx2bVNn/ux3Xdt3/RDtrIQIECAAAECzywQf99LySEeutzO9el+yvZ4Po+dH88m03DJGCwySDTdGA6G47TdTus4nBeX7NC3kSaaSBUZMi7CRfZpIUCAAAECBJ5YoISFeMi/8bFEAsgsMN5Ql1nhENu5HxlhKDlhOl0KEKXdVLGIRqWL7CgCRneMykVeG/vDcYjqRF44npt2mj4OnoeL0p0HAgQIECBA4HkFPkJF/I3Pv/Pj3/oSNHI772wMHeUex2JEZIg4UYJG04zBIhvmEEgJF+WisbM+0kU2zPN9nsyqRhdVi9JHBI6zcJGXWQgQIECAAIHnFZgqFRkoosqQBYUpGZQsMFYpStEigkEZ+sjsUNrF/njbHxWLLHEc88L4GaJR/nRxdRfDHsM0HFLmWpQhkxIuspcyLPL+xM9r6TcnQIAAAQLVC0Q4KIGihITMAbHRvWQ2iHVsZ2WiHCvn2hgRiROZHcqUisI3VSyiHHHMIZC4YIifHAYplYpyrG3eSmUiDuaYSF7yVioXuR8XTcdjZSFAgAABAgSeVyBzQCSFkgdyawwVuT9VKzJQHMbt8vc/2pdrcl2GNqahkJyM0caBkjzy4pjAWUJGJJCsWpQs8TZdnOEiOh3LGBEw4rrxF8lfwUKAAAECBAg8tUCGhJwcUUYx8m//mA9KyIi//2U/s0JkhMPpXAaSuKQ8/v2fOWWi+en//vO/m+Pr0LxGeeJ4jFJETKDovw+xnXMp4ifWb1GpaGNcJOdWZLEiKxiZM+JgPloIECBAgACBZxbIgkL+/lO4KEWGDBgxHPJSQkXUFg5d0/0UYSMaHb7lT/v9P/76p7yq/dvPp4pF9hEXDi9Dc4hOM4X0WbWIUkUGh/Iksc7KRYaKaNpE0/gOizg3Jos4YyFAgAABAgSeWiCrDiVUjFMick5FViVy+KNUKnIdIaPNAPJtOp6h4GPJqDAuOauzNIyhjwwXOcTxFpMtXk7hIjrPINHH8axeZM2jzS+3iPYZNiwECBAgQIDAcwucpjZkiMhlDBSxPg15RKjIOZiHCBjlZ9o+u+uzYBEns2oRuaFp84JSp4jhkAgX3U8RHt4iSMSQx0tM6BwDxviEOddCrjgjtUmAAAECBJ5UIOoH47BErDJkZKDIIJHFhxzFyAJECRQxBJJZoRyP82fLR7AoszyjCpFDHDmJM+ZqjuEig0RUJtpDhIpsHskjKxWHSBMlUMTDizkWZ6Y2CRAgQIDAcwqM38QdgSJ//SlY5DqPlxARASODRYaKnHOReSG3z5b3YDHEBW1WKY4RF9q3mIwRgWLIL7CI0NDG0EcX+/lV3hkmsnKRsz9fImyUJcscFgIECBAgQOC5BUqiiCBR/nuPsdBQhkdOQyERIg5TBSNDxWlI5Oym34NFnhxi1KOEi6xF5Nd6l8mZmSfi4j5CRgaN+C/HYg5GbGcvOcciV9MvUnY8ECBAgAABAk8p8P7nPCdo5h3E3/8MFhkicrpEGQ6Ztsu0icgO7WlixnjHbTN93HQOoHwUNSdolgpGrPP/IsvSxRgu8onHgDHXiXMECBAgQIDAr1wgP7yRQSJ/zVifvlEzgsX33//vH+/98pcfN51rXT6zmuEhnrD/lvMrYp0XxEMZFhl/hbkunCNAgAABAgSeQOCHeRblUx2Lf/G2/e2fVRsWc2lIgAABAgQIzAn8C5DdL0rYAs4xAAAAAElFTkSuQmCC"},"JCF/":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],i;e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(e){return/ئێواره/.test(e)},meridiem:function(e,t,n){if(e<12)return"بهیانی";else return"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},JHRd:function(e,t,n){n=n("Kz5y").Uint8Array;e.exports=n},JHgL:function(e,t,n){var r=n("QkVE");e.exports=function(e){return r(this,e).get(e)}},JHvW:function(e,t,n){"use strict";var i=n("P31t"),o=n("WxoH"),a=n("NIpK");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,e={};try{(n=i(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(e){}return function(e,t){return o(e),a(t),r?n(e,t):e.__proto__=t,e}}():void 0)},JNXO:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement;return(this._self._c||e)("iframe",{staticClass:"sm-component-iframe",attrs:{src:this.src,scrolling:"auto"}})},i=[]},JPNL:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("ZoZ8"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},JSQU:function(e,t,n){var r=n("YESw");e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},JSit:function(e,t,n){"use strict";n.r(t);var r,i=n("DNas"),o=n("2tgw");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},JTf3:function(e,t,n){"use strict";var n=n("013W"),r=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},JTzB:function(e,t,n){var r=n("NykK"),i=n("ExA7");e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},JVSJ:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n){var r=e+" ";switch(n){case"ss":if(e===1)r+="sekunda";else if(e===2||e===3||e===4)r+="sekunde";else r+="sekundi";return r;case"m":return t?"jedna minuta":"jedne minute";case"mm":if(e===1)r+="minuta";else if(e===2||e===3||e===4)r+="minute";else r+="minuta";return r;case"h":return t?"jedan sat":"jednog sata";case"hh":if(e===1)r+="sat";else if(e===2||e===3||e===4)r+="sata";else r+="sati";return r;case"dd":if(e===1)r+="dan";else r+="dana";return r;case"MM":if(e===1)r+="mjesec";else if(e===2||e===3||e===4)r+="mjeseca";else r+="mjeseci";return r;case"yy":if(e===1)r+="godina";else if(e===2||e===3||e===4)r+="godine";else r+="godina";return r}}var n;e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:true,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JZi6:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=r(n("uTlj")),r=(n("jKu1"),function(r){function e(e,t){var n=r.call(this)||this;return n.map=e,n.latLng=t.latLng,n.marker=null,n.createMarker(),n}(0,i.default)(e,r);var t=e.prototype;return t.createMarker=function(e){void 0===e&&(e=this.latLng),this.marker=o.default.circleMarker(e).addTo(this.map)},t.getMarker=function(){return this.marker},e}(o.default.Evented));t.default=r},Jes0:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},Jh5J:function(e,t,n){"use strict";n.r(t);var r=n("kvrn"),u=n.n(r),r=n("QbLZ"),c=n.n(r),i=n("PXgv"),r=n("YEIV"),f=n.n(r),o=n("bdgK"),h={name:"ResizeObserver",props:{disabled:Boolean},data:function(){return this.currentElement=null,this.resizeObserver=null,{width:0,height:0}},mounted:function(){this.onComponentUpdated()},updated:function(){this.onComponentUpdated()},beforeDestroy:function(){this.destroyObserver()},methods:{onComponentUpdated:function(){var e;this.$props.disabled?this.destroyObserver():((e=this.$el)!==this.currentElement&&(this.destroyObserver(),this.currentElement=e),!this.resizeObserver&&e&&(this.resizeObserver=new o.a(this.onResize),this.resizeObserver.observe(e)))},onResize:function(e){var t,e=e[0].target.getBoundingClientRect(),n=e.width,e=e.height,n=Math.floor(n),e=Math.floor(e);this.width===n&&this.height===e||(t={width:n,height:e},this.width=n,this.height=e,this.$emit("resize",t))},destroyObserver:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},render:function(){return this.$slots.default[0]}},d=n("Sx0+"),r=n("TSYQ"),p=n.n(r),y=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],m={},g=void 0;function a(e,t,n,r){var i,t=1<arguments.length&&void 0!==t&&t,n=2<arguments.length&&void 0!==n?n:null,r=3<arguments.length&&void 0!==r?r:null,t=(g||(g=document.createElement("textarea"),document.body.appendChild(g)),e.getAttribute("wrap")?g.setAttribute("wrap",e.getAttribute("wrap")):g.removeAttribute("wrap"),function(e,t){var n,r,i,t=1<arguments.length&&void 0!==t&&t,o=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");return t&&m[o]?m[o]:(e=(n=window.getComputedStyle(e)).getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),i=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),r=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),i={sizingStyle:y.map(function(e){return e+":"+n.getPropertyValue(e)}).join(";"),paddingSize:i,borderSize:r,boxSizing:e},t&&o&&(m[o]=i),i)}(e,t)),o=t.paddingSize,a=t.borderSize,s=t.boxSizing,t=t.sizingStyle,t=(g.setAttribute("style",t+";\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n"),g.value=e.value||e.placeholder||"",Number.MIN_SAFE_INTEGER),e=Number.MAX_SAFE_INTEGER,l=g.scrollHeight,u=void 0;return"border-box"===s?l+=a:"content-box"===s&&(l-=o),null===n&&null===r||(g.value=" ",i=g.scrollHeight-o,null!==n&&(t=i*n,"border-box"===s&&(t=t+o+a),l=Math.max(t,l)),null!==r&&(e=i*r,u=(e="border-box"===s?e+o+a:e)<l?"":"hidden",l=Math.min(e,l))),{height:l+"px",minHeight:t+"px",maxHeight:e+"px",overflowY:u}}var s=n("trsK"),v=n("aiEA"),r=n("tIgm"),l=n("yXPv"),b=n("TZE5"),_=n("2qPA"),x={name:"ResizableTextArea",props:c()({},l.default,{autosize:b.a.oneOfType([Object,Boolean]),autoSize:b.a.oneOfType([Object,Boolean])}),data:function(){return{textareaStyles:{},resizeStatus:0}},mixins:[r.a],mounted:function(){var e=this;this.$nextTick(function(){e.resizeTextarea()})},beforeDestroy:function(){s.a.cancel(this.nextFrameActionId),s.a.cancel(this.resizeFrameId)},watch:{value:function(){var e=this;this.$nextTick(function(){e.resizeTextarea()})}},methods:{handleResize:function(e){var t=this.$data.resizeStatus,n=this.$props.autoSize;0===t&&(this.$emit("resize",e),n)&&this.resizeOnNextFrame()},resizeOnNextFrame:function(){s.a.cancel(this.nextFrameActionId),this.nextFrameActionId=Object(s.a)(this.resizeTextarea)},resizeTextarea:function(){var e,t=this,n=this.$props.autoSize||this.$props.autosize;n&&this.$refs.textArea&&(e=n.minRows,n=n.maxRows,e=a(this.$refs.textArea,!1,e,n),this.setState({textareaStyles:e,resizeStatus:1},function(){s.a.cancel(t.resizeFrameId),t.resizeFrameId=Object(s.a)(function(){t.setState({resizeStatus:2},function(){t.resizeFrameId=Object(s.a)(function(){t.setState({resizeStatus:0}),t.fixFirefoxAutoScroll()})})})}))},fixFirefoxAutoScroll:function(){try{var e,t;document.activeElement===this.$refs.textArea&&(e=this.$refs.textArea.selectionStart,t=this.$refs.textArea.selectionEnd,this.$refs.textArea.setSelectionRange(e,t))}catch(e){}},renderTextArea:function(){var e=this.$createElement,t=Object(_.getOptionProps)(this),n=t.prefixCls,r=t.autoSize,i=t.autosize,o=t.disabled,a=this.$data,s=a.textareaStyles,a=a.resizeStatus,l=(Object(v.a)(void 0===i,"Input.TextArea","autosize is deprecated, please use autoSize instead."),Object(d.a)(t,["prefixCls","autoSize","autosize","defaultValue","allowClear","type","lazy","value"])),n=p()(n,f()({},n+"-disabled",o)),o={},t=("value"in t&&(o.value=t.value||""),c()({},s,1===a?{overflowX:"hidden",overflowY:"hidden"}:null)),s={attrs:l,domProps:o,style:t,class:n,on:Object(d.a)(Object(_.getListeners)(this),"pressEnter"),directives:[{name:"ant-input"}]};return e(h,{on:{resize:this.handleResize},attrs:{disabled:!(r||i)}},[e("textarea",u()([s,{ref:"textArea"}]))])}},render:function(){return this.renderTextArea()}},w=n("TfX5"),A=n("J+PB"),r=c()({},l.default,{autosize:b.a.oneOfType([Object,Boolean]),autoSize:b.a.oneOfType([Object,Boolean])});t.default={name:"ATextarea",inheritAttrs:!1,model:{prop:"value",event:"change.value"},props:c()({},r),inject:{configProvider:{default:function(){return w.a}}},data:function(){var e=void 0===this.value?this.defaultValue:this.value;return{stateValue:void 0===e?"":e}},computed:{},watch:{value:function(e){this.stateValue=e}},mounted:function(){var e=this;this.$nextTick(function(){e.autoFocus&&e.focus()})},methods:{setValue:function(e,t){Object(_.default)(this,"value")||(this.stateValue=e,this.$nextTick(function(){t&&t()}))},handleKeyDown:function(e){13===e.keyCode&&this.$emit("pressEnter",e),this.$emit("keydown",e)},onChange:function(e){this.$emit("change.value",e.target.value),this.$emit("change",e),this.$emit("input",e)},handleChange:function(e){var t=this,n=e.target,r=n.value,n=n.composing;(e.isComposing||n)&&this.lazy||this.stateValue===r||(this.setValue(e.target.value,function(){t.$refs.resizableTextArea.resizeTextarea()}),Object(A.resolveOnChange)(this.$refs.resizableTextArea.$refs.textArea,e,this.onChange))},focus:function(){this.$refs.resizableTextArea.$refs.textArea.focus()},blur:function(){this.$refs.resizableTextArea.$refs.textArea.blur()},handleReset:function(e){var t=this;this.setValue("",function(){t.$refs.resizableTextArea.renderTextArea(),t.focus()}),Object(A.resolveOnChange)(this.$refs.resizableTextArea.$refs.textArea,e,this.onChange)},renderTextArea:function(e){var t=this.$createElement,n=Object(_.getOptionProps)(this),n={props:c()({},n,{prefixCls:e}),on:c()({},Object(_.getListeners)(this),{input:this.handleChange,keydown:this.handleKeyDown}),attrs:this.$attrs};return t(x,u()([n,{ref:"resizableTextArea"}]))}},render:function(){var e=arguments[0],t=this.stateValue,n=this.prefixCls,n=(0,this.configProvider.getPrefixCls)("input",n),t={props:c()({},Object(_.getOptionProps)(this),{prefixCls:n,inputType:"text",value:Object(A.fixControlledValue)(t),element:this.renderTextArea(n),handleReset:this.handleReset}),on:Object(_.getListeners)(this)};return e(i.a,t)}}},Jibq:function(e,t,n){"use strict";n.r(t);var r,i=n("7aQr"),o=n("GlvM");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},JnDh:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Vx79"))),o=r(n("ymVN")),a=r(n("lSl3")),s=r(n("2Z54")),r=(a.default.install=function(e,t){(0,s.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default),e.component((a.default.options||a.default).name,a.default)},a.default);t.default=r},"JoR+":function(e,t,n){"use strict";n.r(t);var r,i=n("YEkR"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},Jq2x:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("3PNi"),i={addClass:r.addClass,removeClass:r.removeClass,hasClass:r.hasClass,toggleClass:r.toggleClass,attr:r.attr,removeAttr:r.removeAttr,transform:r.transform,transition:r.transition,on:r.on,off:r.off,trigger:r.trigger,transitionEnd:r.transitionEnd,outerWidth:r.outerWidth,outerHeight:r.outerHeight,styles:r.styles,offset:r.offset,css:r.css,each:r.each,html:r.html,text:r.text,is:r.is,index:r.index,eq:r.eq,append:r.append,prepend:r.prepend,next:r.next,nextAll:r.nextAll,prev:r.prev,prevAll:r.prevAll,parent:r.parent,parents:r.parents,closest:r.closest,find:r.find,children:r.children,filter:r.filter,remove:r.remove},n=(Object.keys(i).forEach(function(e){Object.defineProperty(r.$.fn,e,{value:i[e],writable:!0})}),r.$);t.default=n},JvlW:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},n;function r(e,t,n,r){if(t)return"kelios sekundės";else return r?"kelių sekundžių":"kelias sekundes"}function o(e,t,n,r){return t?s(n)[0]:r?s(n)[1]:s(n)[2]}function a(e){return e%10===0||e>10&&e<20}function s(e){return t[e].split("_")}function i(e,t,n,r){var i=e+" ";if(e===1)return i+o(e,t,n[0],r);else if(t)return i+(a(e)?s(n)[1]:s(n)[0]);else if(r)return i+s(n)[1];else return i+(a(e)?s(n)[1]:s(n)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:r,ss:i,m:o,mm:i,h:o,hh:i,d:o,dd:i,M:o,MM:i,y:o,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){if(e<12)return n?"vm":"VM";else return n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K4mi:function(e,t,n){"use strict";n.d(t,"h",function(){return A}),n.d(t,"a",function(){return S}),n.d(t,"b",function(){return C}),n.d(t,"e",function(){return O}),n.d(t,"f",function(){return E}),n.d(t,"g",function(){return M}),n.d(t,"c",function(){return P}),n.d(t,"i",function(){return k}),n.d(t,"d",function(){return T});var t=n("EJiy"),r=n.n(t),t=n("QbLZ"),t=n.n(t),i=n("sk9p"),o=n.n(i),a=/iPhone/i,s=/iPod/i,l=/iPad/i,u=/\bAndroid(?:.+)Mobile\b/i,c=/Android/i,f=/\bAndroid(?:.+)SD4930UR\b/i,h=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,d=/Windows Phone/i,p=/\bWindows(?:.+)ARM\b/i,y=/BlackBerry/i,m=/BB10/i,g=/Opera Mini/i,v=/\b(CriOS|Chrome)(?:.+)Mobile/i,b=/Mobile(?:.+)Firefox\b/i;function _(e,t){return e.test(t)}function x(e){var t,e=e||("undefined"!=typeof navigator?navigator.userAgent:""),n=e.split("[FBAN"),n=(void 0!==n[1]&&(t=n,e=o()(t,1)[0]),void 0!==(n=e.split("Twitter"))[1]&&(t=n,e=o()(t,1)[0]),{apple:{phone:_(a,e)&&!_(d,e),ipod:_(s,e),tablet:!_(a,e)&&_(l,e)&&!_(d,e),device:(_(a,e)||_(s,e)||_(l,e))&&!_(d,e)},amazon:{phone:_(f,e),tablet:!_(f,e)&&_(h,e),device:_(f,e)||_(h,e)},android:{phone:!_(d,e)&&_(f,e)||!_(d,e)&&_(u,e),tablet:!_(d,e)&&!_(f,e)&&!_(u,e)&&(_(h,e)||_(c,e)),device:!_(d,e)&&(_(f,e)||_(h,e)||_(u,e)||_(c,e))||_(/\bokhttp\b/i,e)},windows:{phone:_(d,e),tablet:_(p,e),device:_(d,e)||_(p,e)},other:{blackberry:_(y,e),blackberry10:_(m,e),opera:_(g,e),firefox:_(b,e),chrome:_(v,e),device:_(y,e)||_(m,e)||_(g,e)||_(b,e)||_(v,e)},any:null,phone:null,tablet:null});return n.any=n.apple.device||n.android.device||n.windows.device||n.other.device,n.phone=n.apple.phone||n.android.phone||n.windows.phone,n.tablet=n.apple.tablet||n.android.tablet||n.windows.tablet,n}var w=t()({},x(),{isMobile:x});function A(){}function S(e,t,n){return void 0===e.key?(t||"")+"item_"+n:e.key}function C(e){return e+"-menu-"}function O(e,n){var r=-1;e.forEach(function(t){r++,t&&t.type&&t.type.isMenuItemGroup?t.$slots.default.forEach(function(e){r++,t.componentOptions&&n(e,r)}):t.componentOptions&&n(t,r)})}function E(e,n,r){e&&!r.find&&e.forEach(function(e){var t;r.find||e.data&&e.data.slot&&"default"!==e.data.slot||e&&e.componentOptions&&(t=e.componentOptions.Ctor.options)&&(t.isSubMenu||t.isMenuItem||t.isMenuItemGroup)&&(-1!==n.indexOf(e.key)?r.find=!0:e.componentOptions.children&&E(e.componentOptions.children,n,r))})}var M={props:["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],on:["select","deselect","destroy","openChange","itemHover","titleMouseenter","titleMouseleave","titleClick"]},P=function(e){e=e&&"function"==typeof e.getBoundingClientRect&&e.getBoundingClientRect().width;return(e=e&&+e.toFixed(6))||0},k=function(e,t,n){e&&"object"===r()(e.style)&&(e.style[t]=n)},T=function(){return w.any}},"KHd+":function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u,c="function"==typeof e?e.options:e;return t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(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)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l&&(c.functional?(c._injectStyles=l,u=c.render,c.render=function(e,t){return l.call(t),u(e,t)}):(t=c.beforeCreate,c.beforeCreate=t?[].concat(t,l):[l])),{exports:e,options:c}}n.d(t,"a",function(){return r})},KKe4:function(e,t,n){"use strict";var i=n("m7zg"),r=n("WONN"),u=n("WxoH"),o=n("x0Ve"),c=n("c3MK"),f=n("qzpy"),a=n("XaNE"),h=n("oK8H"),d=n("M/+V"),p=n("3fk+");r("match",function(r,s,l){return[function(e){var t=a(this),n=o(e)?void 0:h(e,r);return n?i(n,e,t):new RegExp(e)[r](f(t))},function(e){var t=u(this),n=f(e),e=l(s,t,n);if(e.done)return e.value;if(!t.global)return p(t,n);for(var r=t.unicode,i=[],o=t.lastIndex=0;null!==(a=p(t,n));){var a=f(a[0]);""===(i[o]=a)&&(t.lastIndex=d(n,c(t.lastIndex),r)),o++}return 0===o?null:i}]})},KLK4:function(e,t,n){"use strict";n=n("Ks5W");e.exports=n.Promise},KLN8:function(e,t,n){"use strict";var r=n("nCzB"),i=n("rt8w"),o=n("fKql").f,a=n("c3MK"),s=n("qzpy"),l=n("OU4x"),u=n("XaNE"),c=n("/TZh"),n=n("jybJ"),f=i("".startsWith),h=i("".slice),d=Math.min,i=c("startsWith");r({target:"String",proto:!0,forced:!!(n||i||!(c=o(String.prototype,"startsWith"))||c.writable)&&!i},{startsWith:function(e){var t=s(u(this)),n=(l(e),a(d(1<arguments.length?arguments[1]:void 0,t.length))),e=s(e);return f?f(t,e,n):h(t,n,n+e.length)===e}})},KMkd:function(e,t){e.exports=function(){this.__data__=[],this.size=0}},KMuA:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("W8MJ"))),o=r(n("VbXa")),a=r(n("TFue")),s=r(n("Zni2")),l=n("YKMj"),u=r(n("9csQ")),r=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},c=["primaryColor","avatarBackground","hoverColor","tooltipColor","tooltipBackground","shadowColor","sliderRailBackgroundColor"],n=function(t){function e(){var e=t.apply(this,arguments)||this;return e.chartId=(0,u.default)("TimeLine-"),e.timer=null,e.playState=!1,e.hoverColor="#e5666f",e.tooltipColor="rgba(255, 255, 255, 0.85)",e.primaryColor="#e14d57",e.avatarBackground="#fff",e.tooltipBackground="#535353",e.shadowColor="rgba(0, 0, 0, 0.35)",e.sliderRailBackgroundColor="rgba(255, 255, 255, 0.25)",e.themeStyleName=c,e}(0,o.default)(e,t);var n=e.prototype;return n.timelineChange=function(e){return"boolean"==typeof this.nextEnable&&this.nextStep(),e},n.timelineplaychanged=function(e){return this.playState=e.playState,e},n.setPlayState=function(e){this.$refs[this.chartId]&&this.$refs[this.chartId].chart.dispatchAction({type:"timelinePlayChange",playState:e})},n.nextStep=function(){var e=this,t=(this.timer&&clearInterval(this.timer),this.playState);this.setPlayState(!1),this.timer=setInterval(function(){e.nextEnable&&(clearInterval(e.timer),e.timer=null,t)&&setTimeout(function(){e.setPlayState(!0)},Number(e.playInterval))},100)},(0,i.default)(e,[{key:"color",get:function(){return this.getColor(0)}},{key:"options",get:function(){var e={baseOption:{timeline:{axisType:"category",autoPlay:this.autoPlay,playInterval:this.playInterval,data:this.data,currentIndex:this.currentIndex,label:Object.assign({color:this.getTextColor,fontSize:12,position:15},this.label),lineStyle:Object.assign({color:this.sliderRailBackgroundColor},this.lineStyle),itemStyle:Object.assign({itemSize:13,color:this.checkpointStyle&&this.checkpointStyle.borderColor||this.avatarBackground,borderColor:this.checkpointStyle&&this.checkpointStyle.color||this.primaryColor,borderWidth:2},this.itemStyle),controlStyle:Object.assign({itemSize:19,itemGap:10,color:this.primaryColor,borderColor:this.primaryColor,borderWidth:0,opacity:1,shadowBlur:0,prevIcon:"M16.9695,5.115 L16.9695,3.306 C16.9692323,3.23442582 16.9282399,3.16924789 16.8638436,3.13800611 C16.7994472,3.10676433 16.7228823,3.11490949 16.6665,3.159 L6.1005,11.409 C5.91865188,11.5505304 5.81230143,11.7680665 5.81230143,11.9985 C5.81230143,12.2289335 5.91865188,12.4464696 6.1005,12.588 L16.6665,20.841 C16.7228012,20.8856152 16.7997611,20.8938213 16.864204,20.8620808 C16.9286469,20.8303403 16.9690514,20.7643278 16.968,20.6925 L16.968,18.882 C16.9677279,18.7669965 16.9153205,18.6583202 16.8255,18.5865 L8.388,12 L16.8255,5.412 C16.9153205,5.34017977 16.9677279,5.23150348 16.968,5.1165 L16.9695,5.115 Z",nextIcon:"M172.373333 120.32V17.408A10.638222 10.638222 0 0 1 189.667556 9.045333L790.755556 478.378667a42.496 42.496 0 0 1 0 67.072L189.610667 1014.954667a10.581333 10.581333 0 0 1-17.180445-8.476445v-102.968889a21.617778 21.617778 0 0 1 8.078222-16.782222L660.593778 512 180.565333 137.216a21.617778 21.617778 0 0 1-8.078222-16.782222L172.373333 120.32z",stopIcon:"M10.0875,7.983 C9.66,7.983 9.312,8.2815 9.312,8.652 L9.312,15.348 C9.312,15.717 9.6585,16.017 10.0875,16.017 C10.515,16.017 10.8615,15.717 10.8615,15.348 L10.8615,8.652 C10.8615,8.2815 10.5135,7.983 10.0875,7.983 Z M13.9365,7.983 C13.509,7.983 13.1625,8.2815 13.1625,8.652 L13.1625,15.348 C13.1625,15.717 13.5075,16.017 13.9365,16.017 C14.3655,16.017 14.712,15.717 14.712,15.348 L14.712,8.652 C14.712,8.2815 14.364,7.983 13.9365,7.983 Z M12.012,1.5465 C6.2475,1.5465 1.5585,6.2355 1.5585,12 C1.5585,17.7645 6.2475,22.4535 12.012,22.4535 C17.7765,22.4535 22.4655,17.7645 22.4655,12 C22.4655,6.2355 17.7765,1.5465 12.012,1.5465 Z M12.012,20.9535 C7.0755,20.9535 3.0585,16.9365 3.0585,12 C3.0585,7.0635 7.0755,3.0465 12.012,3.0465 C16.9485,3.0465 20.9655,7.0635 20.9655,12 C20.9655,16.9365 16.9485,20.9535 12.012,20.9535 Z",playIcon:"M12.657,1.6635 C6.8925,1.6635 2.2035,6.3525 2.2035,12.117 C2.2035,17.8815 6.8925,22.5705 12.657,22.5705 C18.4215,22.5705 23.1105,17.8815 23.1105,12.117 C23.1105,6.3525 18.4215,1.6635 12.657,1.6635 Z M12.657,21.0705 C7.7205,21.0705 3.7035,17.0535 3.7035,12.117 C3.7035,7.1805 7.7205,3.1635 12.657,3.1635 C17.5935,3.1635 21.6105,7.1805 21.6105,12.117 C21.6105,17.0535 17.5935,21.0705 12.657,21.0705 Z M9.777,15.09 C9.777,15.915 10.362,16.2525 11.076,15.84 L16.2225,12.8685 C16.938,12.456 16.938,11.781 16.2225,11.3685 L11.076,8.3955 C10.3605,7.983 9.777,8.3205 9.777,9.1455 L9.777,15.09 Z"},this.controlStyle),checkpointStyle:Object.assign({color:this.primaryColor,borderColor:this.avatarBackground,borderWidth:2,symbolSize:13},this.checkpointStyle),emphasis:Object.assign({label:{},itemStyle:{},controlStyle:{}},this.emphasis||{}),padding:0,left:0,right:0,top:"middle"},tooltip:{position:function(e,t,n,r,i){return[e[0]-i.contentSize[0]/2,"-15"]},backgroundColor:this.tooltipBackground,textStyle:{color:this.tooltipColor,fontFamily:"MicrosoftYaHei",fontSize:14},padding:[6,8],extraCssText:"0px 2px 7px 0px "+this.shadowColor}}},t=e.baseOption.timeline,n=t.label,r=t.itemStyle,t=t.controlStyle,i=Object.assign({label:{},itemStyle:{},controlStyle:{}},this.emphasis||{});return e.baseOption.timeline.emphasis.label=Object.assign({},n,Object.assign({color:this.hoverColor},i.label)),e.baseOption.timeline.emphasis.itemStyle=Object.assign({},Object.assign(Object.assign({},r),{color:r.borderColor,borderColor:r.color}),i.itemStyle),e.baseOption.timeline.emphasis.controlStyle=Object.assign({},t,i.controlStyle),Object.assign({},e)}}]),e}((0,l.Mixins)(a.default));r([(0,l.Prop)({default:!1})],n.prototype,"autoPlay",void 0),r([(0,l.Prop)({default:!0})],n.prototype,"loop",void 0),r([(0,l.Prop)({default:3e3})],n.prototype,"playInterval",void 0),r([(0,l.Prop)({default:0})],n.prototype,"currentIndex",void 0),r([(0,l.Prop)({default:function(){return[]}})],n.prototype,"data",void 0),r([(0,l.Prop)({default:function(){return{}}})],n.prototype,"label",void 0),r([(0,l.Prop)({default:function(){return{}}})],n.prototype,"lineStyle",void 0),r([(0,l.Prop)({default:function(){return{}}})],n.prototype,"itemStyle",void 0),r([(0,l.Prop)({default:function(){return{label:{}}}})],n.prototype,"emphasis",void 0),r([(0,l.Prop)({default:function(){return{}}})],n.prototype,"checkpointStyle",void 0),r([(0,l.Prop)({default:function(){return{}}})],n.prototype,"controlStyle",void 0),r([(0,l.Prop)()],n.prototype,"nextEnable",void 0),r([(0,l.Emit)("timelinechanged")],n.prototype,"timelineChange",null),r([(0,l.Emit)("timelineplaychanged")],n.prototype,"timelineplaychanged",null),n=r([(0,l.Component)({name:"SmTimeLine",components:{"v-chart":s.default}})],n);t.default=n},KP9C:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=r(n("Whz7")),a=r(n("qF08")),s=r(n("NQEM")),r=r(n("i7/w")),n=n("YKMj"),l=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a};function u(t,n){var e=t.constructor.options;e.mixins&&e.mixins.forEach(function(e){e[n]&&e[n].call(t,t.$options.name)}),e[n]&&e[n].call(t,t)}r=function(e){function t(){return e.apply(this,arguments)||this}(0,i.default)(t,e);var n=t.prototype;return n.mapTargetChanged=function(e,t){e&&t&&e!==t&&(u(this,"removed"),o.default.$options.getMap(e))&&this.loadMap(e)},n.mounted=function(){var e=this.getTargetName();o.default.$options.getMap(e)&&this.loadMap(e),o.default.$on("load-map",this.loadMapSucceed),a.default.$on("delete-map",this.deleteMapSucceed)},n.beforeDestroy=function(){o.default.$off("load-map",this.loadMapSucceed),a.default.$off("delete-map",this.deleteMapSucceed)},n.loadMapSucceed=function(e,t){t===this.getTargetName()&&this.loadMap(t)},n.getTargetName=function(){var e=this.$parent,e=e&&e.$options.name&&"smwebmap"===e.$options.name.toLowerCase()&&e.target;return this.mapTarget||e||Object.keys(o.default.$options.getAllMaps())[0]},n.loadMap=function(e){var t=this;this.map=o.default.$options.getMap(e),this.webmap=o.default.$options.getWebMap(e),u(this,"loaded"),this.$nextTick(function(){t.$emit("loaded")})},n.deleteMapSucceed=function(e){e===this.getTargetName()&&(u(this,"removed"),this.map=null,this.webmap=null,this.viewModel)&&(this.viewModel=null)},n.mapNotLoadedTip=function(){return!this.map&&(s.default.destroy(),s.default.warning(this.$t("warning.unassociatedMap")),!0)},t}(r.default);l([(0,n.Prop)()],r.prototype,"mapTarget",void 0),l([(0,n.Watch)("mapTarget")],r.prototype,"mapTargetChanged",null),r=l([n.Component],r);t.default=r},KS6f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("hS5c"),n={props:{pane:{type:String,default:"overlayPane"},name:{type:String,default:void 0},attribution:{type:String,default:null}},mounted:function(){var t=this;this.layer&&this.layer.on("add",function(e){t.$emit("load",e)}),(0,r.propsBinder)(this,this.$props)}};t.default=n},KSF8:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:true,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:true,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){if(e<12)return n?"sa":"SA";else return n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var i={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return e===1?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var r=i.words[n];if(n.length===1)return t?r[0]:r[1];else return e+" "+i.correctGrammaticalCase(e,r)}},t;e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:true,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},KUEp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("DSM6");t.default=function(e){this.url=e.url,this.type="rest",this.attributeFilter=e.attributeFilter||null,this.maxFeatures=e.maxFeatures||20,this.name=e.name||(0,r.geti18n)().t("commontypes.restData"),this.proxy=e.proxy}},KUxP:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},KW3Y:function(e,t,n){"use strict";n.r(t);var r,i=n("HYap");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},KcmN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=this,n=(t.emit("beforeLoopFix"),t.activeIndex),r=t.slides,i=t.loopedSlides,o=t.allowSlidePrev,a=t.allowSlideNext,s=t.snapGrid,l=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;s=-s[n]-t.getTranslate();n<i?(e=r.length-3*i+n,e+=i,t.slideTo(e,0,!1,!0)&&0!=s&&t.setTranslate((l?-t.translate:t.translate)-s)):n>=r.length-i&&(e=-r.length+n+i,e+=i,t.slideTo(e,0,!1,!0))&&0!=s&&t.setTranslate((l?-t.translate:t.translate)-s);t.allowSlidePrev=o,t.allowSlideNext=a,t.emit("loopFix")}},KfNM:function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},Kh4X:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement,n=this._self._c||e;return this.reseted?n("div",[n("video",{ref:"video",staticClass:"video-js"},[this._l(this.trackList,function(e,t){return n("track",{key:t,attrs:{kind:e.kind,label:e.label,src:e.src,srcLang:e.srcLang,default:e.default}})}),this._v(" "),this._m(0)],2)]):this._e()},i=[function(){var e=this.$createElement,e=this._self._c||e;return e("p",{staticClass:"vjs-no-js"},[this._v("\n To view this video please enable JavaScript, and consider upgrading to a web browser that\n "),e("a",{attrs:{href:"https://videojs.com/html5-video-support/",target:"_blank"}},[this._v("supports HTML5 video")])])}]},Kqrh:function(e,t,n){e.exports=n("+qE3").EventEmitter},Ks5W:function(n,e,t){"use strict";!function(e){function t(e){return e&&e.Math==Math&&e}n.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||function(){return this}()||this||Function("return this")()}.call(this,t("yLpj"))},KtZj:function(e,t,n){"use strict";var r;void 0!==(n="function"==typeof(r=function(){if(typeof window==="undefined")return null;var t=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),A=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||function(e){return t.setTimeout(e,20)},i=t.cancelAnimationFrame||t.mozCancelAnimationFrame||t.webkitCancelAnimationFrame||function(e){t.clearTimeout(e)};function o(e,t){var n=Object.prototype.toString.call(e);var r="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"[object Object]"===n||"undefined"!==typeof jQuery&&e instanceof jQuery||"undefined"!==typeof Elements&&e instanceof Elements;var i=0,o=e.length;if(r)for(;i<o;i++)t(e[i]);else t(e)}function S(e){if(!e.getBoundingClientRect)return{width:e.offsetWidth,height:e.offsetHeight};var t=e.getBoundingClientRect();return{width:Math.round(t.width),height:Math.round(t.height)}}function C(t,n){Object.keys(n).forEach(function(e){t.style[e]=n[e]})}var a=function(t,n){var x=0;function w(){var n=[];this.add=function(e){n.push(e)};var r,i;this.call=function(e){for(r=0,i=n.length;r<i;r++)n[r].call(this,e)};this.remove=function(e){var t=[];for(r=0,i=n.length;r<i;r++)if(n[r]!==e)t.push(n[r]);n=t};this.length=function(){return n.length}}function r(n,e){if(!n)return;if(n.resizedAttached){n.resizedAttached.add(e);return}n.resizedAttached=new w;n.resizedAttached.add(e);n.resizeSensor=document.createElement("div");n.resizeSensor.dir="ltr";n.resizeSensor.className="resize-sensor";var t={pointerEvents:"none",position:"absolute",left:"0px",top:"0px",right:"0px",bottom:"0px",overflow:"hidden",zIndex:"-1",visibility:"hidden",maxWidth:"100%"};var r={position:"absolute",left:"0px",top:"0px",transition:"0s"};C(n.resizeSensor,t);var i=document.createElement("div");i.className="resize-sensor-expand";C(i,t);var o=document.createElement("div");C(o,r);i.appendChild(o);var a=document.createElement("div");a.className="resize-sensor-shrink";C(a,t);var s=document.createElement("div");C(s,r);C(s,{width:"200%",height:"200%"});a.appendChild(s);n.resizeSensor.appendChild(i);n.resizeSensor.appendChild(a);n.appendChild(n.resizeSensor);var l=window.getComputedStyle(n);var u=l?l.getPropertyValue("position"):null;if("absolute"!==u&&"relative"!==u&&"fixed"!==u&&"sticky"!==u)n.style.position="relative";var c=false;var f=0;var h=S(n);var d=0;var p=0;var y=true;x=0;var m=function(){var e=n.offsetWidth;var t=n.offsetHeight;o.style.width=e+10+"px";o.style.height=t+10+"px";i.scrollLeft=e+10;i.scrollTop=t+10;a.scrollLeft=e+10;a.scrollTop=t+10};var g=function(){if(y){var e=n.offsetWidth===0&&n.offsetHeight===0;if(e){if(!x)x=A(function(){x=0;g()});return}else y=false}m()};n.resizeSensor.resetSensor=g;var v=function(){f=0;if(!c)return;d=h.width;p=h.height;if(n.resizedAttached)n.resizedAttached.call(h)};var b=function(){h=S(n);c=h.width!==d||h.height!==p;if(c&&!f)f=A(v);g()};var _=function(e,t,n){if(e.attachEvent)e.attachEvent("on"+t,n);else e.addEventListener(t,n)};_(i,"scroll",b);_(a,"scroll",b);x=A(function(){x=0;g()})}o(t,function(e){r(e,n)});this.detach=function(e){if(!x){i(x);x=0}a.detach(t,e)};this.reset=function(){t.resizeSensor.resetSensor()}};if(a.reset=function(e){o(e,function(e){e.resizeSensor.resetSensor()})},a.detach=function(e,t){o(e,function(e){if(!e)return;if(e.resizedAttached&&typeof t==="function"){e.resizedAttached.remove(t);if(e.resizedAttached.length())return}if(e.resizeSensor){if(e.contains(e.resizeSensor))e.removeChild(e.resizeSensor);delete e.resizeSensor;delete e.resizedAttached}})},typeof MutationObserver!=="undefined"){var n=new MutationObserver(function(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t].addedNodes;for(var r=0;r<n.length;r++)if(n[r].resizeSensor)a.reset(n[r])}});document.addEventListener("DOMContentLoaded",function(e){n.observe(document.body,{childList:true,subtree:true})})}return a})?r.call(t,n,t,e):r)&&(e.exports=n)},Kts3:function(e,d,p){"use strict";!function(t){p.d(d,"e",function(){return i}),p.d(d,"d",function(){return a}),p.d(d,"a",function(){return l}),p.d(d,"b",function(){return c}),p.d(d,"c",function(){return f}),p.d(d,"f",function(){return h});var e=p("QbLZ"),o=p.n(e),e=p("iCc5"),n=p.n(e),e=p("V7oC"),e=p.n(e),r=p("HXN9");function i(e){t&&Object({NODE_ENV:"production"})||console.error("[@ant-design/icons-vue]: "+e+".")}function a(e){return"object"==typeof e&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"==typeof e.icon||"function"==typeof e.icon)}function s(e){var r=0<arguments.length&&void 0!==e?e:{};return Object.keys(r).reduce(function(e,t){var n=r[t];return"class"===t?(e.className=n,delete e.class):e[t]=n,e},{})}e()(u,[{key:"clear",value:function(){this.collection={}}},{key:"delete",value:function(e){return delete this.collection[e]}},{key:"get",value:function(e){return this.collection[e]}},{key:"has",value:function(e){return Boolean(this.collection[e])}},{key:"set",value:function(e,t){return this.collection[e]=t,this}},{key:"size",get:function(){return Object.keys(this.collection).length}}]);var l=u;function u(){n()(this,u),this.collection={}}function c(n,r,i,e){return e?n(r.tag,o()({key:i},e,{attrs:o()({},s(r.attrs),e.attrs)}),(r.children||[]).map(function(e,t){return c(n,e,i+"-"+r.tag+"-"+t)})):n(r.tag,{key:i,attrs:o()({},s(r.attrs))},(r.children||[]).map(function(e,t){return c(n,e,i+"-"+r.tag+"-"+t)}))}function f(e){return Object(r.generate)(e)[0]}function h(e,t){switch(t){case"fill":return e+"-fill";case"outline":return e+"-o";case"twotone":return e+"-twotone";default:throw new TypeError("Unknown theme type: "+t+", name: "+e)}}}.call(this,p("8oxB"))},Kx1n:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.tooltipTypes=t.default=void 0,r(n("OJaq"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={routes:o.default.array,params:o.default.object,separator:o.default.string,itemRender:o.default.func},o=(t.tooltipTypes=n,{name:"SmTooltip",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},KxBF:function(e,t){e.exports=function(e,t,n){for(var r=-1,i=e.length,o=((n=i<n?i:n)<0&&(n+=i),i=n<(t=t<0?i<-t?0:i+t:t)?0:n-t>>>0,t>>>=0,Array(i));++r<i;)o[r]=e[r+t];return o}},Kz5y:function(e,t,n){var n=n("WFqU"),r="object"==typeof self&&self&&self.Object===Object&&self,n=n||r||Function("return this")();e.exports=n},L81K:function(e,t,n){"use strict";var r=n("jo6Y"),a=n.n(r),r=n("YEIV"),p=n.n(r),r=n("i7/w"),s=n.n(r),r=n("TZE5"),y=n("2qPA"),i=n("tIgm"),m=n("P1CO"),o=n("lOvz");function c(){}var g={mixins:[i.a],props:{duration:r.a.number.def(1.5),closable:r.a.bool,prefixCls:r.a.string,update:r.a.bool,closeIcon:r.a.any},watch:{duration:function(){this.restartCloseTimer()}},mounted:function(){this.startCloseTimer()},updated:function(){this.update&&this.restartCloseTimer()},beforeDestroy:function(){this.clearCloseTimer(),this.willDestroy=!0},methods:{close:function(e){e&&e.stopPropagation(),this.clearCloseTimer(),this.__emit("close")},startCloseTimer:function(){var e=this;this.clearCloseTimer(),!this.willDestroy&&this.duration&&(this.closeTimer=setTimeout(function(){e.close()},1e3*this.duration))},clearCloseTimer:function(){this.closeTimer&&(clearTimeout(this.closeTimer),this.closeTimer=null)},restartCloseTimer:function(){this.clearCloseTimer(),this.startCloseTimer()}},render:function(){var e,t=arguments[0],n=this.prefixCls,r=this.closable,i=this.clearCloseTimer,o=this.startCloseTimer,a=this.$slots,s=this.close,n=n+"-notice",l=(e={},p()(e,n,1),p()(e,n+"-closable",r),Object(y.getStyle)(this)),u=Object(y.getComponentFromProp)(this,"closeIcon");return t("div",{class:e,style:l||{right:"50%"},on:{mouseenter:i,mouseleave:o,click:Object(y.getListeners)(this).click||c}},[t("div",{class:n+"-content"},[a.default]),r?t("a",{attrs:{tabIndex:"0"},on:{click:s},class:n+"-close"},[u||t("span",{class:n+"-close-x"})]):null])}},l=n("2xRk");function v(){}var u=0,f=Date.now();var h={mixins:[i.a],props:{prefixCls:r.a.string.def("rc-notification"),transitionName:r.a.string,animation:r.a.oneOfType([r.a.string,r.a.object]).def("fade"),maxCount:r.a.number,closeIcon:r.a.any},data:function(){return{notices:[]}},methods:{getTransitionName:function(){var e=this.$props,t=e.transitionName;return t=!t&&e.animation?e.prefixCls+"-"+e.animation:t},add:function(r){var i=r.key=r.key||"rcNotification_"+f+"_"+u++,o=this.$props.maxCount;this.setState(function(e){var e=e.notices,t=e.map(function(e){return e.key}).indexOf(i),n=e.concat();return-1!==t?n.splice(t,1,r):(o&&e.length>=o&&(r.updateKey=n[0].updateKey||n[0].key,n.shift()),n.push(r)),{notices:n}})},remove:function(t){this.setState(function(e){return{notices:e.notices.filter(function(e){return e.key!==t})}})}},render:function(u){var c=this,f=this.prefixCls,h=this.notices,d=this.remove,e=this.getTransitionName,e=Object(o.a)(e()),t=h.map(function(e,t){var t=Boolean(t===h.length-1&&e.updateKey),n=e.updateKey||e.key,r=e.content,i=e.duration,o=e.closable,a=e.onClose,s=e.style,l=e.class,a=Object(m.a)(d.bind(c,e.key),a),i={props:{prefixCls:f,duration:i,closable:o,update:t,closeIcon:Object(y.getComponentFromProp)(c,"closeIcon")},on:{close:a,click:e.onClick||v},style:s,class:l,key:n};return u(g,i,["function"==typeof r?r(u):r])}),n=p()({},f,1),r=Object(y.getStyle)(this);return u("div",{class:n,style:r||{top:"65px",left:"50%"}},[u("transition-group",e,[t])])},newInstance:function(e,n){var e=e||{},t=e.getContainer,r=e.style,i=e.class,o=a()(e,["getContainer","style","class"]),e=document.createElement("div");(t?t():document.body).appendChild(e),new(l.default.Vue||s.a)({el:e,mounted:function(){var t=this;this.$nextTick(function(){n({notice:function(e){t.$refs.notification.add(e)},removeNotice:function(e){t.$refs.notification.remove(e)},component:t,destroy:function(){t.$destroy(),t.$el.parentNode.removeChild(t.$el)}})})},render:function(){return(0,arguments[0])(h,{props:o,ref:"notification",style:r,class:i})}})}};t.a=h},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e}},LBLs:function(e,t,n){"use strict";n.r(t);var r,i=n("MamD"),o=n("VGD7");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},LGoc:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SwiperSlide=void 0,n("TaHA")),r=r(n("+wOk")),n=(i.Swiper.use([i.Navigation,i.Pagination,i.Autoplay,i.Mousewheel,i.Keyboard,i.Scrollbar,i.EffectCoverflow,i.EffectCube,i.EffectFlip]),(0,r.default)(i.Swiper)),r=n.Swiper,i=n.SwiperSlide,n=(t.SwiperSlide=i,r);t.default=n},LIAx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t,n,r,i){function o(e){e=new a.default(e);r.call(t,e)}if(t.addEventListener){var e=function(){var e=!1;return"object"==typeof i?e=i.capture||!1:"boolean"==typeof i&&(e=i),t.addEventListener(n,o,i||!1),{v:{remove:function(){t.removeEventListener(n,o,e)}}}}();if("object"==typeof e)return e.v}else if(t.attachEvent)return t.attachEvent("on"+n,o),{remove:function(){t.detachEvent("on"+n,o)}}};var n=n("E0u0"),a=(n=n)&&n.__esModule?n:{default:n};e.exports=t.default},LLgY:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("yJpe"))),o=r(n("yd00")),a=r(n("tyiB")),s=r(n("2Z54")),r=(a.default.install=function(e,t){(0,s.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default),e.component((a.default.options||a.default).name,a.default)},a.default);t.default=r},LMSt:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.inputNumberTypes=t.default=void 0,function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=a(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("CdlZ"))),o=r(n("ET/Y")),r=r(n("nvtG"));function a(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(a=function(e){return e?n:t})(e))}n=Object.assign(Object.assign({},i.InputNumberProps),{size:o.default.oneOf(["small","large","default","middle"])}),t.inputNumberTypes=n,o={name:"SmInputNumber",defaultComponent:i.default,mixins:[r.default],model:{prop:"value",event:"change"},props:n,computed:{extralListeners:function(){var t=this;return{change:function(e){t.$emit("change",e)}}},extralProps:function(){return{size:"middle"===this.size?void 0:this.size}},componentClass:function(){return{"sm-component-input-number-md":"middle"===this.size}}}};t.default=o},LPAb:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.transferTypes=t.default=void 0,function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=s(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("ey0V"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG"));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}n=Object.assign(Object.assign({},i.TransferProps),{showSearch:o.default.bool}),t.transferTypes=n,o={name:"SmTransfer",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n};t.default=o},LPgQ:function(e,t,n){"use strict";function r(e){return e.default||e}n.d(t,"a",function(){return r})},LTaE:function(e,t,n){"use strict";n.r(t);var r,i=n("6dy9"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"LU8/":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("KP9C"))),o=r(n("TFue")),a=r(n("PZvK")),s=r(n("XaGS")),l=n("e7LN"),u=r(n("NQEM")),r={name:"SmIdentify",mixins:[i.default,o.default],props:{layerNames:{type:Array,default:function(){return[]}},fields:{type:Array,default:function(){return[]}},layerStyle:{type:Object,default:function(){return{}}}},data:function(){return{popupProps:{},layers:[],layerType:!1,popupLayers:[]}},watch:{layerNames:function(e,t){e&&!(0,s.default)(e,t)&&(this.$options.removed.call(this),this.setLayers())},getBackground:function(){this.changeStyle()}},loaded:function(){this.setViewModel(),this.setLayers()},removed:function(){this.popupLayers&&this.popupLayers.forEach(function(e){e.closePopup(),e.off("click"),e.off("popupclose")}),this.layers&&this.layers.forEach(function(e){e.off("click")}),this.viewModel&&this.viewModel.removed(),this.popupLayers=[],this.layers=[]},beforeDestroy:function(){this.$options.removed.call(this)},methods:{setViewModel:function(){this.viewModel=new a.default(this.map,{mapTarget:this.getTargetName(),layerNames:this.layerNames,layerStyle:this.layerStyle})},setLayers:function(){var n=this;this.layers=[],this.layerNames.forEach(function(e){e=n.getLayerByName(e);e&&n.layers.push(e)}),this.layers&&0<this.layers.length&&this.layers.forEach(function(e){var t=n.viewModel.getLayerType(e);n.bindLayerClick(e,t)})},getLayerByName:function(e){var t=this.viewModel.getLayerByName(e);return t||u.default.error(this.$t("identify.layerNotExit",{layer:e})),t},bindLayerClick:function(e,t){t?this.bindGeojsonLayer(e):e.TFEvents?this.bindThemeLayer(e):this.bindOtherLayer(e)},bindGeojsonLayer:function(e){var t=this;e.on("click",function(e){t.bindPopupLayer(e.layer.feature,e.layer)})},bindThemeLayer:function(t){var n=this;t.on("click",function(e){e.target&&e.target.refDataID&&(e=t.getFeatureById(e.target.refDataID),e=n.viewModel.formatGeoJSON(e),n.bindPopupLayer(e,t))})},bindOtherLayer:function(t){var i=this;if(t._layers)for(var o in t._layers)!function(){var n,r,e=t._layers[o];e.TFEvents?i.bindThemeLayer(t._layers[o]):i.viewModel.getLayerType(e)?i.bindGeojsonLayer(e):e.on("click",function(e){var t=e.sourceTarget&&e.sourceTarget._point&&i.map.layerPointToLatLng(e.sourceTarget._point)||e.target&&e.target._latlng||e.latlng;r={type:"Feature",properties:t,geometry:{type:"Point",coordinates:[t.lng,t.lat]}},e.sourceTarget.feature=r,n=e.sourceTarget,i.bindPopupLayer(r,n)})}()},bindPopupLayer:function(t,n){var r,i=this;t&&(this.filterFeature(t),r=((0,l.getFeatureCenter)(t)||[]).reverse(),this.$nextTick(function(){setTimeout(function(){var e=i.$refs.Popup;e.style.display="block",n.bindPopup(e),n.openPopup(r),n.on("popupclose",function(){return i.viewModel.removed()}),n.feature||(n.feature=t),i.viewModel.addOverlayToMap(n,t,i.layerStyle),i.popupLayers.push(n)},0)}))},filterFeature:function(t){var n=this;this.popupProps={},t.properties&&(0<this.fields.length?this.fields.forEach(function(e){Object.prototype.hasOwnProperty.call(t.properties,e)&&(n.popupProps[e]=t.properties[e])}):this.popupProps=t.properties)},changeStyle:function(){var e=document.querySelector(".leaflet-popup-content-wrapper"),t=document.querySelector(".leaflet-popup-tip");e&&(e.style.background=this.getBackground),t&&(t.style.background=this.getBackground)}}};t.default=r},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},LcsW:function(e,t,n){n=n("kekF")(Object.getPrototypeOf,Object);e.exports=n},Levi:function(e,t,n){"use strict";t.a={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"}},Lltv:function(e,t,n){"use strict";var r=n("vkZI"),i=n("G5Kn"),o=n("AoAp"),a=n("UQ6y"),s=n("FlRv").f,l=n("GHES"),u=n("i57Q"),c=n("jybJ"),n=n("++4Y"),f="Array Iterator",h=a.set,d=a.getterFor(f),a=(e.exports=l(Array,"Array",function(e,t){h(this,{type:f,target:r(e),index:0,kind:t})},function(){var e=d(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)},"values"),o.Arguments=o.Array);if(i("keys"),i("values"),i("entries"),!c&&n&&"values"!==a.name)try{s(a,"name",{value:"values"})}catch(e){}},Loxo:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n("wd/R"))},Lpxi:function(e,t,n){"use strict";n.r(t);var r,i=n("TTx8");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},LsHQ:function(e,t,n){var r=n("EA7m"),l=n("mv/X");e.exports=function(s){return r(function(e,t){var n=-1,r=t.length,i=1<r?t[r-1]:void 0,o=2<r?t[2]:void 0,i=3<s.length&&"function"==typeof i?(r--,i):void 0;for(o&&l(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&s(e,a,n,i)}return e})}},"M/+V":function(e,t,n){"use strict";var r=n("ymN0").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},M13s:function(e,t,n){"use strict";n.r(t);var r,i=n("4aUf");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},M1xp:function(e,t,n){var r=n("a0xu");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"M6I/":function(e,t,n){"use strict";n.r(t);var r,i=n("8UUx"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},MAwk:function(e,t,n){"use strict";n.r(t);var r,i=n("xvyi"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},MBOJ:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("pVnL"))),o=r(n("9kws")),a="sm-component-message",s=o.default.config,r=(s({prefixCls:a}),o.default.config=function(e){e.prefixCls&&e.prefixCls!==a&&o.default.destroy(),s((0,i.default)({},e,{prefixCls:e.prefixCls||a}))},o.default);t.default=r},MMmD:function(e,t,n){var r=n("lSCD"),i=n("shjB");e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},MNKV:function(e,t,n){"use strict";var r=n("nCzB"),i=n("aLaa"),o=n("OU4x"),a=n("XaNE"),s=n("qzpy"),n=n("/TZh"),l=i("".indexOf);r({target:"String",proto:!0,forced:!n("includes")},{includes:function(e){return!!~l(s(a(this)),s(o(e)),1<arguments.length?arguments[1]:void 0)}})},MPFp:function(e,t,n){"use strict";function g(){return this}var v=n("uOPS"),b=n("Y7ZC"),_=n("kTiW"),x=n("NegM"),w=n("SBuE"),A=n("j2DC"),S=n("RfKB"),C=n("U+KD"),O=n("UWiX")("iterator"),E=!([].keys&&"next"in[].keys()),M="values";e.exports=function(e,t,n,r,i,o,a){A(n,t,r);function s(e){if(!E&&e in h)return h[e];switch(e){case"keys":case M:return function(){return new n(this,e)}}return function(){return new n(this,e)}}var l,u,r=t+" Iterator",c=i==M,f=!1,h=e.prototype,d=h[O]||h["@@iterator"]||i&&h[i],p=d||s(i),y=i?c?s("entries"):p:void 0,m="Array"==t&&h.entries||d;if(m&&(m=C(m.call(new e)))!==Object.prototype&&m.next&&(S(m,r,!0),v||"function"==typeof m[O]||x(m,O,g)),c&&d&&d.name!==M&&(f=!0,p=function(){return d.call(this)}),v&&!a||!E&&!f&&h[O]||x(h,O,p),w[t]=p,w[r]=g,i)if(l={values:c?p:s(M),keys:o?p:s("keys"),entries:y},a)for(u in l)u in h||_(h,u,l[u]);else b(b.P+b.F*(E||f),t,l);return l}},MURR:function(e,t,n){"use strict";var n=n("aLaa"),r=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},MXF5:function(e,R,N){!function(n){var s=R;s.parser=function(e,t){return new a(e,t)},s.SAXParser=a,s.SAXStream=o,s.createStream=function(e,t){return new o(e,t)},s.MAX_BUFFER_LENGTH=65536;var r,l=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function a(e,t){if(!(this instanceof a))return new a(e,t);for(var n=this,r=n,i=0,o=l.length;i<o;i++)r[l[i]]="";n.q=n.c="",n.bufferCheckPosition=s.MAX_BUFFER_LENGTH,n.opt=t||{},n.opt.lowercase=n.opt.lowercase||n.opt.lowercasetags,n.looseCase=n.opt.lowercase?"toLowerCase":"toUpperCase",n.tags=[],n.closed=n.closedRoot=n.sawRoot=!1,n.tag=n.error=null,n.strict=!!e,n.noscript=!(!e&&!n.opt.noscript),n.state=w.BEGIN,n.strictEntities=n.opt.strictEntities,n.ENTITIES=n.strictEntities?Object.create(s.XML_ENTITIES):Object.create(s.ENTITIES),n.attribList=[],n.opt.xmlns&&(n.ns=Object.create(d)),n.trackPosition=!1!==n.opt.position,n.trackPosition&&(n.position=n.line=n.column=0),A(n,"onready")}s.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t,n=[];for(t in e)e.hasOwnProperty(t)&&n.push(t);return n}),a.prototype={end:function(){M(this)},write:function(e){var t=this;if(this.error)throw this.error;if(t.closed)return E(t,"Cannot write after close. Assign an onready handler.");if(null===e)return M(t);"object"==typeof e&&(e=e.toString());var n,r,i=0,o="";for(;;){if(o=D(e,i++),!(t.c=o))break;switch(t.trackPosition&&(t.position++,"\n"===o?(t.line++,t.column=0):t.column++),t.state){case w.BEGIN:if(t.state=w.BEGIN_WHITESPACE,"\ufeff"===o)continue;j(t,o);continue;case w.BEGIN_WHITESPACE:j(t,o);continue;case w.TEXT:if(t.sawRoot&&!t.closedRoot){for(var a=i-1;o&&"<"!==o&&"&"!==o;)(o=D(e,i++))&&t.trackPosition&&(t.position++,"\n"===o?(t.line++,t.column=0):t.column++);t.textNode+=e.substring(a,i-1)}"<"!==o||t.sawRoot&&t.closedRoot&&!t.strict?(g(o)||t.sawRoot&&!t.closedRoot||P(t,"Text data outside of root node."),"&"===o?t.state=w.TEXT_ENTITY:t.textNode+=o):(t.state=w.OPEN_WAKA,t.startTagPosition=t.position);continue;case w.SCRIPT:"<"===o?t.state=w.SCRIPT_ENDING:t.script+=o;continue;case w.SCRIPT_ENDING:"/"===o?t.state=w.CLOSE_TAG:(t.script+="<"+o,t.state=w.SCRIPT);continue;case w.OPEN_WAKA:"!"===o?(t.state=w.SGML_DECL,t.sgmlDecl=""):g(o)||(b(p,o)?(t.state=w.OPEN_TAG,t.tagName=o):"/"===o?(t.state=w.CLOSE_TAG,t.tagName=""):"?"===o?(t.state=w.PROC_INST,t.procInstName=t.procInstBody=""):(P(t,"Unencoded <"),t.startTagPosition+1<t.position&&(a=t.position-t.startTagPosition,o=new Array(a).join(" ")+o),t.textNode+="<"+o,t.state=w.TEXT));continue;case w.SGML_DECL:(t.sgmlDecl+o).toUpperCase()===u?(S(t,"onopencdata"),t.state=w.CDATA,t.sgmlDecl="",t.cdata=""):t.sgmlDecl+o==="--"?(t.state=w.COMMENT,t.comment="",t.sgmlDecl=""):(t.sgmlDecl+o).toUpperCase()===c?(t.state=w.DOCTYPE,(t.doctype||t.sawRoot)&&P(t,"Inappropriately located doctype declaration"),t.doctype="",t.sgmlDecl=""):">"===o?(S(t,"onsgmldeclaration",t.sgmlDecl),t.sgmlDecl="",t.state=w.TEXT):(v(o)&&(t.state=w.SGML_DECL_QUOTED),t.sgmlDecl+=o);continue;case w.SGML_DECL_QUOTED:o===t.q&&(t.state=w.SGML_DECL,t.q=""),t.sgmlDecl+=o;continue;case w.DOCTYPE:">"===o?(t.state=w.TEXT,S(t,"ondoctype",t.doctype),t.doctype=!0):(t.doctype+=o,"["===o?t.state=w.DOCTYPE_DTD:v(o)&&(t.state=w.DOCTYPE_QUOTED,t.q=o));continue;case w.DOCTYPE_QUOTED:t.doctype+=o,o===t.q&&(t.q="",t.state=w.DOCTYPE);continue;case w.DOCTYPE_DTD:t.doctype+=o,"]"===o?t.state=w.DOCTYPE:v(o)&&(t.state=w.DOCTYPE_DTD_QUOTED,t.q=o);continue;case w.DOCTYPE_DTD_QUOTED:t.doctype+=o,o===t.q&&(t.state=w.DOCTYPE_DTD,t.q="");continue;case w.COMMENT:"-"===o?t.state=w.COMMENT_ENDING:t.comment+=o;continue;case w.COMMENT_ENDING:"-"===o?(t.state=w.COMMENT_ENDED,t.comment=O(t.opt,t.comment),t.comment&&S(t,"oncomment",t.comment),t.comment=""):(t.comment+="-"+o,t.state=w.COMMENT);continue;case w.COMMENT_ENDED:">"!==o?(P(t,"Malformed comment"),t.comment+="--"+o,t.state=w.COMMENT):t.state=w.TEXT;continue;case w.CDATA:"]"===o?t.state=w.CDATA_ENDING:t.cdata+=o;continue;case w.CDATA_ENDING:"]"===o?t.state=w.CDATA_ENDING_2:(t.cdata+="]"+o,t.state=w.CDATA);continue;case w.CDATA_ENDING_2:">"===o?(t.cdata&&S(t,"oncdata",t.cdata),S(t,"onclosecdata"),t.cdata="",t.state=w.TEXT):"]"===o?t.cdata+="]":(t.cdata+="]]"+o,t.state=w.CDATA);continue;case w.PROC_INST:"?"===o?t.state=w.PROC_INST_ENDING:g(o)?t.state=w.PROC_INST_BODY:t.procInstName+=o;continue;case w.PROC_INST_BODY:if(!t.procInstBody&&g(o))continue;"?"===o?t.state=w.PROC_INST_ENDING:t.procInstBody+=o;continue;case w.PROC_INST_ENDING:">"===o?(S(t,"onprocessinginstruction",{name:t.procInstName,body:t.procInstBody}),t.procInstName=t.procInstBody="",t.state=w.TEXT):(t.procInstBody+="?"+o,t.state=w.PROC_INST_BODY);continue;case w.OPEN_TAG:b(y,o)?t.tagName+=o:(function(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns);e.attribList.length=0,S(e,"onopentagstart",n)}(t),">"===o?I(t):"/"===o?t.state=w.OPEN_TAG_SLASH:(g(o)||P(t,"Invalid character in tag name"),t.state=w.ATTRIB));continue;case w.OPEN_TAG_SLASH:">"===o?(I(t,!0),L(t)):(P(t,"Forward-slash in opening tag not followed by >"),t.state=w.ATTRIB);continue;case w.ATTRIB:if(g(o))continue;">"===o?I(t):"/"===o?t.state=w.OPEN_TAG_SLASH:b(p,o)?(t.attribName=o,t.attribValue="",t.state=w.ATTRIB_NAME):P(t,"Invalid attribute name");continue;case w.ATTRIB_NAME:"="===o?t.state=w.ATTRIB_VALUE:">"===o?(P(t,"Attribute without value"),t.attribValue=t.attribName,T(t),I(t)):g(o)?t.state=w.ATTRIB_NAME_SAW_WHITE:b(y,o)?t.attribName+=o:P(t,"Invalid attribute name");continue;case w.ATTRIB_NAME_SAW_WHITE:if("="===o)t.state=w.ATTRIB_VALUE;else{if(g(o))continue;P(t,"Attribute without value"),t.tag.attributes[t.attribName]="",t.attribValue="",S(t,"onattribute",{name:t.attribName,value:""}),t.attribName="",">"===o?I(t):b(p,o)?(t.attribName=o,t.state=w.ATTRIB_NAME):(P(t,"Invalid attribute name"),t.state=w.ATTRIB)}continue;case w.ATTRIB_VALUE:if(g(o))continue;v(o)?(t.q=o,t.state=w.ATTRIB_VALUE_QUOTED):(P(t,"Unquoted attribute value"),t.state=w.ATTRIB_VALUE_UNQUOTED,t.attribValue=o);continue;case w.ATTRIB_VALUE_QUOTED:if(o!==t.q){"&"===o?t.state=w.ATTRIB_VALUE_ENTITY_Q:t.attribValue+=o;continue}T(t),t.q="",t.state=w.ATTRIB_VALUE_CLOSED;continue;case w.ATTRIB_VALUE_CLOSED:g(o)?t.state=w.ATTRIB:">"===o?I(t):"/"===o?t.state=w.OPEN_TAG_SLASH:b(p,o)?(P(t,"No whitespace between attributes"),t.attribName=o,t.attribValue="",t.state=w.ATTRIB_NAME):P(t,"Invalid attribute name");continue;case w.ATTRIB_VALUE_UNQUOTED:if(!function(e){return">"===e||g(e)}(o)){"&"===o?t.state=w.ATTRIB_VALUE_ENTITY_U:t.attribValue+=o;continue}T(t),">"===o?I(t):t.state=w.ATTRIB;continue;case w.CLOSE_TAG:if(t.tagName)">"===o?L(t):b(y,o)?t.tagName+=o:t.script?(t.script+="</"+t.tagName,t.tagName="",t.state=w.SCRIPT):(g(o)||P(t,"Invalid tagname in closing tag"),t.state=w.CLOSE_TAG_SAW_WHITE);else{if(g(o))continue;!function(e,t){return!b(e,t)}(p,o)?t.tagName=o:t.script?(t.script+="</"+o,t.state=w.SCRIPT):P(t,"Invalid tagname in closing tag.")}continue;case w.CLOSE_TAG_SAW_WHITE:if(g(o))continue;">"===o?L(t):P(t,"Invalid characters in closing tag");continue;case w.TEXT_ENTITY:case w.ATTRIB_VALUE_ENTITY_Q:case w.ATTRIB_VALUE_ENTITY_U:switch(t.state){case w.TEXT_ENTITY:n=w.TEXT,r="textNode";break;case w.ATTRIB_VALUE_ENTITY_Q:n=w.ATTRIB_VALUE_QUOTED,r="attribValue";break;case w.ATTRIB_VALUE_ENTITY_U:n=w.ATTRIB_VALUE_UNQUOTED,r="attribValue"}";"===o?(t[r]+=function(e){var t,n=e.entity,r=n.toLowerCase(),i="";if(e.ENTITIES[n])return e.ENTITIES[n];if(e.ENTITIES[r])return e.ENTITIES[r];"#"===(n=r).charAt(0)&&(i="x"===n.charAt(1)?(n=n.slice(2),(t=parseInt(n,16)).toString(16)):(n=n.slice(1),(t=parseInt(n,10)).toString(10)));if(n=n.replace(/^0+/,""),isNaN(t)||i.toLowerCase()!==n)return P(e,"Invalid character entity"),"&"+e.entity+";";return String.fromCodePoint(t)}(t),t.entity="",t.state=n):b(t.entity.length?B:m,o)?t.entity+=o:(P(t,"Invalid character in entity name"),t[r]+="&"+t.entity+o,t.entity="",t.state=n);continue;default:throw new Error(t,"Unknown state: "+t.state)}}t.position>=t.bufferCheckPosition&&!function(e){for(var t=Math.max(s.MAX_BUFFER_LENGTH,10),n=0,r=0,i=l.length;r<i;r++){var o=e[l[r]].length;if(t<o)switch(l[r]){case"textNode":C(e);break;case"cdata":S(e,"oncdata",e.cdata),e.cdata="";break;case"script":S(e,"onscript",e.script),e.script="";break;default:E(e,"Max buffer length exceeded: "+l[r])}n=Math.max(n,o)}var a=s.MAX_BUFFER_LENGTH-n;e.bufferCheckPosition=a+e.position}(t);return t}
- /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;C(e=this),""!==e.cdata&&(S(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(S(e,"onscript",e.script),e.script="")}};try{r=N("1IWx").Stream}catch(e){r=function(){}}var i=s.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});function o(e,t){if(!(this instanceof o))return new o(e,t);r.apply(this),this._parser=new a(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,i.forEach(function(t){Object.defineProperty(n,"on"+t,{get:function(){return n._parser["on"+t]},set:function(e){if(!e)return n.removeAllListeners(t),n._parser["on"+t]=e;n.on(t,e)},enumerable:!0,configurable:!1})})}(o.prototype=Object.create(r.prototype,{constructor:{value:o}})).write=function(e){var t;return"function"==typeof n&&"function"==typeof n.isBuffer&&n.isBuffer(e)&&(this._decoder||(t=N("fXKp").StringDecoder,this._decoder=new t("utf8")),e=this._decoder.write(e)),this._parser.write(e.toString()),this.emit("data",e),!0},o.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},o.prototype.on=function(t,e){var n=this;return n._parser["on"+t]||-1===i.indexOf(t)||(n._parser["on"+t]=function(){var e=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),n.emit.apply(n,e)}),r.prototype.on.call(n,t,e)};var u="[CDATA[",c="DOCTYPE",f="http://www.w3.org/XML/1998/namespace",h="http://www.w3.org/2000/xmlns/",d={xml:f,xmlns:h},p=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,y=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,m=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,B=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function g(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function v(e){return'"'===e||"'"===e}function b(e,t){return e.test(t)}var e,_,x,w=0;for(e in s.STATE={BEGIN:w++,BEGIN_WHITESPACE:w++,TEXT:w++,TEXT_ENTITY:w++,OPEN_WAKA:w++,SGML_DECL:w++,SGML_DECL_QUOTED:w++,DOCTYPE:w++,DOCTYPE_QUOTED:w++,DOCTYPE_DTD:w++,DOCTYPE_DTD_QUOTED:w++,COMMENT_STARTING:w++,COMMENT:w++,COMMENT_ENDING:w++,COMMENT_ENDED:w++,CDATA:w++,CDATA_ENDING:w++,CDATA_ENDING_2:w++,PROC_INST:w++,PROC_INST_BODY:w++,PROC_INST_ENDING:w++,OPEN_TAG:w++,OPEN_TAG_SLASH:w++,ATTRIB:w++,ATTRIB_NAME:w++,ATTRIB_NAME_SAW_WHITE:w++,ATTRIB_VALUE:w++,ATTRIB_VALUE_QUOTED:w++,ATTRIB_VALUE_CLOSED:w++,ATTRIB_VALUE_UNQUOTED:w++,ATTRIB_VALUE_ENTITY_Q:w++,ATTRIB_VALUE_ENTITY_U:w++,CLOSE_TAG:w++,CLOSE_TAG_SAW_WHITE:w++,SCRIPT:w++,SCRIPT_ENDING:w++},s.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},s.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(s.ENTITIES).forEach(function(e){var t=s.ENTITIES[e],t="number"==typeof t?String.fromCharCode(t):t;s.ENTITIES[e]=t}),s.STATE)s.STATE[s.STATE[e]]=e;function A(e,t,n){e[t]&&e[t](n)}function S(e,t,n){e.textNode&&C(e),A(e,t,n)}function C(e){e.textNode=O(e.opt,e.textNode),e.textNode&&A(e,"ontext",e.textNode),e.textNode=""}function O(e,t){return e.trim&&(t=t.trim()),t=e.normalize?t.replace(/\s+/g," "):t}function E(e,t){return C(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,A(e,"onerror",t),e}function M(e){return e.sawRoot&&!e.closedRoot&&P(e,"Unclosed root tag"),e.state!==w.BEGIN&&e.state!==w.BEGIN_WHITESPACE&&e.state!==w.TEXT&&E(e,"Unexpected end"),C(e),e.c="",e.closed=!0,A(e,"onend"),a.call(e,e.strict,e.opt),e}function P(e,t){if("object"!=typeof e||!(e instanceof a))throw new Error("bad call to strictFail");e.strict&&E(e,t)}function k(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),r=n[0],n=n[1];return t&&"xmlns"===e&&(r="xmlns",n=""),{prefix:r,local:n}}function T(e){var t,n,r;e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName)||(e.opt.xmlns?(n=(t=k(e.attribName,!0)).prefix,t=t.local,"xmlns"===n&&("xml"===t&&e.attribValue!==f?P(e,"xml: prefix must be bound to "+f+"\nActual: "+e.attribValue):"xmlns"===t&&e.attribValue!==h?P(e,"xmlns: prefix must be bound to "+h+"\nActual: "+e.attribValue):(n=e.tag,r=e.tags[e.tags.length-1]||e,n.ns===r.ns&&(n.ns=Object.create(r.ns)),n.ns[t]=e.attribValue)),e.attribList.push([e.attribName,e.attribValue])):(e.tag.attributes[e.attribName]=e.attribValue,S(e,"onattribute",{name:e.attribName,value:e.attribValue}))),e.attribName=e.attribValue=""}function I(t,e){if(t.opt.xmlns){var n=t.tag,r=k(t.tagName),r=(n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(P(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName)),n.uri=r.prefix),t.tags[t.tags.length-1]||t);n.ns&&r.ns!==n.ns&&Object.keys(n.ns).forEach(function(e){S(t,"onopennamespace",{prefix:e,uri:n.ns[e]})});for(var i=0,o=t.attribList.length;i<o;i++){var a=t.attribList[i],s=a[0],a=a[1],l=k(s,!0),u=l.prefix,l=l.local,c=""!==u&&n.ns[u]||"",a={name:s,value:a,prefix:u,local:l,uri:c};u&&"xmlns"!==u&&!c&&(P(t,"Unbound namespace prefix: "+JSON.stringify(u)),a.uri=u),t.tag.attributes[s]=a,S(t,"onattribute",a)}t.attribList.length=0}t.tag.isSelfClosing=!!e,t.sawRoot=!0,t.tags.push(t.tag),S(t,"onopentag",t.tag),e||(t.noscript||"script"!==t.tagName.toLowerCase()?t.state=w.TEXT:t.state=w.SCRIPT,t.tag=null,t.tagName=""),t.attribName=t.attribValue="",t.attribList.length=0}function L(n){if(n.tagName){if(n.script){if("script"!==n.tagName)return n.script+="</"+n.tagName+">",n.tagName="",void(n.state=w.SCRIPT);S(n,"onscript",n.script),n.script=""}for(var e=n.tags.length,t=n.tagName,r=t=n.strict?t:t[n.looseCase]();e--&&n.tags[e].name!==r;)P(n,"Unexpected close tag");if(e<0)P(n,"Unmatched closing tag: "+n.tagName),n.textNode+="</"+n.tagName+">";else{n.tagName=t;for(var i=n.tags.length;i-- >e;){var o,a=n.tag=n.tags.pop();n.tagName=n.tag.name,S(n,"onclosetag",n.tagName);for(o in a.ns)o,a.ns[o];var s=n.tags[n.tags.length-1]||n;n.opt.xmlns&&a.ns!==s.ns&&Object.keys(a.ns).forEach(function(e){var t=a.ns[e];S(n,"onclosenamespace",{prefix:e,uri:t})})}0===e&&(n.closedRoot=!0),n.tagName=n.attribValue=n.attribName="",n.attribList.length=0}}else P(n,"Weird empty close tag."),n.textNode+="</>";n.state=w.TEXT}function j(e,t){"<"===t?(e.state=w.OPEN_WAKA,e.startTagPosition=e.position):g(t)||(P(e,"Non-whitespace before first tag."),e.textNode=t,e.state=w.TEXT)}function D(e,t){var n="";return n=t<e.length?e.charAt(t):n}function t(){var e=[],t=-1,n=arguments.length;if(!n)return"";for(var r="";++t<n;){var i=Number(arguments[t]);if(!isFinite(i)||i<0||1114111<i||x(i)!==i)throw RangeError("Invalid code point: "+i);i<=65535?e.push(i):e.push(55296+((i-=65536)>>10),i%1024+56320),(t+1===n||16384<e.length)&&(r+=_.apply(null,e),e.length=0)}return r}w=s.STATE,String.fromCodePoint||(_=String.fromCharCode,x=Math.floor,Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:t,configurable:!0,writable:!0}):String.fromCodePoint=t)}.call(this,N("tjlA").Buffer)},MamD:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("div",{ref:"colorpicker",staticClass:"sm-component-colorpicker"},[e("div",{staticClass:"sm-component-colorpicker__current",on:{click:t.togglePicker}},[e("div",{staticClass:"current-color",style:"background-color: "+t.colorValue}),t._v(" "),t.colorValue&&t.deleteIcon?e("i",{staticClass:"sm-components-icon-close delete-icon",on:{click:function(e){return e.stopPropagation(),t.deleteColor.apply(null,arguments)}}}):t._e()]),t._v(" "),e("chrome-picker",{directives:[{name:"show",rawName:"v-show",value:t.displayPicker,expression:"displayPicker"}],attrs:{value:t.colors},on:{input:t.updateFromPicker}})],1)},i=[]},MgzW:function(e,t,n){"use strict";
- /*
- object-assign
- (c) Sindre Sorhus
- @license MIT
- */var l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(Object.assign){var e=new String("abc");if(e[5]="de","5"!==Object.getOwnPropertyNames(e)[0]){for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r,i=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"===i.join(""))return r={},"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")?1:void 0}}}catch(e){}}()?Object.assign:function(e,t){for(var n,r=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var o in n=Object(arguments[i]))u.call(n,o)&&(r[o]=n[o]);if(l)for(var a=l(n),s=0;s<a.length;s++)c.call(n,a[s])&&(r[a[s]]=n[a[s]])}return r}},MrPd:function(e,t,n){var i=n("hypo"),o=n("ljhN"),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var r=e[t];a.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||i(e,t,n)}},MujB:function(e,t,n){"use strict";n=n("TZE5"),n=n.a.shape({subscribe:n.a.func.isRequired,setState:n.a.func.isRequired,getState:n.a.func.isRequired});t.a={name:"StoreProvider",props:{store:n.isRequired},provide:function(){return{storeContext:this.$props}},render:function(){return this.$slots.default[0]}}},MvSz:function(e,t,n){var r=n("LXxW"),n=n("0ycA"),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;e.exports=o?function(t){return null==t?[]:(t=Object(t),r(o(t),function(e){return i.call(t,e)}))}:n},MvwC:function(e,t,n){n=n("5T2Y").document;e.exports=n&&n.documentElement},N2wq:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("z+Ea"))),r=r(n("eCvj")),n={loadImage:i.default,preloadImages:r.default};t.default=n},N5dz:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.treeSelectNodeTypes=t.default=void 0,r(n("e+xT"))),o=r(n("TFue")),a=r(n("WlrG")),r=r(n("ET/Y")),n={eventKey:r.default.oneOfType([r.default.string,r.default.number]),prefixCls:r.default.string,root:r.default.object,expanded:r.default.bool,selected:r.default.bool,checked:r.default.bool,loaded:r.default.bool,loading:r.default.bool,halfChecked:r.default.bool,title:r.default.any,pos:r.default.string,dragOver:r.default.bool,dragOverGapTop:r.default.bool,dragOverGapBottom:r.default.bool,isLeaf:r.default.bool,checkable:r.default.bool,selectable:r.default.bool,disabled:r.default.bool,disableCheckbox:r.default.bool,icon:r.default.any,dataRef:r.default.object,switcherIcon:r.default.any,label:r.default.any,value:r.default.any},r=(t.treeSelectNodeTypes=n,{name:"SmTreeSelectNode",defaultComponent:i.default.TreeNode,mixins:[o.default,a.default],inheritAttrs:!1,__ANT_TREE_NODE:!0,isTreeNode:1,props:n});t.default=r},N6FT:function(e,t,n){"use strict";var r=n("++4Y"),n=n("YELS"),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,n=n(i,"name"),a=n&&"something"===function(){}.name,r=n&&(!r||o(i,"name").configurable);e.exports={EXISTS:n,PROPER:a,CONFIGURABLE:r}},NCkV:function(e,t,n){"use strict";var c=n("1mOU"),f=n("m7zg"),r=n("aLaa"),i=n("WONN"),g=n("WxoH"),o=n("x0Ve"),h=n("COGW"),d=n("XaNE"),v=n("NudO"),b=n("M/+V"),_=n("c3MK"),x=n("qzpy"),a=n("oK8H"),w=n("8Ys4"),A=n("3fk+"),S=n("WMbf"),s=n("RhGR"),n=n("eRwv"),C=s.UNSUPPORTED_Y,O=Math.min,E=[].push,M=r(/./.exec),P=r(E),k=r("".slice);i("split",function(i,p,y){var m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(e,t){var n=x(d(this)),r=void 0===t?4294967295:t>>>0;if(0==r)return[];if(void 0===e)return[n];if(!h(e))return f(p,n,e,r);for(var i,o,a,s=[],t=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,u=new RegExp(e.source,t+"g");(i=f(S,u,n))&&!(l<(o=u.lastIndex)&&(P(s,k(n,l,i.index)),1<i.length&&i.index<n.length&&c(E,s,w(i,1)),a=i[0].length,l=o,r<=s.length));)u.lastIndex===i.index&&u.lastIndex++;return l===n.length?!a&&M(u,"")||P(s,""):P(s,k(n,l)),r<s.length?w(s,0,r):s}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:f(p,this,e,t)}:p;return[function(e,t){var n=d(this),r=o(e)?void 0:a(e,i);return r?f(r,e,n,t):f(m,x(n),e,t)},function(e,t){var n=g(this),r=x(e),e=y(m,n,r,t,m!==p);if(e.done)return e.value;var e=v(n,RegExp),i=n.unicode,o=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(C?"g":"y"),a=new e(C?"^(?:"+n.source+")":n,o),s=void 0===t?4294967295:t>>>0;if(0==s)return[];if(0===r.length)return null===A(a,r)?[r]:[];for(var l=0,u=0,c=[];u<r.length;){a.lastIndex=C?0:u;var f,h=A(a,C?k(r,u):r);if(null===h||(f=O(_(a.lastIndex+(C?u:0)),r.length))===l)u=b(r,u,i);else{if(P(c,k(r,l,u)),c.length===s)return c;for(var d=1;d<=h.length-1;d++)if(P(c,h[d]),c.length===s)return c;u=l=f}}return P(c,k(r,l)),c}]},!!n(function(){var e=/(?:)/,t=e.exec,e=(e.exec=function(){return t.apply(this,arguments)},"ab".split(e));return 2!==e.length||"a"!==e[0]||"b"!==e[1]}),C)},NDSe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBrowser=function(){r=r||function(){var t=(0,i.getWindow)();return{isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=t.navigator.userAgent.toLowerCase();return 0<=e.indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}();return r};var r,i=n("/xfr")},NGA9:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AddressMatchParameter",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"GeoJSONParameter",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"RestDataParameter",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"RestMapParameter",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"RestParameter",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"iPortalDataParameter",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"iServerDataParameter",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"iServerMapParameter",{enumerable:!0,get:function(){return u.default}}),r(n("8XH1"))),o=r(n("m68f")),a=r(n("gQum")),s=r(n("Qp06")),l=r(n("YA2J")),u=r(n("a/I7")),c=r(n("KUEp")),f=r(n("km6S"))},NIpK:function(e,t,n){"use strict";var r=n("JTf3"),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},"NK/Q":function(e,t,n){"use strict";var r=n("Ks5W"),n=n("JTf3"),r=r.WeakMap;e.exports=n(r)&&/native code/.test(String(r))},NKxu:function(e,t,n){var r=n("lSCD"),i=n("E2jh"),o=n("GoyQ"),a=n("3Fdi"),s=/^\[object .+?Constructor\]$/,n=Function.prototype,l=Object.prototype,n=n.toString,l=l.hasOwnProperty,u=RegExp("^"+n.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?u:s).test(a(e))}},NQEM:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r=r(n("MBOJ")).default;t.default=r},NV0k:function(e,t){t.f={}.propertyIsEnumerable},NXk5:function(e,t,n){"use strict";t.a={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"}},NZOc:function(e,t,n){"use strict";var a=n("GM6z"),r=n("xEkU"),s=n.n(r),r=n("i7/w"),i=n.n(r);function o(e,t,n){var r=void 0,i=void 0,o=void 0;return Object(a.a)(e,"ant-motion-collapse-legacy",{start:function(){o&&s.a.cancel(o),t?0===(r=e.offsetHeight)?o=s()(function(){r=e.offsetHeight,e.style.height="0px",e.style.opacity="0"}):(e.style.height="0px",e.style.opacity="0"):(e.style.height=e.offsetHeight+"px",e.style.opacity="1")},active:function(){i&&s.a.cancel(i),i=s()(function(){e.style.height=(t?r:0)+"px",e.style.opacity=t?"1":"0"})},end:function(){o&&s.a.cancel(o),i&&s.a.cancel(i),e.style.height="",e.style.opacity="",n&&n()}})}t.a={enter:function(e,t){i.a.nextTick(function(){o(e,!0,t)})},leave:function(e,t){return o(e,!1,t)}}},"Ne/+":function(e,t,n){"use strict";var r=n("aLaa"),i=n("721z"),h=Math.floor,d=r("".charAt),p=r("".replace),y=r("".slice),m=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,g=/\$([$&'`]|\d{1,2})/g;e.exports=function(o,a,s,l,u,e){var c=s+o.length,f=l.length,t=g;return void 0!==u&&(u=i(u),t=m),p(e,t,function(e,t){var n;switch(d(t,0)){case"$":return"$";case"&":return o;case"`":return y(a,0,s);case"'":return y(a,c);case"<":n=u[y(t,1,-1)];break;default:var r,i=+t;if(0==i)return e;if(f<i)return 0!==(r=h(i/10))&&r<=f?void 0===l[r-1]?d(t,1):l[r-1]+d(t,1):e;n=l[i-1]}return void 0===n?"":n})}},NegM:function(e,t,n){var r=n("2faE"),i=n("rr1i");e.exports=n("jmDH")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},Nhxv:function(e,t,n){"use strict";n.r(t);var r,i=n("FIiR");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},Npjl:function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},"NsO/":function(e,t,n){var r=n("M1xp"),i=n("Jes0");e.exports=function(e){return r(i(e))}},NudO:function(e,t,n){"use strict";var r=n("WxoH"),i=n("Dk1u"),o=n("x0Ve"),a=n("11yv")("species");e.exports=function(e,t){var e=r(e).constructor;return void 0===e||o(e=r(e)[a])?t:i(e)}},NwJ3:function(e,t,n){var r=n("SBuE"),i=n("UWiX")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},Nwvx:function(e,t,n){"use strict";n.r(t),n.d(t,"coordAll",function(){return l}),n.d(t,"coordEach",function(){return w}),n.d(t,"coordReduce",function(){return r}),n.d(t,"featureEach",function(){return a}),n.d(t,"featureReduce",function(){return s}),n.d(t,"findPoint",function(){return b}),n.d(t,"findSegment",function(){return v}),n.d(t,"flattenEach",function(){return f}),n.d(t,"flattenReduce",function(){return h}),n.d(t,"geomEach",function(){return c}),n.d(t,"geomReduce",function(){return u}),n.d(t,"lineEach",function(){return m}),n.d(t,"lineReduce",function(){return g}),n.d(t,"propEach",function(){return o}),n.d(t,"propReduce",function(){return i}),n.d(t,"segmentEach",function(){return d}),n.d(t,"segmentReduce",function(){return y});var p=n("0wsv");function w(e,t,n){if(null!==e)for(var r,i,o,a=0,s=e.type,l="FeatureCollection"===s,u="Feature"===s,c=l?e.features.length:1,f=0;f<c;f++)for(var h,d,p=(d=!!(h=l?e.features[f].geometry:u?e.geometry:e)&&"GeometryCollection"===h.type)?h.geometries.length:1,y=0;y<p;y++){var m=0,g=0,v=d?h.geometries[y]:h;if(null!==v){var b=v.coordinates,_=v.type,x=!n||"Polygon"!==_&&"MultiPolygon"!==_?0:1;switch(_){case null:break;case"Point":if(!1===t(b,a,f,m,g))return!1;a++,m++;break;case"LineString":case"MultiPoint":for(r=0;r<b.length;r++){if(!1===t(b[r],a,f,m,g))return!1;a++,"MultiPoint"===_&&m++}"LineString"===_&&m++;break;case"Polygon":case"MultiLineString":for(r=0;r<b.length;r++){for(i=0;i<b[r].length-x;i++){if(!1===t(b[r][i],a,f,m,g))return!1;a++}"MultiLineString"===_&&m++,"Polygon"===_&&g++}"Polygon"===_&&m++;break;case"MultiPolygon":for(r=0;r<b.length;r++){for(i=g=0;i<b[r].length;i++){for(o=0;o<b[r][i].length-x;o++){if(!1===t(b[r][i][o],a,f,m,g))return!1;a++}g++}m++}break;case"GeometryCollection":for(r=0;r<v.geometries.length;r++)if(!1===w(v.geometries[r],t,n))return!1;break;default:throw new Error("Unknown Geometry Type")}}}}function r(e,o,a,t){var s=a;return w(e,function(e,t,n,r,i){s=0===t&&void 0===a?e:o(s,e,t,n,r,i)},t),s}function o(e,t){var n;switch(e.type){case"FeatureCollection":for(n=0;n<e.features.length&&!1!==t(e.features[n].properties,n);n++);break;case"Feature":t(e.properties,0)}}function i(e,n,r){var i=r;return o(e,function(e,t){i=0===t&&void 0===r?e:n(i,e,t)}),i}function a(e,t){if("Feature"===e.type)t(e,0);else if("FeatureCollection"===e.type)for(var n=0;n<e.features.length&&!1!==t(e.features[n],n);n++);}function s(e,n,r){var i=r;return a(e,function(e,t){i=0===t&&void 0===r?e:n(i,e,t)}),i}function l(e){var t=[];return w(e,function(e){t.push(e)}),t}function c(e,t){for(var n,r,i,o,a,s,l,u,c,f=0,h="FeatureCollection"===e.type,d="Feature"===e.type,p=h?e.features.length:1,y=0;y<p;y++){for(a=h?e.features[y].geometry:d?e.geometry:e,l=h?e.features[y].properties:d?e.properties:{},u=h?e.features[y].bbox:d?e.bbox:void 0,c=h?e.features[y].id:d?e.id:void 0,o=(s=!!a&&"GeometryCollection"===a.type)?a.geometries.length:1,r=0;r<o;r++)if(null===(i=s?a.geometries[r]:a)){if(!1===t(null,f,l,u,c))return!1}else switch(i.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===t(i,f,l,u,c))return!1;break;case"GeometryCollection":for(n=0;n<i.geometries.length;n++)if(!1===t(i.geometries[n],f,l,u,c))return!1;break;default:throw new Error("Unknown Geometry Type")}f++}}function u(e,o,a){var s=a;return c(e,function(e,t,n,r,i){s=0===t&&void 0===a?e:o(s,e,t,n,r,i)}),s}function f(e,u){c(e,function(e,t,n,r,i){var o,a=null===e?null:e.type;switch(a){case null:case"Point":case"LineString":case"Polygon":return!1===u(Object(p.a)(e,n,{bbox:r,id:i}),t,0)?!1:void 0}switch(a){case"MultiPoint":o="Point";break;case"MultiLineString":o="LineString";break;case"MultiPolygon":o="Polygon"}for(var s=0;s<e.coordinates.length;s++){var l={type:o,coordinates:e.coordinates[s]};if(!1===u(Object(p.a)(l,n),t,s))return!1}})}function h(e,r,i){var o=i;return f(e,function(e,t,n){o=0===t&&0===n&&void 0===i?e:r(o,e,t,n)}),o}function d(e,d){f(e,function(o,a,s){var l=0;if(o.geometry){var u,c,f,h,e=o.geometry.type;if("Point"!==e&&"MultiPoint"!==e)return h=f=c=0,!1!==w(o,function(e,t,n,r,i){if(void 0===u||c<a||f<r||h<i)u=e,c=a,f=r,h=i,l=0;else{r=Object(p.c)([u,e],o.properties);if(!1===d(r,a,s,i,l))return!1;l++,u=e}})&&void 0}})}function y(e,o,a){var s=a,l=!1;return d(e,function(e,t,n,r,i){s=!1===l&&void 0===a?e:o(s,e,t,n,r,i),l=!0}),s}function m(e,a){if(!e)throw new Error("geojson is required");f(e,function(e,t,n){if(null!==e.geometry){var r=e.geometry.type,i=e.geometry.coordinates;switch(r){case"LineString":if(!1===a(e,t,n,0,0))return!1;break;case"Polygon":for(var o=0;o<i.length;o++)if(!1===a(Object(p.c)(i[o],e.properties),t,n,o))return!1}}})}function g(e,i,o){var a=o;return m(e,function(e,t,n,r){a=0===t&&void 0===o?e:i(a,e,t,n,r)}),a}function v(e,t){if(t=t||{},!Object(p.b)(t))throw new Error("options is invalid");var n,r=t.featureIndex||0,i=t.multiFeatureIndex||0,o=t.geometryIndex||0,a=t.segmentIndex||0,s=t.properties;switch(e.type){case"FeatureCollection":r<0&&(r=e.features.length+r),s=s||e.features[r].properties,n=e.features[r].geometry;break;case"Feature":s=s||e.properties,n=e.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":n=e;break;default:throw new Error("geojson is invalid")}if(null===n)return null;var l=n.coordinates;switch(n.type){case"Point":case"MultiPoint":return null;case"LineString":return a<0&&(a=l.length+a-1),Object(p.c)([l[a],l[a+1]],s,t);case"Polygon":return o<0&&(o=l.length+o),a<0&&(a=l[o].length+a-1),Object(p.c)([l[o][a],l[o][a+1]],s,t);case"MultiLineString":return i<0&&(i=l.length+i),a<0&&(a=l[i].length+a-1),Object(p.c)([l[i][a],l[i][a+1]],s,t);case"MultiPolygon":return i<0&&(i=l.length+i),o<0&&(o=l[i].length+o),a<0&&(a=l[i][o].length-a-1),Object(p.c)([l[i][o][a],l[i][o][a+1]],s,t)}throw new Error("geojson is invalid")}function b(e,t){if(t=t||{},!Object(p.b)(t))throw new Error("options is invalid");var n,r=t.featureIndex||0,i=t.multiFeatureIndex||0,o=t.geometryIndex||0,a=t.coordIndex||0,s=t.properties;switch(e.type){case"FeatureCollection":r<0&&(r=e.features.length+r),s=s||e.features[r].properties,n=e.features[r].geometry;break;case"Feature":s=s||e.properties,n=e.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":n=e;break;default:throw new Error("geojson is invalid")}if(null===n)return null;var l=n.coordinates;switch(n.type){case"Point":return Object(p.d)(l,s,t);case"MultiPoint":return i<0&&(i=l.length+i),Object(p.d)(l[i],s,t);case"LineString":return a<0&&(a=l.length+a),Object(p.d)(l[a],s,t);case"Polygon":return o<0&&(o=l.length+o),a<0&&(a=l[o].length+a),Object(p.d)(l[o][a],s,t);case"MultiLineString":return i<0&&(i=l.length+i),a<0&&(a=l[i].length+a),Object(p.d)(l[i][a],s,t);case"MultiPolygon":return i<0&&(i=l.length+i),o<0&&(o=l[i].length+o),a<0&&(a=l[i][o].length-a),Object(p.d)(l[i][o][a],s,t)}throw new Error("geojson is invalid")}},Nybj:function(e,t,n){"use strict";function r(s){return function(e,t,n){var r,i=l(e),o=c(i),a=u(n,o);if(s&&t!=t){for(;a<o;)if((r=i[a++])!=r)return!0}else for(;a<o;a++)if((s||a in i)&&i[a]===t)return s||a||0;return!s&&-1}}var l=n("vkZI"),u=n("n6S8"),c=n("tMNq");e.exports={includes:r(!0),indexOf:r(!1)}},NykK:function(e,t,n){var r=n("nmnc"),i=n("AP2z"),o=n("KfNM"),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(a&&a in Object(e)?i:o)(e)}},O0oS:function(e,t,n){var r=n("Cwc5"),n=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=n},O4cD:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("miJm"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},OBhP:function(e,t,n){var p=n("fmRc"),y=n("gFfm"),m=n("MrPd"),g=n("WwFo"),v=n("Dw+G"),b=n("5Tg0"),_=n("Q1l4"),x=n("VOtZ"),w=n("EEGq"),A=n("qZTm"),S=n("G6z8"),C=n("QqLw"),O=n("yHx3"),E=n("wrZu"),M=n("+iFO"),P=n("Z0cm"),k=n("DSRE"),T=n("zEVN"),I=n("GoyQ"),L=n("1+5i"),j=n("7GkX"),D=n("mTTR"),B="[object Arguments]",R="[object Function]",N="[object Object]",z={};z[B]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object DataView]"]=z["[object Boolean]"]=z["[object Date]"]=z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Map]"]=z["[object Number]"]=z[N]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object Symbol]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Error]"]=z[R]=z["[object WeakMap]"]=!1,e.exports=function n(r,i,o,e,t,a){var s,l=1&i,u=2&i,c=4&i;if(void 0===(s=o?t?o(r,e,t,a):o(r):s)){if(!I(r))return r;if(e=P(r)){if(s=O(r),!l)return _(r,s)}else{var f=C(r),h=f==R||"[object GeneratorFunction]"==f;if(k(r))return b(r,l);if(f==N||f==B||h&&!t){if(s=u||h?{}:M(r),!l)return u?w(r,v(s,r)):x(r,g(s,r))}else{if(!z[f])return t?r:{};s=E(r,f,l)}}if(h=(a=a||new p).get(r))return h;a.set(r,s),L(r)?r.forEach(function(e){s.add(n(e,i,o,e,r,a))}):T(r)&&r.forEach(function(e,t){s.set(t,n(e,i,o,t,r,a))});var d=e?void 0:(c?u?S:A:u?D:j)(r);y(d||r,function(e,t){d&&(e=r[t=e]),m(s,t,n(e,i,o,t,r,a))})}return s}},OIYi:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}})}(n("wd/R"))},OJaq:function(e,t,n){"use strict";n.r(t);var r=n("YEIV"),l=n.n(r),r=n("QbLZ"),g=n.n(r),u=n("ewVk"),r=n("jo6Y"),v=n.n(r),r=n("TZE5"),b=n("hJbE"),i={adjustX:1,adjustY:1},o=[0,0],_={left:{points:["cr","cl"],overflow:i,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:i,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:i,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:i,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:i,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:i,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:i,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:i,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:i,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:i,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:i,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:i,offset:[-4,0],targetOffset:o}},a={props:{prefixCls:r.a.string,overlay:r.a.any,trigger:r.a.any},updated:function(){var e=this.trigger;e&&e.forcePopupAlign()},render:function(){var e=arguments[0],t=this.overlay;return e("div",{class:this.prefixCls+"-inner",attrs:{role:"tooltip"}},["function"==typeof t?t():t])}},x=n("2qPA");function w(){}var c={props:{trigger:r.a.any.def(["hover"]),defaultVisible:r.a.bool,visible:r.a.bool,placement:r.a.string.def("right"),transitionName:r.a.oneOfType([r.a.string,r.a.object]),animation:r.a.any,afterVisibleChange:r.a.func.def(function(){}),overlay:r.a.any,overlayStyle:r.a.object,overlayClassName:r.a.string,prefixCls:r.a.string.def("rc-tooltip"),mouseEnterDelay:r.a.number.def(0),mouseLeaveDelay:r.a.number.def(.1),getTooltipContainer:r.a.func,destroyTooltipOnHide:r.a.bool.def(!1),align:r.a.object.def(function(){return{}}),arrowContent:r.a.any.def(null),tipId:r.a.string,builtinPlacements:r.a.object},methods:{getPopupElement:function(){var e=this.$createElement,t=this.$props,n=t.prefixCls,t=t.tipId;return[e("div",{class:n+"-arrow",key:"arrow"},[Object(x.getComponentFromProp)(this,"arrowContent")]),e(a,{key:"content",attrs:{trigger:this.$refs.trigger,prefixCls:n,id:t,overlay:Object(x.getComponentFromProp)(this,"overlay")}})]},getPopupDomNode:function(){return this.$refs.trigger.getPopupDomNode()}},render:function(e){var t=Object(x.getOptionProps)(this),n=t.overlayClassName,r=t.trigger,i=t.mouseEnterDelay,o=t.mouseLeaveDelay,a=t.overlayStyle,s=t.prefixCls,l=t.afterVisibleChange,u=t.transitionName,c=t.animation,f=t.placement,h=t.align,d=t.destroyTooltipOnHide,p=t.defaultVisible,y=t.getTooltipContainer,t=v()(t,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer"]),t=g()({},t),m=(Object(x.hasProp)(this,"visible")&&(t.popupVisible=this.$props.visible),Object(x.getListeners)(this)),n={props:g()({popupClassName:n,prefixCls:s,action:r,builtinPlacements:_,popupPlacement:f,popupAlign:h,getPopupContainer:y,afterPopupVisibleChange:l,popupTransitionName:u,popupAnimation:c,defaultPopupVisible:p,destroyPopupOnHide:d,mouseLeaveDelay:o,popupStyle:a,mouseEnterDelay:i},t),on:g()({},m,{popupVisibleChange:m.visibleChange||w,popupAlign:m.popupAlign||w}),ref:"trigger"};return e(b.a,n,[e("template",{slot:"popup"},[this.getPopupElement(e)]),this.$slots.default])}},s={adjustX:1,adjustY:1},f={adjustX:0,adjustY:0},h=[0,0];function d(e){return"boolean"==typeof e?e?s:f:g()({},f,e)}var p=n("TfX5"),i=n("9U/e"),o=Object(i.a)();t.default={name:"ATooltip",model:{prop:"visible",event:"visibleChange"},props:g()({},o,{title:r.a.any}),inject:{configProvider:{default:function(){return p.a}}},data:function(){return{sVisible:!!this.$props.visible||!!this.$props.defaultVisible}},watch:{visible:function(e){this.sVisible=e}},methods:{onVisibleChange:function(e){Object(x.hasProp)(this,"visible")||(this.sVisible=!this.isNoTitle()&&e),this.isNoTitle()||this.$emit("visibleChange",e)},getPopupDomNode:function(){return this.$refs.tooltip.getPopupDomNode()},getPlacements:function(){var t,e,n,r,i=this.$props,o=i.builtinPlacements,a=i.arrowPointAtCenter,i=i.autoAdjustOverflow;return o||(o=void 0===(o=(t={arrowPointAtCenter:a,verticalArrowShift:8,autoAdjustOverflow:i}).arrowWidth)?5:o,a=void 0===(a=t.horizontalArrowShift)?16:a,i=void 0===(i=t.verticalArrowShift)?12:i,e=t.autoAdjustOverflow,n=void 0===e||e,r={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(a+o),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(i+o)]},topRight:{points:["br","tc"],offset:[a+o,-4]},rightTop:{points:["tl","cr"],offset:[4,-(i+o)]},bottomRight:{points:["tr","bc"],offset:[a+o,4]},rightBottom:{points:["bl","cr"],offset:[4,i+o]},bottomLeft:{points:["tl","bc"],offset:[-(a+o),4]},leftBottom:{points:["br","cl"],offset:[-4,i+o]}},Object.keys(r).forEach(function(e){r[e]=t.arrowPointAtCenter?g()({},r[e],{overflow:d(n),targetOffset:h}):g()({},_[e],{overflow:d(n)}),r[e].ignoreShake=!0}),r)},getDisabledCompatibleChildren:function(e){var t,n,r,i,o=this.$createElement,a=e.componentOptions&&e.componentOptions.Ctor.options||{};return(!0===a.__ANT_BUTTON||!0===a.__ANT_SWITCH||!0===a.__ANT_CHECKBOX)&&(e.componentOptions.propsData.disabled||""===e.componentOptions.propsData.disabled)||"button"===e.tag&&e.data&&e.data.attrs&&void 0!==e.data.attrs.disabled?(n=Object(x.getStyle)(e),a=["position","left","right","top","bottom","float","display","zIndex"],r={},i=g()({},n),a.forEach(function(e){n&&e in n&&(r[e]=n[e],delete i[e])}),t=(a={picked:r,omitted:i}).picked,a=a.omitted,t=g()({display:"inline-block"},t,{cursor:"not-allowed",width:e.componentOptions.propsData.block?"100%":null}),a=g()({},a,{pointerEvents:"none"}),o("span",{style:t,class:Object(x.getClass)(e)},[Object(u.a)(e,{style:a,class:null})])):e},isNoTitle:function(){var e=Object(x.getComponentFromProp)(this,"title");return!e&&0!==e},getOverlay:function(){var e=Object(x.getComponentFromProp)(this,"title");return 0===e?e:e||""},onPopupAlign:function(e,t){var n,r,i=this.getPlacements(),o=Object.keys(i).filter(function(e){return i[e].points[0]===t.points[0]&&i[e].points[1]===t.points[1]})[0];o&&(n=e.getBoundingClientRect(),r={top:"50%",left:"50%"},0<=o.indexOf("top")||0<=o.indexOf("Bottom")?r.top=n.height-t.offset[1]+"px":(0<=o.indexOf("Top")||0<=o.indexOf("bottom"))&&(r.top=-t.offset[1]+"px"),0<=o.indexOf("left")||0<=o.indexOf("Right")?r.left=n.width-t.offset[0]+"px":(0<=o.indexOf("right")||0<=o.indexOf("Left"))&&(r.left=-t.offset[0]+"px"),e.style.transformOrigin=r.left+" "+r.top)}},render:function(){var e=arguments[0],t=this.$props,n=this.$data,r=this.$slots,i=t.prefixCls,o=t.openClassName,a=t.getPopupContainer,s=this.configProvider.getPopupContainer,i=(0,this.configProvider.getPrefixCls)("tooltip",i),r=1===(r=(r.default||[]).filter(function(e){return e.tag||""!==e.text.trim()})).length?r[0]:r,n=n.sVisible;return!Object(x.hasProp)(this,"visible")&&this.isNoTitle()&&(n=!1),r?(r=this.getDisabledCompatibleChildren(Object(x.isValidElement)(r)?r:e("span",[r])),o=l()({},o||i+"-open",!0),t={props:g()({},t,{prefixCls:i,getTooltipContainer:a||s,builtinPlacements:this.getPlacements(),overlay:this.getOverlay(),visible:n}),ref:"tooltip",on:g()({},Object(x.getListeners)(this),{visibleChange:this.onVisibleChange,popupAlign:this.onPopupAlign})},e(c,t,[n?Object(u.a)(r,{class:o}):r])):null}}},"ORi+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={dateTimeFormat:{date:{year:"numeric",month:"short",day:"numeric"},date_second:{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},date_second_week:{year:"numeric",month:"short",day:"numeric",weekday:"long",hour:"numeric",minute:"numeric",second:"numeric"}},warning:{unsupportedVideoAddress:"视频地址不合法",unsupportedPosterAddress:"封面地址不合法",unavailableVideo:"此视频暂无法播放,请稍后再试",mapNotLoaded:"关联的地图尚未加载完整,请稍后",unassociatedMap:"您需要配置关联地图!",videojs:"请引入video.js插件: https://github.com/videojs/video.js; 当播放rtmp时,安装flash相关插件:https://github.com/videojs/videojs-flash",flvPlayer:"请引入flv相关插件: https://github.com/bilibili/flv.js, https://github.com/mister-ben/videojs-flvjs"},success:{copySucccess:"复制成功"},info:{loading:"加载中",pressEscToExit:"按下 ESC 键或点击关闭按钮退出"},unit:{kilometers:"千米",miles:"英里",meters:"米",yards:"码",feet:"英尺",squarekilometers:"平方千米",squaremiles:"平方英里",squaremeters:"平方米",squareyards:"平方码",squarefeet:"平方英尺",XY:"经纬度",BASEMAP:"底图",UTM:"UTM",DD:"度",DOM:"度分",DMS:"度分秒",Mercator:"Web墨卡托"},error:{},commontypes:{restData:"SuperMap Rest 数据服务",restMap:"SuperMap Rest 地图服务",addressMatch:"SuperMap 地址匹配服务",iportalData:"SuperMap iPortal 数据",onlineLocalSearch:"SuperMap Online 本地搜索"},timeText:{Year:"年",Month:"月",Day:"日",hour:"时",minute:"分",second:"秒"},zoom:{},chart:{unSupportedData:"当前数据不支持与地图联动"},layerList:{title:"图层"},slideshow:{title:"幻灯片"},layerColor:{title:"图层颜色",layer:"图层",property:"属性",color:"颜色",reset:"重置",select:"选取",deselect:"取消",circleColor:"点颜色",strokeColor:"轮廓颜色",lineColor:"线颜色",fillColor:"面颜色",iconColor:"图标颜色",textColor:"文本颜色",capture:"捕获"},attributes:{title:"属性表",feature:"要素",selected:"已选择",clearSelected:"清除选中",zoomToFeatures:"缩放至已选要素",columnsControl:"显示/隐藏列",refreshData:"刷新数据",search:"搜索",reset:"重置"},miniMap:{},pan:{},scale:{},webmap:{loadingTip:"地图加载中...",crsNotSupport:"不支持当前地图的坐标系!",TileMatrixSetNotSuppport:"不支持传入的 TileMatrixSet!",getLayerInfoFailed:"获取图层信息失败!",getThemeInfoFailed:"获取图层样式信息失败!",crsnotsupport:"不支持的坐标系!",baiduMapNotSupport:"暂不支持加载百度地图!",sampleDataNotSupport:"暂不支持加载示例数据!",mvtNotSupport:"暂不支持加载矢量瓦片图层!"},videoPlus:{loadingTip:"视频加载中..."},drillMap:{goBack:"返回"},legend:{themeField:"专题字段",title:"图例",top:"最高",bottom:"最低",noMatchLayer:"没有匹配的图层"},measure:{mapMeasure:"量算",measureResult:"测量结果:",distance:"距离",area:"面积",delete:"清空",selectPlaceholder:"请选择",startingPoint:"起点"},search:{noResult:"查询结果为空!",noKey:"搜索关键字不能为空,请输入搜索条件。",inputPlaceHolder:"查找地址或地点",attribute:"属性",attributeValue:"属性值",setSearchSource:"请设置搜索源!",address:"地址",null:"空",illegalFeature:"要素必须包含合法的坐标!"},query:{query:"查询",queryJob:"任务",queryResult:"结果",attributeCondition:"属性条件",spatialFilter:"空间过滤器",mapBounds:"返回地图全图范围的要素",currentMapBounds:"返回当前地图范围内的要素",applicate:"应用",noResult:"无结果",resultAlreadyExists:"当前查询结果已经存在!",querying:"查询中",attribute:"属性",attributeValue:"属性值",noResults:"查询结果为空!",queryFailed:"查询失败!",seviceNotSupport:"此服务不支持查询!"},identify:{layerNotExit:"地图上不存在该图层: '{layer}'",noData:"无数据"},openFile:{fileSizeExceeded:"文件大小超限!文件大小不得超过 10M!",fileTypeUnsupported:"不支持该文件格式!",openFileFail:"打开文件失败!",openFileSuccess:"打开文件成功!",selectFile:"选择文件",openEmptyFile:"打开文件为空!",openFile:"打开文件"},draw:{draw:"绘制"},indicator:{title:"指标标题",unit:"单位"},layerManager:{title:"图层管理"},fillExtrusion:{title:"三维拉伸",polygonLayer:"面图层",height:"高度(米)",heightValue:"高度值",fieldName:"字段名",customFieldPlaceholder:"填写字段名称",customNum:"自定义",multiple:"倍数",fillColor:"填充颜色",layerOpacity:"透明度",hideOriginalLayer:"隐藏原图层",reset:"重置"},flyTo:{title:"飞行定位"},tdtResults:{on:"在",station:"站",total:"共",about:"约",homePage:"首页",prevPage:"上一页",nextPage:"下一页",searchNoResult:"没有查询到相关结果",youCanTry:"您可以尝试",enterCorrect:"检查输入是否正确",enterOtherKeyWords:"输入其他关键字进行搜索",onTdtMap:"在天地图上",addThisAddress:"添加该地点",uWantTo:"您是否要找",totalFind:"共找到",piecesResults:"条结果",phone:"电话",address:"地址",setStartPonint:"设为起点",setEndPonint:"设为终点",totalMiles:"总里程",distance:"约{distance}公里",showDetails:"显示全部详情",switchTimes:"换乘{switchTimes}次",noSwitch:"无换乘",walk:"步行至",getOff:"下车",getOn:"上车",take:"乘坐",noSearchResults:"没有查询到线路信息",fastRoute:"最快线路",shortRoute:"最短线路",walkRoute:"少走高速",fast:"较快捷",noSubway:"不坐地铁",lessSwitch:"少换乘",lessWalk:"少步行",cityHadResults:"以下城市有结果,请您选择",moreCity:"更多城市",allFound:"共为您找到",piecesBusRoute:"条公交线路",showDetail:"展开详情",busEndTime:"首末车时间",relateAdress:'点击此处查看 "{keyWord}" 的相关地点',switchTo:"已切换到"},tdtRoute:{title:"路线",pleaseEnterStartPoint:"请输入起点",pleaseEnterEndPoint:"请输入终点",search:"搜索",startPoint:"起点",endPoint:"终点",mapLoadedFiled:"地图加载失败",busEndTime:"首末车时间",about:"约",station:"站",total:"共",hour:"小时",minutes:"分钟"},tdtSearch:{phone:"电话",address:"地址",noData:"暂无",transport:"交通"},tdtMapSwitcher:{title:"地图切换",image:"影像",vector:"矢量",terrain:"地形",placeName:"地名",TiandituVec:"天地图矢量底图",TiandituTer:"天地图地形底图",TiandituImg:"天地图影像底图",TiandituCva:"天地图矢量注记",TiandituCta:"天地图地形注记",TiandituCia:"天地图影像注记"},coordinateConversion:{inputPlaceHolder:"请输入坐标",copy:"复制",location:"定位至",capture:"捕捉",realTime:"实时",errorCoordinate:"坐标格式不正确"},dataFlow:{dataSubscriptionFailed:"数据订阅失败!"},animateMarkerlayer:{unsupportedData:"当前图层不支持该数据,请重新传入数据!"}}},OTxZ:function(e,t,n){"use strict";n.r(t);var r,i=n("8pg5"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},OU4x:function(e,t,n){"use strict";var r=n("COGW"),i=TypeError;e.exports=function(e){if(r(e))throw i("The method doesn't accept regular expressions");return e}},OZ5v:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("8HGC"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},Oaa7:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r;function i(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे";break}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां";break}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:true,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="पहाटे"||t==="सकाळी")return e;else if(t==="दुपारी"||t==="सायंकाळी"||t==="रात्री")return e>=12?e:e+12},meridiem:function(e,t,n){if(e>=0&&e<6)return"पहाटे";else if(e<12)return"सकाळी";else if(e<17)return"दुपारी";else if(e<20)return"सायंकाळी";else return"रात्री"},week:{dow:0,doy:6}})}(n("wd/R"))},"Of+w":function(e,t,n){n=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=n},OhA9:function(e,t,n){"use strict";n.r(t);var r,i=n("jV3c"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},Ojgd:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:n)(e)}},OjkT:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r;e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:true,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="राति")return e<4?e:e+12;else if(t==="बिहान")return e;else if(t==="दिउँसो")return e>=10?e:e+12;else if(t==="साँझ")return e+12},meridiem:function(e,t,n){if(e<3)return"राति";else if(e<12)return"बिहान";else if(e<16)return"दिउँसो";else if(e<20)return"साँझ";else return"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n("wd/R"))},Ojvb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===t&&(t="window");if(!e||"container"===t&&!n)return;var r=!1,i=(0,c.getWindow)(),o="window"===t?i.innerHeight:n.clientHeight,a=Object.keys(e).map(function(e){var t;return"string"==typeof e&&0===e.indexOf("@")?(t=parseFloat(e.substr(1)),{value:o*t,point:e}):{value:e,point:e}});a.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var s=0;s<a.length;s+=1){var l=a[s],u=l.point,l=l.value;"window"===t?i.matchMedia("(min-width: "+l+"px)").matches&&(r=u):l<=n.clientWidth&&(r=u)}return r||"max"};var c=n("/xfr")},OmwH:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="凌晨"||t==="早上"||t==="上午")return e;else if(t==="中午")return e>=11?e:e+12;else if(t==="下午"||t==="晚上")return e+12},meridiem:function(e,t,n){var r=e*100+t;if(r<600)return"凌晨";else if(r<900)return"早上";else if(r<1130)return"上午";else if(r<1230)return"中午";else if(r<1800)return"下午";else return"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("wd/R"))},Onz0:function(e,t,n){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n("tjlA").Buffer.isBuffer},Optq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="0 0 1024 1024",i="64 64 896 896",o="fill",a="outline",s="twotone";function l(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return{tag:"svg",attrs:{viewBox:e,focusable:!1},children:t.map(function(e){return Array.isArray(e)?{tag:"path",attrs:{fill:e[0],d:e[1]}}:{tag:"path",attrs:{d:e}}})}}function u(e,t,n){return{name:e,theme:t,icon:n}}t.AccountBookFill=u("account-book",o,l(i,"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 0 1 8.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z")),t.AlertFill=u("alert",o,l(i,"M512 244c176.18 0 319 142.82 319 319v233a32 32 0 0 1-32 32H225a32 32 0 0 1-32-32V563c0-176.18 142.82-319 319-319zM484 68h56a8 8 0 0 1 8 8v96a8 8 0 0 1-8 8h-56a8 8 0 0 1-8-8V76a8 8 0 0 1 8-8zM177.25 191.66a8 8 0 0 1 11.32 0l67.88 67.88a8 8 0 0 1 0 11.31l-39.6 39.6a8 8 0 0 1-11.31 0l-67.88-67.88a8 8 0 0 1 0-11.31l39.6-39.6zm669.6 0l39.6 39.6a8 8 0 0 1 0 11.3l-67.88 67.9a8 8 0 0 1-11.32 0l-39.6-39.6a8 8 0 0 1 0-11.32l67.89-67.88a8 8 0 0 1 11.31 0zM192 892h640a32 32 0 0 1 32 32v24a8 8 0 0 1-8 8H168a8 8 0 0 1-8-8v-24a32 32 0 0 1 32-32zm148-317v253h64V575h-64z")),t.AlipaySquareFill=u("alipay-square",o,l(i,"M308.6 545.7c-19.8 2-57.1 10.7-77.4 28.6-61 53-24.5 150 99 150 71.8 0 143.5-45.7 199.8-119-80.2-38.9-148.1-66.8-221.4-59.6zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm29.4 663.2S703 689.4 598.7 639.5C528.8 725.2 438.6 777.3 345 777.3c-158.4 0-212.1-138.1-137.2-229 16.3-19.8 44.2-38.7 87.3-49.4 67.5-16.5 175 10.3 275.7 43.4 18.1-33.3 33.4-69.9 44.7-108.9H305.1V402h160v-56.2H271.3v-31.3h193.8v-80.1s0-13.5 13.7-13.5H557v93.6h191.7v31.3H557.1V402h156.4c-15 61.1-37.7 117.4-66.2 166.8 47.5 17.1 90.1 33.3 121.8 43.9 114.3 38.2 140.2 40.2 140.2 40.2v122.3z")),t.AliwangwangFill=u("aliwangwang",o,l(i,"M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 0 0-120.5-81.2A375.65 375.65 0 0 0 519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 0 0-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0 0 29.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-325.2 79c0 20.4-16.6 37.1-37.1 37.1-20.4 0-37.1-16.7-37.1-37.1v-55.1c0-20.4 16.6-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1zm175.2 0c0 20.4-16.6 37.1-37.1 37.1S644 476.8 644 456.4v-55.1c0-20.4 16.7-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1z")),t.AlipayCircleFill=u("alipay-circle",o,l(i,"M308.6 545.7c-19.8 2-57.1 10.7-77.4 28.6-61 53-24.5 150 99 150 71.8 0 143.5-45.7 199.8-119-80.2-38.9-148.1-66.8-221.4-59.6zm460.5 67c100.1 33.4 154.7 43 166.7 44.8A445.9 445.9 0 0 0 960 512c0-247.4-200.6-448-448-448S64 264.6 64 512s200.6 448 448 448c155.9 0 293.2-79.7 373.5-200.5-75.6-29.8-213.6-85-286.8-120.1-69.9 85.7-160.1 137.8-253.7 137.8-158.4 0-212.1-138.1-137.2-229 16.3-19.8 44.2-38.7 87.3-49.4 67.5-16.5 175 10.3 275.7 43.4 18.1-33.3 33.4-69.9 44.7-108.9H305.1V402h160v-56.2H271.3v-31.3h193.8v-80.1s0-13.5 13.7-13.5H557v93.6h191.7v31.3H557.1V402h156.4c-15 61.1-37.7 117.4-66.2 166.8 47.5 17.1 90.1 33.3 121.8 43.9z")),t.AmazonCircleFill=u("amazon-circle",o,l(i,"M485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm35.8 262.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 0 0-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9 4.7-12.2 11.8-23.9 21.4-35 9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0 1 25.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 0 1 7.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 0 1-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7z")),t.AndroidFill=u("android",o,l(i,"M270.1 741.7c0 23.4 19.1 42.5 42.6 42.5h48.7v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h85v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h48.7c23.5 0 42.6-19.1 42.6-42.5V346.4h-486v395.3zm357.1-600.1l44.9-65c2.6-3.8 2-8.9-1.5-11.4-3.5-2.4-8.5-1.2-11.1 2.6l-46.6 67.6c-30.7-12.1-64.9-18.8-100.8-18.8-35.9 0-70.1 6.7-100.8 18.8l-46.6-67.5c-2.6-3.8-7.6-5.1-11.1-2.6-3.5 2.4-4.1 7.4-1.5 11.4l44.9 65c-71.4 33.2-121.4 96.1-127.8 169.6h486c-6.6-73.6-56.7-136.5-128-169.7zM409.5 244.1a26.9 26.9 0 1 1 26.9-26.9 26.97 26.97 0 0 1-26.9 26.9zm208.4 0a26.9 26.9 0 1 1 26.9-26.9 26.97 26.97 0 0 1-26.9 26.9zm223.4 100.7c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c.1-30.6-24.3-55.3-54.6-55.3zm-658.6 0c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c0-30.6-24.5-55.3-54.6-55.3z")),t.AmazonSquareFill=u("amazon-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM547.8 326.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 0 0-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9s11.8-23.9 21.4-35c9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0 1 25.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 0 1 7.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 0 1-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7zM485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4z")),t.ApiFill=u("api",o,l(i,"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 0 0-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 0 0 0 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM578.9 546.7a8.03 8.03 0 0 0-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 0 0-11.3 0L363 475.3l-43-43a7.85 7.85 0 0 0-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 68.9-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 0 0 0 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2z")),t.AppstoreFill=u("appstore",o,l(i,"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z")),t.AudioFill=u("audio",o,l(i,"M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm330-170c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z")),t.AppleFill=u("apple",o,l(i,"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z")),t.BackwardFill=u("backward",o,l(r,"M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 0 0-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z")),t.BankFill=u("bank",o,l(i,"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 0 0-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374z")),t.BehanceCircleFill=u("behance-circle",o,l(i,"M420.3 470.3c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 0 0-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1a50.5 50.5 0 0 0 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm86.5 286.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 0 1-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 0 1-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 0 1-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0 1 38.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 0 0-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7z")),t.BellFill=u("bell",o,l(i,"M816 768h-24V428c0-141.1-104.3-257.8-240-277.2V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.8C336.3 170.2 232 286.9 232 428v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48z")),t.BehanceSquareFill=u("behance-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 0 1-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 0 1-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 0 1-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0 1 38.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 0 0-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 0 0-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z")),t.BookFill=u("book",o,l(i,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM668 345.9L621.5 312 572 347.4V124h96v221.9z")),t.BoxPlotFill=u("box-plot",o,l(i,"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H448v432h344c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-728 80v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h152V296H232c-4.4 0-8 3.6-8 8z")),t.BugFill=u("bug",o,l(i,"M304 280h416c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 0 0-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 0 0-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z","M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 0 1-63 63H232a63 63 0 0 1-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0 0 22.7 49c24.3 41.5 59 76.2 100.5 100.5 28.9 16.9 61 28.8 95.3 34.5 4.4 0 8-3.6 8-8V484c0-4.4 3.6-8 8-8h60c4.4 0 8 3.6 8 8v464.2c0 4.4 3.6 8 8 8 34.3-5.7 66.4-17.6 95.3-34.5a281.38 281.38 0 0 0 123.2-149.5A120.4 120.4 0 0 1 836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.CalculatorFill=u("calculator",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM440.2 765h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 0 1-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zm7.8-382c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48zm328 369c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-104c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-265c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48z")),t.BulbFill=u("bulb",o,l(i,"M348 676.1C250 619.4 184 513.4 184 392c0-181.1 146.9-328 328-328s328 146.9 328 328c0 121.4-66 227.4-164 284.1V792c0 17.7-14.3 32-32 32H380c-17.7 0-32-14.3-32-32V676.1zM392 888h240c4.4 0 8 3.6 8 8v32c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32v-32c0-4.4 3.6-8 8-8z")),t.BuildFill=u("build",o,l(i,"M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zM612 746H412V546h200v200zm268-268H680V278h200v200z")),t.CalendarFill=u("calendar",o,l(i,"M112 880c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V460H112v420zm768-696H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v176h800V216c0-17.7-14.3-32-32-32z")),t.CameraFill=u("camera",o,l(i,"M864 260H728l-32.4-90.8a32.07 32.07 0 0 0-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 260H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V340c0-44.2-35.8-80-80-80zM512 716c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160zm-96-160a96 96 0 1 0 192 0 96 96 0 1 0-192 0z")),t.CarFill=u("car",o,l(i,"M959 413.4L935.3 372a8 8 0 0 0-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 0 0-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 0 0-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 0 0 3-10.8zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM220 418l72.7-199.9.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220z")),t.CaretDownFill=u("caret-down",o,l(r,"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z")),t.CaretLeftFill=u("caret-left",o,l(r,"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z")),t.CaretRightFill=u("caret-right",o,l(r,"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z")),t.CarryOutFill=u("carry-out",o,l(i,"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM694.5 432.7L481.9 725.4a16.1 16.1 0 0 1-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z")),t.CaretUpFill=u("caret-up",o,l(r,"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z")),t.CheckCircleFill=u("check-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z")),t.CheckSquareFill=u("check-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM695.5 365.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L308.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H689c6.5 0 10.3 7.4 6.5 12.7z")),t.ChromeFill=u("chrome",o,l(i,"M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512 589.5 371.8 512 371.8 371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2 180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0 0 96 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7 653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z")),t.CiCircleFill=u("ci-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-63.6 656c-103 0-162.4-68.6-162.4-182.6v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-4-46.1-37.6-77.6-87-77.6-61.1 0-95.6 45.4-95.6 126.9v49.3c0 80.3 34.5 125.1 95.6 125.1 49.3 0 82.8-29.5 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z")),t.ClockCircleFill=u("clock-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm176.5 585.7l-28.6 39a7.99 7.99 0 0 1-11.2 1.7L483.3 569.8a7.92 7.92 0 0 1-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z")),t.CloseCircleFill=u("close-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z")),t.CloudFill=u("cloud",o,l(i,"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3z")),t.CloseSquareFill=u("close-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM676.1 657.9c4.4 5.2.7 13.1-6.1 13.1h-58.9c-4.7 0-9.2-2.1-12.3-5.7L512 561.8l-86.8 103.5c-3 3.6-7.5 5.7-12.3 5.7H354c-6.8 0-10.5-7.9-6.1-13.1L470.2 512 347.9 366.1A7.95 7.95 0 0 1 354 353h58.9c4.7 0 9.2 2.1 12.3 5.7L512 462.2l86.8-103.5c3-3.6 7.5-5.7 12.3-5.7H670c6.8 0 10.5 7.9 6.1 13.1L553.8 512l122.3 145.9z")),t.CodeSandboxSquareFill=u("code-sandbox-square",o,l(i,"M307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM755.7 653.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zm-223.9 83.7l97.3-56.2v-94.1l87-49.5V418.5L531.8 525zm-20-352L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8z")),t.CodeSandboxCircleFill=u("code-sandbox-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm243.7 589.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zM307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zm203.9-151.8L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8zm20 352l97.3-56.2v-94.1l87-49.5V418.5L531.8 525z")),t.CodeFill=u("code",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM513.1 518.1l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 0 1-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3zM716 673c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8h185c4.1 0 7.5 3.6 7.5 8v48z")),t.CompassFill=u("compass",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM327.3 702.4c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2l98.7-225.5 132.1 132.1-225.5 98.7zm375.1-375.1l-98.7 225.5-132.1-132.1L697.1 322c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z")),t.CodepenCircleFill=u("codepen-circle",o,l(i,"M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 0 1-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 0 1-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 0 1 .8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z")),t.CodepenSquareFill=u("codepen-square",o,l(i,"M723.1 428L535.9 303.4v111.3l103.6 69.1zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zm23.9 154.2v111.3L723.1 597l-83.6-55.8zm-151.4-69.1L300.9 597l187.2 124.6V610.3l-103.6-69.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-90 485c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 0 1-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 0 1-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 0 1 .8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-47.8-44.6v-79.8l-59.8 39.9zm-460.4-79.8v79.8l59.8-39.9zm206.3-57.9V303.4L300.9 428l83.6 55.8z")),t.ContactsFill=u("contacts",o,l(i,"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM661 736h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.6-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H363a8 8 0 0 1-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 0 1-29.1-75.5c0-61.9 49.9-112 111.4-112 61.5 0 111.4 50.1 111.4 112 0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zM512 474c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52c28.5 0 51.7-23.3 51.7-52s-23.2-52-51.7-52z")),t.ControlFill=u("control",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM404 683v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99zm279.6-143.9c.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1zM616 440a36 36 0 1 0 72 0 36 36 0 1 0-72 0zM403.4 566.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 0 0-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5z")),t.ContainerFill=u("container",o,l(i,"M832 64H192c-17.7 0-32 14.3-32 32v529c0-.6.4-1 1-1h219.3l5.2 24.7C397.6 708.5 450.8 752 512 752s114.4-43.5 126.4-103.3l5.2-24.7H863c.6 0 1 .4 1 1V96c0-17.7-14.3-32-32-32zM712 493c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm0-160c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm151 354H694.1c-11.6 32.8-32 62.3-59.1 84.7-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 0 1-59.1-84.7H161c-.6 0-1-.4-1-1v242c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V686c0 .6-.4 1-1 1z")),t.CopyFill=u("copy",o,l(i,"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM382 896h-.2L232 746.2v-.2h150v150z")),t.CopyrightCircleFill=u("copyright-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm5.4 670c-110 0-173.4-73.2-173.4-194.9v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.6-3.2-8-7.4-4-49.5-40-83.4-93-83.4-65.3 0-102.1 48.5-102.1 135.5v52.6c0 85.7 36.9 133.6 102.1 133.6 52.8 0 88.7-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4z")),t.CreditCardFill=u("credit-card",o,l(i,"M928 160H96c-17.7 0-32 14.3-32 32v160h896V192c0-17.7-14.3-32-32-32zM64 832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V440H64v392zm579-184c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72z")),t.CrownFill=u("crown",o,l(i,"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 0 0-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z")),t.CustomerServiceFill=u("customer-service",o,l(i,"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384z")),t.DashboardFill=u("dashboard",o,l(i,"M924.8 385.6a446.7 446.7 0 0 0-96-142.4 446.7 446.7 0 0 0-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 0 0-142.4 96 446.7 446.7 0 0 0-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM482 232c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.5l-31.1 31.1a8.03 8.03 0 0 1-11.3 0L261.7 352a8.03 8.03 0 0 1 0-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.6l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 0 1-79.2 0 55.95 55.95 0 0 1 0-79.2 55.87 55.87 0 0 1 54.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.1 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 0 1 0-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 0 1-11.3 0zM846 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44z")),t.DeleteFill=u("delete",o,l(i,"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z")),t.DiffFill=u("diff",o,l(i,"M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23zM553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM568 753c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-220c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7v42z")),t.DingtalkCircleFill=u("dingtalk-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm227 385.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z")),t.DatabaseFill=u("database",o,l(i,"M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM288 232c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm128-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm128-168c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z")),t.DingtalkSquareFill=u("dingtalk-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM739 449.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z")),t.DislikeFill=u("dislike",o,l(i,"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 0 0-26.5-5.4H273v428h.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32z")),t.DollarCircleFill=u("dollar-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm22.3 665.2l.2 31.7c0 4.4-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4C401.3 723 359.5 672.4 355 617.4c-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.7 29.8 55.4 74.1 61.3V533.9l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-72.9 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.9 46.9 125.9 109.2.5 4.7-3.2 8.8-8 8.8h-44.9c-4 0-7.4-3-7.9-6.9-4-29.2-27.4-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 108.9 116.4 0 75.3-56 117.3-134.3 124.1zM426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-36.9 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.8-.6-5.6-1.3-8.8-2.2V677c42.6-3.8 72-27.2 72-66.4 0-30.7-15.9-50.7-63.2-65.1z")),t.DownCircleFill=u("down-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm184.5 353.7l-178 246a7.95 7.95 0 0 1-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z")),t.DownSquareFill=u("down-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM696.5 412.7l-178 246a7.95 7.95 0 0 1-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z")),t.DribbbleCircleFill=u("dribbble-circle",o,l(i,"M675.1 328.3a245.2 245.2 0 0 0-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6zm47.7-11.9c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 736c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm53.1-346.2c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm30.6 82.5c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4z")),t.DribbbleSquareFill=u("dribbble-square",o,l(i,"M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 0 0-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z")),t.DropboxCircleFill=u("dropbox-circle",o,l(i,"M663.8 455.5zm-151.5-93.8l-151.8 93.8 151.8 93.9 151.5-93.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm151.2 595.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1z")),t.DropboxSquareFill=u("dropbox-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM663.2 659.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1zM512.3 361.7l-151.8 93.8 151.8 93.9 151.5-93.9zm151.5 93.8z")),t.EnvironmentFill=u("environment",o,l(i,"M512 327c-29.9 0-58 11.6-79.2 32.8A111.6 111.6 0 0 0 400 439c0 29.9 11.7 58 32.8 79.2A111.6 111.6 0 0 0 512 551c29.9 0 58-11.7 79.2-32.8C612.4 497 624 468.9 624 439c0-29.9-11.6-58-32.8-79.2S541.9 327 512 327zm342.6-37.9a362.49 362.49 0 0 0-79.9-115.7 370.83 370.83 0 0 0-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 0 0 169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0 0 22.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z")),t.EditFill=u("edit",o,l(i,"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z")),t.ExclamationCircleFill=u("exclamation-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z")),t.EuroCircleFill=u("euro-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm63.5 375.8c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8h-136c-.3 4.4-.3 9.1-.3 13.8v36h136.2c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H444.9c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.2 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.3 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.8.3-12.8H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.7c19.7-94.2 92-149.9 198.6-149.9 20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346h.1c0 5.1-4.6 8.8-9.6 7.8-14.7-2.9-31.8-4.4-51.7-4.4-65.4 0-110.4 33.5-127.6 90.4h128.4z")),t.ExperimentFill=u("experiment",o,l(i,"M218.9 636.3l42.6 26.6c.1.1.3.2.4.3l12.7 8 .3.3a186.9 186.9 0 0 0 94.1 25.1c44.9 0 87.2-15.7 121-43.8a256.27 256.27 0 0 1 164.9-59.9c52.3 0 102.2 15.7 144.6 44.5l7.9 5-111.6-289V179.8h63.5c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8H264.7c-4.4 0-8 3.6-8 8v51.9c0 4.4 3.6 8 8 8h63.5v173.6L218.9 636.3zm333-203.1c22 0 39.9 17.9 39.9 39.9S573.9 513 551.9 513 512 495.1 512 473.1s17.9-39.9 39.9-39.9zM878 825.1l-29.9-77.4-85.7-53.5-.1.1c-.7-.5-1.5-1-2.2-1.5l-8.1-5-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 0 1-164.9 59.9c-53 0-103.5-16.1-146.2-45.6l-28.9-18.1L146 825.1c-2.8 7.4-4.3 15.2-4.3 23 0 35.2 28.6 63.8 63.8 63.8h612.9c7.9 0 15.7-1.5 23-4.3a63.6 63.6 0 0 0 36.6-82.5z")),t.EyeInvisibleFill=u("eye-invisible",o,l(i,"M508 624a112 112 0 0 0 112-112c0-3.28-.15-6.53-.43-9.74L498.26 623.57c3.21.28 6.45.43 9.74.43zm370.72-458.44L836 122.88a8 8 0 0 0-11.31 0L715.37 232.23Q624.91 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 0 0 0 51.5q56.7 119.43 136.55 191.45L112.56 835a8 8 0 0 0 0 11.31L155.25 889a8 8 0 0 0 11.31 0l712.16-712.12a8 8 0 0 0 0-11.32zM332 512a176 176 0 0 1 258.88-155.28l-48.62 48.62a112.08 112.08 0 0 0-140.92 140.92l-48.62 48.62A175.09 175.09 0 0 1 332 512z","M942.2 486.2Q889.4 375 816.51 304.85L672.37 449A176.08 176.08 0 0 1 445 676.37L322.74 798.63Q407.82 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 0 0 0-51.5z")),t.EyeFill=u("eye",o,l(i,"M396 512a112 112 0 1 0 224 0 112 112 0 1 0-224 0zm546.2-25.8C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM508 688c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z")),t.FacebookFill=u("facebook",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-92.4 233.5h-63.9c-50.1 0-59.8 23.8-59.8 58.8v77.1h119.6l-15.6 120.7h-104V912H539.2V602.2H434.9V481.4h104.3v-89c0-103.3 63.1-159.6 155.3-159.6 44.2 0 82.1 3.3 93.2 4.8v107.9z")),t.FastBackwardFill=u("fast-backward",o,l(r,"M517.6 273.5L230.2 499.3a16.14 16.14 0 0 0 0 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 0 0 0 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z")),t.FastForwardFill=u("fast-forward",o,l(r,"M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 0 0 0-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z")),t.FileAddFill=u("file-add",o,l(i,"M480 580H372a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h108v108a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8V644h108a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8H544V472a8 8 0 0 0-8-8h-48a8 8 0 0 0-8 8v108zm374.6-291.3c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z")),t.FileExcelFill=u("file-excel",o,l(i,"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 0 0-10.27-5.79h-38.44a12 12 0 0 0-6.4 1.85 12 12 0 0 0-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 0 0-1.84 6.39 12 12 0 0 0 12 12h34.46a12 12 0 0 0 10.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0 0 10.23 5.72h37.48a12 12 0 0 0 6.48-1.9 12 12 0 0 0 3.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 0 0 1.9-6.5 12 12 0 0 0-12-12h-35.7a12 12 0 0 0-10.29 5.84z")),t.FileExclamationFill=u("file-exclamation",o,l(i,"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 784a40 40 0 1 0 0-80 40 40 0 0 0 0 80zm32-152V448a8 8 0 0 0-8-8h-48a8 8 0 0 0-8 8v184a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8z")),t.FileImageFill=u("file-image",o,l(i,"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0 1 12.6 0l41.1 52.4 77.8-99.2a8 8 0 0 1 12.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z")),t.FileMarkdownFill=u("file-markdown",o,l(i,"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.97a16 16 0 0 0 14.62 9.5h24.06a16 16 0 0 0 14.63-9.51l59.1-133.35V758a16 16 0 0 0 16.01 16H641a16 16 0 0 0 16-16V486a16 16 0 0 0-16-16h-34.75a16 16 0 0 0-14.67 9.62L512.1 662.2l-79.48-182.59a16 16 0 0 0-14.67-9.61H383a16 16 0 0 0-16 16v272a16 16 0 0 0 16 16h27.13a16 16 0 0 0 16-16V600.93z")),t.FilePdfFill=u("file-pdf",o,l(i,"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 0 1 5.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 0 1-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 0 1-1.12-.15 2.07 2.07 0 0 1-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 0 1-1.36 6.31 6.7 6.7 0 0 1-2.17 1.28z")),t.FilePptFill=u("file-ppt",o,l(i,"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM468.53 760v-91.54h59.27c60.57 0 100.2-39.65 100.2-98.12 0-58.22-39.58-98.34-99.98-98.34H424a12 12 0 0 0-12 12v276a12 12 0 0 0 12 12h32.53a12 12 0 0 0 12-12zm0-139.33h34.9c47.82 0 67.19-12.93 67.19-50.33 0-32.05-18.12-50.12-49.87-50.12h-52.22v100.45z")),t.FileTextFill=u("file-text",o,l(i,"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h384a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8H320zm0 136a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h184a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8H320z")),t.FileWordFill=u("file-word",o,l(i,"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 566.1l52.81 197a12 12 0 0 0 11.6 8.9h31.77a12 12 0 0 0 11.6-8.88l74.37-276a12 12 0 0 0 .4-3.12 12 12 0 0 0-12-12h-35.57a12 12 0 0 0-11.7 9.31l-45.78 199.1-49.76-199.32A12 12 0 0 0 528.1 472h-32.2a12 12 0 0 0-11.64 9.1L434.6 680.01 388.5 481.3a12 12 0 0 0-11.68-9.29h-35.39a12 12 0 0 0-3.11.41 12 12 0 0 0-8.47 14.7l74.17 276A12 12 0 0 0 415.6 772h31.99a12 12 0 0 0 11.59-8.9l52.81-197z")),t.FileUnknownFill=u("file-unknown",o,l(i,"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm110 227a32 32 0 1 0 0-64 32 32 0 0 0 0 64z")),t.FileZipFill=u("file-zip",o,l(i,"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z")),t.FileFill=u("file",o,l(i,"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z")),t.FilterFill=u("filter",o,l(i,"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z")),t.FireFill=u("fire",o,l(i,"M834.1 469.2A347.49 347.49 0 0 0 751.2 354l-29.1-26.7a8.09 8.09 0 0 0-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 0 1-47.5 46.1 352.6 352.6 0 0 0-100.3 121.5A347.75 347.75 0 0 0 160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0 0 75.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 0 0 760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0 0 27.7-136c0-48.8-10-96.2-29.9-140.9z")),t.FlagFill=u("flag",o,l(i,"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32z")),t.FolderAddFill=u("folder-add",o,l(i,"M880 298.4H521L403.7 186.2a8.15 8.15 0 0 0-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM632 577c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.2 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.8 0 7 3.2 7 7.1V528h84.5c4.1 0 7.5 3.2 7.5 7v42z")),t.FolderFill=u("folder",o,l(i,"M880 298.4H521L403.7 186.2a8.15 8.15 0 0 0-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32z")),t.FolderOpenFill=u("folder-open",o,l(i,"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 0 0-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z")),t.ForwardFill=u("forward",o,l(r,"M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z")),t.FrownFill=u("frown",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0 1 96 0 48.01 48.01 0 0 1-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 0 1-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 0 1-8 8.4zm24-224a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z")),t.FundFill=u("fund",o,l(i,"M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-92.3 194.4l-297 297.2a8.03 8.03 0 0 1-11.3 0L410.9 541.1 238.4 713.7a8.03 8.03 0 0 1-11.3 0l-36.8-36.8a8.03 8.03 0 0 1 0-11.3l214.9-215c3.1-3.1 8.2-3.1 11.3 0L531 565l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.2 3 3.2 8.1.1 11.2z")),t.FunnelPlotFill=u("funnel-plot",o,l(i,"M336.7 586h350.6l84.9-148H251.8zm543.4-432H143.9c-24.5 0-39.8 26.7-27.5 48L215 374h594l98.7-172c12.2-21.3-3.1-48-27.6-48zM349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V650H349v188z")),t.GiftFill=u("gift",o,l(i,"M160 894c0 17.7 14.3 32 32 32h286V550H160v344zm386 32h286c17.7 0 32-14.3 32-32V550H546v376zm334-616H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v140h366V310h68v172h366V342c0-17.7-14.3-32-32-32zm-402-4h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm138 0h-70v-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70z")),t.GithubFill=u("github",o,l(i,"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z")),t.GitlabFill=u("gitlab",o,l(i,"M910.5 553.2l-109-370.8c-6.8-20.4-23.1-34.1-44.9-34.1s-39.5 12.3-46.3 32.7l-72.2 215.4H386.2L314 181.1c-6.8-20.4-24.5-32.7-46.3-32.7s-39.5 13.6-44.9 34.1L113.9 553.2c-4.1 13.6 1.4 28.6 12.3 36.8l385.4 289 386.7-289c10.8-8.1 16.3-23.1 12.2-36.8z")),t.GoldenFill=u("golden",o,l(i,"M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z")),t.GoogleCircleFill=u("google-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm167 633.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9C281.5 589 272 551.6 272 512s9.5-77 26.1-110.1c40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z")),t.GooglePlusCircleFill=u("google-plus-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm36.5 558.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z")),t.GooglePlusSquareFill=u("google-plus-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM548.5 622.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z")),t.GoogleSquareFill=u("google-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM679 697.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9A245.02 245.02 0 0 1 272 512c0-39.6 9.5-77 26.1-110.1 40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z")),t.HddFill=u("hdd",o,l(i,"M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM456 216c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm576-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm96-152c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48z")),t.HeartFill=u("heart",o,l(i,"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z")),t.HighlightFill=u("highlight",o,l(i,"M957.6 507.4L603.2 158.2a7.9 7.9 0 0 0-11.2 0L353.3 393.4a8.03 8.03 0 0 0-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 0 0-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0 0 11.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0 0 11.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2z")),t.HomeFill=u("home",o,l(i,"M946.5 505L534.6 93.4a31.93 31.93 0 0 0-45.2 0L77.5 505c-12 12-18.8 28.3-18.8 45.3 0 35.3 28.7 64 64 64h43.4V908c0 17.7 14.3 32 32 32H448V716h112v224h265.9c17.7 0 32-14.3 32-32V614.3h43.4c17 0 33.3-6.7 45.3-18.8 24.9-25 24.9-65.5-.1-90.5z")),t.HourglassFill=u("hourglass",o,l(i,"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194z")),t.Html5Fill=u("html5",o,l(i,"M145.2 96l66 746.6L512 928l299.6-85.4L878.9 96H145.2zm595 177.1l-4.8 47.2-1.7 19.5H382.3l8.2 94.2h335.1l-3.3 24.3-21.2 242.2-1.7 16.2-187 51.6v.3h-1.2l-.3.1v-.1h-.1l-188.6-52L310.8 572h91.1l6.5 73.2 102.4 27.7h.4l102-27.6 11.4-118.6H510.9v-.1H306l-22.8-253.5-1.7-24.3h460.3l-1.6 24.3z")),t.IdcardFill=u("idcard",o,l(i,"M373 411c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52 51.7-23.3 51.7-52-23.2-52-51.7-52zm555-251H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM608 420c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm-86 253h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224a8 8 0 0 1-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 0 1-29.1-75.5c0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zm278.9-53H615.1c-3.9 0-7.1-3.6-7.1-8v-48c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48h.1c0 4.4-3.2 8-7.1 8z")),t.IeCircleFill=u("ie-circle",o,l(i,"M693.6 284.4c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm253.9 492.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z")),t.IeSquareFill=u("ie-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM765.9 556.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zm-72.3-272.5c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z")),t.InfoCircleFill=u("info-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z")),t.InstagramFill=u("instagram",o,l(i,"M512 378.7c-73.4 0-133.3 59.9-133.3 133.3S438.6 645.3 512 645.3 645.3 585.4 645.3 512 585.4 378.7 512 378.7zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zM512 717.1c-113.5 0-205.1-91.6-205.1-205.1S398.5 306.9 512 306.9 717.1 398.5 717.1 512 625.5 717.1 512 717.1zm213.5-370.7c-26.5 0-47.9-21.4-47.9-47.9s21.4-47.9 47.9-47.9 47.9 21.4 47.9 47.9a47.84 47.84 0 0 1-47.9 47.9z")),t.InsuranceFill=u("insurance",o,l(i,"M519.9 358.8h97.9v41.6h-97.9zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM411.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 0 1-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 0 1-33.6 79V656zm296.5-49.2l-26.3 35.3a5.92 5.92 0 0 1-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a5.9 5.9 0 0 1-8.9-1.4L430 605.7a6 6 0 0 1 1.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5z")),t.InteractionFill=u("interaction",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM726 585.7c0 55.3-44.7 100.1-99.7 100.1H420.6v53.4c0 5.7-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.7l109.1-85.7c4.4-3.5 10.9-.3 10.9 5.3v53.4h205.7c19.6 0 35.5-16 35.5-35.6v-78.9c0-3.7 3-6.8 6.8-6.8h50.7c3.7 0 6.8 3 6.8 6.8v79.1zm-2.6-209.9l-109.1 85.7c-4.4 3.5-10.9.3-10.9-5.3v-53.4H397.7c-19.6 0-35.5 16-35.5 35.6v78.9c0 3.7-3 6.8-6.8 6.8h-50.7c-3.7 0-6.8-3-6.8-6.8v-78.9c0-55.3 44.7-100.1 99.7-100.1h205.7v-53.4c0-5.7 6.5-8.8 10.9-5.3l109.1 85.7c3.6 2.5 3.6 7.8.1 10.5z")),t.InterationFill=u("interation",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM726 585.7c0 55.3-44.7 100.1-99.7 100.1H420.6v53.4c0 5.7-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.7l109.1-85.7c4.4-3.5 10.9-.3 10.9 5.3v53.4h205.7c19.6 0 35.5-16 35.5-35.6v-78.9c0-3.7 3-6.8 6.8-6.8h50.7c3.7 0 6.8 3 6.8 6.8v79.1zm-2.6-209.9l-109.1 85.7c-4.4 3.5-10.9.3-10.9-5.3v-53.4H397.7c-19.6 0-35.5 16-35.5 35.6v78.9c0 3.7-3 6.8-6.8 6.8h-50.7c-3.7 0-6.8-3-6.8-6.8v-78.9c0-55.3 44.7-100.1 99.7-100.1h205.7v-53.4c0-5.7 6.5-8.8 10.9-5.3l109.1 85.7c3.6 2.5 3.6 7.8.1 10.5z")),t.LayoutFill=u("layout",o,l(i,"M384 912h496c17.7 0 32-14.3 32-32V340H384v572zm496-800H384v164h528V144c0-17.7-14.3-32-32-32zm-768 32v736c0 17.7 14.3 32 32 32h176V112H144c-17.7 0-32 14.3-32 32z")),t.LeftCircleFill=u("left-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm104 316.9c0 10.2-4.9 19.9-13.2 25.9L457.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 0 1 0-12.9l246-178a8 8 0 0 1 12.7 6.5v46.8z")),t.LeftSquareFill=u("left-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM624 380.9c0 10.2-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 0 1 0-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.8z")),t.LikeFill=u("like",o,l(i,"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 0 0-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 0 0 471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z")),t.LockFill=u("lock",o,l(i,"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1 1 56 0zm152-237H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224z")),t.LinkedinFill=u("linkedin",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1 1 68.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z")),t.MailFill=u("mail",o,l(i,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-80.8 108.9L531.7 514.4c-7.8 6.1-18.7 6.1-26.5 0L189.6 268.9A7.2 7.2 0 0 1 194 256h648.8a7.2 7.2 0 0 1 4.4 12.9z")),t.MedicineBoxFill=u("medicine-box",o,l(i,"M839.2 278.1a32 32 0 0 0-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 0 0-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48zm4-372H360v-72h304v72z")),t.MediumCircleFill=u("medium-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm256 253.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 0 0 7-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z")),t.MediumSquareFill=u("medium-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM768 317.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 0 0 7-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z")),t.MehFill=u("meh",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0 1 96 0 48.01 48.01 0 0 1-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z")),t.MessageFill=u("message",o,l(i,"M924.3 338.4a447.57 447.57 0 0 0-96.1-143.3 443.09 443.09 0 0 0-143-96.3A443.91 443.91 0 0 0 512 64h-2c-60.5.3-119 12.3-174.1 35.9a444.08 444.08 0 0 0-141.7 96.5 445 445 0 0 0-95 142.8A449.89 449.89 0 0 0 65 514.1c.3 69.4 16.9 138.3 47.9 199.9v152c0 25.4 20.6 46 45.9 46h151.8a447.72 447.72 0 0 0 199.5 48h2.1c59.8 0 117.7-11.6 172.3-34.3A443.2 443.2 0 0 0 827 830.5c41.2-40.9 73.6-88.7 96.3-142 23.5-55.2 35.5-113.9 35.8-174.5.2-60.9-11.6-120-34.8-175.6zM312.4 560c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.4 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48z")),t.MinusCircleFill=u("minus-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z")),t.MinusSquareFill=u("minus-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z")),t.MobileFill=u("mobile",o,l(i,"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z")),t.MoneyCollectFill=u("money-collect",o,l(i,"M911.5 699.7a8 8 0 0 0-10.3-4.8L840 717.2V179c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V762c0 3.3 2.1 6.3 5.3 7.5L501 909.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zm-243.8-377L564 514.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V703c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 322.8c-2.1-3.8-.7-8.7 3.2-10.8 1.2-.7 2.5-1 3.8-1h55.7a8 8 0 0 1 7.1 4.4L511 484.2h3.3L599 315.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8z")),t.PauseCircleFill=u("pause-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z")),t.PayCircleFill=u("pay-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm166.6 246.8L567.5 515.6h62c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V603h82c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V717c0 4.4-3.6 8-8 8h-54.3c-4.4 0-8-3.6-8-8v-68.1h-81.7c-4.4 0-8-3.6-8-8V611c0-4.4 3.6-8 8-8h81.7v-41.5h-81.7c-4.4 0-8-3.6-8-8v-29.9c0-4.4 3.6-8 8-8h61.4L345.4 310.8a8.07 8.07 0 0 1 7-11.9h60.7c3 0 5.8 1.7 7.1 4.4l90.6 180h3.4l90.6-180a8 8 0 0 1 7.1-4.4h59.5c4.4 0 8 3.6 8 8 .2 1.4-.2 2.7-.8 3.9z")),t.NotificationFill=u("notification",o,l(i,"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.6c-3.7 11.6-5.6 23.9-5.6 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1z")),t.PhoneFill=u("phone",o,l(i,"M885.6 230.2L779.1 123.8a80.83 80.83 0 0 0-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L549.8 238.4a80.83 80.83 0 0 0-23.8 57.3c0 21.7 8.5 42.1 23.8 57.4l83.8 83.8A393.82 393.82 0 0 1 553.1 553 395.34 395.34 0 0 1 437 633.8L353.2 550a80.83 80.83 0 0 0-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L123.8 664.5a80.89 80.89 0 0 0-23.8 57.4c0 21.7 8.5 42.1 23.8 57.4l106.3 106.3c24.4 24.5 58.1 38.4 92.7 38.4 7.3 0 14.3-.6 21.2-1.8 134.8-22.2 268.5-93.9 376.4-201.7C828.2 612.8 899.8 479.2 922.3 344c6.8-41.3-6.9-83.8-36.7-113.8z")),t.PictureFill=u("picture",o,l(i,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM338 304c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm513.9 437.1a8.11 8.11 0 0 1-5.2 1.9H177.2c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2l170.3-202c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l99.4 118 158.1-187.5c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l229.6 271.6c2.6 3.3 2.2 8.4-1.2 11.2z")),t.PieChartFill=u("pie-chart",o,l(i,"M863.1 518.5H505.5V160.9c0-4.4-3.6-8-8-8h-26a398.57 398.57 0 0 0-282.5 117 397.47 397.47 0 0 0-85.6 127C82.6 446.2 72 498.5 72 552.5S82.6 658.7 103.4 708c20.1 47.5 48.9 90.3 85.6 127 36.7 36.7 79.4 65.5 127 85.6a396.64 396.64 0 0 0 155.6 31.5 398.57 398.57 0 0 0 282.5-117c36.7-36.7 65.5-79.4 85.6-127a396.64 396.64 0 0 0 31.5-155.6v-26c-.1-4.4-3.7-8-8.1-8zM951 463l-2.6-28.2c-8.5-92-49.3-178.8-115.1-244.3A398.5 398.5 0 0 0 588.4 75.6L560.1 73c-4.7-.4-8.7 3.2-8.7 7.9v383.7c0 4.4 3.6 8 8 8l383.6-1c4.7-.1 8.4-4 8-8.6z")),t.PlayCircleFill=u("play-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 0 1-12.7-6.5V353.7a8 8 0 0 1 12.7-6.5L656.1 506a7.9 7.9 0 0 1 0 12.9z")),t.PlaySquareFill=u("play-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM641.7 520.8L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 0 1 0 17.6z")),t.PlusCircleFill=u("plus-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z")),t.PlusSquareFill=u("plus-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z")),t.PoundCircleFill=u("pound-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm146 658c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 0 1-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8V722z")),t.PrinterFill=u("printer",o,l(i,"M732 120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v148h440V120zm120 212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM664 844H360V568h304v276zm164-360c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z")),t.ProfileFill=u("profile",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM380 696c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm304 272c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48z")),t.ProjectFill=u("project",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM368 744c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464zm192-280c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184zm192 72c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256z")),t.PushpinFill=u("pushpin",o,l(i,"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3-15.4 12.3-16.6 35.4-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 0 0-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8z")),t.PropertySafetyFill=u("property-safety",o,l(i,"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM648.3 332.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 0 1 8.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z")),t.QqCircleFill=u("qq-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm210.5 612.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z")),t.QqSquareFill=u("qq-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM722.5 676.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z")),t.QuestionCircleFill=u("question-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 0 0-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z")),t.ReadFill=u("read",o,l(i,"M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 0 0 324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM404 553.5c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm416 140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45z")),t.ReconciliationFill=u("reconciliation",o,l(i,"M676 623c-18.8 0-34 15.2-34 34s15.2 34 34 34 34-15.2 34-34-15.2-34-34-34zm204-455H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zM448 848H176V616h272v232zm0-296H176v-88h272v88zm20-272v-48h72v-56h64v56h72v48H468zm180 168v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8zm28 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-245c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v96zm-92 61c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z")),t.RedEnvelopeFill=u("red-envelope",o,l(i,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM647 470.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4v25.1c0 4.6-3.8 8.4-8.4 8.4h-63.3v28.6h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.6-3.6 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4l-87.5-161c-2.2-4.1-.7-9.1 3.4-11.4 1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.9 141.8 71.9-141.9a8.5 8.5 0 0 1 7.5-4.6h47.8c4.6 0 8.4 3.8 8.4 8.4-.1 1.5-.5 2.9-1.1 4.1zM512.6 323L289 148h446L512.6 323z")),t.RedditCircleFill=u("reddit-circle",o,l(i,"M584 548a36 36 0 1 0 72 0 36 36 0 1 0-72 0zm144-108a35.9 35.9 0 0 0-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 0 0 728 440zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm245 477.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 0 1 296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 0 1 101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zm-171.3 83c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 0 0-30.1-3.6zM296 440a35.98 35.98 0 0 0-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 0 0 296 440zm72 108a36 36 0 1 0 72 0 36 36 0 1 0-72 0z")),t.RedditSquareFill=u("reddit-square",o,l(i,"M296 440a35.98 35.98 0 0 0-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 0 0 296 440zm289.7 184.9c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 0 0-30.1-3.6zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM757 541.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 0 1 296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 0 1 101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zM584 548a36 36 0 1 0 72 0 36 36 0 1 0-72 0zm144-108a35.9 35.9 0 0 0-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 0 0 728 440zM368 548a36 36 0 1 0 72 0 36 36 0 1 0-72 0z")),t.RestFill=u("rest",o,l(i,"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0 0 31.9 29.3h429.2a32 32 0 0 0 31.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zM508 704c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zM291 256l22.4-76h397.2l22.4 76H291zm137 304a80 80 0 1 0 160 0 80 80 0 1 0-160 0z")),t.RightCircleFill=u("right-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm154.7 454.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z")),t.RocketFill=u("rocket",o,l(i,"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 0 0-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0 0 43.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0 0 43.1-30.5 97.52 97.52 0 0 0 21.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zM512 352a48.01 48.01 0 0 1 0 96 48.01 48.01 0 0 1 0-96zm116.1 432.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 0 1-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5z")),t.RightSquareFill=u("right-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM658.7 518.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z")),t.SafetyCertificateFill=u("safety-certificate",o,l(i,"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM694.5 340.7L481.9 633.4a16.1 16.1 0 0 1-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z")),t.SaveFill=u("save",o,l(i,"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z")),t.ScheduleFill=u("schedule",o,l(i,"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.5-91.3l-165 228.7a15.9 15.9 0 0 1-25.8 0L493.5 531.2c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.5 12.9 6.6l52.8 73.1 103.7-143.7c3-4.2 7.8-6.6 12.9-6.6H792c6.5.1 10.3 7.5 6.5 12.8z")),t.SecurityScanFill=u("security-scan",o,l(i,"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM626.8 554c-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 0 1-11.3 0l-34-34a8.03 8.03 0 0 1 0-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0 56.3 56.3 56.3 147.5 0 203.8zm-158.54-45.27a80.1 80.1 0 1 0 113.27-113.28 80.1 80.1 0 1 0-113.27 113.28z")),t.SettingFill=u("setting",o,l(i,"M512.5 390.6c-29.9 0-57.9 11.6-79.1 32.8-21.1 21.2-32.8 49.2-32.8 79.1 0 29.9 11.7 57.9 32.8 79.1 21.2 21.1 49.2 32.8 79.1 32.8 29.9 0 57.9-11.7 79.1-32.8 21.1-21.2 32.8-49.2 32.8-79.1 0-29.9-11.7-57.9-32.8-79.1a110.96 110.96 0 0 0-79.1-32.8zm412.3 235.5l-65.4-55.9c3.1-19 4.7-38.4 4.7-57.7s-1.6-38.8-4.7-57.7l65.4-55.9a32.03 32.03 0 0 0 9.3-35.2l-.9-2.6a442.5 442.5 0 0 0-79.6-137.7l-1.8-2.1a32.12 32.12 0 0 0-35.1-9.5l-81.2 28.9c-30-24.6-63.4-44-99.6-57.5l-15.7-84.9a32.05 32.05 0 0 0-25.8-25.7l-2.7-.5c-52-9.4-106.8-9.4-158.8 0l-2.7.5a32.05 32.05 0 0 0-25.8 25.7l-15.8 85.3a353.44 353.44 0 0 0-98.9 57.3l-81.8-29.1a32 32 0 0 0-35.1 9.5l-1.8 2.1a445.93 445.93 0 0 0-79.6 137.7l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.2 56.5c-3.1 18.8-4.6 38-4.6 57 0 19.2 1.5 38.4 4.6 57l-66 56.5a32.03 32.03 0 0 0-9.3 35.2l.9 2.6c18.1 50.3 44.8 96.8 79.6 137.7l1.8 2.1a32.12 32.12 0 0 0 35.1 9.5l81.8-29.1c29.8 24.5 63 43.9 98.9 57.3l15.8 85.3a32.05 32.05 0 0 0 25.8 25.7l2.7.5a448.27 448.27 0 0 0 158.8 0l2.7-.5a32.05 32.05 0 0 0 25.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c4.3-12.4.6-26.3-9.5-35zm-412.3 52.2c-97.1 0-175.8-78.7-175.8-175.8s78.7-175.8 175.8-175.8 175.8 78.7 175.8 175.8-78.7 175.8-175.8 175.8z")),t.ShopFill=u("shop",o,l(i,"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0 0 14.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h274V736h128v176h274c17.7 0 32-14.3 32-32V535a175 175 0 0 0 15.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zm-72 568H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0 0 38.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0 0 38.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm0-568.1H214v-88h596v88z")),t.ShoppingFill=u("shopping",o,l(i,"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-208 0H400v-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16z")),t.SketchCircleFill=u("sketch-circle",o,l(i,"M582.3 625.6l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zm-274.7 36L512 684.5l114.4-225.2zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm286.7 380.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 0 1-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 0 1 0 6.6zm-190.5-20.9L512 326.1l-96.2 97.2zM420.3 301.1l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8zm-222.4 7.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3z")),t.SketchSquareFill=u("sketch-square",o,l(i,"M608.2 423.3L512 326.1l-96.2 97.2zm-25.9 202.3l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-81.3 332.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 0 1-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 0 1 0 6.6zm-401.1 15.1L512 684.5l114.4-225.2zm-16.3-151.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3zm126.5-158.2l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8z")),t.SkinFill=u("skin",o,l(i,"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 0 0-37-29.3H154a44 44 0 0 0-44 44v252a44 44 0 0 0 44 44h75v388a44 44 0 0 0 44 44h478a44 44 0 0 0 44-44V466h75a44 44 0 0 0 44-44V170a44 44 0 0 0-44-44z")),t.SlackCircleFill=u("slack-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 0 1-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0 1 50.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm83.7-50.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM579.3 765c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134c-13.3 0-26.1-5.3-35.6-14.8S529 593.6 529 580.2c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z")),t.SlackSquareFill=u("slack-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 0 1-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0 1 50.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 0 1-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z")),t.SkypeFill=u("skype",o,l(i,"M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 0 0-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 0 0 335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 0 0 112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-370 162.9c-134.2 0-194.2-66-194.2-115.4 0-25.4 18.7-43.1 44.5-43.1 57.4 0 42.6 82.5 149.7 82.5 54.9 0 85.2-29.8 85.2-60.3 0-18.3-9-38.7-45.2-47.6l-119.4-29.8c-96.1-24.1-113.6-76.1-113.6-124.9 0-101.4 95.5-139.5 185.2-139.5 82.6 0 180 45.7 180 106.5 0 26.1-22.6 41.2-48.4 41.2-49 0-40-67.8-138.7-67.8-49 0-76.1 22.2-76.1 53.9s38.7 41.8 72.3 49.5l88.4 19.6c96.8 21.6 121.3 78.1 121.3 131.3 0 82.3-63.3 143.9-191 143.9z")),t.SlidersFill=u("sliders",o,l(i,"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-584-72h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm292 180h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8z")),t.SmileFill=u("smile",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0 1 96 0 48.01 48.01 0 0 1-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 0 1 8-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 0 1 8 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z")),t.SnippetsFill=u("snippets",o,l(i,"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 486H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z")),t.SoundFill=u("sound",o,l(i,"M892.1 737.8l-110.3-63.7a15.9 15.9 0 0 0-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0 0 21.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0 0 21.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 0 0-21.7-5.9L746 287.8a15.99 15.99 0 0 0-5.8 21.8L760 344zm174 132H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1z")),t.StarFill=u("star",o,l(i,"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z")),t.StepBackwardFill=u("step-backward",o,l(r,"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 0 0 0 33.9M330 864h-64a8 8 0 0 1-8-8V168a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8v688a8 8 0 0 1-8 8")),t.StepForwardFill=u("step-forward",o,l(r,"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 0 1 0 33.9M694 864h64a8 8 0 0 0 8-8V168a8 8 0 0 0-8-8h-64a8 8 0 0 0-8 8v688a8 8 0 0 0 8 8")),t.StopFill=u("stop",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm234.8 736.5L223.5 277.2c16-19.7 34-37.7 53.7-53.7l523.3 523.3c-16 19.6-34 37.7-53.7 53.7z")),t.SwitcherFill=u("switcher",o,l(i,"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zM596 606c0 4.4-3.6 8-8 8H308c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h280c4.4 0 8 3.6 8 8v48zm284-494H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z")),t.TabletFill=u("tablet",o,l(i,"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z")),t.TagFill=u("tag",o,l(i,"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 0 0 0 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM699 387c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z")),t.TagsFill=u("tags",o,l(i,"M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 0 0 0 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm122.7-533.4c18.7-18.7 49.1-18.7 67.9 0 18.7 18.7 18.7 49.1 0 67.9-18.7 18.7-49.1 18.7-67.9 0-18.7-18.7-18.7-49.1 0-67.9zm283.8 282.9l-39.6-39.5a8.03 8.03 0 0 0-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 0 0-11.3 0l-39.6 39.5a8.03 8.03 0 0 0 0 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z")),t.TaobaoCircleFill=u("taobao-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 1 1 0-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z")),t.TaobaoSquareFill=u("taobao-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 1 1 0-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z")),t.ToolFill=u("tool",o,l(i,"M865.3 244.7c-.3-.3-61.1 59.8-182.1 180.6l-84.9-84.9 180.9-180.9c-95.2-57.3-217.5-42.6-296.8 36.7A244.42 244.42 0 0 0 419 432l1.8 6.7-283.5 283.4c-6.2 6.2-6.2 16.4 0 22.6l141.4 141.4c6.2 6.2 16.4 6.2 22.6 0l283.3-283.3 6.7 1.8c83.7 22.3 173.6-.9 236-63.3 79.4-79.3 94.1-201.6 38-296.6z")),t.ThunderboltFill=u("thunderbolt",o,l(i,"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7z")),t.TrademarkCircleFill=u("trademark-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm164.7 660.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H378c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7zM523.9 357h-83.4v148H522c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z")),t.TwitterCircleFill=u("twitter-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm215.3 337.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 0 1-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 0 1-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 0 0 229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z")),t.TrophyFill=u("trophy",o,l(i,"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 0 0-44 44v148c0 81.7 60 149.6 138.2 162C265.6 630.2 359 721.8 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.8 758.4 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 0 0-44-44zM248 439.6c-37.1-11.9-64-46.7-64-87.6V232h64v207.6zM840 352c0 41-26.9 75.8-64 87.6V232h64v120z")),t.TwitterSquareFill=u("twitter-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM727.3 401.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 0 1-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 0 1-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 0 0 229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z")),t.UnlockFill=u("unlock",o,l(i,"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1 1 56 0z")),t.UpCircleFill=u("up-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm178 555h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z")),t.UpSquareFill=u("up-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM690 624h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z")),t.UsbFill=u("usb",o,l(i,"M408 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm352 120V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-72 0H336V184h352v248zM568 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z")),t.WalletFill=u("wallet",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 464H528V448h320v128zm-268-64a40 40 0 1 0 80 0 40 40 0 1 0-80 0z")),t.VideoCameraFill=u("video-camera",o,l(i,"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM328 352c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48zm560 273l-104-59.8V458.9L888 399v226z")),t.WarningFill=u("warning",o,l(i,"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z")),t.WeiboCircleFill=u("weibo-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 0 0-7.2-34.1 34.68 34.68 0 0 0-33.1-10.7 18.24 18.24 0 0 1-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 0 1-22.9 11.7 18.18 18.18 0 0 1-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 0 1-26.6 13.7 21.19 21.19 0 0 1-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 0 0-98.9-32.1 21.14 21.14 0 0 1-25.1-16.3 21.07 21.07 0 0 1 16.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z")),t.WechatFill=u("wechat",o,l(i,"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 0 1 9.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 0 0 6.4-2.6 9 9 0 0 0 2.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 0 1-36 35.9z")),t.WindowsFill=u("windows",o,l(i,"M523.8 191.4v288.9h382V128.1zm0 642.2l382 62.2v-352h-382zM120.1 480.2H443V201.9l-322.9 53.5zm0 290.4L443 823.2V543.8H120.1z")),t.YahooFill=u("yahoo",o,l(i,"M937.3 231H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7zm-77.4 450.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm225.2 225.2h-65.3L458.9 559.8v65.3h84.4v56.3H318.2v-56.3h84.4v-65.3L242.9 399.9h-37v-56.3h168.5v56.3h-37l93.4 93.5 28.1-28.1V400h168.8v56.2z")),t.WeiboSquareFill=u("weibo-square",o,l(i,"M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 0 0-7.2-34.1 34.68 34.68 0 0 0-33.1-10.7 18.24 18.24 0 0 1-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 0 1-22.9 11.7 18.18 18.18 0 0 1-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 0 1-26.6 13.7 21.19 21.19 0 0 1-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 0 0-98.9-32.1 21.14 21.14 0 0 1-25.1-16.3 21.07 21.07 0 0 1 16.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z")),t.YuqueFill=u("yuque",o,l(i,"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.9-8.1-195-3-195-3s87.4 55.6 52.4 154.7c-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6z")),t.YoutubeFill=u("youtube",o,l(i,"M941.3 296.1a112.3 112.3 0 0 0-79.2-79.3C792.2 198 512 198 512 198s-280.2 0-350.1 18.7A112.12 112.12 0 0 0 82.7 296C64 366 64 512 64 512s0 146 18.7 215.9c10.3 38.6 40.7 69 79.2 79.3C231.8 826 512 826 512 826s280.2 0 350.1-18.8c38.6-10.3 68.9-40.7 79.2-79.3C960 658 960 512 960 512s0-146-18.7-215.9zM423 646V378l232 133-232 135z")),t.ZhihuSquareFill=u("zhihu-square",o,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM432.3 592.8l71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7h-110l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24.1-18.1zm335.5 116h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z")),t.ZhihuCircleFill=u("zhihu-circle",o,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-90.7 477.8l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24-18.1 71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7H421.3zm346.5 167h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z")),t.AccountBookOutline=u("account-book",a,l(i,"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 0 0-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z")),t.AlertOutline=u("alert",a,l(i,"M193 796c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563zm-48.1-252.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 0 0-11.3 0l-39.6 39.6a8.03 8.03 0 0 0 0 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 0 0-11.3 0l-67.9 67.9a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM832 892H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8z")),t.AlipayCircleOutline=u("alipay-circle",a,l(i,"M308.6 545.7c-19.8 2-57.1 10.7-77.4 28.6-61 53-24.5 150 99 150 71.8 0 143.5-45.7 199.8-119-80.2-38.9-148.1-66.8-221.4-59.6zm460.5 67c100.1 33.4 154.7 43 166.7 44.8A445.9 445.9 0 0 0 960 512c0-247.4-200.6-448-448-448S64 264.6 64 512s200.6 448 448 448c155.9 0 293.2-79.7 373.5-200.5-75.6-29.8-213.6-85-286.8-120.1-69.9 85.7-160.1 137.8-253.7 137.8-158.4 0-212.1-138.1-137.2-229 16.3-19.8 44.2-38.7 87.3-49.4 67.5-16.5 175 10.3 275.7 43.4 18.1-33.3 33.4-69.9 44.7-108.9H305.1V402h160v-56.2H271.3v-31.3h193.8v-80.1s0-13.5 13.7-13.5H557v93.6h191.7v31.3H557.1V402h156.4c-15 61.1-37.7 117.4-66.2 166.8 47.5 17.1 90.1 33.3 121.8 43.9z")),t.AliwangwangOutline=u("aliwangwang",a,l(i,"M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 0 0-120.5-81.2A375.65 375.65 0 0 0 519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 0 0-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10.1 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0 0 29.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-66.4 266.5a307.08 307.08 0 0 1-65.9 98c-28.4 28.5-61.3 50.7-97.7 65.9h-.1c-38 16-78.3 24.2-119.9 24.2a306.51 306.51 0 0 1-217.5-90.2c-28.4-28.5-50.6-61.4-65.8-97.8v-.1c-16-37.8-24.1-78.2-24.1-119.9 0-55.4 14.8-109.7 42.8-157l13.2-22.1-9.5-23.9L206 192c14.9.6 35.9 2.1 59.7 5.6 43.8 6.5 82.5 17.5 114.9 32.6l19 8.9 19.9-6.8c31.5-10.8 64.8-16.2 98.9-16.2a306.51 306.51 0 0 1 217.5 90.2c28.4 28.5 50.6 61.4 65.8 97.8l.1.1.1.1c16 37.6 24.1 78 24.2 119.8-.1 41.7-8.3 82-24.3 119.8zM681.1 364.2c-20.4 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.6 37.1 37.1 37.1s37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1zm-175.2 0c-20.5 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.7 37.1 37.1 37.1 20.5 0 37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1z")),t.AndroidOutline=u("android",a,l(i,"M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z")),t.ApiOutline=u("api",a,l(i,"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 0 0-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 0 0 0 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 0 0-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 0 0-11.3 0L363 475.3l-43-43a7.85 7.85 0 0 0-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 0 0 0 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 0 1-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 0 1-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z")),t.AppstoreOutline=u("appstore",a,l(i,"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z")),t.AudioOutline=u("audio",a,l(i,"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z")),t.AppleOutline=u("apple",a,l(i,"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z")),t.BackwardOutline=u("backward",a,l(r,"M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 0 0-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z")),t.BankOutline=u("bank",a,l(i,"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 0 0-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM512 196.7l271.1 197.2H240.9L512 196.7zM264 462h117v374H264V462zm189 0h117v374H453V462zm307 374H642V462h118v374z")),t.BellOutline=u("bell",a,l(i,"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z")),t.BehanceSquareOutline=u("behance-square",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 0 1-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 0 1-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 0 1-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0 1 38.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 0 0-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 0 0-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z")),t.BookOutline=u("book",a,l(i,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0 0 22.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z")),t.BoxPlotOutline=u("box-plot",a,l(i,"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM296 368h88v288h-88V368zm432 288H448V368h280v288z")),t.BulbOutline=u("bulb",a,l(i,"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z")),t.BugOutline=u("bug",a,l(i,"M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 0 0-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 0 0-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z","M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 0 1-63 63H232a63 63 0 0 1-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0 0 22.7 49c24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2a281.38 281.38 0 0 0 123.2-149.5A120 120 0 0 1 836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3C584 874.3 548.8 884 512 884s-72-9.7-102.9-27.8c-30.3-17.7-55.6-43-73.3-73.3A202.75 202.75 0 0 1 308 680V412h408v268z")),t.CalculatorOutline=u("calculator",a,l(i,"M251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 0h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm-195.7-81l61.2-74.9c4.3-5.2.7-13.1-5.9-13.1H388c-2.3 0-4.5 1-5.9 2.9l-34 41.6-34-41.6a7.85 7.85 0 0 0-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.5-1 5.9-2.9l35.5-43.5 35.5 43.5c1.5 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 5.9-13.1L383.5 675zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-36 732H180V180h664v664z")),t.BuildOutline=u("build",a,l(i,"M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z")),t.CalendarOutline=u("calendar",a,l(i,"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z")),t.CameraOutline=u("camera",a,l(i,"M864 248H728l-32.4-90.8a32.07 32.07 0 0 0-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z")),t.CarOutline=u("car",a,l(i,"M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm239-167.6L935.3 372a8 8 0 0 0-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 0 0-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 0 0-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 0 0 3-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1 0 80 0 40 40 0 1 0-80 0z")),t.CaretDownOutline=u("caret-down",a,l(r,"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z")),t.CaretLeftOutline=u("caret-left",a,l(r,"M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z")),t.CaretRightOutline=u("caret-right",a,l(r,"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z")),t.CarryOutOutline=u("carry-out",a,l(i,"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0 0 26 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z")),t.CheckCircleOutline=u("check-circle",a,l(i,"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0 0 51.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z","M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z")),t.CaretUpOutline=u("caret-up",a,l(r,"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z")),t.CheckSquareOutline=u("check-square",a,l(i,"M433.1 657.7a31.8 31.8 0 0 0 51.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8z","M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.ChromeOutline=u("chrome",a,l(i,"M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z")),t.ClockCircleOutline=u("clock-circle",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z","M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z")),t.CloseCircleOutline=u("close-circle",a,l(i,"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 0 0-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z","M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z")),t.CloudOutline=u("cloud",a,l(i,"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 0 1-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 0 1 140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0 1 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z")),t.CloseSquareOutline=u("close-square",a,l(i,"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 0 0 354 671z","M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.CodeOutline=u("code",a,l(i,"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 0 0 308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 0 0-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.CodepenCircleOutline=u("codepen-circle",a,l(i,"M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 0 1-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 0 1-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 0 1 .8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z")),t.CompassOutline=u("compass",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm198.4-588.1a32 32 0 0 0-24.5.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8 9.7 13.9 17.7 17 3.8 1.5 7.7 2.2 11.7 2.2 4.4 0 8.7-.9 12.8-2.7l271-118.6 118.5-271a32.06 32.06 0 0 0-17.7-42.7zM576.8 534.4l26.2 26.2-42.4 42.4-26.2-26.2L380 644.4 447.5 490 422 464.4l42.4-42.4 25.5 25.5L644.4 380l-67.6 154.4zM464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z")),t.ContactsOutline=u("contacts",a,l(i,"M594.3 601.5a111.8 111.8 0 0 0 29.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 0 0-74.6 126.1 8 8 0 0 0 8 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 0 0 8-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52zm416-354H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z")),t.ContainerOutline=u("container",a,l(i,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z")),t.ControlOutline=u("control",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 0 1 5.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 0 1 5.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z")),t.CopyOutline=u("copy",a,l(i,"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z")),t.CreditCardOutline=u("credit-card",a,l(i,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-792 72h752v120H136V232zm752 560H136V440h752v352zm-237-64h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z")),t.CrownOutline=u("crown",a,l(i,"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 0 0-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zm-126 534.1H250.3l-53.8-409.4 139.8 86.1L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4zM512 509c-62.1 0-112.6 50.5-112.6 112.6S449.9 734.2 512 734.2s112.6-50.5 112.6-112.6S574.1 509 512 509zm0 160.9c-26.6 0-48.2-21.6-48.2-48.3 0-26.6 21.6-48.3 48.2-48.3s48.2 21.6 48.2 48.3c0 26.6-21.6 48.3-48.2 48.3z")),t.CustomerServiceOutline=u("customer-service",a,l(i,"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z")),t.DashboardOutline=u("dashboard",a,l(i,"M924.8 385.6a446.7 446.7 0 0 0-96-142.4 446.7 446.7 0 0 0-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 0 0-142.4 96 446.7 446.7 0 0 0-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 0 1 140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 0 0-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 0 0 0 79.2 55.95 55.95 0 0 0 79.2 0 55.87 55.87 0 0 0 14.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 0 0-11.3 0l-56.6 56.6a8.03 8.03 0 0 0 0 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 0 0-11.3 0l-31.1 31.1a8.03 8.03 0 0 0 0 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z")),t.DeleteOutline=u("delete",a,l(i,"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z")),t.DiffOutline=u("diff",a,l(i,"M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7zm-7.1-502.6c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888zm190.2-581.4L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z")),t.DatabaseOutline=u("database",a,l(i,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm0 272a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm0 272a40 40 0 1 0 80 0 40 40 0 1 0-80 0z")),t.DislikeOutline=u("dislike",a,l(i,"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 0 0-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 0 1-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0 1 33.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0 1 19.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0 1 19.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0 1 19.6 43c0 19.1-11 37.5-28.8 48.4z")),t.DownCircleOutline=u("down-circle",a,l(i,"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z","M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z")),t.DownSquareOutline=u("down-square",a,l(i,"M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.8-5.3 0-12.7-6.5-12.7H643c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z","M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.DribbbleSquareOutline=u("dribbble-square",a,l(i,"M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 0 0-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z")),t.EnvironmentOutline=u("environment",a,l(i,"M854.6 289.1a362.49 362.49 0 0 0-79.9-115.7 370.83 370.83 0 0 0-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 0 0 169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0 0 22.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 0 1 512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z")),t.EditOutline=u("edit",a,l(i,"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z")),t.ExclamationCircleOutline=u("exclamation-circle",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z","M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z")),t.ExperimentOutline=u("experiment",a,l(i,"M512 472a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 0 1-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z")),t.EyeInvisibleOutline=u("eye-invisible",a,l(i,"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 0 0 0-51.5zm-63.57-320.64L836 122.88a8 8 0 0 0-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 0 0 0 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 0 0 0 11.31L155.17 889a8 8 0 0 0 11.31 0l712.15-712.12a8 8 0 0 0 0-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 0 0-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 0 1 146.2-106.69L401.31 546.2A112 112 0 0 1 396 512z","M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 0 0 227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 0 1-112 112z")),t.EyeOutline=u("eye",a,l(i,"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z")),t.FacebookOutline=u("facebook",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z")),t.FastBackwardOutline=u("fast-backward",a,l(r,"M517.6 273.5L230.2 499.3a16.14 16.14 0 0 0 0 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 0 0 0 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z")),t.FastForwardOutline=u("fast-forward",a,l(r,"M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 0 0 0-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z")),t.FileAddOutline=u("file-add",a,l(i,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z")),t.FileExcelOutline=u("file-excel",a,l(i,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0 0 10.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 0 0-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z")),t.FileExclamationOutline=u("file-exclamation",a,l(i,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494zM472 744a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm16-104h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8z")),t.FileImageOutline=u("file-image",a,l(i,"M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 0 0-12.6 0l-99.8 127.2a7.98 7.98 0 0 0 6.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 0 0-12.7 0zM360 442a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm494.6-153.4L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z")),t.FileMarkdownOutline=u("file-markdown",a,l(i,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0 0 11 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z")),t.FilePptOutline=u("file-ppt",a,l(i,"M424 476c-4.4 0-8 3.6-8 8v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.3c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1zm280-281.7L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z")),t.FileTextOutline=u("file-text",a,l(i,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z")),t.FilePdfOutline=u("file-pdf",a,l(i,"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z")),t.FileZipOutline=u("file-zip",a,l(i,"M296 392h64v64h-64zm0 190v160h128V582h-64v-62h-64v62zm80 48v64h-32v-64h32zm-16-302h64v64h-64zm-64-64h64v64h-64zm64 192h64v64h-64zm0-256h64v64h-64zm494.6 88.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h64v64h64v-64h174v216a42 42 0 0 0 42 42h216v494z")),t.FileOutline=u("file",a,l(i,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494z")),t.FilterOutline=u("filter",a,l(i,"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z")),t.FileWordOutline=u("file-word",a,l(i,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494zM528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 0 0-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 0 0-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z")),t.FireOutline=u("fire",a,l(i,"M834.1 469.2A347.49 347.49 0 0 0 751.2 354l-29.1-26.7a8.09 8.09 0 0 0-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 0 1-47.5 46.1 352.6 352.6 0 0 0-100.3 121.5A347.75 347.75 0 0 0 160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0 0 75.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 0 0 760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0 0 27.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0 0 58.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0 0 12.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0 0 24.4 59.8 73.36 73.36 0 0 0 53.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z")),t.FileUnknownOutline=u("file-unknown",a,l(i,"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0 0 42 42h216v494zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm78 195a32 32 0 1 0 64 0 32 32 0 1 0-64 0z")),t.FlagOutline=u("flag",a,l(i,"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z")),t.FolderAddOutline=u("folder-add",a,l(i,"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 0 0-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z")),t.FolderOutline=u("folder",a,l(i,"M880 298.4H521L403.7 186.2a8.15 8.15 0 0 0-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z")),t.FolderOpenOutline=u("folder-open",a,l(i,"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 0 0-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z")),t.ForwardOutline=u("forward",a,l(r,"M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z")),t.FrownOutline=u("frown",a,l(i,"M288 421a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm352 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 0 1 248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 0 1 249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 0 1 775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 0 1 775 775zM512 533c-85.5 0-155.6 67.3-160 151.6a8 8 0 0 0 8 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4C420 636.1 461.5 597 512 597s92.1 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 0 0 8-8.4C667.6 600.3 597.5 533 512 533z")),t.FundOutline=u("fund",a,l(i,"M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-40 632H134V236h752v560zm-658.9-82.3c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 0 0-11.3 0L531 565 416.6 450.5a8.03 8.03 0 0 0-11.3 0l-214.9 215a8.03 8.03 0 0 0 0 11.3l36.7 36.9z")),t.FunnelPlotOutline=u("funnel-plot",a,l(i,"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V650h182.9v148zm9.6-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z")),t.GiftOutline=u("gift",a,l(i,"M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zm-334-74c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm-138-70c38.6 0 70 31.4 70 70v70h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70zM180 482V378h298v104H180zm48 68h250v308H228V550zm568 308H546V550h250v308zm48-376H546V378h298v104z")),t.GithubOutline=u("github",a,l(i,"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z")),t.GitlabOutline=u("gitlab",a,l(i,"M913.9 552.2L805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776L405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9l207.3-276.7 29.5 99.2-236.8 177.5z")),t.HeartOutline=u("heart",a,l(i,"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z")),t.HddOutline=u("hdd",a,l(i,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM496 208H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 244a40 40 0 1 0 80 0 40 40 0 1 0-80 0z")),t.HighlightOutline=u("highlight",a,l(i,"M957.6 507.4L603.2 158.2a7.9 7.9 0 0 0-11.2 0L353.3 393.4a8.03 8.03 0 0 0-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 0 0-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0 0 11.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0 0 11.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.2H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.2l68.6-67.6 171.4 168.9-68.6 67.6zM713.1 658L450.3 399.1 597.6 254l262.8 259-147.3 145z")),t.HomeOutline=u("home",a,l(i,"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 0 0-44.4 0L77.5 505a63.9 63.9 0 0 0-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0 0 18.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z")),t.HourglassOutline=u("hourglass",a,l(i,"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 0 1 354 318V184h316v134z")),t.Html5Outline=u("html5",a,l(i,"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2zM281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z")),t.IdcardOutline=u("idcard",a,l(i,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 0 0 8-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0 0 29.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 0 0-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z")),t.InfoCircleOutline=u("info-circle",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z","M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z")),t.InstagramOutline=u("instagram",a,l(i,"M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 0 0-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z")),t.InsuranceOutline=u("insurance",a,l(i,"M441.6 306.8L403 288.6a6.1 6.1 0 0 0-8.4 3.7c-17.5 58.5-45.2 110.1-82.2 153.6a6.05 6.05 0 0 0-1.2 5.6l13.2 43.5c1.3 4.4 7 5.7 10.2 2.4 7.7-8.1 15.4-16.9 23.1-26V656c0 4.4 3.6 8 8 8H403c4.4 0 8-3.6 8-8V393.1a429.2 429.2 0 0 0 33.6-79c1-2.9-.3-6-3-7.3zm26.8 9.2v127.2c0 4.4 3.6 8 8 8h65.9v18.6h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 0 0-1.6 8.1l22.8 36.5c1.9 3.1 6.2 3.8 8.9 1.4 31.6-26.8 58.7-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V536c21.3 41.7 47.5 77.5 78.1 106.9 2.6 2.5 6.8 2.1 8.9-.7l26.3-35.3c2-2.7 1.4-6.5-1.2-8.4-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8V478c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H476.4c-4.4 0-8 3.6-8 8zm51.5 42.8h97.9v41.6h-97.9v-41.6zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z")),t.InteractionOutline=u("interaction",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z")),t.InterationOutline=u("interation",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z")),t.LayoutOutline=u("layout",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z")),t.LeftCircleOutline=u("left-circle",a,l(i,"M603.3 327.5l-246 178a7.95 7.95 0 0 0 0 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z","M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z")),t.LeftSquareOutline=u("left-square",a,l(i,"M365.3 518.5l246 178c5.3 3.8 12.7 0 12.7-6.5v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a8.05 8.05 0 0 0 0 13z","M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.LikeOutline=u("like",a,l(i,"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 0 0-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 0 0 471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0 1 42.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z")),t.LinkedinOutline=u("linkedin",a,l(i,"M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 1 0-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z")),t.LockOutline=u("lock",a,l(i,"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z")),t.MedicineBoxOutline=u("medicine-box",a,l(i,"M839.2 278.1a32 32 0 0 0-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 0 0-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z")),t.MehOutline=u("meh",a,l(i,"M288 421a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm352 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 0 1 248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 0 1 249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 0 1 775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 0 1 775 775zM664 565H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z")),t.MailOutline=u("mail",a,l(i,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0 0 68.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z")),t.MessageOutline=u("message",a,l(i,"M464 512a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm200 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm-400 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 0 0-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 0 0-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 0 0 112 714v152a46 46 0 0 0 46 46h152.1A449.4 449.4 0 0 0 510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 0 0 142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z")),t.MinusCircleOutline=u("minus-circle",a,l(i,"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z","M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z")),t.MinusSquareOutline=u("minus-square",a,l(i,"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z","M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.MobileOutline=u("mobile",a,l(i,"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1 0 80 0 40 40 0 1 0-80 0z")),t.MoneyCollectOutline=u("money-collect",a,l(i,"M911.5 700.7a8 8 0 0 0-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM512 837.5l-256-93.1V184h512v560.4l-256 93.1zM660.6 312h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 0 0-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9z")),t.PauseCircleOutline=u("pause-circle",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z")),t.PayCircleOutline=u("pay-circle",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 0 0-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8-.1-4.4-3.7-8-8.1-8z")),t.NotificationOutline=u("notification",a,l(i,"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z")),t.PhoneOutline=u("phone",a,l(i,"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 0 1-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 0 0-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 0 0 285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z")),t.PictureOutline=u("picture",a,l(i,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 1 0 0-176 88 88 0 0 0 0 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z")),t.PieChartOutline=u("pie-chart",a,l(i,"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 0 0-282.8 117.1 398.19 398.19 0 0 0-85.7 127.1A397.61 397.61 0 0 0 72 552a398.46 398.46 0 0 0 117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 0 0 472 952a398.46 398.46 0 0 0 282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 0 0 872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 0 1 470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 0 0 589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 0 1 166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z")),t.PlaySquareOutline=u("play-square",a,l(i,"M442.3 677.6l199.4-156.7a11.3 11.3 0 0 0 0-17.7L442.3 346.4c-7.4-5.8-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.7 18.3 8.9z","M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.PlayCircleOutline=u("play-circle",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z","M719.4 499.1l-296.1-215A15.9 15.9 0 0 0 398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 0 0 0-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z")),t.PlusCircleOutline=u("plus-circle",a,l(i,"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z","M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z")),t.PrinterOutline=u("printer",a,l(i,"M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8zm32-104H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z")),t.PlusSquareOutline=u("plus-square",a,l(i,"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z","M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.ProfileOutline=u("profile",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm0 144a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm0 144a40 40 0 1 0 80 0 40 40 0 1 0-80 0z")),t.ProjectOutline=u("project",a,l(i,"M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8zm216-432H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.PushpinOutline=u("pushpin",a,l(i,"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 0 0-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 0 0-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 0 1-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z")),t.PropertySafetyOutline=u("property-safety",a,l(i,"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM430.5 318h-46c-1.7 0-3.3.4-4.8 1.2a10.1 10.1 0 0 0-4 13.6l88 161.1h-45.2c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7h-63.1c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1a10.05 10.05 0 0 0-8.8-14.8h-45c-3.8 0-7.2 2.1-8.9 5.5l-73.2 144.3-72.9-144.3c-1.7-3.4-5.2-5.5-9-5.5z")),t.QuestionCircleOutline=u("question-circle",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z","M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0 1 30.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1 0 80 0 40 40 0 1 0-80 0z")),t.ReadOutline=u("read",a,l(i,"M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 0 0 324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM324.8 721H136V233h188.8c35.4 0 69.8 10.1 99.5 29.2l48.8 31.3 6.9 4.5v462c-47.6-25.6-100.8-39-155.2-39zm563.2 0H699.2c-54.4 0-107.6 13.4-155.2 39V298l6.9-4.5 48.8-31.3c29.7-19.1 64.1-29.2 99.5-29.2H888v488zM396.9 361H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm223.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c0-4.1-3.2-7.5-7.1-7.5H627.1c-3.9 0-7.1 3.4-7.1 7.5zM396.9 501H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm416 0H627.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5z")),t.ReconciliationOutline=u("reconciliation",a,l(i,"M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34zm204-523H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552zM704 408v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zM592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z")),t.RedEnvelopeOutline=u("red-envelope",a,l(i,"M440.6 462.6a8.38 8.38 0 0 0-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 0 0-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 0 0-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142zM832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z")),t.RestOutline=u("rest",a,l(i,"M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z","M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0 0 31.9 29.3h429.2a32 32 0 0 0 31.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z")),t.RightCircleOutline=u("right-circle",a,l(i,"M666.7 505.5l-246-178A8 8 0 0 0 408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8 0-13z","M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z")),t.RocketOutline=u("rocket",a,l(i,"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 0 0-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0 0 43.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0 0 43.1-30.5 97.52 97.52 0 0 0 21.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0 1 62.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 0 1-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1 0 96 0 48 48 0 1 0-96 0z")),t.RightSquareOutline=u("right-square",a,l(i,"M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z","M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.SafetyCertificateOutline=u("safety-certificate",a,l(i,"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0 0 26 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z")),t.ScheduleOutline=u("schedule",a,l(i,"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0 136H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm308.2-177.4L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0 0 25.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5z")),t.SaveOutline=u("save",a,l(i,"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z")),t.SecurityScanOutline=u("security-scan",a,l(i,"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 0 0 0 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z")),t.SettingOutline=u("setting",a,l(i,"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 0 0 9.3-35.2l-.9-2.6a443.74 443.74 0 0 0-79.7-137.9l-1.8-2.1a32.12 32.12 0 0 0-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 0 0-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 0 0-25.8 25.7l-15.8 85.4a351.86 351.86 0 0 0-99 57.4l-81.9-29.1a32 32 0 0 0-35.1 9.5l-1.8 2.1a446.02 446.02 0 0 0-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 0 0-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0 0 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0 0 25.8 25.7l2.7.5a449.4 449.4 0 0 0 159 0l2.7-.5a32.05 32.05 0 0 0 25.8-25.7l15.7-85a350 350 0 0 0 99.7-57.6l81.3 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 0 1-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 0 1-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 0 1 512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 0 1 624 502c0 29.9-11.7 58-32.8 79.2z")),t.ShoppingOutline=u("shopping",a,l(i,"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z")),t.SkinOutline=u("skin",a,l(i,"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 0 0-37-29.3H154a44 44 0 0 0-44 44v252a44 44 0 0 0 44 44h75v388a44 44 0 0 0 44 44h478a44 44 0 0 0 44-44V466h75a44 44 0 0 0 44-44V170a44 44 0 0 0-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z")),t.SkypeOutline=u("skype",a,l(i,"M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 0 0-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 0 0 335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 0 0 112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-88.1 216C766.9 823.4 729 839 688.4 839c-26.1 0-51.8-6.8-74.6-19.7l-22.5-12.7-25.5 4.5c-17.8 3.2-35.8 4.8-53.6 4.8-41.4 0-81.3-8.1-119.1-24.1-36.3-15.3-69-37.3-97.2-65.5a304.29 304.29 0 0 1-65.5-97.1c-16-37.7-24-77.6-24-119 0-17.4 1.6-35.2 4.6-52.8l4.4-25.1L203 410a151.02 151.02 0 0 1-19.1-73.4c0-40.6 15.7-78.5 44.4-107.2C257.1 200.7 295 185 335.6 185a153 153 0 0 1 71.4 17.9l22.4 11.8 24.8-4.8c18.9-3.6 38.4-5.5 58-5.5 41.4 0 81.3 8.1 119 24 36.5 15.4 69.1 37.4 97.2 65.5 28.2 28.1 50.2 60.8 65.6 97.2 16 37.7 24 77.6 24 119 0 18.4-1.7 37-5.1 55.5l-4.7 25.5 12.6 22.6c12.6 22.5 19.2 48 19.2 73.7 0 40.7-15.7 78.5-44.4 107.2zM583.4 466.2L495 446.6c-33.6-7.7-72.3-17.8-72.3-49.5s27.1-53.9 76.1-53.9c98.7 0 89.7 67.8 138.7 67.8 25.8 0 48.4-15.2 48.4-41.2 0-60.8-97.4-106.5-180-106.5-89.7 0-185.2 38.1-185.2 139.5 0 48.8 17.4 100.8 113.6 124.9l119.4 29.8c36.1 8.9 45.2 29.2 45.2 47.6 0 30.5-30.3 60.3-85.2 60.3-107.2 0-92.3-82.5-149.7-82.5-25.8 0-44.5 17.8-44.5 43.1 0 49.4 60 115.4 194.2 115.4 127.7 0 191-61.5 191-144 0-53.1-24.5-109.6-121.3-131.2z")),t.SlackSquareOutline=u("slack-square",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 0 1-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0 1 50.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 0 1-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z")),t.SlidersOutline=u("sliders",a,l(i,"M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 0 1-3 3h-74a3 3 0 0 1-3-3v-74a3 3 0 0 1 3-3h74a3 3 0 0 1 3 3v74z")),t.SmileOutline=u("smile",a,l(i,"M288 421a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm352 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 0 1 248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 0 1 249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 0 1 775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 0 1 775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 0 0-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 0 0-8-8.4z")),t.SnippetsOutline=u("snippets",a,l(i,"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z")),t.SoundOutline=u("sound",a,l(i,"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 0 0-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0 0 21.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0 0 21.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 0 0-21.7-5.9L746 287.8a15.99 15.99 0 0 0-5.8 21.8L760 344z")),t.StarOutline=u("star",a,l(i,"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z")),t.StepBackwardOutline=u("step-backward",a,l(r,"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 0 0 0 33.9M330 864h-64a8 8 0 0 1-8-8V168a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8v688a8 8 0 0 1-8 8")),t.StepForwardOutline=u("step-forward",a,l(r,"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 0 1 0 33.9M694 864h64a8 8 0 0 0 8-8V168a8 8 0 0 0-8-8h-64a8 8 0 0 0-8 8v688a8 8 0 0 0 8 8")),t.StopOutline=u("stop",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z")),t.SwitcherOutline=u("switcher",a,l(i,"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528zm168-728H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM300 550h296v64H300z")),t.TagOutline=u("tag",a,l(i,"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 0 0 0 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z")),t.TabletOutline=u("tablet",a,l(i,"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752zM472 784a40 40 0 1 0 80 0 40 40 0 1 0-80 0z")),t.ShopOutline=u("shop",a,l(i,"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0 0 14.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0 0 15.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0 0 38.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0 0 38.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm30-404.4c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 0 1 512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 0 1-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z")),t.TagsOutline=u("tags",a,l(i,"M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 0 0 0 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm62.6-651.7l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9zm60.16 186.23a48 48 0 1 0 67.88-67.89 48 48 0 1 0-67.88 67.89zM889.7 539.8l-39.6-39.5a8.03 8.03 0 0 0-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 0 0-11.3 0l-39.6 39.5a8.03 8.03 0 0 0 0 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z")),t.TaobaoCircleOutline=u("taobao-circle",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 1 1 0-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z")),t.ToolOutline=u("tool",a,l(i,"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 0 1 144-53.5L537 318.9a32.05 32.05 0 0 0 0 45.3l124.5 124.5a32.05 32.05 0 0 0 45.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z")),t.ThunderboltOutline=u("thunderbolt",a,l(i,"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z")),t.TrophyOutline=u("trophy",a,l(i,"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 0 0-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 0 0-44-44zM184 352V232h64v207.6a91.99 91.99 0 0 1-64-87.6zm520 128c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z")),t.UnlockOutline=u("unlock",a,l(i,"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z")),t.UpCircleOutline=u("up-circle",a,l(i,"M518.5 360.3a7.95 7.95 0 0 0-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z","M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z")),t.UpSquareOutline=u("up-square",a,l(i,"M334 624h46.9c10.2 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246a7.95 7.95 0 0 0-12.9 0l-178 246A7.96 7.96 0 0 0 334 624z","M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.UsbOutline=u("usb",a,l(i,"M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-424 0V184h352v248H336zm120-184h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z")),t.VideoCameraOutline=u("video-camera",a,l(i,"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z")),t.WalletOutline=u("wallet",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1 0 80 0 40 40 0 1 0-80 0z")),t.WarningOutline=u("warning",a,l(i,"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z")),t.WechatOutline=u("wechat",a,l(i,"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 0 1 9.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 0 0 6.4-2.6 9 9 0 0 0 2.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 0 1-36 35.9z")),t.WeiboCircleOutline=u("weibo-circle",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 0 0-7.2-34.1 34.68 34.68 0 0 0-33.1-10.7 18.24 18.24 0 0 1-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 0 1-22.9 11.7 18.18 18.18 0 0 1-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 0 1-26.6 13.7 21.19 21.19 0 0 1-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 0 0-98.9-32.1 21.14 21.14 0 0 1-25.1-16.3 21.07 21.07 0 0 1 16.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z")),t.WindowsOutline=u("windows",a,l(i,"M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z")),t.YahooOutline=u("yahoo",a,l(i,"M859.9 681.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm0 507C245.1 738 121 634.6 121 512.5c0-62.3 32.3-119.7 84.9-161v48.4h37l159.8 159.9v65.3h-84.4v56.3h225.1v-56.3H459v-65.3l103.5-103.6h65.3v-56.3H459v65.3l-28.1 28.1-93.4-93.5h37v-56.3H216.4c49.4-35 114.3-56.6 186.2-56.6 157.6 0 281.6 103.4 281.6 225.5S560.2 738 402.6 738zm534.7-507H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7z")),t.WeiboSquareOutline=u("weibo-square",a,l(i,"M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 0 0-7.2-34.1 34.68 34.68 0 0 0-33.1-10.7 18.24 18.24 0 0 1-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 0 1-22.9 11.7 18.18 18.18 0 0 1-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 0 1-26.6 13.7 21.19 21.19 0 0 1-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 0 0-98.9-32.1 21.14 21.14 0 0 1-25.1-16.3 21.07 21.07 0 0 1 16.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z")),t.YuqueOutline=u("yuque",a,l(i,"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z")),t.YoutubeOutline=u("youtube",a,l(i,"M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 0 0-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0 0 82.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z")),t.AlibabaOutline=u("alibaba",a,l(i,"M602.9 669.8c-37.2 2.6-33.6-17.3-11.5-46.2 50.4-67.2 143.7-158.5 147.9-225.2 5.8-86.6-81.3-113.4-171-113.4-62.4 1.6-127 18.9-171 34.6-151.6 53.5-246.6 137.5-306.9 232-62.4 93.4-43 183.2 91.8 185.8 101.8-4.2 170.5-32.5 239.7-68.2.5 0-192.5 55.1-263.9 14.7-7.9-4.2-15.7-10-17.8-26.2 0-33.1 54.6-67.7 86.6-78.7v-56.7c64.5 22.6 140.6 16.3 205.7-32 2.1 5.8 4.2 13.1 3.7 21h11c2.6-22.6-12.6-44.6-37.8-46.2 7.3 5.8 12.6 10.5 15.2 14.7l-1 1-.5.5c-83.9 58.8-165.3 31.5-173.1 29.9l46.7-45.7-13.1-33.1c92.9-32.5 169.5-56.2 296.9-78.7l-28.5-23 14.7-8.9c75.5 21 126.4 36.7 123.8 76.6-1 6.8-3.7 14.7-7.9 23.1C660.1 466.1 594 538 567.2 569c-17.3 20.5-34.6 39.4-46.7 58.3-13.6 19.4-20.5 37.3-21 53.5 2.6 131.8 391.4-61.9 468-112.9-111.7 47.8-232.9 93.5-364.6 101.9zm85-302.9c2.8 5.2 4.1 11.6 4.1 19.1-.1-6.8-1.4-13.3-4.1-19.1z")),t.AlignCenterOutline=u("align-center",a,l(i,"M264 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm496 424c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496zm144 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.AlignLeftOutline=u("align-left",a,l(i,"M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.AlignRightOutline=u("align-right",a,l(i,"M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.AlipayOutline=u("alipay",a,l(i,"M789 610.3c-38.7-12.9-90.7-32.7-148.5-53.6 34.8-60.3 62.5-129 80.7-203.6H530.5v-68.6h233.6v-38.3H530.5V132h-95.4c-16.7 0-16.7 16.5-16.7 16.5v97.8H182.2v38.3h236.3v68.6H223.4v38.3h378.4a667.18 667.18 0 0 1-54.5 132.9c-122.8-40.4-253.8-73.2-336.1-53-52.6 13-86.5 36.1-106.5 60.3-91.4 111-25.9 279.6 167.2 279.6C386 811.2 496 747.6 581.2 643 708.3 704 960 808.7 960 808.7V659.4s-31.6-2.5-171-49.1zM253.9 746.6c-150.5 0-195-118.3-120.6-183.1 24.8-21.9 70.2-32.6 94.4-35 89.4-8.8 172.2 25.2 269.9 72.8-68.8 89.5-156.3 145.3-243.7 145.3z")),t.AliyunOutline=u("aliyun",a,l(i,"M959.2 383.9c-.3-82.1-66.9-148.6-149.1-148.6H575.9l21.6 85.2 201 43.7a42.58 42.58 0 0 1 32.9 39.7c.1.5.1 216.1 0 216.6a42.58 42.58 0 0 1-32.9 39.7l-201 43.7-21.6 85.3h234.2c82.1 0 148.8-66.5 149.1-148.6V383.9zM225.5 660.4a42.58 42.58 0 0 1-32.9-39.7c-.1-.6-.1-216.1 0-216.6.8-19.4 14.6-35.5 32.9-39.7l201-43.7 21.6-85.2H213.8c-82.1 0-148.8 66.4-149.1 148.6V641c.3 82.1 67 148.6 149.1 148.6H448l-21.6-85.3-200.9-43.9zm200.9-158.8h171v21.3h-171z")),t.AmazonOutline=u("amazon",a,l(i,"M825 768.9c-3.3-.9-7.3-.4-11.9 1.3-61.6 28.2-121.5 48.3-179.7 60.2C507.7 856 385.2 842.6 266 790.3c-33.1-14.6-79.1-39.2-138-74a9.36 9.36 0 0 0-5.3-2c-2-.1-3.7.1-5.3.9-1.6.8-2.8 1.8-3.7 3.1-.9 1.3-1.1 3.1-.4 5.4.6 2.2 2.1 4.7 4.6 7.4 10.4 12.2 23.3 25.2 38.6 39s35.6 29.4 60.9 46.8c25.3 17.4 51.8 32.9 79.3 46.4 27.6 13.5 59.6 24.9 96.1 34.1s73 13.8 109.4 13.8c36.2 0 71.4-3.7 105.5-10.9 34.2-7.3 63-15.9 86.5-25.9 23.4-9.9 45-21 64.8-33 19.8-12 34.4-22.2 43.9-30.3 9.5-8.2 16.3-14.6 20.2-19.4 4.6-5.7 6.9-10.6 6.9-14.9.1-4.5-1.7-7.1-5-7.9zM527.4 348.1c-15.2 1.3-33.5 4.1-55 8.3-21.5 4.1-41.4 9.3-59.8 15.4s-37.2 14.6-56.3 25.4c-19.2 10.8-35.5 23.2-49 37s-24.5 31.1-33.1 52c-8.6 20.8-12.9 43.7-12.9 68.7 0 27.1 4.7 51.2 14.3 72.5 9.5 21.3 22.2 38 38.2 50.4 15.9 12.4 34 22.1 54 29.2 20 7.1 41.2 10.3 63.2 9.4 22-.9 43.5-4.3 64.4-10.3 20.8-5.9 40.4-15.4 58.6-28.3 18.2-12.9 33.1-28.2 44.8-45.7 4.3 6.6 8.1 11.5 11.5 14.7l8.7 8.9c5.8 5.9 14.7 14.6 26.7 26.1 11.9 11.5 24.1 22.7 36.3 33.7l104.4-99.9-6-4.9c-4.3-3.3-9.4-8-15.2-14.3-5.8-6.2-11.6-13.1-17.2-20.5-5.7-7.4-10.6-16.1-14.7-25.9-4.1-9.8-6.2-19.3-6.2-28.5V258.7c0-10.1-1.9-21-5.7-32.8-3.9-11.7-10.7-24.5-20.7-38.3-10-13.8-22.4-26.2-37.2-37-14.9-10.8-34.7-20-59.6-27.4-24.8-7.4-52.6-11.1-83.2-11.1-31.3 0-60.4 3.7-87.6 10.9-27.1 7.3-50.3 17-69.7 29.2-19.3 12.2-35.9 26.3-49.7 42.4-13.8 16.1-24.1 32.9-30.8 50.4-6.7 17.5-10.1 35.2-10.1 53.1L408 310c5.5-16.4 12.9-30.6 22-42.8 9.2-12.2 17.9-21 25.8-26.5 8-5.5 16.6-9.9 25.7-13.2 9.2-3.3 15.4-5 18.6-5.4 3.2-.3 5.7-.4 7.6-.4 26.7 0 45.2 7.9 55.6 23.6 6.5 9.5 9.7 23.9 9.7 43.3v56.6c-15.2.6-30.4 1.6-45.6 2.9zM573.1 500c0 16.6-2.2 31.7-6.5 45-9.2 29.1-26.7 47.4-52.4 54.8-22.4 6.6-43.7 3.3-63.9-9.8-21.5-14-32.2-33.8-32.2-59.3 0-19.9 5-36.9 15-51.1 10-14.1 23.3-24.7 40-31.7s33-12 49-14.9c15.9-3 33-4.8 51-5.4V500zm335.2 218.9c-4.3-5.4-15.9-8.9-34.9-10.7-19-1.8-35.5-1.7-49.7.4-15.3 1.8-31.1 6.2-47.3 13.4-16.3 7.1-23.4 13.1-21.6 17.8l.7 1.3.9.7 1.4.2h4.6c.8 0 1.8-.1 3.2-.2 1.4-.1 2.7-.3 3.9-.4 1.2-.1 2.9-.3 5.1-.4 2.1-.1 4.1-.4 6-.7.3 0 3.7-.3 10.3-.9 6.6-.6 11.4-1 14.3-1.3 2.9-.3 7.8-.6 14.5-.9 6.7-.3 12.1-.3 16.1 0 4 .3 8.5.7 13.6 1.1 5.1.4 9.2 1.3 12.4 2.7 3.2 1.3 5.6 3 7.1 5.1 5.2 6.6 4.2 21.2-3 43.9s-14 40.8-20.4 54.2c-2.8 5.7-2.8 9.2 0 10.7s6.7.1 11.9-4c15.6-12.2 28.6-30.6 39.1-55.3 6.1-14.6 10.5-29.8 13.1-45.7 2.4-15.9 2-26.2-1.3-31z")),t.AntCloudOutline=u("ant-cloud",a,l(i,"M378.9 738c-3.1 0-6.1-.5-8.8-1.5l4.4 30.7h26.3l-15.5-29.9c-2.1.5-4.2.7-6.4.7zm421-291.2c-12.6 0-24.8 1.5-36.5 4.2-21.4-38.4-62.3-64.3-109.3-64.3-6.9 0-13.6.6-20.2 1.6-35.4-77.4-113.4-131.1-203.9-131.1-112.3 0-205.3 82.6-221.6 190.4C127.3 455.5 64 523.8 64 607c0 88.4 71.6 160.1 160 160.2h50l13.2-27.6c-26.2-8.3-43.3-29-39.1-48.8 4.6-21.6 32.8-33.9 63.1-27.5 22.9 4.9 40.4 19.1 45.5 35.1a26.1 26.1 0 0 1 22.1-12.4h.2c-.8-3.2-1.2-6.5-1.2-9.9 0-20.1 14.8-36.7 34.1-39.6v-25.4c0-4.4 3.6-8 8-8s8 3.6 8 8v26.3c4.6 1.2 8.8 3.2 12.6 5.8l19.5-21.4c3-3.3 8-3.5 11.3-.5 3.3 3 3.5 8 .5 11.3l-20 22-.2.2a40 40 0 0 1-46.9 59.2c-.4 5.6-2.6 10.7-6 14.8l20 38.4H804v-.1c86.5-2.2 156-73 156-160.1 0-88.5-71.7-160.2-160.1-160.2zM338.2 737.2l-4.3 30h24.4l-5.9-41.5c-3.5 4.6-8.3 8.5-14.2 11.5zM797.5 305a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm-65.7 61.3a24 24 0 1 0 48 0 24 24 0 1 0-48 0zM303.4 742.9l-11.6 24.3h26l3.5-24.7c-5.7.8-11.7 1-17.9.4z")),t.ApartmentOutline=u("apartment",a,l(i,"M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z")),t.AntDesignOutline=u("ant-design",a,l(i,"M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 0 0 0 76.4L474.6 944a54.14 54.14 0 0 0 76.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 0 0-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 1 0 212.6 0 106.3 106.2 0 1 0-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 0 0 0 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 0 0 0 68.6 48.7 48.7 0 0 0 68.7 0l121.8-121.7a53.93 53.93 0 0 0-.1-76.4z")),t.AreaChartOutline=u("area-chart",a,l(i,"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-616-64h536c4.4 0 8-3.6 8-8V284c0-7.2-8.7-10.7-13.7-5.7L592 488.6l-125.4-124a8.03 8.03 0 0 0-11.3 0l-189 189.6a7.87 7.87 0 0 0-2.3 5.6V720c0 4.4 3.6 8 8 8z")),t.ArrowLeftOutline=u("arrow-left",a,l(i,"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 0 0 0 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z")),t.ArrowDownOutline=u("arrow-down",a,l(i,"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z")),t.ArrowUpOutline=u("arrow-up",a,l(i,"M868 545.5L536.1 163a31.96 31.96 0 0 0-48.3 0L156 545.5a7.97 7.97 0 0 0 6 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z")),t.ArrowsAltOutline=u("arrows-alt",a,l(i,"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L863.9 169a7.9 7.9 0 0 0-8.9-8.9zM416.6 562.3a8.03 8.03 0 0 0-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z")),t.ArrowRightOutline=u("arrow-right",a,l(i,"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 0 0 0-48.4z")),t.AuditOutline=u("audit",a,l(i,"M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z")),t.BarChartOutline=u("bar-chart",a,l(i,"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z")),t.BarcodeOutline=u("barcode",a,l(i,"M120 160H72c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm833 0h-48c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zM200 736h112c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H200c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm321 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm126 0h178c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H647c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-255 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-79 64H201c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm257 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm256 0H648c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h178c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-385 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z")),t.BarsOutline=u("bars",a,l(r,"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm0 284a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm0 284a56 56 0 1 0 112 0 56 56 0 1 0-112 0z")),t.BgColorsOutline=u("bg-colors",a,l(i,"M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 0 0-12.8 0l-48 48a9.11 9.11 0 0 0 0 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z")),t.BehanceOutline=u("behance",a,l(i,"M634 294.3h199.5v48.4H634zM434.1 485.8c44.1-21.1 67.2-53.2 67.2-102.8 0-98.1-73-121.9-157.3-121.9H112v492.4h238.5c89.4 0 173.3-43 173.3-143 0-61.8-29.2-107.5-89.7-124.7zM220.2 345.1h101.5c39.1 0 74.2 10.9 74.2 56.3 0 41.8-27.3 58.6-66 58.6H220.2V345.1zm115.5 324.8H220.1V534.3H338c47.6 0 77.7 19.9 77.7 70.3 0 49.6-35.9 65.3-80 65.3zm575.8-89.5c0-105.5-61.7-193.4-173.3-193.4-108.5 0-182.3 81.7-182.3 188.8 0 111 69.9 187.2 182.3 187.2 85.1 0 140.2-38.3 166.7-120h-86.3c-9.4 30.5-47.6 46.5-77.3 46.5-57.4 0-87.4-33.6-87.4-90.7h256.9c.3-5.9.7-12.1.7-18.4zM653.9 537c3.1-46.9 34.4-76.2 81.2-76.2 49.2 0 73.8 28.9 78.1 76.2H653.9z")),t.BlockOutline=u("block",a,l(i,"M856 376H648V168c0-8.8-7.2-16-16-16H168c-8.8 0-16 7.2-16 16v464c0 8.8 7.2 16 16 16h208v208c0 8.8 7.2 16 16 16h464c8.8 0 16-7.2 16-16V392c0-8.8-7.2-16-16-16zm-480 16v188H220V220h360v156H392c-8.8 0-16 7.2-16 16zm204 52v136H444V444h136zm224 360H444V648h188c8.8 0 16-7.2 16-16V444h156v360z")),t.BoldOutline=u("bold",a,l(i,"M697.8 481.4c33.6-35 54.2-82.3 54.2-134.3v-10.2C752 229.3 663.9 142 555.3 142H259.4c-15.1 0-27.4 12.3-27.4 27.4v679.1c0 16.3 13.2 29.5 29.5 29.5h318.7c117 0 211.8-94.2 211.8-210.5v-11c0-73-37.4-137.3-94.2-175.1zM328 238h224.7c57.1 0 103.3 44.4 103.3 99.3v9.5c0 54.8-46.3 99.3-103.3 99.3H328V238zm366.6 429.4c0 62.9-51.7 113.9-115.5 113.9H328V542.7h251.1c63.8 0 115.5 51 115.5 113.9v10.8z")),t.BorderBottomOutline=u("border-bottom",a,l(i,"M872 808H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-720-94h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-498h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm166 166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm222-72h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388 426h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z")),t.BorderLeftOutline=u("border-left",a,l(i,"M208 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM540 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.BorderOuterOutline=u("border-outer",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z")),t.BorderInnerOutline=u("border-inner",a,l(i,"M872 476H548V144h-72v332H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v332h72V548h324c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-426h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 260h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.BorderRightOutline=u("border-right",a,l(i,"M872 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.BorderHorizontalOutline=u("border-horizontal",a,l(i,"M540 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.BorderTopOutline=u("border-top",a,l(i,"M872 144H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332-498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.BorderVerticleOutline=u("border-verticle",a,l(i,"M872 476H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM152 382h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 642h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.BorderOutline=u("border",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z")),t.BranchesOutline=u("branches",a,l(i,"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0 0 34.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0 1 96 0 48.01 48.01 0 0 1-96 0zm96 600a48.01 48.01 0 0 1-96 0 48.01 48.01 0 0 1 96 0zm408-491a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z")),t.CheckOutline=u("check",a,l(i,"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z")),t.CiOutline=u("ci",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z")),t.CloseOutline=u("close",a,l(i,"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z")),t.CloudDownloadOutline=u("cloud-download",a,l(i,"M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z","M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z")),t.CloudServerOutline=u("cloud-server",a,l(i,"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z","M424 748a32 32 0 1 0 64 0 32 32 0 1 0-64 0zm0-178a32 32 0 1 0 64 0 32 32 0 1 0-64 0z","M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z")),t.CloudSyncOutline=u("cloud-sync",a,l(i,"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z","M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 0 0 3 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 0 0-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z")),t.CloudUploadOutline=u("cloud-upload",a,l(i,"M518.3 459a8 8 0 0 0-12.6 0l-112 141.7a7.98 7.98 0 0 0 6.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z","M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z")),t.ClusterOutline=u("cluster",a,l(i,"M888 680h-54V540H546v-92h238c8.8 0 16-7.2 16-16V168c0-8.8-7.2-16-16-16H240c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h238v92H190v140h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8zM256 805.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zm288 0c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM288 384V216h448v168H288zm544 421.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM360 300a40 40 0 1 0 80 0 40 40 0 1 0-80 0z")),t.CodepenOutline=u("codepen",a,l(i,"M911.7 385.3l-.3-1.5c-.2-1-.3-1.9-.6-2.9-.2-.6-.4-1.1-.5-1.7-.3-.8-.5-1.7-.9-2.5-.2-.6-.5-1.1-.8-1.7-.4-.8-.8-1.5-1.2-2.3-.3-.5-.6-1.1-1-1.6-.8-1.2-1.7-2.4-2.6-3.6-.5-.6-1.1-1.3-1.7-1.9-.4-.5-.9-.9-1.4-1.3-.6-.6-1.3-1.1-1.9-1.6-.5-.4-1-.8-1.6-1.2-.2-.1-.4-.3-.6-.4L531.1 117.8a34.3 34.3 0 0 0-38.1 0L127.3 361.3c-.2.1-.4.3-.6.4-.5.4-1 .8-1.6 1.2-.7.5-1.3 1.1-1.9 1.6-.5.4-.9.9-1.4 1.3-.6.6-1.2 1.2-1.7 1.9-1 1.1-1.8 2.3-2.6 3.6-.3.5-.7 1-1 1.6-.4.7-.8 1.5-1.2 2.3-.3.5-.5 1.1-.8 1.7-.3.8-.6 1.7-.9 2.5-.2.6-.4 1.1-.5 1.7-.2.9-.4 1.9-.6 2.9l-.3 1.5c-.2 1.5-.3 3-.3 4.5v243.5c0 1.5.1 3 .3 4.5l.3 1.5.6 2.9c.2.6.3 1.1.5 1.7.3.9.6 1.7.9 2.5.2.6.5 1.1.8 1.7.4.8.7 1.5 1.2 2.3.3.5.6 1.1 1 1.6.5.7.9 1.4 1.5 2.1l1.2 1.5c.5.6 1.1 1.3 1.7 1.9.4.5.9.9 1.4 1.3.6.6 1.3 1.1 1.9 1.6.5.4 1 .8 1.6 1.2.2.1.4.3.6.4L493 905.7c5.6 3.8 12.3 5.8 19.1 5.8 6.6 0 13.3-1.9 19.1-5.8l365.6-243.5c.2-.1.4-.3.6-.4.5-.4 1-.8 1.6-1.2.7-.5 1.3-1.1 1.9-1.6.5-.4.9-.9 1.4-1.3.6-.6 1.2-1.2 1.7-1.9l1.2-1.5 1.5-2.1c.3-.5.7-1 1-1.6.4-.8.8-1.5 1.2-2.3.3-.5.5-1.1.8-1.7.3-.8.6-1.7.9-2.5.2-.5.4-1.1.5-1.7.3-.9.4-1.9.6-2.9l.3-1.5c.2-1.5.3-3 .3-4.5V389.8c-.3-1.5-.4-3-.6-4.5zM546.4 210.5l269.4 179.4-120.3 80.4-149-99.6V210.5zm-68.8 0v160.2l-149 99.6-120.3-80.4 269.3-179.4zM180.7 454.1l86 57.5-86 57.5v-115zm296.9 358.5L208.3 633.2l120.3-80.4 149 99.6v160.2zM512 592.8l-121.6-81.2L512 430.3l121.6 81.2L512 592.8zm34.4 219.8V652.4l149-99.6 120.3 80.4-269.3 179.4zM843.3 569l-86-57.5 86-57.5v115z")),t.CodeSandboxOutline=u("code-sandbox",a,l(i,"M709.6 210l.4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6L339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z")),t.ColumHeightOutline=u("colum-height",a,l(i,"M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 0 0-11.3 0L403.6 366.3a7.23 7.23 0 0 0 5.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z")),t.ColumnWidthOutline=u("column-width",a,l(i,"M180 176h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zm724 0h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zM785.3 504.3L657.7 403.6a7.23 7.23 0 0 0-11.7 5.7V476H378v-62.8c0-6-7-9.4-11.7-5.7L238.7 508.3a7.14 7.14 0 0 0 0 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h268v62.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.8-2.9 3.8-8.5.2-11.4z")),t.ColumnHeightOutline=u("column-height",a,l(i,"M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 0 0-11.3 0L403.6 366.3a7.23 7.23 0 0 0 5.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z")),t.CoffeeOutline=u("coffee",a,l(r,"M275 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm613 144H768c0-39.8-32.2-72-72-72H200c-39.8 0-72 32.2-72 72v248c0 3.4.2 6.7.7 9.9-.5 7-.7 14-.7 21.1 0 176.7 143.3 320 320 320 160.1 0 292.7-117.5 316.3-271H888c39.8 0 72-32.2 72-72V497c0-39.8-32.2-72-72-72zM696 681h-1.1c.7 7.6 1.1 15.2 1.1 23 0 137-111 248-248 248S200 841 200 704c0-7.8.4-15.4 1.1-23H200V425h496v256zm192-8H776V497h112v176zM613 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm-170 0c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36z")),t.CopyrightOutline=u("copyright",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z")),t.DashOutline=u("dash",a,l(i,"M112 476h160v72H112zm320 0h160v72H432zm320 0h160v72H752z")),t.DeploymentUnitOutline=u("deployment-unit",a,l(i,"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 0 1-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0 1 65.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0 1 96 0 48.01 48.01 0 0 1-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z")),t.DesktopOutline=u("desktop",a,l(i,"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z")),t.DingdingOutline=u("dingding",a,l(i,"M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z")),t.DisconnectOutline=u("disconnect",a,l(i,"M832.6 191.4c-84.6-84.6-221.5-84.6-306 0l-96.9 96.9 51 51 96.9-96.9c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204l-96.9 96.9 51.1 51.1 96.9-96.9c84.4-84.6 84.4-221.5-.1-306.1zM446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l96.9-96.9-51.1-51.1-96.9 96.9c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l96.9-96.9-51-51-96.8 97zM260.3 209.4a8.03 8.03 0 0 0-11.3 0L209.4 249a8.03 8.03 0 0 0 0 11.3l554.4 554.4c3.1 3.1 8.2 3.1 11.3 0l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3L260.3 209.4z")),t.DollarOutline=u("dollar",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z")),t.DoubleRightOutline=u("double-right",a,l(i,"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 0 0 188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 0 0 492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z")),t.DotChartOutline=u("dot-chart",a,l(i,"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm118-224a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm158 228a96 96 0 1 0 192 0 96 96 0 1 0-192 0zm148-314a56 56 0 1 0 112 0 56 56 0 1 0-112 0z")),t.DoubleLeftOutline=u("double-left",a,l(i,"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 0 0 0 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 0 0 0 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z")),t.DownloadOutline=u("download",a,l(i,"M505.7 661a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z")),t.DribbbleOutline=u("dribbble",a,l(i,"M512 96C282.6 96 96 282.6 96 512s186.6 416 416 416 416-186.6 416-416S741.4 96 512 96zm275.1 191.8c49.5 60.5 79.5 137.5 80.2 221.4-11.7-2.5-129.2-26.3-247.4-11.4-2.5-6.1-5-12.2-7.6-18.3-7.4-17.3-15.3-34.6-23.6-51.5C720 374.3 779.6 298 787.1 287.8zM512 157.2c90.3 0 172.8 33.9 235.5 89.5-6.4 9.1-59.9 81-186.2 128.4-58.2-107-122.7-194.8-132.6-208 27.3-6.6 55.2-9.9 83.3-9.9zM360.9 191c9.4 12.8 72.9 100.9 131.7 205.5C326.4 440.6 180 440 164.1 439.8c23.1-110.3 97.4-201.9 196.8-248.8zM156.7 512.5c0-3.6.1-7.3.2-10.9 15.5.3 187.7 2.5 365.2-50.6 10.2 19.9 19.9 40.1 28.8 60.3-4.7 1.3-9.4 2.7-14 4.2C353.6 574.9 256.1 736.4 248 750.1c-56.7-63-91.3-146.3-91.3-237.6zM512 867.8c-82.2 0-157.9-28-218.1-75 6.4-13.1 78.3-152 278.7-221.9l2.3-.8c49.9 129.6 70.5 238.3 75.8 269.5A350.46 350.46 0 0 1 512 867.8zm198.5-60.7c-3.6-21.6-22.5-125.6-69-253.3C752.9 536 850.7 565.2 862.8 569c-15.8 98.8-72.5 184.2-152.3 238.1z")),t.DropboxOutline=u("dropbox",a,l(i,"M64 556.9l264.2 173.5L512.5 577 246.8 412.7zm896-290.3zm0 0L696.8 95 512.5 248.5l265.2 164.2L512.5 577l184.3 153.4L960 558.8 777.7 412.7zM513 609.8L328.2 763.3l-79.4-51.5v57.8L513 928l263.7-158.4v-57.8l-78.9 51.5zM328.2 95L64 265.1l182.8 147.6 265.7-164.2zM64 556.9z")),t.EllipsisOutline=u("ellipsis",a,l(i,"M176 511a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0z")),t.EnterOutline=u("enter",a,l(i,"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 0 0 0 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z")),t.EuroOutline=u("euro",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 0 0 9.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z")),t.ExceptionOutline=u("exception",a,l(i,"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM640 812a32 32 0 1 0 64 0 32 32 0 1 0-64 0zm12-64h40c4.4 0 8-3.6 8-8V628c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.ExclamationOutline=u("exclamation",a,l(i,"M448 804a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm32-168h64c4.4 0 8-3.6 8-8V164c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z")),t.ExportOutline=u("export",a,l(i,"M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zm18.6-251.7L765 393.7c-5.3-4.2-13-.4-13 6.3v76H438c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 0 0 0-12.6z")),t.FallOutline=u("fall",a,l(i,"M925.9 804l-24-199.2c-.8-6.6-8.9-9.4-13.6-4.7L829 659.5 557.7 388.3c-6.3-6.2-16.4-6.2-22.6 0L433.3 490 156.6 213.3a8.03 8.03 0 0 0-11.3 0l-45 45.2a8.03 8.03 0 0 0 0 11.3L422 591.7c6.2 6.3 16.4 6.3 22.6 0L546.4 490l226.1 226-59.3 59.3a8.01 8.01 0 0 0 4.7 13.6l199.2 24c5.1.7 9.5-3.7 8.8-8.9z")),t.FileDoneOutline=u("file-done",a,l(i,"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9a7.92 7.92 0 0 0-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3.1-12.7-6.4-12.7zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.FileSyncOutline=u("file-sync",a,l(i,"M296 256c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm192 200v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8zm-48 396H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm104.1-115.6c1.8-34.5 16.2-66.8 40.8-91.4 26.2-26.2 62-41 99.1-41 37.4 0 72.6 14.6 99.1 41 3.2 3.2 6.3 6.6 9.2 10.1L769.2 673a8 8 0 0 0 3 14.1l93.3 22.5c5 1.2 9.8-2.6 9.9-7.7l.6-95.4a8 8 0 0 0-12.9-6.4l-20.3 15.8C805.4 569.6 748.1 540 684 540c-109.9 0-199.6 86.9-204 195.7-.2 4.5 3.5 8.3 8 8.3h48.1c4.3 0 7.8-3.3 8-7.6zM880 744h-48.1c-4.3 0-7.8 3.3-8 7.6-1.8 34.5-16.2 66.8-40.8 91.4-26.2 26.2-62 41-99.1 41-37.4 0-72.6-14.6-99.1-41-3.2-3.2-6.3-6.6-9.2-10.1l23.1-17.9a8 8 0 0 0-3-14.1l-93.3-22.5c-5-1.2-9.8 2.6-9.9 7.7l-.6 95.4a8 8 0 0 0 12.9 6.4l20.3-15.8C562.6 918.4 619.9 948 684 948c109.9 0 199.6-86.9 204-195.7.2-4.5-3.5-8.3-8-8.3z")),t.FileProtectOutline=u("file-protect",a,l(i,"M644.7 669.2a7.92 7.92 0 0 0-6.5-3.3H594c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.8-5.3 0-12.7-6.5-12.7h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-22.9-31.9zM688 306v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 458H208V148h560v296c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h312c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm402.6-320.8l-192-66.7c-.9-.3-1.7-.4-2.6-.4s-1.8.1-2.6.4l-192 66.7a7.96 7.96 0 0 0-5.4 7.5v251.1c0 2.5 1.1 4.8 3.1 6.3l192 150.2c1.4 1.1 3.2 1.7 4.9 1.7s3.5-.6 4.9-1.7l192-150.2c1.9-1.5 3.1-3.8 3.1-6.3V538.7c0-3.4-2.2-6.4-5.4-7.5zM826 763.7L688 871.6 550 763.7V577l138-48 138 48v186.7z")),t.FileSearchOutline=u("file-search",a,l(i,"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 0 0 0-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z")),t.FileJpgOutline=u("file-jpg",a,l(r,"M874.6 301.8L596.8 21.3c-4.5-4.5-9.4-8.3-14.7-11.5-1.4-.8-2.8-1.6-4.3-2.3-.9-.5-1.9-.9-2.8-1.3-9-4-18.9-6.2-29-6.2H201c-39.8 0-73 32.2-73 72v880c0 39.8 33.2 72 73 72h623c39.8 0 71-32.2 71-72V352.5c0-19-7-37.2-20.4-50.7zM583 110.4L783.8 312H583V110.4zM823 952H200V72h311v240c0 39.8 33.2 72 73 72h239v568zM350 696.5c0 24.2-7.5 31.4-21.9 31.4-9 0-18.4-5.8-24.8-18.5L272.9 732c13.4 22.9 32.3 34.2 61.3 34.2 41.6 0 60.8-29.9 60.8-66.2V577h-45v119.5zM501.3 577H437v186h44v-62h21.6c39.1 0 73.1-19.6 73.1-63.6 0-45.8-33.5-60.4-74.4-60.4zm-.8 89H481v-53h18.2c21.5 0 33.4 6.2 33.4 24.9 0 18.1-10.5 28.1-32.1 28.1zm182.5-9v36h30v30.1c-4 2.9-11 4.7-17.7 4.7-34.3 0-50.7-21.4-50.7-58.2 0-36.1 19.7-57.4 47.1-57.4 15.3 0 25 6.2 34 14.4l23.7-28.3c-12.7-12.8-32.1-24.2-59.2-24.2-49.6 0-91.1 35.3-91.1 97 0 62.7 40 95.1 91.5 95.1 25.9 0 49.2-10.2 61.5-22.6V657H683z")),t.FontColorsOutline=u("font-colors",a,l(i,"M904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-650.3-80h85c4.2 0 8-2.7 9.3-6.8l53.7-166h219.2l53.2 166c1.3 4 5 6.8 9.3 6.8h89.1c1.1 0 2.2-.2 3.2-.5a9.7 9.7 0 0 0 6-12.4L573.6 118.6a9.9 9.9 0 0 0-9.2-6.6H462.1c-4.2 0-7.9 2.6-9.2 6.6L244.5 723.1c-.4 1-.5 2.1-.5 3.2-.1 5.3 4.3 9.7 9.7 9.7zm255.9-516.1h4.1l83.8 263.8H424.9l84.7-263.8z")),t.FontSizeOutline=u("font-size",a,l(i,"M920 416H616c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-56h60v320h-46c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h164c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-46V480h60v56c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V424c0-4.4-3.6-8-8-8zM656 296V168c0-4.4-3.6-8-8-8H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8z")),t.ForkOutline=u("fork",a,l(i,"M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0 1 96 0 48.01 48.01 0 0 1-96 0zm336 600a48.01 48.01 0 0 1-96 0 48.01 48.01 0 0 1 96 0zm192-552a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z")),t.FormOutline=u("form",a,l(i,"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z","M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 0 0-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z")),t.FullscreenExitOutline=u("fullscreen-exit",a,l(i,"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z")),t.FullscreenOutline=u("fullscreen",a,l(i,"M290 236.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z")),t.GatewayOutline=u("gateway",a,l(i,"M928 392c8.8 0 16-7.2 16-16V192c0-8.8-7.2-16-16-16H744c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h56v240H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16V648c0-8.8-7.2-16-16-16h-56V392h56zM792 240h88v88h-88v-88zm-648 88v-88h88v88h-88zm88 456h-88v-88h88v88zm648-88v88h-88v-88h88zm-80-64h-56c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16h-56V392h56c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h56v240z")),t.DownOutline=u("down",a,l(i,"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z")),t.DragOutline=u("drag",a,l(i,"M909.3 506.3L781.7 405.6a7.23 7.23 0 0 0-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 0 0-11.3 0L405.6 242.3a7.23 7.23 0 0 0 5.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 0 0 0 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 0 0 .1-11.4z")),t.GlobalOutline=u("global",a,l(i,"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0 0 10-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 0 0 3.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 0 0-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 0 1 887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 0 1-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 0 1 115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 0 1 540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 0 0 540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 0 1-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 0 0-81.5 55.9A373.86 373.86 0 0 1 137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 0 1-107.6 69.2z")),t.GooglePlusOutline=u("google-plus",a,l(i,"M879.5 470.4c-.3-27-.4-54.2-.5-81.3h-80.8c-.3 27-.5 54.1-.7 81.3-27.2.1-54.2.3-81.2.6v80.9c27 .3 54.2.5 81.2.8.3 27 .3 54.1.5 81.1h80.9c.1-27 .3-54.1.5-81.3 27.2-.3 54.2-.4 81.2-.7v-80.9c-26.9-.2-54.1-.2-81.1-.5zm-530 .4c-.1 32.3 0 64.7.1 97 54.2 1.8 108.5 1 162.7 1.8-23.9 120.3-187.4 159.3-273.9 80.7-89-68.9-84.8-220 7.7-284 64.7-51.6 156.6-38.9 221.3 5.8 25.4-23.5 49.2-48.7 72.1-74.7-53.8-42.9-119.8-73.5-190-70.3-146.6-4.9-281.3 123.5-283.7 270.2-9.4 119.9 69.4 237.4 180.6 279.8 110.8 42.7 252.9 13.6 323.7-86 46.7-62.9 56.8-143.9 51.3-220-90.7-.7-181.3-.6-271.9-.3z")),t.GoogleOutline=u("google",a,l(i,"M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z")),t.HeatMapOutline=u("heat-map",a,l(i,"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-790.4-23.9L512 231.9 858.7 832H165.3zm319-474.1l-228 394c-12.3 21.3 3.1 48 27.7 48h455.8c24.7 0 40.1-26.7 27.7-48L539.7 358c-6.2-10.7-17-16-27.7-16-10.8 0-21.6 5.3-27.7 16zm214 386H325.7L512 422l186.3 322zm-214-194.1l-57 98.4C415 669.5 430.4 696 455 696h114c24.6 0 39.9-26.5 27.7-47.7l-57-98.4c-6.1-10.6-16.9-15.9-27.7-15.9s-21.5 5.3-27.7 15.9zm57.1 98.4h-58.7l29.4-50.7 29.3 50.7z")),t.GoldOutline=u("gold",a,l(i,"M342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128zm2.5 282.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5z")),t.HistoryOutline=u("history",a,l(i,"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 0 0 3 14.1zm167.7 301.1l-56.7-19.5a8 8 0 0 0-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 0 1-112.5 75.9 352.18 352.18 0 0 1-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 0 1-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 0 1 171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 0 1 112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 0 1 775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z")),t.IeOutline=u("ie",a,l(i,"M852.6 367.6c16.3-36.9 32.1-90.7 32.1-131.8 0-109.1-119.5-147.6-314.5-57.9-161.4-10.8-316.8 110.5-355.6 279.7 46.3-52.3 117.4-123.4 183-151.7C316.1 378.3 246.7 470 194 565.6c-31.1 56.9-66 148.8-66 217.5 0 147.9 139.3 129.8 270.4 63 47.1 23.1 99.8 23.4 152.5 23.4 145.7 0 276.4-81.4 325.2-219H694.9c-78.8 132.9-295.2 79.5-295.2-71.2h493.2c9.6-65.4-2.5-143.6-40.3-211.7zM224.8 648.3c26.6 76.7 80.6 143.8 150.4 185-133.1 73.4-259.9 43.6-150.4-185zm174-163.3c3-82.7 75.4-142.3 156-142.3 80.1 0 153 59.6 156 142.3h-312zm276.8-281.4c32.1-15.4 72.8-33 108.8-33 47.1 0 81.4 32.6 81.4 80.6 0 30-11.1 73.5-21.9 101.8-39.3-63.5-98.9-122.4-168.3-149.4z")),t.InboxOutline=u("inbox",a,l(r,"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0 0 60.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z")),t.ImportOutline=u("import",a,l(i,"M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 0 0 0 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.InfoOutline=u("info",a,l(i,"M448 224a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm96 168h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V400c0-4.4-3.6-8-8-8z")),t.ItalicOutline=u("italic",a,l(i,"M798 160H366c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h181.2l-156 544H229c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8H474.4l156-544H798c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z")),t.IssuesCloseOutline=u("issues-close",a,l(i,"M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72-112c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48zm400-188h-59.3c-2.6 0-5 1.2-6.5 3.3L763.7 538.1l-49.9-68.8a7.92 7.92 0 0 0-6.5-3.3H648c-6.5 0-10.3 7.4-6.5 12.7l109.2 150.7a16.1 16.1 0 0 0 26 0l165.8-228.7c3.8-5.3 0-12.7-6.5-12.7zm-44 306h-64.2c-5.5 0-10.6 2.9-13.6 7.5a352.2 352.2 0 0 1-49.8 62.2A355.92 355.92 0 0 1 651.1 840a355 355 0 0 1-138.7 27.9c-48.1 0-94.8-9.4-138.7-27.9a355.92 355.92 0 0 1-113.3-76.3A353.06 353.06 0 0 1 184 650.5c-18.6-43.8-28-90.5-28-138.5s9.4-94.7 28-138.5c17.9-42.4 43.6-80.5 76.4-113.2 32.8-32.7 70.9-58.4 113.3-76.3a355 355 0 0 1 138.7-27.9c48.1 0 94.8 9.4 138.7 27.9 42.4 17.9 80.5 43.6 113.3 76.3 19 19 35.6 39.8 49.8 62.2 2.9 4.7 8.1 7.5 13.6 7.5H892c6 0 9.8-6.3 7.2-11.6C828.8 178.5 684.7 82 517.7 80 278.9 77.2 80.5 272.5 80 511.2 79.5 750.1 273.3 944 512.4 944c169.2 0 315.6-97 386.7-238.4A8 8 0 0 0 892 694z")),t.KeyOutline=u("key",a,l(i,"M608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5l-41.1 41.1-62.3-62.3a8.15 8.15 0 0 0-11.4 0l-39.8 39.8a8.15 8.15 0 0 0 0 11.4l62.3 62.3-44.9 44.9-62.3-62.3a8.15 8.15 0 0 0-11.4 0l-39.8 39.8a8.15 8.15 0 0 0 0 11.4l62.3 62.3-65.3 65.3a8.03 8.03 0 0 0 0 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6A304.06 304.06 0 0 0 608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644c-60.9 0-118.2-23.7-161.2-66.8-43.1-43-66.8-100.3-66.8-161.2 0-60.9 23.7-118.2 66.8-161.2 43-43.1 100.3-66.8 161.2-66.8 60.9 0 118.2 23.7 161.2 66.8 43.1 43 66.8 100.3 66.8 161.2 0 60.9-23.7 118.2-66.8 161.2z")),t.LaptopOutline=u("laptop",a,l(i,"M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z")),t.LeftOutline=u("left",a,l(i,"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z")),t.LinkOutline=u("link",a,l(i,"M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z")),t.LineChartOutline=u("line-chart",a,l(i,"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 0 0-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 0 0-11.3 0L266.3 586.7a8.03 8.03 0 0 0 0 11.3l39.5 39.7z")),t.LineHeightOutline=u("line-height",a,l(i,"M648 160H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm272.8 546H856V318h64.8c6 0 9.4-7 5.7-11.7L825.7 178.7a7.14 7.14 0 0 0-11.3 0L713.6 306.3a7.23 7.23 0 0 0 5.7 11.7H784v388h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5a7.2 7.2 0 0 0-5.6-11.7z")),t.LineOutline=u("line",a,l(i,"M904 476H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.Loading3QuartersOutline=u("loading-3-quarters",a,l(r,"M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874c-47-47-84-101.7-109.8-162.7C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3 22.2 52.4 53.9 99.5 94.3 139.9 40.4 40.4 87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952c59.4 0 117-11.6 171.3-34.6 52.4-22.2 99.5-53.9 139.9-94.3 40.4-40.4 72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512c0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.2C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874c-47 47-101.8 83.9-162.7 109.7-63.1 26.8-130.2 40.3-199.3 40.3z")),t.LoadingOutline=u("loading",a,l(r,"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z")),t.LoginOutline=u("login",a,l(i,"M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 0 1 520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 0 1 270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 0 1 0 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z")),t.LogoutOutline=u("logout",a,l(i,"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 0 1-112.7 75.9A352.8 352.8 0 0 1 512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 0 1-112.7-75.9 353.28 353.28 0 0 1-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 0 0 0-12.6z")),t.ManOutline=u("man",a,l(i,"M874 120H622c-3.3 0-6 2.7-6 6v56c0 3.3 2.7 6 6 6h160.4L583.1 387.3c-50-38.5-111-59.3-175.1-59.3-76.9 0-149.3 30-203.6 84.4S120 539.1 120 616s30 149.3 84.4 203.6C258.7 874 331.1 904 408 904s149.3-30 203.6-84.4C666 765.3 696 692.9 696 616c0-64.1-20.8-124.9-59.2-174.9L836 241.9V402c0 3.3 2.7 6 6 6h56c3.3 0 6-2.7 6-6V150c0-16.5-13.5-30-30-30zM408 828c-116.9 0-212-95.1-212-212s95.1-212 212-212 212 95.1 212 212-95.1 212-212 212z")),t.MediumOutline=u("medium",a,l(i,"M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 0 1-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 0 1 6.8-17.2z")),t.MediumWorkmarkOutline=u("medium-workmark",a,l(r,"M517.2 590.55c0 3.55 0 4.36 2.4 6.55l13.43 13.25v.57h-59.57v-25.47a41.44 41.44 0 0 1-39.5 27.65c-30.61 0-52.84-24.25-52.84-68.87 0-41.8 23.99-69.69 57.65-69.69a35.15 35.15 0 0 1 34.61 21.67v-56.19a6.99 6.99 0 0 0-2.71-6.79l-12.8-12.45v-.56l59.33-7.04v177.37zm-43.74-8.09v-83.83a22.2 22.2 0 0 0-17.74-8.4c-14.48 0-28.47 13.25-28.47 52.62 0 36.86 12.07 49.88 27.1 49.88a23.91 23.91 0 0 0 19.11-10.27zm83.23 28.46V497.74a7.65 7.65 0 0 0-2.4-6.79l-13.19-13.74v-.57h59.56v114.8c0 3.55 0 4.36 2.4 6.54l13.12 12.45v.57l-59.49-.08zm-2.16-175.67c0-13.4 10.74-24.25 23.99-24.25 13.25 0 23.98 10.86 23.98 24.25 0 13.4-10.73 24.25-23.98 24.25s-23.99-10.85-23.99-24.25zm206.83 155.06c0 3.55 0 4.6 2.4 6.79l13.43 13.25v.57h-59.88V581.9a43.4 43.4 0 0 1-41.01 31.2c-26.55 0-40.78-19.56-40.78-56.59 0-17.86 0-37.43.56-59.41a6.91 6.91 0 0 0-2.4-6.55L620.5 477.2v-.57h59.09v73.81c0 24.25 3.51 40.42 18.54 40.42a23.96 23.96 0 0 0 19.35-12.2v-80.85a7.65 7.65 0 0 0-2.4-6.79l-13.27-13.82v-.57h59.56V590.3zm202.76 20.6c0-4.36.8-59.97.8-72.75 0-24.25-3.76-40.98-20.63-40.98a26.7 26.7 0 0 0-21.19 11.64 99.68 99.68 0 0 1 2.4 23.04c0 16.81-.56 38.23-.8 59.66a6.91 6.91 0 0 0 2.4 6.55l13.43 12.45v.56h-60.12c0-4.04.8-59.98.8-72.76 0-24.65-3.76-40.98-20.39-40.98-8.2.3-15.68 4.8-19.83 11.96v82.46c0 3.56 0 4.37 2.4 6.55l13.11 12.45v.56h-59.48V498.15a7.65 7.65 0 0 0-2.4-6.8l-13.19-14.14v-.57H841v28.78c5.53-19 23.13-31.76 42.7-30.96 19.82 0 33.26 11.16 38.93 32.34a46.41 46.41 0 0 1 44.77-32.34c26.55 0 41.58 19.8 41.58 57.23 0 17.87-.56 38.24-.8 59.66a6.5 6.5 0 0 0 2.72 6.55l13.11 12.45v.57h-59.88zM215.87 593.3l17.66 17.05v.57h-89.62v-.57l17.99-17.05a6.91 6.91 0 0 0 2.4-6.55V477.69c0-4.6 0-10.83.8-16.16L104.66 613.1h-.72l-62.6-139.45c-1.37-3.47-1.77-3.72-2.65-6.06v91.43a32.08 32.08 0 0 0 2.96 17.87l25.19 33.46v.57H0v-.57l25.18-33.55a32.16 32.16 0 0 0 2.96-17.78V457.97A19.71 19.71 0 0 0 24 444.15L6.16 420.78v-.56h63.96l53.56 118.1 47.17-118.1h62.6v.56l-17.58 19.8a6.99 6.99 0 0 0-2.72 6.8v139.37a6.5 6.5 0 0 0 2.72 6.55zm70.11-54.65v.56c0 34.6 17.67 48.5 38.38 48.5a43.5 43.5 0 0 0 40.77-24.97h.56c-7.2 34.2-28.14 50.36-59.48 50.36-33.82 0-65.72-20.61-65.72-68.39 0-50.2 31.98-70.25 67.32-70.25 28.46 0 58.76 13.58 58.76 57.24v6.95h-80.59zm0-6.95h39.42v-7.04c0-35.57-7.28-45.03-18.23-45.03-13.27 0-21.35 14.15-21.35 52.07h.16z")),t.MenuUnfoldOutline=u("menu-unfold",a,l(i,"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z")),t.MenuFoldOutline=u("menu-fold",a,l(i,"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8z")),t.MenuOutline=u("menu",a,l(i,"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z")),t.MinusOutline=u("minus",a,l(i,"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z")),t.MonitorOutline=u("monitor",a,l(i,"M692.8 412.7l.2-.2-34.6-44.3a7.97 7.97 0 0 0-11.2-1.4l-50.4 39.3-70.5-90.1a7.97 7.97 0 0 0-11.2-1.4l-37.9 29.7a7.97 7.97 0 0 0-1.4 11.2l70.5 90.2-.2.1 34.6 44.3c2.7 3.5 7.7 4.1 11.2 1.4l50.4-39.3 64.1 82c2.7 3.5 7.7 4.1 11.2 1.4l37.9-29.6c3.5-2.7 4.1-7.7 1.4-11.2l-64.1-82.1zM608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L114.3 856.1a8.03 8.03 0 0 0 0 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6C473 696.1 537.7 720 608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2z")),t.MoreOutline=u("more",a,l(i,"M456 231a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm0 280a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm0 280a56 56 0 1 0 112 0 56 56 0 1 0-112 0z")),t.OrderedListOutline=u("ordered-list",a,l(i,"M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 0 0-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 0 0 2.1-5.4V432c0-2.2-1.8-4-4-4z")),t.NumberOutline=u("number",a,l(i,"M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z")),t.PauseOutline=u("pause",a,l(i,"M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z")),t.PercentageOutline=u("percentage",a,l(i,"M855.7 210.8l-42.4-42.4a8.03 8.03 0 0 0-11.3 0L168.3 801.9a8.03 8.03 0 0 0 0 11.3l42.4 42.4c3.1 3.1 8.2 3.1 11.3 0L855.6 222c3.2-3 3.2-8.1.1-11.2zM304 448c79.4 0 144-64.6 144-144s-64.6-144-144-144-144 64.6-144 144 64.6 144 144 144zm0-216c39.7 0 72 32.3 72 72s-32.3 72-72 72-72-32.3-72-72 32.3-72 72-72zm416 344c-79.4 0-144 64.6-144 144s64.6 144 144 144 144-64.6 144-144-64.6-144-144-144zm0 216c-39.7 0-72-32.3-72-72s32.3-72 72-72 72 32.3 72 72-32.3 72-72 72z")),t.PaperClipOutline=u("paper-clip",a,l(i,"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0 0 12.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0 0 12.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 0 0 174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z")),t.PicCenterOutline=u("pic-center",a,l(i,"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM848 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h672zM232 436h560v152H232V436z")),t.PicLeftOutline=u("pic-left",a,l(i,"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM608 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM152 436h400v152H152V436zm552 210c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z")),t.PlusOutline=u("plus",a,l(i,"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z","M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z")),t.PicRightOutline=u("pic-right",a,l(i,"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-24 500c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H416c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM472 436h400v152H472V436zM80 646c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z")),t.PoundOutline=u("pound",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z")),t.PoweroffOutline=u("poweroff",a,l(i,"M705.6 124.9a8 8 0 0 0-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0 1 62.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0 1 27.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 0 1-76.3 113.3 353.06 353.06 0 0 1-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 0 1-113.2-76.4A355.92 355.92 0 0 1 184 650.4a355 355 0 0 1-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z")),t.PullRequestOutline=u("pull-request",a,l(i,"M788 705.9V192c0-8.8-7.2-16-16-16H602v-68.8c0-6-7-9.4-11.7-5.7L462.7 202.3a7.14 7.14 0 0 0 0 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V240h114v465.9c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c.1-49.2-31.7-91-75.9-106.1zM752 860a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96zM384 212c0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1V318.1c44.2-15.1 76-56.9 76-106.1zm-160 0a48.01 48.01 0 0 1 96 0 48.01 48.01 0 0 1-96 0zm96 600a48.01 48.01 0 0 1-96 0 48.01 48.01 0 0 1 96 0z")),t.QqOutline=u("qq",a,l(i,"M824.8 613.2c-16-51.4-34.4-94.6-62.7-165.3C766.5 262.2 689.3 112 511.5 112 331.7 112 256.2 265.2 261 447.9c-28.4 70.8-46.7 113.7-62.7 165.3-34 109.5-23 154.8-14.6 155.8 18 2.2 70.1-82.4 70.1-82.4 0 49 25.2 112.9 79.8 159-26.4 8.1-85.7 29.9-71.6 53.8 11.4 19.3 196.2 12.3 249.5 6.3 53.3 6 238.1 13 249.5-6.3 14.1-23.8-45.3-45.7-71.6-53.8 54.6-46.2 79.8-110.1 79.8-159 0 0 52.1 84.6 70.1 82.4 8.5-1.1 19.5-46.4-14.5-155.8z")),t.QuestionOutline=u("question",a,l(i,"M764 280.9c-14-30.6-33.9-58.1-59.3-81.6C653.1 151.4 584.6 125 512 125s-141.1 26.4-192.7 74.2c-25.4 23.6-45.3 51-59.3 81.7-14.6 32-22 65.9-22 100.9v27c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-27c0-99.5 88.6-180.4 197.6-180.4s197.6 80.9 197.6 180.4c0 40.8-14.5 79.2-42 111.2-27.2 31.7-65.6 54.4-108.1 64-24.3 5.5-46.2 19.2-61.7 38.8a110.85 110.85 0 0 0-23.9 68.6v31.4c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-31.4c0-15.7 10.9-29.5 26-32.9 58.4-13.2 111.4-44.7 149.3-88.7 19.1-22.3 34-47.1 44.3-74 10.7-27.9 16.1-57.2 16.1-87 0-35-7.4-69-22-100.9zM512 787c-30.9 0-56 25.1-56 56s25.1 56 56 56 56-25.1 56-56-25.1-56-56-56z")),t.RadarChartOutline=u("radar-chart",a,l(i,"M926.8 397.1l-396-288a31.81 31.81 0 0 0-37.6 0l-396 288a31.99 31.99 0 0 0-11.6 35.8l151.3 466a32 32 0 0 0 30.4 22.1h489.5c13.9 0 26.1-8.9 30.4-22.1l151.3-466c4.2-13.2-.5-27.6-11.7-35.8zM838.6 417l-98.5 32-200-144.7V199.9L838.6 417zM466 567.2l-89.1 122.3-55.2-169.2L466 567.2zm-116.3-96.8L484 373.3v140.8l-134.3-43.7zM512 599.2l93.9 128.9H418.1L512 599.2zm28.1-225.9l134.2 97.1L540.1 514V373.3zM558 567.2l144.3-46.9-55.2 169.2L558 567.2zm-74-367.3v104.4L283.9 449l-98.5-32L484 199.9zM169.3 470.8l86.5 28.1 80.4 246.4-53.8 73.9-113.1-348.4zM327.1 853l50.3-69h269.3l50.3 69H327.1zm414.5-33.8l-53.8-73.9 80.4-246.4 86.5-28.1-113.1 348.4z")),t.QrcodeOutline=u("qrcode",a,l(i,"M468 128H160c-17.7 0-32 14.3-32 32v308c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V136c0-4.4-3.6-8-8-8zm-56 284H192V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210H136c-4.4 0-8 3.6-8 8v308c0 17.7 14.3 32 32 32h308c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zm-56 284H192V612h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm590-630H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V160c0-17.7-14.3-32-32-32zm-32 284H612V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210h-48c-4.4 0-8 3.6-8 8v134h-78V556c0-4.4-3.6-8-8-8H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h78v102c0 4.4 3.6 8 8 8h190c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zM746 832h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm142 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z")),t.RadiusBottomleftOutline=u("radius-bottomleft",a,l(i,"M712 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm2-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM136 374h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-174h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm752 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-230 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 624H358c-87.3 0-158-70.7-158-158V484c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v182c0 127 103 230 230 230h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.RadiusBottomrightOutline=u("radius-bottomright",a,l(i,"M368 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-58-624h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm578 102h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm292 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm174 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 276h-56c-4.4 0-8 3.6-8 8v182c0 87.3-70.7 158-158 158H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c127 0 230-103 230-230V484c0-4.4-3.6-8-8-8z")),t.RadiusUpleftOutline=u("radius-upleft",a,l(i,"M656 200h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm58 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 650h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm696-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174-696H358c-127 0-230 103-230 230v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-87.3 70.7-158 158-158h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.RadiusUprightOutline=u("radius-upright",a,l(i,"M368 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-2 696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm522-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-48-696H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c87.3 0 158 70.7 158 158v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-127-103-230-230-230z")),t.RadiusSettingOutline=u("radius-setting",a,l(i,"M396 140h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-44 684h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm524-204h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 344h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm320 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm160 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm140-284c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V370c0-127-103-230-230-230H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h170c87.3 0 158 70.7 158 158v170zM236 96H92c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V104c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2zM920 780H776c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V788c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2z")),t.RedditOutline=u("reddit",a,l(i,"M288 568a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm338.7 119.7c-23.1 18.2-68.9 37.8-114.7 37.8s-91.6-19.6-114.7-37.8c-14.4-11.3-35.3-8.9-46.7 5.5s-8.9 35.3 5.5 46.7C396.3 771.6 457.5 792 512 792s115.7-20.4 155.9-52.1a33.25 33.25 0 1 0-41.2-52.2zM960 456c0-61.9-50.1-112-112-112-42.1 0-78.7 23.2-97.9 57.6-57.6-31.5-127.7-51.8-204.1-56.5L612.9 195l127.9 36.9c11.5 32.6 42.6 56.1 79.2 56.1 46.4 0 84-37.6 84-84s-37.6-84-84-84c-32 0-59.8 17.9-74 44.2L603.5 123a33.2 33.2 0 0 0-39.6 18.4l-90.8 203.9c-74.5 5.2-142.9 25.4-199.2 56.2A111.94 111.94 0 0 0 176 344c-61.9 0-112 50.1-112 112 0 45.8 27.5 85.1 66.8 102.5-7.1 21-10.8 43-10.8 65.5 0 154.6 175.5 280 392 280s392-125.4 392-280c0-22.6-3.8-44.5-10.8-65.5C932.5 541.1 960 501.8 960 456zM820 172.5a31.5 31.5 0 1 1 0 63 31.5 31.5 0 0 1 0-63zM120 456c0-30.9 25.1-56 56-56a56 56 0 0 1 50.6 32.1c-29.3 22.2-53.5 47.8-71.5 75.9a56.23 56.23 0 0 1-35.1-52zm392 381.5c-179.8 0-325.5-95.6-325.5-213.5S332.2 410.5 512 410.5 837.5 506.1 837.5 624 691.8 837.5 512 837.5zM868.8 508c-17.9-28.1-42.2-53.7-71.5-75.9 9-18.9 28.3-32.1 50.6-32.1 30.9 0 56 25.1 56 56 .1 23.5-14.5 43.7-35.1 52zM624 568a56 56 0 1 0 112 0 56 56 0 1 0-112 0z")),t.RedoOutline=u("redo",a,l(i,"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 0 1-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 0 1-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 0 0-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z")),t.ReloadOutline=u("reload",a,l(i,"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 0 0-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 0 1 655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 0 1 279 755.2a342.16 342.16 0 0 1-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 0 1 109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 0 0 3 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z")),t.RetweetOutline=u("retweet",a,l(r,"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0 0 11.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 0 0-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 0 0-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z")),t.RightOutline=u("right",a,l(i,"M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 0 0 0-50.4z")),t.RiseOutline=u("rise",a,l(i,"M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 0 0 0 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0 0 13.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z")),t.RollbackOutline=u("rollback",a,l(i,"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 0 0 0 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z")),t.SafetyOutline=u("safety",a,l(r,"M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z","M378.4 475.1a35.91 35.91 0 0 0-50.9 0 35.91 35.91 0 0 0 0 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0 0 48.1 0L730.6 434a33.98 33.98 0 0 0 0-48.1l-2.8-2.8a33.98 33.98 0 0 0-48.1 0L483 579.7 378.4 475.1z")),t.RobotOutline=u("robot",a,l(i,"M300 328a60 60 0 1 0 120 0 60 60 0 1 0-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 1 0 120 0 60 60 0 1 0-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z")),t.SearchOutline=u("search",a,l(i,"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z")),t.ScanOutline=u("scan",a,l(i,"M136 384h56c4.4 0 8-3.6 8-8V200h176c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-37.6 0-68 30.4-68 68v180c0 4.4 3.6 8 8 8zm512-184h176v176c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V196c0-37.6-30.4-68-68-68H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM376 824H200V648c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v180c0 37.6 30.4 68 68 68h180c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm512-184h-56c-4.4 0-8 3.6-8 8v176H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h180c37.6 0 68-30.4 68-68V648c0-4.4-3.6-8-8-8zm16-164H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.ScissorOutline=u("scissor",a,l(i,"M567.1 512l318.5-319.3c5-5 1.5-13.7-5.6-13.7h-90.5c-2.1 0-4.2.8-5.6 2.3l-273.3 274-90.2-90.5c12.5-22.1 19.7-47.6 19.7-74.8 0-83.9-68.1-152-152-152s-152 68.1-152 152 68.1 152 152 152c27.7 0 53.6-7.4 75.9-20.3l90 90.3-90.1 90.3A151.04 151.04 0 0 0 288 582c-83.9 0-152 68.1-152 152s68.1 152 152 152 152-68.1 152-152c0-27.2-7.2-52.7-19.7-74.8l90.2-90.5 273.3 274c1.5 1.5 3.5 2.3 5.6 2.3H880c7.1 0 10.7-8.6 5.6-13.7L567.1 512zM288 370c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm0 444c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z")),t.SelectOutline=u("select",a,l(i,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 0 0-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z")),t.ShakeOutline=u("shake",a,l(i,"M324 666a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm616.7-309.6L667.6 83.2C655.2 70.9 638.7 64 621.1 64s-34.1 6.8-46.5 19.2L83.3 574.5a65.85 65.85 0 0 0 0 93.1l273.2 273.2c12.3 12.3 28.9 19.2 46.5 19.2s34.1-6.8 46.5-19.2l491.3-491.3c25.6-25.7 25.6-67.5-.1-93.1zM403 880.1L143.9 621l477.2-477.2 259 259.2L403 880.1zM152.8 373.7a7.9 7.9 0 0 0 11.2 0L373.7 164a7.9 7.9 0 0 0 0-11.2l-38.4-38.4a7.9 7.9 0 0 0-11.2 0L114.3 323.9a7.9 7.9 0 0 0 0 11.2l38.5 38.6zm718.6 276.6a7.9 7.9 0 0 0-11.2 0L650.3 860.1a7.9 7.9 0 0 0 0 11.2l38.4 38.4a7.9 7.9 0 0 0 11.2 0L909.7 700a7.9 7.9 0 0 0 0-11.2l-38.3-38.5z")),t.ShareAltOutline=u("share-alt",a,l(i,"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 0 0 0-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z")),t.ShoppingCartOutline=u("shopping-cart",a,l(r,"M922.9 701.9H327.4l29.9-60.9 496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 0 0-26.6-12.5l-632-2.1-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 1 0 0 70.6h125.9L246 312.8l58.1 281.3-74.8 122.1a34.96 34.96 0 0 0-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 0 0-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 0 0-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 0 0-35.4-35.2zM305.7 253l575.8 1.9-56.4 315.8-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 0 1-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 0 1-31.6 31.6z")),t.ShrinkOutline=u("shrink",a,l(i,"M881.7 187.4l-45.1-45.1a8.03 8.03 0 0 0-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L447.9 585a7.9 7.9 0 0 0-8.9-8.9z")),t.SlackOutline=u("slack",a,l(i,"M409.4 128c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0 0 54.3 22.5h76.7v-76.8c0-42.3-34.3-76.7-76.7-76.8zm0 204.8H204.7c-42.4 0-76.7 34.4-76.7 76.8s34.4 76.8 76.7 76.8h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.8-76.6-76.8zM614 486.4c42.4 0 76.8-34.4 76.7-76.8V204.8c0-42.4-34.3-76.8-76.7-76.8-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.5 34.3 76.8 76.7 76.8zm281.4-76.8c0-42.4-34.4-76.8-76.7-76.8S742 367.2 742 409.6v76.8h76.7c42.3 0 76.7-34.4 76.7-76.8zm-76.8 128H614c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0 0 54.3 22.5h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM614 742.4h-76.7v76.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM409.4 537.6c-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8V614.4c0-20.3-8.1-39.9-22.4-54.3a76.92 76.92 0 0 0-54.3-22.5zM128 614.4c0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0 0 54.3 22.5c42.4 0 76.8-34.4 76.7-76.8v-76.8h-76.7c-42.3 0-76.7 34.4-76.7 76.8z")),t.SmallDashOutline=u("small-dash",a,l(i,"M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z")),t.SolutionOutline=u("solution",a,l(i,"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z")),t.SketchOutline=u("sketch",a,l(i,"M925.6 405.1l-203-253.7a6.5 6.5 0 0 0-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 0 0 .2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 0 0 .2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7l-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4L345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7l-44.1-171.5 137.2 171.5h-93.1z")),t.SortDescendingOutline=u("sort-descending",a,l(i,"M839.6 433.8L749 150.5a9.24 9.24 0 0 0-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 0 0-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 0 0-9.2-9.3zM310.3 167.1a8 8 0 0 0-12.6 0L185.7 309c-4.2 5.3-.4 13 6.3 13h76v530c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V322h76c6.7 0 10.5-7.8 6.3-13l-112-141.9z")),t.SortAscendingOutline=u("sort-ascending",a,l(i,"M839.6 433.8L749 150.5a9.24 9.24 0 0 0-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 0 0-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 0 0-9.2-9.3zM416 702h-76V172c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v530h-76c-6.7 0-10.5 7.8-6.3 13l112 141.9a8 8 0 0 0 12.6 0l112-141.9c4.1-5.2.4-13-6.3-13z")),t.StockOutline=u("stock",a,l(i,"M904 747H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM165.7 621.8l39.7 39.5c3.1 3.1 8.2 3.1 11.3 0l234.7-233.9 97.6 97.3a32.11 32.11 0 0 0 45.2 0l264.2-263.2c3.1-3.1 3.1-8.2 0-11.3l-39.7-39.6a8.03 8.03 0 0 0-11.3 0l-235.7 235-97.7-97.3a32.11 32.11 0 0 0-45.2 0L165.7 610.5a7.94 7.94 0 0 0 0 11.3z")),t.SwapLeftOutline=u("swap-left",a,l(r,"M872 572H266.8l144.3-183c4.1-5.2.4-13-6.3-13H340c-9.8 0-19.1 4.5-25.1 12.2l-164 208c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z")),t.SwapRightOutline=u("swap-right",a,l(r,"M873.1 596.2l-164-208A32 32 0 0 0 684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z")),t.StrikethroughOutline=u("strikethrough",a,l(i,"M952 474H569.9c-10-2-20.5-4-31.6-6-15.9-2.9-22.2-4.1-30.8-5.8-51.3-10-82.2-20-106.8-34.2-35.1-20.5-52.2-48.3-52.2-85.1 0-37 15.2-67.7 44-89 28.4-21 68.8-32.1 116.8-32.1 54.8 0 97.1 14.4 125.8 42.8 14.6 14.4 25.3 32.1 31.8 52.6 1.3 4.1 2.8 10 4.3 17.8.9 4.8 5.2 8.2 9.9 8.2h72.8c5.6 0 10.1-4.6 10.1-10.1v-1c-.7-6.8-1.3-12.1-2-16-7.3-43.5-28-81.7-59.7-110.3-44.4-40.5-109.7-61.8-188.7-61.8-72.3 0-137.4 18.1-183.3 50.9-25.6 18.4-45.4 41.2-58.6 67.7-13.5 27.1-20.3 58.4-20.3 92.9 0 29.5 5.7 54.5 17.3 76.5 8.3 15.7 19.6 29.5 34.1 42H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h433.2c2.1.4 3.9.8 5.9 1.2 30.9 6.2 49.5 10.4 66.6 15.2 23 6.5 40.6 13.3 55.2 21.5 35.8 20.2 53.3 49.2 53.3 89 0 35.3-15.5 66.8-43.6 88.8-30.5 23.9-75.6 36.4-130.5 36.4-43.7 0-80.7-8.5-110.2-25-29.1-16.3-49.1-39.8-59.7-69.5-.8-2.2-1.7-5.2-2.7-9-1.2-4.4-5.3-7.5-9.7-7.5h-79.7c-5.6 0-10.1 4.6-10.1 10.1v1c.2 2.3.4 4.2.6 5.7 6.5 48.8 30.3 88.8 70.7 118.8 47.1 34.8 113.4 53.2 191.8 53.2 84.2 0 154.8-19.8 204.2-57.3 25-18.9 44.2-42.2 57.1-69 13-27.1 19.7-57.9 19.7-91.5 0-31.8-5.8-58.4-17.8-81.4-5.8-11.2-13.1-21.5-21.8-30.8H952c4.4 0 8-3.6 8-8v-60a8 8 0 0 0-8-7.9z")),t.SwapOutline=u("swap",a,l(i,"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z")),t.SyncOutline=u("sync",a,l(i,"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 0 1 755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 0 0 3 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 0 1 512.1 856a342.24 342.24 0 0 1-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 0 0-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 0 0-8-8.2z")),t.TableOutline=u("table",a,l(i,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z")),t.TeamOutline=u("team",a,l(i,"M824.2 699.9a301.55 301.55 0 0 0-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 0 0-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 0 0 8 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 0 1 612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 0 0 8-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 0 1-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 0 1 612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 0 1-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 0 0 8 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z")),t.TaobaoOutline=u("taobao",a,l(i,"M168.5 273.7a68.7 68.7 0 1 0 137.4 0 68.7 68.7 0 1 0-137.4 0zm730 79.2s-23.7-184.4-426.9-70.1c17.3-30 25.6-49.5 25.6-49.5L396.4 205s-40.6 132.6-113 194.4c0 0 70.1 40.6 69.4 39.4 20.1-20.1 38.2-40.6 53.7-60.4 16.1-7 31.5-13.6 46.7-19.8-18.6 33.5-48.7 83.8-78.8 115.6l42.4 37s28.8-27.7 60.4-61.2h36v61.8H372.9v49.5h140.3v118.5c-1.7 0-3.6 0-5.4-.2-15.4-.7-39.5-3.3-49-18.2-11.5-18.1-3-51.5-2.4-71.9h-97l-3.4 1.8s-35.5 159.1 102.3 155.5c129.1 3.6 203-36 238.6-63.1l14.2 52.6 79.6-33.2-53.9-131.9-64.6 20.1 12.1 45.2c-16.6 12.4-35.6 21.7-56.2 28.4V561.3h137.1v-49.5H628.1V450h137.6v-49.5H521.3c17.6-21.4 31.5-41.1 35-53.6l-42.5-11.6c182.8-65.5 284.5-54.2 283.6 53.2v282.8s10.8 97.1-100.4 90.1l-60.2-12.9-14.2 57.1S882.5 880 903.7 680.2c21.3-200-5.2-327.3-5.2-327.3zm-707.4 18.3l-45.4 69.7 83.6 52.1s56 28.5 29.4 81.9C233.8 625.5 112 736.3 112 736.3l109 68.1c75.4-163.7 70.5-142 89.5-200.7 19.5-60.1 23.7-105.9-9.4-139.1-42.4-42.6-47-46.6-110-93.4z")),t.ToTopOutline=u("to-top",a,l(i,"M885 780H165c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM400 325.7h73.9V664c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V325.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 171a8 8 0 0 0-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13z")),t.TrademarkOutline=u("trademark",a,l(i,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 0 0 7.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z")),t.TransactionOutline=u("transaction",a,l(i,"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 0 0-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7zM157.9 504.2a352.7 352.7 0 0 1 103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9 43.6-18.4 89.9-27.8 137.6-27.8 47.8 0 94.1 9.3 137.6 27.8 42.1 17.8 79.9 43.4 112.4 75.9 10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 0 0 3 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82 277 82 86.3 270.1 82 503.8a8 8 0 0 0 8 8.2h60c4.3 0 7.8-3.5 7.9-7.8zM934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 0 1-103.5 242.4 352.57 352.57 0 0 1-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.57 352.57 0 0 1-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 0 0-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942 747 942 937.7 753.9 942 520.2a8 8 0 0 0-8-8.2z")),t.TwitterOutline=u("twitter",a,l(i,"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0 0 75-94 336.64 336.64 0 0 1-108.2 41.2A170.1 170.1 0 0 0 672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 0 0-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 0 1-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 0 1-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z")),t.UnderlineOutline=u("underline",a,l(i,"M824 804H200c-4.4 0-8 3.4-8 7.6v60.8c0 4.2 3.6 7.6 8 7.6h624c4.4 0 8-3.4 8-7.6v-60.8c0-4.2-3.6-7.6-8-7.6zm-312-76c69.4 0 134.6-27.1 183.8-76.2C745 602.7 772 537.4 772 468V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 97-79 176-176 176s-176-79-176-176V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 69.4 27.1 134.6 76.2 183.8C377.3 701 442.6 728 512 728z")),t.UndoOutline=u("undo",a,l(i,"M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 0 0-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 0 1-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 0 1-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 0 0-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z")),t.UnorderedListOutline=u("unordered-list",a,l(i,"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm0 284a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm0 284a56 56 0 1 0 112 0 56 56 0 1 0-112 0z")),t.UpOutline=u("up",a,l(i,"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 0 0 140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z")),t.UploadOutline=u("upload",a,l(i,"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 0 0-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z")),t.UserAddOutline=u("user-add",a,l(i,"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 0 0-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 0 0-80.4 119.5A373.6 373.6 0 0 0 137 888.8a8 8 0 0 0 8 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 0 0 8.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 0 1 340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 0 1 683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.UsergroupAddOutline=u("usergroup-add",a,l(i,"M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 0 1-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 0 0 8 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 0 0-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 0 0 8 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 0 1-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z")),t.UserOutline=u("user",a,l(i,"M858.5 763.6a374 374 0 0 0-80.6-119.5 375.63 375.63 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z")),t.UserDeleteOutline=u("user-delete",a,l(i,"M678.3 655.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 0 0-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 518 759.6 444.7 759.6 362c0-137-110.8-248-247.5-248S264.7 225 264.7 362c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 0 0-80.4 119.5A373.6 373.6 0 0 0 137 901.8a8 8 0 0 0 8 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 641.2 432.2 610 512.2 610c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 0 0 8.1.3zM512.2 534c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 0 1 340.5 362c0-45.9 17.9-89.1 50.3-121.6S466.3 190 512.2 190s88.9 17.9 121.4 50.4A171.2 171.2 0 0 1 683.9 362c0 45.9-17.9 89.1-50.3 121.6C601.1 516.1 558 534 512.2 534zM880 772H640c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h240c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z")),t.UsergroupDeleteOutline=u("usergroup-delete",a,l(i,"M888 784H664c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 0 1-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 0 0 8 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7zM824 484c0-109.4-87.9-198.3-196.9-200C516.3 282.3 424 373.2 424 484c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 0 0-86.4 60.4C357 754.6 326 826.8 324 903.8a8 8 0 0 0 8 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 707.7 563 684 624 684c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 598.7 658.2 612 624 612s-66.3-13.3-90.5-37.5a127.26 127.26 0 0 1-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z")),t.VerticalAlignBottomOutline=u("vertical-align-bottom",a,l(i,"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z")),t.VerticalAlignMiddleOutline=u("vertical-align-middle",a,l(i,"M859.9 474H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zm-353.6-74.7c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H550V104c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v156h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.6zm11.4 225.4a7.14 7.14 0 0 0-11.3 0L405.6 752.3a7.23 7.23 0 0 0 5.7 11.7H474v156c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V764h62.8c6 0 9.4-7 5.7-11.7L517.7 624.7z")),t.VerticalAlignTopOutline=u("vertical-align-top",a,l(i,"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 0 0-12.6 0l-112 141.7a7.98 7.98 0 0 0 6.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z")),t.VerticalRightOutline=u("vertical-right",a,l(i,"M326 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm444 72.4V164c0-6.8-7.9-10.5-13.1-6.1L335 512l421.9 354.1c5.2 4.4 13.1.7 13.1-6.1v-72.4c0-9.4-4.2-18.4-11.4-24.5L459.4 512l299.2-251.1c7.2-6.1 11.4-15.1 11.4-24.5z")),t.VerticalLeftOutline=u("vertical-left",a,l(i,"M762 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm-508 0v72.4c0 9.5 4.2 18.4 11.4 24.5L564.6 512 265.4 763.1c-7.2 6.1-11.4 15-11.4 24.5V860c0 6.8 7.9 10.5 13.1 6.1L689 512 267.1 157.9A7.95 7.95 0 0 0 254 164z")),t.WifiOutline=u("wifi",a,l(i,"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 0 0-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 0 0-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 0 0-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 1 0 128 0 64 64 0 1 0-128 0z")),t.ZhihuOutline=u("zhihu",a,l(i,"M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z")),t.WeiboOutline=u("weibo",a,l(i,"M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 0 0-106-34.3 28.45 28.45 0 0 0-21.9 33.8 28.39 28.39 0 0 0 33.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0 1 11.3 53.3 28.45 28.45 0 0 0 18.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 0 0-25.4 39.3 33.12 33.12 0 0 0 39.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z")),t.WomanOutline=u("woman",a,l(i,"M712.8 548.8c53.6-53.6 83.2-125 83.2-200.8 0-75.9-29.5-147.2-83.2-200.8C659.2 93.6 587.8 64 512 64s-147.2 29.5-200.8 83.2C257.6 200.9 228 272.1 228 348c0 63.8 20.9 124.4 59.4 173.9 7.3 9.4 15.2 18.3 23.7 26.9 8.5 8.5 17.5 16.4 26.8 23.7 39.6 30.8 86.3 50.4 136.1 57V736H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h114v140c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V812h114c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H550V629.5c61.5-8.2 118.2-36.1 162.8-80.7zM512 556c-55.6 0-107.7-21.6-147.1-60.9C325.6 455.8 304 403.6 304 348s21.6-107.7 60.9-147.1C404.2 161.5 456.4 140 512 140s107.7 21.6 147.1 60.9C698.4 240.2 720 292.4 720 348s-21.6 107.7-60.9 147.1C619.7 534.4 567.6 556 512 556z")),t.ZoomInOutline=u("zoom-in",a,l(i,"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z")),t.AccountBookTwoTone=u("account-book",s,function(e,t){return l(i,[t,"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-65.6 121.8l-89.3 164.1h49.1c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4v33.7h65.4c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4V752c0 4.4-3.6 8-8 8h-41.3c-4.4 0-8-3.6-8-8v-53.8h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8h65.1v-33.7h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8H467l-89.3-164c-2.1-3.9-.7-8.8 3.2-10.9 1.1-.7 2.5-1 3.8-1h46a8 8 0 0 1 7.1 4.4l73.4 145.4h2.8l73.4-145.4c1.3-2.7 4.1-4.4 7.1-4.4h45c4.5 0 8 3.6 7.9 8 0 1.3-.4 2.6-1 3.8z"],[e,"M639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 0 0-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z"],[e,"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z"])}),t.ZoomOutOutline=u("zoom-out",a,l(i,"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z")),t.AlertTwoTone=u("alert",s,function(e,t){return l(i,[t,"M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z"],[e,"M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 0 0-11.3 0l-39.6 39.6a8.03 8.03 0 0 0 0 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 0 0-11.3 0l-67.9 67.9a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z"])}),t.ApiTwoTone=u("api",s,function(e,t){return l(i,[t,"M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z"],[e,"M578.9 546.7a8.03 8.03 0 0 0-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 0 0-11.3 0L363 475.3l-43-43a7.85 7.85 0 0 0-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 0 0-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 0 0 0 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 0 1-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 0 0-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 0 0 0 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z"])}),t.AppstoreTwoTone=u("appstore",s,function(e,t){return l(i,[e,"M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm52-668H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"],[t,"M212 212h200v200H212zm400 0h200v200H612zM212 612h200v200H212zm400 0h200v200H612z"])}),t.BankTwoTone=u("bank",s,function(e,t){return l(i,[t,"M240.9 393.9h542.2L512 196.7z"],[e,"M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 0 0-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374zM240.9 393.9L512 196.7l271.1 197.2H240.9z"])}),t.AudioTwoTone=u("audio",s,function(e,t){return l(i,[t,"M512 552c54.3 0 98-43.2 98-96V232c0-52.8-43.7-96-98-96s-98 43.2-98 96v224c0 52.8 43.7 96 98 96z"],[e,"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z"],[e,"M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-98-392c0-52.8 43.7-96 98-96s98 43.2 98 96v224c0 52.8-43.7 96-98 96s-98-43.2-98-96V232z"])}),t.BellTwoTone=u("bell",s,function(e,t){return l(i,[t,"M512 220c-55.6 0-107.8 21.6-147.1 60.9S304 372.4 304 428v340h416V428c0-55.6-21.6-107.8-60.9-147.1S567.6 220 512 220zm280 208c0-141.1-104.3-257.8-240-277.2v.1c135.7 19.4 240 136 240 277.1zM472 150.9v-.1C336.3 170.2 232 286.9 232 428c0-141.1 104.3-257.7 240-277.1z"],[e,"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zm208-120H304V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340z"])}),t.BookTwoTone=u("book",s,function(e,t){return l(i,[e,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0 0 22.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z"],[t,"M668 345.9V136h-96v211.4l49.5-35.4z"],[t,"M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 0 1-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z"])}),t.BoxPlotTwoTone=u("box-plot",s,function(e,t){return l(i,[t,"M296 368h88v288h-88zm152 0h280v288H448z"],[e,"M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM384 656h-88V368h88v288zm344 0H448V368h280v288z"])}),t.BugTwoTone=u("bug",s,function(e,t){return l(i,[e,"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0 0 73.3 73.3A202.68 202.68 0 0 0 512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0 0 73.3-73.3A202.68 202.68 0 0 0 716 680V412H308zm484 172v96c0 6.5-.22 12.95-.66 19.35C859.94 728.64 908 796.7 908 876a8 8 0 0 1-8 8h-56a8 8 0 0 1-8-8c0-44.24-23.94-82.89-59.57-103.7a278.63 278.63 0 0 1-22.66 49.02 281.39 281.39 0 0 1-100.45 100.45C611.84 946.07 563.55 960 512 960s-99.84-13.93-141.32-38.23a281.39 281.39 0 0 1-100.45-100.45 278.63 278.63 0 0 1-22.66-49.02A119.95 119.95 0 0 0 188 876a8 8 0 0 1-8 8h-56a8 8 0 0 1-8-8c0-79.3 48.07-147.36 116.66-176.65A284.12 284.12 0 0 1 232 680v-96H84a8 8 0 0 1-8-8v-56a8 8 0 0 1 8-8h148V412c-76.77 0-139-62.23-139-139a8 8 0 0 1 8-8h60a8 8 0 0 1 8 8 63 63 0 0 0 63 63h560a63 63 0 0 0 63-63 8 8 0 0 1 8-8h60a8 8 0 0 1 8 8c0 76.77-62.23 139-139 139v100h148a8 8 0 0 1 8 8v56a8 8 0 0 1-8 8H792zM368 272a8 8 0 0 1-8 8h-56a8 8 0 0 1-8-8c0-40.04 8.78-76.75 25.9-108.07a184.57 184.57 0 0 1 74.03-74.03C427.25 72.78 463.96 64 504 64h16c40.04 0 76.75 8.78 108.07 25.9a184.57 184.57 0 0 1 74.03 74.03C719.22 195.25 728 231.96 728 272a8 8 0 0 1-8 8h-56a8 8 0 0 1-8-8c0-28.33-5.94-53.15-17.08-73.53a112.56 112.56 0 0 0-45.39-45.4C573.15 141.95 548.33 136 520 136h-16c-28.33 0-53.15 5.94-73.53 17.08a112.56 112.56 0 0 0-45.4 45.39C373.95 218.85 368 243.67 368 272z"],[t,"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0 0 73.3 73.3A202.68 202.68 0 0 0 512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0 0 73.3-73.3A202.68 202.68 0 0 0 716 680V412H308z"])}),t.BulbTwoTone=u("bulb",s,function(e,t){return l(i,[t,"M512 136c-141.4 0-256 114.6-256 256 0 92.5 49.4 176.3 128.1 221.8l35.9 20.8V752h184V634.6l35.9-20.8C718.6 568.3 768 484.5 768 392c0-141.4-114.6-256-256-256z"],[e,"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"])}),t.CalculatorTwoTone=u("calculator",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm256.2-75h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 0 1-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zM576 335c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 265c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 104c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zM248 335c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48z"],[e,"M383.5 675l61.3-74.8c4.3-5.2.7-13.1-5.9-13.1h-50.8c-2.3 0-4.4 1-5.9 2.9l-34 41.6-34-41.6a7.69 7.69 0 0 0-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.4-1 5.9-2.9l35.5-43.5 35.5 43.5c1.4 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 6-13.2L383.5 675zM251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 369h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4z"])}),t.BuildTwoTone=u("build",s,function(e,t){return l(i,[t,"M144 546h200v200H144zm268-268h200v200H412z"],[e,"M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zM344 746H144V546h200v200zm268 0H412V546h200v200zm0-268H412V278h200v200zm268 0H680V278h200v200z"])}),t.CalendarTwoTone=u("calendar",s,function(e,t){return l(i,[t,"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v136h656V256H712v48z"],[e,"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zm0-448H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136z"])}),t.CameraTwoTone=u("camera",s,function(e,t){return l(i,[t,"M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z"],[e,"M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"],[e,"M864 248H728l-32.4-90.8a32.07 32.07 0 0 0-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z"])}),t.CarTwoTone=u("car",s,function(e,t){return l(i,[t,"M199.6 474L184 517v237h656V517l-15.6-43H199.6zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"],[e,"M720 581a40 40 0 1 0 80 0 40 40 0 1 0-80 0z"],[e,"M959 413.4L935.3 372a8 8 0 0 0-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 0 0-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 0 0-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 0 0 3-10.8zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM840 754H184V517l15.6-43h624.8l15.6 43v237z"],[e,"M224 581a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm420 23h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8z"])}),t.CarryOutTwoTone=u("carry-out",s,function(e,t){return l(i,[e,"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z"],[t,"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-17.5 128.8L481.9 725.5a16.1 16.1 0 0 1-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.9-6.6 13-6.6H688c6.5 0 10.3 7.4 6.5 12.8z"],[e,"M688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0 0 26 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z"])}),t.CheckCircleTwoTone=u("check-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z"],[e,"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0 0 51.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"])}),t.CheckSquareTwoTone=u("check-square",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm130-367.8h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H688c6.5 0 10.3 7.4 6.5 12.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L307.5 484.9c-3.8-5.3 0-12.7 6.5-12.7z"],[e,"M432.2 657.7a31.8 31.8 0 0 0 51.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7h-46.9c-10.3 0-19.9 5-25.9 13.3L458 584.3l-71.2-98.8c-6-8.4-15.7-13.3-25.9-13.3H314c-6.5 0-10.3 7.4-6.5 12.7l124.7 172.8z"])}),t.ClockCircleTwoTone=u("clock-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm176.5 509.7l-28.6 39a7.99 7.99 0 0 1-11.2 1.7L483.3 569.8a7.92 7.92 0 0 1-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z"],[e,"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.6-3.6 1.8-8.6-1.8-11.1z"])}),t.CloseCircleTwoTone=u("close-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 0 1-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z"],[e,"M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155-130.1 154.9a8.32 8.32 0 0 0-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"])}),t.CloudTwoTone=u("cloud",s,function(e,t){return l(i,[t,"M791.9 492l-37.8-10-13.8-36.5c-8.6-22.7-20.6-44.1-35.7-63.4a245.73 245.73 0 0 0-52.4-49.9c-41.1-28.9-89.5-44.2-140-44.2s-98.9 15.3-140 44.2a245.6 245.6 0 0 0-52.4 49.9 240.47 240.47 0 0 0-35.7 63.4l-13.9 36.6-37.9 9.9a125.7 125.7 0 0 0-66.1 43.7A123.1 123.1 0 0 0 140 612c0 33.1 12.9 64.3 36.3 87.7 23.4 23.4 54.5 36.3 87.6 36.3h496.2c33.1 0 64.2-12.9 87.6-36.3A123.3 123.3 0 0 0 884 612c0-56.2-37.8-105.5-92.1-120z"],[e,"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 0 1-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 0 1 140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0 1 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z"])}),t.CloseSquareTwoTone=u("close-square",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm163.9-473.9A7.95 7.95 0 0 1 354 353h58.9c4.7 0 9.2 2.1 12.3 5.7L512 462.2l86.8-103.5c3-3.6 7.5-5.7 12.3-5.7H670c6.8 0 10.5 7.9 6.1 13.1L553.8 512l122.3 145.9c4.4 5.2.7 13.1-6.1 13.1h-58.9c-4.7 0-9.2-2.1-12.3-5.7L512 561.8l-86.8 103.5c-3 3.6-7.5 5.7-12.3 5.7H354c-6.8 0-10.5-7.9-6.1-13.1L470.2 512 347.9 366.1z"],[e,"M354 671h58.9c4.8 0 9.3-2.1 12.3-5.7L512 561.8l86.8 103.5c3.1 3.6 7.6 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.3-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.8 0-9.3 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3.1-3.6-7.6-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 0 0 354 671z"])}),t.CodeTwoTone=u("code",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm339.5-223h185c4.1 0 7.5 3.6 7.5 8v48c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8zM308 610.3c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 0 1-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7z"],[e,"M321.1 679.1l192-161c3.9-3.2 3.9-9.1 0-12.3l-192-160.9A7.95 7.95 0 0 0 308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 0 0-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48z"])}),t.CompassTwoTone=u("compass",s,function(e,t){return l(i,[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM327.6 701.7c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2L421 470.9 553.1 603l-225.5 98.7zm375.1-375.1L604 552.1 471.9 420l225.5-98.7c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z"],[e,"M322.3 696.4c-.4 1-.4 2.2 0 3.2.9 2.1 3.3 3 5.3 2.1L553.1 603 421 470.9l-98.7 225.5zm375.1-375.1L471.9 420 604 552.1l98.7-225.5c.4-1.1.4-2.2 0-3.2-.9-2.1-3.3-3-5.3-2.1z"],[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"])}),t.ContactsTwoTone=u("contacts",s,function(e,t){return l(i,[t,"M460.3 526a51.7 52 0 1 0 103.4 0 51.7 52 0 1 0-103.4 0z"],[t,"M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM661 736h-43.8c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 39.9-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5h-43.9a8 8 0 0 1-8-8.4c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.7 26.4 71.9 72.8 74.7 126.1a8 8 0 0 1-8 8.4z"],[e,"M594.3 601.5a111.8 111.8 0 0 0 29.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 0 0-74.6 126.1 8 8 0 0 0 8 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 0 0 8-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52z"],[e,"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z"])}),t.ContainerTwoTone=u("container",s,function(e,t){return l(i,[t,"M635 771.7c-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 0 1-59.1-84.7H232v201h560V687h-97.9c-11.6 32.8-32 62.3-59.1 84.7z"],[e,"M320 501h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"],[e,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v201zm0-264H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v488z"],[e,"M320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"])}),t.ControlTwoTone=u("control",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M616 440a36 36 0 1 0 72 0 36 36 0 1 0-72 0zM340.4 601.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 0 0-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5z"],[t,"M184 840h656V184H184v656zm436.4-499.1c-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1zM340 485V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99z"],[e,"M340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c41.7-13.5 72-52.8 72-99s-30.3-85.4-72-99V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c-41.7 13.5-72 52.8-72 99s30.3 85.4 72 99zm.1-116c.1-.2.2-.3.3-.5l1.5-2.4c0-.1.1-.1.1-.2l.9-1.2c0-.1.1-.2.2-.3 1-1.2 2.1-2.5 3.2-3.6l.2-.2c.4-.4.8-.7 1.2-1.1.8-.7 1.7-1.4 2.6-2.1h.1l1.2-.9c.1-.1.3-.2.4-.3 1.3-.8 2.6-1.5 3.9-2.2.2-.2.5-.3.7-.4.4-.2.7-.3 1.1-.5.3-.1.7-.3 1-.4.5-.1 1-.3 1.5-.5.4-.1.9-.3 1.3-.4l.9-.3 1.4-.3c.2-.1.5-.1.7-.2.7-.2 1.4-.3 2.1-.4.2-.1.4-.1.6-.1.5-.1 1.1-.2 1.7-.2.3-.1.5-.1.7-.1.8-.1 1.5-.1 2.3-.1s1.5.1 2.3.1c.3.1.5.1.7.1.6.1 1.1.1 1.7.2.2.1.4.1.6.1.7.1 1.4.3 2.1.4.2.1.5.1.7.2l1.4.3.9.3c.4.1.9.3 1.3.4.5.1 1 .3 1.5.5.3.1.7.3 1 .4.4.2.7.3 1.1.5.2.2.5.3.7.4 1.4.6 2.7 1.4 3.9 2.2.1.1.3.2.4.3l1.2.9h.1c.9.6 1.8 1.3 2.6 2.1.4.3.8.7 1.2 1.1l.2.2c1.2 1.1 2.2 2.3 3.2 3.6 0 .1.1.2.2.3l.9 1.2c0 .1.1.1.1.2l1.5 2.4A36.03 36.03 0 0 1 408 584c0 6.1-1.6 11.9-4.3 17-.1.2-.2.3-.3.5l-1.5 2.4c0 .1-.1.1-.1.2l-.9 1.2c0 .1-.1.2-.2.3-1 1.2-2.1 2.5-3.2 3.6l-.2.2c-.4.4-.8.7-1.2 1.1-.8.7-1.7 1.4-2.6 2.1h-.1l-1.2.9c-.1.1-.3.2-.4.3-1.3.8-2.6 1.5-3.9 2.2-.2.2-.5.3-.7.4-.4.2-.7.3-1.1.5-.3.1-.7.3-1 .4-.5.1-1 .3-1.5.5-.4.1-.9.3-1.3.4l-.9.3-1.4.3c-.2.1-.5.1-.7.2-.7.2-1.4.3-2.1.4-.2.1-.4.1-.6.1-.5.1-1.1.2-1.7.2-.3.1-.5.1-.7.1-.8.1-1.5.1-2.3.1s-1.5-.1-2.3-.1c-.3-.1-.5-.1-.7-.1-.6-.1-1.1-.1-1.7-.2-.2-.1-.4-.1-.6-.1-.7-.1-1.4-.3-2.1-.4-.2-.1-.5-.1-.7-.2l-1.4-.3-.9-.3c-.4-.1-.9-.3-1.3-.4-.5-.1-1-.3-1.5-.5-.3-.1-.7-.3-1-.4-.4-.2-.7-.3-1.1-.5-.2-.2-.5-.3-.7-.4-1.4-.6-2.7-1.4-3.9-2.2-.1-.1-.3-.2-.4-.3l-1.2-.9h-.1c-.9-.6-1.8-1.3-2.6-2.1-.4-.3-.8-.7-1.2-1.1l-.2-.2c-1.2-1.1-2.2-2.3-3.2-3.6 0-.1-.1-.2-.2-.3l-.9-1.2c0-.1-.1-.1-.1-.2l-1.5-2.4c-.1-.2-.2-.3-.3-.5-2.7-5-4.3-10.9-4.3-17s1.6-11.9 4.3-17zm280.3-27.9c-.1 0-.2-.1-.4-.1v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-.1 0-.2.1-.4.1 42-13.4 72.4-52.7 72.4-99.1 0-46.4-30.4-85.7-72.4-99.1.1 0 .2.1.4.1v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c.1 0 .2-.1.4-.1-42 13.4-72.4 52.7-72.4 99.1 0 46.4 30.4 85.7 72.4 99.1zM652 404c19.9 0 36 16.1 36 36s-16.1 36-36 36-36-16.1-36-36 16.1-36 36-36z"])}),t.CopyTwoTone=u("copy",s,function(e,t){return l(i,[t,"M232 706h142c22.1 0 40 17.9 40 40v142h250V264H232v442z"],[e,"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32z"],[e,"M704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"])}),t.CreditCardTwoTone=u("credit-card",s,function(e,t){return l(i,[t,"M136 792h752V440H136v352zm507-144c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72zM136 232h752v120H136z"],[e,"M651 728h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z"],[e,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V440h752v352zm0-440H136V232h752v120z"])}),t.CrownTwoTone=u("crown",s,function(e,t){return l(i,[t,"M911.9 283.9v.5L835.5 865c-1 8-7.9 14-15.9 14H204.5c-8.1 0-14.9-6.1-16-14l-76.4-580.6v-.6 1.6L188.5 866c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.1-.5.1-1 0-1.5z"],[t,"M773.6 810.6l53.9-409.4-139.8 86.1L512 252.9 336.3 487.3l-139.8-86.1 53.8 409.4h523.3zm-374.2-189c0-62.1 50.5-112.6 112.6-112.6s112.6 50.5 112.6 112.6v1c0 62.1-50.5 112.6-112.6 112.6s-112.6-50.5-112.6-112.6v-1z"],[e,"M512 734.2c61.9 0 112.3-50.2 112.6-112.1v-.5c0-62.1-50.5-112.6-112.6-112.6s-112.6 50.5-112.6 112.6v.5c.3 61.9 50.7 112.1 112.6 112.1zm0-160.9c26.6 0 48.2 21.6 48.2 48.3 0 26.6-21.6 48.3-48.2 48.3s-48.2-21.6-48.2-48.3c0-26.6 21.6-48.3 48.2-48.3z"],[e,"M188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6v-.5c.3-6.4-6.7-10.8-12.3-7.4L705 396.4 518.4 147.5a8.06 8.06 0 0 0-12.9 0L319 396.4 124.3 276.5c-5.5-3.4-12.6.9-12.2 7.3v.6L188.5 865zm147.8-377.7L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4H250.3l-53.8-409.4 139.8 86.1z"])}),t.CustomerServiceTwoTone=u("customer-service",s,function(e,t){return l(i,[t,"M696 632h128v192H696zm-496 0h128v192H200z"],[e,"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z"])}),t.DashboardTwoTone=u("dashboard",s,function(e,t){return l(i,[t,"M512 188c-99.3 0-192.7 38.7-263 109-70.3 70.2-109 163.6-109 263 0 105.6 44.5 205.5 122.6 276h498.8A371.12 371.12 0 0 0 884 560c0-99.3-38.7-192.7-109-263-70.2-70.3-163.6-109-263-109zm-30 44c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.4l-31.1 31.1a8.03 8.03 0 0 1-11.3 0l-56.6-56.6a8.03 8.03 0 0 1 0-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.5l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 0 1-79.2 0 55.95 55.95 0 0 1 0-79.2 55.87 55.87 0 0 1 54.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.2 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 0 1 0-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 0 1-11.3 0zM846 538v44c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8z"],[e,"M623.5 421.5a8.03 8.03 0 0 0-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 0 0 0 79.2 55.95 55.95 0 0 0 79.2 0 55.87 55.87 0 0 0 14.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8z"],[e,"M924.8 385.6a446.7 446.7 0 0 0-96-142.4 446.7 446.7 0 0 0-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 0 0-142.4 96 446.7 446.7 0 0 0-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 0 1 140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z"],[e,"M762.7 340.8l-31.1-31.1a8.03 8.03 0 0 0-11.3 0l-56.6 56.6a8.03 8.03 0 0 0 0 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zM750 538v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zM304.1 309.7a8.03 8.03 0 0 0-11.3 0l-31.1 31.1a8.03 8.03 0 0 0 0 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"])}),t.DeleteTwoTone=u("delete",s,function(e,t){return l(i,[t,"M292.7 840h438.6l24.2-512h-487z"],[e,"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z"])}),t.DiffTwoTone=u("diff",s,function(e,t){return l(i,[t,"M232 264v624h432V413.8L514.2 264H232zm336 489c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-262v42c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7z"],[e,"M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z"],[e,"M553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888z"],[e,"M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7z"])}),t.DatabaseTwoTone=u("database",s,function(e,t){return l(i,[t,"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z"],[e,"M304 512a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm0 272a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm0-544a40 40 0 1 0 80 0 40 40 0 1 0-80 0z"],[e,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z"])}),t.DislikeTwoTone=u("dislike",s,function(e,t){return l(i,[t,"M273 100.1v428h.3l-.3-428zM820.4 525l-21.9-19 14-25.5a56.2 56.2 0 0 0 6.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 0 0 6.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 0 0 6.9-27.3c0-22.4-13.2-42.6-33.6-51.8H345v345.2c18.6 67.2 46.4 168 83.5 302.5a44.28 44.28 0 0 0 42.2 32.3c7.5.1 15-2.2 21.1-6.7 9.9-7.4 15.2-18.6 14.6-30.5l-9.6-198.4h314.4C829 605.5 840 587.1 840 568c0-16.5-7.1-32.2-19.6-43z"],[e,"M112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32zm773.9 358.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 0 0-26.5-5.4H273l.3 428 85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zm-74.7 126.1H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 0 1-42.2-32.3c-37.1-134.4-64.9-235.2-83.5-302.5V172h399.4a56.85 56.85 0 0 1 33.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0 1 19.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0 1 19.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0 1 19.6 43c0 19.1-11 37.5-28.8 48.4z"])}),t.DownCircleTwoTone=u("down-circle",s,function(e,t){return l(i,[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm184.4 277.7l-178 246a7.95 7.95 0 0 1-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7z"],[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[e,"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z"])}),t.DownSquareTwoTone=u("down-square",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm150-440h46.9c10.3 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7l-178 246a7.95 7.95 0 0 1-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7z"],[e,"M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z"])}),t.EnvironmentTwoTone=u("environment",s,function(e,t){return l(i,[t,"M724.4 224.9C667.7 169.5 592.3 139 512 139s-155.7 30.5-212.4 85.8C243.1 280 212 353.2 212 431.1c0 241.3 234.1 407.2 300 449.1 65.9-41.9 300-207.8 300-449.1 0-77.9-31.1-151.1-87.6-206.2zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z"],[e,"M512 263c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 0 1 512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8S624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z"],[e,"M854.6 289.1a362.49 362.49 0 0 0-79.9-115.7 370.83 370.83 0 0 0-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 0 0 169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0 0 22.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1z"])}),t.EditTwoTone=u("edit",s,function(e,t){return l(i,[t,"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z"],[e,"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z"])}),t.ExclamationCircleTwoTone=u("exclamation-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-32 156c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"],[e,"M488 576h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8zm-24 112a48 48 0 1 0 96 0 48 48 0 1 0-96 0z"])}),t.ExperimentTwoTone=u("experiment",s,function(e,t){return l(i,[t,"M551.9 513c19.6 0 35.9-14.2 39.3-32.8A40.02 40.02 0 0 1 552 512a40 40 0 0 1-40-39.4v.5c0 22 17.9 39.9 39.9 39.9zM752 687.8l-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 0 1-164.9 59.9c-41.2 0-81-9.8-116.7-28L210.5 844h603l-59.9-155.2-1.6-1z"],[e,"M879 824.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 0 1-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.6-107.6.1-.2c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1l.6 1.6L813.5 844h-603z"],[e,"M552 512c19.3 0 35.4-13.6 39.2-31.8.6-2.7.8-5.4.8-8.2 0-22.1-17.9-40-40-40s-40 17.9-40 40v.6a40 40 0 0 0 40 39.4z"])}),t.EyeInvisibleTwoTone=u("eye-invisible",s,function(e,t){return l(i,[t,"M254.89 758.85l125.57-125.57a176 176 0 0 1 248.82-248.82L757 256.72Q651.69 186.07 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 0 0 0 51.5q69.27 145.91 173.09 221.05zM942.2 486.2Q889.46 375.11 816.7 305L672.48 449.27a176.09 176.09 0 0 1-227.22 227.21L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 0 0 0-51.5z"],[e,"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 0 0 0-51.5zM878.63 165.56L836 122.88a8 8 0 0 0-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 0 0 0 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 0 0 0 11.31L155.17 889a8 8 0 0 0 11.31 0l712.15-712.12a8 8 0 0 0 0-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 0 0-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 0 1 146.2-106.69L401.31 546.2A112 112 0 0 1 396 512z"],[e,"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 0 0 227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 0 1-112 112z"])}),t.EyeTwoTone=u("eye",s,function(e,t){return l(i,[t,"M81.8 537.8a60.3 60.3 0 0 1 0-51.5C176.6 286.5 319.8 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c-192.1 0-335.4-100.5-430.2-300.2z"],[t,"M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z"],[e,"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z"],[e,"M508 336c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"])}),t.FileAddTwoTone=u("file-add",s,function(e,t){return l(i,[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42zm126 236v48c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V644H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V472c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"],[e,"M544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z"])}),t.FileExclamationTwoTone=u("file-exclamation",s,function(e,t){return l(i,[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42zm-54 96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V448zm32 336c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"],[e,"M488 640h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm-16 104a40 40 0 1 0 80 0 40 40 0 1 0-80 0z"])}),t.FileImageTwoTone=u("file-image",s,function(e,t){return l(i,[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42zm-134 50c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328.1c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0 1 12.6 0l41.1 52.4 77.8-99.2a8.1 8.1 0 0 1 12.7 0l136.5 174c4.1 5.2.4 12.9-6.3 12.9z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"],[e,"M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 0 0-12.6 0l-99.8 127.2a7.98 7.98 0 0 0 6.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 0 0-12.7 0zM360 442a40 40 0 1 0 80 0 40 40 0 1 0-80 0z"])}),t.FileExcelTwoTone=u("file-excel",s,function(e,t){return l(i,[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42zm51.6 120h35.7a12.04 12.04 0 0 1 10.1 18.5L546.1 623l84 130.4c3.6 5.6 2 13-3.6 16.6-2 1.2-4.2 1.9-6.5 1.9h-37.5c-4.1 0-8-2.1-10.2-5.7L510 664.8l-62.7 101.5c-2.2 3.5-6 5.7-10.2 5.7h-34.5a12.04 12.04 0 0 1-10.2-18.4l83.4-132.8-82.3-130.4c-3.6-5.7-1.9-13.1 3.7-16.6 1.9-1.3 4.1-1.9 6.4-1.9H442c4.2 0 8.1 2.2 10.3 5.8l61.8 102.4 61.2-102.3c2.2-3.6 6.1-5.8 10.3-5.8z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"],[e,"M514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0 0 10.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 0 0-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"])}),t.FileMarkdownTwoTone=u("file-markdown",s,function(e,t){return l(i,[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42zm72.3 122H641c6.6 0 12 5.4 12 12v272c0 6.6-5.4 12-12 12h-27.2c-6.6 0-12-5.4-12-12V581.7L535 732.3c-2 4.3-6.3 7.1-11 7.1h-24.1a12 12 0 0 1-11-7.1l-66.8-150.2V758c0 6.6-5.4 12-12 12H383c-6.6 0-12-5.4-12-12V486c0-6.6 5.4-12 12-12h35c4.8 0 9.1 2.8 11 7.2l83.2 191 83.1-191c1.9-4.4 6.2-7.2 11-7.2z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"],[e,"M429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0 0 11 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z"])}),t.FilePdfTwoTone=u("file-pdf",s,function(e,t){return l(i,[t,"M509.2 490.8c-.7-1.3-1.4-1.9-2.2-2-2.9 3.3-2.2 31.5 2.7 51.4 4-13.6 4.7-40.5-.5-49.4zm-1.6 120.5c-7.7 20-18.8 47.3-32.1 71.4 4-1.6 8.1-3.3 12.3-5 17.6-7.2 37.3-15.3 58.9-20.2-14.9-11.8-28.4-27.7-39.1-46.2z"],[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42zm55 287.6c16.1-1.9 30.6-2.8 44.3-2.3 12.8.4 23.6 2 32 5.1.2.1.3.1.5.2.4.2.8.3 1.2.5.5.2 1.1.4 1.6.7.1.1.3.1.4.2 4.1 1.8 7.5 4 10.1 6.6 9.1 9.1 11.8 26.1 6.2 39.6-3.2 7.7-11.7 20.5-33.3 20.5-21.8 0-53.9-9.7-82.1-24.8-25.5 4.3-53.7 13.9-80.9 23.1-5.8 2-11.8 4-17.6 5.9-38 65.2-66.5 79.4-84.1 79.4-4.2 0-7.8-.9-10.8-2-6.9-2.6-12.8-8-16.5-15-.9-1.7-1.6-3.4-2.2-5.2-1.6-4.8-2.1-9.6-1.3-13.6l.6-2.7c.1-.2.1-.4.2-.6.2-.7.4-1.4.7-2.1 0-.1.1-.2.1-.3 4.1-11.9 13.6-23.4 27.7-34.6 12.3-9.8 27.1-18.7 45.9-28.4 15.9-28 37.6-75.1 51.2-107.4-10.8-41.8-16.7-74.6-10.1-98.6.9-3.3 2.5-6.4 4.6-9.1.2-.2.3-.4.5-.6.1-.1.1-.2.2-.2 6.3-7.5 16.9-11.9 28.1-11.5 16.6.7 29.7 11.5 33 30.1 1.7 8 2.2 16.5 1.9 25.7v.7c0 .5 0 1-.1 1.5-.7 13.3-3 26.6-7.3 44.7-.4 1.6-.8 3.2-1.2 5.2l-1 4.1-.1.3c.1.2.1.3.2.5l1.8 4.5c.1.3.3.7.4 1 .7 1.6 1.4 3.3 2.1 4.8v.1c8.7 18.8 19.7 33.4 33.9 45.1 4.3 3.5 8.9 6.7 13.9 9.8 1.8-.5 3.5-.7 5.3-.9z"],[t,"M391.5 761c5.7-4.4 16.2-14.5 30.1-34.7-10.3 9.4-23.4 22.4-30.1 34.7zm270.9-83l.2-.3h.2c.6-.4.5-.7.4-.9-.1-.1-4.5-9.3-45.1-7.4 35.3 13.9 43.5 9.1 44.3 8.6z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"],[e,"M535.9 585.3c-.8-1.7-1.5-3.3-2.2-4.9-.1-.3-.3-.7-.4-1l-1.8-4.5c-.1-.2-.1-.3-.2-.5l.1-.3.2-1.1c4-16.3 8.6-35.3 9.4-54.4v-.7c.3-8.6-.2-17.2-2-25.6-3.8-21.3-19.5-29.6-32.9-30.2-11.3-.5-21.8 4-28.1 11.4-.1.1-.1.2-.2.2-.2.2-.4.4-.5.6-2.1 2.7-3.7 5.8-4.6 9.1-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.4-51.2 107.4v.1c-27.7 14.3-64.1 35.8-73.6 62.9 0 .1-.1.2-.1.3-.2.7-.5 1.4-.7 2.1-.1.2-.1.4-.2.6-.2.9-.5 1.8-.6 2.7-.9 4-.4 8.8 1.3 13.6.6 1.8 1.3 3.5 2.2 5.2 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-2.6-2.6-6-4.8-10.1-6.6-.1-.1-.3-.1-.4-.2-.5-.2-1.1-.4-1.6-.7-.4-.2-.8-.3-1.2-.5-.2-.1-.3-.1-.5-.2-16.2-5.8-41.7-6.7-76.3-2.8l-5.3.6c-5-3-9.6-6.3-13.9-9.8-14.2-11.3-25.1-25.8-33.8-44.7zM391.5 761c6.7-12.3 19.8-25.3 30.1-34.7-13.9 20.2-24.4 30.3-30.1 34.7zM507 488.8c.8.1 1.5.7 2.2 2 5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4zm-19.2 188.9c-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4 10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2zm175.4-.9c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4z"])}),t.FilePptTwoTone=u("file-ppt",s,function(e,t){return l(i,[t,"M464.5 516.2v108.4h38.9c44.7 0 71.2-10.9 71.2-54.3 0-34.4-20.1-54.1-53.9-54.1h-56.2z"],[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42zm90 218.4c0 55.2-36.8 94.1-96.2 94.1h-63.3V760c0 4.4-3.6 8-8 8H424c-4.4 0-8-3.6-8-8V484c0-4.4 3.6-8 8-8v.1h104c59.7 0 96 39.8 96 94.3z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"],[e,"M424 476.1c-4.4-.1-8 3.5-8 7.9v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.2c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1z"])}),t.FileTextTwoTone=u("file-text",s,function(e,t){return l(i,[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42zm-22 322c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm200-184v48c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"],[e,"M312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8zm192 128H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"])}),t.FileUnknownTwoTone=u("file-unknown",s,function(e,t){return l(i,[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42zm-22 424c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm110-228.4c.7 44.9-29.7 84.5-74.3 98.9-5.7 1.8-9.7 7.3-9.7 13.3V672c0 5.5-4.5 10-10 10h-32c-5.5 0-10-4.5-10-10v-32c.2-19.8 15.4-37.3 34.7-40.1C549 596.2 570 574.3 570 549c0-28.1-25.8-51.5-58-51.5s-58 23.4-58 51.6c0 5.2-4.4 9.4-9.8 9.4h-32.4c-5.4 0-9.8-4.1-9.8-9.5 0-57.4 50.1-103.7 111.5-103 59.3.8 107.7 46.1 108.5 101.6z"],[e,"M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"],[e,"M480 744a32 32 0 1 0 64 0 32 32 0 1 0-64 0zm-78-195c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103z"])}),t.FileZipTwoTone=u("file-zip",s,function(e,t){return l(i,[t,"M344 630h32v2h-32z"],[t,"M534 352V136H360v64h64v64h-64v64h64v64h-64v64h64v64h-64v62h64v160H296V520h64v-64h-64v-64h64v-64h-64v-64h64v-64h-64v-64h-64v752h560V394H576a42 42 0 0 1-42-42z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h64v64h64v-64h174v216a42 42 0 0 0 42 42h216v494z"],[e,"M296 392h64v64h-64zm0-128h64v64h-64zm0 318v160h128V582h-64v-62h-64v62zm48 50v-2h32v64h-32v-62zm16-432h64v64h-64zm0 256h64v64h-64zm0-128h64v64h-64z"])}),t.FileWordTwoTone=u("file-word",s,function(e,t){return l(i,[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42zm101.3 129.3c1.3-5.4 6.1-9.3 11.7-9.3h35.6a12.04 12.04 0 0 1 11.6 15.1l-74.4 276c-1.4 5.3-6.2 8.9-11.6 8.9h-31.8c-5.4 0-10.2-3.7-11.6-8.9l-52.8-197-52.8 197c-1.4 5.3-6.2 8.9-11.6 8.9h-32c-5.4 0-10.2-3.7-11.6-8.9l-74.2-276a12.02 12.02 0 0 1 11.6-15.1h35.4c5.6 0 10.4 3.9 11.7 9.3L434.6 680l49.7-198.9c1.3-5.4 6.1-9.1 11.6-9.1h32.2c5.5 0 10.3 3.7 11.6 9.1l49.8 199.3 45.8-199.1z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"],[e,"M528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 0 0-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 0 0-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z"])}),t.FileTwoTone=u("file",s,function(e,t){return l(i,[t,"M534 352V136H232v752h560V394H576a42 42 0 0 1-42-42z"],[e,"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z"])}),t.FilterTwoTone=u("filter",s,function(e,t){return l(i,[t,"M420.6 798h182.9V642H420.6zM411 561.4l9.5 16.6h183l9.5-16.6L811.3 226H212.7z"],[e,"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V642h182.9v156zm9.5-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"])}),t.FireTwoTone=u("fire",s,function(e,t){return l(i,[t,"M737 438.6c-9.6 15.5-21.1 30.7-34.4 45.6a73.1 73.1 0 0 1-51 24.4 73.36 73.36 0 0 1-53.4-18.8 74.01 74.01 0 0 1-24.4-59.8c3-47.4-12.4-103.1-45.8-165.7-16.9-31.4-37.1-58.2-61.2-80.4a240 240 0 0 1-12.1 46.5 354.26 354.26 0 0 1-58.2 101 349.6 349.6 0 0 1-58.6 56.8c-34 26.1-62 60-80.8 97.9a275.96 275.96 0 0 0-29.1 124c0 74.9 29.5 145.3 83 198.4 53.7 53.2 125 82.4 201 82.4s147.3-29.2 201-82.4c53.5-53 83-123.5 83-198.4 0-39.2-8.1-77.3-24-113.1-9.3-21-21-40.5-35-58.4z"],[e,"M834.1 469.2A347.49 347.49 0 0 0 751.2 354l-29.1-26.7a8.09 8.09 0 0 0-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 0 1-47.5 46.1 352.6 352.6 0 0 0-100.3 121.5A347.75 347.75 0 0 0 160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0 0 75.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 0 0 760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0 0 27.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0 0 58.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0 0 12.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0 0 24.4 59.8 73.36 73.36 0 0 0 53.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"])}),t.FolderAddTwoTone=u("folder-add",s,function(e,t){return l(i,[t,"M372.5 256H184v512h656V370.4H492.1L372.5 256zM540 443.1V528h84.5c4.1 0 7.5 3.1 7.5 7v42c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1z"],[e,"M880 298.4H521L403.7 186.2a8.15 8.15 0 0 0-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"],[e,"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1z"])}),t.FlagTwoTone=u("flag",s,function(e,t){return l(i,[t,"M184 232h368v336H184z"],[t,"M624 632c0 4.4-3.6 8-8 8H504v73h336V377H624v255z"],[e,"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z"])}),t.FolderTwoTone=u("folder",s,function(e,t){return l(i,[e,"M880 298.4H521L403.7 186.2a8.15 8.15 0 0 0-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"],[t,"M372.5 256H184v512h656V370.4H492.1z"])}),t.FolderOpenTwoTone=u("folder-open",s,function(e,t){return l(i,[t,"M159 768h612.3l103.4-256H262.3z"],[e,"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 0 0-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"])}),t.FrownTwoTone=u("frown",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0 1 96 0 48.01 48.01 0 0 1-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 0 1-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 0 1-8 8.4zm24-224a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"],[e,"M288 421a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm224 112c-85.5 0-155.6 67.3-160 151.6a8 8 0 0 0 8 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4 3.7-49.5 45.3-88.6 95.8-88.6s92 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 0 0 8-8.4C667.6 600.3 597.5 533 512 533zm128-112a48 48 0 1 0 96 0 48 48 0 1 0-96 0z"])}),t.FundTwoTone=u("fund",s,function(e,t){return l(i,[e,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z"],[t,"M136 792h752V232H136v560zm56.4-130.5l214.9-215c3.1-3.1 8.2-3.1 11.3 0L533 561l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.1 3.1 3.1 8.2 0 11.3l-297 297.2a8.03 8.03 0 0 1-11.3 0L412.9 537.2 240.4 709.7a8.03 8.03 0 0 1-11.3 0l-36.7-36.9a8.03 8.03 0 0 1 0-11.3z"],[e,"M229.1 709.7c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 0 0-11.3 0L533 561 418.6 446.5a8.03 8.03 0 0 0-11.3 0l-214.9 215a8.03 8.03 0 0 0 0 11.3l36.7 36.9z"])}),t.FunnelPlotTwoTone=u("funnel-plot",s,function(e,t){return l(i,[t,"M420.6 798h182.9V650H420.6zM297.7 374h428.6l85-148H212.7zm113.2 197.4l8.4 14.6h185.3l8.4-14.6L689.6 438H334.4z"],[e,"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V650h182.9v148zm9.5-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z"])}),t.GiftTwoTone=u("gift",s,function(e,t){return l(i,[t,"M546 378h298v104H546zM228 550h250v308H228zm-48-172h298v104H180zm366 172h250v308H546z"],[e,"M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zM478 858H228V550h250v308zm0-376H180V378h298v104zm0-176h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm68-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm250 622H546V550h250v308zm48-376H546V378h298v104z"])}),t.HddTwoTone=u("hdd",s,function(e,t){return l(i,[t,"M232 888h560V680H232v208zm448-140c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 616h560V408H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48zm-72-144h560V136H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48z"],[e,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z"],[e,"M312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-272h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 516a40 40 0 1 0 80 0 40 40 0 1 0-80 0z"])}),t.HeartTwoTone=u("heart",s,function(e,t){return l(i,[e,"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"],[t,"M679.7 201c-73.1 0-136.5 40.8-167.7 100.4C480.8 241.8 417.4 201 344.3 201c-104 0-188.3 82.6-188.3 184.5 0 201.2 356 429.3 356 429.3s356-228.1 356-429.3C868 283.6 783.7 201 679.7 201z"])}),t.HighlightTwoTone=u("highlight",s,function(e,t){return l(i,[t,"M229.6 796.3h160.2l54.3-54.1-80.1-78.9zm220.7-397.1l262.8 258.9 147.3-145-262.8-259zm-77.1 166.1l171.4 168.9 68.6-67.6-171.4-168.9z"],[e,"M957.6 507.5L603.2 158.3a7.9 7.9 0 0 0-11.2 0L353.3 393.5a8.03 8.03 0 0 0-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 0 0-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8v55.2c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6L539 830a7.9 7.9 0 0 0 11.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0 0 11.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.3H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.3l68.6-67.6 171.4 168.9-68.6 67.6zm168.5-76.1L450.3 399.2l147.3-145.1 262.8 259-147.3 145z"])}),t.HomeTwoTone=u("home",s,function(e,t){return l(i,[t,"M512.1 172.6l-370 369.7h96V868H392V640c0-22.1 17.9-40 40-40h160c22.1 0 40 17.9 40 40v228h153.9V542.3H882L535.2 195.7l-23.1-23.1zm434.5 422.9c-6 6-13.1 10.8-20.8 13.9 7.7-3.2 14.8-7.9 20.8-13.9zm-887-34.7c5 30.3 31.4 53.5 63.1 53.5h.9c-31.9 0-58.9-23-64-53.5zm-.9-10.5v-1.9 1.9zm.1-2.6c.1-3.1.5-6.1 1-9.1-.6 2.9-.9 6-1 9.1z"],[e,"M951 510c0-.1-.1-.1-.1-.2l-1.8-2.1c-.1-.1-.2-.3-.4-.4-.7-.8-1.5-1.6-2.2-2.4L560.1 118.8l-25.9-25.9a31.5 31.5 0 0 0-44.4 0L77.5 505a63.6 63.6 0 0 0-16 26.6l-.6 2.1-.3 1.1-.3 1.2c-.2.7-.3 1.4-.4 2.1 0 .1 0 .3-.1.4-.6 3-.9 6-1 9.1v3.3c0 .5 0 1 .1 1.5 0 .5 0 .9.1 1.4 0 .5.1 1 .1 1.5 0 .6.1 1.2.2 1.8 0 .3.1.6.1.9l.3 2.5v.1c5.1 30.5 32.2 53.5 64 53.5h42.5V940h691.7V614.3h43.4c8.6 0 16.9-1.7 24.5-4.9s14.7-7.9 20.8-13.9a63.6 63.6 0 0 0 18.7-45.3c0-14.7-5-28.8-14.3-40.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"])}),t.HourglassTwoTone=u("hourglass",s,function(e,t){return l(i,[t,"M512 548c-42.2 0-81.9 16.4-111.7 46.3A156.63 156.63 0 0 0 354 706v134h316V706c0-42.2-16.4-81.9-46.3-111.7A156.63 156.63 0 0 0 512 548zM354 318c0 42.2 16.4 81.9 46.3 111.7C430.1 459.6 469.8 476 512 476s81.9-16.4 111.7-46.3C653.6 399.9 670 360.2 670 318V184H354v134z"],[e,"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 0 1 354 318V184h316v134z"])}),t.Html5TwoTone=u("html5",s,function(e,t){return l(i,[e,"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2z"],[t,"M209.9 155.4l56.7 641.2 245.2 69.6 244.1-69.6 57.8-641.2H209.9zm530.4 117.9l-4.8 47.2-1.7 19.5H381.7l8.2 94.2H511v-.2h214.7l-3.2 24.3-21.2 242.2-1.7 16.3-187.7 51.7v.4h-1.7l-188.6-52-11.3-144.7h91l6.5 73.2 102.4 27.7h.8v-.2l102.4-27.7 11.4-118.5H511.9v.1H305.4l-22.7-253.5L281 249h461l-1.7 24.3z"],[e,"M281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z"])}),t.IdcardTwoTone=u("idcard",s,function(e,t){return l(i,[e,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z"],[t,"M136 792h752V232H136v560zm472-372c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm0 144c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48c0 4.4-3.2 8-7.1 8H615.1c-3.9 0-7.1-3.6-7.1-8v-48zM216.2 664.6c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.6 26.4 71.8 72.8 74.6 126.1a8 8 0 0 1-8 8.4h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224c-4.6 0-8.2-3.8-7.8-8.4z"],[t,"M321.3 463a51.7 52 0 1 0 103.4 0 51.7 52 0 1 0-103.4 0z"],[e,"M610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 0 0 8-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0 0 29.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 0 0-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z"])}),t.InfoCircleTwoTone=u("info-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm32 588c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"],[e,"M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"])}),t.InsuranceTwoTone=u("insurance",s,function(e,t){return l(i,[e,"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z"],[t,"M521.9 358.8h97.9v41.6h-97.9z"],[t,"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM413.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 0 1-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 0 1-33.6 79V656zm257.9-340v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5l-26.3 35.3a5.92 5.92 0 0 1-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a6.38 6.38 0 0 1-4.8 1.4c-1.7-.3-3.2-1.3-4.1-2.8L432 605.7a6 6 0 0 1 1.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8z"],[e,"M443.7 306.9l-38.6-18.3c-3.4-1.6-7.3.2-8.4 3.7-17.5 58.5-45.2 110.2-82.2 153.6a5.7 5.7 0 0 0-1.2 5.6l13.2 43.5c1.4 4.5 7 5.8 10.2 2.4 7.7-8.1 15.4-16.8 23.1-26V656c0 4.4 3.6 8 8 8h37.3c4.4 0 8-3.6 8-8h.2V393.1a429.2 429.2 0 0 0 33.6-79c.9-2.8-.5-5.9-3.2-7.2zm26.8 9.1v127.4c0 4.4 3.6 8 8 8h65.9V470h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 0 0-1.6 8.1l22.8 36.5c.9 1.5 2.4 2.5 4.1 2.8 1.7.3 3.5-.2 4.8-1.4 31.6-26.8 58.6-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V535.9c21.3 41.7 47.5 77.6 78.1 106.9 2.6 2.5 6.7 2.2 8.9-.7l26.3-35.3c2-2.6 1.4-6.4-1.2-8.5-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8v-35.6c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H478.5c-4.4 0-8 3.6-8 8zm51.4 42.8h97.9v41.6h-97.9v-41.6z"])}),t.InteractionTwoTone=u("interaction",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm114-401.9c0-55.3 44.6-100.1 99.7-100.1h205.8v-53.4c0-5.6 6.5-8.8 10.9-5.3L723.5 365c3.5 2.7 3.5 8 0 10.7l-109.1 85.7c-4.4 3.5-10.9.4-10.9-5.3v-53.4H397.8c-19.6 0-35.5 15.9-35.5 35.6v78.9c0 3.8-3.1 6.8-6.8 6.8h-50.7c-3.8 0-6.8-3-6.8-7v-78.9zm2.6 210.3l109.1-85.7c4.4-3.5 10.9-.4 10.9 5.3v53.4h205.6c19.6 0 35.5-15.9 35.5-35.6v-78.9c0-3.8 3.1-6.8 6.8-6.8h50.7c3.8 0 6.8 3.1 6.8 6.8v78.9c0 55.3-44.6 100.1-99.7 100.1H420.6v53.4c0 5.6-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.5z"],[e,"M304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z"])}),t.InterationTwoTone=u("interation",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm114-401.9c0-55.3 44.6-100.1 99.7-100.1h205.8v-53.4c0-5.6 6.5-8.8 10.9-5.3L723.5 365c3.5 2.7 3.5 8 0 10.7l-109.1 85.7c-4.4 3.5-10.9.4-10.9-5.3v-53.4H397.8c-19.6 0-35.5 15.9-35.5 35.6v78.9c0 3.8-3.1 6.8-6.8 6.8h-50.7c-3.8 0-6.8-3-6.8-7v-78.9zm2.6 210.3l109.1-85.7c4.4-3.5 10.9-.4 10.9 5.3v53.4h205.6c19.6 0 35.5-15.9 35.5-35.6v-78.9c0-3.8 3.1-6.8 6.8-6.8h50.7c3.8 0 6.8 3.1 6.8 6.8v78.9c0 55.3-44.6 100.1-99.7 100.1H420.6v53.4c0 5.6-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.5z"],[e,"M304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z"])}),t.LayoutTwoTone=u("layout",s,function(e,t){return l(i,[t,"M384 185h456v136H384zm-200 0h136v656H184zm696-73H144c-17.7 0-32 14.3-32 32v1c0-17.7 14.3-32 32-32h736c17.7 0 32 14.3 32 32v-1c0-17.7-14.3-32-32-32zM384 385h456v456H384z"],[e,"M880 113H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V145c0-17.7-14.3-32-32-32zM320 841H184V185h136v656zm520 0H384V385h456v456zm0-520H384V185h456v136z"])}),t.LeftCircleTwoTone=u("left-circle",s,function(e,t){return l(i,[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm104 240.9c0 10.3-4.9 19.9-13.2 25.9L457.4 512l145.4 105.1c8.3 6 13.2 15.7 13.2 25.9v46.9c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 0 1 0-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9z"],[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[e,"M603.3 327.5l-246 178a7.95 7.95 0 0 0 0 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z"])}),t.LeftSquareTwoTone=u("left-square",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm181.3-334.5l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9c0 10.3-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.7 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.4l-246-178a7.95 7.95 0 0 1 0-12.9z"],[e,"M365.3 518.4l246 178c5.3 3.9 12.7.1 12.7-6.4v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a7.95 7.95 0 0 0 0 12.9z"])}),t.LikeTwoTone=u("like",s,function(e,t){return l(i,[t,"M273 495.9v428l.3-428zm538.2-88.3H496.8l9.6-198.4c.6-11.9-4.7-23.1-14.6-30.5-6.1-4.5-13.6-6.8-21.1-6.7-19.6.1-36.9 13.4-42.2 32.3-37.1 134.4-64.9 235.2-83.5 302.5V852h399.4a56.85 56.85 0 0 0 33.6-51.8c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0 0 19.6-43c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0 0 19.6-43c0-9.7-2.3-18.9-6.9-27.3l-14-25.5 21.9-19a56.76 56.76 0 0 0 19.6-43c0-19.1-11-37.5-28.8-48.4z"],[e,"M112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32zm773.9 5.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.5-65.5-111a67.67 67.67 0 0 0-34.3-9.3H572.3l6-122.9c1.5-29.7-9-57.9-29.5-79.4a106.4 106.4 0 0 0-77.9-33.4c-52 0-98 35-111.8 85.1l-85.8 310.8-.3 428h472.1c9.3 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37zM820.4 499l-21.9 19 14 25.5a56.2 56.2 0 0 1 6.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 0 1 6.9 27.3c0 22.4-13.2 42.6-33.6 51.8H345V506.8c18.6-67.2 46.4-168 83.5-302.5a44.28 44.28 0 0 1 42.2-32.3c7.5-.1 15 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.1 32.2-19.6 43z"])}),t.LockTwoTone=u("lock",s,function(e,t){return l(i,[e,"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304z"],[t,"M232 840h560V536H232v304zm280-226a48.01 48.01 0 0 1 28 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0 1 28-87z"],[e,"M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z"])}),t.MailTwoTone=u("mail",s,function(e,t){return l(i,[t,"M477.5 536.3L135.9 270.7l-27.5-21.4 27.6 21.5V792h752V270.8L546.2 536.3a55.99 55.99 0 0 1-68.7 0z"],[t,"M876.3 198.8l39.3 50.5-27.6 21.5 27.7-21.5-39.3-50.5z"],[e,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-94.5 72.1L512 482 190.5 232.1h643zm54.5 38.7V792H136V270.8l-27.6-21.5 27.5 21.4 341.6 265.6a55.99 55.99 0 0 0 68.7 0L888 270.8l27.6-21.5-39.3-50.5h.1l39.3 50.5-27.7 21.5z"])}),t.MedicineBoxTwoTone=u("medicine-box",s,function(e,t){return l(i,[t,"M244.3 328L184 513.4V840h656V513.4L779.7 328H244.3zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48z"],[e,"M652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"],[e,"M839.2 278.1a32 32 0 0 0-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 0 0-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840z"])}),t.MehTwoTone=u("meh",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0 1 96 0 48.01 48.01 0 0 1-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"],[e,"M288 421a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm376 144H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-24-144a48 48 0 1 0 96 0 48 48 0 1 0-96 0z"])}),t.MessageTwoTone=u("message",s,function(e,t){return l(i,[t,"M775.3 248.9a369.62 369.62 0 0 0-119-80A370.2 370.2 0 0 0 512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 0 0-80-119zM312 560a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96zm200 0a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96zm200 0a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"],[e,"M664 512a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm-400 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0z"],[e,"M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 0 0-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 0 0-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 0 0 112 714v152a46 46 0 0 0 46 46h152.1A449.4 449.4 0 0 0 510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 0 0 142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"],[e,"M464 512a48 48 0 1 0 96 0 48 48 0 1 0-96 0z"])}),t.MinusCircleTwoTone=u("minus-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"],[e,"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"])}),t.MinusSquareTwoTone=u("minus-square",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48z"],[e,"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"])}),t.MobileTwoTone=u("mobile",s,function(e,t){return l(i,[e,"M744 64H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H288V136h448v752z"],[t,"M288 888h448V136H288v752zm224-142c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z"],[e,"M472 786a40 40 0 1 0 80 0 40 40 0 1 0-80 0z"])}),t.PauseCircleTwoTone=u("pause-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-80 524c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z"],[e,"M424 352h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"])}),t.MoneyCollectTwoTone=u("money-collect",s,function(e,t){return l(i,[t,"M256 744.4l256 93.1 256-93.1V184H256v560.4zM359.7 313c1.2-.7 2.5-1 3.8-1h55.7a8 8 0 0 1 7.1 4.4L511 485.2h3.3L599 316.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8L564 515.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V704c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 323.8c-2.1-3.8-.7-8.7 3.2-10.8z"],[e,"M911.5 700.7a8 8 0 0 0-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM768 744.4l-256 93.1-256-93.1V184h512v560.4z"],[e,"M460.4 515.4h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 0 0-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6z"])}),t.NotificationTwoTone=u("notification",s,function(e,t){return l(i,[t,"M229.6 678.1c-3.7 11.6-5.6 23.9-5.6 36.4 0-12.5 2-24.8 5.7-36.4h-.1zm76.3-260.2H184v188.2h121.9l12.9 5.2L840 820.7V203.3L318.8 412.7z"],[e,"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"])}),t.PhoneTwoTone=u("phone",s,function(e,t){return l(i,[t,"M721.7 184.9L610.9 295.8l120.8 120.7-8 21.6A481.29 481.29 0 0 1 438 723.9l-21.6 8-.9-.9-119.8-120-110.8 110.9 104.5 104.5c10.8 10.7 26 15.7 40.8 13.2 117.9-19.5 235.4-82.9 330.9-178.4s158.9-213.1 178.4-331c2.5-14.8-2.5-30-13.3-40.8L721.7 184.9z"],[e,"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 0 1-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 0 0-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 0 0 285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z"])}),t.PictureTwoTone=u("picture",s,function(e,t){return l(i,[e,"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z"],[t,"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z"],[t,"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 1 1 0 176 88 88 0 0 1 0-176z"],[t,"M276 368a28 28 0 1 0 56 0 28 28 0 1 0-56 0z"],[e,"M304 456a88 88 0 1 0 0-176 88 88 0 0 0 0 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"])}),t.PlayCircleTwoTone=u("play-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm164.1 378.2L457.7 677.1a8.02 8.02 0 0 1-12.7-6.5V353a8 8 0 0 1 12.7-6.5l218.4 158.8a7.9 7.9 0 0 1 0 12.9z"],[e,"M676.1 505.3L457.7 346.5A8 8 0 0 0 445 353v317.6a8.02 8.02 0 0 0 12.7 6.5l218.4-158.9a7.9 7.9 0 0 0 0-12.9z"])}),t.PlaySquareTwoTone=u("play-square",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 0 1 0 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z"],[e,"M442.3 677.6l199.4-156.8a11.2 11.2 0 0 0 0-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z"])}),t.PieChartTwoTone=u("pie-chart",s,function(e,t){return l(i,[t,"M316.2 920.5c-47.6-20.1-90.4-49-127.1-85.7a398.19 398.19 0 0 1-85.7-127.1A397.12 397.12 0 0 1 72 552.2v.2a398.57 398.57 0 0 0 117 282.5c36.7 36.7 79.4 65.5 127 85.6A396.64 396.64 0 0 0 471.6 952c27 0 53.6-2.7 79.7-7.9-25.9 5.2-52.4 7.8-79.3 7.8-54 .1-106.4-10.5-155.8-31.4zM560 472c-4.4 0-8-3.6-8-8V79.9c0-1.3.3-2.5.9-3.6-.9 1.3-1.5 2.9-1.5 4.6v383.7c0 4.4 3.6 8 8 8l383.6-1c1.6 0 3.1-.5 4.4-1.3-1 .5-2.2.7-3.4.7l-384 1z"],[t,"M619.8 147.6v256.6l256.4-.7c-13-62.5-44.3-120.5-90-166.1a332.24 332.24 0 0 0-166.4-89.8z"],[t,"M438 221.7c-75.9 7.6-146.2 40.9-200.8 95.5C174.5 379.9 140 463.3 140 552s34.5 172.1 97.2 234.8c62.3 62.3 145.1 96.8 233.2 97.2 88.2.4 172.7-34.1 235.3-96.2C761 733 794.6 662.3 802.3 586H438V221.7z"],[e,"M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 0 0-282.8 117.1 398.19 398.19 0 0 0-85.7 127.1A397.61 397.61 0 0 0 72 552v.2c0 53.9 10.6 106.2 31.4 155.5 20.1 47.6 49 90.4 85.7 127.1 36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 0 0 472 952c26.9 0 53.4-2.6 79.3-7.8 26.1-5.3 51.7-13.1 76.4-23.6 47.6-20.1 90.4-49 127.1-85.7 36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 0 0 872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 0 1 470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552s34.5-172.1 97.2-234.8c54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8z"],[e,"M952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 0 0 589 74.6L560.7 72c-3.4-.3-6.4 1.5-7.8 4.3a8.7 8.7 0 0 0-.9 3.6V464c0 4.4 3.6 8 8 8l384-1c1.2 0 2.3-.3 3.4-.7a8.1 8.1 0 0 0 4.6-7.9zm-332.2-58.2V147.6a332.24 332.24 0 0 1 166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z"])}),t.PlusCircleTwoTone=u("plus-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z"],[e,"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"])}),t.PlusSquareTwoTone=u("plus-square",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48z"],[e,"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"])}),t.PoundCircleTwoTone=u("pound-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm146 582.1c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 0 1-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8v39.8z"],[e,"M650 674.3H470v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.8-5.3-41h98.6c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8h-112c-7.2-22.6-13.4-45.8-13.4-70.5 0-43.6 34-70.2 87.3-70.2 21.4 0 42.5 4.1 60.4 10.5a8 8 0 0 0 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.9-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.4 6.8 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.2c3.4 14.8 5.9 29.5 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8v38.5c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z"])}),t.PrinterTwoTone=u("printer",s,function(e,t){return l(i,[t,"M360 180h304v152H360zm492 220H172c-6.6 0-12 5.4-12 12v292h132V500h440v204h132V412c0-6.6-5.4-12-12-12zm-24 84c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z"],[e,"M852 332H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z"],[e,"M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8z"])}),t.ProfileTwoTone=u("profile",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z"],[e,"M340 656a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm0-144a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm0-144a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"])}),t.ProjectTwoTone=u("project",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm472-560c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280z"],[e,"M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8z"])}),t.PushpinTwoTone=u("pushpin",s,function(e,t){return l(i,[t,"M474.8 357.7l-24.5 24.5-34.4-3.8c-9.6-1.1-19.3-1.6-28.9-1.6-29 0-57.5 4.7-84.7 14.1-14 4.8-27.4 10.8-40.3 17.9l353.1 353.3a259.92 259.92 0 0 0 30.4-153.9l-3.8-34.4 24.5-24.5L800 415.5 608.5 224 474.8 357.7z"],[e,"M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 0 0-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 0 0-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 0 1-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z"])}),t.PropertySafetyTwoTone=u("property-safety",s,function(e,t){return l(i,[e,"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z"],[t,"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM593.9 318h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3L585 323.5a10 10 0 0 1 8.9-5.5z"],[e,"M438.9 323.5a9.88 9.88 0 0 0-8.9-5.5h-46c-1.7 0-3.3.4-4.8 1.2-4.9 2.7-6.6 8.8-4 13.6l88 161.1H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1c.8-1.5 1.2-3.1 1.1-4.8 0-5.5-4.5-10-10-10h-45a10 10 0 0 0-8.9 5.5l-73.2 144.3-72.9-144.3z"])}),t.QuestionCircleTwoTone=u("question-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 0 0-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z"],[e,"M472 732a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0 1 30.9-44.8c59-22.7 97.1-74.7 97.1-132.5 0-39.3-17.2-76-48.4-103.3z"])}),t.ReconciliationTwoTone=u("reconciliation",s,function(e,t){return l(i,[t,"M740 344H404V240H304v160h176c17.7 0 32 14.3 32 32v360h328V240H740v104zM584 448c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56zm92 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-341v96c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z"],[t,"M642 657a34 34 0 1 0 68 0 34 34 0 1 0-68 0z"],[e,"M592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm112-104v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z"],[e,"M880 168H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552z"],[e,"M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z"])}),t.RedEnvelopeTwoTone=u("red-envelope",s,function(e,t){return l(i,[e,"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z"],[t,"M492.3 397.2L232 193.1V888h560V193.1L531.8 397.2a31.99 31.99 0 0 1-39.5 0zm99.4 60.9h47.8a8.45 8.45 0 0 1 7.4 12.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4V665c0 4.6-3.8 8.4-8.4 8.4h-63.3V702h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.7-3.5 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4L377 470.4a8.4 8.4 0 0 1 3.4-11.4c1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.7 142 71.9-141.9a8.6 8.6 0 0 1 7.5-4.6z"],[t,"M232 136.7h31.7L512 331.3l248.3-194.6H792v-.7H232z"],[e,"M440.6 462.6a8.38 8.38 0 0 0-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 0 0-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 0 0-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142z"])}),t.RestTwoTone=u("rest",s,function(e,t){return l(i,[t,"M326.4 844h363.2l44.3-520H282l44.4 520zM508 416c79.5 0 144 64.5 144 144s-64.5 144-144 144-144-64.5-144-144 64.5-144 144-144z"],[e,"M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"],[e,"M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0 0 31.9 29.3h429.2a32 32 0 0 0 31.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z"])}),t.RightCircleTwoTone=u("right-circle",s,function(e,t){return l(i,[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm154.7 378.4l-246 178c-5.3 3.8-12.7 0-12.7-6.5V643c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9z"],[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[e,"M666.7 505.5l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L566.6 512 421.2 617.1c-8.3 6-13.2 15.7-13.2 25.9v46.9c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.7 0-12.9z"])}),t.RocketTwoTone=u("rocket",s,function(e,t){return l(i,[t,"M261.7 621.4c-9.4 14.6-17 30.3-22.5 46.6H324V558.7c-24.8 16.2-46 37.5-62.3 62.7zM700 558.7V668h84.8c-5.5-16.3-13.1-32-22.5-46.6a211.6 211.6 0 0 0-62.3-62.7zm-64-239.9l-124-147-124 147V668h248V318.8zM512 448a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"],[e,"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 0 0-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0 0 43.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0 0 43.1-30.5 97.52 97.52 0 0 0 21.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zm-540-68h-84.8c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668zm64-184.9V318.8l124-147 124 147V668H388V483.1zm240.1 301.1c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 0 1-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM700 668V558.7a211.6 211.6 0 0 1 62.3 62.7c9.4 14.6 17 30.3 22.5 46.6H700z"],[e,"M464 400a48 48 0 1 0 96 0 48 48 0 1 0-96 0z"])}),t.RightSquareTwoTone=u("right-square",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm216-196.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9l-246 178c-5.3 3.9-12.7.1-12.7-6.4v-46.9z"],[e,"M412.7 696.4l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.7-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.4z"])}),t.SafetyCertificateTwoTone=u("safety-certificate",s,function(e,t){return l(i,[e,"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z"],[t,"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM632.8 328H688c6.5 0 10.3 7.4 6.5 12.7L481.9 633.4a16.1 16.1 0 0 1-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89.1 150.9-207.8c3-4.1 7.9-6.6 13-6.6z"],[e,"M404.2 453.3c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0 0 26 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"])}),t.SaveTwoTone=u("save",s,function(e,t){return l(i,[t,"M704 320c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V184H184v656h656V341.8l-136-136V320zM512 730c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144z"],[e,"M512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"],[e,"M893.3 293.3L730.7 130.7c-.7-.7-1.4-1.3-2.1-2-.1-.1-.3-.2-.4-.3-.7-.7-1.5-1.3-2.2-1.9a64 64 0 0 0-22-11.7V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840z"])}),t.ScheduleTwoTone=u("schedule",s,function(e,t){return l(i,[t,"M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.4-91.2l-165 228.7a15.9 15.9 0 0 1-25.8 0L493.5 531.3c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.4 12.9 6.6l52.8 73.1 103.6-143.7c3-4.1 7.8-6.6 12.8-6.5h54.9c6.5 0 10.3 7.4 6.5 12.7z"],[e,"M724.2 454.6L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0 0 25.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"],[e,"M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z"],[e,"M416 632H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"])}),t.SecurityScanTwoTone=u("security-scan",s,function(e,t){return l(i,[e,"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z"],[t,"M460.7 451.1a80.1 80.1 0 1 0 160.2 0 80.1 80.1 0 1 0-160.2 0z"],[t,"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zm428.7 122.5c56.3 56.3 56.3 147.5 0 203.8-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 0 1-11.3 0l-34-34a8.03 8.03 0 0 1 0-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0z"],[e,"M418.8 527.8l-77.5 77.5a8.03 8.03 0 0 0 0 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.6 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 122.9-20.1 178.6zm65.4-133.3a80.1 80.1 0 0 1 113.3 0 80.1 80.1 0 0 1 0 113.3c-31.3 31.3-82 31.3-113.3 0s-31.3-82 0-113.3z"])}),t.SettingTwoTone=u("setting",s,function(e,t){return l(i,[t,"M859.3 569.7l.2.1c3.1-18.9 4.6-38.2 4.6-57.3 0-17.1-1.3-34.3-3.7-51.1 2.4 16.7 3.6 33.6 3.6 50.5 0 19.4-1.6 38.8-4.7 57.8zM99 398.1c-.5-.4-.9-.8-1.4-1.3.7.7 1.4 1.4 2.2 2.1l65.5 55.9v-.1L99 398.1zm536.6-216h.1l-15.5-83.8c-.2-1-.4-1.9-.7-2.8.1.5.3 1.1.4 1.6l15.7 85zm54 546.5l31.4-25.8 92.8 32.9c17-22.9 31.3-47.5 42.6-73.6l-74.7-63.9 6.6-40.1c2.5-15.1 3.8-30.6 3.8-46.1s-1.3-31-3.8-46.1l-6.5-39.9 74.7-63.9c-11.4-26-25.6-50.7-42.6-73.6l-92.8 32.9-31.4-25.8c-23.9-19.6-50.6-35-79.3-45.8l-38.1-14.3-17.9-97a377.5 377.5 0 0 0-85 0l-17.9 97.2-37.9 14.3c-28.5 10.8-55 26.2-78.7 45.7l-31.4 25.9-93.4-33.2c-17 22.9-31.3 47.5-42.6 73.6l75.5 64.5-6.5 40c-2.5 14.9-3.7 30.2-3.7 45.5 0 15.2 1.3 30.6 3.7 45.5l6.5 40-75.5 64.5c11.4 26 25.6 50.7 42.6 73.6l93.4-33.2 31.4 25.9c23.7 19.5 50.2 34.9 78.7 45.7l37.8 14.5 17.9 97.2c28.2 3.2 56.9 3.2 85 0l17.9-97 38.1-14.3c28.8-10.8 55.4-26.2 79.3-45.8zm-177.1-50.3c-30.5 0-59.2-7.8-84.3-21.5C373.3 627 336 568.9 336 502c0-97.2 78.8-176 176-176 66.9 0 125 37.3 154.8 92.2 13.7 25 21.5 53.7 21.5 84.3 0 97.1-78.7 175.8-175.8 175.8zM207.2 812.8c-5.5 1.9-11.2 2.3-16.6 1.2 5.7 1.2 11.7 1 17.5-1l81.4-29c-.1-.1-.3-.2-.4-.3l-81.9 29.1zm717.6-414.7l-65.5 56c0 .2.1.5.1.7l65.4-55.9c7.1-6.1 11.1-14.9 11.2-24-.3 8.8-4.3 17.3-11.2 23.2z"],[t,"M935.8 646.6c.5 4.7 0 9.5-1.7 14.1l-.9 2.6a446.02 446.02 0 0 1-79.7 137.9l-1.8 2.1a32 32 0 0 1-35.1 9.5l-81.3-28.9a350 350 0 0 1-99.7 57.6l-15.7 85a32.05 32.05 0 0 1-25.8 25.7l-2.7.5a445.2 445.2 0 0 1-79.2 7.1h.3c26.7 0 53.4-2.4 79.4-7.1l2.7-.5a32.05 32.05 0 0 0 25.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c1.6-4.7 2.1-9.7 1.5-14.5z"],[e,"M688 502c0-30.3-7.7-58.9-21.2-83.8C637 363.3 578.9 326 512 326c-97.2 0-176 78.8-176 176 0 66.9 37.3 125 92.2 154.8 24.9 13.5 53.4 21.2 83.8 21.2 97.2 0 176-78.8 176-176zm-288 0c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 0 1 624 502c0 29.9-11.7 58-32.8 79.2A111.6 111.6 0 0 1 512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 502z"],[e,"M594.1 952.2a32.05 32.05 0 0 0 25.8-25.7l15.7-85a350 350 0 0 0 99.7-57.6l81.3 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c1.7-4.6 2.2-9.4 1.7-14.1-.9-7.9-4.7-15.4-11-20.9l-65.3-55.9-.2-.1c3.1-19 4.7-38.4 4.7-57.8 0-16.9-1.2-33.9-3.6-50.5-.3-2.2-.7-4.4-1-6.6 0-.2-.1-.5-.1-.7l65.5-56c6.9-5.9 10.9-14.4 11.2-23.2.1-4-.5-8.1-1.9-12l-.9-2.6a443.74 443.74 0 0 0-79.7-137.9l-1.8-2.1a32.12 32.12 0 0 0-35.1-9.5l-81.3 28.9c-30-24.6-63.4-44-99.6-57.6h-.1l-15.7-85c-.1-.5-.2-1.1-.4-1.6a32.08 32.08 0 0 0-25.4-24.1l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 0 0-25.8 25.7l-15.8 85.4a351.86 351.86 0 0 0-99 57.4l-81.9-29.1a32 32 0 0 0-35.1 9.5l-1.8 2.1a446.02 446.02 0 0 0-79.7 137.9l-.9 2.6a32.09 32.09 0 0 0 7.9 33.9c.5.4.9.9 1.4 1.3l66.3 56.6v.1c-3.1 18.8-4.6 37.9-4.6 57 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 0 0-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c4.9 5.7 11.4 9.4 18.5 10.7 5.4 1 11.1.7 16.6-1.2l81.9-29.1c.1.1.3.2.4.3 29.7 24.3 62.8 43.6 98.6 57.1l15.8 85.4a32.05 32.05 0 0 0 25.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1h.3c26.6 0 53.3-2.4 79.2-7.1l2.7-.5zm-39.8-66.5a377.5 377.5 0 0 1-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 0 1-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97z"])}),t.ShopTwoTone=u("shop",s,function(e,t){return l(i,[t,"M839.5 344h-655c-.3 0-.5.2-.5.5v91.2c0 59.8 49 108.3 109.3 108.3 40.7 0 76.2-22 95.1-54.7 2.9-5.1 8.4-8.3 14.3-8.3s11.3 3.2 14.3 8.3c18.8 32.7 54.3 54.7 95 54.7 40.8 0 76.4-22.1 95.1-54.9 2.9-5 8.2-8.1 13.9-8.1h.6c5.8 0 11 3.1 13.9 8.1 18.8 32.8 54.4 54.9 95.2 54.9C791 544 840 495.5 840 435.7v-91.2c0-.3-.2-.5-.5-.5z"],[e,"M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0 0 14.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0 0 15.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234.4 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0 0 38.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0 0 38.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c3-1.3 6-2.6 9-4v242.2zM840 435.7c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 0 1 512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 0 1-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z"])}),t.ShoppingTwoTone=u("shopping",s,function(e,t){return l(i,[t,"M696 472c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88H400v88c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88h-96v456h560V384h-96v88z"],[e,"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z"])}),t.SkinTwoTone=u("skin",s,function(e,t){return l(i,[t,"M512 318c-79.2 0-148.5-48.8-176.7-120H182v196h119v432h422V394h119V198H688.7c-28.2 71.2-97.5 120-176.7 120z"],[e,"M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 0 0-37-29.3H154a44 44 0 0 0-44 44v252a44 44 0 0 0 44 44h75v388a44 44 0 0 0 44 44h478a44 44 0 0 0 44-44V466h75a44 44 0 0 0 44-44V170a44 44 0 0 0-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z"])}),t.SlidersTwoTone=u("sliders",s,function(e,t){return l(i,[t,"M180 292h80v440h-80zm369 180h-74a3 3 0 0 0-3 3v74a3 3 0 0 0 3 3h74a3 3 0 0 0 3-3v-74a3 3 0 0 0-3-3zm215-108h80v296h-80z"],[e,"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 0 1-3 3h-74a3 3 0 0 1-3-3v-74a3 3 0 0 1 3-3h74a3 3 0 0 1 3 3v74zM320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440z"])}),t.SmileTwoTone=u("smile",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0 1 96 0 48.01 48.01 0 0 1-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 0 1 8-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 0 1 8 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"],[e,"M288 421a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm376 112h-48.1c-4.2 0-7.8 3.2-8.1 7.4-3.7 49.5-45.3 88.6-95.8 88.6s-92-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 0 0-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 0 0-8-8.4zm-24-112a48 48 0 1 0 96 0 48 48 0 1 0-96 0z"])}),t.SnippetsTwoTone=u("snippets",s,function(e,t){return l(i,[t,"M450 510V336H232v552h432V550H490c-22.1 0-40-17.9-40-40z"],[e,"M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z"])}),t.SoundTwoTone=u("sound",s,function(e,t){return l(i,[t,"M275.4 424H146v176h129.4l18 11.7L586 803V221L293.3 412.3z"],[e,"M892.1 737.8l-110.3-63.7a15.9 15.9 0 0 0-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0 0 21.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM934 476H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM760 344a15.9 15.9 0 0 0 21.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 0 0-21.7-5.9L746 287.8a15.99 15.99 0 0 0-5.8 21.8L760 344zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582z"])}),t.StarTwoTone=u("star",s,function(e,t){return l(i,[t,"M512.5 190.4l-94.4 191.3-211.2 30.7 152.8 149-36.1 210.3 188.9-99.3 188.9 99.2-36.1-210.3 152.8-148.9-211.2-30.7z"],[e,"M908.6 352.8l-253.9-36.9L541.2 85.8c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L370.3 315.9l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1L239 839.4a31.95 31.95 0 0 0 46.4 33.7l227.1-119.4 227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM665.3 561.3l36.1 210.3-188.9-99.2-188.9 99.3 36.1-210.3-152.8-149 211.2-30.7 94.4-191.3 94.4 191.3 211.2 30.7-152.8 148.9z"])}),t.StopTwoTone=u("stop",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm288.5 682.8L277.7 224C258 240 240 258 224 277.7l522.8 522.8C682.8 852.7 601 884 512 884c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372c0 89-31.3 170.8-83.5 234.8z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372c89 0 170.8-31.3 234.8-83.5L224 277.7c16-19.7 34-37.7 53.7-53.7l522.8 522.8C852.7 682.8 884 601 884 512c0-205.4-166.6-372-372-372z"])}),t.SwitcherTwoTone=u("switcher",s,function(e,t){return l(i,[t,"M184 840h528V312H184v528zm116-290h296v64H300v-64z"],[e,"M880 112H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z"],[e,"M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528z"],[e,"M300 550h296v64H300z"])}),t.TabletTwoTone=u("tablet",s,function(e,t){return l(i,[e,"M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752z"],[t,"M232 888h560V136H232v752zm280-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z"],[e,"M472 784a40 40 0 1 0 80 0 40 40 0 1 0-80 0z"])}),t.TagTwoTone=u("tag",s,function(e,t){return l(i,[t,"M589 164.6L189.3 564.3l270.4 270.4L859.4 435 836 188l-247-23.4zM680 432c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88z"],[e,"M680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"],[e,"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 0 0 0 14.1l363.8 363.8a9.9 9.9 0 0 0 7.1 2.9c2.7 0 5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7z"])}),t.TagsTwoTone=u("tags",s,function(e,t){return l(i,[t,"M477.5 694l311.9-311.8-19-224.6-224.6-19-311.9 311.9L477.5 694zm116-415.5a47.81 47.81 0 0 1 33.9-33.9c16.6-4.4 34.2.3 46.4 12.4a47.93 47.93 0 0 1 12.4 46.4 47.81 47.81 0 0 1-33.9 33.9c-16.6 4.4-34.2-.3-46.4-12.4a48.3 48.3 0 0 1-12.4-46.4z"],[t,"M476.6 792.6c-1.7-.2-3.4-1-4.7-2.3L137.7 456.1a8.03 8.03 0 0 1 0-11.3L515.9 66.6c1.2-1.3 2.9-2.1 4.7-2.3h-.4c-2.3-.2-4.7.6-6.3 2.3L135.7 444.8a8.03 8.03 0 0 0 0 11.3l334.2 334.2c1.8 1.9 4.3 2.6 6.7 2.3z"],[e,"M889.7 539.8l-39.6-39.5a8.03 8.03 0 0 0-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 0 0-11.3 0l-39.6 39.5a8.03 8.03 0 0 0 0 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3zM652.3 337.3a47.81 47.81 0 0 0 33.9-33.9c4.4-16.6-.3-34.2-12.4-46.4a47.93 47.93 0 0 0-46.4-12.4 47.81 47.81 0 0 0-33.9 33.9c-4.4 16.6.3 34.2 12.4 46.4a48.3 48.3 0 0 0 46.4 12.4z"],[e,"M137.7 444.8a8.03 8.03 0 0 0 0 11.3l334.2 334.2c1.3 1.3 2.9 2.1 4.7 2.3 2.4.3 4.8-.5 6.6-2.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3h-1.6c-1.8.2-3.4 1-4.7 2.3L137.7 444.8zm408.1-306.2l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9z"])}),t.ToolTwoTone=u("tool",s,function(e,t){return l(i,[t,"M706.8 488.7a32.05 32.05 0 0 1-45.3 0L537 364.2a32.05 32.05 0 0 1 0-45.3l132.9-132.8a184.2 184.2 0 0 0-144 53.5c-58.1 58.1-69.3 145.3-33.6 214.6L439.5 507c-.1 0-.1-.1-.1-.1L209.3 737l79.2 79.2 274-274.1.1.1 8.8-8.8c69.3 35.7 156.5 24.5 214.6-33.6 39.2-39.1 57.3-92.1 53.6-143.9L706.8 488.7z"],[e,"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 0 1 144-53.5L537 318.9a32.05 32.05 0 0 0 0 45.3l124.5 124.5a32.05 32.05 0 0 0 45.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"])}),t.TrademarkCircleTwoTone=u("trademark-circle",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm170.7 584.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H384c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7z"],[t,"M529.9 357h-83.4v148H528c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z"],[e,"M605.4 549.3c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.4-131.1-144.2-131.1H384c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.7c4.4 0 8-3.6 8-8V561.2h88.7L610 720.4c1.3 2.8 4.1 4.6 7.2 4.6h62c1.2 0 2.4-.3 3.5-.8 3.9-2 5.6-6.8 3.5-10.7l-80.8-164.2zM528 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.6 0 46.8-29.8 72.4-82.8 72.4z"])}),t.UnlockTwoTone=u("unlock",s,function(e,t){return l(i,[t,"M232 840h560V536H232v304zm280-226a48.01 48.01 0 0 1 28 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0 1 28-87z"],[e,"M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z"],[e,"M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304z"])}),t.TrophyTwoTone=u("trophy",s,function(e,t){return l(i,[t,"M320 480c0 49.1 19.1 95.3 53.9 130.1 34.7 34.8 81 53.9 130.1 53.9h16c49.1 0 95.3-19.1 130.1-53.9 34.8-34.7 53.9-81 53.9-130.1V184H320v296zM184 352c0 41 26.9 75.8 64 87.6-37.1-11.9-64-46.7-64-87.6zm364 382.5C665 721.8 758.4 630.2 773.8 514 758.3 630.2 665 721.7 548 734.5zM250.2 514C265.6 630.2 359 721.8 476 734.5 359 721.7 265.7 630.2 250.2 514z"],[e,"M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 0 0-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 0 0-44-44zM248 439.6a91.99 91.99 0 0 1-64-87.6V232h64v207.6zM704 480c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z"])}),t.UpCircleTwoTone=u("up-circle",s,function(e,t){return l(i,[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm178 479h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z"],[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[e,"M518.4 360.3a7.95 7.95 0 0 0-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7h46.9c10.3 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246z"])}),t.ThunderboltTwoTone=u("thunderbolt",s,function(e,t){return l(i,[t,"M695.4 164.1H470.8L281.2 491.5h157.4l-60.3 241 319.8-305.1h-211z"],[e,"M848.1 359.3H627.8L825.9 109c4.1-5.3.4-13-6.3-13H436.1c-2.8 0-5.5 1.5-6.9 4L170.1 547.5c-3.1 5.3.7 12 6.9 12h174.4L262 917.1c-1.9 7.8 7.5 13.3 13.3 7.7L853.6 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.3 732.5l60.3-241H281.2l189.6-327.4h224.6L487.1 427.4h211L378.3 732.5z"])}),t.UpSquareTwoTone=u("up-square",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"],[t,"M184 840h656V184H184v656zm143.5-228.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7z"],[e,"M334 624h46.9c10.3 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246a7.95 7.95 0 0 0-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7z"])}),t.UsbTwoTone=u("usb",s,function(e,t){return l(i,[t,"M759.9 504H264.1c-26.5 0-48.1 19.7-48.1 44v292h592V548c0-24.3-21.6-44-48.1-44z"],[e,"M456 248h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"],[e,"M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zM336 184h352v248H336V184zm472 656H216V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v292z"])}),t.VideoCameraTwoTone=u("video-camera",s,function(e,t){return l(i,[t,"M136 792h576V232H136v560zm64-488c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48z"],[e,"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226z"],[e,"M208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"])}),t.WalletTwoTone=u("wallet",s,function(e,t){return l(i,[e,"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0-192H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200H184V184h656v200z"],[t,"M528 576h312V448H528v128zm92-104c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z"],[e,"M580 512a40 40 0 1 0 80 0 40 40 0 1 0-80 0z"],[t,"M184 840h656V640H496c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32h344V184H184v656z"])}),t.WarningTwoTone=u("warning",s,function(e,t){return l(i,[e,"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"],[t,"M172.2 828.1h679.6L512 239.9 172.2 828.1zM560 720a48.01 48.01 0 0 1-96 0 48.01 48.01 0 0 1 96 0zm-16-304v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z"],[e,"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z"])}),t.CiTwoTone=u("ci",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z"],[e,"M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z"])}),t.CopyrightTwoTone=u("copyright",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z"],[e,"M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"])}),t.DollarTwoTone=u("dollar",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 0 1-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z"],[e,"M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z"])}),t.EuroTwoTone=u("euro",s,function(e,t){return l(i,[e,"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"],[t,"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 0 1-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z"],[e,"M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 0 0 9.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z"])}),t.GoldTwoTone=u("gold",s,function(e,t){return l(i,[e,"M435.7 558.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128z"],[t,"M592.7 276H433.2l-20.8 128h201zM217.2 620l-20.7 128h200.9l-20.7-128zm430 0l-20.7 128h200.9l-20.7-128z"])}),t.CanlendarTwoTone=u("canlendar",s,function(e,t){return l(i,[t,"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v136h656V256H712v48z"],[e,"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zm0-448H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136z"])})},OsfX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSupport=function(){r=r||function(){var n=(0,i.getWindow)(),e=(0,i.getDocument)();return{touch:!!("ontouchstart"in n||n.DocumentTouch&&e instanceof n.DocumentTouch),pointerEvents:!!n.PointerEvent&&"maxTouchPoints"in n.navigator&&0<=n.navigator.maxTouchPoints,observer:"MutationObserver"in n||"WebkitMutationObserver"in n,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});n.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in n}}();return r};var r,i=n("/xfr")},OvF9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this.$wrapperEl,t=this.params,n=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},Oxv6:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var r={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},t;e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="шаб")return e<4?e:e+12;else if(t==="субҳ")return e;else if(t==="рӯз")return e>=11?e:e+12;else if(t==="бегоҳ")return e+12},meridiem:function(e,t,n){if(e<4)return"шаб";else if(e<11)return"субҳ";else if(e<16)return"рӯз";else if(e<19)return"бегоҳ";else return"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var t=e%10,n=e>=100?100:null;return e+(r[e]||r[t]||r[n])},week:{dow:1,doy:7}})}(n("wd/R"))},P1CO:function(e,t,n){"use strict";function r(){var t=[].slice.call(arguments,0);return 1===t.length?t[0]:function(){for(var e=0;e<t.length;e++)t[e]&&t[e].apply&&t[e].apply(this,arguments)}}n.d(t,"a",function(){return r})},P2sY:function(e,t,n){e.exports={default:n("UbbE"),__esModule:!0}},P31t:function(e,t,n){"use strict";var r=n("aLaa"),i=n("8HiI");e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},P7XM:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){var n;t&&(e.super_=t,(n=function(){}).prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e)}},PA2r:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,o;function a(e){return e>1&&e<5&&~~(e/10)!==1}function s(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":if(t||r)return i+(a(e)?"sekundy":"sekund");else return i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":if(t||r)return i+(a(e)?"minuty":"minut");else return i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":if(t||r)return i+(a(e)?"hodiny":"hodin");else return i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":if(t||r)return i+(a(e)?"dny":"dní");else return i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":if(t||r)return i+(a(e)?"měsíce":"měsíců");else return i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":if(t||r)return i+(a(e)?"roky":"let");else return i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PEEU:function(e,t,n){"use strict";n.r(t);var r,i=n("ghNw"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},PFWz:function(e,t,n){try{var r=n("zs13")}catch(e){r=n("zs13")}var i=/\s+/,o=Object.prototype.toString;function a(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}e.exports=function(e){return new a(e)},a.prototype.add=function(e){var t;return this.list?this.list.add(e):(t=this.array(),~r(t,e)||t.push(e),this.el.className=t.join(" ")),this},a.prototype.remove=function(e){var t;return"[object RegExp]"==o.call(e)?this.removeMatching(e):(this.list?this.list.remove(e):(t=this.array(),~(e=r(t,e))&&t.splice(e,1),this.el.className=t.join(" ")),this)},a.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this},a.prototype.toggle=function(e,t){return this.list?void 0!==t&&t===this.list.toggle(e,t)||this.list.toggle(e):void 0!==t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this},a.prototype.array=function(){var e=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(i);return""===e[0]&&e.shift(),e},a.prototype.has=a.prototype.contains=function(e){return this.list?this.list.contains(e):!!~r(this.array(),e)}},PLmN:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement,e=this._self._c||e;return e("div",{staticClass:"sm-component-time-line",style:[this.getBackgroundStyle]},[e("v-chart",{ref:this.chartId,style:{width:"100%",height:"100%"},attrs:{id:this.chartId,options:this.options,autoresize:!0},on:{timelinechanged:this.timelineChange,timelineplaychanged:this.timelineplaychanged}})],1)},i=[]},PNO5:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("bCDT"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},PXgv:function(e,t,n){"use strict";var r=n("YEIV"),f=n.n(r),r=n("TSYQ"),h=n.n(r),l=n("DGO/"),a=n("J+PB"),r=n("TZE5"),d=n("ewVk"),s=n("2qPA");var u=["text","input"],n={props:{prefixCls:r.a.string,inputType:r.a.oneOf(u),value:r.a.any,defaultValue:r.a.any,allowClear:r.a.bool,element:r.a.any,handleReset:r.a.func,disabled:r.a.bool,size:r.a.oneOf(["small","large","default"]),suffix:r.a.any,prefix:r.a.any,addonBefore:r.a.any,addonAfter:r.a.any,className:r.a.string,readOnly:r.a.bool},methods:{renderClearIcon:function(e){var t=this.$createElement,n=this.$props,r=n.allowClear,i=n.value,o=n.disabled,a=n.readOnly,s=n.inputType,n=n.handleReset;return!r||o||a||null==i||""===i?null:t(l.default,{attrs:{type:"close-circle",theme:"filled",role:"button"},on:{click:n},class:s===u[0]?e+"-textarea-clear-icon":e+"-clear-icon"})},renderSuffix:function(e){var t=this.$createElement,n=this.$props,r=n.suffix,n=n.allowClear;return r||n?t("span",{class:e+"-suffix"},[this.renderClearIcon(e),r]):null},renderLabeledIcon:function(e,t){var n,r=this.$createElement,i=this.$props,o=this.renderSuffix(e);return n=this,Object(s.getComponentFromProp)(n,"prefix")||Object(s.getComponentFromProp)(n,"suffix")||n.$props.allowClear?(n=i.prefix?r("span",{class:e+"-prefix"},[i.prefix]):null,r("span",{class:h()(i.className,e+"-affix-wrapper",(r={},f()(r,e+"-affix-wrapper-sm","small"===i.size),f()(r,e+"-affix-wrapper-lg","large"===i.size),f()(r,e+"-affix-wrapper-input-with-clear-btn",i.suffix&&i.allowClear&&this.$props.value),r)),style:i.style},[n,Object(d.a)(t,{style:null,props:{value:i.value},class:Object(a.getInputClassName)(e,i.size,i.disabled)}),o])):Object(d.a)(t,{props:{value:i.value}})},renderInputWithLabel:function(e,t){var n,r,i,o=this.$createElement,a=this.$props,s=a.addonBefore,l=a.addonAfter,u=a.style,c=a.size,a=a.className;return s||l?(r=(i=e+"-group")+"-addon",n=s?o("span",{class:r},[s]):null,r=l?o("span",{class:r},[l]):null,i=h()(e+"-wrapper",f()({},i,s||l)),o("span",{class:h()(a,e+"-group-wrapper",(s={},f()(s,e+"-group-wrapper-sm","small"===c),f()(s,e+"-group-wrapper-lg","large"===c),s)),style:u},[o("span",{class:i},[n,Object(d.a)(t,{style:null}),r])])):t},renderTextAreaWithClearIcon:function(e,t){var n=this.$createElement,r=this.$props,i=r.value,o=r.allowClear,a=r.className,r=r.style;return o?n("span",{class:h()(a,e+"-affix-wrapper",e+"-affix-wrapper-textarea-with-clear-btn"),style:r},[Object(d.a)(t,{style:null,props:{value:i}}),this.renderClearIcon(e)]):Object(d.a)(t,{props:{value:i}})},renderClearableLabeledInput:function(){var e=this.$props,t=e.prefixCls,n=e.inputType,e=e.element;return n===u[0]?this.renderTextAreaWithClearIcon(t,e):this.renderInputWithLabel(t,this.renderLabeledIcon(t,e))}},render:function(){return this.renderClearableLabeledInput()}};t.a=n},PXyI:function(e,t,n){"use strict";n.r(t);var r=n("m1cH"),o=n.n(r),r=n("QbLZ"),i=n.n(r),r=n("TZE5"),l=n("EABD"),a=n("2qPA"),s=n("TfX5");function u(){}t.default={name:"ACheckboxGroup",model:{prop:"value"},props:{name:r.a.string,prefixCls:r.a.string,defaultValue:r.a.array,value:r.a.array,options:r.a.array.def([]),disabled:r.a.bool},provide:function(){return{checkboxGroupContext:this}},inject:{configProvider:{default:function(){return s.a}}},data:function(){var e=this.value,t=this.defaultValue;return{sValue:e||t||[],registeredValues:[]}},watch:{value:function(e){this.sValue=e||[]}},methods:{getOptions:function(){var e=this.options,n=this.$scopedSlots;return e.map(function(e){var t;return"string"==typeof e?{label:e,value:e}:(void 0===(t=e.label)&&n.label&&(t=n.label(e)),i()({},e,{label:t}))})},cancelValue:function(t){this.registeredValues=this.registeredValues.filter(function(e){return e!==t})},registerValue:function(e){this.registeredValues=[].concat(o()(this.registeredValues),[e])},toggleOption:function(e){var t=this.registeredValues,n=this.sValue.indexOf(e.value),r=[].concat(o()(this.sValue)),i=(-1===n?r.push(e.value):r.splice(n,1),Object(a.default)(this,"value")||(this.sValue=r),this.getOptions()),e=r.filter(function(e){return-1!==t.indexOf(e)}).sort(function(t,n){return i.findIndex(function(e){return e.value===t})-i.findIndex(function(e){return e.value===n})});this.$emit("input",e),this.$emit("change",e)}},render:function(){var t=arguments[0],n=this.$props,r=this.$data,e=this.$slots,i=n.prefixCls,o=n.options,a=(0,this.configProvider.getPrefixCls)("checkbox",i),i=e.default,s=a+"-group";return o&&0<o.length&&(i=this.getOptions().map(function(e){return t(l.default,{attrs:{prefixCls:a,disabled:("disabled"in e?e:n).disabled,indeterminate:e.indeterminate,value:e.value,checked:-1!==r.sValue.indexOf(e.value)},key:e.value.toString(),on:{change:e.onChange||u},class:s+"-item"},[e.label])})),t("div",{class:s},[i])}}},PZvK:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=r(n("uTlj")),a=(n("jKu1"),r(n("zT9C"))),r=function(r){function e(e,t){var n=r.call(this)||this;return n.map=e,n.layerNames=t.layerNames,n.layerStyle=t.layerStyle||{},n.popup=null,n.lastLayerName="",n}(0,i.default)(e,r);var t=e.prototype;return t.getLayerByName=function(e){return this.map.getLayerByName(e)},t.getLayerById=function(e){return this.map.getLayerById(e)},t.getLayerType=function(e){return e instanceof o.default.GeoJSON},t.addOverlayToMap=function(e,t,n){void 0===n&&(n=this.layerStyle),this.lastLayerName&&this.removed(this.lastLayerName);var r={color:"#409eff",fillColor:"#409eff",fillOpacity:1,opacity:.6,renderer:o.default.svg()},i=Object.assign((0,a.default)(e.options),r,n),r=t.geometry.type;r="Point"===r||"MultiPoint"===r?(n=(0,a.default)(t.geometry.coordinates),o.default.circleMarker(n.reverse(),i)):o.default.geoJSON(t,{style:function(){return i}}),this.map.addLayer(r,e.name+"-SM-highlighted"),this.lastLayerName=e.name},t.formatGeoJSON=function(e){var t=new SuperMap.Format.GeoJSON,n=SuperMap.ServerGeometry.fromGeometry(e.geometry),t=t.toGeoJSON(n);return t.properties=e.attributes,t},t.removed=function(e){(e=void 0===e?this.lastLayerName:e)&&this.getLayerByName(e+"-SM-highlighted")&&(this.map.removeLayer(this.getLayerByName(e+"-SM-highlighted")),this.lastLayerName="")},e}(o.default.Evented);t.default=r},PaSG:function(e,t,n){"use strict";n.r(t);var r,i=n("ZmjQ"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},PeUW:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},r;e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){if(e<2)return" யாமம்";else if(e<6)return" வைகறை";else if(e<10)return" காலை";else if(e<14)return" நண்பகல்";else if(e<18)return" எற்பாடு";else if(e<22)return" மாலை";else return" யாமம்"},meridiemHour:function(e,t){if(e===12)e=0;if(t==="யாமம்")return e<2?e:e+12;else if(t==="வைகறை"||t==="காலை")return e;else if(t==="நண்பகல்")return e>=10?e:e+12;else return e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PevS:function(e,t,n){"use strict";n.r(t);var r,i=n("5Eyh"),o=n("XYMX");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},Pfwi:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Jibq"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},Pk3a:function(e,t,n){"use strict";n.r(t);var r,i=n("Bv3t");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},PpIw:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},r;e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:true,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="ರಾತ್ರಿ")return e<4?e:e+12;else if(t==="ಬೆಳಿಗ್ಗೆ")return e;else if(t==="ಮಧ್ಯಾಹ್ನ")return e>=10?e:e+12;else if(t==="ಸಂಜೆ")return e+12},meridiem:function(e,t,n){if(e<4)return"ರಾತ್ರಿ";else if(e<10)return"ಬೆಳಿಗ್ಗೆ";else if(e<17)return"ಮಧ್ಯಾಹ್ನ";else if(e<20)return"ಸಂಜೆ";else return"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n("wd/R"))},Ppro:function(e,t,n){"use strict";var r=n("nCzB"),n=n("WMbf");r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},PteS:function(e,t,n){"use strict";n.r(t);var r,i=n("WlDG"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},Puqe:function(e,t,n){var o=n("eUgh"),a=n("OBhP"),s=n("S7Xf"),l=n("4uTw"),u=n("juv8"),c=n("4Oe1"),r=n("xs/l"),f=n("G6z8"),n=r(function(t,e){var n={};if(null!=t)for(var r=!1,i=(e=o(e,function(e){return e=l(e,t),r=r||1<e.length,e}),u(t,f(t),n),r&&(n=a(n,7,c)),e.length);i--;)s(n,e[i]);return n});e.exports=n},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t=t||Array(r);++n<r;)t[n]=e[n];return t}},QCkE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this.classNames,t=this.params,n=this.rtl,r=this.$el,i=this.device,o=this.support,o=function(e,n){var r=[];return e.forEach(function(t){"object"==typeof t?Object.keys(t).forEach(function(e){t[e]&&r.push(n+e)}):"string"==typeof t&&r.push(n+t)}),r}(["initialized",t.direction,{"pointer-events":o.pointerEvents&&!o.touch},{"free-mode":t.freeMode},{autoheight:t.autoHeight},{rtl:n},{multirow:1<t.slidesPerColumn},{"multirow-column":1<t.slidesPerColumn&&"column"===t.slidesPerColumnFill},{android:i.android},{ios:i.ios},{"css-mode":t.cssMode}],t.containerModifierClass);e.push.apply(e,o),r.addClass([].concat(e).join(" ")),this.emitContainerClasses()}},QDlc:function(e,t,n){"use strict";function r(){return!1}function i(){return!0}function o(){this.timeStamp=Date.now(),this.target=void 0,this.currentTarget=void 0}Object.defineProperty(t,"__esModule",{value:!0}),o.prototype={isEventObject:1,constructor:o,isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r,preventDefault:function(){this.isDefaultPrevented=i},stopPropagation:function(){this.isPropagationStopped=i},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i,this.stopPropagation()},halt:function(e){e?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}},t.default=o,e.exports=t.default},QELg:function(e,t,n){"use strict";var r=n("eRwv");e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){return 1},1)})}},QG5D:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addListener=function(e,t){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=function(){var e=u(this),t=e.rendered,e=e.detached;t!==this.__resize_rendered__&&(!e&&this.__resize_triggers__&&(y(this),this.addEventListener("scroll",d,!0)),this.__resize_rendered__=t,p(this))}.bind(e));{var n,r,i,o,a;e.__resize_listeners__||(e.__resize_listeners__=[],window.ResizeObserver?(n=e.offsetWidth,r=e.offsetHeight,i=new ResizeObserver(function(){!e.__resize_observer_triggered__&&(e.__resize_observer_triggered__=!0,e.offsetWidth===n)&&e.offsetHeight===r||p(e)}),o=u(e),a=o.detached,o=o.rendered,e.__resize_observer_triggered__=!1===a&&!1===o,(e.__resize_observer__=i).observe(e)):e.attachEvent&&e.addEventListener?(e.__resize_legacy_resize_handler__=function(){p(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__)):(f||(h=function(e){var t=document.createElement("style");t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e));return(document.querySelector("head")||document.body).appendChild(t),t}(c)),function(e){var t=l(e,"position");t&&"static"!==t||(e.style.position="relative");e.__resize_old_position__=t,e.__resize_last__={};var t=s("div",{className:"resize-triggers"}),n=s("div",{className:"resize-expand-trigger"}),r=s("div"),i=s("div",{className:"resize-contract-trigger"});n.appendChild(r),t.appendChild(n),t.appendChild(i),e.appendChild(t),e.__resize_triggers__={triggers:t,expand:n,expandChild:r,contract:i},y(e),e.addEventListener("scroll",d,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}(e),e.__resize_rendered__=u(e).rendered,window.MutationObserver&&((a=new MutationObserver(e.__resize_mutation_handler__)).observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=a)))}e.__resize_listeners__.push(t),f++},t.removeListener=function(e,t){var n=e.__resize_listeners__;if(n){if(t&&n.splice(n.indexOf(t),1),!n.length||!t){if(e.detachEvent&&e.removeEventListener)return e.detachEvent("onresize",e.__resize_legacy_resize_handler__),void document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",d),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}!--f&&h&&h.parentNode.removeChild(h)}};var r=null;var o=null;function s(e,t){void 0===t&&(t={});var n=document.createElement(e);return Object.keys(t).forEach(function(e){n[e]=t[e]}),n}function l(e,t,n){return(window.getComputedStyle(e,n||null)||{display:"none"})[t]}function u(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};for(var t=e;t!==document;){if("none"===l(t,"display"))return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var c='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',f=0,h=null;function d(){var e,i=this;y(this),this.__resize_raf__&&(e=this.__resize_raf__,(o=o||(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}).bind(window))(e)),this.__resize_raf__=(e=function(){r=(t=(e=i).__resize_last__).width,t=t.height,n=e.offsetWidth,e=e.offsetHeight;var e,t,n,r=n!==r||e!==t?{width:n,height:e}:null;r&&(i.__resize_last__=r,p(i))},(r=r||(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return setTimeout(e,16)}).bind(window))(e))}function p(t){t&&t.__resize_listeners__&&t.__resize_listeners__.forEach(function(e){e.call(t,t)})}function y(e){var e=e.__resize_triggers__,t=e.expand,n=e.expandChild,e=e.contract,r=e.scrollWidth,i=e.scrollHeight,o=t.offsetWidth,a=t.offsetHeight,s=t.scrollWidth,l=t.scrollHeight;e.scrollLeft=r,e.scrollTop=i,n.style.width=o+1+"px",n.style.height=a+1+"px",t.scrollLeft=s,t.scrollTop=l}},QGYI:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.optionTypes=t.default=void 0,r(n("mDm7"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={disabled:o.default.bool,key:o.default.string,title:o.default.string,value:o.default.oneOfType([o.default.string,o.default.number])},o=(t.optionTypes=n,{name:"SmSelectOption",isSelectOption:!0,defaultComponent:i.default.Option,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},QIyF:function(e,t,n){var r=n("Kz5y");e.exports=function(){return r.Date.now()}},QMMT:function(e,t,n){var r=n("a0xu"),i=n("UWiX")("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,t){try{return e[t]}catch(e){}}(e=Object(e),i))?t:o?r(e):"Object"==(t=r(e))&&"function"==typeof e.callee?"Arguments":t}},QYU9:function(e){e.exports=JSON.parse('[{"name":"克拉玛依市","coord":[85.01486759299489,45.406422237230046]},{"name":"昌吉回族自治州","coord":[88.7154624754753,44.26991024636568]},{"name":"石河子市","coord":[86.0208600035924,44.239045558096805]},{"name":"霍林郭勒市","coord":[114.73479243733115,44.16058374713977]},{"name":"本溪市","coord":[124.64357865201586,41.177197783134275]},{"name":"嘉峪关市","coord":[98.16891560537093,39.76279786284264]},{"name":"莱芜市","coord":[117.65723565456207,36.27916499211527]},{"name":"神农架林区","coord":[110.48296222218153,31.581260143666697]},{"name":"天门市","coord":[113.00615321481195,30.64105781887143]},{"name":"鄂州市","coord":[114.94764081970385,30.325634953844585]},{"name":"潜江市","coord":[112.70703817700621,30.349210666019893]},{"name":"仙桃市","coord":[113.34688900729822,30.315951161935402]},{"name":"萍乡市","coord":[113.88072263074415,27.47193090553213]},{"name":"台湾省","coord":[120.14338943402045,23.596002465926095]},{"name":"东莞市","coord":[113.89443658529342,22.897826158636448]},{"name":"中山市","coord":[113.37118387764659,22.501478858616522]},{"name":"珠海市","coord":[113.21799258934986,22.23782602992192]},{"name":"北海市","coord":[109.18248083043899,21.695773689750148]},{"name":"香港","coord":[114.20689279508653,22.36016760139811]},{"name":"舟山市","coord":[122.22514712841459,30.338633120695956]},{"name":"克孜勒苏柯尔克孜","coord":[74.62910472637343,39.59886016069875]},{"name":"喀什地区","coord":[77.19899922143753,37.85462871211595]},{"name":"阿克苏地区","coord":[81.43930290016381,41.067304799230456]},{"name":"和田地区","coord":[80.69780509160952,36.95287032287055]},{"name":"阿里地区","coord":[82.536487505389,32.69566569631762]},{"name":"日喀则地区","coord":[86.5996831353606,29.54861754814263]},{"name":"那曲地区","coord":[88.32523292667608,33.20600450932715]},{"name":"玉树藏族自治州","coord":[95.2107128446203,33.90320387919257]},{"name":"迪庆藏族自治州","coord":[99.42465312188943,28.052797714348895]},{"name":"怒江傈傈族自治州","coord":[98.85737910439825,26.98345757528851]},{"name":"大理白族自治州","coord":[99.93934374816013,25.684737357453045]},{"name":"德宏傣族景颇族自","coord":[98.13830877778075,24.593421919561205]},{"name":"保山市","coord":[99.19031013453166,24.979380341662]},{"name":"临沧市","coord":[99.62483778975081,24.058807858948214]},{"name":"普洱市","coord":[100.94440267992684,23.44121660743221]},{"name":"西双版纳傣族自治","coord":[100.86105801845994,21.882475641324206]},{"name":"拉萨市","coord":[91.3684790613129,30.14176592960237]},{"name":"山南地区","coord":[92.11665242621062,28.33000201578789]},{"name":"林芝地区","coord":[94.9307847458166,29.125110156601963]},{"name":"昌都地区","coord":[97.33912235873476,30.48520825551814]},{"name":"丽江市","coord":[100.65713436205135,26.96190318191959]},{"name":"攀枝花市","coord":[101.73355913301131,26.714486678752795]},{"name":"凉山彝族自治州","coord":[102.08678551422615,27.683020519860396]},{"name":"楚雄彝族自治州","coord":[101.68264761198458,25.369603845264024]},{"name":"红河哈尼族彝族自","coord":[102.95101719613119,23.624860095239875]},{"name":"文山壮族苗族自治","coord":[104.8708359910614,23.579587266862504]},{"name":"百色市","coord":[106.69546907589859,23.98220841166522]},{"name":"崇左市","coord":[107.3277087317123,22.49769755349952]},{"name":"防城港市","coord":[107.88939931155171,21.94550204069006]},{"name":"南宁市","coord":[108.67078983716917,23.12207641861882]},{"name":"钦州市","coord":[108.8532307305186,22.157690108421384]},{"name":"玉林市","coord":[110.26918466489103,22.391823643610415]},{"name":"湛江市","coord":[109.93033457863683,21.086751055633457]},{"name":"茂名市","coord":[110.80336192333934,22.069184739040775]},{"name":"阳江市","coord":[111.70471342186183,22.108751366417575]},{"name":"江门市","coord":[112.53715618649149,22.297368082806777]},{"name":"广州市","coord":[113.4949302208309,23.28359314707863]},{"name":"清远市","coord":[113.10957368131268,24.334444053233856]},{"name":"肇庆市","coord":[112.11117530204233,23.60241158796112]},{"name":"梧州市","coord":[111.01709510772797,23.518132876753846]},{"name":"贺州市","coord":[111.50423061842756,24.4095096817199]},{"name":"桂林市","coord":[110.44046163393094,25.353966673735407]},{"name":"柳州市","coord":[109.34854449214147,24.972408051485047]},{"name":"河池市","coord":[107.81191841865586,24.649291651298164]},{"name":"黔东南苗族侗族自","coord":[108.39952601614591,26.429286420465576]},{"name":"贵阳市","coord":[106.59784062851153,26.797907456479816]},{"name":"安顺市","coord":[105.76161265300635,25.988644902171018]},{"name":"黔西南布依族苗族","coord":[105.5954078788574,25.404850939549405]},{"name":"曲靖市","coord":[103.9164335632742,25.697243690315265]},{"name":"六盘水市","coord":[104.77723228072432,26.15402255629164]},{"name":"毕节地区","coord":[105.03867422931839,27.077913968069666]},{"name":"昭通市","coord":[104.29730513046874,27.62418247971078]},{"name":"宜宾市","coord":[104.76748901448207,28.553501804266475]},{"name":"乐山市","coord":[103.56027669102787,29.160754519210577]},{"name":"自贡市","coord":[104.63272827056402,29.273152614922402]},{"name":"内江市","coord":[104.82644562304716,29.61272653799929]},{"name":"遵义市","coord":[106.82413636302059,28.191847588570702]},{"name":"达州市","coord":[107.59704170009518,31.32138258839703]},{"name":"遂宁市","coord":[105.48979445433736,30.677687821242678]},{"name":"广安市","coord":[106.56708164098042,30.43500706741521]},{"name":"泸州市","coord":[105.42591761727707,28.50277238478137]},{"name":"资阳市","coord":[104.97995126874034,30.154251886139654]},{"name":"雅安市","coord":[102.69931299964517,29.892630706195035]},{"name":"眉山市","coord":[104.07052881858888,29.894202166560405]},{"name":"甘孜藏族自治州","coord":[100.50721042614238,30.975216556269658]},{"name":"果洛藏族自治州","coord":[99.30775565051923,34.03539865224808]},{"name":"海南藏族自治州","coord":[100.39969108016373,35.90048272566899]},{"name":"黄南藏族自治州","coord":[101.5360706381689,35.10286360841902]},{"name":"赣南藏族自治州","coord":[102.97083885806067,34.326752803339026]},{"name":"陇南市","coord":[105.24780098912132,33.57031117443431]},{"name":"天水市","coord":[105.53503634660417,34.62320421368087]},{"name":"定西市","coord":[104.58787768541339,35.08900966621695]},{"name":"临夏回族自治州","coord":[103.2612870434902,35.591577124455235]},{"name":"西宁市","coord":[101.57680657999033,36.84800271717157]},{"name":"海东地区","coord":[102.30909850729282,36.287400615025646]},{"name":"海北藏族自治州","coord":[100.27122484450717,37.892557516083826]},{"name":"金昌市","coord":[102.02244049169511,38.497330414886164]},{"name":"酒泉市","coord":[95.94486678270127,40.56891536586272]},{"name":"海西蒙古族藏族自","coord":[94.67143298050689,36.022725148503724]},{"name":"巴音郭楞蒙古自治","coord":[88.18116214759745,39.556478810319916]},{"name":"哈密地区","coord":[93.84302392518026,42.95015211178875]},{"name":"叶鲁番地区","coord":[89.82035217277885,42.399368632283505]},{"name":"乌鲁木齐市","coord":[88.00048109561487,43.549986370786]},{"name":"阿勒泰地区","coord":[88.11213933257655,47.05593413019629]},{"name":"博尔塔拉蒙古自治","coord":[82.26402238163408,44.671135542630864]},{"name":"伊犁哈萨克自治州","coord":[82.80778717477179,43.53783381365267]},{"name":"阿拉善盟","coord":[103.29923966842289,40.10955801781495]},{"name":"武威市","coord":[102.73362058791429,37.94211141321436]},{"name":"兰州市","coord":[103.73793563506032,36.27379827886003]},{"name":"中卫市","coord":[105.6943786030716,37.20654236148948]},{"name":"银川市","coord":[106.20022174140034,38.52103167597483]},{"name":"石嘴山市","coord":[106.41544011793628,38.84054137571417]},{"name":"乌海市","coord":[106.8984175998405,39.54616572239788]},{"name":"鄂尔多斯市","coord":[108.43285571424619,39.24036799350715]},{"name":"巴彦淖尔市","coord":[107.45840392808307,41.30159860424196]},{"name":"包头市","coord":[110.46472193224272,41.48017783644221]},{"name":"呼和浩特市","coord":[111.48365173603975,40.498363056149884]},{"name":"乌兰察布市","coord":[112.61568977597707,41.75789561273154]},{"name":"大同市","coord":[113.7107192749083,39.898956799744184]},{"name":"朔州市","coord":[112.65428748167508,39.681772914701924]},{"name":"忻州市","coord":[112.36127575589583,38.88990233614568]},{"name":"榆林市","coord":[109.68473112169593,38.19921027134876]},{"name":"延安市","coord":[109.52425222161318,36.406522726136814]},{"name":"庆阳市","coord":[107.73052193155061,36.183821532624464]},{"name":"固原市","coord":[106.20191575442442,36.11634909496382]},{"name":"白银市","coord":[104.68634478137065,36.51582865625868]},{"name":"宝鸡市","coord":[107.33534779230747,34.3387216485855]},{"name":"汉中市","coord":[107.03534754266246,33.00142998064871]},{"name":"广元市","coord":[105.92928137563939,32.21872447205537]},{"name":"巴中市","coord":[107.03422410306194,31.99874720836291]},{"name":"南充市","coord":[106.32964805032347,31.156657700184095]},{"name":"绵阳市","coord":[104.58949560201106,31.88628780630976]},{"name":"德阳市","coord":[104.41542984932845,31.110558133718676]},{"name":"成都市","coord":[103.8852290010473,30.777258040348634]},{"name":"阿坝藏族羌族自治","coord":[102.26209319552814,32.45725845387284]},{"name":"安康市","coord":[109.14236501848015,32.77467694678074]},{"name":"十堰市","coord":[110.39934083416314,32.376209039347906]},{"name":"襄阳市","coord":[111.97539147094662,31.93399822417465]},{"name":"宜昌市","coord":[111.22204852395754,30.772457669035354]},{"name":"恩施市","coord":[109.42158366502872,30.260366574390105]},{"name":"张家界市","coord":[110.59760006538717,29.330107409240718]},{"name":"吉首市","coord":[109.72176899848378,28.681903937242495]},{"name":"铜仁地区","coord":[108.54247523485463,28.11736237519646]},{"name":"重庆市","coord":[107.86007108564992,30.186253395053196]},{"name":"怀化市","coord":[109.94325166787243,27.43919084801186]},{"name":"益阳市","coord":[112.43060358108062,28.75127294553697]},{"name":"娄底市","coord":[111.41891416951897,27.696312460064604]},{"name":"常德市","coord":[111.72571610131646,29.27189463838195]},{"name":"荆州市","coord":[112.65896596965268,30.05161542755362]},{"name":"荆门市","coord":[112.6586855902184,31.01267124474617]},{"name":"岳阳市","coord":[113.2595036144316,29.106247116930163]},{"name":"长沙市","coord":[113.15415586456598,28.222934680488425]},{"name":"湘潭市","coord":[112.51092596317824,27.69881544105668]},{"name":"株州市","coord":[113.49665538546823,27.03993794610501]},{"name":"衡阳市","coord":[112.48849636578527,26.783613569970782]},{"name":"邵阳市","coord":[110.6723832117475,26.81652287086792]},{"name":"永州市","coord":[111.8565364154186,25.768488267811968]},{"name":"韶关市","coord":[113.53420325850979,24.69848878771937]},{"name":"惠州市","coord":[114.32029589634925,23.25504544231892]},{"name":"佛山市","coord":[112.95925897403649,23.10116677189257]},{"name":"云浮市","coord":[111.78042514904234,22.840400494105687]},{"name":"深圳市","coord":[114.13138648919008,22.649563063468342]},{"name":"汕尾市","coord":[115.57412892884373,23.06989642104901]},{"name":"河源市","coord":[114.89746229844398,23.97971937124767]},{"name":"揭阳市","coord":[116.04290004239446,23.304802704715357]},{"name":"汕头市","coord":[116.7008461897183,23.35898625947344]},{"name":"潮州市","coord":[116.75405548481658,23.854381508863064]},{"name":"梅州市","coord":[116.13719397345734,24.15633544812716]},{"name":"漳州市","coord":[117.38279760543345,24.41111215459575]},{"name":"厦门市","coord":[118.04275971554665,24.675908246507944]},{"name":"龙岩市","coord":[116.69341144552507,25.20284542644492]},{"name":"泉州市","coord":[118.12035864630246,25.22984144365049]},{"name":"莆田市","coord":[118.82439690138142,25.439653480972687]},{"name":"福州市","coord":[119.1608285845262,25.99117532466728]},{"name":"三明市","coord":[117.51188176216434,26.318292906961602]},{"name":"南平市","coord":[118.16153136678187,27.306303151805437]},{"name":"抚州市","coord":[116.3455359885574,27.487043655935366]},{"name":"鹰潭市","coord":[117.01082360702333,28.241253742969946]},{"name":"吉安市","coord":[114.91377151807418,26.957486660664525]},{"name":"赣州市","coord":[115.046455717572,25.81565075681663]},{"name":"郴州市","coord":[113.1544526703492,25.871927095452524]},{"name":"新余市","coord":[114.94161795877827,27.79044654578371]},{"name":"宜春市","coord":[115.04574494880995,28.306428044943356]},{"name":"南昌市","coord":[115.9963824234495,28.664803351584705]},{"name":"九江市","coord":[115.53225905704193,29.362905920276297]},{"name":"上饶市","coord":[117.8595355766598,28.765755150094634]},{"name":"景德镇市","coord":[117.25387030721845,29.33426823662448]},{"name":"黄山市","coord":[117.85476357809696,29.969632034273722]},{"name":"池州市","coord":[117.34517113140791,30.208089337922335]},{"name":"铜陵市","coord":[117.93160431300694,30.926442655001676]},{"name":"安庆市","coord":[116.54307680610799,30.524265461641296]},{"name":"黄石市","coord":[115.02354597728443,29.924060229331015]},{"name":"咸宁市","coord":[114.26967602231792,29.652174021136048]},{"name":"黄冈市","coord":[115.2859016705373,30.65856897065683]},{"name":"武汉市","coord":[114.34552076948799,30.68836237966767]},{"name":"随州市","coord":[113.3850627838818,31.87891659924412]},{"name":"信阳市","coord":[114.81374730587638,32.0309685135914]},{"name":"驻马店市","coord":[114.07756451509235,32.896720987266114]},{"name":"商洛市","coord":[109.82044421310393,33.77403373563189]},{"name":"西安市","coord":[109.11839808451401,34.225257215515896]},{"name":"渭南市","coord":[109.75732444226935,35.025913644359306]},{"name":"铜川市","coord":[108.98695328111377,35.19235092947735]},{"name":"咸阳市","coord":[108.36398776446165,34.84311348287181]},{"name":"三门峡市","coord":[110.80049688104964,34.31818709571671]},{"name":"运城市","coord":[111.1736679525165,35.19010372283576]},{"name":"洛阳市","coord":[111.87577573098216,34.33379926109848]},{"name":"平顶山市","coord":[112.80931281928427,33.759895800153096]},{"name":"漯河市","coord":[113.83505724178012,33.70034266174508]},{"name":"许昌市","coord":[113.78762484088509,34.051835688452435]},{"name":"郑州市","coord":[113.49619951867594,34.61181797865449]},{"name":"焦作市","coord":[113.13404280173008,35.134167097471625]},{"name":"晋城市","coord":[112.7495732073233,35.63186423091449]},{"name":"长治市","coord":[112.85900842873183,36.45872910742828]},{"name":"临汾市","coord":[111.49379787924448,36.22810800777857]},{"name":"太原市","coord":[112.15628804033796,37.91704444063036]},{"name":"吕梁市","coord":[111.31901105774872,37.712740463356496]},{"name":"晋中市","coord":[113.08199599739676,37.36532613794343]},{"name":"邯郸市","coord":[114.41824047234618,36.530119932543315]},{"name":"安阳市","coord":[113.88883283163116,35.7797611183252]},{"name":"鹤壁市","coord":[114.3654094911545,35.75770487428472]},{"name":"新乡市","coord":[113.9184107718167,35.348471214026716]},{"name":"开封市","coord":[114.52801677500626,34.61371216679872]},{"name":"周口市","coord":[114.88509782391864,33.69999759722657]},{"name":"阜阳市","coord":[115.44595951398213,32.98060371610532]},{"name":"淮南市","coord":[116.68941991880993,32.79972275772595]},{"name":"蚌埠市","coord":[117.38594715783302,33.106729536033896]},{"name":"淮北市","coord":[116.69651711889378,33.69527529383458]},{"name":"宿州市","coord":[117.30175405886838,33.943330421260015]},{"name":"亳州市","coord":[116.12410804185097,33.46769392946132]},{"name":"商丘市","coord":[115.59575176872548,34.28339840831147]},{"name":"菏泽市","coord":[115.53631974831816,35.197319393220624]},{"name":"濮阳市","coord":[115.3070485514902,35.775883510964334]},{"name":"聊城市","coord":[115.8870069012884,36.40529594548765]},{"name":"邢台市","coord":[114.74259008644859,37.251396750084155]},{"name":"石家庄市","coord":[114.56923838363613,38.13141710980106]},{"name":"阳泉市","coord":[113.39216149668508,38.09075470547468]},{"name":"保定市","coord":[115.261524468934,39.09118520781398]},{"name":"衡水市","coord":[115.8182936677897,37.715661598187154]},{"name":"德州市","coord":[116.4582273790399,37.19372347888644]},{"name":"沧州市","coord":[116.76192710911863,38.20240042039232]},{"name":"廊坊市","coord":[116.50410772133856,39.27896741763884]},{"name":"天津市","coord":[117.31988934444873,39.37154482470619]},{"name":"北京市","coord":[116.59734730757869,40.237112944270976]},{"name":"张家口市","coord":[115.1823606483226,40.83732566607167]},{"name":"唐山市","coord":[117.8693184261954,39.71862889477249]},{"name":"秦皇岛市","coord":[119.30467355367742,39.990574652162564]},{"name":"承德市","coord":[117.16275671911026,41.36623845548547]},{"name":"葫芦岛市","coord":[119.9342336210531,40.5628822626519]},{"name":"朝阳市","coord":[120.11853493535794,41.471852354885755]},{"name":"赤峰市","coord":[118.50943546234379,43.25452976059767]},{"name":"锦州市","coord":[121.5167549323861,41.45933087433065]},{"name":"营口市","coord":[122.58571915054674,40.42093503997384]},{"name":"丹东市","coord":[124.33549382902183,40.46369290272115]},{"name":"辽阳市","coord":[123.34064798039414,41.152331397771356]},{"name":"盘锦市","coord":[122.06718005354679,41.05573599862555]},{"name":"阜新市","coord":[121.93889757908204,42.27641773244204]},{"name":"鞍山市","coord":[122.78904432242356,40.77781183142038]},{"name":"沈阳市","coord":[122.99508899709724,42.1162195010079]},{"name":"铁岭市","coord":[124.23100515588399,42.72666083611828]},{"name":"扶顺市","coord":[124.46027188217573,41.82955407638859]},{"name":"通辽市","coord":[122.0729370657937,43.90889130864869]},{"name":"兴安盟","coord":[120.79456431092532,45.92003249442161]},{"name":"白城市","coord":[123.10619907715235,45.25475749267784]},{"name":"齐齐哈尔市","coord":[124.5462214659102,47.55395009317394]},{"name":"大兴安岭地区","coord":[124.50992855161529,52.18438447846694]},{"name":"黑河市","coord":[127.14721400335922,49.25080134026901]},{"name":"大庆市","coord":[124.40329830095243,46.401048760966745]},{"name":"绥化市","coord":[126.5214484055605,46.76992452194825]},{"name":"松原市","coord":[124.21244334807682,44.75779381338502]},{"name":"四平市","coord":[124.27839350328821,43.52139065090318]},{"name":"通化市","coord":[125.67392830706305,41.91771808663852]},{"name":"辽源市","coord":[125.33529527643432,42.758340204944986]},{"name":"吉林市","coord":[126.83350281902375,43.60730120049175]},{"name":"长春市","coord":[125.53597875970374,44.24624314701737]},{"name":"白山市","coord":[127.16780160322108,42.093893880305075]},{"name":"哈尔滨市","coord":[127.39125008786029,45.36200668820575]},{"name":"鹤岗市","coord":[130.4703811258197,47.66520688940109]},{"name":"伊春市","coord":[128.91240831703635,47.93833794565277]},{"name":"七台河市","coord":[131.2677920224311,45.945099776108584]},{"name":"鸡西市","coord":[132.38059153660274,45.722934218318535]},{"name":"双鸭山市","coord":[132.3184817002743,46.65813679030265]},{"name":"佳木斯市","coord":[132.26174446608726,47.17569713691394]},{"name":"呼伦贝尔市","coord":[122.3210739998419,50.18176996070858]},{"name":"孝感市","coord":[113.83749892135485,31.11757234692128]},{"name":"贵港市","coord":[110.07354588052804,23.380735604767374]},{"name":"黔南布依族苗族自","coord":[107.30931767543106,26.2976919432269]},{"name":"宁德市","coord":[119.52482556634342,27.013151692716413]},{"name":"温州市","coord":[120.30037042732202,27.8699145504001]},{"name":"台州市","coord":[120.88886782713843,28.670799172772313]},{"name":"丽水市","coord":[119.56796851966463,28.170268394477755]},{"name":"衢州市","coord":[118.79479802644406,28.865874397158763]},{"name":"金华市","coord":[119.99381920686633,29.093455548185744]},{"name":"绍兴市","coord":[120.46546691682343,29.69382513836818]},{"name":"宁波市","coord":[121.42142987830871,29.70001162878972]},{"name":"杭州市","coord":[119.4405685790891,29.87218307296989]},{"name":"宣城市","coord":[118.68748382914703,30.628143499626418]},{"name":"湖州市","coord":[119.98261306633574,30.7945175862809]},{"name":"嘉兴市","coord":[120.83889215988998,30.67538495499343]},{"name":"上海市","coord":[121.37534147322967,31.25628247908459]},{"name":"苏州市","coord":[120.6906182622391,31.381280695137775]},{"name":"无锡市","coord":[120.32182300914366,31.54113306724517]},{"name":"常州市","coord":[119.61953292830165,31.611878565375576]},{"name":"南京市","coord":[118.71890548838064,31.910863187910323]},{"name":"镇江市","coord":[119.42349332902813,31.97942313430778]},{"name":"合肥市","coord":[117.30651975617157,31.79407863049138]},{"name":"六安市","coord":[116.24668220575353,31.820846193819513]},{"name":"滁州市","coord":[117.88422385307969,32.51792621904418]},{"name":"泰州市","coord":[120.03124303305091,32.56503102346783]},{"name":"南通市","coord":[120.85599446760912,32.18496706099728]},{"name":"盐城市","coord":[120.01812490612667,33.54219948734023]},{"name":"淮安市","coord":[119.0749424205415,33.39203631772854]},{"name":"宿迁市","coord":[118.45404943216346,33.666258719120265]},{"name":"徐州市","coord":[117.77482249295966,34.30847766157078]},{"name":"济宁市","coord":[116.74147276546373,35.27488504351119]},{"name":"枣庄市","coord":[117.43359942491492,34.884162021736]},{"name":"连云港市","coord":[119.01553213785074,34.54316517587849]},{"name":"临沂市","coord":[118.31478835349617,35.28173079028279]},{"name":"日照市","coord":[119.14265350444272,35.54479073199592]},{"name":"青岛市","coord":[120.27779044405756,36.3464117375903]},{"name":"威海市","coord":[122.12963327195605,37.13879077904251]},{"name":"烟台市","coord":[120.7689567423966,37.19772002195597]},{"name":"潍坊市","coord":[119.02178548592039,36.49292234053931]},{"name":"淄博市","coord":[117.92936024367185,36.60871347163638]},{"name":"泰安市","coord":[116.93810893944303,36.0423330118612]},{"name":"济南市","coord":[117.34560282551296,36.769574973846304]},{"name":"东营市","coord":[118.4915054457184,37.52194690335787]},{"name":"滨州市","coord":[117.67610299757533,37.4439597758601]},{"name":"昆明市","coord":[102.93100245594789,25.481300763922075]},{"name":"玉溪市","coord":[102.23080854291823,24.156168324611663]},{"name":"塔城地区","coord":[83.60908162840168,45.3721852373893]},{"name":"张掖市","coord":[100.47710030600572,38.704239320458385]},{"name":"南阳市","coord":[112.1400670951149,33.03033276715801]},{"name":"扬州市","coord":[119.48949608990988,32.80956776339646]},{"name":"延边朝鲜族自治州","coord":[129.3577692895626,43.24968794080283]},{"name":"牡丹江市","coord":[129.87240796405672,44.7073040108322]},{"name":"澳门","coord":[113.56289691515346,22.14602596262204]},{"name":"吴忠市","coord":[106.76894508116403,37.72566765880316]},{"name":"来宾市","coord":[109.25592217010114,23.86346274681084]},{"name":"平凉市","coord":[107.0708132782897,35.30329631658711]},{"name":"马鞍山市","coord":[118.27245878467022,31.657727937739004]},{"name":"芜湖市","coord":[118.32992684415504,31.081688223101658]},{"name":"澄迈县","coord":[110.04198076060266,19.694955078668105]},{"name":"保亭黎族苗族自治","coord":[109.6055304964257,18.6101488675304]},{"name":"乐东黎族自治县","coord":[109.04051999525574,18.643137437909203]},{"name":"儋州市","coord":[109.3431358337404,19.550974957403195]},{"name":"定安县","coord":[110.38744429685676,19.47557074114284]},{"name":"屯昌县","coord":[110.00574767630334,19.367175093044388]},{"name":"白沙黎族自治县","coord":[109.36860737761768,19.214416393082217]},{"name":"琼中黎族苗族自治","coord":[109.86691465937548,19.073671135862682]},{"name":"东方市","coord":[108.86903802405428,19.017352815445214]},{"name":"昌江黎族自治县","coord":[108.9686431884767,19.182594167127824]},{"name":"海口市","coord":[110.420654296875,19.806565564640795]},{"name":"济源市","coord":[112.38051465474433,35.07958362422394]},{"name":"五指山市","coord":[109.53595187364496,18.832908264613966]},{"name":"大连市","coord":[121.96662235866603,39.444150542439914]},{"name":"文昌市三沙市","coord":[110.81828537536748,19.756501444162936]},{"name":"三亚市","coord":[109.38424600793707,18.39186315877128]},{"name":"万宁市","coord":[110.28485046979574,18.860240588635115]},{"name":"陵水黎族自治县","coord":[109.95577603229562,18.594712684620465]},{"name":"临高县","coord":[109.71915395436967,19.79420403032508]},{"name":"琼海市","coord":[110.41650700703043,19.22315873149372]}]')},QbLZ:function(e,t,n){"use strict";t.__esModule=!0;var n=n("P2sY"),n=(n=n)&&n.__esModule?n:{default:n};t.default=n.default||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}},QcOe:function(e,t,n){var i=n("GoyQ"),o=n("6sVZ"),a=n("7Ix3"),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return a(e);var t,n=o(e),r=[];for(t in e)("constructor"!=t||!n&&s.call(e,t))&&r.push(t);return r}},QfMm:function(e,t,n){"use strict";n.r(t),n.d(t,"collapseProps",function(){return i.a}),n.d(t,"panelProps",function(){return i.b});var r=n("YEIV"),m=n.n(r),r=n("QbLZ"),g=n.n(r),r=n("TZE5"),v={name:"PanelContent",props:{prefixCls:r.a.string,isActive:r.a.bool,destroyInactivePanel:r.a.bool,forceRender:r.a.bool,role:r.a.any},data:function(){return{_isActive:void 0}},render:function(){var e,t,n,r,i,o,a,s=arguments[0];return this._isActive=this.forceRender||this._isActive||this.isActive,this._isActive?(e=(r=this.$props).prefixCls,t=r.isActive,n=r.destroyInactivePanel,a=r.forceRender,r=r.role,i=this.$slots,o={},m()(o,e+"-content",!0),m()(o,e+"-content-active",t),o=o,a=a||t||!n?s("div",{class:e+"-content-box"},[i.default]):null,s("div",{class:o,attrs:{role:r}},[a])):null}},b=n("2qPA"),i=n("k7Bk"),r={name:"Panel",props:Object(b.initDefaultProps)(Object(i.b)(),{showArrow:!0,isActive:!1,destroyInactivePanel:!1,headerClass:"",forceRender:!1}),methods:{handleItemClick:function(){this.$emit("itemClick",this.panelKey)},handleKeyPress:function(e){"Enter"!==e.key&&13!==e.keyCode&&13!==e.which||this.handleItemClick()}},render:function(){var e,t=arguments[0],n=this.$props,r=n.prefixCls,i=n.headerClass,o=n.isActive,a=n.showArrow,s=n.destroyInactivePanel,l=n.disabled,u=n.openAnimation,c=n.accordion,f=n.forceRender,h=n.expandIcon,n=n.extra,d=this.$slots,u={props:g()({appear:!0,css:!1}),on:g()({},u)},i=(p={},m()(p,r+"-header",!0),m()(p,i,i),p),p=Object(b.getComponentFromProp)(this,"header"),y=(e={},m()(e,r+"-item",!0),m()(e,r+"-item-active",o),m()(e,r+"-item-disabled",l),t("i",{class:"arrow"}));return a&&"function"==typeof h&&(y=h(this.$props)),t("div",{class:e,attrs:{role:"tablist"}},[t("div",{class:i,on:{click:this.handleItemClick.bind(this),keypress:this.handleKeyPress},attrs:{role:c?"tab":"button",tabIndex:l?-1:0,"aria-expanded":o}},[a&&y,p,n&&t("div",{class:r+"-extra"},[n])]),t("transition",u,[t(v,{directives:[{name:"show",value:o}],attrs:{prefixCls:r,isActive:o,destroyInactivePanel:s,forceRender:f,role:c?"tabpanel":null}},[d.default])])])}},o=n("m1cH"),a=n.n(o),o=n("tIgm"),f=n("ewVk"),s=n("GM6z");function l(e,t,n,r){var i=void 0;return Object(s.a)(e,n,{start:function(){t?(i=e.offsetHeight,e.style.height=0):e.style.height=e.offsetHeight+"px"},active:function(){e.style.height=(t?i:0)+"px"},end:function(){e.style.height="",r()}})}var u=function(n){return{enter:function(e,t){return l(e,!0,n+"-anim",t)},leave:function(e,t){return l(e,!1,n+"-anim",t)}}};function c(e){return(e=Array.isArray(e)?e:e?[e]:[]).map(function(e){return String(e)})}n={name:"Collapse",mixins:[o.a],model:{prop:"activeKey",event:"change"},props:Object(b.initDefaultProps)(Object(i.a)(),{prefixCls:"rc-collapse",accordion:!1,destroyInactivePanel:!1}),data:function(){var e=this.$props,t=e.activeKey,n=e.defaultActiveKey,r=e.openAnimation,e=e.prefixCls;return Object(b.hasProp)(this,"activeKey")&&(n=t),{currentOpenAnimations:r||u(e),stateActiveKey:c(n)}},watch:{activeKey:function(e){this.setState({stateActiveKey:c(e)})},openAnimation:function(e){this.setState({currentOpenAnimations:e})}},methods:{onClickItem:function(e){var t,n=this.stateActiveKey;this.accordion?n=n[0]===e?[]:[e]:-1<(t=(n=[].concat(a()(n))).indexOf(e))?n.splice(t,1):n.push(e),this.setActiveKey(n)},getNewChild:function(e,t){var n,r,i,o,a,s,l,u,c;if(!Object(b.isEmptyElement)(e))return u=this.stateActiveKey,n=(o=this.$props).prefixCls,r=o.accordion,i=o.destroyInactivePanel,o=o.expandIcon,t=e.key||String(t),a=(c=Object(b.getPropsData)(e)).header,s=c.headerClass,c=c.disabled,l=!1,l=r?u[0]===t:-1<u.indexOf(t),u={},c||""===c||(u={itemClick:this.onClickItem}),c={key:t,props:{panelKey:t,header:a,headerClass:s,isActive:l,prefixCls:n,destroyInactivePanel:i,openAnimation:this.currentOpenAnimations,accordion:r,expandIcon:o},on:u},Object(f.a)(e,c)},getItems:function(){var n=this,r=[];return this.$slots.default&&this.$slots.default.forEach(function(e,t){r.push(n.getNewChild(e,t))}),r},setActiveKey:function(e){this.setState({stateActiveKey:e}),this.$emit("change",this.accordion?e[0]:e)}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,t=t.accordion;return e("div",{class:m()({},n,!0),attrs:{role:t?"tablist":null}},[this.getItems()])}};n.Panel=r,t.default=n},Qj4J:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n("wd/R"))},QkVE:function(e,t,n){var r=n("EpBk");e.exports=function(e,t){return e=e.__data__,r(t)?e["string"==typeof t?"string":"hash"]:e.map}},QkVN:function(e,t,n){var r=n("+Qka"),n=n("LsHQ")(function(e,t,n){r(e,t,n)});e.exports=n},QmiY:function(e,t,n){"use strict";var r=n("TqRt"),r=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("7BsA"))),i=n("e7LN"),n={name:"SmCountTo",extends:r.default,props:{fontSize:{type:[String,Number]},numBackground:{type:Object,default:function(){return{color:"rgba(0, 0, 0, 0)",image:"",padding:0}}},numSpacing:{type:Number,default:0},separatorBackground:{type:Boolean,default:!1}},computed:{calNumBackground:function(){var n=this;return function(e){var t;return n.numBackground&&(!e||n.separatorBackground||e!==n.separator&&e!==n.decimal)?(e=n.fontSize&&isNaN(n.fontSize)?n.fontSize.replace(/\d+(\.\d+)?([a-z]+)/gi,"$2"):"px",t={backgroundColor:n.numBackground.color,padding:n.numBackground.padding},n.numBackground.image&&(t=Object.assign(t,{backgroundImage:"url("+n.numBackground.image+")",backgroundSize:"100% 100%"})),n.numBackground.image||!(0,i.isTransparent)(n.numBackground.color)?Object.assign(t,{textIndent:""+.16*parseFloat(n.fontSize)+e,letterSpacing:""+.16*parseFloat(n.fontSize)+e}):Object.assign(t,{textIndent:""+.06*parseFloat(n.fontSize)+e,letterSpacing:""+.06*parseFloat(n.fontSize)+e})):{}}},numInterval:function(){return{marginRight:this.numSpacing+"px"}},numStyle:function(){return{fontSize:this.fontSize}},numDataList:function(){return this.displayValue.split("").map(function(e){return e})}},watch:{separator:function(){this.start()},decimals:function(){this.start()}}};t.default=n},Qp06:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),r=function(t){function e(e){return t.call(this,e)||this}return(0,i.default)(e,t),e}(r(n("a/I7")).default);t.default=r},QpfG:function(e,t,n){"use strict";n.r(t);var r,i=n("Xo5E"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},QqLw:function(e,t,n){var r=n("tadb"),i=n("ebwN"),o=n("HOxn"),a=n("yGk4"),s=n("Of+w"),l=n("NykK"),u=n("3Fdi"),c="[object Map]",f="[object Promise]",h="[object Set]",d="[object WeakMap]",p="[object DataView]",y=u(r),m=u(i),g=u(o),v=u(a),b=u(s),n=l;(r&&n(new r(new ArrayBuffer(1)))!=p||i&&n(new i)!=c||o&&n(o.resolve())!=f||a&&n(new a)!=h||s&&n(new s)!=d)&&(n=function(e){var t=l(e),e="[object Object]"==t?e.constructor:void 0,e=e?u(e):"";if(e)switch(e){case y:return p;case m:return c;case g:return f;case v:return h;case b:return d}return t}),e.exports=n},QqhC:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("sm-collapse-card",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"isShow"}],staticClass:"sm-component-chart",attrs:{"icon-class":e.iconClass,"icon-position":e.position,"header-name":e.headerName,"auto-rotate":e.autoRotate,collapsed:e.collapsed,"split-line":e.splitLine}},[t("v-chart",{ref:e.chartId,style:e._chartStyle,attrs:{id:e.chartId,options:e._chartOptions,initOptions:e.initOptions,group:e.group,"manual-update":e.manualUpdate,theme:e.theme||e.chartTheme},on:{datazoom:e.dataZoomHandler}}),e._v(" "),t("TablePopup",e._b({directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"chartTablePopup",attrs:{"split-line":e.splitLine,"text-color":e.textColor,background:e.background}},"TablePopup",e.tablePopupProps,!1))],1)},i=[]},QrM1:function(e,t,n){"use strict";var r=n("ZpKI"),i=n("Yzn+").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},Qu1R:function(e,t,n){e.exports=function(){"use strict";var i,o,Zi;function e(e,t){if(!i)i=t;else if(!o)o=t;else{var n="var sharedChunk = {}; ("+i+")(sharedChunk); ("+o+")(sharedChunk);";var r={};i(r);Zi=t(r);if(typeof window!=="undefined")Zi.workerUrl=window.URL.createObjectURL(new Blob([n],{type:"text/javascript"}))}}if(e(["exports"],function(e){"use strict";function P(e,t){return e(t={exports:{}},t.exports),t.exports}var k=I;function I(e,t,n,r){this.cx=3*e,this.bx=3*(n-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(r-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=r,this.p2x=n,this.p2y=r}I.prototype.sampleCurveX=function(e){return((this.ax*e+this.bx)*e+this.cx)*e},I.prototype.sampleCurveY=function(e){return((this.ay*e+this.by)*e+this.cy)*e},I.prototype.sampleCurveDerivativeX=function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},I.prototype.solveCurveX=function(e,t){var n,r,i,o,a;for(void 0===t&&(t=1e-6),i=e,a=0;a<8;a++){if(o=this.sampleCurveX(i)-e,Math.abs(o)<t)return i;var s=this.sampleCurveDerivativeX(i);if(Math.abs(s)<1e-6)break;i-=o/s}if((i=e)<(n=0))return n;if(i>(r=1))return r;for(;n<r;){if(o=this.sampleCurveX(i),Math.abs(o-e)<t)return i;e>o?n=i:r=i,i=.5*(r-n)+n}return i},I.prototype.solve=function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))};var U=j;function j(e,t){this.x=e,this.y=t}j.prototype={clone:function(){return new j(this.x,this.y)},add:function(e){return this.clone()._add(e)},sub:function(e){return this.clone()._sub(e)},multByPoint:function(e){return this.clone()._multByPoint(e)},divByPoint:function(e){return this.clone()._divByPoint(e)},mult:function(e){return this.clone()._mult(e)},div:function(e){return this.clone()._div(e)},rotate:function(e){return this.clone()._rotate(e)},rotateAround:function(e,t){return this.clone()._rotateAround(e,t)},matMult:function(e){return this.clone()._matMult(e)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(e){return this.x===e.x&&this.y===e.y},dist:function(e){return Math.sqrt(this.distSqr(e))},distSqr:function(e){var t=e.x-this.x,n=e.y-this.y;return t*t+n*n},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(e){return Math.atan2(this.y-e.y,this.x-e.x)},angleWith:function(e){return this.angleWithSep(e.x,e.y)},angleWithSep:function(e,t){return Math.atan2(this.x*t-this.y*e,this.x*e+this.y*t)},_matMult:function(e){var t=e[2]*this.x+e[3]*this.y;return this.x=e[0]*this.x+e[1]*this.y,this.y=t,this},_add:function(e){return this.x+=e.x,this.y+=e.y,this},_sub:function(e){return this.x-=e.x,this.y-=e.y,this},_mult:function(e){return this.x*=e,this.y*=e,this},_div:function(e){return this.x/=e,this.y/=e,this},_multByPoint:function(e){return this.x*=e.x,this.y*=e.y,this},_divByPoint:function(e){return this.x/=e.x,this.y/=e.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var e=this.y;return this.y=this.x,this.x=-e,this},_rotate:function(e){var t=Math.cos(e),n=Math.sin(e),r=n*this.x+t*this.y;return this.x=t*this.x-n*this.y,this.y=r,this},_rotateAround:function(e,t){var n=Math.cos(e),r=Math.sin(e),i=t.y+r*(this.x-t.x)+n*(this.y-t.y);return this.x=t.x+n*(this.x-t.x)-r*(this.y-t.y),this.y=i,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},j.convert=function(e){return e instanceof j?e:Array.isArray(e)?new j(e[0],e[1]):e};var f="undefined"!=typeof self?self:{},D=Math.pow(2,53)-1;function B(e,t,n,r){var i=new k(e,t,n,r);return function(e){return i.solve(e)}}var R=B(.25,.1,.25,1);function N(e,t,n){return Math.min(n,Math.max(t,e))}function F(e,t,n){var r=n-t,i=((e-t)%r+r)%r+t;return i===t?n:i}function V(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];for(var r=0,i=t;r<i.length;r+=1){var o=i[r];for(var a in o)e[a]=o[a]}return e}var Y=1;function G(){return Y++}function Q(){return function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,e)}()}function W(e){return!!e&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)}function q(e,t){e.forEach(function(e){t[e]&&(t[e]=t[e].bind(t))})}function X(e,t){return-1!==e.indexOf(t,e.length-t.length)}function J(e,t,n){var r={};for(var i in e)r[i]=t.call(n||this,e[i],i,e);return r}function $(e,t,n){var r={};for(var i in e)t.call(n||this,e[i],i,e)&&(r[i]=e[i]);return r}function Z(e){return Array.isArray(e)?e.map(Z):"object"==typeof e&&e?J(e,Z):e}var ee={};function ce(e){ee[e]||("undefined"!=typeof console&&console.warn(e),ee[e]=!0)}function te(e,t,n){return(n.y-e.y)*(t.x-e.x)>(t.y-e.y)*(n.x-e.x)}function ne(e){for(var t=0,n=0,r=e.length,i=r-1,o=void 0,a=void 0;n<r;i=n++)t+=((a=e[i]).x-(o=e[n]).x)*(o.y+a.y);return t}function re(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}function ie(e){var o={};if(e.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(e,t,n,r){var i=n||r;return o[t]=!i||i.toLowerCase(),""}),o["max-age"]){var t=parseInt(o["max-age"],10);isNaN(t)?delete o["max-age"]:o["max-age"]=t}return o}var oe=null;function ae(e){if(null==oe){var t=e.navigator?e.navigator.userAgent:null;oe=!!e.safari||!(!t||!(/\b(iPad|iPhone|iPod)\b/.test(t)||t.match("Safari")&&!t.match("Chrome")))}return oe}function se(e){try{var t=f[e];return t.setItem("_mapbox_test_",1),t.removeItem("_mapbox_test_"),!0}catch(e){return!1}}var le,fe,he,de,pe=f.performance&&f.performance.now?f.performance.now.bind(f.performance):Date.now.bind(Date),ye=f.requestAnimationFrame||f.mozRequestAnimationFrame||f.webkitRequestAnimationFrame||f.msRequestAnimationFrame,me=f.cancelAnimationFrame||f.mozCancelAnimationFrame||f.webkitCancelAnimationFrame||f.msCancelAnimationFrame,ge={now:pe,frame:function(e){var t=ye(e);return{cancel:function(){return me(t)}}},getImageData:function(e,t){void 0===t&&(t=0);var n=f.document.createElement("canvas"),r=n.getContext("2d");if(!r)throw new Error("failed to create canvas 2d context");return n.width=e.width,n.height=e.height,r.drawImage(e,0,0,e.width,e.height),r.getImageData(-t,-t,e.width+2*t,e.height+2*t)},resolveURL:function(e){return le||(le=f.document.createElement("a")),le.href=e,le.href},hardwareConcurrency:f.navigator&&f.navigator.hardwareConcurrency||4,get devicePixelRatio(){return f.devicePixelRatio},get prefersReducedMotion(){return!!f.matchMedia&&(null==fe&&(fe=f.matchMedia("(prefers-reduced-motion: reduce)")),fe.matches)}},u={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":0===this.API_URL.indexOf("https://api.mapbox.com")?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},ve={supported:!1,testSupport:function(e){!be&&de&&(_e?xe(e):he=e)}},be=!1,_e=!1;function xe(e){var t=e.createTexture();e.bindTexture(e.TEXTURE_2D,t);try{if(e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,de),e.isContextLost())return;ve.supported=!0}catch(e){}e.deleteTexture(t),be=!0}f.document&&((de=f.document.createElement("img")).onload=function(){he&&xe(he),he=null,_e=!0},de.onerror=function(){be=!0,he=null},de.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var we="01",Ae=function(e,t){this._transformRequestFn=e,this._customAccessToken=t,this._createSkuToken()};function Se(e){return 0===e.indexOf("mapbox:")}Ae.prototype._createSkuToken=function(){var e=function(){for(var e="",t=0;t<10;t++)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",we,e].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=e.token,this._skuTokenExpiresAt=e.tokenExpiresAt},Ae.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},Ae.prototype.transformRequest=function(e,t){return this._transformRequestFn&&this._transformRequestFn(e,t)||{url:e}},Ae.prototype.normalizeStyleURL=function(e,t){if(!Se(e))return e;var n=Me(e);return n.path="/styles/v1"+n.path,this._makeAPIURL(n,this._customAccessToken||t)},Ae.prototype.normalizeGlyphsURL=function(e,t){if(!Se(e))return e;var n=Me(e);return n.path="/fonts/v1"+n.path,this._makeAPIURL(n,this._customAccessToken||t)},Ae.prototype.normalizeSourceURL=function(e,t){if(!Se(e))return e;var n=Me(e);return n.path="/v4/"+n.authority+".json",n.params.push("secure"),this._makeAPIURL(n,this._customAccessToken||t)},Ae.prototype.normalizeSpriteURL=function(e,t,n,r){var i=Me(e);return i&&!i.protocol&&i.path?(i.path+=""+t+n,i.path):Se(e)?(i.path="/styles/v1"+i.path+"/sprite"+t+n,this._makeAPIURL(i,this._customAccessToken||r)):(i.path+=""+t+n,Pe(i))},Ae.prototype.normalizeTileURL=function(e,t){if(this._isSkuTokenExpired()&&this._createSkuToken(),e&&!Se(e))return e;var n=Me(e);n.path=n.path.replace(/(\.(png|jpg)\d*)(?=$)/,(ge.devicePixelRatio>=2||512===t?"@2x":"")+(ve.supported?".webp":"$1")),n.path=n.path.replace(/^.+\/v4\//,"/"),n.path="/v4"+n.path;var r=this._customAccessToken||function(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t].match(/^access_token=(.*)$/);if(r)return r[1]}return null}(n.params)||u.ACCESS_TOKEN;return u.REQUIRE_ACCESS_TOKEN&&r&&this._skuToken&&n.params.push("sku="+this._skuToken),this._makeAPIURL(n,r)},Ae.prototype.canonicalizeTileURL=function(e,t){var n=Me(e);if(!n.path.match(/(^\/v4\/)/)||!n.path.match(/\.[\w]+$/))return e;var r="mapbox://tiles/";r+=n.path.replace("/v4/","");var i=n.params;return t&&(i=i.filter(function(e){return!e.match(/^access_token=/)})),i.length&&(r+="?"+i.join("&")),r},Ae.prototype.canonicalizeTileset=function(e,t){for(var n=!!t&&Se(t),r=[],i=0,o=e.tiles||[];i<o.length;i+=1){var a=o[i];Oe(a)?r.push(this.canonicalizeTileURL(a,n)):r.push(a)}return r},Ae.prototype._makeAPIURL=function(e,t){var n="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes",r=Me(u.API_URL);if(e.protocol=r.protocol,e.authority=r.authority,"/"!==r.path&&(e.path=""+r.path+e.path),!u.REQUIRE_ACCESS_TOKEN)return Pe(e);if(!(t=t||u.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+n);if("s"===t[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+n);return e.params=e.params.filter(function(e){return-1===e.indexOf("access_token")}),e.params.push("access_token="+t),Pe(e)};var Ce=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function Oe(e){return Ce.test(e)}var Ee=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function Me(e){var t=e.match(Ee);return t?{protocol:t[1],authority:t[2],path:t[3]||"/",params:t[4]?t[4].split("&"):[]}:{path:e,params:[]}}function Pe(e){var t=e.params.length?"?"+e.params.join("&"):"";return e.protocol+"://"+e.authority+e.path+t}function ke(e){if(!e)return null;var t=e.split(".");if(!t||3!==t.length)return null;try{return JSON.parse(decodeURIComponent(f.atob(t[1]).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join("")))}catch(e){return null}}var Te=function(e){this.type=e,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};Te.prototype.getStorageKey=function(e){var t,n=ke(u.ACCESS_TOKEN);return t=n&&n.u?f.btoa(encodeURIComponent(n.u).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode(Number("0x"+t))})):u.ACCESS_TOKEN||"",e?"mapbox.eventData."+e+":"+t:"mapbox.eventData:"+t},Te.prototype.fetchEventData=function(){var e=se("localStorage"),t=this.getStorageKey(),n=this.getStorageKey("uuid");if(e)try{var r=f.localStorage.getItem(t);r&&(this.eventData=JSON.parse(r));var i=f.localStorage.getItem(n);i&&(this.anonId=i)}catch(e){ce("Unable to read from LocalStorage")}},Te.prototype.saveEventData=function(){var e=se("localStorage"),t=this.getStorageKey(),n=this.getStorageKey("uuid");if(e)try{f.localStorage.setItem(n,this.anonId),Object.keys(this.eventData).length>=1&&f.localStorage.setItem(t,JSON.stringify(this.eventData))}catch(e){ce("Unable to write to LocalStorage")}},Te.prototype.processRequests=function(e){},Te.prototype.postEvent=function(e,t,n,r){var i=this;if(u.EVENTS_URL){var o=Me(u.EVENTS_URL);o.params.push("access_token="+(r||u.ACCESS_TOKEN||""));var a={event:this.type,created:new Date(e).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:"1.12.0",skuId:we,userId:this.anonId},s=t?V(a,t):a,l={url:Pe(o),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=Ze(l,function(e){i.pendingRequest=null,n(e),i.saveEventData(),i.processRequests(r)})}},Te.prototype.queueRequest=function(e,t){this.queue.push(e),this.processRequests(t)};var Ie,Le,je=function(e){function t(){e.call(this,"map.load"),this.success={},this.skuToken=""}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.postMapLoadEvent=function(e,t,n,r){this.skuToken=n,(u.EVENTS_URL&&r||u.ACCESS_TOKEN&&Array.isArray(e)&&e.some(function(e){return Se(e)||Oe(e)}))&&this.queueRequest({id:t,timestamp:Date.now()},r)},t.prototype.processRequests=function(e){var t=this;if(!this.pendingRequest&&0!==this.queue.length){var n=this.queue.shift(),r=n.id,i=n.timestamp;r&&this.success[r]||(this.anonId||this.fetchEventData(),W(this.anonId)||(this.anonId=Q()),this.postEvent(i,{skuToken:this.skuToken},function(e){e||r&&(t.success[r]=!0)},e))}},t}(Te),De=new(function(t){function e(e){t.call(this,"appUserTurnstile"),this._customAccessToken=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.postTurnstileEvent=function(e,t){u.EVENTS_URL&&u.ACCESS_TOKEN&&Array.isArray(e)&&e.some(function(e){return Se(e)||Oe(e)})&&this.queueRequest(Date.now(),t)},e.prototype.processRequests=function(e){var t=this;if(!this.pendingRequest&&0!==this.queue.length){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var n=ke(u.ACCESS_TOKEN),r=n?n.u:u.ACCESS_TOKEN,i=r!==this.eventData.tokenU;W(this.anonId)||(this.anonId=Q(),i=!0);var o=this.queue.shift();if(this.eventData.lastSuccess){var a=new Date(this.eventData.lastSuccess),s=new Date(o),l=(o-this.eventData.lastSuccess)/864e5;i=i||l>=1||l<-1||a.getDate()!==s.getDate()}else i=!0;if(!i)return this.processRequests();this.postEvent(o,{"enabled.telemetry":!1},function(e){e||(t.eventData.lastSuccess=o,t.eventData.tokenU=r)},e)}},e}(Te)),Be=De.postTurnstileEvent.bind(De),Re=new je,Ne=Re.postMapLoadEvent.bind(Re),ze=500,Fe=50;function Ve(){f.caches&&!Ie&&(Ie=f.caches.open("mapbox-tiles"))}function He(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}var Ye,Ge=1/0;function Ue(){return null==Ye&&(Ye=f.OffscreenCanvas&&new f.OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof f.createImageBitmap),Ye}var Qe={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(Qe);var We=function(r){function e(e,t,n){401===t&&Oe(n)&&(e+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),r.call(this,e),this.status=t,this.url=n,this.name=this.constructor.name,this.message=e}return r&&(e.__proto__=r),(e.prototype=Object.create(r&&r.prototype)).constructor=e,e.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},e}(Error),qe=re()?function(){return self.worker&&self.worker.referrer}:function(){return("blob:"===f.location.protocol?f.parent:f).location.href};var Ke,Xe,Je=function(e,t){if(!(/^file:/.test(n=e.url)||/^file:/.test(qe())&&!/^\w+:/.test(n))){if(f.fetch&&f.Request&&f.AbortController&&f.Request.prototype.hasOwnProperty("signal"))return function(i,o){var e,t=new f.AbortController,a=new f.Request(i.url,{method:i.method||"GET",body:i.body,credentials:i.credentials,headers:i.headers,referrer:qe(),signal:t.signal}),s=!1,l=!1,u=(e=a.url).indexOf("sku=")>0&&Oe(e);"json"===i.type&&a.headers.set("Accept","application/json");var n=function(e,t,n){if(!l){if(e&&"SecurityError"!==e.message&&ce(e),t&&n)return c(t);var r=Date.now();f.fetch(a).then(function(e){if(e.ok){var t=u?e.clone():null;return c(e,t,r)}return o(new We(e.statusText,e.status,i.url))}).catch(function(e){20!==e.code&&o(new Error(e.message))})}},c=function(t,n,r){("arrayBuffer"===i.type?t.arrayBuffer():"json"===i.type?t.json():t.text()).then(function(e){l||(n&&r&&function(n,e,t){if(Ve(),Ie){var r={status:e.status,statusText:e.statusText,headers:new f.Headers};e.headers.forEach(function(e,t){return r.headers.set(t,e)});var i=ie(e.headers.get("Cache-Control")||"");i["no-store"]||(i["max-age"]&&r.headers.set("Expires",new Date(t+1e3*i["max-age"]).toUTCString()),new Date(r.headers.get("Expires")).getTime()-t<42e4||function(e,t){if(void 0===Le)try{new Response(new ReadableStream),Le=!0}catch(e){Le=!1}Le?t(e.body):e.blob().then(t)}(e,function(e){var t=new f.Response(e,r);Ve(),Ie&&Ie.then(function(e){return e.put(He(n.url),t)}).catch(function(e){return ce(e.message)})}))}}(a,n,r),s=!0,o(null,e,t.headers.get("Cache-Control"),t.headers.get("Expires")))}).catch(function(e){l||o(new Error(e.message))})};return u?function(e,r){if(Ve(),!Ie)return r(null);var i=He(e.url);Ie.then(function(n){n.match(i).then(function(e){var t=function(e){if(!e)return!1;var t=new Date(e.headers.get("Expires")||0),n=ie(e.headers.get("Cache-Control")||"");return t>Date.now()&&!n["no-cache"]}(e);n.delete(i),t&&n.put(i,e.clone()),r(null,e,t)}).catch(r)}).catch(r)}(a,n):n(null,null),{cancel:function(){l=!0,s||t.abort()}}}(e,t);if(re()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",e,t,void 0,!0)}var n;return function(t,n){var r=new f.XMLHttpRequest;for(var e in r.open(t.method||"GET",t.url,!0),"arrayBuffer"===t.type&&(r.responseType="arraybuffer"),t.headers)r.setRequestHeader(e,t.headers[e]);return"json"===t.type&&(r.responseType="text",r.setRequestHeader("Accept","application/json")),r.withCredentials="include"===t.credentials,r.onerror=function(){n(new Error(r.statusText))},r.onload=function(){if((r.status>=200&&r.status<300||0===r.status)&&null!==r.response){var e=r.response;if("json"===t.type)try{e=JSON.parse(r.response)}catch(e){return n(e)}n(null,e,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"))}else n(new We(r.statusText,r.status,t.url))},r.send(t.body),{cancel:function(){return r.abort()}}}(e,t)},$e=function(e,t){return Je(V(e,{type:"arrayBuffer"}),t)},Ze=function(e,t){return Je(V(e,{method:"POST"}),t)};Ke=[],Xe=0;var et=function(e,i){if(ve.supported&&(e.headers||(e.headers={}),e.headers.accept="image/webp,*/*"),Xe>=u.MAX_PARALLEL_IMAGE_REQUESTS){var t={requestParameters:e,callback:i,cancelled:!1,cancel:function(){this.cancelled=!0}};return Ke.push(t),t}Xe++;var n=!1,o=function(){if(!n)for(n=!0,Xe--;Ke.length&&Xe<u.MAX_PARALLEL_IMAGE_REQUESTS;){var e=Ke.shift();e.cancelled||(e.cancel=et(e.requestParameters,e.callback).cancel)}},r=$e(e,function(e,t,n,r){o(),e?i(e):t&&(Ue()?function(e,t){var n=new f.Blob([new Uint8Array(e)],{type:"image/png"});f.createImageBitmap(n).then(function(e){t(null,e)}).catch(function(e){t(new Error("Could not load image because of "+e.message+". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))})}(t,i):function(e,t,n,r){var i=new f.Image,o=f.URL;i.onload=function(){t(null,i),o.revokeObjectURL(i.src)},i.onerror=function(){return t(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var a=new f.Blob([new Uint8Array(e)],{type:"image/png"});i.cacheControl=n,i.expires=r,i.src=e.byteLength?o.createObjectURL(a):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII="}(t,i,n,r))});return{cancel:function(){r.cancel(),o()}}},tt=nt;function nt(e,t,n){var r=this.cells=[];if(e instanceof ArrayBuffer){this.arrayBuffer=e;var i=new Int32Array(this.arrayBuffer);e=i[0],this.d=(t=i[1])+2*(n=i[2]);for(var o=0;o<this.d*this.d;o++){var a=i[3+o],s=i[3+o+1];r.push(a===s?null:i.subarray(a,s))}var l=i[3+r.length+1];this.keys=i.subarray(i[3+r.length],l),this.bboxes=i.subarray(l),this.insert=this._insertReadonly}else{this.d=t+2*n;for(var u=0;u<this.d*this.d;u++)r.push([]);this.keys=[],this.bboxes=[]}this.n=t,this.extent=e,this.padding=n,this.scale=t/e,this.uid=0;var c=n/t*e;this.min=-c,this.max=e+c}nt.prototype.insert=function(e,t,n,r,i){this._forEachCell(t,n,r,i,this._insertCell,this.uid++),this.keys.push(e),this.bboxes.push(t),this.bboxes.push(n),this.bboxes.push(r),this.bboxes.push(i)},nt.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},nt.prototype._insertCell=function(e,t,n,r,i,o){this.cells[i].push(o)},nt.prototype.query=function(e,t,n,r,i){var o=this.min,a=this.max;if(e<=o&&t<=o&&a<=n&&a<=r&&!i)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(e,t,n,r,this._queryCell,s,{},i),s},nt.prototype._queryCell=function(e,t,n,r,i,o,a,s){var l=this.cells[i];if(null!==l)for(var u=this.keys,c=this.bboxes,f=0;f<l.length;f++){var h=l[f];if(void 0===a[h]){var d=4*h;(s?s(c[d+0],c[d+1],c[d+2],c[d+3]):e<=c[d+2]&&t<=c[d+3]&&n>=c[d+0]&&r>=c[d+1])?(a[h]=!0,o.push(u[h])):a[h]=!1}}},nt.prototype._forEachCell=function(e,t,n,r,i,o,a,s){for(var l=this._convertToCellCoord(e),u=this._convertToCellCoord(t),c=this._convertToCellCoord(n),f=this._convertToCellCoord(r),h=l;h<=c;h++)for(var d=u;d<=f;d++){var p=this.d*d+h;if((!s||s(this._convertFromCellCoord(h),this._convertFromCellCoord(d),this._convertFromCellCoord(h+1),this._convertFromCellCoord(d+1)))&&i.call(this,e,t,n,r,p,o,a,s))return}},nt.prototype._convertFromCellCoord=function(e){return(e-this.padding)/this.scale},nt.prototype._convertToCellCoord=function(e){return Math.max(0,Math.min(this.d-1,Math.floor(e*this.scale)+this.padding))},nt.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var e=this.cells,t=3+this.cells.length+1+1,n=0,r=0;r<this.cells.length;r++)n+=this.cells[r].length;var i=new Int32Array(t+n+this.keys.length+this.bboxes.length);i[0]=this.extent,i[1]=this.n,i[2]=this.padding;for(var o=t,a=0;a<e.length;a++){var s=e[a];i[3+a]=o,i.set(s,o),o+=s.length}return i[3+e.length]=o,i.set(this.keys,o),i[3+e.length+1]=o+=this.keys.length,i.set(this.bboxes,o),o+=this.bboxes.length,i.buffer};var rt=P(function(e,t){var d={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function p(e){return(e=Math.round(e))<0?0:e>255?255:e}function y(e){return p("%"===e[e.length-1]?parseFloat(e)/100*255:parseInt(e))}function m(e){return(t="%"===e[e.length-1]?parseFloat(e)/100:parseFloat(e))<0?0:t>1?1:t;var t}function g(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}try{t.parseCSSColor=function(e){var t,n=e.replace(/ /g,"").toLowerCase();if(n in d)return d[n].slice();if("#"===n[0])return 4===n.length?(t=parseInt(n.substr(1),16))>=0&&t<=4095?[(3840&t)>>4|(3840&t)>>8,240&t|(240&t)>>4,15&t|(15&t)<<4,1]:null:7===n.length&&(t=parseInt(n.substr(1),16))>=0&&t<=16777215?[(16711680&t)>>16,(65280&t)>>8,255&t,1]:null;var r=n.indexOf("("),i=n.indexOf(")");if(-1!==r&&i+1===n.length){var o=n.substr(0,r),a=n.substr(r+1,i-(r+1)).split(","),s=1;switch(o){case"rgba":if(4!==a.length)return null;s=m(a.pop());case"rgb":return 3!==a.length?null:[y(a[0]),y(a[1]),y(a[2]),s];case"hsla":if(4!==a.length)return null;s=m(a.pop());case"hsl":if(3!==a.length)return null;var l=(parseFloat(a[0])%360+360)%360/360,u=m(a[1]),c=m(a[2]),f=c<=.5?c*(u+1):c+u-c*u,h=2*c-f;return[p(255*g(h,f,l+1/3)),p(255*g(h,f,l)),p(255*g(h,f,l-1/3)),s];default:return null}}return null}}catch(e){}}).parseCSSColor,S=function(e,t,n,r){void 0===r&&(r=1),this.r=e,this.g=t,this.b=n,this.a=r};function it(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];for(var r=0,i=t;r<i.length;r+=1){var o=i[r];for(var a in o)e[a]=o[a]}return e}S.parse=function(e){if(e){if(e instanceof S)return e;if("string"==typeof e){var t=rt(e);if(t)return new S(t[0]/255*t[3],t[1]/255*t[3],t[2]/255*t[3],t[3])}}},S.prototype.toString=function(){var e=this.toArray(),t=e[1],n=e[2],r=e[3];return"rgba("+Math.round(e[0])+","+Math.round(t)+","+Math.round(n)+","+r+")"},S.prototype.toArray=function(){var e=this.a;return 0===e?[0,0,0,0]:[255*this.r/e,255*this.g/e,255*this.b/e,e]},S.black=new S(0,0,0,1),S.white=new S(1,1,1,1),S.transparent=new S(0,0,0,0),S.red=new S(1,0,0,1);var ot=function(n){function e(e,t){n.call(this,t),this.message=t,this.key=e}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e}(Error),at=function(e,t){void 0===t&&(t=[]),this.parent=e,this.bindings={};for(var n=0,r=t;n<r.length;n+=1){var i=r[n];this.bindings[i[0]]=i[1]}};at.prototype.concat=function(e){return new at(this,e)},at.prototype.get=function(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(e+" not found in scope.")},at.prototype.has=function(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)};var st={kind:"null"},m={kind:"number"},d={kind:"string"},h={kind:"boolean"},lt={kind:"color"},ut={kind:"object"},g={kind:"value"},ct={kind:"collator"},ft={kind:"formatted"},ht={kind:"resolvedImage"};function dt(e,t){return{kind:"array",itemType:e,N:t}}function E(e){if("array"===e.kind){var t=E(e.itemType);return"number"==typeof e.N?"array<"+t+", "+e.N+">":"value"===e.itemType.kind?"array":"array<"+t+">"}return e.kind}var pt=[st,m,d,h,lt,ft,ut,dt(g),ht];function yt(e,t){if("error"===t.kind)return null;if("array"===e.kind){if("array"===t.kind&&(0===t.N&&"value"===t.itemType.kind||!yt(e.itemType,t.itemType))&&("number"!=typeof e.N||e.N===t.N))return null}else{if(e.kind===t.kind)return null;if("value"===e.kind)for(var n=0,r=pt;n<r.length;n+=1)if(!yt(r[n],t))return null}return"Expected "+E(e)+" but found "+E(t)+" instead."}function mt(t,e){return e.some(function(e){return e.kind===t.kind})}function gt(t,e){return e.some(function(e){return"null"===e?null===t:"array"===e?Array.isArray(t):"object"===e?t&&!Array.isArray(t)&&"object"==typeof t:e===typeof t})}var vt=function(e,t,n){this.sensitivity=e?t?"variant":"case":t?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};vt.prototype.compare=function(e,t){return this.collator.compare(e,t)},vt.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var bt=function(e,t,n,r,i){this.text=e,this.image=t,this.scale=n,this.fontStack=r,this.textColor=i},z=function(e){this.sections=e};z.fromString=function(e){return new z([new bt(e,null,null,null,null)])},z.prototype.isEmpty=function(){return 0===this.sections.length||!this.sections.some(function(e){return 0!==e.text.length||e.image&&0!==e.image.name.length})},z.factory=function(e){return e instanceof z?e:z.fromString(e)},z.prototype.toString=function(){return 0===this.sections.length?"":this.sections.map(function(e){return e.text}).join("")},z.prototype.serialize=function(){for(var e=["format"],t=0,n=this.sections;t<n.length;t+=1){var r=n[t];if(r.image)e.push(["image",r.image.name]);else{e.push(r.text);var i={};r.fontStack&&(i["text-font"]=["literal",r.fontStack.split(",")]),r.scale&&(i["font-scale"]=r.scale),r.textColor&&(i["text-color"]=["rgba"].concat(r.textColor.toArray())),e.push(i)}}return e};var _t=function(e){this.name=e.name,this.available=e.available};function xt(e,t,n,r){return"number"==typeof e&&e>=0&&e<=255&&"number"==typeof t&&t>=0&&t<=255&&"number"==typeof n&&n>=0&&n<=255?void 0===r||"number"==typeof r&&r>=0&&r<=1?null:"Invalid rgba value ["+[e,t,n,r].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof r?[e,t,n,r]:[e,t,n]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function wt(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof S)return!0;if(e instanceof vt)return!0;if(e instanceof z)return!0;if(e instanceof _t)return!0;if(Array.isArray(e)){for(var t=0,n=e;t<n.length;t+=1)if(!wt(n[t]))return!1;return!0}if("object"==typeof e){for(var r in e)if(!wt(e[r]))return!1;return!0}return!1}function v(e){if(null===e)return st;if("string"==typeof e)return d;if("boolean"==typeof e)return h;if("number"==typeof e)return m;if(e instanceof S)return lt;if(e instanceof vt)return ct;if(e instanceof z)return ft;if(e instanceof _t)return ht;if(Array.isArray(e)){for(var t,n=e.length,r=0,i=e;r<i.length;r+=1){var o=v(i[r]);if(t){if(t===o)continue;t=g;break}t=o}return dt(t||g,n)}return ut}function At(e){var t=typeof e;return null===e?"":"string"===t||"number"===t||"boolean"===t?String(e):e instanceof S||e instanceof z||e instanceof _t?e.toString():JSON.stringify(e)}_t.prototype.toString=function(){return this.name},_t.fromString=function(e){return e?new _t({name:e,available:!1}):null},_t.prototype.serialize=function(){return["image",this.name]};var St=function(e,t){this.type=e,this.value=t};St.parse=function(e,t){if(2!==e.length)return t.error("'literal' expression requires exactly one argument, but found "+(e.length-1)+" instead.");if(!wt(e[1]))return t.error("invalid value");var n=e[1],r=v(n),i=t.expectedType;return"array"!==r.kind||0!==r.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(r=i),new St(r,n)},St.prototype.evaluate=function(){return this.value},St.prototype.eachChild=function(){},St.prototype.outputDefined=function(){return!0},St.prototype.serialize=function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof S?["rgba"].concat(this.value.toArray()):this.value instanceof z?this.value.serialize():this.value};var p=function(e){this.name="ExpressionEvaluationError",this.message=e};p.prototype.toJSON=function(){return this.message};var Ct={string:d,number:m,boolean:h,object:ut},Ot=function(e,t){this.type=e,this.args=t};Ot.parse=function(e,t){if(e.length<2)return t.error("Expected at least one argument.");var n,r=1,i=e[0];if("array"===i){var o,a;if(e.length>2){var s=e[1];if("string"!=typeof s||!(s in Ct)||"object"===s)return t.error('The item type argument of "array" must be one of string, number, boolean',1);o=Ct[s],r++}else o=g;if(e.length>3){if(null!==e[2]&&("number"!=typeof e[2]||e[2]<0||e[2]!==Math.floor(e[2])))return t.error('The length argument to "array" must be a positive integer literal',2);a=e[2],r++}n=dt(o,a)}else n=Ct[i];for(var l=[];r<e.length;r++){var u=t.parse(e[r],r,g);if(!u)return null;l.push(u)}return new Ot(n,l)},Ot.prototype.evaluate=function(e){for(var t=0;t<this.args.length;t++){var n=this.args[t].evaluate(e);if(!yt(this.type,v(n)))return n;if(t===this.args.length-1)throw new p("Expected value to be of type "+E(this.type)+", but found "+E(v(n))+" instead.")}return null},Ot.prototype.eachChild=function(e){this.args.forEach(e)},Ot.prototype.outputDefined=function(){return this.args.every(function(e){return e.outputDefined()})},Ot.prototype.serialize=function(){var e=this.type,t=[e.kind];if("array"===e.kind){var n=e.itemType;if("string"===n.kind||"number"===n.kind||"boolean"===n.kind){t.push(n.kind);var r=e.N;("number"==typeof r||this.args.length>1)&&t.push(r)}}return t.concat(this.args.map(function(e){return e.serialize()}))};var Et=function(e){this.type=ft,this.sections=e};Et.parse=function(e,t){if(e.length<2)return t.error("Expected at least one argument.");var n=e[1];if(!Array.isArray(n)&&"object"==typeof n)return t.error("First argument must be an image or text section.");for(var r=[],i=!1,o=1;o<=e.length-1;++o){var a=e[o];if(i&&"object"==typeof a&&!Array.isArray(a)){i=!1;var s=null;if(a["font-scale"]&&!(s=t.parse(a["font-scale"],1,m)))return null;var l=null;if(a["text-font"]&&!(l=t.parse(a["text-font"],1,dt(d))))return null;var u=null;if(a["text-color"]&&!(u=t.parse(a["text-color"],1,lt)))return null;var c=r[r.length-1];c.scale=s,c.font=l,c.textColor=u}else{var f=t.parse(e[o],1,g);if(!f)return null;var h=f.type.kind;if("string"!==h&&"value"!==h&&"null"!==h&&"resolvedImage"!==h)return t.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,r.push({content:f,scale:null,font:null,textColor:null})}}return new Et(r)},Et.prototype.evaluate=function(n){return new z(this.sections.map(function(e){var t=e.content.evaluate(n);return v(t)===ht?new bt("",t,null,null,null):new bt(At(t),null,e.scale?e.scale.evaluate(n):null,e.font?e.font.evaluate(n).join(","):null,e.textColor?e.textColor.evaluate(n):null)}))},Et.prototype.eachChild=function(e){for(var t=0,n=this.sections;t<n.length;t+=1){var r=n[t];e(r.content),r.scale&&e(r.scale),r.font&&e(r.font),r.textColor&&e(r.textColor)}},Et.prototype.outputDefined=function(){return!1},Et.prototype.serialize=function(){for(var e=["format"],t=0,n=this.sections;t<n.length;t+=1){var r=n[t];e.push(r.content.serialize());var i={};r.scale&&(i["font-scale"]=r.scale.serialize()),r.font&&(i["text-font"]=r.font.serialize()),r.textColor&&(i["text-color"]=r.textColor.serialize()),e.push(i)}return e};var Mt=function(e){this.type=ht,this.input=e};Mt.parse=function(e,t){if(2!==e.length)return t.error("Expected two arguments.");var n=t.parse(e[1],1,d);return n?new Mt(n):t.error("No image name provided.")},Mt.prototype.evaluate=function(e){var t=this.input.evaluate(e),n=_t.fromString(t);return n&&e.availableImages&&(n.available=e.availableImages.indexOf(t)>-1),n},Mt.prototype.eachChild=function(e){e(this.input)},Mt.prototype.outputDefined=function(){return!1},Mt.prototype.serialize=function(){return["image",this.input.serialize()]};var Pt={"to-boolean":h,"to-color":lt,"to-number":m,"to-string":d},kt=function(e,t){this.type=e,this.args=t};kt.parse=function(e,t){if(e.length<2)return t.error("Expected at least one argument.");var n=e[0];if(("to-boolean"===n||"to-string"===n)&&2!==e.length)return t.error("Expected one argument.");for(var r=Pt[n],i=[],o=1;o<e.length;o++){var a=t.parse(e[o],o,g);if(!a)return null;i.push(a)}return new kt(r,i)},kt.prototype.evaluate=function(e){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(e));if("color"===this.type.kind){for(var t,n,r=0,i=this.args;r<i.length;r+=1){if(n=null,(t=i[r].evaluate(e))instanceof S)return t;if("string"==typeof t){var o=e.parseColor(t);if(o)return o}else if(Array.isArray(t)&&!(n=t.length<3||t.length>4?"Invalid rbga value "+JSON.stringify(t)+": expected an array containing either three or four numeric values.":xt(t[0],t[1],t[2],t[3])))return new S(t[0]/255,t[1]/255,t[2]/255,t[3])}throw new p(n||"Could not parse color from value '"+("string"==typeof t?t:String(JSON.stringify(t)))+"'")}if("number"===this.type.kind){for(var a=null,s=0,l=this.args;s<l.length;s+=1){if(null===(a=l[s].evaluate(e)))return 0;var u=Number(a);if(!isNaN(u))return u}throw new p("Could not convert "+JSON.stringify(a)+" to number.")}return"formatted"===this.type.kind?z.fromString(At(this.args[0].evaluate(e))):"resolvedImage"===this.type.kind?_t.fromString(At(this.args[0].evaluate(e))):At(this.args[0].evaluate(e))},kt.prototype.eachChild=function(e){this.args.forEach(e)},kt.prototype.outputDefined=function(){return this.args.every(function(e){return e.outputDefined()})},kt.prototype.serialize=function(){if("formatted"===this.type.kind)return new Et([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new Mt(this.args[0]).serialize();var t=["to-"+this.type.kind];return this.eachChild(function(e){t.push(e.serialize())}),t};var Tt=["Unknown","Point","LineString","Polygon"],It=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null};It.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},It.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?Tt[this.feature.type]:this.feature.type:null},It.prototype.geometry=function(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null},It.prototype.canonicalID=function(){return this.canonical},It.prototype.properties=function(){return this.feature&&this.feature.properties||{}},It.prototype.parseColor=function(e){var t=this._parseColorCache[e];return t||(t=this._parseColorCache[e]=S.parse(e)),t};var Lt=function(e,t,n,r){this.name=e,this.type=t,this._evaluate=n,this.args=r};Lt.prototype.evaluate=function(e){return this._evaluate(e,this.args)},Lt.prototype.eachChild=function(e){this.args.forEach(e)},Lt.prototype.outputDefined=function(){return!1},Lt.prototype.serialize=function(){return[this.name].concat(this.args.map(function(e){return e.serialize()}))},Lt.parse=function(n,e){var t,r=n[0],i=Lt.definitions[r];if(!i)return e.error('Unknown expression "'+r+'". If you wanted a literal array, use ["literal", [...]].',0);for(var o=Array.isArray(i)?i[0]:i.type,a=Array.isArray(i)?[[i[1],i[2]]]:i.overloads,s=a.filter(function(e){var t=e[0];return!Array.isArray(t)||t.length===n.length-1}),l=null,u=0,c=s;u<c.length;u+=1){var f=c[u],h=f[0],d=f[1];l=new tn(e.registry,e.path,null,e.scope);for(var p=[],y=!1,m=1;m<n.length;m++){var g=n[m],v=Array.isArray(h)?h[m-1]:h.type,b=l.parse(g,1+p.length,v);if(!b){y=!0;break}p.push(b)}if(!y)if(Array.isArray(h)&&h.length!==p.length)l.error("Expected "+h.length+" arguments, but found "+p.length+" instead.");else{for(var _=0;_<p.length;_++){var x=Array.isArray(h)?h[_]:h.type,w=p[_];l.concat(_+1).checkSubtype(x,w.type)}if(0===l.errors.length)return new Lt(r,o,d,p)}}if(1===s.length)(t=e.errors).push.apply(t,l.errors);else{for(var A=(s.length?s:a).map(function(e){var t;return t=e[0],Array.isArray(t)?"("+t.map(E).join(", ")+")":"("+E(t.type)+"...)"}).join(" | "),S=[],C=1;C<n.length;C++){var O=e.parse(n[C],1+S.length);if(!O)return null;S.push(E(O.type))}e.error("Expected arguments of type "+A+", but found ("+S.join(", ")+") instead.")}return null},Lt.register=function(e,t){for(var n in Lt.definitions=t,t)e[n]=Lt};var jt=function(e,t,n){this.type=ct,this.locale=n,this.caseSensitive=e,this.diacriticSensitive=t};function Dt(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.max(e[2],t[0]),e[3]=Math.max(e[3],t[1])}function Bt(e,t){return!(e[0]<=t[0]||e[2]>=t[2]||e[1]<=t[1]||e[3]>=t[3])}function Rt(e,t){var n=(180+e[0])/360,r=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+e[1]*Math.PI/360)))/360,i=Math.pow(2,t.z);return[Math.round(n*i*8192),Math.round(r*i*8192)]}function Nt(e,t,n){return t[1]>e[1]!=n[1]>e[1]&&e[0]<(n[0]-t[0])*(e[1]-t[1])/(n[1]-t[1])+t[0]}function zt(e,t){for(var n,r,i,o,a,s,l,u=!1,c=0,f=t.length;c<f;c++)for(var h=t[c],d=0,p=h.length;d<p-1;d++){if((o=(n=e)[0]-(r=h[d])[0])*(l=n[1]-(i=h[d+1])[1])-(s=n[0]-i[0])*(a=n[1]-r[1])==0&&o*s<=0&&a*l<=0)return!1;Nt(e,h[d],h[d+1])&&(u=!u)}return u}function Ft(e,t){for(var n=0;n<t.length;n++)if(zt(e,t[n]))return!0;return!1}function Vt(e,t,n,r){var i=r[0]-n[0],o=r[1]-n[1],a=(e[0]-n[0])*o-i*(e[1]-n[1]),s=(t[0]-n[0])*o-i*(t[1]-n[1]);return a>0&&s<0||a<0&&s>0}function Ht(e,t,n){for(var r=0,i=n;r<i.length;r+=1)for(var o=i[r],a=0;a<o.length-1;++a)if(0!=(f=[(c=o[a+1])[0]-(u=o[a])[0],c[1]-u[1]])[0]*(h=[(l=t)[0]-(s=e)[0],l[1]-s[1]])[1]-f[1]*h[0]&&Vt(s,l,u,c)&&Vt(u,c,s,l))return!0;var s,l,u,c,f,h;return!1}function Yt(e,t){for(var n=0;n<e.length;++n)if(!zt(e[n],t))return!1;for(var r=0;r<e.length-1;++r)if(Ht(e[r],e[r+1],t))return!1;return!0}function Gt(e,t){for(var n=0;n<t.length;n++)if(Yt(e,t[n]))return!0;return!1}function Ut(e,t,n){for(var r=[],i=0;i<e.length;i++){for(var o=[],a=0;a<e[i].length;a++){var s=Rt(e[i][a],n);Dt(t,s),o.push(s)}r.push(o)}return r}function Qt(e,t,n){for(var r=[],i=0;i<e.length;i++){var o=Ut(e[i],t,n);r.push(o)}return r}function Wt(e,t,n,r){if(e[0]<n[0]||e[0]>n[2]){var i=.5*r,o=e[0]-n[0]>i?-r:n[0]-e[0]>i?r:0;0===o&&(o=e[0]-n[2]>i?-r:n[2]-e[0]>i?r:0),e[0]+=o}Dt(t,e)}function qt(e,t,n,r){for(var i=8192*Math.pow(2,r.z),o=[8192*r.x,8192*r.y],a=[],s=0,l=e;s<l.length;s+=1)for(var u=0,c=l[s];u<c.length;u+=1){var f=c[u],h=[f.x+o[0],f.y+o[1]];Wt(h,t,n,i),a.push(h)}return a}function Kt(e,t,n,r){for(var i,o=8192*Math.pow(2,r.z),a=[8192*r.x,8192*r.y],s=[],l=0,u=e;l<u.length;l+=1){for(var c=[],f=0,h=u[l];f<h.length;f+=1){var d=h[f],p=[d.x+a[0],d.y+a[1]];Dt(t,p),c.push(p)}s.push(c)}if(t[2]-t[0]<=o/2){(i=t)[0]=i[1]=1/0,i[2]=i[3]=-1/0;for(var y=0,m=s;y<m.length;y+=1)for(var g=0,v=m[y];g<v.length;g+=1)Wt(v[g],t,n,o)}return s}jt.parse=function(e,t){if(2!==e.length)return t.error("Expected one argument.");var n=e[1];if("object"!=typeof n||Array.isArray(n))return t.error("Collator options argument must be an object.");var r=t.parse(void 0!==n["case-sensitive"]&&n["case-sensitive"],1,h);if(!r)return null;var i=t.parse(void 0!==n["diacritic-sensitive"]&&n["diacritic-sensitive"],1,h);if(!i)return null;var o=null;return n.locale&&!(o=t.parse(n.locale,1,d))?null:new jt(r,i,o)},jt.prototype.evaluate=function(e){return new vt(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)},jt.prototype.eachChild=function(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)},jt.prototype.outputDefined=function(){return!1},jt.prototype.serialize=function(){var e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]};var Xt=function(e,t){this.type=h,this.geojson=e,this.geometries=t};function Jt(e){if(e instanceof Lt){if("get"===e.name&&1===e.args.length)return!1;if("feature-state"===e.name)return!1;if("has"===e.name&&1===e.args.length)return!1;if("properties"===e.name||"geometry-type"===e.name||"id"===e.name)return!1;if(/^filter-/.test(e.name))return!1}if(e instanceof Xt)return!1;var t=!0;return e.eachChild(function(e){t&&!Jt(e)&&(t=!1)}),t}function $t(e){if(e instanceof Lt&&"feature-state"===e.name)return!1;var t=!0;return e.eachChild(function(e){t&&!$t(e)&&(t=!1)}),t}function Zt(e,t){if(e instanceof Lt&&t.indexOf(e.name)>=0)return!1;var n=!0;return e.eachChild(function(e){n&&!Zt(e,t)&&(n=!1)}),n}Xt.parse=function(e,t){if(2!==e.length)return t.error("'within' expression requires exactly one argument, but found "+(e.length-1)+" instead.");if(wt(e[1])){var n=e[1];if("FeatureCollection"===n.type)for(var r=0;r<n.features.length;++r){var i=n.features[r].geometry.type;if("Polygon"===i||"MultiPolygon"===i)return new Xt(n,n.features[r].geometry)}else if("Feature"===n.type){var o=n.geometry.type;if("Polygon"===o||"MultiPolygon"===o)return new Xt(n,n.geometry)}else if("Polygon"===n.type||"MultiPolygon"===n.type)return new Xt(n,n)}return t.error("'within' expression requires valid geojson object that contains polygon geometry type.")},Xt.prototype.evaluate=function(e){if(null!=e.geometry()&&null!=e.canonicalID()){if("Point"===e.geometryType())return function(e,t){var n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=e.canonicalID();if("Polygon"===t.type){var o=Ut(t.coordinates,r,i),a=qt(e.geometry(),n,r,i);if(!Bt(n,r))return!1;for(var s=0,l=a;s<l.length;s+=1)if(!zt(l[s],o))return!1}if("MultiPolygon"===t.type){var u=Qt(t.coordinates,r,i),c=qt(e.geometry(),n,r,i);if(!Bt(n,r))return!1;for(var f=0,h=c;f<h.length;f+=1)if(!Ft(h[f],u))return!1}return!0}(e,this.geometries);if("LineString"===e.geometryType())return function(e,t){var n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=e.canonicalID();if("Polygon"===t.type){var o=Ut(t.coordinates,r,i),a=Kt(e.geometry(),n,r,i);if(!Bt(n,r))return!1;for(var s=0,l=a;s<l.length;s+=1)if(!Yt(l[s],o))return!1}if("MultiPolygon"===t.type){var u=Qt(t.coordinates,r,i),c=Kt(e.geometry(),n,r,i);if(!Bt(n,r))return!1;for(var f=0,h=c;f<h.length;f+=1)if(!Gt(h[f],u))return!1}return!0}(e,this.geometries)}return!1},Xt.prototype.eachChild=function(){},Xt.prototype.outputDefined=function(){return!0},Xt.prototype.serialize=function(){return["within",this.geojson]};var en=function(e,t){this.type=t.type,this.name=e,this.boundExpression=t};en.parse=function(e,t){if(2!==e.length||"string"!=typeof e[1])return t.error("'var' expression requires exactly one string literal argument.");var n=e[1];return t.scope.has(n)?new en(n,t.scope.get(n)):t.error('Unknown variable "'+n+'". Make sure "'+n+'" has been bound in an enclosing "let" expression before using it.',1)},en.prototype.evaluate=function(e){return this.boundExpression.evaluate(e)},en.prototype.eachChild=function(){},en.prototype.outputDefined=function(){return!1},en.prototype.serialize=function(){return["var",this.name]};var tn=function(e,t,n,r,i){void 0===t&&(t=[]),void 0===r&&(r=new at),void 0===i&&(i=[]),this.registry=e,this.path=t,this.key=t.map(function(e){return"["+e+"]"}).join(""),this.scope=r,this.errors=i,this.expectedType=n};function nn(e,t){for(var n,r=e.length-1,i=0,o=r,a=0;i<=o;)if((n=e[a=Math.floor((i+o)/2)])<=t){if(a===r||t<e[a+1])return a;i=a+1}else{if(!(n>t))throw new p("Input is not a number.");o=a-1}return 0}tn.prototype.parse=function(e,t,n,r,i){return void 0===i&&(i={}),t?this.concat(t,n,r)._parse(e,i):this._parse(e,i)},tn.prototype._parse=function(e,t){function n(e,t,n){return"assert"===n?new Ot(t,[e]):"coerce"===n?new kt(t,[e]):e}if(null!==e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e||(e=["literal",e]),Array.isArray(e)){if(0===e.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var r=e[0];if("string"!=typeof r)return this.error("Expression name must be a string, but found "+typeof r+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var i=this.registry[r];if(i){var o=i.parse(e,this);if(!o)return null;if(this.expectedType){var a=this.expectedType,s=o.type;if("string"!==a.kind&&"number"!==a.kind&&"boolean"!==a.kind&&"object"!==a.kind&&"array"!==a.kind||"value"!==s.kind)if("color"!==a.kind&&"formatted"!==a.kind&&"resolvedImage"!==a.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(a,s))return null}else o=n(o,a,t.typeAnnotation||"coerce");else o=n(o,a,t.typeAnnotation||"assert")}if(!(o instanceof St)&&"resolvedImage"!==o.type.kind&&function t(e){if(e instanceof en)return t(e.boundExpression);if(e instanceof Lt&&"error"===e.name)return!1;if(e instanceof jt)return!1;if(e instanceof Xt)return!1;var n=e instanceof kt||e instanceof Ot,r=!0;return e.eachChild(function(e){r=n?r&&t(e):r&&e instanceof St}),!!r&&Jt(e)&&Zt(e,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(o)){var l=new It;try{o=new St(o.type,o.evaluate(l))}catch(e){return this.error(e.message),null}}return o}return this.error('Unknown expression "'+r+'". If you wanted a literal array, use ["literal", [...]].',0)}return this.error(void 0===e?"'undefined' value invalid. Use null instead.":"object"==typeof e?'Bare objects invalid. Use ["literal", {...}] instead.':"Expected an array, but found "+typeof e+" instead.")},tn.prototype.concat=function(e,t,n){var r="number"==typeof e?this.path.concat(e):this.path,i=n?this.scope.concat(n):this.scope;return new tn(this.registry,r,t||null,i,this.errors)},tn.prototype.error=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=""+this.key+t.map(function(e){return"["+e+"]"}).join("");this.errors.push(new ot(r,e))},tn.prototype.checkSubtype=function(e,t){var n=yt(e,t);return n&&this.error(n),n};var rn=function(e,t,n){this.type=e,this.input=t,this.labels=[],this.outputs=[];for(var r=0,i=n;r<i.length;r+=1){var o=i[r],a=o[1];this.labels.push(o[0]),this.outputs.push(a)}};function C(e,t,n){return e*(1-n)+t*n}rn.parse=function(e,t){if(e.length-1<4)return t.error("Expected at least 4 arguments, but found only "+(e.length-1)+".");if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");var n=t.parse(e[1],1,m);if(!n)return null;var r=[],i=null;t.expectedType&&"value"!==t.expectedType.kind&&(i=t.expectedType);for(var o=1;o<e.length;o+=2){var a=1===o?-1/0:e[o],s=e[o+1],l=o,u=o+1;if("number"!=typeof a)return t.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',l);if(r.length&&r[r.length-1][0]>=a)return t.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',l);var c=t.parse(s,u,i);if(!c)return null;i=i||c.type,r.push([a,c])}return new rn(i,n,r)},rn.prototype.evaluate=function(e){var t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);var r=this.input.evaluate(e);if(r<=t[0])return n[0].evaluate(e);var i=t.length;return r>=t[i-1]?n[i-1].evaluate(e):n[nn(t,r)].evaluate(e)},rn.prototype.eachChild=function(e){e(this.input);for(var t=0,n=this.outputs;t<n.length;t+=1)e(n[t])},rn.prototype.outputDefined=function(){return this.outputs.every(function(e){return e.outputDefined()})},rn.prototype.serialize=function(){for(var e=["step",this.input.serialize()],t=0;t<this.labels.length;t++)t>0&&e.push(this.labels[t]),e.push(this.outputs[t].serialize());return e};var on=Object.freeze({__proto__:null,number:C,color:function(e,t,n){return new S(C(e.r,t.r,n),C(e.g,t.g,n),C(e.b,t.b,n),C(e.a,t.a,n))},array:function(e,n,r){return e.map(function(e,t){return C(e,n[t],r)})}}),an=6/29*3*(6/29),sn=Math.PI/180,ln=180/Math.PI;function un(e){return e>.008856451679035631?Math.pow(e,1/3):e/an+4/29}function cn(e){return e>6/29?e*e*e:an*(e-4/29)}function fn(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function hn(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function dn(e){var t=hn(e.r),n=hn(e.g),r=hn(e.b),i=un((.4124564*t+.3575761*n+.1804375*r)/.95047),o=un((.2126729*t+.7151522*n+.072175*r)/1);return{l:116*o-16,a:500*(i-o),b:200*(o-un((.0193339*t+.119192*n+.9503041*r)/1.08883)),alpha:e.a}}function pn(e){var t=(e.l+16)/116,n=isNaN(e.a)?t:t+e.a/500,r=isNaN(e.b)?t:t-e.b/200;return t=1*cn(t),n=.95047*cn(n),r=1.08883*cn(r),new S(fn(3.2404542*n-1.5371385*t-.4985314*r),fn(-.969266*n+1.8760108*t+.041556*r),fn(.0556434*n-.2040259*t+1.0572252*r),e.alpha)}function yn(e,t,n){var r=t-e;return e+n*(r>180||r<-180?r-360*Math.round(r/360):r)}var mn={forward:dn,reverse:pn,interpolate:function(e,t,n){return{l:C(e.l,t.l,n),a:C(e.a,t.a,n),b:C(e.b,t.b,n),alpha:C(e.alpha,t.alpha,n)}}},gn={forward:function(e){var t=dn(e),n=t.l,r=t.a,i=t.b,o=Math.atan2(i,r)*ln;return{h:o<0?o+360:o,c:Math.sqrt(r*r+i*i),l:n,alpha:e.a}},reverse:function(e){var t=e.h*sn,n=e.c;return pn({l:e.l,a:Math.cos(t)*n,b:Math.sin(t)*n,alpha:e.alpha})},interpolate:function(e,t,n){return{h:yn(e.h,t.h,n),c:C(e.c,t.c,n),l:C(e.l,t.l,n),alpha:C(e.alpha,t.alpha,n)}}},vn=Object.freeze({__proto__:null,lab:mn,hcl:gn}),O=function(e,t,n,r,i){this.type=e,this.operator=t,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(var o=0,a=i;o<a.length;o+=1){var s=a[o],l=s[1];this.labels.push(s[0]),this.outputs.push(l)}};function bn(e,t,n,r){var i=r-n,o=e-n;return 0===i?0:1===t?o/i:(Math.pow(t,o)-1)/(Math.pow(t,i)-1)}O.interpolationFactor=function(e,t,n,r){var i=0;if("exponential"===e.name)i=bn(t,e.base,n,r);else if("linear"===e.name)i=bn(t,1,n,r);else if("cubic-bezier"===e.name){var o=e.controlPoints;i=new k(o[0],o[1],o[2],o[3]).solve(bn(t,1,n,r))}return i},O.parse=function(e,t){var n=e[0],r=e[1],i=e[2],o=e.slice(3);if(!Array.isArray(r)||0===r.length)return t.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){var a=r[1];if("number"!=typeof a)return t.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:a}}else{if("cubic-bezier"!==r[0])return t.error("Unknown interpolation type "+String(r[0]),1,0);var s=r.slice(1);if(4!==s.length||s.some(function(e){return"number"!=typeof e||e<0||e>1}))return t.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:s}}if(e.length-1<4)return t.error("Expected at least 4 arguments, but found only "+(e.length-1)+".");if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");if(!(i=t.parse(i,2,m)))return null;var l=[],u=null;"interpolate-hcl"===n||"interpolate-lab"===n?u=lt:t.expectedType&&"value"!==t.expectedType.kind&&(u=t.expectedType);for(var c=0;c<o.length;c+=2){var f=o[c],h=o[c+1],d=c+3,p=c+4;if("number"!=typeof f)return t.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',d);if(l.length&&l[l.length-1][0]>=f)return t.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',d);var y=t.parse(h,p,u);if(!y)return null;u=u||y.type,l.push([f,y])}return"number"===u.kind||"color"===u.kind||"array"===u.kind&&"number"===u.itemType.kind&&"number"==typeof u.N?new O(u,n,r,i,l):t.error("Type "+E(u)+" is not interpolatable.")},O.prototype.evaluate=function(e){var t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);var r=this.input.evaluate(e);if(r<=t[0])return n[0].evaluate(e);var i=t.length;if(r>=t[i-1])return n[i-1].evaluate(e);var o=nn(t,r),a=O.interpolationFactor(this.interpolation,r,t[o],t[o+1]),s=n[o].evaluate(e),l=n[o+1].evaluate(e);return"interpolate"===this.operator?on[this.type.kind.toLowerCase()](s,l,a):"interpolate-hcl"===this.operator?gn.reverse(gn.interpolate(gn.forward(s),gn.forward(l),a)):mn.reverse(mn.interpolate(mn.forward(s),mn.forward(l),a))},O.prototype.eachChild=function(e){e(this.input);for(var t=0,n=this.outputs;t<n.length;t+=1)e(n[t])},O.prototype.outputDefined=function(){return this.outputs.every(function(e){return e.outputDefined()})},O.prototype.serialize=function(){var e;e="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var t=[this.operator,e,this.input.serialize()],n=0;n<this.labels.length;n++)t.push(this.labels[n],this.outputs[n].serialize());return t};var _n=function(e,t){this.type=e,this.args=t};_n.parse=function(e,t){if(e.length<2)return t.error("Expectected at least one argument.");var n=null,r=t.expectedType;r&&"value"!==r.kind&&(n=r);for(var i=[],o=0,a=e.slice(1);o<a.length;o+=1){var s=t.parse(a[o],1+i.length,n,void 0,{typeAnnotation:"omit"});if(!s)return null;n=n||s.type,i.push(s)}var l=r&&i.some(function(e){return yt(r,e.type)});return new _n(l?g:n,i)},_n.prototype.evaluate=function(e){for(var t,n=null,r=0,i=0,o=this.args;i<o.length&&(r++,(n=o[i].evaluate(e))&&n instanceof _t&&!n.available&&(t||(t=n.name),n=null,r===this.args.length&&(n=t)),null===n);i+=1);return n},_n.prototype.eachChild=function(e){this.args.forEach(e)},_n.prototype.outputDefined=function(){return this.args.every(function(e){return e.outputDefined()})},_n.prototype.serialize=function(){var t=["coalesce"];return this.eachChild(function(e){t.push(e.serialize())}),t};var xn=function(e,t){this.type=t.type,this.bindings=[].concat(e),this.result=t};xn.prototype.evaluate=function(e){return this.result.evaluate(e)},xn.prototype.eachChild=function(e){for(var t=0,n=this.bindings;t<n.length;t+=1)e(n[t][1]);e(this.result)},xn.parse=function(e,t){if(e.length<4)return t.error("Expected at least 3 arguments, but found "+(e.length-1)+" instead.");for(var n=[],r=1;r<e.length-1;r+=2){var i=e[r];if("string"!=typeof i)return t.error("Expected string, but found "+typeof i+" instead.",r);if(/[^a-zA-Z0-9_]/.test(i))return t.error("Variable names must contain only alphanumeric characters or '_'.",r);var o=t.parse(e[r+1],r+1);if(!o)return null;n.push([i,o])}var a=t.parse(e[e.length-1],e.length-1,t.expectedType,n);return a?new xn(n,a):null},xn.prototype.outputDefined=function(){return this.result.outputDefined()},xn.prototype.serialize=function(){for(var e=["let"],t=0,n=this.bindings;t<n.length;t+=1){var r=n[t];e.push(r[0],r[1].serialize())}return e.push(this.result.serialize()),e};var wn=function(e,t,n){this.type=e,this.index=t,this.input=n};wn.parse=function(e,t){if(3!==e.length)return t.error("Expected 2 arguments, but found "+(e.length-1)+" instead.");var n=t.parse(e[1],1,m),r=t.parse(e[2],2,dt(t.expectedType||g));return n&&r?new wn(r.type.itemType,n,r):null},wn.prototype.evaluate=function(e){var t=this.index.evaluate(e),n=this.input.evaluate(e);if(t<0)throw new p("Array index out of bounds: "+t+" < 0.");if(t>=n.length)throw new p("Array index out of bounds: "+t+" > "+(n.length-1)+".");if(t!==Math.floor(t))throw new p("Array index must be an integer, but found "+t+" instead.");return n[t]},wn.prototype.eachChild=function(e){e(this.index),e(this.input)},wn.prototype.outputDefined=function(){return!1},wn.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var An=function(e,t){this.type=h,this.needle=e,this.haystack=t};An.parse=function(e,t){if(3!==e.length)return t.error("Expected 2 arguments, but found "+(e.length-1)+" instead.");var n=t.parse(e[1],1,g),r=t.parse(e[2],2,g);return n&&r?mt(n.type,[h,d,m,st,g])?new An(n,r):t.error("Expected first argument to be of type boolean, string, number or null, but found "+E(n.type)+" instead"):null},An.prototype.evaluate=function(e){var t=this.needle.evaluate(e),n=this.haystack.evaluate(e);if(!n)return!1;if(!gt(t,["boolean","string","number","null"]))throw new p("Expected first argument to be of type boolean, string, number or null, but found "+E(v(t))+" instead.");if(!gt(n,["string","array"]))throw new p("Expected second argument to be of type array or string, but found "+E(v(n))+" instead.");return n.indexOf(t)>=0},An.prototype.eachChild=function(e){e(this.needle),e(this.haystack)},An.prototype.outputDefined=function(){return!0},An.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Sn=function(e,t,n){this.type=m,this.needle=e,this.haystack=t,this.fromIndex=n};Sn.parse=function(e,t){if(e.length<=2||e.length>=5)return t.error("Expected 3 or 4 arguments, but found "+(e.length-1)+" instead.");var n=t.parse(e[1],1,g),r=t.parse(e[2],2,g);if(!n||!r)return null;if(!mt(n.type,[h,d,m,st,g]))return t.error("Expected first argument to be of type boolean, string, number or null, but found "+E(n.type)+" instead");if(4===e.length){var i=t.parse(e[3],3,m);return i?new Sn(n,r,i):null}return new Sn(n,r)},Sn.prototype.evaluate=function(e){var t=this.needle.evaluate(e),n=this.haystack.evaluate(e);if(!gt(t,["boolean","string","number","null"]))throw new p("Expected first argument to be of type boolean, string, number or null, but found "+E(v(t))+" instead.");if(!gt(n,["string","array"]))throw new p("Expected second argument to be of type array or string, but found "+E(v(n))+" instead.");if(this.fromIndex){var r=this.fromIndex.evaluate(e);return n.indexOf(t,r)}return n.indexOf(t)},Sn.prototype.eachChild=function(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)},Sn.prototype.outputDefined=function(){return!1},Sn.prototype.serialize=function(){if(null!=this.fromIndex&&void 0!==this.fromIndex){var e=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),e]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var Cn=function(e,t,n,r,i,o){this.inputType=e,this.type=t,this.input=n,this.cases=r,this.outputs=i,this.otherwise=o};Cn.parse=function(e,t){if(e.length<5)return t.error("Expected at least 4 arguments, but found only "+(e.length-1)+".");if(e.length%2!=1)return t.error("Expected an even number of arguments.");var n,r;t.expectedType&&"value"!==t.expectedType.kind&&(r=t.expectedType);for(var i={},o=[],a=2;a<e.length-1;a+=2){var s=e[a],l=e[a+1];Array.isArray(s)||(s=[s]);var u=t.concat(a);if(0===s.length)return u.error("Expected at least one branch label.");for(var c=0,f=s;c<f.length;c+=1){var h=f[c];if("number"!=typeof h&&"string"!=typeof h)return u.error("Branch labels must be numbers or strings.");if("number"==typeof h&&Math.abs(h)>Number.MAX_SAFE_INTEGER)return u.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof h&&Math.floor(h)!==h)return u.error("Numeric branch labels must be integer values.");if(n){if(u.checkSubtype(n,v(h)))return null}else n=v(h);if(void 0!==i[String(h)])return u.error("Branch labels must be unique.");i[String(h)]=o.length}var d=t.parse(l,a,r);if(!d)return null;r=r||d.type,o.push(d)}var p=t.parse(e[1],1,g);if(!p)return null;var y=t.parse(e[e.length-1],e.length-1,r);return y?"value"!==p.type.kind&&t.concat(1).checkSubtype(n,p.type)?null:new Cn(n,r,p,i,o,y):null},Cn.prototype.evaluate=function(e){var t=this.input.evaluate(e);return(v(t)===this.inputType&&this.outputs[this.cases[t]]||this.otherwise).evaluate(e)},Cn.prototype.eachChild=function(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)},Cn.prototype.outputDefined=function(){return this.outputs.every(function(e){return e.outputDefined()})&&this.otherwise.outputDefined()},Cn.prototype.serialize=function(){for(var t=this,e=["match",this.input.serialize()],n=[],r={},i=0,o=Object.keys(this.cases).sort();i<o.length;i+=1){var a=o[i];void 0===(f=r[this.cases[a]])?(r[this.cases[a]]=n.length,n.push([this.cases[a],[a]])):n[f][1].push(a)}for(var s=function(e){return"number"===t.inputType.kind?Number(e):e},l=0,u=n;l<u.length;l+=1){var c=u[l],f=c[0],h=c[1];e.push(1===h.length?s(h[0]):h.map(s)),e.push(this.outputs[outputIndex$1].serialize())}return e.push(this.otherwise.serialize()),e};var On=function(e,t,n){this.type=e,this.branches=t,this.otherwise=n};On.parse=function(e,t){if(e.length<4)return t.error("Expected at least 3 arguments, but found only "+(e.length-1)+".");if(e.length%2!=0)return t.error("Expected an odd number of arguments.");var n;t.expectedType&&"value"!==t.expectedType.kind&&(n=t.expectedType);for(var r=[],i=1;i<e.length-1;i+=2){var o=t.parse(e[i],i,h);if(!o)return null;var a=t.parse(e[i+1],i+1,n);if(!a)return null;r.push([o,a]),n=n||a.type}var s=t.parse(e[e.length-1],e.length-1,n);return s?new On(n,r,s):null},On.prototype.evaluate=function(e){for(var t=0,n=this.branches;t<n.length;t+=1){var r=n[t],i=r[1];if(r[0].evaluate(e))return i.evaluate(e)}return this.otherwise.evaluate(e)},On.prototype.eachChild=function(e){for(var t=0,n=this.branches;t<n.length;t+=1){var r=n[t],i=r[1];e(r[0]),e(i)}e(this.otherwise)},On.prototype.outputDefined=function(){return this.branches.every(function(e){return e[1].outputDefined()})&&this.otherwise.outputDefined()},On.prototype.serialize=function(){var t=["case"];return this.eachChild(function(e){t.push(e.serialize())}),t};var En=function(e,t,n,r){this.type=e,this.input=t,this.beginIndex=n,this.endIndex=r};function Mn(e,t){return"=="===e||"!="===e?"boolean"===t.kind||"string"===t.kind||"number"===t.kind||"null"===t.kind||"value"===t.kind:"string"===t.kind||"number"===t.kind||"value"===t.kind}function Pn(e,t,n,r){return 0===r.compare(t,n)}function kn(s,l,u){var c="=="!==s&&"!="!==s;return function(){function a(e,t,n){this.type=h,this.lhs=e,this.rhs=t,this.collator=n,this.hasUntypedArgument="value"===e.type.kind||"value"===t.type.kind}return a.parse=function(e,t){if(3!==e.length&&4!==e.length)return t.error("Expected two or three arguments.");var n=e[0],r=t.parse(e[1],1,g);if(!r)return null;if(!Mn(n,r.type))return t.concat(1).error('"'+n+"\" comparisons are not supported for type '"+E(r.type)+"'.");var i=t.parse(e[2],2,g);if(!i)return null;if(!Mn(n,i.type))return t.concat(2).error('"'+n+"\" comparisons are not supported for type '"+E(i.type)+"'.");if(r.type.kind!==i.type.kind&&"value"!==r.type.kind&&"value"!==i.type.kind)return t.error("Cannot compare types '"+E(r.type)+"' and '"+E(i.type)+"'.");c&&("value"===r.type.kind&&"value"!==i.type.kind?r=new Ot(i.type,[r]):"value"!==r.type.kind&&"value"===i.type.kind&&(i=new Ot(r.type,[i])));var o=null;if(4===e.length){if("string"!==r.type.kind&&"string"!==i.type.kind&&"value"!==r.type.kind&&"value"!==i.type.kind)return t.error("Cannot use collator to compare non-string types.");if(!(o=t.parse(e[3],3,ct)))return null}return new a(r,i,o)},a.prototype.evaluate=function(e){var t=this.lhs.evaluate(e),n=this.rhs.evaluate(e);if(c&&this.hasUntypedArgument){var r=v(t),i=v(n);if(r.kind!==i.kind||"string"!==r.kind&&"number"!==r.kind)throw new p('Expected arguments for "'+s+'" to be (string, string) or (number, number), but found ('+r.kind+", "+i.kind+") instead.")}if(this.collator&&!c&&this.hasUntypedArgument){var o=v(t),a=v(n);if("string"!==o.kind||"string"!==a.kind)return l(e,t,n)}return this.collator?u(e,t,n,this.collator.evaluate(e)):l(e,t,n)},a.prototype.eachChild=function(e){e(this.lhs),e(this.rhs),this.collator&&e(this.collator)},a.prototype.outputDefined=function(){return!0},a.prototype.serialize=function(){var t=[s];return this.eachChild(function(e){t.push(e.serialize())}),t},a}()}En.parse=function(e,t){if(e.length<=2||e.length>=5)return t.error("Expected 3 or 4 arguments, but found "+(e.length-1)+" instead.");var n=t.parse(e[1],1,g),r=t.parse(e[2],2,m);if(!n||!r)return null;if(!mt(n.type,[dt(g),d,g]))return t.error("Expected first argument to be of type array or string, but found "+E(n.type)+" instead");if(4===e.length){var i=t.parse(e[3],3,m);return i?new En(n.type,n,r,i):null}return new En(n.type,n,r)},En.prototype.evaluate=function(e){var t=this.input.evaluate(e),n=this.beginIndex.evaluate(e);if(!gt(t,["string","array"]))throw new p("Expected first argument to be of type array or string, but found "+E(v(t))+" instead.");if(this.endIndex){var r=this.endIndex.evaluate(e);return t.slice(n,r)}return t.slice(n)},En.prototype.eachChild=function(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)},En.prototype.outputDefined=function(){return!1},En.prototype.serialize=function(){if(null!=this.endIndex&&void 0!==this.endIndex){var e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var Tn=kn("==",function(e,t,n){return t===n},Pn),In=kn("!=",function(e,t,n){return t!==n},function(e,t,n,r){return!Pn(0,t,n,r)}),Ln=kn("<",function(e,t,n){return t<n},function(e,t,n,r){return r.compare(t,n)<0}),jn=kn(">",function(e,t,n){return t>n},function(e,t,n,r){return r.compare(t,n)>0}),Dn=kn("<=",function(e,t,n){return t<=n},function(e,t,n,r){return r.compare(t,n)<=0}),Bn=kn(">=",function(e,t,n){return t>=n},function(e,t,n,r){return r.compare(t,n)>=0}),Rn=function(e,t,n,r,i){this.type=d,this.number=e,this.locale=t,this.currency=n,this.minFractionDigits=r,this.maxFractionDigits=i};Rn.parse=function(e,t){if(3!==e.length)return t.error("Expected two arguments.");var n=t.parse(e[1],1,m);if(!n)return null;var r=e[2];if("object"!=typeof r||Array.isArray(r))return t.error("NumberFormat options argument must be an object.");var i=null;if(r.locale&&!(i=t.parse(r.locale,1,d)))return null;var o=null;if(r.currency&&!(o=t.parse(r.currency,1,d)))return null;var a=null;if(r["min-fraction-digits"]&&!(a=t.parse(r["min-fraction-digits"],1,m)))return null;var s=null;return r["max-fraction-digits"]&&!(s=t.parse(r["max-fraction-digits"],1,m))?null:new Rn(n,i,o,a,s)},Rn.prototype.evaluate=function(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))},Rn.prototype.eachChild=function(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)},Rn.prototype.outputDefined=function(){return!1},Rn.prototype.serialize=function(){var e={};return this.locale&&(e.locale=this.locale.serialize()),this.currency&&(e.currency=this.currency.serialize()),this.minFractionDigits&&(e["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(e["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),e]};var Nn=function(e){this.type=m,this.input=e};Nn.parse=function(e,t){if(2!==e.length)return t.error("Expected 1 argument, but found "+(e.length-1)+" instead.");var n=t.parse(e[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?t.error("Expected argument of type string or array, but found "+E(n.type)+" instead."):new Nn(n):null},Nn.prototype.evaluate=function(e){var t=this.input.evaluate(e);if("string"==typeof t)return t.length;if(Array.isArray(t))return t.length;throw new p("Expected value to be of type string or array, but found "+E(v(t))+" instead.")},Nn.prototype.eachChild=function(e){e(this.input)},Nn.prototype.outputDefined=function(){return!1},Nn.prototype.serialize=function(){var t=["length"];return this.eachChild(function(e){t.push(e.serialize())}),t};var zn={"==":Tn,"!=":In,">":jn,"<":Ln,">=":Bn,"<=":Dn,array:Ot,at:wn,boolean:Ot,case:On,coalesce:_n,collator:jt,format:Et,image:Mt,in:An,"index-of":Sn,interpolate:O,"interpolate-hcl":O,"interpolate-lab":O,length:Nn,let:xn,literal:St,match:Cn,number:Ot,"number-format":Rn,object:Ot,slice:En,step:rn,string:Ot,"to-boolean":kt,"to-color":kt,"to-number":kt,"to-string":kt,var:en,within:Xt};function Fn(e,t){var n=t[0],r=t[1],i=t[2],o=t[3];n=n.evaluate(e),r=r.evaluate(e),i=i.evaluate(e);var a=o?o.evaluate(e):1,s=xt(n,r,i,a);if(s)throw new p(s);return new S(n/255*a,r/255*a,i/255*a,a)}function Vn(e,t){return e in t}function Hn(e,t){var n=t[e];return void 0===n?null:n}function Yn(e){return{type:e}}function Gn(e){return{result:"success",value:e}}function Un(e){return{result:"error",value:e}}function Qn(e){return"data-driven"===e["property-type"]||"cross-faded-data-driven"===e["property-type"]}function Wn(e){return!!e.expression&&e.expression.parameters.indexOf("zoom")>-1}function qn(e){return!!e.expression&&e.expression.interpolated}function y(e){return e instanceof Number?"number":e instanceof String?"string":e instanceof Boolean?"boolean":Array.isArray(e)?"array":null===e?"null":typeof e}function Kn(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function Xn(e){return e}function Jn(e,t,n){return void 0!==e?e:void 0!==t?t:void 0!==n?n:void 0}function $n(e,t,n,r,i){return Jn(typeof n===i?r[n]:void 0,e.default,t.default)}function Zn(e,t,n){if("number"!==y(n))return Jn(e.default,t.default);var r=e.stops.length;if(1===r)return e.stops[0][1];if(n<=e.stops[0][0])return e.stops[0][1];if(n>=e.stops[r-1][0])return e.stops[r-1][1];var i=nn(e.stops.map(function(e){return e[0]}),n);return e.stops[i][1]}function er(e,t,n){var r=void 0!==e.base?e.base:1;if("number"!==y(n))return Jn(e.default,t.default);var i=e.stops.length;if(1===i)return e.stops[0][1];if(n<=e.stops[0][0])return e.stops[0][1];if(n>=e.stops[i-1][0])return e.stops[i-1][1];var o=nn(e.stops.map(function(e){return e[0]}),n),a=function(e,t,n,r){var i=r-n,o=e-n;return 0===i?0:1===t?o/i:(Math.pow(t,o)-1)/(Math.pow(t,i)-1)}(n,r,e.stops[o][0],e.stops[o+1][0]),s=e.stops[o][1],l=e.stops[o+1][1],u=on[t.type]||Xn;if(e.colorSpace&&"rgb"!==e.colorSpace){var c=vn[e.colorSpace];u=function(e,t){return c.reverse(c.interpolate(c.forward(e),c.forward(t),a))}}return"function"==typeof s.evaluate?{evaluate:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=s.evaluate.apply(void 0,e),r=l.evaluate.apply(void 0,e);if(void 0!==n&&void 0!==r)return u(n,r,a)}}:u(s,l,a)}function tr(e,t,n){return"color"===t.type?n=S.parse(n):"formatted"===t.type?n=z.fromString(n.toString()):"resolvedImage"===t.type?n=_t.fromString(n.toString()):y(n)===t.type||"enum"===t.type&&t.values[n]||(n=void 0),Jn(n,e.default,t.default)}Lt.register(zn,{error:[{kind:"error"},[d],function(e,t){throw new p(t[0].evaluate(e))}],typeof:[d,[g],function(e,t){return E(v(t[0].evaluate(e)))}],"to-rgba":[dt(m,4),[lt],function(e,t){return t[0].evaluate(e).toArray()}],rgb:[lt,[m,m,m],Fn],rgba:[lt,[m,m,m,m],Fn],has:{type:h,overloads:[[[d],function(e,t){return Vn(t[0].evaluate(e),e.properties())}],[[d,ut],function(e,t){var n=t[1];return Vn(t[0].evaluate(e),n.evaluate(e))}]]},get:{type:g,overloads:[[[d],function(e,t){return Hn(t[0].evaluate(e),e.properties())}],[[d,ut],function(e,t){var n=t[1];return Hn(t[0].evaluate(e),n.evaluate(e))}]]},"feature-state":[g,[d],function(e,t){return Hn(t[0].evaluate(e),e.featureState||{})}],properties:[ut,[],function(e){return e.properties()}],"geometry-type":[d,[],function(e){return e.geometryType()}],id:[g,[],function(e){return e.id()}],zoom:[m,[],function(e){return e.globals.zoom}],"heatmap-density":[m,[],function(e){return e.globals.heatmapDensity||0}],"line-progress":[m,[],function(e){return e.globals.lineProgress||0}],accumulated:[g,[],function(e){return void 0===e.globals.accumulated?null:e.globals.accumulated}],"+":[m,Yn(m),function(e,t){for(var n=0,r=0,i=t;r<i.length;r+=1)n+=i[r].evaluate(e);return n}],"*":[m,Yn(m),function(e,t){for(var n=1,r=0,i=t;r<i.length;r+=1)n*=i[r].evaluate(e);return n}],"-":{type:m,overloads:[[[m,m],function(e,t){var n=t[1];return t[0].evaluate(e)-n.evaluate(e)}],[[m],function(e,t){return-t[0].evaluate(e)}]]},"/":[m,[m,m],function(e,t){var n=t[1];return t[0].evaluate(e)/n.evaluate(e)}],"%":[m,[m,m],function(e,t){var n=t[1];return t[0].evaluate(e)%n.evaluate(e)}],ln2:[m,[],function(){return Math.LN2}],pi:[m,[],function(){return Math.PI}],e:[m,[],function(){return Math.E}],"^":[m,[m,m],function(e,t){var n=t[1];return Math.pow(t[0].evaluate(e),n.evaluate(e))}],sqrt:[m,[m],function(e,t){return Math.sqrt(t[0].evaluate(e))}],log10:[m,[m],function(e,t){return Math.log(t[0].evaluate(e))/Math.LN10}],ln:[m,[m],function(e,t){return Math.log(t[0].evaluate(e))}],log2:[m,[m],function(e,t){return Math.log(t[0].evaluate(e))/Math.LN2}],sin:[m,[m],function(e,t){return Math.sin(t[0].evaluate(e))}],cos:[m,[m],function(e,t){return Math.cos(t[0].evaluate(e))}],tan:[m,[m],function(e,t){return Math.tan(t[0].evaluate(e))}],asin:[m,[m],function(e,t){return Math.asin(t[0].evaluate(e))}],acos:[m,[m],function(e,t){return Math.acos(t[0].evaluate(e))}],atan:[m,[m],function(e,t){return Math.atan(t[0].evaluate(e))}],min:[m,Yn(m),function(t,e){return Math.min.apply(Math,e.map(function(e){return e.evaluate(t)}))}],max:[m,Yn(m),function(t,e){return Math.max.apply(Math,e.map(function(e){return e.evaluate(t)}))}],abs:[m,[m],function(e,t){return Math.abs(t[0].evaluate(e))}],round:[m,[m],function(e,t){var n=t[0].evaluate(e);return n<0?-Math.round(-n):Math.round(n)}],floor:[m,[m],function(e,t){return Math.floor(t[0].evaluate(e))}],ceil:[m,[m],function(e,t){return Math.ceil(t[0].evaluate(e))}],"filter-==":[h,[d,g],function(e,t){var n=t[0],r=t[1];return e.properties()[n.value]===r.value}],"filter-id-==":[h,[g],function(e,t){var n=t[0];return e.id()===n.value}],"filter-type-==":[h,[d],function(e,t){var n=t[0];return e.geometryType()===n.value}],"filter-<":[h,[d,g],function(e,t){var n=t[0],r=t[1],i=e.properties()[n.value],o=r.value;return typeof i==typeof o&&i<o}],"filter-id-<":[h,[g],function(e,t){var n=t[0],r=e.id(),i=n.value;return typeof r==typeof i&&r<i}],"filter->":[h,[d,g],function(e,t){var n=t[0],r=t[1],i=e.properties()[n.value],o=r.value;return typeof i==typeof o&&i>o}],"filter-id->":[h,[g],function(e,t){var n=t[0],r=e.id(),i=n.value;return typeof r==typeof i&&r>i}],"filter-<=":[h,[d,g],function(e,t){var n=t[0],r=t[1],i=e.properties()[n.value],o=r.value;return typeof i==typeof o&&i<=o}],"filter-id-<=":[h,[g],function(e,t){var n=t[0],r=e.id(),i=n.value;return typeof r==typeof i&&r<=i}],"filter->=":[h,[d,g],function(e,t){var n=t[0],r=t[1],i=e.properties()[n.value],o=r.value;return typeof i==typeof o&&i>=o}],"filter-id->=":[h,[g],function(e,t){var n=t[0],r=e.id(),i=n.value;return typeof r==typeof i&&r>=i}],"filter-has":[h,[g],function(e,t){return t[0].value in e.properties()}],"filter-has-id":[h,[],function(e){return null!==e.id()&&void 0!==e.id()}],"filter-type-in":[h,[dt(d)],function(e,t){return t[0].value.indexOf(e.geometryType())>=0}],"filter-id-in":[h,[dt(g)],function(e,t){return t[0].value.indexOf(e.id())>=0}],"filter-in-small":[h,[d,dt(g)],function(e,t){var n=t[0];return t[1].value.indexOf(e.properties()[n.value])>=0}],"filter-in-large":[h,[d,dt(g)],function(e,t){var n=t[0],r=t[1];return function(e,t,n,r){for(;n<=r;){var i=n+r>>1;if(t[i]===e)return!0;t[i]>e?r=i-1:n=i+1}return!1}(e.properties()[n.value],r.value,0,r.value.length-1)}],all:{type:h,overloads:[[[h,h],function(e,t){var n=t[1];return t[0].evaluate(e)&&n.evaluate(e)}],[Yn(h),function(e,t){for(var n=0,r=t;n<r.length;n+=1)if(!r[n].evaluate(e))return!1;return!0}]]},any:{type:h,overloads:[[[h,h],function(e,t){var n=t[1];return t[0].evaluate(e)||n.evaluate(e)}],[Yn(h),function(e,t){for(var n=0,r=t;n<r.length;n+=1)if(r[n].evaluate(e))return!0;return!1}]]},"!":[h,[h],function(e,t){return!t[0].evaluate(e)}],"is-supported-script":[h,[d],function(e,t){var n=e.globals&&e.globals.isSupportedScript;return!n||n(t[0].evaluate(e))}],upcase:[d,[d],function(e,t){return t[0].evaluate(e).toUpperCase()}],downcase:[d,[d],function(e,t){return t[0].evaluate(e).toLowerCase()}],concat:[d,Yn(g),function(t,e){return e.map(function(e){return At(e.evaluate(t))}).join("")}],"resolved-locale":[d,[ct],function(e,t){return t[0].evaluate(e).resolvedLocale()}]});var nr=function(e,t){this.expression=e,this._warningHistory={},this._evaluator=new It,this._defaultValue=t?function(e){return"color"===e.type&&Kn(e.default)?new S(0,0,0,0):"color"===e.type?S.parse(e.default)||null:void 0===e.default?null:e.default}(t):null,this._enumValues=t&&"enum"===t.type?t.values:null};function rr(e){return Array.isArray(e)&&e.length>0&&"string"==typeof e[0]&&e[0]in zn}function ir(e,t){var n=new tn(zn,[],t?function(e){var t={color:lt,string:d,number:m,enum:d,boolean:h,formatted:ft,resolvedImage:ht};return"array"===e.type?dt(t[e.value]||g,e.length):t[e.type]}(t):void 0),r=n.parse(e,void 0,void 0,void 0,t&&"string"===t.type?{typeAnnotation:"coerce"}:void 0);return r?Gn(new nr(r,t)):Un(n.errors)}nr.prototype.evaluateWithoutErrorHandling=function(e,t,n,r,i,o){return this._evaluator.globals=e,this._evaluator.feature=t,this._evaluator.featureState=n,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o,this.expression.evaluate(this._evaluator)},nr.prototype.evaluate=function(e,t,n,r,i,o){this._evaluator.globals=e,this._evaluator.feature=t||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o||null;try{var a=this.expression.evaluate(this._evaluator);if(null==a||"number"==typeof a&&a!=a)return this._defaultValue;if(this._enumValues&&!(a in this._enumValues))throw new p("Expected value to be one of "+Object.keys(this._enumValues).map(function(e){return JSON.stringify(e)}).join(", ")+", but found "+JSON.stringify(a)+" instead.");return a}catch(e){return this._warningHistory[e.message]||(this._warningHistory[e.message]=!0,"undefined"!=typeof console&&console.warn(e.message)),this._defaultValue}};var or=function(e,t){this.kind=e,this._styleExpression=t,this.isStateDependent="constant"!==e&&!$t(t.expression)};or.prototype.evaluateWithoutErrorHandling=function(e,t,n,r,i,o){return this._styleExpression.evaluateWithoutErrorHandling(e,t,n,r,i,o)},or.prototype.evaluate=function(e,t,n,r,i,o){return this._styleExpression.evaluate(e,t,n,r,i,o)};var ar=function(e,t,n,r){this.kind=e,this.zoomStops=n,this._styleExpression=t,this.isStateDependent="camera"!==e&&!$t(t.expression),this.interpolationType=r};function sr(e,t){if("error"===(e=ir(e,t)).result)return e;var n=e.value.expression,r=Jt(n);if(!r&&!Qn(t))return Un([new ot("","data expressions not supported")]);var i=Zt(n,["zoom"]);if(!i&&!Wn(t))return Un([new ot("","zoom expressions not supported")]);var o=function n(e){var r=null;if(e instanceof xn)r=n(e.result);else if(e instanceof _n)for(var t=0,i=e.args;t<i.length&&!(r=n(i[t]));t+=1);else(e instanceof rn||e instanceof O)&&e.input instanceof Lt&&"zoom"===e.input.name&&(r=e);return r instanceof ot||e.eachChild(function(e){var t=n(e);t instanceof ot?r=t:!r&&t?r=new ot("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):r&&t&&r!==t&&(r=new ot("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),r}(n);return o||i?o instanceof ot?Un([o]):o instanceof O&&!qn(t)?Un([new ot("",'"interpolate" expressions cannot be used with this property')]):Gn(o?new ar(r?"camera":"composite",e.value,o.labels,o instanceof O?o.interpolation:void 0):new or(r?"constant":"source",e.value)):Un([new ot("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}ar.prototype.evaluateWithoutErrorHandling=function(e,t,n,r,i,o){return this._styleExpression.evaluateWithoutErrorHandling(e,t,n,r,i,o)},ar.prototype.evaluate=function(e,t,n,r,i,o){return this._styleExpression.evaluate(e,t,n,r,i,o)},ar.prototype.interpolationFactor=function(e,t,n){return this.interpolationType?O.interpolationFactor(this.interpolationType,e,t,n):0};var lr=function(e,t){this._parameters=e,this._specification=t,it(this,function e(r,i){var o,a,s,t="color"===i.type,n=r.stops&&"object"==typeof r.stops[0][0],l=n||!(n||void 0!==r.property),u=r.type||(qn(i)?"exponential":"interval");if(t&&((r=it({},r)).stops&&(r.stops=r.stops.map(function(e){return[e[0],S.parse(e[1])]})),r.default=S.parse(r.default?r.default:i.default)),r.colorSpace&&"rgb"!==r.colorSpace&&!vn[r.colorSpace])throw new Error("Unknown color space: "+r.colorSpace);if("exponential"===u)o=er;else if("interval"===u)o=Zn;else if("categorical"===u){o=$n,a=Object.create(null);for(var c=0,f=r.stops;c<f.length;c+=1){var h=f[c];a[h[0]]=h[1]}s=typeof r.stops[0][0]}else{if("identity"!==u)throw new Error('Unknown function type "'+u+'"');o=tr}if(n){for(var d={},p=[],y=0;y<r.stops.length;y++){var m=r.stops[y],g=m[0].zoom;void 0===d[g]&&(d[g]={zoom:g,type:r.type,property:r.property,default:r.default,stops:[]},p.push(g)),d[g].stops.push([m[0].value,m[1]])}for(var v=[],b=0,_=p;b<_.length;b+=1){var x=_[b];v.push([d[x].zoom,e(d[x],i)])}var w={name:"linear"};return{kind:"composite",interpolationType:w,interpolationFactor:O.interpolationFactor.bind(void 0,w),zoomStops:v.map(function(e){return e[0]}),evaluate:function(e,t){var n=e.zoom;return er({stops:v,base:r.base},i,n).evaluate(n,t)}}}if(l){var A="exponential"===u?{name:"exponential",base:void 0!==r.base?r.base:1}:null;return{kind:"camera",interpolationType:A,interpolationFactor:O.interpolationFactor.bind(void 0,A),zoomStops:r.stops.map(function(e){return e[0]}),evaluate:function(e){return o(r,i,e.zoom,a,s)}}}return{kind:"source",evaluate:function(e,t){var n=t&&t.properties?t.properties[r.property]:void 0;return void 0===n?Jn(r.default,i.default):o(r,i,n,a,s)}}}(this._parameters,this._specification))};lr.deserialize=function(e){return new lr(e._parameters,e._specification)},lr.serialize=function(e){return{_parameters:e._parameters,_specification:e._specification}};var ur=f.ImageData,cr=f.ImageBitmap,fr={};function t(e,t,n){void 0===n&&(n={}),Object.defineProperty(t,"_classRegistryKey",{value:e,writeable:!1}),fr[e]={klass:t,omit:n.omit||[],shallow:n.shallow||[]}}for(var hr in t("Object",Object),tt.serialize=function(e,t){var n=e.toArrayBuffer();return t&&t.push(n),{buffer:n}},tt.deserialize=function(e){return new tt(e.buffer)},t("Grid",tt),t("Color",S),t("Error",Error),t("ResolvedImage",_t),t("StylePropertyFunction",lr),t("StyleExpression",nr,{omit:["_evaluator"]}),t("ZoomDependentExpression",ar),t("ZoomConstantExpression",or),t("CompoundExpression",Lt,{omit:["_evaluate"]}),zn)zn[hr]._classRegistryKey||t("Expression_"+hr,zn[hr]);function dr(e){return e&&"undefined"!=typeof ArrayBuffer&&(e instanceof ArrayBuffer||e.constructor&&"ArrayBuffer"===e.constructor.name)}function pr(e){return cr&&e instanceof cr}function yr(e,t){if(null==e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||e instanceof Boolean||e instanceof Number||e instanceof String||e instanceof Date||e instanceof RegExp)return e;if(dr(e)||pr(e))return t&&t.push(e),e;if(ArrayBuffer.isView(e)){var n=e;return t&&t.push(n.buffer),n}if(e instanceof ur)return t&&t.push(e.data.buffer),e;if(Array.isArray(e)){for(var r=[],i=0,o=e;i<o.length;i+=1)r.push(yr(o[i],t));return r}if("object"==typeof e){var a=e.constructor,s=a._classRegistryKey;if(!s)throw new Error("can't serialize object of unregistered class");var l=a.serialize?a.serialize(e,t):{};if(!a.serialize){for(var u in e)if(e.hasOwnProperty(u)&&!(fr[s].omit.indexOf(u)>=0)){var c=e[u];l[u]=fr[s].shallow.indexOf(u)>=0?c:yr(c,t)}e instanceof Error&&(l.message=e.message)}if(l.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==s&&(l.$name=s),l}throw new Error("can't serialize object of type "+typeof e)}function mr(e){if(null==e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||e instanceof Boolean||e instanceof Number||e instanceof String||e instanceof Date||e instanceof RegExp||dr(e)||pr(e)||ArrayBuffer.isView(e)||e instanceof ur)return e;if(Array.isArray(e))return e.map(mr);if("object"==typeof e){var t=e.$name||"Object",n=fr[t].klass;if(!n)throw new Error("can't deserialize unregistered class "+t);if(n.deserialize)return n.deserialize(e);for(var r=Object.create(n.prototype),i=0,o=Object.keys(e);i<o.length;i+=1){var a=o[i];if("$name"!==a){var s=e[a];r[a]=fr[t].shallow.indexOf(a)>=0?s:mr(s)}}return r}throw new Error("can't deserialize object of type "+typeof e)}function gr(e,t,n,r){var i=t.width,o=t.height;if(r){if(r instanceof Uint8ClampedArray)r=new Uint8Array(r.buffer);else if(r.length!==i*o*n)throw new RangeError("mismatched image size")}else r=new Uint8Array(i*o*n);return e.width=i,e.height=o,e.data=r,e}function vr(e,t,n){var r=t.width,i=t.height;if(r!==e.width||i!==e.height){var o=gr({},{width:r,height:i},n);br(e,o,{x:0,y:0},{x:0,y:0},{width:Math.min(e.width,r),height:Math.min(e.height,i)},n),e.width=r,e.height=i,e.data=o.data}}function br(e,t,n,r,i,o){if(0===i.width||0===i.height)return t;if(i.width>e.width||i.height>e.height||n.x>e.width-i.width||n.y>e.height-i.height)throw new RangeError("out of range source coordinates for image copy");if(i.width>t.width||i.height>t.height||r.x>t.width-i.width||r.y>t.height-i.height)throw new RangeError("out of range destination coordinates for image copy");for(var a=e.data,s=t.data,l=0;l<i.height;l++)for(var u=((n.y+l)*e.width+n.x)*o,c=((r.y+l)*t.width+r.x)*o,f=0;f<i.width*o;f++)s[c+f]=a[u+f];return t}var _r=function(e,t){gr(this,e,1,t)};_r.prototype.resize=function(e){vr(this,e,1)},_r.prototype.clone=function(){return new _r({width:this.width,height:this.height},new Uint8Array(this.data))},_r.copy=function(e,t,n,r,i){br(e,t,n,r,i,1)};var xr=function(e,t){gr(this,e,4,t)};function wr(e,t,n){n[e]&&-1!==n[e].indexOf(t)||(n[e]=n[e]||[],n[e].push(t))}function Ar(e,t,n){if(n&&n[e]){var r=n[e].indexOf(t);-1!==r&&n[e].splice(r,1)}}xr.prototype.resize=function(e){vr(this,e,4)},xr.prototype.replace=function(e,t){t?this.data.set(e):this.data=e instanceof Uint8ClampedArray?new Uint8Array(e.buffer):e},xr.prototype.clone=function(){return new xr({width:this.width,height:this.height},new Uint8Array(this.data))},xr.copy=function(e,t,n,r,i){br(e,t,n,r,i,4)},t("AlphaImage",_r),t("RGBAImage",xr);var Sr=function(e,t){void 0===t&&(t={}),V(this,t),this.type=e},Cr=function(n){function e(e,t){void 0===t&&(t={}),n.call(this,"error",V({error:e},t))}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e}(Sr),Or=function(){};Or.prototype.on=function(e,t){return this._listeners=this._listeners||{},wr(e,t,this._listeners),this},Or.prototype.off=function(e,t){return Ar(e,t,this._listeners),Ar(e,t,this._oneTimeListeners),this},Or.prototype.once=function(e,t){return this._oneTimeListeners=this._oneTimeListeners||{},wr(e,t,this._oneTimeListeners),this},Or.prototype.fire=function(e,t){"string"==typeof e&&(e=new Sr(e,t||{}));var n=e.type;if(this.listens(n)){e.target=this;for(var r=0,i=this._listeners&&this._listeners[n]?this._listeners[n].slice():[];r<i.length;r+=1)i[r].call(this,e);for(var o=0,a=this._oneTimeListeners&&this._oneTimeListeners[n]?this._oneTimeListeners[n].slice():[];o<a.length;o+=1){var s=a[o];Ar(n,s,this._oneTimeListeners),s.call(this,e)}var l=this._eventedParent;l&&(V(e,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),l.fire(e))}else e instanceof Cr&&console.error(e.error);return this},Or.prototype.listens=function(e){return this._listeners&&this._listeners[e]&&this._listeners[e].length>0||this._oneTimeListeners&&this._oneTimeListeners[e]&&this._oneTimeListeners[e].length>0||this._eventedParent&&this._eventedParent.listens(e)},Or.prototype.setEventedParent=function(e,t){return this._eventedParent=e,this._eventedParentData=t,this};var o={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"stringobject"},glyphs:{type:"stringobject"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},customprj:{type:"*"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},b=function(e,t,n,r){this.message=(e?e+": ":"")+n,r&&(this.identifier=r),null!=t&&t.__line__&&(this.line=t.__line__)};function Er(e){var t=e.value;return t?[new b(e.key,t,"constants have been deprecated as of v8")]:[]}function _(e){return e instanceof Number||e instanceof String||e instanceof Boolean?e.valueOf():e}function Mr(e){if(Array.isArray(e))return e.map(Mr);if(e instanceof Object&&!(e instanceof Number||e instanceof String||e instanceof Boolean)){var t={};for(var n in e)t[n]=Mr(e[n]);return t}return _(e)}function Pr(e){var t=e.key,n=e.value,r=e.valueSpec||{},i=e.objectElementValidators||{},o=e.style,a=e.styleSpec,s=[],l=y(n);if("object"!==l)return[new b(t,n,"object expected, "+l+" found")];for(var u in n){var c=u.split(".")[0],f=r[c]||r["*"],h=void 0;if(i[c])h=i[c];else if(r[c])h=ei;else if(i["*"])h=i["*"];else{if(!r["*"]){s.push(new b(t,n[u],'unknown property "'+u+'"'));continue}h=ei}s=s.concat(h({key:(t?t+".":t)+u,value:n[u],valueSpec:f,style:o,styleSpec:a,object:n,objectKey:u},n))}for(var d in r)i[d]||r[d].required&&void 0===r[d].default&&void 0===n[d]&&s.push(new b(t,n,'missing required property "'+d+'"'));return s}function kr(e){var t=e.value,n=e.valueSpec,r=e.style,i=e.styleSpec,o=e.key,a=e.arrayElementValidator||ei;if("array"!==y(t))return[new b(o,t,"array expected, "+y(t)+" found")];if(n.length&&t.length!==n.length)return[new b(o,t,"array length "+n.length+" expected, length "+t.length+" found")];if(n["min-length"]&&t.length<n["min-length"])return[new b(o,t,"array length at least "+n["min-length"]+" expected, length "+t.length+" found")];var s={type:n.value,values:n.values};i.$version<7&&(s.function=n.function),"object"===y(n.value)&&(s=n.value);for(var l=[],u=0;u<t.length;u++)l=l.concat(a({array:t,arrayIndex:u,value:t[u],valueSpec:s,style:r,styleSpec:i,key:o+"["+u+"]"}));return l}function Tr(e){var t=e.key,n=e.value,r=e.valueSpec,i=y(n);return"number"===i&&n!=n&&(i="NaN"),"number"!==i?[new b(t,n,"number expected, "+i+" found")]:"minimum"in r&&n<r.minimum?[new b(t,n,n+" is less than the minimum value "+r.minimum)]:"maximum"in r&&n>r.maximum?[new b(t,n,n+" is greater than the maximum value "+r.maximum)]:[]}function Ir(e){var a,s,i,l=e.valueSpec,u=_(e.value.type),c={},t="categorical"!==u&&void 0===e.value.property,n=!t,o="array"===y(e.value.stops)&&"array"===y(e.value.stops[0])&&"object"===y(e.value.stops[0][0]),r=Pr({key:e.key,value:e.value,valueSpec:e.styleSpec.function,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{stops:function(e){if("identity"===u)return[new b(e.key,e.value,'identity function may not have a "stops" property')];var t=[],n=e.value;return t=t.concat(kr({key:e.key,value:n,valueSpec:e.valueSpec,style:e.style,styleSpec:e.styleSpec,arrayElementValidator:f})),"array"===y(n)&&0===n.length&&t.push(new b(e.key,n,"array must have at least one stop")),t},default:function(e){return ei({key:e.key,value:e.value,valueSpec:l,style:e.style,styleSpec:e.styleSpec})}}});return"identity"===u&&t&&r.push(new b(e.key,e.value,'missing required property "property"')),"identity"===u||e.value.stops||r.push(new b(e.key,e.value,'missing required property "stops"')),"exponential"===u&&e.valueSpec.expression&&!qn(e.valueSpec)&&r.push(new b(e.key,e.value,"exponential functions not supported")),e.styleSpec.$version>=8&&(n&&!Qn(e.valueSpec)?r.push(new b(e.key,e.value,"property functions not supported")):t&&!Wn(e.valueSpec)&&r.push(new b(e.key,e.value,"zoom functions not supported"))),"categorical"!==u&&!o||void 0!==e.value.property||r.push(new b(e.key,e.value,'"property" property is required')),r;function f(e){var t=[],n=e.value,r=e.key;if("array"!==y(n))return[new b(r,n,"array expected, "+y(n)+" found")];if(2!==n.length)return[new b(r,n,"array length 2 expected, length "+n.length+" found")];if(o){if("object"!==y(n[0]))return[new b(r,n,"object expected, "+y(n[0])+" found")];if(void 0===n[0].zoom)return[new b(r,n,"object stop key must have zoom")];if(void 0===n[0].value)return[new b(r,n,"object stop key must have value")];if(i&&i>_(n[0].zoom))return[new b(r,n[0].zoom,"stop zoom values must appear in ascending order")];_(n[0].zoom)!==i&&(i=_(n[0].zoom),s=void 0,c={}),t=t.concat(Pr({key:r+"[0]",value:n[0],valueSpec:{zoom:{}},style:e.style,styleSpec:e.styleSpec,objectElementValidators:{zoom:Tr,value:h}}))}else t=t.concat(h({key:r+"[0]",value:n[0],valueSpec:{},style:e.style,styleSpec:e.styleSpec},n));return rr(Mr(n[1]))?t.concat([new b(r+"[1]",n[1],"expressions are not allowed in function stops.")]):t.concat(ei({key:r+"[1]",value:n[1],valueSpec:l,style:e.style,styleSpec:e.styleSpec}))}function h(e,t){var n=y(e.value),r=_(e.value),i=null!==e.value?e.value:t;if(a){if(n!==a)return[new b(e.key,i,n+" stop domain type must match previous stop domain type "+a)]}else a=n;if("number"!==n&&"string"!==n&&"boolean"!==n)return[new b(e.key,i,"stop domain value must be a number, string, or boolean")];if("number"!==n&&"categorical"!==u){var o="number expected, "+n+" found";return Qn(l)&&void 0===u&&(o+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new b(e.key,i,o)]}return"categorical"!==u||"number"!==n||isFinite(r)&&Math.floor(r)===r?"categorical"!==u&&"number"===n&&void 0!==s&&r<s?[new b(e.key,i,"stop domain values must appear in ascending order")]:(s=r,"categorical"===u&&r in c?[new b(e.key,i,"stop domain values must be unique")]:(c[r]=!0,[])):[new b(e.key,i,"integer expected, found "+r)]}}function Lr(t){var e=("property"===t.expressionContext?sr:ir)(Mr(t.value),t.valueSpec);if("error"===e.result)return e.value.map(function(e){return new b(""+t.key+e.key,t.value,e.message)});var n=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&!n.outputDefined())return[new b(t.key,t.value,'Invalid data expression for "'+t.propertyKey+'". Output values must be contained as literals within the expression.')];if("property"===t.expressionContext&&"layout"===t.propertyType&&!$t(n))return[new b(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!$t(n))return[new b(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!Zt(n,["zoom","feature-state"]))return[new b(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!Jt(n))return[new b(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function jr(e){var t=e.key,n=e.value,r=e.valueSpec,i=[];return Array.isArray(r.values)?-1===r.values.indexOf(_(n))&&i.push(new b(t,n,"expected one of ["+r.values.join(", ")+"], "+JSON.stringify(n)+" found")):-1===Object.keys(r.values).indexOf(_(n))&&i.push(new b(t,n,"expected one of ["+Object.keys(r.values).join(", ")+"], "+JSON.stringify(n)+" found")),i}function Dr(e){if(!0===e||!1===e)return!0;if(!Array.isArray(e)||0===e.length)return!1;switch(e[0]){case"has":return e.length>=2&&"$id"!==e[1]&&"$type"!==e[1];case"in":return e.length>=3&&("string"!=typeof e[1]||Array.isArray(e[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==e.length||Array.isArray(e[1])||Array.isArray(e[2]);case"any":case"all":for(var t=0,n=e.slice(1);t<n.length;t+=1){var r=n[t];if(!Dr(r)&&"boolean"!=typeof r)return!1}return!0;default:return!0}}var Br={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function Rr(e){if(null==e)return{filter:function(){return!0},needGeometry:!1};Dr(e)||(e=zr(e));var r=ir(e,Br);if("error"===r.result)throw new Error(r.value.map(function(e){return e.key+": "+e.message}).join(", "));return{filter:function(e,t,n){return r.value.evaluate(e,t,{},n)},needGeometry:function e(t){if(!Array.isArray(t))return!1;if("within"===t[0])return!0;for(var n=1;n<t.length;n++)if(e(t[n]))return!0;return!1}(e)}}function Nr(e,t){return e<t?-1:e>t?1:0}function zr(e){if(!e)return!0;var t,n=e[0];return e.length<=1?"any"!==n:"=="===n?Fr(e[1],e[2],"=="):"!="===n?Yr(Fr(e[1],e[2],"==")):"<"===n||">"===n||"<="===n||">="===n?Fr(e[1],e[2],n):"any"===n?(t=e.slice(1),["any"].concat(t.map(zr))):"all"===n?["all"].concat(e.slice(1).map(zr)):"none"===n?["all"].concat(e.slice(1).map(zr).map(Yr)):"in"===n?Vr(e[1],e.slice(2)):"!in"===n?Yr(Vr(e[1],e.slice(2))):"has"===n?Hr(e[1]):"!has"===n?Yr(Hr(e[1])):"within"!==n||e}function Fr(e,t,n){switch(e){case"$type":return["filter-type-"+n,t];case"$id":return["filter-id-"+n,t];default:return["filter-"+n,e,t]}}function Vr(e,t){if(0===t.length)return!1;switch(e){case"$type":return["filter-type-in",["literal",t]];case"$id":return["filter-id-in",["literal",t]];default:return t.length>200&&!t.some(function(e){return typeof e!=typeof t[0]})?["filter-in-large",e,["literal",t.sort(Nr)]]:["filter-in-small",e,["literal",t]]}}function Hr(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function Yr(e){return["!",e]}function Gr(e){return Dr(Mr(e.value))?Lr(it({},e,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function e(t){var n=t.value,r=t.key;if("array"!==y(n))return[new b(r,n,"array expected, "+y(n)+" found")];var i,o=t.styleSpec,a=[];if(n.length<1)return[new b(r,n,"filter array must have at least 1 element")];switch(a=a.concat(jr({key:r+"[0]",value:n[0],valueSpec:o.filter_operator,style:t.style,styleSpec:t.styleSpec})),_(n[0])){case"<":case"<=":case">":case">=":n.length>=2&&"$type"===_(n[1])&&a.push(new b(r,n,'"$type" cannot be use with operator "'+n[0]+'"'));case"==":case"!=":3!==n.length&&a.push(new b(r,n,'filter array for operator "'+n[0]+'" must have 3 elements'));case"in":case"!in":n.length>=2&&"string"!==(i=y(n[1]))&&a.push(new b(r+"[1]",n[1],"string expected, "+i+" found"));for(var s=2;s<n.length;s++)i=y(n[s]),"$type"===_(n[1])?a=a.concat(jr({key:r+"["+s+"]",value:n[s],valueSpec:o.geometry_type,style:t.style,styleSpec:t.styleSpec})):"string"!==i&&"number"!==i&&"boolean"!==i&&a.push(new b(r+"["+s+"]",n[s],"string, number, or boolean expected, "+i+" found"));break;case"any":case"all":case"none":for(var l=1;l<n.length;l++)a=a.concat(e({key:r+"["+l+"]",value:n[l],style:t.style,styleSpec:t.styleSpec}));break;case"has":case"!has":i=y(n[1]),2!==n.length?a.push(new b(r,n,'filter array for "'+n[0]+'" operator must have 2 elements')):"string"!==i&&a.push(new b(r+"[1]",n[1],"string expected, "+i+" found"));break;case"within":i=y(n[1]),2!==n.length?a.push(new b(r,n,'filter array for "'+n[0]+'" operator must have 2 elements')):"object"!==i&&a.push(new b(r+"[1]",n[1],"object expected, "+i+" found"))}return a}(e)}function Ur(e,t){var n=e.key,r=e.style,i=e.styleSpec,o=e.value,a=e.objectKey,s=i[t+"_"+e.layerType];if(!s)return[];var l=a.match(/^(.*)-transition$/);if("paint"===t&&l&&s[l[1]]&&s[l[1]].transition)return ei({key:n,value:o,valueSpec:i.transition,style:r,styleSpec:i});var u,c=e.valueSpec||s[a];return c?"string"===y(o)&&Qn(c)&&!c.tokens&&(u=/^{([^}]+)}$/.exec(o))?[new b(n,o,'"'+a+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(u[1])+" }`.")]:[].concat(ei({key:e.key,value:o,valueSpec:c,style:r,styleSpec:i,expressionContext:"property",propertyType:t,propertyKey:a})):[new b(n,o,'unknown property "'+a+'"')]}function Qr(e){return Ur(e,"paint")}function Wr(e){return Ur(e,"layout")}function qr(e){var t=[],n=e.value,r=e.key,i=e.style,o=e.styleSpec;n.type||n.ref||t.push(new b(r,n,'either "type" or "ref" is required'));var a,s=_(n.type),l=_(n.ref);if(n.id)for(var u=_(n.id),c=0;c<e.arrayIndex;c++){var f=i.layers[c];_(f.id)===u&&t.push(new b(r,n.id,'duplicate layer id "'+n.id+'", previously used at line '+f.id.__line__))}if("ref"in n)["type","source","source-layer","filter","layout"].forEach(function(e){e in n&&t.push(new b(r,n[e],'"'+e+'" is prohibited for ref layers'))}),i.layers.forEach(function(e){_(e.id)===l&&(a=e)}),a?a.ref?t.push(new b(r,n.ref,"ref cannot reference another ref layer")):s=_(a.type):t.push(new b(r,n.ref,'ref layer "'+l+'" not found'));else if("background"!==s)if(n.source){var h=i.sources&&i.sources[n.source],d=h&&_(h.type);h?"vector"===d&&"raster"===s?t.push(new b(r,n.source,'layer "'+n.id+'" requires a raster source')):"raster"===d&&"raster"!==s?t.push(new b(r,n.source,'layer "'+n.id+'" requires a vector source')):"vector"!==d||n["source-layer"]?"raster-dem"===d&&"hillshade"!==s?t.push(new b(r,n.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!n.paint||!n.paint["line-gradient"]||"geojson"===d&&h.lineMetrics||t.push(new b(r,n,'layer "'+n.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):t.push(new b(r,n,'layer "'+n.id+'" must specify a "source-layer"')):t.push(new b(r,n.source,'source "'+n.source+'" not found'))}else t.push(new b(r,n,'missing required property "source"'));return t=t.concat(Pr({key:r,value:n,valueSpec:o.layer,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return ei({key:r+".type",value:n.type,valueSpec:o.layer.type,style:e.style,styleSpec:e.styleSpec,object:n,objectKey:"type"})},filter:Gr,layout:function(e){return Pr({layer:n,key:e.key,value:e.value,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":function(e){return Wr(it({layerType:s},e))}}})},paint:function(e){return Pr({layer:n,key:e.key,value:e.value,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":function(e){return Qr(it({layerType:s},e))}}})}}}))}function Kr(e){var t=e.value,n=e.key,r=y(t);return"string"!==r?[new b(n,t,"string expected, "+r+" found")]:[]}var Xr={promoteId:function(e){var t=e.key,n=e.value;if("string"===y(n))return Kr({key:t,value:n});var r=[];for(var i in n)r.push.apply(r,Kr({key:t+"."+i,value:n[i]}));return r}};function Jr(e){var t=e.value,n=e.key,r=e.styleSpec,i=e.style;if(!t.type)return[new b(n,t,'"type" is required')];var o,a=_(t.type);switch(a){case"vector":case"raster":case"raster-dem":return Pr({key:n,value:t,valueSpec:r["source_"+a.replace("-","_")],style:e.style,styleSpec:r,objectElementValidators:Xr});case"geojson":if(o=Pr({key:n,value:t,valueSpec:r.source_geojson,style:i,styleSpec:r,objectElementValidators:Xr}),t.cluster)for(var s in t.clusterProperties){var l=t.clusterProperties[s],u=l[0],c="string"==typeof u?[u,["accumulated"],["get",s]]:u;o.push.apply(o,Lr({key:n+"."+s+".map",value:l[1],expressionContext:"cluster-map"})),o.push.apply(o,Lr({key:n+"."+s+".reduce",value:c,expressionContext:"cluster-reduce"}))}return o;case"video":return Pr({key:n,value:t,valueSpec:r.source_video,style:i,styleSpec:r});case"image":return Pr({key:n,value:t,valueSpec:r.source_image,style:i,styleSpec:r});case"canvas":return[new b(n,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return jr({key:n+".type",value:t.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:i,styleSpec:r})}}function $r(e){var t=e.value,n=e.styleSpec,r=n.light,i=e.style,o=[],a=y(t);if(void 0===t)return o;if("object"!==a)return o.concat([new b("light",t,"object expected, "+a+" found")]);for(var s in t){var l=s.match(/^(.*)-transition$/);o=o.concat(l&&r[l[1]]&&r[l[1]].transition?ei({key:s,value:t[s],valueSpec:n.transition,style:i,styleSpec:n}):r[s]?ei({key:s,value:t[s],valueSpec:r[s],style:i,styleSpec:n}):[new b(s,t[s],'unknown property "'+s+'"')])}return o}var Zr={"*":function(){return[]},array:kr,boolean:function(e){var t=e.value,n=e.key,r=y(t);return"boolean"!==r?[new b(n,t,"boolean expected, "+r+" found")]:[]},number:Tr,color:function(e){var t=e.key,n=e.value,r=y(n);return"string"!==r?[new b(t,n,"color expected, "+r+" found")]:null===rt(n)?[new b(t,n,'color expected, "'+n+'" found')]:[]},constants:Er,enum:jr,filter:Gr,function:Ir,layer:qr,object:Pr,source:Jr,light:$r,string:Kr,formatted:function(e){return 0===Kr(e).length?[]:Lr(e)},resolvedImage:function(e){return 0===Kr(e).length?[]:Lr(e)},stringobject:function(e){var t=e.value,n=e.key,r=y(t);if("string"==r)return[];if("object"==r){var i=[];for(var o in t){var a=y(t[o]);"string"!==a&&i.push(new b(o,t[o],"string expected, "+a+" found"))}return i}return[new b(n,t,"string expected, "+r+" found")]}};function ei(e){var t=e.value,n=e.valueSpec,r=e.styleSpec;return n.expression&&Kn(_(t))?Ir(e):n.expression&&rr(Mr(t))?Lr(e):n.type&&Zr[n.type]?Zr[n.type](e):Pr(it({},e,{valueSpec:n.type?r[n.type]:n}))}function ti(e,t){void 0===t&&(t=o);var n=[];return n=n.concat(ei({key:"",value:e,valueSpec:t.$root,styleSpec:t,style:e,objectElementValidators:{"*":function(){return[]}}})),e.constants&&(n=n.concat(Er({key:"constants",value:e.constants,style:e,styleSpec:t}))),ni(n)}function ni(e){return[].concat(e).sort(function(e,t){return e.line-t.line})}function ri(n){return function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return ni(n.apply(this,e))}}ti.source=ri(Jr),ti.light=ri($r),ti.layer=ri(qr),ti.filter=ri(Gr),ti.paintProperty=ri(Qr),ti.layoutProperty=ri(Wr);var ii=ti,oi=ii.light,ai=ii.paintProperty,si=ii.layoutProperty;function li(e,t){var n=!1;if(t&&t.length)for(var r=0,i=t;r<i.length;r+=1)e.fire(new Cr(new Error(i[r].message))),n=!0;return n}var ui=function(){this.first=!0};ui.prototype.update=function(e,t){var n=Math.floor(e);return this.first?(this.first=!1,this.lastIntegerZoom=n,this.lastIntegerZoomTime=0,this.lastZoom=e,this.lastFloorZoom=n,!0):(this.lastFloorZoom>n?(this.lastIntegerZoom=n+1,this.lastIntegerZoomTime=t):this.lastFloorZoom<n&&(this.lastIntegerZoom=n,this.lastIntegerZoomTime=t),e!==this.lastZoom&&(this.lastZoom=e,this.lastFloorZoom=n,!0))};var K={"Latin-1 Supplement":function(e){return e>=128&&e<=255},Arabic:function(e){return e>=1536&&e<=1791},"Arabic Supplement":function(e){return e>=1872&&e<=1919},"Arabic Extended-A":function(e){return e>=2208&&e<=2303},"Hangul Jamo":function(e){return e>=4352&&e<=4607},"Unified Canadian Aboriginal Syllabics":function(e){return e>=5120&&e<=5759},Khmer:function(e){return e>=6016&&e<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(e){return e>=6320&&e<=6399},"General Punctuation":function(e){return e>=8192&&e<=8303},"Letterlike Symbols":function(e){return e>=8448&&e<=8527},"Number Forms":function(e){return e>=8528&&e<=8591},"Miscellaneous Technical":function(e){return e>=8960&&e<=9215},"Control Pictures":function(e){return e>=9216&&e<=9279},"Optical Character Recognition":function(e){return e>=9280&&e<=9311},"Enclosed Alphanumerics":function(e){return e>=9312&&e<=9471},"Geometric Shapes":function(e){return e>=9632&&e<=9727},"Miscellaneous Symbols":function(e){return e>=9728&&e<=9983},"Miscellaneous Symbols and Arrows":function(e){return e>=11008&&e<=11263},"CJK Radicals Supplement":function(e){return e>=11904&&e<=12031},"Kangxi Radicals":function(e){return e>=12032&&e<=12255},"Ideographic Description Characters":function(e){return e>=12272&&e<=12287},"CJK Symbols and Punctuation":function(e){return e>=12288&&e<=12351},Hiragana:function(e){return e>=12352&&e<=12447},Katakana:function(e){return e>=12448&&e<=12543},Bopomofo:function(e){return e>=12544&&e<=12591},"Hangul Compatibility Jamo":function(e){return e>=12592&&e<=12687},Kanbun:function(e){return e>=12688&&e<=12703},"Bopomofo Extended":function(e){return e>=12704&&e<=12735},"CJK Strokes":function(e){return e>=12736&&e<=12783},"Katakana Phonetic Extensions":function(e){return e>=12784&&e<=12799},"Enclosed CJK Letters and Months":function(e){return e>=12800&&e<=13055},"CJK Compatibility":function(e){return e>=13056&&e<=13311},"CJK Unified Ideographs Extension A":function(e){return e>=13312&&e<=19903},"Yijing Hexagram Symbols":function(e){return e>=19904&&e<=19967},"CJK Unified Ideographs":function(e){return e>=19968&&e<=40959},"Yi Syllables":function(e){return e>=40960&&e<=42127},"Yi Radicals":function(e){return e>=42128&&e<=42191},"Hangul Jamo Extended-A":function(e){return e>=43360&&e<=43391},"Hangul Syllables":function(e){return e>=44032&&e<=55215},"Hangul Jamo Extended-B":function(e){return e>=55216&&e<=55295},"Private Use Area":function(e){return e>=57344&&e<=63743},"CJK Compatibility Ideographs":function(e){return e>=63744&&e<=64255},"Arabic Presentation Forms-A":function(e){return e>=64336&&e<=65023},"Vertical Forms":function(e){return e>=65040&&e<=65055},"CJK Compatibility Forms":function(e){return e>=65072&&e<=65103},"Small Form Variants":function(e){return e>=65104&&e<=65135},"Arabic Presentation Forms-B":function(e){return e>=65136&&e<=65279},"Halfwidth and Fullwidth Forms":function(e){return e>=65280&&e<=65519}};function ci(e){for(var t=0,n=e;t<n.length;t+=1)if(fi(n[t].charCodeAt(0)))return!0;return!1}function fi(e){return!(746!==e&&747!==e&&(e<4352||!(K["Bopomofo Extended"](e)||K.Bopomofo(e)||K["CJK Compatibility Forms"](e)&&!(e>=65097&&e<=65103)||K["CJK Compatibility Ideographs"](e)||K["CJK Compatibility"](e)||K["CJK Radicals Supplement"](e)||K["CJK Strokes"](e)||!(!K["CJK Symbols and Punctuation"](e)||e>=12296&&e<=12305||e>=12308&&e<=12319||12336===e)||K["CJK Unified Ideographs Extension A"](e)||K["CJK Unified Ideographs"](e)||K["Enclosed CJK Letters and Months"](e)||K["Hangul Compatibility Jamo"](e)||K["Hangul Jamo Extended-A"](e)||K["Hangul Jamo Extended-B"](e)||K["Hangul Jamo"](e)||K["Hangul Syllables"](e)||K.Hiragana(e)||K["Ideographic Description Characters"](e)||K.Kanbun(e)||K["Kangxi Radicals"](e)||K["Katakana Phonetic Extensions"](e)||K.Katakana(e)&&12540!==e||!(!K["Halfwidth and Fullwidth Forms"](e)||65288===e||65289===e||65293===e||e>=65306&&e<=65310||65339===e||65341===e||65343===e||e>=65371&&e<=65503||65507===e||e>=65512&&e<=65519)||!(!K["Small Form Variants"](e)||e>=65112&&e<=65118||e>=65123&&e<=65126)||K["Unified Canadian Aboriginal Syllabics"](e)||K["Unified Canadian Aboriginal Syllabics Extended"](e)||K["Vertical Forms"](e)||K["Yijing Hexagram Symbols"](e)||K["Yi Syllables"](e)||K["Yi Radicals"](e))))}function hi(e){return!(fi(e)||function(e){return!!(K["Latin-1 Supplement"](e)&&(167===e||169===e||174===e||177===e||188===e||189===e||190===e||215===e||247===e)||K["General Punctuation"](e)&&(8214===e||8224===e||8225===e||8240===e||8241===e||8251===e||8252===e||8258===e||8263===e||8264===e||8265===e||8273===e)||K["Letterlike Symbols"](e)||K["Number Forms"](e)||K["Miscellaneous Technical"](e)&&(e>=8960&&e<=8967||e>=8972&&e<=8991||e>=8996&&e<=9e3||9003===e||e>=9085&&e<=9114||e>=9150&&e<=9165||9167===e||e>=9169&&e<=9179||e>=9186&&e<=9215)||K["Control Pictures"](e)&&9251!==e||K["Optical Character Recognition"](e)||K["Enclosed Alphanumerics"](e)||K["Geometric Shapes"](e)||K["Miscellaneous Symbols"](e)&&!(e>=9754&&e<=9759)||K["Miscellaneous Symbols and Arrows"](e)&&(e>=11026&&e<=11055||e>=11088&&e<=11097||e>=11192&&e<=11243)||K["CJK Symbols and Punctuation"](e)||K.Katakana(e)||K["Private Use Area"](e)||K["CJK Compatibility Forms"](e)||K["Small Form Variants"](e)||K["Halfwidth and Fullwidth Forms"](e)||8734===e||8756===e||8757===e||e>=9984&&e<=10087||e>=10102&&e<=10131||65532===e||65533===e)}(e))}function di(e){return e>=1424&&e<=2303||K["Arabic Presentation Forms-A"](e)||K["Arabic Presentation Forms-B"](e)}function pi(e,t){return!(!t&&di(e)||e>=2304&&e<=3583||e>=3840&&e<=4255||K.Khmer(e))}function yi(e){for(var t=0,n=e;t<n.length;t+=1)if(di(n[t].charCodeAt(0)))return!0;return!1}var mi=null,gi="unavailable",vi=null,bi=function(e){e&&"string"==typeof e&&e.indexOf("NetworkError")>-1&&(gi="error"),mi&&mi(e)};function _i(){xi.fire(new Sr("pluginStateChange",{pluginStatus:gi,pluginURL:vi}))}var xi=new Or,wi=function(){return gi},Ai=function(){if("deferred"!==gi||!vi)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");gi="loading",_i(),vi&&$e({url:vi},function(e){e?bi(e):(gi="loaded",_i())})},Si={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return"loaded"===gi||null!=Si.applyArabicShaping},isLoading:function(){return"loading"===gi},setState:function(e){gi=e.pluginStatus,vi=e.pluginURL},isParsed:function(){return null!=Si.applyArabicShaping&&null!=Si.processBidirectionalText&&null!=Si.processStyledBidirectionalText},getPluginURL:function(){return vi}},H=function(e,t){this.zoom=e,t?(this.now=t.now,this.fadeDuration=t.fadeDuration,this.zoomHistory=t.zoomHistory,this.transition=t.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new ui,this.transition={})};H.prototype.isSupportedScript=function(e){return function(e,t){for(var n=0,r=e;n<r.length;n+=1)if(!pi(r[n].charCodeAt(0),t))return!1;return!0}(e,Si.isLoaded())},H.prototype.crossFadingFactor=function(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},H.prototype.getCrossfadeParameters=function(){var e=this.zoom,t=e-Math.floor(e),n=this.crossFadingFactor();return e>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:t+(1-t)*n}:{fromScale:.5,toScale:1,t:1-(1-n)*t}};var Ci=function(e,t){this.property=e,this.value=t,this.expression=function(e,t){if(Kn(e))return new lr(e,t);if(rr(e)){var n=sr(e,t);if("error"===n.result)throw new Error(n.value.map(function(e){return e.key+": "+e.message}).join(", "));return n.value}var r=e;return"string"==typeof e&&"color"===t.type&&(r=S.parse(e)),{kind:"constant",evaluate:function(){return r}}}(void 0===t?e.specification.default:t,e.specification)};Ci.prototype.isDataDriven=function(){return"source"===this.expression.kind||"composite"===this.expression.kind},Ci.prototype.possiblyEvaluate=function(e,t,n){return this.property.possiblyEvaluate(this,e,t,n)};var Oi=function(e){this.property=e,this.value=new Ci(e,void 0)};Oi.prototype.transitioned=function(e,t){return new Mi(this.property,this.value,t,V({},e.transition,this.transition),e.now)},Oi.prototype.untransitioned=function(){return new Mi(this.property,this.value,null,{},0)};var Ei=function(e){this._properties=e,this._values=Object.create(e.defaultTransitionablePropertyValues)};Ei.prototype.getValue=function(e){return Z(this._values[e].value.value)},Ei.prototype.setValue=function(e,t){this._values.hasOwnProperty(e)||(this._values[e]=new Oi(this._values[e].property)),this._values[e].value=new Ci(this._values[e].property,null===t?void 0:Z(t))},Ei.prototype.getTransition=function(e){return Z(this._values[e].transition)},Ei.prototype.setTransition=function(e,t){this._values.hasOwnProperty(e)||(this._values[e]=new Oi(this._values[e].property)),this._values[e].transition=Z(t)||void 0},Ei.prototype.serialize=function(){for(var e={},t=0,n=Object.keys(this._values);t<n.length;t+=1){var r=n[t],i=this.getValue(r);void 0!==i&&(e[r]=i);var o=this.getTransition(r);void 0!==o&&(e[r+"-transition"]=o)}return e},Ei.prototype.transitioned=function(e,t){for(var n=new Pi(this._properties),r=0,i=Object.keys(this._values);r<i.length;r+=1){var o=i[r];n._values[o]=this._values[o].transitioned(e,t._values[o])}return n},Ei.prototype.untransitioned=function(){for(var e=new Pi(this._properties),t=0,n=Object.keys(this._values);t<n.length;t+=1){var r=n[t];e._values[r]=this._values[r].untransitioned()}return e};var Mi=function(e,t,n,r,i){this.property=e,this.value=t,this.begin=i+r.delay||0,this.end=this.begin+r.duration||0,e.specification.transition&&(r.delay||r.duration)&&(this.prior=n)};Mi.prototype.possiblyEvaluate=function(e,t,n){var r=e.now||0,i=this.value.possiblyEvaluate(e,t,n),o=this.prior;if(o){if(r>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(r<this.begin)return o.possiblyEvaluate(e,t,n);var a=(r-this.begin)/(this.end-this.begin);return this.property.interpolate(o.possiblyEvaluate(e,t,n),i,function(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,n=t*e;return 4*(e<.5?n:3*(e-t)+n-.75)}(a))}return i};var Pi=function(e){this._properties=e,this._values=Object.create(e.defaultTransitioningPropertyValues)};Pi.prototype.possiblyEvaluate=function(e,t,n){for(var r=new Ii(this._properties),i=0,o=Object.keys(this._values);i<o.length;i+=1){var a=o[i];r._values[a]=this._values[a].possiblyEvaluate(e,t,n)}return r},Pi.prototype.hasTransition=function(){for(var e=0,t=Object.keys(this._values);e<t.length;e+=1)if(this._values[t[e]].prior)return!0;return!1};var ki=function(e){this._properties=e,this._values=Object.create(e.defaultPropertyValues)};ki.prototype.getValue=function(e){return Z(this._values[e].value)},ki.prototype.setValue=function(e,t){this._values[e]=new Ci(this._values[e].property,null===t?void 0:Z(t))},ki.prototype.serialize=function(){for(var e={},t=0,n=Object.keys(this._values);t<n.length;t+=1){var r=n[t],i=this.getValue(r);void 0!==i&&(e[r]=i)}return e},ki.prototype.possiblyEvaluate=function(e,t,n){for(var r=new Ii(this._properties),i=0,o=Object.keys(this._values);i<o.length;i+=1){var a=o[i];r._values[a]=this._values[a].possiblyEvaluate(e,t,n)}return r};var Ti=function(e,t,n){this.property=e,this.value=t,this.parameters=n};Ti.prototype.isConstant=function(){return"constant"===this.value.kind},Ti.prototype.constantOr=function(e){return"constant"===this.value.kind?this.value.value:e},Ti.prototype.evaluate=function(e,t,n,r){return this.property.evaluate(this.value,this.parameters,e,t,n,r)};var Ii=function(e){this._properties=e,this._values=Object.create(e.defaultPossiblyEvaluatedValues)};Ii.prototype.get=function(e){return this._values[e]};var n=function(e){this.specification=e};n.prototype.possiblyEvaluate=function(e,t){return e.expression.evaluate(t)},n.prototype.interpolate=function(e,t,n){var r=on[this.specification.type];return r?r(e,t,n):e};var r=function(e,t){this.specification=e,this.overrides=t};r.prototype.possiblyEvaluate=function(e,t,n,r){return new Ti(this,"constant"===e.expression.kind||"camera"===e.expression.kind?{kind:"constant",value:e.expression.evaluate(t,null,{},n,r)}:e.expression,t)},r.prototype.interpolate=function(e,t,n){if("constant"!==e.value.kind||"constant"!==t.value.kind)return e;if(void 0===e.value.value||void 0===t.value.value)return new Ti(this,{kind:"constant",value:void 0},e.parameters);var r=on[this.specification.type];return r?new Ti(this,{kind:"constant",value:r(e.value.value,t.value.value,n)},e.parameters):e},r.prototype.evaluate=function(e,t,n,r,i,o){return"constant"===e.kind?e.value:e.evaluate(t,n,r,i,o)};var Li=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.possiblyEvaluate=function(e,t,n,r){if(void 0===e.value)return new Ti(this,{kind:"constant",value:void 0},t);if("constant"===e.expression.kind){var i=e.expression.evaluate(t,null,{},n,r),o="resolvedImage"===e.property.specification.type&&"string"!=typeof i?i.name:i,a=this._calculate(o,o,o,t);return new Ti(this,{kind:"constant",value:a},t)}if("camera"===e.expression.kind){var s=this._calculate(e.expression.evaluate({zoom:t.zoom-1}),e.expression.evaluate({zoom:t.zoom}),e.expression.evaluate({zoom:t.zoom+1}),t);return new Ti(this,{kind:"constant",value:s},t)}return new Ti(this,e.expression,t)},t.prototype.evaluate=function(e,t,n,r,i,o){if("source"===e.kind){var a=e.evaluate(t,n,r,i,o);return this._calculate(a,a,a,t)}return"composite"===e.kind?this._calculate(e.evaluate({zoom:Math.floor(t.zoom)-1},n,r),e.evaluate({zoom:Math.floor(t.zoom)},n,r),e.evaluate({zoom:Math.floor(t.zoom)+1},n,r),t):e.value},t.prototype._calculate=function(e,t,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:e,to:t}:{from:n,to:t}},t.prototype.interpolate=function(e){return e},t}(r),ji=function(e){this.specification=e};ji.prototype.possiblyEvaluate=function(e,t,n,r){if(void 0!==e.value){if("constant"===e.expression.kind){var i=e.expression.evaluate(t,null,{},n,r);return this._calculate(i,i,i,t)}return this._calculate(e.expression.evaluate(new H(Math.floor(t.zoom-1),t)),e.expression.evaluate(new H(Math.floor(t.zoom),t)),e.expression.evaluate(new H(Math.floor(t.zoom+1),t)),t)}},ji.prototype._calculate=function(e,t,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:e,to:t}:{from:n,to:t}},ji.prototype.interpolate=function(e){return e};var Di=function(e){this.specification=e};Di.prototype.possiblyEvaluate=function(e,t,n,r){return!!e.expression.evaluate(t,null,{},n,r)},Di.prototype.interpolate=function(){return!1};var Bi=function(e){for(var t in this.properties=e,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],e){var n=e[t];n.specification.overridable&&this.overridableProperties.push(t);var r=this.defaultPropertyValues[t]=new Ci(n,void 0),i=this.defaultTransitionablePropertyValues[t]=new Oi(n);this.defaultTransitioningPropertyValues[t]=i.untransitioned(),this.defaultPossiblyEvaluatedValues[t]=r.possiblyEvaluate({})}};t("DataDrivenProperty",r),t("DataConstantProperty",n),t("CrossFadedDataDrivenProperty",Li),t("CrossFadedProperty",ji),t("ColorRampProperty",Di);var Ri=function(i){function e(e,t){if(i.call(this),this.id=e.id,this.type=e.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},"custom"!==e.type&&(this.metadata=(e=e).metadata,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,"background"!==e.type&&(this.source=e.source,this.sourceLayer=e["source-layer"],this.filter=e.filter),t.layout&&(this._unevaluatedLayout=new ki(t.layout)),t.paint)){for(var n in this._transitionablePaint=new Ei(t.paint),e.paint)this.setPaintProperty(n,e.paint[n],{validate:!1});for(var r in e.layout)this.setLayoutProperty(r,e.layout[r],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Ii(t.paint)}}return i&&(e.__proto__=i),(e.prototype=Object.create(i&&i.prototype)).constructor=e,e.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},e.prototype.getLayoutProperty=function(e){return"visibility"===e?this.visibility:this._unevaluatedLayout.getValue(e)},e.prototype.setLayoutProperty=function(e,t,n){void 0===n&&(n={}),null!=t&&this._validate(si,"layers."+this.id+".layout."+e,e,t,n)||("visibility"!==e?this._unevaluatedLayout.setValue(e,t):this.visibility=t)},e.prototype.getPaintProperty=function(e){return X(e,"-transition")?this._transitionablePaint.getTransition(e.slice(0,-"-transition".length)):this._transitionablePaint.getValue(e)},e.prototype.setPaintProperty=function(e,t,n){if(void 0===n&&(n={}),null!=t&&this._validate(ai,"layers."+this.id+".paint."+e,e,t,n))return!1;if(X(e,"-transition"))return this._transitionablePaint.setTransition(e.slice(0,-"-transition".length),t||void 0),!1;var r=this._transitionablePaint._values[e],i="cross-faded-data-driven"===r.property.specification["property-type"],o=r.value.isDataDriven(),a=r.value;this._transitionablePaint.setValue(e,t),this._handleSpecialPaintPropertyUpdate(e);var s=this._transitionablePaint._values[e].value;return s.isDataDriven()||o||i||this._handleOverridablePaintPropertyUpdate(e,a,s)},e.prototype._handleSpecialPaintPropertyUpdate=function(e){},e.prototype._handleOverridablePaintPropertyUpdate=function(e,t,n){return!1},e.prototype.isHidden=function(e){return!!(this.minzoom&&e<this.minzoom)||!!(this.maxzoom&&e>=this.maxzoom)||"none"===this.visibility},e.prototype.updateTransitions=function(e){this._transitioningPaint=this._transitionablePaint.transitioned(e,this._transitioningPaint)},e.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},e.prototype.recalculate=function(e,t){e.getCrossfadeParameters&&(this._crossfadeParameters=e.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(e,void 0,t)),this.paint=this._transitioningPaint.possiblyEvaluate(e,void 0,t)},e.prototype.serialize=function(){var e={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(e.layout=e.layout||{},e.layout.visibility=this.visibility),$(e,function(e,t){return!(void 0===e||"layout"===t&&!Object.keys(e).length||"paint"===t&&!Object.keys(e).length)})},e.prototype._validate=function(e,t,n,r,i){return void 0===i&&(i={}),(!i||!1!==i.validate)&&li(this,e.call(ii,{key:t,layerType:this.type,objectKey:n,value:r,styleSpec:o,style:{glyphs:!0,sprite:!0}}))},e.prototype.is3D=function(){return!1},e.prototype.isTileClipped=function(){return!1},e.prototype.hasOffscreenPass=function(){return!1},e.prototype.resize=function(){},e.prototype.isStateDependent=function(){for(var e in this.paint._values){var t=this.paint.get(e);if(t instanceof Ti&&Qn(t.property.specification)&&("source"===t.value.kind||"composite"===t.value.kind)&&t.value.isStateDependent)return!0}return!1},e}(Or),Ni={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},zi=function(e,t){this._structArray=e,this._pos1=t*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},i=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function a(e,i){void 0===i&&(i=1);var o=0,a=0;return{members:e.map(function(e){var t=Ni[e.type].BYTES_PER_ELEMENT,n=o=Fi(o,Math.max(i,t)),r=e.components||1;return a=Math.max(a,t),o+=t*r,{name:e.name,type:e.type,components:r,offset:n}}),size:Fi(o,Math.max(a,i)),alignment:i}}function Fi(e,t){return Math.ceil(e/t)*t}i.serialize=function(e,t){return e._trim(),t&&(e.isTransferred=!0,t.push(e.arrayBuffer)),{length:e.length,arrayBuffer:e.arrayBuffer}},i.deserialize=function(e){var t=Object.create(this.prototype);return t.arrayBuffer=e.arrayBuffer,t.length=e.length,t.capacity=e.arrayBuffer.byteLength/t.bytesPerElement,t._refreshViews(),t},i.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},i.prototype.clear=function(){this.length=0},i.prototype.resize=function(e){this.reserve(e),this.length=e},i.prototype.reserve=function(e){if(e>this.capacity){this.capacity=Math.max(e,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var t=this.uint8;this._refreshViews(),t&&this.uint8.set(t)}},i.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var Vi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t){var n=this.length;return this.resize(n+1),this.emplace(n,e,t)},t.prototype.emplace=function(e,t,n){var r=2*e;return this.int16[r+0]=t,this.int16[r+1]=n,e},t}(i);Vi.prototype.bytesPerElement=4,t("StructArrayLayout2i4",Vi);var Hi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r){var i=this.length;return this.resize(i+1),this.emplace(i,e,t,n,r)},t.prototype.emplace=function(e,t,n,r,i){var o=4*e;return this.int16[o+0]=t,this.int16[o+1]=n,this.int16[o+2]=r,this.int16[o+3]=i,e},t}(i);Hi.prototype.bytesPerElement=8,t("StructArrayLayout4i8",Hi);var Yi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,i,o){var a=this.length;return this.resize(a+1),this.emplace(a,e,t,n,r,i,o)},t.prototype.emplace=function(e,t,n,r,i,o,a){var s=6*e;return this.int16[s+0]=t,this.int16[s+1]=n,this.int16[s+2]=r,this.int16[s+3]=i,this.int16[s+4]=o,this.int16[s+5]=a,e},t}(i);Yi.prototype.bytesPerElement=12,t("StructArrayLayout2i4i12",Yi);var Gi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,i,o){var a=this.length;return this.resize(a+1),this.emplace(a,e,t,n,r,i,o)},t.prototype.emplace=function(e,t,n,r,i,o,a){var s=4*e,l=8*e;return this.int16[s+0]=t,this.int16[s+1]=n,this.uint8[l+4]=r,this.uint8[l+5]=i,this.uint8[l+6]=o,this.uint8[l+7]=a,e},t}(i);Gi.prototype.bytesPerElement=8,t("StructArrayLayout2i4ub8",Gi);var Ui=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t){var n=this.length;return this.resize(n+1),this.emplace(n,e,t)},t.prototype.emplace=function(e,t,n){var r=2*e;return this.float32[r+0]=t,this.float32[r+1]=n,e},t}(i);Ui.prototype.bytesPerElement=8,t("StructArrayLayout2f8",Ui);var Qi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,i,o,a,s,l,u){var c=this.length;return this.resize(c+1),this.emplace(c,e,t,n,r,i,o,a,s,l,u)},t.prototype.emplace=function(e,t,n,r,i,o,a,s,l,u,c){var f=10*e;return this.uint16[f+0]=t,this.uint16[f+1]=n,this.uint16[f+2]=r,this.uint16[f+3]=i,this.uint16[f+4]=o,this.uint16[f+5]=a,this.uint16[f+6]=s,this.uint16[f+7]=l,this.uint16[f+8]=u,this.uint16[f+9]=c,e},t}(i);Qi.prototype.bytesPerElement=20,t("StructArrayLayout10ui20",Qi);var Wi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,i,o,a,s,l,u,c,f){var h=this.length;return this.resize(h+1),this.emplace(h,e,t,n,r,i,o,a,s,l,u,c,f)},t.prototype.emplace=function(e,t,n,r,i,o,a,s,l,u,c,f,h){var d=12*e;return this.int16[d+0]=t,this.int16[d+1]=n,this.int16[d+2]=r,this.int16[d+3]=i,this.uint16[d+4]=o,this.uint16[d+5]=a,this.uint16[d+6]=s,this.uint16[d+7]=l,this.int16[d+8]=u,this.int16[d+9]=c,this.int16[d+10]=f,this.int16[d+11]=h,e},t}(i);Wi.prototype.bytesPerElement=24,t("StructArrayLayout4i4ui4i24",Wi);var qi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n){var r=this.length;return this.resize(r+1),this.emplace(r,e,t,n)},t.prototype.emplace=function(e,t,n,r){var i=3*e;return this.float32[i+0]=t,this.float32[i+1]=n,this.float32[i+2]=r,e},t}(i);qi.prototype.bytesPerElement=12,t("StructArrayLayout3f12",qi);var Ki=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e){var t=this.length;return this.resize(t+1),this.emplace(t,e)},t.prototype.emplace=function(e,t){return this.uint32[1*e+0]=t,e},t}(i);Ki.prototype.bytesPerElement=4,t("StructArrayLayout1ul4",Ki);var Xi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,i,o,a,s,l){var u=this.length;return this.resize(u+1),this.emplace(u,e,t,n,r,i,o,a,s,l)},t.prototype.emplace=function(e,t,n,r,i,o,a,s,l,u){var c=10*e,f=5*e;return this.int16[c+0]=t,this.int16[c+1]=n,this.int16[c+2]=r,this.int16[c+3]=i,this.int16[c+4]=o,this.int16[c+5]=a,this.uint32[f+3]=s,this.uint16[c+8]=l,this.uint16[c+9]=u,e},t}(i);Xi.prototype.bytesPerElement=20,t("StructArrayLayout6i1ul2ui20",Xi);var Ji=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,i,o){var a=this.length;return this.resize(a+1),this.emplace(a,e,t,n,r,i,o)},t.prototype.emplace=function(e,t,n,r,i,o,a){var s=6*e;return this.int16[s+0]=t,this.int16[s+1]=n,this.int16[s+2]=r,this.int16[s+3]=i,this.int16[s+4]=o,this.int16[s+5]=a,e},t}(i);Ji.prototype.bytesPerElement=12,t("StructArrayLayout2i2i2i12",Ji);var $i=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,i){var o=this.length;return this.resize(o+1),this.emplace(o,e,t,n,r,i)},t.prototype.emplace=function(e,t,n,r,i,o){var a=4*e,s=8*e;return this.float32[a+0]=t,this.float32[a+1]=n,this.float32[a+2]=r,this.int16[s+6]=i,this.int16[s+7]=o,e},t}(i);$i.prototype.bytesPerElement=16,t("StructArrayLayout2f1f2i16",$i);var Zi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r){var i=this.length;return this.resize(i+1),this.emplace(i,e,t,n,r)},t.prototype.emplace=function(e,t,n,r,i){var o=12*e,a=3*e;return this.uint8[o+0]=t,this.uint8[o+1]=n,this.float32[a+1]=r,this.float32[a+2]=i,e},t}(i);Zi.prototype.bytesPerElement=12,t("StructArrayLayout2ub2f12",Zi);var eo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n){var r=this.length;return this.resize(r+1),this.emplace(r,e,t,n)},t.prototype.emplace=function(e,t,n,r){var i=3*e;return this.uint16[i+0]=t,this.uint16[i+1]=n,this.uint16[i+2]=r,e},t}(i);eo.prototype.bytesPerElement=6,t("StructArrayLayout3ui6",eo);var to=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y,m){var g=this.length;return this.resize(g+1),this.emplace(g,e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y,m)},t.prototype.emplace=function(e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y,m,g){var v=24*e,b=12*e,_=48*e;return this.int16[v+0]=t,this.int16[v+1]=n,this.uint16[v+2]=r,this.uint16[v+3]=i,this.uint32[b+2]=o,this.uint32[b+3]=a,this.uint32[b+4]=s,this.uint16[v+10]=l,this.uint16[v+11]=u,this.uint16[v+12]=c,this.float32[b+7]=f,this.float32[b+8]=h,this.uint8[_+36]=d,this.uint8[_+37]=p,this.uint8[_+38]=y,this.uint32[b+10]=m,this.int16[v+22]=g,e},t}(i);to.prototype.bytesPerElement=48,t("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",to);var no=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y,m,g,v,b,_,x,w,A,S,C,O,E){var M=this.length;return this.resize(M+1),this.emplace(M,e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y,m,g,v,b,_,x,w,A,S,C,O,E)},t.prototype.emplace=function(e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y,m,g,v,b,_,x,w,A,S,C,O,E,M){var P=34*e,k=17*e;return this.int16[P+0]=t,this.int16[P+1]=n,this.int16[P+2]=r,this.int16[P+3]=i,this.int16[P+4]=o,this.int16[P+5]=a,this.int16[P+6]=s,this.int16[P+7]=l,this.uint16[P+8]=u,this.uint16[P+9]=c,this.uint16[P+10]=f,this.uint16[P+11]=h,this.uint16[P+12]=d,this.uint16[P+13]=p,this.uint16[P+14]=y,this.uint16[P+15]=m,this.uint16[P+16]=g,this.uint16[P+17]=v,this.uint16[P+18]=b,this.uint16[P+19]=_,this.uint16[P+20]=x,this.uint16[P+21]=w,this.uint16[P+22]=A,this.uint32[k+12]=S,this.float32[k+13]=C,this.float32[k+14]=O,this.float32[k+15]=E,this.float32[k+16]=M,e},t}(i);no.prototype.bytesPerElement=68,t("StructArrayLayout8i15ui1ul4f68",no);var ro=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e){var t=this.length;return this.resize(t+1),this.emplace(t,e)},t.prototype.emplace=function(e,t){return this.float32[1*e+0]=t,e},t}(i);ro.prototype.bytesPerElement=4,t("StructArrayLayout1f4",ro);var io=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n){var r=this.length;return this.resize(r+1),this.emplace(r,e,t,n)},t.prototype.emplace=function(e,t,n,r){var i=3*e;return this.int16[i+0]=t,this.int16[i+1]=n,this.int16[i+2]=r,e},t}(i);io.prototype.bytesPerElement=6,t("StructArrayLayout3i6",io);var oo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n){var r=this.length;return this.resize(r+1),this.emplace(r,e,t,n)},t.prototype.emplace=function(e,t,n,r){var i=4*e;return this.uint32[2*e+0]=t,this.uint16[i+2]=n,this.uint16[i+3]=r,e},t}(i);oo.prototype.bytesPerElement=8,t("StructArrayLayout1ul2ui8",oo);var ao=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t){var n=this.length;return this.resize(n+1),this.emplace(n,e,t)},t.prototype.emplace=function(e,t,n){var r=2*e;return this.uint16[r+0]=t,this.uint16[r+1]=n,e},t}(i);ao.prototype.bytesPerElement=4,t("StructArrayLayout2ui4",ao);var so=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e){var t=this.length;return this.resize(t+1),this.emplace(t,e)},t.prototype.emplace=function(e,t){return this.uint16[1*e+0]=t,e},t}(i);so.prototype.bytesPerElement=2,t("StructArrayLayout1ui2",so);var lo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},t.prototype.emplaceBack=function(e,t,n,r){var i=this.length;return this.resize(i+1),this.emplace(i,e,t,n,r)},t.prototype.emplace=function(e,t,n,r,i){var o=4*e;return this.float32[o+0]=t,this.float32[o+1]=n,this.float32[o+2]=r,this.float32[o+3]=i,e},t}(i);lo.prototype.bytesPerElement=16,t("StructArrayLayout4f16",lo);var uo=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var n={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return n.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},n.x1.get=function(){return this._structArray.int16[this._pos2+2]},n.y1.get=function(){return this._structArray.int16[this._pos2+3]},n.x2.get=function(){return this._structArray.int16[this._pos2+4]},n.y2.get=function(){return this._structArray.int16[this._pos2+5]},n.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},n.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},n.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},n.anchorPoint.get=function(){return new U(this.anchorPointX,this.anchorPointY)},Object.defineProperties(t.prototype,n),t}(zi);uo.prototype.size=20;var co=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new uo(this,e)},t}(Xi);t("CollisionBoxArray",co);var fo=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var n={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return n.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},n.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},n.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},n.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},n.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},n.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},n.segment.get=function(){return this._structArray.uint16[this._pos2+10]},n.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},n.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},n.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},n.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},n.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},n.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},n.placedOrientation.set=function(e){this._structArray.uint8[this._pos1+37]=e},n.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},n.hidden.set=function(e){this._structArray.uint8[this._pos1+38]=e},n.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},n.crossTileID.set=function(e){this._structArray.uint32[this._pos4+10]=e},n.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(t.prototype,n),t}(zi);fo.prototype.size=48;var ho=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new fo(this,e)},t}(to);t("PlacedSymbolArray",ho);var po=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var n={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return n.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},n.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},n.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},n.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},n.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},n.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},n.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},n.key.get=function(){return this._structArray.uint16[this._pos2+8]},n.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},n.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},n.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},n.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},n.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},n.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},n.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},n.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},n.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},n.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},n.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},n.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},n.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},n.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},n.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},n.crossTileID.set=function(e){this._structArray.uint32[this._pos4+12]=e},n.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},n.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},n.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},n.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(t.prototype,n),t}(zi);po.prototype.size=68;var yo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new po(this,e)},t}(no);t("SymbolInstanceArray",yo);var mo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getoffsetX=function(e){return this.float32[1*e+0]},t}(ro);t("GlyphOffsetArray",mo);var go=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getx=function(e){return this.int16[3*e+0]},t.prototype.gety=function(e){return this.int16[3*e+1]},t.prototype.gettileUnitDistanceFromAnchor=function(e){return this.int16[3*e+2]},t}(io);t("SymbolLineVertexArray",go);var vo=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var n={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return n.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},n.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},n.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(t.prototype,n),t}(zi);vo.prototype.size=8;var bo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.get=function(e){return new vo(this,e)},t}(oo);t("FeatureIndexArray",bo);var _o=a([{name:"a_pos",components:2,type:"Int16"}],4).members,L=function(e){void 0===e&&(e=[]),this.segments=e};function xo(e,t){return 256*(e=N(Math.floor(e),0,255))+N(Math.floor(t),0,255)}L.prototype.prepareSegment=function(e,t,n,r){var i=this.segments[this.segments.length-1];return e>L.MAX_VERTEX_ARRAY_LENGTH&&ce("Max vertices per segment is "+L.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+e),(!i||i.vertexLength+e>L.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==r)&&(i={vertexOffset:t.length,primitiveOffset:n.length,vertexLength:0,primitiveLength:0},void 0!==r&&(i.sortKey=r),this.segments.push(i)),i},L.prototype.get=function(){return this.segments},L.prototype.destroy=function(){for(var e=0,t=this.segments;e<t.length;e+=1){var n=t[e];for(var r in n.vaos)n.vaos[r].destroy()}},L.simpleSegment=function(e,t,n,r){return new L([{vertexOffset:e,primitiveOffset:t,vertexLength:n,primitiveLength:r,vaos:{},sortKey:0}])},L.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,t("SegmentVector",L);var wo=a([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"}]),Ao=P(function(e){e.exports=function(e,t){var n,r,i,o,a,s,l,u;for(r=e.length-(n=3&e.length),i=t,a=3432918353,s=461845907,u=0;u<r;)l=255&e.charCodeAt(u)|(255&e.charCodeAt(++u))<<8|(255&e.charCodeAt(++u))<<16|(255&e.charCodeAt(++u))<<24,++u,i=27492+(65535&(o=5*(65535&(i=(i^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(l=0,n){case 3:l^=(255&e.charCodeAt(u+2))<<16;case 2:l^=(255&e.charCodeAt(u+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&e.charCodeAt(u)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}}),So=P(function(e){e.exports=function(e,t){for(var n,r=e.length,i=t^r,o=0;r>=4;)n=1540483477*(65535&(n=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(n>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:i^=(255&e.charCodeAt(o+2))<<16;case 2:i^=(255&e.charCodeAt(o+1))<<8;case 1:i=1540483477*(65535&(i^=255&e.charCodeAt(o)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0}}),Co=Ao,Oo=So;Co.murmur3=Ao,Co.murmur2=Oo;var Eo=function(){this.ids=[],this.positions=[],this.indexed=!1};Eo.prototype.add=function(e,t,n,r){this.ids.push(Po(e)),this.positions.push(t,n,r)},Eo.prototype.getPositions=function(e){for(var t=Po(e),n=0,r=this.ids.length-1;n<r;){var i=n+r>>1;this.ids[i]>=t?r=i:n=i+1}for(var o=[];this.ids[n]===t;)o.push({index:this.positions[3*n],start:this.positions[3*n+1],end:this.positions[3*n+2]}),n++;return o},Eo.serialize=function(e,t){var n=new Float64Array(e.ids),r=new Uint32Array(e.positions);return function e(t,n,r,i){for(;r<i;){for(var o=t[r+i>>1],a=r-1,s=i+1;;){do{a++}while(t[a]<o);do{s--}while(t[s]>o);if(a>=s)break;ko(t,a,s),ko(n,3*a,3*s),ko(n,3*a+1,3*s+1),ko(n,3*a+2,3*s+2)}s-r<i-s?(e(t,n,r,s),r=s+1):(e(t,n,s+1,i),i=s)}}(n,r,0,n.length-1),t&&t.push(n.buffer,r.buffer),{ids:n,positions:r}},Eo.deserialize=function(e){var t=new Eo;return t.ids=e.ids,t.positions=e.positions,t.indexed=!0,t};var Mo=Math.pow(2,53)-1;function Po(e){var t=+e;return!isNaN(t)&&t<=Mo?t:Co(String(e))}function ko(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}t("FeaturePositionMap",Eo);var To=function(e,t){this.gl=e.gl,this.location=t},Io=function(n){function e(e,t){n.call(this,e,t),this.current=0}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype.set=function(e){this.current!==e&&(this.current=e,this.gl.uniform1i(this.location,e))},e}(To),Lo=function(n){function e(e,t){n.call(this,e,t),this.current=0}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype.set=function(e){this.current!==e&&(this.current=e,this.gl.uniform1f(this.location,e))},e}(To),jo=function(n){function e(e,t){n.call(this,e,t),this.current=[0,0]}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype.set=function(e){e[0]===this.current[0]&&e[1]===this.current[1]||(this.current=e,this.gl.uniform2f(this.location,e[0],e[1]))},e}(To),Do=function(n){function e(e,t){n.call(this,e,t),this.current=[0,0,0]}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype.set=function(e){e[0]===this.current[0]&&e[1]===this.current[1]&&e[2]===this.current[2]||(this.current=e,this.gl.uniform3f(this.location,e[0],e[1],e[2]))},e}(To),Bo=function(n){function e(e,t){n.call(this,e,t),this.current=[0,0,0,0]}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype.set=function(e){e[0]===this.current[0]&&e[1]===this.current[1]&&e[2]===this.current[2]&&e[3]===this.current[3]||(this.current=e,this.gl.uniform4f(this.location,e[0],e[1],e[2],e[3]))},e}(To),Ro=function(n){function e(e,t){n.call(this,e,t),this.current=S.transparent}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype.set=function(e){e.r===this.current.r&&e.g===this.current.g&&e.b===this.current.b&&e.a===this.current.a||(this.current=e,this.gl.uniform4f(this.location,e.r,e.g,e.b,e.a))},e}(To),No=new Float32Array(16),zo=function(n){function e(e,t){n.call(this,e,t),this.current=No}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype.set=function(e){if(e[12]!==this.current[12]||e[0]!==this.current[0])return this.current=e,void this.gl.uniformMatrix4fv(this.location,!1,e);for(var t=1;t<16;t++)if(e[t]!==this.current[t]){this.current=e,this.gl.uniformMatrix4fv(this.location,!1,e);break}},e}(To);function Fo(e){return[xo(255*e.r,255*e.g),xo(255*e.b,255*e.a)]}var Vo=function(e,t,n){this.value=e,this.uniformNames=t.map(function(e){return"u_"+e}),this.type=n};Vo.prototype.setUniform=function(e,t,n){e.set(n.constantOr(this.value))},Vo.prototype.getBinding=function(e,t,n){return"color"===this.type?new Ro(e,t):new Lo(e,t)};var Ho=function(e,t){this.uniformNames=t.map(function(e){return"u_"+e}),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1};Ho.prototype.setConstantPatternPositions=function(e,t){this.pixelRatioFrom=t.pixelRatio,this.pixelRatioTo=e.pixelRatio,this.patternFrom=t.tlbr,this.patternTo=e.tlbr},Ho.prototype.setUniform=function(e,t,n,r){var i="u_pattern_to"===r?this.patternTo:"u_pattern_from"===r?this.patternFrom:"u_pixel_ratio_to"===r?this.pixelRatioTo:"u_pixel_ratio_from"===r?this.pixelRatioFrom:null;i&&e.set(i)},Ho.prototype.getBinding=function(e,t,n){return"u_pattern"===n.substr(0,9)?new Bo(e,t):new Lo(e,t)};var Yo=function(e,t,n,r){this.expression=e,this.type=n,this.maxValue=0,this.paintVertexAttributes=t.map(function(e){return{name:"a_"+e,type:"Float32",components:"color"===n?2:1,offset:0}}),this.paintVertexArray=new r};Yo.prototype.populatePaintArray=function(e,t,n,r,i){var o=this.paintVertexArray.length,a=this.expression.evaluate(new H(0),t,{},r,[],i);this.paintVertexArray.resize(e),this._setPaintValue(o,e,a)},Yo.prototype.updatePaintArray=function(e,t,n,r){var i=this.expression.evaluate({zoom:0},n,r);this._setPaintValue(e,t,i)},Yo.prototype._setPaintValue=function(e,t,n){if("color"===this.type)for(var r=Fo(n),i=e;i<t;i++)this.paintVertexArray.emplace(i,r[0],r[1]);else{for(var o=e;o<t;o++)this.paintVertexArray.emplace(o,n);this.maxValue=Math.max(this.maxValue,Math.abs(n))}},Yo.prototype.upload=function(e){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=e.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Yo.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()};var x=function(e,t,n,r,i,o){this.expression=e,this.uniformNames=t.map(function(e){return"u_"+e+"_t"}),this.type=n,this.useIntegerZoom=r,this.zoom=i,this.maxValue=0,this.paintVertexAttributes=t.map(function(e){return{name:"a_"+e,type:"Float32",components:"color"===n?4:2,offset:0}}),this.paintVertexArray=new o};x.prototype.populatePaintArray=function(e,t,n,r,i){var o=this.expression.evaluate(new H(this.zoom),t,{},r,[],i),a=this.expression.evaluate(new H(this.zoom+1),t,{},r,[],i),s=this.paintVertexArray.length;this.paintVertexArray.resize(e),this._setPaintValue(s,e,o,a)},x.prototype.updatePaintArray=function(e,t,n,r){var i=this.expression.evaluate({zoom:this.zoom},n,r),o=this.expression.evaluate({zoom:this.zoom+1},n,r);this._setPaintValue(e,t,i,o)},x.prototype._setPaintValue=function(e,t,n,r){if("color"===this.type)for(var i=Fo(n),o=Fo(r),a=e;a<t;a++)this.paintVertexArray.emplace(a,i[0],i[1],o[0],o[1]);else{for(var s=e;s<t;s++)this.paintVertexArray.emplace(s,n,r);this.maxValue=Math.max(this.maxValue,Math.abs(n),Math.abs(r))}},x.prototype.upload=function(e){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=e.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},x.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},x.prototype.setUniform=function(e,t){var n=this.useIntegerZoom?Math.floor(t.zoom):t.zoom,r=N(this.expression.interpolationFactor(n,this.zoom,this.zoom+1),0,1);e.set(r)},x.prototype.getBinding=function(e,t,n){return new Lo(e,t)};var Go=function(e,t,n,r,i,o){this.expression=e,this.type=t,this.useIntegerZoom=n,this.zoom=r,this.layerId=o,this.zoomInPaintVertexArray=new i,this.zoomOutPaintVertexArray=new i};Go.prototype.populatePaintArray=function(e,t,n){var r=this.zoomInPaintVertexArray.length;this.zoomInPaintVertexArray.resize(e),this.zoomOutPaintVertexArray.resize(e),this._setPaintValues(r,e,t.patterns&&t.patterns[this.layerId],n)},Go.prototype.updatePaintArray=function(e,t,n,r,i){this._setPaintValues(e,t,n.patterns&&n.patterns[this.layerId],i)},Go.prototype._setPaintValues=function(e,t,n,r){if(r&&n){var i=r[n.min],o=r[n.mid],a=r[n.max];if(i&&o&&a)for(var s=e;s<t;s++)this.zoomInPaintVertexArray.emplace(s,o.tl[0],o.tl[1],o.br[0],o.br[1],i.tl[0],i.tl[1],i.br[0],i.br[1],o.pixelRatio,i.pixelRatio),this.zoomOutPaintVertexArray.emplace(s,o.tl[0],o.tl[1],o.br[0],o.br[1],a.tl[0],a.tl[1],a.br[0],a.br[1],o.pixelRatio,a.pixelRatio)}},Go.prototype.upload=function(e){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=e.createVertexBuffer(this.zoomInPaintVertexArray,wo.members,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=e.createVertexBuffer(this.zoomOutPaintVertexArray,wo.members,this.expression.isStateDependent))},Go.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()};var Uo=function(e,t,n){this.binders={},this._buffers=[];var r=[];for(var i in e.paint._values)if(n(i)){var o=e.paint.get(i);if(o instanceof Ti&&Qn(o.property.specification)){var a=Wo(i,e.type),s=o.value,l=o.property.specification.type,u=o.property.useIntegerZoom,c=o.property.specification["property-type"],f="cross-faded"===c||"cross-faded-data-driven"===c;if("constant"===s.kind)this.binders[i]=f?new Ho(s.value,a):new Vo(s.value,a,l),r.push("/u_"+i);else if("source"===s.kind||f){var h=qo(i,l,"source");this.binders[i]=f?new Go(s,l,u,t,h,e.id):new Yo(s,a,l,h),r.push("/a_"+i)}else{var d=qo(i,l,"composite");this.binders[i]=new x(s,a,l,u,t,d),r.push("/z_"+i)}}}this.cacheKey=r.sort().join("")};Uo.prototype.getMaxValue=function(e){var t=this.binders[e];return t instanceof Yo||t instanceof x?t.maxValue:0},Uo.prototype.populatePaintArrays=function(e,t,n,r,i){for(var o in this.binders){var a=this.binders[o];(a instanceof Yo||a instanceof x||a instanceof Go)&&a.populatePaintArray(e,t,n,r,i)}},Uo.prototype.setConstantPatternPositions=function(e,t){for(var n in this.binders){var r=this.binders[n];r instanceof Ho&&r.setConstantPatternPositions(e,t)}},Uo.prototype.updatePaintArrays=function(e,t,n,r,i){var o=!1;for(var a in e)for(var s=0,l=t.getPositions(a);s<l.length;s+=1){var u=l[s],c=n.feature(u.index);for(var f in this.binders){var h=this.binders[f];if((h instanceof Yo||h instanceof x||h instanceof Go)&&!0===h.expression.isStateDependent){var d=r.paint.get(f);h.expression=d.value,h.updatePaintArray(u.start,u.end,c,e[a],i),o=!0}}}return o},Uo.prototype.defines=function(){var e=[];for(var t in this.binders){var n=this.binders[t];(n instanceof Vo||n instanceof Ho)&&e.push.apply(e,n.uniformNames.map(function(e){return"#define HAS_UNIFORM_"+e}))}return e},Uo.prototype.getBinderAttributes=function(){var e=[];for(var t in this.binders){var n=this.binders[t];if(n instanceof Yo||n instanceof x)for(var r=0;r<n.paintVertexAttributes.length;r++)e.push(n.paintVertexAttributes[r].name);else if(n instanceof Go)for(var i=0;i<wo.members.length;i++)e.push(wo.members[i].name)}return e},Uo.prototype.getBinderUniforms=function(){var e=[];for(var t in this.binders){var n=this.binders[t];if(n instanceof Vo||n instanceof Ho||n instanceof x)for(var r=0,i=n.uniformNames;r<i.length;r+=1)e.push(i[r])}return e},Uo.prototype.getPaintVertexBuffers=function(){return this._buffers},Uo.prototype.getUniforms=function(e,t){var n=[];for(var r in this.binders){var i=this.binders[r];if(i instanceof Vo||i instanceof Ho||i instanceof x)for(var o=0,a=i.uniformNames;o<a.length;o+=1){var s=a[o];if(t[s]){var l=i.getBinding(e,t[s],s);n.push({name:s,property:r,binding:l})}}}return n},Uo.prototype.setUniforms=function(e,t,n,r){for(var i=0,o=t;i<o.length;i+=1){var a=o[i],s=a.name,l=a.property;this.binders[l].setUniform(a.binding,r,n.get(l),s)}},Uo.prototype.updatePaintBuffers=function(e){for(var t in this._buffers=[],this.binders){var n=this.binders[t];if(e&&n instanceof Go){var r=2===e.fromScale?n.zoomInPaintVertexBuffer:n.zoomOutPaintVertexBuffer;r&&this._buffers.push(r)}else(n instanceof Yo||n instanceof x)&&n.paintVertexBuffer&&this._buffers.push(n.paintVertexBuffer)}},Uo.prototype.upload=function(e){for(var t in this.binders){var n=this.binders[t];(n instanceof Yo||n instanceof x||n instanceof Go)&&n.upload(e)}this.updatePaintBuffers()},Uo.prototype.destroy=function(){for(var e in this.binders){var t=this.binders[e];(t instanceof Yo||t instanceof x||t instanceof Go)&&t.destroy()}};var Qo=function(e,t,n){void 0===n&&(n=function(){return!0}),this.programConfigurations={};for(var r=0,i=e;r<i.length;r+=1){var o=i[r];this.programConfigurations[o.id]=new Uo(o,t,n)}this.needsUpload=!1,this._featureMap=new Eo,this._bufferOffset=0};function Wo(e,t){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[e]||[e.replace(t+"-","").replace(/-/g,"_")]}function qo(e,t,n){var r={color:{source:Ui,composite:lo},number:{source:ro,composite:Ui}},i=function(e){return{"line-pattern":{source:Qi,composite:Qi},"fill-pattern":{source:Qi,composite:Qi},"fill-extrusion-pattern":{source:Qi,composite:Qi}}[e]}(e);return i&&i[n]||r[t][n]}Qo.prototype.populatePaintArrays=function(e,t,n,r,i,o){for(var a in this.programConfigurations)this.programConfigurations[a].populatePaintArrays(e,t,r,i,o);void 0!==t.id&&this._featureMap.add(t.id,n,this._bufferOffset,e),this._bufferOffset=e,this.needsUpload=!0},Qo.prototype.updatePaintArrays=function(e,t,n,r){for(var i=0,o=n;i<o.length;i+=1){var a=o[i];this.needsUpload=this.programConfigurations[a.id].updatePaintArrays(e,this._featureMap,t,a,r)||this.needsUpload}},Qo.prototype.get=function(e){return this.programConfigurations[e]},Qo.prototype.upload=function(e){if(this.needsUpload){for(var t in this.programConfigurations)this.programConfigurations[t].upload(e);this.needsUpload=!1}},Qo.prototype.destroy=function(){for(var e in this.programConfigurations)this.programConfigurations[e].destroy()},t("ConstantBinder",Vo),t("CrossFadedConstantBinder",Ho),t("SourceExpressionBinder",Yo),t("CrossFadedCompositeBinder",Go),t("CompositeExpressionBinder",x),t("ProgramConfiguration",Uo,{omit:["_buffers"]}),t("ProgramConfigurationSet",Qo);var Ko=Math.pow(2,14)-1,Xo=-Ko-1;function Jo(e){for(var t=8192/e.extent,n=e.loadGeometry(),r=0;r<n.length;r++)for(var i=n[r],o=0;o<i.length;o++){var a=i[o],s=Math.round(a.x*t),l=Math.round(a.y*t);a.x=N(s,Xo,Ko),a.y=N(l,Xo,Ko),(s<a.x||s>a.x+1||l<a.y||l>a.y+1)&&ce("Geometry exceeds allowed extent, reduce your vector tile buffer size")}return n}function $o(e,t,n,r,i){e.emplaceBack(2*t+(r+1)/2,2*n+(i+1)/2)}var Zo=function(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map(function(e){return e.id}),this.index=e.index,this.hasPattern=!1,this.layoutVertexArray=new Vi,this.indexArray=new eo,this.segments=new L,this.programConfigurations=new Qo(e.layers,e.zoom),this.stateDependentLayerIds=this.layers.filter(function(e){return e.isStateDependent()}).map(function(e){return e.id})};function ea(e,t){for(var n=0;n<e.length;n++)if(ua(t,e[n]))return!0;for(var r=0;r<t.length;r++)if(ua(e,t[r]))return!0;return!!ia(e,t)}function ta(e,t,n){return!!ua(e,t)||!!aa(t,e,n)}function na(e,t){if(1===e.length)return la(t,e[0]);for(var n=0;n<t.length;n++)for(var r=t[n],i=0;i<r.length;i++)if(ua(e,r[i]))return!0;for(var o=0;o<e.length;o++)if(la(t,e[o]))return!0;for(var a=0;a<t.length;a++)if(ia(e,t[a]))return!0;return!1}function ra(e,t,n){if(e.length>1){if(ia(e,t))return!0;for(var r=0;r<t.length;r++)if(aa(t[r],e,n))return!0}for(var i=0;i<e.length;i++)if(aa(e[i],t,n))return!0;return!1}function ia(e,t){if(0===e.length||0===t.length)return!1;for(var n=0;n<e.length-1;n++)for(var r=e[n],i=e[n+1],o=0;o<t.length-1;o++)if(oa(r,i,t[o],t[o+1]))return!0;return!1}function oa(e,t,n,r){return te(e,n,r)!==te(t,n,r)&&te(e,t,n)!==te(e,t,r)}function aa(e,t,n){var r=n*n;if(1===t.length)return e.distSqr(t[0])<r;for(var i=1;i<t.length;i++)if(sa(e,t[i-1],t[i])<r)return!0;return!1}function sa(e,t,n){var r=t.distSqr(n);if(0===r)return e.distSqr(t);var i=((e.x-t.x)*(n.x-t.x)+(e.y-t.y)*(n.y-t.y))/r;return e.distSqr(i<0?t:i>1?n:n.sub(t)._mult(i)._add(t))}function la(e,t){for(var n,r,i,o=!1,a=0;a<e.length;a++)for(var s=0,l=(n=e[a]).length-1;s<n.length;l=s++)(r=n[s]).y>t.y!=(i=n[l]).y>t.y&&t.x<(i.x-r.x)*(t.y-r.y)/(i.y-r.y)+r.x&&(o=!o);return o}function ua(e,t){for(var n=!1,r=0,i=e.length-1;r<e.length;i=r++){var o=e[r],a=e[i];o.y>t.y!=a.y>t.y&&t.x<(a.x-o.x)*(t.y-o.y)/(a.y-o.y)+o.x&&(n=!n)}return n}function ca(e,t,n){var r=n[0],i=n[2];if(e.x<r.x&&t.x<r.x||e.x>i.x&&t.x>i.x||e.y<r.y&&t.y<r.y||e.y>i.y&&t.y>i.y)return!1;var o=te(e,t,n[0]);return o!==te(e,t,n[1])||o!==te(e,t,n[2])||o!==te(e,t,n[3])}function fa(e,t,n){var r=t.paint.get(e).value;return"constant"===r.kind?r.value:n.programConfigurations.get(t.id).getMaxValue(e)}function ha(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function da(e,t,n,r,i){if(!t[0]&&!t[1])return e;var o=U.convert(t)._mult(i);"viewport"===n&&o._rotate(-r);for(var a=[],s=0;s<e.length;s++)a.push(e[s].sub(o));return a}Zo.prototype.populate=function(e,t,n){var r=this.layers[0],i=[],o=null;"circle"===r.type&&(o=r.layout.get("circle-sort-key"));for(var a=0,s=e;a<s.length;a+=1){var l=s[a],u=l.feature,c=l.id,f=l.index,h=l.sourceLayerIndex,d=this.layers[0]._featureFilter.needGeometry,p={type:u.type,id:c,properties:u.properties,geometry:d?Jo(u):[]};if(this.layers[0]._featureFilter.filter(new H(this.zoom),p,n)){d||(p.geometry=Jo(u));var y=o?o.evaluate(p,{},n):void 0;i.push({id:c,properties:u.properties,type:u.type,sourceLayerIndex:h,index:f,geometry:p.geometry,patterns:{},sortKey:y})}}o&&i.sort(function(e,t){return e.sortKey-t.sortKey});for(var m=0,g=i;m<g.length;m+=1){var v=g[m],b=v.geometry,_=v.index,x=v.sourceLayerIndex,w=e[_].feature;this.addFeature(v,b,_,n),t.featureIndex.insert(w,b,_,x,this.index)}},Zo.prototype.update=function(e,t,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,n)},Zo.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Zo.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Zo.prototype.upload=function(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,_o),this.indexBuffer=e.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(e),this.uploaded=!0},Zo.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Zo.prototype.addFeature=function(e,t,n,r){for(var i=0,o=t;i<o.length;i+=1)for(var a=0,s=o[i];a<s.length;a+=1){var l=s[a],u=l.x,c=l.y;if(!(u<0||u>=8192||c<0||c>=8192)){var f=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,e.sortKey),h=f.vertexLength;$o(this.layoutVertexArray,u,c,-1,-1),$o(this.layoutVertexArray,u,c,1,-1),$o(this.layoutVertexArray,u,c,1,1),$o(this.layoutVertexArray,u,c,-1,1),this.indexArray.emplaceBack(h,h+1,h+2),this.indexArray.emplaceBack(h,h+3,h+2),f.vertexLength+=4,f.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,n,{},r)},t("CircleBucket",Zo,{omit:["layers"]});var pa=new Bi({"circle-sort-key":new r(o.layout_circle["circle-sort-key"])}),ya={paint:new Bi({"circle-radius":new r(o.paint_circle["circle-radius"]),"circle-color":new r(o.paint_circle["circle-color"]),"circle-blur":new r(o.paint_circle["circle-blur"]),"circle-opacity":new r(o.paint_circle["circle-opacity"]),"circle-translate":new n(o.paint_circle["circle-translate"]),"circle-translate-anchor":new n(o.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new n(o.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new n(o.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new r(o.paint_circle["circle-stroke-width"]),"circle-stroke-color":new r(o.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new r(o.paint_circle["circle-stroke-opacity"])}),layout:pa},ma="undefined"!=typeof Float32Array?Float32Array:Array;function ga(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function va(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=t[8],h=t[9],d=t[10],p=t[11],y=t[12],m=t[13],g=t[14],v=t[15],b=n[0],_=n[1],x=n[2],w=n[3];return e[0]=b*r+_*s+x*f+w*y,e[1]=b*i+_*l+x*h+w*m,e[2]=b*o+_*u+x*d+w*g,e[3]=b*a+_*c+x*p+w*v,e[4]=(b=n[4])*r+(_=n[5])*s+(x=n[6])*f+(w=n[7])*y,e[5]=b*i+_*l+x*h+w*m,e[6]=b*o+_*u+x*d+w*g,e[7]=b*a+_*c+x*p+w*v,e[8]=(b=n[8])*r+(_=n[9])*s+(x=n[10])*f+(w=n[11])*y,e[9]=b*i+_*l+x*h+w*m,e[10]=b*o+_*u+x*d+w*g,e[11]=b*a+_*c+x*p+w*v,e[12]=(b=n[12])*r+(_=n[13])*s+(x=n[14])*f+(w=n[15])*y,e[13]=b*i+_*l+x*h+w*m,e[14]=b*o+_*u+x*d+w*g,e[15]=b*a+_*c+x*p+w*v,e}Math.hypot||(Math.hypot=function(){for(var e=arguments,t=0,n=arguments.length;n--;)t+=e[n]*e[n];return Math.sqrt(t)});var ba,_a=va;function xa(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*a,e[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*a,e[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*a,e[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*a,e}ba=new ma(3),ma!=Float32Array&&(ba[0]=0,ba[1]=0,ba[2]=0),function(){var e=new ma(4);ma!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[3]=0)}();var wa=(function(){var e=new ma(2);ma!=Float32Array&&(e[0]=0,e[1]=0)}(),function(t){function e(e){t.call(this,e,ya)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.createBucket=function(e){return new Zo(e)},e.prototype.queryRadius=function(e){var t=e;return fa("circle-radius",this,t)+fa("circle-stroke-width",this,t)+ha(this.paint.get("circle-translate"))},e.prototype.queryIntersectsFeature=function(e,t,n,r,i,o,a,s){for(var l=da(e,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),o.angle,a),u=this.paint.get("circle-radius").evaluate(t,n)+this.paint.get("circle-stroke-width").evaluate(t,n),c="map"===this.paint.get("circle-pitch-alignment"),f=c?l:function(e,t){return e.map(function(e){return Aa(e,t)})}(l,s),h=c?u*a:u,d=0,p=r;d<p.length;d+=1)for(var y=0,m=p[d];y<m.length;y+=1){var g=m[y],v=c?g:Aa(g,s),b=h,_=xa([],[g.x,g.y,0,1],s);if("viewport"===this.paint.get("circle-pitch-scale")&&"map"===this.paint.get("circle-pitch-alignment")?b*=_[3]/o.cameraToCenterDistance:"map"===this.paint.get("circle-pitch-scale")&&"viewport"===this.paint.get("circle-pitch-alignment")&&(b*=o.cameraToCenterDistance/_[3]),ta(f,v,b))return!0}return!1},e}(Ri));function Aa(e,t){var n=xa([],[e.x,e.y,0,1],t);return new U(n[0]/n[3],n[1]/n[3])}var Sa=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(Zo);t("HeatmapBucket",Sa,{omit:["layers"]});var Ca={paint:new Bi({"heatmap-radius":new r(o.paint_heatmap["heatmap-radius"]),"heatmap-weight":new r(o.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new n(o.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Di(o.paint_heatmap["heatmap-color"]),"heatmap-opacity":new n(o.paint_heatmap["heatmap-opacity"])})};function Oa(i){var o={},e=i.resolution||256,t=i.clips?i.clips.length:1,a=i.image||new xr({width:e,height:t}),n=function(e,t,n){o[i.evaluationKey]=n;var r=i.expression.evaluate(o);a.data[e+t+0]=Math.floor(255*r.r/r.a),a.data[e+t+1]=Math.floor(255*r.g/r.a),a.data[e+t+2]=Math.floor(255*r.b/r.a),a.data[e+t+3]=Math.floor(255*r.a)};if(i.clips)for(var r=0,s=0;r<t;++r,s+=4*e)for(var l=0,u=0;l<e;l++,u+=4){var c=l/(e-1),f=i.clips[r];n(s,u,f.start*(1-c)+f.end*c)}else for(var h=0,d=0;h<e;h++,d+=4)n(0,d,h/(e-1));return a}var Ea=function(t){function e(e){t.call(this,e,Ca),this._updateColorRamp()}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.createBucket=function(e){return new Sa(e)},e.prototype._handleSpecialPaintPropertyUpdate=function(e){"heatmap-color"===e&&this._updateColorRamp()},e.prototype._updateColorRamp=function(){this.colorRamp=Oa({expression:this._transitionablePaint._values["heatmap-color"].value.expression,evaluationKey:"heatmapDensity",image:this.colorRamp}),this.colorRampTexture=null},e.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility},e}(Ri),Ma={paint:new Bi({"hillshade-illumination-direction":new n(o.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new n(o.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new n(o.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new n(o.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new n(o.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new n(o.paint_hillshade["hillshade-accent-color"])})},Pa=function(t){function e(e){t.call(this,e,Ma)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility},e}(Ri),ka=a([{name:"a_pos",components:2,type:"Int16"}],4).members,Ta=La,Ia=La;function La(e,t,n){n=n||2;var r,i,o,a,s,l,u,c=t&&t.length,f=c?t[0]*n:e.length,h=ja(e,0,f,n,!0),d=[];if(!h||h.next===h.prev)return d;if(c&&(h=function(e,t,n,r){var i,o,a,s=[];for(i=0,o=t.length;i<o;i++)(a=ja(e,t[i]*r,i<o-1?t[i+1]*r:e.length,r,!1))===a.next&&(a.steiner=!0),s.push(Ua(a));for(s.sort(Va),i=0;i<s.length;i++)Ha(s[i],n),n=Da(n,n.next);return n}(e,t,h,n)),e.length>80*n){r=o=e[0],i=a=e[1];for(var p=n;p<f;p+=n)(s=e[p])<r&&(r=s),(l=e[p+1])<i&&(i=l),s>o&&(o=s),l>a&&(a=l);u=0!==(u=Math.max(o-r,a-i))?1/u:0}return Ba(h,d,n,r,i,u),d}function ja(e,t,n,r,i){var o,a;if(i===rs(e,t,n,r)>0)for(o=t;o<n;o+=r)a=es(o,e[o],e[o+1],a);else for(o=n-r;o>=t;o-=r)a=es(o,e[o],e[o+1],a);return a&&qa(a,a.next)&&(ts(a),a=a.next),a}function Da(e,t){if(!e)return e;t||(t=e);var n,r=e;do{if(n=!1,r.steiner||!qa(r,r.next)&&0!==w(r.prev,r,r.next))r=r.next;else{if(ts(r),(r=t=r.prev)===r.next)break;n=!0}}while(n||r!==t);return t}function Ba(e,t,n,r,i,o,a){if(e){!a&&o&&function(e,t,n,r){var i=e;do{null===i.z&&(i.z=Ga(i.x,i.y,t,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){var t,n,r,i,o,a,s,l,u=1;do{for(n=e,e=null,o=null,a=0;n;){for(a++,r=n,s=0,t=0;t<u&&(s++,r=r.nextZ);t++);for(l=u;s>0||l>0&&r;)0!==s&&(0===l||!r||n.z<=r.z)?(i=n,n=n.nextZ,s--):(i=r,r=r.nextZ,l--),o?o.nextZ=i:e=i,i.prevZ=o,o=i;n=r}o.nextZ=null,u*=2}while(a>1)}(i)}(e,r,i,o);for(var s,l,u=e;e.prev!==e.next;)if(s=e.prev,l=e.next,o?Na(e,r,i,o):Ra(e))t.push(s.i/n),t.push(e.i/n),t.push(l.i/n),ts(e),e=l.next,u=l.next;else if((e=l)===u){a?1===a?Ba(e=za(Da(e),t,n),t,n,r,i,o,2):2===a&&Fa(e,t,n,r,i,o):Ba(Da(e),t,n,r,i,o,1);break}}}function Ra(e){var t=e.prev,n=e,r=e.next;if(w(t,n,r)>=0)return!1;for(var i=e.next.next;i!==e.prev;){if(Qa(t.x,t.y,n.x,n.y,r.x,r.y,i.x,i.y)&&w(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function Na(e,t,n,r){var i=e.prev,o=e,a=e.next;if(w(i,o,a)>=0)return!1;for(var s=i.x>o.x?i.x>a.x?i.x:a.x:o.x>a.x?o.x:a.x,l=i.y>o.y?i.y>a.y?i.y:a.y:o.y>a.y?o.y:a.y,u=Ga(i.x<o.x?i.x<a.x?i.x:a.x:o.x<a.x?o.x:a.x,i.y<o.y?i.y<a.y?i.y:a.y:o.y<a.y?o.y:a.y,t,n,r),c=Ga(s,l,t,n,r),f=e.prevZ,h=e.nextZ;f&&f.z>=u&&h&&h.z<=c;){if(f!==e.prev&&f!==e.next&&Qa(i.x,i.y,o.x,o.y,a.x,a.y,f.x,f.y)&&w(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,h!==e.prev&&h!==e.next&&Qa(i.x,i.y,o.x,o.y,a.x,a.y,h.x,h.y)&&w(h.prev,h,h.next)>=0)return!1;h=h.nextZ}for(;f&&f.z>=u;){if(f!==e.prev&&f!==e.next&&Qa(i.x,i.y,o.x,o.y,a.x,a.y,f.x,f.y)&&w(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;h&&h.z<=c;){if(h!==e.prev&&h!==e.next&&Qa(i.x,i.y,o.x,o.y,a.x,a.y,h.x,h.y)&&w(h.prev,h,h.next)>=0)return!1;h=h.nextZ}return!0}function za(e,t,n){var r=e;do{var i=r.prev,o=r.next.next;!qa(i,o)&&Ka(i,r,r.next,o)&&$a(i,o)&&$a(o,i)&&(t.push(i.i/n),t.push(r.i/n),t.push(o.i/n),ts(r),ts(r.next),r=e=o),r=r.next}while(r!==e);return Da(r)}function Fa(e,t,n,r,i,o){var a=e;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&Wa(a,s)){var l=Za(a,s);return a=Da(a,a.next),l=Da(l,l.next),Ba(a,t,n,r,i,o),void Ba(l,t,n,r,i,o)}s=s.next}a=a.next}while(a!==e)}function Va(e,t){return e.x-t.x}function Ha(e,t){if(t=function(e,t){var n,r=t,i=e.x,o=e.y,a=-1/0;do{if(o<=r.y&&o>=r.next.y&&r.next.y!==r.y){var s=r.x+(o-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(s<=i&&s>a){if(a=s,s===i){if(o===r.y)return r;if(o===r.next.y)return r.next}n=r.x<r.next.x?r:r.next}}r=r.next}while(r!==t);if(!n)return null;if(i===a)return n;var l,u=n,c=n.x,f=n.y,h=1/0;r=n;do{i>=r.x&&r.x>=c&&i!==r.x&&Qa(o<f?i:a,o,c,f,o<f?a:i,o,r.x,r.y)&&(l=Math.abs(o-r.y)/(i-r.x),$a(r,e)&&(l<h||l===h&&(r.x>n.x||r.x===n.x&&Ya(n,r)))&&(n=r,h=l)),r=r.next}while(r!==u);return n}(e,t)){var n=Za(t,e);Da(t,t.next),Da(n,n.next)}}function Ya(e,t){return w(e.prev,e,t.prev)<0&&w(t.next,e,e.next)<0}function Ga(e,t,n,r,i){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)*i)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*i)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function Ua(e){var t=e,n=e;do{(t.x<n.x||t.x===n.x&&t.y<n.y)&&(n=t),t=t.next}while(t!==e);return n}function Qa(e,t,n,r,i,o,a,s){return(i-a)*(t-s)-(e-a)*(o-s)>=0&&(e-a)*(r-s)-(n-a)*(t-s)>=0&&(n-a)*(o-s)-(i-a)*(r-s)>=0}function Wa(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&Ka(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(e,t)&&($a(e,t)&&$a(t,e)&&function(e,t){var n=e,r=!1,i=(e.x+t.x)/2,o=(e.y+t.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}(e,t)&&(w(e.prev,e,t.prev)||w(e,t.prev,t))||qa(e,t)&&w(e.prev,e,e.next)>0&&w(t.prev,t,t.next)>0)}function w(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function qa(e,t){return e.x===t.x&&e.y===t.y}function Ka(e,t,n,r){var i=Ja(w(e,t,n)),o=Ja(w(e,t,r)),a=Ja(w(n,r,e)),s=Ja(w(n,r,t));return i!==o&&a!==s||!(0!==i||!Xa(e,n,t))||!(0!==o||!Xa(e,r,t))||!(0!==a||!Xa(n,e,r))||!(0!==s||!Xa(n,t,r))}function Xa(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function Ja(e){return e>0?1:e<0?-1:0}function $a(e,t){return w(e.prev,e,e.next)<0?w(e,t,e.next)>=0&&w(e,e.prev,t)>=0:w(e,t,e.prev)<0||w(e,e.next,t)<0}function Za(e,t){var n=new ns(e.i,e.x,e.y),r=new ns(t.i,t.x,t.y),i=e.next,o=t.prev;return e.next=t,t.prev=e,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function es(e,t,n,r){var i=new ns(e,t,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function ts(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function ns(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function rs(e,t,n,r){for(var i=0,o=t,a=n-r;o<n;o+=r)i+=(e[a]-e[o])*(e[o+1]+e[a+1]),a=o;return i}function is(e,t,n,r,i){!function e(t,n,r,i,o){for(;i>r;){if(i-r>600){var a=i-r+1,s=n-r+1,l=Math.log(a),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(a-u)/a)*(s-a/2<0?-1:1);e(t,n,Math.max(r,Math.floor(n-s*u/a+c)),Math.min(i,Math.floor(n+(a-s)*u/a+c)),o)}var f=t[n],h=r,d=i;for(os(t,r,n),o(t[i],f)>0&&os(t,r,i);h<d;){for(os(t,h,d),h++,d--;o(t[h],f)<0;)h++;for(;o(t[d],f)>0;)d--}0===o(t[r],f)?os(t,r,d):os(t,++d,i),d<=n&&(r=d+1),n<=d&&(i=d-1)}}(e,t,n||0,r||e.length-1,i||as)}function os(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function as(e,t){return e<t?-1:e>t?1:0}function ss(e,t){var n=e.length;if(n<=1)return[e];for(var r,i,o=[],a=0;a<n;a++){var s=ne(e[a]);0!==s&&(e[a].area=Math.abs(s),void 0===i&&(i=s<0),i===s<0?(r&&o.push(r),r=[e[a]]):r.push(e[a]))}if(r&&o.push(r),t>1)for(var l=0;l<o.length;l++)o[l].length<=t||(is(o[l],t,1,o[l].length-1,ls),o[l]=o[l].slice(0,t));return o}function ls(e,t){return t.area-e.area}function us(e,t,n){for(var r=n.patternDependencies,i=!1,o=0,a=t;o<a.length;o+=1){var s=a[o].paint.get(e+"-pattern");s.isConstant()||(i=!0);var l=s.constantOr(null);l&&(i=!0,r[l.to]=!0,r[l.from]=!0)}return i}function cs(e,t,n,r,i){for(var o=i.patternDependencies,a=0,s=t;a<s.length;a+=1){var l=s[a],u=l.paint.get(e+"-pattern").value;if("constant"!==u.kind){var c=u.evaluate({zoom:r-1},n,{},i.availableImages),f=u.evaluate({zoom:r},n,{},i.availableImages),h=u.evaluate({zoom:r+1},n,{},i.availableImages);f=f&&f.name?f.name:f,h=h&&h.name?h.name:h,o[c=c&&c.name?c.name:c]=!0,o[f]=!0,o[h]=!0,n.patterns[l.id]={min:c,mid:f,max:h}}}return n}La.deviation=function(e,t,n,r){var i=t&&t.length,o=Math.abs(rs(e,0,i?t[0]*n:e.length,n));if(i)for(var a=0,s=t.length;a<s;a++)o-=Math.abs(rs(e,t[a]*n,a<s-1?t[a+1]*n:e.length,n));var l=0;for(a=0;a<r.length;a+=3){var u=r[a]*n,c=r[a+1]*n,f=r[a+2]*n;l+=Math.abs((e[u]-e[f])*(e[c+1]-e[u+1])-(e[u]-e[c])*(e[f+1]-e[u+1]))}return 0===o&&0===l?0:Math.abs((l-o)/o)},La.flatten=function(e){for(var t=e[0][0].length,n={vertices:[],holes:[],dimensions:t},r=0,i=0;i<e.length;i++){for(var o=0;o<e[i].length;o++)for(var a=0;a<t;a++)n.vertices.push(e[i][o][a]);i>0&&n.holes.push(r+=e[i-1].length)}return n},Ta.default=Ia;var fs=function(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map(function(e){return e.id}),this.index=e.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Vi,this.indexArray=new eo,this.indexArray2=new ao,this.programConfigurations=new Qo(e.layers,e.zoom),this.segments=new L,this.segments2=new L,this.stateDependentLayerIds=this.layers.filter(function(e){return e.isStateDependent()}).map(function(e){return e.id})};fs.prototype.populate=function(e,t,n){this.hasPattern=us("fill",this.layers,t);for(var r=this.layers[0].layout.get("fill-sort-key"),i=[],o=0,a=e;o<a.length;o+=1){var s=a[o],l=s.feature,u=s.id,c=s.index,f=s.sourceLayerIndex,h=this.layers[0]._featureFilter.needGeometry,d={type:l.type,id:u,properties:l.properties,geometry:h?Jo(l):[]};if(this.layers[0]._featureFilter.filter(new H(this.zoom),d,n)){h||(d.geometry=Jo(l));var p=r?r.evaluate(d,{},n,t.availableImages):void 0;i.push({id:u,properties:l.properties,type:l.type,sourceLayerIndex:f,index:c,geometry:d.geometry,patterns:{},sortKey:p})}}r&&i.sort(function(e,t){return e.sortKey-t.sortKey});for(var y=0,m=i;y<m.length;y+=1){var g=m[y],v=g.geometry,b=g.index,_=g.sourceLayerIndex;if(this.hasPattern){var x=cs("fill",this.layers,g,this.zoom,t);this.patternFeatures.push(x)}else this.addFeature(g,v,b,n,{});t.featureIndex.insert(e[b].feature,v,b,_,this.index)}},fs.prototype.update=function(e,t,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,n)},fs.prototype.addFeatures=function(e,t,n){for(var r=0,i=this.patternFeatures;r<i.length;r+=1){var o=i[r];this.addFeature(o,o.geometry,o.index,t,n)}},fs.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},fs.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},fs.prototype.upload=function(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,ka),this.indexBuffer=e.createIndexBuffer(this.indexArray),this.indexBuffer2=e.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(e),this.uploaded=!0},fs.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())},fs.prototype.addFeature=function(e,t,n,r,i){for(var o=0,a=ss(t,500);o<a.length;o+=1){for(var s=a[o],l=0,u=0,c=s;u<c.length;u+=1)l+=c[u].length;for(var f=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray),h=f.vertexLength,d=[],p=[],y=0,m=s;y<m.length;y+=1){var g=m[y];if(0!==g.length){g!==s[0]&&p.push(d.length/2);var v=this.segments2.prepareSegment(g.length,this.layoutVertexArray,this.indexArray2),b=v.vertexLength;this.layoutVertexArray.emplaceBack(g[0].x,g[0].y),this.indexArray2.emplaceBack(b+g.length-1,b),d.push(g[0].x),d.push(g[0].y);for(var _=1;_<g.length;_++)this.layoutVertexArray.emplaceBack(g[_].x,g[_].y),this.indexArray2.emplaceBack(b+_-1,b+_),d.push(g[_].x),d.push(g[_].y);v.vertexLength+=g.length,v.primitiveLength+=g.length}}for(var x=Ta(d,p),w=0;w<x.length;w+=3)this.indexArray.emplaceBack(h+x[w],h+x[w+1],h+x[w+2]);f.vertexLength+=l,f.primitiveLength+=x.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,n,i,r)},t("FillBucket",fs,{omit:["layers","patternFeatures"]});var hs=new Bi({"fill-sort-key":new r(o.layout_fill["fill-sort-key"])}),ds={paint:new Bi({"fill-antialias":new n(o.paint_fill["fill-antialias"]),"fill-opacity":new r(o.paint_fill["fill-opacity"]),"fill-color":new r(o.paint_fill["fill-color"]),"fill-outline-color":new r(o.paint_fill["fill-outline-color"]),"fill-translate":new n(o.paint_fill["fill-translate"]),"fill-translate-anchor":new n(o.paint_fill["fill-translate-anchor"]),"fill-pattern":new Li(o.paint_fill["fill-pattern"])}),layout:hs},ps=function(r){function e(e){r.call(this,e,ds)}return r&&(e.__proto__=r),(e.prototype=Object.create(r&&r.prototype)).constructor=e,e.prototype.recalculate=function(e,t){r.prototype.recalculate.call(this,e,t);var n=this.paint._values["fill-outline-color"];"constant"===n.value.kind&&void 0===n.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])},e.prototype.createBucket=function(e){return new fs(e)},e.prototype.queryRadius=function(){return ha(this.paint.get("fill-translate"))},e.prototype.queryIntersectsFeature=function(e,t,n,r,i,o,a){return na(da(e,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),o.angle,a),r)},e.prototype.isTileClipped=function(){return!0},e}(Ri),ys=a([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4).members,ms=gs;function gs(e,t,n,r,i){this.properties={},this.extent=n,this.type=0,this._pbf=e,this._geometry=-1,this._keys=r,this._values=i,e.readFields(vs,this,t)}function vs(e,t,n){1==e?t.id=n.readVarint():2==e?function(e,t){for(var n=e.readVarint()+e.pos;e.pos<n;){var r=t._keys[e.readVarint()],i=t._values[e.readVarint()];t.properties[r]=i}}(n,t):3==e?t.type=n.readVarint():4==e&&(t._geometry=n.pos)}function bs(e){for(var t,n,r=0,i=0,o=e.length,a=o-1;i<o;a=i++)r+=((n=e[a]).x-(t=e[i]).x)*(t.y+n.y);return r}gs.types=["Unknown","Point","LineString","Polygon"],gs.prototype.loadGeometry=function(){var e=this._pbf;e.pos=this._geometry;for(var t,n=e.readVarint()+e.pos,r=1,i=0,o=0,a=0,s=[];e.pos<n;){if(i<=0){var l=e.readVarint();r=7&l,i=l>>3}if(i--,1===r||2===r)o+=e.readSVarint(),a+=e.readSVarint(),1===r&&(t&&s.push(t),t=[]),t.push(new U(o,a));else{if(7!==r)throw new Error("unknown command "+r);t&&t.push(t[0].clone())}}return t&&s.push(t),s},gs.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,n=1,r=0,i=0,o=0,a=1/0,s=-1/0,l=1/0,u=-1/0;e.pos<t;){if(r<=0){var c=e.readVarint();n=7&c,r=c>>3}if(r--,1===n||2===n)(i+=e.readSVarint())<a&&(a=i),i>s&&(s=i),(o+=e.readSVarint())<l&&(l=o),o>u&&(u=o);else if(7!==n)throw new Error("unknown command "+n)}return[a,l,s,u]},gs.prototype.toGeoJSON=function(e,t,n,o){var r,i,a=this.extent*Math.pow(2,n),s=this.extent*e,l=this.extent*t,u=this.loadGeometry(),c=gs.types[this.type];function f(e){for(var t=0;t<e.length;t++){var n=e[t],r=180-360*(n.y+l)/a,i=o&&o(n.y+l,a);e[t]=[360*(n.x+s)/a-180,i||360/Math.PI*Math.atan(Math.exp(r*Math.PI/180))-90]}}switch(this.type){case 1:var h=[];for(r=0;r<u.length;r++)h[r]=u[r][0];f(u=h);break;case 2:for(r=0;r<u.length;r++)f(u[r]);break;case 3:for(u=function(e){var t=e.length;if(t<=1)return[e];for(var n,r,i=[],o=0;o<t;o++){var a=bs(e[o]);0!==a&&(void 0===r&&(r=a<0),r===a<0?(n&&i.push(n),n=[e[o]]):n.push(e[o]))}return n&&i.push(n),i}(u),r=0;r<u.length;r++)for(i=0;i<u[r].length;i++)f(u[r][i])}1===u.length?u=u[0]:c="Multi"+c;var d={type:"Feature",geometry:{type:c,coordinates:u},properties:this.properties};return"id"in this&&(d.id=this.id),d};var _s=xs;function xs(e,t){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=e,this._keys=[],this._values=[],this._features=[],e.readFields(ws,this,t),this.length=this._features.length}function ws(e,t,n){15===e?t.version=n.readVarint():1===e?t.name=n.readString():5===e?t.extent=n.readVarint():2===e?t._features.push(n.pos):3===e?t._keys.push(n.readString()):4===e&&t._values.push(function(e){for(var t=null,n=e.readVarint()+e.pos;e.pos<n;){var r=e.readVarint()>>3;t=1===r?e.readString():2===r?e.readFloat():3===r?e.readDouble():4===r?e.readVarint64():5===r?e.readVarint():6===r?e.readSVarint():7===r?e.readBoolean():null}return t}(n))}function As(e,t,n){if(3===e){var r=new _s(n,n.readVarint()+n.pos);r.length&&(t[r.name]=r)}}xs.prototype.feature=function(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new ms(this._pbf,t,this.extent,this._keys,this._values)};var Ss={VectorTile:function(e,t){this.layers=e.readFields(As,{},t)},VectorTileFeature:ms,VectorTileLayer:_s},Cs=Ss.VectorTileFeature.types,Os=Math.pow(2,13);function Es(e,t,n,r,i,o,a,s){e.emplaceBack(t,n,2*Math.floor(r*Os)+a,i*Os*2,o*Os*2,Math.round(s))}var Ms=function(e){this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map(function(e){return e.id}),this.index=e.index,this.hasPattern=!1,this.layoutVertexArray=new Yi,this.indexArray=new eo,this.programConfigurations=new Qo(e.layers,e.zoom),this.segments=new L,this.stateDependentLayerIds=this.layers.filter(function(e){return e.isStateDependent()}).map(function(e){return e.id})};function Ps(e,t){return e.x===t.x&&(e.x<0||e.x>8192)||e.y===t.y&&(e.y<0||e.y>8192)}Ms.prototype.populate=function(e,t,n){this.features=[],this.hasPattern=us("fill-extrusion",this.layers,t);for(var r=0,i=e;r<i.length;r+=1){var o=i[r],a=o.feature,s=o.id,l=o.index,u=o.sourceLayerIndex,c=this.layers[0]._featureFilter.needGeometry,f={type:a.type,id:s,properties:a.properties,geometry:c?Jo(a):[]};if(this.layers[0]._featureFilter.filter(new H(this.zoom),f,n)){var h={id:s,sourceLayerIndex:u,index:l,geometry:c?f.geometry:Jo(a),properties:a.properties,type:a.type,patterns:{}};this.hasPattern?this.features.push(cs("fill-extrusion",this.layers,h,this.zoom,t)):this.addFeature(h,h.geometry,l,n,{}),t.featureIndex.insert(a,h.geometry,l,u,this.index,!0)}}},Ms.prototype.addFeatures=function(e,t,n){for(var r=0,i=this.features;r<i.length;r+=1){var o=i[r];this.addFeature(o,o.geometry,o.index,t,n)}},Ms.prototype.update=function(e,t,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,n)},Ms.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Ms.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Ms.prototype.upload=function(e){this.uploaded||(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,ys),this.indexBuffer=e.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(e),this.uploaded=!0},Ms.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Ms.prototype.addFeature=function(e,t,n,r,i){for(var o=0,a=ss(t,500);o<a.length;o+=1){for(var s=a[o],l=0,u=0,c=s;u<c.length;u+=1)l+=c[u].length;for(var f=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),h=0,d=s;h<d.length;h+=1){var p=d[h];if(0!==p.length&&!((I=p).every(function(e){return e.x<0})||I.every(function(e){return e.x>8192})||I.every(function(e){return e.y<0})||I.every(function(e){return e.y>8192})))for(var y=0,m=0;m<p.length;m++){var g=p[m];if(m>=1){var v=p[m-1];if(!Ps(g,v)){f.vertexLength+4>L.MAX_VERTEX_ARRAY_LENGTH&&(f=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var b=g.sub(v)._perp()._unit(),_=v.dist(g);y+_>32768&&(y=0),Es(this.layoutVertexArray,g.x,g.y,b.x,b.y,0,0,y),Es(this.layoutVertexArray,g.x,g.y,b.x,b.y,0,1,y),Es(this.layoutVertexArray,v.x,v.y,b.x,b.y,0,0,y+=_),Es(this.layoutVertexArray,v.x,v.y,b.x,b.y,0,1,y);var x=f.vertexLength;this.indexArray.emplaceBack(x,x+2,x+1),this.indexArray.emplaceBack(x+1,x+2,x+3),f.vertexLength+=4,f.primitiveLength+=2}}}}if(f.vertexLength+l>L.MAX_VERTEX_ARRAY_LENGTH&&(f=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray)),"Polygon"===Cs[e.type]){for(var w=[],A=[],S=f.vertexLength,C=0,O=s;C<O.length;C+=1){var E=O[C];if(0!==E.length){E!==s[0]&&A.push(w.length/2);for(var M=0;M<E.length;M++){var P=E[M];Es(this.layoutVertexArray,P.x,P.y,0,0,1,1,0),w.push(P.x),w.push(P.y)}}}for(var k=Ta(w,A),T=0;T<k.length;T+=3)this.indexArray.emplaceBack(S+k[T],S+k[T+2],S+k[T+1]);f.primitiveLength+=k.length/3,f.vertexLength+=l}}var I;this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,n,i,r)},t("FillExtrusionBucket",Ms,{omit:["layers","features"]});var ks={paint:new Bi({"fill-extrusion-opacity":new n(o["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new r(o["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new n(o["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new n(o["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Li(o["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new r(o["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new r(o["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new n(o["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})},Ts=function(t){function e(e){t.call(this,e,ks)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.createBucket=function(e){return new Ms(e)},e.prototype.queryRadius=function(){return ha(this.paint.get("fill-extrusion-translate"))},e.prototype.is3D=function(){return!0},e.prototype.queryIntersectsFeature=function(e,t,n,r,i,o,a,s){var l=da(e,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),o.angle,a),u=this.paint.get("fill-extrusion-height").evaluate(t,n),c=this.paint.get("fill-extrusion-base").evaluate(t,n),f=function(e,t,n,r){for(var i=[],o=0,a=e;o<a.length;o+=1){var s=a[o],l=[s.x,s.y,0,1];xa(l,l,t),i.push(new U(l[0]/l[3],l[1]/l[3]))}return i}(l,s),h=function(e,t,n,r){for(var i=[],o=[],a=r[8]*t,s=r[9]*t,l=r[10]*t,u=r[11]*t,c=r[8]*n,f=r[9]*n,h=r[10]*n,d=r[11]*n,p=0,y=e;p<y.length;p+=1){for(var m=[],g=[],v=0,b=y[p];v<b.length;v+=1){var _=b[v],x=_.x,w=_.y,A=r[0]*x+r[4]*w+r[12],S=r[1]*x+r[5]*w+r[13],C=r[2]*x+r[6]*w+r[14],O=r[3]*x+r[7]*w+r[15],E=C+l,M=O+u,P=A+c,k=S+f,T=C+h,I=O+d,L=new U((A+a)/M,(S+s)/M);L.z=E/M,m.push(L);var j=new U(P/I,k/I);j.z=T/I,g.push(j)}i.push(m),o.push(g)}return[i,o]}(r,c,u,s);return function(e,t,n){var r=1/0;na(n,t)&&(r=Ls(n,t[0]));for(var i=0;i<t.length;i++)for(var o=t[i],a=e[i],s=0;s<o.length-1;s++){var l=o[s],u=[l,o[s+1],a[s+1],a[s],l];ea(n,u)&&(r=Math.min(r,Ls(n,u)))}return r!==1/0&&r}(h[0],h[1],f)},e}(Ri);function Is(e,t){return e.x*t.x+e.y*t.y}function Ls(e,t){if(1===e.length){for(var n,r=0,i=t[r++];!n||i.equals(n);)if(!(n=t[r++]))return 1/0;for(;r<t.length;r++){var o=t[r],a=e[0],s=n.sub(i),l=o.sub(i),u=a.sub(i),c=Is(s,s),f=Is(s,l),h=Is(l,l),d=Is(u,s),p=Is(u,l),y=c*h-f*f,m=(h*d-f*p)/y,g=(c*p-f*d)/y,v=i.z*(1-m-g)+n.z*m+o.z*g;if(isFinite(v))return v}return 1/0}for(var b=1/0,_=0,x=t;_<x.length;_+=1)b=Math.min(b,x[_].z);return b}var js=a([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4).members,Ds=a([{name:"a_uv_x",components:1,type:"Float32"},{name:"a_split_index",components:1,type:"Float32"}]).members,Bs=Ss.VectorTileFeature.types,Rs=Math.cos(Math.PI/180*37.5),Ns=Math.pow(2,14)/.5,zs=function(e){var t=this;this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map(function(e){return e.id}),this.index=e.index,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach(function(e){t.gradients[e.id]={}}),this.layoutVertexArray=new Gi,this.layoutVertexArray2=new Ui,this.indexArray=new eo,this.programConfigurations=new Qo(e.layers,e.zoom),this.segments=new L,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter(function(e){return e.isStateDependent()}).map(function(e){return e.id})};zs.prototype.populate=function(e,t,n){this.hasPattern=us("line",this.layers,t);for(var r=this.layers[0].layout.get("line-sort-key"),i=[],o=0,a=e;o<a.length;o+=1){var s=a[o],l=s.feature,u=s.id,c=s.index,f=s.sourceLayerIndex,h=this.layers[0]._featureFilter.needGeometry,d={type:l.type,id:u,properties:l.properties,geometry:h?Jo(l):[]};if(this.layers[0]._featureFilter.filter(new H(this.zoom),d,n)){h||(d.geometry=Jo(l));var p=r?r.evaluate(d,{},n):void 0;i.push({id:u,properties:l.properties,type:l.type,sourceLayerIndex:f,index:c,geometry:d.geometry,patterns:{},sortKey:p})}}r&&i.sort(function(e,t){return e.sortKey-t.sortKey});for(var y=0,m=i;y<m.length;y+=1){var g=m[y],v=g.geometry,b=g.index,_=g.sourceLayerIndex;if(this.hasPattern){var x=cs("line",this.layers,g,this.zoom,t);this.patternFeatures.push(x)}else this.addFeature(g,v,b,n,{});t.featureIndex.insert(e[b].feature,v,b,_,this.index)}},zs.prototype.update=function(e,t,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(e,t,this.stateDependentLayers,n)},zs.prototype.addFeatures=function(e,t,n){for(var r=0,i=this.patternFeatures;r<i.length;r+=1){var o=i[r];this.addFeature(o,o.geometry,o.index,t,n)}},zs.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},zs.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},zs.prototype.upload=function(e){this.uploaded||(0!==this.layoutVertexArray2.length&&(this.layoutVertexBuffer2=e.createVertexBuffer(this.layoutVertexArray2,Ds)),this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,js),this.indexBuffer=e.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(e),this.uploaded=!0},zs.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},zs.prototype.lineFeatureClips=function(e){if(e.properties&&e.properties.hasOwnProperty("mapbox_clip_start")&&e.properties.hasOwnProperty("mapbox_clip_end"))return{start:+e.properties.mapbox_clip_start,end:+e.properties.mapbox_clip_end}},zs.prototype.addFeature=function(e,t,n,r,i){var o=this.layers[0].layout,a=o.get("line-join").evaluate(e,{}),s=o.get("line-cap"),l=o.get("line-miter-limit"),u=o.get("line-round-limit");this.lineClips=this.lineFeatureClips(e);for(var c=0,f=t;c<f.length;c+=1)this.addLine(f[c],e,a,s,l,u);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,n,i,r)},zs.prototype.addLine=function(e,B,t,R,n,N){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(var r=0;r<e.length-1;r++)this.totalDistance+=e[r].dist(e[r+1]);this.updateScaledDistance(),this.maxLineLength=Math.max(this.maxLineLength,this.totalDistance)}for(var i="Polygon"===Bs[B.type],o=e.length;o>=2&&e[o-1].equals(e[o-2]);)o--;for(var a=0;a<o-1&&e[a].equals(e[a+1]);)a++;if(!(o<(i?3:2))){"bevel"===t&&(n=1.05);var s,l=this.overscaling<=16?122880/(512*this.overscaling):0,u=this.segments.prepareSegment(10*o,this.layoutVertexArray,this.indexArray),c=void 0,f=void 0,h=void 0,d=void 0;this.e1=this.e2=-1,i&&(d=e[a].sub(s=e[o-2])._unit()._perp());for(var p=a;p<o;p++)if(!(f=p===o-1?i?e[a+1]:void 0:e[p+1])||!e[p].equals(f)){d&&(h=d),s&&(c=s),s=e[p],d=f?f.sub(s)._unit()._perp():h;var y=(h=h||d).add(d);0===y.x&&0===y.y||y._unit();var m=h.x*d.x+h.y*d.y,g=y.x*d.x+y.y*d.y,v=0!==g?1/g:1/0,z=2*Math.sqrt(2-2*g),b=g<Rs&&c&&f,_=h.x*d.y-h.y*d.x>0;if(b&&p>a){var x=s.dist(c);if(x>2*l){var w=s.sub(s.sub(c)._mult(l/x)._round());this.updateDistance(c,w),this.addCurrentVertex(w,h,0,0,u),c=w}}var A=c&&f,S=A?t:i?"butt":R;if(A&&"round"===S&&(v<N?S="miter":v<=2&&(S="fakeround")),"miter"===S&&v>n&&(S="bevel"),"bevel"===S&&(v>2&&(S="flipbevel"),v<n&&(S="miter")),c&&this.updateDistance(c,s),"miter"===S)y._mult(v),this.addCurrentVertex(s,y,0,0,u);else if("flipbevel"===S){if(v>100)y=d.mult(-1);else{var F=v*h.add(d).mag()/h.sub(d).mag();y._perp()._mult(F*(_?-1:1))}this.addCurrentVertex(s,y,0,0,u),this.addCurrentVertex(s,y.mult(-1),0,0,u)}else if("bevel"===S||"fakeround"===S){var C=-Math.sqrt(v*v-1),O=_?C:0,E=_?0:C;if(c&&this.addCurrentVertex(s,h,O,E,u),"fakeround"===S)for(var M=Math.round(180*z/Math.PI/20),P=1;P<M;P++){var k=P/M;if(.5!==k){var T=k-.5;k+=k*T*(k-1)*((1.0904+m*(m*(3.55645-1.43519*m)-3.2452))*T*T+(.848013+m*(.215638*m-1.06021)))}var I=d.sub(h)._mult(k)._add(h)._unit()._mult(_?-1:1);this.addHalfVertex(s,I.x,I.y,!1,_,0,u)}f&&this.addCurrentVertex(s,d,-O,-E,u)}else if("butt"===S)this.addCurrentVertex(s,y,0,0,u);else if("square"===S){var L=c?1:-1;this.addCurrentVertex(s,y,L,L,u)}else"round"===S&&(c&&(this.addCurrentVertex(s,h,0,0,u),this.addCurrentVertex(s,h,1,1,u,!0)),f&&(this.addCurrentVertex(s,d,-1,-1,u,!0),this.addCurrentVertex(s,d,0,0,u)));if(b&&p<o-1){var j=s.dist(f);if(j>2*l){var D=s.add(f.sub(s)._mult(l/j)._round());this.updateDistance(s,D),this.addCurrentVertex(D,d,0,0,u),s=D}}}}},zs.prototype.addCurrentVertex=function(e,t,n,r,i,o){void 0===o&&(o=!1);var a=t.y*r-t.x,s=-t.y-t.x*r;this.addHalfVertex(e,t.x+t.y*n,t.y-t.x*n,o,!1,n,i),this.addHalfVertex(e,a,s,o,!0,-r,i),this.distance>Ns/2&&0===this.totalDistance&&(this.distance=0,this.addCurrentVertex(e,t,n,r,i,o))},zs.prototype.addHalfVertex=function(e,t,n,r,i,o,a){var s=.5*(this.lineClips?this.scaledDistance*(Ns-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((e.x<<1)+(r?1:0),(e.y<<1)+(i?1:0),Math.round(63*t)+128,Math.round(63*n)+128,1+(0===o?0:o<0?-1:1)|(63&s)<<2,s>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);var l=a.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,l),a.primitiveLength++),i?this.e2=l:this.e1=l},zs.prototype.updateScaledDistance=function(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance},zs.prototype.updateDistance=function(e,t){this.distance+=e.dist(t),this.updateScaledDistance()},t("LineBucket",zs,{omit:["layers","patternFeatures"]});var Fs=new Bi({"line-cap":new n(o.layout_line["line-cap"]),"line-join":new r(o.layout_line["line-join"]),"line-miter-limit":new n(o.layout_line["line-miter-limit"]),"line-round-limit":new n(o.layout_line["line-round-limit"]),"line-sort-key":new r(o.layout_line["line-sort-key"])}),Vs={paint:new Bi({"line-opacity":new r(o.paint_line["line-opacity"]),"line-color":new r(o.paint_line["line-color"]),"line-translate":new n(o.paint_line["line-translate"]),"line-translate-anchor":new n(o.paint_line["line-translate-anchor"]),"line-width":new r(o.paint_line["line-width"]),"line-gap-width":new r(o.paint_line["line-gap-width"]),"line-offset":new r(o.paint_line["line-offset"]),"line-blur":new r(o.paint_line["line-blur"]),"line-dasharray":new ji(o.paint_line["line-dasharray"]),"line-pattern":new Li(o.paint_line["line-pattern"]),"line-gradient":new Di(o.paint_line["line-gradient"])}),layout:Fs},Hs=new(function(i){function e(){i.apply(this,arguments)}return i&&(e.__proto__=i),(e.prototype=Object.create(i&&i.prototype)).constructor=e,e.prototype.possiblyEvaluate=function(e,t){return t=new H(Math.floor(t.zoom),{now:t.now,fadeDuration:t.fadeDuration,zoomHistory:t.zoomHistory,transition:t.transition}),i.prototype.possiblyEvaluate.call(this,e,t)},e.prototype.evaluate=function(e,t,n,r){return t=V({},t,{zoom:Math.floor(t.zoom)}),i.prototype.evaluate.call(this,e,t,n,r)},e}(r))(Vs.paint.properties["line-width"].specification);Hs.useIntegerZoom=!0;var Ys=function(n){function e(e){n.call(this,e,Vs),this.gradientVersion=0}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype._handleSpecialPaintPropertyUpdate=function(e){"line-gradient"===e&&(this.stepInterpolant=this._transitionablePaint._values["line-gradient"].value.expression._styleExpression.expression instanceof rn,this.gradientVersion=(this.gradientVersion+1)%D)},e.prototype.gradientExpression=function(){return this._transitionablePaint._values["line-gradient"].value.expression},e.prototype.recalculate=function(e,t){n.prototype.recalculate.call(this,e,t),this.paint._values["line-floorwidth"]=Hs.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,e)},e.prototype.createBucket=function(e){return new zs(e)},e.prototype.queryRadius=function(e){var t=e,n=Gs(fa("line-width",this,t),fa("line-gap-width",this,t)),r=fa("line-offset",this,t);return n/2+Math.abs(r)+ha(this.paint.get("line-translate"))},e.prototype.queryIntersectsFeature=function(e,t,n,r,i,o,a){var s=da(e,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),o.angle,a),l=a/2*Gs(this.paint.get("line-width").evaluate(t,n),this.paint.get("line-gap-width").evaluate(t,n)),u=this.paint.get("line-offset").evaluate(t,n);return u&&(r=function(e,t){for(var n=[],r=new U(0,0),i=0;i<e.length;i++){for(var o=e[i],a=[],s=0;s<o.length;s++){var l=o[s],u=o[s+1],c=0===s?r:l.sub(o[s-1])._unit()._perp(),f=s===o.length-1?r:u.sub(l)._unit()._perp(),h=c._add(f)._unit();h._mult(1/(h.x*f.x+h.y*f.y)),a.push(h._mult(t)._add(l))}n.push(a)}return n}(r,u*a)),function(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];if(e.length>=3)for(var o=0;o<i.length;o++)if(ua(e,i[o]))return!0;if(ra(e,i,n))return!0}return!1}(s,r,l)},e.prototype.isTileClipped=function(){return!0},e}(Ri);function Gs(e,t){return t>0?t+2*e:e}var Us=a([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),Qs=a([{name:"a_projected_pos",components:3,type:"Float32"}],4),Ws=(a([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),a([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),qs=(a([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),a([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),Ks=a([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function Xs(e,t,n){return e.sections.forEach(function(e){e.text=function(e,t,n){var r=t.layout.get("text-transform").evaluate(n,{});return"uppercase"===r?e=e.toLocaleUpperCase():"lowercase"===r&&(e=e.toLocaleLowerCase()),Si.applyArabicShaping&&(e=Si.applyArabicShaping(e)),e}(e.text,t,n)}),e}a([{name:"triangle",components:3,type:"Uint16"}]),a([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),a([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),a([{type:"Float32",name:"offsetX"}]),a([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var Js={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},$s=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?i-1:0,h=n?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=u}return(d?-1:1)*a*Math.pow(2,o-r)},Zs=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?h/l:h*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+d]=255&a,d+=p,a/=256,u-=8);e[n+d-p]|=128*y},el=s;function s(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}s.Varint=0,s.Fixed64=1,s.Bytes=2,s.Fixed32=5;var tl="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function nl(e){return e.type===s.Bytes?e.readVarint()+e.pos:e.pos+1}function rl(e,t,n){return n?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function il(e,t,n){var r=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.floor(Math.log(t)/(7*Math.LN2));n.realloc(r);for(var i=n.pos-1;i>=e;i--)n.buf[i+r]=n.buf[i]}function ol(e,t){for(var n=0;n<e.length;n++)t.writeVarint(e[n])}function al(e,t){for(var n=0;n<e.length;n++)t.writeSVarint(e[n])}function sl(e,t){for(var n=0;n<e.length;n++)t.writeFloat(e[n])}function ll(e,t){for(var n=0;n<e.length;n++)t.writeDouble(e[n])}function ul(e,t){for(var n=0;n<e.length;n++)t.writeBoolean(e[n])}function cl(e,t){for(var n=0;n<e.length;n++)t.writeFixed32(e[n])}function fl(e,t){for(var n=0;n<e.length;n++)t.writeSFixed32(e[n])}function hl(e,t){for(var n=0;n<e.length;n++)t.writeFixed64(e[n])}function dl(e,t){for(var n=0;n<e.length;n++)t.writeSFixed64(e[n])}function pl(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+16777216*e[t+3]}function yl(e,t,n){e[n]=t,e[n+1]=t>>>8,e[n+2]=t>>>16,e[n+3]=t>>>24}function ml(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}function gl(e,t,n){1===e&&n.readMessage(vl,t)}function vl(e,t,n){if(3===e){var r=n.readMessage(bl,{}),i=r.width,o=r.height,a=r.left,s=r.top,l=r.advance;t.push({id:r.id,bitmap:new _r({width:i+6,height:o+6},r.bitmap),metrics:{width:i,height:o,left:a,top:s,advance:l}})}}function bl(e,t,n){1===e?t.id=n.readVarint():2===e?t.bitmap=n.readBytes():3===e?t.width=n.readVarint():4===e?t.height=n.readVarint():5===e?t.left=n.readSVarint():6===e?t.top=n.readSVarint():7===e&&(t.advance=n.readVarint())}function _l(e){for(var t=0,n=0,r=0,i=e;r<i.length;r+=1){var o=i[r];t+=o.w*o.h,n=Math.max(n,o.w)}e.sort(function(e,t){return t.h-e.h});for(var a=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(t/.95)),n),h:1/0}],s=0,l=0,u=0,c=e;u<c.length;u+=1)for(var f=c[u],h=a.length-1;h>=0;h--){var d=a[h];if(!(f.w>d.w||f.h>d.h)){if(f.x=d.x,f.y=d.y,l=Math.max(l,f.y+f.h),s=Math.max(s,f.x+f.w),f.w===d.w&&f.h===d.h){var p=a.pop();h<a.length&&(a[h]=p)}else f.h===d.h?(d.x+=f.w,d.w-=f.w):f.w===d.w?(d.y+=f.h,d.h-=f.h):(a.push({x:d.x+f.w,y:d.y,w:d.w-f.w,h:f.h}),d.y+=f.h,d.h-=f.h);break}}return{w:s,h:l,fill:t/(s*l)||0}}s.prototype={destroy:function(){this.buf=null},readFields:function(e,t,n){for(n=n||this.length;this.pos<n;){var r=this.readVarint(),i=r>>3,o=this.pos;this.type=7&r,e(i,t,this),this.pos===o&&this.skip(r)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=pl(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=ml(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=pl(this.buf,this.pos)+4294967296*pl(this.buf,this.pos+4);return this.pos+=8,e},readSFixed64:function(){var e=pl(this.buf,this.pos)+4294967296*ml(this.buf,this.pos+4);return this.pos+=8,e},readFloat:function(){var e=$s(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=$s(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,n,r=this.buf;return t=127&(n=r[this.pos++]),n<128?t:(t|=(127&(n=r[this.pos++]))<<7,n<128?t:(t|=(127&(n=r[this.pos++]))<<14,n<128?t:(t|=(127&(n=r[this.pos++]))<<21,n<128?t:function(e,t,n){var r,i,o=n.buf;if(r=(112&(i=o[n.pos++]))>>4,i<128)return rl(e,r,t);if(r|=(127&(i=o[n.pos++]))<<3,i<128)return rl(e,r,t);if(r|=(127&(i=o[n.pos++]))<<10,i<128)return rl(e,r,t);if(r|=(127&(i=o[n.pos++]))<<17,i<128)return rl(e,r,t);if(r|=(127&(i=o[n.pos++]))<<24,i<128)return rl(e,r,t);if(r|=(1&(i=o[n.pos++]))<<31,i<128)return rl(e,r,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(n=r[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=this.pos;return this.pos=e,e-t>=12&&tl?function(e,t,n){return tl.decode(e.subarray(t,n))}(this.buf,t,e):function(e,t,n){for(var r="",i=t;i<n;){var o,a,s,l=e[i],u=null,c=l>239?4:l>223?3:l>191?2:1;if(i+c>n)break;1===c?l<128&&(u=l):2===c?128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)<=127&&(u=null):3===c?(a=e[i+2],128==(192&(o=e[i+1]))&&128==(192&a)&&((u=(15&l)<<12|(63&o)<<6|63&a)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(a=e[i+2],s=e[i+3],128==(192&(o=e[i+1]))&&128==(192&a)&&128==(192&s)&&((u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,r+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),r+=String.fromCharCode(u),i+=c}return r}(this.buf,t,e)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==s.Bytes)return e.push(this.readVarint(t));var n=nl(this);for(e=e||[];this.pos<n;)e.push(this.readVarint(t));return e},readPackedSVarint:function(e){if(this.type!==s.Bytes)return e.push(this.readSVarint());var t=nl(this);for(e=e||[];this.pos<t;)e.push(this.readSVarint());return e},readPackedBoolean:function(e){if(this.type!==s.Bytes)return e.push(this.readBoolean());var t=nl(this);for(e=e||[];this.pos<t;)e.push(this.readBoolean());return e},readPackedFloat:function(e){if(this.type!==s.Bytes)return e.push(this.readFloat());var t=nl(this);for(e=e||[];this.pos<t;)e.push(this.readFloat());return e},readPackedDouble:function(e){if(this.type!==s.Bytes)return e.push(this.readDouble());var t=nl(this);for(e=e||[];this.pos<t;)e.push(this.readDouble());return e},readPackedFixed32:function(e){if(this.type!==s.Bytes)return e.push(this.readFixed32());var t=nl(this);for(e=e||[];this.pos<t;)e.push(this.readFixed32());return e},readPackedSFixed32:function(e){if(this.type!==s.Bytes)return e.push(this.readSFixed32());var t=nl(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed32());return e},readPackedFixed64:function(e){if(this.type!==s.Bytes)return e.push(this.readFixed64());var t=nl(this);for(e=e||[];this.pos<t;)e.push(this.readFixed64());return e},readPackedSFixed64:function(e){if(this.type!==s.Bytes)return e.push(this.readSFixed64());var t=nl(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed64());return e},skip:function(e){var t=7&e;if(t===s.Varint)for(;this.buf[this.pos++]>127;);else if(t===s.Bytes)this.pos=this.readVarint()+this.pos;else if(t===s.Fixed32)this.pos+=4;else{if(t!==s.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t<this.pos+e;)t*=2;if(t!==this.length){var n=new Uint8Array(t);n.set(this.buf),this.buf=n,this.length=t}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(e){this.realloc(4),yl(this.buf,e,this.pos),this.pos+=4},writeSFixed32:function(e){this.realloc(4),yl(this.buf,e,this.pos),this.pos+=4},writeFixed64:function(e){this.realloc(8),yl(this.buf,-1&e,this.pos),yl(this.buf,Math.floor(e*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(e){this.realloc(8),yl(this.buf,-1&e,this.pos),yl(this.buf,Math.floor(e*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(e){(e=+e||0)>268435455||e<0?function(e,t){var n,r;if(e>=0?(n=e%4294967296|0,r=e/4294967296|0):(r=~(-e/4294967296),4294967295^(n=~(-e%4294967296))?n=n+1|0:(n=0,r=r+1|0)),e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,n){n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,n.buf[n.pos]=127&(e>>>=7)}(n,0,t),function(e,t){var n=(7&e)<<4;t.buf[t.pos++]|=n|((e>>>=3)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),e&&(t.buf[t.pos++]=127&e)))))}(r,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,n){for(var r,i,o=0;o<t.length;o++){if((r=t.charCodeAt(o))>55295&&r<57344){if(!i){r>56319||o+1===t.length?(e[n++]=239,e[n++]=191,e[n++]=189):i=r;continue}if(r<56320){e[n++]=239,e[n++]=191,e[n++]=189,i=r;continue}r=i-55296<<10|r-56320|65536,i=null}else i&&(e[n++]=239,e[n++]=191,e[n++]=189,i=null);r<128?e[n++]=r:(r<2048?e[n++]=r>>6|192:(r<65536?e[n++]=r>>12|224:(e[n++]=r>>18|240,e[n++]=r>>12&63|128),e[n++]=r>>6&63|128),e[n++]=63&r|128)}return n}(this.buf,e,this.pos);var n=this.pos-t;n>=128&&il(t,n,this),this.pos=t-1,this.writeVarint(n),this.pos+=n},writeFloat:function(e){this.realloc(4),Zs(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),Zs(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var n=0;n<t;n++)this.buf[this.pos++]=e[n]},writeRawMessage:function(e,t){this.pos++;var n=this.pos;e(t,this);var r=this.pos-n;r>=128&&il(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r},writeMessage:function(e,t,n){this.writeTag(e,s.Bytes),this.writeRawMessage(t,n)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,ol,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,al,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,ul,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,sl,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,ll,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,cl,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,fl,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,hl,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,dl,t)},writeBytesField:function(e,t){this.writeTag(e,s.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,s.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,s.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,s.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,s.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,s.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,s.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,s.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,s.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,s.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}};var xl=function(e,t){var n=t.pixelRatio,r=t.version,i=t.stretchX,o=t.stretchY,a=t.content;this.paddedRect=e,this.pixelRatio=n,this.stretchX=i,this.stretchY=o,this.content=a,this.version=r},wl={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};wl.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},wl.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},wl.tlbr.get=function(){return this.tl.concat(this.br)},wl.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(xl.prototype,wl);var Al=function(e,t){var n={},r={};this.haveRenderCallbacks=[];var i=[];this.addImages(e,n,i),this.addImages(t,r,i);var o=_l(i),a=new xr({width:o.w||1,height:o.h||1});for(var s in e){var l=e[s],u=n[s].paddedRect;xr.copy(l.data,a,{x:0,y:0},{x:u.x+1,y:u.y+1},l.data)}for(var c in t){var f=t[c],h=r[c].paddedRect,d=h.x+1,p=h.y+1,y=f.data.width,m=f.data.height;xr.copy(f.data,a,{x:0,y:0},{x:d,y:p},f.data),xr.copy(f.data,a,{x:0,y:m-1},{x:d,y:p-1},{width:y,height:1}),xr.copy(f.data,a,{x:0,y:0},{x:d,y:p+m},{width:y,height:1}),xr.copy(f.data,a,{x:y-1,y:0},{x:d-1,y:p},{width:1,height:m}),xr.copy(f.data,a,{x:0,y:0},{x:d+y,y:p},{width:1,height:m})}this.image=a,this.iconPositions=n,this.patternPositions=r};Al.prototype.addImages=function(e,t,n){for(var r in e){var i=e[r],o={x:0,y:0,w:i.data.width+2,h:i.data.height+2};n.push(o),t[r]=new xl(o,i),i.hasRenderCallback&&this.haveRenderCallbacks.push(r)}},Al.prototype.patchUpdatedImages=function(e,t){for(var n in e.dispatchRenderCallbacks(this.haveRenderCallbacks),e.updatedImages)this.patchUpdatedImage(this.iconPositions[n],e.getImage(n),t),this.patchUpdatedImage(this.patternPositions[n],e.getImage(n),t)},Al.prototype.patchUpdatedImage=function(e,t,n){if(e&&t&&e.version!==t.version){e.version=t.version;var r=e.tl;n.update(t.data,void 0,{x:r[0],y:r[1]})}},t("ImagePosition",xl),t("ImageAtlas",Al);var Sl={horizontal:1,vertical:2,horizontalOnly:3},Cl=function(){this.scale=1,this.fontStack="",this.imageName=null};Cl.forText=function(e,t){var n=new Cl;return n.scale=e||1,n.fontStack=t,n},Cl.forImage=function(e){var t=new Cl;return t.imageName=e,t};var T=function(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null};function Ol(e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y){var m,g=T.fromFeature(e,i);f===Sl.vertical&&g.verticalizePunctuation();var v=Si.processBidirectionalText,b=Si.processStyledBidirectionalText;if(v&&1===g.sections.length){m=[];for(var _=0,x=v(g.toString(),Ll(g,u,o,t,r,d,p));_<x.length;_+=1){var w=x[_],A=new T;A.text=w,A.sections=g.sections;for(var S=0;S<w.length;S++)A.sectionIndex.push(0);m.push(A)}}else if(b){m=[];for(var C=0,O=b(g.text,g.sectionIndex,Ll(g,u,o,t,r,d,p));C<O.length;C+=1){var E=O[C],M=new T;M.text=E[0],M.sectionIndex=E[1],M.sections=g.sections,m.push(M)}}else m=function(e,t){for(var n=[],r=e.text,i=0,o=0,a=t;o<a.length;o+=1){var s=a[o];n.push(e.substring(i,s)),i=s}return i<r.length&&n.push(e.substring(i,r.length)),n}(g,Ll(g,u,o,t,r,d,p));var P=[],k={positionedLines:P,text:g.toString(),top:c[1],bottom:c[1],left:c[0],right:c[0],writingMode:f,iconsInText:!1,verticalizable:!1};return function(e,B,R,N,t,n,z,r,F,i,o,V){for(var a=0,s=-17,l=0,u=0,c="right"===r?1:"left"===r?0:.5,f=0,h=0,d=t;h<d.length;h+=1){var p=d[h];p.trim();var y=p.getMaxScale(),m=24*(y-1),g={positionedGlyphs:[],lineOffset:0};e.positionedLines[f]=g;var v=g.positionedGlyphs,b=0;if(p.length()){for(var _=0;_<p.length();_++){var x=p.getSection(_),w=p.getSectionIndex(_),A=p.getCharCode(_),S=0,C=null,O=null,E=null,M=24,P=!(F===Sl.horizontal||!o&&!fi(A)||o&&(El[A]||(j=A,K.Arabic(j)||K["Arabic Supplement"](j)||K["Arabic Extended-A"](j)||K["Arabic Presentation Forms-A"](j)||K["Arabic Presentation Forms-B"](j))));if(x.imageName){var k=N[x.imageName];if(!k)continue;E=x.imageName,e.iconsInText=e.iconsInText||!0,O=k.paddedRect;var T=k.displaySize;x.scale=24*x.scale/V,S=m+(24-T[1]*x.scale),M=(C={width:T[0],height:T[1],left:1,top:-3,advance:P?T[1]:T[0]}).advance;var I=P?T[0]*x.scale-24*y:T[1]*x.scale-24*y;I>0&&I>b&&(b=I)}else{var H=R[x.fontStack],L=H&&H[A];if(L&&L.rect)O=L.rect,C=L.metrics;else{var Y=B[x.fontStack],G=Y&&Y[A];if(!G)continue;C=G.metrics}S=24*(y-x.scale)}P?(e.verticalizable=!0,v.push({glyph:A,imageName:E,x:a,y:s+S,vertical:P,scale:x.scale,fontStack:x.fontStack,sectionIndex:w,metrics:C,rect:O}),a+=M*x.scale+i):(v.push({glyph:A,imageName:E,x:a,y:s+S,vertical:P,scale:x.scale,fontStack:x.fontStack,sectionIndex:w,metrics:C,rect:O}),a+=C.advance*x.scale+i)}0!==v.length&&(l=Math.max(a-i,l),Dl(v,0,v.length-1,c,b)),a=0;var U=n*y+b;g.lineOffset=Math.max(b,m),s+=U,u=Math.max(U,u),++f}else s+=n,++f}var j,D=s- -17,Q=jl(z),W=Q.horizontalAlign,q=Q.verticalAlign;(function(e,t,n,r,i,o,a,s,l){var u,c=(t-n)*i;u=o!==a?-s*r- -17:(-r*l+.5)*a;for(var f=0,h=e;f<h.length;f+=1)for(var d=0,p=h[f].positionedGlyphs;d<p.length;d+=1){var y=p[d];y.x+=c,y.y+=u}})(e.positionedLines,c,W,q,l,u,n,D,t.length),e.top+=-q*D,e.bottom=e.top+D,e.left+=-W*l,e.right=e.left+l}(k,t,n,r,m,a,s,l,f,u,h,y),!function(e){for(var t=0,n=e;t<n.length;t+=1)if(0!==n[t].positionedGlyphs.length)return!1;return!0}(P)&&k}T.fromFeature=function(e,t){for(var n=new T,r=0;r<e.sections.length;r++){var i=e.sections[r];i.image?n.addImageSection(i):n.addTextSection(i,t)}return n},T.prototype.length=function(){return this.text.length},T.prototype.getSection=function(e){return this.sections[this.sectionIndex[e]]},T.prototype.getSectionIndex=function(e){return this.sectionIndex[e]},T.prototype.getCharCode=function(e){return this.text.charCodeAt(e)},T.prototype.verticalizePunctuation=function(){this.text=function(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n+1)||null,i=e.charCodeAt(n-1)||null;t+=r&&hi(r)&&!Js[e[n+1]]||i&&hi(i)&&!Js[e[n-1]]||!Js[e[n]]?e[n]:Js[e[n]]}return t}(this.text)},T.prototype.trim=function(){for(var e=0,t=0;t<this.text.length&&El[this.text.charCodeAt(t)];t++)e++;for(var n=this.text.length,r=this.text.length-1;r>=0&&r>=e&&El[this.text.charCodeAt(r)];r--)n--;this.text=this.text.substring(e,n),this.sectionIndex=this.sectionIndex.slice(e,n)},T.prototype.substring=function(e,t){var n=new T;return n.text=this.text.substring(e,t),n.sectionIndex=this.sectionIndex.slice(e,t),n.sections=this.sections,n},T.prototype.toString=function(){return this.text},T.prototype.getMaxScale=function(){var n=this;return this.sectionIndex.reduce(function(e,t){return Math.max(e,n.sections[t].scale)},0)},T.prototype.addTextSection=function(e,t){this.text+=e.text,this.sections.push(Cl.forText(e.scale,e.fontStack||t));for(var n=this.sections.length-1,r=0;r<e.text.length;++r)this.sectionIndex.push(n)},T.prototype.addImageSection=function(e){var t=e.image?e.image.name:"";if(0!==t.length){var n=this.getNextImageSectionCharCode();n?(this.text+=String.fromCharCode(n),this.sections.push(Cl.forImage(t)),this.sectionIndex.push(this.sections.length-1)):ce("Reached maximum number of images 6401")}else ce("Can't add FormattedSection with an empty image.")},T.prototype.getNextImageSectionCharCode=function(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var El={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Ml={};function Pl(e,t,n,r,i,o){if(t.imageName){var a=r[t.imageName];return a?a.displaySize[0]*t.scale*24/o+i:0}var s=n[t.fontStack],l=s&&s[e];return l?l.metrics.advance*t.scale+i:0}function kl(e,t,n,r){var i=Math.pow(e-t,2);return r?e<t?i/2:2*i:i+Math.abs(n)*n}function Tl(e,t,n){var r=0;return 10===e&&(r-=1e4),n&&(r+=150),40!==e&&65288!==e||(r+=50),41!==t&&65289!==t||(r+=50),r}function Il(e,t,n,r,i,o){for(var a=null,s=kl(t,n,i,o),l=0,u=r;l<u.length;l+=1){var c=u[l],f=kl(t-c.x,n,i,o)+c.badness;f<=s&&(a=c,s=f)}return{index:e,x:t,priorBreak:a,badness:s}}function Ll(e,t,n,r,i,o,a){if("point"!==o)return[];if(!e)return[];for(var s,l=[],u=function(e,t,n,r,i,o){for(var a=0,s=0;s<e.length();s++){var l=e.getSection(s);a+=Pl(e.getCharCode(s),l,r,i,t,o)}return a/Math.max(1,Math.ceil(a/n))}(e,t,n,r,i,a),c=e.text.indexOf("")>=0,f=0,h=0;h<e.length();h++){var d=e.getSection(h),p=e.getCharCode(h);if(El[p]||(f+=Pl(p,d,r,i,t,a)),h<e.length()-1){var y=!((s=p)<11904||!(K["Bopomofo Extended"](s)||K.Bopomofo(s)||K["CJK Compatibility Forms"](s)||K["CJK Compatibility Ideographs"](s)||K["CJK Compatibility"](s)||K["CJK Radicals Supplement"](s)||K["CJK Strokes"](s)||K["CJK Symbols and Punctuation"](s)||K["CJK Unified Ideographs Extension A"](s)||K["CJK Unified Ideographs"](s)||K["Enclosed CJK Letters and Months"](s)||K["Halfwidth and Fullwidth Forms"](s)||K.Hiragana(s)||K["Ideographic Description Characters"](s)||K["Kangxi Radicals"](s)||K["Katakana Phonetic Extensions"](s)||K.Katakana(s)||K["Vertical Forms"](s)||K["Yi Radicals"](s)||K["Yi Syllables"](s)));(Ml[p]||y||d.imageName)&&l.push(Il(h+1,f,u,l,Tl(p,e.getCharCode(h+1),y&&c),!1))}}return function e(t){return t?e(t.priorBreak).concat(t.index):[]}(Il(e.length(),f,u,l,0,!0))}function jl(e){var t=.5,n=.5;switch(e){case"right":case"top-right":case"bottom-right":t=1;break;case"left":case"top-left":case"bottom-left":t=0}switch(e){case"bottom":case"bottom-right":case"bottom-left":n=1;break;case"top":case"top-right":case"top-left":n=0}return{horizontalAlign:t,verticalAlign:n}}function Dl(e,t,n,r,i){if(r||i)for(var o=e[n],a=(e[n].x+o.metrics.advance*o.scale)*r,s=t;s<=n;s++)e[s].x-=a,e[s].y+=i}function Bl(e,t,n,r,i,o){var a,s=e.image;if(s.content){var l=s.content,u=s.pixelRatio||1;a=[l[0]/u,l[1]/u,s.displaySize[0]-l[2]/u,s.displaySize[1]-l[3]/u]}var c,f,h,d,p=t.left*o,y=t.right*o;"width"===n||"both"===n?(d=i[0]+p-r[3],f=i[0]+y+r[1]):f=(d=i[0]+(p+y-s.displaySize[0])/2)+s.displaySize[0];var m=t.top*o,g=t.bottom*o;return"height"===n||"both"===n?(c=i[1]+m-r[0],h=i[1]+g+r[2]):h=(c=i[1]+(m+g-s.displaySize[1])/2)+s.displaySize[1],{image:s,top:c,right:f,bottom:h,left:d,collisionPadding:a}}Ml[10]=!0,Ml[32]=!0,Ml[38]=!0,Ml[40]=!0,Ml[41]=!0,Ml[43]=!0,Ml[45]=!0,Ml[47]=!0,Ml[173]=!0,Ml[183]=!0,Ml[8203]=!0,Ml[8208]=!0,Ml[8211]=!0,Ml[8231]=!0;var Rl=function(i){function e(e,t,n,r){i.call(this,e,t),this.angle=n,void 0!==r&&(this.segment=r)}return i&&(e.__proto__=i),(e.prototype=Object.create(i&&i.prototype)).constructor=e,e.prototype.clone=function(){return new e(this.x,this.y,this.angle,this.segment)},e}(U);function Nl(e,t){var n=t.expression;if("constant"===n.kind)return{kind:"constant",layoutSize:n.evaluate(new H(e+1))};if("source"===n.kind)return{kind:"source"};for(var r=n.zoomStops,i=n.interpolationType,o=0;o<r.length&&r[o]<=e;)o++;for(var a=o=Math.max(0,o-1);a<r.length&&r[a]<e+1;)a++;a=Math.min(r.length-1,a);var s=r[o],l=r[a];return"composite"===n.kind?{kind:"composite",minZoom:s,maxZoom:l,interpolationType:i}:{kind:"camera",minZoom:s,maxZoom:l,minSize:n.evaluate(new H(s)),maxSize:n.evaluate(new H(l)),interpolationType:i}}function zl(e,t,n){var r=t.uSize,i=n.lowerSize;return"source"===e.kind?i/128:"composite"===e.kind?C(i/128,n.upperSize/128,t.uSizeT):r}function Fl(e,t){var n=0,r=0;if("constant"===e.kind)r=e.layoutSize;else if("source"!==e.kind){var i=e.interpolationType,o=i?N(O.interpolationFactor(i,t,e.minZoom,e.maxZoom),0,1):0;"camera"===e.kind?r=C(e.minSize,e.maxSize,o):n=o}return{uSizeT:n,uSize:r}}t("Anchor",Rl);var Vl=Object.freeze({__proto__:null,getSizeData:Nl,evaluateSizeForFeature:zl,evaluateSizeForZoom:Fl,SIZE_PACK_FACTOR:128});function Hl(e,t,n,r,i){if(void 0===t.segment)return!0;for(var o=t,a=t.segment+1,s=0;s>-n/2;){if(--a<0)return!1;s-=e[a].dist(o),o=e[a]}s+=e[a].dist(e[a+1]),a++;for(var l=[],u=0;s<n/2;){var c=e[a],f=e[a+1];if(!f)return!1;var h=e[a-1].angleTo(c)-c.angleTo(f);for(h=Math.abs((h+3*Math.PI)%(2*Math.PI)-Math.PI),l.push({distance:s,angleDelta:h}),u+=h;s-l[0].distance>r;)u-=l.shift().angleDelta;if(u>i)return!1;a++,s+=c.dist(f)}return!0}function Yl(e){for(var t=0,n=0;n<e.length-1;n++)t+=e[n].dist(e[n+1]);return t}function Gl(e,t,n){return e?.6*t*n:0}function Ul(e,t){return Math.max(e?e.right-e.left:0,t?t.right-t.left:0)}function Ql(e,t,n,r,i,o){for(var a=Gl(n,i,o),s=Ul(n,r)*o,l=0,u=Yl(e)/2,c=0;c<e.length-1;c++){var f=e[c],h=e[c+1],d=f.dist(h);if(l+d>u){var p=(u-l)/d,y=C(f.x,h.x,p),m=C(f.y,h.y,p),g=new Rl(y,m,h.angleTo(f),c);return g._round(),!a||Hl(e,g,s,a,t)?g:void 0}l+=d}}function Wl(e,t,n,r,i,o,a,s,l){var u=Gl(r,o,a),c=Ul(r,i),f=c*a,h=0===e[0].x||e[0].x===l||0===e[0].y||e[0].y===l;return t-f<t/4&&(t=f+t/4),function e(t,n,r,i,o,a,s,l,u){for(var c=a/2,f=Yl(t),h=0,d=n-r,p=[],y=0;y<t.length-1;y++){for(var m=t[y],g=t[y+1],v=m.dist(g),b=g.angleTo(m);d+r<h+v;){var _=((d+=r)-h)/v,x=C(m.x,g.x,_),w=C(m.y,g.y,_);if(x>=0&&x<u&&w>=0&&w<u&&d-c>=0&&d+c<=f){var A=new Rl(x,w,b,y);A._round(),i&&!Hl(t,A,a,i,o)||p.push(A)}}h+=v}return l||p.length||s||(p=e(t,h/2,r,i,o,a,s,!0,u)),p}(e,h?t/2*s%t:(c/2+2*o)*a*s%t,t,u,n,f,h,!1,l)}function ql(e,t,n,r,i){for(var o=[],a=0;a<e.length;a++)for(var s=e[a],l=void 0,u=0;u<s.length-1;u++){var c=s[u],f=s[u+1];c.x<t&&f.x<t||(c.x<t?c=new U(t,c.y+(t-c.x)/(f.x-c.x)*(f.y-c.y))._round():f.x<t&&(f=new U(t,c.y+(t-c.x)/(f.x-c.x)*(f.y-c.y))._round()),c.y<n&&f.y<n||(c.y<n?c=new U(c.x+(n-c.y)/(f.y-c.y)*(f.x-c.x),n)._round():f.y<n&&(f=new U(c.x+(n-c.y)/(f.y-c.y)*(f.x-c.x),n)._round()),c.x>=r&&f.x>=r||(c.x>=r?c=new U(r,c.y+(r-c.x)/(f.x-c.x)*(f.y-c.y))._round():f.x>=r&&(f=new U(r,c.y+(r-c.x)/(f.x-c.x)*(f.y-c.y))._round()),c.y>=i&&f.y>=i||(c.y>=i?c=new U(c.x+(i-c.y)/(f.y-c.y)*(f.x-c.x),i)._round():f.y>=i&&(f=new U(c.x+(i-c.y)/(f.y-c.y)*(f.x-c.x),i)._round()),l&&c.equals(l[l.length-1])||o.push(l=[c]),l.push(f)))))}return o}function Kl(S,C,O,e){var t=[],E=S.image,M=E.pixelRatio,n=E.paddedRect.w-2,r=E.paddedRect.h-2,P=S.right-S.left,k=S.bottom-S.top,i=E.stretchX||[[0,n]],o=E.stretchY||[[0,r]],a=function(e,t){return e+t[1]-t[0]},T=i.reduce(a,0),I=o.reduce(a,0),s=n-T,l=r-I,L=0,j=T,D=0,B=I,R=0,N=s,z=0,F=l;if(E.content&&e){var u=E.content;L=Xl(i,0,u[0]),D=Xl(o,0,u[1]),j=Xl(i,u[0],u[2]),B=Xl(o,u[1],u[3]),R=u[0]-L,z=u[1]-D,N=u[2]-u[0]-j,F=u[3]-u[1]-B}var c=function(e,t,n,r){var i=$l(e.stretch-L,j,P,S.left),o=Zl(e.fixed-R,N,e.stretch,T),a=$l(t.stretch-D,B,k,S.top),s=Zl(t.fixed-z,F,t.stretch,I),l=$l(n.stretch-L,j,P,S.left),u=Zl(n.fixed-R,N,n.stretch,T),c=$l(r.stretch-D,B,k,S.top),f=Zl(r.fixed-z,F,r.stretch,I),h=new U(i,a),d=new U(l,a),p=new U(l,c),y=new U(i,c),m=new U(o/M,s/M),g=new U(u/M,f/M),v=C*Math.PI/180;if(v){var b=Math.sin(v),_=Math.cos(v),x=[_,-b,b,_];h._matMult(x),d._matMult(x),y._matMult(x),p._matMult(x)}var w=e.stretch+e.fixed,A=t.stretch+t.fixed;return{tl:h,tr:d,bl:y,br:p,tex:{x:E.paddedRect.x+1+w,y:E.paddedRect.y+1+A,w:n.stretch+n.fixed-w,h:r.stretch+r.fixed-A},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:m,pixelOffsetBR:g,minFontScaleX:N/M/P,minFontScaleY:F/M/k,isSDF:O}};if(e&&(E.stretchX||E.stretchY))for(var f=Jl(i,s,T),h=Jl(o,l,I),d=0;d<f.length-1;d++)for(var p=f[d],y=f[d+1],m=0;m<h.length-1;m++)t.push(c(p,h[m],y,h[m+1]));else t.push(c({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:n+1},{fixed:0,stretch:r+1}));return t}function Xl(e,t,n){for(var r=0,i=0,o=e;i<o.length;i+=1){var a=o[i];r+=Math.max(t,Math.min(n,a[1]))-Math.max(t,Math.min(n,a[0]))}return r}function Jl(e,t,n){for(var r=[{fixed:-1,stretch:0}],i=0,o=e;i<o.length;i+=1){var a=o[i],s=a[0],l=a[1],u=r[r.length-1];r.push({fixed:s-u.stretch,stretch:u.stretch}),r.push({fixed:s-u.stretch,stretch:u.stretch+(l-s)})}return r.push({fixed:t+1,stretch:n}),r}function $l(e,t,n,r){return e/t*n+r}function Zl(e,t,n,r){return e-t*n/r}var eu=function(e,t,n,r,i,o,a,s,l,u){if(this.boxStartIndex=e.length,l){var c=o.top,f=o.bottom,h=o.collisionPadding;h&&(c-=h[1],f+=h[3]);var d=f-c;d>0&&(d=Math.max(10,d),this.circleDiameter=d)}else{var p=o.top*a-s,y=o.bottom*a+s,m=o.left*a-s,g=o.right*a+s,v=o.collisionPadding;if(v&&(m-=v[0]*a,p-=v[1]*a,g+=v[2]*a,y+=v[3]*a),u){var b=new U(m,p),_=new U(g,p),x=new U(m,y),w=new U(g,y),A=u*Math.PI/180;b._rotate(A),_._rotate(A),x._rotate(A),w._rotate(A),m=Math.min(b.x,_.x,x.x,w.x),g=Math.max(b.x,_.x,x.x,w.x),p=Math.min(b.y,_.y,x.y,w.y),y=Math.max(b.y,_.y,x.y,w.y)}e.emplaceBack(t.x,t.y,m,p,g,y,n,r,i)}this.boxEndIndex=e.length},tu=function(e,t){if(void 0===e&&(e=[]),void 0===t&&(t=nu),this.data=e,this.length=this.data.length,this.compare=t,this.length>0)for(var n=(this.length>>1)-1;n>=0;n--)this._down(n)};function nu(e,t){return e<t?-1:e>t?1:0}function ru(e,t,n){void 0===t&&(t=1),void 0===n&&(n=!1);for(var r=1/0,i=1/0,o=-1/0,a=-1/0,s=e[0],l=0;l<s.length;l++){var u=s[l];(!l||u.x<r)&&(r=u.x),(!l||u.y<i)&&(i=u.y),(!l||u.x>o)&&(o=u.x),(!l||u.y>a)&&(a=u.y)}var c=Math.min(o-r,a-i),f=c/2,h=new tu([],iu);if(0===c)return new U(r,i);for(var d=r;d<o;d+=c)for(var p=i;p<a;p+=c)h.push(new ou(d+f,p+f,f,e));for(var y=function(e){for(var t=0,n=0,r=0,i=e[0],o=0,a=i.length,s=a-1;o<a;s=o++){var l=i[o],u=i[s],c=l.x*u.y-u.x*l.y;n+=(l.x+u.x)*c,r+=(l.y+u.y)*c,t+=3*c}return new ou(n/t,r/t,0,e)}(e),m=h.length;h.length;){var g=h.pop();(g.d>y.d||!y.d)&&(y=g,n&&console.log("found best %d after %d probes",Math.round(1e4*g.d)/1e4,m)),g.max-y.d<=t||(h.push(new ou(g.p.x-(f=g.h/2),g.p.y-f,f,e)),h.push(new ou(g.p.x+f,g.p.y-f,f,e)),h.push(new ou(g.p.x-f,g.p.y+f,f,e)),h.push(new ou(g.p.x+f,g.p.y+f,f,e)),m+=4)}return n&&(console.log("num probes: "+m),console.log("best distance: "+y.d)),y.p}function iu(e,t){return t.max-e.max}function ou(e,t,n,r){this.p=new U(e,t),this.h=n,this.d=function(e,t){for(var n=!1,r=1/0,i=0;i<t.length;i++)for(var o=t[i],a=0,s=o.length,l=s-1;a<s;l=a++){var u=o[a],c=o[l];u.y>e.y!=c.y>e.y&&e.x<(c.x-u.x)*(e.y-u.y)/(c.y-u.y)+u.x&&(n=!n),r=Math.min(r,sa(e,u,c))}return(n?1:-1)*Math.sqrt(r)}(this.p,r),this.max=this.d+this.h*Math.SQRT2}tu.prototype.push=function(e){this.data.push(e),this.length++,this._up(this.length-1)},tu.prototype.pop=function(){if(0!==this.length){var e=this.data[0],t=this.data.pop();return this.length--,this.length>0&&(this.data[0]=t,this._down(0)),e}},tu.prototype.peek=function(){return this.data[0]},tu.prototype._up=function(e){for(var t=this.data,n=this.compare,r=t[e];e>0;){var i=e-1>>1,o=t[i];if(n(r,o)>=0)break;t[e]=o,e=i}t[e]=r},tu.prototype._down=function(e){for(var t=this.data,n=this.compare,r=this.length>>1,i=t[e];e<r;){var o=1+(e<<1),a=t[o],s=o+1;if(s<this.length&&n(t[s],a)<0&&(o=s,a=t[s]),n(a,i)>=0)break;t[e]=a,e=o}t[e]=i};var au=Number.POSITIVE_INFINITY;function su(e,t){return t[1]!==au?function(e,t,n){var r=0,i=0;switch(t=Math.abs(t),n=Math.abs(n),e){case"top-right":case"top-left":case"top":i=n-7;break;case"bottom-right":case"bottom-left":case"bottom":i=7-n}switch(e){case"top-right":case"bottom-right":case"right":r=-t;break;case"top-left":case"bottom-left":case"left":r=t}return[r,i]}(e,t[0],t[1]):function(e,t){var n=0,r=0;t<0&&(t=0);var i=t/Math.sqrt(2);switch(e){case"top-right":case"top-left":r=i-7;break;case"bottom-right":case"bottom-left":r=7-i;break;case"bottom":r=7-t;break;case"top":r=t-7}switch(e){case"top-right":case"bottom-right":n=-i;break;case"top-left":case"bottom-left":n=i;break;case"left":n=t;break;case"right":n=-t}return[n,r]}(e,t[0])}function lu(e){switch(e){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function uu(e,t,n,r,i,o,a,s,l,u,c,f,h,d,p){var y=function(B,e,t,R,n,N,z,r){for(var i=R.layout.get("text-rotate").evaluate(N,{})*Math.PI/180,o=[],a=0,s=e.positionedLines;a<s.length;a+=1)for(var l=s[a],u=0,c=l.positionedGlyphs;u<c.length;u+=1){var f=c[u];if(f.rect){var h=f.rect||{},d=4,p=!0,y=1,m=0,g=(n||r)&&f.vertical,v=f.metrics.advance*f.scale/2;if(r&&e.verticalizable&&(m=l.lineOffset/2-(f.imageName?-(24-f.metrics.width*f.scale)/2:24*(f.scale-1))),f.imageName){var b=z[f.imageName];p=b.sdf,d=1/(y=b.pixelRatio)}var F=n?[f.x+v,f.y]:[0,0],_=n?[0,0]:[f.x+v+t[0],f.y+t[1]-m],x=[0,0];g&&(x=_,_=[0,0]);var w=(f.metrics.left-d)*f.scale-v+_[0],A=(-f.metrics.top-d)*f.scale+_[1],S=w+h.w*f.scale/y,C=A+h.h*f.scale/y,O=new U(w,A),E=new U(S,A),M=new U(w,C),P=new U(S,C);if(g){var k=new U(-v,v- -17),T=-Math.PI/2,I=12-v,L=new U(22-I,-(f.imageName?I:0)),j=new(Function.prototype.bind.apply(U,[null].concat(x)));O._rotateAround(T,k)._add(L)._add(j),E._rotateAround(T,k)._add(L)._add(j),M._rotateAround(T,k)._add(L)._add(j),P._rotateAround(T,k)._add(L)._add(j)}if(i){var V=Math.sin(i),H=Math.cos(i),D=[H,-V,V,H];O._matMult(D),E._matMult(D),M._matMult(D),P._matMult(D)}var Y=new U(0,0),G=new U(0,0);o.push({tl:O,tr:E,bl:M,br:P,tex:h,writingMode:e.writingMode,glyphOffset:F,sectionIndex:f.sectionIndex,isSDF:p,pixelOffsetTL:Y,pixelOffsetBR:G,minFontScaleX:0,minFontScaleY:0})}}return o}(0,n,s,i,o,a,r,e.allowVerticalPlacement),m=e.textSizeData,g=null;"source"===m.kind?(g=[128*i.layout.get("text-size").evaluate(a,{})])[0]>32640&&ce(e.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):"composite"===m.kind&&((g=[128*d.compositeTextSizes[0].evaluate(a,{},p),128*d.compositeTextSizes[1].evaluate(a,{},p)])[0]>32640||g[1]>32640)&&ce(e.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),e.addSymbols(e.text,y,g,s,o,a,u,t,l.lineStartIndex,l.lineLength,h,p);for(var v=0,b=c;v<b.length;v+=1)f[b[v]]=e.text.placedSymbolArray.length-1;return 4*y.length}function cu(e){for(var t in e)return e[t];return null}function fu(e,t,n,r){var i=e.compareText;if(t in i){for(var o=i[t],a=o.length-1;a>=0;a--)if(r.dist(o[a])<n)return!0}else i[t]=[];return i[t].push(r),!1}var hu=Ss.VectorTileFeature.types,du=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function pu(e,t,n,r,i,o,a,s,l,u,c,f,h){var d=s?Math.min(32640,Math.round(s[0])):0,p=s?Math.min(32640,Math.round(s[1])):0;e.emplaceBack(t,n,Math.round(32*r),Math.round(32*i),o,a,(d<<1)+(l?1:0),p,16*u,16*c,256*f,256*h)}function yu(e,t,n){e.emplaceBack(t.x,t.y,n),e.emplaceBack(t.x,t.y,n),e.emplaceBack(t.x,t.y,n),e.emplaceBack(t.x,t.y,n)}function mu(e){for(var t=0,n=e.sections;t<n.length;t+=1)if(yi(n[t].text))return!0;return!1}var gu=function(e){this.layoutVertexArray=new Wi,this.indexArray=new eo,this.programConfigurations=e,this.segments=new L,this.dynamicLayoutVertexArray=new qi,this.opacityVertexArray=new Ki,this.placedSymbolArray=new ho};gu.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length&&0===this.indexArray.length&&0===this.dynamicLayoutVertexArray.length&&0===this.opacityVertexArray.length},gu.prototype.upload=function(e,t,n,r){this.isEmpty()||(n&&(this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,Us.members),this.indexBuffer=e.createIndexBuffer(this.indexArray,t),this.dynamicLayoutVertexBuffer=e.createVertexBuffer(this.dynamicLayoutVertexArray,Qs.members,!0),this.opacityVertexBuffer=e.createVertexBuffer(this.opacityVertexArray,du,!0),this.opacityVertexBuffer.itemSize=1),(n||r)&&this.programConfigurations.upload(e))},gu.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())},t("SymbolBuffers",gu);var vu=function(e,t,n){this.layoutVertexArray=new e,this.layoutAttributes=t,this.indexArray=new n,this.segments=new L,this.collisionVertexArray=new Zi};vu.prototype.upload=function(e){this.layoutVertexBuffer=e.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=e.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=e.createVertexBuffer(this.collisionVertexArray,Ws.members,!0)},vu.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())},t("CollisionBuffers",vu);var ue=function(e){this.collisionBoxArray=e.collisionBoxArray,this.zoom=e.zoom,this.overscaling=e.overscaling,this.layers=e.layers,this.layerIds=this.layers.map(function(e){return e.id}),this.index=e.index,this.pixelRatio=e.pixelRatio,this.sourceLayerIndex=e.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=ga([]),this.placementViewportMatrix=ga([]);var t=this.layers[0]._unevaluatedLayout._values;this.textSizeData=Nl(this.zoom,t["text-size"]),this.iconSizeData=Nl(this.zoom,t["icon-size"]);var n=this.layers[0].layout,r=n.get("symbol-sort-key"),i=n.get("symbol-z-order");this.sortFeaturesByKey="viewport-y"!==i&&void 0!==r.constantOr(1),this.sortFeaturesByY=("viewport-y"===i||"auto"===i&&!this.sortFeaturesByKey)&&(n.get("text-allow-overlap")||n.get("icon-allow-overlap")||n.get("text-ignore-placement")||n.get("icon-ignore-placement")),"point"===n.get("symbol-placement")&&(this.writingModes=n.get("text-writing-mode").map(function(e){return Sl[e]})),this.stateDependentLayerIds=this.layers.filter(function(e){return e.isStateDependent()}).map(function(e){return e.id}),this.sourceID=e.sourceID};ue.prototype.createArrays=function(){this.text=new gu(new Qo(this.layers,this.zoom,function(e){return/^text/.test(e)})),this.icon=new gu(new Qo(this.layers,this.zoom,function(e){return/^icon/.test(e)})),this.glyphOffsetArray=new mo,this.lineVertexArray=new go,this.symbolInstances=new yo},ue.prototype.calculateGlyphDependencies=function(e,t,n,r,i){for(var o=0;o<e.length;o++)if(t[e.charCodeAt(o)]=!0,(n||r)&&i){var a=Js[e.charAt(o)];a&&(t[a.charCodeAt(0)]=!0)}},ue.prototype.populate=function(e,t,n){var r=this.layers[0],i=r.layout,o=i.get("text-font"),a=i.get("text-field"),s=i.get("icon-image"),l=("constant"!==a.value.kind||a.value.value instanceof z&&!a.value.value.isEmpty()||a.value.value.toString().length>0)&&("constant"!==o.value.kind||o.value.value.length>0),u="constant"!==s.value.kind||!!s.value.value||Object.keys(s.parameters).length>0,c=i.get("symbol-sort-key");if(this.features=[],l||u){for(var f=t.iconDependencies,h=t.glyphDependencies,d=t.availableImages,p=new H(this.zoom),y=0,m=e;y<m.length;y+=1){var g=m[y],v=g.feature,b=g.id,_=g.index,x=g.sourceLayerIndex,w=r._featureFilter.needGeometry,A={type:v.type,id:b,properties:v.properties,geometry:w?Jo(v):[]};if(r._featureFilter.filter(p,A,n)){w||(A.geometry=Jo(v));var S=void 0;if(l){var C=r.getValueAndResolveTokens("text-field",A,n,d),O=z.factory(C);mu(O)&&(this.hasRTLText=!0),(!this.hasRTLText||"unavailable"===wi()||this.hasRTLText&&Si.isParsed())&&(S=Xs(O,r,A))}var E=void 0;if(u){var M=r.getValueAndResolveTokens("icon-image",A,n,d);E=M instanceof _t?M:_t.fromString(M)}if(S||E){var P=this.sortFeaturesByKey?c.evaluate(A,{},n):void 0,k={id:b,text:S,icon:E,index:_,sourceLayerIndex:x,geometry:Jo(v),properties:v.properties,type:hu[v.type],sortKey:P};if(this.features.push(k),E&&(f[E.name]=!0),S){var T=o.evaluate(A,{},n).join(","),B="map"===i.get("text-rotation-alignment")&&"point"!==i.get("symbol-placement");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(Sl.vertical)>=0;for(var I=0,L=S.sections;I<L.length;I+=1){var j=L[I];if(j.image)f[j.image.name]=!0;else{var R=ci(S.toString()),D=j.fontStack||T,N=h[D]=h[D]||{};this.calculateGlyphDependencies(j.text,N,B,this.allowVerticalPlacement,R)}}}}}}"line"===i.get("symbol-placement")&&(this.features=function(t){var i={},o={},a=[],n=0;function e(e){a.push(t[e]),n++}function r(e,t,n){var r=o[e];return delete o[e],o[t]=r,a[r].geometry[0].pop(),a[r].geometry[0]=a[r].geometry[0].concat(n[0]),r}function s(e,t,n){var r=i[t];return delete i[t],i[e]=r,a[r].geometry[0].shift(),a[r].geometry[0]=n[0].concat(a[r].geometry[0]),r}function l(e,t,n){var r=n?t[0][t[0].length-1]:t[0][0];return e+":"+r.x+":"+r.y}for(var u=0;u<t.length;u++){var c=t[u],f=c.geometry,h=c.text?c.text.toString():null;if(h){var d=l(h,f),p=l(h,f,!0);if(d in o&&p in i&&o[d]!==i[p]){var y=s(d,p,f),m=r(d,p,a[y].geometry);delete i[d],delete o[p],o[l(h,a[m].geometry,!0)]=m,a[y].geometry=null}else d in o?r(d,p,f):p in i?s(d,p,f):(e(u),i[d]=n-1,o[p]=n-1)}else e(u)}return a.filter(function(e){return e.geometry})}(this.features)),this.sortFeaturesByKey&&this.features.sort(function(e,t){return e.sortKey-t.sortKey})}},ue.prototype.update=function(e,t,n){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(e,t,this.layers,n),this.icon.programConfigurations.updatePaintArrays(e,t,this.layers,n))},ue.prototype.isEmpty=function(){return 0===this.symbolInstances.length&&!this.hasRTLText},ue.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},ue.prototype.upload=function(e){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(e),this.iconCollisionBox.upload(e)),this.text.upload(e,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(e,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0},ue.prototype.destroyDebugData=function(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()},ue.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()},ue.prototype.addToLineVertexArray=function(e,t){var n=this.lineVertexArray.length;if(void 0!==e.segment){for(var r=e.dist(t[e.segment+1]),i=e.dist(t[e.segment]),o={},a=e.segment+1;a<t.length;a++)o[a]={x:t[a].x,y:t[a].y,tileUnitDistanceFromAnchor:r},a<t.length-1&&(r+=t[a+1].dist(t[a]));for(var s=e.segment||0;s>=0;s--)o[s]={x:t[s].x,y:t[s].y,tileUnitDistanceFromAnchor:i},s>0&&(i+=t[s-1].dist(t[s]));for(var l=0;l<t.length;l++){var u=o[l];this.lineVertexArray.emplaceBack(u.x,u.y,u.tileUnitDistanceFromAnchor)}}return{lineStartIndex:n,lineLength:this.lineVertexArray.length-n}},ue.prototype.addSymbols=function(e,t,n,r,i,o,a,s,l,u,c,f){for(var h=e.indexArray,d=e.layoutVertexArray,p=e.segments.prepareSegment(4*t.length,d,h,o.sortKey),y=this.glyphOffsetArray.length,m=p.vertexLength,g=this.allowVerticalPlacement&&a===Sl.vertical?Math.PI/2:0,v=o.text&&o.text.sections,b=0;b<t.length;b++){var _=t[b],x=_.tl,w=_.tr,A=_.bl,S=_.br,C=_.tex,O=_.pixelOffsetTL,E=_.pixelOffsetBR,M=_.minFontScaleX,P=_.minFontScaleY,k=_.glyphOffset,T=_.isSDF,I=_.sectionIndex,L=p.vertexLength,j=k[1];pu(d,s.x,s.y,x.x,j+x.y,C.x,C.y,n,T,O.x,O.y,M,P),pu(d,s.x,s.y,w.x,j+w.y,C.x+C.w,C.y,n,T,E.x,O.y,M,P),pu(d,s.x,s.y,A.x,j+A.y,C.x,C.y+C.h,n,T,O.x,E.y,M,P),pu(d,s.x,s.y,S.x,j+S.y,C.x+C.w,C.y+C.h,n,T,E.x,E.y,M,P),yu(e.dynamicLayoutVertexArray,s,g),h.emplaceBack(L,L+1,L+2),h.emplaceBack(L+1,L+2,L+3),p.vertexLength+=4,p.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(k[0]),b!==t.length-1&&I===t[b+1].sectionIndex||e.programConfigurations.populatePaintArrays(d.length,o,o.index,{},f,v&&v[I])}e.placedSymbolArray.emplaceBack(s.x,s.y,y,this.glyphOffsetArray.length-y,m,l,u,s.segment,n?n[0]:0,n?n[1]:0,r[0],r[1],a,0,!1,0,c)},ue.prototype._addCollisionDebugVertex=function(e,t,n,r,i,o){return t.emplaceBack(0,0),e.emplaceBack(n.x,n.y,r,i,Math.round(o.x),Math.round(o.y))},ue.prototype.addCollisionDebugVertices=function(e,t,n,r,i,o,a){var s=i.segments.prepareSegment(4,i.layoutVertexArray,i.indexArray),l=s.vertexLength,u=i.layoutVertexArray,c=i.collisionVertexArray,f=a.anchorX,h=a.anchorY;this._addCollisionDebugVertex(u,c,o,f,h,new U(e,t)),this._addCollisionDebugVertex(u,c,o,f,h,new U(n,t)),this._addCollisionDebugVertex(u,c,o,f,h,new U(n,r)),this._addCollisionDebugVertex(u,c,o,f,h,new U(e,r)),s.vertexLength+=4;var d=i.indexArray;d.emplaceBack(l,l+1),d.emplaceBack(l+1,l+2),d.emplaceBack(l+2,l+3),d.emplaceBack(l+3,l),s.primitiveLength+=4},ue.prototype.addDebugCollisionBoxes=function(e,t,n,r){for(var i=e;i<t;i++){var o=this.collisionBoxArray.get(i);this.addCollisionDebugVertices(o.x1,o.y1,o.x2,o.y2,r?this.textCollisionBox:this.iconCollisionBox,o.anchorPoint,n)}},ue.prototype.generateCollisionDebugBuffers=function(){this.hasDebugData()&&this.destroyDebugData(),this.textCollisionBox=new vu(Ji,qs.members,ao),this.iconCollisionBox=new vu(Ji,qs.members,ao);for(var e=0;e<this.symbolInstances.length;e++){var t=this.symbolInstances.get(e);this.addDebugCollisionBoxes(t.textBoxStartIndex,t.textBoxEndIndex,t,!0),this.addDebugCollisionBoxes(t.verticalTextBoxStartIndex,t.verticalTextBoxEndIndex,t,!0),this.addDebugCollisionBoxes(t.iconBoxStartIndex,t.iconBoxEndIndex,t,!1),this.addDebugCollisionBoxes(t.verticalIconBoxStartIndex,t.verticalIconBoxEndIndex,t,!1)}},ue.prototype._deserializeCollisionBoxesForSymbol=function(e,t,n,r,i,o,a,s,l){for(var u={},c=t;c<n;c++){var f=e.get(c);u.textBox={x1:f.x1,y1:f.y1,x2:f.x2,y2:f.y2,anchorPointX:f.anchorPointX,anchorPointY:f.anchorPointY},u.textFeatureIndex=f.featureIndex;break}for(var h=r;h<i;h++){var d=e.get(h);u.verticalTextBox={x1:d.x1,y1:d.y1,x2:d.x2,y2:d.y2,anchorPointX:d.anchorPointX,anchorPointY:d.anchorPointY},u.verticalTextFeatureIndex=d.featureIndex;break}for(var p=o;p<a;p++){var y=e.get(p);u.iconBox={x1:y.x1,y1:y.y1,x2:y.x2,y2:y.y2,anchorPointX:y.anchorPointX,anchorPointY:y.anchorPointY},u.iconFeatureIndex=y.featureIndex;break}for(var m=s;m<l;m++){var g=e.get(m);u.verticalIconBox={x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,anchorPointX:g.anchorPointX,anchorPointY:g.anchorPointY},u.verticalIconFeatureIndex=g.featureIndex;break}return u},ue.prototype.deserializeCollisionBoxes=function(e){this.collisionArrays=[];for(var t=0;t<this.symbolInstances.length;t++){var n=this.symbolInstances.get(t);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(e,n.textBoxStartIndex,n.textBoxEndIndex,n.verticalTextBoxStartIndex,n.verticalTextBoxEndIndex,n.iconBoxStartIndex,n.iconBoxEndIndex,n.verticalIconBoxStartIndex,n.verticalIconBoxEndIndex))}},ue.prototype.hasTextData=function(){return this.text.segments.get().length>0},ue.prototype.hasIconData=function(){return this.icon.segments.get().length>0},ue.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},ue.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},ue.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},ue.prototype.addIndicesForPlacedSymbol=function(e,t){for(var n=e.placedSymbolArray.get(t),r=n.vertexStartIndex+4*n.numGlyphs,i=n.vertexStartIndex;i<r;i+=4)e.indexArray.emplaceBack(i,i+1,i+2),e.indexArray.emplaceBack(i+1,i+2,i+3)},ue.prototype.getSortedSymbolIndexes=function(e){if(this.sortedAngle===e&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;for(var t=Math.sin(e),n=Math.cos(e),r=[],i=[],o=[],a=0;a<this.symbolInstances.length;++a){o.push(a);var s=this.symbolInstances.get(a);r.push(0|Math.round(t*s.anchorX+n*s.anchorY)),i.push(s.featureIndex)}return o.sort(function(e,t){return r[e]-r[t]||i[t]-i[e]}),o},ue.prototype.addToSortKeyRanges=function(e,t){var n=this.sortKeyRanges[this.sortKeyRanges.length-1];n&&n.sortKey===t?n.symbolInstanceEnd=e+1:this.sortKeyRanges.push({sortKey:t,symbolInstanceStart:e,symbolInstanceEnd:e+1})},ue.prototype.sortFeatures=function(e){var r=this;if(this.sortFeaturesByY&&this.sortedAngle!==e&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(e),this.sortedAngle=e,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var t=0,n=this.symbolInstanceIndexes;t<n.length;t+=1){var i=this.symbolInstances.get(n[t]);this.featureSortOrder.push(i.featureIndex),[i.rightJustifiedTextSymbolIndex,i.centerJustifiedTextSymbolIndex,i.leftJustifiedTextSymbolIndex].forEach(function(e,t,n){e>=0&&n.indexOf(e)===t&&r.addIndicesForPlacedSymbol(r.text,e)}),i.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,i.verticalPlacedTextSymbolIndex),i.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,i.placedIconSymbolIndex),i.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,i.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},t("SymbolBucket",ue,{omit:["layers","collisionBoxArray","features","compareText"]}),ue.MAX_GLYPHS=65535,ue.addDynamicAttributes=yu;var bu=new Bi({"symbol-placement":new n(o.layout_symbol["symbol-placement"]),"symbol-spacing":new n(o.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new n(o.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new r(o.layout_symbol["symbol-sort-key"]),"symbol-z-order":new n(o.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new n(o.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new n(o.layout_symbol["icon-ignore-placement"]),"icon-optional":new n(o.layout_symbol["icon-optional"]),"icon-rotation-alignment":new n(o.layout_symbol["icon-rotation-alignment"]),"icon-size":new r(o.layout_symbol["icon-size"]),"icon-text-fit":new n(o.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new n(o.layout_symbol["icon-text-fit-padding"]),"icon-image":new r(o.layout_symbol["icon-image"]),"icon-rotate":new r(o.layout_symbol["icon-rotate"]),"icon-padding":new n(o.layout_symbol["icon-padding"]),"icon-keep-upright":new n(o.layout_symbol["icon-keep-upright"]),"icon-offset":new r(o.layout_symbol["icon-offset"]),"icon-anchor":new r(o.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new n(o.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new n(o.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new n(o.layout_symbol["text-rotation-alignment"]),"text-field":new r(o.layout_symbol["text-field"]),"text-font":new r(o.layout_symbol["text-font"]),"text-size":new r(o.layout_symbol["text-size"]),"text-max-width":new r(o.layout_symbol["text-max-width"]),"text-line-height":new n(o.layout_symbol["text-line-height"]),"text-letter-spacing":new r(o.layout_symbol["text-letter-spacing"]),"text-justify":new r(o.layout_symbol["text-justify"]),"text-radial-offset":new r(o.layout_symbol["text-radial-offset"]),"text-variable-anchor":new n(o.layout_symbol["text-variable-anchor"]),"text-anchor":new r(o.layout_symbol["text-anchor"]),"text-max-angle":new n(o.layout_symbol["text-max-angle"]),"text-writing-mode":new n(o.layout_symbol["text-writing-mode"]),"text-rotate":new r(o.layout_symbol["text-rotate"]),"text-padding":new n(o.layout_symbol["text-padding"]),"text-keep-upright":new n(o.layout_symbol["text-keep-upright"]),"text-transform":new r(o.layout_symbol["text-transform"]),"text-offset":new r(o.layout_symbol["text-offset"]),"text-allow-overlap":new n(o.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new n(o.layout_symbol["text-ignore-placement"]),"text-optional":new n(o.layout_symbol["text-optional"])}),_u={paint:new Bi({"icon-opacity":new r(o.paint_symbol["icon-opacity"]),"icon-color":new r(o.paint_symbol["icon-color"]),"icon-halo-color":new r(o.paint_symbol["icon-halo-color"]),"icon-halo-width":new r(o.paint_symbol["icon-halo-width"]),"icon-halo-blur":new r(o.paint_symbol["icon-halo-blur"]),"icon-translate":new n(o.paint_symbol["icon-translate"]),"icon-translate-anchor":new n(o.paint_symbol["icon-translate-anchor"]),"text-opacity":new r(o.paint_symbol["text-opacity"]),"text-color":new r(o.paint_symbol["text-color"],{runtimeType:lt,getOverride:function(e){return e.textColor},hasOverride:function(e){return!!e.textColor}}),"text-halo-color":new r(o.paint_symbol["text-halo-color"]),"text-halo-width":new r(o.paint_symbol["text-halo-width"]),"text-halo-blur":new r(o.paint_symbol["text-halo-blur"]),"text-translate":new n(o.paint_symbol["text-translate"]),"text-translate-anchor":new n(o.paint_symbol["text-translate-anchor"])}),layout:bu},xu=function(e){this.type=e.property.overrides?e.property.overrides.runtimeType:st,this.defaultValue=e};xu.prototype.evaluate=function(e){if(e.formattedSection){var t=this.defaultValue.property.overrides;if(t&&t.hasOverride(e.formattedSection))return t.getOverride(e.formattedSection)}return e.feature&&e.featureState?this.defaultValue.evaluate(e.feature,e.featureState):this.defaultValue.property.specification.default},xu.prototype.eachChild=function(e){this.defaultValue.isConstant()||e(this.defaultValue.value._styleExpression.expression)},xu.prototype.outputDefined=function(){return!1},xu.prototype.serialize=function(){return null},t("FormatSectionOverride",xu,{omit:["defaultValue"]});var wu=function(s){function l(e){s.call(this,e,_u)}return s&&(l.__proto__=s),(l.prototype=Object.create(s&&s.prototype)).constructor=l,l.prototype.recalculate=function(e,t){if(s.prototype.recalculate.call(this,e,t),"auto"===this.layout.get("icon-rotation-alignment")&&(this.layout._values["icon-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-rotation-alignment")&&(this.layout._values["text-rotation-alignment"]="point"!==this.layout.get("symbol-placement")?"map":"viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){var n=this.layout.get("text-writing-mode");if(n){for(var r=[],i=0,o=n;i<o.length;i+=1){var a=o[i];r.indexOf(a)<0&&r.push(a)}this.layout._values["text-writing-mode"]=r}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()},l.prototype.getValueAndResolveTokens=function(e,t,n,r){var i=this.layout.get(e).evaluate(t,{},n,r),o=this._unevaluatedLayout._values[e];return o.isDataDriven()||rr(o.value)||!i?i:function(n,e){return e.replace(/{([^{}]+)}/g,function(e,t){return t in n?String(n[t]):""})}(t.properties,i)},l.prototype.createBucket=function(e){return new ue(e)},l.prototype.queryRadius=function(){return 0},l.prototype.queryIntersectsFeature=function(){return!1},l.prototype._setPaintOverrides=function(){for(var e=0,t=_u.paint.overridableProperties;e<t.length;e+=1){var n=t[e];if(l.hasPaintOverride(this.layout,n)){var r,i=this.paint.get(n),o=new xu(i),a=new nr(o,i.property.specification);r="constant"===i.value.kind||"source"===i.value.kind?new or("source",a):new ar("composite",a,i.value.zoomStops,i.value._interpolationType),this.paint._values[n]=new Ti(i.property,r,i.parameters)}}},l.prototype._handleOverridablePaintPropertyUpdate=function(e,t,n){return!(!this.layout||t.isDataDriven()||n.isDataDriven())&&l.hasPaintOverride(this.layout,e)},l.hasPaintOverride=function(e,t){var n=e.get("text-field"),r=_u.paint.properties[t],i=!1,o=function(e){for(var t=0,n=e;t<n.length;t+=1)if(r.overrides&&r.overrides.hasOverride(n[t]))return void(i=!0)};if("constant"===n.value.kind&&n.value.value instanceof z)o(n.value.value.sections);else if("source"===n.value.kind){var a=function(e){i||(e instanceof St&&v(e.value)===ft?o(e.value.sections):e instanceof Et?o(e.sections):e.eachChild(a))},s=n.value;s._styleExpression&&a(s._styleExpression.expression)}return i},l}(Ri),Au={paint:new Bi({"background-color":new n(o.paint_background["background-color"]),"background-pattern":new ji(o.paint_background["background-pattern"]),"background-opacity":new n(o.paint_background["background-opacity"])})},Su=function(t){function e(e){t.call(this,e,Au)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(Ri),Cu={paint:new Bi({"raster-opacity":new n(o.paint_raster["raster-opacity"]),"raster-hue-rotate":new n(o.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new n(o.paint_raster["raster-brightness-min"]),"raster-brightness-max":new n(o.paint_raster["raster-brightness-max"]),"raster-saturation":new n(o.paint_raster["raster-saturation"]),"raster-contrast":new n(o.paint_raster["raster-contrast"]),"raster-resampling":new n(o.paint_raster["raster-resampling"]),"raster-fade-duration":new n(o.paint_raster["raster-fade-duration"])})},Ou=function(t){function e(e){t.call(this,e,Cu)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(Ri),Eu=function(t){function e(e){t.call(this,e,{}),this.implementation=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.is3D=function(){return"3d"===this.implementation.renderingMode},e.prototype.hasOffscreenPass=function(){return void 0!==this.implementation.prerender},e.prototype.recalculate=function(){},e.prototype.updateTransitions=function(){},e.prototype.hasTransition=function(){},e.prototype.serialize=function(){},e.prototype.onAdd=function(e){this.implementation.onAdd&&this.implementation.onAdd(e,e.painter.context.gl)},e.prototype.onRemove=function(e){this.implementation.onRemove&&this.implementation.onRemove(e,e.painter.context.gl)},e}(Ri),Mu={circle:wa,heatmap:Ea,hillshade:Pa,fill:ps,"fill-extrusion":Ts,line:Ys,symbol:wu,background:Su,raster:Ou},Pu=f.HTMLImageElement,ku=f.HTMLCanvasElement,Tu=f.HTMLVideoElement,Iu=f.ImageData,Lu=f.ImageBitmap,ju=function(e,t,n,r){this.context=e,this.format=n,this.texture=e.gl.createTexture(),this.update(t,r)};ju.prototype.update=function(e,t,n){var r=e.width,i=e.height,o=!(this.size&&this.size[0]===r&&this.size[1]===i||n),a=this.context,s=a.gl;if(this.useMipmap=Boolean(t&&t.useMipmap),s.bindTexture(s.TEXTURE_2D,this.texture),a.pixelStoreUnpackFlipY.set(!1),a.pixelStoreUnpack.set(1),a.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!t||!1!==t.premultiply)),o)this.size=[r,i],e instanceof Pu||e instanceof ku||e instanceof Tu||e instanceof Iu||Lu&&e instanceof Lu?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,e):s.texImage2D(s.TEXTURE_2D,0,this.format,r,i,0,this.format,s.UNSIGNED_BYTE,e.data);else{var l=n||{x:0,y:0},u=l.x,c=l.y;e instanceof Pu||e instanceof ku||e instanceof Tu||e instanceof Iu||Lu&&e instanceof Lu?s.texSubImage2D(s.TEXTURE_2D,0,u,c,s.RGBA,s.UNSIGNED_BYTE,e):s.texSubImage2D(s.TEXTURE_2D,0,u,c,r,i,s.RGBA,s.UNSIGNED_BYTE,e.data)}this.useMipmap&&this.isSizePowerOfTwo()&&s.generateMipmap(s.TEXTURE_2D)},ju.prototype.bind=function(e,t,n){var r=this.context.gl;r.bindTexture(r.TEXTURE_2D,this.texture),n!==r.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(n=r.LINEAR),e!==this.filter&&(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,e),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,n||e),this.filter=e),t!==this.wrap&&(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,t),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,t),this.wrap=t)},ju.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0},ju.prototype.destroy=function(){this.context.gl.deleteTexture(this.texture),this.texture=null};var Du=function(e){var t=this;this._callback=e,this._triggered=!1,"undefined"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=function(){t._triggered=!1,t._callback()})};Du.prototype.trigger=function(){var e=this;this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout(function(){e._triggered=!1,e._callback()},0))},Du.prototype.remove=function(){delete this._channel,this._callback=function(){}};var Bu=function(e,t,n){this.target=e,this.parent=t,this.mapId=n,this.callbacks={},this.tasks={},this.taskQueue=[],this.cancelCallbacks={},q(["receive","process"],this),this.invoker=new Du(this.process),this.target.addEventListener("message",this.receive,!1),this.globalScope=re()?e:f};function Ru(e,t,n){var r=2*Math.PI*6378137/256/Math.pow(2,n);return[e*r-2*Math.PI*6378137/2,t*r-2*Math.PI*6378137/2]}Bu.prototype.send=function(e,t,n,r,i,o){var a=this;void 0===i&&(i=!1);var s=Math.round(1e18*Math.random()).toString(36).substring(0,10);n&&(this.callbacks[s]=n);var l=ae(this.globalScope)?void 0:[];return this.target.postMessage({sourceId:o,id:s,type:e,hasCallback:!!n,targetMapId:r,mustQueue:i,sourceMapId:this.mapId,data:yr(t,l)},l),{cancel:function(){n&&delete a.callbacks[s],a.target.postMessage({id:s,type:"<cancel>",targetMapId:r,sourceMapId:a.mapId})}}},Bu.prototype.receive=function(e){var t=e.data,n=t.id;if(n&&(!t.targetMapId||this.mapId===t.targetMapId))if("<cancel>"===t.type){delete this.tasks[n];var r=this.cancelCallbacks[n];delete this.cancelCallbacks[n],r&&r()}else re()||t.mustQueue?(this.tasks[n]=t,this.taskQueue.push(n),this.invoker.trigger()):this.processTask(n,t)},Bu.prototype.process=function(){if(this.taskQueue.length){var e=this.taskQueue.shift(),t=this.tasks[e];delete this.tasks[e],this.taskQueue.length&&this.invoker.trigger(),t&&this.processTask(e,t)}},Bu.prototype.processTask=function(n,e){var r=this;if("<response>"===e.type){var t=this.callbacks[n];delete this.callbacks[n],t&&(e.error?t(mr(e.error)):t(null,mr(e.data)))}else{var i=!1,o=ae(this.globalScope)?void 0:[],a=e.hasCallback?function(e,t){i=!0,delete r.cancelCallbacks[n],r.target.postMessage({id:n,type:"<response>",sourceMapId:r.mapId,error:e?yr(e):null,data:yr(t,o)},o)}:function(e){i=!0},s=null,l=mr(e.data);if(this.parent[e.type])s=this.parent[e.type](e.sourceMapId,l,a,e.sourceId);else if(this.parent.getWorkerSource){var u=e.type.split(".");s=this.parent.getWorkerSource(e.sourceMapId,u[0],l.source)[u[1]](l,a)}else a(new Error("Could not find function "+e.type));!i&&s&&s.cancel&&(this.cancelCallbacks[n]=s.cancel)}},Bu.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var l=function(e,t){e&&(t?this.setSouthWest(e).setNorthEast(t):4===e.length?this.setSouthWest([e[0],e[1]]).setNorthEast([e[2],e[3]]):this.setSouthWest(e[0]).setNorthEast(e[1]))};l.prototype.setNorthEast=function(e){return this._ne=e instanceof c?new c(e.lng,e.lat):c.convert(e),this},l.prototype.setSouthWest=function(e){return this._sw=e instanceof c?new c(e.lng,e.lat):c.convert(e),this},l.prototype.extend=function(e){var t,n,r=this._sw,i=this._ne;if(e instanceof c)t=e,n=e;else{if(!(e instanceof l))return Array.isArray(e)?4===e.length||e.every(Array.isArray)?this.extend(l.convert(e)):this.extend(c.convert(e)):this;if(n=e._ne,!(t=e._sw)||!n)return this}return r||i?(r.lng=Math.min(t.lng,r.lng),r.lat=Math.min(t.lat,r.lat),i.lng=Math.max(n.lng,i.lng),i.lat=Math.max(n.lat,i.lat)):(this._sw=new c(t.lng,t.lat),this._ne=new c(n.lng,n.lat)),this},l.prototype.getCenter=function(){return new c((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},l.prototype.getSouthWest=function(){return this._sw},l.prototype.getNorthEast=function(){return this._ne},l.prototype.getNorthWest=function(){return new c(this.getWest(),this.getNorth())},l.prototype.getSouthEast=function(){return new c(this.getEast(),this.getSouth())},l.prototype.getWest=function(){return this._sw.lng},l.prototype.getSouth=function(){return this._sw.lat},l.prototype.getEast=function(){return this._ne.lng},l.prototype.getNorth=function(){return this._ne.lat},l.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},l.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},l.prototype.isEmpty=function(){return!(this._sw&&this._ne)},l.prototype.contains=function(e){var t=c.convert(e),n=t.lng,r=t.lat,i=this._sw.lng<=n&&n<=this._ne.lng;return this._sw.lng>this._ne.lng&&(i=this._sw.lng>=n&&n>=this._ne.lng),this._sw.lat<=r&&r<=this._ne.lat&&i},l.convert=function(e){return!e||e instanceof l?e:new l(e)};var c=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid LngLat object: ("+e+", "+t+")");this.lng=+e,this.lat=+t};c.prototype.wrap=function(){return new c(F(this.lng,-180,180),this.lat)},c.prototype.toArray=function(){return[this.lng,this.lat]},c.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},c.prototype.distanceTo=function(e){var t=Math.PI/180,n=this.lat*t,r=e.lat*t,i=Math.sin(n)*Math.sin(r)+Math.cos(n)*Math.cos(r)*Math.cos((e.lng-this.lng)*t);return 6371008.8*Math.acos(Math.min(i,1))},c.prototype.toBounds=function(e){void 0===e&&(e=0);var t=360*e/40075017,n=t/Math.cos(Math.PI/180*this.lat);return new l(new c(this.lng-n,this.lat-t),new c(this.lng+n,this.lat+t))},c.convert=function(e){if(e instanceof c)return e;if(Array.isArray(e)&&(2===e.length||3===e.length))return new c(Number(e[0]),Number(e[1]));if(!Array.isArray(e)&&"object"==typeof e&&null!==e)return new c(Number("lng"in e?e.lng:e.lon),Number(e.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var Nu=2*Math.PI*6371008.8;function zu(e){return Nu*Math.cos(e*Math.PI/180)}function Fu(e){return(180+e)/360}function Vu(e){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+e*Math.PI/360)))/360}function Hu(e,t){return e/zu(t)}function Yu(e){return 360/Math.PI*Math.atan(Math.exp((180-360*e)*Math.PI/180))-90}var Gu=function(e,t,n){void 0===n&&(n=0),this.x=+e,this.y=+t,this.z=+n};Gu.fromLngLat=function(e,t){void 0===t&&(t=0);var n=c.convert(e);return new Gu(Fu(n.lng),Vu(n.lat),Hu(t,n.lat))},Gu.prototype.toLngLat=function(){return new c(360*this.x-180,Yu(this.y))},Gu.prototype.toAltitude=function(){return this.z*zu(Yu(this.y))},Gu.prototype.meterInMercatorCoordinateUnits=function(){return 1/Nu*(e=Yu(this.y),1/Math.cos(e*Math.PI/180));var e};var Uu=function(e,t,n){this.z=e,this.x=t,this.y=n,this.key=Wu(0,e,e,t,n)};Uu.prototype.equals=function(e){return this.z===e.z&&this.x===e.x&&this.y===e.y},Uu.prototype.getTileBBox=function(e){void 0===e&&(e="enu");var t=Math.pow(2,this.z)-this.y-1,n=Ru(256*this.x,256*t,this.z),r=Ru(256*(this.x+1),256*(t+1),this.z);return e.startsWith("ne")?n[1]+","+n[0]+","+r[1]+","+r[0]:n[0]+","+n[1]+","+r[0]+","+r[1]},Uu.prototype.url=function(e,t,n,r,i){var o=this.getTileBBox(),a=function(e,t,n){for(var r,i="",o=e;o>0;o--)i+=(t&(r=1<<o-1)?1:0)+(n&r?2:0);return i}(this.z,this.x,this.y);n=n||0;var s=e[(this.x+this.y)%e.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z-n)).replace("{x}",String(this.x)).replace("{y}",String("tms"===t?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",a).replace("{bbox-epsg-3857}",o).replace("{bbox}",o).replace("{width}",r).replace("{height}",r);if(this.getViewBounds){var l=this.getViewBounds();l&&(s=s.replace("{viewBounds}",l))}if(this.getTileBBoxReverseXY){var u=this.getTileBBoxReverseXY();u&&(s=s.replace("{bbox-wms-1.3.0}",u))}return i&&(s=s.replace("{scale}",i)),s},Uu.prototype.getTilePoint=function(e){var t=Math.pow(2,this.z);return new U(8192*(e.x*t-this.x),8192*(e.y*t-this.y))},Uu.prototype.toString=function(){return this.z+"/"+this.x+"/"+this.y};var Qu=function(e,t){this.wrap=e,this.canonical=t,this.key=Wu(e,t.z,t.z,t.x,t.y)},A=function(e,t,n,r,i){this.overscaledZ=e,this.wrap=t,this.canonical=new Uu(n,+r,+i),this.key=Wu(t,e,n,r,i)};function Wu(e,t,n,r,i){(e*=2)<0&&(e=-1*e-1);var o=1<<n;return(o*o*e+o*i+r).toString(36)+n.toString(36)+t.toString(36)}A.prototype.equals=function(e){return this.overscaledZ===e.overscaledZ&&this.wrap===e.wrap&&this.canonical.equals(e.canonical)},A.prototype.scaledTo=function(e){var t=this.canonical.z-e;return e>this.canonical.z?new A(e,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new A(e,this.wrap,e,this.canonical.x>>t,this.canonical.y>>t)},A.prototype.calculateScaledKey=function(e,t){var n=this.canonical.z-e;return e>this.canonical.z?Wu(this.wrap*+t,e,this.canonical.z,this.canonical.x,this.canonical.y):Wu(this.wrap*+t,e,e,this.canonical.x>>n,this.canonical.y>>n)},A.prototype.isChildOf=function(e){if(e.wrap!==this.wrap)return!1;var t=this.canonical.z-e.canonical.z;return 0===e.overscaledZ||e.overscaledZ<this.overscaledZ&&e.canonical.x===this.canonical.x>>t&&e.canonical.y===this.canonical.y>>t},A.prototype.children=function(e){if(this.overscaledZ>=e)return[new A(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var t=this.canonical.z+1,n=2*this.canonical.x,r=2*this.canonical.y;return[new A(t,this.wrap,t,n,r),new A(t,this.wrap,t,n+1,r),new A(t,this.wrap,t,n,r+1),new A(t,this.wrap,t,n+1,r+1)]},A.prototype.isLessThan=function(e){return this.wrap<e.wrap||!(this.wrap>e.wrap)&&(this.overscaledZ<e.overscaledZ||!(this.overscaledZ>e.overscaledZ)&&(this.canonical.x<e.canonical.x||!(this.canonical.x>e.canonical.x)&&this.canonical.y<e.canonical.y))},A.prototype.wrapped=function(){return new A(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)},A.prototype.unwrapTo=function(e){return new A(this.overscaledZ,e,this.canonical.z,this.canonical.x,this.canonical.y)},A.prototype.overscaleFactor=function(){return Math.pow(2,this.overscaledZ-this.canonical.z)},A.prototype.toUnwrapped=function(){return new Qu(this.wrap,this.canonical)},A.prototype.toString=function(){return this.overscaledZ+"/"+this.canonical.x+"/"+this.canonical.y},A.prototype.getTilePoint=function(e){return this.canonical.getTilePoint(new Gu(e.x-this.wrap,e.y))},t("CanonicalTileID",Uu),t("OverscaledTileID",A,{omit:["posMatrix"]});var qu=function(e,t,n){if(this.uid=e,t.height!==t.width)throw new RangeError("DEM tiles must be square");if(n&&"mapbox"!==n&&"terrarium"!==n)return ce('"'+n+'" is not a valid encoding type. Valid types include "mapbox" and "terrarium".');this.stride=t.height;var r=this.dim=t.height-2;this.data=new Uint32Array(t.data.buffer),this.encoding=n||"mapbox";for(var i=0;i<r;i++)this.data[this._idx(-1,i)]=this.data[this._idx(0,i)],this.data[this._idx(r,i)]=this.data[this._idx(r-1,i)],this.data[this._idx(i,-1)]=this.data[this._idx(i,0)],this.data[this._idx(i,r)]=this.data[this._idx(i,r-1)];this.data[this._idx(-1,-1)]=this.data[this._idx(0,0)],this.data[this._idx(r,-1)]=this.data[this._idx(r-1,0)],this.data[this._idx(-1,r)]=this.data[this._idx(0,r-1)],this.data[this._idx(r,r)]=this.data[this._idx(r-1,r-1)]};qu.prototype.get=function(e,t){var n=new Uint8Array(this.data.buffer),r=4*this._idx(e,t);return("terrarium"===this.encoding?this._unpackTerrarium:this._unpackMapbox)(n[r],n[r+1],n[r+2])},qu.prototype.getUnpackVector=function(){return"terrarium"===this.encoding?[256,1,1/256,32768]:[6553.6,25.6,.1,1e4]},qu.prototype._idx=function(e,t){if(e<-1||e>=this.dim+1||t<-1||t>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(t+1)*this.stride+(e+1)},qu.prototype._unpackMapbox=function(e,t,n){return(256*e*256+256*t+n)/10-1e4},qu.prototype._unpackTerrarium=function(e,t,n){return 256*e+t+n/256-32768},qu.prototype.getPixels=function(){return new xr({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},qu.prototype.backfillBorder=function(e,t,n){if(this.dim!==e.dim)throw new Error("dem dimension mismatch");var r=t*this.dim,i=t*this.dim+this.dim,o=n*this.dim,a=n*this.dim+this.dim;switch(t){case-1:r=i-1;break;case 1:i=r+1}switch(n){case-1:o=a-1;break;case 1:a=o+1}for(var s=-t*this.dim,l=-n*this.dim,u=o;u<a;u++)for(var c=r;c<i;c++)this.data[this._idx(c,u)]=e.data[this._idx(c+s,u+l)]},t("DEMData",qu);var Ku=function(e){this._stringToNumber={},this._numberToString=[];for(var t=0;t<e.length;t++){var n=e[t];this._stringToNumber[n]=t,this._numberToString[t]=n}};Ku.prototype.encode=function(e){return this._stringToNumber[e]},Ku.prototype.decode=function(e){return this._numberToString[e]};var Xu=function(e,t,n,r,i){this.type="Feature",this._vectorTileFeature=e,e._z=t,e._x=n,e._y=r,this.properties=e.properties,this.id=i},Ju={geometry:{configurable:!0}};Ju.geometry.get=function(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z,Xu.yLat).geometry),this._geometry},Ju.geometry.set=function(e){this._geometry=e},Xu.prototype.toJSON=function(){var e={geometry:this.geometry};for(var t in this)"_geometry"!==t&&"_vectorTileFeature"!==t&&(e[t]=this[t]);return e},Object.defineProperties(Xu.prototype,Ju);var $u=function(){this.state={},this.stateChanges={},this.deletedStates={}};$u.prototype.updateState=function(e,t,n){var r=String(t);if(this.stateChanges[e]=this.stateChanges[e]||{},this.stateChanges[e][r]=this.stateChanges[e][r]||{},V(this.stateChanges[e][r],n),null===this.deletedStates[e])for(var i in this.deletedStates[e]={},this.state[e])i!==r&&(this.deletedStates[e][i]=null);else if(this.deletedStates[e]&&null===this.deletedStates[e][r])for(var o in this.deletedStates[e][r]={},this.state[e][r])n[o]||(this.deletedStates[e][r][o]=null);else for(var a in n)this.deletedStates[e]&&this.deletedStates[e][r]&&null===this.deletedStates[e][r][a]&&delete this.deletedStates[e][r][a]},$u.prototype.removeFeatureState=function(e,t,n){if(null!==this.deletedStates[e]){var r=String(t);if(this.deletedStates[e]=this.deletedStates[e]||{},n&&void 0!==t)null!==this.deletedStates[e][r]&&(this.deletedStates[e][r]=this.deletedStates[e][r]||{},this.deletedStates[e][r][n]=null);else if(void 0!==t)if(this.stateChanges[e]&&this.stateChanges[e][r])for(n in this.deletedStates[e][r]={},this.stateChanges[e][r])this.deletedStates[e][r][n]=null;else this.deletedStates[e][r]=null;else this.deletedStates[e]=null}},$u.prototype.getState=function(e,t){var n=String(t),r=V({},(this.state[e]||{})[n],(this.stateChanges[e]||{})[n]);if(null===this.deletedStates[e])return{};if(this.deletedStates[e]){var i=this.deletedStates[e][t];if(null===i)return{};for(var o in i)delete r[o]}return r},$u.prototype.initializeTileState=function(e,t){e.setFeatureState(this.state,t)},$u.prototype.coalesceChanges=function(e,t){var n={};for(var r in this.stateChanges){this.state[r]=this.state[r]||{};var i={};for(var o in this.stateChanges[r])this.state[r][o]||(this.state[r][o]={}),V(this.state[r][o],this.stateChanges[r][o]),i[o]=this.state[r][o];n[r]=i}for(var a in this.deletedStates){this.state[a]=this.state[a]||{};var s={};if(null===this.deletedStates[a])for(var l in this.state[a])s[l]={},this.state[a][l]={};else for(var u in this.deletedStates[a]){if(null===this.deletedStates[a][u])this.state[a][u]={};else for(var c=0,f=Object.keys(this.deletedStates[a][u]);c<f.length;c+=1)delete this.state[a][u][f[c]];s[u]=this.state[a][u]}n[a]=n[a]||{},V(n[a],s)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(n).length)for(var h in e)e[h].setFeatureState(n,t)};var Zu=function(e,t){this.tileID=e,this.x=e.canonical.x,this.y=e.canonical.y,this.z=e.canonical.z,this.grid=new tt(8192,16,0),this.grid3D=new tt(8192,16,0),this.featureIndexArray=new bo,this.promoteId=t};function ec(e,r,i,o,a){return J(e,function(e,t){var n=r instanceof Ii?r.get(t):null;return n&&n.evaluate?n.evaluate(i,o,a):n})}function tc(e){for(var t=1/0,n=1/0,r=-1/0,i=-1/0,o=0,a=e;o<a.length;o+=1){var s=a[o];t=Math.min(t,s.x),n=Math.min(n,s.y),r=Math.max(r,s.x),i=Math.max(i,s.y)}return{minX:t,minY:n,maxX:r,maxY:i}}function nc(e,t){return t-e}Zu.prototype.insert=function(e,t,n,r,i,o){var a=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(n,r,i);for(var s=o?this.grid3D:this.grid,l=0;l<t.length;l++){for(var u=t[l],c=[1/0,1/0,-1/0,-1/0],f=0;f<u.length;f++){var h=u[f];c[0]=Math.min(c[0],h.x),c[1]=Math.min(c[1],h.y),c[2]=Math.max(c[2],h.x),c[3]=Math.max(c[3],h.y)}c[0]<8192&&c[1]<8192&&c[2]>=0&&c[3]>=0&&s.insert(a,c[0],c[1],c[2],c[3])}},Zu.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new Ss.VectorTile(new el(this.rawTileData)).layers,this.sourceLayerCoder=new Ku(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Zu.prototype.query=function(i,o,a,s){var l=this;this.loadVTLayers();for(var u=i.params||{},c=8192/i.tileSize/i.scale,f=Rr(u.filter),h=i.queryGeometry,d=i.queryPadding*c,e=tc(h),p=this.grid.query(e.minX-d,e.minY-d,e.maxX+d,e.maxY+d),t=tc(i.cameraQueryGeometry),n=this.grid3D.query(t.minX-d,t.minY-d,t.maxX+d,t.maxY+d,function(e,t,n,r){return function(e,t,n,r,i){for(var o=0,a=e;o<a.length;o+=1){var s=a[o];if(t<=s.x&&n<=s.y&&r>=s.x&&i>=s.y)return!0}var l=[new U(t,n),new U(t,i),new U(r,i),new U(r,n)];if(e.length>2)for(var u=0,c=l;u<c.length;u+=1)if(ua(e,c[u]))return!0;for(var f=0;f<e.length-1;f++)if(ca(e[f],e[f+1],l))return!0;return!1}(i.cameraQueryGeometry,e-d,t-d,n+d,r+d)}),r=0,y=n;r<y.length;r+=1)p.push(y[r]);p.sort(nc);for(var m,g={},v=function(e){var t=p[e];if(t!==m){m=t;var n=l.featureIndexArray.get(t),r=null;l.loadMatchingFeature(g,n.bucketIndex,n.sourceLayerIndex,n.featureIndex,f,u.layers,u.availableImages,o,a,s,function(e,t,n){return r||(r=Jo(e)),t.queryIntersectsFeature(h,e,n,r,l.z,i.transform,c,i.pixelPosMatrix)})}},b=0;b<p.length;b++)v(b);return g},Zu.prototype.loadMatchingFeature=function(e,t,n,r,i,o,a,s,l,u,c){var f=this.bucketLayerIDs[t];if(!o||function(e,t){for(var n=0;n<e.length;n++)if(t.indexOf(e[n])>=0)return!0;return!1}(o,f)){var h=this.sourceLayerCoder.decode(n),d=this.vtLayers[h].feature(r);if(i.filter(new H(this.tileID.overscaledZ),d))for(var p=this.getId(d,h),y=0;y<f.length;y++){var m=f[y];if(!(o&&o.indexOf(m)<0)){var g=s[m];if(g){var v={};void 0!==p&&u&&(v=u.getState(g.sourceLayer||"_geojsonTileLayer",p));var b=l[m];b.paint=ec(b.paint,g.paint,d,v,a),b.layout=ec(b.layout,g.layout,d,v,a);var _=!c||c(d,g,v);if(_){var x=new Xu(d,this.z,this.x,this.y,p);x.layer=b;var w=e[m];void 0===w&&(w=e[m]=[]),w.push({featureIndex:r,feature:x,intersectionZ:_})}}}}}},Zu.prototype.lookupSymbolFeatures=function(e,t,n,r,i,o,a,s){var l={};this.loadVTLayers();for(var u=Rr(i),c=0,f=e;c<f.length;c+=1)this.loadMatchingFeature(l,n,r,f[c],u,o,a,s,t);return l},Zu.prototype.hasLayer=function(e){for(var t=0,n=this.bucketLayerIDs;t<n.length;t+=1)for(var r=0,i=n[t];r<i.length;r+=1)if(e===i[r])return!0;return!1},Zu.prototype.getId=function(e,t){var n=e.id;return this.promoteId&&"boolean"==typeof(n=e.properties["string"==typeof this.promoteId?this.promoteId:this.promoteId[t]])&&(n=Number(n)),n},t("FeatureIndex",Zu,{omit:["rawTileData","sourceLayerCoder"]});var M=function(e,t){this.tileID=e,this.uid=G(),this.uses=0,this.tileSize=t,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.expiredRequestCount=0,this.state="loading"};M.prototype.registerFadeDuration=function(e){var t=e+this.timeAdded;t<ge.now()||this.fadeEndTime&&t<this.fadeEndTime||(this.fadeEndTime=t)},M.prototype.wasRequested=function(){return"errored"===this.state||"loaded"===this.state||"reloading"===this.state},M.prototype.loadVectorData=function(e,t,n){if(this.hasData()&&this.unloadVectorData(),this.state="loaded",e){for(var r in e.featureIndex&&(this.latestFeatureIndex=e.featureIndex,e.rawTileData?(this.latestRawTileData=e.rawTileData,this.latestFeatureIndex.rawTileData=e.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=e.collisionBoxArray,this.buckets=function(e,i){var o={};if(!i)return o;for(var t=function(){var e=s[a],n=e.layerIds.map(function(e){return i.getLayer(e)}).filter(Boolean);if(0!==n.length){e.layers=n,e.stateDependentLayerIds&&(e.stateDependentLayers=e.stateDependentLayerIds.map(function(t){return n.filter(function(e){return e.id===t})[0]}));for(var t=0,r=n;t<r.length;t+=1)o[r[t].id]=e}},a=0,s=e;a<s.length;a+=1)t();return o}(e.buckets,t.style),this.hasSymbolBuckets=!1,this.buckets){var i=this.buckets[r];if(i instanceof ue){if(this.hasSymbolBuckets=!0,!n)break;i.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(var o in this.buckets){var a=this.buckets[o];if(a instanceof ue&&a.hasRTLText){this.hasRTLText=!0,Si.isLoading()||Si.isLoaded()||"deferred"!==wi()||Ai();break}}for(var s in this.queryPadding=0,this.buckets){var l=this.buckets[s];this.queryPadding=Math.max(this.queryPadding,t.style.getLayer(s).queryRadius(l))}e.imageAtlas&&(this.imageAtlas=e.imageAtlas),e.glyphAtlasImage&&(this.glyphAtlasImage=e.glyphAtlasImage)}else this.collisionBoxArray=new co},M.prototype.unloadVectorData=function(){for(var e in this.buckets)this.buckets[e].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"},M.prototype.getBucket=function(e){return this.buckets[e.id]},M.prototype.upload=function(e){for(var t in this.buckets){var n=this.buckets[t];n.uploadPending()&&n.upload(e)}var r=e.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new ju(e,this.imageAtlas.image,r.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new ju(e,this.glyphAtlasImage,r.ALPHA),this.glyphAtlasImage=null)},M.prototype.prepare=function(e){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(e,this.imageAtlasTexture)},M.prototype.queryRenderedFeatures=function(e,t,n,r,i,o,a,s,l,u){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:r,cameraQueryGeometry:i,scale:o,tileSize:this.tileSize,pixelPosMatrix:u,transform:s,params:a,queryPadding:this.queryPadding*l},e,t,n):{}},M.prototype.querySourceFeatures=function(e,t){var n=this.latestFeatureIndex;if(n&&n.rawTileData){var r=n.loadVTLayers(),i=t?t.sourceLayer:"",o=r._geojsonTileLayer||r[i];if(o)for(var a=Rr(t&&t.filter),s=this.tileID.canonical,l=s.z,u=s.x,c=s.y,f={z:l,x:u,y:c},h=0;h<o.length;h++){var d=o.feature(h);if(a.filter(new H(this.tileID.overscaledZ),d)){var p=n.getId(d,i),y=new Xu(d,l,u,c,p);y.tile=f,e.push(y)}}}},M.prototype.hasData=function(){return"loaded"===this.state||"reloading"===this.state||"expired"===this.state},M.prototype.patternsLoaded=function(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length},M.prototype.setExpiryData=function(e){var t=this.expirationTime;if(e.cacheControl){var n=ie(e.cacheControl);n["max-age"]&&(this.expirationTime=Date.now()+1e3*n["max-age"])}else e.expires&&(this.expirationTime=new Date(e.expires).getTime());if(this.expirationTime){var r=Date.now(),i=!1;if(this.expirationTime>r)i=!1;else if(t)if(this.expirationTime<t)i=!0;else{var o=this.expirationTime-t;o?this.expirationTime=r+Math.max(o,3e4):i=!0}else i=!0;i?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}},M.prototype.getExpiryTimeout=function(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)},M.prototype.setFeatureState=function(e,t){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData&&0!==Object.keys(e).length){var n=this.latestFeatureIndex.loadVTLayers();for(var r in this.buckets)if(t.style.hasLayer(r)){var i=this.buckets[r],o=i.layers[0].sourceLayer||"_geojsonTileLayer",a=n[o],s=e[o];if(a&&s&&0!==Object.keys(s).length){i.update(s,a,this.imageAtlas&&this.imageAtlas.patternPositions||{});var l=t&&t.style&&t.style.getLayer(r);l&&(this.queryPadding=Math.max(this.queryPadding,l.queryRadius(i)))}}}},M.prototype.holdingForFade=function(){return void 0!==this.symbolFadeHoldUntil},M.prototype.symbolFadeFinished=function(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<ge.now()},M.prototype.clearFadeHold=function(){this.symbolFadeHoldUntil=void 0},M.prototype.setHoldDuration=function(e){this.symbolFadeHoldUntil=ge.now()+e},M.prototype.setDependencies=function(e,t){for(var n={},r=0,i=t;r<i.length;r+=1)n[i[r]]=!0;this.dependencies[e]=n},M.prototype.hasDependency=function(e,t){for(var n=0,r=e;n<r.length;n+=1){var i=this.dependencies[r[n]];if(i)for(var o=0,a=t;o<a.length;o+=1)if(i[a[o]])return!0}return!1};var rc=f.performance,ic=function(e){this._marks={start:[e.url,"start"].join("#"),end:[e.url,"end"].join("#"),measure:e.url.toString()},rc.mark(this._marks.start)};ic.prototype.finish=function(){rc.mark(this._marks.end);var e=rc.getEntriesByName(this._marks.measure);return 0===e.length&&(rc.measure(this._marks.measure,this._marks.start,this._marks.end),e=rc.getEntriesByName(this._marks.measure),rc.clearMarks(this._marks.start),rc.clearMarks(this._marks.end),rc.clearMeasures(this._marks.measure)),e},e.Actor=Bu,e.AlphaImage=_r,e.CanonicalTileID=Uu,e.CollisionBoxArray=co,e.Color=S,e.DEMData=qu,e.DataConstantProperty=n,e.DictionaryCoder=Ku,e.EXTENT=8192,e.ErrorEvent=Cr,e.EvaluationParameters=H,e.Event=Sr,e.Evented=Or,e.Feature=Xu,e.FeatureIndex=Zu,e.FillBucket=fs,e.FillExtrusionBucket=Ms,e.ImageAtlas=Al,e.ImagePosition=xl,e.LineBucket=zs,e.LngLat=c,e.LngLatBounds=l,e.MercatorCoordinate=Gu,e.ONE_EM=24,e.OverscaledTileID=A,e.Point=U,e.Point$1=U,e.Properties=Bi,e.Protobuf=el,e.RGBAImage=xr,e.RequestManager=Ae,e.RequestPerformance=ic,e.ResourceType=Qe,e.SegmentVector=L,e.SourceFeatureState=$u,e.StructArrayLayout1ui2=so,e.StructArrayLayout2f1f2i16=$i,e.StructArrayLayout2i4=Vi,e.StructArrayLayout3ui6=eo,e.StructArrayLayout4i8=Hi,e.SymbolBucket=ue,e.Texture=ju,e.Tile=M,e.Transitionable=Ei,e.Uniform1f=Lo,e.Uniform1i=Io,e.Uniform2f=jo,e.Uniform3f=Do,e.Uniform4f=Bo,e.UniformColor=Ro,e.UniformMatrix4f=zo,e.UnwrappedTileID=Qu,e.ValidationError=b,e.WritingMode=Sl,e.ZoomHistory=ui,e.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e},e.addDynamicAttributes=yu,e.asyncAll=function(e,t,r){if(!e.length)return r(null,[]);var i=e.length,o=new Array(e.length),a=null;e.forEach(function(e,n){t(e,function(e,t){e&&(a=e),o[n]=t,0==--i&&r(a,o)})})},e.bezier=B,e.bindAll=q,e.browser=ge,e.cacheEntryPossiblyAdded=function(e){++Ge>Fe&&(e.getActor().send("enforceCacheSizeLimit",ze),Ge=0)},e.clamp=N,e.clearTileCache=function(e){var t=f.caches.delete("mapbox-tiles");e&&t.catch(e).then(function(){return e()})},e.clipLine=ql,e.clone=function(e){var t=new ma(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},e.clone$1=Z,e.clone$2=function(e){var t=new ma(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},e.collisionCircleLayout=Ks,e.config=u,e.create=function(){var e=new ma(16);return ma!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e},e.create$1=function(){var e=new ma(9);return ma!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e},e.create$2=function(){var e=new ma(4);return ma!=Float32Array&&(e[1]=0,e[2]=0),e[0]=1,e[3]=1,e},e.createCommonjsModule=P,e.createExpression=ir,e.createLayout=a,e.createStyleLayer=function(e){return"custom"===e.type?new Eu(e):new Mu[e.type](e)},e.cross=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=n[0],s=n[1],l=n[2];return e[0]=i*l-o*s,e[1]=o*a-r*l,e[2]=r*s-i*a,e},e.deepEqual=function e(t,n){if(Array.isArray(t)){if(!Array.isArray(n)||t.length!==n.length)return!1;for(var r=0;r<t.length;r++)if(!e(t[r],n[r]))return!1;return!0}if("object"==typeof t&&null!==t&&null!==n){if("object"!=typeof n)return!1;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var i in t)if(!e(t[i],n[i]))return!1;return!0}return t===n},e.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},e.dot$1=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},e.ease=R,e.emitValidationErrors=li,e.endsWith=X,e.enforceCacheSizeLimit=function(r){Ve(),Ie&&Ie.then(function(n){n.keys().then(function(e){for(var t=0;t<e.length-r;t++)n.delete(e[t])})})},e.evaluateSizeForFeature=zl,e.evaluateSizeForZoom=Fl,e.evaluateVariableOffset=su,e.evented=xi,e.extend=V,e.featureFilter=Rr,e.filterObject=$,e.fromRotation=function(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=0,e[3]=-n,e[4]=r,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},e.getAnchorAlignment=jl,e.getAnchorJustification=lu,e.getArrayBuffer=$e,e.getImage=et,e.getJSON=function(e,t){return Je(V(e,{type:"json"}),t)},e.getRTLTextPluginStatus=wi,e.getReferrer=qe,e.getVideo=function(e,t){var n,r,i=f.document.createElement("video");i.muted=!0,i.onloadstart=function(){t(null,i)};for(var o=0;o<e.length;o++){var a=f.document.createElement("source");n=e[o],r=void 0,(r=f.document.createElement("a")).href=n,(r.protocol!==f.document.location.protocol||r.host!==f.document.location.host)&&(i.crossOrigin="Anonymous"),a.src=e[o],i.appendChild(a)}return{cancel:function(){}}},e.identity=ga,e.invert=function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],c=t[8],f=t[9],h=t[10],d=t[11],p=t[12],y=t[13],m=t[14],g=t[15],v=n*s-r*a,b=n*l-i*a,_=n*u-o*a,x=r*l-i*s,w=r*u-o*s,A=i*u-o*l,S=c*y-f*p,C=c*m-h*p,O=c*g-d*p,E=f*m-h*y,M=f*g-d*y,P=h*g-d*m,k=v*P-b*M+_*E+x*O-w*C+A*S;return k?(e[0]=(s*P-l*M+u*E)*(k=1/k),e[1]=(i*M-r*P-o*E)*k,e[2]=(y*A-m*w+g*x)*k,e[3]=(h*w-f*A-d*x)*k,e[4]=(l*O-a*P-u*C)*k,e[5]=(n*P-i*O+o*C)*k,e[6]=(m*_-p*A-g*b)*k,e[7]=(c*A-h*_+d*b)*k,e[8]=(a*M-s*O+u*S)*k,e[9]=(r*O-n*M-o*S)*k,e[10]=(p*w-y*_+g*v)*k,e[11]=(f*_-c*w-d*v)*k,e[12]=(s*C-a*E-l*S)*k,e[13]=(n*E-r*C+i*S)*k,e[14]=(y*b-p*x-m*v)*k,e[15]=(c*x-f*b+h*v)*k,e):null},e.isChar=K,e.isMapboxURL=Se,e.keysDifference=function(e,t){var n=[];for(var r in e)r in t||n.push(r);return n},e.makeRequest=Je,e.mapObject=J,e.mercatorXfromLng=Fu,e.mercatorYfromLat=Vu,e.mercatorZfromAltitude=Hu,e.mul=_a,e.multiply=va,e.mvt=Ss,e.nextPowerOfTwo=function(e){return e<=1?1:Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))},e.normalize=function(e,t){var n=t[0],r=t[1],i=t[2],o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o)),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o,e},e.number=C,e.offscreenCanvasSupported=Ue,e.ortho=function(e,t,n,r,i,o,a){var s=1/(t-n),l=1/(r-i),u=1/(o-a);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(t+n)*s,e[13]=(i+r)*l,e[14]=(a+o)*u,e[15]=1,e},e.parseGlyphPBF=function(e){return new el(e).readFields(gl,[])},e.pbf=el,e.performSymbolLayout=function(M,P,k,T,I,e,L){M.createArrays(),M.tilePixelRatio=8192/(512*M.overscaling),M.compareText={},M.iconsNeedLinear=!1;var j=M.layers[0].layout,t=M.layers[0]._unevaluatedLayout._values,D={};if("composite"===M.textSizeData.kind){var n=M.textSizeData,r=n.maxZoom;D.compositeTextSizes=[t["text-size"].possiblyEvaluate(new H(n.minZoom),L),t["text-size"].possiblyEvaluate(new H(r),L)]}if("composite"===M.iconSizeData.kind){var i=M.iconSizeData,o=i.maxZoom;D.compositeIconSizes=[t["icon-size"].possiblyEvaluate(new H(i.minZoom),L),t["icon-size"].possiblyEvaluate(new H(o),L)]}D.layoutTextSize=t["text-size"].possiblyEvaluate(new H(M.zoom+1),L),D.layoutIconSize=t["icon-size"].possiblyEvaluate(new H(M.zoom+1),L),D.textMaxSize=t["text-size"].possiblyEvaluate(new H(18));for(var B=24*j.get("text-line-height"),R="map"===j.get("text-rotation-alignment")&&"point"!==j.get("symbol-placement"),N=j.get("text-keep-upright"),z=j.get("text-size"),a=function(){var e=V[F],t=j.get("text-font").evaluate(e,{},L).join(","),n=z.evaluate(e,{},L),r=D.layoutTextSize.evaluate(e,{},L),i=D.layoutIconSize.evaluate(e,{},L),o={horizontal:{},vertical:void 0},a=e.text,s=[0,0];if(a){var l=a.toString(),u=24*j.get("text-letter-spacing").evaluate(e,{},L),c=function(e){for(var t=0,n=e;t<n.length;t+=1)if(r=n[t].charCodeAt(0),K.Arabic(r)||K["Arabic Supplement"](r)||K["Arabic Extended-A"](r)||K["Arabic Presentation Forms-A"](r)||K["Arabic Presentation Forms-B"](r))return!1;var r;return!0}(l)?u:0,f=j.get("text-anchor").evaluate(e,{},L),h=j.get("text-variable-anchor");if(!h){var d=j.get("text-radial-offset").evaluate(e,{},L);s=d?su(f,[24*d,au]):j.get("text-offset").evaluate(e,{},L).map(function(e){return 24*e})}var p=R?"center":j.get("text-justify").evaluate(e,{},L),y=j.get("symbol-placement"),m="point"===y?24*j.get("text-max-width").evaluate(e,{},L):0,g=function(){M.allowVerticalPlacement&&ci(l)&&(o.vertical=Ol(a,P,k,I,t,m,B,f,"left",c,s,Sl.vertical,!0,y,r,n))};if(!R&&h){for(var v="auto"===p?h.map(function(e){return lu(e)}):[p],b=!1,_=0;_<v.length;_++){var x=v[_];if(!o.horizontal[x])if(b)o.horizontal[x]=o.horizontal[0];else{var w=Ol(a,P,k,I,t,m,B,"center",x,c,s,Sl.horizontal,!1,y,r,n);w&&(o.horizontal[x]=w,b=1===w.positionedLines.length)}}g()}else{"auto"===p&&(p=lu(f));var A=Ol(a,P,k,I,t,m,B,f,p,c,s,Sl.horizontal,!1,y,r,n);A&&(o.horizontal[p]=A),g(),ci(l)&&R&&N&&(o.vertical=Ol(a,P,k,I,t,m,B,f,p,c,s,Sl.vertical,!1,y,r,n))}}var S=void 0,C=!1;if(e.icon&&e.icon.name){var O=T[e.icon.name];O&&(S=function(e,t,n){var r=jl(n),i=t[0]-e.displaySize[0]*r.horizontalAlign,o=t[1]-e.displaySize[1]*r.verticalAlign;return{image:e,top:o,bottom:o+e.displaySize[1],left:i,right:i+e.displaySize[0]}}(I[e.icon.name],j.get("icon-offset").evaluate(e,{},L),j.get("icon-anchor").evaluate(e,{},L)),C=O.sdf,void 0===M.sdfIcons?M.sdfIcons=O.sdf:M.sdfIcons!==O.sdf&&ce("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),(O.pixelRatio!==M.pixelRatio||0!==j.get("icon-rotate").constantOr(1))&&(M.iconsNeedLinear=!0))}var E=cu(o.horizontal)||o.vertical;M.iconsInText=!!E&&E.iconsInText,(E||S)&&function(n,r,i,o,B,a,s,R,N,z,l){var e=a.textMaxSize.evaluate(r,{});void 0===e&&(e=s);var u,t=n.layers[0].layout,c=t.get("icon-offset").evaluate(r,{},l),f=cu(i.horizontal),h=s/24,F=n.tilePixelRatio*h,d=n.tilePixelRatio*e/24,V=n.tilePixelRatio*R,p=n.tilePixelRatio*t.get("symbol-spacing"),H=t.get("text-padding")*n.tilePixelRatio,Y=t.get("icon-padding")*n.tilePixelRatio,y=t.get("text-max-angle")/180*Math.PI,G="map"===t.get("text-rotation-alignment")&&"point"!==t.get("symbol-placement"),U="map"===t.get("icon-rotation-alignment")&&"point"!==t.get("symbol-placement"),m=t.get("symbol-placement"),Q=p/2,g=t.get("icon-text-fit");o&&"none"!==g&&(n.allowVerticalPlacement&&i.vertical&&(u=Bl(o,i.vertical,g,t.get("icon-text-fit-padding"),c,h)),f&&(o=Bl(o,f,g,t.get("icon-text-fit-padding"),c,h)));var v=function(e,t){t.x<0||t.x>=8192||t.y<0||t.y>=8192||function(e,t,B,n,r,i,o,a,s,l,u,c,f,h,d,p,y,m,R,N,g,v,z,b,F){var V,_,x,w,A,S=e.addToLineVertexArray(t,B),H=0,Y=0,G=0,U=0,C=-1,O=-1,E={},Q=Co(""),M=0,P=0;if(void 0===a._unevaluatedLayout.getValue("text-radial-offset")?(M=(V=a.layout.get("text-offset").evaluate(g,{},b).map(function(e){return 24*e}))[0],P=V[1]):(M=24*a.layout.get("text-radial-offset").evaluate(g,{},b),P=au),e.allowVerticalPlacement&&n.vertical){var W=a.layout.get("text-rotate").evaluate(g,{},b)+90;w=new eu(s,t,l,u,c,n.vertical,f,h,d,W),o&&(A=new eu(s,t,l,u,c,o,y,m,d,W))}if(r){var k=a.layout.get("icon-rotate").evaluate(g,{}),q="none"!==a.layout.get("icon-text-fit"),K=Kl(r,k,z,q),T=o?Kl(o,k,z,q):void 0;x=new eu(s,t,l,u,c,r,y,m,!1,k),H=4*K.length;var X=e.iconSizeData,I=null;"source"===X.kind?(I=[128*a.layout.get("icon-size").evaluate(g,{})])[0]>32640&&ce(e.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):"composite"===X.kind&&((I=[128*v.compositeIconSizes[0].evaluate(g,{},b),128*v.compositeIconSizes[1].evaluate(g,{},b)])[0]>32640||I[1]>32640)&&ce(e.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),e.addSymbols(e.icon,K,I,N,R,g,!1,t,S.lineStartIndex,S.lineLength,-1,b),C=e.icon.placedSymbolArray.length-1,T&&(Y=4*T.length,e.addSymbols(e.icon,T,I,N,R,g,Sl.vertical,t,S.lineStartIndex,S.lineLength,-1,b),O=e.icon.placedSymbolArray.length-1)}for(var J in n.horizontal){var L=n.horizontal[J];if(!_){Q=Co(L.text);var $=a.layout.get("text-rotate").evaluate(g,{},b);_=new eu(s,t,l,u,c,L,f,h,d,$)}var Z=1===L.positionedLines.length;if(G+=uu(e,t,L,i,a,d,g,p,S,n.vertical?Sl.horizontal:Sl.horizontalOnly,Z?Object.keys(n.horizontal):[J],E,C,v,b),Z)break}n.vertical&&(U+=uu(e,t,n.vertical,i,a,d,g,p,S,Sl.vertical,["vertical"],E,O,v,b));var ee=_?_.boxStartIndex:e.collisionBoxArray.length,te=_?_.boxEndIndex:e.collisionBoxArray.length,ne=w?w.boxStartIndex:e.collisionBoxArray.length,re=w?w.boxEndIndex:e.collisionBoxArray.length,ie=x?x.boxStartIndex:e.collisionBoxArray.length,oe=x?x.boxEndIndex:e.collisionBoxArray.length,ae=A?A.boxStartIndex:e.collisionBoxArray.length,se=A?A.boxEndIndex:e.collisionBoxArray.length,j=-1,D=function(e,t){return e&&e.circleDiameter?Math.max(e.circleDiameter,t):t};j=D(_,j),j=D(w,j),j=D(x,j);var le=(j=D(A,j))>-1?1:0;le&&(j*=F/24),e.glyphOffsetArray.length>=ue.MAX_GLYPHS&&ce("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),void 0!==g.sortKey&&e.addToSortKeyRanges(e.symbolInstances.length,g.sortKey),e.symbolInstances.emplaceBack(t.x,t.y,E.right>=0?E.right:-1,E.center>=0?E.center:-1,E.left>=0?E.left:-1,E.vertical||-1,C,O,Q,ee,te,ne,re,ie,oe,ae,se,l,G,U,H,Y,le,0,f,M,P,j)}(n,t,e,i,o,B,u,n.layers[0],n.collisionBoxArray,r.index,r.sourceLayerIndex,n.index,F,H,G,N,V,Y,U,c,r,a,z,l,s)};if("line"===m)for(var b=0,_=ql(r.geometry,0,0,8192,8192);b<_.length;b+=1)for(var x=_[b],w=0,A=Wl(x,p,y,i.vertical||f,o,24,d,n.overscaling,8192);w<A.length;w+=1){var S=A[w];f&&fu(n,f.text,Q,S)||v(x,S)}else if("line-center"===m)for(var C=0,O=r.geometry;C<O.length;C+=1){var E=O[C];if(E.length>1){var M=Ql(E,y,i.vertical||f,o,24,d);M&&v(E,M)}}else if("Polygon"===r.type)for(var P=0,k=ss(r.geometry,0);P<k.length;P+=1){var W=k[P],q=ru(W,16);v(W[0],new Rl(q.x,q.y,0))}else if("LineString"===r.type)for(var T=0,K=r.geometry;T<K.length;T+=1){var I=K[T];v(I,new Rl(I[0].x,I[0].y,0))}else if("Point"===r.type)for(var L=0,X=r.geometry;L<X.length;L+=1)for(var j=0,J=X[L];j<J.length;j+=1){var D=J[j];v([D],new Rl(D.x,D.y,0))}}(M,e,o,S,T,D,r,i,s,C,L)},F=0,V=M.features;F<V.length;F+=1)a();e&&M.generateCollisionDebugBuffers()},e.perspective=function(e,t,n,r,i){var o,a=1/Math.tan(t/2);return e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0?(e[10]=(i+r)*(o=1/(r-i)),e[14]=2*i*r*o):(e[10]=-1,e[14]=-2*r),e},e.pick=function(e,t){for(var n={},r=0;r<t.length;r++){var i=t[r];i in e&&(n[i]=e[i])}return n},e.plugin=Si,e.polygonIntersectsPolygon=ea,e.postMapLoadEvent=Ne,e.postTurnstileEvent=Be,e.potpack=_l,e.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],e.register=t,e.registerForPluginStateChange=function(e){return e({pluginStatus:gi,pluginURL:vi}),xi.on("pluginStateChange",e),e},e.renderColorRamp=Oa,e.rotate=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=r*l+o*s,e[1]=i*l+a*s,e[2]=r*-s+o*l,e[3]=i*-s+a*l,e},e.rotateX=function(e,t,n){var r=Math.sin(n),i=Math.cos(n),o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],c=t[9],f=t[10],h=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=o*i+u*r,e[5]=a*i+c*r,e[6]=s*i+f*r,e[7]=l*i+h*r,e[8]=u*i-o*r,e[9]=c*i-a*r,e[10]=f*i-s*r,e[11]=h*i-l*r,e},e.rotateZ=function(e,t,n){var r=Math.sin(n),i=Math.cos(n),o=t[0],a=t[1],s=t[2],l=t[3],u=t[4],c=t[5],f=t[6],h=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=o*i+u*r,e[1]=a*i+c*r,e[2]=s*i+f*r,e[3]=l*i+h*r,e[4]=u*i-o*r,e[5]=c*i-a*r,e[6]=f*i-s*r,e[7]=h*i-l*r,e},e.scale=function(e,t,n){var r=n[0],i=n[1],o=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*o,e[9]=t[9]*o,e[10]=t[10]*o,e[11]=t[11]*o,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},e.scale$1=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e},e.scale$2=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e},e.setCacheLimits=function(e,t){ze=e,Fe=t},e.setRTLTextPlugin=function(e,t,n){if(void 0===n&&(n=!1),"deferred"===gi||"loading"===gi||"loaded"===gi)throw new Error("setRTLTextPlugin cannot be called multiple times.");vi=ge.resolveURL(e),gi="deferred",mi=t,_i(),n||Ai()},e.sphericalToCartesian=function(e){var t=e[0],n=e[1],r=e[2];return n+=90,n*=Math.PI/180,r*=Math.PI/180,{x:t*Math.cos(n)*Math.sin(r),y:t*Math.sin(n)*Math.sin(r),z:t*Math.cos(r)}},e.sqrLen=function(e){var t=e[0],n=e[1];return t*t+n*n},e.styleSpec=o,e.sub=function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e},e.symbolSize=Vl,e.transformMat3=function(e,t,n){var r=t[0],i=t[1],o=t[2];return e[0]=r*n[0]+i*n[3]+o*n[6],e[1]=r*n[1]+i*n[4]+o*n[7],e[2]=r*n[2]+i*n[5]+o*n[8],e},e.transformMat4=xa,e.translate=function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,y=n[0],m=n[1],g=n[2];return t===e?(e[12]=t[0]*y+t[4]*m+t[8]*g+t[12],e[13]=t[1]*y+t[5]*m+t[9]*g+t[13],e[14]=t[2]*y+t[6]*m+t[10]*g+t[14],e[15]=t[3]*y+t[7]*m+t[11]*g+t[15]):(i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=t[8],h=t[9],d=t[10],p=t[11],e[0]=r=t[0],e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e[6]=u,e[7]=c,e[8]=f,e[9]=h,e[10]=d,e[11]=p,e[12]=r*y+s*m+f*g+t[12],e[13]=i*y+l*m+h*g+t[13],e[14]=o*y+u*m+d*g+t[14],e[15]=a*y+c*m+p*g+t[15]),e},e.triggerPluginCompletionEvent=bi,e.uniqueId=G,e.validateCustomStyleLayer=function(e){var t=[],n=e.id;return void 0===n&&t.push({message:"layers."+n+': missing required property "id"'}),void 0===e.render&&t.push({message:"layers."+n+': missing required method "render"'}),e.renderingMode&&"2d"!==e.renderingMode&&"3d"!==e.renderingMode&&t.push({message:"layers."+n+': property "renderingMode" must be either "2d" or "3d"'}),t},e.validateLight=oi,e.validateStyle=ii,e.values=function(e){var t=[];for(var n in e)t.push(e[n]);return t},e.version="1.12.0",e.warnOnce=ce,e.webpSupported=ve,e.window=f,e.wrap=F}),e(["./shared"],function(k){"use strict";function l(e){var t=typeof e;if("number"===t||"boolean"===t||"string"===t||null==e)return JSON.stringify(e);if(Array.isArray(e)){for(var n="[",r=0,i=e;r<i.length;r+=1)n+=l(i[r])+",";return n+"]"}for(var o=Object.keys(e).sort(),a="{",s=0;s<o.length;s++)a+=JSON.stringify(o[s])+":"+l(e[o[s]])+",";return a+"}"}function B(e){for(var t="",n=0,r=k.refProperties;n<r.length;n+=1)t+="/"+l(e[r[n]]);return t}var n=function(e){this.keyCache={},e&&this.replace(e)};n.prototype.replace=function(e){this._layerConfigs={},this._layers={},this.update(e,[])},n.prototype.update=function(e,t){for(var n=this,r=0,i=e;r<i.length;r+=1){var o=i[r];this._layerConfigs[o.id]=o;var a=this._layers[o.id]=k.createStyleLayer(o);a._featureFilter=k.featureFilter(a.filter),this.keyCache[o.id]&&delete this.keyCache[o.id]}for(var s=0,l=t;s<l.length;s+=1){var u=l[s];delete this.keyCache[u],delete this._layerConfigs[u],delete this._layers[u]}this.familiesBySource={};for(var c=0,f=function(e,t){for(var n={},r=0;r<e.length;r++){var i=t&&t[e[r].id]||B(e[r]);t&&(t[e[r].id]=i);var o=n[i];o||(o=n[i]=[]),o.push(e[r])}var a=[];for(var s in n)a.push(n[s]);return a}(k.values(this._layerConfigs),this.keyCache);c<f.length;c+=1){var h=f[c].map(function(e){return n._layers[e.id]}),d=h[0];if("none"!==d.visibility){var p=d.source||"",y=this.familiesBySource[p];y||(y=this.familiesBySource[p]={});var m=d.sourceLayer||"_geojsonTileLayer",g=y[m];g||(g=y[m]=[]),g.push(h)}}};var T=function(e){var t={},n=[];for(var r in e){var i=e[r],o=t[r]={};for(var a in i){var s=i[+a];if(s&&0!==s.bitmap.width&&0!==s.bitmap.height){var l={x:0,y:0,w:s.bitmap.width+2,h:s.bitmap.height+2};n.push(l),o[a]={rect:l,metrics:s.metrics}}}}var u=k.potpack(n),c=new k.AlphaImage({width:u.w||1,height:u.h||1});for(var f in e){var h=e[f];for(var d in h){var p=h[+d];if(p&&0!==p.bitmap.width&&0!==p.bitmap.height){var y=t[f][d].rect;k.AlphaImage.copy(p.bitmap,c,{x:0,y:0},{x:y.x+1,y:y.y+1},p.bitmap)}}}this.image=c,this.positions=t};k.register("GlyphAtlas",T);var t=function(e){this.tileID=new k.OverscaledTileID(e.tileID.overscaledZ,e.tileID.wrap,e.tileID.canonical.z,e.tileID.canonical.x,e.tileID.canonical.y),this.uid=e.uid,this.zoom=e.zoom,this.pixelRatio=e.pixelRatio,this.tileSize=e.tileSize,this.source=e.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=e.showCollisionBoxes,this.collectResourceTiming=!!e.collectResourceTiming,this.returnDependencies=!!e.returnDependencies,this.promoteId=e.promoteId};function I(e,t,n){for(var r=new k.EvaluationParameters(t),i=0,o=e;i<o.length;i+=1)o[i].recalculate(r,n)}function R(e,i){var t=k.getArrayBuffer(e.request,function(e,t,n,r){e?i(e):t&&i(null,{vectorTile:new k.mvt.VectorTile(new k.pbf(t)),rawData:t,cacheControl:n,expires:r})});return function(){t.cancel(),i()}}t.prototype.parse=function(e,t,i,n,o){var r=this;this.status="parsing",this.data=e,this.collisionBoxArray=new k.CollisionBoxArray;var a=new k.DictionaryCoder(Object.keys(e.layers).sort()),s=new k.FeatureIndex(this.tileID,this.promoteId);s.bucketLayerIDs=[];var l,u,c,f,h={},d={featureIndex:s,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:i},p=t.familiesBySource[this.source];for(var y in p){var m=e.layers[y];if(m){1===m.version&&k.warnOnce('Vector tile source "'+this.source+'" layer "'+y+'" does not use vector tile spec v2 and therefore may have some rendering errors.');for(var g=a.encode(y),v=[],b=0;b<m.length;b++){var _=m.feature(b),x=s.getId(_,y);v.push({feature:_,id:x,index:b,sourceLayerIndex:g})}for(var w=0,A=p[y];w<A.length;w+=1){var S=A[w],C=S[0];C.minzoom&&this.zoom<Math.floor(C.minzoom)||C.maxzoom&&this.zoom>=C.maxzoom||"none"!==C.visibility&&(I(S,this.zoom,i),(h[C.id]=C.createBucket({index:s.bucketLayerIDs.length,layers:S,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:g,sourceID:this.source})).populate(v,d,this.tileID.canonical),s.bucketLayerIDs.push(S.map(function(e){return e.id})))}}}var O=k.mapObject(d.glyphDependencies,function(e){return Object.keys(e).map(Number)});Object.keys(O).length?n.send("getGlyphs",{uid:this.uid,stacks:O},function(e,t){l||(l=e,u=t,P.call(r))},!1,this.source):u={};var E=Object.keys(d.iconDependencies);E.length?n.send("getImages",{icons:E,source:this.source,tileID:this.tileID,type:"icons"},function(e,t){l||(l=e,c=t,P.call(r))},!1,this.source):c={};var M=Object.keys(d.patternDependencies);function P(){if(l)return o(l);if(u&&c&&f){var e=new T(u),t=new k.ImageAtlas(c,f);for(var n in h){var r=h[n];r instanceof k.SymbolBucket?(I(r.layers,this.zoom,i),k.performSymbolLayout(r,u,e.positions,c,t.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):r.hasPattern&&(r instanceof k.LineBucket||r instanceof k.FillBucket||r instanceof k.FillExtrusionBucket)&&(I(r.layers,this.zoom,i),r.addFeatures(d,this.tileID.canonical,t.patternPositions))}this.status="done",o(null,{buckets:k.values(h).filter(function(e){return!e.isEmpty()}),featureIndex:s,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:e.image,imageAtlas:t,glyphMap:this.returnDependencies?u:null,iconMap:this.returnDependencies?c:null,glyphPositions:this.returnDependencies?e.positions:null})}}M.length?n.send("getImages",{icons:M,source:this.source,tileID:this.tileID,type:"patterns"},function(e,t){l||(l=e,f=t,P.call(r))},!1,this.source):f={},P.call(this)};var r=function(e,t,n,r){this.actor=e,this.layerIndex=t,this.availableImages=n,this.loadVectorData=r||R,this.loading={},this.loaded={}};r.prototype.loadTile=function(e,a){var s=this,l=e.uid;this.loading||(this.loading={});var u=!!(e&&e.request&&e.request.collectResourceTiming)&&new k.RequestPerformance(e.request),c=this.loading[l]=new t(e);c.abort=this.loadVectorData(e,function(e,t){if(delete s.loading[l],e||!t)return c.status="done",s.loaded[l]=c,a(e);var n=t.rawData,r={};t.expires&&(r.expires=t.expires),t.cacheControl&&(r.cacheControl=t.cacheControl);var i={};if(u){var o=u.finish();o&&(i.resourceTiming=JSON.parse(JSON.stringify(o)))}c.vectorTile=t.vectorTile,c.parse(t.vectorTile,s.layerIndex,s.availableImages,s.actor,function(e,t){if(e||!t)return a(e);a(null,k.extend({rawTileData:n.slice(0)},t,r,i))}),s.loaded=s.loaded||{},s.loaded[l]=c})},r.prototype.reloadTile=function(e,r){var i=this,t=this.loaded,n=e.uid,o=this;if(t&&t[n]){var a=t[n];a.showCollisionBoxes=e.showCollisionBoxes;var s=function(e,t){var n=a.reloadCallback;n&&(delete a.reloadCallback,a.parse(a.vectorTile,o.layerIndex,i.availableImages,o.actor,n)),r(e,t)};"parsing"===a.status?a.reloadCallback=s:"done"===a.status&&(a.vectorTile?a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,s):s())}},r.prototype.abortTile=function(e,t){var n=this.loading,r=e.uid;n&&n[r]&&n[r].abort&&(n[r].abort(),delete n[r]),t()},r.prototype.removeTile=function(e,t){var n=this.loaded,r=e.uid;n&&n[r]&&delete n[r],t()};var s=k.window.ImageBitmap,i=function(){this.loaded={}};function N(e,t){if(0!==e.length){z(e[0],t);for(var n=1;n<e.length;n++)z(e[n],!t)}}function z(e,t){for(var n=0,r=0,i=e.length,o=i-1;r<i;o=r++)n+=(e[r][0]-e[o][0])*(e[o][1]+e[r][1]);n>=0!=!!t&&e.reverse()}i.prototype.loadTile=function(e,t){var n=e.uid,r=e.encoding,i=e.rawImageData,o=s&&i instanceof s?this.getImageData(i):i,a=new k.DEMData(n,o,r);this.loaded=this.loaded||{},this.loaded[n]=a,t(null,a)},i.prototype.getImageData=function(e){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(e.width,e.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=e.width,this.offscreenCanvas.height=e.height,this.offscreenCanvasContext.drawImage(e,0,0,e.width,e.height);var t=this.offscreenCanvasContext.getImageData(-1,-1,e.width+2,e.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new k.RGBAImage({width:t.width,height:t.height},t.data)},i.prototype.removeTile=function(e){var t=this.loaded,n=e.uid;t&&t[n]&&delete t[n]};var F=k.mvt.VectorTileFeature.prototype.toGeoJSON,o=function(e){this._feature=e,this.extent=k.EXTENT,this.type=e.type,this.properties=e.tags,"id"in e&&!isNaN(e.id)&&(this.id=parseInt(e.id,10))};o.prototype.loadGeometry=function(){if(1===this._feature.type){for(var e=[],t=0,n=this._feature.geometry;t<n.length;t+=1){var r=n[t];e.push([new k.Point$1(r[0],r[1])])}return e}for(var i=[],o=0,a=this._feature.geometry;o<a.length;o+=1){for(var s=[],l=0,u=a[o];l<u.length;l+=1){var c=u[l];s.push(new k.Point$1(c[0],c[1]))}i.push(s)}return i},o.prototype.toGeoJSON=function(e,t,n){return F.call(this,e,t,n)};var V=function(e){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=k.EXTENT,this.length=e.length,this._features=e};V.prototype.feature=function(e){return new o(this._features[e])};var H=d;function d(e,t,n,r,i){this.properties={},this.extent=n,this.type=0,this._pbf=e,this._geometry=-1,this._keys=r,this._values=i,e.readFields(Y,this,t)}function Y(e,t,n){1==e?t.id=n.readVarint():2==e?function(e,t){for(var n=e.readVarint()+e.pos;e.pos<n;){var r=t._keys[e.readVarint()],i=t._values[e.readVarint()];t.properties[r]=i}}(n,t):3==e?t.type=n.readVarint():4==e&&(t._geometry=n.pos)}function G(e){for(var t,n,r=0,i=0,o=e.length,a=o-1;i<o;a=i++)r+=((n=e[a]).x-(t=e[i]).x)*(t.y+n.y);return r}d.types=["Unknown","Point","LineString","Polygon"],d.prototype.loadGeometry=function(){var e=this._pbf;e.pos=this._geometry;for(var t,n=e.readVarint()+e.pos,r=1,i=0,o=0,a=0,s=[];e.pos<n;){if(i<=0){var l=e.readVarint();r=7&l,i=l>>3}if(i--,1===r||2===r)o+=e.readSVarint(),a+=e.readSVarint(),1===r&&(t&&s.push(t),t=[]),t.push(new k.Point$1(o,a));else{if(7!==r)throw new Error("unknown command "+r);t&&t.push(t[0].clone())}}return t&&s.push(t),s},d.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,n=1,r=0,i=0,o=0,a=1/0,s=-1/0,l=1/0,u=-1/0;e.pos<t;){if(r<=0){var c=e.readVarint();n=7&c,r=c>>3}if(r--,1===n||2===n)(i+=e.readSVarint())<a&&(a=i),i>s&&(s=i),(o+=e.readSVarint())<l&&(l=o),o>u&&(u=o);else if(7!==n)throw new Error("unknown command "+n)}return[a,l,s,u]},d.prototype.toGeoJSON=function(e,t,n){var r,i,o=this.extent*Math.pow(2,n),a=this.extent*e,s=this.extent*t,l=this.loadGeometry(),u=d.types[this.type];function c(e){for(var t=0;t<e.length;t++){var n=e[t],r=180-360*(n.y+s)/o,i=yLat&&yLat(n.y+s,o);e[t]=[360*(n.x+a)/o-180,i||360/Math.PI*Math.atan(Math.exp(r*Math.PI/180))-90]}}switch(this.type){case 1:var f=[];for(r=0;r<l.length;r++)f[r]=l[r][0];c(l=f);break;case 2:for(r=0;r<l.length;r++)c(l[r]);break;case 3:for(l=function(e){var t=e.length;if(t<=1)return[e];for(var n,r,i=[],o=0;o<t;o++){var a=G(e[o]);0!==a&&(void 0===r&&(r=a<0),r===a<0?(n&&i.push(n),n=[e[o]]):n.push(e[o]))}return n&&i.push(n),i}(l),r=0;r<l.length;r++)for(i=0;i<l[r].length;i++)c(l[r][i])}1===l.length?l=l[0]:u="Multi"+u;var h={type:"Feature",geometry:{type:u,coordinates:l},properties:this.properties};return"id"in this&&(h.id=this.id),h};var U=Q;function Q(e,t){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=e,this._keys=[],this._values=[],this._features=[],e.readFields(W,this,t),this.length=this._features.length}function W(e,t,n){15===e?t.version=n.readVarint():1===e?t.name=n.readString():5===e?t.extent=n.readVarint():2===e?t._features.push(n.pos):3===e?t._keys.push(n.readString()):4===e&&t._values.push(function(e){for(var t=null,n=e.readVarint()+e.pos;e.pos<n;){var r=e.readVarint()>>3;t=1===r?e.readString():2===r?e.readFloat():3===r?e.readDouble():4===r?e.readVarint64():5===r?e.readVarint():6===r?e.readSVarint():7===r?e.readBoolean():null}return t}(n))}function q(e,t,n){if(3===e){var r=new U(n,n.readVarint()+n.pos);r.length&&(t[r.name]=r)}}Q.prototype.feature=function(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new H(this._pbf,t,this.extent,this._keys,this._values)};var K={VectorTile:function(e,t){this.layers=e.readFields(q,{},t)},VectorTileFeature:H,VectorTileLayer:U}.VectorTileFeature,X=J;function J(e,t){this.options=t||{},this.features=e,this.length=e.length}function a(e,t){this.id="number"==typeof e.id?e.id:void 0,this.type=e.type,this.rawGeometry=1===e.type?[e.geometry]:e.geometry,this.properties=e.tags,this.extent=t||4096}J.prototype.feature=function(e){return new a(this.features[e],this.options.extent)},a.prototype.loadGeometry=function(){var e=this.rawGeometry;this.geometry=[];for(var t=0;t<e.length;t++){for(var n=e[t],r=[],i=0;i<n.length;i++)r.push(new k.Point$1(n[i][0],n[i][1]));this.geometry.push(r)}return this.geometry},a.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var e=this.geometry,t=1/0,n=-1/0,r=1/0,i=-1/0,o=0;o<e.length;o++)for(var a=e[o],s=0;s<a.length;s++){var l=a[s];t=Math.min(t,l.x),n=Math.max(n,l.x),r=Math.min(r,l.y),i=Math.max(i,l.y)}return[t,r,n,i]},a.prototype.toGeoJSON=K.prototype.toGeoJSON;var u=c,$=X;function c(e){var t=new k.pbf;return function(e,t){for(var n in e.layers)t.writeMessage(3,Z,e.layers[n])}(e,t),t.finish()}function Z(e,t){var n;t.writeVarintField(15,e.version||1),t.writeStringField(1,e.name||""),t.writeVarintField(5,e.extent||4096);var r={keys:[],values:[],keycache:{},valuecache:{}};for(n=0;n<e.length;n++)r.feature=e.feature(n),t.writeMessage(2,ee,r);var i=r.keys;for(n=0;n<i.length;n++)t.writeStringField(3,i[n]);var o=r.values;for(n=0;n<o.length;n++)t.writeMessage(4,ie,o[n])}function ee(e,t){var n=e.feature;void 0!==n.id&&t.writeVarintField(1,n.id),t.writeMessage(2,te,e),t.writeVarintField(3,n.type),t.writeMessage(4,re,n)}function te(e,t){var n=e.feature,r=e.keys,i=e.values,o=e.keycache,a=e.valuecache;for(var s in n.properties){var l=o[s];void 0===l&&(r.push(s),o[s]=l=r.length-1),t.writeVarint(l);var u=n.properties[s],c=typeof u;"string"!==c&&"boolean"!==c&&"number"!==c&&(u=JSON.stringify(u));var f=c+":"+u,h=a[f];void 0===h&&(i.push(u),a[f]=h=i.length-1),t.writeVarint(h)}}function p(e,t){return(t<<3)+(7&e)}function ne(e){return e<<1^e>>31}function re(e,t){for(var n=e.loadGeometry(),r=e.type,i=0,o=0,a=n.length,s=0;s<a;s++){var l=n[s],u=1;1===r&&(u=l.length),t.writeVarint(p(1,u));for(var c=3===r?l.length-1:l.length,f=0;f<c;f++){1===f&&1!==r&&t.writeVarint(p(2,c-1));var h=l[f].x-i,d=l[f].y-o;t.writeVarint(ne(h)),t.writeVarint(ne(d)),i+=h,o+=d}3===r&&t.writeVarint(p(7,1))}}function ie(e,t){var n=typeof e;"string"===n?t.writeStringField(1,e):"boolean"===n?t.writeBooleanField(7,e):"number"===n&&(e%1!=0?t.writeDoubleField(3,e):e<0?t.writeSVarintField(6,e):t.writeVarintField(5,e))}function y(e,t,n,r){f(e,n,r),f(t,2*n,2*r),f(t,2*n+1,2*r+1)}function f(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function oe(e,t,n,r){var i=e-n,o=t-r;return i*i+o*o}u.fromVectorTileJs=c,u.fromGeojsonVt=function(e,t){t=t||{};var n={};for(var r in e)n[r]=new X(e[r].features,t),n[r].name=r,n[r].version=t.version,n[r].extent=t.extent;return c({layers:n})},u.GeoJSONWrapper=$;var ae=function(e){return e[0]},se=function(e){return e[1]},h=function(e,t,n,r,i){void 0===t&&(t=ae),void 0===n&&(n=se),void 0===r&&(r=64),void 0===i&&(i=Float64Array),this.nodeSize=r,this.points=e;for(var o=e.length<65536?Uint16Array:Uint32Array,a=this.ids=new o(e.length),s=this.coords=new i(2*e.length),l=0;l<e.length;l++)a[l]=l,s[2*l]=t(e[l]),s[2*l+1]=n(e[l]);!function e(t,n,r,i,o,a){if(!(o-i<=r)){var s=i+o>>1;!function e(t,n,r,i,o,a){for(;o>i;){if(o-i>600){var s=o-i+1,l=r-i+1,u=Math.log(s),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1);e(t,n,r,Math.max(i,Math.floor(r-l*c/s+f)),Math.min(o,Math.floor(r+(s-l)*c/s+f)),a)}var h=n[2*r+a],d=i,p=o;for(y(t,n,i,r),n[2*o+a]>h&&y(t,n,i,o);d<p;){for(y(t,n,d,p),d++,p--;n[2*d+a]<h;)d++;for(;n[2*p+a]>h;)p--}n[2*i+a]===h?y(t,n,i,p):y(t,n,++p,o),p<=r&&(i=p+1),r<=p&&(o=p-1)}}(t,n,s,i,o,a%2),e(t,n,r,i,s-1,a+1),e(t,n,r,s+1,o,a+1)}}(a,s,r,0,a.length-1,0)};h.prototype.range=function(e,t,n,r){return function(e,t,n,r,i,o,a){for(var s,l,u=[0,e.length-1,0],c=[];u.length;){var f=u.pop(),h=u.pop(),d=u.pop();if(h-d<=a)for(var p=d;p<=h;p++)l=t[2*p+1],(s=t[2*p])>=n&&s<=i&&l>=r&&l<=o&&c.push(e[p]);else{var y=Math.floor((d+h)/2);l=t[2*y+1],(s=t[2*y])>=n&&s<=i&&l>=r&&l<=o&&c.push(e[y]);var m=(f+1)%2;(0===f?n<=s:r<=l)&&(u.push(d),u.push(y-1),u.push(m)),(0===f?i>=s:o>=l)&&(u.push(y+1),u.push(h),u.push(m))}}return c}(this.ids,this.coords,e,t,n,r,this.nodeSize)},h.prototype.within=function(e,t,n){return function(e,t,n,r,i,o){for(var a=[0,e.length-1,0],s=[],l=i*i;a.length;){var u=a.pop(),c=a.pop(),f=a.pop();if(c-f<=o)for(var h=f;h<=c;h++)oe(t[2*h],t[2*h+1],n,r)<=l&&s.push(e[h]);else{var d=Math.floor((f+c)/2),p=t[2*d],y=t[2*d+1];oe(p,y,n,r)<=l&&s.push(e[d]);var m=(u+1)%2;(0===u?n-i<=p:r-i<=y)&&(a.push(f),a.push(d-1),a.push(m)),(0===u?n+i>=p:r+i>=y)&&(a.push(d+1),a.push(c),a.push(m))}}return s}(this.ids,this.coords,e,t,n,this.nodeSize)};var le={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(e){return e}},m=function(e){this.options=b(Object.create(le),e),this.trees=new Array(this.options.maxZoom+1)};function ue(e,t,n,r,i){return{x:e,y:t,zoom:1/0,id:n,parentId:-1,numPoints:r,properties:i}}function ce(e,t){var n=e.geometry.coordinates,r=n[0],i=n[1];return{x:"object"==typeof customConvertPoint?customConvertPoint.projectX(r):g(r),y:"object"==typeof customConvertPoint?customConvertPoint.projectY(i):v(i),zoom:1/0,index:t,parentId:-1}}function fe(e){return{type:"Feature",id:e.id,properties:he(e),geometry:{type:"Point",coordinates:[(r=e.x,360*(r-.5)),(t=e.y,n=(180-360*t)*Math.PI/180,360*Math.atan(Math.exp(n))/Math.PI-90)]}};var t,n,r}function he(e){var t=e.numPoints,n=t>=1e4?Math.round(t/1e3)+"k":t>=1e3?Math.round(t/100)/10+"k":t;return b(b({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:n})}function g(e){return e/360+.5}function v(e){var t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function b(e,t){for(var n in t)e[n]=t[n];return e}function de(e){return e.x}function pe(e){return e.y}function ye(e,t,n,r,i,o){var a=i-n,s=o-r;if(0!==a||0!==s){var l=((e-n)*a+(t-r)*s)/(a*a+s*s);l>1?(n=i,r=o):l>0&&(n+=a*l,r+=s*l)}return(a=e-n)*a+(s=t-r)*s}function _(e,t,n,r){var i={id:void 0===e?null:e,type:t,geometry:n,tags:r,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(e){var t=e.geometry,n=e.type;if("Point"===n||"MultiPoint"===n||"LineString"===n)x(e,t);else if("Polygon"===n||"MultiLineString"===n)for(var r=0;r<t.length;r++)x(e,t[r]);else if("MultiPolygon"===n)for(r=0;r<t.length;r++)for(var i=0;i<t[r].length;i++)x(e,t[r][i])}(i),i}function x(e,t){for(var n=0;n<t.length;n+=3)e.minX=Math.min(e.minX,t[n]),e.minY=Math.min(e.minY,t[n+1]),e.maxX=Math.max(e.maxX,t[n]),e.maxY=Math.max(e.maxY,t[n+1])}function w(e,t,n,r){if(t.geometry){var i=t.geometry.coordinates,o=t.geometry.type,a=Math.pow(n.tolerance/((1<<n.maxZoom)*n.extent),2),s=[],l=t.id;if(n.promoteId?l=t.properties[n.promoteId]:n.generateId&&(l=r||0),"Point"===o)A(i,s);else if("MultiPoint"===o)for(var u=0;u<i.length;u++)A(i[u],s);else if("LineString"===o)S(i,s,a,!1);else if("MultiLineString"===o){if(n.lineMetrics){for(u=0;u<i.length;u++)S(i[u],s=[],a,!1),e.push(_(l,"LineString",s,t.properties));return}C(i,s,a,!1)}else if("Polygon"===o)C(i,s,a,!0);else{if("MultiPolygon"!==o){if("GeometryCollection"===o){for(u=0;u<t.geometry.geometries.length;u++)w(e,{id:l,geometry:t.geometry.geometries[u],properties:t.properties},n,r);return}throw new Error("Input data is not a valid GeoJSON object.")}for(u=0;u<i.length;u++){var c=[];C(i[u],c,a,!0),s.push(c)}}e.push(_(l,o,s,t.properties))}}function A(e,t){var n,r;t.push("object"==typeof customConvertPoint?customConvertPoint.projectX(e[0]):e[0]/360+.5),t.push("object"==typeof customConvertPoint?customConvertPoint.projectY(e[1]):(n=Math.sin(e[1]*Math.PI/180),(r=.5-.25*Math.log((1+n)/(1-n))/Math.PI)<0?0:r>1?1:r)),t.push(0)}function S(e,t,n,r){for(var i,o,a=0,s=0;s<e.length;s++){var l=[];A(e[s],l);var u=l[0],c=l[1];t.push(u),t.push(c),t.push(0),s>0&&(a+=r?(i*c-u*o)/2:Math.sqrt(Math.pow(u-i,2)+Math.pow(c-o,2))),i=u,o=c}var f=t.length-3;t[2]=1,function e(t,n,r,i){for(var o,a=i,s=r-n>>1,l=r-n,u=t[n],c=t[n+1],f=t[r],h=t[r+1],d=n+3;d<r;d+=3){var p=ye(t[d],t[d+1],u,c,f,h);if(p>a)o=d,a=p;else if(p===a){var y=Math.abs(d-s);y<l&&(o=d,l=y)}}a>i&&(o-n>3&&e(t,n,o,i),t[o+2]=a,r-o>3&&e(t,o,r,i))}(t,0,f,n),t[f+2]=1,t.size=Math.abs(a),t.start=0,t.end=t.size}function C(e,t,n,r){for(var i=0;i<e.length;i++){var o=[];S(e[i],o,n,r),t.push(o)}}function O(e,t,n,r,i,o,a,s){if(r/=t,o>=(n/=t)&&a<r)return e;if(a<n||o>=r)return null;for(var l=[],u=0;u<e.length;u++){var c=e[u],f=c.geometry,h=c.type,d=0===i?c.minX:c.minY,p=0===i?c.maxX:c.maxY;if(d>=n&&p<r)l.push(c);else if(!(p<n||d>=r)){var y=[];if("Point"===h||"MultiPoint"===h)me(f,y,n,r,i);else if("LineString"===h)ge(f,y,n,r,i,!1,s.lineMetrics);else if("MultiLineString"===h)E(f,y,n,r,i,!1);else if("Polygon"===h)E(f,y,n,r,i,!0);else if("MultiPolygon"===h)for(var m=0;m<f.length;m++){var g=[];E(f[m],g,n,r,i,!0),g.length&&y.push(g)}if(y.length){if(s.lineMetrics&&"LineString"===h){for(m=0;m<y.length;m++)l.push(_(c.id,h,y[m],c.tags));continue}"LineString"!==h&&"MultiLineString"!==h||(1===y.length?(h="LineString",y=y[0]):h="MultiLineString"),"Point"!==h&&"MultiPoint"!==h||(h=3===y.length?"Point":"MultiPoint"),l.push(_(c.id,h,y,c.tags))}}}return l.length?l:null}function me(e,t,n,r,i){for(var o=0;o<e.length;o+=3){var a=e[o+i];a>=n&&a<=r&&(t.push(e[o]),t.push(e[o+1]),t.push(e[o+2]))}}function ge(e,t,n,r,i,o,a){for(var s,l,u=ve(e),c=0===i?be:_e,f=e.start,h=0;h<e.length-3;h+=3){var d=e[h],p=e[h+1],y=e[h+2],m=e[h+3],g=e[h+4],v=0===i?d:p,b=0===i?m:g,_=!1;a&&(s=Math.sqrt(Math.pow(d-m,2)+Math.pow(p-g,2))),v<n?b>n&&(l=c(u,d,p,m,g,n),a&&(u.start=f+s*l)):v>r?b<r&&(l=c(u,d,p,m,g,r),a&&(u.start=f+s*l)):M(u,d,p,y),b<n&&v>=n&&(l=c(u,d,p,m,g,n),_=!0),b>r&&v<=r&&(l=c(u,d,p,m,g,r),_=!0),!o&&_&&(a&&(u.end=f+s*l),t.push(u),u=ve(e)),a&&(f+=s)}var x=e.length-3;d=e[x],p=e[x+1],y=e[x+2],(v=0===i?d:p)>=n&&v<=r&&M(u,d,p,y),x=u.length-3,o&&x>=3&&(u[x]!==u[0]||u[x+1]!==u[1])&&M(u,u[0],u[1],u[2]),u.length&&t.push(u)}function ve(e){var t=[];return t.size=e.size,t.start=e.start,t.end=e.end,t}function E(e,t,n,r,i,o){for(var a=0;a<e.length;a++)ge(e[a],t,n,r,i,o,!1)}function M(e,t,n,r){e.push(t),e.push(n),e.push(r)}function be(e,t,n,r,i,o){var a=(o-t)/(r-t);return e.push(o),e.push(n+(i-n)*a),e.push(1),a}function _e(e,t,n,r,i,o){var a=(o-n)/(i-n);return e.push(t+(r-t)*a),e.push(o),e.push(1),a}function xe(e,t){for(var n=[],r=0;r<e.length;r++){var i,o=e[r],a=o.type;if("Point"===a||"MultiPoint"===a||"LineString"===a)i=P(o.geometry,t);else if("MultiLineString"===a||"Polygon"===a){i=[];for(var s=0;s<o.geometry.length;s++)i.push(P(o.geometry[s],t))}else if("MultiPolygon"===a)for(i=[],s=0;s<o.geometry.length;s++){for(var l=[],u=0;u<o.geometry[s].length;u++)l.push(P(o.geometry[s][u],t));i.push(l)}n.push(_(o.id,a,i,o.tags))}return n}function P(e,t){var n=[];n.size=e.size,void 0!==e.start&&(n.start=e.start,n.end=e.end);for(var r=0;r<e.length;r+=3)n.push(e[r]+t,e[r+1],e[r+2]);return n}function we(e,t){if(e.transformed)return e;var n,r,i,o=1<<e.z,a=e.x,s=e.y;for(n=0;n<e.features.length;n++){var l=e.features[n],u=l.geometry,c=l.type;if(l.geometry=[],1===c)for(r=0;r<u.length;r+=2)l.geometry.push(Ae(u[r],u[r+1],t,o,a,s));else for(r=0;r<u.length;r++){var f=[];for(i=0;i<u[r].length;i+=2)f.push(Ae(u[r][i],u[r][i+1],t,o,a,s));l.geometry.push(f)}}return e.transformed=!0,e}function Ae(e,t,n,r,i,o){return[Math.round(n*(e*r-i)),Math.round(n*(t*r-o))]}function Se(e,t,n,r,i){for(var o=t===i.maxZoom?0:i.tolerance/((1<<t)*i.extent),a={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:n,y:r,z:t,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},s=0;s<e.length;s++){a.numFeatures++,Ce(a,e[s],o,i);var l=e[s].minX,u=e[s].minY,c=e[s].maxX,f=e[s].maxY;l<a.minX&&(a.minX=l),u<a.minY&&(a.minY=u),c>a.maxX&&(a.maxX=c),f>a.maxY&&(a.maxY=f)}return a}function Ce(e,t,n,r){var i=t.geometry,o=t.type,a=[];if("Point"===o||"MultiPoint"===o)for(var s=0;s<i.length;s+=3)a.push(i[s]),a.push(i[s+1]),e.numPoints++,e.numSimplified++;else if("LineString"===o)L(a,i,e,n,!1,!1);else if("MultiLineString"===o||"Polygon"===o)for(s=0;s<i.length;s++)L(a,i[s],e,n,"Polygon"===o,0===s);else if("MultiPolygon"===o)for(var l=0;l<i.length;l++){var u=i[l];for(s=0;s<u.length;s++)L(a,u[s],e,n,!0,0===s)}if(a.length){var c=t.tags||null;if("LineString"===o&&r.lineMetrics){for(var f in c={},t.tags)c[f]=t.tags[f];c.mapbox_clip_start=i.start/i.size,c.mapbox_clip_end=i.end/i.size}var h={geometry:a,type:"Polygon"===o||"MultiPolygon"===o?3:"LineString"===o||"MultiLineString"===o?2:1,tags:c};null!==t.id&&(h.id=t.id),e.features.push(h)}}function L(e,t,n,r,i,o){var a=r*r;if(r>0&&t.size<(i?a:r))n.numPoints+=t.length/3;else{for(var s=[],l=0;l<t.length;l+=3)(0===r||t[l+2]>a)&&(n.numSimplified++,s.push(t[l]),s.push(t[l+1])),n.numPoints++;i&&function(e,t){for(var n=0,r=0,i=e.length,o=i-2;r<i;o=r,r+=2)n+=(e[r]-e[o])*(e[r+1]+e[o+1]);if(n>0===t)for(r=0,i=e.length;r<i/2;r+=2){var a=e[r],s=e[r+1];e[r]=e[i-2-r],e[r+1]=e[i-1-r],e[i-2-r]=a,e[i-1-r]=s}}(s,o),e.push(s)}}function j(e,t){var n=(t=this.options=function(e,t){for(var n in t)e[n]=t[n];return e}(Object.create(this.options),t)).debug;if(n&&console.time("preprocess data"),t.maxZoom<0||t.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(t.promoteId&&t.generateId)throw new Error("promoteId and generateId cannot be used together.");var r=function(e,t){if(t.customprj&&"undefined"==typeof customConvertPoint)try{importScripts(t.customprj)}catch(e){console.log(e)}if(!t.customprj&&"undefined"!=typeof customConvertPoint)try{customConvertPoint=void 0}catch(e){console.log(e)}var n=[];if("FeatureCollection"===e.type)for(var r=0;r<e.features.length;r++)w(n,e.features[r],t,r);else w(n,"Feature"===e.type?e:{geometry:e},t);return n}(e,t);this.tiles={},this.tileCoords=[],n&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",t.indexMaxZoom,t.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),(r=function(e,t){var n=t.buffer/t.extent,r=e,i=O(e,1,-1-n,n,0,-1,2,t),o=O(e,1,1-n,2+n,0,-1,2,t);return(i||o)&&(r=O(e,1,-n,1+n,0,-1,2,t)||[],i&&(r=xe(i,1).concat(r)),o&&(r=r.concat(xe(o,-1)))),r}(r,t)).length&&this.splitTile(r,0,0,0),n&&(r.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function D(e,t,n){return 32*((1<<e)*n+t)+e}function Oe(e,t){var n=e.tileID.canonical;if(!this._geoJSONIndex)return t(null,null);var r=this._geoJSONIndex.getTile(n.z,n.x,n.y);if(!r)return t(null,null);var i=new V(r.features),o=u(i);0===o.byteOffset&&o.byteLength===o.buffer.byteLength||(o=new Uint8Array(o)),t(null,{vectorTile:i,rawData:o.buffer})}m.prototype.load=function(e){var t=this.options,n=t.log,r=t.minZoom,i=t.maxZoom,o=t.nodeSize;n&&console.time("total time");var a="prepare "+e.length+" points";n&&console.time(a),this.points=e;for(var s=[],l=0;l<e.length;l++)e[l].geometry&&s.push(ce(e[l],l));this.trees[i+1]=new h(s,de,pe,o,Float32Array),n&&console.timeEnd(a);for(var u=i;u>=r;u--){var c=+Date.now();s=this._cluster(s,u),this.trees[u]=new h(s,de,pe,o,Float32Array),n&&console.log("z%d: %d clusters in %dms",u,s.length,+Date.now()-c)}return n&&console.timeEnd("total time"),this},m.prototype.getClusters=function(e,t){var n=((e[0]+180)%360+360)%360-180,r=Math.max(-90,Math.min(90,e[1])),i=180===e[2]?180:((e[2]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,i=180;else if(n>i){var a=this.getClusters([n,r,180,o],t),s=this.getClusters([-180,r,i,o],t);return a.concat(s)}for(var l=this.trees[this._limitZoom(t)],u=[],c=0,f=l.range(g(n),v(o),g(i),v(r));c<f.length;c+=1){var h=l.points[f[c]];u.push(h.numPoints?fe(h):this.points[h.index])}return u},m.prototype.getChildren=function(e){var t=this._getOriginId(e),n=this._getOriginZoom(e),r="No cluster with the specified id.",i=this.trees[n];if(!i)throw new Error(r);var o=i.points[t];if(!o)throw new Error(r);for(var a=this.options.radius/(this.options.extent*Math.pow(2,n-1)),s=[],l=0,u=i.within(o.x,o.y,a);l<u.length;l+=1){var c=i.points[u[l]];c.parentId===e&&s.push(c.numPoints?fe(c):this.points[c.index])}if(0===s.length)throw new Error(r);return s},m.prototype.getLeaves=function(e,t,n){var r=[];return this._appendLeaves(r,e,t=t||10,n=n||0,0),r},m.prototype.getTile=function(e,t,n){var r=this.trees[this._limitZoom(e)],i=Math.pow(2,e),o=this.options,a=o.radius/o.extent,s=(n-a)/i,l=(n+1+a)/i,u={features:[]};return this._addTileFeatures(r.range((t-a)/i,s,(t+1+a)/i,l),r.points,t,n,i,u),0===t&&this._addTileFeatures(r.range(1-a/i,s,1,l),r.points,i,n,i,u),t===i-1&&this._addTileFeatures(r.range(0,s,a/i,l),r.points,-1,n,i,u),u.features.length?u:null},m.prototype.getClusterExpansionZoom=function(e){for(var t=this._getOriginZoom(e)-1;t<=this.options.maxZoom;){var n=this.getChildren(e);if(t++,1!==n.length)break;e=n[0].properties.cluster_id}return t},m.prototype._appendLeaves=function(e,t,n,r,i){for(var o=0,a=this.getChildren(t);o<a.length;o+=1){var s=a[o],l=s.properties;if(l&&l.cluster?i+l.point_count<=r?i+=l.point_count:i=this._appendLeaves(e,l.cluster_id,n,r,i):i<r?i++:e.push(s),e.length===n)break}return i},m.prototype._addTileFeatures=function(e,t,n,r,i,o){for(var a=0,s=e;a<s.length;a+=1){var l=t[s[a]],u=l.numPoints,c={type:1,geometry:[[Math.round(this.options.extent*(l.x*i-n)),Math.round(this.options.extent*(l.y*i-r))]],tags:u?he(l):this.points[l.index].properties},f=void 0;u?f=l.id:this.options.generateId?f=l.index:this.points[l.index].id&&(f=this.points[l.index].id),void 0!==f&&(c.id=f),o.features.push(c)}},m.prototype._limitZoom=function(e){return Math.max(this.options.minZoom,Math.min(+e,this.options.maxZoom+1))},m.prototype._cluster=function(e,t){for(var n=[],r=this.options,i=r.reduce,o=r.minPoints,a=r.radius/(r.extent*Math.pow(2,t)),s=0;s<e.length;s++){var l=e[s];if(!(l.zoom<=t)){l.zoom=t;for(var u=this.trees[t+1],c=u.within(l.x,l.y,a),f=l.numPoints||1,h=f,d=0,p=c;d<p.length;d+=1){var y=u.points[p[d]];y.zoom>t&&(h+=y.numPoints||1)}if(h>=o){for(var m=l.x*f,g=l.y*f,v=i&&f>1?this._map(l,!0):null,b=(s<<5)+(t+1)+this.points.length,_=0,x=c;_<x.length;_+=1){var w=u.points[x[_]];if(!(w.zoom<=t)){w.zoom=t;var A=w.numPoints||1;m+=w.x*A,g+=w.y*A,w.parentId=b,i&&(v||(v=this._map(l,!0)),i(v,this._map(w)))}}l.parentId=b,n.push(ue(m/h,g/h,b,h,v))}else if(n.push(l),h>1)for(var S=0,C=c;S<C.length;S+=1){var O=u.points[C[S]];O.zoom<=t||(O.zoom=t,n.push(O))}}}return n},m.prototype._getOriginId=function(e){return e-this.points.length>>5},m.prototype._getOriginZoom=function(e){return(e-this.points.length)%32},m.prototype._map=function(e,t){if(e.numPoints)return t?b({},e.properties):e.properties;var n=this.points[e.index].properties,r=this.options.map(n);return t&&r===n?b({},r):r},j.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},j.prototype.splitTile=function(e,t,n,r,i,o,a){for(var s=[e,t,n,r],l=this.options,u=l.debug;s.length;){r=s.pop(),n=s.pop(),t=s.pop(),e=s.pop();var c=1<<t,f=D(t,n,r),h=this.tiles[f];if(!h&&(u>1&&console.time("creation"),h=this.tiles[f]=Se(e,t,n,r,l),this.tileCoords.push({z:t,x:n,y:r}),u)){u>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",t,n,r,h.numFeatures,h.numPoints,h.numSimplified),console.timeEnd("creation"));var d="z"+t;this.stats[d]=(this.stats[d]||0)+1,this.total++}if(h.source=e,i){if(t===l.maxZoom||t===i)continue;var p=1<<i-t;if(n!==Math.floor(o/p)||r!==Math.floor(a/p))continue}else if(t===l.indexMaxZoom||h.numPoints<=l.indexMaxPoints)continue;if(h.source=null,0!==e.length){u>1&&console.time("clipping");var y,m,g,v,b,_,x=.5*l.buffer/l.extent,w=.5-x,A=.5+x,S=1+x;y=m=g=v=null,b=O(e,c,n-x,n+A,0,h.minX,h.maxX,l),_=O(e,c,n+w,n+S,0,h.minX,h.maxX,l),e=null,b&&(y=O(b,c,r-x,r+A,1,h.minY,h.maxY,l),m=O(b,c,r+w,r+S,1,h.minY,h.maxY,l),b=null),_&&(g=O(_,c,r-x,r+A,1,h.minY,h.maxY,l),v=O(_,c,r+w,r+S,1,h.minY,h.maxY,l),_=null),u>1&&console.timeEnd("clipping"),s.push(y||[],t+1,2*n,2*r),s.push(m||[],t+1,2*n,2*r+1),s.push(g||[],t+1,2*n+1,2*r),s.push(v||[],t+1,2*n+1,2*r+1)}}},j.prototype.getTile=function(e,t,n){var r=this.options,i=r.extent,o=r.debug;if(e<0||e>24)return null;var a=1<<e,s=D(e,t=(t%a+a)%a,n);if(this.tiles[s])return we(this.tiles[s],i);o>1&&console.log("drilling down to z%d-%d-%d",e,t,n);for(var l,u=e,c=t,f=n;!l&&u>0;)u--,c=Math.floor(c/2),f=Math.floor(f/2),l=this.tiles[D(u,c,f)];return l&&l.source?(o>1&&console.log("found parent tile z%d-%d-%d",u,c,f),o>1&&console.time("drilling down"),this.splitTile(l.source,u,c,f,e,t,n),o>1&&console.timeEnd("drilling down"),this.tiles[s]?we(this.tiles[s],i):null):null};var Ee=function(i){function e(e,t,n,r){i.call(this,e,t,n,Oe),r&&(this.loadGeoJSON=r)}return i&&(e.__proto__=i),(e.prototype=Object.create(i&&i.prototype)).constructor=e,e.prototype.loadData=function(e,t){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=t,this._pendingLoadDataParams=e,this._state&&"Idle"!==this._state?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},e.prototype._loadData=function(){var a=this;if(this._pendingCallback&&this._pendingLoadDataParams){var s=this._pendingCallback,l=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var u=!!(l&&l.request&&l.request.collectResourceTiming)&&new k.RequestPerformance(l.request);this.loadGeoJSON(l,function(e,t){if(e||!t)return s(e);if("object"!=typeof t)return s(new Error("Input data given to '"+l.source+"' is not a valid GeoJSON object."));!function e(t,n){var r,i=t&&t.type;if("FeatureCollection"===i)for(r=0;r<t.features.length;r++)e(t.features[r],n);else if("GeometryCollection"===i)for(r=0;r<t.geometries.length;r++)e(t.geometries[r],n);else if("Feature"===i)e(t.geometry,n);else if("Polygon"===i)N(t.coordinates,n);else if("MultiPolygon"===i)for(r=0;r<t.coordinates.length;r++)N(t.coordinates[r],n);return t}(t,!0);try{if(l.superclusterOptions.customprj)try{importScripts(l.superclusterOptions.customprj)}catch(e){console.log(l)}if(l.filter){var n=k.createExpression(l.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if("error"===n.result)throw new Error(n.value.map(function(e){return e.key+": "+e.message}).join(", "));var r=t.features.filter(function(e){return n.value.evaluate({zoom:0},e)});t={type:"FeatureCollection",features:r}}a._geoJSONIndex=l.cluster?new m(function(e){var t=e.superclusterOptions,n=e.clusterProperties;if(!n||!t)return t;for(var o={},a={},s={accumulated:null,zoom:0},l={properties:null},u=Object.keys(n),r=0,i=u;r<i.length;r+=1){var c=i[r],f=n[c],h=f[0],d=k.createExpression(f[1]),p=k.createExpression("string"==typeof h?[h,["accumulated"],["get",c]]:h);o[c]=d.value,a[c]=p.value}return t.map=function(e){l.properties=e;for(var t={},n=0,r=u;n<r.length;n+=1){var i=r[n];t[i]=o[i].evaluate(s,l)}return t},t.reduce=function(e,t){l.properties=t;for(var n=0,r=u;n<r.length;n+=1){var i=r[n];s.accumulated=e[i],e[i]=a[i].evaluate(s,l)}},t}(l)).load(t.features):function(e,t){return new j(e,t)}(t,l.geojsonVtOptions)}catch(e){return s(e)}a.loaded={};var i={};if(i.data=t,u){var o=u.finish();o&&(i.resourceTiming={},i.resourceTiming[l.source]=JSON.parse(JSON.stringify(o)))}s(null,i)})}},e.prototype.coalesce=function(){"Coalescing"===this._state?this._state="Idle":"NeedsLoadData"===this._state&&(this._state="Coalescing",this._loadData())},e.prototype.reloadTile=function(e,t){var n=this.loaded;return n&&n[e.uid]?i.prototype.reloadTile.call(this,e,t):this.loadTile(e,t)},e.prototype.loadGeoJSON=function(t,n){if(t.request)k.getJSON(t.request,n);else{if("string"!=typeof t.data)return n(new Error("Input data given to '"+t.source+"' is not a valid GeoJSON object."));try{return n(null,JSON.parse(t.data))}catch(e){return n(new Error("Input data given to '"+t.source+"' is not a valid GeoJSON object."))}}},e.prototype.removeSource=function(e,t){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),t()},e.prototype.getClusterExpansionZoom=function(e,t){try{t(null,this._geoJSONIndex.getClusterExpansionZoom(e.clusterId))}catch(e){t(e)}},e.prototype.getClusterChildren=function(e,t){try{t(null,this._geoJSONIndex.getChildren(e.clusterId))}catch(e){t(e)}},e.prototype.getClusterLeaves=function(e,t){try{t(null,this._geoJSONIndex.getLeaves(e.clusterId,e.limit,e.offset))}catch(e){t(e)}},e}(r),e=function(e){var n=this;this.self=e,this.actor=new k.Actor(e,this),this.layerIndexes={},this.availableImages={},this.workerSourceTypes={vector:r,geojson:Ee},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=function(e,t){if(n.workerSourceTypes[e])throw new Error('Worker source with name "'+e+'" already registered.');n.workerSourceTypes[e]=t},this.self.registerRTLTextPlugin=function(e){if(k.plugin.isParsed())throw new Error("RTL text plugin already registered.");k.plugin.applyArabicShaping=e.applyArabicShaping,k.plugin.processBidirectionalText=e.processBidirectionalText,k.plugin.processStyledBidirectionalText=e.processStyledBidirectionalText}};return e.prototype.setReferrer=function(e,t){this.referrer=t},e.prototype.setImages=function(e,t,n){for(var r in this.availableImages[e]=t,this.workerSources[e]){var i=this.workerSources[e][r];for(var o in i)i[o].availableImages=t}n()},e.prototype.setLayers=function(e,t,n){this.getLayerIndex(e).replace(t),n()},e.prototype.updateLayers=function(e,t,n){this.getLayerIndex(e).update(t.layers,t.removedIds),n()},e.prototype.loadTile=function(e,t,n){this.getWorkerSource(e,t.type,t.source).loadTile(t,n)},e.prototype.loadDEMTile=function(e,t,n){this.getDEMWorkerSource(e,t.source).loadTile(t,n)},e.prototype.reloadTile=function(e,t,n){this.getWorkerSource(e,t.type,t.source).reloadTile(t,n)},e.prototype.abortTile=function(e,t,n){this.getWorkerSource(e,t.type,t.source).abortTile(t,n)},e.prototype.removeTile=function(e,t,n){this.getWorkerSource(e,t.type,t.source).removeTile(t,n)},e.prototype.removeDEMTile=function(e,t){this.getDEMWorkerSource(e,t.source).removeTile(t)},e.prototype.removeSource=function(e,t,n){if(this.workerSources[e]&&this.workerSources[e][t.type]&&this.workerSources[e][t.type][t.source]){var r=this.workerSources[e][t.type][t.source];delete this.workerSources[e][t.type][t.source],void 0!==r.removeSource?r.removeSource(t,n):n()}},e.prototype.loadWorkerSource=function(e,t,n){try{this.self.importScripts(t.url),n()}catch(e){n(e.toString())}},e.prototype.syncRTLPluginState=function(e,t,n){try{k.plugin.setState(t);var r=k.plugin.getPluginURL();if(k.plugin.isLoaded()&&!k.plugin.isParsed()&&null!=r){this.self.importScripts(r);var i=k.plugin.isParsed();n(i?void 0:new Error("RTL Text Plugin failed to import scripts from "+r),i)}}catch(e){n(e.toString())}},e.prototype.getAvailableImages=function(e){var t=this.availableImages[e];return t||(t=[]),t},e.prototype.getLayerIndex=function(e){var t=this.layerIndexes[e];return t||(t=this.layerIndexes[e]=new n),t},e.prototype.getWorkerSource=function(o,e,t){var a=this;return this.workerSources[o]||(this.workerSources[o]={}),this.workerSources[o][e]||(this.workerSources[o][e]={}),this.workerSources[o][e][t]||(this.workerSources[o][e][t]=new this.workerSourceTypes[e]({send:function(e,t,n,r,i){a.actor.send(e,t,n,o,r,i)}},this.getLayerIndex(o),this.getAvailableImages(o))),this.workerSources[o][e][t]},e.prototype.getDEMWorkerSource=function(e,t){return this.demWorkerSources[e]||(this.demWorkerSources[e]={}),this.demWorkerSources[e][t]||(this.demWorkerSources[e][t]=new i),this.demWorkerSources[e][t]},e.prototype.enforceCacheSizeLimit=function(e,t){k.enforceCacheSizeLimit(t)},"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope&&(self.worker=new e(self)),e}),e(["./shared"],function(ae){"use strict";var k=ae.createCommonjsModule(function(e){function r(e){return!t(e)}function t(e){return"undefined"==typeof window||"undefined"==typeof document?"not a browser":Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray?Function.prototype&&Function.prototype.bind?Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions?"JSON"in window&&"parse"in JSON&&"stringify"in JSON?function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var e,t,n=new Blob([""],{type:"text/javascript"}),r=URL.createObjectURL(n);try{t=new Worker(r),e=!0}catch(t){e=!1}return t&&t.terminate(),URL.revokeObjectURL(r),e}()?"Uint8ClampedArray"in window?ArrayBuffer.isView?function(){var e=document.createElement("canvas");e.width=e.height=1;var t=e.getContext("2d");if(!t)return!1;var n=t.getImageData(0,0,1,1);return n&&n.width===e.width}()?(void 0===n[t=e&&e.failIfMajorPerformanceCaveat]&&(n[t]=function(e){var t=function(e){var t=document.createElement("canvas"),n=Object.create(r.webGLContextAttributes);return n.failIfMajorPerformanceCaveat=e,t.probablySupportsContext?t.probablySupportsContext("webgl",n)||t.probablySupportsContext("experimental-webgl",n):t.supportsContext?t.supportsContext("webgl",n)||t.supportsContext("experimental-webgl",n):t.getContext("webgl",n)||t.getContext("experimental-webgl",n)}(e);if(!t)return!1;var n=t.createShader(t.VERTEX_SHADER);return!(!n||t.isContextLost())&&(t.shaderSource(n,"void main() {}"),t.compileShader(n),!0===t.getShaderParameter(n,t.COMPILE_STATUS))}(t)),n[t]?void 0:"insufficient WebGL support"):"insufficient Canvas/getImageData support":"insufficient ArrayBuffer support":"insufficient Uint8ClampedArray support":"insufficient worker support":"insufficient JSON support":"insufficient Object support":"insufficient Function support":"insufficent Array support";var t}e.exports?e.exports=r:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=r,window.mapboxgl.notSupportedReason=t);var n={};r.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0}}),_={create:function(e,t,n){var r=ae.window.document.createElement(e);return void 0!==t&&(r.className=t),n&&n.appendChild(r),r},createNS:function(e,t){return ae.window.document.createElementNS(e,t)}},T=ae.window.document&&ae.window.document.documentElement.style;function I(e){if(!T)return e[0];for(var t=0;t<e.length;t++)if(e[t]in T)return e[t];return e[0]}var L,j=I(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]);_.disableDrag=function(){T&&j&&(L=T[j],T[j]="none")},_.enableDrag=function(){T&&j&&(T[j]=L)};var D=I(["transform","WebkitTransform"]);_.setTransform=function(e,t){e.style[D]=t};var B=!1;try{var R=Object.defineProperty({},"passive",{get:function(){B=!0}});ae.window.addEventListener("test",R,R),ae.window.removeEventListener("test",R,R)}catch(ae){B=!1}_.addEventListener=function(e,t,n,r){void 0===r&&(r={}),e.addEventListener(t,n,"passive"in r&&B?r:r.capture)},_.removeEventListener=function(e,t,n,r){void 0===r&&(r={}),e.removeEventListener(t,n,"passive"in r&&B?r:r.capture)};var N=function(e){e.preventDefault(),e.stopPropagation(),ae.window.removeEventListener("click",N,!0)};function z(e,t,p){var y,m,g,n=ae.browser.devicePixelRatio>1?"@2x":"",r=ae.getJSON(t.transformRequest(t.normalizeSpriteURL(e,n,".json"),ae.ResourceType.SpriteJSON),function(e,t){r=null,g||(g=e,y=t,o())}),i=ae.getImage(t.transformRequest(t.normalizeSpriteURL(e,n,".png"),ae.ResourceType.SpriteImage),function(e,t){i=null,g||(g=e,m=t,o())});function o(){if(g)p(g);else if(y&&m){var e=ae.browser.getImageData(m),t={};for(var n in y){var r=y[n],i=r.width,o=r.height,a=r.x,s=r.y,l=r.sdf,u=r.pixelRatio,c=r.stretchX,f=r.stretchY,h=r.content,d=new ae.RGBAImage({width:i,height:o});ae.RGBAImage.copy(e,d,{x:a,y:s},{x:0,y:0},{width:i,height:o}),t[n]={data:d,pixelRatio:u,sdf:l,stretchX:c,stretchY:f,content:h}}p(null,t)}}return{cancel:function(){r&&(r.cancel(),r=null),i&&(i.cancel(),i=null)}}}function H(e){var t=e.userImage;return!!(t&&t.render&&t.render())&&(e.data.replace(new Uint8Array(t.data.buffer)),!0)}_.suppressClick=function(){ae.window.addEventListener("click",N,!0),ae.window.setTimeout(function(){ae.window.removeEventListener("click",N,!0)},0)},_.mousePos=function(e,t){var n=e.getBoundingClientRect();return new ae.Point(t.clientX-n.left-e.clientLeft,t.clientY-n.top-e.clientTop)},_.touchPos=function(e,t){for(var n=e.getBoundingClientRect(),r=[],i=0;i<t.length;i++)r.push(new ae.Point(t[i].clientX-n.left-e.clientLeft,t[i].clientY-n.top-e.clientTop));return r},_.mouseButton=function(e){return void 0!==ae.window.InstallTrigger&&2===e.button&&e.ctrlKey&&ae.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:e.button},_.remove=function(e){e.parentNode&&e.parentNode.removeChild(e)};var Y=function(e){function t(){e.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new ae.RGBAImage({width:1,height:1}),this.dirty=!0}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.isLoaded=function(){return this.loaded},t.prototype.setLoaded=function(e){if(this.loaded!==e&&(this.loaded=e,e)){for(var t=0,n=this.requestors;t<n.length;t+=1){var r=n[t];this._notify(r.ids,r.callback)}this.requestors=[]}},t.prototype.getImage=function(e){return this.images[e]},t.prototype.addImage=function(e,t){this._validate(e,t)&&(this.images[e]=t)},t.prototype._validate=function(e,t){var n=!0;return this._validateStretch(t.stretchX,t.data&&t.data.width)||(this.fire(new ae.ErrorEvent(new Error('Image "'+e+'" has invalid "stretchX" value'))),n=!1),this._validateStretch(t.stretchY,t.data&&t.data.height)||(this.fire(new ae.ErrorEvent(new Error('Image "'+e+'" has invalid "stretchY" value'))),n=!1),this._validateContent(t.content,t)||(this.fire(new ae.ErrorEvent(new Error('Image "'+e+'" has invalid "content" value'))),n=!1),n},t.prototype._validateStretch=function(e,t){if(!e)return!0;for(var n=0,r=0,i=e;r<i.length;r+=1){var o=i[r];if(o[0]<n||o[1]<o[0]||t<o[1])return!1;n=o[1]}return!0},t.prototype._validateContent=function(e,t){return!(e&&(4!==e.length||e[0]<0||t.data.width<e[0]||e[1]<0||t.data.height<e[1]||e[2]<0||t.data.width<e[2]||e[3]<0||t.data.height<e[3]||e[2]<e[0]||e[3]<e[1]))},t.prototype.updateImage=function(e,t){t.version=this.images[e].version+1,this.images[e]=t,this.updatedImages[e]=!0},t.prototype.removeImage=function(e){var t=this.images[e];delete this.images[e],delete this.patterns[e],t.userImage&&t.userImage.onRemove&&t.userImage.onRemove()},t.prototype.listImages=function(){return Object.keys(this.images)},t.prototype.getImages=function(e,t){var n=!0;if(!this.isLoaded())for(var r=0,i=e;r<i.length;r+=1)this.images[i[r]]||(n=!1);this.isLoaded()||n?this._notify(e,t):this.requestors.push({ids:e,callback:t})},t.prototype._notify=function(e,t){for(var n={},r=0,i=e;r<i.length;r+=1){var o=i[r],a=this.images[o];!a&&this.defaultImageManger&&(a=this.defaultImageManger.getImage(o)),a||this.fire(new ae.Event("styleimagemissing",{id:o})),a?n[o]={data:a.data.clone(),pixelRatio:a.pixelRatio,sdf:a.sdf,version:a.version,stretchX:a.stretchX,stretchY:a.stretchY,content:a.content,hasRenderCallback:Boolean(a.userImage&&a.userImage.render)}:ae.warnOnce('Image "'+o+'" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.')}t(null,n)},t.prototype.getPixelSize=function(){var e=this.atlasImage;return{width:e.width,height:e.height}},t.prototype.getPattern=function(e){var t=this.patterns[e],n=this.getImage(e);if(!n)return null;if(t&&t.position.version===n.version)return t.position;if(t)t.position.version=n.version;else{var r={w:n.data.width+2,h:n.data.height+2,x:0,y:0},i=new ae.ImagePosition(r,n);this.patterns[e]={bin:r,position:i}}return this._updatePatternAtlas(),this.patterns[e].position},t.prototype.bind=function(e){var t=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new ae.Texture(e,this.atlasImage,t.RGBA),this.atlasTexture.bind(t.LINEAR,t.CLAMP_TO_EDGE)},t.prototype._updatePatternAtlas=function(){var e=[];for(var t in this.patterns)e.push(this.patterns[t].bin);var n=ae.potpack(e),r=n.w,i=n.h,o=this.atlasImage;for(var a in o.resize({width:r||1,height:i||1}),this.patterns){var s=this.patterns[a].bin,l=s.x+1,u=s.y+1,c=this.images[a].data,f=c.width,h=c.height;ae.RGBAImage.copy(c,o,{x:0,y:0},{x:l,y:u},{width:f,height:h}),ae.RGBAImage.copy(c,o,{x:0,y:h-1},{x:l,y:u-1},{width:f,height:1}),ae.RGBAImage.copy(c,o,{x:0,y:0},{x:l,y:u+h},{width:f,height:1}),ae.RGBAImage.copy(c,o,{x:f-1,y:0},{x:l-1,y:u},{width:1,height:h}),ae.RGBAImage.copy(c,o,{x:0,y:0},{x:l+f,y:u},{width:1,height:h})}this.dirty=!0},t.prototype.beginFrame=function(){this.callbackDispatchedThisFrame={}},t.prototype.dispatchRenderCallbacks=function(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(!this.callbackDispatchedThisFrame[r]){this.callbackDispatchedThisFrame[r]=!0;var i=this.images[r];H(i)&&this.updateImage(r,i)}}},t}(ae.Evented),a=function(){this.imageManagers={image_manager_default:new Y},this.imageManagers.image_manager_default.setLoaded(!0)};a.prototype.getImage=function(e,t){return void 0===t&&(t="image_manager_default"),this._getImageManager(t).getImage(e)},a.prototype.setEventedParent=function(e,t,n){void 0===n&&(n="image_manager_default"),this._getImageManager(n).setEventedParent(e,t)},a.prototype.addImage=function(e,t,n){void 0===n&&(n="image_manager_default"),this.imageManagers[n]||(this.imageManagers[n]=new Y,"image_manager_default"!==n&&(this.imageManagers[n].defaultImageManger=this.imageManagers.image_manager_default)),this._getImageManager(n).addImage(e,t)},a.prototype.updateImage=function(e,t,n){if(void 0===n&&(n="image_manager_default"),n)this._getImageManager(n).updateImage(e,t);else for(var r in this.imageManagers)this.imageManagers[r].updateImage(e,t)},a.prototype.removeImage=function(e,t){void 0===t&&(t="image_manager_default"),this._getImageManager(t).removeImage(e)},a.prototype.listImages=function(e){var t=[];for(var n in this.imageManagers)t.push.apply(t,this.imageManagers[n].listImages());return t},a.prototype.getImages=function(e,t,n){void 0===n&&(n="image_manager_default"),this._getImageManager(n).getImages(e,t)},a.prototype.getPixelSize=function(e){return void 0===e&&(e="image_manager_default"),this._getImageManager(e).getPixelSize()},a.prototype.getPattern=function(e,t){return void 0===t&&(t="image_manager_default"),this._getImageManager(t).getPattern(e)},a.prototype.bind=function(e,t){void 0===t&&(t="image_manager_default"),this._getImageManager(t).bind(e)},a.prototype.isLoaded=function(e){return void 0===e&&(e="image_manager_default"),this._getImageManager(e).isLoaded()},a.prototype.isAllLoaded=function(){for(var e in this.imageManagers)if(!this.imageManagers[e].isLoaded())return!1;return!0},a.prototype.beginFrame=function(e){return void 0===e&&(e="image_manager_default"),this._getImageManager(e).beginFrame()},a.prototype.dispatchRenderCallbacks=function(e,t){return void 0===t&&(t="image_manager_default"),this._getImageManager(t).dispatchRenderCallbacks(e)},a.prototype.setLoaded=function(e,t){return void 0===t&&(t="image_manager_default"),this._getImageManager(t).setLoaded(e)},a.prototype._getImageManager=function(e){return this.imageManagers[e]?this.imageManagers[e]:this.imageManagers.image_manager_default};var G=W,U=W,Q=1e20;function W(e,t,n,r,i,o){this.fontSize=e||24,this.buffer=void 0===t?3:t,this.cutoff=r||.25,this.fontFamily=i||"sans-serif",this.fontWeight=o||"normal",this.radius=n||8;var a=this.size=this.fontSize+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=a,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textBaseline="middle",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(a*a),this.gridInner=new Float64Array(a*a),this.f=new Float64Array(a),this.d=new Float64Array(a),this.z=new Float64Array(a+1),this.v=new Int16Array(a),this.middle=Math.round(a/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function q(e,t,n,r,i,o,a){for(var s=0;s<t;s++){for(var l=0;l<n;l++)r[l]=e[l*t+s];for(K(r,i,o,a,n),l=0;l<n;l++)e[l*t+s]=i[l]}for(l=0;l<n;l++){for(s=0;s<t;s++)r[s]=e[l*t+s];for(K(r,i,o,a,t),s=0;s<t;s++)e[l*t+s]=Math.sqrt(i[s])}}function K(e,t,n,r,i){n[0]=0,r[0]=-Q,r[1]=+Q;for(var o=1,a=0;o<i;o++){for(var s=(e[o]+o*o-(e[n[a]]+n[a]*n[a]))/(2*o-2*n[a]);s<=r[a];)a--,s=(e[o]+o*o-(e[n[a]]+n[a]*n[a]))/(2*o-2*n[a]);n[++a]=o,r[a]=s,r[a+1]=+Q}for(o=0,a=0;o<i;o++){for(;r[a+1]<o;)a++;t[o]=(o-n[a])*(o-n[a])+e[n[a]]}}W.prototype.draw=function(e){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(e,this.buffer,this.middle);for(var t=this.ctx.getImageData(0,0,this.size,this.size),n=new Uint8ClampedArray(this.size*this.size),r=0;r<this.size*this.size;r++){var i=t.data[4*r+3]/255;this.gridOuter[r]=1===i?0:0===i?Q:Math.pow(Math.max(0,.5-i),2),this.gridInner[r]=1===i?Q:0===i?0:Math.pow(Math.max(0,i-.5),2)}for(q(this.gridOuter,this.size,this.size,this.f,this.d,this.v,this.z),q(this.gridInner,this.size,this.size,this.f,this.d,this.v,this.z),r=0;r<this.size*this.size;r++)n[r]=Math.max(0,Math.min(255,Math.round(255-255*((this.gridOuter[r]-this.gridInner[r])/this.radius+this.cutoff))));return n},G.default=U;var c=function(e,t){this.requestManager=e,this.localIdeographFontFamily=t,this.entries={}};c.prototype.setURL=function(e){this.url=e},c.prototype.getGlyphs=function(e,u){var l=this,t=[];for(var n in e)for(var r=0,i=e[n];r<i.length;r+=1)t.push({stack:n,id:i[r]});ae.asyncAll(t,function(e,n){var r=e.stack,i=e.id,o=l.entries[r];o||(o=l.entries[r]={glyphs:{},requests:{},ranges:{}});var t=o.glyphs[i];if(void 0===t){if(t=l._tinySDF(o,r,i))return o.glyphs[i]=t,void n(null,{stack:r,id:i,glyph:t});var a=Math.floor(i/256);if(256*a>65535)n(new Error("glyphs > 65535 not supported"));else if(o.ranges[a])n(null,{stack:r,id:i,glyph:t});else{var s=o.requests[a];s||(s=o.requests[a]=[],c.loadGlyphRange(r,a,l.url,l.requestManager,function(e,t){if(t){for(var n in t)l._doesCharSupportLocalGlyph(+n)||(o.glyphs[+n]=t[+n]);o.ranges[a]=!0}for(var r=0,i=s;r<i.length;r+=1)(0,i[r])(e,t);delete o.requests[a]})),s.push(function(e,t){e?n(e):t&&n(null,{stack:r,id:i,glyph:t[i]||null})})}}else n(null,{stack:r,id:i,glyph:t})},function(e,t){if(e)u(e);else if(t){for(var n={},r=0,i=t;r<i.length;r+=1){var o=i[r],a=o.stack,s=o.id,l=o.glyph;(n[a]||(n[a]={}))[s]=l&&{id:l.id,bitmap:l.bitmap.clone(),metrics:l.metrics}}u(null,n)}})},c.prototype._doesCharSupportLocalGlyph=function(e){return!!this.localIdeographFontFamily&&(ae.isChar["CJK Unified Ideographs"](e)||ae.isChar["Hangul Syllables"](e)||ae.isChar.Hiragana(e)||ae.isChar.Katakana(e))},c.prototype._tinySDF=function(e,t,n){var r=this.localIdeographFontFamily||(this.url?null:t);if(r&&(!(r.indexOf("'supermapol-icons'")<0)||this._doesCharSupportLocalGlyph(n))){var i=e.tinySDF;if(!i){var o="400";/bold/i.test(t)?o="900":/medium/i.test(t)?o="500":/light/i.test(t)&&(o="200"),i=e.tinySDF=new c.TinySDF(24,3,8,.25,r,o)}return{id:n,bitmap:new ae.AlphaImage({width:30,height:30},i.draw(String.fromCharCode(n))),metrics:{width:24,height:24,left:0,top:-8,advance:24}}}},c.loadGlyphRange=function(e,t,n,r,a){var i=256*t,o=i+255,s=r.transformRequest(r.normalizeGlyphsURL(n).replace("{fontstack}",e).replace("{range}",i+"-"+o),ae.ResourceType.Glyphs);ae.getArrayBuffer(s,function(e,t){if(e)a(e);else if(t){for(var n={},r=0,i=ae.parseGlyphPBF(t);r<i.length;r+=1){var o=i[r];n[o.id]=o}a(null,n)}})},c.TinySDF=G;var J=function(e,t){this.requestManager=e,this.localIdeographFontFamily=t,this.glyphManagers={image_manager_default:new c(this.requestManager,this.localIdeographFontFamily)}};J.prototype._getGlyphManager=function(e){return this.glyphManagers[e]?this.glyphManagers[e]:this.glyphManagers.image_manager_default},J.prototype.setURL=function(e,t){void 0===t&&(t="image_manager_default"),this.glyphManagers[t]||(this.glyphManagers[t]=new c(this.requestManager,this.localIdeographFontFamily)),this._getGlyphManager(t).setURL(e)},J.prototype.getGlyphs=function(e,t,n){void 0===n&&(n="image_manager_default"),this._getGlyphManager(n).getGlyphs(e,t)};var $=function(){this.specification=ae.styleSpec.light.position};$.prototype.possiblyEvaluate=function(e,t){return ae.sphericalToCartesian(e.expression.evaluate(t))},$.prototype.interpolate=function(e,t,n){return{x:ae.number(e.x,t.x,n),y:ae.number(e.y,t.y,n),z:ae.number(e.z,t.z,n)}};var Z=new ae.Properties({anchor:new ae.DataConstantProperty(ae.styleSpec.light.anchor),position:new $,color:new ae.DataConstantProperty(ae.styleSpec.light.color),intensity:new ae.DataConstantProperty(ae.styleSpec.light.intensity)}),ee=function(t){function e(e){t.call(this),this._transitionable=new ae.Transitionable(Z),this.setLight(e),this._transitioning=this._transitionable.untransitioned()}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getLight=function(){return this._transitionable.serialize()},e.prototype.setLight=function(e,t){if(void 0===t&&(t={}),!this._validate(ae.validateLight,e,t))for(var n in e){var r=e[n];ae.endsWith(n,"-transition")?this._transitionable.setTransition(n.slice(0,-"-transition".length),r):this._transitionable.setValue(n,r)}},e.prototype.updateTransitions=function(e){this._transitioning=this._transitionable.transitioned(e,this._transitioning)},e.prototype.hasTransition=function(){return this._transitioning.hasTransition()},e.prototype.recalculate=function(e){this.properties=this._transitioning.possiblyEvaluate(e)},e.prototype._validate=function(e,t,n){return(!n||!1!==n.validate)&&ae.emitValidationErrors(this,e.call(ae.validateStyle,ae.extend({value:t,style:{glyphs:!0,sprite:!0},styleSpec:ae.styleSpec})))},e}(ae.Evented),te=function(e,t){this.width=e,this.height=t,this.nextRow=0,this.data=new Uint8Array(this.width*this.height),this.dashEntry={}};te.prototype.getDash=function(e,t){var n=e.join(",")+String(t);return this.dashEntry[n]||(this.dashEntry[n]=this.addDash(e,t)),this.dashEntry[n]},te.prototype.getDashRanges=function(e,t,n){var r=[],i=e.length%2==1?-e[e.length-1]*n:0,o=e[0]*n,a=!0;r.push({left:i,right:o,isDash:a,zeroLength:0===e[0]});for(var s=e[0],l=1;l<e.length;l++){var u=e[l];r.push({left:i=s*n,right:o=(s+=u)*n,isDash:a=!a,zeroLength:0===u})}return r},te.prototype.addRoundDash=function(e,t,n){for(var r=t/2,i=-n;i<=n;i++)for(var o=this.width*(this.nextRow+n+i),a=0,s=e[a],l=0;l<this.width;l++){l/s.right>1&&(s=e[++a]);var u=Math.abs(l-s.left),c=Math.abs(l-s.right),f=Math.min(u,c),h=void 0,d=i/n*(r+1);if(s.isDash){var p=r-Math.abs(d);h=Math.sqrt(f*f+p*p)}else h=r-Math.sqrt(f*f+d*d);this.data[o+l]=Math.max(0,Math.min(255,h+128))}},te.prototype.addRegularDash=function(e){for(var t=e.length-1;t>=0;--t){var n=e[t],r=e[t+1];n.zeroLength?e.splice(t,1):r&&r.isDash===n.isDash&&(r.left=n.left,e.splice(t,1))}var i=e[0],o=e[e.length-1];i.isDash===o.isDash&&(i.left=o.left-this.width,o.right=i.right+this.width);for(var a=this.width*this.nextRow,s=0,l=e[s],u=0;u<this.width;u++){u/l.right>1&&(l=e[++s]);var c=Math.abs(u-l.left),f=Math.abs(u-l.right),h=Math.min(c,f);this.data[a+u]=Math.max(0,Math.min(255,(l.isDash?h:-h)+128))}},te.prototype.addDash=function(e,t){var n=t?7:0,r=2*n+1;if(this.nextRow+r>this.height)return ae.warnOnce("LineAtlas out of space"),null;for(var i=0,o=0;o<e.length;o++)i+=e[o];if(0!==i){var a=this.width/i,s=this.getDashRanges(e,this.width,a);t?this.addRoundDash(s,a,n):this.addRegularDash(s)}var l={y:(this.nextRow+n+.5)/this.height,height:2*n/this.height,width:i};return this.nextRow+=r,this.dirty=!0,l},te.prototype.bind=function(e){var t=e.gl;this.texture?(t.bindTexture(t.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,t.texSubImage2D(t.TEXTURE_2D,0,0,0,this.width,this.height,t.ALPHA,t.UNSIGNED_BYTE,this.data))):(this.texture=t.createTexture(),t.bindTexture(t.TEXTURE_2D,this.texture),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texImage2D(t.TEXTURE_2D,0,t.ALPHA,this.width,this.height,0,t.ALPHA,t.UNSIGNED_BYTE,this.data))};var ne=function e(t,n){this.workerPool=t,this.actors=[],this.currentActor=0,this.id=ae.uniqueId();for(var r=this.workerPool.acquire(this.id),i=0;i<r.length;i++){var o=new e.Actor(r[i],n,this.id);o.name="Worker "+i,this.actors.push(o)}};function re(r,i,o){var e=function(e,t){if(e)return o(e);if(t){var n=ae.pick(ae.extend(t,r),["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds","scheme","tileSize","encoding"]);t.vector_layers&&(n.vectorLayers=t.vector_layers,n.vectorLayerIds=n.vectorLayers.map(function(e){return e.id})),n.tiles=i.canonicalizeTileset(n,r.url),o(null,n)}};return r.url?ae.getJSON(i.transformRequest(i.normalizeSourceURL(r.url),ae.ResourceType.Source),e):ae.browser.frame(function(){return e(null,r)})}ne.prototype.broadcast=function(n,r,e){ae.asyncAll(this.actors,function(e,t){e.send(n,r,t)},e=e||function(){})},ne.prototype.getActor=function(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]},ne.prototype.remove=function(){this.actors.forEach(function(e){e.remove()}),this.actors=[],this.workerPool.release(this.id)},ne.Actor=ae.Actor;var r=function(e,t,n){this.bounds=ae.LngLatBounds.convert(this.validateBounds(e)),this.minzoom=t||0,this.maxzoom=n||24};r.prototype.validateBounds=function(e){return Array.isArray(e)&&4===e.length?[Math.max(-180,e[0]),Math.max(-90,e[1]),Math.min(180,e[2]),Math.min(90,e[3])]:[-180,-90,180,90]},r.prototype.contains=function(e){var t=Math.pow(2,e.z),n=Math.floor(ae.mercatorXfromLng(this.bounds.getWest())*t),r=Math.floor(ae.mercatorYfromLat(this.bounds.getNorth())*t),i=Math.ceil(ae.mercatorXfromLng(this.bounds.getEast())*t),o=Math.ceil(ae.mercatorYfromLat(this.bounds.getSouth())*t);return e.x>=n&&e.x<i&&e.y>=r&&e.y<o};var ie=function(i){function e(e,t,n,r){if(i.call(this),this.id=e,this.dispatcher=n,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this._scales=[],this._resolutions=[],this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,ae.extend(this,ae.pick(t,["url","scheme","tileSize","promoteId"])),this._options=ae.extend({type:"vector"},t),this._collectResourceTiming=t.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(r)}return i&&(e.__proto__=i),(e.prototype=Object.create(i&&i.prototype)).constructor=e,e.prototype.load=function(){var n=this;this._loaded=!1,this.fire(new ae.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=re(this._options,this.map._requestManager,function(e,t){n._tileJSONRequest=null,n._loaded=!0,e?n.fire(new ae.ErrorEvent(e)):t&&(ae.extend(n,t),t.bounds&&(n.tileBounds=new r(t.bounds,n.minzoom,n.maxzoom)),ae.postTurnstileEvent(t.tiles,n.map._requestManager._customAccessToken),ae.postMapLoadEvent(t.tiles,n.map._getMapId(),n.map._requestManager._skuToken,n.map._requestManager._customAccessToken),n.fire(new ae.Event("data",{dataType:"source",sourceDataType:"metadata"})),n.fire(new ae.Event("data",{dataType:"source",sourceDataType:"content"})))})},e.prototype.loaded=function(){return this._loaded},e.prototype.hasTile=function(e){return!this.tileBounds||this.tileBounds.contains(e.canonical)},e.prototype.onAdd=function(e){this.map=e,this.load()},e.prototype.setSourceProperty=function(e){this._tileJSONRequest&&this._tileJSONRequest.cancel(),e(),this.map.style.sourceCaches[this.id].clearTiles(),this.load()},e.prototype.setTiles=function(e){var t=this;return this.setSourceProperty(function(){t._options.tiles=e}),this},e.prototype.setUrl=function(e){var t=this;return this.setSourceProperty(function(){t.url=e,t._options.url=e}),this},e.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},e.prototype.serialize=function(){return ae.extend({},this._options)},e.prototype.loadTile=function(n,r){var e=this.map._requestManager.normalizeTileURL(n.tileID.canonical.url(this.tiles,this.scheme,0,this.tileSize,this.getScale?this.getScale(n.tileID.canonical.z,this.tileSize):void 0),this.url,null),t={request:this.map._requestManager.transformRequest(e,ae.ResourceType.Tile),uid:n.uid,tileID:n.tileID,zoom:n.tileID.overscaledZ,tileSize:this.tileSize*n.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:ae.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};function i(e,t){return delete n.request,n.aborted?r(null):e&&404!==e.status?r(e):(t&&t.resourceTiming&&(n.resourceTiming=t.resourceTiming),this.map._refreshExpiredTiles&&t&&n.setExpiryData(t),n.loadVectorData(t,this.map.painter),ae.cacheEntryPossiblyAdded(this.dispatcher),r(null),void(n.reloadCallback&&(this.loadTile(n,n.reloadCallback),n.reloadCallback=null)))}t.request.collectResourceTiming=this._collectResourceTiming,n.actor&&"expired"!==n.state?"loading"===n.state?n.reloadCallback=r:n.request=n.actor.send("reloadTile",t,i.bind(this)):(n.actor=this.dispatcher.getActor(),n.request=n.actor.send("loadTile",t,i.bind(this)))},e.prototype.abortTile=function(e){e.request&&(e.request.cancel(),delete e.request),e.actor&&e.actor.send("abortTile",{uid:e.uid,type:this.type,source:this.id},void 0)},e.prototype.unloadTile=function(e){e.unloadVectorData(),e.actor&&e.actor.send("removeTile",{uid:e.uid,type:this.type,source:this.id},void 0)},e.prototype.hasTransition=function(){return!1},e}(ae.Evented),oe=function(i){function e(e,t,n,r){i.call(this),this.id=e,this.dispatcher=n,this.setEventedParent(r),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._scales=[],this._resolutions=[],this.transparent=!0,this.rasterSource="",this.cacheEnabled=!0,this.redirect=!1,this.layersID=null,this.proxy=null,this.tileversion=null,this.rasterfunction=null,this.prjCoordSys=null,this.format="png",this._options=ae.extend({type:"raster"},t),ae.extend(this,ae.pick(t,["url","scheme","tileSize","rasterSource","transparent","cacheEnabled","redirect","layersID","proxy","tileversion","rasterfunction","format","prjCoordSys"]))}return i&&(e.__proto__=i),(e.prototype=Object.create(i&&i.prototype)).constructor=e,e.prototype.load=function(){var n=this;this._loaded=!1,this.fire(new ae.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=re(this._options,this.map._requestManager,function(e,t){n._tileJSONRequest=null,n._loaded=!0,e?n.fire(new ae.ErrorEvent(e)):t&&(ae.extend(n,t),t.bounds&&(n.tileBounds=new r(t.bounds,n.minzoom,n.maxzoom)),ae.postTurnstileEvent(t.tiles),ae.postMapLoadEvent(t.tiles,n.map._getMapId(),n.map._requestManager._skuToken),n.fire(new ae.Event("data",{dataType:"source",sourceDataType:"metadata"})),n.fire(new ae.Event("data",{dataType:"source",sourceDataType:"content"})))})},e.prototype.loaded=function(){return this._loaded},e.prototype.onAdd=function(e){this.map=e,this.load()},e.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},e.prototype.serialize=function(){return ae.extend({},this._options)},e.prototype.hasTile=function(e){return!this.tileBounds||this.tileBounds.contains(e.canonical)},e.prototype.loadTile=function(i,o){var a=this,e=null;if("iserver"===this.rasterSource&&this.getScale){var t=this.getScale(i.tileID.canonical.z,this.tileSize),n=this.map._mapCRS.getOrigin(),r=(""+this.tiles[(i.tileID.canonical.x+i.tileID.canonical.y)%this.tiles.length]).split("?");e=r[0]+"/tileimage."+this.format+"?scale="+t+"&x="+i.tileID.canonical.x+"&y="+i.tileID.canonical.y+"&width="+this.tileSize+"&height="+this.tileSize+"&transparent="+this.transparent+"&redirect="+this.redirect+"&cacheEnabled="+this.cacheEnabled+"&origin="+encodeURIComponent(JSON.stringify({x:n[0],y:n[1]})),this.layersID&&(e=e+"&layersID="+this.layersID),this.tileversion&&(e=e+"&tileversion="+this.tileversion),this.rasterfunction&&(e=e+"&rasterfunction="+encodeURIComponent(JSON.stringify(this.rasterfunction))),this.prjCoordSys&&(e=e+"&prjCoordSys="+encodeURIComponent(JSON.stringify(this.prjCoordSys))),r[1]&&(e=e+"&"+r[1])}else{var s=parseInt(this._options.zoomOffset)?parseInt(this._options.zoomOffset):0;e=this.map._requestManager.normalizeTileURL(i.tileID.canonical.url(this.tiles,this.scheme,s,this.tileSize,this.getScale?this.getScale(i.tileID.canonical.z,this.tileSize):void 0),this.url,this.tileSize)}this.proxy&&(e=""+this.proxy+encodeURIComponent(e)),i.request=ae.getImage(this.map._requestManager.transformRequest(e,ae.ResourceType.Tile),function(e,t){if(delete i.request,i.aborted)i.state="unloaded",o(null);else if(e)i.state="errored",o(e);else if(t){a.map._refreshExpiredTiles&&i.setExpiryData(t),delete t.cacheControl,delete t.expires;var n=a.map.painter.context,r=n.gl;i.texture=a.map.painter.getTileTexture(t.width),i.texture?i.texture.update(t,{useMipmap:!0}):(i.texture=new ae.Texture(n,t,r.RGBA,{useMipmap:!0}),i.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE,r.LINEAR_MIPMAP_NEAREST),n.extTextureFilterAnisotropic&&r.texParameterf(r.TEXTURE_2D,n.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,n.extTextureFilterAnisotropicMax)),i.state="loaded",ae.cacheEntryPossiblyAdded(a.dispatcher),o(null)}})},e.prototype.abortTile=function(e,t){e.request&&(e.request.cancel(),delete e.request),t()},e.prototype.unloadTile=function(e,t){e.texture&&this.map.painter.saveTileTexture(e.texture),t()},e.prototype.hasTransition=function(){return!1},e}(ae.Evented),ue=function(i){function e(e,t,n,r){i.call(this,e,t,n,r),this.type="raster-dem",this.maxzoom=22,this._options=ae.extend({type:"raster-dem"},t),this.encoding=t.encoding||"mapbox"}return i&&(e.__proto__=i),(e.prototype=Object.create(i&&i.prototype)).constructor=e,e.prototype.serialize=function(){return{type:"raster-dem",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}},e.prototype.loadTile=function(i,o){var e=this.map._requestManager.normalizeTileURL(i.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);function a(e,t){e&&(i.state="errored",o(e)),t&&(i.dem=t,i.needsHillshadePrepare=!0,i.state="loaded",o(null))}i.request=ae.getImage(this.map._requestManager.transformRequest(e,ae.ResourceType.Tile),function(e,t){if(delete i.request,i.aborted)i.state="unloaded",o(null);else if(e)i.state="errored",o(e);else if(t){this.map._refreshExpiredTiles&&i.setExpiryData(t),delete t.cacheControl,delete t.expires;var n=ae.window.ImageBitmap&&t instanceof ae.window.ImageBitmap&&ae.offscreenCanvasSupported()?t:ae.browser.getImageData(t,1),r={uid:i.uid,coord:i.tileID,source:this.id,rawImageData:n,encoding:this.encoding};i.actor&&"expired"!==i.state||(i.actor=this.dispatcher.getActor(),i.actor.send("loadDEMTile",r,a.bind(this)))}}.bind(this)),i.neighboringTiles=this._getNeighboringTiles(i.tileID)},e.prototype._getNeighboringTiles=function(e){var t=e.canonical,n=Math.pow(2,t.z),r=(t.x-1+n)%n,i=0===t.x?e.wrap-1:e.wrap,o=(t.x+1+n)%n,a=t.x+1===n?e.wrap+1:e.wrap,s={};return s[new ae.OverscaledTileID(e.overscaledZ,i,t.z,r,t.y).key]={backfilled:!1},s[new ae.OverscaledTileID(e.overscaledZ,a,t.z,o,t.y).key]={backfilled:!1},t.y>0&&(s[new ae.OverscaledTileID(e.overscaledZ,i,t.z,r,t.y-1).key]={backfilled:!1},s[new ae.OverscaledTileID(e.overscaledZ,e.wrap,t.z,t.x,t.y-1).key]={backfilled:!1},s[new ae.OverscaledTileID(e.overscaledZ,a,t.z,o,t.y-1).key]={backfilled:!1}),t.y+1<n&&(s[new ae.OverscaledTileID(e.overscaledZ,i,t.z,r,t.y+1).key]={backfilled:!1},s[new ae.OverscaledTileID(e.overscaledZ,e.wrap,t.z,t.x,t.y+1).key]={backfilled:!1},s[new ae.OverscaledTileID(e.overscaledZ,a,t.z,o,t.y+1).key]={backfilled:!1}),s},e.prototype.unloadTile=function(e){e.demTexture&&this.map.painter.saveTileTexture(e.demTexture),e.fbo&&(e.fbo.destroy(),delete e.fbo),e.dem&&delete e.dem,delete e.neighboringTiles,e.state="unloaded",e.actor&&e.actor.send("removeDEMTile",{uid:e.uid,source:this.id})},e}(oe),ce=function(o){function e(e,t,n,r){o.call(this),this.id=e,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._loaded=!1,this.actor=n.getActor(),this.setEventedParent(r),this._data=t.data,this._options=ae.extend({},t),this._collectResourceTiming=t.collectResourceTiming,this._resourceTiming=[],void 0!==t.maxzoom&&(this.maxzoom=t.maxzoom),t.type&&(this.type=t.type),t.attribution&&(this.attribution=t.attribution),this.promoteId=t.promoteId;var i=ae.EXTENT/this.tileSize;this.workerOptions=ae.extend({source:this.id,cluster:t.cluster||!1,geojsonVtOptions:{buffer:(void 0!==t.buffer?t.buffer:128)*i,tolerance:(void 0!==t.tolerance?t.tolerance:.375)*i,extent:ae.EXTENT,customprj:t.customprj,maxZoom:this.maxzoom,lineMetrics:t.lineMetrics||!1,generateId:t.generateId||!1},superclusterOptions:{maxZoom:void 0!==t.clusterMaxZoom?Math.min(t.clusterMaxZoom,this.maxzoom-1):this.maxzoom-1,minPoints:Math.max(2,t.clusterMinPoints||2),extent:ae.EXTENT,customprj:t.customprj,radius:(t.clusterRadius||50)*i,log:!1,generateId:t.generateId||!1},clusterProperties:t.clusterProperties,filter:t.filter},t.workerOptions)}return o&&(e.__proto__=o),(e.prototype=Object.create(o&&o.prototype)).constructor=e,e.prototype.load=function(){var n=this;this.fire(new ae.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(e){if(e)n.fire(new ae.ErrorEvent(e));else{var t={dataType:"source",sourceDataType:"metadata"};n._collectResourceTiming&&n._resourceTiming&&n._resourceTiming.length>0&&(t.resourceTiming=n._resourceTiming,n._resourceTiming=[]),n.fire(new ae.Event("data",t))}})},e.prototype.onAdd=function(e){this.map=e,this.load()},e.prototype.setCustomprj=function(e){this._options.customprj=e,this.workerOptions.superclusterOptions.customprj=e,this.workerOptions.geojsonVtOptions.customprj=e,this.load()},e.prototype.setData=function(e){var n=this;return this._data=e,this.fire(new ae.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(e){if(e)n.fire(new ae.ErrorEvent(e));else{var t={dataType:"source",sourceDataType:"content"};n._collectResourceTiming&&n._resourceTiming&&n._resourceTiming.length>0&&(t.resourceTiming=n._resourceTiming,n._resourceTiming=[]),n.fire(new ae.Event("data",t))}}),this},e.prototype.getData=function(){return this._originData?this._originData:"string"!=typeof this._data?this._data:void 0},e.prototype.getClusterExpansionZoom=function(e,t){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:e,source:this.id},t),this},e.prototype.getClusterChildren=function(e,t){return this.actor.send("geojson.getClusterChildren",{clusterId:e,source:this.id},t),this},e.prototype.getClusterLeaves=function(e,t,n,r){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:e,limit:t,offset:n},r),this},e.prototype._updateWorkerData=function(n){var r=this;this._loaded=!1;var i=ae.extend({},this.workerOptions),e=this._data;"string"==typeof e?(i.request=this.map._requestManager.transformRequest(ae.browser.resolveURL(e),ae.ResourceType.Source),i.request.collectResourceTiming=this._collectResourceTiming):i.data=JSON.stringify(e),this.actor.send(this.type+".loadData",i,function(e,t){r._originData=t.data||null,r._removed||t&&t.abandoned||(r._loaded=!0,t&&t.resourceTiming&&t.resourceTiming[r.id]&&(r._resourceTiming=t.resourceTiming[r.id].slice(0)),r.actor.send(r.type+".coalesce",{source:i.source},null),n(e))})},e.prototype.loaded=function(){return this._loaded},e.prototype.loadTile=function(n,r){var i=this,o=n.actor?"reloadTile":"loadTile";n.actor=this.actor,n.request=this.actor.send(o,{type:this.type,uid:n.uid,tileID:n.tileID,zoom:n.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:ae.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId},function(e,t){return delete n.request,n.unloadVectorData(),n.aborted?r(null):e?r(e):(n.loadVectorData(t,i.map.painter,"reloadTile"===o),r(null))})},e.prototype.abortTile=function(e){e.request&&(e.request.cancel(),delete e.request),e.aborted=!0},e.prototype.unloadTile=function(e){e.unloadVectorData(),this.actor.send("removeTile",{uid:e.uid,type:this.type,source:this.id})},e.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},e.prototype.serialize=function(){return ae.extend({},this._options,{type:this.type,data:this._data})},e.prototype.hasTransition=function(){return!1},e}(ae.Evented),fe=ae.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),he=function(i){function e(e,t,n,r){i.call(this),this.id=e,this.dispatcher=n,this.coordinates=t.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(r),this.options=t}return i&&(e.__proto__=i),(e.prototype=Object.create(i&&i.prototype)).constructor=e,e.prototype.load=function(n,r){var i=this;this._loaded=!1,this.fire(new ae.Event("dataloading",{dataType:"source"})),this.url=this.options.url,ae.getImage(this.map._requestManager.transformRequest(this.url,ae.ResourceType.Image),function(e,t){i._loaded=!0,e?i.fire(new ae.ErrorEvent(e)):t&&(i.image=t,n&&(i.coordinates=n),r&&r(),i._finishLoading())})},e.prototype.loaded=function(){return this._loaded},e.prototype.updateImage=function(e){var t=this;return this.image&&e.url?(this.options.url=e.url,this.load(e.coordinates,function(){t.texture=null}),this):this},e.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new ae.Event("data",{dataType:"source",sourceDataType:"metadata"})))},e.prototype.onAdd=function(e){this.map=e,this.load()},e.prototype.setCoordinates=function(e){var t=this;this.coordinates=e;var n=e.map(ae.MercatorCoordinate.fromLngLat);this.tileID=function(e){for(var t=1/0,n=1/0,r=-1/0,i=-1/0,o=0,a=e;o<a.length;o+=1){var s=a[o];t=Math.min(t,s.x),n=Math.min(n,s.y),r=Math.max(r,s.x),i=Math.max(i,s.y)}var l=Math.max(r-t,i-n),u=Math.max(0,Math.floor(-Math.log(l)/Math.LN2)),c=Math.pow(2,u);return new ae.CanonicalTileID(u,Math.floor((t+r)/2*c),Math.floor((n+i)/2*c))}(n),this.minzoom=this.maxzoom=this.tileID.z;var r=n.map(function(e){return t.tileID.getTilePoint(e)._round()});return this._boundsArray=new ae.StructArrayLayout4i8,this._boundsArray.emplaceBack(r[0].x,r[0].y,0,0),this._boundsArray.emplaceBack(r[1].x,r[1].y,ae.EXTENT,0),this._boundsArray.emplaceBack(r[3].x,r[3].y,0,ae.EXTENT),this._boundsArray.emplaceBack(r[2].x,r[2].y,ae.EXTENT,ae.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new ae.Event("data",{dataType:"source",sourceDataType:"content"})),this},e.prototype.prepare=function(){if(0!==Object.keys(this.tiles).length&&this.image){var e=this.map.painter.context,t=e.gl;for(var n in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,fe.members)),this.boundsSegments||(this.boundsSegments=ae.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new ae.Texture(e,this.image,t.RGBA),this.texture.bind(t.LINEAR,t.CLAMP_TO_EDGE)),this.tiles){var r=this.tiles[n];"loaded"!==r.state&&(r.state="loaded",r.texture=this.texture)}}},e.prototype.loadTile=function(e,t){this.tileID&&this.tileID.equals(e.tileID.canonical)?(this.tiles[String(e.tileID.wrap)]=e,e.buckets={},t(null)):(e.state="errored",t(null))},e.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},e.prototype.hasTransition=function(){return!1},e}(ae.Evented),de=function(i){function e(e,t,n,r){i.call(this,e,t,n,r),this.roundZoom=!0,this.type="video",this.options=t}return i&&(e.__proto__=i),(e.prototype=Object.create(i&&i.prototype)).constructor=e,e.prototype.load=function(){this._loaded=!1,this._acceptedVideo=!1;var e=this.options;this.urls=[];for(var t=0,n=e.urls;t<n.length;t+=1)this.urls.push(this.map._requestManager.transformRequest(n[t],ae.ResourceType.Source).url);if(/^(http|https):\/\/.*/.test(this.urls[0]))ae.getVideo(this.urls,this.initVideo.bind(this));else{this._acceptedVideo=!0;var r=document.getElementById(this.urls[0]);this.initVideo(!r&&new ae.ValidationError("sources."+this.id,null,"video is not found"),r)}},e.prototype.initVideo=function(e,t){var n=this;n._manualFakePlay=!0,this._loaded=!0,e?this.fire(new ae.ErrorEvent(e)):t&&(this.video=t,this._acceptedVideo&&!1===this.video.loop||(this.video.loop=!0),this.video.addEventListener("playing",function(){n.map.triggerRepaint()}),this.video.addEventListener("timeupdate",function(){n._firstFrameRendered&&n._manualFakePlay&&(n.video.autoplay||(n.video.currentTime=0,n.video.pause()),n._manualFakePlay=!1,n.fire(new Event("videoloaded")))}),this.map&&(this._acceptedVideo||(this.video.autoplay=!0),this.video.muted=!0,this.video.play()),this._finishLoading())},e.prototype.pause=function(){this.video&&this.video.pause()},e.prototype.play=function(){this.video&&this.video.play()},e.prototype.seek=function(e){if(this.video){var t=this.video.seekable;e<t.start(0)||e>t.end(0)?this.fire(new ae.ErrorEvent(new ae.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+t.start(0)+" and "+t.end(0)+"-second mark."))):this.video.currentTime=e}},e.prototype.getVideo=function(){return this.video},e.prototype.onAdd=function(e){this.map||(this.map=e,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},e.prototype.prepare=function(){if(!(0===Object.keys(this.tiles).length||this.video.readyState<2)){var e=this.map.painter.context,t=e.gl;for(var n in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,fe.members)),this.boundsSegments||(this.boundsSegments=ae.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(t.LINEAR,t.CLAMP_TO_EDGE),t.texSubImage2D(t.TEXTURE_2D,0,0,0,t.RGBA,t.UNSIGNED_BYTE,this.video),this._firstFrameRendered=!0):(this.texture=new ae.Texture(e,this.video,t.RGBA),this.texture.bind(t.LINEAR,t.CLAMP_TO_EDGE)),this.tiles){var r=this.tiles[n];"loaded"!==r.state&&(r.state="loaded",r.texture=this.texture)}}},e.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},e.prototype.hasTransition=function(){return this.video&&!this.video.paused},e}(he),pe=function(i){function e(e,t,n,r){i.call(this,e,t,n,r),t.coordinates?Array.isArray(t.coordinates)&&4===t.coordinates.length&&!t.coordinates.some(function(e){return!Array.isArray(e)||2!==e.length||e.some(function(e){return"number"!=typeof e})})||this.fire(new ae.ErrorEvent(new ae.ValidationError("sources."+e,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new ae.ErrorEvent(new ae.ValidationError("sources."+e,null,'missing required property "coordinates"'))),t.animate&&"boolean"!=typeof t.animate&&this.fire(new ae.ErrorEvent(new ae.ValidationError("sources."+e,null,'optional "animate" property must be a boolean value'))),t.canvas?"string"==typeof t.canvas||t.canvas instanceof ae.window.HTMLCanvasElement||this.fire(new ae.ErrorEvent(new ae.ValidationError("sources."+e,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new ae.ErrorEvent(new ae.ValidationError("sources."+e,null,'missing required property "canvas"'))),this.options=t,this.animate=void 0===t.animate||t.animate}return i&&(e.__proto__=i),(e.prototype=Object.create(i&&i.prototype)).constructor=e,e.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof ae.window.HTMLCanvasElement?this.options.canvas:ae.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new ae.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},e.prototype.getCanvas=function(){return this.canvas},e.prototype.onAdd=function(e){this.map=e,this.load(),this.canvas&&this.animate&&this.play()},e.prototype.onRemove=function(){this.pause()},e.prototype.prepare=function(){var e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),!this._hasInvalidDimensions()&&0!==Object.keys(this.tiles).length){var t=this.map.painter.context,n=t.gl;for(var r in this.boundsBuffer||(this.boundsBuffer=t.createVertexBuffer(this._boundsArray,fe.members)),this.boundsSegments||(this.boundsSegments=ae.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new ae.Texture(t,this.canvas,n.RGBA,{premultiply:!0}),this.tiles){var i=this.tiles[r];"loaded"!==i.state&&(i.state="loaded",i.texture=this.texture)}}},e.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},e.prototype.hasTransition=function(){return this._playing},e.prototype._hasInvalidDimensions=function(){for(var e=0,t=[this.canvas.width,this.canvas.height];e<t.length;e+=1){var n=t[e];if(isNaN(n)||n<=0)return!0}return!1},e}(he),ye={vector:ie,raster:oe,"raster-dem":ue,geojson:ce,video:de,image:he,canvas:pe};function me(e,t){var n=ae.identity([]);return ae.translate(n,n,[1,1,0]),ae.scale(n,n,[.5*e.width,.5*e.height,1]),ae.multiply(n,n,e.calculatePosMatrix(t.toUnwrapped()))}function ge(r,e,t,n,i,o){var a=function(e,t,n){if(e)for(var r=0,i=e;r<i.length;r+=1){var o=t[i[r]];if(o&&o.source===n&&"fill-extrusion"===o.type)return!0}else for(var a in t){var s=t[a];if(s.source===n&&"fill-extrusion"===s.type)return!0}return!1}(i&&i.layers,e,r.id),s=o.maxPitchScaleFactor(),l=r.tilesIn(n,s,a);l.sort(ve);for(var u=[],c=0,f=l;c<f.length;c+=1){var h=f[c];u.push({wrappedTileID:h.tileID.wrapped().key,queryResults:h.tile.queryRenderedFeatures(e,t,r._state,h.queryGeometry,h.cameraQueryGeometry,h.scale,i,o,s,me(r.transform,h.tileID))})}var d=function(e){for(var t={},n={},r=0,i=e;r<i.length;r+=1){var o=i[r],a=o.queryResults,s=o.wrappedTileID,l=n[s]=n[s]||{};for(var u in a)for(var c=a[u],f=l[u]=l[u]||{},h=t[u]=t[u]||[],d=0,p=c;d<p.length;d+=1){var y=p[d];f[y.featureIndex]||(f[y.featureIndex]=!0,h.push(y))}}return t}(u);for(var p in d)d[p].forEach(function(e){var t=e.feature,n=r.getFeatureState(t.layer["source-layer"],t.id);t.source=t.layer.source,t.layer["source-layer"]&&(t.sourceLayer=t.layer["source-layer"]),t.state=n});return d}function ve(e,t){var n=e.tileID,r=t.tileID;return n.overscaledZ-r.overscaledZ||n.canonical.y-r.canonical.y||n.wrap-r.wrap||n.canonical.x-r.canonical.x}var o=function(e,t){this.max=e,this.onRemove=t,this.reset()};o.prototype.reset=function(){for(var e in this.data)for(var t=0,n=this.data[e];t<n.length;t+=1){var r=n[t];r.timeout&&clearTimeout(r.timeout),this.onRemove(r.value)}return this.data={},this.order=[],this},o.prototype.add=function(e,t,n){var r=this,i=e.wrapped().key;void 0===this.data[i]&&(this.data[i]=[]);var o={value:t,timeout:void 0};if(void 0!==n&&(o.timeout=setTimeout(function(){r.remove(e,o)},n)),this.data[i].push(o),this.order.push(i),this.order.length>this.max){var a=this._getAndRemoveByKey(this.order[0]);a&&this.onRemove(a)}return this},o.prototype.has=function(e){return e.wrapped().key in this.data},o.prototype.getAndRemove=function(e){return this.has(e)?this._getAndRemoveByKey(e.wrapped().key):null},o.prototype._getAndRemoveByKey=function(e){var t=this.data[e].shift();return t.timeout&&clearTimeout(t.timeout),0===this.data[e].length&&delete this.data[e],this.order.splice(this.order.indexOf(e),1),t.value},o.prototype.getByKey=function(e){var t=this.data[e];return t?t[0].value:null},o.prototype.get=function(e){return this.has(e)?this.data[e.wrapped().key][0].value:null},o.prototype.remove=function(e,t){if(!this.has(e))return this;var n=e.wrapped().key,r=void 0===t?0:this.data[n].indexOf(t),i=this.data[n][r];return this.data[n].splice(r,1),i.timeout&&clearTimeout(i.timeout),0===this.data[n].length&&delete this.data[n],this.onRemove(i.value),this.order.splice(this.order.indexOf(n),1),this},o.prototype.setMaxSize=function(e){for(this.max=e;this.order.length>this.max;){var t=this._getAndRemoveByKey(this.order[0]);t&&this.onRemove(t)}return this},o.prototype.filter=function(e){var t=[];for(var n in this.data)for(var r=0,i=this.data[n];r<i.length;r+=1){var o=i[r];e(o.value)||t.push(o)}for(var a=0,s=t;a<s.length;a+=1){var l=s[a];this.remove(l.value.tileID,l)}};var be=function(e,t,n){this.context=e;var r=e.gl;this.buffer=r.createBuffer(),this.dynamicDraw=Boolean(n),this.context.unbindVAO(),e.bindElementBuffer.set(this.buffer),r.bufferData(r.ELEMENT_ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?r.DYNAMIC_DRAW:r.STATIC_DRAW),this.dynamicDraw||delete t.arrayBuffer};be.prototype.bind=function(){this.context.bindElementBuffer.set(this.buffer)},be.prototype.updateData=function(e){var t=this.context.gl;this.context.unbindVAO(),this.bind(),t.bufferSubData(t.ELEMENT_ARRAY_BUFFER,0,e.arrayBuffer)},be.prototype.destroy=function(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)};var _e={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"},xe=function(e,t,n,r){this.length=t.length,this.attributes=n,this.itemSize=t.bytesPerElement,this.dynamicDraw=r,this.context=e;var i=e.gl;this.buffer=i.createBuffer(),e.bindVertexBuffer.set(this.buffer),i.bufferData(i.ARRAY_BUFFER,t.arrayBuffer,this.dynamicDraw?i.DYNAMIC_DRAW:i.STATIC_DRAW),this.dynamicDraw||delete t.arrayBuffer};xe.prototype.bind=function(){this.context.bindVertexBuffer.set(this.buffer)},xe.prototype.updateData=function(e){var t=this.context.gl;this.bind(),t.bufferSubData(t.ARRAY_BUFFER,0,e.arrayBuffer)},xe.prototype.enableAttributes=function(e,t){for(var n=0;n<this.attributes.length;n++){var r=t.attributes[this.attributes[n].name];void 0!==r&&e.enableVertexAttribArray(r)}},xe.prototype.setVertexAttribPointers=function(e,t,n){for(var r=0;r<this.attributes.length;r++){var i=this.attributes[r],o=t.attributes[i.name];void 0!==o&&e.vertexAttribPointer(o,i.components,e[_e[i.type]],!1,this.itemSize,i.offset+this.itemSize*(n||0))}},xe.prototype.destroy=function(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)};var e=function(e){this.gl=e.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1};e.prototype.get=function(){return this.current},e.prototype.set=function(e){},e.prototype.getDefault=function(){return this.default},e.prototype.setDefault=function(){this.set(this.default)};var we=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return ae.Color.transparent},t.prototype.set=function(e){var t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.clearColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1)},t}(e),Ae=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 1},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.clearDepth(e),this.current=e,this.dirty=!1)},t}(e),Se=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 0},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.clearStencil(e),this.current=e,this.dirty=!1)},t}(e),Ce=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return[!0,!0,!0,!0]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.colorMask(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1)},t}(e),Oe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!0},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.depthMask(e),this.current=e,this.dirty=!1)},t}(e),Ee=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 255},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.stencilMask(e),this.current=e,this.dirty=!1)},t}(e),Me=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return{func:this.gl.ALWAYS,ref:0,mask:255}},t.prototype.set=function(e){var t=this.current;(e.func!==t.func||e.ref!==t.ref||e.mask!==t.mask||this.dirty)&&(this.gl.stencilFunc(e.func,e.ref,e.mask),this.current=e,this.dirty=!1)},t}(e),Pe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){var e=this.gl;return[e.KEEP,e.KEEP,e.KEEP]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||this.dirty)&&(this.gl.stencilOp(e[0],e[1],e[2]),this.current=e,this.dirty=!1)},t}(e),ke=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.STENCIL_TEST):t.disable(t.STENCIL_TEST),this.current=e,this.dirty=!1}},t}(e),Te=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return[0,1]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.depthRange(e[0],e[1]),this.current=e,this.dirty=!1)},t}(e),Ie=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.DEPTH_TEST):t.disable(t.DEPTH_TEST),this.current=e,this.dirty=!1}},t}(e),Le=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.LESS},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.depthFunc(e),this.current=e,this.dirty=!1)},t}(e),je=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.BLEND):t.disable(t.BLEND),this.current=e,this.dirty=!1}},t}(e),De=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){var e=this.gl;return[e.ONE,e.ZERO]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||this.dirty)&&(this.gl.blendFunc(e[0],e[1]),this.current=e,this.dirty=!1)},t}(e),Be=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return ae.Color.transparent},t.prototype.set=function(e){var t=this.current;(e.r!==t.r||e.g!==t.g||e.b!==t.b||e.a!==t.a||this.dirty)&&(this.gl.blendColor(e.r,e.g,e.b,e.a),this.current=e,this.dirty=!1)},t}(e),Re=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.FUNC_ADD},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.blendEquation(e),this.current=e,this.dirty=!1)},t}(e),Ne=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;e?t.enable(t.CULL_FACE):t.disable(t.CULL_FACE),this.current=e,this.dirty=!1}},t}(e),ze=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.BACK},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.cullFace(e),this.current=e,this.dirty=!1)},t}(e),Fe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.CCW},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.frontFace(e),this.current=e,this.dirty=!1)},t}(e),Ve=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.useProgram(e),this.current=e,this.dirty=!1)},t}(e),He=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return this.gl.TEXTURE0},t.prototype.set=function(e){(e!==this.current||this.dirty)&&(this.gl.activeTexture(e),this.current=e,this.dirty=!1)},t}(e),Ye=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){var e=this.gl;return[0,0,e.drawingBufferWidth,e.drawingBufferHeight]},t.prototype.set=function(e){var t=this.current;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||this.dirty)&&(this.gl.viewport(e[0],e[1],e[2],e[3]),this.current=e,this.dirty=!1)},t}(e),Ge=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,e),this.current=e,this.dirty=!1}},t}(e),Ue=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindRenderbuffer(t.RENDERBUFFER,e),this.current=e,this.dirty=!1}},t}(e),Qe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindTexture(t.TEXTURE_2D,e),this.current=e,this.dirty=!1}},t}(e),We=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.bindBuffer(t.ARRAY_BUFFER,e),this.current=e,this.dirty=!1}},t}(e),qe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return null},t.prototype.set=function(e){var t=this.gl;t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,e),this.current=e,this.dirty=!1},t}(e),Ke=function(t){function e(e){t.call(this,e),this.vao=e.extVertexArrayObject}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(e){this.vao&&(e!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(e),this.current=e,this.dirty=!1)},e}(e),Xe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return 4},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.pixelStorei(t.UNPACK_ALIGNMENT,e),this.current=e,this.dirty=!1}},t}(e),Je=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e),this.current=e,this.dirty=!1}},t}(e),$e=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.getDefault=function(){return!1},t.prototype.set=function(e){if(e!==this.current||this.dirty){var t=this.gl;t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,e),this.current=e,this.dirty=!1}},t}(e),Ze=function(n){function e(e,t){n.call(this,e),this.context=e,this.parent=t}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype.getDefault=function(){return null},e}(e),et=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.setDirty=function(){this.dirty=!0},t.prototype.set=function(e){if(e!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var t=this.gl;t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,e,0),this.current=e,this.dirty=!1}},t}(Ze),tt=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.set=function(e){if(e!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var t=this.gl;t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,e),this.current=e,this.dirty=!1}},t}(Ze),nt=function(e,t,n,r){this.context=e,this.width=t,this.height=n;var i=this.framebuffer=e.gl.createFramebuffer();this.colorAttachment=new et(e,i),r&&(this.depthAttachment=new tt(e,i))};nt.prototype.destroy=function(){var e=this.context.gl,t=this.colorAttachment.get();if(t&&e.deleteTexture(t),this.depthAttachment){var n=this.depthAttachment.get();n&&e.deleteRenderbuffer(n)}e.deleteFramebuffer(this.framebuffer)};var se=function(e,t,n){this.func=e,this.mask=t,this.range=n};se.ReadOnly=!1,se.ReadWrite=!0,se.disabled=new se(519,se.ReadOnly,[0,1]);var F=function(e,t,n,r,i,o){this.test=e,this.ref=t,this.mask=n,this.fail=r,this.depthFail=i,this.pass=o};F.disabled=new F({func:519,mask:0},0,0,7680,7680,7680);var y=function(e,t,n){this.blendFunction=e,this.blendColor=t,this.mask=n};y.disabled=new y(y.Replace=[1,0],ae.Color.transparent,[!1,!1,!1,!1]),y.unblended=new y(y.Replace,ae.Color.transparent,[!0,!0,!0,!0]),y.alphaBlended=new y([1,771],ae.Color.transparent,[!0,!0,!0,!0]);var V=function(e,t,n){this.enable=e,this.mode=t,this.frontFace=n};V.disabled=new V(!1,1029,2305),V.backCCW=new V(!0,1029,2305);var n=function(e){this.gl=e,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new we(this),this.clearDepth=new Ae(this),this.clearStencil=new Se(this),this.colorMask=new Ce(this),this.depthMask=new Oe(this),this.stencilMask=new Ee(this),this.stencilFunc=new Me(this),this.stencilOp=new Pe(this),this.stencilTest=new ke(this),this.depthRange=new Te(this),this.depthTest=new Ie(this),this.depthFunc=new Le(this),this.blend=new je(this),this.blendFunc=new De(this),this.blendColor=new Be(this),this.blendEquation=new Re(this),this.cullFace=new Ne(this),this.cullFaceSide=new ze(this),this.frontFace=new Fe(this),this.program=new Ve(this),this.activeTexture=new He(this),this.viewport=new Ye(this),this.bindFramebuffer=new Ge(this),this.bindRenderbuffer=new Ue(this),this.bindTexture=new Qe(this),this.bindVertexBuffer=new We(this),this.bindElementBuffer=new qe(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new Ke(this),this.pixelStoreUnpack=new Xe(this),this.pixelStoreUnpackPremultiplyAlpha=new Je(this),this.pixelStoreUnpackFlipY=new $e(this),this.extTextureFilterAnisotropic=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=e.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=e.getExtension("OES_texture_half_float"),this.extTextureHalfFloat&&(e.getExtension("OES_texture_half_float_linear"),this.extRenderToTextureHalfFloat=e.getExtension("EXT_color_buffer_half_float")),this.extTimerQuery=e.getExtension("EXT_disjoint_timer_query"),this.maxTextureSize=e.getParameter(e.MAX_TEXTURE_SIZE)};n.prototype.setDefault=function(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault()},n.prototype.setDirty=function(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0},n.prototype.createIndexBuffer=function(e,t){return new be(this,e,t)},n.prototype.createVertexBuffer=function(e,t,n){return new xe(this,e,t,n)},n.prototype.createRenderbuffer=function(e,t,n){var r=this.gl,i=r.createRenderbuffer();return this.bindRenderbuffer.set(i),r.renderbufferStorage(r.RENDERBUFFER,e,t,n),this.bindRenderbuffer.set(null),i},n.prototype.createFramebuffer=function(e,t,n){return new nt(this,e,t,n)},n.prototype.clear=function(e){var t=e.color,n=e.depth,r=this.gl,i=0;t&&(i|=r.COLOR_BUFFER_BIT,this.clearColor.set(t),this.colorMask.set([!0,!0,!0,!0])),void 0!==n&&(i|=r.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(n),this.depthMask.set(!0)),r.clear(i)},n.prototype.setCullFace=function(e){!1===e.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(e.mode),this.frontFace.set(e.frontFace))},n.prototype.setDepthMode=function(e){e.func!==this.gl.ALWAYS||e.mask?(this.depthTest.set(!0),this.depthFunc.set(e.func),this.depthMask.set(e.mask),this.depthRange.set(e.range)):this.depthTest.set(!1)},n.prototype.setStencilMode=function(e){e.test.func!==this.gl.ALWAYS||e.mask?(this.stencilTest.set(!0),this.stencilMask.set(e.mask),this.stencilOp.set([e.fail,e.depthFail,e.pass]),this.stencilFunc.set({func:e.test.func,ref:e.ref,mask:e.test.mask})):this.stencilTest.set(!1)},n.prototype.setColorMode=function(e){ae.deepEqual(e.blendFunction,y.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(e.blendFunction),this.blendColor.set(e.blendColor)),this.colorMask.set(e.mask)},n.prototype.unbindVAO=function(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)};var rt=function(i){function x(e,t,n){var r=this;i.call(this),this.id=e,this.dispatcher=n,this.on("data",function(e){"source"===e.dataType&&"metadata"===e.sourceDataType&&(r._sourceLoaded=!0),r._sourceLoaded&&!r._paused&&"source"===e.dataType&&"content"===e.sourceDataType&&(r.reload(),r.transform&&r.update(r.transform))}),this.on("error",function(){r._sourceErrored=!0}),this._source=function(e,t,n,r){var i=new ye[t.type](e,t,n,r);if(i.id!==e)throw new Error("Expected Source id to be "+e+" instead of "+i.id);return ae.bindAll(["load","abort","unload","serialize","prepare"],i),i}(e,t,n,this),this._tiles={},this._cache=new o(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new ae.SourceFeatureState}return i&&(x.__proto__=i),(x.prototype=Object.create(i&&i.prototype)).constructor=x,x.prototype.onAdd=function(e){this.map=e,this._maxTileCacheSize=e?e._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(e)},x.prototype.onRemove=function(e){this._source&&this._source.onRemove&&this._source.onRemove(e)},x.prototype.loaded=function(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(var e in this._tiles){var t=this._tiles[e];if("loaded"!==t.state&&"errored"!==t.state)return!1}return!0},x.prototype.getSource=function(){return this._source},x.prototype.pause=function(){this._paused=!0},x.prototype.resume=function(){if(this._paused){var e=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,e&&this.reload(),this.transform&&this.update(this.transform)}},x.prototype._loadTile=function(e,t){return this._source.loadTile(e,t)},x.prototype._unloadTile=function(e){if(this._source.unloadTile)return this._source.unloadTile(e,function(){})},x.prototype._abortTile=function(e){if(this._source.abortTile)return this._source.abortTile(e,function(){})},x.prototype.serialize=function(){return this._source.serialize()},x.prototype.prepare=function(e){for(var t in this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null),this._tiles){var n=this._tiles[t];n.upload(e),n.prepare(this.map.style.imageManagerFactory._getImageManager(this.id))}},x.prototype.getIds=function(){return ae.values(this._tiles).map(function(e){return e.tileID}).sort(it).map(function(e){return e.key})},x.prototype.getRenderableIds=function(e){var a=this,t=[];for(var n in this._tiles)this._isIdRenderable(n,e)&&t.push(this._tiles[n]);return e?t.sort(function(e,t){var n=e.tileID,r=t.tileID,i=new ae.Point(n.canonical.x,n.canonical.y)._rotate(a.transform.angle),o=new ae.Point(r.canonical.x,r.canonical.y)._rotate(a.transform.angle);return n.overscaledZ-r.overscaledZ||o.y-i.y||o.x-i.x}).map(function(e){return e.tileID.key}):t.map(function(e){return e.tileID}).sort(it).map(function(e){return e.key})},x.prototype.hasRenderableParent=function(e){var t=this.findLoadedParent(e,0);return!!t&&this._isIdRenderable(t.tileID.key)},x.prototype._isIdRenderable=function(e,t){return this._tiles[e]&&this._tiles[e].hasData()&&!this._coveredTiles[e]&&(t||!this._tiles[e].holdingForFade())},x.prototype.reload=function(){if(this._paused)this._shouldReloadOnResume=!0;else for(var e in this._cache.reset(),this._tiles)"errored"!==this._tiles[e].state&&this._reloadTile(e,"reloading")},x.prototype._reloadTile=function(e,t){var n=this._tiles[e];n&&("loading"!==n.state&&(n.state=t),this._loadTile(n,this._tileLoaded.bind(this,n,e,t)))},x.prototype._tileLoaded=function(e,t,n,r){if(r)return e.state="errored",void(404!==r.status?this._source.fire(new ae.ErrorEvent(r,{tile:e})):this.update(this.transform));e.timeAdded=ae.browser.now(),"expired"===n&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(t,e),"raster-dem"===this.getSource().type&&e.dem&&this._backfillDEM(e),this._state.initializeTileState(e,this.map?this.map.painter:null),this._source.fire(new ae.Event("data",{dataType:"source",tile:e,coord:e.tileID}))},x.prototype._backfillDEM=function(e){for(var t=this.getRenderableIds(),n=0;n<t.length;n++){var r=t[n];if(e.neighboringTiles&&e.neighboringTiles[r]){var i=this.getTileByID(r);o(e,i),o(i,e)}}function o(e,t){e.needsHillshadePrepare=!0;var n=t.tileID.canonical.x-e.tileID.canonical.x,r=t.tileID.canonical.y-e.tileID.canonical.y,i=Math.pow(2,e.tileID.canonical.z),o=t.tileID.key;0===n&&0===r||Math.abs(r)>1||(Math.abs(n)>1&&(1===Math.abs(n+i)?n+=i:1===Math.abs(n-i)&&(n-=i)),t.dem&&e.dem&&(e.dem.backfillBorder(t.dem,n,r),e.neighboringTiles&&e.neighboringTiles[o]&&(e.neighboringTiles[o].backfilled=!0)))}},x.prototype.getTile=function(e){return this.getTileByID(e.key)},x.prototype.getTileByID=function(e){return this._tiles[e]},x.prototype._retainLoadedChildren=function(e,t,n,r){for(var i in this._tiles){var o=this._tiles[i];if(!(r[i]||!o.hasData()||o.tileID.overscaledZ<=t||o.tileID.overscaledZ>n)){for(var a=o.tileID;o&&o.tileID.overscaledZ>t+1;){var s=o.tileID.scaledTo(o.tileID.overscaledZ-1);(o=this._tiles[s.key])&&o.hasData()&&(a=s)}for(var l=a;l.overscaledZ>t;)if(e[(l=l.scaledTo(l.overscaledZ-1)).key]){r[a.key]=a;break}}}},x.prototype.findLoadedParent=function(e,t){if(e.key in this._loadedParentTiles){var n=this._loadedParentTiles[e.key];return n&&n.tileID.overscaledZ>=t?n:null}for(var r=e.overscaledZ-1;r>=t;r--){var i=e.scaledTo(r),o=this._getLoadedTile(i);if(o)return o}},x.prototype._getLoadedTile=function(e){var t=this._tiles[e.key];return t&&t.hasData()?t:this._cache.getByKey(e.wrapped().key)},x.prototype.updateCacheSize=function(e){var t=Math.ceil(e.width/this._source.tileSize)+1,n=Math.ceil(e.height/this._source.tileSize)+1,r=Math.floor(t*n*5),i="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,r):r;this._cache.setMaxSize(i)},x.prototype.handleWrapJump=function(e){var t=Math.round((e-(void 0===this._prevLng?e:this._prevLng))/360);if(this._prevLng=e,t){var n={};for(var r in this._tiles){var i=this._tiles[r];i.tileID=i.tileID.unwrapTo(i.tileID.wrap+t),n[i.tileID.key]=i}for(var o in this._tiles=n,this._timers)clearTimeout(this._timers[o]),delete this._timers[o];for(var a in this._tiles)this._setTileReloadTimer(a,this._tiles[a])}},x.prototype.update=function(e){var t=this;if(this.transform=e,this._sourceLoaded&&!this._paused){var n;this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?n=e.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(e){return new ae.OverscaledTileID(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y)}):(n=e.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(n=n.filter(function(e){return t._source.hasTile(e)}))):n=[];var r=e.coveringZoomLevel(this._source),i=Math.max(r-x.maxOverzooming,this._source.minzoom),o=Math.max(r+x.maxUnderzooming,this._source.minzoom),a=this._updateRetainedTiles(n,r);if(ot(this._source.type)){for(var s={},l={},u=0,c=Object.keys(a);u<c.length;u+=1){var f=c[u],h=a[f],d=this._tiles[f];if(d&&!(d.fadeEndTime&&d.fadeEndTime<=ae.browser.now())){var p=this.findLoadedParent(h,i);p&&(this._addTile(p.tileID),s[p.tileID.key]=p.tileID),l[f]=h}}for(var y in this._retainLoadedChildren(l,r,o,a),s)a[y]||(this._coveredTiles[y]=!0,a[y]=s[y])}for(var m in a)this._tiles[m].clearFadeHold();for(var g=0,v=ae.keysDifference(this._tiles,a);g<v.length;g+=1){var b=v[g],_=this._tiles[b];_.hasSymbolBuckets&&!_.holdingForFade()?_.setHoldDuration(this.map._fadeDuration):_.hasSymbolBuckets&&!_.symbolFadeFinished()||this._removeTile(b)}this._updateLoadedParentTileCache()}},x.prototype.releaseSymbolFadeTiles=function(){for(var e in this._tiles)this._tiles[e].holdingForFade()&&this._removeTile(e)},x.prototype._updateRetainedTiles=function(e,t){for(var n={},r={},i=Math.max(t-x.maxOverzooming,this._source.minzoom),o=Math.max(t+x.maxUnderzooming,this._source.minzoom),a={},s=0,l=e;s<l.length;s+=1){var u=l[s],c=this._addTile(u);n[u.key]=u,c.hasData()||t<this._source.maxzoom&&(a[u.key]=u)}this._retainLoadedChildren(a,t,o,n);for(var f=0,h=e;f<h.length;f+=1){var d=h[f],p=this._tiles[d.key];if(!p.hasData()){if(t+1>this._source.maxzoom){var y=d.children(this._source.maxzoom)[0],m=this.getTile(y);if(m&&m.hasData()){n[y.key]=y;continue}}else{var g=d.children(this._source.maxzoom);if(n[g[0].key]&&n[g[1].key]&&n[g[2].key]&&n[g[3].key])continue}for(var v=p.wasRequested(),b=d.overscaledZ-1;b>=i;--b){var _=d.scaledTo(b);if(r[_.key])break;if(r[_.key]=!0,!(p=this.getTile(_))&&v&&(p=this._addTile(_)),p&&(n[_.key]=_,v=p.wasRequested(),p.hasData()))break}}}return n},x.prototype._updateLoadedParentTileCache=function(){for(var e in this._loadedParentTiles={},this._tiles){for(var t=[],n=void 0,r=this._tiles[e].tileID;r.overscaledZ>0;){if(r.key in this._loadedParentTiles){n=this._loadedParentTiles[r.key];break}t.push(r.key);var i=r.scaledTo(r.overscaledZ-1);if(n=this._getLoadedTile(i))break;r=i}for(var o=0,a=t;o<a.length;o+=1)this._loadedParentTiles[a[o]]=n}},x.prototype._addTile=function(e){var t=this._tiles[e.key];if(t)return t;(t=this._cache.getAndRemove(e))&&(this._setTileReloadTimer(e.key,t),t.tileID=e,this._state.initializeTileState(t,this.map?this.map.painter:null),this._cacheTimers[e.key]&&(clearTimeout(this._cacheTimers[e.key]),delete this._cacheTimers[e.key],this._setTileReloadTimer(e.key,t)));var n=Boolean(t);return n||(t=new ae.Tile(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(t,this._tileLoaded.bind(this,t,e.key,t.state))),t?(t.uses++,this._tiles[e.key]=t,n||this._source.fire(new ae.Event("dataloading",{tile:t,coord:t.tileID,dataType:"source"})),t):null},x.prototype._setTileReloadTimer=function(e,t){var n=this;e in this._timers&&(clearTimeout(this._timers[e]),delete this._timers[e]);var r=t.getExpiryTimeout();r&&(this._timers[e]=setTimeout(function(){n._reloadTile(e,"expired"),delete n._timers[e]},r))},x.prototype._removeTile=function(e){var t=this._tiles[e];t&&(t.uses--,delete this._tiles[e],this._timers[e]&&(clearTimeout(this._timers[e]),delete this._timers[e]),t.uses>0||(t.hasData()&&"reloading"!==t.state?this._cache.add(t.tileID,t,t.getExpiryTimeout()):(t.aborted=!0,this._abortTile(t),this._unloadTile(t))))},x.prototype.clearTiles=function(){for(var e in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(e);this._cache.reset()},x.prototype.tilesIn=function(e,l,t){var u=this,c=[],f=this.transform;if(!f)return c;for(var n=t?f.getCameraQueryGeometry(e):e,h=e.map(function(e){return f.pointCoordinate(e)}),d=n.map(function(e){return f.pointCoordinate(e)}),p=this.getIds(),y=1/0,m=1/0,g=-1/0,v=-1/0,r=0,i=d;r<i.length;r+=1){var o=i[r];y=Math.min(y,o.x),m=Math.min(m,o.y),g=Math.max(g,o.x),v=Math.max(v,o.y)}for(var a=function(e){var t=u._tiles[p[e]];if(!t.holdingForFade()){var n=t.tileID,r=Math.pow(2,f.zoom-t.tileID.overscaledZ),i=l*t.queryPadding*ae.EXTENT/t.tileSize/r,o=[n.getTilePoint(new ae.MercatorCoordinate(y,m)),n.getTilePoint(new ae.MercatorCoordinate(g,v))];if(o[0].x-i<ae.EXTENT&&o[0].y-i<ae.EXTENT&&o[1].x+i>=0&&o[1].y+i>=0){var a=h.map(function(e){return n.getTilePoint(e)}),s=d.map(function(e){return n.getTilePoint(e)});c.push({tile:t,tileID:n,queryGeometry:a,cameraQueryGeometry:s,scale:r})}}},s=0;s<p.length;s++)a(s);return c},x.prototype.getVisibleCoordinates=function(e){for(var t=this,n=this.getRenderableIds(e).map(function(e){return t._tiles[e].tileID}),r=0,i=n;r<i.length;r+=1){var o=i[r];o.posMatrix=this.transform.calculatePosMatrix(o.toUnwrapped())}return n},x.prototype.hasTransition=function(){if(this._source.hasTransition())return!0;if(ot(this._source.type))for(var e in this._tiles){var t=this._tiles[e];if(void 0!==t.fadeEndTime&&t.fadeEndTime>=ae.browser.now())return!0}return!1},x.prototype.setFeatureState=function(e,t,n){this._state.updateState(e=e||"_geojsonTileLayer",t,n)},x.prototype.removeFeatureState=function(e,t,n){this._state.removeFeatureState(e=e||"_geojsonTileLayer",t,n)},x.prototype.getFeatureState=function(e,t){return this._state.getState(e=e||"_geojsonTileLayer",t)},x.prototype.setDependencies=function(e,t,n){var r=this._tiles[e];r&&r.setDependencies(t,n)},x.prototype.reloadTilesForDependencies=function(t,n){for(var e in this._tiles)this._tiles[e].hasDependency(t,n)&&this._reloadTile(e,"reloading");this._cache.filter(function(e){return!e.hasDependency(t,n)})},x}(ae.Evented);function it(e,t){var n=Math.abs(2*e.wrap)-+(e.wrap<0),r=Math.abs(2*t.wrap)-+(t.wrap<0);return e.overscaledZ-t.overscaledZ||r-n||t.canonical.y-e.canonical.y||t.canonical.x-e.canonical.x}function ot(e){return"raster"===e||"image"===e||"video"===e}function at(){return new ae.window.Worker($i.workerUrl)}rt.maxOverzooming=10,rt.maxUnderzooming=3;var st="mapboxgl_preloaded_worker_pool",lt=function(){this.active={}};lt.prototype.acquire=function(e){if(!this.workers)for(this.workers=[];this.workers.length<lt.workerCount;)this.workers.push(new at);return this.active[e]=!0,this.workers.slice()},lt.prototype.release=function(e){delete this.active[e],0===this.numActive()&&(this.workers.forEach(function(e){e.terminate()}),this.workers=null)},lt.prototype.isPreloaded=function(){return!!this.active[st]},lt.prototype.numActive=function(){return Object.keys(this.active).length};var ut,ct=Math.floor(ae.browser.hardwareConcurrency/2);function ft(){return ut||(ut=new lt),ut}function ht(e,t){var n={};for(var r in e)"ref"!==r&&(n[r]=e[r]);return ae.refProperties.forEach(function(e){e in t&&(n[e]=t[e])}),n}function dt(e){e=e.slice();for(var t=Object.create(null),n=0;n<e.length;n++)t[e[n].id]=e[n];for(var r=0;r<e.length;r++)"ref"in e[r]&&(e[r]=ht(e[r],t[e[r].ref]));return e}lt.workerCount=Math.max(Math.min(ct,6),1);var m={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight"};function pt(e,t,n){n.push({command:m.addSource,args:[e,t[e]]})}function yt(e,t,n){t.push({command:m.removeSource,args:[e]}),n[e]=!0}function mt(e,t,n,r){yt(e,n,r),pt(e,t,n)}function gt(e,t,n){var r;for(r in e[n])if(e[n].hasOwnProperty(r)&&"data"!==r&&!ae.deepEqual(e[n][r],t[n][r]))return!1;for(r in t[n])if(t[n].hasOwnProperty(r)&&"data"!==r&&!ae.deepEqual(e[n][r],t[n][r]))return!1;return!0}function vt(e,t,n,r,i,o){var a;for(a in t=t||{},e=e||{})e.hasOwnProperty(a)&&(ae.deepEqual(e[a],t[a])||n.push({command:o,args:[r,a,t[a],i]}));for(a in t)t.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(ae.deepEqual(e[a],t[a])||n.push({command:o,args:[r,a,t[a],i]}))}function bt(e){return e.id}function _t(e,t){return e[t.id]=t,e}var xt=function(e,t){this.reset(e,t)};xt.prototype.reset=function(e,t){this.points=e||[],this._distances=[0];for(var n=1;n<this.points.length;n++)this._distances[n]=this._distances[n-1]+this.points[n].dist(this.points[n-1]);this.length=this._distances[this._distances.length-1],this.padding=Math.min(t||0,.5*this.length),this.paddedLength=this.length-2*this.padding},xt.prototype.lerp=function(e){if(1===this.points.length)return this.points[0];e=ae.clamp(e,0,1);for(var t=1,n=this._distances[t],r=e*this.paddedLength+this.padding;n<r&&t<this._distances.length;)n=this._distances[++t];var i=t-1,o=this._distances[i],a=n-o,s=a>0?(r-o)/a:0;return this.points[i].mult(1-s).add(this.points[t].mult(s))};var i=function(e,t,n){var r=this.boxCells=[],i=this.circleCells=[];this.xCellCount=Math.ceil(e/n),this.yCellCount=Math.ceil(t/n);for(var o=0;o<this.xCellCount*this.yCellCount;o++)r.push([]),i.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=e,this.height=t,this.xScale=this.xCellCount/e,this.yScale=this.yCellCount/t,this.boxUid=0,this.circleUid=0};function wt(e,t,n,r,i){var o=ae.create();return t?(ae.scale(o,o,[1/i,1/i,1]),n||ae.rotateZ(o,o,r.angle)):ae.multiply(o,r.labelPlaneMatrix,e),o}function At(e,t,n,r,i){if(t){var o=ae.clone(e);return ae.scale(o,o,[i,i,1]),n||ae.rotateZ(o,o,-r.angle),o}return r.glCoordMatrix}function X(e,t){var n=[e.x,e.y,0,1];jt(n,n,t);var r=n[3];return{point:new ae.Point(n[0]/r,n[1]/r),signedDistanceFromCamera:r}}function St(e,t){return.5+e/t*.5}function Ct(e,t){var n=e[0]/e[3],r=e[1]/e[3];return n>=-t[0]&&n<=t[0]&&r>=-t[1]&&r<=t[1]}function Ot(e,t,n,r,i,o,a,s){var l=r?e.textSizeData:e.iconSizeData,u=ae.evaluateSizeForZoom(l,n.transform.zoom),c=[256/n.width*2+1,256/n.height*2+1],f=r?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;f.clear();for(var h=e.lineVertexArray,d=r?e.text.placedSymbolArray:e.icon.placedSymbolArray,p=n.transform.width/n.transform.height,y=!1,m=0;m<d.length;m++){var g=d.get(m);if(g.hidden||g.writingMode===ae.WritingMode.vertical&&!y)Lt(g.numGlyphs,f);else{y=!1;var v=[g.anchorX,g.anchorY,0,1];if(ae.transformMat4(v,v,t),Ct(v,c)){var b=St(n.transform.cameraToCenterDistance,v[3]),_=ae.evaluateSizeForFeature(l,u,g),x=a?_/b:_*b,w=new ae.Point(g.anchorX,g.anchorY),A=X(w,i).point,S={},C=Pt(g,x,!1,s,t,i,o,e.glyphOffsetArray,h,f,A,w,S,p);y=C.useVertical,(C.notEnoughRoom||y||C.needsFlipping&&Pt(g,x,!0,s,t,i,o,e.glyphOffsetArray,h,f,A,w,S,p).notEnoughRoom)&&Lt(g.numGlyphs,f)}else Lt(g.numGlyphs,f)}}r?e.text.dynamicLayoutVertexBuffer.updateData(f):e.icon.dynamicLayoutVertexBuffer.updateData(f)}function Et(e,t,n,r,i,o,a,s,l,u,c){var f=s.glyphStartIndex+s.numGlyphs,h=s.lineStartIndex,d=s.lineStartIndex+s.lineLength,p=t.getoffsetX(s.glyphStartIndex),y=t.getoffsetX(f-1),m=Tt(e*p,n,r,i,o,a,s.segment,h,d,l,u,c);if(!m)return null;var g=Tt(e*y,n,r,i,o,a,s.segment,h,d,l,u,c);return g?{first:m,last:g}:null}function Mt(e,t,n,r){return e===ae.WritingMode.horizontal&&Math.abs(n.y-t.y)>Math.abs(n.x-t.x)*r?{useVertical:!0}:(e===ae.WritingMode.vertical?t.y<n.y:t.x>n.x)?{needsFlipping:!0}:null}function Pt(e,t,n,r,i,o,a,s,l,u,c,f,h,d){var p,y=t/24,m=e.lineOffsetX*y,g=e.lineOffsetY*y;if(e.numGlyphs>1){var v=e.glyphStartIndex+e.numGlyphs,b=e.lineStartIndex,_=e.lineStartIndex+e.lineLength,x=Et(y,s,m,g,n,c,f,e,l,o,h);if(!x)return{notEnoughRoom:!0};var w=X(x.first.point,a).point,A=X(x.last.point,a).point;if(r&&!n){var S=Mt(e.writingMode,w,A,d);if(S)return S}p=[x.first];for(var C=e.glyphStartIndex+1;C<v-1;C++)p.push(Tt(y*s.getoffsetX(C),m,g,n,c,f,e.segment,b,_,l,o,h));p.push(x.last)}else{if(r&&!n){var O=X(f,i).point,E=e.lineStartIndex+e.segment+1,M=new ae.Point(l.getx(E),l.gety(E)),P=X(M,i),k=P.signedDistanceFromCamera>0?P.point:kt(f,M,O,1,i),T=Mt(e.writingMode,O,k,d);if(T)return T}var I=Tt(y*s.getoffsetX(e.glyphStartIndex),m,g,n,c,f,e.segment,e.lineStartIndex,e.lineStartIndex+e.lineLength,l,o,h);if(!I)return{notEnoughRoom:!0};p=[I]}for(var L=0,j=p;L<j.length;L+=1){var D=j[L];ae.addDynamicAttributes(u,D.point,D.angle)}return{}}function kt(e,t,n,r,i){var o=X(e.add(e.sub(t)._unit()),i).point,a=n.sub(o);return n.add(a._mult(r/a.mag()))}function Tt(e,t,n,r,i,o,a,s,l,u,c,f){var h=r?e-t:e+t,d=h>0?1:-1,p=0;r&&(d*=-1,p=Math.PI),d<0&&(p+=Math.PI);for(var y=d>0?s+a:s+a+1,m=i,g=i,v=0,b=0,_=Math.abs(h),x=[];v+b<=_;){if((y+=d)<s||y>=l)return null;if(g=m,x.push(m),void 0===(m=f[y])){var w=new ae.Point(u.getx(y),u.gety(y)),A=X(w,c);if(A.signedDistanceFromCamera>0)m=f[y]=A.point;else{var S=y-d;m=kt(0===v?o:new ae.Point(u.getx(S),u.gety(S)),w,g,_-v+1,c)}}v+=b,b=g.dist(m)}var C=(_-v)/b,O=m.sub(g),E=O.mult(C)._add(g);E._add(O._unit()._perp()._mult(n*d));var M=p+Math.atan2(m.y-g.y,m.x-g.x);return x.push(E),{point:E,angle:M,path:x}}i.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},i.prototype.insert=function(e,t,n,r,i){this._forEachCell(t,n,r,i,this._insertBoxCell,this.boxUid++),this.boxKeys.push(e),this.bboxes.push(t),this.bboxes.push(n),this.bboxes.push(r),this.bboxes.push(i)},i.prototype.insertCircle=function(e,t,n,r){this._forEachCell(t-r,n-r,t+r,n+r,this._insertCircleCell,this.circleUid++),this.circleKeys.push(e),this.circles.push(t),this.circles.push(n),this.circles.push(r)},i.prototype._insertBoxCell=function(e,t,n,r,i,o){this.boxCells[i].push(o)},i.prototype._insertCircleCell=function(e,t,n,r,i,o){this.circleCells[i].push(o)},i.prototype._query=function(e,t,n,r,i,o){if(n<0||e>this.width||r<0||t>this.height)return!i&&[];var a=[];if(e<=0&&t<=0&&this.width<=n&&this.height<=r){if(i)return!0;for(var s=0;s<this.boxKeys.length;s++)a.push({key:this.boxKeys[s],x1:this.bboxes[4*s],y1:this.bboxes[4*s+1],x2:this.bboxes[4*s+2],y2:this.bboxes[4*s+3]});for(var l=0;l<this.circleKeys.length;l++){var u=this.circles[3*l],c=this.circles[3*l+1],f=this.circles[3*l+2];a.push({key:this.circleKeys[l],x1:u-f,y1:c-f,x2:u+f,y2:c+f})}return o?a.filter(o):a}return this._forEachCell(e,t,n,r,this._queryCell,a,{hitTest:i,seenUids:{box:{},circle:{}}},o),i?a.length>0:a},i.prototype._queryCircle=function(e,t,n,r,i){var o=e-n,a=e+n,s=t-n,l=t+n;if(a<0||o>this.width||l<0||s>this.height)return!r&&[];var u=[];return this._forEachCell(o,s,a,l,this._queryCellCircle,u,{hitTest:r,circle:{x:e,y:t,radius:n},seenUids:{box:{},circle:{}}},i),r?u.length>0:u},i.prototype.query=function(e,t,n,r,i){return this._query(e,t,n,r,!1,i)},i.prototype.hitTest=function(e,t,n,r,i){return this._query(e,t,n,r,!0,i)},i.prototype.hitTestCircle=function(e,t,n,r){return this._queryCircle(e,t,n,!0,r)},i.prototype._queryCell=function(e,t,n,r,i,o,a,s){var l=a.seenUids,u=this.boxCells[i];if(null!==u)for(var c=this.bboxes,f=0,h=u;f<h.length;f+=1){var d=h[f];if(!l.box[d]){l.box[d]=!0;var p=4*d;if(e<=c[p+2]&&t<=c[p+3]&&n>=c[p+0]&&r>=c[p+1]&&(!s||s(this.boxKeys[d]))){if(a.hitTest)return o.push(!0),!0;o.push({key:this.boxKeys[d],x1:c[p],y1:c[p+1],x2:c[p+2],y2:c[p+3]})}}}var y=this.circleCells[i];if(null!==y)for(var m=this.circles,g=0,v=y;g<v.length;g+=1){var b=v[g];if(!l.circle[b]){l.circle[b]=!0;var _=3*b;if(this._circleAndRectCollide(m[_],m[_+1],m[_+2],e,t,n,r)&&(!s||s(this.circleKeys[b]))){if(a.hitTest)return o.push(!0),!0;var x=m[_],w=m[_+1],A=m[_+2];o.push({key:this.circleKeys[b],x1:x-A,y1:w-A,x2:x+A,y2:w+A})}}}},i.prototype._queryCellCircle=function(e,t,n,r,i,o,a,s){var l=a.circle,u=a.seenUids,c=this.boxCells[i];if(null!==c)for(var f=this.bboxes,h=0,d=c;h<d.length;h+=1){var p=d[h];if(!u.box[p]){u.box[p]=!0;var y=4*p;if(this._circleAndRectCollide(l.x,l.y,l.radius,f[y+0],f[y+1],f[y+2],f[y+3])&&(!s||s(this.boxKeys[p])))return o.push(!0),!0}}var m=this.circleCells[i];if(null!==m)for(var g=this.circles,v=0,b=m;v<b.length;v+=1){var _=b[v];if(!u.circle[_]){u.circle[_]=!0;var x=3*_;if(this._circlesCollide(g[x],g[x+1],g[x+2],l.x,l.y,l.radius)&&(!s||s(this.circleKeys[_])))return o.push(!0),!0}}},i.prototype._forEachCell=function(e,t,n,r,i,o,a,s){for(var l=this._convertToXCellCoord(e),u=this._convertToYCellCoord(t),c=this._convertToXCellCoord(n),f=this._convertToYCellCoord(r),h=l;h<=c;h++)for(var d=u;d<=f;d++)if(i.call(this,e,t,n,r,this.xCellCount*d+h,o,a,s))return},i.prototype._convertToXCellCoord=function(e){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(e*this.xScale)))},i.prototype._convertToYCellCoord=function(e){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(e*this.yScale)))},i.prototype._circlesCollide=function(e,t,n,r,i,o){var a=r-e,s=i-t,l=n+o;return l*l>a*a+s*s},i.prototype._circleAndRectCollide=function(e,t,n,r,i,o,a){var s=(o-r)/2,l=Math.abs(e-(r+s));if(l>s+n)return!1;var u=(a-i)/2,c=Math.abs(t-(i+u));if(c>u+n)return!1;if(l<=s||c<=u)return!0;var f=l-s,h=c-u;return f*f+h*h<=n*n};var It=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function Lt(e,t){for(var n=0;n<e;n++){var r=t.length;t.resize(r+4),t.float32.set(It,3*r)}}function jt(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[4]*i+n[12],e[1]=n[1]*r+n[5]*i+n[13],e[3]=n[3]*r+n[7]*i+n[15],e}var s=function(e,t,n){void 0===t&&(t=new i(e.width+200,e.height+200,25)),void 0===n&&(n=new i(e.width+200,e.height+200,25)),this.transform=e,this.grid=t,this.ignoredGrid=n,this.pitchfactor=Math.cos(e._pitch)*e.cameraToCenterDistance,this.screenRightBoundary=e.width+100,this.screenBottomBoundary=e.height+100,this.gridRightBoundary=e.width+200,this.gridBottomBoundary=e.height+200};function le(e,t,n){return t*(ae.EXTENT/(e.tileSize*Math.pow(2,n-e.tileID.overscaledZ)))}s.prototype.placeCollisionBox=function(e,t,n,r,i){var o=this.projectAndGetPerspectiveRatio(r,e.anchorPointX,e.anchorPointY),a=n*o.perspectiveRatio,s=e.x1*a+o.point.x,l=e.y1*a+o.point.y,u=e.x2*a+o.point.x,c=e.y2*a+o.point.y;return!this.isInsideGrid(s,l,u,c)||!t&&this.grid.hitTest(s,l,u,c,i)?{box:[],offscreen:!1}:{box:[s,l,u,c],offscreen:this.isOffscreen(s,l,u,c)}},s.prototype.placeCollisionCircles=function(B,e,R,N,t,z,n,r,i,F,V,H,Y){var o=[],a=new ae.Point(e.anchorX,e.anchorY),G=X(a,z),s=St(this.transform.cameraToCenterDistance,G.signedDistanceFromCamera),l=(F?t/s:t*s)/ae.ONE_EM,U=X(a,n).point,u=Et(l,N,e.lineOffsetX*l,e.lineOffsetY*l,!1,U,a,e,R,n,{}),c=!1,f=!1,h=!0;if(u){for(var d=.5*H*s+Y,p=new ae.Point(-100,-100),y=new ae.Point(this.screenRightBoundary,this.screenBottomBoundary),m=new xt,g=u.first,v=u.last,b=[],_=g.path.length-1;_>=1;_--)b.push(g.path[_]);for(var x=1;x<v.path.length;x++)b.push(v.path[x]);var Q=2.5*d;if(r){var w=b.map(function(e){return X(e,r)});b=w.some(function(e){return e.signedDistanceFromCamera<=0})?[]:w.map(function(e){return e.point})}var A=[];if(b.length>0){for(var S=b[0].clone(),C=b[0].clone(),O=1;O<b.length;O++)S.x=Math.min(S.x,b[O].x),S.y=Math.min(S.y,b[O].y),C.x=Math.max(C.x,b[O].x),C.y=Math.max(C.y,b[O].y);A=S.x>=p.x&&C.x<=y.x&&S.y>=p.y&&C.y<=y.y?[b]:C.x<p.x||S.x>y.x||C.y<p.y||S.y>y.y?[]:ae.clipLine([b],p.x,p.y,y.x,y.y)}for(var E=0,M=A;E<M.length;E+=1){var P;m.reset(M[E],.25*d),P=m.length<=.5*d?1:Math.ceil(m.paddedLength/Q)+1;for(var k=0;k<P;k++){var W=k/Math.max(P-1,1),T=m.lerp(W),I=T.x+100,L=T.y+100;o.push(I,L,d,0);var j=I-d,D=L-d,q=I+d,K=L+d;if(h=h&&this.isOffscreen(j,D,q,K),f=f||this.isInsideGrid(j,D,q,K),!B&&this.grid.hitTestCircle(I,L,d,V)&&(c=!0,!i))return{circles:[],offscreen:!1,collisionDetected:c}}}}return{circles:!i&&c||!f?[]:o,offscreen:h,collisionDetected:c}},s.prototype.queryRenderedSymbols=function(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};for(var t=[],n=1/0,r=1/0,i=-1/0,o=-1/0,a=0,s=e;a<s.length;a+=1){var l=s[a],u=new ae.Point(l.x+100,l.y+100);n=Math.min(n,u.x),r=Math.min(r,u.y),i=Math.max(i,u.x),o=Math.max(o,u.y),t.push(u)}for(var c={},f={},h=0,d=this.grid.query(n,r,i,o).concat(this.ignoredGrid.query(n,r,i,o));h<d.length;h+=1){var p=d[h],y=p.key;if(void 0===c[y.bucketInstanceId]&&(c[y.bucketInstanceId]={}),!c[y.bucketInstanceId][y.featureIndex]){var m=[new ae.Point(p.x1,p.y1),new ae.Point(p.x2,p.y1),new ae.Point(p.x2,p.y2),new ae.Point(p.x1,p.y2)];ae.polygonIntersectsPolygon(t,m)&&(c[y.bucketInstanceId][y.featureIndex]=!0,void 0===f[y.bucketInstanceId]&&(f[y.bucketInstanceId]=[]),f[y.bucketInstanceId].push(y.featureIndex))}}return f},s.prototype.insertCollisionBox=function(e,t,n,r,i){(t?this.ignoredGrid:this.grid).insert({bucketInstanceId:n,featureIndex:r,collisionGroupID:i},e[0],e[1],e[2],e[3])},s.prototype.insertCollisionCircles=function(e,t,n,r,i){for(var o=t?this.ignoredGrid:this.grid,a={bucketInstanceId:n,featureIndex:r,collisionGroupID:i},s=0;s<e.length;s+=4)o.insertCircle(a,e[s],e[s+1],e[s+2])},s.prototype.projectAndGetPerspectiveRatio=function(e,t,n){var r=[t,n,0,1];return jt(r,r,e),{point:new ae.Point((r[0]/r[3]+1)/2*this.transform.width+100,(-r[1]/r[3]+1)/2*this.transform.height+100),perspectiveRatio:.5+this.transform.cameraToCenterDistance/r[3]*.5}},s.prototype.isOffscreen=function(e,t,n,r){return n<100||e>=this.screenRightBoundary||r<100||t>this.screenBottomBoundary},s.prototype.isInsideGrid=function(e,t,n,r){return n>=0&&e<this.gridRightBoundary&&r>=0&&t<this.gridBottomBoundary},s.prototype.getViewportMatrix=function(){var e=ae.identity([]);return ae.translate(e,e,[-100,-100,0]),e};var Dt=function(e,t,n,r){this.opacity=e?Math.max(0,Math.min(1,e.opacity+(e.placed?t:-t))):r&&n?1:0,this.placed=n};Dt.prototype.isHidden=function(){return 0===this.opacity&&!this.placed};var Bt=function(e,t,n,r,i){this.text=new Dt(e?e.text:null,t,n,i),this.icon=new Dt(e?e.icon:null,t,r,i)};Bt.prototype.isHidden=function(){return this.text.isHidden()&&this.icon.isHidden()};var Rt=function(e,t,n){this.text=e,this.icon=t,this.skipFade=n},Nt=function(){this.invProjMatrix=ae.create(),this.viewportMatrix=ae.create(),this.circles=[]},zt=function(e,t,n,r,i){this.bucketInstanceId=e,this.featureIndex=t,this.sourceLayerIndex=n,this.bucketIndex=r,this.tileID=i},Ft=function(e){this.crossSourceCollisions=e,this.maxGroupID=0,this.collisionGroups={}};function Vt(e,t,n,r,i){var o=ae.getAnchorAlignment(e),a=-(o.horizontalAlign-.5)*t,s=-(o.verticalAlign-.5)*n,l=ae.evaluateVariableOffset(e,r);return new ae.Point(a+l[0]*i,s+l[1]*i)}function Ht(e,t,n,r,i,o){var a=e.x1,s=e.x2,l=e.y1,u=e.y2,c=e.anchorPointX,f=e.anchorPointY,h=new ae.Point(t,n);return r&&h._rotate(i?o:-o),{x1:a+h.x,y1:l+h.y,x2:s+h.x,y2:u+h.y,anchorPointX:c,anchorPointY:f}}Ft.prototype.get=function(e){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[e]){var t=++this.maxGroupID;this.collisionGroups[e]={ID:t,predicate:function(e){return e.collisionGroupID===t}}}return this.collisionGroups[e]};var l=function(e,t,n,r){this.transform=e.clone(),this.collisionIndex=new s(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=t,this.retainedQueryData={},this.collisionGroups=new Ft(n),this.collisionCircleArrays={},this.prevPlacement=r,r&&(r.prevPlacement=void 0),this.placedOrientations={}};function Yt(e,t,n,r,i){e.emplaceBack(t?1:0,n?1:0,r||0,i||0),e.emplaceBack(t?1:0,n?1:0,r||0,i||0),e.emplaceBack(t?1:0,n?1:0,r||0,i||0),e.emplaceBack(t?1:0,n?1:0,r||0,i||0)}l.prototype.getBucketParts=function(e,t,n,r){var i=n.getBucket(t),o=n.latestFeatureIndex;if(i&&o&&t.id===i.layerIds[0]){var a=n.collisionBoxArray,s=i.layers[0].layout,l=Math.pow(2,this.transform.zoom-n.tileID.overscaledZ),u=n.tileSize/ae.EXTENT,c=this.transform.calculatePosMatrix(n.tileID.toUnwrapped()),f="map"===s.get("text-pitch-alignment"),h="map"===s.get("text-rotation-alignment"),d=le(n,1,this.transform.zoom),p=wt(c,f,h,this.transform,d),y=null;if(f){var m=At(c,f,h,this.transform,d);y=ae.multiply([],this.transform.labelPlaneMatrix,m)}this.retainedQueryData[i.bucketInstanceId]=new zt(i.bucketInstanceId,o,i.sourceLayerIndex,i.index,n.tileID);var g={bucket:i,layout:s,posMatrix:c,textLabelPlaneMatrix:p,labelToScreenMatrix:y,scale:l,textPixelRatio:u,holdingForFade:n.holdingForFade(),collisionBoxArray:a,partiallyEvaluatedTextSize:ae.evaluateSizeForZoom(i.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(i.sourceID)};if(r)for(var v=0,b=i.sortKeyRanges;v<b.length;v+=1){var _=b[v];e.push({sortKey:_.sortKey,symbolInstanceStart:_.symbolInstanceStart,symbolInstanceEnd:_.symbolInstanceEnd,parameters:g})}else e.push({symbolInstanceStart:0,symbolInstanceEnd:i.symbolInstances.length,parameters:g})}},l.prototype.attemptAnchorPlacement=function(e,t,n,r,i,o,a,s,l,u,c,f,h,d,p){var y,m=[f.textOffset0,f.textOffset1],g=Vt(e,n,r,m,i),v=this.collisionIndex.placeCollisionBox(Ht(t,g.x,g.y,o,a,this.transform.angle),c,s,l,u.predicate);if(!p||0!==this.collisionIndex.placeCollisionBox(Ht(p,g.x,g.y,o,a,this.transform.angle),c,s,l,u.predicate).box.length)return v.box.length>0?(this.prevPlacement&&this.prevPlacement.variableOffsets[f.crossTileID]&&this.prevPlacement.placements[f.crossTileID]&&this.prevPlacement.placements[f.crossTileID].text&&(y=this.prevPlacement.variableOffsets[f.crossTileID].anchor),this.variableOffsets[f.crossTileID]={textOffset:m,width:n,height:r,anchor:e,textBoxScale:i,prevAnchor:y},this.markUsedJustification(h,e,f,d),h.allowVerticalPlacement&&(this.markUsedOrientation(h,d,f),this.placedOrientations[f.crossTileID]=d),{shift:g,placedGlyphBoxes:v}):void 0},l.prototype.placeLayerBucketPart=function(e,I,L){var j=this,t=e.parameters,D=t.bucket,B=t.layout,R=t.posMatrix,N=t.textLabelPlaneMatrix,z=t.labelToScreenMatrix,F=t.textPixelRatio,V=t.holdingForFade,n=t.collisionBoxArray,H=t.partiallyEvaluatedTextSize,Y=t.collisionGroup,G=B.get("text-optional"),U=B.get("icon-optional"),Q=B.get("text-allow-overlap"),W=B.get("icon-allow-overlap"),q="map"===B.get("text-rotation-alignment"),K="map"===B.get("text-pitch-alignment"),X="none"!==B.get("icon-text-fit"),r="viewport-y"===B.get("symbol-z-order"),J=Q&&(W||!D.hasIconData()||U),$=W&&(Q||!D.hasTextData()||G);!D.collisionArrays&&n&&D.deserializeCollisionBoxes(n);var i=function(f,i){if(!I[f.crossTileID])if(V)j.placements[f.crossTileID]=new Rt(!1,!1,!1);else{var e,h=!1,t=!1,n=!0,d=null,o={box:null,offscreen:null},a={box:null,offscreen:null},r=null,s=null,l=0,u=0,c=0;i.textFeatureIndex?l=i.textFeatureIndex:f.useRuntimeCollisionCircles&&(l=f.featureIndex),i.verticalTextFeatureIndex&&(u=i.verticalTextFeatureIndex);var p=i.textBox;if(p){var y=function(e){var t=ae.WritingMode.horizontal;if(D.allowVerticalPlacement&&!e&&j.prevPlacement){var n=j.prevPlacement.placedOrientations[f.crossTileID];n&&(j.placedOrientations[f.crossTileID]=n,j.markUsedOrientation(D,t=n,f))}return t},m=function(e,t){if(D.allowVerticalPlacement&&f.numVerticalGlyphVertices>0&&i.verticalTextBox)for(var n=0,r=D.writingModes;n<r.length&&(r[n]===ae.WritingMode.vertical?(o=t(),a=o):o=e(),!(o&&o.box&&o.box.length));n+=1);else o=e()};if(B.get("text-variable-anchor")){var g=B.get("text-variable-anchor");if(j.prevPlacement&&j.prevPlacement.variableOffsets[f.crossTileID]){var v=j.prevPlacement.variableOffsets[f.crossTileID];g.indexOf(v.anchor)>0&&(g=g.filter(function(e){return e!==v.anchor})).unshift(v.anchor)}var b=function(e,t,n){for(var r=e.x2-e.x1,i=e.y2-e.y1,o=f.textBoxScale,a=X&&!W?t:null,s={box:[],offscreen:!1},l=Q?2*g.length:g.length,u=0;u<l;++u){var c=j.attemptAnchorPlacement(g[u%g.length],e,r,i,o,q,K,F,R,Y,u>=g.length,f,D,n,a);if(c&&(s=c.placedGlyphBoxes)&&s.box&&s.box.length){h=!0,d=c.shift;break}}return s};m(function(){return b(p,i.iconBox,ae.WritingMode.horizontal)},function(){var e=i.verticalTextBox;return D.allowVerticalPlacement&&!(o&&o.box&&o.box.length)&&f.numVerticalGlyphVertices>0&&e?b(e,i.verticalIconBox,ae.WritingMode.vertical):{box:null,offscreen:null}}),o&&(h=o.box,n=o.offscreen);var _=y(o&&o.box);if(!h&&j.prevPlacement){var x=j.prevPlacement.variableOffsets[f.crossTileID];x&&(j.variableOffsets[f.crossTileID]=x,j.markUsedJustification(D,x.anchor,f,_))}}else{var w=function(e,t){var n=j.collisionIndex.placeCollisionBox(e,Q,F,R,Y.predicate);return n&&n.box&&n.box.length&&(j.markUsedOrientation(D,t,f),j.placedOrientations[f.crossTileID]=t),n};m(function(){return w(p,ae.WritingMode.horizontal)},function(){var e=i.verticalTextBox;return D.allowVerticalPlacement&&f.numVerticalGlyphVertices>0&&e?w(e,ae.WritingMode.vertical):{box:null,offscreen:null}}),y(o&&o.box&&o.box.length)}}if(h=(e=o)&&e.box&&e.box.length>0,n=e&&e.offscreen,f.useRuntimeCollisionCircles){var A=D.text.placedSymbolArray.get(f.centerJustifiedTextSymbolIndex),S=ae.evaluateSizeForFeature(D.textSizeData,H,A),C=B.get("text-padding");r=j.collisionIndex.placeCollisionCircles(Q,A,D.lineVertexArray,D.glyphOffsetArray,S,R,N,z,L,K,Y.predicate,f.collisionCircleDiameter,C),h=Q||r.circles.length>0&&!r.collisionDetected,n=n&&r.offscreen}if(i.iconFeatureIndex&&(c=i.iconFeatureIndex),i.iconBox){var O=function(e){var t=X&&d?Ht(e,d.x,d.y,q,K,j.transform.angle):e;return j.collisionIndex.placeCollisionBox(t,W,F,R,Y.predicate)};t=a&&a.box&&a.box.length&&i.verticalIconBox?(s=O(i.verticalIconBox)).box.length>0:(s=O(i.iconBox)).box.length>0,n=n&&s.offscreen}var E=G||0===f.numHorizontalGlyphVertices&&0===f.numVerticalGlyphVertices,M=U||0===f.numIconVertices;if(E||M?M?E||(t=t&&h):h=t&&h:t=h=t&&h,h&&e&&e.box&&j.collisionIndex.insertCollisionBox(e.box,B.get("text-ignore-placement"),D.bucketInstanceId,a&&a.box&&u?u:l,Y.ID),t&&s&&j.collisionIndex.insertCollisionBox(s.box,B.get("icon-ignore-placement"),D.bucketInstanceId,c,Y.ID),r&&(h&&j.collisionIndex.insertCollisionCircles(r.circles,B.get("text-ignore-placement"),D.bucketInstanceId,l,Y.ID),L)){var P=D.bucketInstanceId,k=j.collisionCircleArrays[P];void 0===k&&(k=j.collisionCircleArrays[P]=new Nt);for(var T=0;T<r.circles.length;T+=4)k.circles.push(r.circles[T+0]),k.circles.push(r.circles[T+1]),k.circles.push(r.circles[T+2]),k.circles.push(r.collisionDetected?1:0)}j.placements[f.crossTileID]=new Rt(h||J,t||$,n||D.justReloaded),I[f.crossTileID]=!0}};if(r)for(var o=D.getSortedSymbolIndexes(this.transform.angle),a=o.length-1;a>=0;--a){var s=o[a];i(D.symbolInstances.get(s),D.collisionArrays[s])}else for(var l=e.symbolInstanceStart;l<e.symbolInstanceEnd;l++)i(D.symbolInstances.get(l),D.collisionArrays[l]);if(L&&D.bucketInstanceId in this.collisionCircleArrays){var u=this.collisionCircleArrays[D.bucketInstanceId];ae.invert(u.invProjMatrix,R),u.viewportMatrix=this.collisionIndex.getViewportMatrix()}D.justReloaded=!1},l.prototype.markUsedJustification=function(e,t,n,r){var i;i=r===ae.WritingMode.vertical?n.verticalPlacedTextSymbolIndex:{left:n.leftJustifiedTextSymbolIndex,center:n.centerJustifiedTextSymbolIndex,right:n.rightJustifiedTextSymbolIndex}[ae.getAnchorJustification(t)];for(var o=0,a=[n.leftJustifiedTextSymbolIndex,n.centerJustifiedTextSymbolIndex,n.rightJustifiedTextSymbolIndex,n.verticalPlacedTextSymbolIndex];o<a.length;o+=1){var s=a[o];s>=0&&(e.text.placedSymbolArray.get(s).crossTileID=i>=0&&s!==i?0:n.crossTileID)}},l.prototype.markUsedOrientation=function(e,t,n){for(var r=t===ae.WritingMode.horizontal||t===ae.WritingMode.horizontalOnly?t:0,i=t===ae.WritingMode.vertical?t:0,o=0,a=[n.leftJustifiedTextSymbolIndex,n.centerJustifiedTextSymbolIndex,n.rightJustifiedTextSymbolIndex];o<a.length;o+=1)e.text.placedSymbolArray.get(a[o]).placedOrientation=r;n.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(n.verticalPlacedTextSymbolIndex).placedOrientation=i)},l.prototype.commit=function(e){this.commitTime=e,this.zoomAtLastRecencyCheck=this.transform.zoom;var t=this.prevPlacement,n=!1;this.prevZoomAdjustment=t?t.zoomAdjustment(this.transform.zoom):0;var r=t?t.symbolFadeChange(e):1,i=t?t.opacities:{},o=t?t.variableOffsets:{},a=t?t.placedOrientations:{};for(var s in this.placements){var l=this.placements[s],u=i[s];u?(this.opacities[s]=new Bt(u,r,l.text,l.icon),n=n||l.text!==u.text.placed||l.icon!==u.icon.placed):(this.opacities[s]=new Bt(null,r,l.text,l.icon,l.skipFade),n=n||l.text||l.icon)}for(var c in i){var f=i[c];if(!this.opacities[c]){var h=new Bt(f,r,!1,!1);h.isHidden()||(this.opacities[c]=h,n=n||f.text.placed||f.icon.placed)}}for(var d in o)this.variableOffsets[d]||!this.opacities[d]||this.opacities[d].isHidden()||(this.variableOffsets[d]=o[d]);for(var p in a)this.placedOrientations[p]||!this.opacities[p]||this.opacities[p].isHidden()||(this.placedOrientations[p]=a[p]);n?this.lastPlacementChangeTime=e:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=t?t.lastPlacementChangeTime:e)},l.prototype.updateLayerOpacities=function(e,t){for(var n={},r=0,i=t;r<i.length;r+=1){var o=i[r],a=o.getBucket(e);a&&o.latestFeatureIndex&&e.id===a.layerIds[0]&&this.updateBucketOpacities(a,n,o.collisionBoxArray)}},l.prototype.updateBucketOpacities=function(x,w,e){var A=this;x.hasTextData()&&x.text.opacityVertexArray.clear(),x.hasIconData()&&x.icon.opacityVertexArray.clear(),x.hasIconCollisionBoxData()&&x.iconCollisionBox.collisionVertexArray.clear(),x.hasTextCollisionBoxData()&&x.textCollisionBox.collisionVertexArray.clear();var t=x.layers[0].layout,S=new Bt(null,0,!1,!1,!0),n=t.get("text-allow-overlap"),r=t.get("icon-allow-overlap"),C=t.get("text-variable-anchor"),O="map"===t.get("text-rotation-alignment"),E="map"===t.get("text-pitch-alignment"),M="none"!==t.get("icon-text-fit"),P=new Bt(null,0,n&&(r||!x.hasIconData()||t.get("icon-optional")),r&&(n||!x.hasTextData()||t.get("text-optional")),!0);!x.collisionArrays&&e&&(x.hasIconCollisionBoxData()||x.hasTextCollisionBoxData())&&x.deserializeCollisionBoxes(e);for(var k=function(e,t,n){for(var r=0;r<t/4;r++)e.opacityVertexArray.emplaceBack(n)},i=function(e){var t=x.symbolInstances.get(e),n=t.numHorizontalGlyphVertices,r=t.numVerticalGlyphVertices,i=t.crossTileID,o=A.opacities[i];w[i]?o=S:o||(A.opacities[i]=o=P),w[i]=!0;var a=t.numIconVertices>0,s=A.placedOrientations[t.crossTileID],l=s===ae.WritingMode.vertical,u=s===ae.WritingMode.horizontal||s===ae.WritingMode.horizontalOnly;if(n>0||r>0){var c=Jt(o.text);k(x.text,n,l?$t:c),k(x.text,r,u?$t:c);var f=o.text.isHidden();[t.rightJustifiedTextSymbolIndex,t.centerJustifiedTextSymbolIndex,t.leftJustifiedTextSymbolIndex].forEach(function(e){e>=0&&(x.text.placedSymbolArray.get(e).hidden=f||l?1:0)}),t.verticalPlacedTextSymbolIndex>=0&&(x.text.placedSymbolArray.get(t.verticalPlacedTextSymbolIndex).hidden=f||u?1:0);var h=A.variableOffsets[t.crossTileID];h&&A.markUsedJustification(x,h.anchor,t,s);var d=A.placedOrientations[t.crossTileID];d&&(A.markUsedJustification(x,"left",t,d),A.markUsedOrientation(x,d,t))}if(a){var p=Jt(o.icon),y=!(M&&t.verticalPlacedIconSymbolIndex&&l);t.placedIconSymbolIndex>=0&&(k(x.icon,t.numIconVertices,y?p:$t),x.icon.placedSymbolArray.get(t.placedIconSymbolIndex).hidden=o.icon.isHidden()),t.verticalPlacedIconSymbolIndex>=0&&(k(x.icon,t.numVerticalIconVertices,y?$t:p),x.icon.placedSymbolArray.get(t.verticalPlacedIconSymbolIndex).hidden=o.icon.isHidden())}if(x.hasIconCollisionBoxData()||x.hasTextCollisionBoxData()){var m=x.collisionArrays[e];if(m){var g=new ae.Point(0,0);if(m.textBox||m.verticalTextBox){var v=!0;if(C){var b=A.variableOffsets[i];b?(g=Vt(b.anchor,b.width,b.height,b.textOffset,b.textBoxScale),O&&g._rotate(E?A.transform.angle:-A.transform.angle)):v=!1}m.textBox&&Yt(x.textCollisionBox.collisionVertexArray,o.text.placed,!v||l,g.x,g.y),m.verticalTextBox&&Yt(x.textCollisionBox.collisionVertexArray,o.text.placed,!v||u,g.x,g.y)}var _=Boolean(!u&&m.verticalIconBox);m.iconBox&&Yt(x.iconCollisionBox.collisionVertexArray,o.icon.placed,_,M?g.x:0,M?g.y:0),m.verticalIconBox&&Yt(x.iconCollisionBox.collisionVertexArray,o.icon.placed,!_,M?g.x:0,M?g.y:0)}}},o=0;o<x.symbolInstances.length;o++)i(o);if(x.sortFeatures(this.transform.angle),this.retainedQueryData[x.bucketInstanceId]&&(this.retainedQueryData[x.bucketInstanceId].featureSortOrder=x.featureSortOrder),x.hasTextData()&&x.text.opacityVertexBuffer&&x.text.opacityVertexBuffer.updateData(x.text.opacityVertexArray),x.hasIconData()&&x.icon.opacityVertexBuffer&&x.icon.opacityVertexBuffer.updateData(x.icon.opacityVertexArray),x.hasIconCollisionBoxData()&&x.iconCollisionBox.collisionVertexBuffer&&x.iconCollisionBox.collisionVertexBuffer.updateData(x.iconCollisionBox.collisionVertexArray),x.hasTextCollisionBoxData()&&x.textCollisionBox.collisionVertexBuffer&&x.textCollisionBox.collisionVertexBuffer.updateData(x.textCollisionBox.collisionVertexArray),x.bucketInstanceId in this.collisionCircleArrays){var a=this.collisionCircleArrays[x.bucketInstanceId];x.placementInvProjMatrix=a.invProjMatrix,x.placementViewportMatrix=a.viewportMatrix,x.collisionCircleArray=a.circles,delete this.collisionCircleArrays[x.bucketInstanceId]}},l.prototype.symbolFadeChange=function(e){return 0===this.fadeDuration?1:(e-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},l.prototype.zoomAdjustment=function(e){return Math.max(0,(this.transform.zoom-e)/1.5)},l.prototype.hasTransitions=function(e){return this.stale||e-this.lastPlacementChangeTime<this.fadeDuration},l.prototype.stillRecent=function(e,t){var n=this.zoomAtLastRecencyCheck===t?1-this.zoomAdjustment(t):1;return this.zoomAtLastRecencyCheck=t,this.commitTime+this.fadeDuration*n>e},l.prototype.setStale=function(){this.stale=!0};var Gt=Math.pow(2,25),Ut=Math.pow(2,24),Qt=Math.pow(2,17),Wt=Math.pow(2,16),qt=Math.pow(2,9),Kt=Math.pow(2,8),Xt=Math.pow(2,1);function Jt(e){if(0===e.opacity&&!e.placed)return 0;if(1===e.opacity&&e.placed)return 4294967295;var t=e.placed?1:0,n=Math.floor(127*e.opacity);return n*Gt+t*Ut+n*Qt+t*Wt+n*qt+t*Kt+n*Xt+t}var $t=0,Zt=function(e){this._sortAcrossTiles="viewport-y"!==e.layout.get("symbol-z-order")&&void 0!==e.layout.get("symbol-sort-key").constantOr(1),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Zt.prototype.continuePlacement=function(e,t,n,r,i){for(var o=this._bucketParts;this._currentTileIndex<e.length;)if(t.getBucketParts(o,r,e[this._currentTileIndex],this._sortAcrossTiles),this._currentTileIndex++,i())return!0;for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,o.sort(function(e,t){return e.sortKey-t.sortKey}));this._currentPartIndex<o.length;)if(t.placeLayerBucketPart(o[this._currentPartIndex],this._seenCrossTileIDs,n),this._currentPartIndex++,i())return!0;return!1};var en=function(e,t,n,r,i,o,a){this.placement=new l(e,i,o,a),this._currentPlacementIndex=t.length-1,this._forceFullPlacement=n,this._showCollisionBoxes=r,this._done=!1};en.prototype.isDone=function(){return this._done},en.prototype.continuePlacement=function(e,t,n){for(var r=this,i=ae.browser.now(),o=function(){var e=ae.browser.now()-i;return!r._forceFullPlacement&&e>2};this._currentPlacementIndex>=0;){var a=t[e[this._currentPlacementIndex]],s=this.placement.collisionIndex.transform.zoom;if("symbol"===a.type&&(!a.minzoom||a.minzoom<=s)&&(!a.maxzoom||a.maxzoom>s)){if(this._inProgressLayer||(this._inProgressLayer=new Zt(a)),this._inProgressLayer.continuePlacement(n[a.source],this.placement,this._showCollisionBoxes,a,o))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},en.prototype.commit=function(e){return this.placement.commit(e),this.placement};var tn=512/ae.EXTENT/2,nn=function(e,t,n){this.tileID=e,this.indexedSymbolInstances={},this.bucketInstanceId=n;for(var r=0;r<t.length;r++){var i=t.get(r),o=i.key;this.indexedSymbolInstances[o]||(this.indexedSymbolInstances[o]=[]),this.indexedSymbolInstances[o].push({crossTileID:i.crossTileID,coord:this.getScaledCoordinates(i,e)})}};nn.prototype.getScaledCoordinates=function(e,t){var n=tn/Math.pow(2,t.canonical.z-this.tileID.canonical.z);return{x:Math.floor((t.canonical.x*ae.EXTENT+e.anchorX)*n),y:Math.floor((t.canonical.y*ae.EXTENT+e.anchorY)*n)}},nn.prototype.findMatches=function(e,t,n){for(var r=this.tileID.canonical.z<t.canonical.z?1:Math.pow(2,this.tileID.canonical.z-t.canonical.z),i=0;i<e.length;i++){var o=e.get(i);if(!o.crossTileID){var a=this.indexedSymbolInstances[o.key];if(a)for(var s=this.getScaledCoordinates(o,t),l=0,u=a;l<u.length;l+=1){var c=u[l];if(Math.abs(c.coord.x-s.x)<=r&&Math.abs(c.coord.y-s.y)<=r&&!n[c.crossTileID]){n[c.crossTileID]=!0,o.crossTileID=c.crossTileID;break}}}}};var rn=function(){this.maxCrossTileID=0};rn.prototype.generate=function(){return++this.maxCrossTileID};var on=function(){this.indexes={},this.usedCrossTileIDs={},this.lng=0};on.prototype.handleWrapJump=function(e){var t=Math.round((e-this.lng)/360);if(0!==t)for(var n in this.indexes){var r=this.indexes[n],i={};for(var o in r){var a=r[o];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+t),i[a.tileID.key]=a}this.indexes[n]=i}this.lng=e},on.prototype.addBucket=function(e,t,n){if(this.indexes[e.overscaledZ]&&this.indexes[e.overscaledZ][e.key]){if(this.indexes[e.overscaledZ][e.key].bucketInstanceId===t.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(e.overscaledZ,this.indexes[e.overscaledZ][e.key])}for(var r=0;r<t.symbolInstances.length;r++)t.symbolInstances.get(r).crossTileID=0;this.usedCrossTileIDs[e.overscaledZ]||(this.usedCrossTileIDs[e.overscaledZ]={});var i=this.usedCrossTileIDs[e.overscaledZ];for(var o in this.indexes){var a=this.indexes[o];if(Number(o)>e.overscaledZ)for(var s in a){var l=a[s];l.tileID.isChildOf(e)&&l.findMatches(t.symbolInstances,e,i)}else{var u=a[e.scaledTo(Number(o)).key];u&&u.findMatches(t.symbolInstances,e,i)}}for(var c=0;c<t.symbolInstances.length;c++){var f=t.symbolInstances.get(c);f.crossTileID||(f.crossTileID=n.generate(),i[f.crossTileID]=!0)}return void 0===this.indexes[e.overscaledZ]&&(this.indexes[e.overscaledZ]={}),this.indexes[e.overscaledZ][e.key]=new nn(e,t.symbolInstances,t.bucketInstanceId),!0},on.prototype.removeBucketCrossTileIDs=function(e,t){for(var n in t.indexedSymbolInstances)for(var r=0,i=t.indexedSymbolInstances[n];r<i.length;r+=1)delete this.usedCrossTileIDs[e][i[r].crossTileID]},on.prototype.removeStaleBuckets=function(e){var t=!1;for(var n in this.indexes){var r=this.indexes[n];for(var i in r)e[r[i].bucketInstanceId]||(this.removeBucketCrossTileIDs(n,r[i]),delete r[i],t=!0)}return t};var an=function(){this.layerIndexes={},this.crossTileIDs=new rn,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}};an.prototype.addLayer=function(e,t,n){var r=this.layerIndexes[e.id];void 0===r&&(r=this.layerIndexes[e.id]=new on);var i=!1,o={};r.handleWrapJump(n);for(var a=0,s=t;a<s.length;a+=1){var l=s[a],u=l.getBucket(e);u&&e.id===u.layerIds[0]&&(u.bucketInstanceId||(u.bucketInstanceId=++this.maxBucketInstanceId),r.addBucket(l.tileID,u,this.crossTileIDs)&&(i=!0),o[u.bucketInstanceId]=!0)}return r.removeStaleBuckets(o)&&(i=!0),i},an.prototype.pruneUnusedLayers=function(e){var t={};for(var n in e.forEach(function(e){t[e]=!0}),this.layerIndexes)t[n]||delete this.layerIndexes[n]};var sn=function(e,t){return ae.emitValidationErrors(e,t&&t.filter(function(e){return"source.canvas"!==e.identifier}))},ln=ae.pick(m,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData","setGlyphs","setSprite"]),un=ae.pick(m,["setCenter","setZoom","setBearing","setPitch"]),cn=function(){var e={},t=ae.styleSpec.$version;for(var n in ae.styleSpec.$root){var r,i=ae.styleSpec.$root[n];if(i.required)null!=(r="version"===n?t:"array"===i.type?[]:{})&&(e[n]=r)}return e}(),fn=function(n){function i(e,t){var o=this;void 0===t&&(t={}),n.call(this),this.map=e,this.dispatcher=new ne(ft(),this),this._spriteRequests={},this.imageManagerFactory=new a,this.imageManagerFactory.setEventedParent(this),this.glyphManagerFactory=new J(e._requestManager,t.localIdeographFontFamily),this._sprites={},this._glyphs={},this.lineAtlas=new te(256,512),this.crossTileSymbolIndex=new an,this._layers={},this._serializedLayers={},this._order=[],this.sourceCaches={},this.zoomHistory=new ae.ZoomHistory,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast("setReferrer",ae.getReferrer());var r=this;this._rtlTextPluginCallback=i.registerForPluginStateChange(function(e){r.dispatcher.broadcast("syncRTLPluginState",{pluginStatus:e.pluginStatus,pluginURL:e.pluginURL},function(e,t){if(ae.triggerPluginCompletionEvent(e),t&&t.every(function(e){return e}))for(var n in r.sourceCaches)r.sourceCaches[n].reload()})}),this.on("data",function(e){if("source"===e.dataType&&"metadata"===e.sourceDataType){var t=o.sourceCaches[e.sourceId];if(t){var n=t.getSource();if(n&&n.vectorLayerIds)for(var r in o._layers){var i=o._layers[r];i.source===n.id&&o._validateLayer(i)}}}})}return n&&(i.__proto__=n),(i.prototype=Object.create(n&&n.prototype)).constructor=i,i.prototype.loadURL=function(e,t){var n=this;void 0===t&&(t={}),this.fire(new ae.Event("dataloading",{dataType:"style"}));var r="boolean"==typeof t.validate?t.validate:!ae.isMapboxURL(e);e=this.map._requestManager.normalizeStyleURL(e,t.accessToken);var i=this.map._requestManager.transformRequest(e,ae.ResourceType.Style);this._request=ae.getJSON(i,function(e,t){n._request=null,e?n.fire(new ae.ErrorEvent(e)):t&&n._load(t,r)})},i.prototype.loadJSON=function(e,t){var n=this;void 0===t&&(t={}),this.fire(new ae.Event("dataloading",{dataType:"style"})),this._request=ae.browser.frame(function(){n._request=null,n._load(JSON.parse(JSON.stringify(e)),!1!==t.validate)})},i.prototype.loadEmpty=function(){this.fire(new ae.Event("dataloading",{dataType:"style"})),this._load(cn,!1)},i.prototype._load=function(e,t){if(!t||!sn(this,ae.validateStyle(e))){for(var n in this._loaded=!0,this.stylesheet=e,e.sources)this.addSource(n,e.sources[n],{validate:!1});if(e.sprite?this._loadSprite(e):this.imageManagerFactory.setLoaded(!0),"string"==typeof e.glyphs){var r={};for(var i in e.sources)r[i]=e.glyphs;r.image_manager_default=e.glyphs,e.glyphs=r}for(var o in e.glyphs)this.glyphManagerFactory.setURL(e.glyphs[o],o),this._glyphs[o]=e.glyphs[o];var a=dt(this.stylesheet.layers);this._order=a.map(function(e){return e.id}),this._layers={},this._serializedLayers={};for(var s=0,l=a;s<l.length;s+=1){var u=l[s];(u=ae.createStyleLayer(u)).setEventedParent(this,{layer:{id:u.id}}),this._layers[u.id]=u,this._serializedLayers[u.id]=u.serialize()}this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new ee(this.stylesheet.light),this.fire(new ae.Event("data",{dataType:"style"})),this.fire(new ae.Event("style.load"))}},i.prototype._loadSprite=function(i){var o=this,a=function(e,t,n){if(o._sprites[e]="string"==typeof i.sprite?i.sprite:i.sprite[e],o._spriteRequests[e]=null,delete o._spriteRequests[e],n)o.fire(new ae.ErrorEvent(n));else if(t)for(var r in t)o.imageManagerFactory.addImage(r,t[r],e);o.imageManagerFactory.setLoaded(!0,e),o._availableImages=o.imageManagerFactory.listImages(),o.dispatcher.broadcast("setImages",o._availableImages),o.fire(new ae.Event("data",{dataType:"style"}))};if("string"!=typeof i.sprite){var e=function(n){var e=z(i.sprite[n],o.map._requestManager,function(e,t){a(n,t,e)});o._spriteRequests[n]=e};for(var t in i.sprite)e(t)}else{var s=i.sprite,n=z(i.sprite,this.map._requestManager,function(e,t){var n={image_manager_default:i.sprite};for(var r in a("image_manager_default",t,e),i.sources)n[r]=s,a(r,t,e);i.sprite=n});this._spriteRequests.image_manager_default=n}},i.prototype.setSprite=function(e){for(var t in e)this.addSprite(t,e[t])},i.prototype.addSpriteObject=function(e,t,n){var r=ae.browser.getImageData(t),i={};for(var o in n){var a=n[o],s=a.width,l=a.height,u=a.x,c=a.y,f=a.sdf,h=a.pixelRatio,d=new ae.RGBAImage({width:s,height:l});ae.RGBAImage.copy(r,d,{x:u,y:c},{x:0,y:0},{width:s,height:l}),i[o]={data:d,pixelRatio:h,sdf:f}}for(var p in i)this.imageManagerFactory.addImage(p,i[p],e)},i.prototype.addSprite=function(r,i){var o=this;this.imageManagerFactory.imageManagers[r]||(this.imageManagerFactory.imageManagers[r]=new Y,"image_manager_default"!==r&&(this.imageManagerFactory.imageManagers[r].defaultImageManger=this.imageManagerFactory.imageManagers.image_manager_default));var e=z(i,this.map._requestManager,function(e,t){if(o._sprites[r]=i,o._spriteRequests[r]=null,delete o._spriteRequests[r],e)o.fire(new ae.ErrorEvent(e));else if(t)for(var n in t)o.imageManagerFactory.addImage(n,t[n],r);o.imageManagerFactory.setLoaded(!0,r),o.fire(new ae.Event("data",{dataType:"style"}))});this._spriteRequests[r]=e},i.prototype.setGlyphs=function(e){for(var t in e)this.addGlyphs(t,e[t])},i.prototype.addGlyphs=function(e,t){this._glyphs[e]=t,this.glyphManagerFactory.setURL(t,e)},i.prototype._validateLayer=function(e){var t=this.sourceCaches[e.source];if(t){var n=e.sourceLayer;if(n){var r=t.getSource();("geojson"===r.type||r.vectorLayerIds&&-1===r.vectorLayerIds.indexOf(n))&&this.fire(new ae.ErrorEvent(new Error('Source layer "'+n+'" does not exist on source "'+r.id+'" as specified by style layer "'+e.id+'"')))}}},i.prototype.loaded=function(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(var e in this.sourceCaches)if(!this.sourceCaches[e].loaded())return!1;return!!this.imageManagerFactory.isAllLoaded()},i.prototype._serializeLayers=function(e){for(var t=[],n=0,r=e;n<r.length;n+=1){var i=this._layers[r[n]];"custom"!==i.type&&t.push(i.serialize())}return t},i.prototype.hasTransitions=function(){if(this.light&&this.light.hasTransition())return!0;for(var e in this.sourceCaches)if(this.sourceCaches[e].hasTransition())return!0;for(var t in this._layers)if(this._layers[t].hasTransition())return!0;return!1},i.prototype._checkLoaded=function(){if(!this._loaded)throw new Error("Style is not done loading")},i.prototype.update=function(e){if(this._loaded){var t=this._changed;if(this._changed){var n=Object.keys(this._updatedLayers),r=Object.keys(this._removedLayers);for(var i in(n.length||r.length)&&this._updateWorkerLayers(n,r),this._updatedSources){var o=this._updatedSources[i];"reload"===o?this._reloadSource(i):"clear"===o&&this._clearSource(i)}for(var a in this._updateTilesForChangedImages(),this._updatedPaintProps)this._layers[a].updateTransitions(e);this.light.updateTransitions(e),this._resetUpdates()}for(var s in this.sourceCaches)this.sourceCaches[s].used=!1;for(var l=0,u=this._order;l<u.length;l+=1){var c=this._layers[u[l]];c.recalculate(e,this._availableImages),!c.isHidden(e.zoom)&&c.source&&(this.sourceCaches[c.source].used=!0)}this.light.recalculate(e),this.z=e.zoom,t&&this.fire(new ae.Event("data",{dataType:"style"}))}},i.prototype._updateTilesForChangedImages=function(){var e=Object.keys(this._changedImages);if(e.length){for(var t in this.sourceCaches)this.sourceCaches[t].reloadTilesForDependencies(["icons","patterns"],e);this._changedImages={}}},i.prototype._updateWorkerLayers=function(e,t){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(e),removedIds:t})},i.prototype._resetUpdates=function(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}},i.prototype.setState=function(e){var t=this;if(this._checkLoaded(),sn(this,ae.validateStyle(e)))return!1;(e=ae.clone$1(e)).layers=dt(e.layers);var n=function(e,t){if(!e)return[{command:m.setStyle,args:[t]}];var n=[];try{if(!ae.deepEqual(e.version,t.version))return[{command:m.setStyle,args:[t]}];ae.deepEqual(e.center,t.center)||n.push({command:m.setCenter,args:[t.center]}),ae.deepEqual(e.zoom,t.zoom)||n.push({command:m.setZoom,args:[t.zoom]}),ae.deepEqual(e.bearing,t.bearing)||n.push({command:m.setBearing,args:[t.bearing]}),ae.deepEqual(e.pitch,t.pitch)||n.push({command:m.setPitch,args:[t.pitch]}),ae.deepEqual(e.sprite,t.sprite)||n.push({command:m.setSprite,args:[t.sprite]}),ae.deepEqual(e.glyphs,t.glyphs)||n.push({command:m.setGlyphs,args:[t.glyphs]}),ae.deepEqual(e.transition,t.transition)||n.push({command:m.setTransition,args:[t.transition]}),ae.deepEqual(e.light,t.light)||n.push({command:m.setLight,args:[t.light]});var r={},i=[];!function(e,t,n,r){var i;for(i in t=t||{},e=e||{})e.hasOwnProperty(i)&&(t.hasOwnProperty(i)||yt(i,n,r));for(i in t)t.hasOwnProperty(i)&&(e.hasOwnProperty(i)?ae.deepEqual(e[i],t[i])||("geojson"===e[i].type&&"geojson"===t[i].type&>(e,t,i)?n.push({command:m.setGeoJSONSourceData,args:[i,t[i].data]}):mt(i,t,n,r)):pt(i,t,n))}(e.sources,t.sources,i,r);var o=[];e.layers&&e.layers.forEach(function(e){r[e.source]?n.push({command:m.removeLayer,args:[e.id]}):o.push(e)}),n=n.concat(i),function(e,t,n){t=t||[];var r,i,o,a,s,l,u,c=(e=e||[]).map(bt),f=t.map(bt),h=e.reduce(_t,{}),d=t.reduce(_t,{}),p=c.slice(),y=Object.create(null);for(r=0,i=0;r<c.length;r++)d.hasOwnProperty(o=c[r])?i++:(n.push({command:m.removeLayer,args:[o]}),p.splice(p.indexOf(o,i),1));for(r=0,i=0;r<f.length;r++)p[p.length-1-r]!==(o=f[f.length-1-r])&&(h.hasOwnProperty(o)?(n.push({command:m.removeLayer,args:[o]}),p.splice(p.lastIndexOf(o,p.length-i),1)):i++,n.push({command:m.addLayer,args:[d[o],l=p[p.length-r]]}),p.splice(p.length-r,0,o),y[o]=!0);for(r=0;r<f.length;r++)if(a=h[o=f[r]],s=d[o],!y[o]&&!ae.deepEqual(a,s))if(ae.deepEqual(a.source,s.source)&&ae.deepEqual(a["source-layer"],s["source-layer"])&&ae.deepEqual(a.type,s.type)){for(u in vt(a.layout,s.layout,n,o,null,m.setLayoutProperty),vt(a.paint,s.paint,n,o,null,m.setPaintProperty),ae.deepEqual(a.filter,s.filter)||n.push({command:m.setFilter,args:[o,s.filter]}),ae.deepEqual(a.minzoom,s.minzoom)&&ae.deepEqual(a.maxzoom,s.maxzoom)||n.push({command:m.setLayerZoomRange,args:[o,s.minzoom,s.maxzoom]}),a)a.hasOwnProperty(u)&&"layout"!==u&&"paint"!==u&&"filter"!==u&&"metadata"!==u&&"minzoom"!==u&&"maxzoom"!==u&&(0===u.indexOf("paint.")?vt(a[u],s[u],n,o,u.slice(6),m.setPaintProperty):ae.deepEqual(a[u],s[u])||n.push({command:m.setLayerProperty,args:[o,u,s[u]]}));for(u in s)s.hasOwnProperty(u)&&!a.hasOwnProperty(u)&&"layout"!==u&&"paint"!==u&&"filter"!==u&&"metadata"!==u&&"minzoom"!==u&&"maxzoom"!==u&&(0===u.indexOf("paint.")?vt(a[u],s[u],n,o,u.slice(6),m.setPaintProperty):ae.deepEqual(a[u],s[u])||n.push({command:m.setLayerProperty,args:[o,u,s[u]]}))}else n.push({command:m.removeLayer,args:[o]}),l=p[p.lastIndexOf(o)+1],n.push({command:m.addLayer,args:[s,l]})}(o,t.layers,n)}catch(e){console.warn("Unable to compute style diff:",e),n=[{command:m.setStyle,args:[t]}]}return n}(this.serialize(),e).filter(function(e){return!(e.command in un)});if(0===n.length)return!1;var r=n.filter(function(e){return!(e.command in ln)});if(r.length>0)throw new Error("Unimplemented: "+r.map(function(e){return e.command}).join(", ")+".");return n.forEach(function(e){"setTransition"!==e.command&&t[e.command].apply(t,e.args)}),this.stylesheet=e,!0},i.prototype.addImage=function(e,t,n){if(this.getImage(e))return this.fire(new ae.ErrorEvent(new Error("An image with this name already exists.")));this.imageManagerFactory.addImage(e,t,n),this._afterImageUpdated(e)},i.prototype.updateImage=function(e,t,n){this.imageManagerFactory.updateImage(e,t,n)},i.prototype.getImage=function(e,t){return this.imageManagerFactory.getImage(e,t)},i.prototype.removeImage=function(e,t){if(!this.getImage(e))return this.fire(new ae.ErrorEvent(new Error("No image with this name exists.")));this.imageManagerFactory.removeImage(e,t),this._afterImageUpdated(e)},i.prototype._afterImageUpdated=function(e){this._availableImages=this.imageManagerFactory.listImages(),this._changedImages[e]=!0,this._changed=!0,this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new ae.Event("data",{dataType:"style"}))},i.prototype.listImages=function(e){return this._checkLoaded(),this.imageManagerFactory.listImages(e)},i.prototype.addSource=function(e,t,n){var r=this;if(void 0===n&&(n={}),this._checkLoaded(),void 0!==this.sourceCaches[e])throw new Error("There is already a source with this ID");if(!t.type)throw new Error("The type property must be defined, but only the following properties were given: "+Object.keys(t).join(", ")+".");if(this.map._mapCRS&&"geojson"===t.type&&t.data&&!t.data.customprj&&!t.customprj&&(t.customprj=this.map.customConvertPoint),!(["vector","raster","geojson","video","image"].indexOf(t.type)>=0&&this._validate(ae.validateStyle.source,"sources."+e,t,null,n))){this.map&&this.map._collectResourceTiming&&(t.collectResourceTiming=!0);var i=this.sourceCaches[e]=new rt(e,t,this.dispatcher);i.style=this,i.setEventedParent(this,function(){return{isSourceLoaded:r.loaded(),source:i.serialize(),sourceId:e}}),i.onAdd(this.map),this._changed=!0}},i.prototype.removeSource=function(e){if(this._checkLoaded(),void 0===this.sourceCaches[e])throw new Error("There is no source with this ID");for(var t in this._layers)if(this._layers[t].source===e)return this.fire(new ae.ErrorEvent(new Error('Source "'+e+'" cannot be removed while layer "'+t+'" is using it.')));var n=this.sourceCaches[e];delete this.sourceCaches[e],delete this._updatedSources[e],n.fire(new ae.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),n.setEventedParent(null),n.clearTiles(),n.onRemove&&n.onRemove(this.map),this._changed=!0},i.prototype.setGeoJSONSourceData=function(e,t){this._checkLoaded(),this.sourceCaches[e].getSource().setData(t),this._changed=!0},i.prototype.getSource=function(e){return this.sourceCaches[e]&&this.sourceCaches[e].getSource()},i.prototype.addLayer=function(e,t,n){void 0===n&&(n={}),this._checkLoaded();var r=e.id;if(this.getLayer(r))this.fire(new ae.ErrorEvent(new Error('Layer with id "'+r+'" already exists on this map')));else{var i;if("custom"===e.type){if(sn(this,ae.validateCustomStyleLayer(e)))return;i=ae.createStyleLayer(e)}else{if("object"==typeof e.source&&(this.addSource(r,e.source),e=ae.clone$1(e),e=ae.extend(e,{source:r})),this._validate(ae.validateStyle.layer,"layers."+r,e,{arrayIndex:-1},n))return;i=ae.createStyleLayer(e),this._validateLayer(i),i.setEventedParent(this,{layer:{id:r}}),this._serializedLayers[i.id]=i.serialize()}var o=t?this._order.indexOf(t):this._order.length;if(t&&-1===o)this.fire(new ae.ErrorEvent(new Error('Layer with id "'+t+'" does not exist on this map.')));else{if(this._order.splice(o,0,r),this._layerOrderChanged=!0,this._layers[r]=i,this._removedLayers[r]&&i.source&&"custom"!==i.type){var a=this._removedLayers[r];delete this._removedLayers[r],a.type!==i.type?this._updatedSources[i.source]="clear":(this._updatedSources[i.source]="reload",this.sourceCaches[i.source].pause())}this._updateLayer(i),i.onAdd&&i.onAdd(this.map)}}},i.prototype.moveLayer=function(e,t){if(this._checkLoaded(),this._changed=!0,this._layers[e]){if(e!==t){var n=this._order.indexOf(e);this._order.splice(n,1);var r=t?this._order.indexOf(t):this._order.length;t&&-1===r?this.fire(new ae.ErrorEvent(new Error('Layer with id "'+t+'" does not exist on this map.'))):(this._order.splice(r,0,e),this._layerOrderChanged=!0)}}else this.fire(new ae.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be moved.")))},i.prototype.removeLayer=function(e){this._checkLoaded();var t=this._layers[e];if(t){t.setEventedParent(null);var n=this._order.indexOf(e);this._order.splice(n,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=t,delete this._layers[e],delete this._serializedLayers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],t.onRemove&&t.onRemove(this.map)}else this.fire(new ae.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be removed.")))},i.prototype.getLayer=function(e){return this._layers[e]},i.prototype.hasLayer=function(e){return e in this._layers},i.prototype.setLayerZoomRange=function(e,t,n){this._checkLoaded();var r=this.getLayer(e);r?r.minzoom===t&&r.maxzoom===n||(null!=t&&(r.minzoom=t),null!=n&&(r.maxzoom=n),this._updateLayer(r)):this.fire(new ae.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot have zoom extent.")))},i.prototype.setFilter=function(e,t,n){void 0===n&&(n={}),this._checkLoaded();var r=this.getLayer(e);if(r){if(!ae.deepEqual(r.filter,t))return null==t?(r.filter=void 0,void this._updateLayer(r)):void(this._validate(ae.validateStyle.filter,"layers."+r.id+".filter",t,null,n)||(r.filter=ae.clone$1(t),this._updateLayer(r)))}else this.fire(new ae.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be filtered.")))},i.prototype.getFilter=function(e){return ae.clone$1(this.getLayer(e).filter)},i.prototype.setLayoutProperty=function(e,t,n,r){void 0===r&&(r={}),this._checkLoaded();var i=this.getLayer(e);i?ae.deepEqual(i.getLayoutProperty(t),n)||(i.setLayoutProperty(t,n,r),this._updateLayer(i)):this.fire(new ae.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},i.prototype.getLayoutProperty=function(e,t){var n=this.getLayer(e);if(n)return n.getLayoutProperty(t);this.fire(new ae.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style.")))},i.prototype.setPaintProperty=function(e,t,n,r){void 0===r&&(r={}),this._checkLoaded();var i=this.getLayer(e);i?ae.deepEqual(i.getPaintProperty(t),n)||(i.setPaintProperty(t,n,r)&&this._updateLayer(i),this._changed=!0,this._updatedPaintProps[e]=!0):this.fire(new ae.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},i.prototype.getPaintProperty=function(e,t){return this.getLayer(e).getPaintProperty(t)},i.prototype.setFeatureState=function(e,t){this._checkLoaded();var n=e.source,r=e.sourceLayer,i=this.sourceCaches[n];if(void 0!==i){var o=i.getSource().type;"geojson"===o&&r?this.fire(new ae.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==o||r?(void 0===e.id&&this.fire(new ae.ErrorEvent(new Error("The feature id parameter must be provided."))),i.setFeatureState(r,e.id,t)):this.fire(new ae.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new ae.ErrorEvent(new Error("The source '"+n+"' does not exist in the map's style.")))},i.prototype.removeFeatureState=function(e,t){this._checkLoaded();var n=e.source,r=this.sourceCaches[n];if(void 0!==r){var i=r.getSource().type,o="vector"===i?e.sourceLayer:void 0;"vector"!==i||o?t&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new ae.ErrorEvent(new Error("A feature id is required to remove its specific state property."))):r.removeFeatureState(o,e.id,t):this.fire(new ae.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new ae.ErrorEvent(new Error("The source '"+n+"' does not exist in the map's style.")))},i.prototype.getFeatureState=function(e){this._checkLoaded();var t=e.source,n=e.sourceLayer,r=this.sourceCaches[t];if(void 0!==r){if("vector"!==r.getSource().type||n)return void 0===e.id&&this.fire(new ae.ErrorEvent(new Error("The feature id parameter must be provided."))),r.getFeatureState(n,e.id);this.fire(new ae.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new ae.ErrorEvent(new Error("The source '"+t+"' does not exist in the map's style.")))},i.prototype.getTransition=function(){return ae.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},i.prototype.serialize=function(){return ae.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this._sprites,glyphs:this._glyphs,transition:this.stylesheet.transition,sources:ae.mapObject(this.sourceCaches,function(e){return e.serialize()}),layers:this._serializeLayers(this._order)},function(e){return void 0!==e})},i.prototype._updateLayer=function(e){this._updatedLayers[e.id]=!0,e.source&&!this._updatedSources[e.source]&&"raster"!==this.sourceCaches[e.source].getSource().type&&(this._updatedSources[e.source]="reload",this.sourceCaches[e.source].pause()),this._changed=!0},i.prototype._flattenAndSortRenderedFeatures=function(e){for(var t=this,n=function(e){return"fill-extrusion"===t._layers[e].type},r={},i=[],o=this._order.length-1;o>=0;o--){var a=this._order[o];if(n(a)){r[a]=o;for(var s=0,l=e;s<l.length;s+=1){var u=l[s][a];if(u)for(var c=0,f=u;c<f.length;c+=1)i.push(f[c])}}}i.sort(function(e,t){return t.intersectionZ-e.intersectionZ});for(var h=[],d=this._order.length-1;d>=0;d--){var p=this._order[d];if(n(p))for(var y=i.length-1;y>=0;y--){var m=i[y].feature;if(r[m.layer.id]<d)break;h.push(m),i.pop()}else for(var g=0,v=e;g<v.length;g+=1){var b=v[g][p];if(b)for(var _=0,x=b;_<x.length;_+=1)h.push(x[_].feature)}}return h},i.prototype.queryRenderedFeatures=function(e,t,n){t&&t.filter&&this._validate(ae.validateStyle.filter,"queryRenderedFeatures.filter",t.filter,null,t);var r={};if(t&&t.layers){if(!Array.isArray(t.layers))return this.fire(new ae.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(var i=0,o=t.layers;i<o.length;i+=1){var a=o[i],s=this._layers[a];if(!s)return this.fire(new ae.ErrorEvent(new Error("The layer '"+a+"' does not exist in the map's style and cannot be queried for features."))),[];r[s.source]=!0}}var l=[];for(var u in t.availableImages=this._availableImages,this.sourceCaches)t.layers&&!r[u]||l.push(ge(this.sourceCaches[u],this._layers,this._serializedLayers,e,t,n));return this.placement&&l.push(function(s,l,i,e,u,t,n){for(var c={},f=t.queryRenderedSymbols(e),r=[],o=0,a=Object.keys(f).map(Number);o<a.length;o+=1)r.push(n[a[o]]);r.sort(ve);for(var h=function(){var i=p[d],e=i.featureIndex.lookupSymbolFeatures(f[i.bucketInstanceId],l,i.bucketIndex,i.sourceLayerIndex,u.filter,u.layers,u.availableImages,s);for(var t in e){var n=c[t]=c[t]||[],r=e[t];r.sort(function(e,t){var n=i.featureSortOrder;if(n){var r=n.indexOf(e.featureIndex);return n.indexOf(t.featureIndex)-r}return t.featureIndex-e.featureIndex});for(var o=0,a=r;o<a.length;o+=1)n.push(a[o])}},d=0,p=r;d<p.length;d+=1)h();var y=function(r){c[r].forEach(function(e){var t=e.feature,n=i[s[r].source].getFeatureState(t.layer["source-layer"],t.id);t.source=t.layer.source,t.layer["source-layer"]&&(t.sourceLayer=t.layer["source-layer"]),t.state=n})};for(var m in c)y(m);return c}(this._layers,this._serializedLayers,this.sourceCaches,e,t,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(l)},i.prototype.querySourceFeatures=function(e,t){t&&t.filter&&this._validate(ae.validateStyle.filter,"querySourceFeatures.filter",t.filter,null,t);var n=this.sourceCaches[e];return n?function(t,e){for(var n=t.getRenderableIds().map(function(e){return t.getTileByID(e)}),r=[],i={},o=0;o<n.length;o++){var a=n[o],s=a.tileID.canonical.key;i[s]||(i[s]=!0,a.querySourceFeatures(r,e))}return r}(n,t):[]},i.prototype.addSourceType=function(e,t,n){return i.getSourceType(e)?n(new Error('A source type called "'+e+'" already exists.')):(i.setSourceType(e,t),t.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:e,url:t.workerSourceURL},n):n(null,null))},i.prototype.getLight=function(){return this.light.getLight()},i.prototype.setLight=function(e,t){void 0===t&&(t={}),this._checkLoaded();var n=this.light.getLight(),r=!1;for(var i in e)if(!ae.deepEqual(e[i],n[i])){r=!0;break}if(r){var o={now:ae.browser.now(),transition:ae.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,t),this.light.updateTransitions(o)}},i.prototype._validate=function(e,t,n,r,i){return void 0===i&&(i={}),(!i||!1!==i.validate)&&sn(this,e.call(ae.validateStyle,ae.extend({key:t,style:this.serialize(),value:n,styleSpec:ae.styleSpec},r)))},i.prototype._remove=function(){for(var e in this._request&&(this._request.cancel(),this._request=null),this._spriteRequests)this._spriteRequests[e].cancel(),delete this._spriteRequests[e];for(var t in this._spriteRequests={},ae.evented.off("pluginStateChange",this._rtlTextPluginCallback),this._layers)this._layers[t].setEventedParent(null);for(var n in this.sourceCaches)this.sourceCaches[n].clearTiles(),this.sourceCaches[n].setEventedParent(null);this.imageManagerFactory.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()},i.prototype._clearSource=function(e){this.sourceCaches[e].clearTiles()},i.prototype._reloadSource=function(e){this.sourceCaches[e].resume(),this.sourceCaches[e].reload()},i.prototype._updateSources=function(e){for(var t in this.sourceCaches)this.sourceCaches[t].update(e)},i.prototype._generateCollisionBoxes=function(){for(var e in this.sourceCaches)this._reloadSource(e)},i.prototype._updatePlacement=function(e,t,n,r,i){void 0===i&&(i=!1);for(var o=!1,a=!1,s={},l=0,u=this._order;l<u.length;l+=1){var c=this._layers[u[l]];if("symbol"===c.type){if(!s[c.source]){var f=this.sourceCaches[c.source];s[c.source]=f.getRenderableIds(!0).map(function(e){return f.getTileByID(e)}).sort(function(e,t){return t.tileID.overscaledZ-e.tileID.overscaledZ||(e.tileID.isLessThan(t.tileID)?-1:1)})}var h=this.crossTileSymbolIndex.addLayer(c,s[c.source],e.center.lng);o=o||h}}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((i=i||this._layerOrderChanged||0===n)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(ae.browser.now(),e.zoom))&&(this.pauseablePlacement=new en(e,this._order,i,t,n,r,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,s),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(ae.browser.now()),a=!0),o&&this.pauseablePlacement.placement.setStale()),a||o)for(var d=0,p=this._order;d<p.length;d+=1){var y=this._layers[p[d]];"symbol"===y.type&&this.placement.updateLayerOpacities(y,s[y.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(ae.browser.now())},i.prototype._releaseSymbolFadeTiles=function(){for(var e in this.sourceCaches)this.sourceCaches[e].releaseSymbolFadeTiles()},i.prototype.getImages=function(e,t,n,r){this.imageManagerFactory.getImages(t.icons,n,r),this._updateTilesForChangedImages();var i=this.sourceCaches[t.source];i&&i.setDependencies(t.tileID.key,t.type,t.icons)},i.prototype.getGlyphs=function(e,t,n,r){this.glyphManagerFactory.getGlyphs(t.stacks,n,r)},i.prototype.getResource=function(e,t,n){return ae.makeRequest(t,n)},i}(ae.Evented);fn.getSourceType=function(e){return ye[e]},fn.setSourceType=function(e,t){ye[e]=t},fn.registerForPluginStateChange=ae.registerForPluginStateChange;var hn=ae.createLayout([{name:"a_pos",type:"Int16",components:2}]),dn=t("#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif","#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}"),pn=t("uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),yn=t("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),mn=t("varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),gn=t("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),vn=t("uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}"),bn=t("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),_n=t("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),xn=t("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),wn=t("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),An=t("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}"),Sn=t("varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),Cn=t("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),On=t("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),En=t("varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),Mn=t("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),Pn=t("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),kn=t("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),Tn=t("uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),In=t("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),Ln=t("uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}"),jn=t("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}"),Dn=t("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),Bn=t("uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}"),Rn=t("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}"),Nn=t("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}");function t(e,t){var n=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,r=t.match(/attribute ([\w]+) ([\w]+)/g),i=e.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),o=t.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),a=o?o.concat(i):i,s={};return{fragmentSource:e=e.replace(n,function(e,t,n,r,i){return s[i]=!0,"define"===t?"\n#ifndef HAS_UNIFORM_u_"+i+"\nvarying "+n+" "+r+" "+i+";\n#else\nuniform "+n+" "+r+" u_"+i+";\n#endif\n":"\n#ifdef HAS_UNIFORM_u_"+i+"\n "+n+" "+r+" "+i+" = u_"+i+";\n#endif\n"}),vertexSource:t=t.replace(n,function(e,t,n,r,i){var o="float"===r?"vec2":"vec4",a=i.match(/color/)?"color":o;return s[i]?"define"===t?"\n#ifndef HAS_UNIFORM_u_"+i+"\nuniform lowp float u_"+i+"_t;\nattribute "+n+" "+o+" a_"+i+";\nvarying "+n+" "+r+" "+i+";\n#else\nuniform "+n+" "+r+" u_"+i+";\n#endif\n":"vec4"===a?"\n#ifndef HAS_UNIFORM_u_"+i+"\n "+i+" = a_"+i+";\n#else\n "+n+" "+r+" "+i+" = u_"+i+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+i+"\n "+i+" = unpack_mix_"+a+"(a_"+i+", u_"+i+"_t);\n#else\n "+n+" "+r+" "+i+" = u_"+i+";\n#endif\n":"define"===t?"\n#ifndef HAS_UNIFORM_u_"+i+"\nuniform lowp float u_"+i+"_t;\nattribute "+n+" "+o+" a_"+i+";\n#else\nuniform "+n+" "+r+" u_"+i+";\n#endif\n":"vec4"===a?"\n#ifndef HAS_UNIFORM_u_"+i+"\n "+n+" "+r+" "+i+" = a_"+i+";\n#else\n "+n+" "+r+" "+i+" = u_"+i+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+i+"\n "+n+" "+r+" "+i+" = unpack_mix_"+a+"(a_"+i+", u_"+i+"_t);\n#else\n "+n+" "+r+" "+i+" = u_"+i+";\n#endif\n"}),staticAttributes:r,staticUniforms:a}}var zn=Object.freeze({__proto__:null,prelude:dn,background:pn,backgroundPattern:yn,circle:mn,clippingMask:gn,heatmap:vn,heatmapTexture:bn,collisionBox:_n,collisionCircle:xn,debug:wn,fill:An,fillOutline:Sn,fillOutlinePattern:Cn,fillPattern:On,fillExtrusion:En,fillExtrusionPattern:Mn,hillshadePrepare:Pn,hillshade:kn,line:Tn,lineGradient:In,linePattern:Ln,lineSDF:jn,raster:Dn,symbolIcon:Bn,symbolSDF:Rn,symbolTextAndIcon:Nn}),Fn=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};function Vn(e){for(var t=[],n=0;n<e.length;n++)if(null!==e[n]){var r=e[n].split(" ");t.push(r.pop())}return t}Fn.prototype.bind=function(e,t,n,r,i,o,a,s){this.context=e;for(var l=this.boundPaintVertexBuffers.length!==r.length,u=0;!l&&u<r.length;u++)this.boundPaintVertexBuffers[u]!==r[u]&&(l=!0);e.extVertexArrayObject&&this.vao&&this.boundProgram===t&&this.boundLayoutVertexBuffer===n&&!l&&this.boundIndexBuffer===i&&this.boundVertexOffset===o&&this.boundDynamicVertexBuffer===a&&this.boundDynamicVertexBuffer2===s?(e.bindVertexArrayOES.set(this.vao),a&&a.bind(),i&&i.dynamicDraw&&i.bind(),s&&s.bind()):this.freshBind(t,n,r,i,o,a,s)},Fn.prototype.freshBind=function(e,t,n,r,i,o,a){var s,l=e.numAttributes,u=this.context,c=u.gl;if(u.extVertexArrayObject)this.vao&&this.destroy(),this.vao=u.extVertexArrayObject.createVertexArrayOES(),u.bindVertexArrayOES.set(this.vao),s=0,this.boundProgram=e,this.boundLayoutVertexBuffer=t,this.boundPaintVertexBuffers=n,this.boundIndexBuffer=r,this.boundVertexOffset=i,this.boundDynamicVertexBuffer=o,this.boundDynamicVertexBuffer2=a;else{s=u.currentNumAttributes||0;for(var f=l;f<s;f++)c.disableVertexAttribArray(f)}t.enableAttributes(c,e);for(var h=0,d=n;h<d.length;h+=1)d[h].enableAttributes(c,e);o&&o.enableAttributes(c,e),a&&a.enableAttributes(c,e),t.bind(),t.setVertexAttribPointers(c,e,i);for(var p=0,y=n;p<y.length;p+=1){var m=y[p];m.bind(),m.setVertexAttribPointers(c,e,i)}o&&(o.bind(),o.setVertexAttribPointers(c,e,i)),r&&r.bind(),a&&(a.bind(),a.setVertexAttribPointers(c,e,i)),u.currentNumAttributes=l},Fn.prototype.destroy=function(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)};var Hn=function(e,t,n,r,i,o){var a=e.gl;this.program=a.createProgram();for(var s=Vn(n.staticAttributes),l=r?r.getBinderAttributes():[],u=s.concat(l),c=n.staticUniforms?Vn(n.staticUniforms):[],f=r?r.getBinderUniforms():[],h=[],d=0,p=c.concat(f);d<p.length;d+=1){var y=p[d];h.indexOf(y)<0&&h.push(y)}var m=r?r.defines():[];o&&m.push("#define OVERDRAW_INSPECTOR;");var g=m.concat(dn.fragmentSource,n.fragmentSource).join("\n"),v=m.concat(dn.vertexSource,n.vertexSource).join("\n"),b=a.createShader(a.FRAGMENT_SHADER);if(a.isContextLost())this.failedToCreate=!0;else{a.shaderSource(b,g),a.compileShader(b),a.attachShader(this.program,b);var _=a.createShader(a.VERTEX_SHADER);if(a.isContextLost())this.failedToCreate=!0;else{a.shaderSource(_,v),a.compileShader(_),a.attachShader(this.program,_),this.attributes={};var x={};this.numAttributes=u.length;for(var w=0;w<this.numAttributes;w++)u[w]&&(a.bindAttribLocation(this.program,w,u[w]),this.attributes[u[w]]=w);a.linkProgram(this.program),a.deleteShader(_),a.deleteShader(b);for(var A=0;A<h.length;A++){var S=h[A];if(S&&!x[S]){var C=a.getUniformLocation(this.program,S);C&&(x[S]=C)}}this.fixedUniforms=i(e,x),this.binderUniforms=r?r.getUniforms(e,x):[]}}};function Yn(e,t,n){var r=1/le(n,1,t.transform.tileZoom),i=Math.pow(2,n.tileID.overscaledZ),o=n.tileSize*Math.pow(2,t.transform.tileZoom)/i,a=o*(n.tileID.canonical.x+n.tileID.wrap*i),s=o*n.tileID.canonical.y;return{u_image:0,u_texsize:n.imageAtlasTexture.size,u_scale:[r,e.fromScale,e.toScale],u_fade:e.t,u_pixel_coord_upper:[a>>16,s>>16],u_pixel_coord_lower:[65535&a,65535&s]}}Hn.prototype.draw=function(e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y){var m,g=e.gl;if(!this.failedToCreate){for(var v in e.program.set(this.program),e.setDepthMode(n),e.setStencilMode(r),e.setColorMode(i),e.setCullFace(o),this.fixedUniforms)this.fixedUniforms[v].set(a[v]);d&&d.setUniforms(e,this.binderUniforms,f,{zoom:h});for(var b=(m={},m[g.LINES]=2,m[g.TRIANGLES]=3,m[g.LINE_STRIP]=1,m)[t],_=0,x=c.get();_<x.length;_+=1){var w=x[_],A=w.vaos||(w.vaos={});(A[s]||(A[s]=new Fn)).bind(e,this,l,d?d.getPaintVertexBuffers():[],u,w.vertexOffset,p,y),g.drawElements(t,w.primitiveLength*b,g.UNSIGNED_SHORT,w.primitiveOffset*b*2)}}};var Gn=function(e,t,n,r){var i=t.style.light,o=i.properties.get("position"),a=[o.x,o.y,o.z],s=ae.create$1();"viewport"===i.properties.get("anchor")&&ae.fromRotation(s,-t.transform.angle),ae.transformMat3(a,a,s);var l=i.properties.get("color");return{u_matrix:e,u_lightpos:a,u_lightintensity:i.properties.get("intensity"),u_lightcolor:[l.r,l.g,l.b],u_vertical_gradient:+n,u_opacity:r}},Un=function(e,t,n,r,i,o,a){return ae.extend(Gn(e,t,n,r),Yn(o,t,a),{u_height_factor:-Math.pow(2,i.overscaledZ)/a.tileSize/8})},Qn=function(e){return{u_matrix:e}},Wn=function(e,t,n,r){return ae.extend(Qn(e),Yn(n,t,r))},qn=function(e,t){return{u_matrix:e,u_world:t}},Kn=function(e,t,n,r,i){return ae.extend(Wn(e,t,n,r),{u_world:i})},Xn=function(e,t,n,r){var i,o,a=e.transform;if("map"===r.paint.get("circle-pitch-alignment")){var s=le(n,1,a.zoom);i=!0,o=[s,s]}else i=!1,o=a.pixelsToGLUnits;return{u_camera_to_center_distance:a.cameraToCenterDistance,u_scale_with_map:+("map"===r.paint.get("circle-pitch-scale")),u_matrix:e.translatePosMatrix(t.posMatrix,n,r.paint.get("circle-translate"),r.paint.get("circle-translate-anchor")),u_pitch_with_map:+i,u_device_pixel_ratio:ae.browser.devicePixelRatio,u_extrude_scale:o}},Jn=function(e,t,n){var r=le(n,1,t.zoom),i=Math.pow(2,t.zoom-n.tileID.overscaledZ),o=n.tileID.overscaleFactor();return{u_matrix:e,u_camera_to_center_distance:t.cameraToCenterDistance,u_pixels_to_tile_units:r,u_extrude_scale:[t.pixelsToGLUnits[0]/(r*i),t.pixelsToGLUnits[1]/(r*i)],u_overscale_factor:o}},$n=function(e,t,n){return{u_matrix:e,u_inv_matrix:t,u_camera_to_center_distance:n.cameraToCenterDistance,u_viewport_size:[n.width,n.height]}},Zn=function(e,t,n){return void 0===n&&(n=1),{u_matrix:e,u_color:t,u_overlay:0,u_overlay_scale:n}},er=function(e){return{u_matrix:e}},tr=function(e,t,n,r){return{u_matrix:e,u_extrude_scale:le(t,1,n),u_intensity:r}},nr=function(e,t,n){var r=e.transform;return{u_matrix:sr(e,t,n),u_ratio:1/le(t,1,r.zoom),u_device_pixel_ratio:ae.browser.devicePixelRatio,u_units_to_pixels:[1/r.pixelsToGLUnits[0],1/r.pixelsToGLUnits[1]]}},rr=function(e,t,n,r){return ae.extend(nr(e,t,n),{u_image:0,u_image_height:r})},ir=function(e,t,n,r){var i=e.transform,o=ar(t,i);return{u_matrix:sr(e,t,n),u_texsize:t.imageAtlasTexture.size,u_ratio:1/le(t,1,i.zoom),u_device_pixel_ratio:ae.browser.devicePixelRatio,u_image:0,u_scale:[o,r.fromScale,r.toScale],u_fade:r.t,u_units_to_pixels:[1/i.pixelsToGLUnits[0],1/i.pixelsToGLUnits[1]]}},or=function(e,t,n,r,i){var o=e.lineAtlas,a=ar(t,e.transform),s="round"===n.layout.get("line-cap"),l=o.getDash(r.from,s),u=o.getDash(r.to,s),c=l.width*i.fromScale,f=u.width*i.toScale;return ae.extend(nr(e,t,n),{u_patternscale_a:[a/c,-l.height/2],u_patternscale_b:[a/f,-u.height/2],u_sdfgamma:o.width/(256*Math.min(c,f)*ae.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:l.y,u_tex_y_b:u.y,u_mix:i.t})};function ar(e,t){return 1/le(e,1,t.tileZoom)}function sr(e,t,n){return e.translatePosMatrix(t.tileID.posMatrix,t,n.paint.get("line-translate"),n.paint.get("line-translate-anchor"))}var lr=function(e,t,n,r,i){return{u_matrix:e,u_tl_parent:t,u_scale_parent:n,u_buffer_scale:1,u_fade_t:r.mix,u_opacity:r.opacity*i.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:i.paint.get("raster-brightness-min"),u_brightness_high:i.paint.get("raster-brightness-max"),u_saturation_factor:(a=i.paint.get("raster-saturation"),a>0?1-1/(1.001-a):-a),u_contrast_factor:(o=i.paint.get("raster-contrast"),o>0?1/(1-o):1+o),u_spin_weights:ur(i.paint.get("raster-hue-rotate"))};var o,a};function ur(e){e*=Math.PI/180;var t=Math.sin(e),n=Math.cos(e);return[(2*n+1)/3,(-Math.sqrt(3)*t-n+1)/3,(Math.sqrt(3)*t-n+1)/3]}var cr,fr=function(e,t,n,r,i,o,a,s,l,u){var c=i.transform;return{u_is_size_zoom_constant:+("constant"===e||"source"===e),u_is_size_feature_constant:+("constant"===e||"camera"===e),u_size_t:t?t.uSizeT:0,u_size:t?t.uSize:0,u_camera_to_center_distance:c.cameraToCenterDistance,u_pitch:c.pitch/360*2*Math.PI,u_rotate_symbol:+n,u_aspect_ratio:c.width/c.height,u_fade_change:i.options.fadeDuration?i.symbolFadeChange:1,u_matrix:o,u_label_plane_matrix:a,u_coord_matrix:s,u_is_text:+l,u_pitch_with_map:+r,u_texsize:u,u_texture:0}},hr=function(e,t,n,r,i,o,a,s,l,u,c){var f=i.transform;return ae.extend(fr(e,t,n,r,i,o,a,s,l,u),{u_gamma_scale:r?Math.cos(f._pitch)*f.cameraToCenterDistance:1,u_device_pixel_ratio:ae.browser.devicePixelRatio,u_is_halo:+c})},dr=function(e,t,n,r,i,o,a,s,l,u){return ae.extend(hr(e,t,n,r,i,o,a,s,!0,l,!0),{u_texsize_icon:u,u_texture_icon:1})},pr=function(e,t,n){return{u_matrix:e,u_opacity:t,u_color:n}},yr=function(e,t,n,r,i,o){return ae.extend(function(e,t,n,r){var i=n.imageManager.getPattern(e.from.toString()),o=n.imageManager.getPattern(e.to.toString()),a=n.imageManager.getPixelSize(),s=a.width,l=a.height,u=Math.pow(2,r.tileID.overscaledZ),c=r.tileSize*Math.pow(2,n.transform.tileZoom)/u,f=c*(r.tileID.canonical.x+r.tileID.wrap*u),h=c*r.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:i.tl,u_pattern_br_a:i.br,u_pattern_tl_b:o.tl,u_pattern_br_b:o.br,u_texsize:[s,l],u_mix:t.t,u_pattern_size_a:i.displaySize,u_pattern_size_b:o.displaySize,u_scale_a:t.fromScale,u_scale_b:t.toScale,u_tile_units_to_pixels:1/le(r,1,n.transform.tileZoom),u_pixel_coord_upper:[f>>16,h>>16],u_pixel_coord_lower:[65535&f,65535&h]}}(r,o,n,i),{u_matrix:e,u_opacity:t})},mr={fillExtrusion:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_lightpos:new ae.Uniform3f(e,t.u_lightpos),u_lightintensity:new ae.Uniform1f(e,t.u_lightintensity),u_lightcolor:new ae.Uniform3f(e,t.u_lightcolor),u_vertical_gradient:new ae.Uniform1f(e,t.u_vertical_gradient),u_opacity:new ae.Uniform1f(e,t.u_opacity)}},fillExtrusionPattern:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_lightpos:new ae.Uniform3f(e,t.u_lightpos),u_lightintensity:new ae.Uniform1f(e,t.u_lightintensity),u_lightcolor:new ae.Uniform3f(e,t.u_lightcolor),u_vertical_gradient:new ae.Uniform1f(e,t.u_vertical_gradient),u_height_factor:new ae.Uniform1f(e,t.u_height_factor),u_image:new ae.Uniform1i(e,t.u_image),u_texsize:new ae.Uniform2f(e,t.u_texsize),u_pixel_coord_upper:new ae.Uniform2f(e,t.u_pixel_coord_upper),u_pixel_coord_lower:new ae.Uniform2f(e,t.u_pixel_coord_lower),u_scale:new ae.Uniform3f(e,t.u_scale),u_fade:new ae.Uniform1f(e,t.u_fade),u_opacity:new ae.Uniform1f(e,t.u_opacity)}},fill:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix)}},fillPattern:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_image:new ae.Uniform1i(e,t.u_image),u_texsize:new ae.Uniform2f(e,t.u_texsize),u_pixel_coord_upper:new ae.Uniform2f(e,t.u_pixel_coord_upper),u_pixel_coord_lower:new ae.Uniform2f(e,t.u_pixel_coord_lower),u_scale:new ae.Uniform3f(e,t.u_scale),u_fade:new ae.Uniform1f(e,t.u_fade)}},fillOutline:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_world:new ae.Uniform2f(e,t.u_world)}},fillOutlinePattern:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_world:new ae.Uniform2f(e,t.u_world),u_image:new ae.Uniform1i(e,t.u_image),u_texsize:new ae.Uniform2f(e,t.u_texsize),u_pixel_coord_upper:new ae.Uniform2f(e,t.u_pixel_coord_upper),u_pixel_coord_lower:new ae.Uniform2f(e,t.u_pixel_coord_lower),u_scale:new ae.Uniform3f(e,t.u_scale),u_fade:new ae.Uniform1f(e,t.u_fade)}},circle:function(e,t){return{u_camera_to_center_distance:new ae.Uniform1f(e,t.u_camera_to_center_distance),u_scale_with_map:new ae.Uniform1i(e,t.u_scale_with_map),u_pitch_with_map:new ae.Uniform1i(e,t.u_pitch_with_map),u_extrude_scale:new ae.Uniform2f(e,t.u_extrude_scale),u_device_pixel_ratio:new ae.Uniform1f(e,t.u_device_pixel_ratio),u_matrix:new ae.UniformMatrix4f(e,t.u_matrix)}},collisionBox:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_camera_to_center_distance:new ae.Uniform1f(e,t.u_camera_to_center_distance),u_pixels_to_tile_units:new ae.Uniform1f(e,t.u_pixels_to_tile_units),u_extrude_scale:new ae.Uniform2f(e,t.u_extrude_scale),u_overscale_factor:new ae.Uniform1f(e,t.u_overscale_factor)}},collisionCircle:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_inv_matrix:new ae.UniformMatrix4f(e,t.u_inv_matrix),u_camera_to_center_distance:new ae.Uniform1f(e,t.u_camera_to_center_distance),u_viewport_size:new ae.Uniform2f(e,t.u_viewport_size)}},debug:function(e,t){return{u_color:new ae.UniformColor(e,t.u_color),u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_overlay:new ae.Uniform1i(e,t.u_overlay),u_overlay_scale:new ae.Uniform1f(e,t.u_overlay_scale)}},clippingMask:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix)}},heatmap:function(e,t){return{u_extrude_scale:new ae.Uniform1f(e,t.u_extrude_scale),u_intensity:new ae.Uniform1f(e,t.u_intensity),u_matrix:new ae.UniformMatrix4f(e,t.u_matrix)}},heatmapTexture:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_world:new ae.Uniform2f(e,t.u_world),u_image:new ae.Uniform1i(e,t.u_image),u_color_ramp:new ae.Uniform1i(e,t.u_color_ramp),u_opacity:new ae.Uniform1f(e,t.u_opacity)}},hillshade:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_image:new ae.Uniform1i(e,t.u_image),u_latrange:new ae.Uniform2f(e,t.u_latrange),u_light:new ae.Uniform2f(e,t.u_light),u_shadow:new ae.UniformColor(e,t.u_shadow),u_highlight:new ae.UniformColor(e,t.u_highlight),u_accent:new ae.UniformColor(e,t.u_accent)}},hillshadePrepare:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_image:new ae.Uniform1i(e,t.u_image),u_dimension:new ae.Uniform2f(e,t.u_dimension),u_zoom:new ae.Uniform1f(e,t.u_zoom),u_unpack:new ae.Uniform4f(e,t.u_unpack)}},line:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_ratio:new ae.Uniform1f(e,t.u_ratio),u_device_pixel_ratio:new ae.Uniform1f(e,t.u_device_pixel_ratio),u_units_to_pixels:new ae.Uniform2f(e,t.u_units_to_pixels)}},lineGradient:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_ratio:new ae.Uniform1f(e,t.u_ratio),u_device_pixel_ratio:new ae.Uniform1f(e,t.u_device_pixel_ratio),u_units_to_pixels:new ae.Uniform2f(e,t.u_units_to_pixels),u_image:new ae.Uniform1i(e,t.u_image),u_image_height:new ae.Uniform1f(e,t.u_image_height)}},linePattern:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_texsize:new ae.Uniform2f(e,t.u_texsize),u_ratio:new ae.Uniform1f(e,t.u_ratio),u_device_pixel_ratio:new ae.Uniform1f(e,t.u_device_pixel_ratio),u_image:new ae.Uniform1i(e,t.u_image),u_units_to_pixels:new ae.Uniform2f(e,t.u_units_to_pixels),u_scale:new ae.Uniform3f(e,t.u_scale),u_fade:new ae.Uniform1f(e,t.u_fade)}},lineSDF:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_ratio:new ae.Uniform1f(e,t.u_ratio),u_device_pixel_ratio:new ae.Uniform1f(e,t.u_device_pixel_ratio),u_units_to_pixels:new ae.Uniform2f(e,t.u_units_to_pixels),u_patternscale_a:new ae.Uniform2f(e,t.u_patternscale_a),u_patternscale_b:new ae.Uniform2f(e,t.u_patternscale_b),u_sdfgamma:new ae.Uniform1f(e,t.u_sdfgamma),u_image:new ae.Uniform1i(e,t.u_image),u_tex_y_a:new ae.Uniform1f(e,t.u_tex_y_a),u_tex_y_b:new ae.Uniform1f(e,t.u_tex_y_b),u_mix:new ae.Uniform1f(e,t.u_mix)}},raster:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_tl_parent:new ae.Uniform2f(e,t.u_tl_parent),u_scale_parent:new ae.Uniform1f(e,t.u_scale_parent),u_buffer_scale:new ae.Uniform1f(e,t.u_buffer_scale),u_fade_t:new ae.Uniform1f(e,t.u_fade_t),u_opacity:new ae.Uniform1f(e,t.u_opacity),u_image0:new ae.Uniform1i(e,t.u_image0),u_image1:new ae.Uniform1i(e,t.u_image1),u_brightness_low:new ae.Uniform1f(e,t.u_brightness_low),u_brightness_high:new ae.Uniform1f(e,t.u_brightness_high),u_saturation_factor:new ae.Uniform1f(e,t.u_saturation_factor),u_contrast_factor:new ae.Uniform1f(e,t.u_contrast_factor),u_spin_weights:new ae.Uniform3f(e,t.u_spin_weights)}},symbolIcon:function(e,t){return{u_is_size_zoom_constant:new ae.Uniform1i(e,t.u_is_size_zoom_constant),u_is_size_feature_constant:new ae.Uniform1i(e,t.u_is_size_feature_constant),u_size_t:new ae.Uniform1f(e,t.u_size_t),u_size:new ae.Uniform1f(e,t.u_size),u_camera_to_center_distance:new ae.Uniform1f(e,t.u_camera_to_center_distance),u_pitch:new ae.Uniform1f(e,t.u_pitch),u_rotate_symbol:new ae.Uniform1i(e,t.u_rotate_symbol),u_aspect_ratio:new ae.Uniform1f(e,t.u_aspect_ratio),u_fade_change:new ae.Uniform1f(e,t.u_fade_change),u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_label_plane_matrix:new ae.UniformMatrix4f(e,t.u_label_plane_matrix),u_coord_matrix:new ae.UniformMatrix4f(e,t.u_coord_matrix),u_is_text:new ae.Uniform1i(e,t.u_is_text),u_pitch_with_map:new ae.Uniform1i(e,t.u_pitch_with_map),u_texsize:new ae.Uniform2f(e,t.u_texsize),u_texture:new ae.Uniform1i(e,t.u_texture)}},symbolSDF:function(e,t){return{u_is_size_zoom_constant:new ae.Uniform1i(e,t.u_is_size_zoom_constant),u_is_size_feature_constant:new ae.Uniform1i(e,t.u_is_size_feature_constant),u_size_t:new ae.Uniform1f(e,t.u_size_t),u_size:new ae.Uniform1f(e,t.u_size),u_camera_to_center_distance:new ae.Uniform1f(e,t.u_camera_to_center_distance),u_pitch:new ae.Uniform1f(e,t.u_pitch),u_rotate_symbol:new ae.Uniform1i(e,t.u_rotate_symbol),u_aspect_ratio:new ae.Uniform1f(e,t.u_aspect_ratio),u_fade_change:new ae.Uniform1f(e,t.u_fade_change),u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_label_plane_matrix:new ae.UniformMatrix4f(e,t.u_label_plane_matrix),u_coord_matrix:new ae.UniformMatrix4f(e,t.u_coord_matrix),u_is_text:new ae.Uniform1i(e,t.u_is_text),u_pitch_with_map:new ae.Uniform1i(e,t.u_pitch_with_map),u_texsize:new ae.Uniform2f(e,t.u_texsize),u_texture:new ae.Uniform1i(e,t.u_texture),u_gamma_scale:new ae.Uniform1f(e,t.u_gamma_scale),u_device_pixel_ratio:new ae.Uniform1f(e,t.u_device_pixel_ratio),u_is_halo:new ae.Uniform1i(e,t.u_is_halo)}},symbolTextAndIcon:function(e,t){return{u_is_size_zoom_constant:new ae.Uniform1i(e,t.u_is_size_zoom_constant),u_is_size_feature_constant:new ae.Uniform1i(e,t.u_is_size_feature_constant),u_size_t:new ae.Uniform1f(e,t.u_size_t),u_size:new ae.Uniform1f(e,t.u_size),u_camera_to_center_distance:new ae.Uniform1f(e,t.u_camera_to_center_distance),u_pitch:new ae.Uniform1f(e,t.u_pitch),u_rotate_symbol:new ae.Uniform1i(e,t.u_rotate_symbol),u_aspect_ratio:new ae.Uniform1f(e,t.u_aspect_ratio),u_fade_change:new ae.Uniform1f(e,t.u_fade_change),u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_label_plane_matrix:new ae.UniformMatrix4f(e,t.u_label_plane_matrix),u_coord_matrix:new ae.UniformMatrix4f(e,t.u_coord_matrix),u_is_text:new ae.Uniform1i(e,t.u_is_text),u_pitch_with_map:new ae.Uniform1i(e,t.u_pitch_with_map),u_texsize:new ae.Uniform2f(e,t.u_texsize),u_texsize_icon:new ae.Uniform2f(e,t.u_texsize_icon),u_texture:new ae.Uniform1i(e,t.u_texture),u_texture_icon:new ae.Uniform1i(e,t.u_texture_icon),u_gamma_scale:new ae.Uniform1f(e,t.u_gamma_scale),u_device_pixel_ratio:new ae.Uniform1f(e,t.u_device_pixel_ratio),u_is_halo:new ae.Uniform1i(e,t.u_is_halo)}},background:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_opacity:new ae.Uniform1f(e,t.u_opacity),u_color:new ae.UniformColor(e,t.u_color)}},backgroundPattern:function(e,t){return{u_matrix:new ae.UniformMatrix4f(e,t.u_matrix),u_opacity:new ae.Uniform1f(e,t.u_opacity),u_image:new ae.Uniform1i(e,t.u_image),u_pattern_tl_a:new ae.Uniform2f(e,t.u_pattern_tl_a),u_pattern_br_a:new ae.Uniform2f(e,t.u_pattern_br_a),u_pattern_tl_b:new ae.Uniform2f(e,t.u_pattern_tl_b),u_pattern_br_b:new ae.Uniform2f(e,t.u_pattern_br_b),u_texsize:new ae.Uniform2f(e,t.u_texsize),u_mix:new ae.Uniform1f(e,t.u_mix),u_pattern_size_a:new ae.Uniform2f(e,t.u_pattern_size_a),u_pattern_size_b:new ae.Uniform2f(e,t.u_pattern_size_b),u_scale_a:new ae.Uniform1f(e,t.u_scale_a),u_scale_b:new ae.Uniform1f(e,t.u_scale_b),u_pixel_coord_upper:new ae.Uniform2f(e,t.u_pixel_coord_upper),u_pixel_coord_lower:new ae.Uniform2f(e,t.u_pixel_coord_lower),u_tile_units_to_pixels:new ae.Uniform1f(e,t.u_tile_units_to_pixels)}}};function gr(e,t,n,r,i,o,a){for(var s=e.context,l=s.gl,B=e.useProgram("collisionBox"),u=[],c=0,f=0,h=0;h<r.length;h++){var d=r[h],p=t.getTile(d),y=p.getBucket(n);if(y){var m=d.posMatrix;0===i[0]&&0===i[1]||(m=e.translatePosMatrix(d.posMatrix,p,i,o));var g=a?y.textCollisionBox:y.iconCollisionBox,v=y.collisionCircleArray;if(v.length>0){var b=ae.create(),R=m;ae.mul(b,y.placementInvProjMatrix,e.transform.glCoordMatrix),ae.mul(b,b,y.placementViewportMatrix),u.push({circleArray:v,circleOffset:f,transform:R,invTransform:b}),f=c+=v.length/4}g&&B.draw(s,l.LINES,se.disabled,F.disabled,e.colorModeForRenderPass(),V.disabled,Jn(m,e.transform,p),n.id,g.layoutVertexBuffer,g.indexBuffer,g.segments,null,e.transform.zoom,null,null,g.collisionVertexBuffer)}}if(a&&u.length){var N=e.useProgram("collisionCircle"),_=new ae.StructArrayLayout2f1f2i16;_.resize(4*c),_._trim();for(var x=0,w=0,A=u;w<A.length;w+=1)for(var S=A[w],C=0;C<S.circleArray.length/4;C++){var O=4*C,E=S.circleArray[O+0],M=S.circleArray[O+1],P=S.circleArray[O+2],k=S.circleArray[O+3];_.emplace(x++,E,M,P,k,0),_.emplace(x++,E,M,P,k,1),_.emplace(x++,E,M,P,k,2),_.emplace(x++,E,M,P,k,3)}(!cr||cr.length<2*c)&&(cr=function(e){var t=2*e,n=new ae.StructArrayLayout3ui6;n.resize(t),n._trim();for(var r=0;r<t;r++){var i=6*r;n.uint16[i+0]=4*r+0,n.uint16[i+1]=4*r+1,n.uint16[i+2]=4*r+2,n.uint16[i+3]=4*r+2,n.uint16[i+4]=4*r+3,n.uint16[i+5]=4*r+0}return n}(c));for(var T=s.createIndexBuffer(cr,!0),I=s.createVertexBuffer(_,ae.collisionCircleLayout.members,!0),L=0,j=u;L<j.length;L+=1){var D=j[L],z=$n(D.transform,D.invTransform,e.transform);N.draw(s,l.TRIANGLES,se.disabled,F.disabled,e.colorModeForRenderPass(),V.disabled,z,n.id,I,T,ae.SegmentVector.simpleSegment(0,2*D.circleOffset,D.circleArray.length,D.circleArray.length/2),null,e.transform.zoom,null,null,null)}I.destroy(),T.destroy()}}var vr=ae.identity(new Float32Array(16));function br(e,t,n,r,i,o){var a=ae.getAnchorAlignment(e),s=-(a.horizontalAlign-.5)*t,l=-(a.verticalAlign-.5)*n,u=ae.evaluateVariableOffset(e,r);return new ae.Point((s/i+u[0])*o,(l/i+u[1])*o)}function _r(e,t,n,r,i,o,a,s,l,u,c){var f=e.text.placedSymbolArray,h=e.text.dynamicLayoutVertexArray,d=e.icon.dynamicLayoutVertexArray,p={};h.clear();for(var y=0;y<f.length;y++){var m=f.get(y),g=m.hidden||!m.crossTileID||e.allowVerticalPlacement&&!m.placedOrientation?null:r[m.crossTileID];if(g){var v=new ae.Point(m.anchorX,m.anchorY),b=X(v,n?s:a),_=St(o.cameraToCenterDistance,b.signedDistanceFromCamera),x=i.evaluateSizeForFeature(e.textSizeData,u,m)*_/ae.ONE_EM;n&&(x*=e.tilePixelRatio/l);for(var w=br(g.anchor,g.width,g.height,g.textOffset,g.textBoxScale,x),A=n?X(v.add(w),a).point:b.point.add(t?w.rotate(-o.angle):w),S=e.allowVerticalPlacement&&m.placedOrientation===ae.WritingMode.vertical?Math.PI/2:0,C=0;C<m.numGlyphs;C++)ae.addDynamicAttributes(h,A,S);c&&m.associatedIconIndex>=0&&(p[m.associatedIconIndex]={shiftedAnchor:A,angle:S})}else Lt(m.numGlyphs,h)}if(c){d.clear();for(var O=e.icon.placedSymbolArray,E=0;E<O.length;E++){var M=O.get(E);if(M.hidden)Lt(M.numGlyphs,d);else{var P=p[E];if(P)for(var k=0;k<M.numGlyphs;k++)ae.addDynamicAttributes(d,P.shiftedAnchor,P.angle);else Lt(M.numGlyphs,d)}}e.icon.dynamicLayoutVertexBuffer.updateData(d)}e.text.dynamicLayoutVertexBuffer.updateData(h)}function xr(e,t,n){return n.iconsInText&&t?"symbolTextAndIcon":e?"symbolSDF":"symbolIcon"}function wr(e,B,t,R,n,r,i,N,z,F,o,a){for(var s=e.context,l=s.gl,u=e.transform,c="map"===N,f="map"===z,h=c&&"point"!==t.layout.get("symbol-placement"),d=c&&!f&&!h,p=void 0!==t.layout.get("symbol-sort-key").constantOr(1),y=e.depthModeForSublayer(0,se.ReadOnly),V=t.layout.get("text-variable-anchor"),m=[],g=0,H=R;g<H.length;g+=1){var v=H[g],b=B.getTile(v),_=b.getBucket(t);if(_){var x=n?_.text:_.icon;if(x&&x.segments.get().length){var Y=x.programConfigurations.get(t.id),w=n||_.sdfIcons,A=n?_.textSizeData:_.iconSizeData,G=f||0!==u.pitch,U=e.useProgram(xr(w,n,_),Y),S=ae.evaluateSizeForZoom(A,u.zoom),C=void 0,Q=[0,0],O=void 0,E=void 0,W=null,q=void 0;if(n)O=b.glyphAtlasTexture,E=l.LINEAR,C=b.glyphAtlasTexture.size,_.iconsInText&&(Q=b.imageAtlasTexture.size,W=b.imageAtlasTexture,q=G||e.options.rotating||e.options.zooming||"composite"===A.kind||"camera"===A.kind?l.LINEAR:l.NEAREST);else{var K=1!==t.layout.get("icon-size").constantOr(0)||_.iconsNeedLinear;O=b.imageAtlasTexture,E=w||e.options.rotating||e.options.zooming||K||G?l.LINEAR:l.NEAREST,C=b.imageAtlasTexture.size}var X=le(b,1,e.transform.zoom),J=wt(v.posMatrix,f,c,e.transform,X),$=At(v.posMatrix,f,c,e.transform,X),Z=V&&_.hasTextData(),ee="none"!==t.layout.get("icon-text-fit")&&Z&&_.hasIconData();h&&Ot(_,v.posMatrix,e,n,J,$,f,F);var M=e.translatePosMatrix(v.posMatrix,b,r,i),P=h||n&&V||ee?vr:J,k=e.translatePosMatrix($,b,r,i,!0),te=w&&0!==t.paint.get(n?"text-halo-width":"icon-halo-width").constantOr(1),ne={program:U,buffers:x,uniformValues:w?_.iconsInText?dr(A.kind,S,d,f,e,M,P,k,C,Q):hr(A.kind,S,d,f,e,M,P,k,n,C,!0):fr(A.kind,S,d,f,e,M,P,k,n,C),atlasTexture:O,atlasTextureIcon:W,atlasInterpolation:E,atlasInterpolationIcon:q,isSDF:w,hasHalo:te};if(p)for(var T=0,re=x.segments.get();T<re.length;T+=1){var ie=re[T];m.push({segments:new ae.SegmentVector([ie]),sortKey:ie.sortKey,state:ne})}else m.push({segments:x.segments,sortKey:0,state:ne})}}}p&&m.sort(function(e,t){return e.sortKey-t.sortKey});for(var I=0,oe=m;I<oe.length;I+=1){var L=oe[I],j=L.state;if(s.activeTexture.set(l.TEXTURE0),j.atlasTexture.bind(j.atlasInterpolation,l.CLAMP_TO_EDGE),j.atlasTextureIcon&&(s.activeTexture.set(l.TEXTURE1),j.atlasTextureIcon&&j.atlasTextureIcon.bind(j.atlasInterpolationIcon,l.CLAMP_TO_EDGE)),j.isSDF){var D=j.uniformValues;j.hasHalo&&(D.u_is_halo=1,Ar(j.buffers,L.segments,t,e,j.program,y,o,a,D)),D.u_is_halo=0}Ar(j.buffers,L.segments,t,e,j.program,y,o,a,j.uniformValues)}}function Ar(e,t,n,r,i,o,a,s,l){var u=r.context;i.draw(u,u.gl.TRIANGLES,o,a,s,V.disabled,l,n.id,e.layoutVertexBuffer,e.indexBuffer,t,n.paint,r.transform.zoom,e.programConfigurations.get(n.id),e.dynamicLayoutVertexBuffer,e.opacityVertexBuffer)}function Sr(e,t,n,r,i,o,a){var s,l,u,c,f,h=e.context.gl,d=n.paint.get("fill-pattern"),p=d&&d.constantOr(1),y=n.getCrossfadeParameters();a?(l=p&&!n.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",s=h.LINES):(l=p?"fillPattern":"fill",s=h.TRIANGLES);for(var m=0,g=r;m<g.length;m+=1){var v=g[m],b=t.getTile(v);if(!p||b.patternsLoaded()){var _=b.getBucket(n);if(_){var x=_.programConfigurations.get(n.id),w=e.useProgram(l,x);p&&(e.context.activeTexture.set(h.TEXTURE0),b.imageAtlasTexture.bind(h.LINEAR,h.CLAMP_TO_EDGE),x.updatePaintBuffers(y));var A=d.constantOr(null);if(A&&b.imageAtlas){var S=b.imageAtlas,C=S.patternPositions[A.to.toString()],O=S.patternPositions[A.from.toString()];C&&O&&x.setConstantPatternPositions(C,O)}var E=e.translatePosMatrix(v.posMatrix,b,n.paint.get("fill-translate"),n.paint.get("fill-translate-anchor"));if(a){c=_.indexBuffer2,f=_.segments2;var M=[h.drawingBufferWidth,h.drawingBufferHeight];u="fillOutlinePattern"===l&&p?Kn(E,e,y,b,M):qn(E,M)}else c=_.indexBuffer,f=_.segments,u=p?Wn(E,e,y,b):Qn(E);w.draw(e.context,s,i,e.stencilModeForClipping(v),o,V.disabled,u,n.id,_.layoutVertexBuffer,c,f,n.paint,e.transform.zoom,x)}}}}function Cr(e,t,n,r,i,o,a){for(var s=e.context,l=s.gl,u=n.paint.get("fill-extrusion-pattern"),c=u.constantOr(1),f=n.getCrossfadeParameters(),h=n.paint.get("fill-extrusion-opacity"),d=0,p=r;d<p.length;d+=1){var y=p[d],m=t.getTile(y),g=m.getBucket(n);if(g){var v=g.programConfigurations.get(n.id),b=e.useProgram(c?"fillExtrusionPattern":"fillExtrusion",v);c&&(e.context.activeTexture.set(l.TEXTURE0),m.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),v.updatePaintBuffers(f));var _=u.constantOr(null);if(_&&m.imageAtlas){var x=m.imageAtlas,w=x.patternPositions[_.to.toString()],A=x.patternPositions[_.from.toString()];w&&A&&v.setConstantPatternPositions(w,A)}var S=e.translatePosMatrix(y.posMatrix,m,n.paint.get("fill-extrusion-translate"),n.paint.get("fill-extrusion-translate-anchor")),C=n.paint.get("fill-extrusion-vertical-gradient"),O=c?Un(S,e,C,h,y,f,m):Gn(S,e,C,h);b.draw(s,s.gl.TRIANGLES,i,o,a,V.backCCW,O,n.id,g.layoutVertexBuffer,g.indexBuffer,g.segments,n.paint,e.transform.zoom,v)}}}function Or(e,t,n,r,i,o){var a=e.context,s=a.gl,l=t.fbo;if(l){var u=e.useProgram("hillshade");a.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,l.colorAttachment.get());var c=function(e,t,n){var r=n.paint.get("hillshade-shadow-color"),i=n.paint.get("hillshade-highlight-color"),o=n.paint.get("hillshade-accent-color"),a=n.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===n.paint.get("hillshade-illumination-anchor")&&(a-=e.transform.angle);var s,l,u,c=!e.options.moving;return{u_matrix:e.transform.calculatePosMatrix(t.tileID.toUnwrapped(),c),u_image:0,u_latrange:(s=t.tileID,l=Math.pow(2,s.canonical.z),u=s.canonical.y,[new ae.MercatorCoordinate(0,u/l).toLngLat().lat,new ae.MercatorCoordinate(0,(u+1)/l).toLngLat().lat]),u_light:[n.paint.get("hillshade-exaggeration"),a],u_shadow:r,u_highlight:i,u_accent:o}}(e,t,n);u.draw(a,s.TRIANGLES,r,i,o,V.disabled,c,n.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments)}}function Er(e,t,n,r,i,o){var a=e.context,s=a.gl,l=t.dem;if(l&&l.data){var u=l.dim,c=l.stride,f=l.getPixels();if(a.activeTexture.set(s.TEXTURE1),a.pixelStoreUnpackPremultiplyAlpha.set(!1),t.demTexture=t.demTexture||e.getTileTexture(c),t.demTexture){var h=t.demTexture;h.update(f,{premultiply:!1}),h.bind(s.NEAREST,s.CLAMP_TO_EDGE)}else t.demTexture=new ae.Texture(a,f,s.RGBA,{premultiply:!1}),t.demTexture.bind(s.NEAREST,s.CLAMP_TO_EDGE);a.activeTexture.set(s.TEXTURE0);var d=t.fbo;if(!d){var p=new ae.Texture(a,{width:u,height:u,data:null},s.RGBA);p.bind(s.LINEAR,s.CLAMP_TO_EDGE),(d=t.fbo=a.createFramebuffer(u,u,!0)).colorAttachment.set(p.texture)}a.bindFramebuffer.set(d.framebuffer),a.viewport.set([0,0,u,u]),e.useProgram("hillshadePrepare").draw(a,s.TRIANGLES,r,i,o,V.disabled,function(e,t){var n=t.stride,r=ae.create();return ae.ortho(r,0,ae.EXTENT,-ae.EXTENT,0,0,1),ae.translate(r,r,[0,-ae.EXTENT,0]),{u_matrix:r,u_image:1,u_dimension:[n,n],u_zoom:e.overscaledZ,u_unpack:t.getUnpackVector()}}(t.tileID,l),n.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),t.needsHillshadePrepare=!1}}function Mr(e,t,n,r,i){var o=r.paint.get("raster-fade-duration");if(o>0){var a=ae.browser.now(),s=(a-e.timeAdded)/o,l=t?(a-t.timeAdded)/o:-1,u=n.getSource(),c=i.coveringZoomLevel({tileSize:u.tileSize,roundZoom:u.roundZoom}),f=!t||Math.abs(t.tileID.overscaledZ-c)>Math.abs(e.tileID.overscaledZ-c),h=f&&e.refreshedUponExpiration?1:ae.clamp(f?s:1-l,0,1);return e.refreshedUponExpiration&&s>=1&&(e.refreshedUponExpiration=!1),t?{opacity:1,mix:1-h}:{opacity:h,mix:0}}return{opacity:1,mix:0}}var Pr=new ae.Color(1,0,0,1),kr=new ae.Color(0,1,0,1),Tr=new ae.Color(0,0,1,1),Ir=new ae.Color(1,0,1,1),Lr=new ae.Color(0,1,1,1);function jr(e,t,n,r){Br(e,0,t+n/2,e.transform.width,n,r)}function Dr(e,t,n,r){Br(e,t-n/2,0,n,e.transform.height,r)}function Br(e,t,n,r,i,o){var a=e.context,s=a.gl;s.enable(s.SCISSOR_TEST),s.scissor(t*ae.browser.devicePixelRatio,n*ae.browser.devicePixelRatio,r*ae.browser.devicePixelRatio,i*ae.browser.devicePixelRatio),a.clear({color:o}),s.disable(s.SCISSOR_TEST)}function Rr(e,t,n){var r=e.context,i=r.gl,o=n.posMatrix,a=e.useProgram("debug"),s=se.disabled,l=F.disabled,u=e.colorModeForRenderPass();r.activeTexture.set(i.TEXTURE0),e.emptyTexture.bind(i.LINEAR,i.CLAMP_TO_EDGE),a.draw(r,i.LINE_STRIP,s,l,u,V.disabled,Zn(o,ae.Color.red),"$debug",e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);var c=t.getTileByID(n.key).latestRawTileData,f=Math.floor((c&&c.byteLength||0)/1024),h=t.getTile(n).tileSize,d=512/Math.min(h,512)*(n.overscaledZ/e.transform.zoom)*.5,p=n.canonical.toString();n.overscaledZ!==n.canonical.z&&(p+=" => "+n.overscaledZ),function(e,t){e.initDebugOverlayCanvas();var n=e.debugOverlayCanvas,r=e.context.gl,i=e.debugOverlayCanvas.getContext("2d");i.clearRect(0,0,n.width,n.height),i.shadowColor="white",i.shadowBlur=2,i.lineWidth=1.5,i.strokeStyle="white",i.textBaseline="top",i.font="bold 36px Open Sans, sans-serif",i.fillText(t,5,5),i.strokeText(t,5,5),e.debugOverlayTexture.update(n),e.debugOverlayTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE)}(e,p+" "+f+"kb"),a.draw(r,i.TRIANGLES,s,l,y.alphaBlended,V.disabled,Zn(o,ae.Color.transparent,d),"$debug",e.debugBuffer,e.quadTriangleIndexBuffer,e.debugSegments)}var Nr={symbol:function(e,t,n,r,i){if("translucent"===e.renderPass){var o=F.disabled,a=e.colorModeForRenderPass();n.layout.get("text-variable-anchor")&&function(e,t,n,r,i,o,a){for(var s=t.transform,l="map"===i,u="map"===o,c=0,f=e;c<f.length;c+=1){var h=f[c],d=r.getTile(h),p=d.getBucket(n);if(p&&p.text&&p.text.segments.get().length){var y=ae.evaluateSizeForZoom(p.textSizeData,s.zoom),m=le(d,1,t.transform.zoom),g=wt(h.posMatrix,u,l,t.transform,m),v="none"!==n.layout.get("icon-text-fit")&&p.hasIconData();if(y){var b=Math.pow(2,s.zoom-d.tileID.overscaledZ);_r(p,l,u,a,ae.symbolSize,s,g,h.posMatrix,b,y,v)}}}}(r,e,n,t,n.layout.get("text-rotation-alignment"),n.layout.get("text-pitch-alignment"),i),0!==n.paint.get("icon-opacity").constantOr(1)&&wr(e,t,n,r,!1,n.paint.get("icon-translate"),n.paint.get("icon-translate-anchor"),n.layout.get("icon-rotation-alignment"),n.layout.get("icon-pitch-alignment"),n.layout.get("icon-keep-upright"),o,a),0!==n.paint.get("text-opacity").constantOr(1)&&wr(e,t,n,r,!0,n.paint.get("text-translate"),n.paint.get("text-translate-anchor"),n.layout.get("text-rotation-alignment"),n.layout.get("text-pitch-alignment"),n.layout.get("text-keep-upright"),o,a),t.map.showCollisionBoxes&&(gr(e,t,n,r,n.paint.get("text-translate"),n.paint.get("text-translate-anchor"),!0),gr(e,t,n,r,n.paint.get("icon-translate"),n.paint.get("icon-translate-anchor"),!1))}},circle:function(e,t,n,r){if("translucent"===e.renderPass){var i=n.paint.get("circle-opacity"),o=n.paint.get("circle-stroke-width"),a=n.paint.get("circle-stroke-opacity"),s=void 0!==n.layout.get("circle-sort-key").constantOr(1);if(0!==i.constantOr(1)||0!==o.constantOr(1)&&0!==a.constantOr(1)){for(var l=e.context,u=l.gl,c=e.depthModeForSublayer(0,se.ReadOnly),f=F.disabled,h=e.colorModeForRenderPass(),d=[],p=0;p<r.length;p++){var y=r[p],m=t.getTile(y),g=m.getBucket(n);if(g){var v=g.programConfigurations.get(n.id),b={programConfiguration:v,program:e.useProgram("circle",v),layoutVertexBuffer:g.layoutVertexBuffer,indexBuffer:g.indexBuffer,uniformValues:Xn(e,y,m,n)};if(s)for(var _=0,x=g.segments.get();_<x.length;_+=1){var w=x[_];d.push({segments:new ae.SegmentVector([w]),sortKey:w.sortKey,state:b})}else d.push({segments:g.segments,sortKey:0,state:b})}}s&&d.sort(function(e,t){return e.sortKey-t.sortKey});for(var A=0,S=d;A<S.length;A+=1){var C=S[A],O=C.state;O.program.draw(l,u.TRIANGLES,c,f,h,V.disabled,O.uniformValues,n.id,O.layoutVertexBuffer,O.indexBuffer,C.segments,n.paint,e.transform.zoom,O.programConfiguration)}}}},heatmap:function(e,t,n,r){if(0!==n.paint.get("heatmap-opacity"))if("offscreen"===e.renderPass){var i=e.context,o=i.gl,a=F.disabled,s=new y([o.ONE,o.ONE],ae.Color.transparent,[!0,!0,!0,!0]);!function(e,t,n){var r=e.gl;e.activeTexture.set(r.TEXTURE1),e.viewport.set([0,0,t.width/4,t.height/4]);var i=n.heatmapFbo;if(i)r.bindTexture(r.TEXTURE_2D,i.colorAttachment.get()),e.bindFramebuffer.set(i.framebuffer);else{var o=r.createTexture();r.bindTexture(r.TEXTURE_2D,o),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR),i=n.heatmapFbo=e.createFramebuffer(t.width/4,t.height/4,!1),function(e,t,n,r){var i=e.gl;i.texImage2D(i.TEXTURE_2D,0,i.RGBA,t.width/4,t.height/4,0,i.RGBA,e.extRenderToTextureHalfFloat?e.extTextureHalfFloat.HALF_FLOAT_OES:i.UNSIGNED_BYTE,null),r.colorAttachment.set(n)}(e,t,o,i)}}(i,e,n),i.clear({color:ae.Color.transparent});for(var l=0;l<r.length;l++){var u=r[l];if(!t.hasRenderableParent(u)){var c=t.getTile(u),f=c.getBucket(n);if(f){var h=f.programConfigurations.get(n.id);e.useProgram("heatmap",h).draw(i,o.TRIANGLES,se.disabled,a,s,V.disabled,tr(u.posMatrix,c,e.transform.zoom,n.paint.get("heatmap-intensity")),n.id,f.layoutVertexBuffer,f.indexBuffer,f.segments,n.paint,e.transform.zoom,h)}}}i.viewport.set([0,0,e.width,e.height])}else"translucent"===e.renderPass&&(e.context.setColorMode(e.colorModeForRenderPass()),function(e,t){var n=e.context,r=n.gl,i=t.heatmapFbo;if(i){n.activeTexture.set(r.TEXTURE0),r.bindTexture(r.TEXTURE_2D,i.colorAttachment.get()),n.activeTexture.set(r.TEXTURE1);var o=t.colorRampTexture;o||(o=t.colorRampTexture=new ae.Texture(n,t.colorRamp,r.RGBA)),o.bind(r.LINEAR,r.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(n,r.TRIANGLES,se.disabled,F.disabled,e.colorModeForRenderPass(),V.disabled,function(e,t,n,r){var i=ae.create();ae.ortho(i,0,e.width,e.height,0,0,1);var o=e.context.gl;return{u_matrix:i,u_world:[o.drawingBufferWidth,o.drawingBufferHeight],u_image:0,u_color_ramp:1,u_opacity:t.paint.get("heatmap-opacity")}}(e,t),t.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,t.paint,e.transform.zoom)}}(e,n))},line:function(e,t,n,r){if("translucent"===e.renderPass){var i=n.paint.get("line-opacity"),o=n.paint.get("line-width");if(0!==i.constantOr(1)&&0!==o.constantOr(1))for(var a=e.depthModeForSublayer(0,se.ReadOnly),s=e.colorModeForRenderPass(),l=n.paint.get("line-dasharray"),u=n.paint.get("line-pattern"),c=u.constantOr(1),f=n.paint.get("line-gradient"),h=n.getCrossfadeParameters(),d=c?"linePattern":l?"lineSDF":f?"lineGradient":"line",p=e.context,y=p.gl,m=!0,g=0,v=r;g<v.length;g+=1){var b=v[g],_=t.getTile(b);if(!c||_.patternsLoaded()){var x=_.getBucket(n);if(x){var w=x.programConfigurations.get(n.id),A=e.context.program.get(),S=e.useProgram(d,w),C=m||S.program!==A,O=u.constantOr(null);if(O&&_.imageAtlas){var E=_.imageAtlas,M=E.patternPositions[O.to.toString()],P=E.patternPositions[O.from.toString()];M&&P&&w.setConstantPatternPositions(M,P)}var k=c?ir(e,_,n,h):l?or(e,_,n,l,h):f?rr(e,_,n,x.lineClipsArray.length):nr(e,_,n);if(c)p.activeTexture.set(y.TEXTURE0),_.imageAtlasTexture.bind(y.LINEAR,y.CLAMP_TO_EDGE),w.updatePaintBuffers(h);else if(l&&(C||e.lineAtlas.dirty))p.activeTexture.set(y.TEXTURE0),e.lineAtlas.bind(p);else if(f){var T=x.gradients[n.id],I=T.texture;if(n.gradientVersion!==T.version){var L=256;if(n.stepInterpolant){var j=t.getSource().maxzoom,D=b.canonical.z===j?Math.ceil(1<<e.transform.maxZoom-b.canonical.z):1;L=ae.clamp(ae.nextPowerOfTwo(x.maxLineLength/ae.EXTENT*1024*D),256,p.maxTextureSize)}T.gradient=ae.renderColorRamp({expression:n.gradientExpression(),evaluationKey:"lineProgress",resolution:L,image:T.gradient||void 0,clips:x.lineClipsArray}),T.texture?T.texture.update(T.gradient):T.texture=new ae.Texture(p,T.gradient,y.RGBA),T.version=n.gradientVersion,I=T.texture}p.activeTexture.set(y.TEXTURE0),I.bind(n.stepInterpolant?y.NEAREST:y.LINEAR,y.CLAMP_TO_EDGE)}S.draw(p,y.TRIANGLES,a,e.stencilModeForClipping(b),s,V.disabled,k,n.id,x.layoutVertexBuffer,x.indexBuffer,x.segments,n.paint,e.transform.zoom,w,x.layoutVertexBuffer2),m=!1}}}}},fill:function(e,t,n,r){var i=n.paint.get("fill-color"),o=n.paint.get("fill-opacity");if(0!==o.constantOr(1)){var a=e.colorModeForRenderPass(),s=n.paint.get("fill-pattern"),l=e.opaquePassEnabledForLayer()&&!s.constantOr(1)&&1===i.constantOr(ae.Color.transparent).a&&1===o.constantOr(0)?"opaque":"translucent";if(e.renderPass===l){var u=e.depthModeForSublayer(1,"opaque"===e.renderPass?se.ReadWrite:se.ReadOnly);Sr(e,t,n,r,u,a,!1)}if("translucent"===e.renderPass&&n.paint.get("fill-antialias")){var c=e.depthModeForSublayer(n.getPaintProperty("fill-outline-color")?2:0,se.ReadOnly);Sr(e,t,n,r,c,a,!0)}}},"fill-extrusion":function(e,t,n,r){var i=n.paint.get("fill-extrusion-opacity");if(0!==i&&"translucent"===e.renderPass){var o=new se(e.context.gl.LEQUAL,se.ReadWrite,e.depthRangeFor3D);if(1!==i||n.paint.get("fill-extrusion-pattern").constantOr(1))Cr(e,t,n,r,o,F.disabled,y.disabled),Cr(e,t,n,r,o,e.stencilModeFor3D(),e.colorModeForRenderPass());else{var a=e.colorModeForRenderPass();Cr(e,t,n,r,o,F.disabled,a)}}},hillshade:function(e,t,n,r){if("offscreen"===e.renderPass||"translucent"===e.renderPass){for(var i=e.context,o=e.depthModeForSublayer(0,se.ReadOnly),a=e.colorModeForRenderPass(),s="translucent"===e.renderPass?e.stencilConfigForOverlap(r):[{},r],l=s[0],u=0,c=s[1];u<c.length;u+=1){var f=c[u],h=t.getTile(f);h.needsHillshadePrepare&&"offscreen"===e.renderPass?Er(e,h,n,o,F.disabled,a):"translucent"===e.renderPass&&Or(e,h,n,o,l[f.overscaledZ],a)}i.viewport.set([0,0,e.width,e.height])}},raster:function(e,t,n,r){if("translucent"===e.renderPass&&0!==n.paint.get("raster-opacity")&&r.length)for(var i=e.context,o=i.gl,a=t.getSource(),s=e.useProgram("raster"),l=e.colorModeForRenderPass(),u=a instanceof he?[{},r]:e.stencilConfigForOverlap(r),c=u[0],f=u[1],h=f[f.length-1].overscaledZ,d=!e.options.moving,p=0,y=f;p<y.length;p+=1){var m=y[p],g=e.depthModeForSublayer(m.overscaledZ-h,1===n.paint.get("raster-opacity")?se.ReadWrite:se.ReadOnly,o.LESS),v=t.getTile(m),b=e.transform.calculatePosMatrix(m.toUnwrapped(),d);v.registerFadeDuration(n.paint.get("raster-fade-duration"));var _=t.findLoadedParent(m,0),x=Mr(v,_,t,n,e.transform),w=void 0,A=void 0,S="nearest"===n.paint.get("raster-resampling")?o.NEAREST:o.LINEAR;i.activeTexture.set(o.TEXTURE0),v.texture.bind(S,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),i.activeTexture.set(o.TEXTURE1),_?(_.texture.bind(S,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),w=Math.pow(2,_.tileID.overscaledZ-v.tileID.overscaledZ),A=[v.tileID.canonical.x*w%1,v.tileID.canonical.y*w%1]):v.texture.bind(S,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST);var C=lr(b,A||[0,0],w||1,x,n);a instanceof he?s.draw(i,o.TRIANGLES,g,F.disabled,l,V.disabled,C,n.id,a.boundsBuffer,e.quadTriangleIndexBuffer,a.boundsSegments):s.draw(i,o.TRIANGLES,g,c[m.overscaledZ],l,V.disabled,C,n.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments)}},background:function(e,t,n){var r=n.paint.get("background-color"),i=n.paint.get("background-opacity");if(0!==i){var o=e.context,a=o.gl,s=e.transform,l=s.tileSize,u=n.paint.get("background-pattern");if(!e.isPatternMissing(u)){var c=!u&&1===r.a&&1===i&&e.opaquePassEnabledForLayer()?"opaque":"translucent";if(e.renderPass===c){var f=F.disabled,h=e.depthModeForSublayer(0,"opaque"===c?se.ReadWrite:se.ReadOnly),d=e.colorModeForRenderPass(),p=e.useProgram(u?"backgroundPattern":"background"),y=s.coveringTiles({tileSize:l});u&&(o.activeTexture.set(a.TEXTURE0),e.imageManager.bind(e.context));for(var m=n.getCrossfadeParameters(),g=0,v=y;g<v.length;g+=1){var b=v[g],_=e.transform.calculatePosMatrix(b.toUnwrapped()),x=u?yr(_,i,e,u,{tileID:b,tileSize:l},m):pr(_,i,r);p.draw(o,a.TRIANGLES,h,f,d,V.disabled,x,n.id,e.tileExtentBuffer,e.quadTriangleIndexBuffer,e.tileExtentSegments)}}}}},debug:function(e,t,n){for(var r=0;r<n.length;r++)Rr(e,t,n[r])},custom:function(e,t,n){var r=e.context,i=n.implementation;if("offscreen"===e.renderPass){var o=i.prerender;o&&(e.setCustomLayerDefaults(),r.setColorMode(e.colorModeForRenderPass()),o.call(i,r.gl,e.transform.customLayerMatrix()),r.setDirty(),e.setBaseState())}else if("translucent"===e.renderPass){e.setCustomLayerDefaults(),r.setColorMode(e.colorModeForRenderPass()),r.setStencilMode(F.disabled);var a="3d"===i.renderingMode?new se(e.context.gl.LEQUAL,se.ReadWrite,e.depthRangeFor3D):e.depthModeForSublayer(0,se.ReadOnly);r.setDepthMode(a),i.render(r.gl,e.transform.customLayerMatrix()),r.setDirty(),e.setBaseState(),r.bindFramebuffer.set(null)}}},f=function(e,t){this.context=new n(e),this.transform=t,this._tileTextures={},this.setup(),this.numSublayers=rt.maxUnderzooming+rt.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new an,this.gpuTimers={}};f.prototype.resize=function(e,t){if(this.width=e*ae.browser.devicePixelRatio,this.height=t*ae.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var n=0,r=this.style._order;n<r.length;n+=1)this.style._layers[r[n]].resize()},f.prototype.setup=function(){var e=this.context,t=new ae.StructArrayLayout2i4;t.emplaceBack(0,0),t.emplaceBack(ae.EXTENT,0),t.emplaceBack(0,ae.EXTENT),t.emplaceBack(ae.EXTENT,ae.EXTENT),this.tileExtentBuffer=e.createVertexBuffer(t,hn.members),this.tileExtentSegments=ae.SegmentVector.simpleSegment(0,0,4,2);var n=new ae.StructArrayLayout2i4;n.emplaceBack(0,0),n.emplaceBack(ae.EXTENT,0),n.emplaceBack(0,ae.EXTENT),n.emplaceBack(ae.EXTENT,ae.EXTENT),this.debugBuffer=e.createVertexBuffer(n,hn.members),this.debugSegments=ae.SegmentVector.simpleSegment(0,0,4,5);var r=new ae.StructArrayLayout4i8;r.emplaceBack(0,0,0,0),r.emplaceBack(ae.EXTENT,0,ae.EXTENT,0),r.emplaceBack(0,ae.EXTENT,0,ae.EXTENT),r.emplaceBack(ae.EXTENT,ae.EXTENT,ae.EXTENT,ae.EXTENT),this.rasterBoundsBuffer=e.createVertexBuffer(r,fe.members),this.rasterBoundsSegments=ae.SegmentVector.simpleSegment(0,0,4,2);var i=new ae.StructArrayLayout2i4;i.emplaceBack(0,0),i.emplaceBack(1,0),i.emplaceBack(0,1),i.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(i,hn.members),this.viewportSegments=ae.SegmentVector.simpleSegment(0,0,4,2);var o=new ae.StructArrayLayout1ui2;o.emplaceBack(0),o.emplaceBack(1),o.emplaceBack(3),o.emplaceBack(2),o.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(o);var a=new ae.StructArrayLayout3ui6;a.emplaceBack(0,1,2),a.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(a),this.emptyTexture=new ae.Texture(e,{width:1,height:1,data:new Uint8Array([0,0,0,0])},e.gl.RGBA);var s=this.context.gl;this.stencilClearMode=new F({func:s.ALWAYS,mask:0},0,255,s.ZERO,s.ZERO,s.ZERO)},f.prototype.clearStencil=function(){var e=this.context,t=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;var n=ae.create();ae.ortho(n,0,this.width,this.height,0,0,1),ae.scale(n,n,[t.drawingBufferWidth,t.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(e,t.TRIANGLES,se.disabled,this.stencilClearMode,y.disabled,V.disabled,er(n),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)},f.prototype._renderTileClippingMasks=function(e,t){if(this.currentStencilSource!==e.source&&e.isTileClipped()&&t&&t.length){this.currentStencilSource=e.source;var n=this.context,r=n.gl;this.nextStencilID+t.length>256&&this.clearStencil(),n.setColorMode(y.disabled),n.setDepthMode(se.disabled);var i=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var o=0,a=t;o<a.length;o+=1){var s=a[o],l=this._tileClippingMaskIDs[s.key]=this.nextStencilID++;i.draw(n,r.TRIANGLES,se.disabled,new F({func:r.ALWAYS,mask:0},l,255,r.KEEP,r.KEEP,r.REPLACE),y.disabled,V.disabled,er(s.posMatrix),"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}},f.prototype.stencilModeFor3D=function(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();var e=this.nextStencilID++,t=this.context.gl;return new F({func:t.NOTEQUAL,mask:255},e,255,t.KEEP,t.KEEP,t.REPLACE)},f.prototype.stencilModeForClipping=function(e){var t=this.context.gl;return new F({func:t.EQUAL,mask:255},this._tileClippingMaskIDs[e.key],0,t.KEEP,t.KEEP,t.REPLACE)},f.prototype.stencilConfigForOverlap=function(e){var t,n=this.context.gl,r=e.sort(function(e,t){return t.overscaledZ-e.overscaledZ}),i=r[r.length-1].overscaledZ,o=r[0].overscaledZ-i+1;if(o>1){this.currentStencilSource=void 0,this.nextStencilID+o>256&&this.clearStencil();for(var a={},s=0;s<o;s++)a[s+i]=new F({func:n.GEQUAL,mask:255},s+this.nextStencilID,255,n.KEEP,n.KEEP,n.REPLACE);return this.nextStencilID+=o,[a,r]}return[(t={},t[i]=F.disabled,t),r]},f.prototype.colorModeForRenderPass=function(){var e=this.context.gl;return this._showOverdrawInspector?new y([e.CONSTANT_COLOR,e.ONE],new ae.Color(1/8,1/8,1/8,0),[!0,!0,!0,!0]):"opaque"===this.renderPass?y.unblended:y.alphaBlended},f.prototype.depthModeForSublayer=function(e,t,n){if(!this.opaquePassEnabledForLayer())return se.disabled;var r=1-((1+this.currentLayer)*this.numSublayers+e)*this.depthEpsilon;return new se(n||this.context.gl.LEQUAL,t,[r,r])},f.prototype.opaquePassEnabledForLayer=function(){return this.currentLayer<this.opaquePassCutoff},f.prototype.render=function(e,t){var n=this;this.style=e,this.options=t,this.lineAtlas=e.lineAtlas,this.imageManagerFactory=e.imageManagerFactory,this.glyphManager=e.glyphManager,this.symbolFadeChange=e.placement.symbolFadeChange(ae.browser.now()),this.imageManagerFactory.beginFrame();var r=this.style._order,i=this.style.sourceCaches;for(var o in i){var a=i[o];a.used&&a.prepare(this.context)}var s,l,u={},c={},f={};for(var h in i){var d=i[h];u[h]=d.getVisibleCoordinates(),c[h]=u[h].slice().reverse(),f[h]=d.getVisibleCoordinates(!0).reverse()}this.opaquePassCutoff=1/0;for(var p=0;p<r.length;p++)if(this.style._layers[r[p]].is3D()){this.opaquePassCutoff=p;break}this.renderPass="offscreen";for(var y=0,m=r;y<m.length;y+=1){var g=this.style._layers[m[y]];if(g.hasOffscreenPass()&&!g.isHidden(this.transform.zoom)){var v=c[g.source];("custom"===g.type||v.length)&&this.renderLayer(this,i[g.source],g,v)}}for(this.context.bindFramebuffer.set(null),this.context.clear({color:t.showOverdrawInspector?ae.Color.black:ae.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=t.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],this.renderPass="opaque",this.currentLayer=r.length-1;this.currentLayer>=0;this.currentLayer--){var b=this.style._layers[r[this.currentLayer]],_=i[b.source],x=u[b.source];this._renderTileClippingMasks(b,x),this.renderLayer(this,_,b,x)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<r.length;this.currentLayer++){var w=this.style._layers[r[this.currentLayer]],A=i[w.source],S=("symbol"===w.type?f:c)[w.source];this._renderTileClippingMasks(w,u[w.source]),this.renderLayer(this,A,w,S)}this.options.showTileBoundaries&&(ae.values(this.style._layers).forEach(function(e){e.source&&!e.isHidden(n.transform.zoom)&&(e.source!==(l&&l.id)&&(l=n.style.sourceCaches[e.source]),(!s||s.getSource().maxzoom<l.getSource().maxzoom)&&(s=l))}),s&&Nr.debug(this,s,s.getVisibleCoordinates())),this.options.showPadding&&function(e){var t=e.transform.padding;jr(e,e.transform.height-(t.top||0),3,Pr),jr(e,t.bottom||0,3,kr),Dr(e,t.left||0,3,Tr),Dr(e,e.transform.width-(t.right||0),3,Ir);var n=e.transform.centerPoint;!function(e,t,n,r){Br(e,t-1,n-10,2,20,r),Br(e,t-10,n-1,20,2,r)}(e,n.x,e.transform.height-n.y,Lr)}(this),this.context.setDefault()},f.prototype.renderLayer=function(e,t,n,r){n.isHidden(this.transform.zoom)||("background"===n.type||"custom"===n.type||r.length)&&(this.id=n.id,this.gpuTimingStart(n),Nr[n.type](e,t,n,r,this.style.placement.variableOffsets),this.gpuTimingEnd())},f.prototype.gpuTimingStart=function(e){if(this.options.gpuTiming){var t=this.context.extTimerQuery,n=this.gpuTimers[e.id];n||(n=this.gpuTimers[e.id]={calls:0,cpuTime:0,query:t.createQueryEXT()}),n.calls++,t.beginQueryEXT(t.TIME_ELAPSED_EXT,n.query)}},f.prototype.gpuTimingEnd=function(){if(this.options.gpuTiming){var e=this.context.extTimerQuery;e.endQueryEXT(e.TIME_ELAPSED_EXT)}},f.prototype.collectGpuTimers=function(){var e=this.gpuTimers;return this.gpuTimers={},e},f.prototype.queryGpuTimers=function(e){var t={};for(var n in e){var r=e[n],i=this.context.extTimerQuery,o=i.getQueryObjectEXT(r.query,i.QUERY_RESULT_EXT)/1e6;i.deleteQueryEXT(r.query),t[n]=o}return t},f.prototype.translatePosMatrix=function(e,t,n,r,i){if(!n[0]&&!n[1])return e;var o=i?"map"===r?this.transform.angle:0:"viewport"===r?-this.transform.angle:0;if(o){var a=Math.sin(o),s=Math.cos(o);n=[n[0]*s-n[1]*a,n[0]*a+n[1]*s]}var l=[i?n[0]:le(t,n[0],this.transform.zoom),i?n[1]:le(t,n[1],this.transform.zoom),0],u=new Float32Array(16);return ae.translate(u,e,l),u},f.prototype.saveTileTexture=function(e){var t=this._tileTextures[e.size[0]];t?t.push(e):this._tileTextures[e.size[0]]=[e]},f.prototype.getTileTexture=function(e){var t=this._tileTextures[e];return t&&t.length>0?t.pop():null},f.prototype.isPatternMissing=function(e){if(!e)return!1;if(!e.from||!e.to)return!0;var t=this.imageManagerFactory.getPattern(e.from.toString()),n=this.imageManagerFactory.getPattern(e.to.toString());return!t||!n},f.prototype.useProgram=function(e,t){this.cache=this.cache||{};var n=""+e+(t?t.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[n]||(this.cache[n]=new Hn(this.context,e,zn[e],t,mr[e],this._showOverdrawInspector)),this.cache[n]},f.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},f.prototype.setBaseState=function(){var e=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(e.FUNC_ADD)},f.prototype.initDebugOverlayCanvas=function(){null==this.debugOverlayCanvas&&(this.debugOverlayCanvas=ae.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new ae.Texture(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))},f.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var zr=function(e,t){this.points=e,this.planes=t};zr.fromInvProjectionMatrix=function(t,n,e){var r=Math.pow(2,e),o=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(e){return ae.transformMat4([],e,t)}).map(function(e){return ae.scale$1([],e,1/e[3]/n*r)}),i=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(e){var t=ae.sub([],o[e[0]],o[e[1]]),n=ae.sub([],o[e[2]],o[e[1]]),r=ae.normalize([],ae.cross([],t,n)),i=-ae.dot(r,o[e[1]]);return r.concat(i)});return new zr(o,i)};var Fr=function(e,t){this.min=e,this.max=t,this.center=ae.scale$2([],ae.add([],this.min,this.max),.5)};Fr.prototype.quadrant=function(e){for(var t=[e%2==0,e<2],n=ae.clone$2(this.min),r=ae.clone$2(this.max),i=0;i<t.length;i++)n[i]=t[i]?this.min[i]:this.center[i],r[i]=t[i]?this.center[i]:this.max[i];return r[2]=this.max[2],new Fr(n,r)},Fr.prototype.distanceX=function(e){return Math.max(Math.min(this.max[0],e[0]),this.min[0])-e[0]},Fr.prototype.distanceY=function(e){return Math.max(Math.min(this.max[1],e[1]),this.min[1])-e[1]},Fr.prototype.intersects=function(e){for(var t=[[this.min[0],this.min[1],0,1],[this.max[0],this.min[1],0,1],[this.max[0],this.max[1],0,1],[this.min[0],this.max[1],0,1]],n=!0,r=0;r<e.planes.length;r++){for(var i=e.planes[r],o=0,a=0;a<t.length;a++)o+=ae.dot$1(i,t[a])>=0;if(0===o)return 0;o!==t.length&&(n=!1)}if(n)return 2;for(var s=0;s<3;s++){for(var l=Number.MAX_VALUE,u=-Number.MAX_VALUE,c=0;c<e.points.length;c++){var f=e.points[c][s]-this.min[s];l=Math.min(l,f),u=Math.max(u,f)}if(u<0||l>this.max[s]-this.min[s])return 0}return 1};var Vr=function(e,t,n,r){if(void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),isNaN(e)||e<0||isNaN(t)||t<0||isNaN(n)||n<0||isNaN(r)||r<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=e,this.bottom=t,this.left=n,this.right=r};Vr.prototype.interpolate=function(e,t,n){return null!=t.top&&null!=e.top&&(this.top=ae.number(e.top,t.top,n)),null!=t.bottom&&null!=e.bottom&&(this.bottom=ae.number(e.bottom,t.bottom,n)),null!=t.left&&null!=e.left&&(this.left=ae.number(e.left,t.left,n)),null!=t.right&&null!=e.right&&(this.right=ae.number(e.right,t.right,n)),this},Vr.prototype.getCenter=function(e,t){var n=ae.clamp((this.left+e-this.right)/2,0,e),r=ae.clamp((this.top+t-this.bottom)/2,0,t);return new ae.Point(n,r)},Vr.prototype.equals=function(e){return this.top===e.top&&this.bottom===e.bottom&&this.left===e.left&&this.right===e.right},Vr.prototype.clone=function(){return new Vr(this.top,this.bottom,this.left,this.right)},Vr.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var h=function(e,t,n,r,i){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=void 0===i||i,this._minZoom=e||0,this._maxZoom=t||22,this._minPitch=null==n?0:n,this._maxPitch=null==r?60:r,this.setMaxBounds(),this.width=0,this.height=0,this._center=new ae.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new Vr,this._posMatrixCache={},this._alignedPosMatrixCache={}},u={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};h.prototype.clone=function(){var e=new h(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return e.tileSize=this.tileSize,e.latRange=this.latRange,e.width=this.width,e.height=this.height,e._center=this._center,e.zoom=this.zoom,e.angle=this.angle,e._fov=this._fov,e._pitch=this._pitch,e._unmodified=this._unmodified,e._edgeInsets=this._edgeInsets.clone(),e._calcMatrices(),e},u.minZoom.get=function(){return this._minZoom},u.minZoom.set=function(e){this._minZoom!==e&&(this._minZoom=e,this.zoom=Math.max(this.zoom,e))},u.maxZoom.get=function(){return this._maxZoom},u.maxZoom.set=function(e){this._maxZoom!==e&&(this._maxZoom=e,this.zoom=Math.min(this.zoom,e))},u.minPitch.get=function(){return this._minPitch},u.minPitch.set=function(e){this._minPitch!==e&&(this._minPitch=e,this.pitch=Math.max(this.pitch,e))},u.maxPitch.get=function(){return this._maxPitch},u.maxPitch.set=function(e){this._maxPitch!==e&&(this._maxPitch=e,this.pitch=Math.min(this.pitch,e))},u.renderWorldCopies.get=function(){return this._renderWorldCopies},u.renderWorldCopies.set=function(e){void 0===e?e=!0:null===e&&(e=!1),this._renderWorldCopies=e},u.worldSize.get=function(){return this.tileSize*this.scale},u.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},u.size.get=function(){return new ae.Point(this.width,this.height)},u.bearing.get=function(){return-this.angle/Math.PI*180},u.bearing.set=function(e){var t=-ae.wrap(e,-180,180)*Math.PI/180;this.angle!==t&&(this._unmodified=!1,this.angle=t,this._calcMatrices(),this.rotationMatrix=ae.create$2(),ae.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},u.pitch.get=function(){return this._pitch/Math.PI*180},u.pitch.set=function(e){var t=ae.clamp(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==t&&(this._unmodified=!1,this._pitch=t,this._calcMatrices())},u.fov.get=function(){return this._fov/Math.PI*180},u.fov.set=function(e){e=Math.max(.01,Math.min(60,e)),this._fov!==e&&(this._unmodified=!1,this._fov=e/180*Math.PI,this._calcMatrices())},u.zoom.get=function(){return this._zoom},u.zoom.set=function(e){var t=Math.min(Math.max(e,this.minZoom),this.maxZoom);this._zoom!==t&&(this._unmodified=!1,this._zoom=t,this.scale=this.zoomScale(t),this.tileZoom=Math.floor(t),this.zoomFraction=t-this.tileZoom,this._constrain(),this._calcMatrices())},u.center.get=function(){return this._center},u.center.set=function(e){e.lat===this._center.lat&&e.lng===this._center.lng||(this._unmodified=!1,this._center=e,this._constrain(),this._calcMatrices())},u.padding.get=function(){return this._edgeInsets.toJSON()},u.padding.set=function(e){this._edgeInsets.equals(e)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,e,1),this._calcMatrices())},u.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},h.prototype.isPaddingEqual=function(e){return this._edgeInsets.equals(e)},h.prototype.interpolatePadding=function(e,t,n){this._unmodified=!1,this._edgeInsets.interpolate(e,t,n),this._constrain(),this._calcMatrices()},h.prototype.coveringZoomLevel=function(e){var t=(e.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/e.tileSize));return Math.max(0,t)},h.prototype.getVisibleUnwrappedCoordinates=function(e){var t=[new ae.UnwrappedTileID(0,e)];if(this._renderWorldCopies)for(var n=this.pointCoordinate(new ae.Point(0,0)),r=this.pointCoordinate(new ae.Point(this.width,0)),i=this.pointCoordinate(new ae.Point(this.width,this.height)),o=this.pointCoordinate(new ae.Point(0,this.height)),a=Math.floor(Math.min(n.x,r.x,i.x,o.x)),s=Math.floor(Math.max(n.x,r.x,i.x,o.x)),l=a-1;l<=s+1;l++)0!==l&&t.push(new ae.UnwrappedTileID(l,e));return t},h.prototype.coveringTiles=function(e){var t=this.coveringZoomLevel(e),n=t;if(void 0!==e.minzoom&&t<e.minzoom)return[];void 0!==e.maxzoom&&t>e.maxzoom&&(t=e.maxzoom);var r=ae.MercatorCoordinate.fromLngLat(this.center),i=Math.pow(2,t),o=[i*r.x,i*r.y,0],a=zr.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,t),s=e.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(s=t);var l=function(e){return{aabb:new Fr([e*i,0,0],[(e+1)*i,i,0]),zoom:0,x:0,y:0,wrap:e,fullyVisible:!1}},u=[],c=[],f=t,h=e.reparseOverscaled?n:t;if(this._renderWorldCopies)for(var d=1;d<=3;d++)u.push(l(-d)),u.push(l(d));for(u.push(l(0));u.length>0;){var p=u.pop(),y=p.x,m=p.y,g=p.fullyVisible;if(!g){var v=p.aabb.intersects(a);if(0===v)continue;g=2===v}var b=p.aabb.distanceX(o),_=p.aabb.distanceY(o),x=Math.max(Math.abs(b),Math.abs(_));if(p.zoom===f||x>3+(1<<f-p.zoom)-2&&p.zoom>=s)c.push({tileID:new ae.OverscaledTileID(p.zoom===f?h:p.zoom,p.wrap,p.zoom,y,m),distanceSq:ae.sqrLen([o[0]-.5-y,o[1]-.5-m])});else for(var w=0;w<4;w++){var A=(y<<1)+w%2,S=(m<<1)+(w>>1);u.push({aabb:p.aabb.quadrant(w),zoom:p.zoom+1,x:A,y:S,wrap:p.wrap,fullyVisible:g})}}return c.sort(function(e,t){return e.distanceSq-t.distanceSq}).map(function(e){return e.tileID})},h.prototype.resize=function(e,t){this.width=e,this.height=t,this.pixelsToGLUnits=[2/e,-2/t],this._constrain(),this._calcMatrices()},u.unmodified.get=function(){return this._unmodified},h.prototype.zoomScale=function(e){return Math.pow(2,e)},h.prototype.scaleZoom=function(e){return Math.log(e)/Math.LN2},h.prototype.project=function(e){var t=this.latRange?ae.clamp(e.lat,-this.maxValidLatitude,this.maxValidLatitude):e.lat;return new ae.Point(this.lngX(e.lng),this.latY(t))},h.prototype.unproject=function(e){return new ae.LngLat(this.xLng(e.x),this.yLat(e.y))},u.point.get=function(){return this.project(this.center)},h.prototype.lngX=function(e){return(180+e)*this.worldSize/360},h.prototype.latY=function(e){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+e*Math.PI/360)))*this.worldSize/360},h.prototype.xLng=function(e){return 360*e/this.worldSize-180},h.prototype.yLat=function(e){return 360/Math.PI*Math.atan(Math.exp((180-360*e/this.worldSize)*Math.PI/180))-90},h.prototype.setLocationAtPoint=function(e,t){var n=this.pointCoordinate(t),r=this.pointCoordinate(this.centerPoint),i=this.locationCoordinate(e),o=new ae.MercatorCoordinate(i.x-(n.x-r.x),i.y-(n.y-r.y));this.center=this.coordinateLocation(o),this._renderWorldCopies&&(this.center=this.center.wrap())},h.prototype.locationPoint=function(e){return this.coordinatePoint(this.locationCoordinate(e))},h.prototype.pointLocation=function(e){return this.coordinateLocation(this.pointCoordinate(e))},h.prototype.locationCoordinate=function(e){return ae.MercatorCoordinate.fromLngLat(e)},h.prototype.coordinateLocation=function(e){return e.toLngLat()},h.prototype.pointCoordinate=function(e){var t=[e.x,e.y,0,1],n=[e.x,e.y,1,1];ae.transformMat4(t,t,this.pixelMatrixInverse),ae.transformMat4(n,n,this.pixelMatrixInverse);var r=t[3],i=n[3],o=t[1]/r,a=n[1]/i,s=t[2]/r,l=n[2]/i,u=s===l?0:(0-s)/(l-s);return new ae.MercatorCoordinate(ae.number(t[0]/r,n[0]/i,u)/this.worldSize,ae.number(o,a,u)/this.worldSize)},h.prototype.coordinatePoint=function(e){var t=[e.x*this.worldSize,e.y*this.worldSize,0,1];return ae.transformMat4(t,t,this.pixelMatrix),new ae.Point(t[0]/t[3],t[1]/t[3])},h.prototype.getBounds=function(){return(new ae.LngLatBounds).extend(this.pointLocation(new ae.Point(0,0))).extend(this.pointLocation(new ae.Point(this.width,0))).extend(this.pointLocation(new ae.Point(this.width,this.height))).extend(this.pointLocation(new ae.Point(0,this.height)))},h.prototype.getMaxBounds=function(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new ae.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},h.prototype.setMaxBounds=function(e){e?(this.lngRange=[e.getWest(),e.getEast()],this.latRange=[e.getSouth(),e.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},h.prototype.calculatePosMatrix=function(e,t){void 0===t&&(t=!1);var n=e.key,r=t?this._alignedPosMatrixCache:this._posMatrixCache;if(r[n])return r[n];var i=e.canonical,o=this.worldSize/this.zoomScale(i.z),a=i.x+Math.pow(2,i.z)*e.wrap,s=ae.identity(new Float64Array(16));return ae.translate(s,s,[a*o,i.y*o,0]),ae.scale(s,s,[o/ae.EXTENT,o/ae.EXTENT,1]),ae.multiply(s,t?this.alignedProjMatrix:this.projMatrix,s),r[n]=new Float32Array(s),r[n]},h.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},h.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var e,t,n,r,i=-90,o=90,a=-180,s=180,l=this.size,u=this._unmodified;if(this.latRange){var c=this.latRange;i=this.latY(c[1]),e=(o=this.latY(c[0]))-i<l.y?l.y/(o-i):0}if(this.lngRange){var f=this.lngRange;a=this.lngX(f[0]),t=(s=this.lngX(f[1]))-a<l.x?l.x/(s-a):0}var h=this.point,d=Math.max(t||0,e||0);if(d)return this.center=this.unproject(new ae.Point(t?(s+a)/2:h.x,e?(o+i)/2:h.y)),this.zoom+=this.scaleZoom(d),this._unmodified=u,void(this._constraining=!1);if(this.latRange){var p=h.y,y=l.y/2;p-y<i&&(r=i+y),p+y>o&&(r=o-y)}if(this.lngRange){var m=h.x,g=l.x/2;m-g<a&&(n=a+g),m+g>s&&(n=s-g)}void 0===n&&void 0===r||(this.center=this.unproject(new ae.Point(void 0!==n?n:h.x,void 0!==r?r:h.y))),this._unmodified=u,this._constraining=!1}},h.prototype._calcMatrices=function(){if(this.height){var e=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height;var t=Math.PI/2+this._pitch,n=this._fov*(.5+e.y/this.height),r=Math.sin(n)*this.cameraToCenterDistance/Math.sin(ae.clamp(Math.PI-t-n,.01,Math.PI-.01)),i=this.point,o=i.x,a=i.y,s=1.01*(Math.cos(Math.PI/2-this._pitch)*r+this.cameraToCenterDistance),l=this.height/50,u=new Float64Array(16);ae.perspective(u,this._fov,this.width/this.height,l,s),u[8]=2*-e.x/this.width,u[9]=2*e.y/this.height,ae.scale(u,u,[1,-1,1]),ae.translate(u,u,[0,0,-this.cameraToCenterDistance]),ae.rotateX(u,u,this._pitch),ae.rotateZ(u,u,this.angle),ae.translate(u,u,[-o,-a,0]),this.mercatorMatrix=ae.scale([],u,[this.worldSize,this.worldSize,this.worldSize]);var c=this.worldSize/(2*Math.PI*6378137*Math.abs(Math.cos(this.center.lat*(Math.PI/180))));"m"===this.units&&(c=this.worldSize/(this.latRange[1]-this.latRange[0])),ae.scale(u,u,[1,1,c,1]),this.projMatrix=u,this.invProjMatrix=ae.invert([],this.projMatrix);var f=this.width%2/2,h=this.height%2/2,d=Math.cos(this.angle),p=Math.sin(this.angle),y=o-Math.round(o)+d*f+p*h,m=a-Math.round(a)+d*h+p*f,g=new Float64Array(u);if(ae.translate(g,g,[y>.5?y-1:y,m>.5?m-1:m,0]),this.alignedProjMatrix=g,u=ae.create(),ae.scale(u,u,[this.width/2,-this.height/2,1]),ae.translate(u,u,[1,-1,0]),this.labelPlaneMatrix=u,u=ae.create(),ae.scale(u,u,[1,-1,1]),ae.translate(u,u,[-1,-1,0]),ae.scale(u,u,[2/this.width,2/this.height,1]),this.glCoordMatrix=u,this.pixelMatrix=ae.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(u=ae.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=u,this._posMatrixCache={},this._alignedPosMatrixCache={}}},h.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var e=this.pointCoordinate(new ae.Point(0,0)),t=[e.x*this.worldSize,e.y*this.worldSize,0,1];return ae.transformMat4(t,t,this.pixelMatrix)[3]/this.cameraToCenterDistance},h.prototype.getCameraPoint=function(){var e=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new ae.Point(0,e))},h.prototype.getCameraQueryGeometry=function(e){var t=this.getCameraPoint();if(1===e.length)return[e[0],t];for(var n=t.x,r=t.y,i=t.x,o=t.y,a=0,s=e;a<s.length;a+=1){var l=s[a];n=Math.min(n,l.x),r=Math.min(r,l.y),i=Math.max(i,l.x),o=Math.max(o,l.y)}return[new ae.Point(n,r),new ae.Point(i,r),new ae.Point(i,o),new ae.Point(n,o),new ae.Point(n,r)]},Object.defineProperties(h.prototype,u);var Hr=function(e){var t,n,r,i;this._hashName=e&&encodeURIComponent(e),ae.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=(t=this._updateHashUnthrottled.bind(this),n=!1,r=null,i=function(){r=null,n&&(t(),r=setTimeout(i,300),n=!1)},function(){return n=!0,r||i(),r})};Hr.prototype.addTo=function(e){return this._map=e,ae.window.addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this},Hr.prototype.remove=function(){return ae.window.removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this},Hr.prototype.getHashString=function(e){var t=this._map.getCenter(),n=Math.round(100*this._map.getZoom())/100,r=Math.ceil((n*Math.LN2+Math.log(512/360/.5))/Math.LN10),i=Math.pow(10,r),o=Math.round(t.lng*i)/i,a=Math.round(t.lat*i)/i,s=this._map.getBearing(),l=this._map.getPitch(),u="";if(u+=e?"/"+o+"/"+a+"/"+n:n+"/"+a+"/"+o,(s||l)&&(u+="/"+Math.round(10*s)/10),l&&(u+="/"+Math.round(l)),this._hashName){var c=this._hashName,f=!1,h=ae.window.location.hash.slice(1).split("&").map(function(e){var t=e.split("=")[0];return t===c?(f=!0,t+"="+u):e}).filter(function(e){return e});return f||h.push(c+"="+u),"#"+h.join("&")}return"#"+u},Hr.prototype._getCurrentHash=function(){var t,n=this,e=ae.window.location.hash.replace("#","");return this._hashName?(e.split("&").map(function(e){return e.split("=")}).forEach(function(e){e[0]===n._hashName&&(t=e)}),(t&&t[1]||"").split("/")):e.split("/")},Hr.prototype._onHashChange=function(){var e=this._getCurrentHash();if(e.length>=3&&!e.some(function(e){return isNaN(e)})){var t=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(e[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+e[2],+e[1]],zoom:+e[0],bearing:t,pitch:+(e[4]||0)}),!0}return!1},Hr.prototype._updateHashUnthrottled=function(){var e=this.getHashString();try{ae.window.history.replaceState(ae.window.history.state,"",e)}catch(e){}};var Yr={linearity:.3,easing:ae.bezier(0,0,.3,1)},Gr=ae.extend({deceleration:2500,maxSpeed:1400},Yr),Ur=ae.extend({deceleration:20,maxSpeed:1400},Yr),Qr=ae.extend({deceleration:1e3,maxSpeed:360},Yr),Wr=ae.extend({deceleration:1e3,maxSpeed:90},Yr),qr=function(e){this._map=e,this.clear()};function Kr(e,t){(!e.duration||e.duration<t.duration)&&(e.duration=t.duration,e.easing=t.easing)}function Xr(e,t,n){var r=n.maxSpeed,i=n.linearity,o=n.deceleration,a=ae.clamp(e*i/(t/1e3),-r,r),s=Math.abs(a)/(o*i);return{easing:n.easing,duration:1e3*s,amount:a*(s/2)}}qr.prototype.clear=function(){this._inertiaBuffer=[]},qr.prototype.record=function(e){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:ae.browser.now(),settings:e})},qr.prototype._drainInertiaBuffer=function(){for(var e=this._inertiaBuffer,t=ae.browser.now();e.length>0&&t-e[0].time>160;)e.shift()},qr.prototype._onMoveEnd=function(e){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var t={zoom:0,bearing:0,pitch:0,pan:new ae.Point(0,0),pinchAround:void 0,around:void 0},n=0,r=this._inertiaBuffer;n<r.length;n+=1){var i=r[n].settings;t.zoom+=i.zoomDelta||0,t.bearing+=i.bearingDelta||0,t.pitch+=i.pitchDelta||0,i.panDelta&&t.pan._add(i.panDelta),i.around&&(t.around=i.around),i.pinchAround&&(t.pinchAround=i.pinchAround)}var o=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,a={};if(t.pan.mag()){var s=Xr(t.pan.mag(),o,ae.extend({},Gr,e||{}));a.offset=t.pan.mult(s.amount/t.pan.mag()),a.center=this._map.transform.center,Kr(a,s)}if(t.zoom){var l=Xr(t.zoom,o,Ur);a.zoom=this._map.transform.zoom+l.amount,Kr(a,l)}if(t.bearing){var u=Xr(t.bearing,o,Qr);a.bearing=this._map.transform.bearing+ae.clamp(u.amount,-179,179),Kr(a,u)}if(t.pitch){var c=Xr(t.pitch,o,Wr);a.pitch=this._map.transform.pitch+c.amount,Kr(a,c)}if(a.zoom||a.bearing){var f=void 0===t.pinchAround?t.around:t.pinchAround;a.around=f?this._map.unproject(f):this._map.getCenter()}return this.clear(),ae.extend(a,{noMoveStart:!0})}};var d=function(a){function e(e,t,n,r){void 0===r&&(r={});var i=_.mousePos(t.getCanvasContainer(),n),o=t.unproject(i);a.call(this,e,ae.extend({point:i,lngLat:o,originalEvent:n},r)),this._defaultPrevented=!1,this.target=t}a&&(e.__proto__=a),(e.prototype=Object.create(a&&a.prototype)).constructor=e;var t={defaultPrevented:{configurable:!0}};return e.prototype.preventDefault=function(){this._defaultPrevented=!0},t.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(e.prototype,t),e}(ae.Event),Jr=function(l){function e(e,t,n){var r="touchend"===e?n.changedTouches:n.touches,i=_.touchPos(t.getCanvasContainer(),r),o=i.map(function(e){return t.unproject(e)}),a=i.reduce(function(e,t,n,r){return e.add(t.div(r.length))},new ae.Point(0,0)),s=t.unproject(a);l.call(this,e,{points:i,point:a,lngLats:o,lngLat:s,originalEvent:n}),this._defaultPrevented=!1}l&&(e.__proto__=l),(e.prototype=Object.create(l&&l.prototype)).constructor=e;var t={defaultPrevented:{configurable:!0}};return e.prototype.preventDefault=function(){this._defaultPrevented=!0},t.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(e.prototype,t),e}(ae.Event),$r=function(r){function e(e,t,n){r.call(this,e,{originalEvent:n}),this._defaultPrevented=!1}r&&(e.__proto__=r),(e.prototype=Object.create(r&&r.prototype)).constructor=e;var t={defaultPrevented:{configurable:!0}};return e.prototype.preventDefault=function(){this._defaultPrevented=!0},t.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(e.prototype,t),e}(ae.Event),b=function(e,t){this._map=e,this._clickTolerance=t.clickTolerance};b.prototype.reset=function(){delete this._mousedownPos},b.prototype.wheel=function(e){return this._firePreventable(new $r(e.type,this._map,e))},b.prototype.mousedown=function(e,t){return this._mousedownPos=t,this._firePreventable(new d(e.type,this._map,e))},b.prototype.mouseup=function(e){this._map.fire(new d(e.type,this._map,e))},b.prototype.click=function(e,t){this._mousedownPos&&this._mousedownPos.dist(t)>=this._clickTolerance||this._map.fire(new d(e.type,this._map,e))},b.prototype.dblclick=function(e){return this._firePreventable(new d(e.type,this._map,e))},b.prototype.mouseover=function(e){this._map.fire(new d(e.type,this._map,e))},b.prototype.mouseout=function(e){this._map.fire(new d(e.type,this._map,e))},b.prototype.touchstart=function(e){return this._firePreventable(new Jr(e.type,this._map,e))},b.prototype.touchmove=function(e){this._map.fire(new Jr(e.type,this._map,e))},b.prototype.touchend=function(e){this._map.fire(new Jr(e.type,this._map,e))},b.prototype.touchcancel=function(e){this._map.fire(new Jr(e.type,this._map,e))},b.prototype._firePreventable=function(e){if(this._map.fire(e),e.defaultPrevented)return{}},b.prototype.isEnabled=function(){return!0},b.prototype.isActive=function(){return!1},b.prototype.enable=function(){},b.prototype.disable=function(){};var x=function(e){this._map=e};x.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},x.prototype.mousemove=function(e){this._map.fire(new d(e.type,this._map,e))},x.prototype.mousedown=function(){this._delayContextMenu=!0},x.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new d("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},x.prototype.contextmenu=function(e){this._delayContextMenu?this._contextMenuEvent=e:this._map.fire(new d(e.type,this._map,e)),this._map.listens("contextmenu")&&e.preventDefault()},x.prototype.isEnabled=function(){return!0},x.prototype.isActive=function(){return!1},x.prototype.enable=function(){},x.prototype.disable=function(){};var w=function(e,t){this._map=e,this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=t.clickTolerance||1};function Zr(e,t){for(var n={},r=0;r<e.length;r++)n[e[r].identifier]=t[r];return n}w.prototype.isEnabled=function(){return!!this._enabled},w.prototype.isActive=function(){return!!this._active},w.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},w.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},w.prototype.mousedown=function(e,t){this.isEnabled()&&e.shiftKey&&0===e.button&&(_.disableDrag(),this._startPos=this._lastPos=t,this._active=!0)},w.prototype.mousemoveWindow=function(e,t){if(this._active){var n=t;if(!(this._lastPos.equals(n)||!this._box&&n.dist(this._startPos)<this._clickTolerance)){var r=this._startPos;this._lastPos=n,this._box||(this._box=_.create("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",e));var i=Math.min(r.x,n.x),o=Math.max(r.x,n.x),a=Math.min(r.y,n.y),s=Math.max(r.y,n.y);_.setTransform(this._box,"translate("+i+"px,"+a+"px)"),this._box.style.width=o-i+"px",this._box.style.height=s-a+"px"}}},w.prototype.mouseupWindow=function(e,t){var n=this;if(this._active&&0===e.button){var r=this._startPos,i=t;if(this.reset(),_.suppressClick(),r.x!==i.x||r.y!==i.y)return this._map.fire(new ae.Event("boxzoomend",{originalEvent:e})),{cameraAnimation:function(e){return e.fitScreenCoordinates(r,i,n._map.getBearing(),{linear:!0})}};this._fireEvent("boxzoomcancel",e)}},w.prototype.keydown=function(e){this._active&&27===e.keyCode&&(this.reset(),this._fireEvent("boxzoomcancel",e))},w.prototype.reset=function(){this._active=!1,this._container.classList.remove("mapboxgl-crosshair"),this._box&&(_.remove(this._box),this._box=null),_.enableDrag(),delete this._startPos,delete this._lastPos},w.prototype._fireEvent=function(e,t){return this._map.fire(new ae.Event(e,{originalEvent:t}))};var ei=function(e){this.reset(),this.numTouches=e.numTouches};ei.prototype.reset=function(){delete this.centroid,delete this.startTime,delete this.touches,this.aborted=!1},ei.prototype.touchstart=function(e,t,n){(this.centroid||n.length>this.numTouches)&&(this.aborted=!0),this.aborted||(void 0===this.startTime&&(this.startTime=e.timeStamp),n.length===this.numTouches&&(this.centroid=function(e){for(var t=new ae.Point(0,0),n=0,r=e;n<r.length;n+=1)t._add(r[n]);return t.div(e.length)}(t),this.touches=Zr(n,t)))},ei.prototype.touchmove=function(e,t,n){if(!this.aborted&&this.centroid){var r=Zr(n,t);for(var i in this.touches){var o=r[i];(!o||o.dist(this.touches[i])>30)&&(this.aborted=!0)}}},ei.prototype.touchend=function(e,t,n){if((!this.centroid||e.timeStamp-this.startTime>500)&&(this.aborted=!0),0===n.length){var r=!this.aborted&&this.centroid;if(this.reset(),r)return r}};var ti=function(e){this.singleTap=new ei(e),this.numTaps=e.numTaps,this.reset()};ti.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},ti.prototype.touchstart=function(e,t,n){this.singleTap.touchstart(e,t,n)},ti.prototype.touchmove=function(e,t,n){this.singleTap.touchmove(e,t,n)},ti.prototype.touchend=function(e,t,n){var r=this.singleTap.touchend(e,t,n);if(r){var i=e.timeStamp-this.lastTime<500,o=!this.lastTap||this.lastTap.dist(r)<30;if(i&&o||this.reset(),this.count++,this.lastTime=e.timeStamp,this.lastTap=r,this.count===this.numTaps)return this.reset(),r}};var A=function(){this._zoomIn=new ti({numTouches:1,numTaps:2}),this._zoomOut=new ti({numTouches:2,numTaps:1}),this.reset()};A.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},A.prototype.touchstart=function(e,t,n){this._zoomIn.touchstart(e,t,n),this._zoomOut.touchstart(e,t,n)},A.prototype.touchmove=function(e,t,n){this._zoomIn.touchmove(e,t,n),this._zoomOut.touchmove(e,t,n)},A.prototype.touchend=function(t,e,n){var r=this,i=this._zoomIn.touchend(t,e,n),o=this._zoomOut.touchend(t,e,n);return i?(this._active=!0,t.preventDefault(),setTimeout(function(){return r.reset()},0),{cameraAnimation:function(e){return e.easeTo({duration:300,zoom:e.getZoom()+1,around:e.unproject(i)},{originalEvent:t})}}):o?(this._active=!0,t.preventDefault(),setTimeout(function(){return r.reset()},0),{cameraAnimation:function(e){return e.easeTo({duration:300,zoom:e.getZoom()-1,around:e.unproject(o)},{originalEvent:t})}}):void 0},A.prototype.touchcancel=function(){this.reset()},A.prototype.enable=function(){this._enabled=!0},A.prototype.disable=function(){this._enabled=!1,this.reset()},A.prototype.isEnabled=function(){return this._enabled},A.prototype.isActive=function(){return this._active};var ni={0:1,2:2},p=function(e){this.reset(),this._clickTolerance=e.clickTolerance||1};p.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},p.prototype._correctButton=function(e,t){return!1},p.prototype._move=function(e,t){return{}},p.prototype.mousedown=function(e,t){if(!this._lastPoint){var n=_.mouseButton(e);this._correctButton(e,n)&&(this._lastPoint=t,this._eventButton=n)}},p.prototype.mousemoveWindow=function(e,t){var n=this._lastPoint;if(n)if(e.preventDefault(),function(e,t){var n=ni[t];return void 0===e.buttons||(e.buttons&n)!==n}(e,this._eventButton))this.reset();else if(this._moved||!(t.dist(n)<this._clickTolerance))return this._moved=!0,this._lastPoint=t,this._move(n,t)},p.prototype.mouseupWindow=function(e){this._lastPoint&&_.mouseButton(e)===this._eventButton&&(this._moved&&_.suppressClick(),this.reset())},p.prototype.enable=function(){this._enabled=!0},p.prototype.disable=function(){this._enabled=!1,this.reset()},p.prototype.isEnabled=function(){return this._enabled},p.prototype.isActive=function(){return this._active};var ri=function(n){function e(){n.apply(this,arguments)}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype.mousedown=function(e,t){n.prototype.mousedown.call(this,e,t),this._lastPoint&&(this._active=!0)},e.prototype._correctButton=function(e,t){return 0===t&&!e.ctrlKey},e.prototype._move=function(e,t){return{around:t,panDelta:t.sub(e)}},e}(p),ii=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._correctButton=function(e,t){return 0===t&&e.ctrlKey||2===t},t.prototype._move=function(e,t){var n=.8*(t.x-e.x);if(n)return this._active=!0,{bearingDelta:n}},t.prototype.contextmenu=function(e){e.preventDefault()},t}(p),oi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype._correctButton=function(e,t){return 0===t&&e.ctrlKey||2===t},t.prototype._move=function(e,t){var n=-.5*(t.y-e.y);if(n)return this._active=!0,{pitchDelta:n}},t.prototype.contextmenu=function(e){e.preventDefault()},t}(p),S=function(e){this._minTouches=1,this._clickTolerance=e.clickTolerance||1,this.reset()};S.prototype.reset=function(){this._active=!1,this._touches={},this._sum=new ae.Point(0,0)},S.prototype.touchstart=function(e,t,n){return this._calculateTransform(e,t,n)},S.prototype.touchmove=function(e,t,n){if(this._active&&!(n.length<this._minTouches))return e.preventDefault(),this._calculateTransform(e,t,n)},S.prototype.touchend=function(e,t,n){this._calculateTransform(e,t,n),this._active&&n.length<this._minTouches&&this.reset()},S.prototype.touchcancel=function(){this.reset()},S.prototype._calculateTransform=function(e,t,n){n.length>0&&(this._active=!0);var r=Zr(n,t),i=new ae.Point(0,0),o=new ae.Point(0,0),a=0;for(var s in r){var l=r[s],u=this._touches[s];u&&(i._add(l),o._add(l.sub(u)),a++,r[s]=l)}if(this._touches=r,!(a<this._minTouches)&&o.mag()){var c=o.div(a);if(this._sum._add(c),!(this._sum.mag()<this._clickTolerance))return{around:i.div(a),panDelta:c}}},S.prototype.enable=function(){this._enabled=!0},S.prototype.disable=function(){this._enabled=!1,this.reset()},S.prototype.isEnabled=function(){return this._enabled},S.prototype.isActive=function(){return this._active};var g=function(){this.reset()};function ai(e,t,n){for(var r=0;r<e.length;r++)if(e[r].identifier===n)return t[r]}function si(e,t){return Math.log(e/t)/Math.LN2}g.prototype.reset=function(){this._active=!1,delete this._firstTwoTouches},g.prototype._start=function(e){},g.prototype._move=function(e,t,n){return{}},g.prototype.touchstart=function(e,t,n){this._firstTwoTouches||n.length<2||(this._firstTwoTouches=[n[0].identifier,n[1].identifier],this._start([t[0],t[1]]))},g.prototype.touchmove=function(e,t,n){if(this._firstTwoTouches){e.preventDefault();var r=this._firstTwoTouches,i=r[1],o=ai(n,t,r[0]),a=ai(n,t,i);if(o&&a){var s=this._aroundCenter?null:o.add(a).div(2);return this._move([o,a],s,e)}}},g.prototype.touchend=function(e,t,n){if(this._firstTwoTouches){var r=this._firstTwoTouches,i=r[1],o=ai(n,t,r[0]),a=ai(n,t,i);o&&a||(this._active&&_.suppressClick(),this.reset())}},g.prototype.touchcancel=function(){this.reset()},g.prototype.enable=function(e){this._enabled=!0,this._aroundCenter=!!e&&"center"===e.around},g.prototype.disable=function(){this._enabled=!1,this.reset()},g.prototype.isEnabled=function(){return this._enabled},g.prototype.isActive=function(){return this._active};var li=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.reset=function(){e.prototype.reset.call(this),delete this._distance,delete this._startDistance},t.prototype._start=function(e){this._startDistance=this._distance=e[0].dist(e[1])},t.prototype._move=function(e,t){var n=this._distance;if(this._distance=e[0].dist(e[1]),this._active||!(Math.abs(si(this._distance,this._startDistance))<.1))return this._active=!0,{zoomDelta:si(this._distance,n),pinchAround:t}},t}(g);function ui(e,t){return 180*e.angleWith(t)/Math.PI}var ci=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.reset=function(){e.prototype.reset.call(this),delete this._minDiameter,delete this._startVector,delete this._vector},t.prototype._start=function(e){this._startVector=this._vector=e[0].sub(e[1]),this._minDiameter=e[0].dist(e[1])},t.prototype._move=function(e,t){var n=this._vector;if(this._vector=e[0].sub(e[1]),this._active||!this._isBelowThreshold(this._vector))return this._active=!0,{bearingDelta:ui(this._vector,n),pinchAround:t}},t.prototype._isBelowThreshold=function(e){this._minDiameter=Math.min(this._minDiameter,e.mag());var t=25/(Math.PI*this._minDiameter)*360,n=ui(e,this._startVector);return Math.abs(n)<t},t}(g);function fi(e){return Math.abs(e.y)>Math.abs(e.x)}var hi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.reset=function(){e.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},t.prototype._start=function(e){this._lastPoints=e,fi(e[0].sub(e[1]))&&(this._valid=!1)},t.prototype._move=function(e,t,n){var r=e[0].sub(this._lastPoints[0]),i=e[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(r,i,n.timeStamp),this._valid)return this._lastPoints=e,this._active=!0,{pitchDelta:(r.y+i.y)/2*-.5}},t.prototype.gestureBeginsVertically=function(e,t,n){if(void 0!==this._valid)return this._valid;var r=e.mag()>=2,i=t.mag()>=2;if(r||i){if(!r||!i)return void 0===this._firstMove&&(this._firstMove=n),n-this._firstMove<100&&void 0;var o=e.y>0==t.y>0;return fi(e)&&fi(t)&&o}},t}(g),di={panStep:100,bearingStep:15,pitchStep:10},pi=function(){var e=di;this._panStep=e.panStep,this._bearingStep=e.bearingStep,this._pitchStep=e.pitchStep};function yi(e){return e*(2-e)}pi.prototype.reset=function(){this._active=!1},pi.prototype.keydown=function(n){var r=this;if(!(n.altKey||n.ctrlKey||n.metaKey)){var i=0,o=0,a=0,s=0,l=0;switch(n.keyCode){case 61:case 107:case 171:case 187:i=1;break;case 189:case 109:case 173:i=-1;break;case 37:n.shiftKey?o=-1:(n.preventDefault(),s=-1);break;case 39:n.shiftKey?o=1:(n.preventDefault(),s=1);break;case 38:n.shiftKey?a=1:(n.preventDefault(),l=-1);break;case 40:n.shiftKey?a=-1:(n.preventDefault(),l=1);break;default:return}return{cameraAnimation:function(e){var t=e.getZoom();e.easeTo({duration:300,easeId:"keyboardHandler",easing:yi,zoom:i?Math.round(t)+i*(n.shiftKey?2:1):t,bearing:e.getBearing()+o*r._bearingStep,pitch:e.getPitch()+a*r._pitchStep,offset:[-s*r._panStep,-l*r._panStep],center:e.getCenter()},{originalEvent:n})}}}},pi.prototype.enable=function(){this._enabled=!0},pi.prototype.disable=function(){this._enabled=!1,this.reset()},pi.prototype.isEnabled=function(){return this._enabled},pi.prototype.isActive=function(){return this._active};var C=function(e,t){this._map=e,this._el=e.getCanvasContainer(),this._handler=t,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=1/450,ae.bindAll(["_onTimeout"],this)};C.prototype.setZoomRate=function(e){this._defaultZoomRate=e},C.prototype.setWheelZoomRate=function(e){this._wheelZoomRate=e},C.prototype.isEnabled=function(){return!!this._enabled},C.prototype.isActive=function(){return!!this._active||void 0!==this._finishTimeout},C.prototype.isZooming=function(){return!!this._zooming},C.prototype.enable=function(e){this.isEnabled()||(this._enabled=!0,this._aroundCenter=e&&"center"===e.around)},C.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},C.prototype.wheel=function(e){if(this.isEnabled()){var t=e.deltaMode===ae.window.WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY,n=ae.browser.now(),r=n-(this._lastWheelEventTime||0);this._lastWheelEventTime=n,0!==t&&t%4.000244140625==0?this._type="wheel":0!==t&&Math.abs(t)<4?this._type="trackpad":r>400?(this._type=null,this._lastValue=t,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(r*t)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,t+=this._lastValue)),e.shiftKey&&t&&(t/=4),this._type&&(this._lastWheelEvent=e,this._delta-=t,this._active||this._start(e)),e.preventDefault()}},C.prototype._onTimeout=function(e){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(e)},C.prototype._start=function(e){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var t=_.mousePos(this._el,e);this._around=ae.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(t)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},C.prototype.renderFrame=function(){var e=this;if(this._frameId&&(this._frameId=null,this.isActive())){var t=this._map.transform;if(0!==this._delta){var n="wheel"===this._type&&Math.abs(this._delta)>4.000244140625?this._wheelZoomRate:this._defaultZoomRate,r=2/(1+Math.exp(-Math.abs(this._delta*n)));this._delta<0&&0!==r&&(r=1/r);var i="number"==typeof this._targetZoom?t.zoomScale(this._targetZoom):t.scale;this._targetZoom=Math.min(t.maxZoom,Math.max(t.minZoom,t.scaleZoom(i*r))),"wheel"===this._type&&(this._startZoom=t.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var o,a="number"==typeof this._targetZoom?this._targetZoom:t.zoom,s=this._startZoom,l=this._easing,u=!1;if("wheel"===this._type&&s&&l){var c=Math.min((ae.browser.now()-this._lastWheelEventTime)/200,1),f=l(c);o=ae.number(s,a,f),c<1?this._frameId||(this._frameId=!0):u=!0}else o=a,u=!0;return this._active=!0,u&&(this._active=!1,this._finishTimeout=setTimeout(function(){e._zooming=!1,e._handler._triggerRenderFrame(),delete e._targetZoom,delete e._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!u,zoomDelta:o-t.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},C.prototype._smoothOutEasing=function(e){var t=ae.ease;if(this._prevEase){var n=this._prevEase,r=(ae.browser.now()-n.start)/n.duration,i=n.easing(r+.01)-n.easing(r),o=.27/Math.sqrt(i*i+1e-4)*.01,a=Math.sqrt(.0729-o*o);t=ae.bezier(o,a,.25,1)}return this._prevEase={start:ae.browser.now(),duration:e,easing:t},t},C.prototype.reset=function(){this._active=!1};var mi=function(e,t){this._clickZoom=e,this._tapZoom=t};mi.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},mi.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},mi.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},mi.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var gi=function(){this.reset()};gi.prototype.reset=function(){this._active=!1},gi.prototype.dblclick=function(t,n){return t.preventDefault(),{cameraAnimation:function(e){e.easeTo({duration:300,zoom:e.getZoom()+(t.shiftKey?-1:1),around:e.unproject(n)},{originalEvent:t})}}},gi.prototype.enable=function(){this._enabled=!0},gi.prototype.disable=function(){this._enabled=!1,this.reset()},gi.prototype.isEnabled=function(){return this._enabled},gi.prototype.isActive=function(){return this._active};var O=function(){this._tap=new ti({numTouches:1,numTaps:1}),this.reset()};O.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},O.prototype.touchstart=function(e,t,n){this._swipePoint||(this._tapTime&&e.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?n.length>0&&(this._swipePoint=t[0],this._swipeTouch=n[0].identifier):this._tap.touchstart(e,t,n))},O.prototype.touchmove=function(e,t,n){if(this._tapTime){if(this._swipePoint){if(n[0].identifier!==this._swipeTouch)return;var r=t[0],i=r.y-this._swipePoint.y;return this._swipePoint=r,e.preventDefault(),this._active=!0,{zoomDelta:i/128}}}else this._tap.touchmove(e,t,n)},O.prototype.touchend=function(e,t,n){this._tapTime?this._swipePoint&&0===n.length&&this.reset():this._tap.touchend(e,t,n)&&(this._tapTime=e.timeStamp)},O.prototype.touchcancel=function(){this.reset()},O.prototype.enable=function(){this._enabled=!0},O.prototype.disable=function(){this._enabled=!1,this.reset()},O.prototype.isEnabled=function(){return this._enabled},O.prototype.isActive=function(){return this._active};var vi=function(e,t,n){this._el=e,this._mousePan=t,this._touchPan=n};vi.prototype.enable=function(e){this._inertiaOptions=e||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},vi.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},vi.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},vi.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var bi=function(e,t,n){this._pitchWithRotate=e.pitchWithRotate,this._mouseRotate=t,this._mousePitch=n};bi.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},bi.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},bi.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},bi.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var _i=function(e,t,n,r){this._el=e,this._touchZoom=t,this._touchRotate=n,this._tapDragZoom=r,this._rotationDisabled=!1,this._enabled=!0};_i.prototype.enable=function(e){this._touchZoom.enable(e),this._rotationDisabled||this._touchRotate.enable(e),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},_i.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},_i.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},_i.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},_i.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},_i.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var xi=function(e){return e.zoom||e.drag||e.pitch||e.rotate},wi=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t}(ae.Event);function Ai(e){return e.panDelta&&e.panDelta.mag()||e.zoomDelta||e.bearingDelta||e.pitchDelta}var v=function(e,t){this._map=e,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new qr(e),this._bearingSnap=t.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(t),ae.bindAll(["handleEvent","handleWindowEvent"],this);var n=this._el;this._listeners=[[n,"touchstart",{passive:!0}],[n,"touchmove",{passive:!1}],[n,"touchend",void 0],[n,"touchcancel",void 0],[n,"mousedown",void 0],[n,"mousemove",void 0],[n,"mouseup",void 0],[ae.window.document,"mousemove",{capture:!0}],[ae.window.document,"mouseup",void 0],[n,"mouseover",void 0],[n,"mouseout",void 0],[n,"dblclick",void 0],[n,"click",void 0],[n,"keydown",{capture:!1}],[n,"keyup",void 0],[n,"wheel",{passive:!1}],[n,"contextmenu",void 0],[ae.window,"blur",void 0]];for(var r=0,i=this._listeners;r<i.length;r+=1){var o=i[r],a=o[0];_.addEventListener(a,o[1],a===ae.window.document?this.handleWindowEvent:this.handleEvent,o[2])}};v.prototype.destroy=function(){for(var e=0,t=this._listeners;e<t.length;e+=1){var n=t[e],r=n[0];_.removeEventListener(r,n[1],r===ae.window.document?this.handleWindowEvent:this.handleEvent,n[2])}},v.prototype._addDefaultHandlers=function(e){var t=this._map,n=t.getCanvasContainer();this._add("mapEvent",new b(t,e));var r=t.boxZoom=new w(t,e);this._add("boxZoom",r);var i=new A,o=new gi;t.doubleClickZoom=new mi(o,i),this._add("tapZoom",i),this._add("clickZoom",o);var a=new O;this._add("tapDragZoom",a);var s=t.touchPitch=new hi;this._add("touchPitch",s);var l=new ii(e),u=new oi(e);t.dragRotate=new bi(e,l,u),this._add("mouseRotate",l,["mousePitch"]),this._add("mousePitch",u,["mouseRotate"]);var c=new ri(e),f=new S(e);t.dragPan=new vi(n,c,f),this._add("mousePan",c),this._add("touchPan",f,["touchZoom","touchRotate"]);var h=new ci,d=new li;t.touchZoomRotate=new _i(n,d,h,a),this._add("touchRotate",h,["touchPan","touchZoom"]),this._add("touchZoom",d,["touchPan","touchRotate"]);var p=t.scrollZoom=new C(t,this);this._add("scrollZoom",p,["mousePan"]);var y=t.keyboard=new pi;this._add("keyboard",y),this._add("blockableMapEvent",new x(t));for(var m=0,g=["boxZoom","doubleClickZoom","tapDragZoom","touchPitch","dragRotate","dragPan","touchZoomRotate","scrollZoom","keyboard"];m<g.length;m+=1){var v=g[m];e.interactive&&e[v]&&t[v].enable(e[v])}},v.prototype._add=function(e,t,n){this._handlers.push({handlerName:e,handler:t,allowed:n}),this._handlersById[e]=t},v.prototype.stop=function(e){if(!this._updatingCamera){for(var t=0,n=this._handlers;t<n.length;t+=1)n[t].handler.reset();this._inertia.clear(),this._fireEvents({},{},e),this._changes=[]}},v.prototype.isActive=function(){for(var e=0,t=this._handlers;e<t.length;e+=1)if(t[e].handler.isActive())return!0;return!1},v.prototype.isZooming=function(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()},v.prototype.isRotating=function(){return!!this._eventsInProgress.rotate},v.prototype.isMoving=function(){return Boolean(xi(this._eventsInProgress))||this.isZooming()},v.prototype._blockedByActive=function(e,t,n){for(var r in e)if(r!==n&&(!t||t.indexOf(r)<0))return!0;return!1},v.prototype.handleWindowEvent=function(e){this.handleEvent(e,e.type+"Window")},v.prototype._getMapTouches=function(e){for(var t=[],n=0,r=e;n<r.length;n+=1){var i=r[n];this._el.contains(i.target)&&t.push(i)}return t},v.prototype.handleEvent=function(e,t){if("blur"!==e.type){this._updatingCamera=!0;for(var n="renderFrame"===e.type?void 0:e,r={needsRenderFrame:!1},i={},o={},a=e.touches?this._getMapTouches(e.touches):void 0,s=a?_.touchPos(this._el,a):_.mousePos(this._el,e),l=0,u=this._handlers;l<u.length;l+=1){var c=u[l],f=c.handlerName,h=c.handler,d=c.allowed;if(h.isEnabled()){var p=void 0;this._blockedByActive(o,d,f)?h.reset():h[t||e.type]&&(p=h[t||e.type](e,s,a),this.mergeHandlerResult(r,i,p,f,n),p&&p.needsRenderFrame&&this._triggerRenderFrame()),(p||h.isActive())&&(o[f]=h)}}var y={};for(var m in this._previousActiveHandlers)o[m]||(y[m]=n);this._previousActiveHandlers=o,(Object.keys(y).length||Ai(r))&&(this._changes.push([r,i,y]),this._triggerRenderFrame()),(Object.keys(o).length||Ai(r))&&this._map._stop(!0),this._updatingCamera=!1;var g=r.cameraAnimation;g&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],g(this._map))}else this.stop(!0)},v.prototype.mergeHandlerResult=function(e,t,n,r,i){if(n){ae.extend(e,n);var o={handlerName:r,originalEvent:n.originalEvent||i};void 0!==n.zoomDelta&&(t.zoom=o),void 0!==n.panDelta&&(t.drag=o),void 0!==n.pitchDelta&&(t.pitch=o),void 0!==n.bearingDelta&&(t.rotate=o)}},v.prototype._applyChanges=function(){for(var e={},t={},n={},r=0,i=this._changes;r<i.length;r+=1){var o=i[r],a=o[0],s=o[1],l=o[2];a.panDelta&&(e.panDelta=(e.panDelta||new ae.Point(0,0))._add(a.panDelta)),a.zoomDelta&&(e.zoomDelta=(e.zoomDelta||0)+a.zoomDelta),a.bearingDelta&&(e.bearingDelta=(e.bearingDelta||0)+a.bearingDelta),a.pitchDelta&&(e.pitchDelta=(e.pitchDelta||0)+a.pitchDelta),void 0!==a.around&&(e.around=a.around),void 0!==a.pinchAround&&(e.pinchAround=a.pinchAround),a.noInertia&&(e.noInertia=a.noInertia),ae.extend(t,s),ae.extend(n,l)}this._updateMapTransform(e,t,n),this._changes=[]},v.prototype._updateMapTransform=function(e,t,n){var r=this._map,i=r.transform;if(!Ai(e))return this._fireEvents(t,n,!0);var o=e.panDelta,a=e.zoomDelta,s=e.bearingDelta,l=e.pitchDelta,u=e.around,c=e.pinchAround;void 0!==c&&(u=c),r._stop(!0),u=u||r.transform.centerPoint;var f=i.pointLocation(o?u.sub(o):u);s&&(i.bearing+=s),l&&(i.pitch+=l),a&&(i.zoom+=a),i.setLocationAtPoint(f,u),this._map._update(),e.noInertia||this._inertia.record(e),this._fireEvents(t,n,!0)},v.prototype._fireEvents=function(e,t,n){var r=this,i=xi(this._eventsInProgress),o=xi(e),a={};for(var s in e)this._eventsInProgress[s]||(a[s+"start"]=e[s].originalEvent),this._eventsInProgress[s]=e[s];for(var l in!i&&o&&this._fireEvent("movestart",o.originalEvent),a)this._fireEvent(l,a[l]);for(var u in o&&this._fireEvent("move",o.originalEvent),e)this._fireEvent(u,e[u].originalEvent);var c,f={};for(var h in this._eventsInProgress){var d=this._eventsInProgress[h],p=d.handlerName,y=d.originalEvent;this._handlersById[p].isActive()||(delete this._eventsInProgress[h],f[h+"end"]=c=t[p]||y)}for(var m in f)this._fireEvent(m,f[m]);var g=xi(this._eventsInProgress);if(n&&(i||o)&&!g){this._updatingCamera=!0;var v=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),b=function(e){return 0!==e&&-r._bearingSnap<e&&e<r._bearingSnap};v?(b(v.bearing||this._map.getBearing())&&(v.bearing=0),this._map.easeTo(v,{originalEvent:c})):(this._map.fire(new ae.Event("moveend",{originalEvent:c})),b(this._map.getBearing())&&this._map.resetNorth()),this._updatingCamera=!1}},v.prototype._fireEvent=function(e,t){this._map.fire(new ae.Event(e,t?{originalEvent:t}:{}))},v.prototype._requestFrame=function(){var t=this;return this._map.triggerRepaint(),this._map._renderTaskQueue.add(function(e){delete t._frameId,t.handleEvent(new wi("renderFrame",{timeStamp:e})),t._applyChanges()})},v.prototype._triggerRenderFrame=function(){void 0===this._frameId&&(this._frameId=this._requestFrame())};var Si=function(n){function e(e,t){n.call(this),this._moving=!1,this._zooming=!1,this.transform=e,this._bearingSnap=t.bearingSnap,ae.bindAll(["_renderFrameCallback"],this)}return n&&(e.__proto__=n),(e.prototype=Object.create(n&&n.prototype)).constructor=e,e.prototype.getCenter=function(){return new ae.LngLat(this.transform.center.lng,this.transform.center.lat)},e.prototype.setCenter=function(e,t){return this.jumpTo({center:e},t)},e.prototype.panBy=function(e,t,n){return e=ae.Point.convert(e).mult(-1),this.panTo(this.transform.center,ae.extend({offset:e},t),n)},e.prototype.panTo=function(e,t,n){return this.easeTo(ae.extend({center:e},t),n)},e.prototype.getZoom=function(){return this.transform.zoom},e.prototype.setZoom=function(e,t){return this.jumpTo({zoom:e},t),this},e.prototype.zoomTo=function(e,t,n){return this.easeTo(ae.extend({zoom:e},t),n)},e.prototype.zoomIn=function(e,t){return this.zoomTo(this.getZoom()+1,e,t),this},e.prototype.zoomOut=function(e,t){return this.zoomTo(this.getZoom()-1,e,t),this},e.prototype.getBearing=function(){return this.transform.bearing},e.prototype.setBearing=function(e,t){return this.jumpTo({bearing:e},t),this},e.prototype.getPadding=function(){return this.transform.padding},e.prototype.setPadding=function(e,t){return this.jumpTo({padding:e},t),this},e.prototype.rotateTo=function(e,t,n){return this.easeTo(ae.extend({bearing:e},t),n)},e.prototype.resetNorth=function(e,t){return this.rotateTo(0,ae.extend({duration:1e3},e),t),this},e.prototype.resetNorthPitch=function(e,t){return this.easeTo(ae.extend({bearing:0,pitch:0,duration:1e3},e),t),this},e.prototype.snapToNorth=function(e,t){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(e,t):this},e.prototype.getPitch=function(){return this.transform.pitch},e.prototype.setPitch=function(e,t){return this.jumpTo({pitch:e},t),this},e.prototype.cameraForBounds=function(e,t){return e=ae.LngLatBounds.convert(e),this._cameraForBoxAndBearing(e.getNorthWest(),e.getSouthEast(),0,t)},e.prototype._cameraForBoxAndBearing=function(e,t,n,r){var i={top:0,bottom:0,right:0,left:0};if("number"==typeof(r=ae.extend({padding:i,offset:[0,0],maxZoom:this.transform.maxZoom},r)).padding){var o=r.padding;r.padding={top:o,bottom:o,right:o,left:o}}r.padding=ae.extend(i,r.padding);var a=this.transform,s=a.padding,l=a.project(ae.LngLat.convert(e)),u=a.project(ae.LngLat.convert(t)),c=l.rotate(-n*Math.PI/180),f=u.rotate(-n*Math.PI/180),h=new ae.Point(Math.max(c.x,f.x),Math.max(c.y,f.y)),d=new ae.Point(Math.min(c.x,f.x),Math.min(c.y,f.y)),p=h.sub(d),y=(a.width-(s.left+s.right+r.padding.left+r.padding.right))/p.x,m=(a.height-(s.top+s.bottom+r.padding.top+r.padding.bottom))/p.y;if(!(m<0||y<0)){var g=Math.min(a.scaleZoom(a.scale*Math.min(y,m)),r.maxZoom),v=ae.Point.convert(r.offset),b=new ae.Point(v.x+(r.padding.left-r.padding.right)/2,v.y+(r.padding.top-r.padding.bottom)/2).mult(a.scale/a.zoomScale(g));return{center:a.unproject(l.add(u).div(2).sub(b)),zoom:g,bearing:n}}ae.warnOnce("Map cannot fit within canvas with the given bounds, padding, and/or offset.")},e.prototype.fitBounds=function(e,t,n){return this._fitInternal(this.cameraForBounds(e,t),t,n)},e.prototype.fitScreenCoordinates=function(e,t,n,r,i){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(ae.Point.convert(e)),this.transform.pointLocation(ae.Point.convert(t)),n,r),r,i)},e.prototype._fitInternal=function(e,t,n){return e?(delete(t=ae.extend(e,t)).padding,t.linear?this.easeTo(t,n):this.flyTo(t,n)):this},e.prototype.jumpTo=function(e,t){this.stop();var n=this.transform,r=!1,i=!1,o=!1;return"zoom"in e&&n.zoom!==+e.zoom&&(r=!0,n.zoom=+e.zoom),void 0!==e.center&&(n.center=ae.LngLat.convert(e.center)),"bearing"in e&&n.bearing!==+e.bearing&&(i=!0,n.bearing=+e.bearing),"pitch"in e&&n.pitch!==+e.pitch&&(o=!0,n.pitch=+e.pitch),null==e.padding||n.isPaddingEqual(e.padding)||(n.padding=e.padding),this.fire(new ae.Event("movestart",t)).fire(new ae.Event("move",t)),r&&this.fire(new ae.Event("zoomstart",t)).fire(new ae.Event("zoom",t)).fire(new ae.Event("zoomend",t)),i&&this.fire(new ae.Event("rotatestart",t)).fire(new ae.Event("rotate",t)).fire(new ae.Event("rotateend",t)),o&&this.fire(new ae.Event("pitchstart",t)).fire(new ae.Event("pitch",t)).fire(new ae.Event("pitchend",t)),this.fire(new ae.Event("moveend",t))},e.prototype.easeTo=function(e,o){var a=this;this._stop(!1,e.easeId),(!1===(e=ae.extend({offset:[0,0],duration:500,easing:ae.ease},e)).animate||!e.essential&&ae.browser.prefersReducedMotion)&&(e.duration=0);var s=this.transform,l=this.getZoom(),u=this.getBearing(),c=this.getPitch(),f=this.getPadding(),h="zoom"in e?+e.zoom:l,d="bearing"in e?this._normalizeBearing(e.bearing,u):u,p="pitch"in e?+e.pitch:c,y="padding"in e?e.padding:s.padding,m=ae.Point.convert(e.offset),g=s.centerPoint.add(m),t=s.pointLocation(g),n=ae.LngLat.convert(e.center||t);this._normalizeCenter(n);var v,b,_=s.project(t),x=s.project(n).sub(_),w=s.zoomScale(h-l);e.around&&(v=ae.LngLat.convert(e.around),b=s.locationPoint(v));var r={moving:this._moving,zooming:this._zooming,rotating:this._rotating,pitching:this._pitching};return this._zooming=this._zooming||h!==l,this._rotating=this._rotating||u!==d,this._pitching=this._pitching||p!==c,this._padding=!s.isPaddingEqual(y),this._easeId=e.easeId,this._prepareEase(o,e.noMoveStart,r),this._ease(function(e){if(a._zooming&&(s.zoom=ae.number(l,h,e)),a._rotating&&(s.bearing=ae.number(u,d,e)),a._pitching&&(s.pitch=ae.number(c,p,e)),a._padding&&(s.interpolatePadding(f,y,e),g=s.centerPoint.add(m)),v)s.setLocationAtPoint(v,b);else{var t=s.zoomScale(s.zoom-l),n=h>l?Math.min(2,w):Math.max(.5,w),r=Math.pow(n,1-e),i=s.unproject(_.add(x.mult(e*r)).mult(t));s.setLocationAtPoint(s.renderWorldCopies?i.wrap():i,g)}a._fireMoveEvents(o)},function(e){a._afterEase(o,e)},e),this},e.prototype._prepareEase=function(e,t,n){void 0===n&&(n={}),this._moving=!0,t||n.moving||this.fire(new ae.Event("movestart",e)),this._zooming&&!n.zooming&&this.fire(new ae.Event("zoomstart",e)),this._rotating&&!n.rotating&&this.fire(new ae.Event("rotatestart",e)),this._pitching&&!n.pitching&&this.fire(new ae.Event("pitchstart",e))},e.prototype._fireMoveEvents=function(e){this.fire(new ae.Event("move",e)),this._zooming&&this.fire(new ae.Event("zoom",e)),this._rotating&&this.fire(new ae.Event("rotate",e)),this._pitching&&this.fire(new ae.Event("pitch",e))},e.prototype._afterEase=function(e,t){if(!this._easeId||!t||this._easeId!==t){delete this._easeId;var n=this._zooming,r=this._rotating,i=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,n&&this.fire(new ae.Event("zoomend",e)),r&&this.fire(new ae.Event("rotateend",e)),i&&this.fire(new ae.Event("pitchend",e)),this.fire(new ae.Event("moveend",e))}},e.prototype.flyTo=function(e,i){var o=this;if(!e.essential&&ae.browser.prefersReducedMotion){var t=ae.pick(e,["center","zoom","bearing","pitch","around"]);return this.jumpTo(t,i)}this.stop(),e=ae.extend({offset:[0,0],speed:1.2,curve:1.42,easing:ae.ease},e);var a=this.transform,s=this.getZoom(),l=this.getBearing(),u=this.getPitch(),c=this.getPadding(),f="zoom"in e?ae.clamp(+e.zoom,a.minZoom,a.maxZoom):s,h="bearing"in e?this._normalizeBearing(e.bearing,l):l,d="pitch"in e?+e.pitch:u,p="padding"in e?e.padding:a.padding,n=a.zoomScale(f-s),y=ae.Point.convert(e.offset),m=a.centerPoint.add(y),r=a.pointLocation(m),g=ae.LngLat.convert(e.center||r);this._normalizeCenter(g);var v=a.project(r),b=a.project(g).sub(v),_=e.curve,x=Math.max(a.width,a.height),w=x/n,A=b.mag();if("minZoom"in e){var S=ae.clamp(Math.min(e.minZoom,s,f),a.minZoom,a.maxZoom),C=x/a.zoomScale(S-s);_=Math.sqrt(C/A*2)}var O=_*_;function E(e){var t=(w*w-x*x+(e?-1:1)*O*O*A*A)/(2*(e?w:x)*O*A);return Math.log(Math.sqrt(t*t+1)-t)}function M(e){return(Math.exp(e)-Math.exp(-e))/2}function P(e){return(Math.exp(e)+Math.exp(-e))/2}var k=E(0),T=function(e){return P(k)/P(k+_*e)},I=function(e){return x*((P(k)*(M(t=k+_*e)/P(t))-M(k))/O)/A;var t},L=(E(1)-k)/_;if(Math.abs(A)<1e-6||!isFinite(L)){if(Math.abs(x-w)<1e-6)return this.easeTo(e,i);var j=w<x?-1:1;L=Math.abs(Math.log(w/x))/_,I=function(){return 0},T=function(e){return Math.exp(j*_*e)}}return e.duration="duration"in e?+e.duration:1e3*L/("screenSpeed"in e?+e.screenSpeed/_:+e.speed),e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=l!==h,this._pitching=d!==u,this._padding=!a.isPaddingEqual(p),this._prepareEase(i,!1),this._ease(function(e){var t=e*L,n=1/T(t);a.zoom=1===e?f:s+a.scaleZoom(n),o._rotating&&(a.bearing=ae.number(l,h,e)),o._pitching&&(a.pitch=ae.number(u,d,e)),o._padding&&(a.interpolatePadding(c,p,e),m=a.centerPoint.add(y));var r=1===e?g:a.unproject(v.add(b.mult(I(t))).mult(n));a.setLocationAtPoint(a.renderWorldCopies?r.wrap():r,m),o._fireMoveEvents(i)},function(){return o._afterEase(i)},e),this},e.prototype.isEasing=function(){return!!this._easeFrameId},e.prototype.stop=function(){return this._stop()},e.prototype._stop=function(e,t){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var n=this._onEaseEnd;delete this._onEaseEnd,n.call(this,t)}if(!e){var r=this.handlers;r&&r.stop(!1)}return this},e.prototype._ease=function(e,t,n){!1===n.animate||0===n.duration?(e(1),t()):(this._easeStart=ae.browser.now(),this._easeOptions=n,this._onEaseFrame=e,this._onEaseEnd=t,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},e.prototype._renderFrameCallback=function(){var e=Math.min((ae.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},e.prototype._normalizeBearing=function(e,t){e=ae.wrap(e,-180,180);var n=Math.abs(e-t);return Math.abs(e-360-t)<n&&(e-=360),Math.abs(e+360-t)<n&&(e+=360),e},e.prototype._normalizeCenter=function(e){var t=this.transform;if(t.renderWorldCopies&&!t.lngRange){var n=e.lng-t.center.lng;e.lng+=n>180?-360:n<-180?360:0}},e}(ae.Evented),Ci=function(e){void 0===e&&(e={}),this.options=e,ae.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};Ci.prototype.getDefaultPosition=function(){return"bottom-right"},Ci.prototype.onAdd=function(e){var t=this.options&&this.options.compact;return this._map=e,this._container=_.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=_.create("div","mapboxgl-ctrl-attrib-inner",this._container),t&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),void 0===t&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},Ci.prototype.onRemove=function(){_.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},Ci.prototype._updateEditLink=function(){var e=this._editLink;e||(e=this._editLink=this._container.querySelector(".mapbox-improve-map"));var r=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||ae.config.ACCESS_TOKEN}];if(e){var t=r.reduce(function(e,t,n){return t.value&&(e+=t.key+"="+t.value+(n<r.length-1?"&":"")),e},"?");e.href=ae.config.FEEDBACK_URL+"/"+t+(this._map._hash?this._map._hash.getHashString(!0):""),e.rel="noopener nofollow"}},Ci.prototype._updateData=function(e){!e||"metadata"!==e.sourceDataType&&"style"!==e.dataType||(this._updateAttributions(),this._updateEditLink())},Ci.prototype._updateAttributions=function(){if(this._map.style){var r=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?r=r.concat(this.options.customAttribution.map(function(e){return"string"!=typeof e?"":e})):"string"==typeof this.options.customAttribution&&r.push(this.options.customAttribution)),this._map.style.stylesheet){var e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id}var t=this._map.style.sourceCaches;for(var n in t){var i=t[n];if(i.used){var o=i.getSource();o.attribution&&r.indexOf(o.attribution)<0&&r.push(o.attribution)}}r.sort(function(e,t){return e.length-t.length});var a=(r=r.filter(function(e,t){for(var n=t+1;n<r.length;n++)if(r[n].indexOf(e)>=0)return!1;return!0})).join(" | ");a!==this._attribHTML&&(this._attribHTML=a,r.length?(this._innerContainer.innerHTML=a,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},Ci.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var Oi=function(){ae.bindAll(["_updateLogo"],this),ae.bindAll(["_updateCompact"],this)};Oi.prototype.onAdd=function(e){this._map=e,this._container=_.create("div","mapboxgl-ctrl");var t=_.create("a","mapboxgl-ctrl-logo");return t.target="_blank",t.rel="noopener nofollow",t.href="https://www.mapbox.com/",t.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),t.setAttribute("rel","noopener nofollow"),this._container.appendChild(t),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Oi.prototype.onRemove=function(){_.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},Oi.prototype.getDefaultPosition=function(){return"bottom-left"},Oi.prototype._updateLogo=function(e){e&&"metadata"!==e.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none")},Oi.prototype._logoRequired=function(){if(this._map.style){var e=this._map.style.sourceCaches;for(var t in e)if(e[t].getSource().mapbox_logo)return!0;return!1}},Oi.prototype._updateCompact=function(){var e=this._container.children;if(e.length){var t=e[0];this._map.getCanvasContainer().offsetWidth<250?t.classList.add("mapboxgl-compact"):t.classList.remove("mapboxgl-compact")}};var Ei=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Ei.prototype.add=function(e){var t=++this._id;return this._queue.push({callback:e,id:t,cancelled:!1}),t},Ei.prototype.remove=function(e){for(var t=this._currentlyRunning,n=0,r=t?this._queue.concat(t):this._queue;n<r.length;n+=1){var i=r[n];if(i.id===e)return void(i.cancelled=!0)}},Ei.prototype.run=function(e){void 0===e&&(e=0);var t=this._currentlyRunning=this._queue;this._queue=[];for(var n=0,r=t;n<r.length;n+=1){var i=r[n];if(!i.cancelled&&(i.callback(e),this._cleared))break}this._cleared=!1,this._currentlyRunning=!1},Ei.prototype.clear=function(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]};var E=function e(t,n,r){this.epsgCode=t,this.extent=n,this.unit=r||"degree",e.set(this)};E.prototype.getExtent=function(){if(!this._rectifyExtent){var e=this.extent[2]-this.extent[0],t=this.extent[3]-this.extent[1];if(e===t)this._rectifyExtent=[this.extent[0],this.extent[1],this.extent[2],this.extent[3]];else{var n=Math.max(e,t);this._rectifyExtent=[this.extent[0],this.extent[3]-n,this.extent[0]+n,this.extent[3]]}}return this._rectifyExtent},E.prototype.getOrigin=function(){return[this.extent[0],this.extent[3]]},E.prototype.getEpsgCode=function(){return this.epsgCode},E.prototype.getUnit=function(){return this.unit},E.get=function(e){for(var t in E)if(E.hasOwnProperty(t)&&E[t].getEpsgCode&&E[t].getEpsgCode()===e)return E[t];return null},E.set=function(e){var t=e.getEpsgCode().replace(":","").toUpperCase();E[t]=e},E.EPSG4326=new E("EPSG:4326",[-180,-90,180,90],"degree"),E.EPSG4490=new E("EPSG:4490",[-180,-90,180,90],"degree"),E.EPSG4214=new E("EPSG:4214",[-180,-90,180,90],"degree"),E.EPSG4610=new E("EPSG:4610",[-180,-90,180,90],"degree"),E.EPSG3857=new E("EPSG:3857",[-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892],"meter");var Mi={"FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm"},Pi=ae.window.HTMLImageElement,ki=ae.window.HTMLElement,Ti=ae.window.ImageBitmap,Ii={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,bearingSnap:7,clickTolerance:3,pitchWithRotate:!0,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",transformRequest:null,accessToken:null,fadeDuration:300,crossSourceCollisions:!0},Li=function(u){function e(e){var t=this;if(null!=(e=ae.extend({},Ii,e)).minZoom&&null!=e.maxZoom&&e.minZoom>e.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=e.minPitch&&null!=e.maxPitch&&e.minPitch>e.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=e.minPitch&&e.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=e.maxPitch&&e.maxPitch>60)throw new Error("maxPitch must be less than or equal to 60");var n=new h(e.minZoom,e.maxZoom,e.minPitch,e.maxPitch,e.renderWorldCopies);if(u.call(this,n,e),this.transform=n,this.crs=this.toCRS(e.crs),this.initCRS(this.crs),this._interactive=e.interactive,this._maxTileCacheSize=e.maxTileCacheSize,this._failIfMajorPerformanceCaveat=e.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=e.preserveDrawingBuffer,this._antialias=e.antialias,this._trackResize=e.trackResize,this._bearingSnap=e.bearingSnap,this._refreshExpiredTiles=e.refreshExpiredTiles,this._fadeDuration=e.fadeDuration,this._crossSourceCollisions=e.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=e.collectResourceTiming,this._renderTaskQueue=new Ei,this._controls=[],this._markersCache=[],this._mapId=ae.uniqueId(),this._locale=ae.extend({},Mi,e.locale),this._requestManager=new ae.RequestManager(e.transformRequest,e.accessToken),"string"==typeof e.container){if(this._container=ae.window.document.getElementById(e.container),!this._container)throw new Error("Container '"+e.container+"' not found.")}else{if(!(e.container instanceof ki))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=e.container}if(e.maxBounds&&this.setMaxBounds(e.maxBounds),ae.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return t._update(!1)}),this.on("moveend",function(){return t._update(!1)}),this.on("zoom",function(){return t._update(!0)}),void 0!==ae.window&&(ae.window.addEventListener("online",this._onWindowOnline,!1),ae.window.addEventListener("resize",this._onWindowResize,!1),ae.window.addEventListener("orientationchange",this._onWindowResize,!1)),this.handlers=new v(this,e),this._hash=e.hash&&new Hr("string"==typeof e.hash&&e.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:e.center,zoom:e.zoom,bearing:e.bearing,pitch:e.pitch}),e.bounds&&(this.resize(),this.fitBounds(e.bounds,ae.extend({},e.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=e.localIdeographFontFamily,e.style&&this.setStyle(e.style,{localIdeographFontFamily:e.localIdeographFontFamily}),e.attributionControl&&this.addControl(new Ci({customAttribution:e.customAttribution})),this.addControl(new Oi,e.logoPosition),this.on("style.load",function(){t.transform.unmodified&&t.jumpTo(t.style.stylesheet)}),this.on("data",function(e){t._update("style"===e.dataType),t.fire(new ae.Event(e.dataType+"data",e))}),this.on("dataloading",function(e){t.fire(new ae.Event(e.dataType+"dataloading",e))})}u&&(e.__proto__=u),(e.prototype=Object.create(u&&u.prototype)).constructor=e;var t={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return e.prototype.toCRS=function(e){if(e&&"string"==typeof e&&!(e=E.get(e)))throw new Error("crs "+e+" is not define");return e||E.EPSG3857},e.prototype.getCRS=function(){return this.crs},e.prototype._getMapId=function(){return this._mapId},e.prototype.addControl=function(e,t){if(void 0===t&&e.getDefaultPosition&&(t=e.getDefaultPosition()),void 0===t&&(t="top-right"),!e||!e.onAdd)return this.fire(new ae.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var n=e.onAdd(this);this._controls.push(e);var r=this._controlPositions[t];return-1!==t.indexOf("bottom")?r.insertBefore(n,r.firstChild):r.appendChild(n),this},e.prototype.removeControl=function(e){if(!e||!e.onRemove)return this.fire(new ae.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var t=this._controls.indexOf(e);return t>-1&&this._controls.splice(t,1),e.onRemove(this),this},e.prototype.resize=function(e){var t=this._containerDimensions(),n=t[0],r=t[1];this._resizeCanvas(n,r),this.transform.resize(n,r),this.painter.resize(n,r);var i=!this._moving;return i&&(this.stop(),this.fire(new ae.Event("movestart",e)).fire(new ae.Event("move",e))),this.fire(new ae.Event("resize",e)),i&&this.fire(new ae.Event("moveend",e)),this},e.prototype.getBounds=function(){return this.transform.getBounds()},e.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},e.prototype.setMaxBounds=function(e){return this.transform.setMaxBounds(ae.LngLatBounds.convert(e)),this._update()},e.prototype.setMinZoom=function(e){if((e=null==e?-2:e)>=-2&&e<=this.transform.maxZoom)return this.transform.minZoom=e,this._update(),this.getZoom()<e&&this.setZoom(e),this;throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")},e.prototype.getMinZoom=function(){return this.transform.minZoom},e.prototype.setMaxZoom=function(e){if((e=null==e?22:e)>=this.transform.minZoom)return this.transform.maxZoom=e,this._update(),this.getZoom()>e&&this.setZoom(e),this;throw new Error("maxZoom must be greater than the current minZoom")},e.prototype.getMaxZoom=function(){return this.transform.maxZoom},e.prototype.setMinPitch=function(e){if((e=null==e?0:e)<0)throw new Error("minPitch must be greater than or equal to 0");if(e>=0&&e<=this.transform.maxPitch)return this.transform.minPitch=e,this._update(),this.getPitch()<e&&this.setPitch(e),this;throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")},e.prototype.getMinPitch=function(){return this.transform.minPitch},e.prototype.setMaxPitch=function(e){if((e=null==e?60:e)>60)throw new Error("maxPitch must be less than or equal to 60");if(e>=this.transform.minPitch)return this.transform.maxPitch=e,this._update(),this.getPitch()>e&&this.setPitch(e),this;throw new Error("maxPitch must be greater than the current minPitch")},e.prototype.getMaxPitch=function(){return this.transform.maxPitch},e.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},e.prototype.setRenderWorldCopies=function(e){return this.transform.renderWorldCopies=e,this._update()},e.prototype.project=function(e){return this.transform.locationPoint(ae.LngLat.convert(e))},e.prototype.unproject=function(e){return this.transform.pointLocation(ae.Point.convert(e))},e.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},e.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},e.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},e.prototype._createDelegatedListener=function(n,r,i){var e,o=this;if("mouseenter"===n||"mouseover"===n){var a=!1;return{layer:r,listener:i,delegates:{mousemove:function(e){var t=o.getLayer(r)?o.queryRenderedFeatures(e.point,{layers:[r]}):[];t.length?a||(a=!0,i.call(o,new d(n,o,e.originalEvent,{features:t}))):a=!1},mouseout:function(){a=!1}}}}if("mouseleave"===n||"mouseout"===n){var t=!1;return{layer:r,listener:i,delegates:{mousemove:function(e){(o.getLayer(r)?o.queryRenderedFeatures(e.point,{layers:[r]}):[]).length?t=!0:t&&(t=!1,i.call(o,new d(n,o,e.originalEvent)))},mouseout:function(e){t&&(t=!1,i.call(o,new d(n,o,e.originalEvent)))}}}}return{layer:r,listener:i,delegates:(e={},e[n]=function(e){var t=o.getLayer(r)?o.queryRenderedFeatures(e.point,{layers:[r]}):[];t.length&&(e.features=t,i.call(o,e),delete e.features)},e)}},e.prototype.on=function(e,t,n){if(void 0===n)return u.prototype.on.call(this,e,t);var r=this._createDelegatedListener(e,t,n);for(var i in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[e]=this._delegatedListeners[e]||[],this._delegatedListeners[e].push(r),r.delegates)this.on(i,r.delegates[i]);return this},e.prototype.once=function(e,t,n){if(void 0===n)return u.prototype.once.call(this,e,t);var r=this._createDelegatedListener(e,t,n);for(var i in r.delegates)this.once(i,r.delegates[i]);return this},e.prototype.off=function(o,a,s){var l=this;return void 0===s?u.prototype.off.call(this,o,a):(this._delegatedListeners&&this._delegatedListeners[o]&&function(e){for(var t=e[o],n=0;n<t.length;n++){var r=t[n];if(r.layer===a&&r.listener===s){for(var i in r.delegates)l.off(i,r.delegates[i]);return t.splice(n,1),l}}}(this._delegatedListeners),this)},e.prototype.queryRenderedFeatures=function(e,t){if(!this.style)return[];var n;if(void 0!==t||void 0===e||e instanceof ae.Point||Array.isArray(e)||(t=e,e=void 0),t=t||{},(e=e||[[0,0],[this.transform.width,this.transform.height]])instanceof ae.Point||"number"==typeof e[0])n=[ae.Point.convert(e)];else{var r=ae.Point.convert(e[0]),i=ae.Point.convert(e[1]);n=[r,new ae.Point(i.x,r.y),i,new ae.Point(r.x,i.y),r]}return this.style.queryRenderedFeatures(n,t,this.transform)},e.prototype.querySourceFeatures=function(e,t){return this.style.querySourceFeatures(e,t)},e.prototype.setStyle=function(e,t){return!1!==(t=ae.extend({},{localIdeographFontFamily:this._localIdeographFontFamily},t)).diff&&t.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,t),this):(this._localIdeographFontFamily=t.localIdeographFontFamily,this._updateStyle(e,t))},e.prototype._getUIString=function(e){var t=this._locale[e];if(null==t)throw new Error("Missing UI string '"+e+"'");return t},e.prototype._updateStyle=function(e,t){return this.style&&(this.style.setEventedParent(null),this.style._remove()),e?(this.style=new fn(this,t||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof e?this.style.loadURL(e):this.style.loadJSON(e),this):(delete this.style,this)},e.prototype._lazyInitEmptyStyle=function(){this.style||(this.style=new fn(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())},e.prototype._diffStyle=function(e,n){var r=this;if("string"==typeof e){var t=this._requestManager.normalizeStyleURL(e),i=this._requestManager.transformRequest(t,ae.ResourceType.Style);ae.getJSON(i,function(e,t){e?r.fire(new ae.ErrorEvent(e)):t&&r._updateDiff(t,n)})}else"object"==typeof e&&this._updateDiff(e,n)},e.prototype._updateDiff=function(e,t){var n=e.sources;if("string"==typeof e.sprite){var r={};for(var i in n)r[i]=e.sprite;e.sprite=r}if("string"==typeof e.glyphs){var o={};for(var a in n)o[a]=e.glyphs;e.glyphs=o}try{this.style.setState(e)&&this._update(!0)}catch(n){ae.warnOnce("Unable to perform style diff: "+(n.message||n.error||n)+". Rebuilding the style from scratch."),this._updateStyle(e,t)}},e.prototype.addStyle=function(e,n,r,i){var o=this;if("string"==typeof e){this.fire(new ae.Event("dataloading",{dataType:"style"}));var t=this._requestManager.transformRequest(this._requestManager.normalizeStyleURL(e),ae.ResourceType.Style);ae.getJSON(t,function(e,t){e?o.fire(new ae.ErrorEvent(e)):t&&o._loadByAdd(t,n,r,i)})}else this._loadByAdd(JSON.parse(JSON.stringify(e)),n,r,i)},e.prototype._loadByAdd=function(e,t,n,r){var i=this,o=e.layers,a=e.sources,s=e.sprite||{},l=e.glyphs||{};for(var u in a)this.addSource(u,a[u]),"string"==typeof s?this.style.addSprite(u,s):s[u]&&this.style.addSprite(u,s[u]),"string"==typeof l?this.style.addGlyphs(u,l):l[u]&&this.style.addGlyphs(u,l[u]);o.forEach(function(e){"background"!=e.type&&(i.addLayer(e,t),isNaN(n)&&isNaN(r)||i.setLayerZoomRange(e.id,n,r))})},e.prototype.getStyle=function(){if(this.style)return this.style.serialize()},e.prototype.isStyleLoaded=function(){return this.style?this.style.loaded():ae.warnOnce("There is no style added to the map.")},e.prototype.addSource=function(e,t){return this._mapCRS&&"geojson"==t.type&&t.data&&!t.data.customprj&&(t.customprj=this.customConvertPoint),this._lazyInitEmptyStyle(),this.style.addSource(e,t),this._update(!0)},e.prototype.isSourceLoaded=function(e){var t=this.style&&this.style.sourceCaches[e];if(void 0!==t)return t.loaded();this.fire(new ae.ErrorEvent(new Error("There is no source with ID '"+e+"'")))},e.prototype.areTilesLoaded=function(){var e=this.style&&this.style.sourceCaches;for(var t in e){var n=e[t]._tiles;for(var r in n){var i=n[r];if("loaded"!==i.state&&"errored"!==i.state)return!1}}return!0},e.prototype.addSourceType=function(e,t,n){return this._lazyInitEmptyStyle(),this.style.addSourceType(e,t,n)},e.prototype.removeSource=function(e){return this.style.removeSource(e),this._update(!0)},e.prototype.getSource=function(e){return this.style.getSource(e)},e.prototype.addImage=function(e,t,n){void 0===n&&(n={});var r=n.pixelRatio;void 0===r&&(r=1);var i=n.sdf;void 0===i&&(i=!1);var o=n.stretchX,a=n.stretchY,s=n.content;if(this._lazyInitEmptyStyle(),t instanceof Pi||Ti&&t instanceof Ti){var l=ae.browser.getImageData(t);this.style.addImage(e,{data:new ae.RGBAImage({width:l.width,height:l.height},l.data),pixelRatio:r,stretchX:o,stretchY:a,content:s,sdf:i,version:0})}else{if(void 0===t.width||void 0===t.height)return this.fire(new ae.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));var u=t;this.style.addImage(e,{data:new ae.RGBAImage({width:t.width,height:t.height},new Uint8Array(t.data)),pixelRatio:r,stretchX:o,stretchY:a,content:s,sdf:i,version:0,userImage:u}),u.onAdd&&u.onAdd(this,e)}},e.prototype.updateImage=function(e,t){var n=this.style.getImage(e);if(!n)return this.fire(new ae.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));var r=t instanceof Pi||Ti&&t instanceof Ti?ae.browser.getImageData(t):t,i=r.width,o=r.height,a=r.data;return void 0===i||void 0===o?this.fire(new ae.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`"))):i!==n.data.width||o!==n.data.height?this.fire(new ae.ErrorEvent(new Error("The width and height of the updated image must be that same as the previous version of the image"))):(n.data.replace(a,!(t instanceof Pi||Ti&&t instanceof Ti)),void this.style.updateImage(e,n))},e.prototype.hasImage=function(e){return e?!!this.style.getImage(e):(this.fire(new ae.ErrorEvent(new Error("Missing required image id"))),!1)},e.prototype.removeImage=function(e){this.style.removeImage(e)},e.prototype.loadImage=function(e,t){ae.getImage(this._requestManager.transformRequest(e,ae.ResourceType.Image),t)},e.prototype.listImages=function(){return this.style.listImages()},e.prototype.listMarkers=function(){return this._markersCache},e.prototype.addLayer=function(e,t){return"object"==typeof e.source&&this._mapCRS&&e.source&&"geojson"==e.source.type&&e.source.data&&!e.source.data.customprj&&(e.source.customprj=this.customConvertPoint),this._lazyInitEmptyStyle(),this.style.addLayer(e,t),this._update(!0)},e.prototype.moveLayer=function(e,t){return this.style.moveLayer(e,t),this._update(!0)},e.prototype.removeLayer=function(e){return this.style.removeLayer(e),this._update(!0)},e.prototype.getLayer=function(e){return this.style.getLayer(e)},e.prototype.setLayerZoomRange=function(e,t,n){return this.style.setLayerZoomRange(e,t,n),this._update(!0)},e.prototype.setFilter=function(e,t,n){return void 0===n&&(n={}),this.style.setFilter(e,t,n),this._update(!0)},e.prototype.getFilter=function(e){return this.style.getFilter(e)},e.prototype.setPaintProperty=function(e,t,n,r){return void 0===r&&(r={}),this.style.setPaintProperty(e,t,n,r),this._update(!0)},e.prototype.getPaintProperty=function(e,t){return this.style.getPaintProperty(e,t)},e.prototype.setLayoutProperty=function(e,t,n,r){return void 0===r&&(r={}),this.style.setLayoutProperty(e,t,n,r),this._update(!0)},e.prototype.getLayoutProperty=function(e,t){return this.style.getLayoutProperty(e,t)},e.prototype.setLight=function(e,t){return void 0===t&&(t={}),this._lazyInitEmptyStyle(),this.style.setLight(e,t),this._update(!0)},e.prototype.getLight=function(){return this.style.getLight()},e.prototype.setFeatureState=function(e,t){return this.style.setFeatureState(e,t),this._update()},e.prototype.removeFeatureState=function(e,t){return this.style.removeFeatureState(e,t),this._update()},e.prototype.getFeatureState=function(e){return this.style.getFeatureState(e)},e.prototype.getContainer=function(){return this._container},e.prototype.getCanvasContainer=function(){return this._canvasContainer},e.prototype.getCanvas=function(){return this._canvas},e.prototype._containerDimensions=function(){var e=0,t=0;return this._container&&(e=this._container.clientWidth||400,t=this._container.clientHeight||300),[e,t]},e.prototype._detectMissingCSS=function(){"rgb(250, 128, 114)"!==ae.window.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")&&ae.warnOnce("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")},e.prototype._setupContainer=function(){var e=this._container;e.classList.add("mapboxgl-map"),(this._missingCSSCanary=_.create("div","mapboxgl-canary",e)).style.visibility="hidden",this._detectMissingCSS();var t=this._canvasContainer=_.create("div","mapboxgl-canvas-container",e);this._interactive&&t.classList.add("mapboxgl-interactive"),this._canvas=_.create("canvas","mapboxgl-canvas",t),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label","Map");var n=this._containerDimensions();this._resizeCanvas(n[0],n[1]);var r=this._controlContainer=_.create("div","mapboxgl-control-container",e),i=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach(function(e){i[e]=_.create("div","mapboxgl-ctrl-"+e,r)})},e.prototype._resizeCanvas=function(e,t){var n=ae.browser.devicePixelRatio||1;this._canvas.width=n*e,this._canvas.height=n*t,this._canvas.style.width=e+"px",this._canvas.style.height=t+"px"},e.prototype._setupPainter=function(){var e=ae.extend({},k.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),t=this._canvas.getContext("webgl",e)||this._canvas.getContext("experimental-webgl",e);t?(this.painter=new f(t,this.transform),ae.webpSupported.testSupport(t)):this.fire(new ae.ErrorEvent(new Error("Failed to initialize WebGL")))},e.prototype._contextLost=function(e){e.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new ae.Event("webglcontextlost",{originalEvent:e}))},e.prototype._contextRestored=function(e){this._setupPainter(),this.resize(),this._update(),this.fire(new ae.Event("webglcontextrestored",{originalEvent:e}))},e.prototype.loaded=function(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()},e.prototype._update=function(e){return this.style?(this._styleDirty=this._styleDirty||e,this._sourcesDirty=!0,this.triggerRepaint(),this):this},e.prototype._requestRenderFrame=function(e){return this._update(),this._renderTaskQueue.add(e)},e.prototype._cancelRenderFrame=function(e){this._renderTaskQueue.remove(e)},e.prototype._render=function(e){var t,n=this,r=0,i=this.painter.context.extTimerQuery;if(this.listens("gpu-timing-frame")&&(t=i.createQueryEXT(),i.beginQueryEXT(i.TIME_ELAPSED_EXT,t),r=ae.browser.now()),this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(e),!this._removed){var o=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;var a=this.transform.zoom,s=ae.browser.now();this.style.zoomHistory.update(a,s);var l=new ae.EvaluationParameters(a,{now:s,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),u=l.crossFadingFactor();1===u&&u===this._crossFadingFactor||(o=!0,this._crossFadingFactor=u),this.style.update(l)}if(this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:this._fadeDuration,showPadding:this.showPadding,gpuTiming:!!this.listens("gpu-timing-layer")}),this.fire(new ae.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new ae.Event("load"))),this.style&&(this.style.hasTransitions()||o)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this.listens("gpu-timing-frame")){var c=ae.browser.now()-r;i.endQueryEXT(i.TIME_ELAPSED_EXT,t),setTimeout(function(){var e=i.getQueryObjectEXT(t,i.QUERY_RESULT_EXT)/1e6;i.deleteQueryEXT(t),n.fire(new ae.Event("gpu-timing-frame",{cpuTime:c,gpuTime:e}))},50)}if(this.listens("gpu-timing-layer")){var f=this.painter.collectGpuTimers();setTimeout(function(){var e=n.painter.queryGpuTimers(f);n.fire(new ae.Event("gpu-timing-layer",{layerTimes:e}))},50)}var h=this._sourcesDirty||this._styleDirty||this._placementDirty;return h||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new ae.Event("idle")),!this._loaded||this._fullyLoaded||h||(this._fullyLoaded=!0),this}},e.prototype.remove=function(){this._hash&&this._hash.remove();for(var e=0,t=this._controls;e<t.length;e+=1)t[e].onRemove(this);this._controls=[],this._markersCache=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),void 0!==ae.window&&(ae.window.removeEventListener("resize",this._onWindowResize,!1),ae.window.removeEventListener("orientationchange",this._onWindowResize,!1),ae.window.removeEventListener("online",this._onWindowOnline,!1));var n=this.painter.context.gl.getExtension("WEBGL_lose_context");n&&n.loseContext(),ji(this._canvasContainer),ji(this._controlContainer),ji(this._missingCSSCanary),this._container.classList.remove("mapboxgl-map"),this._removed=!0,this.fire(new ae.Event("remove"))},e.prototype.triggerRepaint=function(){var t=this;this.style&&!this._frame&&(this._frame=ae.browser.frame(function(e){t._frame=null,t._render(e)}))},e.prototype._onWindowOnline=function(){this._update()},e.prototype._onWindowResize=function(e){this._trackResize&&this.resize({originalEvent:e})._update()},t.showTileBoundaries.get=function(){return!!this._showTileBoundaries},t.showTileBoundaries.set=function(e){this._showTileBoundaries!==e&&(this._showTileBoundaries=e,this._update())},t.showPadding.get=function(){return!!this._showPadding},t.showPadding.set=function(e){this._showPadding!==e&&(this._showPadding=e,this._update())},t.showCollisionBoxes.get=function(){return!!this._showCollisionBoxes},t.showCollisionBoxes.set=function(e){this._showCollisionBoxes!==e&&(this._showCollisionBoxes=e,e?this.style._generateCollisionBoxes():this._update())},t.showOverdrawInspector.get=function(){return!!this._showOverdrawInspector},t.showOverdrawInspector.set=function(e){this._showOverdrawInspector!==e&&(this._showOverdrawInspector=e,this._update())},t.repaint.get=function(){return!!this._repaint},t.repaint.set=function(e){this._repaint!==e&&(this._repaint=e,this.triggerRepaint())},t.vertices.get=function(){return!!this._vertices},t.vertices.set=function(e){this._vertices=e,this._update()},e.prototype._setCacheLimits=function(e,t){ae.setCacheLimits(e,t)},e.prototype.setCRS=function(e){this.crs=this.toCRS(e),this.initCRS(this.crs);var t=this.style&&this.style.sourceCaches;if(t)for(var n in t)this._mapCRS&&"geojson"==t[n]._source.type&&this.style.getSource(n).setCustomprj(this.customConvertPoint);this._sourcesDirty=!0,this._canvas&&this.resize(),this._update(!0)},e.prototype.initCRS=function(i){this._tileExtent=[-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892],this._mapCRS=i;var t=i.getExtent();t&&Array.isArray(t)&&4===t.length&&(this._tileExtent=t);var a=this._tileExtent[2]-this._tileExtent[0],s=this._tileExtent[3]-this._tileExtent[1],e=(this._tileExtent[2]+this._tileExtent[0])/2,n=(this._tileExtent[3]+this._tileExtent[1])/2,l=this._tileExtent[0],u=this._tileExtent[3];if(oe.prototype.getMeterPerMapUnit=function(e){var t=1;return"degree"===e||"degrees"===e||"d"===e?t=2*Math.PI*6378137/360:"kilometer"===e||"km"===e?t=.001:"inch"===e?t=1/.025399999918:"foot"===e&&(t=.3048),t},oe.prototype.getResolution=function(e,t){if(!this._resolutions[e]){var n=Math.pow(2,e);this._resolutions[e]=a/n/t}return this._resolutions[e]},oe.prototype.getScale=function(e,t){if(!this._scales[e]){var n=this.getResolution(e,t),r=this.getMeterPerMapUnit(i.getUnit());this._scales[e]=1/(96*n*(1/.0254)*r)}return this._scales[e]},ie.prototype.getMeterPerMapUnit=function(e){var t=1;return"degree"===e||"degrees"===e||"d"===e?t=2*Math.PI*6378137/360:"kilometer"===e||"km"===e?t=.001:"inch"===e?t=1/.025399999918:"foot"===e&&(t=.3048),t},ie.prototype.getResolution=function(e,t){if(!this._resolutions[e]){var n=Math.pow(2,e);this._resolutions[e]=a/n/t}return this._resolutions[e]},ie.prototype.getScale=function(e,t){if(!this._scales[e]){var n=this.getResolution(e,t),r=this.getMeterPerMapUnit(i.getUnit());this._scales[e]=1/(96*n*(1/.0254)*r)}return this._scales[e]},"meter"==i.getUnit())return ae.CanonicalTileID.prototype.getTileBBoxBak&&(ae.CanonicalTileID.prototype.getTileBBox=ae.CanonicalTileID.prototype.getTileBBoxBak,ae.CanonicalTileID.prototype.getTileBBoxReverseXY=null),ae.CanonicalTileID.prototype.getViewBoundsBak&&(ae.CanonicalTileID.prototype.getViewBounds=ae.CanonicalTileID.prototype.getViewBoundsBak),h.prototype.lngXBak&&(h.prototype.lngX=h.prototype.lngXBak),h.prototype.latYBak&&(h.prototype.latY=h.prototype.latYBak),h.prototype.xLngBak&&(h.prototype.xLng=h.prototype.xLngBak),h.prototype.yLatBak&&(h.prototype.yLat=h.prototype.yLatBak),r.prototype.containsBak&&(r.prototype.contains=r.prototype.containsBak),ae.Feature.yLatBak&&(ae.Feature.yLat=ae.Feature.yLatBak),this.updateTransform&&(this.transform.units=i.getUnit(),this.transform.latRange=[-85.051129,85.051129],this.transform.lngRange=null),this.updateTransform&&Zi.MercatorCoordinate.fromLngLatBak&&(Zi.MercatorCoordinate.fromLngLat=Zi.MercatorCoordinate.fromLngLatBak),this.updateTransform&&Zi.MercatorCoordinate.prototype.toLngLatBak&&(Zi.MercatorCoordinate.prototype.toLngLat=Zi.MercatorCoordinate.prototype.toLngLatBak),void(this.customConvertPoint=null);ae.CanonicalTileID.prototype.getTileBBoxBak||(ae.CanonicalTileID.prototype.getTileBBoxBak=ae.CanonicalTileID.prototype.getTileBBox),ae.CanonicalTileID.prototype.getViewBoundsBak||(ae.CanonicalTileID.prototype.getViewBoundsBak=ae.CanonicalTileID.prototype.getViewBounds),h.prototype.lngXBak||(h.prototype.lngXBak=h.prototype.lngX),h.prototype.latYBak||(h.prototype.latYBak=h.prototype.latY),h.prototype.xLngBak||(h.prototype.xLngBak=h.prototype.xLng),h.prototype.yLatBak||(h.prototype.yLatBak=h.prototype.yLat),r.prototype.containsBak||(r.prototype.containsBak=r.prototype.contains),ae.Feature.yLatBak||(ae.Feature.yLatBak=ae.Feature.yLat),this.updateTransform&&!Zi.MercatorCoordinate.fromLngLatBak&&(Zi.MercatorCoordinate.fromLngLatBak=Zi.MercatorCoordinate.fromLngLat),this.updateTransform&&!Zi.MercatorCoordinate.prototype.toLngLatBak&&(Zi.MercatorCoordinate.prototype.toLngLatBak=Zi.MercatorCoordinate.prototype.toLngLat),ae.CanonicalTileID.prototype.getTileBBoxReverseXY=function(){var e=Math.pow(2,this.z);return t[3]-s*(this.y+1)/e+","+(t[0]+a*this.x/e)+","+(t[3]-s*this.y/e)+","+(t[0]+a*(this.x+1)/e)},ae.CanonicalTileID.prototype.getTileBBox=function(){var e=Math.pow(2,this.z);return t[0]+a*this.x/e+","+(t[3]-s*(this.y+1)/e)+","+(t[0]+a*(this.x+1)/e)+","+(t[3]-s*this.y/e)},ae.CanonicalTileID.prototype.getViewBounds=function(){var e=Math.pow(2,this.z);return'{"leftBottom":{"x":'+(t[0]+a*this.x/e)+',"y":'+(t[3]-s*(this.y+1)/e)+'},"rightTop":{"x":'+(t[0]+a*(this.x+1)/e)+',"y": '+(t[3]-s*this.y/e)+"}}"},h.prototype.lngX=function(e){return(e-l)*this.worldSize/a},h.prototype.latY=function(e){return(u-e)*this.worldSize/s},h.prototype.xLng=function(e){return e*a/this.worldSize+l},h.prototype.yLat=function(e){return u-e*s/this.worldSize},r.prototype.contains=function(e){var t=Math.pow(2,e.z),n=Math.floor((this.bounds.getWest()-l)*t/a),r=Math.floor((u-this.bounds.getNorth())*t/s),i=Math.ceil((this.bounds.getEast()-l)*t/a),o=Math.ceil((u-this.bounds.getSouth())*t/s);return e.x>=n&&e.x<i&&e.y>=r&&e.y<o},ae.Feature.yLat=function(e,t){return u-e*s/t},this.updateTransform&&(this.mercatorZfromAltitude=ae.mercatorZfromAltitude,this.updateTransform(i.getUnit(),l,u,e,n,a,s))},t.version.get=function(){return ae.version},Object.defineProperties(e.prototype,t),e}(Si);function ji(e){e.parentNode&&e.parentNode.removeChild(e)}var Di={showCompass:!0,showZoom:!0,visualizePitch:!1},Bi=function(e){var t=this;this.options=ae.extend({},Di,e),this._container=_.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",function(e){return e.preventDefault()}),this.options.showZoom&&(ae.bindAll(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",function(e){return t._map.zoomIn({},{originalEvent:e})}),_.create("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden",!0),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",function(e){return t._map.zoomOut({},{originalEvent:e})}),_.create("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden",!0)),this.options.showCompass&&(ae.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",function(e){t.options.visualizePitch?t._map.resetNorthPitch({},{originalEvent:e}):t._map.resetNorth({},{originalEvent:e})}),this._compassIcon=_.create("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden",!0))};Bi.prototype._updateZoomButtons=function(){var e=this._map.getZoom();this._zoomInButton.disabled=e===this._map.getMaxZoom(),this._zoomOutButton.disabled=e===this._map.getMinZoom()},Bi.prototype._rotateCompassArrow=function(){var e=this.options.visualizePitch?"rotateX("+this._map.transform.pitch+"deg) rotateZ("+this._map.transform.angle*(180/Math.PI)+"deg)":"rotate("+this._map.transform.angle+"deg)";this._compassIcon.style.transform=e},Bi.prototype.onAdd=function(e){return this._map=e,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new M(this._map,this._compass,this.options.visualizePitch)),this._container},Bi.prototype.onRemove=function(){_.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map},Bi.prototype._createButton=function(e,t){var n=_.create("button",e,this._container);return n.type="button",n.addEventListener("click",t),n},Bi.prototype._setButtonTitle=function(e,t){var n=this._map._getUIString("NavigationControl."+t);e.title=n,e.setAttribute("aria-label",n)};var M=function(e,t,n){void 0===n&&(n=!1),this._clickTolerance=10,this.element=t,this.mouseRotate=new ii({clickTolerance:e.dragRotate._mouseRotate._clickTolerance}),this.map=e,n&&(this.mousePitch=new oi({clickTolerance:e.dragRotate._mousePitch._clickTolerance})),ae.bindAll(["mousedown","mousemove","mouseup","touchstart","touchmove","touchend","reset"],this),_.addEventListener(t,"mousedown",this.mousedown),_.addEventListener(t,"touchstart",this.touchstart,{passive:!1}),_.addEventListener(t,"touchmove",this.touchmove),_.addEventListener(t,"touchend",this.touchend),_.addEventListener(t,"touchcancel",this.reset)};function Ri(e,t,n){if(e=new ae.LngLat(e.lng,e.lat),t){var r=new ae.LngLat(e.lng-360,e.lat),i=new ae.LngLat(e.lng+360,e.lat),o=n.locationPoint(e).distSqr(t);n.locationPoint(r).distSqr(t)<o?e=r:n.locationPoint(i).distSqr(t)<o&&(e=i)}for(;Math.abs(e.lng-n.center.lng)>180;){var a=n.locationPoint(e);if(a.x>=0&&a.y>=0&&a.x<=n.width&&a.y<=n.height)break;e.lng>n.center.lng?e.lng-=360:e.lng+=360}return e}M.prototype.down=function(e,t){this.mouseRotate.mousedown(e,t),this.mousePitch&&this.mousePitch.mousedown(e,t),_.disableDrag()},M.prototype.move=function(e,t){var n=this.map,r=this.mouseRotate.mousemoveWindow(e,t);if(r&&r.bearingDelta&&n.setBearing(n.getBearing()+r.bearingDelta),this.mousePitch){var i=this.mousePitch.mousemoveWindow(e,t);i&&i.pitchDelta&&n.setPitch(n.getPitch()+i.pitchDelta)}},M.prototype.off=function(){var e=this.element;_.removeEventListener(e,"mousedown",this.mousedown),_.removeEventListener(e,"touchstart",this.touchstart,{passive:!1}),_.removeEventListener(e,"touchmove",this.touchmove),_.removeEventListener(e,"touchend",this.touchend),_.removeEventListener(e,"touchcancel",this.reset),this.offTemp()},M.prototype.offTemp=function(){_.enableDrag(),_.removeEventListener(ae.window,"mousemove",this.mousemove),_.removeEventListener(ae.window,"mouseup",this.mouseup)},M.prototype.mousedown=function(e){this.down(ae.extend({},e,{ctrlKey:!0,preventDefault:function(){return e.preventDefault()}}),_.mousePos(this.element,e)),_.addEventListener(ae.window,"mousemove",this.mousemove),_.addEventListener(ae.window,"mouseup",this.mouseup)},M.prototype.mousemove=function(e){this.move(e,_.mousePos(this.element,e))},M.prototype.mouseup=function(e){this.mouseRotate.mouseupWindow(e),this.mousePitch&&this.mousePitch.mouseupWindow(e),this.offTemp()},M.prototype.touchstart=function(e){1!==e.targetTouches.length?this.reset():(this._startPos=this._lastPos=_.touchPos(this.element,e.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return e.preventDefault()}},this._startPos))},M.prototype.touchmove=function(e){1!==e.targetTouches.length?this.reset():(this._lastPos=_.touchPos(this.element,e.targetTouches)[0],this.move({preventDefault:function(){return e.preventDefault()}},this._lastPos))},M.prototype.touchend=function(e){0===e.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)<this._clickTolerance&&this.element.click(),this.reset()},M.prototype.reset=function(){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()};var Ni={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function zi(e,t,n){var r=e.classList;for(var i in Ni)r.remove("mapboxgl-"+n+"-anchor-"+i);r.add("mapboxgl-"+n+"-anchor-"+t)}var Fi,Vi=function(b){function e(e,t){var n=this;if(b.call(this),(e instanceof ae.window.HTMLElement||t)&&(e=ae.extend({element:e},t)),ae.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=e&&e.anchor||"center",this._color=e&&e.color||"#3FB1CE",this._scale=e&&e.scale||1,this._draggable=e&&e.draggable||!1,this._state="inactive",this._rotation=e&&e.rotation||0,this._rotationAlignment=e&&e.rotationAlignment||"auto",this._pitchAlignment=e&&e.pitchAlignment&&"auto"!==e.pitchAlignment?e.pitchAlignment:this._rotationAlignment,e&&e.element)this._element=e.element,this._offset=ae.Point.convert(e&&e.offset||[0,0]);else{this._defaultMarker=!0,this._element=_.create("div"),this._element.setAttribute("aria-label","Map marker");var r=_.createNS("http://www.w3.org/2000/svg","svg");r.setAttributeNS(null,"display","block"),r.setAttributeNS(null,"height","41px"),r.setAttributeNS(null,"width","27px"),r.setAttributeNS(null,"viewBox","0 0 27 41");var i=_.createNS("http://www.w3.org/2000/svg","g");i.setAttributeNS(null,"stroke","none"),i.setAttributeNS(null,"stroke-width","1"),i.setAttributeNS(null,"fill","none"),i.setAttributeNS(null,"fill-rule","evenodd");var o=_.createNS("http://www.w3.org/2000/svg","g");o.setAttributeNS(null,"fill-rule","nonzero");var a=_.createNS("http://www.w3.org/2000/svg","g");a.setAttributeNS(null,"transform","translate(3.0, 29.0)"),a.setAttributeNS(null,"fill","#000000");for(var s=0,l=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];s<l.length;s+=1){var u=l[s],c=_.createNS("http://www.w3.org/2000/svg","ellipse");c.setAttributeNS(null,"opacity","0.04"),c.setAttributeNS(null,"cx","10.5"),c.setAttributeNS(null,"cy","5.80029008"),c.setAttributeNS(null,"rx",u.rx),c.setAttributeNS(null,"ry",u.ry),a.appendChild(c)}var f=_.createNS("http://www.w3.org/2000/svg","g");f.setAttributeNS(null,"fill",this._color);var h=_.createNS("http://www.w3.org/2000/svg","path");h.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),f.appendChild(h);var d=_.createNS("http://www.w3.org/2000/svg","g");d.setAttributeNS(null,"opacity","0.25"),d.setAttributeNS(null,"fill","#000000");var p=_.createNS("http://www.w3.org/2000/svg","path");p.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),d.appendChild(p);var y=_.createNS("http://www.w3.org/2000/svg","g");y.setAttributeNS(null,"transform","translate(6.0, 7.0)"),y.setAttributeNS(null,"fill","#FFFFFF");var m=_.createNS("http://www.w3.org/2000/svg","g");m.setAttributeNS(null,"transform","translate(8.0, 8.0)");var g=_.createNS("http://www.w3.org/2000/svg","circle");g.setAttributeNS(null,"fill","#000000"),g.setAttributeNS(null,"opacity","0.25"),g.setAttributeNS(null,"cx","5.5"),g.setAttributeNS(null,"cy","5.5"),g.setAttributeNS(null,"r","5.4999962");var v=_.createNS("http://www.w3.org/2000/svg","circle");v.setAttributeNS(null,"fill","#FFFFFF"),v.setAttributeNS(null,"cx","5.5"),v.setAttributeNS(null,"cy","5.5"),v.setAttributeNS(null,"r","5.4999962"),m.appendChild(g),m.appendChild(v),o.appendChild(a),o.appendChild(f),o.appendChild(d),o.appendChild(y),o.appendChild(m),r.appendChild(o),r.setAttributeNS(null,"height",41*this._scale+"px"),r.setAttributeNS(null,"width",27*this._scale+"px"),this._element.appendChild(r),this._offset=ae.Point.convert(e&&e.offset||[0,-14])}this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",function(e){e.preventDefault()}),this._element.addEventListener("mousedown",function(e){e.preventDefault()}),this._element.addEventListener("focus",function(){var e=n._map.getContainer();e.scrollTop=0,e.scrollLeft=0}),zi(this._element,this._anchor,"marker"),this._popup=null}return b&&(e.__proto__=b),(e.prototype=Object.create(b&&b.prototype)).constructor=e,e.prototype.addTo=function(e){return this.remove(),this._map=e,e.getCanvasContainer().appendChild(this._element),e.on("move",this._update),e.on("moveend",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this._map._markersCache&&this._map._markersCache.push(this),this},e.prototype.remove=function(){if(this._map){this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove);var e=this._map._markersCache.indexOf(this);e>-1&&this._map._markersCache.splice(e,1),delete this._map}return _.remove(this._element),this._popup&&this._popup.remove(),this},e.prototype.getLngLat=function(){return this._lngLat},e.prototype.setLngLat=function(e){return this._lngLat=ae.LngLat.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this},e.prototype.getElement=function(){return this._element},e.prototype.setPopup=function(e){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),e){if(!("offset"in e.options)){var t=Math.sqrt(Math.pow(13.5,2)/2);e.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[t,-1*(24.6+t)],"bottom-right":[-t,-1*(24.6+t)],left:[13.5,-24.6],right:[-13.5,-24.6]}:this._offset}this._popup=e,this._lngLat&&this._popup.setLngLat(this._lngLat),this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this},e.prototype._onKeyPress=function(e){var t=e.code,n=e.charCode||e.keyCode;"Space"!==t&&"Enter"!==t&&32!==n&&13!==n||this.togglePopup()},e.prototype._onMapClick=function(e){var t=e.originalEvent.target,n=this._element;this._popup&&(t===n||n.contains(t))&&this.togglePopup()},e.prototype.getPopup=function(){return this._popup},e.prototype.togglePopup=function(){var e=this._popup;return e?(e.isOpen()?e.remove():e.addTo(this._map),this):this},e.prototype._update=function(e){if(this._map){this._map.transform.renderWorldCopies&&(this._lngLat=Ri(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset);var t="";"viewport"===this._rotationAlignment||"auto"===this._rotationAlignment?t="rotateZ("+this._rotation+"deg)":"map"===this._rotationAlignment&&(t="rotateZ("+(this._rotation-this._map.getBearing())+"deg)");var n="";"viewport"===this._pitchAlignment||"auto"===this._pitchAlignment?n="rotateX(0deg)":"map"===this._pitchAlignment&&(n="rotateX("+this._map.getPitch()+"deg)"),e&&"moveend"!==e.type||(this._pos=this._pos.round()),_.setTransform(this._element,Ni[this._anchor]+" translate("+this._pos.x+"px, "+this._pos.y+"px) "+n+" "+t)}},e.prototype.getOffset=function(){return this._offset},e.prototype.setOffset=function(e){return this._offset=ae.Point.convert(e),this._update(),this},e.prototype._onMove=function(e){this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new ae.Event("dragstart"))),this.fire(new ae.Event("drag"))},e.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new ae.Event("dragend")),this._state="inactive"},e.prototype._addDragHandler=function(e){this._element.contains(e.originalEvent.target)&&(e.preventDefault(),this._positionDelta=e.point.sub(this._pos).add(this._offset),this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},e.prototype.setDraggable=function(e){return this._draggable=!!e,this._map&&(e?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},e.prototype.isDraggable=function(){return this._draggable},e.prototype.setRotation=function(e){return this._rotation=e||0,this._update(),this},e.prototype.getRotation=function(){return this._rotation},e.prototype.setRotationAlignment=function(e){return this._rotationAlignment=e||"auto",this._update(),this},e.prototype.getRotationAlignment=function(){return this._rotationAlignment},e.prototype.setPitchAlignment=function(e){return this._pitchAlignment=e&&"auto"!==e?e:this._rotationAlignment,this._update(),this},e.prototype.getPitchAlignment=function(){return this._pitchAlignment},e}(ae.Evented),Hi={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},Yi=0,Gi=!1,Ui=function(t){function e(e){t.call(this),this.options=ae.extend({},Hi,e),ae.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.onAdd=function(e){var t;return this._map=e,this._container=_.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),t=this._setupUI,void 0!==Fi?t(Fi):void 0!==ae.window.navigator.permissions?ae.window.navigator.permissions.query({name:"geolocation"}).then(function(e){t(Fi="denied"!==e.state)}):t(Fi=!!ae.window.navigator.geolocation),this._container},e.prototype.onRemove=function(){void 0!==this._geolocationWatchID&&(ae.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),_.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,Yi=0,Gi=!1},e.prototype._isOutOfMapMaxBounds=function(e){var t=this._map.getMaxBounds(),n=e.coords;return t&&(n.longitude<t.getWest()||n.longitude>t.getEast()||n.latitude<t.getSouth()||n.latitude>t.getNorth())},e.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},e.prototype._onSuccess=function(e){if(this._map){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new ae.Event("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new ae.Event("geolocate",e)),this._finish()}},e.prototype._updateCamera=function(e){var t=new ae.LngLat(e.coords.longitude,e.coords.latitude),n=e.coords.accuracy,r=this._map.getBearing(),i=ae.extend({bearing:r},this.options.fitBoundsOptions);this._map.fitBounds(t.toBounds(n),i,{geolocateSource:!0})},e.prototype._updateMarker=function(e){if(e){var t=new ae.LngLat(e.coords.longitude,e.coords.latitude);this._accuracyCircleMarker.setLngLat(t).addTo(this._map),this._userLocationDotMarker.setLngLat(t).addTo(this._map),this._accuracy=e.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},e.prototype._updateCircleRadius=function(){var e=this._map._container.clientHeight/2,t=this._map.unproject([0,e]),n=this._map.unproject([1,e]),r=t.distanceTo(n),i=Math.ceil(2*this._accuracy/r);this._circleElement.style.width=i+"px",this._circleElement.style.height=i+"px"},e.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},e.prototype._onError=function(e){if(this._map){if(this.options.trackUserLocation)if(1===e.code){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var t=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=t,this._geolocateButton.setAttribute("aria-label",t),void 0!==this._geolocationWatchID&&this._clearWatch()}else{if(3===e.code&&Gi)return;this._setErrorState()}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new ae.Event("error",e)),this._finish()}},e.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},e.prototype._setupUI=function(e){var t=this;if(this._container.addEventListener("contextmenu",function(e){return e.preventDefault()}),this._geolocateButton=_.create("button","mapboxgl-ctrl-geolocate",this._container),_.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",!1===e){ae.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var n=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=n,this._geolocateButton.setAttribute("aria-label",n)}else{var r=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=r,this._geolocateButton.setAttribute("aria-label",r)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=_.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new Vi(this._dotElement),this._circleElement=_.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new Vi({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(e){e.geolocateSource||"ACTIVE_LOCK"!==t._watchState||e.originalEvent&&"resize"===e.originalEvent.type||(t._watchState="BACKGROUND",t._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),t._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),t.fire(new ae.Event("trackuserlocationend")))})},e.prototype.trigger=function(){if(!this._setup)return ae.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new ae.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Yi--,Gi=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new ae.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new ae.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){var e;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Yi>1?(e={maximumAge:6e5,timeout:0},Gi=!0):(e=this.options.positionOptions,Gi=!1),this._geolocationWatchID=ae.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,e)}}else ae.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},e.prototype._clearWatch=function(){ae.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},e}(ae.Evented),Qi={maxWidth:100,unit:"metric"},Wi=function(e){this.options=ae.extend({},Qi,e),ae.bindAll(["_onMove","setUnit"],this)};function qi(e,t,n){var r=n&&n.maxWidth||100,i=e._container.clientHeight/2,o=e.unproject([0,i]),a=e.unproject([r,i]),s=o.distanceTo(a);if(n&&"imperial"===n.unit){var l=3.2808*s;l>5280?Ki(t,r,l/5280,e._getUIString("ScaleControl.Miles")):Ki(t,r,l,e._getUIString("ScaleControl.Feet"))}else n&&"nautical"===n.unit?Ki(t,r,s/1852,e._getUIString("ScaleControl.NauticalMiles")):s>=1e3?Ki(t,r,s/1e3,e._getUIString("ScaleControl.Kilometers")):Ki(t,r,s,e._getUIString("ScaleControl.Meters"))}function Ki(e,t,n,r){var i,o,a,s=(i=n,(o=Math.pow(10,(""+Math.floor(i)).length-1))*(a=(a=i/o)>=10?10:a>=5?5:a>=3?3:a>=2?2:a>=1?1:function(e){var t=Math.pow(10,Math.ceil(-Math.log(e)/Math.LN10));return Math.round(e*t)/t}(a)));e.style.width=t*(s/n)+"px",e.innerHTML=s+" "+r}Wi.prototype.getDefaultPosition=function(){return"bottom-left"},Wi.prototype._onMove=function(){qi(this._map,this._container,this.options)},Wi.prototype.onAdd=function(e){return this._map=e,this._container=_.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",e.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Wi.prototype.onRemove=function(){_.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},Wi.prototype.setUnit=function(e){this.options.unit=e,qi(this._map,this._container,this.options)};var P=function(e){this._fullscreen=!1,e&&e.container&&(e.container instanceof ae.window.HTMLElement?this._container=e.container:ae.warnOnce("Full screen control 'container' must be a DOM element.")),ae.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in ae.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in ae.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in ae.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in ae.window.document&&(this._fullscreenchange="MSFullscreenChange")};P.prototype.onAdd=function(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=_.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",ae.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},P.prototype.onRemove=function(){_.remove(this._controlContainer),this._map=null,ae.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},P.prototype._checkFullscreenSupport=function(){return!!(ae.window.document.fullscreenEnabled||ae.window.document.mozFullScreenEnabled||ae.window.document.msFullscreenEnabled||ae.window.document.webkitFullscreenEnabled)},P.prototype._setupUI=function(){var e=this._fullscreenButton=_.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);_.create("span","mapboxgl-ctrl-icon",e).setAttribute("aria-hidden",!0),e.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),ae.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},P.prototype._updateTitle=function(){var e=this._getTitle();this._fullscreenButton.setAttribute("aria-label",e),this._fullscreenButton.title=e},P.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},P.prototype._isFullscreen=function(){return this._fullscreen},P.prototype._changeIcon=function(){(ae.window.document.fullscreenElement||ae.window.document.mozFullScreenElement||ae.window.document.webkitFullscreenElement||ae.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},P.prototype._onClickFullscreen=function(){this._isFullscreen()?ae.window.document.exitFullscreen?ae.window.document.exitFullscreen():ae.window.document.mozCancelFullScreen?ae.window.document.mozCancelFullScreen():ae.window.document.msExitFullscreen?ae.window.document.msExitFullscreen():ae.window.document.webkitCancelFullScreen&&ae.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var Xi={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px",showArrow:!0,contentClass:null},Ji=function(t){function e(e){t.call(this),this.options=ae.extend(Object.create(Xi),e),ae.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.addTo=function(e){return this._map&&this.remove(),this._map=e,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new ae.Event("open")),this},e.prototype.isOpen=function(){return!!this._map},e.prototype.remove=function(){return this._content&&_.remove(this._content),this._container&&(_.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new ae.Event("close")),this},e.prototype.getLngLat=function(){return this._lngLat},e.prototype.setLngLat=function(e){return this._lngLat=ae.LngLat.convert(e),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},e.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},e.prototype.getElement=function(){return this._container},e.prototype.setText=function(e){return this.setDOMContent(ae.window.document.createTextNode(e))},e.prototype.setHTML=function(e){var t,n=ae.window.document.createDocumentFragment(),r=ae.window.document.createElement("body");for(r.innerHTML=e;t=r.firstChild;)n.appendChild(t);return this.setDOMContent(n)},e.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},e.prototype.setMaxWidth=function(e){return this.options.maxWidth=e,this._update(),this},e.prototype.setDOMContent=function(e){return this._createContent(),this._content.appendChild(e),this._update(),this},e.prototype.addClassName=function(e){this._container&&this._container.classList.add(e)},e.prototype.removeClassName=function(e){this._container&&this._container.classList.remove(e)},e.prototype.toggleClassName=function(e){if(this._container)return this._container.classList.toggle(e)},e.prototype._createContent=function(){this._content&&_.remove(this._content),this._content=_.create("div","mapboxgl-popup-content"+(this.options.contentClass?" "+this.options.contentClass:""),this._container),this.options.closeButton&&(this._closeButton=_.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},e.prototype._onMouseUp=function(e){this._update(e.point)},e.prototype._onMouseMove=function(e){this._update(e.point)},e.prototype._onDrag=function(e){this._update(e.point)},e.prototype._update=function(e){var t=this;if(this._map&&(this._lngLat||this._trackPointer)&&this._content&&(this._container||(this._container=_.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=_.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(e){return t._container.classList.add(e)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Ri(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||e)){var n=this._pos=this._trackPointer&&e?e:this._map.project(this._lngLat),r=this.options.anchor,i=function e(t){if(t){if("number"==typeof t){var n=Math.round(Math.sqrt(.5*Math.pow(t,2)));return{center:new ae.Point(0,0),top:new ae.Point(0,t),"top-left":new ae.Point(n,n),"top-right":new ae.Point(-n,n),bottom:new ae.Point(0,-t),"bottom-left":new ae.Point(n,-n),"bottom-right":new ae.Point(-n,-n),left:new ae.Point(t,0),right:new ae.Point(-t,0)}}if(t instanceof ae.Point||Array.isArray(t)){var r=ae.Point.convert(t);return{center:r,top:r,"top-left":r,"top-right":r,bottom:r,"bottom-left":r,"bottom-right":r,left:r,right:r}}return{center:ae.Point.convert(t.center||[0,0]),top:ae.Point.convert(t.top||[0,0]),"top-left":ae.Point.convert(t["top-left"]||[0,0]),"top-right":ae.Point.convert(t["top-right"]||[0,0]),bottom:ae.Point.convert(t.bottom||[0,0]),"bottom-left":ae.Point.convert(t["bottom-left"]||[0,0]),"bottom-right":ae.Point.convert(t["bottom-right"]||[0,0]),left:ae.Point.convert(t.left||[0,0]),right:ae.Point.convert(t.right||[0,0])}}return e(new ae.Point(0,0))}(this.options.offset);if(!r){var o,a=this._container.offsetWidth,s=this._container.offsetHeight;o=n.y+i.bottom.y<s?["top"]:n.y>this._map.transform.height-s?["bottom"]:[],n.x<a/2?o.push("left"):n.x>this._map.transform.width-a/2&&o.push("right"),r=0===o.length?"bottom":o.join("-")}var l=n.add(i[r]).round();_.setTransform(this._container,Ni[r]+" translate("+l.x+"px,"+l.y+"px)"),zi(this._container,r,"popup")}},e.prototype._onClose=function(){this.remove()},e}(ae.Evented),$i={version:ae.version,supported:k,setRTLTextPlugin:ae.setRTLTextPlugin,getRTLTextPluginStatus:ae.getRTLTextPluginStatus,Map:Li,NavigationControl:Bi,GeolocateControl:Ui,AttributionControl:Ci,ScaleControl:Wi,FullscreenControl:P,Popup:Ji,Marker:Vi,Style:fn,CRS:E,LngLat:ae.LngLat,LngLatBounds:ae.LngLatBounds,Point:ae.Point,MercatorCoordinate:ae.MercatorCoordinate,Evented:ae.Evented,config:ae.config,prewarm:function(){ft().acquire(st)},clearPrewarmedResources:function(){var e=ut;e&&(e.isPreloaded()&&1===e.numActive()?(e.release(st),ut=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return ae.config.ACCESS_TOKEN},set accessToken(e){ae.config.ACCESS_TOKEN=e},get baseApiUrl(){return ae.config.API_URL},set baseApiUrl(e){ae.config.API_URL=e},get workerCount(){return lt.workerCount},set workerCount(e){lt.workerCount=e},get maxParallelImageRequests(){return ae.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(e){ae.config.MAX_PARALLEL_IMAGE_REQUESTS=e},clearStorage:function(e){ae.clearTileCache(e)},workerUrl:""};return $i}),window)window.mapboxgl=Zi;return Zi}()},QuB8:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.iconTypes=t.default=void 0,r(n("DGO/"))),o=r(n("TFue")),a=r(n("WlrG")),r=r(n("ET/Y")),s=n("e7LN"),n={tabIndex:r.default.number,type:r.default.string.def("info"),component:r.default.any,viewBox:r.default.any,spin:r.default.bool.def(!1),rotate:r.default.number,theme:r.default.oneOf(["filled","outlined","twoTone"]).def("outlined"),twoToneColor:r.default.string,role:r.default.string,iconStyle:r.default.object,iconClass:r.default.string,autoPrefix:r.default.bool.def(!0)},r=(t.iconTypes=n,{name:"SmIcon",defaultComponent:i.default,mixins:[o.default,a.default],props:n,computed:{customIconClass:function(){return this.autoPrefix?"sm-components-icon-"+this.iconClass:this.iconClass},iconProps:function(){return(0,s.objectWithoutProperties)(this.componentProps,["iconStyle","iconClass","autoPrefix"])}},render:function(e){var t;return t=this.iconClass?e("i",{class:this.customIconClass}):e(this.getComponentInstance(),{props:this.iconProps,attrs:this.$attrs,on:this.componentListeners,scopedSlots:this.$scopedSlots},this.renderChildren()),e("div",{class:"sm-component-icon",style:this.iconStyle},[t])}});t.default=r},QwkK:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("W8MJ"))),o=r(n("VbXa")),a=r(n("TFue")),s=r(n("LGoc")),l=r(n("tnDp")),u=n("2qPA"),c=n("YKMj"),f=r(n("XaGS")),h=r(n("9/5/")),d=n("QG5D"),r=(n("4l1m"),function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}),n=function(t){function e(){var e=t.apply(this,arguments)||this;return e.isRefresh=!0,e.manualUpdateProps=["speed","loop","grabCursor","scrollbar","effect","navigation","pagination","autoplay","direction"],e.activeIndexData=0,e.loopedSlides=3,e}(0,o.default)(e,t);var n=e.prototype;return n.activeIndexChanged=function(e){this._getChildrenLength()-1<e?console.error("ActiveIndex is greater than the total number of slides"):this._activeIndexChangedHandler(e||0)},n.mousewheelChanged=function(e){e?this.swiper.mousewheel.enable():this.swiper.mousewheel.disable()},n.keyboardChanged=function(e){e?this.swiper.keyboard.enable():this.swiper.keyboard.disable()},n.autoResizeChanged=function(){this.autoResizeHandler()},n.created=function(){this.activeIndexData=this.defaultActiveIndex||this.activeIndex},n.mounted=function(){this.swiper=this.$refs.mySwiper.$swiper,this.watchOptions(),this.autoResizeHandler()},n.beforeDestroy=function(){(0,d.removeListener)(this.$el,this.__resizeHandler)},n.slideChange=function(){var e={progress:this.swiper.progress,activeIndex:this.swiper.activeIndex,realIndex:this.swiper.realIndex,previousIndex:this.swiper.previousIndex};this.$emit("change",e),this.$emit("indexChange",this.swiper.realIndex),this.activeIndexData=this.swiper.realIndex},n._activeIndexChangedHandler=function(e){var t=this.activeIndexData;if(t!==e){if(this.activeIndexData=e,this.loop){t=this._getChangeType(e,t);if(["next","loopToFirst"].includes(t))return void this.next();if(["prev","loopToLast"].includes(t))return void this.prev()}this.goTo(e,this.speed)}},n._getChangeType=function(e,t){var n=this._getChildrenLength(),r=e-t;return 1==r?"next":-1==r?"prev":t===n-1&&0===e?"loopToFirst":0===t&&e===n-1?"loopToLast":"jump"},n._observerUpdate=function(e,t){"childList"===t.type&&(this.goTo(this.activeIndexData,0),this.$emit("childrenlistchange"))},n._reload=function(){var e=this;this.isRefresh=!1,this.$nextTick(function(){e.isRefresh=!0,e.$nextTick(function(){e.swiper=e.$refs.mySwiper.$swiper})})},n._getChildrenLength=function(){return(0,u.filterEmpty)(this.$slots.default).length},n.next=function(e){this.swiper.slideNext(e)},n.prev=function(e){this.swiper.slidePrev(e)},n.goTo=function(e,t){this.swiper&&(this.loop?this.swiper.slideToLoop(e,t):this.swiper.slideTo(e,t))},n.autoplayStop=function(){this.autoplay&&this.swiper.autoplay.stop()},n.autoplayStart=function(){this.autoplay&&this.swiper.autoplay.start()},n.resize=function(){this.swiper&&this.swiper.update(!0)},n.watchOptions=function(){var t=this;this.manualUpdateProps.forEach(function(e){t.$watch(e,function(e,t){(0,f.default)(e,t)||this._reload()},{deep:!0})})},n.autoResizeHandler=function(){var e=this;this.autoresize&&(this.__resizeHandler=(0,h.default)(function(){e.resize()},100,{leading:!0}),(0,d.addListener)(this.$el,this.__resizeHandler))},n.handlerNamedSlot=function(e,t){var n=!!this.$slots[e];return t(n?"template":"div",{class:"swiper-"+e,slot:e},n?this.$slots[e]:"")},n.render=function(e){var t=[],n=(0,u.filterEmpty)(this.$slots.default);return n&&n.length&&n.forEach(function(e){(0,u.getSlotOptions)(e).__SM_SLIDESHOW_ITEM?t.push(e):console.error("Only accepts Slideshow.Item as Slideshow's children")}),this.pagination&&t.push(this.handlerNamedSlot("pagination",e)),this.scrollbar&&t.push(this.handlerNamedSlot("scrollbar",e)),this.navigation&&t.push(this.handlerNamedSlot("button-prev",e),this.handlerNamedSlot("button-next",e)),e("sm-collapse-card",{class:"sm-component-slideshow",props:{iconClass:this.iconClass,iconPosition:this.position,headerName:this.headerName,autoRotate:this.autoRotate,collapsed:this.collapsed,background:this.background,textColor:this.textColor,splitLine:this.splitLine}},[e("div",{class:"sm-component-slideshow__content",on:{mouseover:this.autoplayStop,mouseout:this.autoplayStart}},[this.isRefresh?e(s.default,{domProps:{realIndex:this.activeIndex},props:{options:this.swiperOptions},on:{slideChange:this.slideChange,observerUpdate:this._observerUpdate},ref:"mySwiper"},t):null])])},(0,i.default)(e,[{key:"autoplayParameter",get:function(){return"object"==typeof this.autoplay?Object.assign(Object.assign({},this.autoplay),{disableOnInteraction:!1}):this.autoplay}},{key:"swiperOptions",get:function(){var e={initialSlide:this.defaultActiveIndex,direction:this.direction,speed:this.speed,loop:this.loop,loopedSlides:this.loopedSlides,grabCursor:this.grabCursor,mousewheel:this.mousewheel,keyboard:this.keyboard,autoplay:this.autoplayParameter,effect:this.effect,observer:!0,observeParents:!0,observeSlideChildren:!0};return this.navigation&&(e.navigation=this.navigation),this.pagination&&(e.pagination=this.pagination),this.scrollbar&&(e.scrollbar=this.scrollbar),e}}]),e}((0,c.Mixins)(a.default,l.default));r([(0,c.Prop)()],n.prototype,"activeIndex",void 0),r([(0,c.Prop)({default:0})],n.prototype,"defaultActiveIndex",void 0),r([(0,c.Prop)({default:"horizontal"})],n.prototype,"direction",void 0),r([(0,c.Prop)({default:300})],n.prototype,"speed",void 0),r([(0,c.Prop)({default:!0})],n.prototype,"loop",void 0),r([(0,c.Prop)({default:!1})],n.prototype,"mousewheel",void 0),r([(0,c.Prop)({default:!1})],n.prototype,"keyboard",void 0),r([(0,c.Prop)()],n.prototype,"navigation",void 0),r([(0,c.Prop)()],n.prototype,"pagination",void 0),r([(0,c.Prop)()],n.prototype,"scrollbar",void 0),r([(0,c.Prop)({default:!0})],n.prototype,"grabCursor",void 0),r([(0,c.Prop)()],n.prototype,"autoplay",void 0),r([(0,c.Prop)({default:!0})],n.prototype,"autoresize",void 0),r([(0,c.Prop)({default:"slide"})],n.prototype,"effect",void 0),r([(0,c.Prop)({default:"sm-components-icon-swipe"})],n.prototype,"iconClass",void 0),r([(0,c.Prop)({default:function(){return this.$t("slideshow.title")}})],n.prototype,"headerName",void 0),r([(0,c.Watch)("activeIndex")],n.prototype,"activeIndexChanged",null),r([(0,c.Watch)("mousewheel")],n.prototype,"mousewheelChanged",null),r([(0,c.Watch)("keyboard")],n.prototype,"keyboardChanged",null),r([(0,c.Watch)("autoresize")],n.prototype,"autoResizeChanged",null),n=r([(0,c.Component)({name:"SmSlideshow",model:{prop:"activeIndex",event:"indexChange"}})],n);t.default=n},"R+7+":function(e,t,n){var s=n("w6GO"),l=n("mqlF"),u=n("NV0k");e.exports=function(e){var t=s(e),n=l.f;if(n)for(var r,i=n(e),o=u.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t}},R7NE:function(e,t,n){"use strict";n.r(t);var r,i=n("QqhC"),o=n("6sEm");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},RAwQ:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));if(i(t))return"a "+e;return"an "+e}function r(e){var t=e.substr(0,e.indexOf(" "));if(i(t))return"viru "+e;return"virun "+e}function i(e){e=parseInt(e,10);if(isNaN(e))return false;if(e<0)return true;else if(e<10){if(4<=e&&e<=7)return true;return false}else if(e<100){var t=e%10,n=e/10;if(t===0)return i(n);return i(t)}else if(e<1e4){while(e>=10)e=e/10;return i(e)}else{e=e/1e3;return i(e)}}var o;e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:true,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RBan:function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},RSx8:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("jo6Y"),y=n.n(r),r=n("QbLZ"),m=n.n(r),g=n("Xvvz"),r=n("uSu3"),i=n("g6so"),v=n("wbPi"),o=n("TZE5"),b=n("2qPA"),a=n("HRl5"),s=n("TfX5"),_=n("DGO/"),n=Object(r.default)(),r=Object(a.a)(),x=g.a.Group,l=m()({},i.ButtonGroupProps,r,{type:o.a.oneOf(["primary","ghost","dashed","danger","default"]).def("default"),size:o.a.oneOf(["small","large","default"]).def("default"),htmlType:n.htmlType,href:o.a.string,disabled:o.a.bool,prefixCls:o.a.string,placement:r.placement.def("bottomRight"),icon:o.a.any,title:o.a.string});t.b={name:"ADropdownButton",model:{prop:"visible",event:"visibleChange"},props:l,provide:function(){return{savePopupRef:this.savePopupRef}},inject:{configProvider:{default:function(){return s.a}}},methods:{savePopupRef:function(e){this.popupRef=e},onClick:function(e){this.$emit("click",e)},onVisibleChange:function(e){this.$emit("visibleChange",e)}},render:function(){var e=arguments[0],t=this.$props,n=t.type,r=t.disabled,i=t.htmlType,o=t.prefixCls,a=t.trigger,s=t.align,l=t.visible,u=t.placement,c=t.getPopupContainer,f=t.href,h=t.title,t=y()(t,["type","disabled","htmlType","prefixCls","trigger","align","visible","placement","getPopupContainer","href","title"]),d=Object(b.getComponentFromProp)(this,"icon")||e(_.default,{attrs:{type:"ellipsis"}}),p=this.configProvider.getPopupContainer,o=(0,this.configProvider.getPrefixCls)("dropdown-button",o),s={props:{align:s,disabled:r,trigger:r?[]:a,placement:u,getPopupContainer:c||p},on:{visibleChange:this.onVisibleChange}},a=(Object(b.hasProp)(this,"visible")&&(s.props.visible=l),{props:m()({},t),class:o});return e(x,a,[e(g.a,{attrs:{type:n,disabled:r,htmlType:i,href:f,title:h},on:{click:this.onClick}},[this.$slots.default]),e(v.b,s,[e("template",{slot:"overlay"},[Object(b.getComponentFromProp)(this,"overlay")]),e(g.a,{attrs:{type:n}},[d])])])}}},"RU/L":function(e,t,n){n("Rqdy");var r=n("WEpk").Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},"RXj+":function(e,t,n){"use strict";function r(t){return function(e){e=a(o(e));return 1&t&&(e=s(e,l,"")),e=2&t?s(e,u,"$1"):e}}var i=n("aLaa"),o=n("XaNE"),a=n("qzpy"),n=n("noWC"),s=i("".replace),l=RegExp("^["+n+"]+"),u=RegExp("(^|[^"+n+"])["+n+"]+$");e.exports={start:r(1),end:r(2),trim:r(3)}},RYfq:function(e,t,n){"use strict";var r=n("Ks5W"),i=n("JTf3");e.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},RaCF:function(e,t,n){"use strict";n.r(t);var r,i=n("sTJb"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},RapV:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),r=r(n("i7/w")),o=n("YKMj"),n=n("w0Wi"),a=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},r=function(t){function e(){var e=t.apply(this,arguments)||this;return e.colors="",e.colorValue="",e.displayPicker=!1,e}(0,i.default)(e,t);var n=e.prototype;return n.valueChanged=function(){this.value!==this.colorValue&&this.setColor(this.value)},n.change=function(){return this.colorValue},n.created=function(){this.setColor(this.value),document.addEventListener("click",this.documentClick)},n.beforeDestroy=function(){document.removeEventListener("click",this.documentClick)},n.setColor=function(e){this.updateColors(e=void 0===e?"":e),this.colorValue=e},n.updateColors=function(e){var t;/^#.+/.test(e)?this.colors={hex:e}:/^rgba.+/.test(e)&&(e=e.replace(/^rgba?\(|\s+|\)$/g,"").split(","),t="#"+((1<<24)+(parseInt(e[0])<<16)+(parseInt(e[1])<<8)+parseInt(e[2])).toString(16).slice(1),this.colors={hex:t,a:e[3]})},n.togglePicker=function(){this.displayPicker=!this.displayPicker},n.updateFromPicker=function(e){1===(this.colors=e).rgba.a?this.colorValue=e.hex:this.colorValue="rgba("+e.rgba.r+", "+e.rgba.g+", "+e.rgba.b+", "+e.rgba.a+")",this.change()},n.deleteColor=function(){this.colorValue="",this.colors="",this.change()},n.documentClick=function(e){var t=this.$refs.colorpicker,e=e.target;this.displayPicker&&t&&t!==e&&!t.contains(e)&&this.togglePicker()},e}(r.default);a([(0,o.Prop)({default:""})],r.prototype,"value",void 0),a([(0,o.Prop)({default:!0})],r.prototype,"deleteIcon",void 0),a([(0,o.Watch)("value")],r.prototype,"valueChanged",null),a([(0,o.Emit)()],r.prototype,"change",null),r=a([(0,o.Component)({name:"SmColorPicker",components:{"chrome-picker":n.Chrome},model:{prop:"value",event:"change"}})],r);t.default=r},RfKB:function(e,t,n){var r=n("2faE").f,i=n("B+OT"),o=n("UWiX")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},RhGR:function(e,t,n){"use strict";var r=n("eRwv"),i=n("Ks5W").RegExp,n=r(function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),o=n||r(function(){return!i("a","y").sticky}),r=n||r(function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")});e.exports={BROKEN_CARET:r,MISSED_STICKY:o,UNSUPPORTED_Y:n}},RnhZ:function(e,t,n){var r={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function i(e){e=o(e);return n(e)}function o(e){if(n.o(r,e))return r[e];throw(e=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",e}i.keys=function(){return Object.keys(r)},i.resolve=o,(e.exports=i).id="RnhZ"},Rp86:function(e,t,n){n("bBy9"),n("FlQf"),e.exports=n("fXsU")},RpAZ:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.groupTypes=t.default=void 0,r(n("PXyI"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={name:o.default.string,defaultValue:o.default.array,value:o.default.array,options:o.default.array,disabled:o.default.bool},o=(t.groupTypes=n,{name:"SmCheckboxGroup",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"value",event:"change"},props:n,computed:{extralListeners:function(){var t=this;return{change:function(e){t.$emit("change",e)}}}}});t.default=o},Rqdy:function(e,t,n){var r=n("Y7ZC");r(r.S+r.F*!n("jmDH"),"Object",{defineProperty:n("2faE").f})},"Rs/M":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={install:function(r){var o=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).name||"ref";r.directive(o,{bind:function(e,t,n){r.nextTick(function(){t.value(n.componentInstance||e,n.key)}),t.value(n.componentInstance||e,n.key)},update:function(e,t,n,r){if(r.data&&r.data.directives){var i=r.data.directives.find(function(e){return e.name===o});if(i&&i.value!==t.value)return i&&i.value(null,r.key),void t.value(n.componentInstance||e,n.key)}n.componentInstance===r.componentInstance&&n.elm===r.elm||t.value(n.componentInstance||e,n.key)},unbind:function(e,t,n){t.value(null,n.key)}})}}},"S/ht":function(e,t,n){"use strict";t.a={name:"MenuDivider",props:{disabled:{type:Boolean,default:!0},rootPrefixCls:String},render:function(){return(0,arguments[0])("li",{class:this.$props.rootPrefixCls+"-item-divider"})}}},S2v7:function(e,t,n){"use strict";n.r(t);var r=n("TZE5"),o=n("2qPA"),i=n("TfX5"),a=n("wbPi"),s=n("DGO/");t.default={name:"ABreadcrumbItem",__ANT_BREADCRUMB_ITEM:!0,props:{prefixCls:r.a.string,href:r.a.string,separator:r.a.any.def("/"),overlay:r.a.any},inject:{configProvider:{default:function(){return i.a}}},methods:{renderBreadcrumbNode:function(e,t){var n=this.$createElement,r=Object(o.getComponentFromProp)(this,"overlay");return r?n(a.b,{attrs:{overlay:r,placement:"bottomCenter"}},[n("span",{class:t+"-overlay-link"},[e,n(s.default,{attrs:{type:"down"}})])]):e}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.$slots,t=(0,this.configProvider.getPrefixCls)("breadcrumb",t),r=Object(o.getComponentFromProp)(this,"separator"),n=n.default,i=void 0,i=Object(o.hasProp)(this,"href")?e("a",{class:t+"-link"},[n]):e("span",{class:t+"-link"},[n]);return i=this.renderBreadcrumbNode(i,t),n?e("span",[i,r&&""!==r&&e("span",{class:t+"-separator"},[r])]):null}}},S6ln:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n){var r=e+" ";switch(n){case"ss":if(e===1)r+="sekunda";else if(e===2||e===3||e===4)r+="sekunde";else r+="sekundi";return r;case"m":return t?"jedna minuta":"jedne minute";case"mm":if(e===1)r+="minuta";else if(e===2||e===3||e===4)r+="minute";else r+="minuta";return r;case"h":return t?"jedan sat":"jednog sata";case"hh":if(e===1)r+="sat";else if(e===2||e===3||e===4)r+="sata";else r+="sati";return r;case"dd":if(e===1)r+="dan";else r+="dana";return r;case"MM":if(e===1)r+="mjesec";else if(e===2||e===3||e===4)r+="mjeseca";else r+="mjeseci";return r;case"yy":if(e===1)r+="godina";else if(e===2||e===3||e===4)r+="godine";else r+="godina";return r}}var n;e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:true,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},S6t5:function(e,t,n){"use strict";var r=n("TqRt"),c=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("/xfr")),f=r(n("Jq2x")),s=n("cKS0");function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={getDistanceBetweenTouches:function(e){var t,n,r;return e.targetTouches.length<2?1:(t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,r=e.targetTouches[1].pageX,e=e.targetTouches[1].pageY,Math.sqrt(Math.pow(r-t,2)+Math.pow(e-n,2)))},onGestureStart:function(e){var t=this.support,n=this.params.zoom,r=this.zoom,i=r.gesture;if(r.fakeGestureTouched=!1,r.fakeGestureMoved=!1,!t.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;r.fakeGestureTouched=!0,i.scaleStart=a.getDistanceBetweenTouches(e)}i.$slideEl&&i.$slideEl.length||(i.$slideEl=(0,f.default)(e.target).closest("."+this.params.slideClass),0===i.$slideEl.length&&(i.$slideEl=this.slides.eq(this.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+n.containerClass),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==i.$imageWrapEl.length)?(i.$imageEl&&i.$imageEl.transition(0),this.zoom.isScaling=!0):i.$imageEl=void 0},onGestureChange:function(e){var t=this.support,n=this.params.zoom,r=this.zoom,i=r.gesture;if(!t.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;r.fakeGestureMoved=!0,i.scaleMove=a.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length?(t.gestures?r.scale=e.scale*r.currentScale:r.scale=i.scaleMove/i.scaleStart*r.currentScale,r.scale>i.maxRatio&&(r.scale=i.maxRatio-1+Math.pow(r.scale-i.maxRatio+1,.5)),r.scale<n.minRatio&&(r.scale=n.minRatio+1-Math.pow(n.minRatio-r.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+r.scale+")")):"gesturechange"===e.type&&r.onGestureStart(e)},onGestureEnd:function(e){var t=this.device,n=this.support,r=this.params.zoom,i=this.zoom,o=i.gesture;if(!n.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!t.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}o.$imageEl&&0!==o.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,o.maxRatio),r.minRatio),o.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale)&&(o.$slideEl=void 0)},onTouchStart:function(e){var t=this.device,n=this.zoom,r=n.gesture,n=n.image;r.$imageEl&&0!==r.$imageEl.length&&!n.isTouched&&(t.android&&e.cancelable&&e.preventDefault(),n.isTouched=!0,n.touchesStart.x=("touchstart"===e.type?e.targetTouches[0]:e).pageX,n.touchesStart.y=("touchstart"===e.type?e.targetTouches[0]:e).pageY)},onTouchMove:function(e){var t=this.zoom,n=t.gesture,r=t.image,i=t.velocity;if(n.$imageEl&&0!==n.$imageEl.length&&(this.allowClick=!1,r.isTouched)&&n.$slideEl){r.isMoved||(r.width=n.$imageEl[0].offsetWidth,r.height=n.$imageEl[0].offsetHeight,r.startX=(0,s.getTranslate)(n.$imageWrapEl[0],"x")||0,r.startY=(0,s.getTranslate)(n.$imageWrapEl[0],"y")||0,n.slideWidth=n.$slideEl[0].offsetWidth,n.slideHeight=n.$slideEl[0].offsetHeight,n.$imageWrapEl.transition(0));var o=r.width*t.scale,a=r.height*t.scale;if(!(o<n.slideWidth&&a<n.slideHeight)){if(r.minX=Math.min(n.slideWidth/2-o/2,0),r.maxX=-r.minX,r.minY=Math.min(n.slideHeight/2-a/2,0),r.maxY=-r.minY,r.touchesCurrent.x=("touchmove"===e.type?e.targetTouches[0]:e).pageX,r.touchesCurrent.y=("touchmove"===e.type?e.targetTouches[0]:e).pageY,!r.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(r.minX)===Math.floor(r.startX)&&r.touchesCurrent.x<r.touchesStart.x||Math.floor(r.maxX)===Math.floor(r.startX)&&r.touchesCurrent.x>r.touchesStart.x))return void(r.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(r.minY)===Math.floor(r.startY)&&r.touchesCurrent.y<r.touchesStart.y||Math.floor(r.maxY)===Math.floor(r.startY)&&r.touchesCurrent.y>r.touchesStart.y))return void(r.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),r.isMoved=!0,r.currentX=r.touchesCurrent.x-r.touchesStart.x+r.startX,r.currentY=r.touchesCurrent.y-r.touchesStart.y+r.startY,r.currentX<r.minX&&(r.currentX=r.minX+1-Math.pow(r.minX-r.currentX+1,.8)),r.currentX>r.maxX&&(r.currentX=r.maxX-1+Math.pow(r.currentX-r.maxX+1,.8)),r.currentY<r.minY&&(r.currentY=r.minY+1-Math.pow(r.minY-r.currentY+1,.8)),r.currentY>r.maxY&&(r.currentY=r.maxY-1+Math.pow(r.currentY-r.maxY+1,.8)),i.prevPositionX||(i.prevPositionX=r.touchesCurrent.x),i.prevPositionY||(i.prevPositionY=r.touchesCurrent.y),i.prevTime||(i.prevTime=Date.now()),i.x=(r.touchesCurrent.x-i.prevPositionX)/(Date.now()-i.prevTime)/2,i.y=(r.touchesCurrent.y-i.prevPositionY)/(Date.now()-i.prevTime)/2,Math.abs(r.touchesCurrent.x-i.prevPositionX)<2&&(i.x=0),Math.abs(r.touchesCurrent.y-i.prevPositionY)<2&&(i.y=0),i.prevPositionX=r.touchesCurrent.x,i.prevPositionY=r.touchesCurrent.y,i.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d("+r.currentX+"px, "+r.currentY+"px,0)")}}},onTouchEnd:function(){var e,t,n,r,i=this.zoom,o=i.gesture,a=i.image,s=i.velocity;o.$imageEl&&0!==o.$imageEl.length&&(a.isTouched&&a.isMoved?(a.isTouched=!1,a.isMoved=!1,e=s.x*(n=300),e=a.currentX+e,t=s.y*(r=300),t=a.currentY+t,0!==s.x&&(n=Math.abs((e-a.currentX)/s.x)),0!==s.y&&(r=Math.abs((t-a.currentY)/s.y)),s=Math.max(n,r),a.currentX=e,a.currentY=t,n=a.width*i.scale,r=a.height*i.scale,a.minX=Math.min(o.slideWidth/2-n/2,0),a.maxX=-a.minX,a.minY=Math.min(o.slideHeight/2-r/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),o.$imageWrapEl.transition(s).transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")):(a.isTouched=!1,a.isMoved=!1))},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,n,r,i=this,o=(0,c.getWindow)(),a=i.zoom,s=i.params.zoom,l=a.gesture,u=a.image;l.$slideEl||(e&&e.target&&(l.$slideEl=(0,f.default)(e.target).closest("."+i.params.slideClass)),l.$slideEl||(i.params.virtual&&i.params.virtual.enabled&&i.virtual?l.$slideEl=i.$wrapperEl.children("."+i.params.slideActiveClass):l.$slideEl=i.slides.eq(i.activeIndex)),l.$imageEl=l.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),l.$imageWrapEl=l.$imageEl.parent("."+s.containerClass)),l.$imageEl&&0!==l.$imageEl.length&&l.$imageWrapEl&&0!==l.$imageWrapEl.length&&(l.$slideEl.addClass(""+s.zoomedSlideClass),i=void 0===u.touchesStart.x&&e?(t=("touchend"===e.type?e.changedTouches[0]:e).pageX,("touchend"===e.type?e.changedTouches[0]:e).pageY):(t=u.touchesStart.x,u.touchesStart.y),a.scale=l.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,a.currentScale=l.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,e?(u=l.$slideEl[0].offsetWidth,s=l.$slideEl[0].offsetHeight,e=l.$slideEl.offset().left+o.scrollX+u/2-t,t=l.$slideEl.offset().top+o.scrollY+s/2-i,o=l.$imageEl[0].offsetWidth,i=l.$imageEl[0].offsetHeight,o=o*a.scale,i=i*a.scale,u=Math.min(u/2-o/2,0),o=Math.min(s/2-i/2,0),(s=-u)<(n=(n=e*a.scale)<u?u:n)&&(n=s),(i=-o)<(r=(r=t*a.scale)<o?o:r)&&(r=i)):r=n=0,l.$imageWrapEl.transition(300).transform("translate3d("+n+"px, "+r+"px,0)"),l.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+a.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,n=e.gesture;n.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?n.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):n.$slideEl=this.slides.eq(this.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+t.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&n.$imageWrapEl&&0!==n.$imageWrapEl.length&&(e.scale=1,e.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+t.zoomedSlideClass),n.$slideEl=void 0)},toggleGestures:function(e){var t=this.zoom,n=t.slideSelector,r=t.passiveListener;this.$wrapperEl[e]("gesturestart",n,t.onGestureStart,r),this.$wrapperEl[e]("gesturechange",n,t.onGestureChange,r),this.$wrapperEl[e]("gestureend",n,t.onGestureEnd,r)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e,t,n,r=this,i=r.support,o=r.zoom;o.enabled||(o.enabled=!0,e=!("touchstart"!==r.touchEvents.start||!i.passiveListener||!r.params.passiveListeners)&&{passive:!0,capture:!1},t=!i.passiveListener||{passive:!1,capture:!0},n="."+r.params.slideClass,r.zoom.passiveListener=e,r.zoom.slideSelector=n,i.gestures?(r.$wrapperEl.on(r.touchEvents.start,r.zoom.enableGestures,e),r.$wrapperEl.on(r.touchEvents.end,r.zoom.disableGestures,e)):"touchstart"===r.touchEvents.start&&(r.$wrapperEl.on(r.touchEvents.start,n,o.onGestureStart,e),r.$wrapperEl.on(r.touchEvents.move,n,o.onGestureChange,t),r.$wrapperEl.on(r.touchEvents.end,n,o.onGestureEnd,e),r.touchEvents.cancel)&&r.$wrapperEl.on(r.touchEvents.cancel,n,o.onGestureEnd,e),r.$wrapperEl.on(r.touchEvents.move,"."+r.params.zoom.containerClass,o.onTouchMove,t))},disable:function(){var e,t,n,r,i=this,o=i.zoom;o.enabled&&(e=i.support,i.zoom.enabled=!1,t=!("touchstart"!==i.touchEvents.start||!e.passiveListener||!i.params.passiveListeners)&&{passive:!0,capture:!1},n=!e.passiveListener||{passive:!1,capture:!0},r="."+i.params.slideClass,e.gestures?(i.$wrapperEl.off(i.touchEvents.start,i.zoom.enableGestures,t),i.$wrapperEl.off(i.touchEvents.end,i.zoom.disableGestures,t)):"touchstart"===i.touchEvents.start&&(i.$wrapperEl.off(i.touchEvents.start,r,o.onGestureStart,t),i.$wrapperEl.off(i.touchEvents.move,r,o.onGestureChange,n),i.$wrapperEl.off(i.touchEvents.end,r,o.onGestureEnd,t),i.touchEvents.cancel)&&i.$wrapperEl.off(i.touchEvents.cancel,r,o.onGestureEnd,t),i.$wrapperEl.off(i.touchEvents.move,"."+i.params.zoom.containerClass,o.onTouchMove,n))}};t.default={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var r=this,i=((0,s.bindModuleMethods)(r,{zoom:o({enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}},a)}),1);Object.defineProperty(r.zoom,"scale",{get:function(){return i},set:function(e){var t,n;i!==e&&(t=r.zoom.gesture.$imageEl?r.zoom.gesture.$imageEl[0]:void 0,n=r.zoom.gesture.$slideEl?r.zoom.gesture.$slideEl[0]:void 0,r.emit("zoomChange",e,t,n)),i=e}})},on:{init:function(e){e.params.zoom.enabled&&e.zoom.enable()},destroy:function(e){e.zoom.disable()},touchStart:function(e,t){e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(e,t){e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(e,t){!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}}},S7Xf:function(e,t,n){var r=n("4uTw"),i=n("RBan"),o=n("gpbi"),a=n("9Nap");e.exports=function(e,t){return t=r(t,e),null==(e=o(e,t))||delete e[a(i(t))]}},"SA+z":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE_SA_z__},SBuE:function(e,t){e.exports={}},SEkw:function(e,t,n){e.exports={default:n("RU/L"),__esModule:!0}},SFxW:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var i={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},t;e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){if(e<4)return"gecə";else if(e<12)return"səhər";else if(e<17)return"gündüz";else return"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(e===0)return e+"-ıncı";var t=e%10,n=e%100-t,r=e>=100?100:null;return e+(i[t]||i[n]||i[r])},week:{dow:1,doy:7}})}(n("wd/R"))},SHrc:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r=r(n("yd2B")).default;t.default=r},SJ9x:function(e,t,n){"use strict";n.r(t);var r,i=n("D4NW");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},SN6V:function(e,t,n){"use strict";var r=n("/dXc");e.exports=function(e){e=+e;return e!=e||0==e?0:r(e)}},SPl9:function(e,t,n){"use strict";n.r(t);var r,i=n("Hnr6"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},SPmy:function(e,tt,t){!function(e,t){var A="__lodash_hash_undefined__",B=1,R=2,S=1/0,C=9007199254740991,N="[object Arguments]",K="[object Array]",X="[object Boolean]",J="[object Date]",$="[object Error]",O="[object Function]",E="[object GeneratorFunction]",z="[object Map]",Z="[object Number]",F="[object Object]",M="[object Promise]",ee="[object RegExp]",V="[object Set]",te="[object String]",ne="[object Symbol]",P="[object WeakMap]",re="[object ArrayBuffer]",H="[object DataView]",k=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,T=/^\w*$/,I=/^\./,L=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,j=/\\(\\)?/g,D=/^\[object .+?Constructor\]$/,ie=/^(?:0|[1-9]\d*)$/,n={},e=(n["[object Float32Array]"]=n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0,n[N]=n[K]=n[re]=n[X]=n[H]=n[J]=n[$]=n[O]=n[z]=n[Z]=n[F]=n[ee]=n[V]=n[te]=n[P]=!1,"object"==typeof e&&e&&e.Object===Object&&e),r="object"==typeof self&&self&&self.Object===Object&&self,r=e||r||Function("return this")(),i=tt&&!tt.nodeType&&tt,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,oe=o&&o.exports===i&&e.process,o=function(){try{return oe&&oe.binding("util")}catch(e){}}(),i=o&&o.isTypedArray;function ae(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function se(t){return function(e){return t(e)}}function le(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function ue(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function ce(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var fe,he,e=Array.prototype,o=Function.prototype,a=Object.prototype,s=r["__core-js_shared__"],de=(s=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"",pe=o.toString,Y=a.hasOwnProperty,l=a.toString,ye=RegExp("^"+pe.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),s=r.Symbol,me=r.Uint8Array,ge=a.propertyIsEnumerable,ve=e.splice,be=(fe=Object.keys,he=Object,function(e){return fe(he(e))}),o=g(r,"DataView"),u=g(r,"Map"),e=g(r,"Promise"),_e=g(r,"Set"),r=g(r,"WeakMap"),c=g(Object,"create"),xe=_(o),we=_(u),Ae=_(e),Se=_(_e),Ce=_(r),s=s?s.prototype:void 0,Oe=s?s.valueOf:void 0,Ee=s?s.toString:void 0;function f(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function h(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function d(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function y(e){var t=-1,n=e?e.length:0;for(this.__data__=new d;++t<n;)this.add(e[t])}function G(e){this.__data__=new h(e)}function Me(e,t){var n,r=Q(e)||Ke(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=r.length,o=!!i;for(n in e)!t&&!Y.call(e,n)||o&&("length"==n||Ye(n,i))||r.push(n);return r}function p(e,t){for(var n=e.length;n--;)if(qe(e[n][0],t))return n;return-1}f.prototype.clear=function(){this.__data__=c?c(null):{}},f.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},f.prototype.get=function(e){var t,n=this.__data__;return c?(t=n[e])===A?void 0:t:Y.call(n,e)?n[e]:void 0},f.prototype.has=function(e){var t=this.__data__;return c?void 0!==t[e]:Y.call(t,e)},f.prototype.set=function(e,t){return this.__data__[e]=c&&void 0===t?A:t,this},h.prototype.clear=function(){this.__data__=[]},h.prototype.delete=function(e){var t=this.__data__;return!((e=p(t,e))<0||(e==t.length-1?t.pop():ve.call(t,e,1),0))},h.prototype.get=function(e){var t=this.__data__;return(e=p(t,e))<0?void 0:t[e][1]},h.prototype.has=function(e){return-1<p(this.__data__,e)},h.prototype.set=function(e,t){var n=this.__data__,r=p(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},d.prototype.clear=function(){this.__data__={hash:new f,map:new(u||h),string:new f}},d.prototype.delete=function(e){return m(this,e).delete(e)},d.prototype.get=function(e){return m(this,e).get(e)},d.prototype.has=function(e){return m(this,e).has(e)},d.prototype.set=function(e,t){return m(this,e).set(e,t),this},y.prototype.add=y.prototype.push=function(e){return this.__data__.set(e,A),this},y.prototype.has=function(e){return this.__data__.has(e)},G.prototype.clear=function(){this.__data__=new h},G.prototype.delete=function(e){return this.__data__.delete(e)},G.prototype.get=function(e){return this.__data__.get(e)},G.prototype.has=function(e){return this.__data__.has(e)},G.prototype.set=function(e,t){var n=this.__data__;if(n instanceof h){var r=n.__data__;if(!u||r.length<199)return r.push([e,t]),this;n=this.__data__=new d(r)}return n.set(e,t),this};Pe=function(e,t){return e&&Le(e,t,Ze)};var Pe,ke,Te,Ie=function(e,t){if(null!=e){if(!x(e))return Pe(e,t);for(var n=e.length,r=ke?n:-1,i=Object(e);(ke?r--:++r<n)&&!1!==t(i[r],r,i););}return e},Le=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[Te?a:++r];if(!1===t(i[s],s,i))break}return e};function je(e,t){for(var n=0,r=(t=v(t,e)?[t]:Ve(t)).length;null!=e&&n<r;)e=e[b(t[n++])];return n&&n==r?e:void 0}function De(e,t){return null!=e&&t in Object(e)}function Be(e,t,n,r,i){if(e===t)return!0;if(null==e||null==t||!W(e)&&!q(t))return e!=e&&t!=t;var o=Be,a=Q(e),s=Q(t),l=K,u=K,s=(a||(l=(l=U(e))==N?F:l),s||(u=(u=U(t))==N?F:u),l==F&&!le(e)),c=u==F&&!le(t);if((u=l==u)&&!s){i=i||new G;if(a||$e(e))return He(e,t,o,n,r,i);else{var f=e;var h=t;var d=l;var p=o;var y=n;var m=r;var g=i;switch(d){case H:if(f.byteLength!=h.byteLength||f.byteOffset!=h.byteOffset)return!1;f=f.buffer,h=h.buffer;case re:return f.byteLength==h.byteLength&&p(new me(f),new me(h))?!0:!1;case X:case J:case Z:return qe(+f,+h);case $:return f.name==h.name&&f.message==h.message;case ee:case te:return f==h+"";case z:var v=ue;case V:var b=m&R;if(v=v||ce,f.size!=h.size&&!b)return!1;b=g.get(f);if(b)return b==h;m|=B,g.set(f,h);b=He(v(f),v(h),p,y,m,g);return g.delete(f),b;case ne:if(Oe)return Oe.call(f)==Oe.call(h)}return!1;return}}if(!(r&R)){var a=s&&Y.call(e,"__wrapped__"),l=c&&Y.call(t,"__wrapped__");if(a||l)return s=a?e.value():e,c=l?t.value():t,i=i||new G,o(s,c,n,r,i)}if(u){i=i||new G;var _=e,x=t,w=o,A=n,S=r,C=i,O=S&R,E=Ze(_),M=E.length,a=Ze(x).length;if(M!=a&&!O)return!1;for(var P=M;P--;){var k=E[P];if(!(O?k in x:Y.call(x,k)))return!1}if((a=C.get(_))&&C.get(x))return a==x;for(var T=!0,I=(C.set(_,x),C.set(x,_),O);++P<M;){k=E[P];var L,j=_[k],D=x[k];if(!(void 0===(L=A?O?A(D,j,k,x,_,C):A(j,D,k,_,x,C):L)?j===D||w(j,D,A,S,C):L)){T=!1;break}I=I||"constructor"==k}return T&&!I&&(a=_.constructor,l=x.constructor,a!=l)&&"constructor"in _&&"constructor"in x&&!("function"==typeof a&&a instanceof a&&"function"==typeof l&&l instanceof l)&&(T=!1),C.delete(_),C.delete(x),T}return!1}function Re(e){var t;return W(e)&&(t=e,!(de&&de in t))&&(Xe(e)||le(e)?ye:D).test(_(e))}function Ne(e){if("function"==typeof e)return e;if(null==e)return et;if("object"==typeof e)if(Q(e)){var r=e[0],i=e[1];return v(r)&&Ge(i)?Ue(b(r),i):function(e){var t,n=function(e,t,n){e=null==e?void 0:je(e,t);return void 0===e?n:e}(e,r);return void 0===n&&n===i?(t=r,null!=(e=e)&&function(e,t,n){t=v(t,e)?[t]:Ve(t);var r,i=-1,o=t.length;for(;++i<o;){var a=b(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;return!!(o=e?e.length:0)&&Je(o)&&Ye(a,o)&&(Q(e)||Ke(e))}(e,t,De)):Be(i,n,void 0,B|R)}}else{var t=e,n=function(e){var t=Ze(e),n=t.length;for(;n--;){var r=t[n],i=e[r];t[n]=[r,i,Ge(i)]}return t}(t);return 1==n.length&&n[0][2]?Ue(n[0][0],n[0][1]):function(e){return e===t||function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=n[i])[0],u=e[l],c=s[1];if(a&&s[2]){if(void 0===u&&!(l in e))return!1}else{var f,h=new G;if(!(void 0===(f=r?r(u,c,l,e,t,h):f)?Be(c,u,r,B|R,h):f))return!1}}return!0}(e,t,n)}}var o,a;return v(e=e)?(o=b(e),function(e){return null==e?void 0:e[o]}):(a=e,function(e){return je(e,a)})}function ze(e){if(n="function"==typeof(n=(t=e)&&t.constructor)&&n.prototype||a,t!==n)return be(e);var t,n,r,i=[];for(r in Object(e))Y.call(e,r)&&"constructor"!=r&&i.push(r);return i}function Fe(e,r,c){var i=-1;r=ae(r.length?r:[et],se(Ne)),o=function(t,e,n){return{criteria:ae(r,function(e){return e(t)}),index:++i,value:t}},a=-1,s=x(e=e)?Array(e.length):[],Ie(e,function(e,t,n){s[++a]=o(e,t,n)});var o,a,s,t=s,e=function(e,t){for(var n=c,r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l,u=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=w(e),a=void 0!==t,s=null===t,l=t==t,u=w(t);if(!s&&!u&&!o&&t<e||o&&a&&l&&!s&&!u||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!u&&e<t||u&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0}(i[r],o[r]);if(u)return s<=r?u:(l=n[r],u*("desc"==l?-1:1))}return e.index-t.index},n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function Ve(e){return Q(e)?e:Qe(e)}function He(e,t,n,r,i,o){var a=i&R,s=e.length,l=t.length;if(s!=l&&!(a&&s<l))return!1;l=o.get(e);if(l&&o.get(t))return l==t;var u=-1,c=!0,f=i&B?new y:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var h,d=e[u],p=t[u];if(void 0!==(h=r?a?r(p,d,u,t,e,o):r(d,p,u,e,t,o):h)){if(h)continue;c=!1;break}if(f){if(!function(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return 1}(t,function(e,t){return!f.has(t)&&(d===e||n(d,e,r,i,o))&&f.add(t)})){c=!1;break}}else if(d!==p&&!n(d,p,r,i,o)){c=!1;break}}return o.delete(e),o.delete(t),c}function m(e,t){var n,r,e=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?e["string"==typeof t?"string":"hash"]:e.map}function g(e,t){t=t;e=null==(e=e)?void 0:e[t];return Re(e)?e:void 0}var U=function(e){return l.call(e)};function Ye(e,t){return!!(t=null==t?C:t)&&("number"==typeof e||ie.test(e))&&-1<e&&e%1==0&&e<t}function v(e,t){var n;if(!Q(e))return"number"==(n=typeof e)||"symbol"==n||"boolean"==n||null==e||w(e)||T.test(e)||!k.test(e)||null!=t&&e in Object(t)}function Ge(e){return e==e&&!W(e)}function Ue(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}(o&&U(new o(new ArrayBuffer(1)))!=H||u&&U(new u)!=z||e&&U(e.resolve())!=M||_e&&U(new _e)!=V||r&&U(new r)!=P)&&(U=function(e){var t=l.call(e),e=t==F?e.constructor:void 0,e=e?_(e):void 0;if(e)switch(e){case xe:return H;case we:return z;case Ae:return M;case Se:return V;case Ce:return P}return t});var Qe=We(function(e){e=null==(t=e)?"":function(e){var t;return"string"==typeof e?e:w(e)?Ee?Ee.call(e):"":"0"==(t=e+"")&&1/e==-S?"-0":t}(t);var t,i=[];return I.test(e)&&i.push(""),e.replace(L,function(e,t,n,r){i.push(n?r.replace(j,"$1"):t||e)}),i});function b(e){var t;return"string"==typeof e||w(e)?e:"0"==(t=e+"")&&1/e==-S?"-0":t}function _(e){if(null!=e){try{return pe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function We(r,i){if("function"!=typeof r||i&&"function"!=typeof i)throw new TypeError("Expected a function");function o(){var e=arguments,t=i?i.apply(this,e):e[0],n=o.cache;return n.has(t)?n.get(t):(e=r.apply(this,e),o.cache=n.set(t,e),e)}return o.cache=new(We.Cache||d),o}function qe(e,t){return e===t||e!=e&&t!=t}function Ke(e){return q(t=e)&&x(t)&&Y.call(e,"callee")&&(!ge.call(e,"callee")||l.call(e)==N);var t}We.Cache=d;var Q=Array.isArray;function x(e){return null!=e&&Je(e.length)&&!Xe(e)}function Xe(e){e=W(e)?l.call(e):"";return e==O||e==E}function Je(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=C}function W(e){var t=typeof e;return e&&("object"==t||"function"==t)}function q(e){return!!e&&"object"==typeof e}function w(e){return"symbol"==typeof e||q(e)&&l.call(e)==ne}var $e=i?se(i):function(e){return q(e)&&Je(e.length)&&!!n[l.call(e)]};function Ze(e){return(x(e)?Me:ze)(e)}function et(e){return e}t.exports=function(e,t,n,r){return null==e?[]:Fe(e,t=Q(t)?t:null==t?[]:[t],n=Q(n=r?void 0:n)?n:null==n?[]:[n])}}.call(this,t("yLpj"),t("YuTi")(e))},"ST+I":function(e,t,n){"use strict";var r=n("aNr2"),i=n("MURR"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},STtz:function(e,t,n){!function(r){var i=n("zvmt");e.exports=function(e,t){var n=null;if("string"==typeof(e=e instanceof r?e.toString():e))try{n=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else n=e;return i(n,t)}}.call(this,n("tjlA").Buffer)},SWlJ:function(e,t,n){"use strict";n.r(t);var r,i=n("twqg");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},Sacq:function(e,t,n){"use strict";n.r(t);var r,i=n("p1EF"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},SatO:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="凌晨"||t==="早上"||t==="上午")return e;else if(t==="中午")return e>=11?e:e+12;else if(t==="下午"||t==="晚上")return e+12},meridiem:function(e,t,n){var r=e*100+t;if(r<600)return"凌晨";else if(r<900)return"早上";else if(r<1200)return"上午";else if(r===1200)return"中午";else if(r<1800)return"下午";else return"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("wd/R"))},SfRM:function(e,t,n){var r=n("YESw");e.exports=function(){this.__data__=r?r(null):{},this.size=0}},ShUB:function(e,t,n){"use strict";var r=n("QbLZ"),a=n.n(r),r=n("TZE5"),s=n("2qPA"),n={name:"MenuItemGroup",props:{renderMenuItem:r.a.func,index:r.a.number,className:r.a.string,subMenuKey:r.a.string,rootPrefixCls:r.a.string,disabled:r.a.bool.def(!0),title:r.a.any},isMenuItemGroup:!0,methods:{renderInnerMenuItem:function(e){var t=this.$props;return(0,t.renderMenuItem)(e,t.index,t.subMenuKey)}},render:function(){var e=arguments[0],t=a()({},this.$props),n=t.rootPrefixCls,t=t.title,r=n+"-item-group-title",i=n+"-item-group-list",o=a()({},Object(s.getListeners)(this));return delete o.click,e("li",{on:o,class:n+"-item-group"},[e("div",{class:r,attrs:{title:"string"==typeof t?t:void 0}},[Object(s.getComponentFromProp)(this,"title")]),e("ul",{class:i},[this.$slots.default&&this.$slots.default.map(this.renderInnerMenuItem)])])}};t.a=n},SkNP:function(e,t,n){"use strict";e.exports={}},SksO:function(n,e){function r(e,t){return n.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n.exports.__esModule=!0,n.exports.default=n.exports,r(e,t)}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports},So9u:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("F/g1"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},SwuV:function(e,t,n){"use strict";var r=n("JTf3"),n=n("013W"),i=n.all;e.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},"Sx0+":function(e,t,n){"use strict";var r=n("QbLZ"),i=n.n(r);t.a=function(e,t){for(var n=i()({},e),r=0;r<t.length;r++)delete n[t[r]];return n}},"T/sc":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("4JXE"))),o=r(n("M13s")),a=r(n("uJ5B")),s=r(n("KW3Y")),l=r(n("2Z54")),r=(i.default.install=function(e,t){(0,l.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default),e.component((a.default.options||a.default).name,a.default),e.component((s.default.options||s.default).name,s.default)},i.default);t.default=r},T016:function(e,t,n){"use strict";e.exports={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,134,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,250,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,221],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:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],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,50]}},T1AV:function(e,t,n){var d=n("t2Dn"),p=n("5Tg0"),y=n("yP5f"),m=n("Q1l4"),g=n("+iFO"),v=n("03A+"),b=n("Z0cm"),_=n("3L66"),x=n("DSRE"),w=n("lSCD"),A=n("GoyQ"),S=n("YO3V"),C=n("c6wG"),O=n("itsj"),E=n("jeLo");e.exports=function(e,t,n,r,i,o,a){var s,l,u,c=O(e,n),f=O(t,n),h=a.get(f);h||((t=void 0===(h=o?o(c,f,n+"",e,t,a):void 0))&&(l=!(s=b(f))&&x(f),u=!s&&!l&&C(f),h=f,s||l||u?h=b(c)?c:_(c)?m(c):l?p(f,!(t=!1)):u?y(f,!(t=!1)):[]:S(f)||v(f)?v(h=c)?h=E(c):A(c)&&!w(c)||(h=g(f)):t=!1),t&&(a.set(f,h),i(h,f,r,o,a),a.delete(f))),d(e,n,h)}},T2bp:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Pk3a"))),o=r(n("C7wX")),a=r(n("2Z54")),r=(o.default.install=function(e,t){(0,a.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default)},o.default);t.default=r},T3Jp:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r={mixins:[r(n("mkpX")).default],props:{tms:{type:Boolean,default:!1},detectRetina:{type:Boolean,default:!1}},render:function(){return null}};t.default=r},T3d4:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VgK+"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},TFue:function(e,t,n){"use strict";var r,i=n("TqRt"),o=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i(n("W8MJ"))),a=i(n("VbXa")),s=i(n("i7/w")),l=n("YKMj"),u=i(n("qF08")),c=n("e7LN"),f=n("nN7q"),i=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},n=r=function(t){function e(){var e=t.apply(this,arguments)||this;return e.backgroundData="",e.textColorsData="",e.collapseCardBackgroundData="",e.collapseCardHeaderBgData="",e.subComponentSpanBgData="",e.tablePopupBgData="",e.colorGroupsData=[],e.themeStyleName=[],e}(0,a.default)(e,t);var n=e.prototype;return n.themeStyleChanged=function(e){return e},n.created=function(){this.initThemeData(),this.registerPropListener()},n.mounted=function(){u.default.$on("change-theme",this.changeThemeCallback)},n.beforeDestroy=function(){u.default.$off("change-theme",this.changeThemeCallback)},n.changeThemeCallback=function(e){this.setDataRelatedProps(e,!0),"background"in e&&this.setDataRelatedWithBackgound("",e),this.initNeedTheme(e)},n.initThemeData=function(){this.setDataRelatedProps(),this.setDataRelatedWithBackgound(this.background)},n.initNeedTheme=function(t){var n=this;this.themeStyleName.forEach(function(e){n[e]="primaryColor"===e?t.colorGroup&&t.colorGroup[0]:n.getRealColor(e,t)})},n.registerPropListener=function(){var e=this,r=this;this.getSelfProps().forEach(function(n){e.$watch(n,function(e){var t=this.getDataNameOfProp(n);r[t]=e||this.getRealColor(n),"background"===n&&r.setDataRelatedWithBackgound(e)})})},n.setDataRelatedProps=function(r,i){var o=this,a=r||u.default.$options.theme||{};this.getSelfProps().forEach(function(e){var t,n;e in a&&(t=o.getDataNameOfProp(e),n=i?"":o[e],o[t]=n||o.getRealColor(e,r))})},n.setDataRelatedWithBackgound=function(e,t){this.collapseCardHeaderBgData=e||this.getRealColor("collapseCardHeaderBg",t),this.subComponentSpanBgData=e||this.getRealColor("subComponentSpanBg",t),this.collapseCardBackgroundData=e||this.getRealColor("collapseCardBackground",t),this.tablePopupBgData=e||this.getRealColor("messageBackground",t)},n.getSelfProps=function(){return Object.keys(r.extendOptions.props)},n.getRealColor=function(e,t){var n,r,t=t||u.default.$options.theme||{};return"colorGroup"!==e&&t[e]&&t[e].includes("var")?(n=(0,f.getRootStyleSelector)(t),n=window.getComputedStyle(document.querySelector(n)),r=t[e].replace(/var\((.+)\)/g,"$1"),n.getPropertyValue(r).trim()):t[e]},n.getDataNameOfProp=function(e){switch(e){case"textColor":return"textColorsData";case"colorGroup":return"colorGroupsData";default:return e+"Data"}},n.render=function(e){return e("template",null)},(0,o.default)(e,[{key:"getBackgroundStyle",get:function(){return{background:this.backgroundData}}},{key:"collapseCardBackgroundStyle",get:function(){return{background:this.collapseCardBackgroundData}}},{key:"collapseCardBackgroundLightStyle",get:function(){return{background:(0,f.getPrimarySerialColors)({colorGroup:[this.collapseCardBackgroundData]})[2]}}},{key:"collapseCardHeaderBgStyle",get:function(){return{background:this.collapseCardHeaderBgData}}},{key:"subComponentSpanBgStyle",get:function(){return{background:this.subComponentSpanBgData}}},{key:"tablePopupBgStyle",get:function(){return{background:this.tablePopupBgData}}},{key:"getTextColorStyle",get:function(){return{color:this.textColorsData}}},{key:"headingTextColorStyle",get:function(){return{color:(0,c.getDerivedColorsByTextColor)(this.textColorsData,.85)}}},{key:"secondaryTextColorStyle",get:function(){return{color:(0,c.getDerivedColorsByTextColor)(this.textColorsData,.45)}}},{key:"disabledTextColorStyle",get:function(){return{color:(0,c.getDerivedColorsByTextColor)(this.textColorsData,.25)}}},{key:"getBackground",get:function(){return this.backgroundData}},{key:"getTextColor",get:function(){return this.textColorsData}},{key:"getColorStyle",get:function(){return function(e){return{color:this.colorGroupsData[e]}}}},{key:"getColor",get:function(){return function(e){return this.colorGroupsData[e]}}}]),e}(s.default);i([(0,l.Prop)()],n.prototype,"background",void 0),i([(0,l.Prop)()],n.prototype,"textColor",void 0),i([(0,l.Prop)()],n.prototype,"colorGroup",void 0),i([(0,l.Emit)()],n.prototype,"themeStyleChanged",null),n=r=i([(0,l.Component)({name:"Theme"})],n);t.default=n},TJ20:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("AWw9"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},TO8r:function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},TPtX:function(e,t,n){"use strict";n.r(t);var r,i=n("V8Rk"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},TRzv:function(e,t,n){"use strict";var r=n("WxoH"),i=n("SwuV"),o=n("zFjv");e.exports=function(e,t){return r(e),i(t)&&t.constructor===e?t:((0,(e=o.f(e)).resolve)(t),e.promise)}},TSYQ:function(e,t,n){var r;
- /*!
- Copyright (c) 2018 Jed Watson.
- Licensed under the MIT License (MIT), see
- http://jedwatson.github.io/classnames
- */
- !function(){"use strict";var a={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r,i=typeof n;if("string"==i||"number"==i)e.push(n);else if(Array.isArray(n))n.length&&(r=s.apply(null,n))&&e.push(r);else if("object"==i)if(n.toString===Object.prototype.toString||n.toString.toString().includes("[native code]"))for(var o in n)a.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?e.exports=s.default=s:void 0!==(r=function(){return s}.apply(t,[]))&&(e.exports=r)}()},TTB2:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("e7LN")),r={name:"SmTimeText",mixins:[r(n("TFue")).default],props:{timeType:{type:String,default:"date"},fontStyle:{type:Object}},data:function(){return{time:"",timeInterval:null}},watch:{timeType:function(){this.initTime(this.timeType)}},mounted:function(){this.initTime(this.timeType)},destroyed:function(){clearInterval(this.timeInterval)},methods:{initTime:function(e){var t=this;clearInterval(this.timeInterval),this.time=(0,i.getDateTime)(e),this.timeInterval=setInterval(function(){t.time=(0,i.getDateTime)(e)},1e3)}}};t.default=r},TTx8:function(e,t,n){"use strict";n.r(t);var r,i=n("TnH5"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},TVTA:function(e,t,n){"use strict";var r=n("TqRt"),r=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("TFue"))),i=n("e7LN"),n={name:"SmImage",mixins:[r.default],props:{src:{type:String},repeat:{type:String,default:"center"},href:{type:String,default:""},target:{type:String,default:"_self"}},data:function(){return{repeatOption:{center:{backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"contain"},noRepeat:{backgroundSize:"100% 100%",backgroundRepeat:"no-repeat"},repeatX:{backgroundRepeat:"repeat-x",backgroundSize:"auto 100%"},repeatY:{backgroundRepeat:"repeat-Y",backgroundSize:"100% auto"},repeatXY:{backgroundRepeat:"repeat",backgroundSize:"auto"}}}},computed:{repeatStyle:function(){return this.repeatOption[this.repeat]},imgUrl:function(){return{backgroundImage:"url("+this.src+")"}},realHref:function(){var e=this.href.replace(/ /g,"");return e&&!(0,i.parseUrl)(e)?"http://"+e:e}}};t.default=n},TYy9:function(e,t,n){var r=n("XGnz");e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},TZE5:function(e,t,n){"use strict";function l(e){return(e=(e=null!=e?e.type||e:null)&&e.toString().match(f))&&e[1]}function a(e,t){return Object.defineProperty(t,"_vueTypes_name",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(t,"isRequired",{get:function(){return this.required=!0,this},enumerable:!1}),Object.defineProperty(t,"def",{value:function(e){return void 0===e&&void 0===this.default?this.default=void 0:p(e)||y(this,e)?this.default=d(e)||u()(e)?function(){return e}:e:m(this._vueTypes_name+' - invalid default value: "'+e+'"',e),this},enumerable:!1,writable:!1}),p(t.validator)&&(t.validator=t.validator.bind(t)),t}function r(){return{func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0}}var i=n("EJiy"),o=n.n(i),i=n("YO3V"),u=n.n(i),n=Object.prototype,s=n.toString,c=n.hasOwnProperty,f=/^\s*function (\w+)/,h=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},d=Array.isArray||function(e){return"[object Array]"===s.call(e)},p=function(e){return"[object Function]"===s.call(e)},y=function t(e,n){var r,i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],o=e,a=!0,s=void 0,e=(o=u()(e)?o:{type:e})._vueTypes_name?o._vueTypes_name+" - ":"";return c.call(o,"type")&&null!==o.type&&(d(o.type)?(a=o.type.some(function(e){return t(e,n,!0)}),s=o.type.map(l).join(" or ")):a="Array"===(s=l(o))?d(n):"Object"===s?u()(n):"String"===s||"Number"===s||"Boolean"===s||"Function"===s?(null==(r=n)?null:(r=r.constructor.toString().match(f))&&r[1])===s:n instanceof o.type),a?(c.call(o,"validator")&&p(o.validator)&&((a=o.validator(n))||!1!==i||m(e+"custom validation failed")),a):(!1===i&&m(e+'value "'+n+'" should be of type "'+s+'"'),!1)},m=function(){},i={get any(){return a("any",{type:null})},get func(){return a("function",{type:Function}).def(g.func)},get bool(){return a("boolean",{type:Boolean}).def(g.bool)},get string(){return a("string",{type:String}).def(g.string)},get number(){return a("number",{type:Number}).def(g.number)},get array(){return a("array",{type:Array}).def(g.array)},get object(){return a("object",{type:Object}).def(g.object)},get integer(){return a("integer",{type:Number,validator:function(e){return h(e)}}).def(g.integer)},get symbol(){return a("symbol",{type:null,validator:function(e){return"symbol"===(void 0===e?"undefined":o()(e))}})},custom:function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"custom validation failed";if("function"!=typeof t)throw new TypeError("[VueTypes error]: You must provide a function as argument");return a(t.name||"<<anonymous function>>",{validator:function(){var e=t.apply(void 0,arguments);return e||m(this._vueTypes_name+" - "+n),e}})},oneOf:function(t){var n,e;if(d(t))return n='oneOf - value should be one of "'+t.join('", "')+'"',e=t.reduce(function(e,t){return null!=t&&-1===e.indexOf(t.constructor)&&e.push(t.constructor),e},[]),a("oneOf",{type:0<e.length?e:null,validator:function(e){e=-1!==t.indexOf(e);return e||m(n),e}});throw new TypeError("[VueTypes error]: You must provide an array as argument")},instanceOf:function(e){return a("instanceOf",{type:e})},oneOfType:function(n){var r,e,i;if(d(n))return r=!1,e=n.reduce(function(e,t){if(u()(t)){if("oneOf"===t._vueTypes_name)return e.concat(t.type||[]);if(t.type&&!p(t.validator)){if(d(t.type))return e.concat(t.type);e.push(t.type)}else p(t.validator)&&(r=!0)}else e.push(t);return e},[]),(r?(i=n.map(function(e){return e&&d(e.type)?e.type.map(l):l(e)}).reduce(function(e,t){return e.concat(d(t)?t:[t])},[]).join('", "'),this.custom(function(t){var e=n.some(function(e){return"oneOf"===e._vueTypes_name?!e.type||y(e.type,t,!0):y(e,t,!0)});return e||m('oneOfType - value type should be one of "'+i+'"'),e})):a("oneOfType",{type:e})).def(void 0);throw new TypeError("[VueTypes error]: You must provide an array as argument")},arrayOf:function(t){return a("arrayOf",{type:Array,validator:function(e){e=e.every(function(e){return y(t,e)});return e||m('arrayOf - value must be an array of "'+l(t)+'"'),e}})},objectOf:function(n){return a("objectOf",{type:Object,validator:function(t){var e=Object.keys(t).every(function(e){return y(n,t[e])});return e||m('objectOf - value must be an object of "'+l(n)+'"'),e}})},shape:function(i){var o=Object.keys(i),e=o.filter(function(e){return i[e]&&!0===i[e].required}),t=a("shape",{type:Object,validator:function(n){var t,r=this;return!!u()(n)&&(t=Object.keys(n),0<e.length&&e.some(function(e){return-1===t.indexOf(e)})?(m('shape - at least one of required properties "'+e.join('", "')+'" is not present'),!1):t.every(function(e){var t;return-1===o.indexOf(e)?!0===r._vueTypes_isLoose||(m('shape - object is missing "'+e+'" property'),!1):(t=i[e],y(t,n[e]))}))}});return Object.defineProperty(t,"_vueTypes_isLoose",{enumerable:!1,writable:!0,value:!1}),Object.defineProperty(t,"loose",{get:function(){return this._vueTypes_isLoose=!0,this},enumerable:!1}),t}},g=r();Object.defineProperty(i,"sensibleDefaults",{enumerable:!1,set:function(e){!1===e?g={}:!0===e?g=r():u()(e)&&(g=e)},get:function(){return g}}),t.a=i},TZfu:function(e,t,n){"use strict";n.r(t);var r,i=n("14g6"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},TaHA:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"A11y",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"Autoplay",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"Controller",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"EffectCoverflow",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"EffectCube",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"EffectFade",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"EffectFlip",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"HashNavigation",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"History",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"Keyboard",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Lazy",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Mousewheel",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Navigation",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Pagination",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Parallax",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Scrollbar",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Swiper",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Thumbs",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"Virtual",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Zoom",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),r(n("bTu8"))),o=r(n("drdV")),a=r(n("h2/A")),s=r(n("tC+P")),l=r(n("g0Ox")),u=r(n("Xchd")),c=r(n("Ap4+")),f=r(n("6N1L")),h=r(n("S6t5")),d=r(n("fMrl")),p=r(n("c0r8")),y=r(n("ZXcA")),m=r(n("tQmk")),g=r(n("9cj4")),v=r(n("0Xqd")),b=r(n("42op")),_=r(n("1VCM")),x=r(n("mK+M")),w=r(n("daxC")),A=r(n("zITX"))},TbAe:function(e,t,n){"use strict";n.r(t);var r,i=n("0uMD"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},TfX5:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var t=n("QbLZ"),r=n.n(t),t=n("i7/w"),i=n.n(t),t=n("TZE5"),o=n("2qPA"),a=n("/CVL"),s={functional:!0,inject:{configProvider:{default:function(){return b}}},props:{componentName:t.a.string},render:function(e,t){var n=e,e=t.props,t=t.injections;var e=e.componentName,r=(0,t.configProvider.getPrefixCls)("empty");switch(e){case"Table":case"List":return n(a.default,{attrs:{image:a.default.PRESENTED_IMAGE_SIMPLE}});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return n(a.default,{attrs:{image:a.default.PRESENTED_IMAGE_SIMPLE},class:r+"-small"});default:return n(a.default)}}};function l(e,t){return e(s,{attrs:{componentName:t}})}var u=n("2xRk"),c=n("wd/R"),f=n("LPgQ"),h=n("l+HE"),d=n("aiEA"),p="internalMark";function y(e){e&&e.locale?Object(f.a)(c).locale(e.locale):Object(f.a)(c).locale("en")}var m={name:"ALocaleProvider",props:{locale:t.a.object.def(function(){return{}}),_ANT_MARK__:t.a.string},data:function(){return Object(d.a)(this._ANT_MARK__===p,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead"),{antLocale:r()({},this.locale,{exist:!0})}},provide:function(){return{localeData:this.$data}},watch:{locale:function(e){this.antLocale=r()({},this.locale,{exist:!0}),y(e),Object(h.a)(e&&e.Modal)}},created:function(){var e=this.locale;y(e),Object(h.a)(e&&e.Modal)},beforeDestroy:function(){Object(h.a)()},render:function(){return this.$slots.default?this.$slots.default[0]:null},install:function(e){e.use(u.default),e.component(m.name,m)}},g=m,v=n("5c0L");t.a.func,t.a.string,t.a.func,t.a.object,t.a.bool,t.a.object,t.a.object,t.a.func,r()({},function(e){var n={};return(0<arguments.length&&void 0!==e?e:[]).forEach(function(t){n[t]=function(e){this._proxyVm._data[t]=e}}),n}(["prefixCls","csp","autoInsertSpaceInButton","locale","pageHeader","transformCellText"]));var b={getPrefixCls:function(e,t){return t||"ant-"+e},renderEmpty:l}},TgM5:function(e,t,n){"use strict";n.r(t);var r=n("kvrn"),i=n.n(r),r=n("YEIV"),o=n.n(r),r=n("TZE5"),a=n("2qPA"),s=n("TfX5");t.default={name:"AInputGroup",props:{prefixCls:r.a.string,size:{validator:function(e){return["small","large","default"].includes(e)}},compact:Boolean},inject:{configProvider:{default:function(){return s.a}}},computed:{classes:function(){var e=this.prefixCls,t=this.size,n=this.compact,n=void 0!==n&&n,e=(0,this.configProvider.getPrefixCls)("input-group",e),r={};return o()(r,""+e,!0),o()(r,e+"-lg","large"===t),o()(r,e+"-sm","small"===t),o()(r,e+"-compact",n),r}},methods:{},render:function(){return(0,arguments[0])("span",i()([{class:this.classes},{on:Object(a.getListeners)(this)}]),[Object(a.filterEmpty)(this.$slots.default)])}}},TiOR:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("KP9C"))),o=r(n("6n/b")),a=n("hS5c"),r=r(n("T3Jp")),n={name:"SmTileLayer",mixins:[i.default,r.default],props:{layersID:{type:String},redirect:{type:Boolean,default:!1},cacheEnabled:{type:Boolean,default:!0},clipRegionEnabled:{type:Boolean,default:!1},prjCoordSys:{type:Object},overlapDisplayed:{type:Boolean,default:!1},overlapDisplayedOptions:{type:String},tileversion:{type:String},serverType:{type:String,default:"iServer"},tileProxy:{type:String},format:{type:String,default:"png",validator:function(e){return-1!==["png","jpg","bmp","gif"].indexOf(e)}},tileSize:{type:Number,default:256},url:{type:String},transparent:{type:Boolean,default:!0},clipRegion:{type:Object},crs:{type:Object}},created:function(){var e,n=this;for(e in this.$props)!function(){var t="set"+(0,a.capitalizeFirstLetter)(e);n[t]||(n[t]=function(e){this.viewModel&&this.viewModel[t](e)})}();this.viewModel=new o.default(this.$props),this.layer=this.viewModel.getLayer()},loaded:function(){this.viewModel.addTo(this.map)},render:function(){}};t.default=n},TnH5:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.textAreaTypes=t.default=void 0,r(n("Jh5J"))),o=r(n("yXPv")),r=r(n("nvtG")),n=Object.assign({},o.default),o=(t.textAreaTypes=n,{name:"SmTextarea",defaultComponent:i.default,mixins:[r.default],props:n});t.default=o},TqRt:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},TtXm:function(e,t,n){"use strict";n.r(t);var r,i=n("TZfu");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},Ttl4:function(e,t,n){"use strict";var l=n("YELS"),u=n("x1+7"),c=n("fKql"),f=n("FlRv");e.exports=function(e,t,n){for(var r=u(t),i=f.f,o=c.f,a=0;a<r.length;a++){var s=r[a];l(e,s)||n&&l(n,s)||i(e,s,o(t,s))}}},TuGD:function(e,t,n){var o=n("UWiX")("iterator"),a=!1;try{var r=[7][o]();r.return=function(){a=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var r=[7],i=r[o]();i.next=function(){return{done:n=!0}},r[o]=function(){return i},e(r)}catch(e){}return n}},Tzne:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.collapsePanelTypes=void 0,r(n("/muI"))),o=n("QfMm"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},(0,o.panelProps)()),o=(t.collapsePanelTypes=n,{name:"SmCollapsePanel",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n,methods:{getPrefixCls:function(e,t){return t||this.defaultPrefixCls+"-"+e}}});t.default=o},"U+KD":function(e,t,n){var r=n("B+OT"),i=n("JB68"),o=n("VVlx")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"U+t4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){void 0===e&&(e=0);void 0===t&&(t=this.params.speed);void 0===n&&(n=!0);this.params.loop&&(e+=this.loopedSlides);return this.slideTo(e,t,n,r)}},U4oE:function(e,t,n){"use strict";n.r(t);var r,i=n("cKTC"),o=n("BtDp");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},UBTA:function(e,t,n){e.exports=function(){var P,k,T,I=function e(t){var n;return function(e){return n||t(n={exports:{},parent:e},n.exports),n.exports}},F=I(function(e,t){"use strict";function a(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")a=function e(t){return typeof t};else a=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return a(e)}Object.defineProperty(t,"__esModule",{value:true});t["default"]=t.Interactable=void 0;var l=r(A);var f=n(j);var u=n(He);var h=n(R);var c=n(S);var d=r(w);var p=n(Mn);var i=n(Rn);var y=V({});function n(e){return e&&e.__esModule?e:{default:e}}function s(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;s=function e(){return t};return t}function r(e){if(e&&e.__esModule)return e;if(e===null||a(e)!=="object"&&typeof e!=="function")return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function g(e,t,n){if(t)m(e.prototype,t);if(n)m(e,n);return e}function v(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}var b=function(){g(r,[{key:"_defaults",get:function e(){return{base:{},perAction:{},actions:{}}}}]);function r(e,t,n){o(this,r);v(this,"options",void 0);v(this,"_actions",void 0);v(this,"target",void 0);v(this,"events",new i["default"]);v(this,"_context",void 0);v(this,"_win",void 0);v(this,"_doc",void 0);this._actions=t.actions;this.target=e;this._context=t.context||n;this._win=(0,x.getWindow)((0,D.trySelector)(e)?this._context:e);this._doc=this._win.document;this.set(t)}g(r,[{key:"setOnEvents",value:function e(t,n){if(d.func(n.onstart))this.on("".concat(t,"start"),n.onstart);if(d.func(n.onmove))this.on("".concat(t,"move"),n.onmove);if(d.func(n.onend))this.on("".concat(t,"end"),n.onend);if(d.func(n.oninertiastart))this.on("".concat(t,"inertiastart"),n.oninertiastart);return this}},{key:"updatePerActionListeners",value:function e(t,n,r){if(d.array(n)||d.object(n))this.off(t,n);if(d.array(r)||d.object(r))this.on(t,r)}},{key:"setPerAction",value:function e(t,n){var r=this._defaults;for(var i in n){var o=i;var a=this.options[t];var s=n[o];if(o==="listeners")this.updatePerActionListeners(t,a.listeners,s);if(d.array(s))a[o]=l.from(s);else if(d.plainObject(s)){a[o]=(0,c["default"])(a[o]||{},(0,u["default"])(s));if(d.object(r.perAction[o])&&"enabled"in r.perAction[o])a[o].enabled=s.enabled!==false}else if(d.bool(s)&&d.object(r.perAction[o]))a[o].enabled=s;else a[o]=s}}},{key:"getRect",value:function e(t){t=t||(d.element(this.target)?this.target:null);if(d.string(this.target))t=t||this._context.querySelector(this.target);return(0,D.getElementRect)(t)}},{key:"rectChecker",value:function e(t){if(d.func(t)){this.getRect=t;return this}if(t===null){delete this.getRect;return this}return this.getRect}},{key:"_backCompatOption",value:function e(t,n){if((0,D.trySelector)(n)||d.object(n)){this.options[t]=n;for(var r in this._actions.map)this.options[r][t]=n;return this}return this.options[t]}},{key:"origin",value:function e(t){return this._backCompatOption("origin",t)}},{key:"deltaSource",value:function e(t){if(t==="page"||t==="client"){this.options.deltaSource=t;return this}return this.options.deltaSource}},{key:"context",value:function e(){return this._context}},{key:"inContext",value:function e(t){return this._context===t.ownerDocument||(0,D.nodeContains)(this._context,t)}},{key:"testIgnoreAllow",value:function e(t,n,r){return!this.testIgnore(t.ignoreFrom,n,r)&&this.testAllow(t.allowFrom,n,r)}},{key:"testAllow",value:function e(t,n,r){if(!t)return true;if(!d.element(r))return false;if(d.string(t))return(0,D.matchesUpTo)(r,t,n);else if(d.element(t))return(0,D.nodeContains)(t,r);return false}},{key:"testIgnore",value:function e(t,n,r){if(!t||!d.element(r))return false;if(d.string(t))return(0,D.matchesUpTo)(r,t,n);else if(d.element(t))return(0,D.nodeContains)(t,r);return false}},{key:"fire",value:function e(t){this.events.fire(t);return this}},{key:"_onOff",value:function e(t,n,r,i){if(d.object(n)&&!d.array(n)){i=r;r=null}var o=t==="on"?"add":"remove";var a=(0,p["default"])(n,r);for(var s in a){if(s==="wheel")s=f["default"].wheelEvent;for(var l=0;l<a[s].length;l++){var u;u=a[s][l];var c=u;if((0,y.isNonNativeEvent)(s,this._actions))this.events[t](s,c);else if(d.string(this.target))h["default"]["".concat(o,"Delegate")](this.target,this._context,s,c,i);else h["default"][o](this.target,s,c,i)}}return this}},{key:"on",value:function e(t,n,r){return this._onOff("on",t,n,r)}},{key:"off",value:function e(t,n,r){return this._onOff("off",t,n,r)}},{key:"set",value:function e(t){var n=this._defaults;if(!d.object(t))t={};this.options=(0,u["default"])(n.base);for(var r in this._actions.methodDict){var i=r;var o=this._actions.methodDict[i];this.options[i]={};this.setPerAction(i,(0,c["default"])((0,c["default"])({},n.perAction),n.actions[i]));this[o](t[i])}for(var a in t)if(d.func(this[a]))this[a](t[a]);return this}},{key:"unset",value:function e(){h["default"].remove(this.target,"all");if(d.string(this.target))for(var t in h["default"].delegatedEvents){var n=h["default"].delegatedEvents[t];if(n.selectors[0]===this.target&&n.contexts[0]===this._context){n.selectors.splice(0,1);n.contexts.splice(0,1);n.listeners.splice(0,1)}h["default"].remove(this._context,t,h["default"].delegateListener);h["default"].remove(this._context,t,h["default"].delegateUseCapture,true)}else h["default"].remove(this.target,"all")}}]);return r}();t.Interactable=b;var _=b;t["default"]=_}),V=I(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isNonNativeEvent=T;t.initScope=I;t.Scope=t["default"]=void 0;var n=d(L);var i=h(N);var o=d(Rn);var a=d(Jr);var s=d(Y({}));var l=d(F({}));var u=d(pi);var c=d(qr);var r=d(H({}));function f(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;f=function e(){return t};return t}function h(e){if(e&&e.__esModule)return e;if(e===null||p(e)!=="object"&&typeof e!=="function")return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function d(e){return e&&e.__esModule?e:{default:e}}function p(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")p=function e(t){return typeof t};else p=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return p(e)}function y(e,t){if(t&&(p(t)==="object"||typeof t==="function"))return t;return m(e)}function m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t,n){if(typeof Reflect!=="undefined"&&Reflect.get)g=Reflect.get;else g=function e(t,n,r){var i=v(t,n);if(!i)return;var o=Object.getOwnPropertyDescriptor(i,n);if(o.get)return o.get.call(r);return o.value};return g(e,t,n||e)}function v(e,t){while(!Object.prototype.hasOwnProperty.call(e,t)){e=b(e);if(e===null)break}return e}function b(e){b=Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)};return b(e)}function _(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)x(e,t)}function x(e,t){x=Object.setPrototypeOf||function e(t,n){t.__proto__=n;return t};return x(e,t)}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function S(e,t,n){if(t)A(e.prototype,t);if(n)A(e,n);return e}function C(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}var O=i.win,E=i.browser,M=i.raf,P=i.events;var k=function(){function e(){var t=this;w(this,e);C(this,"id","__interact_scope_".concat(Math.floor(Math.random()*100)));C(this,"isInitialized",false);C(this,"listenerMaps",[]);C(this,"browser",E);C(this,"events",P);C(this,"utils",i);C(this,"defaults",i.clone(c["default"]));C(this,"Eventable",o["default"]);C(this,"actions",{map:{},phases:{start:true,move:true,end:true},methodDict:{},phaselessTypes:{}});C(this,"interactStatic",new s["default"](this));C(this,"InteractEvent",a["default"]);C(this,"Interactable",void 0);C(this,"interactables",new u["default"](this));C(this,"_win",void 0);C(this,"document",void 0);C(this,"window",void 0);C(this,"documents",[]);C(this,"_plugins",{list:[],map:{}});C(this,"onWindowUnload",function(e){return t.removeDocument(e.target)});var r=this;this.Interactable=function(e){_(n,e);function n(){w(this,n);return y(this,b(n).apply(this,arguments))}S(n,[{key:"set",value:function e(t){g(b(n.prototype),"set",this).call(this,t);r.fire("interactable:set",{options:t,interactable:this});return this}},{key:"unset",value:function e(){g(b(n.prototype),"unset",this).call(this);r.interactables.list.splice(r.interactables.list.indexOf(this),1);r.fire("interactable:unset",{interactable:this})}},{key:"_defaults",get:function e(){return r.defaults}}]);return n}(l["default"])}S(e,[{key:"addListeners",value:function e(t,n){this.listenerMaps.push({id:n,map:t})}},{key:"fire",value:function e(t,n){for(var r=0;r<this.listenerMaps.length;r++){var i;i=this.listenerMaps[r];var o=i,a=o.map[t];if(!!a&&a(n,this,t)===false)return false}}},{key:"init",value:function e(t){return this.isInitialized?this:I(this,t)}},{key:"pluginIsInstalled",value:function e(t){return this._plugins.map[t.id]||this._plugins.list.indexOf(t)!==-1}},{key:"usePlugin",value:function e(t,n){if(this.pluginIsInstalled(t))return this;if(t.id)this._plugins.map[t.id]=t;this._plugins.list.push(t);if(t.install)t.install(this,n);if(t.listeners&&t.before){var r=0;var i=this.listenerMaps.length;var o=t.before.reduce(function(e,t){e[t]=true;return e},{});for(;r<i;r++){var a=this.listenerMaps[r].id;if(o[a])break}this.listenerMaps.splice(r,0,{id:t.id,map:t.listeners})}else if(t.listeners)this.listenerMaps.push({id:t.id,map:t.listeners});return this}},{key:"addDocument",value:function e(t,n){if(this.getDocIndex(t)!==-1)return false;var r=O.getWindow(t);n=n?i.extend({},n):{};this.documents.push({doc:t,options:n});P.documents.push(t);if(t!==this.document)P.add(r,"unload",this.onWindowUnload);this.fire("scope:add-document",{doc:t,window:r,scope:this,options:n})}},{key:"removeDocument",value:function e(t){var n=this.getDocIndex(t);var r=O.getWindow(t);var i=this.documents[n].options;P.remove(r,"unload",this.onWindowUnload);this.documents.splice(n,1);P.documents.splice(n,1);this.fire("scope:remove-document",{doc:t,window:r,scope:this,options:i})}},{key:"getDocIndex",value:function e(t){for(var n=0;n<this.documents.length;n++)if(this.documents[n].doc===t)return n;return-1}},{key:"getDocOptions",value:function e(t){var n=this.getDocIndex(t);return n===-1?null:this.documents[n].options}},{key:"now",value:function e(){return(this.window.Date||Date).now()}}]);return e}();t.Scope=t["default"]=k;function T(e,t){if(t.phaselessTypes[e])return true;for(var n in t.map)if(e.indexOf(n)===0&&e.substr(n.length)in t.phases)return true;return false}function I(e,t){e.isInitialized=true;O.init(t);n["default"].init(t);E.init(t);M.init(t);P.init(t);e.usePlugin(r["default"]);e.document=t.document;e.window=t;return e}}),H=I(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var E=i(j);var l=i(L);var p=i(R);var M=r(B);var u=i(z);var c=i(qi);var o=i(ao);var n=i(V({}));function a(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;a=function e(){return t};return t}function r(e){if(e&&e.__esModule)return e;if(e===null||s(e)!=="object"&&typeof e!=="function")return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")s=function e(t){return typeof t};else s=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return s(e)}function P(e,t){return d(e)||h(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function h(e,t){if(!(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]"))return;var n=[];var r=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done);r=true){n.push(s.value);if(t&&n.length===t)break}}catch(e){i=true;o=e}finally{try{if(!r&&a["return"]!=null)a["return"]()}finally{if(i)throw o}}return n}function d(e){if(Array.isArray(e))return e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function g(e,t,n){if(t)m(e.prototype,t);if(n)m(e,n);return e}function v(e,t){if(t&&(s(t)==="object"||typeof t==="function"))return t;return b(e)}function b(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){_=Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)};return _(e)}function x(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)w(e,t)}function w(e,t){w=Object.setPrototypeOf||function e(t,n){t.__proto__=n;return t};return w(e,t)}var A=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function S(a){var e={};for(var t=0;t<A.length;t++){var n;n=A[t];var r=n;e[r]=C(r,a)}var i=E["default"].pEventTypes;var o;if(l["default"].PointerEvent)o=[{type:i.down,listener:s},{type:i.down,listener:e.pointerDown},{type:i.move,listener:e.pointerMove},{type:i.up,listener:e.pointerUp},{type:i.cancel,listener:e.pointerUp}];else o=[{type:"mousedown",listener:e.pointerDown},{type:"mousemove",listener:e.pointerMove},{type:"mouseup",listener:e.pointerUp},{type:"touchstart",listener:s},{type:"touchstart",listener:e.pointerDown},{type:"touchmove",listener:e.pointerMove},{type:"touchend",listener:e.pointerUp},{type:"touchcancel",listener:e.pointerUp}];o.push({type:"blur",listener:function e(t){for(var n=0;n<a.interactions.list.length;n++){var r;r=a.interactions.list[n];var i=r;i.documentBlur(t)}}});a.prevTouchTime=0;a.Interaction=function(e){x(t,e);function t(){y(this,t);return v(this,_(t).apply(this,arguments))}g(t,[{key:"_now",value:function e(){return a.now()}},{key:"pointerMoveTolerance",get:function e(){return a.interactions.pointerMoveTolerance},set:function e(t){a.interactions.pointerMoveTolerance=t}}]);return t}(u["default"]);a.interactions={list:[],new:function e(t){t.scopeFire=function(e,t){return a.fire(e,t)};var n=new a.Interaction(t);a.interactions.list.push(n);return n},listeners:e,docEvents:o,pointerMoveTolerance:1};function s(){for(var e=0;e<a.interactions.list.length;e++){var t;t=a.interactions.list[e];var r=t;if(!r.pointerIsDown||r.pointerType!=="touch"||r._interacting)continue;var n=function e(){o=r.pointers[i];var n=o;if(!a.documents.some(function(e){var t=e.doc;return(0,D.nodeContains)(t,n.downTarget)}))r.removePointer(n.pointer,n.event)};for(var i=0;i<r.pointers.length;i++){var o;n()}}}a.usePlugin(c["default"])}function C(C,O){return function(e){var t=O.interactions.list;var n=M.getPointerType(e);var r=M.getEventTargets(e),i=P(r,2),o=i[0],a=i[1];var s=[];if(/^touch/.test(e.type)){O.prevTouchTime=O.now();for(var l=0;l<e.changedTouches.length;l++){var u;u=e.changedTouches[l];var c=u;var f=c;var h=M.getPointerId(f);var d={pointer:f,pointerId:h,pointerType:n,eventType:e.type,eventTarget:o,curEventTarget:a,scope:O};var p=k(d);s.push([d.pointer,d.eventTarget,d.curEventTarget,p])}}else{var y=false;if(!E["default"].supportsPointerEvent&&/mouse/.test(e.type)){for(var m=0;m<t.length&&!y;m++)y=t[m].pointerType!=="mouse"&&t[m].pointerIsDown;y=y||O.now()-O.prevTouchTime<500||e.timeStamp===0}if(!y){var g={pointer:e,pointerId:M.getPointerId(e),pointerType:n,eventType:e.type,curEventTarget:a,eventTarget:o,scope:O};var v=k(g);s.push([g.pointer,g.eventTarget,g.curEventTarget,v])}}for(var b=0;b<s.length;b++){var _=P(s[b],4),x=_[0],w=_[1],A=_[2],S=_[3];S[C](x,e,w,A)}}}function k(e){var t=e.pointerType,n=e.scope;var r=o["default"].search(e);var i={interaction:r,searchDetails:e};n.fire("interactions:find",i);return i.interaction||n.interactions["new"]({pointerType:t})}function O(e,t){var n=e.doc,r=e.scope,i=e.options;var o=r.interactions.docEvents;var a=p["default"][t];if(r.browser.isIOS&&!i.events)i.events={passive:false};for(var s in p["default"].delegatedEvents){a(n,s,p["default"].delegateListener);a(n,s,p["default"].delegateUseCapture,true)}var l=i&&i.events;for(var u=0;u<o.length;u++){var c;c=o[u];var f=c,h=f.type,d=f.listener;a(n,h,d,l)}}var T={id:"core/interactions",install:S,listeners:{"scope:add-document":function e(t){return O(t,"add")},"scope:remove-document":function e(t){return O(t,"remove")},"interactable:unset":function e(t,n){var r=t.interactable;for(var i=n.interactions.list.length-1;i>=0;i--){var o=n.interactions.list[i];if(o.interactable!==r)continue;o.stop();n.fire("interactions:destroy",{interaction:o});o.destroy();if(n.interactions.list.length>2)n.interactions.list.splice(i,1)}}},onDocSignal:O,doOnInteractions:C,methodNames:A};var I=T;t["default"]=I}),Y=I(function(e,t){"use strict";function a(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")a=function e(t){return typeof t};else a=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return a(e)}Object.defineProperty(t,"__esModule",{value:true});t["default"]=t.InteractStatic=void 0;var n=i(j);var u=i(R);var c=r(N);var f=V({});function s(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;s=function e(){return t};return t}function r(e){if(e&&e.__esModule)return e;if(e===null||a(e)!=="object"&&typeof e!=="function")return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function h(e,t,n){if(t)o(e.prototype,t);if(n)o(e,n);return e}function d(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}var p=function(){function s(i){var o=this;l(this,s);this.scope=i;d(this,"getPointerAverage",c.pointer.pointerAverage);d(this,"getTouchBBox",c.pointer.touchBBox);d(this,"getTouchDistance",c.pointer.touchDistance);d(this,"getTouchAngle",c.pointer.touchAngle);d(this,"getElementRect",c.dom.getElementRect);d(this,"getElementClientRect",c.dom.getElementClientRect);d(this,"matchesSelector",c.dom.matchesSelector);d(this,"closest",c.dom.closest);d(this,"globalEvents",{});d(this,"dynamicDrop",void 0);d(this,"version","1.9.7");d(this,"interact",void 0);var e=this.constructor.prototype;var t=function e(t,n){var r=i.interactables.get(t,n);if(!r){r=i.interactables["new"](t,n);r.events.global=o.globalEvents}return r};for(var n=0;n<Object.getOwnPropertyNames(this.constructor.prototype).length;n++){var r;r=Object.getOwnPropertyNames(this.constructor.prototype)[n];var a=r;t[a]=e[a]}c.extend(t,this);t.constructor=this.constructor;this.interact=t;return t}h(s,[{key:"use",value:function e(t,n){this.scope.usePlugin(t,n);return this}},{key:"isSet",value:function e(t,n){return!!this.scope.interactables.get(t,n&&n.context)}},{key:"on",value:function e(t,n,r){if(c.is.string(t)&&t.search(" ")!==-1)t=t.trim().split(/ +/);if(c.is.array(t)){for(var i=0;i<t.length;i++){var o;o=t[i];var a=o;this.on(a,n,r)}return this}if(c.is.object(t)){for(var s in t)this.on(s,t[s],n);return this}if((0,f.isNonNativeEvent)(t,this.scope.actions))if(!this.globalEvents[t])this.globalEvents[t]=[n];else this.globalEvents[t].push(n);else u["default"].add(this.scope.document,t,n,{options:r});return this}},{key:"off",value:function e(t,n,r){if(c.is.string(t)&&t.search(" ")!==-1)t=t.trim().split(/ +/);if(c.is.array(t)){for(var i=0;i<t.length;i++){var o;o=t[i];var a=o;this.off(a,n,r)}return this}if(c.is.object(t)){for(var s in t)this.off(s,t[s],n);return this}if((0,f.isNonNativeEvent)(t,this.scope.actions)){var l;if(t in this.globalEvents&&(l=this.globalEvents[t].indexOf(n))!==-1)this.globalEvents[t].splice(l,1)}else u["default"].remove(this.scope.document,t,n,r);return this}},{key:"debug",value:function e(){return this.scope}},{key:"supportsTouch",value:function e(){return n["default"].supportsTouch}},{key:"supportsPointerEvent",value:function e(){return n["default"].supportsPointerEvent}},{key:"stop",value:function e(){for(var t=0;t<this.scope.interactions.list.length;t++){var n;n=this.scope.interactions.list[t];var r=n;r.stop()}return this}},{key:"pointerMoveTolerance",value:function e(t){if(c.is.number(t)){this.scope.interactions.pointerMoveTolerance=t;return this}return this.scope.interactions.pointerMoveTolerance}},{key:"addDocument",value:function e(t,n){this.scope.addDocument(t,n)}},{key:"removeDocument",value:function e(t){this.scope.removeDocument(t)}}]);return s}();t.InteractStatic=p;var y=p;t["default"]=y}),G={},U=("use strict",{}),Q=("use strict",Object.defineProperty(U,"__esModule",{value:true}),U["default"]=void 0,function e(t){return!!(t&&t.Window)&&t instanceof t.Window}),x=(U["default"]=Q,{}),W=("use strict",Object.defineProperty(x,"__esModule",{value:true}),x.init=X,x.getWindow=J,x["default"]=void 0,q(U));function q(e){return e&&e.__esModule?e:{default:e}}var K={realWindow:undefined,window:undefined,getWindow:J,init:X};function X(e){K.realWindow=e;var t=e.document.createTextNode("");if(t.ownerDocument!==e.document&&typeof e.wrap==="function"&&e.wrap(t)===t)e=e.wrap(e);K.window=e}if(typeof window==="undefined"){K.window=undefined;K.realWindow=undefined}else X(window);function J(e){if((0,W["default"])(e))return e;var t=e.ownerDocument||e;return t.defaultView||K.window}K.init=X;var $,w=(x["default"]=K,{}),Z=("use strict",Object.defineProperty(w,"__esModule",{value:true}),w.array=w.plainObject=w.element=w.string=w.bool=w.number=w.func=w.object=w.docFrag=w.window=void 0,te(U)),ee=te(x);function te(e){return e&&e.__esModule?e:{default:e}}function ne(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")ne=function e(t){return typeof t};else ne=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return ne(e)}var re,ie=(w.window=function e(t){return t===ee["default"].window||(0,Z["default"])(t)},function e(t){return oe(t)&&t.nodeType===11}),oe=(w.docFrag=ie,function e(t){return!!t&&ne(t)==="object"}),ae=(w.object=oe,function e(t){return typeof t==="function"}),se=(w.func=ae,function e(t){return typeof t==="number"}),le=(w.number=se,function e(t){return typeof t==="boolean"}),ue=(w.bool=le,function e(t){return typeof t==="string"}),ce=(w.string=ue,function e(t){if(!t||ne(t)!=="object")return false;var n=ee["default"].getWindow(t)||ee["default"].window;return/object|function/.test(ne(n.Element))?t instanceof n.Element:t.nodeType===1&&typeof t.nodeName==="string"}),fe=(w.element=ce,function e(t){return oe(t)&&!!t.constructor&&/function Object\b/.test(t.constructor.toString())}),he=(w.plainObject=fe,function e(t){return oe(t)&&typeof t.length!=="undefined"&&ae(t.splice)}),de=(w.array=he,{});function pe(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")pe=function e(t){return typeof t};else pe=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return pe(e)}"use strict",Object.defineProperty(de,"__esModule",{value:true}),de["default"]=void 0;var ye=ge(w);function me(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;me=function e(){return t};return t}function ge(e){if(e&&e.__esModule)return e;if(e===null||pe(e)!=="object"&&typeof e!=="function")return{default:e};var t=me();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function ve(e){var t=e.actions,n=e.Interactable,r=e.defaults;n.prototype.draggable=we.draggable;t.map.drag=we;t.methodDict.drag="draggable";r.actions.drag=we.defaults}function be(e){var t=e.interaction;if(t.prepared.name!=="drag")return;var n=t.prepared.axis;if(n==="x"){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}else if(n==="y"){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 _e(e){var t=e.iEvent,n=e.interaction;if(n.prepared.name!=="drag")return;var r=n.prepared.axis;if(r==="x"||r==="y"){var i=r==="x"?"y":"x";t.page[i]=n.coords.start.page[i];t.client[i]=n.coords.start.client[i];t.delta[i]=0}}var xe,we={id:"actions/drag",install:ve,listeners:{"interactions:before-action-move":be,"interactions:action-resume":be,"interactions:action-move":_e,"auto-start:check":function e(t){var n=t.interaction,r=t.interactable,i=t.buttons;var o=r.options.drag;if(!(o&&o.enabled)||n.pointerIsDown&&/mouse|pointer/.test(n.pointerType)&&(i&r.options.drag.mouseButtons)===0)return undefined;t.action={name:"drag",axis:o.lockAxis==="start"?o.startAxis:o.lockAxis};return false}},draggable:function e(t){if(ye.object(t)){this.options.drag.enabled=t.enabled!==false;this.setPerAction("drag",t);this.setOnEvents("drag",t);if(/^(xy|x|y|start)$/.test(t.lockAxis))this.options.drag.lockAxis=t.lockAxis;if(/^(xy|x|y)$/.test(t.startAxis))this.options.drag.startAxis=t.startAxis;return this}if(ye.bool(t)){this.options.drag.enabled=t;return this}return this.options.drag},beforeMove:be,move:_e,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function e(){return"move"}},Ae,A=(de["default"]=we,{}),Se=("use strict",Object.defineProperty(A,"__esModule",{value:true}),A.find=A.findIndex=A.from=A.merge=A.remove=A.contains=void 0,function e(t,n){return t.indexOf(n)!==-1}),Ce=(A.contains=Se,function e(t,n){return t.splice(t.indexOf(n),1)}),Oe=(A.remove=Ce,function e(t,n){for(var r=0;r<n.length;r++){var i;i=n[r];var o=i;t.push(o)}return t}),Ee=(A.merge=Oe,function e(t){return Oe([],t)}),Me=(A.from=Ee,function e(t,n){for(var r=0;r<t.length;r++)if(n(t[r],r,t))return r;return-1}),Pe=(A.findIndex=Me,function e(t,n){return t[Me(t,n)]}),L=(A.find=Pe,{}),n=("use strict",Object.defineProperty(L,"__esModule",{value:true}),L["default"]=void 0,{init:Ie,document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null}),ke;function Te(){}function Ie(e){var t=e;n.document=t.document;n.DocumentFragment=t.DocumentFragment||Te;n.SVGElement=t.SVGElement||Te;n.SVGSVGElement=t.SVGSVGElement||Te;n.SVGElementInstance=t.SVGElementInstance||Te;n.Element=t.Element||Te;n.HTMLElement=t.HTMLElement||n.Element;n.Event=t.Event;n.Touch=t.Touch||Te;n.PointerEvent=t.PointerEvent||t.MSPointerEvent}L["default"]=n;var j={};function Le(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Le=function e(t){return typeof t};else Le=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Le(e)}"use strict",Object.defineProperty(j,"__esModule",{value:true}),j["default"]=void 0;var je=ze(L),De=Ne(w),Be=ze(x);function Re(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Re=function e(){return t};return t}function Ne(e){if(e&&e.__esModule)return e;if(e===null||Le(e)!=="object"&&typeof e!=="function")return{default:e};var t=Re();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function ze(e){return e&&e.__esModule?e:{default:e}}var r={init:Fe,supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null};function Fe(e){var t=je["default"].Element;var n=Be["default"].window.navigator;r.supportsTouch="ontouchstart"in e||De.func(e.DocumentTouch)&&je["default"].document instanceof e.DocumentTouch;r.supportsPointerEvent=n.pointerEnabled!==false&&!!je["default"].PointerEvent;r.isIOS=/iP(hone|od|ad)/.test(n.platform);r.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion);r.isIe9=/MSIE 9/.test(n.userAgent);r.isOperaMobile=n.appName==="Opera"&&r.supportsTouch&&/Presto/.test(n.userAgent);r.prefixedMatchesSelector="matches"in t.prototype?"matches":"webkitMatchesSelector"in t.prototype?"webkitMatchesSelector":"mozMatchesSelector"in t.prototype?"mozMatchesSelector":"oMatchesSelector"in t.prototype?"oMatchesSelector":"msMatchesSelector";r.pEventTypes=r.supportsPointerEvent?je["default"].PointerEvent===e.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null;r.wheelEvent="onmousewheel"in je["default"].document?"mousewheel":"wheel"}var Ve,He=(j["default"]=r,{});function Ye(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Ye=function e(t){return typeof t};else Ye=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Ye(e)}"use strict",Object.defineProperty(He,"__esModule",{value:true}),He["default"]=qe;var Ge=We(A),Ue=We(w);function Qe(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Qe=function e(){return t};return t}function We(e){if(e&&e.__esModule)return e;if(e===null||Ye(e)!=="object"&&typeof e!=="function")return{default:e};var t=Qe();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function qe(e){var t={};for(var n in e){var r=e[n];if(Ue.plainObject(r))t[n]=qe(r);else if(Ue.array(r))t[n]=Ge.from(r);else t[n]=r}return t}var D={};function Ke(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Ke=function e(t){return typeof t};else Ke=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Ke(e)}"use strict",Object.defineProperty(D,"__esModule",{value:true}),D.nodeContains=rt,D.closest=it,D.parentNode=ot,D.matchesSelector=at,D.indexOfDeepestElement=lt,D.matchesUpTo=ut,D.getActualElement=ct,D.getScrollXY=ft,D.getElementClientRect=ht,D.getElementRect=dt,D.getPath=pt,D.trySelector=yt;var Xe=nt(j),Je=nt(L),$e=tt(w),Ze=tt(x);function et(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;et=function e(){return t};return t}function tt(e){if(e&&e.__esModule)return e;if(e===null||Ke(e)!=="object"&&typeof e!=="function")return{default:e};var t=et();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function nt(e){return e&&e.__esModule?e:{default:e}}function rt(e,t){while(t){if(t===e)return true;t=t.parentNode}return false}function it(e,t){while($e.element(e)){if(at(e,t))return e;e=ot(e)}return null}function ot(e){var t=e.parentNode;if($e.docFrag(t)){while((t=t.host)&&$e.docFrag(t))continue;return t}return t}function at(e,t){if(Ze["default"].window!==Ze["default"].realWindow)t=t.replace(/\/deep\//g," ");return e[Xe["default"].prefixedMatchesSelector](t)}var st=function e(t){return t.parentNode?t.parentNode:t.host};function lt(e){var t=[];var n=e[0];var r=n?0:-1;var i;var o;for(i=1;i<e.length;i++){var a=e[i];if(!a||a===n)continue;if(!n){n=a;r=i;continue}if(a.parentNode===a.ownerDocument)continue;else if(n.parentNode===a.ownerDocument){n=a;r=i;continue}if(a.parentNode===n.parentNode){var s=parseInt((0,Ze.getWindow)(n).getComputedStyle(n).zIndex,10)||0;var l=parseInt((0,Ze.getWindow)(a).getComputedStyle(a).zIndex,10)||0;if(l>=s){n=a;r=i}continue}if(!t.length){var u=n;var c=void 0;while((c=st(u))&&c!==u.ownerDocument){t.unshift(u);u=c}}var f=void 0;if(n instanceof Je["default"].HTMLElement&&a instanceof Je["default"].SVGElement&&!(a instanceof Je["default"].SVGSVGElement)){if(a===n.parentNode)continue;f=a.ownerSVGElement}else f=a;var h=[];while(f.parentNode!==f.ownerDocument){h.unshift(f);f=st(f)}o=0;while(h[o]&&h[o]===t[o])o++;var d=[h[o-1],h[o],t[o]];var p=d[0].lastChild;while(p){if(p===d[1]){n=a;r=i;t=h;break}else if(p===d[2])break;p=p.previousSibling}}return r}function ut(e,t,n){while($e.element(e)){if(at(e,t))return true;e=ot(e);if(e===n)return at(e,t)}return false}function ct(e){return e instanceof Je["default"].SVGElementInstance?e.correspondingUseElement:e}function ft(e){e=e||Ze["default"].window;return{x:e.scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop}}function ht(e){var t=e instanceof Je["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 dt(e){var t=ht(e);if(!Xe["default"].isIOS7&&t){var n=ft(Ze["default"].getWindow(e));t.left+=n.x;t.right+=n.x;t.top+=n.y;t.bottom+=n.y}return t}function pt(e){var t=[];while(e){t.push(e);e=ot(e)}return t}function yt(e){if(!$e.string(e))return false;Je["default"].document.querySelector(e);return true}var mt={};function gt(e,t){for(var n in t){var r=gt.prefixedPropREs;var i=false;for(var o in r)if(n.indexOf(o)===0&&r[o].test(n)){i=true;break}if(!i&&typeof t[n]!=="function")e[n]=t[n]}return e}"use strict",Object.defineProperty(mt,"__esModule",{value:true}),mt["default"]=void 0,gt.prefixedPropREs={webkit:/(Movement[XY]|Radius[XY]|RotationAngle|Force)$/,moz:/(Pressure)$/};var vt,bt=(mt["default"]=gt,{}),_t=("use strict",Object.defineProperty(bt,"__esModule",{value:true}),bt["default"]=void 0,function e(t,n){return Math.sqrt(t*t+n*n)}),B=(bt["default"]=_t,{});function xt(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")xt=function e(t){return typeof t};else xt=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return xt(e)}"use strict",Object.defineProperty(B,"__esModule",{value:true}),B.copyCoords=Tt,B.setCoordDeltas=It,B.setCoordVelocity=Lt,B.setZeroCoords=jt,B.isNativePointer=Dt,B.getXY=Bt,B.getPageXY=Rt,B.getClientXY=Nt,B.getPointerId=zt,B.setCoords=Ft,B.getTouchPair=Vt,B.pointerAverage=Ht,B.touchBBox=Yt,B.touchDistance=Gt,B.touchAngle=Ut,B.getPointerType=Qt,B.getEventTargets=Wt,B.newCoords=qt,B.coordsToEvent=Kt,Object.defineProperty(B,"pointerExtend",{enumerable:true,get:function e(){return Et["default"]}});var wt=kt(j),At=kt(L),St=Pt(D),Ct=kt(bt),Ot=Pt(w),Et=kt(mt);function Mt(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Mt=function e(){return t};return t}function Pt(e){if(e&&e.__esModule)return e;if(e===null||xt(e)!=="object"&&typeof e!=="function")return{default:e};var t=Mt();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function kt(e){return e&&e.__esModule?e:{default:e}}function Tt(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}function It(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}function Lt(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}function jt(e){e.page.x=0;e.page.y=0;e.client.x=0;e.client.y=0}function Dt(e){return e instanceof At["default"].Event||e instanceof At["default"].Touch}function Bt(e,t,n){n=n||{};e=e||"page";n.x=t[e+"X"];n.y=t[e+"Y"];return n}function Rt(e,t){t=t||{x:0,y:0};if(wt["default"].isOperaMobile&&Dt(e)){Bt("screen",e,t);t.x+=window.scrollX;t.y+=window.scrollY}else Bt("page",e,t);return t}function Nt(e,t){t=t||{};if(wt["default"].isOperaMobile&&Dt(e))Bt("screen",e,t);else Bt("client",e,t);return t}function zt(e){return Ot.number(e.pointerId)?e.pointerId:e.identifier}function Ft(e,t,n){var r=t.length>1?Ht(t):t[0];var i={};Rt(r,i);e.page.x=i.x;e.page.y=i.y;Nt(r,i);e.client.x=i.x;e.client.y=i.y;e.timeStamp=n}function Vt(e){var t=[];if(Ot.array(e)){t[0]=e[0];t[1]=e[1]}else if(e.type==="touchend"){if(e.touches.length===1){t[0]=e.touches[0];t[1]=e.changedTouches[0]}else if(e.touches.length===0){t[0]=e.changedTouches[0];t[1]=e.changedTouches[1]}}else{t[0]=e.touches[0];t[1]=e.touches[1]}return t}function Ht(e){var t={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0};for(var n=0;n<e.length;n++){var r;r=e[n];var i=r;for(var o in t)t[o]+=i[o]}for(var a in t)t[a]/=e.length;return t}function Yt(e){if(!e.length&&!(e.touches&&e.touches.length>1))return null;var t=Vt(e);var n=Math.min(t[0].pageX,t[1].pageX);var r=Math.min(t[0].pageY,t[1].pageY);var i=Math.max(t[0].pageX,t[1].pageX);var o=Math.max(t[0].pageY,t[1].pageY);return{x:n,y:r,left:n,top:r,right:i,bottom:o,width:i-n,height:o-r}}function Gt(e,t){var n=t+"X";var r=t+"Y";var i=Vt(e);var o=i[0][n]-i[1][n];var a=i[0][r]-i[1][r];return(0,Ct["default"])(o,a)}function Ut(e,t){var n=t+"X";var r=t+"Y";var i=Vt(e);var o=i[1][n]-i[0][n];var a=i[1][r]-i[0][r];var s=180*Math.atan2(a,o)/Math.PI;return s}function Qt(e){return Ot.string(e.pointerType)?e.pointerType:Ot.number(e.pointerType)?[undefined,undefined,"touch","pen","mouse"][e.pointerType]:/touch/.test(e.type)||e instanceof At["default"].Touch?"touch":"mouse"}function Wt(e){var t=Ot.func(e.composedPath)?e.composedPath():e.path;return[St.getActualElement(t?t[0]:e.target),St.getActualElement(e.currentTarget)]}function qt(){return{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}}function Kt(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},preventDefault:function e(){}};return t}var R={};function Xt(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Xt=function e(t){return typeof t};else Xt=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Xt(e)}"use strict",Object.defineProperty(R,"__esModule",{value:true}),R["default"]=R.FakeEvent=void 0;var Jt=rn(D),$t=rn(w),Zt=tn(mt),en=rn(B);function tn(e){return e&&e.__esModule?e:{default:e}}function nn(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;nn=function e(){return t};return t}function rn(e){if(e&&e.__esModule)return e;if(e===null||Xt(e)!=="object"&&typeof e!=="function")return{default:e};var t=nn();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function on(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function an(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function sn(e,t,n){if(t)an(e.prototype,t);if(n)an(e,n);return e}function ln(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}function un(e,t){return hn(e)||fn(e,t)||cn()}function cn(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function fn(e,t){if(!(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]"))return;var n=[];var r=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done);r=true){n.push(s.value);if(t&&n.length===t)break}}catch(e){i=true;o=e}finally{try{if(!r&&a["return"]!=null)a["return"]()}finally{if(i)throw o}}return n}function hn(e){if(Array.isArray(e))return e}var dn=[],pn=[],yn={},mn=[];function gn(e,t,n,r){var i=An(r);var o=dn.indexOf(e);var a=pn[o];if(!a){a={events:{},typeCount:0};o=dn.push(e)-1;pn.push(a)}if(!a.events[t]){a.events[t]=[];a.typeCount++}if(e.removeEventListener&&!(0,A.contains)(a.events[t],n)){e.addEventListener(t,n,Cn.supportsOptions?i:!!i.capture);a.events[t].push(n)}}function vn(e,t,n,r){var i=An(r);var o=dn.indexOf(e);var a=pn[o];if(!a||!a.events)return;if(t==="all"){for(t in a.events)if(a.events.hasOwnProperty(t))vn(e,t,"all");return}if(a.events[t]){var s=a.events[t].length;if(n==="all"){for(var l=0;l<s;l++)vn(e,t,a.events[t][l],i);return}else for(var u=0;u<s;u++)if(e.removeEventListener&&a.events[t][u]===n){e.removeEventListener(t,n,Cn.supportsOptions?i:!!i.capture);a.events[t].splice(u,1);break}if(a.events[t]&&a.events[t].length===0){a.events[t]=null;a.typeCount--}}if(!a.typeCount){pn.splice(o,1);dn.splice(o,1)}}function bn(e,t,n,r,i){var o=An(i);if(!yn[n]){yn[n]={contexts:[],listeners:[],selectors:[]};for(var a=0;a<mn.length;a++){var s;s=mn[a];var l=s;gn(l,n,xn);gn(l,n,wn,true)}}var u=yn[n];var c;for(c=u.selectors.length-1;c>=0;c--)if(u.selectors[c]===e&&u.contexts[c]===t)break;if(c===-1){c=u.selectors.length;u.selectors.push(e);u.contexts.push(t);u.listeners.push([])}u.listeners[c].push([r,!!o.capture,o.passive])}function _n(e,t,n,r,i){var o=An(i);var a=yn[n];var s=false;var l;if(!a)return;for(l=a.selectors.length-1;l>=0;l--)if(a.selectors[l]===e&&a.contexts[l]===t){var u=a.listeners[l];for(var c=u.length-1;c>=0;c--){var f=un(u[c],3),h=f[0],d=f[1],p=f[2];if(h===r&&d===!!o.capture&&p===o.passive){u.splice(c,1);if(!u.length){a.selectors.splice(l,1);a.contexts.splice(l,1);a.listeners.splice(l,1);vn(t,n,xn);vn(t,n,wn,true);if(!a.selectors.length)yn[n]=null}s=true;break}}if(s)break}}function xn(e,t){var n=An(t);var r=new Sn(e);var i=yn[e.type];var o=en.getEventTargets(e),a=un(o,1),s=a[0];var l=s;while($t.element(l)){for(var u=0;u<i.selectors.length;u++){var c=i.selectors[u];var f=i.contexts[u];if(Jt.matchesSelector(l,c)&&Jt.nodeContains(f,s)&&Jt.nodeContains(f,l)){var h=i.listeners[u];r.currentTarget=l;for(var d=0;d<h.length;d++){var p;p=h[d];var y=p,m=un(y,3),g=m[0],v=m[1],b=m[2];if(v===!!n.capture&&b===n.passive)g(r)}}}l=Jt.parentNode(l)}}function wn(e){return xn.call(this,e,true)}function An(e){return $t.object(e)?e:{capture:e}}var Sn=function(){function t(e){on(this,t);this.originalEvent=e;ln(this,"currentTarget",void 0);(0,Zt["default"])(this,e)}sn(t,[{key:"preventOriginalDefault",value:function e(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function e(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function e(){this.originalEvent.stopImmediatePropagation()}}]);return t}(),Cn=(R.FakeEvent=Sn,{add:gn,remove:vn,addDelegate:bn,removeDelegate:_n,delegateListener:xn,delegateUseCapture:wn,delegatedEvents:yn,documents:mn,supportsOptions:false,supportsPassive:false,_elements:dn,_targets:pn,init:function e(t){t.document.createElement("div").addEventListener("test",null,{get capture(){return Cn.supportsOptions=true},get passive(){return Cn.supportsPassive=true}})}}),On,S=(R["default"]=Cn,{});function En(e,t){for(var n in t)e[n]=t[n];var r=e;return r}"use strict",Object.defineProperty(S,"__esModule",{value:true}),S["default"]=En;var Mn={};function Pn(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Pn=function e(t){return typeof t};else Pn=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Pn(e)}"use strict",Object.defineProperty(Mn,"__esModule",{value:true}),Mn["default"]=Dn;var kn=jn(S),Tn=Ln(w);function In(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;In=function e(){return t};return t}function Ln(e){if(e&&e.__esModule)return e;if(e===null||Pn(e)!=="object"&&typeof e!=="function")return{default:e};var t=In();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function jn(e){return e&&e.__esModule?e:{default:e}}function Dn(t,n,r){r=r||{};if(Tn.string(t)&&t.search(" ")!==-1)t=Bn(t);if(Tn.array(t))return t.reduce(function(e,t){return(0,kn["default"])(e,Dn(t,n,r))},r);if(Tn.object(t)){n=t;t=""}if(Tn.func(n)){r[t]=r[t]||[];r[t].push(n)}else if(Tn.array(n))for(var e=0;e<n.length;e++){var i;i=n[e];var o=i;Dn(t,o,r)}else if(Tn.object(n))for(var a in n){var s=Bn(a).map(function(e){return"".concat(t).concat(e)});Dn(s,n[a],r)}return r}function Bn(e){return e.trim().split(/ +/)}var Rn={};function Nn(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Nn=function e(t){return typeof t};else Nn=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Nn(e)}"use strict",Object.defineProperty(Rn,"__esModule",{value:true}),Rn["default"]=void 0;var zn=Gn(A),Fn=Hn(S),Vn=Hn(Mn);function Hn(e){return e&&e.__esModule?e:{default:e}}function Yn(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Yn=function e(){return t};return t}function Gn(e){if(e&&e.__esModule)return e;if(e===null||Nn(e)!=="object"&&typeof e!=="function")return{default:e};var t=Yn();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Un(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function Wn(e,t,n){if(t)Qn(e.prototype,t);if(n)Qn(e,n);return e}function qn(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}function Kn(e,t){for(var n=0;n<t.length;n++){var r;r=t[n];var i=r;if(e.immediatePropagationStopped)break;i(e)}}var Xn=function(){function t(e){Un(this,t);qn(this,"options",void 0);qn(this,"types",{});qn(this,"propagationStopped",false);qn(this,"immediatePropagationStopped",false);qn(this,"global",void 0);this.options=(0,Fn["default"])({},e||{})}Wn(t,[{key:"fire",value:function e(t){var n;var r=this.global;if(n=this.types[t.type])Kn(t,n);if(!t.propagationStopped&&r&&(n=r[t.type]))Kn(t,n)}},{key:"on",value:function e(t,n){var r=(0,Vn["default"])(t,n);for(t in r)this.types[t]=zn.merge(this.types[t]||[],r[t])}},{key:"off",value:function e(t,n){var r=(0,Vn["default"])(t,n);for(t in r){var i=this.types[t];if(!i||!i.length)continue;for(var o=0;o<r[t].length;o++){var a;a=r[t][o];var s=a;var l=i.indexOf(s);if(l!==-1)i.splice(l,1)}}}},{key:"getRect",value:function e(t){return null}}]);return t}(),Jn,f=(Rn["default"]=Xn,{});function $n(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")$n=function e(t){return typeof t};else $n=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return $n(e)}"use strict",Object.defineProperty(f,"__esModule",{value:true}),f.getStringOptionResult=lr,f.resolveRectLike=ur,f.rectToXY=cr,f.xywhToTlbr=fr,f.tlbrToXywh=hr,f.addEdges=dr;var Zn=rr(S),er=nr(w);function tr(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;tr=function e(){return t};return t}function nr(e){if(e&&e.__esModule)return e;if(e===null||$n(e)!=="object"&&typeof e!=="function")return{default:e};var t=tr();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function rr(e){return e&&e.__esModule?e:{default:e}}function ir(e){return sr(e)||ar(e)||or()}function or(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function ar(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function sr(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function lr(e,t,n){if(e==="parent")return(0,D.parentNode)(n);if(e==="self")return t.getRect(n);return(0,D.closest)(n,e)}function ur(e,t,n,r){var i=e;if(er.string(i))i=lr(i,t,n);else if(er.func(i))i=i.apply(void 0,ir(r));if(er.element(i))i=(0,D.getElementRect)(i);return i}function cr(e){return e&&{x:"x"in e?e.x:e.left,y:"y"in e?e.y:e.top}}function fr(e){if(e&&!("left"in e&&"top"in e)){e=(0,Zn["default"])({},e);e.left=e.x||0;e.top=e.y||0;e.right=e.right||e.left+e.width;e.bottom=e.bottom||e.top+e.height}return e}function hr(e){if(e&&!("x"in e&&"y"in e)){e=(0,Zn["default"])({},e);e.x=e.left||0;e.y=e.top||0;e.width=e.width||e.right||0-e.x;e.height=e.height||e.bottom||0-e.y}return e}function dr(e,t,n){if(e.left)t.left+=n.x;if(e.right)t.right+=n.x;if(e.top)t.top+=n.y;if(e.bottom)t.bottom+=n.y;t.width=t.right-t.left;t.height=t.bottom-t.top}var pr={};function yr(e,t,n){var r=e.options[n];var i=r&&r.origin;var o=i||e.options.origin;var a=(0,f.resolveRectLike)(o,e,t,[e&&t]);return(0,f.rectToXY)(a)||{x:0,y:0}}"use strict",Object.defineProperty(pr,"__esModule",{value:true}),pr["default"]=yr;var mr={},gr=("use strict",Object.defineProperty(mr,"__esModule",{value:true}),mr["default"]=void 0,0),vr,br;function _r(e){vr=e.requestAnimationFrame;br=e.cancelAnimationFrame;if(!vr){var t=["ms","moz","webkit","o"];for(var n=0;n<t.length;n++){var r=t[n];vr=e["".concat(r,"RequestAnimationFrame")];br=e["".concat(r,"CancelAnimationFrame")]||e["".concat(r,"CancelRequestAnimationFrame")]}}if(!vr){vr=function e(t){var n=Date.now();var r=Math.max(0,16-(n-gr));var i=setTimeout(function(){t(n+r)},r);gr=n+r;return i};br=function e(t){return clearTimeout(t)}}}var xr,N=(mr["default"]={request:function e(t){return vr(t)},cancel:function e(t){return br(t)},init:_r},{});function wr(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")wr=function e(t){return typeof t};else wr=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return wr(e)}"use strict",Object.defineProperty(N,"__esModule",{value:true}),N.warnOnce=zr,N.copyAction=Fr,Object.defineProperty(N,"win",{enumerable:true,get:function e(){return Mr["default"]}}),Object.defineProperty(N,"browser",{enumerable:true,get:function e(){return Pr["default"]}}),Object.defineProperty(N,"clone",{enumerable:true,get:function e(){return kr["default"]}}),Object.defineProperty(N,"events",{enumerable:true,get:function e(){return Tr["default"]}}),Object.defineProperty(N,"extend",{enumerable:true,get:function e(){return Ir["default"]}}),Object.defineProperty(N,"getOriginXY",{enumerable:true,get:function e(){return Lr["default"]}}),Object.defineProperty(N,"hypot",{enumerable:true,get:function e(){return jr["default"]}}),Object.defineProperty(N,"normalizeListeners",{enumerable:true,get:function e(){return Dr["default"]}}),Object.defineProperty(N,"raf",{enumerable:true,get:function e(){return Br["default"]}}),N.rect=N.pointer=N.is=N.dom=N.arr=void 0;var Ar=Nr(A),Sr=(N.arr=Ar,Nr(D)),Cr=(N.dom=Sr,Nr(w)),Or=(N.is=Cr,Nr(B)),Er=(N.pointer=Or,Nr(f)),Mr=(N.rect=Er,e(x)),Pr=e(j),kr=e(He),Tr=e(R),Ir=e(S),Lr=e(pr),jr=e(bt),Dr=e(Mn),Br=e(mr);function e(e){return e&&e.__esModule?e:{default:e}}function Rr(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Rr=function e(){return t};return t}function Nr(e){if(e&&e.__esModule)return e;if(e===null||wr(e)!=="object"&&typeof e!=="function")return{default:e};var t=Rr();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function zr(e,t){var n=false;return function(){if(!n){Mr["default"].window.console.warn(t);n=true}return e.apply(this,arguments)}}function Fr(e,t){e.name=t.name;e.axis=t.axis;e.edges=t.edges;return e}var Vr={};function Hr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function Gr(e,t,n){if(t)Yr(e.prototype,t);if(n)Yr(e,n);return e}function Ur(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}"use strict",Object.defineProperty(Vr,"__esModule",{value:true}),Vr["default"]=Vr.BaseEvent=void 0;var Qr=function(){Gr(t,[{key:"interaction",get:function e(){return this._interaction._proxy}}]);function t(e){Hr(this,t);Ur(this,"type",void 0);Ur(this,"target",void 0);Ur(this,"currentTarget",void 0);Ur(this,"interactable",void 0);Ur(this,"_interaction",void 0);Ur(this,"timeStamp",void 0);Ur(this,"immediatePropagationStopped",false);Ur(this,"propagationStopped",false);this._interaction=e}Gr(t,[{key:"preventDefault",value:function e(){}},{key:"stopPropagation",value:function e(){this.propagationStopped=true}},{key:"stopImmediatePropagation",value:function e(){this.immediatePropagationStopped=this.propagationStopped=true}}]);return t}(),Wr=Vr.BaseEvent=Qr,qr=(Vr["default"]=Wr,{}),Kr=("use strict",Object.defineProperty(qr,"__esModule",{value:true}),qr["default"]=qr.defaults=void 0,{base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:false,origin:{x:0,y:0}},actions:{}}),Xr=qr.defaults=Kr,Jr=(qr["default"]=Xr,{}),$r=("use strict",Object.defineProperty(Jr,"__esModule",{value:true}),Jr["default"]=Jr.InteractEvent=void 0,ri(S)),Zr=ri(pr),ei=ri(bt),ti=ri(Vr),ni=ri(qr);function ri(e){return e&&e.__esModule?e:{default:e}}function ii(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")ii=function e(t){return typeof t};else ii=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return ii(e)}function oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ai(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function si(e,t,n){if(t)ai(e.prototype,t);if(n)ai(e,n);return e}function li(e,t){if(t&&(ii(t)==="object"||typeof t==="function"))return t;return m(e)}function ui(e){ui=Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)};return ui(e)}function m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ci(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)fi(e,t)}function fi(e,t){fi=Object.setPrototypeOf||function e(t,n){t.__proto__=n;return t};return fi(e,t)}function g(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}var hi=function(e){ci(y,e);function y(e,t,n,r,i,o,a){var s;oi(this,y);s=li(this,ui(y).call(this,e));g(m(s),"target",void 0);g(m(s),"currentTarget",void 0);g(m(s),"relatedTarget",null);g(m(s),"screenX",void 0);g(m(s),"screenY",void 0);g(m(s),"button",void 0);g(m(s),"buttons",void 0);g(m(s),"ctrlKey",void 0);g(m(s),"shiftKey",void 0);g(m(s),"altKey",void 0);g(m(s),"metaKey",void 0);g(m(s),"page",void 0);g(m(s),"client",void 0);g(m(s),"delta",void 0);g(m(s),"rect",void 0);g(m(s),"x0",void 0);g(m(s),"y0",void 0);g(m(s),"t0",void 0);g(m(s),"dt",void 0);g(m(s),"duration",void 0);g(m(s),"clientX0",void 0);g(m(s),"clientY0",void 0);g(m(s),"velocity",void 0);g(m(s),"speed",void 0);g(m(s),"swipe",void 0);g(m(s),"timeStamp",void 0);g(m(s),"dragEnter",void 0);g(m(s),"dragLeave",void 0);g(m(s),"axes",void 0);g(m(s),"preEnd",void 0);i=i||e.element;var l=e.interactable;var u=(l&&l.options||ni["default"]).deltaSource;var c=(0,Zr["default"])(l,i,n);var f=r==="start";var h=r==="end";var d=f?m(s):e.prevEvent;var p=f?e.coords.start:h?{page:d.page,client:d.client,timeStamp:e.coords.cur.timeStamp}:e.coords.cur;s.page=(0,$r["default"])({},p.page);s.client=(0,$r["default"])({},p.client);s.rect=(0,$r["default"])({},e.rect);s.timeStamp=p.timeStamp;if(!h){s.page.x-=c.x;s.page.y-=c.y;s.client.x-=c.x;s.client.y-=c.y}s.ctrlKey=t.ctrlKey;s.altKey=t.altKey;s.shiftKey=t.shiftKey;s.metaKey=t.metaKey;s.button=t.button;s.buttons=t.buttons;s.target=i;s.currentTarget=i;s.preEnd=o;s.type=a||n+(r||"");s.interactable=l;s.t0=f?e.pointers[e.pointers.length-1].downTime:d.t0;s.x0=e.coords.start.page.x-c.x;s.y0=e.coords.start.page.y-c.y;s.clientX0=e.coords.start.client.x-c.x;s.clientY0=e.coords.start.client.y-c.y;if(f||h)s.delta={x:0,y:0};else s.delta={x:s[u].x-d[u].x,y:s[u].y-d[u].y};s.dt=e.coords.delta.timeStamp;s.duration=s.timeStamp-s.t0;s.velocity=(0,$r["default"])({},e.coords.velocity[u]);s.speed=(0,ei["default"])(s.velocity.x,s.velocity.y);s.swipe=h||r==="inertiastart"?s.getSwipe():null;return s}si(y,[{key:"getSwipe",value:function e(){var t=this._interaction;if(t.prevEvent.speed<600||this.timeStamp-t.prevEvent.timeStamp>150)return null;var n=180*Math.atan2(t.prevEvent.velocityY,t.prevEvent.velocityX)/Math.PI;var r=22.5;if(n<0)n+=360;var i=135-r<=n&&n<225+r;var o=225-r<=n&&n<315+r;var a=!i&&(315-r<=n||n<45+r);var s=!o&&45-r<=n&&n<135+r;return{up:o,down:s,left:i,right:a,angle:n,speed:t.prevEvent.speed,velocity:{x:t.prevEvent.velocityX,y:t.prevEvent.velocityY}}}},{key:"preventDefault",value:function e(){}},{key:"stopImmediatePropagation",value:function e(){this.immediatePropagationStopped=this.propagationStopped=true}},{key:"stopPropagation",value:function e(){this.propagationStopped=true}},{key:"pageX",get:function e(){return this.page.x},set:function e(t){this.page.x=t}},{key:"pageY",get:function e(){return this.page.y},set:function e(t){this.page.y=t}},{key:"clientX",get:function e(){return this.client.x},set:function e(t){this.client.x=t}},{key:"clientY",get:function e(){return this.client.y},set:function e(t){this.client.y=t}},{key:"dx",get:function e(){return this.delta.x},set:function e(t){this.delta.x=t}},{key:"dy",get:function e(){return this.delta.y},set:function e(t){this.delta.y=t}},{key:"velocityX",get:function e(){return this.velocity.x},set:function e(t){this.velocity.x=t}},{key:"velocityY",get:function e(){return this.velocity.y},set:function e(t){this.velocity.y=t}}]);return y}(ti["default"]),di=Jr.InteractEvent=hi,pi=(Jr["default"]=di,{});function yi(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")yi=function e(t){return typeof t};else yi=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return yi(e)}"use strict",Object.defineProperty(pi,"__esModule",{value:true}),pi["default"]=void 0;var mi=wi(A),gi=wi(D),vi=_i(S),bi=wi(w);function _i(e){return e&&e.__esModule?e:{default:e}}function xi(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;xi=function e(){return t};return t}function wi(e){if(e&&e.__esModule)return e;if(e===null||yi(e)!=="object"&&typeof e!=="function")return{default:e};var t=xi();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Ai(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function Ci(e,t,n){if(t)Si(e.prototype,t);if(n)Si(e,n);return e}function Oi(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}var Ei=function(){function t(e){var s=this;Ai(this,t);this.scope=e;Oi(this,"list",[]);Oi(this,"selectorMap",{});e.addListeners({"interactable:unset":function e(t){var n=t.interactable;var r=n.target,i=n._context;var o=bi.string(r)?s.selectorMap[r]:r[s.scope.id];var a=o.findIndex(function(e){return e.context===i});if(o[a]){o[a].context=null;o[a].interactable=null}o.splice(a,1)}})}Ci(t,[{key:"new",value:function e(t,n){n=(0,vi["default"])(n||{},{actions:this.scope.actions});var r=new this.scope.Interactable(t,n,this.scope.document);var i={context:r._context,interactable:r};this.scope.addDocument(r._doc);this.list.push(r);if(bi.string(t)){if(!this.selectorMap[t])this.selectorMap[t]=[];this.selectorMap[t].push(i)}else{if(!r.target[this.scope.id])Object.defineProperty(t,this.scope.id,{value:[],configurable:true});t[this.scope.id].push(i)}this.scope.fire("interactable:new",{target:t,options:n,interactable:r,win:this.scope._win});return r}},{key:"get",value:function e(t,n){var r=n&&n.context||this.scope.document;var i=bi.string(t);var o=i?this.selectorMap[t]:t[this.scope.id];if(!o)return null;var a=mi.find(o,function(e){return e.context===r&&(i||e.interactable.inContext(t))});return a&&a.interactable}},{key:"forEachMatch",value:function e(t,n){for(var r=0;r<this.list.length;r++){var i;i=this.list[r];var o=i;var a=void 0;if((bi.string(o.target)?bi.element(t)&&gi.matchesSelector(t,o.target):t===o.target)&&o.inContext(t))a=n(o);if(a!==undefined)return a}}}]);return t}(),Mi=(pi["default"]=Ei,{});function Pi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}"use strict",Object.defineProperty(Mi,"__esModule",{value:true}),Mi["default"]=Mi.PointerInfo=void 0;var ki=function e(t,n,r,i,o){Pi(this,e);this.id=t;this.pointer=n;this.event=r;this.downTime=i;this.downTarget=o},Ti=Mi.PointerInfo=ki,z=(Mi["default"]=Ti,{});function Ii(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Ii=function e(t){return typeof t};else Ii=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Ii(e)}"use strict",Object.defineProperty(z,"__esModule",{value:true}),Object.defineProperty(z,"PointerInfo",{enumerable:true,get:function e(){return ji["default"]}}),z["default"]=z.Interaction=z._ProxyMethods=z._ProxyValues=void 0;var c=zi(N),Li=Ri(Jr),ji=Ri(Mi),Di,Bi;function Ri(e){return e&&e.__esModule?e:{default:e}}function Ni(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Ni=function e(){return t};return t}function zi(e){if(e&&e.__esModule)return e;if(e===null||Ii(e)!=="object"&&typeof e!=="function")return{default:e};var t=Ni();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Fi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function Hi(e,t,n){if(t)Vi(e.prototype,t);if(n)Vi(e,n);return e}function h(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}var Yi=(z._ProxyValues=Di)||(z._ProxyValues=Di={}),Gi=(Yi["interactable"]="",Yi["element"]="",Yi["prepared"]="",Yi["pointerIsDown"]="",Yi["pointerWasMoved"]="",Yi["_proxy"]="",(z._ProxyMethods=Bi)||(z._ProxyMethods=Bi={})),Ui=(Gi["start"]="",Gi["move"]="",Gi["end"]="",Gi["stop"]="",Gi["interacting"]="",0),Qi=function(){Hi(u,[{key:"pointerMoveTolerance",get:function e(){return 1}}]);function u(e){var n=this;var t=e.pointerType,r=e.scopeFire;Fi(this,u);h(this,"interactable",null);h(this,"element",null);h(this,"rect",void 0);h(this,"_rects",void 0);h(this,"edges",void 0);h(this,"_scopeFire",void 0);h(this,"prepared",{name:null,axis:null,edges:null});h(this,"pointerType",void 0);h(this,"pointers",[]);h(this,"downEvent",null);h(this,"downPointer",{});h(this,"_latestPointer",{pointer:null,event:null,eventTarget:null});h(this,"prevEvent",null);h(this,"pointerIsDown",false);h(this,"pointerWasMoved",false);h(this,"_interacting",false);h(this,"_ending",false);h(this,"_stopped",true);h(this,"_proxy",null);h(this,"simulation",null);h(this,"doMove",c.warnOnce(function(e){this.move(e)},"The interaction.doMove() method has been renamed to interaction.move()"));h(this,"coords",{start:c.pointer.newCoords(),prev:c.pointer.newCoords(),cur:c.pointer.newCoords(),delta:c.pointer.newCoords(),velocity:c.pointer.newCoords()});h(this,"_id",Ui++);this._scopeFire=r;this.pointerType=t;var i=this;this._proxy={};var o=function e(t){Object.defineProperty(n._proxy,t,{get:function e(){return i[t]}})};for(var a in Di)o(a);var s=function e(t){Object.defineProperty(n._proxy,t,{value:function e(){return i[t].apply(i,arguments)}})};for(var l in Bi)s(l);this._scopeFire("interactions:new",{interaction:this})}Hi(u,[{key:"pointerDown",value:function e(t,n,r){var i=this.updatePointer(t,n,r,true);var o=this.pointers[i];this._scopeFire("interactions:down",{pointer:t,event:n,eventTarget:r,pointerIndex:i,pointerInfo:o,type:"down",interaction:this})}},{key:"start",value:function e(t,n,r){if(this.interacting()||!this.pointerIsDown||this.pointers.length<(t.name==="gesture"?2:1)||!n.options[t.name].enabled)return false;c.copyAction(this.prepared,t);this.interactable=n;this.element=r;this.rect=n.getRect(r);this.edges=this.prepared.edges?c.extend({},this.prepared.edges):{left:true,right:true,top:true,bottom:true};this._stopped=false;this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped;return this._interacting}},{key:"pointerMove",value:function e(t,n,r){if(!this.simulation&&!(this.modification&&this.modification.endResult))this.updatePointer(t,n,r,false);var i=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;var o;var a;if(this.pointerIsDown&&!this.pointerWasMoved){o=this.coords.cur.client.x-this.coords.start.client.x;a=this.coords.cur.client.y-this.coords.start.client.y;this.pointerWasMoved=c.hypot(o,a)>this.pointerMoveTolerance}var s=this.getPointerIndex(t);var l={pointer:t,pointerIndex:s,pointerInfo:this.pointers[s],event:n,type:"move",eventTarget:r,dx:o,dy:a,duplicate:i,interaction:this};if(!i)c.pointer.setCoordVelocity(this.coords.velocity,this.coords.delta);this._scopeFire("interactions:move",l);if(!i&&!this.simulation){if(this.interacting()){l.type=null;this.move(l)}if(this.pointerWasMoved)c.pointer.copyCoords(this.coords.prev,this.coords.cur)}}},{key:"move",value:function e(t){if(!t||!t.event)c.pointer.setZeroCoords(this.coords.delta);t=c.extend({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},t||{});t.phase="move";this._doPhase(t)}},{key:"pointerUp",value:function e(t,n,r,i){var o=this.getPointerIndex(t);if(o===-1)o=this.updatePointer(t,n,r,false);var a=/cancel$/i.test(n.type)?"cancel":"up";this._scopeFire("interactions:".concat(a),{pointer:t,pointerIndex:o,pointerInfo:this.pointers[o],event:n,eventTarget:r,type:a,curEventTarget:i,interaction:this});if(!this.simulation)this.end(n);this.pointerIsDown=false;this.removePointer(t,n)}},{key:"documentBlur",value:function e(t){this.end(t);this._scopeFire("interactions:blur",{event:t,type:"blur",interaction:this})}},{key:"end",value:function e(t){this._ending=true;t=t||this._latestPointer.event;var n;if(this.interacting())n=this._doPhase({event:t,interaction:this,phase:"end"});this._ending=false;if(n===true)this.stop()}},{key:"currentAction",value:function e(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function e(){return this._interacting}},{key:"stop",value:function e(){this._scopeFire("interactions:stop",{interaction:this});this.interactable=this.element=null;this._interacting=false;this._stopped=true;this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function e(t){var n=c.pointer.getPointerId(t);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:c.arr.findIndex(this.pointers,function(e){return e.id===n})}},{key:"getPointerInfo",value:function e(t){return this.pointers[this.getPointerIndex(t)]}},{key:"updatePointer",value:function e(t,n,r,i){var o=c.pointer.getPointerId(t);var a=this.getPointerIndex(t);var s=this.pointers[a];i=i===false?false:i||/(down|start)$/i.test(n.type);if(!s){s=new ji["default"](o,t,n,null,null);a=this.pointers.length;this.pointers.push(s)}else s.pointer=t;c.pointer.setCoords(this.coords.cur,this.pointers.map(function(e){return e.pointer}),this._now());c.pointer.setCoordDeltas(this.coords.delta,this.coords.prev,this.coords.cur);if(i){this.pointerIsDown=true;s.downTime=this.coords.cur.timeStamp;s.downTarget=r;c.pointer.pointerExtend(this.downPointer,t);if(!this.interacting()){c.pointer.copyCoords(this.coords.start,this.coords.cur);c.pointer.copyCoords(this.coords.prev,this.coords.cur);this.downEvent=n;this.pointerWasMoved=false}}this._updateLatestPointer(t,n,r);this._scopeFire("interactions:update-pointer",{pointer:t,event:n,eventTarget:r,down:i,pointerInfo:s,pointerIndex:a,interaction:this});return a}},{key:"removePointer",value:function e(t,n){var r=this.getPointerIndex(t);if(r===-1)return;var i=this.pointers[r];this._scopeFire("interactions:remove-pointer",{pointer:t,event:n,eventTarget:null,pointerIndex:r,pointerInfo:i,interaction:this});this.pointers.splice(r,1)}},{key:"_updateLatestPointer",value:function e(t,n,r){this._latestPointer.pointer=t;this._latestPointer.event=n;this._latestPointer.eventTarget=r}},{key:"destroy",value:function e(){this._latestPointer.pointer=null;this._latestPointer.event=null;this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function e(t,n,r,i){return new Li["default"](this,t,this.prepared.name,n,this.element,r,i)}},{key:"_fireEvent",value:function e(t){this.interactable.fire(t);if(!this.prevEvent||t.timeStamp>=this.prevEvent.timeStamp)this.prevEvent=t}},{key:"_doPhase",value:function e(t){var n=t.event,r=t.phase,i=t.preEnd,o=t.type;var a=this.rect;if(a&&r==="move"){c.rect.addEdges(this.edges,a,this.coords.delta[this.interactable.options.deltaSource]);a.width=a.right-a.left;a.height=a.bottom-a.top}var s=this._scopeFire("interactions:before-action-".concat(r),t);if(s===false)return false;var l=t.iEvent=this._createPreparedEvent(n,r,i,o);this._scopeFire("interactions:action-".concat(r),t);if(r==="start")this.prevEvent=l;this._fireEvent(l);this._scopeFire("interactions:after-action-".concat(r),t);return true}},{key:"_now",value:function e(){return Date.now()}}]);return u}(),Wi=z.Interaction=Qi,qi=(z["default"]=Wi,{});function Ki(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Ki=function e(t){return typeof t};else Ki=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Ki(e)}"use strict",Object.defineProperty(qi,"__esModule",{value:true}),qi.install=io,qi["default"]=void 0;var Xi=eo(R),Ji=Zi(w);function $i(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;$i=function e(){return t};return t}function Zi(e){if(e&&e.__esModule)return e;if(e===null||Ki(e)!=="object"&&typeof e!=="function")return{default:e};var t=$i();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function eo(e){return e&&e.__esModule?e:{default:e}}function to(e){if(/^(always|never|auto)$/.test(e)){this.options.preventDefault=e;return this}if(Ji.bool(e)){this.options.preventDefault=e?"always":"never";return this}return this.options.preventDefault}function no(e,t,n){var r=e.options.preventDefault;if(r==="never")return;if(r==="always"){n.preventDefault();return}if(Xi["default"].supportsPassive&&/^touch(start|move)$/.test(n.type)){var i=(0,x.getWindow)(n.target).document;var o=t.getDocOptions(i);if(!(o&&o.events)||o.events.passive!==false)return}if(/^(mouse|pointer|touch)*(down|start)/i.test(n.type))return;if(Ji.element(n.target)&&(0,D.matchesSelector)(n.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *"))return;n.preventDefault()}function ro(e){var t=e.interaction,n=e.event;if(t.interactable)t.interactable.checkAndPreventDefault(n)}function io(o){var e=o.Interactable;e.prototype.preventDefault=to;e.prototype.checkAndPreventDefault=function(e){return no(this,o,e)};o.interactions.docEvents.push({type:"dragstart",listener:function e(t){for(var n=0;n<o.interactions.list.length;n++){var r;r=o.interactions.list[n];var i=r;if(i.element&&(i.element===t.target||(0,D.nodeContains)(i.element,t.target))){i.interactable.checkAndPreventDefault(t);return}}}})}var oo={id:"core/interactablePreventDefault",install:io,listeners:["down","move","up","cancel"].reduce(function(e,t){e["interactions:".concat(t)]=ro;return e},{})},ao=(qi["default"]=oo,{});function so(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")so=function e(t){return typeof t};else so=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return so(e)}"use strict",Object.defineProperty(ao,"__esModule",{value:true}),ao["default"]=void 0;var lo=co(D);function uo(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;uo=function e(){return t};return t}function co(e){if(e&&e.__esModule)return e;if(e===null||so(e)!=="object"&&typeof e!=="function")return{default:e};var t=uo();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}var fo={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function e(t){for(var n=0;n<fo.methodOrder.length;n++){var r;r=fo.methodOrder[n];var i=r;var o=fo[i](t);if(o)return o}return null},simulationResume:function e(t){var n=t.pointerType,r=t.eventType,i=t.eventTarget,o=t.scope;if(!/down|start/i.test(r))return null;for(var a=0;a<o.interactions.list.length;a++){var s;s=o.interactions.list[a];var l=s;var u=i;if(l.simulation&&l.simulation.allowResume&&l.pointerType===n)while(u){if(u===l.element)return l;u=lo.parentNode(u)}}return null},mouseOrPen:function e(t){var n=t.pointerId,r=t.pointerType,i=t.eventType,o=t.scope;if(r!=="mouse"&&r!=="pen")return null;var a;for(var s=0;s<o.interactions.list.length;s++){var l;l=o.interactions.list[s];var u=l;if(u.pointerType===r){if(u.simulation&&!ho(u,n))continue;if(u.interacting())return u;else if(!a)a=u}}if(a)return a;for(var c=0;c<o.interactions.list.length;c++){var f;f=o.interactions.list[c];var h=f;if(h.pointerType===r&&!(/down/i.test(i)&&h.simulation))return h}return null},hasPointer:function e(t){var n=t.pointerId,r=t.scope;for(var i=0;i<r.interactions.list.length;i++){var o;o=r.interactions.list[i];var a=o;if(ho(a,n))return a}return null},idle:function e(t){var n=t.pointerType,r=t.scope;for(var i=0;i<r.interactions.list.length;i++){var o;o=r.interactions.list[i];var a=o;if(a.pointers.length===1){var s=a.interactable;if(s&&!(s.options.gesture&&s.options.gesture.enabled))continue}else if(a.pointers.length>=2)continue;if(!a.interacting()&&n===a.pointerType)return a}return null}};function ho(e,n){return e.pointers.some(function(e){var t=e.id;return t===n})}var po,yo=(ao["default"]=fo,{}),mo=("use strict",Object.defineProperty(yo,"__esModule",{value:true}),yo["default"]=void 0,_o(Vr)),go=bo(A);function vo(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;vo=function e(){return t};return t}function bo(e){if(e&&e.__esModule)return e;if(e===null||xo(e)!=="object"&&typeof e!=="function")return{default:e};var t=vo();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function _o(e){return e&&e.__esModule?e:{default:e}}function xo(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")xo=function e(t){return typeof t};else xo=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return xo(e)}function wo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ao(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function So(e,t,n){if(t)Ao(e.prototype,t);if(n)Ao(e,n);return e}function Co(e,t){if(t&&(xo(t)==="object"||typeof t==="function"))return t;return l(e)}function Oo(e){Oo=Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)};return Oo(e)}function l(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eo(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)Mo(e,t)}function Mo(e,t){Mo=Object.setPrototypeOf||function e(t,n){t.__proto__=n;return t};return Mo(e,t)}function Po(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}var ko=function(e){Eo(s,e);function s(e,t,n){var r;wo(this,s);r=Co(this,Oo(s).call(this,t._interaction));Po(l(r),"target",void 0);Po(l(r),"dropzone",void 0);Po(l(r),"dragEvent",void 0);Po(l(r),"relatedTarget",void 0);Po(l(r),"draggable",void 0);Po(l(r),"timeStamp",void 0);Po(l(r),"propagationStopped",false);Po(l(r),"immediatePropagationStopped",false);var i=n==="dragleave"?e.prev:e.cur,o=i.element,a=i.dropzone;r.type=n;r.target=o;r.currentTarget=o;r.dropzone=a;r.dragEvent=t;r.relatedTarget=t.target;r.draggable=t.interactable;r.timeStamp=t.timeStamp;return r}So(s,[{key:"reject",value:function e(){var r=this;var t=this._interaction.dropState;if(this.type!=="dropactivate"&&(!this.dropzone||t.cur.dropzone!==this.dropzone||t.cur.element!==this.target))return;t.prev.dropzone=this.dropzone;t.prev.element=this.target;t.rejected=true;t.events.enter=null;this.stopImmediatePropagation();if(this.type==="dropactivate"){var n=t.activeDrops;var i=go.findIndex(n,function(e){var t=e.dropzone,n=e.element;return t===r.dropzone&&n===r.target});t.activeDrops.splice(i,1);var o=new s(t,this.dragEvent,"dropdeactivate");o.dropzone=this.dropzone;o.target=this.target;this.dropzone.fire(o)}else this.dropzone.fire(new s(t,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function e(){}},{key:"stopPropagation",value:function e(){this.propagationStopped=true}},{key:"stopImmediatePropagation",value:function e(){this.immediatePropagationStopped=this.propagationStopped=true}}]);return s}(mo["default"]),To,Io=(yo["default"]=ko,{});function Lo(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Lo=function e(t){return typeof t};else Lo=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Lo(e)}"use strict",Object.defineProperty(Io,"__esModule",{value:true}),Io["default"]=void 0;var jo=Fo(F({})),Do=Fo(V({})),v=zo(N),Bo=Fo(de),Ro=Fo(yo);function No(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;No=function e(){return t};return t}function zo(e){if(e&&e.__esModule)return e;if(e===null||Lo(e)!=="object"&&typeof e!=="function")return{default:e};var t=No();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Fo(e){return e&&e.__esModule?e:{default:e}}function Vo(t){var e=t.actions,n=t.interactStatic,r=t.Interactable,i=t.defaults;t.usePlugin(Bo["default"]);r.prototype.dropzone=function(e){return Ko(this,e)};r.prototype.dropCheck=function(e,t,n,r,i,o){return Xo(this,e,t,n,r,i,o)};n.dynamicDrop=function(e){if(v.is.bool(e)){t.dynamicDrop=e;return n}return t.dynamicDrop};v.extend(e.phaselessTypes,{dragenter:true,dragleave:true,dropactivate:true,dropdeactivate:true,dropmove:true,drop:true});e.methodDict.drop="dropzone";t.dynamicDrop=false;i.actions.drop=Jo.defaults}function Ho(e,t){var n=e.interactables;var r=[];for(var i=0;i<n.list.length;i++){var o;o=n.list[i];var a=o;if(!a.options.drop.enabled)continue;var s=a.options.drop.accept;if(v.is.element(s)&&s!==t||v.is.string(s)&&!v.dom.matchesSelector(t,s)||v.is.func(s)&&!s({dropzone:a,draggableElement:t}))continue;var l=v.is.string(a.target)?a._context.querySelectorAll(a.target):v.is.array(a.target)?a.target:[a.target];for(var u=0;u<l.length;u++){var c;c=l[u];var f=c;if(f!==t)r.push({dropzone:a,element:f})}}return r}function Yo(e,t){for(var n=0;n<e.slice().length;n++){var r;r=e.slice()[n];var i=r,o=i.dropzone,a=i.element;t.dropzone=o;t.target=a;o.fire(t);t.propagationStopped=t.immediatePropagationStopped=false}}function Go(e,t){var n=Ho(e,t);for(var r=0;r<n.length;r++){var i;i=n[r];var o=i;o.rect=o.dropzone.getRect(o.element)}return n}function Uo(e,t,n){var r=e.dropState,i=e.interactable,o=e.element;var a=[];for(var s=0;s<r.activeDrops.length;s++){var l;l=r.activeDrops[s];var u=l,c=u.dropzone,f=u.element,h=u.rect;a.push(c.dropCheck(t,n,i,o,f,h)?f:null)}var d=v.dom.indexOfDeepestElement(a);return r.activeDrops[d]||null}function Qo(e,t,n){var r=e.dropState;var i={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};if(n.type==="dragstart"){i.activate=new Ro["default"](r,n,"dropactivate");i.activate.target=null;i.activate.dropzone=null}if(n.type==="dragend"){i.deactivate=new Ro["default"](r,n,"dropdeactivate");i.deactivate.target=null;i.deactivate.dropzone=null}if(r.rejected)return i;if(r.cur.element!==r.prev.element){if(r.prev.dropzone){i.leave=new Ro["default"](r,n,"dragleave");n.dragLeave=i.leave.target=r.prev.element;n.prevDropzone=i.leave.dropzone=r.prev.dropzone}if(r.cur.dropzone){i.enter=new Ro["default"](r,n,"dragenter");n.dragEnter=r.cur.element;n.dropzone=r.cur.dropzone}}if(n.type==="dragend"&&r.cur.dropzone){i.drop=new Ro["default"](r,n,"drop");n.dropzone=r.cur.dropzone;n.relatedTarget=r.cur.element}if(n.type==="dragmove"&&r.cur.dropzone){i.move=new Ro["default"](r,n,"dropmove");i.move.dragmove=n;n.dropzone=r.cur.dropzone}return i}function Wo(e,t){var n=e.dropState;var r=n.activeDrops,i=n.cur,o=n.prev;if(t.leave)o.dropzone.fire(t.leave);if(t.move)i.dropzone.fire(t.move);if(t.enter)i.dropzone.fire(t.enter);if(t.drop)i.dropzone.fire(t.drop);if(t.deactivate)Yo(r,t.deactivate);n.prev.dropzone=i.dropzone;n.prev.element=i.element}function qo(e,t){var n=e.interaction,r=e.iEvent,i=e.event;if(r.type!=="dragmove"&&r.type!=="dragend")return;var o=n.dropState;if(t.dynamicDrop)o.activeDrops=Go(t,n.element);var a=r;var s=Uo(n,a,i);o.rejected=o.rejected&&!!s&&s.dropzone===o.cur.dropzone&&s.element===o.cur.element;o.cur.dropzone=s&&s.dropzone;o.cur.element=s&&s.element;o.events=Qo(n,i,a)}function Ko(e,t){if(v.is.object(t)){e.options.drop.enabled=t.enabled!==false;if(t.listeners){var r=v.normalizeListeners(t.listeners);var n=Object.keys(r).reduce(function(e,t){var n=/^(enter|leave)/.test(t)?"drag".concat(t):/^(activate|deactivate|move)/.test(t)?"drop".concat(t):t;e[n]=r[t];return e},{});e.off(e.options.drop.listeners);e.on(n);e.options.drop.listeners=n}if(v.is.func(t.ondrop))e.on("drop",t.ondrop);if(v.is.func(t.ondropactivate))e.on("dropactivate",t.ondropactivate);if(v.is.func(t.ondropdeactivate))e.on("dropdeactivate",t.ondropdeactivate);if(v.is.func(t.ondragenter))e.on("dragenter",t.ondragenter);if(v.is.func(t.ondragleave))e.on("dragleave",t.ondragleave);if(v.is.func(t.ondropmove))e.on("dropmove",t.ondropmove);if(/^(pointer|center)$/.test(t.overlap))e.options.drop.overlap=t.overlap;else if(v.is.number(t.overlap))e.options.drop.overlap=Math.max(Math.min(1,t.overlap),0);if("accept"in t)e.options.drop.accept=t.accept;if("checker"in t)e.options.drop.checker=t.checker;return e}if(v.is.bool(t)){e.options.drop.enabled=t;return e}return e.options.drop}function Xo(e,t,n,r,i,o,a){var s=false;if(!(a=a||e.getRect(o)))return e.options.drop.checker?e.options.drop.checker(t,n,s,e,o,r,i):false;var l=e.options.drop.overlap;if(l==="pointer"){var u=v.getOriginXY(r,i,"drag");var c=v.pointer.getPageXY(t);c.x+=u.x;c.y+=u.y;var f=c.x>a.left&&c.x<a.right;var h=c.y>a.top&&c.y<a.bottom;s=f&&h}var d=r.getRect(i);if(d&&l==="center"){var p=d.left+d.width/2;var y=d.top+d.height/2;s=p>=a.left&&p<=a.right&&y>=a.top&&y<=a.bottom}if(d&&v.is.number(l)){var m=Math.max(0,Math.min(a.right,d.right)-Math.max(a.left,d.left))*Math.max(0,Math.min(a.bottom,d.bottom)-Math.max(a.top,d.top));var g=m/(d.width*d.height);s=g>=l}if(e.options.drop.checker)s=e.options.drop.checker(t,n,s,e,o,r,i);return s}var Jo={id:"actions/drop",install:Vo,listeners:{"interactions:before-action-start":function e(t){var n=t.interaction;if(n.prepared.name!=="drag")return;n.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]}},"interactions:after-action-start":function e(t,n){var r=t.interaction,i=t.event,o=t.iEvent;if(r.prepared.name!=="drag")return;var a=r.dropState;a.activeDrops=null;a.events=null;a.activeDrops=Go(n,r.element);a.events=Qo(r,i,o);if(a.events.activate){Yo(a.activeDrops,a.events.activate);n.fire("actions/drop:start",{interaction:r,dragEvent:o})}},"interactions:action-move":qo,"interactions:action-end":qo,"interactions:after-action-move":function e(t,n){var r=t.interaction,i=t.iEvent;if(r.prepared.name!=="drag")return;Wo(r,r.dropState.events);n.fire("actions/drop:move",{interaction:r,dragEvent:i});r.dropState.events={}},"interactions:after-action-end":function e(t,n){var r=t.interaction,i=t.iEvent;if(r.prepared.name!=="drag")return;Wo(r,r.dropState.events);n.fire("actions/drop:end",{interaction:r,dragEvent:i})},"interactions:stop":function e(t){var n=t.interaction;if(n.prepared.name!=="drag")return;var r=n.dropState;if(r){r.activeDrops=null;r.events=null;r.cur.dropzone=null;r.cur.element=null;r.prev.dropzone=null;r.prev.element=null;r.rejected=false}}},getActiveDrops:Go,getDrop:Uo,getDropEvents:Qo,fireDropEvents:Wo,defaults:{enabled:false,accept:null,overlap:"pointer"}},$o,Zo=(Io["default"]=Jo,{});function ea(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")ea=function e(t){return typeof t};else ea=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return ea(e)}"use strict",Object.defineProperty(Zo,"__esModule",{value:true}),Zo["default"]=void 0;var u=na(N);function ta(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;ta=function e(){return t};return t}function na(e){if(e&&e.__esModule)return e;if(e===null||ea(e)!=="object"&&typeof e!=="function")return{default:e};var t=ta();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function ra(e){var t=e.actions,n=e.Interactable,r=e.defaults;n.prototype.gesturable=function(e){if(u.is.object(e)){this.options.gesture.enabled=e.enabled!==false;this.setPerAction("gesture",e);this.setOnEvents("gesture",e);return this}if(u.is.bool(e)){this.options.gesture.enabled=e;return this}return this.options.gesture};t.map.gesture=oa;t.methodDict.gesture="gesturable";r.actions.gesture=oa.defaults}function ia(e){var t=e.interaction,n=e.iEvent,r=e.phase;if(t.prepared.name!=="gesture")return;var i=t.pointers.map(function(e){return e.pointer});var o=r==="start";var a=r==="end";var s=t.interactable.options.deltaSource;n.touches=[i[0],i[1]];if(o){n.distance=u.pointer.touchDistance(i,s);n.box=u.pointer.touchBBox(i);n.scale=1;n.ds=0;n.angle=u.pointer.touchAngle(i,s);n.da=0;t.gesture.startDistance=n.distance;t.gesture.startAngle=n.angle}else if(a){var l=t.prevEvent;n.distance=l.distance;n.box=l.box;n.scale=l.scale;n.ds=0;n.angle=l.angle;n.da=0}else{n.distance=u.pointer.touchDistance(i,s);n.box=u.pointer.touchBBox(i);n.scale=n.distance/t.gesture.startDistance;n.angle=u.pointer.touchAngle(i,s);n.ds=n.scale-t.gesture.scale;n.da=n.angle-t.gesture.angle}t.gesture.distance=n.distance;t.gesture.angle=n.angle;if(u.is.number(n.scale)&&n.scale!==Infinity&&!isNaN(n.scale))t.gesture.scale=n.scale}var oa={id:"actions/gesture",before:["actions/drag","actions/resize"],install:ra,listeners:{"interactions:action-start":ia,"interactions:action-move":ia,"interactions:action-end":ia,"interactions:new":function e(t){var n=t.interaction;n.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function e(t){if(t.interaction.pointers.length<2)return undefined;var n=t.interactable.options.gesture;if(!(n&&n.enabled))return undefined;t.action={name:"gesture"};return false}},defaults:{},getCursor:function e(){return""}},aa,sa=(Zo["default"]=oa,{});function la(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")la=function e(t){return typeof t};else la=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return la(e)}"use strict",Object.defineProperty(sa,"__esModule",{value:true}),sa["default"]=void 0;var ua=da(D),ca=fa(S),d=da(w);function fa(e){return e&&e.__esModule?e:{default:e}}function ha(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;ha=function e(){return t};return t}function da(e){if(e&&e.__esModule)return e;if(e===null||la(e)!=="object"&&typeof e!=="function")return{default:e};var t=ha();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function pa(t){var e=t.actions,n=t.browser,r=t.Interactable,i=t.defaults;p.cursors=va(n);p.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10;r.prototype.resizable=function(e){return ma(this,e,t)};e.map.resize=p;e.methodDict.resize="resizable";i.actions.resize=p.defaults}function ya(e){var t=e.interaction,n=e.interactable,r=e.element,i=e.rect,o=e.buttons;if(!i)return undefined;var a=(0,ca["default"])({},t.coords.cur.page);var s=n.options.resize;if(!(s&&s.enabled)||t.pointerIsDown&&/mouse|pointer/.test(t.pointerType)&&(o&s.mouseButtons)===0)return undefined;if(d.object(s.edges)){var l={left:false,right:false,top:false,bottom:false};for(var u in l)l[u]=ga(u,s.edges[u],a,t._latestPointer.eventTarget,r,i,s.margin||p.defaultMargin);l.left=l.left&&!l.right;l.top=l.top&&!l.bottom;if(l.left||l.right||l.top||l.bottom)e.action={name:"resize",edges:l}}else{var c=s.axis!=="y"&&a.x>i.right-p.defaultMargin;var f=s.axis!=="x"&&a.y>i.bottom-p.defaultMargin;if(c||f)e.action={name:"resize",axes:(c?"x":"")+(f?"y":"")}}return e.action?false:undefined}function ma(e,t,n){if(d.object(t)){e.options.resize.enabled=t.enabled!==false;e.setPerAction("resize",t);e.setOnEvents("resize",t);if(d.string(t.axis)&&/^x$|^y$|^xy$/.test(t.axis))e.options.resize.axis=t.axis;else if(t.axis===null)e.options.resize.axis=n.defaults.actions.resize.axis;if(d.bool(t.preserveAspectRatio))e.options.resize.preserveAspectRatio=t.preserveAspectRatio;else if(d.bool(t.square))e.options.resize.square=t.square;return e}if(d.bool(t)){e.options.resize.enabled=t;return e}return e.options.resize}function ga(e,t,n,r,i,o,a){if(!t)return false;if(t===true){var s=d.number(o.width)?o.width:o.right-o.left;var l=d.number(o.height)?o.height:o.bottom-o.top;a=Math.min(a,(e==="left"||e==="right"?s:l)/2);if(s<0)if(e==="left")e="right";else if(e==="right")e="left";if(l<0)if(e==="top")e="bottom";else if(e==="bottom")e="top";if(e==="left")return n.x<(s>=0?o.left:o.right)+a;if(e==="top")return n.y<(l>=0?o.top:o.bottom)+a;if(e==="right")return n.x>(s>=0?o.right:o.left)-a;if(e==="bottom")return n.y>(l>=0?o.bottom:o.top)-a}if(!d.element(r))return false;return d.element(t)?t===r:ua.matchesUpTo(r,t,i)}function va(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 ba(e){var t=e.iEvent,n=e.interaction;if(n.prepared.name!=="resize"||!n.prepared.edges)return;var r=t;var i=n.rect;n._rects={start:(0,ca["default"])({},i),corrected:(0,ca["default"])({},i),previous:(0,ca["default"])({},i),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}};r.edges=n.prepared.edges;r.rect=n._rects.corrected;r.deltaRect=n._rects.delta}function _a(e){var t=e.iEvent,n=e.interaction;if(n.prepared.name!=="resize"||!n.prepared.edges)return;var r=t;var i=n.interactable.options.resize;var o=i.invert;var a=o==="reposition"||o==="negate";var s=n.rect;var l=n._rects,u=l.start,c=l.corrected,f=l.delta,h=l.previous;(0,ca["default"])(h,c);if(a){(0,ca["default"])(c,s);if(o==="reposition"){if(c.top>c.bottom){var d=c.top;c.top=c.bottom;c.bottom=d}if(c.left>c.right){var p=c.left;c.left=c.right;c.right=p}}}else{c.top=Math.min(s.top,u.bottom);c.bottom=Math.max(s.bottom,u.top);c.left=Math.min(s.left,u.right);c.right=Math.max(s.right,u.left)}c.width=c.right-c.left;c.height=c.bottom-c.top;for(var y in c)f[y]=c[y]-h[y];r.edges=n.prepared.edges;r.rect=c;r.deltaRect=f}function xa(e){var t=e.iEvent,n=e.interaction;if(n.prepared.name!=="resize"||!n.prepared.edges)return;var r=t;r.edges=n.prepared.edges;r.rect=n._rects.corrected;r.deltaRect=n._rects.delta}function wa(e){var t=e.iEvent,n=e.interaction;if(n.prepared.name!=="resize"||!n.resizeAxes)return;var r=n.interactable.options;var i=t;if(r.resize.square){if(n.resizeAxes==="y")i.delta.x=i.delta.y;else i.delta.y=i.delta.x;i.axes="xy"}else{i.axes=n.resizeAxes;if(n.resizeAxes==="x")i.delta.y=0;else if(n.resizeAxes==="y")i.delta.x=0}}var p={id:"actions/resize",before:["actions/drag"],install:pa,listeners:{"interactions:new":function e(t){var n=t.interaction;n.resizeAxes="xy"},"interactions:action-start":function e(t){ba(t);wa(t)},"interactions:action-move":function e(t){_a(t);wa(t)},"interactions:action-end":xa,"auto-start:check":ya},defaults:{square:false,preserveAspectRatio:false,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function e(t){var n=t.edges,r=t.axis,i=t.name;var o=p.cursors;var a=null;if(r)a=o[i+r];else if(n){var s="";var l=["top","bottom","left","right"];for(var u=0;u<l.length;u++){var c=l[u];if(n[c])s+=c}a=o[s]}return a},defaultMargin:null},Aa,Sa=(sa["default"]=p,{}),Ca=("use strict",Object.defineProperty(Sa,"__esModule",{value:true}),Object.defineProperty(Sa,"drag",{enumerable:true,get:function e(){return Ca["default"]}}),Object.defineProperty(Sa,"drop",{enumerable:true,get:function e(){return Oa["default"]}}),Object.defineProperty(Sa,"gesture",{enumerable:true,get:function e(){return Ea["default"]}}),Object.defineProperty(Sa,"resize",{enumerable:true,get:function e(){return Ma["default"]}}),Sa["default"]=void 0,Pa(de)),Oa=Pa(Io),Ea=Pa(Zo),Ma=Pa(sa);function Pa(e){return e&&e.__esModule?e:{default:e}}var ka,Ta={},Ia=(Sa["default"]={id:"actions",install:function e(t){t.usePlugin(Ea["default"]);t.usePlugin(Ma["default"]);t.usePlugin(Ca["default"]);t.usePlugin(Oa["default"])}},Object.defineProperty(Ta,"__esModule",{value:true}),Ta["default"]=void 0,{}),La=(Ta["default"]=Ia,{});function ja(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")ja=function e(t){return typeof t};else ja=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return ja(e)}"use strict",Object.defineProperty(La,"__esModule",{value:true}),La.getContainer=Ha,La.getScroll=Ya,La.getScrollSize=Ga,La.getScrollSizeDelta=Ua,La["default"]=void 0;var Da=Fa(D),Ba=Fa(w),Ra=Na(mr);function Na(e){return e&&e.__esModule?e:{default:e}}function za(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;za=function e(){return t};return t}function Fa(e){if(e&&e.__esModule)return e;if(e===null||ja(e)!=="object"&&typeof e!=="function")return{default:e};var t=za();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Va(e){var t=e.defaults,n=e.actions;e.autoScroll=y;y.now=function(){return e.now()};n.phaselessTypes.autoscroll=true;t.perAction.autoScroll=y.defaults}var y={defaults:{enabled:false,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:false,prevTime:0,margin:0,speed:0,start:function e(t){y.isScrolling=true;Ra["default"].cancel(y.i);t.autoScroll=y;y.interaction=t;y.prevTime=y.now();y.i=Ra["default"].request(y.scroll)},stop:function e(){y.isScrolling=false;if(y.interaction)y.interaction.autoScroll=null;Ra["default"].cancel(y.i)},scroll:function e(){var t=y.interaction;var n=t.interactable,r=t.element;var i=t.prepared.name;var o=n.options[i].autoScroll;var a=Ha(o.container,n,r);var s=y.now();var l=(s-y.prevTime)/1e3;var u=o.speed*l;if(u>=1){var c={x:y.x*u,y:y.y*u};if(c.x||c.y){var f=Ya(a);if(Ba.window(a))a.scrollBy(c.x,c.y);else if(a){a.scrollLeft+=c.x;a.scrollTop+=c.y}var h=Ya(a);var d={x:h.x-f.x,y:h.y-f.y};if(d.x||d.y)n.fire({type:"autoscroll",target:r,interactable:n,delta:d,interaction:t,container:a})}y.prevTime=s}if(y.isScrolling){Ra["default"].cancel(y.i);y.i=Ra["default"].request(y.scroll)}},check:function e(t,n){var r=t.options;return r[n].autoScroll&&r[n].autoScroll.enabled},onInteractionMove:function e(t){var n=t.interaction,r=t.pointer;if(!(n.interacting()&&y.check(n.interactable,n.prepared.name)))return;if(n.simulation){y.x=y.y=0;return}var i;var o;var a;var s;var l=n.interactable,u=n.element;var c=n.prepared.name;var f=l.options[c].autoScroll;var h=Ha(f.container,l,u);if(Ba.window(h)){s=r.clientX<y.margin;i=r.clientY<y.margin;o=r.clientX>h.innerWidth-y.margin;a=r.clientY>h.innerHeight-y.margin}else{var d=Da.getElementClientRect(h);s=r.clientX<d.left+y.margin;i=r.clientY<d.top+y.margin;o=r.clientX>d.right-y.margin;a=r.clientY>d.bottom-y.margin}y.x=o?1:s?-1:0;y.y=a?1:i?-1:0;if(!y.isScrolling){y.margin=f.margin;y.speed=f.speed;y.start(n)}}};function Ha(e,t,n){return(Ba.string(e)?(0,f.getStringOptionResult)(e,t,n):e)||(0,x.getWindow)(n)}function Ya(e){if(Ba.window(e))e=window.document.body;return{x:e.scrollLeft,y:e.scrollTop}}function Ga(e){if(Ba.window(e))e=window.document.body;return{x:e.scrollWidth,y:e.scrollHeight}}function Ua(e,t){var n=e.interaction,r=e.element;var i=n&&n.interactable.options[n.prepared.name].autoScroll;if(!i||!i.enabled){t();return{x:0,y:0}}var o=Ha(i.container,n.interactable,r);var a=Ya(o);t();var s=Ya(o);return{x:s.x-a.x,y:s.y-a.y}}var Qa={id:"auto-scroll",install:Va,listeners:{"interactions:new":function e(t){var n=t.interaction;n.autoScroll=null},"interactions:destroy":function e(t){var n=t.interaction;n.autoScroll=null;y.stop();if(y.interaction)y.interaction=null},"interactions:stop":y.stop,"interactions:action-move":function e(t){return y.onInteractionMove(t)}}},Wa,qa=(La["default"]=Qa,{});function Ka(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Ka=function e(t){return typeof t};else Ka=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Ka(e)}"use strict",Object.defineProperty(qa,"__esModule",{value:true}),qa["default"]=void 0;var Xa=$a(w);function Ja(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Ja=function e(){return t};return t}function $a(e){if(e&&e.__esModule)return e;if(e===null||Ka(e)!=="object"&&typeof e!=="function")return{default:e};var t=Ja();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Za(a){var e=a.Interactable;e.prototype.getAction=function e(t,n,r,i){var o=es(this,n,r,i,a);if(this.options.actionChecker)return this.options.actionChecker(t,n,o,this,i,r);return o};e.prototype.ignoreFrom=(0,N.warnOnce)(function(e){return this._backCompatOption("ignoreFrom",e)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue}).");e.prototype.allowFrom=(0,N.warnOnce)(function(e){return this._backCompatOption("allowFrom",e)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue}).");e.prototype.actionChecker=ns;e.prototype.styleCursor=ts}function es(e,t,n,r,i){var o=e.getRect(r);var a=t.buttons||{0:1,1:4,3:8,4:16}[t.button];var s={action:null,interactable:e,interaction:n,element:r,rect:o,buttons:a};i.fire("auto-start:check",s);return s.action}function ts(e){if(Xa.bool(e)){this.options.styleCursor=e;return this}if(e===null){delete this.options.styleCursor;return this}return this.options.styleCursor}function ns(e){if(Xa.func(e)){this.options.actionChecker=e;return this}if(e===null){delete this.options.actionChecker;return this}return this.options.actionChecker}var rs,is={};function os(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")os=function e(t){return typeof t};else os=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return os(e)}qa["default"]={id:"auto-start/interactableMethods",install:Za},Object.defineProperty(is,"__esModule",{value:true}),is["default"]=void 0;var as=cs(N),ss=ls(qa);function ls(e){return e&&e.__esModule?e:{default:e}}function us(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;us=function e(){return t};return t}function cs(e){if(e&&e.__esModule)return e;if(e===null||os(e)!=="object"&&typeof e!=="function")return{default:e};var t=us();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function fs(t){var e=t.interactStatic,n=t.defaults;t.usePlugin(ss["default"]);n.base.actionChecker=null;n.base.styleCursor=true;as.extend(n.perAction,{manualStart:false,max:Infinity,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1});e.maxInteractions=function(e){return xs(e,t)};t.autoStart={maxInteractions:Infinity,withinInteractionLimit:_s,cursorElement:null}}function hs(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget;if(n.interacting())return;var a=vs(n,r,i,o,t);bs(n,a,t)}function ds(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget;if(n.pointerType!=="mouse"||n.pointerIsDown||n.interacting())return;var a=vs(n,r,i,o,t);bs(n,a,t)}function ps(e,t){var n=e.interaction;if(!n.pointerIsDown||n.interacting()||!n.pointerWasMoved||!n.prepared.name)return;t.fire("autoStart:before-start",e);var r=n.interactable;var i=n.prepared.name;if(i&&r)if(r.options[i].manualStart||!_s(r,n.element,n.prepared,t))n.stop();else{n.start(n.prepared,r,n.element);As(n,t)}}function ys(e,t){var n=e.interaction;var r=n.interactable;if(r&&r.options.styleCursor)ws(n.element,"",t)}function ms(e,t,n,r,i){if(t.testIgnoreAllow(t.options[e.name],n,r)&&t.options[e.name].enabled&&_s(t,n,e,i))return e;return null}function gs(e,t,n,r,i,o,a){for(var s=0,l=r.length;s<l;s++){var u=r[s];var c=i[s];var f=u.getAction(t,n,e,c);if(!f)continue;var h=ms(f,u,c,o,a);if(h)return{action:h,interactable:u,element:c}}return{action:null,interactable:null,element:null}}function vs(e,t,n,r,i){var o=[];var a=[];var s=r;function l(e){o.push(e);a.push(s)}while(as.is.element(s)){o=[];a=[];i.interactables.forEachMatch(s,l);var u=gs(e,t,n,o,a,r,i);if(u.action&&!u.interactable.options[u.action.name].manualStart)return u;s=as.dom.parentNode(s)}return{action:null,interactable:null,element:null}}function bs(e,t,n){var r=t.action,i=t.interactable,o=t.element;r=r||{name:null};e.interactable=i;e.element=o;as.copyAction(e.prepared,r);e.rect=i&&r.name?i.getRect(o):null;As(e,n);n.fire("autoStart:prepared",{interaction:e})}function _s(e,t,n,r){var i=e.options;var o=i[n.name].max;var a=i[n.name].maxPerElement;var s=r.autoStart.maxInteractions;var l=0;var u=0;var c=0;if(!(o&&a&&s))return false;for(var f=0;f<r.interactions.list.length;f++){var h;h=r.interactions.list[f];var d=h;var p=d.prepared.name;if(!d.interacting())continue;l++;if(l>=s)return false;if(d.interactable!==e)continue;u+=p===n.name?1:0;if(u>=o)return false;if(d.element===t){c++;if(p===n.name&&c>=a)return false}}return s>0}function xs(e,t){if(as.is.number(e)){t.autoStart.maxInteractions=e;return this}return t.autoStart.maxInteractions}function ws(e,t,n){var r=n.autoStart.cursorElement;if(r&&r!==e)r.style.cursor="";e.ownerDocument.documentElement.style.cursor=t;e.style.cursor=t;n.autoStart.cursorElement=t?e:null}function As(e,t){var n=e.interactable,r=e.element,i=e.prepared;if(!(e.pointerType==="mouse"&&n&&n.options.styleCursor)){if(t.autoStart.cursorElement)ws(t.autoStart.cursorElement,"",t);return}var o="";if(i.name){var a=n.options[i.name].cursorChecker;if(as.is.func(a))o=a(i,n,r,e._interacting);else o=t.actions.map[i.name].getCursor(i)}ws(e.element,o||"",t)}var Ss,Cs,Os={};function Es(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Es=function e(t){return typeof t};else Es=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Es(e)}is["default"]={id:"auto-start/base",before:["actions","actions/drag","actions/resize","actions/gesture"],install:fs,listeners:{"interactions:down":hs,"interactions:move":function e(t,n){ds(t,n);ps(t,n)},"interactions:stop":ys},maxInteractions:xs,withinInteractionLimit:_s,validateAction:ms},Object.defineProperty(Os,"__esModule",{value:true}),Os["default"]=void 0;var Ms=Is(w),Ps=ks(is);function ks(e){return e&&e.__esModule?e:{default:e}}function Ts(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Ts=function e(){return t};return t}function Is(e){if(e&&e.__esModule)return e;if(e===null||Es(e)!=="object"&&typeof e!=="function")return{default:e};var t=Ts();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Ls(e,i){var o=e.interaction,a=e.eventTarget,t=e.dx,n=e.dy;if(o.prepared.name!=="drag")return;var r=Math.abs(t);var s=Math.abs(n);var l=o.interactable.options.drag;var u=l.startAxis;var c=r>s?"x":r<s?"y":"xy";o.prepared.axis=l.lockAxis==="start"?c[0]:l.lockAxis;if(c!=="xy"&&u!=="xy"&&u!==c){o.prepared.name=null;var f=a;var h=function e(t){if(t===o.interactable)return;var n=o.interactable.options.drag;if(!n.manualStart&&t.testIgnoreAllow(n,f,a)){var r=t.getAction(o.downPointer,o.downEvent,o,f);if(r&&r.name==="drag"&&js(c,t)&&Ps["default"].validateAction(r,t,f,a,i))return t}};while(Ms.element(f)){var d=i.interactables.forEachMatch(f,h);if(d){o.prepared.name="drag";o.interactable=d;o.element=f;break}f=(0,D.parentNode)(f)}}}function js(e,t){if(!t)return false;var n=t.options.drag.startAxis;return e==="xy"||n==="xy"||n===e}var Ds,Bs={},Rs=(Os["default"]={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":Ls}},Object.defineProperty(Bs,"__esModule",{value:true}),Bs["default"]=void 0,Ns(is));function Ns(e){return e&&e.__esModule?e:{default:e}}function zs(e){var t=e.defaults;e.usePlugin(Rs["default"]);t.perAction.hold=0;t.perAction.delay=0}function Fs(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 Vs,Hs={},Ys=(Bs["default"]={id:"auto-start/hold",install:zs,listeners:{"interactions:new":function e(t){var n=t.interaction;n.autoStartHoldTimer=null},"autoStart:prepared":function e(t){var n=t.interaction;var r=Fs(n);if(r>0)n.autoStartHoldTimer=setTimeout(function(){n.start(n.prepared,n.interactable,n.element)},r)},"interactions:move":function e(t){var n=t.interaction,r=t.duplicate;if(n.pointerWasMoved&&!r)clearTimeout(n.autoStartHoldTimer)},"autoStart:before-start":function e(t){var n=t.interaction;var r=Fs(n);if(r>0)n.prepared.name=null}},getHoldDuration:Fs},Object.defineProperty(Hs,"__esModule",{value:true}),Object.defineProperty(Hs,"autoStart",{enumerable:true,get:function e(){return Ys["default"]}}),Object.defineProperty(Hs,"dragAxis",{enumerable:true,get:function e(){return Gs["default"]}}),Object.defineProperty(Hs,"hold",{enumerable:true,get:function e(){return Us["default"]}}),Hs["default"]=void 0,Qs(is)),Gs=Qs(Os),Us=Qs(Bs);function Qs(e){return e&&e.__esModule?e:{default:e}}var Ws,qs={},Ks=(Hs["default"]={id:"auto-start",install:function e(t){t.usePlugin(Ys["default"]);t.usePlugin(Us["default"]);t.usePlugin(Gs["default"])}},Object.defineProperty(qs,"__esModule",{value:true}),qs["default"]=void 0,{}),Xs=(qs["default"]=Ks,{}),Js=("use strict",Object.defineProperty(Xs,"__esModule",{value:true}),Xs["default"]=void 0,{}),$s=(Xs["default"]=Js,{});function Zs(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Zs=function e(t){return typeof t};else Zs=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Zs(e)}"use strict",Object.defineProperty($s,"__esModule",{value:true}),$s["default"]=void 0;var el=sl(L),tl=sl(S),nl=al(w),rl=sl(x),il;function ol(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;ol=function e(){return t};return t}function al(e){if(e&&e.__esModule)return e;if(e===null||Zs(e)!=="object"&&typeof e!=="function")return{default:e};var t=ol();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function sl(e){return e&&e.__esModule?e:{default:e}}function ll(e){return fl(e)||cl(e)||ul()}function ul(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function cl(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function fl(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}var hl=il||(il={}),dl=(hl["touchAction"]="touchAction",hl["boxSizing"]="boxSizing",hl["noListeners"]="noListeners","[interact.js] "),pl={touchAction:"https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action",boxSizing:"https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing"},yl;function ml(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n=t.logger;var r=e.Interactable,i=e.defaults;e.logger=n||console;i.base.devTools={ignore:{}};r.prototype.devTools=function(e){if(e){(0,tl["default"])(this.options.devTools,e);return this}return this.options.devTools}}var gl=[{name:il.touchAction,perform:function e(t){var n=t.element;return!bl(n,"touchAction",/pan-|pinch|none/)},getInfo:function e(t){var n=t.element;return[n,pl.touchAction]},text:'Consider adding CSS "touch-action: none" to this element\n'},{name:il.boxSizing,perform:function e(t){var n=t.element;return t.prepared.name==="resize"&&n instanceof el["default"].HTMLElement&&!vl(n,"boxSizing",/border-box/)},text:'Consider adding CSS "box-sizing: border-box" to this resizable element',getInfo:function e(t){var n=t.element;return[n,pl.boxSizing]}},{name:il.noListeners,perform:function e(t){var n=t.prepared.name;var r=t.interactable.events.types["".concat(n,"move")]||[];return!r.length},getInfo:function e(t){return[t.prepared.name,t.interactable]},text:"There are no listeners set for this action"}];function vl(e,t,n){return n.test(e.style[t]||rl["default"].window.getComputedStyle(e)[t])}function bl(e,t,n){var r=e;while(nl.element(r)){if(vl(r,t,n))return true;r=(0,D.parentNode)(r)}return false}var _l="dev-tools",xl,wl,Al=($s["default"]="production"==="production"?{id:_l,install:function e(){}}:{id:_l,install:ml,listeners:{"interactions:action-start":function e(t,n){var r=t.interaction;for(var i=0;i<gl.length;i++){var o;o=gl[i];var a=o;var s=r.interactable&&r.interactable.options;if(!(s&&s.devTools&&s.devTools.ignore[a.name])&&a.perform(r)){var l;(l=n.logger).warn.apply(l,[dl+a.text].concat(ll(a.getInfo(r))))}}}},checks:gl,CheckName:il,links:pl,prefix:dl},{}),Sl=("use strict",Object.defineProperty(Al,"__esModule",{value:true}),Al["default"]=void 0,{}),Cl=(Al["default"]=Sl,{});function Ol(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Ol=function e(t){return typeof t};else Ol=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Ol(e)}"use strict",Object.defineProperty(Cl,"__esModule",{value:true}),Cl.getRectOffset=Gl,Cl["default"]=void 0;var El=Il(He),Ml=Il(S),Pl=Tl(f);function kl(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;kl=function e(){return t};return t}function Tl(e){if(e&&e.__esModule)return e;if(e===null||Ol(e)!=="object"&&typeof e!=="function")return{default:e};var t=kl();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Il(e){return e&&e.__esModule?e:{default:e}}function Ll(e,t){return Bl(e)||Dl(e,t)||jl()}function jl(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Dl(e,t){if(!(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]"))return;var n=[];var r=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done);r=true){n.push(s.value);if(t&&n.length===t)break}}catch(e){i=true;o=e}finally{try{if(!r&&a["return"]!=null)a["return"]()}finally{if(i)throw o}}return n}function Bl(e){if(Array.isArray(e))return e}function Rl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function zl(e,t,n){if(t)Nl(e.prototype,t);if(n)Nl(e,n);return e}function Fl(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}var Vl=function(){function t(e){Rl(this,t);this.interaction=e;Fl(this,"states",[]);Fl(this,"startOffset",{left:0,right:0,top:0,bottom:0});Fl(this,"startDelta",null);Fl(this,"result",null);Fl(this,"endResult",null);Fl(this,"edges",void 0);this.result=Hl()}zl(t,[{key:"start",value:function e(t,n){var r=t.phase;var i=this.interaction;var o=Yl(i);this.prepareStates(o);this.edges=(0,Ml["default"])({},i.edges);this.startOffset=Gl(i.rect,n);this.startDelta={x:0,y:0};var a={phase:r,pageCoords:n,preEnd:false};this.result=Hl();this.startAll(a);var s=this.result=this.setAll(a);return s}},{key:"fillArg",value:function e(t){var n=this.interaction;t.interaction=n;t.interactable=n.interactable;t.element=n.element;t.rect=t.rect||n.rect;t.edges=this.edges;t.startOffset=this.startOffset}},{key:"startAll",value:function e(t){this.fillArg(t);for(var n=0;n<this.states.length;n++){var r;r=this.states[n];var i=r;if(i.methods.start){t.state=i;i.methods.start(t)}}}},{key:"setAll",value:function e(t){this.fillArg(t);var n=t.phase,r=t.preEnd,i=t.skipModifiers,o=t.rect;t.coords=(0,Ml["default"])({},t.pageCoords);t.rect=(0,Ml["default"])({},o);var a=i?this.states.slice(i):this.states;var s=Hl(t.coords,t.rect);for(var l=0;l<a.length;l++){var u;u=a[l];var c=u;var f=c.options;var h=(0,Ml["default"])({},t.coords);var d=null;if(c.methods.set&&this.shouldDo(f,r,n)){t.state=c;d=c.methods.set(t);Pl.addEdges(this.interaction.edges,t.rect,{x:t.coords.x-h.x,y:t.coords.y-h.y})}s.eventProps.push(d)}s.delta.x=t.coords.x-t.pageCoords.x;s.delta.y=t.coords.y-t.pageCoords.y;s.rectDelta.left=t.rect.left-o.left;s.rectDelta.right=t.rect.right-o.right;s.rectDelta.top=t.rect.top-o.top;s.rectDelta.bottom=t.rect.bottom-o.bottom;var p=this.result.coords;var y=this.result.rect;if(p&&y){var m=s.rect.left!==y.left||s.rect.right!==y.right||s.rect.top!==y.top||s.rect.bottom!==y.bottom;s.changed=m||p.x!==s.coords.x||p.y!==s.coords.y}return s}},{key:"applyToInteraction",value:function e(t){var n=this.interaction;var r=t.phase;var i=n.coords.cur;var o=n.coords.start;var a=this.result,s=this.startDelta;var l=a.delta;if(r==="start")(0,Ml["default"])(this.startDelta,a.delta);for(var u=0;u<[[o,s],[i,l]].length;u++){var c;c=[[o,s],[i,l]][u];var f=c,h=Ll(f,2),d=h[0],p=h[1];d.page.x+=p.x;d.page.y+=p.y;d.client.x+=p.x;d.client.y+=p.y}var y=this.result.rectDelta;var m=t.rect||n.rect;m.left+=y.left;m.right+=y.right;m.top+=y.top;m.bottom+=y.bottom;m.width=m.right-m.left;m.height=m.bottom-m.top}},{key:"setAndApply",value:function e(t){var n=this.interaction;var r=t.phase,i=t.preEnd,o=t.skipModifiers;var a=this.setAll({preEnd:i,phase:r,pageCoords:t.modifiedCoords||n.coords.cur.page});this.result=a;if(!a.changed&&(!o||o<this.states.length)&&n.interacting())return false;if(t.modifiedCoords){var s=n.coords.cur.page;var l={x:t.modifiedCoords.x-s.x,y:t.modifiedCoords.y-s.y};a.coords.x+=l.x;a.coords.y+=l.y;a.delta.x+=l.x;a.delta.y+=l.y}this.applyToInteraction(t)}},{key:"beforeEnd",value:function e(t){var n=t.interaction,r=t.event;var i=this.states;if(!i||!i.length)return;var o=false;for(var a=0;a<i.length;a++){var s;s=i[a];var l=s;t.state=l;var u=l.options,c=l.methods;var f=c.beforeEnd&&c.beforeEnd(t);if(f){this.endResult=f;return false}o=o||!o&&this.shouldDo(u,true,t.phase,true)}if(o)n.move({event:r,preEnd:true})}},{key:"stop",value:function e(t){var n=t.interaction;if(!this.states||!this.states.length)return;var r=(0,Ml["default"])({states:this.states,interactable:n.interactable,element:n.element,rect:null},t);this.fillArg(r);for(var i=0;i<this.states.length;i++){var o;o=this.states[i];var a=o;r.state=a;if(a.methods.stop)a.methods.stop(r)}this.states=null;this.endResult=null}},{key:"prepareStates",value:function e(t){this.states=[];for(var n=0;n<t.length;n++){var r=t[n],i=r.options,o=r.methods,a=r.name;if(i&&i.enabled===false)continue;this.states.push({options:i,methods:o,index:n,name:a})}return this.states}},{key:"restoreInteractionCoords",value:function e(t){var n=t.interaction,r=n.coords,i=n.rect,o=n.modification;if(!o.result)return;var a=o.startDelta;var s=o.result,l=s.delta,u=s.rectDelta;var c=[[r.start,a],[r.cur,l]];for(var f=0;f<c.length;f++){var h;h=c[f];var d=h,p=Ll(d,2),y=p[0],m=p[1];y.page.x-=m.x;y.page.y-=m.y;y.client.x-=m.x;y.client.y-=m.y}i.left-=u.left;i.right-=u.right;i.top-=u.top;i.bottom-=u.bottom}},{key:"shouldDo",value:function e(t,n,r,i){if(!t||t.enabled===false||i&&!t.endOnly||t.endOnly&&!n||r==="start"&&!t.setStart)return false;return true}},{key:"copyFrom",value:function e(t){this.startOffset=t.startOffset;this.startDelta=t.startDelta;this.edges=t.edges;this.states=t.states.map(function(e){return(0,El["default"])(e)});this.result=Hl((0,Ml["default"])({},t.result.coords),(0,Ml["default"])({},t.result.rect))}},{key:"destroy",value:function e(){for(var t in this)this[t]=null}}]);return t}();function Hl(e,t){return{rect:t,coords:e,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:true}}function Yl(e){var n=e.interactable.options[e.prepared.name];var t=n.modifiers;if(t&&t.length)return t.filter(function(e){return!e.options||e.options.enabled!==false});return["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(e){var t=n[e];return t&&t.enabled&&{options:t,methods:t._methods}}).filter(function(e){return!!e})}function Gl(e,t){return e?{left:t.x-e.left,top:t.y-e.top,right:e.right-t.x,bottom:e.bottom-t.y}:{left:0,top:0,right:0,bottom:0}}Cl["default"]=Vl;var t={},Ul=("use strict",Object.defineProperty(t,"__esModule",{value:true}),t.makeModifier=Wl,t.addEventModifiers=ql,t["default"]=void 0,Ql(Cl));function Ql(e){return e&&e.__esModule?e:{default:e}}function Wl(e,o){var a=e.defaults;var s={start:e.start,set:e.set,beforeEnd:e.beforeEnd,stop:e.stop};var t=function e(t){var n=t||{};n.enabled=n.enabled!==false;for(var r in a)if(!(r in n))n[r]=a[r];var i={options:n,methods:s,name:o};return i};if(o&&typeof o==="string"){t._defaults=a;t._methods=s}return t}function ql(e){var t=e.iEvent,n=e.interaction.modification.result;if(n)t.modifiers=n.eventProps}var Kl,Xl,Jl={};function $l(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")$l=function e(t){return typeof t};else $l=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return $l(e)}t["default"]={id:"modifiers/base",install:function e(t){t.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function e(t){var n=t.interaction;n.modification=new Ul["default"](n)},"interactions:before-action-start":function e(t){var n=t.interaction.modification;n.start(t,t.interaction.coords.start.page);t.interaction.edges=n.edges;n.applyToInteraction(t)},"interactions:before-action-move":function e(t){return t.interaction.modification.setAndApply(t)},"interactions:before-action-end":function e(t){return t.interaction.modification.beforeEnd(t)},"interactions:action-start":ql,"interactions:action-move":ql,"interactions:action-end":ql,"interactions:after-action-start":function e(t){return t.interaction.modification.restoreInteractionCoords(t)},"interactions:after-action-move":function e(t){return t.interaction.modification.restoreInteractionCoords(t)},"interactions:stop":function e(t){return t.interaction.modification.stop(t)}},before:["actions","action/drag","actions/resize","actions/gesture"]},Object.defineProperty(Jl,"__esModule",{value:true}),Jl.addTotal=nu,Jl.applyPending=au,Jl["default"]=void 0;var Zl=tu(f);function eu(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;eu=function e(){return t};return t}function tu(e){if(e&&e.__esModule)return e;if(e===null||$l(e)!=="object"&&typeof e!=="function")return{default:e};var t=eu();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function nu(e){if(!e.pointerIsDown)return;lu(e.coords.cur,e.offset.total);e.offset.pending.x=0;e.offset.pending.y=0}function ru(e){var t=e.interaction;au(t)}function iu(e){var t=e.interaction;var n=au(t);if(!n)return;t.move({offset:true});t.end();return false}function ou(e){var t=e.interaction;t.offset.total.x=0;t.offset.total.y=0;t.offset.pending.x=0;t.offset.pending.y=0}function au(e){if(!uu(e))return false;var t=e.offset.pending;lu(e.coords.cur,t);lu(e.coords.delta,t);Zl.addEdges(e.edges,e.rect,t);t.x=0;t.y=0;return true}function su(e){var t=e.x,n=e.y;this.offset.pending.x+=t;this.offset.pending.y+=n;this.offset.total.x+=t;this.offset.total.y+=n}function lu(e,t){var n=e.page,r=e.client;var i=t.x,o=t.y;n.x+=i;n.y+=o;r.x+=i;r.y+=o}function uu(e){return!!(e.offset.pending.x||e.offset.pending.y)}z._ProxyMethods.offsetBy="";var cu,fu,hu={};function du(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")du=function e(t){return typeof t};else du=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return du(e)}Jl["default"]={id:"offset",install:function e(t){t.Interaction.prototype.offsetBy=su},listeners:{"interactions:new":function e(t){var n=t.interaction;n.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function e(t){var n=t.interaction;return nu(n)},"interactions:before-action-start":ru,"interactions:before-action-move":ru,"interactions:before-action-end":iu,"interactions:stop":ou}},Object.defineProperty(hu,"__esModule",{value:true}),hu["default"]=hu.InertiaState=void 0;var pu=Au(Cl),yu=wu(t),mu=Au(Jl),gu=wu(D),vu=Au(bt),bu=wu(w),_u=Au(mr);function xu(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;xu=function e(){return t};return t}function wu(e){if(e&&e.__esModule)return e;if(e===null||du(e)!=="object"&&typeof e!=="function")return{default:e};var t=xu();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Au(e){return e&&e.__esModule?e:{default:e}}function Su(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function Ou(e,t,n){if(t)Cu(e.prototype,t);if(n)Cu(e,n);return e}function i(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}function Eu(e){var t=e.defaults;e.usePlugin(mu["default"]);e.usePlugin(yu["default"]);e.actions.phases.inertiastart=true;e.actions.phases.resume=true;t.perAction.inertia={enabled:false,resistance:10,minSpeed:100,endSpeed:10,allowResume:true,smoothEndDuration:300}}var Mu=function(){function t(e){Su(this,t);this.interaction=e;i(this,"active",false);i(this,"isModified",false);i(this,"smoothEnd",false);i(this,"allowResume",false);i(this,"modification",null);i(this,"modifierCount",0);i(this,"modifierArg",null);i(this,"startCoords",null);i(this,"t0",0);i(this,"v0",0);i(this,"te",0);i(this,"targetOffset",null);i(this,"modifiedOffset",null);i(this,"currentOffset",null);i(this,"lambda_v0",0);i(this,"one_ve_v0",0);i(this,"timeout",null)}Ou(t,[{key:"start",value:function e(t){var n=this.interaction;var r=Iu(n);if(!r||!r.enabled)return false;var i=n.coords.velocity.client;var o=(0,vu["default"])(i.x,i.y);var a=this.modification||(this.modification=new pu["default"](n));a.copyFrom(n.modification);this.t0=n._now();this.allowResume=r.allowResume;this.v0=o;this.currentOffset={x:0,y:0};this.startCoords=n.coords.cur.page;this.modifierArg={interaction:n,interactable:n.interactable,element:n.element,rect:n.rect,edges:n.edges,pageCoords:this.startCoords,preEnd:true,phase:"inertiastart"};var s=this.t0-n.coords.cur.timeStamp<50&&o>r.minSpeed&&o>r.endSpeed;if(s)this.startInertia();else{a.result=a.setAll(this.modifierArg);if(!a.result.changed)return false;this.startSmoothEnd()}n.modification.result.rect=null;n.offsetBy(this.targetOffset);n._doPhase({interaction:n,event:t,phase:"inertiastart"});n.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y});n.modification.result.rect=null;this.active=true;n.simulation=this;return true}},{key:"startInertia",value:function e(){var t=this;var n=this.interaction.coords.velocity.client;var r=Iu(this.interaction);var i=r.resistance;var o=-Math.log(r.endSpeed/this.v0)/i;this.targetOffset={x:(n.x-o)/i,y:(n.y-o)/i};this.te=o;this.lambda_v0=i/this.v0;this.one_ve_v0=1-r.endSpeed/this.v0;var a=this.modification,s=this.modifierArg;s.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y};a.result=a.setAll(s);if(a.result.changed){this.isModified=true;this.modifiedOffset={x:this.targetOffset.x+a.result.delta.x,y:this.targetOffset.y+a.result.delta.y}}this.timeout=_u["default"].request(function(){return t.inertiaTick()})}},{key:"startSmoothEnd",value:function e(){var t=this;this.smoothEnd=true;this.isModified=true;this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y};this.timeout=_u["default"].request(function(){return t.smoothEndTick()})}},{key:"inertiaTick",value:function e(){var t=this;var n=this.interaction;var r=Iu(n);var i=r.resistance;var o=(n._now()-this.t0)/1e3;if(o<this.te){var a=1-(Math.exp(-i*o)-this.lambda_v0)/this.one_ve_v0;var s;if(this.isModified)s=Du(0,0,this.targetOffset.x,this.targetOffset.y,this.modifiedOffset.x,this.modifiedOffset.y,a);else s={x:this.targetOffset.x*a,y:this.targetOffset.y*a};var l={x:s.x-this.currentOffset.x,y:s.y-this.currentOffset.y};this.currentOffset.x+=l.x;this.currentOffset.y+=l.y;n.offsetBy(l);n.move();this.timeout=_u["default"].request(function(){return t.inertiaTick()})}else{n.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y});this.end()}}},{key:"smoothEndTick",value:function e(){var t=this;var n=this.interaction;var r=n._now()-this.t0;var i=Iu(n),o=i.smoothEndDuration;if(r<o){var a={x:Bu(r,0,this.targetOffset.x,o),y:Bu(r,0,this.targetOffset.y,o)};var s={x:a.x-this.currentOffset.x,y:a.y-this.currentOffset.y};this.currentOffset.x+=s.x;this.currentOffset.y+=s.y;n.offsetBy(s);n.move({skipModifiers:this.modifierCount});this.timeout=_u["default"].request(function(){return t.smoothEndTick()})}else{n.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y});this.end()}}},{key:"resume",value:function e(t){var n=t.pointer,r=t.event,i=t.eventTarget;var o=this.interaction;o.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y});o.updatePointer(n,r,i,true);o._doPhase({interaction:o,event:r,phase:"resume"});(0,B.copyCoords)(o.coords.prev,o.coords.cur);this.stop()}},{key:"end",value:function e(){this.interaction.move();this.interaction.end();this.stop()}},{key:"stop",value:function e(){this.active=this.smoothEnd=false;this.interaction.simulation=null;_u["default"].cancel(this.timeout)}}]);return t}();function Pu(e){var t=e.interaction,n=e.event;if(!t._interacting||t.simulation)return null;var r=t.inertia.start(n);return r?false:null}function ku(e){var t=e.interaction,n=e.eventTarget;var r=t.inertia;if(!r.active)return;var i=n;while(bu.element(i)){if(i===t.element){r.resume(e);break}i=gu.parentNode(i)}}function Tu(e){var t=e.interaction;var n=t.inertia;if(n.active)n.stop()}function Iu(e){var t=e.interactable,n=e.prepared;return t&&t.options&&n.name&&t.options[n.name].inertia}hu.InertiaState=Mu;var Lu={id:"inertia",before:["modifiers/base"],install:Eu,listeners:{"interactions:new":function e(t){var n=t.interaction;n.inertia=new Mu(n)},"interactions:before-action-end":Pu,"interactions:down":ku,"interactions:stop":Tu,"interactions:before-action-resume":function e(t){var n=t.interaction.modification;n.stop(t);n.start(t,t.interaction.coords.cur.page);n.applyToInteraction(t)},"interactions:before-action-inertiastart":function e(t){return t.interaction.modification.setAndApply(t)},"interactions:action-resume":yu.addEventModifiers,"interactions:action-inertiastart":yu.addEventModifiers,"interactions:after-action-inertiastart":function e(t){return t.interaction.modification.restoreInteractionCoords(t)},"interactions:after-action-resume":function e(t){return t.interaction.modification.restoreInteractionCoords(t)}}};function ju(e,t,n,r){var i=1-e;return i*i*t+2*i*e*n+e*e*r}function Du(e,t,n,r,i,o,a){return{x:ju(a,e,n,i),y:ju(a,t,r,o)}}function Bu(e,t,n,r){e/=r;return-n*e*(e-2)+t}var Ru,Nu=(hu["default"]=Lu,{}),zu;function Fu(e){return e&&e.__esModule?e:{default:e}}function Vu(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Vu=function e(t){return typeof t};else Vu=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Vu(e)}"use strict",Object.defineProperty(Nu,"__esModule",{value:true}),Nu.init=Nu["default"]=void 0,G;var Hu=new(Fu(V({}))["default"]),Yu=Hu.interactStatic,Gu,Uu=(Nu["default"]=Yu,function e(t){return Hu.init(t)});if(Nu.init=Uu,(typeof window==="undefined"?"undefined":Vu(window))==="object"&&!!window)Uu(window);var Qu={},Wu=("use strict",Object.defineProperty(Qu,"__esModule",{value:true}),Qu["default"]=void 0,{}),qu=(Qu["default"]=Wu,{}),Ku=("use strict",Object.defineProperty(qu,"__esModule",{value:true}),qu["default"]=void 0,{}),Xu=(qu["default"]=Ku,{});function Ju(e,t){return ec(e)||Zu(e,t)||$u()}function $u(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Zu(e,t){if(!(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]"))return;var n=[];var r=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done);r=true){n.push(s.value);if(t&&n.length===t)break}}catch(e){i=true;o=e}finally{try{if(!r&&a["return"]!=null)a["return"]()}finally{if(i)throw o}}return n}function ec(e){if(Array.isArray(e))return e}"use strict",Object.defineProperty(Xu,"__esModule",{value:true}),Xu["default"]=void 0;var tc,nc={},rc=(Xu["default"]=function e(g){var v=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(e){var t=Ju(e,2),n=t[0],r=t[1];return n in g||r in g});var t=function e(t,n){var r=g.range,i=g.limits,o=i===void 0?{left:-Infinity,right:Infinity,top:-Infinity,bottom:Infinity}:i,a=g.offset,s=a===void 0?{x:0,y:0}:a;var l={range:r,grid:g,x:null,y:null};for(var u=0;u<v.length;u++){var c;c=v[u];var f=c,h=Ju(f,2),d=h[0],p=h[1];var y=Math.round((t-s.x)/g[d]);var m=Math.round((n-s.y)/g[p]);l[d]=Math.max(o.left,Math.min(o.right,y*g[d]+s.x));l[p]=Math.max(o.top,Math.min(o.bottom,m*g[p]+s.y))}return l};t.grid=g;t.coordFields=v;return t},Object.defineProperty(nc,"__esModule",{value:true}),Object.defineProperty(nc,"edgeTarget",{enumerable:true,get:function e(){return rc["default"]}}),Object.defineProperty(nc,"elements",{enumerable:true,get:function e(){return ic["default"]}}),Object.defineProperty(nc,"grid",{enumerable:true,get:function e(){return oc["default"]}}),ac(Qu)),ic=ac(qu),oc=ac(Xu);function ac(e){return e&&e.__esModule?e:{default:e}}var sc={};function lc(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")lc=function e(t){return typeof t};else lc=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return lc(e)}"use strict",Object.defineProperty(sc,"__esModule",{value:true}),sc["default"]=void 0;var uc=dc(S),cc=hc(nc);function fc(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;fc=function e(){return t};return t}function hc(e){if(e&&e.__esModule)return e;if(e===null||lc(e)!=="object"&&typeof e!=="function")return{default:e};var t=fc();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function dc(e){return e&&e.__esModule?e:{default:e}}var pc,yc,mc={},gc=(sc["default"]={id:"snappers",install:function e(t){var n=t.interactStatic;n.snappers=(0,uc["default"])(n.snappers||{},cc);n.createSnapGrid=n.snappers.grid}},Object.defineProperty(mc,"__esModule",{value:true}),mc.aspectRatio=mc["default"]=void 0,bc(S)),vc=bc(Cl);function bc(e){return e&&e.__esModule?e:{default:e}}function _c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);if(e)r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable});n.push.apply(n,r)}return n}function xc(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};if(e%2)_c(Object(n),true).forEach(function(e){wc(t,e,n[e])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(t,Object.getOwnPropertyDescriptors(n));else _c(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function wc(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}var Ac={start:function e(t){var n=t.state,r=t.rect,i=t.edges,o=t.pageCoords;var a=n.options.ratio;var s=n.options,l=s.equalDelta,u=s.modifiers;if(a==="preserve")a=r.width/r.height;n.startCoords=(0,gc["default"])({},o);n.startRect=(0,gc["default"])({},r);n.ratio=a;n.equalDelta=l;var c=n.linkedEdges={top:i.top||i.left&&!i.bottom,left:i.left||i.top&&!i.right,bottom:i.bottom||i.right&&!i.top,right:i.right||i.bottom&&!i.left};n.xIsPrimaryAxis=!!(i.left||i.right);if(n.equalDelta)n.edgeSign=(c.left?1:-1)*(c.top?1:-1);else{var f=n.xIsPrimaryAxis?c.top:c.left;n.edgeSign=f?-1:1}(0,gc["default"])(t.edges,c);if(!u||!u.length)return;var h=new vc["default"](t.interaction);h.copyFrom(t.interaction.modification);h.prepareStates(u);n.subModification=h;h.startAll(xc({},t))},set:function e(t){var n=t.state,r=t.rect,i=t.coords;var o=(0,gc["default"])({},i);var a=n.equalDelta?Sc:Cc;a(n,n.xIsPrimaryAxis,i,r);if(!n.subModification)return null;var s=(0,gc["default"])({},r);(0,f.addEdges)(n.linkedEdges,s,{x:i.x-o.x,y:i.y-o.y});var l=n.subModification.setAll(xc({},t,{rect:s,edges:n.linkedEdges,pageCoords:i,prevCoords:i,prevRect:s}));var u=l.delta;if(l.changed){var c=Math.abs(u.x)>Math.abs(u.y);a(n,c,l.coords,l.rect);(0,gc["default"])(i,l.coords)}return l.eventProps},defaults:{ratio:"preserve",equalDelta:false,modifiers:[],enabled:false}};function Sc(e,t,n){var r=e.startCoords,i=e.edgeSign;if(t)n.y=r.y+(n.x-r.x)*i;else n.x=r.x+(n.y-r.y)*i}function Cc(e,t,n,r){var i=e.startRect,o=e.startCoords,a=e.ratio,s=e.edgeSign;if(t){var l=r.width/a;n.y=o.y+(l-i.height)*s}else{var u=r.height*a;n.x=o.x+(u-i.width)*s}}mc.aspectRatio=Ac;var Oc=(0,t.makeModifier)(Ac,"aspectRatio"),Ec=(mc["default"]=Oc,{}),Mc=("use strict",Object.defineProperty(Ec,"__esModule",{value:true}),Ec["default"]=void 0,function e(){});Mc._defaults={};var Pc,b=(Ec["default"]=Mc,{});function kc(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")kc=function e(t){return typeof t};else kc=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return kc(e)}"use strict",Object.defineProperty(b,"__esModule",{value:true}),b.getRestrictionRect=zc,b.restrict=b["default"]=void 0;var Tc=Bc(S),Ic=Dc(w),Lc=Dc(f);function jc(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;jc=function e(){return t};return t}function Dc(e){if(e&&e.__esModule)return e;if(e===null||kc(e)!=="object"&&typeof e!=="function")return{default:e};var t=jc();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Bc(e){return e&&e.__esModule?e:{default:e}}function Rc(e){var t=e.rect,n=e.startOffset,r=e.state,i=e.interaction,o=e.pageCoords;var a=r.options;var s=a.elementRect;var l=(0,Tc["default"])({left:0,top:0,right:0,bottom:0},a.offset||{});if(t&&s){var u=zc(a.restriction,i,o);if(u){var c=u.right-u.left-t.width;var f=u.bottom-u.top-t.height;if(c<0){l.left+=c;l.right+=c}if(f<0){l.top+=f;l.bottom+=f}}l.left+=n.left-t.width*s.left;l.top+=n.top-t.height*s.top;l.right+=n.right-t.width*(1-s.right);l.bottom+=n.bottom-t.height*(1-s.bottom)}r.offset=l}function Nc(e){var t=e.coords,n=e.interaction,r=e.state;var i=r.options,o=r.offset;var a=zc(i.restriction,n,t);if(!a)return;var s=Lc.xywhToTlbr(a);t.x=Math.max(Math.min(s.right-o.right,t.x),s.left+o.left);t.y=Math.max(Math.min(s.bottom-o.bottom,t.y),s.top+o.top)}function zc(e,t,n){if(Ic.func(e))return Lc.resolveRectLike(e,t.interactable,t.element,[n.x,n.y,t]);else return Lc.resolveRectLike(e,t.interactable,t.element)}var Fc,Vc={start:Rc,set:Nc,defaults:{restriction:null,elementRect:null,offset:null,endOnly:false,enabled:false}},Hc=(b.restrict=Vc,(0,t.makeModifier)(Vc,"restrict")),_=(b["default"]=Hc,{});function Yc(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Yc=function e(t){return typeof t};else Yc=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Yc(e)}"use strict",Object.defineProperty(_,"__esModule",{value:true}),_.restrictEdges=_["default"]=void 0;var Gc=qc(S),Uc=Wc(f);function Qc(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Qc=function e(){return t};return t}function Wc(e){if(e&&e.__esModule)return e;if(e===null||Yc(e)!=="object"&&typeof e!=="function")return{default:e};var t=Qc();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function qc(e){return e&&e.__esModule?e:{default:e}}var Kc={top:+Infinity,left:+Infinity,bottom:-Infinity,right:-Infinity},Xc={top:-Infinity,left:-Infinity,bottom:+Infinity,right:+Infinity};function Jc(e){var t=e.interaction,n=e.startOffset,r=e.state;var i=r.options;var o;if(i){var a=(0,b.getRestrictionRect)(i.offset,t,t.coords.start.page);o=Uc.rectToXY(a)}o=o||{x:0,y:0};r.offset={top:o.y+n.top,left:o.x+n.left,bottom:o.y-n.bottom,right:o.x-n.right}}function $c(e){var t=e.coords,n=e.edges,r=e.interaction,i=e.state;var o=i.offset,a=i.options;if(!n)return;var s=(0,Gc["default"])({},t);var l=(0,b.getRestrictionRect)(a.inner,r,s)||{};var u=(0,b.getRestrictionRect)(a.outer,r,s)||{};Zc(l,Kc);Zc(u,Xc);if(n.top)t.y=Math.min(Math.max(u.top+o.top,s.y),l.top+o.top);else if(n.bottom)t.y=Math.max(Math.min(u.bottom+o.bottom,s.y),l.bottom+o.bottom);if(n.left)t.x=Math.min(Math.max(u.left+o.left,s.x),l.left+o.left);else if(n.right)t.x=Math.max(Math.min(u.right+o.right,s.x),l.right+o.right)}function Zc(e,t){var n=["top","left","bottom","right"];for(var r=0;r<n.length;r++){var i=n[r];if(!(i in e))e[i]=t[i]}return e}var ef,tf={noInner:Kc,noOuter:Xc,start:Jc,set:$c,defaults:{inner:null,outer:null,offset:null,endOnly:false,enabled:false}},nf=(_.restrictEdges=tf,(0,t.makeModifier)(tf,"restrictEdges")),rf=(_["default"]=nf,{}),of;function af(e){return e&&e.__esModule?e:{default:e}}"use strict",Object.defineProperty(rf,"__esModule",{value:true});var sf=(rf.restrictRect=rf["default"]=void 0,af(S)["default"])({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(e){}},b.restrict.defaults),lf={start:b.restrict.start,set:b.restrict.set,defaults:sf},uf=(rf.restrictRect=lf,(0,t.makeModifier)(lf,"restrictRect")),cf=(rf["default"]=uf,{});function ff(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")ff=function e(t){return typeof t};else ff=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return ff(e)}"use strict",Object.defineProperty(cf,"__esModule",{value:true}),cf.restrictSize=cf["default"]=void 0;var hf=mf(S),df=yf(f);function pf(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;pf=function e(){return t};return t}function yf(e){if(e&&e.__esModule)return e;if(e===null||ff(e)!=="object"&&typeof e!=="function")return{default:e};var t=pf();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function mf(e){return e&&e.__esModule?e:{default:e}}var gf={width:-Infinity,height:-Infinity},vf={width:+Infinity,height:+Infinity};function bf(e){return _.restrictEdges.start(e)}function _f(e){var t=e.interaction,n=e.state,r=e.rect,i=e.edges;var o=n.options;if(!i)return;var a=df.tlbrToXywh((0,b.getRestrictionRect)(o.min,t,e.coords))||gf;var s=df.tlbrToXywh((0,b.getRestrictionRect)(o.max,t,e.coords))||vf;n.options={endOnly:o.endOnly,inner:(0,hf["default"])({},_.restrictEdges.noInner),outer:(0,hf["default"])({},_.restrictEdges.noOuter)};if(i.top){n.options.inner.top=r.bottom-a.height;n.options.outer.top=r.bottom-s.height}else if(i.bottom){n.options.inner.bottom=r.top+a.height;n.options.outer.bottom=r.top+s.height}if(i.left){n.options.inner.left=r.right-a.width;n.options.outer.left=r.right-s.width}else if(i.right){n.options.inner.right=r.left+a.width;n.options.outer.right=r.left+s.width}_.restrictEdges.set(e);n.options=o}var xf,wf={start:bf,set:_f,defaults:{min:null,max:null,endOnly:false,enabled:false}},Af=(cf.restrictSize=wf,(0,t.makeModifier)(wf,"restrictSize")),Sf=(cf["default"]=Af,{}),Cf=("use strict",Object.defineProperty(Sf,"__esModule",{value:true}),Sf["default"]=void 0,function e(){});Cf._defaults={};var Of,Ef=(Sf["default"]=Cf,{});function Mf(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Mf=function e(t){return typeof t};else Mf=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Mf(e)}"use strict",Object.defineProperty(Ef,"__esModule",{value:true}),Ef.snap=Ef["default"]=void 0;var O=kf(N);function Pf(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Pf=function e(){return t};return t}function kf(e){if(e&&e.__esModule)return e;if(e===null||Mf(e)!=="object"&&typeof e!=="function")return{default:e};var t=Pf();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Tf(e){var t=e.interaction,n=e.interactable,r=e.element,i=e.rect,o=e.state,a=e.startOffset;var s=o.options;var l=s.offsetWithOrigin?Lf(e):{x:0,y:0};var u;if(s.offset==="startCoords")u={x:t.coords.start.page.x,y:t.coords.start.page.y};else{var c=O.rect.resolveRectLike(s.offset,n,r,[t]);u=O.rect.rectToXY(c)||{x:0,y:0};u.x+=l.x;u.y+=l.y}var f=s.relativePoints;o.offsets=i&&f&&f.length?f.map(function(e,t){return{index:t,relativePoint:e,x:a.left-i.width*e.x+u.x,y:a.top-i.height*e.y+u.y}}):[O.extend({index:0,relativePoint:null},u)]}function If(e){var t=e.interaction,n=e.coords,r=e.state;var i=r.options,o=r.offsets;var a=O.getOriginXY(t.interactable,t.element,t.prepared.name);var s=O.extend({},n);var l=[];if(!i.offsetWithOrigin){s.x-=a.x;s.y-=a.y}for(var u=0;u<o.length;u++){var c;c=o[u];var f=c;var h=s.x-f.x;var d=s.y-f.y;for(var p=0,y=i.targets.length;p<y;p++){var m=i.targets[p];var g=void 0;if(O.is.func(m))g=m(h,d,t,f,p);else g=m;if(!g)continue;l.push({x:(O.is.number(g.x)?g.x:h)+f.x,y:(O.is.number(g.y)?g.y:d)+f.y,range:O.is.number(g.range)?g.range:i.range,source:m,index:p,offset:f})}}var v={target:null,inRange:false,distance:0,range:0,delta:{x:0,y:0}};for(var b=0;b<l.length;b++){var _=l[b];var x=_.range;var w=_.x-s.x;var A=_.y-s.y;var S=O.hypot(w,A);var C=S<=x;if(x===Infinity&&v.inRange&&v.range!==Infinity)C=false;if(!v.target||(C?v.inRange&&x!==Infinity?S/x<v.distance/v.range:x===Infinity&&v.range!==Infinity||S<v.distance:!v.inRange&&S<v.distance)){v.target=_;v.distance=S;v.range=x;v.inRange=C;v.delta.x=w;v.delta.y=A}}if(v.inRange){n.x=v.target.x;n.y=v.target.y}r.closest=v;return v}function Lf(e){var t=e.interaction.element;var n=O.rect.rectToXY(O.rect.resolveRectLike(e.state.options.origin,null,null,[t]));var r=n||O.getOriginXY(e.interactable,t,e.interaction.prepared.name);return r}var jf,Df={start:Tf,set:If,defaults:{range:Infinity,targets:null,offset:null,offsetWithOrigin:true,origin:null,relativePoints:null,endOnly:false,enabled:false}},Bf=(Ef.snap=Df,(0,t.makeModifier)(Df,"snap")),o=(Ef["default"]=Bf,{});function Rf(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Rf=function e(t){return typeof t};else Rf=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Rf(e)}"use strict",Object.defineProperty(o,"__esModule",{value:true}),o.snapSize=o["default"]=void 0;var Nf=Hf(S),zf=Vf(w);function Ff(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Ff=function e(){return t};return t}function Vf(e){if(e&&e.__esModule)return e;if(e===null||Rf(e)!=="object"&&typeof e!=="function")return{default:e};var t=Ff();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function Hf(e){return e&&e.__esModule?e:{default:e}}function Yf(e,t){return Qf(e)||Uf(e,t)||Gf()}function Gf(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Uf(e,t){if(!(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]"))return;var n=[];var r=true;var i=false;var o=undefined;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done);r=true){n.push(s.value);if(t&&n.length===t)break}}catch(e){i=true;o=e}finally{try{if(!r&&a["return"]!=null)a["return"]()}finally{if(i)throw o}}return n}function Qf(e){if(Array.isArray(e))return e}function Wf(e){var t=e.state,n=e.edges;var r=t.options;if(!n)return null;e.state={options:{targets:null,relativePoints:[{x:n.left?0:1,y:n.top?0:1}],offset:r.offset||"self",origin:{x:0,y:0},range:r.range}};t.targetFields=t.targetFields||[["width","height"],["x","y"]];Ef.snap.start(e);t.offsets=e.state.offsets;e.state=t}function qf(e){var t=e.interaction,n=e.state,r=e.coords;var i=n.options,o=n.offsets;var a={x:r.x-o[0].x,y:r.y-o[0].y};n.options=(0,Nf["default"])({},i);n.options.targets=[];for(var s=0;s<(i.targets||[]).length;s++){var l;l=(i.targets||[])[s];var u=l;var c=void 0;if(zf.func(u))c=u(a.x,a.y,t);else c=u;if(!c)continue;for(var f=0;f<n.targetFields.length;f++){var h;h=n.targetFields[f];var d=h,p=Yf(d,2),y=p[0],m=p[1];if(y in c||m in c){c.x=c[y];c.y=c[m];break}}n.options.targets.push(c)}var g=Ef.snap.set(e);n.options=i;return g}var Kf,Xf={start:Wf,set:qf,defaults:{range:Infinity,targets:null,offset:null,endOnly:false,enabled:false}},Jf=(o.snapSize=Xf,(0,t.makeModifier)(Xf,"snapSize")),$f=(o["default"]=Jf,{}),Zf=("use strict",Object.defineProperty($f,"__esModule",{value:true}),$f.snapEdges=$f["default"]=void 0,th(He)),eh=th(S);function th(e){return e&&e.__esModule?e:{default:e}}function nh(e){var t=e.edges;if(!t)return null;e.state.targetFields=e.state.targetFields||[[t.left?"left":"right",t.top?"top":"bottom"]];return o.snapSize.start(e)}var rh={start:nh,set:o.snapSize.set,defaults:(0,eh["default"])((0,Zf["default"])(o.snapSize.defaults),{targets:null,range:null,offset:{x:0,y:0}})},ih=($f.snapEdges=rh,(0,t.makeModifier)(rh,"snapEdges")),oh=($f["default"]=ih,{}),ah=("use strict",Object.defineProperty(oh,"__esModule",{value:true}),oh["default"]=void 0,function e(){});ah._defaults={};var sh,lh=(oh["default"]=ah,{}),uh=("use strict",Object.defineProperty(lh,"__esModule",{value:true}),lh["default"]=void 0,function e(){});uh._defaults={};var ch,fh=(lh["default"]=uh,{}),hh=("use strict",Object.defineProperty(fh,"__esModule",{value:true}),fh["default"]=void 0,a(mc)),dh=a(Ec),ph=a(_),yh=a(b),mh=a(rf),gh=a(cf),vh=a(Sf),bh=a($f),_h=a(Ef),xh=a(o),wh=a(oh),Ah=a(lh);function a(e){return e&&e.__esModule?e:{default:e}}var Sh={aspectRatio:hh["default"],restrictEdges:ph["default"],restrict:yh["default"],restrictRect:mh["default"],restrictSize:gh["default"],snapEdges:bh["default"],snap:_h["default"],snapSize:xh["default"],spring:wh["default"],avoid:dh["default"],transform:Ah["default"],rubberband:vh["default"]},Ch=(fh["default"]=Sh,{}),Oh=("use strict",Object.defineProperty(Ch,"__esModule",{value:true}),Ch["default"]=void 0,Ph(sc)),Eh=Ph(fh),Mh=Ph(t);function Ph(e){return e&&e.__esModule?e:{default:e}}var kh,Th,Ih={},Lh=(Ch["default"]={id:"modifiers",install:function e(t){var n=t.interactStatic;t.usePlugin(Mh["default"]);t.usePlugin(Oh["default"]);n.modifiers=Eh["default"];for(var r in Eh["default"]){var i=Eh["default"][r],o=i._defaults,a=i._methods;o._methods=a;t.defaults.perAction[r]=o}}},Object.defineProperty(Ih,"__esModule",{value:true}),Ih["default"]=void 0,{}),jh=(Ih["default"]=Lh,{}),Dh=("use strict",Object.defineProperty(jh,"__esModule",{value:true}),jh.PointerEvent=jh["default"]=void 0,zh(Vr)),Bh=Nh(B);function Rh(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;Rh=function e(){return t};return t}function Nh(e){if(e&&e.__esModule)return e;if(e===null||Fh(e)!=="object"&&typeof e!=="function")return{default:e};var t=Rh();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function zh(e){return e&&e.__esModule?e:{default:e}}function Fh(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Fh=function e(t){return typeof t};else Fh=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Fh(e)}function Vh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function Yh(e,t,n){if(t)Hh(e.prototype,t);if(n)Hh(e,n);return e}function Gh(e,t){if(t&&(Fh(t)==="object"||typeof t==="function"))return t;return C(e)}function Uh(e){Uh=Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)};return Uh(e)}function C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qh(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)Wh(e,t)}function Wh(e,t){Wh=Object.setPrototypeOf||function e(t,n){t.__proto__=n;return t};return Wh(e,t)}function E(e,t,n){if(t in e)Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true});else e[t]=n;return e}var qh=function(e){Qh(u,e);function u(e,t,n,r,i,o){var a;Vh(this,u);a=Gh(this,Uh(u).call(this,i));E(C(a),"type",void 0);E(C(a),"originalEvent",void 0);E(C(a),"pointerId",void 0);E(C(a),"pointerType",void 0);E(C(a),"double",void 0);E(C(a),"pageX",void 0);E(C(a),"pageY",void 0);E(C(a),"clientX",void 0);E(C(a),"clientY",void 0);E(C(a),"dt",void 0);E(C(a),"eventable",void 0);Bh.pointerExtend(C(a),n);if(n!==t)Bh.pointerExtend(C(a),t);a.timeStamp=o;a.originalEvent=n;a.type=e;a.pointerId=Bh.getPointerId(t);a.pointerType=Bh.getPointerType(t);a.target=r;a.currentTarget=null;if(e==="tap"){var s=i.getPointerIndex(t);a.dt=a.timeStamp-i.pointers[s].downTime;var l=a.timeStamp-i.tapTime;a["double"]=!!(i.prevTap&&i.prevTap.type!=="doubletap"&&i.prevTap.target===a.target&&l<500)}else if(e==="doubletap")a.dt=t.timeStamp-i.tapTime;return a}Yh(u,[{key:"_subtractOrigin",value:function e(t){var n=t.x,r=t.y;this.pageX-=n;this.pageY-=r;this.clientX-=n;this.clientY-=r;return this}},{key:"_addOrigin",value:function e(t){var n=t.x,r=t.y;this.pageX+=n;this.pageY+=r;this.clientX+=n;this.clientY+=r;return this}},{key:"preventDefault",value:function e(){this.originalEvent.preventDefault()}}]);return u}(Dh["default"]),Kh=(jh.PointerEvent=jh["default"]=qh,{});function Xh(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Xh=function e(t){return typeof t};else Xh=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Xh(e)}"use strict",Object.defineProperty(Kh,"__esModule",{value:true}),Kh["default"]=void 0;var Jh=rd(z),$h=rd(V({})),Zh=nd(N),ed=rd(jh);function td(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;td=function e(){return t};return t}function nd(e){if(e&&e.__esModule)return e;if(e===null||Xh(e)!=="object"&&typeof e!=="function")return{default:e};var t=td();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function rd(e){return e&&e.__esModule?e:{default:e}}var id,od={id:"pointer-events/base",install:pd,listeners:{"interactions:new":ld,"interactions:update-pointer":ud,"interactions:move":fd,"interactions:down":function e(t,n){hd(t,n);ad(t,n)},"interactions:up":function e(t,n){cd(t);ad(t,n);dd(t,n)},"interactions:cancel":function e(t,n){cd(t);ad(t,n)}},PointerEvent:ed["default"],fire:ad,collectEventTargets:sd,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:true,move:true,up:true,cancel:true,tap:true,doubletap:true,hold:true}};function ad(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget,a=e.type,s=e.targets,l=s===void 0?sd(e,t):s;var u=new ed["default"](a,r,i,o,n,t.now());t.fire("pointerEvents:new",{pointerEvent:u});var c={interaction:n,pointer:r,event:i,eventTarget:o,targets:l,type:a,pointerEvent:u};for(var f=0;f<l.length;f++){var h=l[f];for(var d in h.props||{})u[d]=h.props[d];var p=Zh.getOriginXY(h.eventable,h.node);u._subtractOrigin(p);u.eventable=h.eventable;u.currentTarget=h.node;h.eventable.fire(u);u._addOrigin(p);if(u.immediatePropagationStopped||u.propagationStopped&&f+1<l.length&&l[f+1].node!==u.currentTarget)break}t.fire("pointerEvents:fired",c);if(a==="tap"){var y=u["double"]?ad({interaction:n,pointer:r,event:i,eventTarget:o,type:"doubletap"},t):u;n.prevTap=y;n.tapTime=y.timeStamp}return u}function sd(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget,a=e.type;var s=n.getPointerIndex(r);var l=n.pointers[s];if(a==="tap"&&(n.pointerWasMoved||!(l&&l.downTarget===o)))return[];var u=Zh.dom.getPath(o);var c={interaction:n,pointer:r,event:i,eventTarget:o,type:a,path:u,targets:[],node:null};for(var f=0;f<u.length;f++){var h;h=u[f];var d=h;c.node=d;t.fire("pointerEvents:collect-targets",c)}if(a==="hold")c.targets=c.targets.filter(function(e){return e.eventable.options.holdDuration===n.pointers[s].hold.duration});return c.targets}function ld(e){var t=e.interaction;t.prevTap=null;t.tapTime=0}function ud(e){var t=e.down,n=e.pointerInfo;if(!t&&n.hold)return;n.hold={duration:Infinity,timeout:null}}function cd(e){var t=e.interaction,n=e.pointerIndex;if(t.pointers[n].hold)clearTimeout(t.pointers[n].hold.timeout)}function fd(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget,a=e.duplicate;var s=n.getPointerIndex(r);if(!a&&(!n.pointerIsDown||n.pointerWasMoved)){if(n.pointerIsDown)clearTimeout(n.pointers[s].hold.timeout);ad({interaction:n,pointer:r,event:i,eventTarget:o,type:"move"},t)}}function hd(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget,a=e.pointerIndex;var s=n.pointers[a].hold;var l=Zh.dom.getPath(o);var u={interaction:n,pointer:r,event:i,eventTarget:o,type:"hold",targets:[],path:l,node:null};for(var c=0;c<l.length;c++){var f;f=l[c];var h=f;u.node=h;t.fire("pointerEvents:collect-targets",u)}if(!u.targets.length)return;var d=Infinity;for(var p=0;p<u.targets.length;p++){var y;y=u.targets[p];var m=y;var g=m.eventable.options.holdDuration;if(g<d)d=g}s.duration=d;s.timeout=setTimeout(function(){ad({interaction:n,eventTarget:o,pointer:r,event:i,type:"hold"},t)},d)}function dd(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget;if(!n.pointerWasMoved)ad({interaction:n,eventTarget:o,pointer:r,event:i,type:"tap"},t)}function pd(e){e.pointerEvents=od;e.defaults.actions.pointerEvents=od.defaults;Zh.extend(e.actions.phaselessTypes,od.types)}var yd,md=(Kh["default"]=od,{}),gd=("use strict",Object.defineProperty(md,"__esModule",{value:true}),md["default"]=void 0,bd(jh)),vd=bd(Kh);function bd(e){return e&&e.__esModule?e:{default:e}}function _d(e){e.usePlugin(vd["default"]);var t=e.pointerEvents;t.defaults.holdRepeatInterval=0;t.types.holdrepeat=e.actions.phaselessTypes.holdrepeat=true}function xd(e){var t=e.pointerEvent;if(t.type!=="hold")return;t.count=(t.count||0)+1}function wd(e,t){var n=e.interaction,r=e.pointerEvent,i=e.eventTarget,o=e.targets;if(r.type!=="hold"||!o.length)return;var a=o[0].eventable.options.holdRepeatInterval;if(a<=0)return;n.holdIntervalHandle=setTimeout(function(){t.pointerEvents.fire({interaction:n,eventTarget:i,type:"hold",pointer:r,event:r},t)},a)}function Ad(e){var t=e.interaction;if(t.holdIntervalHandle){clearInterval(t.holdIntervalHandle);t.holdIntervalHandle=null}}var Sd={id:"pointer-events/holdRepeat",install:_d,listeners:["move","up","cancel","endall"].reduce(function(e,t){e["pointerEvents:".concat(t)]=Ad;return e},{"pointerEvents:new":xd,"pointerEvents:fired":wd})},Cd,Od=(md["default"]=Sd,{}),Ed=("use strict",Object.defineProperty(Od,"__esModule",{value:true}),Od["default"]=void 0,Md(S));function Md(e){return e&&e.__esModule?e:{default:e}}function Pd(e){var t=e.Interactable;t.prototype.pointerEvents=kd;var r=t.prototype._backCompatOption;t.prototype._backCompatOption=function(e,t){var n=r.call(this,e,t);if(n===this)this.events.options[e]=t;return n}}function kd(e){(0,Ed["default"])(this.events.options,e);return this}var Td,Id,Ld={};function jd(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")jd=function e(t){return typeof t};else jd=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return jd(e)}Od["default"]={id:"pointer-events/interactableTargets",install:Pd,listeners:{"pointerEvents:collect-targets":function e(t,n){var r=t.targets,i=t.node,o=t.type,a=t.eventTarget;n.interactables.forEachMatch(i,function(e){var t=e.events;var n=t.options;if(t.types[o]&&t.types[o].length&&e.testIgnoreAllow(n,i,a))r.push({node:i,eventable:t,props:{interactable:e}})})},"interactable:new":function e(t){var n=t.interactable;n.events.getRect=function(e){return n.getRect(e)}},"interactable:set":function e(t,n){var r=t.interactable,i=t.options;(0,Ed["default"])(r.events.options,n.pointerEvents.defaults);(0,Ed["default"])(r.events.options,i.pointerEvents||{})}}},Object.defineProperty(Ld,"__esModule",{value:true}),Object.defineProperty(Ld,"holdRepeat",{enumerable:true,get:function e(){return Bd["default"]}}),Object.defineProperty(Ld,"interactableTargets",{enumerable:true,get:function e(){return Rd["default"]}}),Ld.pointerEvents=Ld["default"]=void 0;var Dd=Fd(Kh),Bd=(Ld.pointerEvents=Dd,Nd(md)),Rd=Nd(Od);function Nd(e){return e&&e.__esModule?e:{default:e}}function zd(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;zd=function e(){return t};return t}function Fd(e){if(e&&e.__esModule)return e;if(e===null||jd(e)!=="object"&&typeof e!=="function")return{default:e};var t=zd();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}var Vd,Hd={},Yd=(Ld["default"]={id:"pointer-events",install:function e(t){t.usePlugin(Dd);t.usePlugin(Bd["default"]);t.usePlugin(Rd["default"])}},Object.defineProperty(Hd,"__esModule",{value:true}),Hd.install=Ud,Hd["default"]=void 0,Gd(F({})));function Gd(e){return e&&e.__esModule?e:{default:e}}function Ud(t){var e=t.Interactable;t.actions.phases.reflow=true;e.prototype.reflow=function(e){return Qd(this,e,t)}}function Qd(l,u,c){var f=N.is.string(l.target)?N.arr.from(l._context.querySelectorAll(l.target)):[l.target];var h=N.win.window.Promise;var d=h?[]:null;var e=function e(){y=f[p];var t=y;var n=l.getRect(t);if(!n)return"break";var r=N.arr.find(c.interactions.list,function(e){return e.interacting()&&e.interactable===l&&e.element===t&&e.prepared.name===u.name});var i=void 0;if(r){r.move();if(d)i=r._reflowPromise||new h(function(e){r._reflowResolve=e})}else{var o=N.rect.tlbrToXywh(n);var a={page:{x:o.x,y:o.y},client:{x:o.x,y:o.y},timeStamp:c.now()};var s=N.pointer.coordsToEvent(a);i=Wd(c,l,t,u,s)}if(d)d.push(i)};for(var p=0;p<f.length;p++){var y;var t=e();if(t==="break")break}return d&&h.all(d).then(function(){return l})}function Wd(e,t,n,r,i){var o=e.interactions["new"]({pointerType:"reflow"});var a={interaction:o,event:i,pointer:i,eventTarget:n,phase:"reflow"};o.interactable=t;o.element=n;o.prepared=(0,N.extend)({},r);o.prevEvent=i;o.updatePointer(i,i,n,true);o._doPhase(a);var s=N.win.window.Promise?new N.win.window.Promise(function(e){o._reflowResolve=e}):null;o._reflowPromise=s;o.start(r,t,n);if(o._interacting){o.move(a);o.end(i)}else o.stop();o.removePointer(i,i);o.pointerIsDown=false;return s}var qd,Kd={},Xd=(Hd["default"]={id:"reflow",install:Ud,listeners:{"interactions:stop":function e(t,n){var r=t.interaction;if(r.pointerType==="reflow"){if(r._reflowResolve)r._reflowResolve();N.arr.remove(n.interactions.list,r)}}}},Object.defineProperty(Kd,"__esModule",{value:true}),Kd["default"]=void 0,{}),Jd=(Kd["default"]=Xd,{}),$d=("use strict",Object.defineProperty(Jd,"__esModule",{value:true}),Jd.exchange=void 0,{}),Zd=(Jd.exchange=$d,{}),ep=("use strict",Object.defineProperty(Zd,"__esModule",{value:true}),Zd["default"]=void 0,{}),tp=(Zd["default"]=ep,{});function np(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")np=function e(t){return typeof t};else np=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return np(e)}"use strict",Object.defineProperty(tp,"__esModule",{value:true}),tp["default"]=void 0,G;var rp=M(Sa),ip=M(Ta),op=M(La),ap=M(Hs),sp=M(qs),lp=M(Xs),up=M(qi),cp=M($s),fp=wp(Al),hp=M(hu),s=M(Nu),dp=M(Ch),pp=M(Ih),yp=M(Jl),mp=M(Ld),gp=M(Hd),vp=wp(Kd),bp=wp(B),_p=wp(Zd);function xp(){if(typeof WeakMap!=="function")return null;var t=new WeakMap;xp=function e(){return t};return t}function wp(e){if(e&&e.__esModule)return e;if(e===null||np(e)!=="object"&&typeof e!=="function")return{default:e};var t=xp();if(t&&t.has(e))return t.get(e);var n={};var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set))Object.defineProperty(n,i,o);else n[i]=e[i]}n["default"]=e;if(t)t.set(e,n);return n}function M(e){return e&&e.__esModule?e:{default:e}}if(s["default"].use(pp["default"]),s["default"].use(up["default"]),s["default"].use(yp["default"]),s["default"].use(sp["default"]),s["default"].use(ip["default"]),s["default"].use(mp["default"]),s["default"].use(hp["default"]),s["default"].use(dp["default"]),s["default"].use(ap["default"]),s["default"].use(rp["default"]),s["default"].use(op["default"]),s["default"].use(gp["default"]),s["default"].feedback=fp,s["default"].use(lp["default"]),s["default"].vue={components:_p},s["default"].__utils={exchange:Jd.exchange,displace:vp,pointer:bp},false);var Ap=s["default"],Sp=(tp["default"]=Ap,{exports:{}}),Cp=("use strict",Object.defineProperty(Sp.exports,"__esModule",{value:true}),Sp.exports["default"]=void 0,Op(tp));function Op(e){return e&&e.__esModule?e:{default:e}}function Ep(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Ep=function e(t){return typeof t};else Ep=function e(t){return t&&typeof Symbol==="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return Ep(e)}if((false?undefined:Ep(Sp))==="object"&&!!Sp)try{Sp.exports=Cp["default"]}catch(e){}Cp["default"]["default"]=Cp["default"];var Mp=Cp["default"];return Sp.exports["default"]=Mp,Sp=Sp.exports}()},UCFi:function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols},UDhR:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="pagi")return e;else if(t==="siang")return e>=11?e:e+12;else if(t==="sore"||t==="malam")return e+12},meridiem:function(e,t,n){if(e<11)return"pagi";else if(e<15)return"siang";else if(e<19)return"sore";else return"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},"UJ+e":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=r(n("i7/w")),a=n("YKMj"),s=r(n("w4Wy")),r=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},n=function(t){function e(){var e=t.apply(this,arguments)||this;return e.features=null,e.restService=null,e}(0,i.default)(e,t);var n=e.prototype;return n.onUrlChange=function(e){e&&this.getData()},n.onFieldChange=function(){this.url&&this.setValue(this.features)},n.onProxyChange=function(){this.restService&&this.restService.setProxy(this.proxy),this.url&&this.getData()},n.getData=function(){this.restService||(this.restService=new s.default({proxy:this.proxy}),this.restService.on({getdatasucceeded:this.fetchData})),this.restService.getData(this.url)},n.fetchData=function(e){e=e.features;this.features=e,this.setValue(e)},n.setValue=function(e){var t;e&&e.length&&(t=this.field,this.finalValue=e[0].properties[t])},e}(o.default);r([(0,a.Prop)({default:""})],n.prototype,"url",void 0),r([(0,a.Prop)({default:""})],n.prototype,"field",void 0),r([(0,a.Prop)({default:""})],n.prototype,"proxy",void 0),r([(0,a.Watch)("url",{immediate:!0})],n.prototype,"onUrlChange",null),r([(0,a.Watch)("field")],n.prototype,"onFieldChange",null),r([(0,a.Watch)("proxy")],n.prototype,"onProxyChange",null),n=r([a.Component],n);t.default=n},"UJE+":function(e,t,n){"use strict";n.r(t),n.d(t,"PaginationProps",function(){return x}),n.d(t,"PaginationConfig",function(){return w});var r=n("jo6Y"),u=n.n(r),r=n("QbLZ"),c=n.n(r),i=n("TZE5"),f=n("mDm7"),h=n("2qPA"),d={props:c()({},f.SelectProps),Option:f.default.Option,render:function(){var e=arguments[0],t=Object(h.getOptionProps)(this),t={props:c()({},t,{size:"small"}),on:Object(h.getListeners)(this)};return e(f.default,t,[Object(h.filterEmpty)(this.$slots.default)])}},o=n("5c0L"),r=n("YEIV"),A=n.n(r),r=n("kvrn"),S=n.n(r),r=n("m1cH"),a=n.n(r),r=n("tIgm"),s=n("TSYQ"),l=n.n(s),C={name:"Pager",props:{rootPrefixCls:i.a.string,page:i.a.number,active:i.a.bool,last:i.a.bool,locale:i.a.object,showTitle:i.a.bool,itemRender:{type:Function,default:function(){}}},methods:{handleClick:function(){this.$emit("click",this.page)},handleKeyPress:function(e){this.$emit("keypress",e,this.handleClick,this.page)}},render:function(){var e,t=arguments[0],n=this.$props,r=n.rootPrefixCls+"-item";return t("li",{class:l()(r,r+"-"+n.page,(e={},A()(e,r+"-active",n.active),A()(e,r+"-disabled",!n.page),e)),on:{click:this.handleClick,keypress:this.handleKeyPress},attrs:{title:this.showTitle?this.page:null,tabIndex:"0"}},[this.itemRender(this.page,"page",t("a",[this.page]))])}},p=13,y=38,m=40,O={mixins:[r.a],props:{disabled:i.a.bool,changeSize:i.a.func,quickGo:i.a.func,selectComponentClass:i.a.any,current:i.a.number,pageSizeOptions:i.a.array.def(["10","20","30","40"]),pageSize:i.a.number,buildOptionText:i.a.func,locale:i.a.object,rootPrefixCls:i.a.string,selectPrefixCls:i.a.string,goButton:i.a.any},data:function(){return{goInputText:""}},methods:{getValidValue:function(){var e=this.goInputText,t=this.current;return!e||isNaN(e)?t:Number(e)},defaultBuildOptionText:function(e){return e.value+" "+this.locale.items_per_page},handleChange:function(e){var t=e.target,n=t.value,t=t.composing;e.isComposing||t||this.goInputText===n||this.setState({goInputText:n})},handleBlur:function(e){var t=this.$props,n=t.goButton,r=t.quickGo,t=t.rootPrefixCls;n||e.relatedTarget&&(0<=e.relatedTarget.className.indexOf(t+"-prev")||0<=e.relatedTarget.className.indexOf(t+"-next"))||r(this.getValidValue())},go:function(e){""===this.goInputText||e.keyCode!==p&&"click"!==e.type||(this.quickGo(this.getValidValue()),this.setState({goInputText:""}))}},render:function(){var n,t=this,r=arguments[0],e=this.rootPrefixCls,i=this.locale,o=this.changeSize,a=this.quickGo,s=this.goButton,l=this.selectComponentClass,u=this.defaultBuildOptionText,c=this.selectPrefixCls,f=this.pageSize,h=this.pageSizeOptions,d=this.goInputText,p=this.disabled,e=e+"-options",y=null,m=null,g=null;return o||a?(o&&l&&(n=this.buildOptionText||u,o=h.map(function(e,t){return r(l.Option,{key:t,attrs:{value:e}},[n({value:e})])}),y=r(l,{attrs:{disabled:p,prefixCls:c,showSearch:!1,optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(f||h[0]).toString(),getPopupContainer:function(e){return e.parentNode}},class:e+"-size-changer",on:{change:function(e){return t.changeSize(Number(e))}}},[o])),a&&(s&&(g="boolean"==typeof s?r("button",{attrs:{type:"button",disabled:p},on:{click:this.go,keyup:this.go}},[i.jump_to_confirm]):r("span",{on:{click:this.go,keyup:this.go}},[s])),m=r("div",{class:e+"-quick-jumper"},[i.jump_to,r("input",S()([{attrs:{disabled:p,type:"text"},domProps:{value:d},on:{input:this.handleChange,keyup:this.go,blur:this.handleBlur}},{directives:[{name:"ant-input"}]}])),i.page,g])),r("li",{class:e},[y,m])):null}},s=n("NXk5");function E(e,t,n){var r=e;return void 0===e&&(r=t.statePageSize),Math.floor((n.total-1)/r)+1}var g={name:"Pagination",mixins:[r.a],model:{prop:"current",event:"change.current"},props:{disabled:i.a.bool,prefixCls:i.a.string.def("rc-pagination"),selectPrefixCls:i.a.string.def("rc-select"),current:i.a.number,defaultCurrent:i.a.number.def(1),total:i.a.number.def(0),pageSize:i.a.number,defaultPageSize:i.a.number.def(10),hideOnSinglePage:i.a.bool.def(!1),showSizeChanger:i.a.bool.def(!1),showLessItems:i.a.bool.def(!1),selectComponentClass:i.a.any,showPrevNextJumpers:i.a.bool.def(!0),showQuickJumper:i.a.oneOfType([i.a.bool,i.a.object]).def(!1),showTitle:i.a.bool.def(!0),pageSizeOptions:i.a.arrayOf(i.a.string),buildOptionText:i.a.func,showTotal:i.a.func,simple:i.a.bool,locale:i.a.object.def(s.a),itemRender:i.a.func.def(function(e,t,n){return n}),prevIcon:i.a.any,nextIcon:i.a.any,jumpPrevIcon:i.a.any,jumpNextIcon:i.a.any},data:function(){var e=Object(h.getOptionProps)(this),t=this.onChange!==function(){},t=("current"in e&&!t&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component."),this.defaultCurrent),n=("current"in e&&(t=this.current),this.defaultPageSize);return"pageSize"in e&&(n=this.pageSize),{stateCurrent:t=Math.min(t,E(n,void 0,e)),stateCurrentInputValue:t,statePageSize:n}},watch:{current:function(e){this.setState({stateCurrent:e,stateCurrentInputValue:e})},pageSize:function(e){var t={},n=this.stateCurrent,r=E(e,this.$data,this.$props),n=r<n?r:n;Object(h.hasProp)(this,"current")||(t.stateCurrent=n,t.stateCurrentInputValue=n),t.statePageSize=e,this.setState(t)},stateCurrent:function(e,t){var n=this;this.$nextTick(function(){var e;n.$refs.paginationNode&&(e=n.$refs.paginationNode.querySelector("."+n.prefixCls+"-item-"+t))&&document.activeElement===e&&e.blur()})},total:function(){var e,t={},n=E(this.pageSize,this.$data,this.$props);Object(h.hasProp)(this,"current")?(e=Math.min(this.current,n),t.stateCurrent=e,t.stateCurrentInputValue=e):(e=0===(e=this.stateCurrent)&&0<n?1:Math.min(this.stateCurrent,n),t.stateCurrent=e),this.setState(t)}},methods:{getJumpPrevPage:function(){return Math.max(1,this.stateCurrent-(this.showLessItems?3:5))},getJumpNextPage:function(){return Math.min(E(void 0,this.$data,this.$props),this.stateCurrent+(this.showLessItems?3:5))},getItemIcon:function(e){var t=this.$createElement,n=this.$props.prefixCls;return Object(h.getComponentFromProp)(this,e,this.$props)||t("a",{class:n+"-item-link"})},getValidValue:function(e){var e=e.target.value,t=E(void 0,this.$data,this.$props),n=this.$data.stateCurrentInputValue;return""===e?e:isNaN(Number(e))?n:t<=e?t:Number(e)},isValid:function(e){return"number"==typeof(t=e)&&isFinite(t)&&Math.floor(t)===t&&e!==this.stateCurrent;var t},shouldDisplayQuickJumper:function(){var e=this.$props,t=e.showQuickJumper,n=e.pageSize;return!(e.total<=n)&&t},handleKeyDown:function(e){e.keyCode!==y&&e.keyCode!==m||e.preventDefault()},handleKeyUp:function(e){var t;e.isComposing||e.target.composing||((t=this.getValidValue(e))!==this.stateCurrentInputValue&&this.setState({stateCurrentInputValue:t}),e.keyCode===p?this.handleChange(t):e.keyCode===y?this.handleChange(t-1):e.keyCode===m&&this.handleChange(t+1))},changePageSize:function(e){var t=r=this.stateCurrent,n=E(e,this.$data,this.$props),r=n<r?n:r;0===n&&(r=this.stateCurrent),"number"==typeof e&&(Object(h.hasProp)(this,"pageSize")||this.setState({statePageSize:e}),Object(h.hasProp)(this,"current")||this.setState({stateCurrent:r,stateCurrentInputValue:r})),this.$emit("update:pageSize",e),this.$emit("showSizeChange",r,e),r!==t&&this.$emit("change.current",r,e)},handleChange:function(e){var t=this.$props.disabled;return this.isValid(e)&&!t?((t=E(void 0,this.$data,this.$props))<e?e=t:e<1&&(e=1),Object(h.hasProp)(this,"current")||this.setState({stateCurrent:e,stateCurrentInputValue:e}),this.$emit("change.current",e,this.statePageSize),this.$emit("change",e,this.statePageSize),e):this.stateCurrent},prev:function(){this.hasPrev()&&this.handleChange(this.stateCurrent-1)},next:function(){this.hasNext()&&this.handleChange(this.stateCurrent+1)},jumpPrev:function(){this.handleChange(this.getJumpPrevPage())},jumpNext:function(){this.handleChange(this.getJumpNextPage())},hasPrev:function(){return 1<this.stateCurrent},hasNext:function(){return this.stateCurrent<E(void 0,this.$data,this.$props)},runIfEnter:function(e,t){if("Enter"===e.key||13===e.charCode){for(var n=arguments.length,r=Array(2<n?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];t.apply(void 0,a()(r))}},runIfEnterPrev:function(e){this.runIfEnter(e,this.prev)},runIfEnterNext:function(e){this.runIfEnter(e,this.next)},runIfEnterJumpPrev:function(e){this.runIfEnter(e,this.jumpPrev)},runIfEnterJumpNext:function(e){this.runIfEnter(e,this.jumpNext)},handleGoTO:function(e){e.keyCode!==p&&"click"!==e.type||this.handleChange(this.stateCurrentInputValue)}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,t=t.disabled;if(!0===this.hideOnSinglePage&&this.total<=this.statePageSize)return null;var r=this.$props,i=this.locale,o=E(void 0,this.$data,this.$props),a=[],s=null,l=null,u=null,c=this.showQuickJumper&&this.showQuickJumper.goButton,f=this.showLessItems?1:2,h=this.stateCurrent,d=this.statePageSize,p=0<h-1?h-1:0,y=h+1<o?h+1:o;if(this.simple)return c&&(u="boolean"==typeof c?e("button",{attrs:{type:"button"},on:{click:this.handleGoTO,keyup:this.handleGoTO}},[i.jump_to_confirm]):e("span",{on:{click:this.handleGoTO,keyup:this.handleGoTO}},[c]),u=e("li",{attrs:{title:this.showTitle?""+i.jump_to+this.stateCurrent+"/"+o:null},class:n+"-simple-pager"},[u])),b=this.hasPrev(),_=this.hasNext(),e("ul",{class:n+" "+n+"-simple"},[e("li",{attrs:{title:this.showTitle?i.prev_page:null,tabIndex:b?0:null,"aria-disabled":!this.hasPrev()},on:{click:this.prev,keypress:this.runIfEnterPrev},class:(b?"":n+"-disabled")+" "+n+"-prev"},[this.itemRender(p,"prev",this.getItemIcon("prevIcon"))]),e("li",{attrs:{title:this.showTitle?h+"/"+o:null},class:n+"-simple-pager"},[e("input",S()([{attrs:{type:"text",size:"3"},domProps:{value:this.stateCurrentInputValue},on:{keydown:this.handleKeyDown,keyup:this.handleKeyUp,input:this.handleKeyUp}},{directives:[{name:"ant-input"}]}])),e("span",{class:n+"-slash"},["/"]),o]),e("li",{attrs:{title:this.showTitle?i.next_page:null,tabIndex:this.hasNext?0:null,"aria-disabled":!this.hasNext()},on:{click:this.next,keypress:this.runIfEnterNext},class:(_?"":n+"-disabled")+" "+n+"-next"},[this.itemRender(y,"next",this.getItemIcon("nextIcon"))]),u]);if(o<=5+2*f){var m={props:{locale:i,rootPrefixCls:n,showTitle:r.showTitle,itemRender:r.itemRender},on:{click:this.handleChange,keypress:this.runIfEnter}};o||a.push(e(C,S()([m,{key:"noPager",attrs:{page:o},class:n+"-disabled"}])));for(var g=1;g<=o;g++){var v=h===g;a.push(e(C,S()([m,{key:g,attrs:{page:g,active:v}}])))}}else{var b=this.showLessItems?i.prev_3:i.prev_5,_=this.showLessItems?i.next_3:i.next_5,_=(this.showPrevNextJumpers&&(u=n+"-jump-prev",r.jumpPrevIcon&&(u+=" "+n+"-jump-prev-custom-icon"),s=e("li",{attrs:{title:this.showTitle?b:null,tabIndex:"0"},key:"prev",on:{click:this.jumpPrev,keypress:this.runIfEnterJumpPrev},class:u},[this.itemRender(this.getJumpPrevPage(),"jump-prev",this.getItemIcon("jumpPrevIcon"))]),b=n+"-jump-next",r.jumpNextIcon&&(b+=" "+n+"-jump-next-custom-icon"),l=e("li",{attrs:{title:this.showTitle?_:null,tabIndex:"0"},key:"next",on:{click:this.jumpNext,keypress:this.runIfEnterJumpNext},class:b},[this.itemRender(this.getJumpNextPage(),"jump-next",this.getItemIcon("jumpNextIcon"))])),u=e(C,{attrs:{locale:i,last:!0,rootPrefixCls:n,page:o,active:!1,showTitle:this.showTitle,itemRender:this.itemRender},on:{click:this.handleChange,keypress:this.runIfEnter},key:o}),r=e(C,{attrs:{locale:i,rootPrefixCls:n,page:1,active:!1,showTitle:this.showTitle,itemRender:this.itemRender},on:{click:this.handleChange,keypress:this.runIfEnter},key:1}),Math.max(1,h-f)),x=Math.min(h+f,o);h-1<=f&&(x=1+2*f);for(var w=_=o-h<=f?o-2*f:_;w<=x;w++)a.push(e(C,{attrs:{locale:i,rootPrefixCls:n,page:w,active:h===w,showTitle:this.showTitle,itemRender:this.itemRender},on:{click:this.handleChange,keypress:this.runIfEnter},key:w}));2*f<=h-1&&3!==h&&(a[0]=e(C,{attrs:{locale:i,rootPrefixCls:n,page:_,active:!1,showTitle:this.showTitle,itemRender:this.itemRender},on:{click:this.handleChange,keypress:this.runIfEnter},key:_,class:n+"-item-after-jump-prev"}),a.unshift(s)),2*f<=o-h&&h!==o-2&&(a[a.length-1]=e(C,{attrs:{locale:i,rootPrefixCls:n,page:x,active:!1,showTitle:this.showTitle,itemRender:this.itemRender},on:{click:this.handleChange,keypress:this.runIfEnter},key:x,class:n+"-item-before-jump-next"}),a.push(l)),1!==_&&a.unshift(r),x!==o&&a.push(u)}b=null,this.showTotal&&(b=e("li",{class:n+"-total-text"},[this.showTotal(this.total,[0===this.total?0:(h-1)*d+1,h*d>this.total?this.total:h*d])])),s=!this.hasPrev()||!o,f=!this.hasNext()||!o,l=this.buildOptionText||this.$scopedSlots.buildOptionText;return e("ul",{class:(_={},A()(_,""+n,!0),A()(_,n+"-disabled",t),_),attrs:{unselectable:"unselectable"},ref:"paginationNode"},[b,e("li",{attrs:{title:this.showTitle?i.prev_page:null,tabIndex:s?null:0,"aria-disabled":s},on:{click:this.prev,keypress:this.runIfEnterPrev},class:(s?n+"-disabled":"")+" "+n+"-prev"},[this.itemRender(p,"prev",this.getItemIcon("prevIcon"))]),a,e("li",{attrs:{title:this.showTitle?i.next_page:null,tabIndex:f?null:0,"aria-disabled":f},on:{click:this.next,keypress:this.runIfEnterNext},class:(f?n+"-disabled":"")+" "+n+"-next"},[this.itemRender(y,"next",this.getItemIcon("nextIcon"))]),e(O,{attrs:{disabled:t,locale:i,rootPrefixCls:n,selectComponentClass:this.selectComponentClass,selectPrefixCls:this.selectPrefixCls,changeSize:this.showSizeChanger?this.changePageSize:null,current:h,pageSize:d,pageSizeOptions:this.pageSizeOptions,buildOptionText:l||null,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:c}})])}},v=n("Levi"),b=n("DGO/"),_=n("TfX5"),x=function(){return{total:i.a.number,defaultCurrent:i.a.number,disabled:i.a.bool,current:i.a.number,defaultPageSize:i.a.number,pageSize:i.a.number,hideOnSinglePage:i.a.bool,showSizeChanger:i.a.bool,pageSizeOptions:i.a.arrayOf(i.a.oneOfType([i.a.number,i.a.string])),buildOptionText:i.a.func,showSizeChange:i.a.func,showQuickJumper:i.a.oneOfType([i.a.bool,i.a.object]),showTotal:i.a.any,size:i.a.string,simple:i.a.bool,locale:i.a.object,prefixCls:i.a.string,selectPrefixCls:i.a.string,itemRender:i.a.any,role:i.a.string,showLessItems:i.a.bool}},w=function(){return c()({},x(),{position:i.a.oneOf(["top","bottom","both"])})};t.default={name:"APagination",model:{prop:"current",event:"change.current"},props:c()({},x()),inject:{configProvider:{default:function(){return _.a}}},methods:{getIconsProps:function(e){var t=this.$createElement;return{prevIcon:t("a",{class:e+"-item-link"},[t(b.default,{attrs:{type:"left"}})]),nextIcon:t("a",{class:e+"-item-link"},[t(b.default,{attrs:{type:"right"}})]),jumpPrevIcon:t("a",{class:e+"-item-link"},[t("div",{class:e+"-item-container"},[t(b.default,{class:e+"-item-link-icon",attrs:{type:"double-left"}}),t("span",{class:e+"-item-ellipsis"},["•••"])])]),jumpNextIcon:t("a",{class:e+"-item-link"},[t("div",{class:e+"-item-container"},[t(b.default,{class:e+"-item-link-icon",attrs:{type:"double-right"}}),t("span",{class:e+"-item-ellipsis"},["•••"])])])}},renderPagination:function(e){var t=this.$createElement,n=Object(h.getOptionProps)(this),r=n.prefixCls,i=n.selectPrefixCls,o=n.buildOptionText,a=n.size,s=n.locale,n=u()(n,["prefixCls","selectPrefixCls","buildOptionText","size","locale"]),l=this.configProvider.getPrefixCls,r=l("pagination",r),l=l("select",i),i="small"===a,a={props:c()({prefixCls:r,selectPrefixCls:l},n,this.getIconsProps(r),{selectComponentClass:i?d:f.default,locale:c()({},e,s),buildOptionText:o||this.$scopedSlots.buildOptionText}),class:{mini:i},on:Object(h.getListeners)(this)};return t(g,a)}},render:function(){return(0,arguments[0])(o.a,{attrs:{componentName:"Pagination",defaultLocale:v.a},scopedSlots:{default:this.renderPagination}})}}},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UO39:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},UQ6y:function(e,t,n){"use strict";var r,i,o,a,s=n("NK/Q"),l=n("Ks5W"),u=n("SwuV"),c=n("8ODz"),f=n("YELS"),h=n("4gdG"),d=n("ST+I"),n=n("SkNP"),p="Object already initialized",y=l.TypeError,l=l.WeakMap,m=s||h.state?((o=h.state||(h.state=new l)).get=o.get,o.has=o.has,o.set=o.set,r=function(e,t){if(o.has(e))throw y(p);return t.facade=e,o.set(e,t),t},i=function(e){return o.get(e)||{}},function(e){return o.has(e)}):(n[a=d("state")]=!0,r=function(e,t){if(f(e,a))throw y(p);return t.facade=e,c(e,a,t),t},i=function(e){return f(e,a)?e[a]:{}},function(e){return f(e,a)});e.exports={set:r,get:i,has:m,enforce:function(e){return m(e)?i(e):r(e,{})},getterFor:function(t){return function(e){if(u(e)&&(e=i(e)).type===t)return e;throw y("Incompatible receiver, "+t+" required")}}}},USCx:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t,n,r,i,o,a;e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:true,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=e===1?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}})}(n("wd/R"))},UWiX:function(e,t,n){var r=n("29s/")("wks"),i=n("YqAc"),o=n("5T2Y").Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},UaIL:function(e,t,n){e.exports=n("CsPn").PassThrough},UbbE:function(e,t,n){n("o8NH"),e.exports=n("WEpk").Object.assign},Uo1l:function(e,t,n){"use strict";n.d(t,"b",function(){return d});var r=n("kvrn"),s=n.n(r),r=n("YEIV"),l=n.n(r),r=n("QbLZ"),u=n.n(r),r=n("TZE5"),i=n("GKdC"),o=n("tIgm"),a=n("7ERv"),c=n("6Qq3"),f=n("K4mi"),h=n("2qPA"),d={attribute:r.a.object,rootPrefixCls:r.a.string,eventKey:r.a.oneOfType([r.a.string,r.a.number]),active:r.a.bool,selectedKeys:r.a.array,disabled:r.a.bool,title:r.a.any,index:r.a.number,inlineIndent:r.a.number.def(24),level:r.a.number.def(1),mode:r.a.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]).def("vertical"),parentMenu:r.a.object,multiple:r.a.bool,value:r.a.any,isSelected:r.a.bool,manualRef:r.a.func.def(f.h),role:r.a.any,subMenuKey:r.a.string,itemIcon:r.a.any},n={name:"MenuItem",props:d,mixins:[o.a],isMenuItem:!0,created:function(){this.prevActive=this.active,this.callRef()},updated:function(){var r=this;this.$nextTick(function(){var e=r.$props,t=e.active,n=e.parentMenu,e=e.eventKey;r.prevActive||!t||n&&n["scrolled-"+e]?n&&n["scrolled-"+e]&&delete n["scrolled-"+e]:(Object(a.a)(r.$el,r.parentMenu.$el,{onlyScrollIfNeeded:!0}),n["scrolled-"+e]=!0),r.prevActive=t}),this.callRef()},beforeDestroy:function(){var e=this.$props;this.__emit("destroy",e.eventKey)},methods:{onKeyDown:function(e){if(e.keyCode===i.a.ENTER)return this.onClick(e),!0},onMouseLeave:function(e){var t=this.$props.eventKey;this.__emit("itemHover",{key:t,hover:!1}),this.__emit("mouseleave",{key:t,domEvent:e})},onMouseEnter:function(e){var t=this.eventKey;this.__emit("itemHover",{key:t,hover:!0}),this.__emit("mouseenter",{key:t,domEvent:e})},onClick:function(e){var t=this.$props,n=t.eventKey,r=t.multiple,t=t.isSelected,n={key:n,keyPath:[n],item:this,domEvent:e};this.__emit("click",n),r?t?this.__emit("deselect",n):this.__emit("select",n):t||this.__emit("select",n)},getPrefixCls:function(){return this.$props.rootPrefixCls+"-item"},getActiveClassName:function(){return this.getPrefixCls()+"-active"},getSelectedClassName:function(){return this.getPrefixCls()+"-selected"},getDisabledClassName:function(){return this.getPrefixCls()+"-disabled"},callRef:function(){this.manualRef&&this.manualRef(this)}},render:function(){var e,t=arguments[0],n=u()({},this.$props),r=(e={},l()(e,this.getPrefixCls(),!0),l()(e,this.getActiveClassName(),!n.disabled&&n.active),l()(e,this.getSelectedClassName(),n.isSelected),l()(e,this.getDisabledClassName(),n.disabled),u()({},n.attribute,{title:n.title,role:n.role||"menuitem","aria-disabled":n.disabled})),i=("option"===n.role?r=u()({},r,{role:"option","aria-selected":n.isSelected}):null!==n.role&&"none"!==n.role||(r.role="none"),{click:n.disabled?f.h:this.onClick,mouseleave:n.disabled?f.h:this.onMouseLeave,mouseenter:n.disabled?f.h:this.onMouseEnter}),o={},a=("inline"===n.mode&&(o.paddingLeft=n.inlineIndent*n.level+"px"),u()({},Object(h.getListeners)(this))),r=(f.g.props.forEach(function(e){return delete n[e]}),f.g.on.forEach(function(e){return delete a[e]}),{attrs:u()({},n,r),on:u()({},a,i)});return t("li",s()([r,{style:o,class:e}]),[this.$slots.default,Object(h.getComponentFromProp)(this,"itemIcon",n)])}},r=Object(c.a)(function(e,t){var n=e.activeKey,e=e.selectedKeys,r=t.eventKey;return{active:n[t.subMenuKey]===r,isSelected:-1!==e.indexOf(r)}})(n);t.a=r},UpQW:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],r;e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){if(e<12)return"صبح";return"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){if(e<11)return"ekuseni";else if(e<15)return"emini";else if(e<19)return"entsambama";else return"ebusuku"},meridiemHour:function(e,t){if(e===12)e=0;if(t==="ekuseni")return e;else if(t==="emini")return e>=11?e:e+12;else if(t==="entsambama"||t==="ebusuku"){if(e===0)return 0;return e+12}},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},Us3d:function(e,t,n){"use strict";n.r(t);var r,i=n("KMuA"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},Uxz4:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("TZE5"),n=n("b1SC"),i=r.a.shape({setState:r.a.func,getState:r.a.func,subscribe:r.a.func}).loose,r=n.a;t.b=r},V2x9:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},V6Ve:function(e,t,n){n=n("kekF")(Object.keys,Object);e.exports=n},V7oC:function(e,t,n){"use strict";t.__esModule=!0;var n=n("SEkw"),i=(n=n)&&n.__esModule?n:{default:n};function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}t.default=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},V7qu:function(e,t,n){"use strict";n.r(t);var r,i=n("EFSL"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},V8Rk:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("jDn+"))),o=r(n("VeHG")),a=r(n("CHBU")),s=r(n("TFue")),l=r(n("KP9C")),u=r(n("njMg")),r={name:"SmPopup",mixins:[o.default,a.default,l.default,s.default,i.default],viewModelProps:["latLng","content"],props:{latLng:{type:[Object,Array],default:function(){return[]}}},watch:{getBackground:function(){this.changePopupStyle()},options:function(){this.loaded()}},loaded:function(){var t=this,e=(this.setViewModel(),this.mapObject=this.viewModel.getPopup(),this.parentContainer=this.$parent,this.parentContainer&&this.parentContainer.mapObject||this.map);e&&(e.bindPopup?(e.bindPopup(this.mapObject),this.$nextTick(function(){t.$emit("ready",t.mapObject)})):(this.isMap=this.viewModel.isMap(e),this.isMap&&e.on("click",function(e){e=t.map.layerPointToLatLng(e.layerPoint);t.viewModel.setLatLng(e),t.$el&&t.$el.style&&(t.$el.style.display="block"),t.$nextTick(function(){t.$emit("ready",t.mapObject)}),t.$on("ready",t.viewModel.openOnMap)})))},beforeDestroy:function(){this.parentContainer&&(this.parentContainer.unbindPopup?this.parentContainer.unbindPopup():this.parentContainer.mapObject&&this.parentContainer.mapObject.unbindPopup&&this.parentContainer.mapObject.unbindPopup())},methods:{setViewModel:function(){this.viewModel=new u.default(this.map,{latLng:this.latLng,content:this.content||this.$el,options:this.options})},changePopupStyle:function(){var e=document.querySelector(".leaflet-popup-content-wrapper"),t=document.querySelector(".leaflet-popup-tip"),n=document.querySelector(".leaflet-container a.leaflet-popup-close-button:hover");e&&(e.style.background=this.getBackground),t&&(t.style.background=this.getBackground),n&&(t.style.color=this.textColorsData)}}};t.default=r},VEr5:function(e,t,n){"use strict";n.r(t);var r,i=n("ggYk"),o=n("Sacq");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},VGD7:function(e,t,n){"use strict";n.r(t);var r,i=n("RapV"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},VJsP:function(e,t,n){"use strict";var f=n("2GTP"),r=n("Y7ZC"),h=n("JB68"),d=n("sNwI"),p=n("NwJ3"),y=n("tEej"),m=n("IP1Z"),g=n("fNZA");r(r.S+r.F*!n("TuGD")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,i,o=h(e),e="function"==typeof this?this:Array,a=arguments.length,s=1<a?arguments[1]:void 0,l=void 0!==s,u=0,c=g(o);if(l&&(s=f(s,2<a?arguments[2]:void 0,2)),null==c||e==Array&&p(c))for(n=new e(t=y(o.length));u<t;u++)m(n,u,l?s(o[u],u):o[u]);else for(i=c.call(o),n=new e;!(r=i.next()).done;u++)m(n,u,l?d(i,s,[r.value,u],!0):r.value);return n.length=u,n}})},VKFn:function(e,t,n){n("bBy9"),n("FlQf"),e.exports=n("ldVq")},VMwW:function(e,t,n){"use strict";n.r(t);var r,i=n("kw6Y");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},VOtZ:function(e,t,n){var r=n("juv8"),i=n("MvSz");e.exports=function(e,t){return r(e,i(e),t)}},VVlx:function(e,t,n){var r=n("29s/")("keys"),i=n("YqAc");e.exports=function(e){return r[e]||(r[e]=i(e))}},VYpe:function(e,t,n){"use strict";n.r(t);var r,i=n("Kh4X"),o=n("OTxZ");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,"907385c2",null);t.default=a.exports},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},VbXa:function(e,t,n){var r=n("SksO");e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},Vclq:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var n="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),t=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){if(!e)return n;else if(/-MMM-/.test(t))return r[e.month()];else return n[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n("wd/R"))},VeHG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{options:{type:Object,default:function(){return null}}}};t.default=r},"VfG/":function(e,t,n){"use strict";n.r(t),n.d(t,"MenuMode",function(){return C}),n.d(t,"menuProps",function(){return O});var r=n("kvrn"),h=n.n(r),r=n("YEIV"),d=n.n(r),r=n("QbLZ"),p=n.n(r),y=n("Sx0+"),r=n("S/ht"),i=n("ShUB"),m=n("2jBj"),a=n("o6Ky"),g=n("2qPA"),o=n("TSYQ"),s=n.n(o),o={name:"ASubMenu",isSubMenu:!0,props:p()({},a.a.props),inject:{menuPropsContext:{default:function(){return{}}}},methods:{onKeyDown:function(e){this.$refs.subMenu.onKeyDown(e)}},render:function(){var t=arguments[0],n=this.$slots,e=this.$scopedSlots,r=this.$props,i=r.rootPrefixCls,r=r.popupClassName,o=this.menuPropsContext.theme,i={props:p()({},this.$props,{popupClassName:s()(i+"-"+o,r)}),ref:"subMenu",on:Object(g.getListeners)(this),scopedSlots:e},o=Object.keys(n);return t(a.a,i,[o.length?o.map(function(e){return t("template",{slot:e},[n[e]])}):null])}},l=n("TZE5"),u=n("NZOc"),c=n("aiEA"),f=n("Uo1l"),v=n("+TMU");function b(){}var _={name:"MenuItem",inheritAttrs:!1,props:f.b,inject:{getInlineCollapsed:{default:function(){return b}},layoutSiderContext:{default:function(){return{}}}},isMenuItem:!0,methods:{onKeyDown:function(e){this.$refs.menuItem.onKeyDown(e)}},render:function(){var e=arguments[0],t=Object(g.getOptionProps)(this),n=t.level,r=t.title,i=t.rootPrefixCls,o=this.getInlineCollapsed,a=this.$slots,s=this.$attrs,o=o(),l=r,n=(void 0===r?l=1===n?a.default:"":!1===r&&(l=""),{title:l}),l=(this.layoutSiderContext.sCollapsed||o||(n.title=null,n.visible=!1),{props:p()({},t,{title:r}),attrs:s,on:Object(g.getListeners)(this)}),o={props:p()({},n,{placement:"right",overlayClassName:i+"-inline-collapsed-tooltip"})};return e(v.a,o,[e(f.a,h()([l,{ref:"menuItem"}]),[a.default])])}},x=n("tIgm"),w=n("IqTT"),A=n("TfX5"),S=n("2xRk"),C=l.a.oneOf(["vertical","vertical-left","vertical-right","horizontal","inline"]),O=p()({},w.a,{theme:l.a.oneOf(["light","dark"]).def("light"),mode:C.def("vertical"),selectable:l.a.bool,selectedKeys:l.a.arrayOf(l.a.oneOfType([l.a.string,l.a.number])),defaultSelectedKeys:l.a.array,openKeys:l.a.array,defaultOpenKeys:l.a.array,openAnimation:l.a.oneOfType([l.a.string,l.a.object]),openTransitionName:l.a.string,prefixCls:l.a.string,multiple:l.a.bool,inlineIndent:l.a.number.def(24),inlineCollapsed:l.a.bool,isRootMenu:l.a.bool.def(!0),focusable:l.a.bool.def(!1)}),E={name:"AMenu",props:O,Divider:p()({},r.a,{name:"AMenuDivider"}),Item:p()({},_,{name:"AMenuItem"}),SubMenu:p()({},o,{name:"ASubMenu"}),ItemGroup:p()({},i.a,{name:"AMenuItemGroup"}),provide:function(){return{getInlineCollapsed:this.getInlineCollapsed,menuPropsContext:this.$props}},mixins:[x.a],inject:{layoutSiderContext:{default:function(){return{}}},configProvider:{default:function(){return A.a}}},model:{prop:"selectedKeys",event:"selectChange"},updated:function(){this.propsUpdating=!1},watch:{mode:function(e,t){"inline"===t&&"inline"!==e&&(this.switchingModeFromInline=!0)},openKeys:function(e){this.setState({sOpenKeys:e})},inlineCollapsed:function(e){this.collapsedChange(e)},"layoutSiderContext.sCollapsed":function(e){this.collapsedChange(e)}},data:function(){var e=Object(g.getOptionProps)(this),t=(Object(c.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when Menu's `mode` is inline."),this.switchingModeFromInline=!1,this.leaveAnimationExecutedWhenInlineCollapsed=!1,this.inlineOpenKeys=[],void 0);return"openKeys"in e?t=e.openKeys:"defaultOpenKeys"in e&&(t=e.defaultOpenKeys),{sOpenKeys:t}},methods:{collapsedChange:function(e){this.propsUpdating||(this.propsUpdating=!0,Object(g.hasProp)(this,"openKeys")?e&&(this.switchingModeFromInline=!0):e?(this.switchingModeFromInline=!0,this.inlineOpenKeys=this.sOpenKeys,this.setState({sOpenKeys:[]})):(this.setState({sOpenKeys:this.inlineOpenKeys}),this.inlineOpenKeys=[]))},restoreModeVerticalFromInline:function(){this.switchingModeFromInline&&(this.switchingModeFromInline=!1,this.$forceUpdate())},handleMouseEnter:function(e){this.restoreModeVerticalFromInline(),this.$emit("mouseenter",e)},handleTransitionEnd:function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,n=e.target.className,n="[object SVGAnimatedString]"===Object.prototype.toString.call(n)?n.animVal:n,e="font-size"===e.propertyName&&0<=n.indexOf("anticon");(t||e)&&this.restoreModeVerticalFromInline()},handleClick:function(e){this.handleOpenChange([]),this.$emit("click",e)},handleSelect:function(e){this.$emit("select",e),this.$emit("selectChange",e.selectedKeys)},handleDeselect:function(e){this.$emit("deselect",e),this.$emit("selectChange",e.selectedKeys)},handleOpenChange:function(e){this.setOpenKeys(e),this.$emit("openChange",e),this.$emit("update:openKeys",e)},setOpenKeys:function(e){Object(g.hasProp)(this,"openKeys")||this.setState({sOpenKeys:e})},getRealMenuMode:function(){var e,t=this.getInlineCollapsed();return this.switchingModeFromInline&&t?"inline":(e=this.$props.mode,t?"vertical":e)},getInlineCollapsed:function(){var e=this.$props.inlineCollapsed;return void 0!==this.layoutSiderContext.sCollapsed?this.layoutSiderContext.sCollapsed:e},getMenuOpenAnimation:function(e){var t=this.$props,n=t.openAnimation,t=t.openTransitionName,r=n||t;return void 0===n&&void 0===t&&("horizontal"===e?r="slide-up":"inline"===e?r={on:u.a}:this.switchingModeFromInline?(r="",this.switchingModeFromInline=!1):r="zoom-big"),r}},render:function(){var t=this,e=arguments[0],n=this.layoutSiderContext,r=this.$slots,n=n.collapsedWidth,i=this.configProvider.getPopupContainer,o=Object(g.getOptionProps)(this),a=o.prefixCls,s=o.theme,l=o.getPopupContainer,a=(0,this.configProvider.getPrefixCls)("menu",a),u=this.getRealMenuMode(),c=this.getMenuOpenAnimation(u),s=(f={},d()(f,a+"-"+s,!0),d()(f,a+"-inline-collapsed",this.getInlineCollapsed()),f),f={props:p()({},Object(y.a)(o,["inlineCollapsed"]),{getPopupContainer:l||i,openKeys:this.sOpenKeys,mode:u,prefixCls:a}),on:p()({},Object(g.getListeners)(this),{select:this.handleSelect,deselect:this.handleDeselect,openChange:this.handleOpenChange,mouseenter:this.handleMouseEnter}),nativeOn:{transitionend:this.handleTransitionEnd}};return Object(g.hasProp)(this,"selectedKeys")||delete f.props.selectedKeys,"inline"!==u?(f.on.click=this.handleClick,f.props.openTransitionName=c):(f.on.click=function(e){t.$emit("click",e)},f.props.openAnimation=c),!this.getInlineCollapsed()||0!==n&&"0"!==n&&"0px"!==n||(f.props.openKeys=[]),e(m.a,h()([f,{class:s}]),[r.default])},install:function(e){e.use(S.default),e.component(E.name,E),e.component(E.Item.name,E.Item),e.component(E.SubMenu.name,E.SubMenu),e.component(E.Divider.name,E.Divider),e.component(E.ItemGroup.name,E.ItemGroup)}};t.default=E},"VgK+":function(e,t,n){"use strict";n.r(t);var r,i=n("AfU/"),o=n("FHWo");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},Vgcz:function(e,t,n){"use strict";var r=n("m7zg"),i=n("YELS"),o=n("3Xd8"),a=n("HTC/"),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||i(e,"flags")||!o(s,e)?t:r(a,e)}},VjSb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this,n=t.touchEventsData,r=t.params,i=t.touches,o=t.rtlTranslate,a=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid;if(t.enabled)if(e.originalEvent&&(e=e.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",e),n.allowTouchCallbacks=!1,n.isTouched){r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,c=(0,w.now)(),f=c-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(e),t.emit("tap click",e),f<300)&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",e),n.lastClickTime=(0,w.now)(),(0,w.nextTick)(function(){t.destroyed||(t.allowClick=!0)}),n.isTouched&&n.isMoved&&t.swipeDirection&&0!==i.diff&&n.currentTranslate!==n.startTranslate){if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,!r.cssMode)if(r.freeMode)if(u<-t.minTranslate())t.slideTo(t.activeIndex);else if(u>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(r.freeModeMomentum){(!(1<n.velocities.length)||(c=n.velocities.pop(),i=n.velocities.pop(),p=c.position-i.position,i=c.time-i.time,t.velocity=p/i,t.velocity/=2,Math.abs(t.velocity)<r.freeModeMinimumVelocity&&(t.velocity=0),150<i)||300<(0,w.now)()-c.time)&&(t.velocity=0),t.velocity*=r.freeModeMomentumVelocityRatio,n.velocities.length=0;var h,d,p=1e3*r.freeModeMomentumRatio,i=t.velocity*p,y=t.translate+i,c=(o&&(y=-y),!1),i=20*Math.abs(t.velocity)*r.freeModeMomentumBounceRatio;if(y<t.maxTranslate())r.freeModeMomentumBounce?(y+t.maxTranslate()<-i&&(y=t.maxTranslate()-i),h=t.maxTranslate(),c=!0,n.allowMomentumBounce=!0):y=t.maxTranslate(),r.loop&&r.centeredSlides&&(d=!0);else if(y>t.minTranslate())r.freeModeMomentumBounce?(y-t.minTranslate()>i&&(y=t.minTranslate()+i),h=t.minTranslate(),c=!0,n.allowMomentumBounce=!0):y=t.minTranslate(),r.loop&&r.centeredSlides&&(d=!0);else if(r.freeModeSticky){for(var m,g=0;g<l.length;g+=1)if(l[g]>-y){m=g;break}y=-(y=Math.abs(l[m]-y)<Math.abs(l[m-1]-y)||"next"===t.swipeDirection?l[m]:l[m-1])}if(d&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)p=o?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity),r.freeModeSticky&&(i=Math.abs((o?-y:y)-t.translate),d=t.slidesSizesGrid[t.activeIndex],p=i<d?r.speed:i<2*d?1.5*r.speed:2.5*r.speed);else if(r.freeModeSticky)return void t.slideToClosest();r.freeModeMomentumBounce&&c?(t.updateProgress(h),t.setTransition(p),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd(function(){t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(r.speed),setTimeout(function(){t.setTranslate(h),a.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(y),t.setTransition(p),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):(t.emit("_freeModeNoMomentumRelease"),t.updateProgress(y)),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(r.freeModeSticky)return void t.slideToClosest();r.freeMode&&t.emit("_freeModeNoMomentumRelease")}(!r.freeModeMomentum||f>=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var v=0,b=t.slidesSizesGrid[0],_=0;_<s.length;_+=_<r.slidesPerGroupSkip?1:r.slidesPerGroup){var x=_<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==s[_+x]?u>=s[_]&&u<s[_+x]&&(b=s[(v=_)+x]-s[_]):u>=s[_]&&(v=_,b=s[s.length-1]-s[s.length-2])}o=(u-s[v])/b,i=v<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;f>r.longSwipesMs?r.longSwipes?("next"===t.swipeDirection&&(o>=r.longSwipesRatio?t.slideTo(v+i):t.slideTo(v)),"prev"===t.swipeDirection&&(o>1-r.longSwipesRatio?t.slideTo(v+i):t.slideTo(v))):t.slideTo(t.activeIndex):r.shortSwipes?t.navigation&&(e.target===t.navigation.nextEl||e.target===t.navigation.prevEl)?e.target===t.navigation.nextEl?t.slideTo(v+i):t.slideTo(v):("next"===t.swipeDirection&&t.slideTo(v+i),"prev"===t.swipeDirection&&t.slideTo(v)):t.slideTo(t.activeIndex)}}else n.isTouched=!1,n.isMoved=!1,n.startMoving=!1}else n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1};var w=n("cKS0")},VlRc:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("QCkE"))),r=r(n("00qV")),n={addClasses:i.default,removeClasses:r.default};t.default=n},"Vs1/":function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),i=n.n(r),u=n("L81K"),f=n("DGO/"),c={},h=4.5,d="24px",p="24px",y="topRight",m=function(){return document.body},g=null;function v(e,t){var n=e.prefixCls,r=e.placement,r=void 0===r?y:r,i=e.getContainer,i=void 0===i?m:i,o=e.top,a=e.bottom,e=e.closeIcon,s=void 0===e?g:e,l=n+"-"+r;c[l]?t(c[l]):u.a.newInstance({prefixCls:n,class:n+"-"+r,style:function(e,t,n){var r=1<arguments.length&&void 0!==t?t:d,i=2<arguments.length&&void 0!==n?n:p,o=void 0;switch(e){case"topLeft":o={left:0,top:r,bottom:"auto"};break;case"topRight":o={right:0,top:r,bottom:"auto"};break;case"bottomLeft":o={left:0,top:"auto",bottom:i};break;default:o={right:0,top:"auto",bottom:i}}return o}(r,o,a),getContainer:i,closeIcon:function(e){var t="function"==typeof s?s(e):s;return e("span",{class:n+"-close-x"},[t||e(f.default,{class:n+"-close-icon",attrs:{type:"close"}})])}},function(e){c[l]=e,t(e)})}var b={success:"check-circle-o",info:"info-circle-o",error:"close-circle-o",warning:"exclamation-circle-o"};var o={open:function(t){var n,r=t.icon,i=t.type,o=t.description,a=t.message,s=t.btn,e=t.prefixCls||"ant-notification",l=e+"-notice",u=void 0===t.duration?h:t.duration,c=null;r?c=function(e){return e("span",{class:l+"-icon"},["function"==typeof r?r(e):r])}:i&&(n=b[i],c=function(e){return e(f.default,{class:l+"-icon "+l+"-icon-"+i,attrs:{type:n}})}),v({prefixCls:e,placement:t.placement,top:t.top,bottom:t.bottom,getContainer:t.getContainer,closeIcon:t.closeIcon},function(e){e.notice({content:function(e){return e("div",{class:c?l+"-with-icon":""},[c&&c(e),e("div",{class:l+"-message"},[!o&&c?e("span",{class:l+"-message-single-line-auto-margin"}):null,"function"==typeof a?a(e):a]),e("div",{class:l+"-description"},["function"==typeof o?o(e):o]),s?e("span",{class:l+"-btn"},["function"==typeof s?s(e):s]):null])},duration:u,closable:!0,onClose:t.onClose,onClick:t.onClick,key:t.key,style:t.style||{},class:t.class})})},close:function(t){Object.keys(c).forEach(function(e){return c[e].removeNotice(t)})},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,i=e.top,o=e.getContainer,e=e.closeIcon;void 0!==t&&(h=t),void 0!==n&&(y=n),void 0!==r&&(p="number"==typeof r?r+"px":r),void 0!==i&&(d="number"==typeof i?i+"px":i),void 0!==o&&(m=o),void 0!==e&&(g=e)},destroy:function(){Object.keys(c).forEach(function(e){c[e].destroy(),delete c[e]})}};["success","info","warning","error"].forEach(function(t){o[t]=function(e){return o.open(i()({},e,{type:t}))}}),o.warn=o.warning,t.default=o},Vtdf:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement,e=this._self._c||e;return e("div",{staticClass:"sm-component-time-range",style:[this.getBackgroundStyle]},[e("v-chart",{ref:this.chartId,style:{width:"100%",height:"100%"},attrs:{id:this.chartId,options:this.options,autoresize:!0},on:{datazoom:this.dataZoomChanged}})],1)},i=[]},VwJJ:function(e,t,n){"use strict";n.r(t);var r,i=n("ajzp"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},Vx79:function(e,t,n){"use strict";n.r(t);var r,i=n("14H2");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},VyJC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e=!0);var n=this,r=n.activeIndex,i=n.previousIndex,o=n.params;n.animating=!1,o.cssMode||(n.setTransition(0),o=(o=t)||(i<r?"next":r<i?"prev":"reset"),n.emit("transitionEnd"),e&&r!==i&&("reset"===o?n.emit("slideResetTransitionEnd"):(n.emit("slideChangeTransitionEnd"),"next"===o?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd"))))}},W070:function(e,t,n){var l=n("NsO/"),u=n("tEej"),c=n("D8kY");e.exports=function(s){return function(e,t,n){var r,i=l(e),o=u(i.length),a=c(n,o);if(s&&t!=t){for(;a<o;)if((r=i[a++])!=r)return!0}else for(;a<o;a++)if((s||a in i)&&i[a]===t)return s||a||0;return!s&&-1}}},W1yv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={dateTimeFormat:{date:{year:"numeric",month:"short",day:"numeric"},date_second:{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},date_second_week:{year:"numeric",month:"short",day:"numeric",weekday:"long",hour:"numeric",minute:"numeric",second:"numeric"}},warning:{unsupportedVideoAddress:"The video address is illegal",unsupportedPosterAddress:"The poster address is illegal",unavailableVideo:"This video is temporarily unavailable, please try again later",mapNotLoaded:"The associated map has not been loaded yet, please wait for a second",unassociatedMap:"You need to configure the associated map!",videojs:"Please import video.js plugin: https://github.com/videojs/video.js, When playing rtmp, install flash related plugin: https://github.com/videojs/videojs-flash",flvPlayer:"Please import flv related plugin: https://github.com/bilibili/flv.js, https://github.com/mister-ben/videojs-flvjs"},success:{copySucccess:"copy success"},info:{loading:"Loading...",pressEscToExit:"Press the ESC key or click the close button to exit"},unit:{kilometers:"km",miles:"mi",meters:"m",yards:"yd",feet:"ft",squarekilometers:"sq km",squaremiles:"sq mi",squaremeters:"sq m",squareyards:"sq yd",squarefeet:"sq ft",XY:"XY",BASEMAP:"BASEMAP",UTM:"UTM",DD:"DD",DOM:"DOM",DMS:"DMS",Mercator:"Web Mercator"},error:{},commontypes:{restData:"SuperMap Rest Data Service",restMap:"SuperMap Rest Map Service",addressMatch:"SuperMap Address Matching Service",iportalData:"SuperMap iPortal Data",onlineLocalSearch:"SuperMap Online Local Search"},timeText:{Year:"year",Month:"month",Day:"d",hour:"h",minute:"min",second:"s"},zoom:{},chart:{unSupportedData:"The current data does not support linkage with the map"},layerList:{title:"Layer"},slideshow:{title:"Slideshow"},layerColor:{title:"LayerColor",layer:"Layer",property:"Property",color:"Color",reset:"Reset",select:"Select",deselect:"Deselect",circleColor:"circleColor",strokeColor:"circleStrokeColor",lineColor:"lineColor",fillColor:"fillColor",iconColor:"iconColor",textColor:"textColor",capture:"Capture"},attributes:{title:"Attributes",feature:"Feature",selected:"Selected",clearSelected:"Clear Selected",zoomToFeatures:"ZoomTo Features",columnsControl:"Show/Hide Columns",refreshData:"RefreshData",search:"Search",reset:"Reset"},miniMap:{},pan:{},scale:{},webmap:{loadingTip:"Map is loading...",crsNotSupport:"The coordinate system of the current map is not supported!",TileMatrixSetNotSuppport:"Incoming TileMatrixSet is not supported!",getLayerInfoFailed:"Failed to get layer information!",getThemeInfoFailed:"Failed to get theme information!",crsnotsupport:"Unsupported coordinate system!",baiduMapNotSupport:"Baidu maps is not supported yet!",sampleDataNotSupport:"Sample datas is not supported yet!",mvtNotSupport:"Vector tile layers is not supported yet!"},drillMap:{goBack:"Go Back"},legend:{themeField:"Thematic Field",title:"Legend",top:"Highest",bottom:"Lowest",noMatchLayer:"No matching layer"},measure:{mapMeasure:"Measure",measureResult:"Measurement Result:",distance:"Distance",area:"Area",delete:"Empty",selectPlaceholder:"Please Select",startingPoint:"Starting Point"},search:{noResult:"The query result is empty!",noKey:"The search keyword cannot be empty. Please enter the search condition.",inputPlaceHolder:"Find an address or location",attribute:"Attribute",attributeValue:"Attribute Value",setSearchSource:"Please set the search source!",address:"Address",null:"Null",illegalFeature:"Features must contain legal coordinates!"},query:{query:"Query",queryJob:"Task",queryResult:"Result",attributeCondition:"Attribute Condition",spatialFilter:"Spatial Filter",mapBounds:"Query within the whole map extent",currentMapBounds:"Query within current viewbound",applicate:"Apply",noResult:"No Result",resultAlreadyExists:"The current query result already exists!",querying:"Querying...",attribute:"Attribute",attributeValue:"Attribute Value",noResults:"The query result is empty!",queryFailed:"Query failed!",seviceNotSupport:"This service does not support queries!"},identify:{layerNotExit:"The layer '{layer}' does not exist in the map's style",noData:"no Data"},openFile:{fileSizeExceeded:"The file size is too big! The file size can't exceed 10M!",fileTypeUnsupported:"This file format is not supported!",openFileFail:"File open failed!",openFileSuccess:"File open succeeded!",selectFile:"Select File",openEmptyFile:"The opened file is empty!",openFile:"Open File"},draw:{draw:"Draw"},indicator:{title:"Indicator Title",unit:"Unit"},layerManager:{title:"Layer Manager"},fillExtrusion:{title:"Fill Extrusion",polygonLayer:"Polygon Layer",height:"Height(meter)",heightValue:"Height Value",fieldName:"Field Name",customFieldPlaceholder:"Fill in the field name",customNum:"Custom",multiple:"Multiple",fillColor:"Fill color",layerOpacity:"Opacity",hideOriginalLayer:"Hide original layer",reset:"Reset"},flyTo:{title:"Fly To"},tdtResults:{on:"on ",station:" station",total:"total",about:"about ",homePage:"Home",prevPage:"Previous",nextPage:"Next",searchNoResult:"No related results were found",youCanTry:"You can try",enterCorrect:"Check if the input is correct",enterOtherKeyWords:"Enter another keyword to search",onTdtMap:"On the map of the sky",addThisAddress:"Add this address",uWantTo:"Are you looking for",totalFind:"found",piecesResults:"result",phone:"Tell",address:"Address",setStartPonint:"Set as starting point",setEndPonint:"Set as end point",totalMiles:"total mileage",distance:"About {distance} km",showDetails:"Show full details",switchTimes:"Transfer {switchTimes} times",noSwitch:"No transfer",walk:"Walk to",getOff:"get off",getOn:"boarding",take:"take ",noSearchResults:"No line information was found",fastRoute:"Fastest line",shortRoute:"Shortest line",walkRoute:"Less high speed",fast:"Faster",noSubway:"No subway",lessSwitch:"Less transfer",lessWalk:"Less walking",cityHadResults:"The following cities have results, please choose",moreCity:"More cities",allFound:"Found for you",piecesBusRoute:"bus route",showDetail:"Expand details",busEndTime:"First and last bus time",relateAdress:'Click here to see the location of "{keyWord}"',switchTo:"Switched to"},tdtRoute:{title:"Route",pleaseEnterStartPoint:"Please enter the starting address",pleaseEnterEndPoint:"Please enter the destination address",search:"Search",startPoint:"Starting address",endPoint:"Destination address",mapLoadedFiled:"Map failed to load",busEndTime:"First and last bus time",about:"about ",station:" station",total:"total",hour:" hour",minutes:" minutes"},tdtSearch:{phone:"Tell",address:"Address",noData:"No data",transport:"traffic"},tdtMapSwitcher:{title:"Map Switcher",image:"image",vector:"vector",terrain:"terrain",placeName:"placeName",TiandituVec:"TiandituVecLayer",TiandituTer:"TiandituTerLayer",TiandituImg:"TiandituImgLayer",TiandituCva:"TiandituCvaLabel",TiandituCta:"TiandituCtaLabel",TiandituCia:"TiandituCiaLabel"},coordinateConversion:{inputPlaceHolder:"Input coordinate",copy:"copy",location:"location",capture:"capture",realTime:"real-time",errorCoordinate:"invalid coordinate"},dataFlow:{dataSubscriptionFailed:"Data subscription failed!"},animateMarkerlayer:{unsupportedData:"The data is not supported, please reset the data!"}}},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=(n=window.Element.prototype).matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(e&&1===e.nodeType){var r=e.parentNode;if(n)return n.call(e,t);for(var i=r.querySelectorAll(t),o=i.length,a=0;a<o;a++)if(i[a]===e)return!0}return!1}},"W6Z/":function(e){e.exports=JSON.parse('{"border1":{"type":"1","borderWidth":[12,12,12,12],"borderEdge":{"top":12,"left":12,"right":12,"bottom":12}},"border2":{"type":"2","borderWidth":[12,12,12,12],"borderEdge":{"top":12,"left":12,"right":12,"bottom":12}},"border3":{"type":"3","borderWidth":[19,19,19,19],"borderEdge":{"top":19,"left":19,"right":19,"bottom":19}},"border4":{"type":"4","borderWidth":[20,40,20,40],"borderEdge":{"top":20,"left":20,"right":20,"bottom":20}},"border5":{"type":"5","borderWidth":[12,135,12,160],"borderEdge":{"top":12,"left":12,"right":12,"bottom":12}},"border6":{"type":"6","borderWidth":[12,12,12,12],"borderEdge":{"top":12,"left":12,"right":12,"bottom":12}},"border7":{"type":"7","borderWidth":[88,138,134,130],"borderEdge":{"top":30,"left":30,"right":32,"bottom":32}},"border8":{"type":"8","borderWidth":[24,100,24,100],"borderEdge":{"top":17,"left":17,"right":17,"bottom":17}},"border9":{"type":"9","borderWidth":[100,90,70,75],"borderEdge":{"top":32,"left":32,"right":32,"bottom":32}},"border10":{"type":"10","borderWidth":[27,104,100,52],"borderEdge":{"top":27,"left":23,"right":60,"bottom":44}},"border11":{"type":"11","borderWidth":[26,52,26,52],"borderEdge":{"top":12,"left":12,"right":12,"bottom":12}},"border12":{"type":"12","borderWidth":[109,271,100,180],"borderEdge":{"top":30,"left":12,"right":12,"bottom":25}},"border13":{"type":"13","borderWidth":[20,24,20,24],"borderEdge":{"top":20,"left":22,"right":24,"bottom":20}}}')},W8MJ:function(e,t,n){var i=n("o5UB");function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},WE1v:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg=="},WEpk:function(e,t){e=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},WFqU:function(t,e,n){!function(e){e="object"==typeof e&&e&&e.Object===Object&&e;t.exports=e}.call(this,n("yLpj"))},"WLJ+":function(e,t,n){"use strict";var r=n("YELS"),i=n("JTf3"),o=n("721z"),a=n("ST+I"),n=n("Gywb"),s=a("IE_PROTO"),l=Object,u=l.prototype;e.exports=n?l.getPrototypeOf:function(e){var t,e=o(e);return r(e,s)?e[s]:(t=e.constructor,i(t)&&e instanceof t?t.prototype:e instanceof l?u:null)}},WMEv:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var t=n("kvrn"),o=n.n(t),t=n("QbLZ"),a=n.n(t),s=n("TZE5"),l=n("2qPA");function r(i){var t=i.props||{},e=i.methods||{},n={},r=(Object.keys(t).forEach(function(e){n[e]=a()({},t[e],{required:!1})}),i.props.__propsSymbol__=s.a.any,i.props.children=s.a.array.def([]),{props:n,model:i.model,name:"Proxy_"+(i.name||"Component"),methods:{getProxyWrappedInstance:function(){return this.$refs.wrappedInstance}},render:function(){var t=arguments[0],e=this.$slots,n=void 0===e?{}:e,e=this.$scopedSlots,r=Object(l.getOptionProps)(this),r={props:a()({},r,{__propsSymbol__:Symbol(),componentWillReceiveProps:a()({},r),children:n.default||r.children||[]}),on:Object(l.getListeners)(this)},e=(Object.keys(e).length&&(r.scopedSlots=e),Object.keys(n));return t(i,o()([r,{ref:"wrappedInstance"}]),[e.length?e.map(function(e){return t("template",{slot:e},[n[e]])}):null])}});return Object.keys(e).map(function(t){r.methods[t]=function(){var e;return(e=this.getProxyWrappedInstance())[t].apply(e,arguments)}}),r}},WMbf:function(e,t,n){"use strict";var p=n("m7zg"),r=n("aLaa"),y=n("qzpy"),m=n("HTC/"),i=n("RhGR"),o=n("aNr2"),g=n("XFuk"),v=n("UQ6y").get,a=n("4Qxg"),n=n("c55Z"),b=o("native-string-replace",String.prototype.replace),_=RegExp.prototype.exec,x=_,w=r("".charAt),A=r("".indexOf),S=r("".replace),C=r("".slice),O=(o=/b*/g,p(_,r=/a/,"a"),p(_,o,"a"),0!==r.lastIndex||0!==o.lastIndex),E=i.BROKEN_CARET,M=void 0!==/()??/.exec("")[1];(O||M||E||a||n)&&(x=function(e){var t,n,r,i,o,a,s=this,l=v(s),e=y(e),u=l.raw;if(u)return u.lastIndex=s.lastIndex,f=p(x,u,e),s.lastIndex=u.lastIndex,f;var c=l.groups,u=E&&s.sticky,f=p(m,s),l=s.source,h=0,d=e;if(u&&(f=S(f,"y",""),-1===A(f,"g")&&(f+="g"),d=C(e,s.lastIndex),0<s.lastIndex&&(!s.multiline||s.multiline&&"\n"!==w(e,s.lastIndex-1))&&(l="(?: "+l+")",d=" "+d,h++),t=new RegExp("^(?:"+l+")",f)),M&&(t=new RegExp("^"+l+"$(?!\\s)",f)),O&&(n=s.lastIndex),r=p(_,u?t:s,d),u?r?(r.input=C(r.input,h),r[0]=C(r[0],h),r.index=s.lastIndex,s.lastIndex+=r[0].length):s.lastIndex=0:O&&r&&(s.lastIndex=s.global?r.index+r[0].length:n),M&&r&&1<r.length&&p(b,r[0],t,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r&&c)for(r.groups=o=g(null),i=0;i<c.length;i++)o[(a=c[i])[0]]=r[a[1]];return r}),e.exports=x},WOGj:function(e,t){e.exports=function(e){this.ok=!1,this.alpha=1,e=(e=(e="#"==e.charAt(0)?e.substr(1,6):e).replace(/ /g,"")).toLowerCase();for(var c={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},f=(e=c[e]||e,[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),parseFloat(e[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}]),t=0;t<f.length;t++){var n=f[t].re,r=f[t].process,n=n.exec(e);n&&(r=r(n),this.r=r[0],this.g=r[1],this.b=r[2],3<r.length&&(this.alpha=r[3]),this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.alpha=this.alpha<0?0:1<this.alpha||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return"#"+(e=1==e.length?"0"+e:e)+(t=1==t.length?"0"+t:t)+(n=1==n.length?"0"+n:n)},this.getHelpXML=function(){for(var e,t=new Array,n=0;n<f.length;n++)for(var r=f[n].example,i=0;i<r.length;i++)t[t.length]=r[i];for(e in c)t[t.length]=e;var o=document.createElement("ul");o.setAttribute("id","rgbcolor-examples");for(n=0;n<t.length;n++)try{var a=document.createElement("li"),s=new RGBColor(t[n]),l=document.createElement("div"),u=(l.style.cssText="margin: 3px; border: 1px solid black; background:"+s.toHex()+"; color:"+s.toHex(),l.appendChild(document.createTextNode("test")),document.createTextNode(" "+t[n]+" -> "+s.toRGB()+" -> "+s.toHex()));a.appendChild(l),a.appendChild(u),o.appendChild(a)}catch(e){}return o}}},WONN:function(e,t,n){"use strict";n("Ppro");var l=n("rt8w"),u=n("WaP5"),c=n("WMbf"),f=n("eRwv"),h=n("11yv"),d=n("8ODz"),p=h("species"),y=RegExp.prototype;e.exports=function(n,e,t,r){var a,i=h(n),s=!f(function(){var e={};return e[i]=function(){return 7},7!=""[n](e)}),o=s&&!f(function(){var e=!1,t=/a/;return"split"===n&&((t={constructor:{}}).constructor[p]=function(){return t},t.flags="",t[i]=/./[i]),t.exec=function(){return e=!0,null},t[i](""),!e});s&&o&&!t||(a=l(/./[i]),o=e(i,""[n],function(e,t,n,r,i){var e=l(e),o=t.exec;return o===c||o===y.exec?s&&!i?{done:!0,value:a(t,n,r)}:{done:!0,value:e(n,t,r)}:{done:!1}}),u(String.prototype,n,o[0]),u(y,i,o[1])),r&&d(y[i],"sham",!0)}},WRPr:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Fk5u"))),o=r(n("TFue")),a=(n("hQXD"),r(n("BhAg"))),s=r(n("UJ+e")),l=n("QG5D"),u=r(n("9/5/")),c=n("e7LN"),r={name:"SmLiquidFill",mixins:[o.default,a.default,s.default],props:{value:{type:[Number,String],default:0},formatter:{type:[Function,String]},waveCount:{type:Number,default:1},fontSize:{type:[Number,String]},waveColor:{type:String},borderColor:{type:String},labelColor:{type:String,default:"#626c91"},backgroundColor:{type:String},insideLabelColor:{type:String,default:"#fff"},waveAnimation:{type:Boolean,default:!1}},data:function(){return{waveColorData:"",labelColorData:"",insideLabelColorData:"",borderColorData:"",backgroundColorData:"",finalValue:this.value}},computed:{calcData:function(){for(var e=[],t=isNaN(+this.finalValue)?0:+this.finalValue,n=0;n<this.waveCount;n++)e.push((0,c.strip)(t-.05*n));return e}},watch:{waveColor:function(e){this.waveColorData=e,this.updateChart()},labelColor:function(e){this.labelColorData=e,this.updateChart()},insideLabelColor:function(e){this.insideLabelColorData=e,this.updateChart()},borderColor:function(e){this.borderColorData=e,this.updateChart()},backgroundColor:function(e){this.backgroundColorData=e,this.updateChart()},formatter:function(){this.updateChart()},finalValue:function(){this.updateChart()},fontSize:function(){this.updateChart()},waveCount:function(){this.updateChart()},waveAnimation:function(){this.updateChart()},value:function(e){this.finalValue=e}},mounted:function(){var e=this;this.waveColorData=this.waveColor||this.getColor(0),this.labelColorData=this.labelColor||this.getTextColor,this.insideLabelColorData=this.insideLabelColor||this.getTextColor,this.borderColorData=this.borderColor||this.waveColorData,this.backgroundColorData=this.backgroundColor||this.getBackground,this._initAutoResize(),this.$nextTick(function(){e.initializeChart()})},beforeDestroy:function(){this.restService&&this.restService.remove("getdatasucceeded"),(0,l.removeListener)(this.$el,this.__resizeHandler)},methods:{resize:function(){this.chart&&this.chart.resize()},initializeChart:function(){var e=this;this.chart=i.default.init(this.$refs.chart),this.updateChart(),this.$on("theme-style-changed",function(){e.waveColorData=e.getColor(0),e.labelColorData=e.getTextColor,e.insideLabelColorData=e.getTextColor,e.borderColorData=e.getColor(0),e.backgroundColorData=e.getBackground,e.updateChart()})},_initAutoResize:function(){var e=this;this.__resizeHandler=(0,u.default)(function(){e.resize()},100,{leading:!0}),(0,l.addListener)(this.$el,this.__resizeHandler)},updateChart:function(){var e={series:[{color:[this.waveColorData],type:"liquidFill",waveAnimation:this.waveAnimation,animation:!1,radius:"95%",data:this.calcData,label:{fontSize:parseFloat(this.fontSize),color:this.labelColorData,insideColor:this.insideLabelColorData},backgroundStyle:{color:this.backgroundColorData||"rgba(0, 0, 0, 0)"},itemStyle:{shadowColor:"#fff"},outline:{borderDistance:3,itemStyle:{borderColor:this.borderColorData,borderWidth:3,shadowBlur:0,shadowColor:"#fff"}}}]};this.formatter&&(e.series[0].label.formatter=this.formatter),this.chart&&this.chart.setOption(e)},timing:function(){this.getData()}}};t.default=r},"WU/S":function(e,t,n){"use strict";n.r(t);n=n("TZE5");t.default={name:"ATableColumnGroup",props:{title:n.a.any},__ANT_TABLE_COLUMN_GROUP:!0}},"WW3/":function(e,t,n){"use strict";n.r(t);var r,i=n("dGgj");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},WYrj:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],r;e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){if(e<12)return"މކ";else return"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n("wd/R"))},WaP5:function(e,t,n){"use strict";var a=n("JTf3"),s=n("FlRv"),l=n("3DCu"),u=n("X4md");e.exports=function(e,t,n,r){var i=(r=r||{}).enumerable,o=void 0!==r.name?r.name:t;if(a(n)&&l(n,o,r),r.global)i?e[t]=n:u(t,n);else{try{r.unsafe?e[t]&&(i=!0):delete e[t]}catch(e){}i?e[t]=n:s.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e}},WhZm:function(e,t,n){"use strict";var r=n("3DCu"),i=n("FlRv");e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},Whz7:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("i7/w"))),o=r(n("qF08")),r=new i.default({mapCache:{},webMapCache:{},getMap:function(e){return this.mapCache[e]},getAllMaps:function(){return this.mapCache},setMap:function(e,t){this.mapCache[e]=t},deleteMap:function(e){this.mapCache[e]&&(o.default.$emit("delete-map",e),delete this.mapCache[e])},getWebMap:function(e){return this.webMapCache[e]},getAllWebMap:function(){return this.webMapCache},setWebMap:function(e,t){this.webMapCache[e]=t},deleteWebMap:function(e){delete this.webMapCache[e]}});t.default=r},WlDG:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.breadcrumbItemTypes=void 0,r(n("S2v7"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={href:o.default.string,overlay:o.default.any,separator:o.default.any},o=(t.breadcrumbItemTypes=n,{name:"SmBreadcrumbItem",__ANT_BREADCRUMB_ITEM:!0,defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},WlrG:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("W8MJ"))),o=r(n("VbXa")),a=r(n("i7/w")),s=n("YKMj"),l=r(n("4xX3")),u=n("2qPA"),r=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},n=function(t){function e(){var e=t.apply(this,arguments)||this;return e.defaultPrefixCls="sm-component",e.configProvider={getPopupContainer:e.getPopupContainer,prefixCls:e.prefixCls,csp:e.csp,autoInsertSpaceInButton:e.autoInsertSpaceInButton,locale:Object.assign({},e.locale,e.$i18n&&e.$i18n.getLocaleMessage(e.$i18n.locale)),pageHeader:e.pageHeader,pageHeatransformCellTextder:e.transformCellText,getPrefixCls:e.getPrefixCls,renderEmpty:e.renderEmptyComponent},e.localeData={antLocale:Object.assign({},e.locale,e.$i18n&&e.$i18n.getLocaleMessage(e.$i18n.locale),{exist:!0})},e}(0,o.default)(e,t);var n=e.prototype;return n.getPrefixCls=function(e,t){var n=this.$props.prefixCls,n=void 0===n?this.defaultPrefixCls:n;return t||(e?n+"-"+e:n)},n.renderEmptyComponent=function(e,t){return((0,u.getComponentFromProp)(this,"renderEmpty",{},!1)||l.default)(e,t)},n.getComponentInstance=function(){return this.$options.defaultComponent},n.renderChildren=function(e){var t,n=[].concat(this.$slots.default||[]);for(t in this.$slots)"default"!==t&&n.push(e("template",{slot:t},this.$slots[t]));return n},n.render=function(e){return e(this.getComponentInstance(),{props:this.componentProps,style:this.componentStyle,class:this.componentClass,attrs:this.$attrs,on:this.componentListeners,scopedSlots:this.$scopedSlots},this.renderChildren(e))},(0,i.default)(e,[{key:"extralProps",get:function(){return{}}},{key:"componentProps",get:function(){return Object.assign(Object.assign({},(0,u.getOptionProps)(this)),this.extralProps)}},{key:"extralListeners",get:function(){return{}}},{key:"componentListeners",get:function(){return Object.assign(Object.assign({},this.$listeners),this.extralListeners)}},{key:"componentStyle",get:function(){return null}},{key:"componentClass",get:function(){return null}}]),e}(a.default);r([(0,s.Prop)()],n.prototype,"getPopupContainer",void 0),r([(0,s.Prop)()],n.prototype,"prefixCls",void 0),r([(0,s.Prop)()],n.prototype,"renderEmpty",void 0),r([(0,s.Prop)()],n.prototype,"csp",void 0),r([(0,s.Prop)()],n.prototype,"autoInsertSpaceInButton",void 0),r([(0,s.Prop)()],n.prototype,"locale",void 0),r([(0,s.Prop)()],n.prototype,"pageHeader",void 0),r([(0,s.Prop)()],n.prototype,"transformCellText",void 0),r([(0,s.Provide)("configProvider")],n.prototype,"configProvider",void 0),r([(0,s.Provide)("localeData")],n.prototype,"localeData",void 0),n=r([s.Component],n);t.default=n},Wv91:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var o={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},t;e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,t){switch(t){case"d":case"D":case"Do":case"DD":return e;default:if(e===0)return e+"'unjy";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(o[n]||o[r]||o[i])}},week:{dow:1,doy:7}})}(n("wd/R"))},WwFo:function(e,t,n){var r=n("juv8"),i=n("7GkX");e.exports=function(e,t){return e&&r(t,i(t),e)}},"Wx+d":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("15ft"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},Wx5T:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("2a28"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},WxRl:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" "),n;function r(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:true,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return e.charAt(1).toLowerCase()==="u"},meridiem:function(e,t,n){if(e<12)return n===true?"de":"DE";else return n===true?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,true)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,false)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},WxVo:function(e,t,n){"use strict";n.r(t);var r,i=n("PaSG");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},WxoH:function(e,t,n){"use strict";var r=n("SwuV"),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},"X/EZ":function(e,t,n){"use strict";var i=n("11yv")("iterator"),o=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}},X4md:function(e,t,n){"use strict";var r=n("Ks5W"),i=Object.defineProperty;e.exports=function(t,n){try{i(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},X709:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?":e":t===1?":a":t===2?":a":t===3?":e":":e";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},X7Q1:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAAF+xJREFUeAHt3W+oZOddB/DnzN6VNNgXxq1CpakKBSFKIqXYImmb1oJB+qJbG2PxT5aCL0qQNApNFiQblE0CGheNikK5qUqMqU1fREihtan1hS9KbbQGqYFiEyykia0Qkywme4/PubNz93r3nGeec+fcM+fM+Qxc7tzzPPOc5/d5Zme+e+bMTBFcjkxg9ugL5ZENPoGBd06eKCZQphIJECCwUQJbR1rNnY+8IZx/+YlQltcc6X4MvpkCt20LZpu5sqoqiqfCFVfeEO656flDYXyzPBvKcGfjbYtwOry5uKexfdHQxTgdjFFed8fZsFM21xOK08W/3JusZzBjlOUdkffWBXHN7/uKovjDmu17m8qBjLE3oZZXZi3753cXKvKt9CRAYFoC1X+2qv90VY+Th7m8uTgdZuGBxpuW4Wz4jzL15Da/aRfjdDBG8eS9p0NRNNcTyrPltXck6xnMGEVxb8R9sHFtQvh4DA6nEu2RYhhjpOaYajuaQ837Q8WqyTw1+4G3eSlktQXyUshqfm49UIGuHh/LsgjPhO145OJXaystYksIp+KRi0/Wti82djFOB2PEJ9siXHvndghlfT2xIcxmp4on72msZ1BjhPD7kfjnF8w1vz8WA8SnarbvbtqtZQBjNM0vtb37YNHVP5rUrCfeNrTAIgBM/A6p/PYCXT1OluWxGC4ejk+59U9gRbgQJ3dzDBd/k5xkF+N0MEb5oUeOha9/5eE41+Z6ZrObi6/e01jPYMaoPEL44/jzcw32O3H7R2O4+NuG9ngWwTDGaJpf0/ZuXwrp6h9L02xtJ0CAwCYIVOdWVOdYVEd0V3lZpCguhKvDhyPJ47UsZTgWQ8dD4dnyxtr2xcYuxulgjOJTN10Ix380Xc/OzkPlT55urGcwY1Qe83MtnlgwH/hdPf8+EMPDew5s3/szho5BjLE3ocwr3R2xECoyyXUjQIDARYGuHjefLV8Xj01U4eJdtbZFeCWek3FjeFPx97Xti41djNPBGOU77n9deOnbsZ4yUc/sxnjkorGewYxRxrUJ4S/iz9sXzAd+n49//3IMEf94YPvenzF8DGKMvQktudJNsMj5x3H79pmwE+5aMh/NBAgQGKbALNwd7j91pvPJ5Tx+5uz0+fL14eXwd/EIxdsaur8Yw8V7w9XFlxva55u7GKeDMcqfvu/14X++G+spE/UU740nbTbWM5gxyvJ7I+5fx59rG+xfitt/IYaLJxvaq5dFBjFG0/z2b189WHT1j2L/rFwnQIDAlAS6ehx9trwq/gfuizFc/EQtXxG+E8PFu+ORi6/Vti82djFOB2OU7zhzVXjplS/GadXXE2I9x8O7i6/c11jPYMYoy++LdVQna/5Y/Km7/Hfc+KEYLv6trrHaFsPFIMZomt9i+2rBoqt/DIvZ+E2AAIGpCnT1ePpc+YPhfPiHGC7e0kD5XDzz4voYLp5uaJ9v7mKcDsYof+p0rOdCop7iuTDbur548nca6xnMGGVZvb340fjzIw32L8TtJ2O4+EZDexUuBjFG0/yq7YcPFl39I0jNThsBAgSmJNDV4+q3yqvD/8ZwEeKpnfWXZ8L3xHDxxuKZ+uaLW7sYp4Mxyrd+/Orw6pJ6jofr45GLxnoGM0ZZ/lDU/Uz8eWOD/bfi9g/EcPGfDe1VuBjEGE3zmzU1JLd3dedP7kQjAQIEJibQ1btFqsBwLPxM1HuuQbB6ov58qI4opC5djNPBGLuBYXY81hOPTtRfrg6vhc/vHpmobw+DGWMeGG6O06yOTtRdqsDx8MUjE3Xt1QdoVaFj7WPUTi5ubB8shIomS9sJECCwukBX4aJ6qeNYeF88Lv2d2klVL5WcD5+Lb0W9qrZ9sbGLcToYY/eljuPl++K0mut55cLnds+pWMz9wO/BjDF/qeMX4/Sq8yrqLtVLJX918ZyKuvYqXFQvl6x9jLrJtQsWQkWdoW0ECBDoVqC7cPG1GCx+Nk7uxdoJVid57oTPhupdHKlLdbLnquN0MMbuSZqzorme6iTPl89/dvfdIA31DGaM+UmavxSnWb0jpO5SneT5lzFcVO8Gqb3EcFGd6Ln2MQ5OLj9YCBUH7fxNgACBoxPoKlxUby89Ft4fg8ErtZOt3p76UngsHrmoPiuh+dLFOB2Msfv20mOzRD3x7akvfvex3c+xaKhmMGPM3156S5xm9VkWdZfq7akPxnDRuDYxXFRvUb0l/qx1jLj/vUtesBAq9sBcIUCAQG8CXYWL6oOxZuGDcd6vNsz9XfEDtj4dzwo83tA+39zFOB2MsfvBWLNjH4xhqaGe+MFaLz336fKtf9pYz2DGmH8w1q9F4Nca7N8et/9ZDBfNtQxkjMX8lwcLoWJh5TcBAgT6F+guXDwen4g/HH+qj4muu9wYv3fkoRguqu+4aL68qVh9nA7GKL569vH4pWTpel79xkO73x3SUM1gxiiKL8Qp3hp/dhqmekPcXn38d+PaxCMXgxijmn86WAgVDWtsMwECBHoU6CpczL+M7CMxXJS1s6++zOyZ8IkYLtIfRdDFOB2MsftlZMXsI7GW+nqqLzP7+j99Ij4hN9YzmDHmX0b2G7XrMt9YfZnZ7yVrGcgYzcFCqEisryYCBAj0LNBduPhkfBr+9cbZV1/D/mz4g8b2RUP1deyrjtPBGLtfo14UzfVUX8N+3Z3JegYzxvxr1H9rQVzzu/rW19+u2b63KR65qD7dc61j1AcLoWJvkVwhQIDAYAS6Chc/XDwQj1qcbqxrJx6W/2Z5trF90dDFOB2MUfzzvQ/Ez7horqcsby2vuyNZz2DGKIrtyHvfgrjm9y3xqMUdNdv3NsVwsdYxLj88JFTsLY4rBAgQGKSAx+lBLotJzQX+f7BwZ3W/IECAwDgEPF6PY50mOMtLwcKddILLr2QCBEYtkPO4ffv2mfheg7tGXafJj0Pg3KndTHEpWHzswX+NZwJfEz8n9KlwxZU3hOq1PBcCBAgQGLbAb/75D4QLO1/w+D3sZZrS7C6dvFmFiuoiVExp/dVKgMDYBX73V769+7hd/aewehw///IToTqS4UJgTQKXjljctj1/H/DFQxlrmo/dEiBAgMBhBPa/LHKY27sNgVUFLuaHS0csVh3Q7QkQIEBgfQLVy9fHZu/ZfTl7fbOwZwJhiwEBAgQIbIhA9bJICD++IdUoYywCi1c8Ls7XEYuxLJx5EiBAgACBEQgIFiNYJFMkQIAAAQJjERAsxrJS5kmAAAECBEYgIFiMYJFMkQABAgQIjEVAsBjLSpknAQIECBAYgYBgMYJFMkUCBAgQIDAWAcFiLCtlngQIECBAYAQCgsUIFskUCRAgQIDAWAQEi7GslHkSIECAAIERCAgWI1gkUyRAgAABAmMRECzGslLmSYAAAQIERiAgWIxgkUyRAAECBAiMRUCwGMtKmScBAgQIEBiBgGAxgkUyRQIECBAgMBYBwWIsK2WeBAgQIEBgBAKCxQgWyRQJECBAgMBYBASLsayUeRIgQIAAgREICBYjWCRTJECAAAECYxEQLMayUuZJgAABAgRGICBYjGCRTJEAAQIECIxFQLAYy0qZJwECBAgQGIGAYDGCRTJFAgQIECAwFgHBYiwrZZ4ECBAgQGAEAoLFCBbJFAkQIECAwFgEBIuxrJR5EiBAgACBEQgIFiNYJFMkQIAAAQJjERAsxrJS5kmAAAECBEYgIFiMYJFMkQABAgQIjEVAsBjLSpknAQIECBAYgYBgMYJFMkUCBAgQIDAWga3Zoy+U+ye7c27/X64TIECAAAECBPIFHLHIt9KTAAECBAgQWCIgWCwB0kyAAAECBAjkCwgW+VZ6EiBAgAABAksEBIslQJoJECBAgACBfAHBIt9KTwIECBAgQGCJQHHwXSGL/jsnTxSL634TIECAAAECBPYLHMwPi9zgiMV+JdcJECBAgACBlQQEi5X43JgAAQIECBDYLyBY7NdwnQABAgQIEFhJQLBYic+NCRAgQIAAgf0CgsV+DdcJECBAgACBlQQEi5X43JgAAQIECBDYLyBY7NdwnQABAgQIEFhJQLBYic+NCRAgQIAAgf0CW/v/cJ0AAQIECBAgcBiBxQdmOWJxGD23IUCAAAECBGoFBItaFhsJECBAgACBwwgIFodRcxsCBAgQIECgVkCwqGWxkQABAgQIEDiMgGBxGDW3IUCAAAECBGoFBItaFhsJECBAgACBwwgIFodRcxsCBAgQIECgVuCyz7HYOXmiqO1pIwECBAgQIEBgiYAjFkuANBMgQIAAAQL5AoJFvpWeBAgQIECAwBIBwWIJkGYCBAgQIEAgX0CwyLfSkwABAgQIEFgiIFgsAdJMgAABAgQI5AsIFvlWehIgQIAAAQJLBASLJUCaCRAgQIAAgXwBwSLfSk8CBAgQIEBgiYBgsQRIMwECBAgQIJAvIFjkW+lJgAABAgQILBEQLJYAaSZAgAABAgTyBQSLfCs9CRAgQIAAgSUCgsUSIM0ECBAgQIBAvoBgkW+lJwECBAgQIHBRoPo29LpvRBcs3EUIECBAgACBzgQEi84oDUSAAAECBAgIFu4DBAgQIECAQGcCgkVnlAYiQIAAAQIEBAv3AQIECBAgQKAzga29Mzpv2y47G9VABAgQIECAwCQFHLGY5LIrmgABAgQIHI3A1tEMa1QCBAgQIEBgCgI7X3psXua5U0V1xRGLKay6GgkQIECAQE8CgkVP0HZDgAABAgSmICBYTGGV1UiAAAECBHoSECx6grYbAgQIECAwBQHBYgqrrEYCBAgQINCTgGDRE7TdECBAgACBKQgIFlNYZTUSIECAAIGeBASLnqDthgABAgQITEFAsJjCKquRAAECBAj0JCBY9ARtNwQIECBAYAoCgsUUVlmNBAgQIECgJwHBoidouyFAgAABAlMQECymsMpqJECAAAECPQkIFj1B2w0BAgQIEJiCgGAxhVVWIwECBAgQ6ElAsOgJ2m4IECBAgMAUBASLKayyGgkQIECAQE8CgkVP0HZDgAABAgSmICBYTGGV1UiAAAECBHoSECx6grYbAgQIECAwBQHBYgqrrEYCBAgQINCTgGDRE7TdECBAgACBKQgIFlNYZTUSIECAAIGeBASLnqDthgABAgQITEFAsJjCKquRAAECBAj0JCBY9ARtNwQIECBAYAoCgsUUVlmNBAgQIECgJwHBoidouyFAgAABAlMQECymsMpqJECAAAECPQkIFj1B2w0BAgQIEJiCgGAxhVVWIwECBAgQ6ElAsOgJ2m4IECBAgMAUBASLKayyGgkQIECAQE8CgkVP0HZDgAABAgSmICBYTGGV1UiAAAECBHoSECx6grYbAgQIECAwBQHBYgqrrEYCBAgQINCTgGDRE7TdECBAgACBKQgIFlNYZTUSIECAAIGeBASLnqDthgABAgQITEFAsJjCKquRAAECBAj0JCBY9ARtNwQIECBAYAoCgsUUVlmNBAgQIECgJwHBoidouyFAgAABAlMQECymsMpqJECAAAECPQkIFj1B2w0BAgQIEJiCgGAxhVVWIwECBAgQ6ElAsOgJ2m4IECBAgMAUBASLKayyGgkQIECAQE8CgkVP0HZDgAABAgSmICBYTGGV1UiAAAECBHoSECx6grYbAgQIECAwBQHBYgqrrEYCBAgQINCTgGDRE7TdECBAgACBKQhsLYqcvfP986vvfKGsruycPFEs2vwmQIAAAQIECOQIOGKRo6QPAQIECBAgkCUgWGQx6USAAAECBAjkCAgWOUr6ECBAgAABAlkCW7NH5+dUZPXWiQABAgQIECCQEHDEIoGjiQABAgQIEGgnIFi089KbAAECBAgQSAgIFgkcTQQIECBAgEA7AcGinZfeBAgQIECAQEJAsEjgaCJAgAABAgTaCQgW7bz0JkCAAAECBBICgkUCRxMBAgQIECDQTkCwaOelNwECBAgQIJAQECwSOJoIECBAgACBdgKCRTsvvQkQIECAAIGEgGCRwNFEgAABAgQItBMQLNp56U2AAAECBAgkBASLBI4mAgQIECBAoJ2AYNHOS28CBAgQIEAgISBYJHA0ESBAgAABAu0EBIt2XnoTIECAAAECCQHBIoGjiQABAgQIEGgnIFi089KbAAECBAgQSAgIFgkcTQQIECBAgEA7AcGinZfeBAgQIECAQEJAsEjgaCJAgAABAgTaCQgW7bz0JkCAAAECBBICs52TJ4rqJ9FHEwECBAgQIEAgS8ARiywmnQgQIECAAIEcAcEiR0kfAgQIECBAIEtAsMhi0okAAQIECBDIERAscpT0IUCAAAECBLIEBIssJp0IECBAgACBHAHBIkdJHwIECBAgQCBLQLDIYtKJAAECBAgQyBEQLHKU9CFAgAABAgSyBASLLCadCBAgQIAAgRwBwSJHSR8CBAgQIEAgS0CwyGLSiQABAgQIEMgRECxylPQhQIAAAQIEsgQEiywmnQgQIECAAIEcAcEiR0kfAgQIECBAIEtAsMhi0okAAQIECBDIEdhadNr50mPzq+dOFYttfhMgQIAAAQIE2gg4YtFGS18CBAgQIEAgKSBYJHk0EiBAgAABAm0EBIs2WvoSIECAAAECSQHBIsmjkQABAgQIEGgjIFi00dKXAAECBAgQSAoIFkkejQQIECBAgEAbAcGijZa+BAgQIECAQFJAsEjyaCRAgAABAgTaCAgWbbT0JUCAAAECBJICgkWSRyMBAgQIECDQRkCwaKOlLwECBAgQIJAUECySPBoJECBAgACBNgKCRRstfQkQIECAAIGkgGCR5NFIgAABAgQItBEQLNpo6UuAAAECBAgkBQSLJI9GAgQIECBAoI2AYNFGS18CBAgQIEAgKSBYJHk0EiBAgAABAm0EBIs2WvoSIECAAAECSQHBIsmjkQABAgQIEGgjIFi00dKXAAECBAgQSAoIFkkejQQIECBAgEAbAcGijZa+BAgQIECAQFJAsEjyaCRAgAABAgTaCAgWbbT0JUCAAAECBJICgkWSRyMBAgQIECDQRkCwaKOlLwECBAgQIJAUECySPBoJECBAgACBNgKCRRstfQkQIECAAIGkgGCR5NFIgAABAgQItBEQLNpo6UuAAAECBAgkBbaSrVXj0+WZUIa7lvbTgcC6BIpwd3hLcWZdu7dfAgQIELgksPyIRfWAXT1wuxAYooBQMcRVMScCBCYscPkRi9u2y8s8/ujBEN523fznskYbCKxJQKhYE7zdEiBAoFng8mDR1PfLT85bqoDhQmDdAkLFulfA/gnkC9z5yBvC+ZefCGV5Tf6N9ByrQDHWiR/pvJvOK/FkdqTsBidAYAMFhIoNXNSGks6d2s0UgkWDT+NJq8JFk5jtBLIFZo++UO6cPJH9+LO/f3U9e0c6rkVgVhR3v/aB7z8T9oeKongqXHHlDeGem55fy6TstDeB5Sdv9jaVge2o6aTV6h0y1RENFwIEWgk0BYK221vtVOfeBYSK3skHt0PBIrUkwkVKRxuBzgWaQkbnOzLgkQgIFUfCOrpBBYtlSyZcLBPSTqBRQFBopNm4BqFi45b00AXlvyvk0LvYgBtW4eLp+LLuwQ8Km78sEnw40wassRI6E6jCRJvzJzrbsYHWJpATKrY+819ndspy6YctLu47++9HfVxfG94G7XhxP3DEIndRHbnIldJvggKOTExw0S+WvHgySZ2omRsqpqs4/sr37gexFEcs2qynIxdttPSdkMDif5lVyX1enxDxYEvdqWaWePeHUDHYpetsYvtDRTWoIxZtaR25aCumPwECmywgVGzy6i6t7WCoqG7giMVStpoOqSMX/778NcSaEce7yed6jHftVpy5/4muCDjim+89mQgVI17F1ae+dz84MJRgcQAk+8+mcJE9wAZ0zAkVt2+fCTu+HXcDVntewix+IeH9p84IFRuzoq0L2XsyESpa223SDfbuBzVFZX/yXc1tbaoEmj7+e9N1ckLFphuoj8BUBRKhYqok6r4kIFhcsljftXWGk6MICI5SrO++ZM8jFSj+JJy75aOjmLxQMYplWuckBYt16u/f9zrCxVGEiv01uU6AwGYJCBWbtZ5HVI1gcUSwhxq2z3DRdai4bdsXQx1q0d2IwAgFfKHYCBetvykLFv1Zb/aeBIvNXl/VEVgICBULCb8bBASLBpi1bj7KIxddH6lYK5SdEyBAgMDQBP4P0C0DtozKDvkAAAAASUVORK5CYII="},XDpg:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="凌晨"||t==="早上"||t==="上午")return e;else if(t==="下午"||t==="晚上")return e+12;else return e>=11?e:e+12},meridiem:function(e,t,n){var r=e*100+t;if(r<600)return"凌晨";else if(r<900)return"早上";else if(r<1130)return"上午";else if(r<1230)return"中午";else if(r<1800)return"下午";else return"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){if(e.week()!==this.week())return"[下]dddLT";else return"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){if(this.week()!==e.week())return"[上]dddLT";else return"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n("wd/R"))},XFuk:function(e,t,n){"use strict";function r(){}function i(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t}var o,a=n("WxoH"),s=n("oR5W"),l=n("Yzn+"),u=n("SkNP"),c=n("bUA4"),f=n("me6S"),n=n("ST+I"),h="prototype",d="script",p=n("IE_PROTO"),y=function(e){return"<"+d+">"+e+"</"+d+">"},m=function(){try{o=new ActiveXObject("htmlfile")}catch(e){}m="undefined"==typeof document||document.domain&&o?i(o):(e=f("iframe"),t="java"+d+":",e.style.display="none",c.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F);for(var e,t,n=l.length;n--;)delete m[h][l[n]];return m()};u[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(r[h]=a(e),n=new r,r[h]=null,n[p]=e):n=m(),void 0===t?n:s.f(n,t)}},XGUr:function(e,t,n){"use strict";var r=n("TqRt"),d=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this,n=(0,d.getDocument)(),r=(0,d.getWindow)(),i=t.touchEventsData,o=t.params,a=t.touches,s=t.enabled;if(s&&(!t.animating||!o.preventInteractionOnTransition)){var s=e,l=(s.originalEvent&&(s=s.originalEvent),(0,p.default)(s.target));if(("wrapper"!==o.touchEventsTarget||l.closest(t.wrapperEl).length)&&(i.isTouchEvent="touchstart"===s.type,(i.isTouchEvent||!("which"in s)||3!==s.which)&&!(!i.isTouchEvent&&"button"in s&&0<s.button||i.isTouched&&i.isMoved))){!!o.noSwipingClass&&""!==o.noSwipingClass&&s.target&&s.target.shadowRoot&&e.path&&e.path[0]&&(l=(0,p.default)(e.path[0]));var u=o.noSwipingSelector||"."+o.noSwipingClass,c=!(!s.target||!s.target.shadowRoot);if(o.noSwiping&&(c?function(n,e){void 0===e&&(e=this);return function e(t){return t&&t!==(0,d.getDocument)()&&t!==(0,d.getWindow)()?(t=t.assignedSlot||t).closest(n)||e(t.getRootNode().host):null}(e)}(u,s.target):l.closest(u)[0]))t.allowClick=!0;else if(!o.swipeHandler||l.closest(o.swipeHandler)[0]){a.currentX=("touchstart"===s.type?s.targetTouches[0]:s).pageX,a.currentY=("touchstart"===s.type?s.targetTouches[0]:s).pageY;var c=a.currentX,u=a.currentY,f=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,h=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(f&&(c<=h||c>=r.innerWidth-h)){if("prevent"!==f)return;e.preventDefault()}(0,y.extend)(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=c,a.startY=u,i.touchStartTime=(0,y.now)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,0<o.threshold&&(i.allowThresholdMove=!1),"touchstart"!==s.type&&(r=!0,l.is(i.focusableElements)&&(r=!1),n.activeElement&&(0,p.default)(n.activeElement).is(i.focusableElements)&&n.activeElement!==l[0]&&n.activeElement.blur(),h=r&&t.allowTouchMove&&o.touchStartPreventDefault,!o.touchStartForcePreventDefault&&!h||l[0].isContentEditable||s.preventDefault()),t.emit("touchStart",s)}}}},n("/xfr")),p=r(n("Jq2x")),y=n("cKS0")},XGnz:function(e,t,n){var u=n("CH3K"),c=n("BiGR");e.exports=function e(t,n,r,i,o){var a=-1,s=t.length;for(r=r||c,o=o||[];++a<s;){var l=t[a];0<n&&r(l)?1<n?e(l,n-1,r,i,o):u(o,l):i||(o[o.length]=l)}return o}},XLvN:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:true,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="రాత్రి")return e<4?e:e+12;else if(t==="ఉదయం")return e;else if(t==="మధ్యాహ్నం")return e>=10?e:e+12;else if(t==="సాయంత్రం")return e+12},meridiem:function(e,t,n){if(e<4)return"రాత్రి";else if(e<10)return"ఉదయం";else if(e<17)return"మధ్యాహ్నం";else if(e<20)return"సాయంత్రం";else return"రాత్రి"},week:{dow:0,doy:6}})}(n("wd/R"))},XTcp:function(e,t,n){"use strict";function r(e){return function(){P(e)}}function i(e){P(e.data)}function o(e){l.postMessage(C(e),a.protocol+"//"+a.host)}var a,s,l=n("Ks5W"),u=n("1mOU"),c=n("mcoe"),f=n("JTf3"),h=n("YELS"),d=n("eRwv"),p=n("bUA4"),y=n("0r2v"),m=n("me6S"),g=n("k2qh"),v=n("GgKt"),n=n("IGIO"),b=l.setImmediate,_=l.clearImmediate,x=l.process,w=l.Dispatch,A=l.Function,S=l.MessageChannel,C=l.String,O=0,E={},M="onreadystatechange",P=(d(function(){a=l.location}),function(e){var t;h(E,e)&&(t=E[e],delete E[e],t())});b&&_||(b=function(e){g(arguments.length,1);var t=f(e)?e:A(e),n=y(arguments,1);return E[++O]=function(){u(t,void 0,n)},s(O),O},_=function(e){delete E[e]},n?s=function(e){x.nextTick(r(e))}:w&&w.now?s=function(e){w.now(r(e))}:S&&!v?(v=(n=new S).port2,n.port1.onmessage=i,s=c(v.postMessage,v)):l.addEventListener&&f(l.postMessage)&&!l.importScripts&&a&&"file:"!==a.protocol&&!d(o)?(s=o,l.addEventListener("message",i,!1)):s=M in m("script")?function(e){p.appendChild(m("script"))[M]=function(){p.removeChild(this),P(e)}}:function(e){setTimeout(r(e),0)}),e.exports={set:b,clear:_}},XYMX:function(e,t,n){"use strict";n.r(t);var r,i=n("npCK"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},XYm9:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){return t=t?r(e.buffer):e.buffer,new e.constructor(t,e.byteOffset,e.byteLength)}},XaGS:function(e,Ne,t){!function(e,t){var r="__lodash_hash_undefined__",B=1,q=2,S=9007199254740991,R="[object Arguments]",N="[object Array]",C="[object AsyncFunction]",K="[object Boolean]",X="[object Date]",J="[object Error]",O="[object Function]",E="[object GeneratorFunction]",z="[object Map]",$="[object Number]",M="[object Null]",F="[object Object]",P="[object Promise]",k="[object Proxy]",Z="[object RegExp]",V="[object Set]",ee="[object String]",te="[object Symbol]",T="[object Undefined]",n="[object WeakMap]",ne="[object ArrayBuffer]",H="[object DataView]",I=/^\[object .+?Constructor\]$/,L=/^(?:0|[1-9]\d*)$/,i={},e=(i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i[R]=i[N]=i[ne]=i[K]=i[H]=i[X]=i[J]=i[O]=i[z]=i[$]=i[F]=i[Z]=i[V]=i[ee]=i[n]=!1,"object"==typeof e&&e&&e.Object===Object&&e),o="object"==typeof self&&self&&self.Object===Object&&self,o=e||o||Function("return this")(),a=Ne&&!Ne.nodeType&&Ne,s=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=s&&s.exports===a,l=s&&e.process,a=function(){try{return l&&l.binding&&l.binding("util")}catch(e){}}(),e=a&&a.isTypedArray;function re(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function ie(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var j,D,a=Array.prototype,u=Function.prototype,c=Object.prototype,f=o["__core-js_shared__"],oe=u.toString,Y=c.hasOwnProperty,ae=(u=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",se=c.toString,le=RegExp("^"+oe.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=s?o.Buffer:void 0,u=o.Symbol,ue=o.Uint8Array,ce=c.propertyIsEnumerable,fe=a.splice,h=u?u.toStringTag:void 0,he=Object.getOwnPropertySymbols,s=f?f.isBuffer:void 0,de=(j=Object.keys,D=Object,function(e){return j(D(e))}),a=w(o,"DataView"),d=w(o,"Map"),f=w(o,"Promise"),pe=w(o,"Set"),o=w(o,"WeakMap"),p=w(Object,"create"),ye=A(a),me=A(d),ge=A(f),ve=A(pe),be=A(o),u=u?u.prototype:void 0,_e=u?u.valueOf:void 0;function y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function m(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function g(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function v(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new g;++t<n;)this.add(e[t])}function G(e){e=this.__data__=new m(e);this.size=e.size}function xe(e,t){var n,r,i,o=Q(e),a=!o&&ke(e),s=!o&&!a&&Te(e),l=!o&&!a&&!s&&Be(e),u=o||a||s||l,c=u?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],f=c.length;for(n in e)!t&&!Y.call(e,n)||u&&("length"==n||s&&("offset"==n||"parent"==n)||l&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||(r=n,(i=null==(i=f)?S:i)&&("number"==typeof r||L.test(r))&&-1<r&&r%1==0&&r<i))||c.push(n);return c}function b(e,t){for(var n=e.length;n--;)if(Pe(e[n][0],t))return n;return-1}function _(e){if(null==e)return void 0===e?T:M;if(h&&h in Object(e)){var t=e,n=Y.call(t,h),r=t[h];try{var i=!(t[h]=void 0)}catch(e){}var o=se.call(t);return i&&(n?t[h]=r:delete t[h]),o}return se.call(e)}function we(e){return W(e)&&_(e)==R}function Ae(e,t,n,r,i){if(e===t)return!0;if(null==e||null==t||!W(e)&&!W(t))return e!=e&&t!=t;var o=Ae,a=Q(e),s=Q(t),l=a?N:U(e),s=s?N:U(t),u=(l=l==R?F:l)==F,c=(s=s==R?F:s)==F;if((s=l==s)&&Te(e)){if(!Te(t))return!1;u=!(a=!0)}if(s&&!u){i=i||new G;if(a||Be(e))return Oe(e,t,n,r,o,i);else{var f=e;var h=t;var d=l;var p=n;var y=r;var m=o;var g=i;switch(d){case H:if(f.byteLength!=h.byteLength||f.byteOffset!=h.byteOffset)return!1;f=f.buffer,h=h.buffer;case ne:return f.byteLength==h.byteLength&&m(new ue(f),new ue(h))?!0:!1;case K:case X:case $:return Pe(+f,+h);case J:return f.name==h.name&&f.message==h.message;case Z:case ee:return f==h+"";case z:var v=re;case V:var b=p&B;if(v=v||ie,f.size!=h.size&&!b)return!1;b=g.get(f);if(b)return b==h;p|=q,g.set(f,h);b=Oe(v(f),v(h),p,y,m,g);return g.delete(f),b;case te:if(_e)return _e.call(f)==_e.call(h)}return!1;return}}if(!(n&B)){var a=u&&Y.call(e,"__wrapped__"),l=c&&Y.call(t,"__wrapped__");if(a||l)return u=a?e.value():e,c=l?t.value():t,i=i||new G,o(u,c,n,r,i)}if(s){i=i||new G;var _=e,x=t,w=n,A=r,S=o,C=i,O=w&B,E=Ee(_),M=E.length,a=Ee(x).length;if(M!=a&&!O)return!1;for(var P=M;P--;){var k=E[P];if(!(O?k in x:Y.call(x,k)))return!1}if((a=C.get(_))&&C.get(x))return a==x;for(var T=!0,I=(C.set(_,x),C.set(x,_),O);++P<M;){k=E[P];var L,j=_[k],D=x[k];if(!(void 0===(L=A?O?A(D,j,k,x,_,C):A(j,D,k,_,x,C):L)?j===D||S(j,D,w,A,C):L)){T=!1;break}I=I||"constructor"==k}return T&&!I&&(a=_.constructor,l=x.constructor,a!=l)&&"constructor"in _&&"constructor"in x&&!("function"==typeof a&&a instanceof a&&"function"==typeof l&&l instanceof l)&&(T=!1),C.delete(_),C.delete(x),T}return!1}function Se(e){var t;return je(e)&&(t=e,!(ae&&ae in t))&&(Ie(e)?le:I).test(A(e))}function Ce(e){if(n="function"==typeof(n=(t=e)&&t.constructor)&&n.prototype||c,t!==n)return de(e);var t,n,r,i=[];for(r in Object(e))Y.call(e,r)&&"constructor"!=r&&i.push(r);return i}function Oe(e,t,n,r,i,o){var a=n&B,s=e.length,l=t.length;if(s!=l&&!(a&&s<l))return!1;l=o.get(e);if(l&&o.get(t))return l==t;var u=-1,c=!0,f=n&q?new v:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var h,d=e[u],p=t[u];if(void 0!==(h=r?a?r(p,d,u,t,e,o):r(d,p,u,e,t,o):h)){if(h)continue;c=!1;break}if(f){if(!function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return 1}(t,function(e,t){return!f.has(t)&&(d===e||i(d,e,n,r,o))&&f.push(t)})){c=!1;break}}else if(d!==p&&!i(d,p,n,r,o)){c=!1;break}}return o.delete(e),o.delete(t),c}function Ee(e){var t=Re,n=Me;if(t=t(e),Q(e))return t;for(var r=t,i=n(e),o=-1,a=i.length,s=r.length;++o<a;)r[s+o]=i[o];return r}function x(e,t){var n,r,e=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?e["string"==typeof t?"string":"hash"]:e.map}function w(e,t){t=t;e=null==(e=e)?void 0:e[t];return Se(e)?e:void 0}y.prototype.clear=function(){this.__data__=p?p(null):{},this.size=0},y.prototype.delete=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e},y.prototype.get=function(e){var t,n=this.__data__;return p?(t=n[e])===r?void 0:t:Y.call(n,e)?n[e]:void 0},y.prototype.has=function(e){var t=this.__data__;return p?void 0!==t[e]:Y.call(t,e)},y.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=p&&void 0===t?r:t,this},m.prototype.clear=function(){this.__data__=[],this.size=0},m.prototype.delete=function(e){var t=this.__data__;return!((e=b(t,e))<0||(e==t.length-1?t.pop():fe.call(t,e,1),--this.size,0))},m.prototype.get=function(e){var t=this.__data__;return(e=b(t,e))<0?void 0:t[e][1]},m.prototype.has=function(e){return-1<b(this.__data__,e)},m.prototype.set=function(e,t){var n=this.__data__,r=b(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},g.prototype.clear=function(){this.size=0,this.__data__={hash:new y,map:new(d||m),string:new y}},g.prototype.delete=function(e){return e=x(this,e).delete(e),this.size-=e?1:0,e},g.prototype.get=function(e){return x(this,e).get(e)},g.prototype.has=function(e){return x(this,e).has(e)},g.prototype.set=function(e,t){var n=x(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},v.prototype.add=v.prototype.push=function(e){return this.__data__.set(e,r),this},v.prototype.has=function(e){return this.__data__.has(e)},G.prototype.clear=function(){this.__data__=new m,this.size=0},G.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e},G.prototype.get=function(e){return this.__data__.get(e)},G.prototype.has=function(e){return this.__data__.has(e)},G.prototype.set=function(e,t){var n=this.__data__;if(n instanceof m){var r=n.__data__;if(!d||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new g(r)}return n.set(e,t),this.size=n.size,this};var Me=he?function(t){if(null==t)return[];t=Object(t);for(var e=he(t),n=function(e){return ce.call(t,e)},r=-1,i=null==e?0:e.length,o=0,a=[];++r<i;){var s=e[r];n(s,r,e)&&(a[o++]=s)}return a}:function(){return[]},U=_;function A(e){if(null!=e){try{return oe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Pe(e,t){return e===t||e!=e&&t!=t}(a&&U(new a(new ArrayBuffer(1)))!=H||d&&U(new d)!=z||f&&U(f.resolve())!=P||pe&&U(new pe)!=V||o&&U(new o)!=n)&&(U=function(e){var t=_(e),e=t==F?e.constructor:void 0,e=e?A(e):"";if(e)switch(e){case ye:return H;case me:return z;case ge:return P;case ve:return V;case be:return n}return t});var ke=we(function(){return arguments}())?we:function(e){return W(e)&&Y.call(e,"callee")&&!ce.call(e,"callee")},Q=Array.isArray;var Te=s||function(){return!1};function Ie(e){if(je(e))return(e=_(e))==O||e==E||e==C||e==k}function Le(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=S}function je(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function W(e){return null!=e&&"object"==typeof e}var De,Be=e?(De=e,function(e){return De(e)}):function(e){return W(e)&&Le(e.length)&&!!i[_(e)]};function Re(e){return(null!=(t=e)&&Le(t.length)&&!Ie(t)?xe:Ce)(e);var t}t.exports=function(e,t){return Ae(e,t)}}.call(this,t("yLpj"),t("YuTi")(e))},XaNE:function(e,t,n){"use strict";var r=n("x0Ve"),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},Xchd:function(e,t,n){"use strict";var r=n("TqRt"),y=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Jq2x"))),m=n("cKS0");function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var o={update:function(){var e=this,t=e.rtl,n=e.params.pagination;if(n.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var r,i=(e.virtual&&e.params.virtual.enabled?e.virtual:e).slides.length,o=e.pagination.$el,a=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((r=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>i-1-2*e.loopedSlides&&(r-=i-2*e.loopedSlides),a-1<r&&(r-=a),r<0&&"bullets"!==e.params.paginationType&&(r=a+r)):r=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&0<e.pagination.bullets.length){var s,l,u,c=e.pagination.bullets;if(n.dynamicBullets&&(e.pagination.bulletSize=c.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),1<n.dynamicMainBullets&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=r-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),s=r-e.pagination.dynamicBulletIndex,u=((l=s+(Math.min(c.length,n.dynamicMainBullets)-1))+s)/2),c.removeClass(n.bulletActiveClass+" "+n.bulletActiveClass+"-next "+n.bulletActiveClass+"-next-next "+n.bulletActiveClass+"-prev "+n.bulletActiveClass+"-prev-prev "+n.bulletActiveClass+"-main"),1<o.length)c.each(function(e){var e=(0,y.default)(e),t=e.index();t===r&&e.addClass(n.bulletActiveClass),n.dynamicBullets&&(s<=t&&t<=l&&e.addClass(n.bulletActiveClass+"-main"),t===s&&e.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),t===l)&&e.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")});else{var i=c.eq(r),f=i.index();if(i.addClass(n.bulletActiveClass),n.dynamicBullets){for(var i=c.eq(s),h=c.eq(l),d=s;d<=l;d+=1)c.eq(d).addClass(n.bulletActiveClass+"-main");if(e.params.loop)if(f>=c.length-n.dynamicMainBullets){for(var p=n.dynamicMainBullets;0<=p;--p)c.eq(c.length-p).addClass(n.bulletActiveClass+"-main");c.eq(c.length-n.dynamicMainBullets-1).addClass(n.bulletActiveClass+"-prev")}else i.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),h.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next");else i.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),h.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")}}n.dynamicBullets&&(f=Math.min(c.length,n.dynamicMainBullets+4),i=(e.pagination.bulletSize*f-e.pagination.bulletSize)/2-u*e.pagination.bulletSize,h=t?"right":"left",c.css(e.isHorizontal()?h:"top",i+"px"))}"fraction"===n.type&&(o.find((0,m.classesToSelector)(n.currentClass)).text(n.formatFractionCurrent(r+1)),o.find((0,m.classesToSelector)(n.totalClass)).text(n.formatFractionTotal(a))),"progressbar"===n.type&&(f=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical",u=(r+1)/a,h=t=1,"horizontal"===f?t=u:h=u,o.find((0,m.classesToSelector)(n.progressbarFillClass)).transform("translate3d(0,0,0) scaleX("+t+") scaleY("+h+")").transition(e.params.speed)),"custom"===n.type&&n.renderCustom?(o.html(n.renderCustom(e,r+1,a)),e.emit("paginationRender",o[0])):e.emit("paginationUpdate",o[0]),e.params.watchOverflow&&e.enabled&&o[e.isLocked?"addClass":"removeClass"](n.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n=(e.virtual&&e.params.virtual.enabled?e.virtual:e).slides.length,r=e.pagination.$el,i="";if("bullets"===t.type){var o=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&n<o&&(o=n);for(var a=0;a<o;a+=1)t.renderBullet?i+=t.renderBullet.call(e,a,t.bulletClass):i+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";r.html(i),e.pagination.bullets=r.find((0,m.classesToSelector)(t.bulletClass))}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',r.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',r.html(i)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e,t=this,n=(t.params.pagination=(0,m.createElementIfNotDefined)(t.$el,t.params.pagination,t.params.createElements,{el:"swiper-pagination"}),t.params.pagination);!n.el||0===(e=(0,y.default)(n.el)).length||(t.params.uniqueNavElements&&"string"==typeof n.el&&1<e.length&&(e=t.$el.find(n.el)),"bullets"===n.type&&n.clickable&&e.addClass(n.clickableClass),e.addClass(n.modifierClass+n.type),"bullets"===n.type&&n.dynamicBullets&&(e.addClass(""+n.modifierClass+n.type+"-dynamic"),t.pagination.dynamicBulletIndex=0,n.dynamicMainBullets<1)&&(n.dynamicMainBullets=1),"progressbar"===n.type&&n.progressbarOpposite&&e.addClass(n.progressbarOppositeClass),n.clickable&&e.on("click",(0,m.classesToSelector)(n.bulletClass),function(e){e.preventDefault();e=(0,y.default)(this).index()*t.params.slidesPerGroup;t.params.loop&&(e+=t.loopedSlides),t.slideTo(e)}),(0,m.extend)(t.pagination,{$el:e,el:e[0]}),t.enabled)||e.addClass(n.lockClass)},destroy:function(){var e,t=this.params.pagination;t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length&&((e=this.pagination.$el).removeClass(t.hiddenClass),e.removeClass(t.modifierClass+t.type),this.pagination.bullets&&this.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable)&&e.off("click",(0,m.classesToSelector)(t.bulletClass))}};t.default={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){(0,m.bindModuleMethods)(this,{pagination:i({dynamicBulletIndex:0},o)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},"enable disable":function(e){var t=e.pagination.$el;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)},click:function(e,t){t=t.target;e.params.pagination.el&&e.params.pagination.hideOnClick&&0<e.pagination.$el.length&&!(0,y.default)(t).hasClass(e.params.pagination.bulletClass)&&(e.navigation&&(e.navigation.nextEl&&t===e.navigation.nextEl||e.navigation.prevEl&&t===e.navigation.prevEl)||(!0===e.pagination.$el.hasClass(e.params.pagination.hiddenClass)?e.emit("paginationShow"):e.emit("paginationHide"),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass)))}}}},XfsE:function(e,t,n){"use strict";n.r(t);var r,i=n("MAwk");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},Xi7e:function(e,t,n){var r=n("KMkd"),i=n("adU4"),o=n("tMB7"),a=n("+6XX"),n=n("Z8oC");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=n,e.exports=s},Xo5E:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("TFue"))),r=r(n("WlrG")),n={mixins:[i.default,r.default],inheritAttrs:!1,model:{prop:"value",event:"change.value"},computed:{extralListeners:function(){var t=this;return{"change.value":function(e){t.$emit("change.value",e)}}}}};t.default=n},Xp4B:function(e,t,n){"use strict";function o(e){return(o="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})(e)}n.d(t,"a",function(){return r});var ve=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],be=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function s(e,t,n,r,i){if(!((e="string"==typeof e?document.getElementById(e):e)&&"object"===o(e)&&"getContext"in e))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");e=e.getContext("2d");try{return e.getImageData(t,n,r,i)}catch(e){throw new Error("unable to access image data: "+e)}}function r(e,t,n,r,i,o){var a;isNaN(o)||o<1||(o|=0,a=function(B,e,R,t){for(var N,n=B.data,z=2*t+1,r=e-1,F=R-1,i=t+1,o=i*(i+1)/2,a=new _e,s=a,V=1;V<z;V++)s=s.next=new _e,V===i&&(N=s);s.next=a;for(var l=null,u=null,H=0,c=0,f=ve[t],h=be[t],Y=0;Y<R;Y++){s=a;for(var G=n[c],U=n[c+1],Q=n[c+2],W=n[c+3],q=0;q<i;q++)s.r=G,s.g=U,s.b=Q,s.a=W,s=s.next;for(var d=0,p=0,y=0,m=0,K=i*G,X=i*U,J=i*Q,$=i*W,g=o*G,v=o*U,b=o*Q,_=o*W,x=1;x<i;x++){var w=c+((r<x?r:x)<<2),Z=n[w],ee=n[w+1],te=n[w+2],w=n[w+3],A=i-x;g+=(s.r=Z)*A,v+=(s.g=ee)*A,b+=(s.b=te)*A,_+=(s.a=w)*A,d+=Z,p+=ee,y+=te,m+=w,s=s.next}l=a,u=N;for(var ne=0;ne<e;ne++){var S=_*f>>h,S=(0!=(n[c+3]=S)?(S=255/S,n[c]=(g*f>>h)*S,n[c+1]=(v*f>>h)*S,n[c+2]=(b*f>>h)*S):n[c]=n[c+1]=n[c+2]=0,g-=K,v-=X,b-=J,_-=$,K-=l.r,X-=l.g,J-=l.b,$-=l.a,ne+t+1);S=H+(S<r?S:r)<<2,d+=l.r=n[S],p+=l.g=n[1+S],y+=l.b=n[2+S],m+=l.a=n[3+S],g+=d,v+=p,b+=y,_+=m,l=l.next;var S=u.r,re=u.g,ie=u.b,oe=u.a;K+=S,X+=re,J+=ie,$+=oe,d-=S,p-=re,y-=ie,m-=oe,u=u.next,c+=4}H+=e}for(var C=0;C<e;C++){var O=n[c=C<<2],E=n[c+1],M=n[c+2],P=n[c+3],ae=i*O,se=i*E,le=i*M,ue=i*P,k=o*O,T=o*E,I=o*M,L=o*P;s=a;for(var ce=0;ce<i;ce++)s.r=O,s.g=E,s.b=M,s.a=P,s=s.next;for(var fe=e,he=0,de=0,pe=0,ye=0,j=1;j<=t;j++){c=fe+C<<2;var me=i-j;k+=(s.r=O=n[c])*me,T+=(s.g=E=n[c+1])*me,I+=(s.b=M=n[c+2])*me,L+=(s.a=P=n[c+3])*me,ye+=O,he+=E,de+=M,pe+=P,s=s.next,j<F&&(fe+=e)}c=C,l=a,u=N;for(var ge=0;ge<R;ge++){var D=c<<2;n[3+D]=P=L*f>>h,0<P?(P=255/P,n[D]=(k*f>>h)*P,n[1+D]=(T*f>>h)*P,n[2+D]=(I*f>>h)*P):n[D]=n[1+D]=n[2+D]=0,k-=ae,T-=se,I-=le,L-=ue,ae-=l.r,se-=l.g,le-=l.b,ue-=l.a,D=C+((D=ge+i)<F?D:F)*e<<2,k+=ye+=l.r=n[D],T+=he+=l.g=n[1+D],I+=de+=l.b=n[2+D],L+=pe+=l.a=n[3+D],l=l.next,ae+=O=u.r,se+=E=u.g,le+=M=u.b,ue+=P=u.a,ye-=O,he-=E,de-=M,pe-=P,u=u.next,c+=e}}return B}(a=s(e,t,n,r,i),r,i,o),e.getContext("2d").putImageData(a,t,n))}var _e=function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}},Xvvz:function(e,t,n){"use strict";var r=n("GPT2"),i=n("g6so"),o=n("2xRk");r.default.Group=i.default,r.default.install=function(e){e.use(o.default),e.component(r.default.name,r.default),e.component(i.default.name,i.default)},t.a=r.default},Y5fm:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII="},Y7ZC:function(e,t,n){function y(e,t,n){var r,i,o,a=e&y.F,s=e&y.G,l=e&y.S,u=e&y.P,c=e&y.B,f=e&y.W,h=s?g:g[t]||(g[t]={}),d=h[x],p=s?m:l?m[t]:(m[t]||{})[x];for(r in n=s?t:n)(i=!a&&p&&void 0!==p[r])&&_(h,r)||(o=(i?p:n)[r],h[r]=s&&"function"!=typeof p[r]?n[r]:c&&i?v(o,m):f&&p[r]==o?function(r){function e(e,t,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,n)}return r.apply(this,arguments)}return e[x]=r[x],e}(o):u&&"function"==typeof o?v(Function.call,o):o,u&&((h.virtual||(h.virtual={}))[r]=o,e&y.R)&&d&&!d[r]&&b(d,r,o))}var m=n("5T2Y"),g=n("WEpk"),v=n("2GTP"),b=n("NegM"),_=n("B+OT"),x="prototype";y.F=1,y.G=2,y.S=4,y.P=8,y.B=16,y.W=32,y.U=64,y.R=128,e.exports=y},Y8hN:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("6UZ0"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},YA2J:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=n("DSM6"),r=function(n){function e(e){var t=n.call(this,e)||this;return t.dataName=e.dataName,t.name=e.name||(0,o.geti18n)().t("commontypes.restData"),t}return(0,i.default)(e,n),e}(r(n("yMH/")).default);t.default=r},YEIV:function(e,t,n){"use strict";t.__esModule=!0;var n=n("SEkw"),r=(n=n)&&n.__esModule?n:{default:n};t.default=function(e,t,n){return t in e?(0,r.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},YELS:function(e,t,n){"use strict";var r=n("aLaa"),i=n("721z"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},YESw:function(e,t,n){n=n("Cwc5")(Object,"create");e.exports=n},YEkR:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("TFue"))),r=r(n("WlrG")),n={mixins:[i.default,r.default],inheritAttrs:!1,model:{prop:"value",event:"change"},computed:{extralListeners:function(){var t=this;return{change:function(e){t.$emit("change",e)}}}}};t.default=n},YGmK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===e&&(e=this.params.speed);void 0===t&&(t=!0);var r=this,i=r.params,o=r.animating,a=r.snapGrid,s=r.slidesGrid,l=r.rtlTranslate;if(!r.enabled)return r;if(i.loop){if(o&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var c,f=u(l?r.translate:-r.translate),o=a.map(u),h=a[o.indexOf(f)-1];void 0===h&&i.cssMode&&a.forEach(function(e){!h&&e<=f&&(h=e)});void 0!==h&&(c=s.indexOf(h))<0&&(c=r.activeIndex-1);return r.slideTo(c,e,t,n)}},YIvg:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.sliderTypes=t.default=void 0,function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=a(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("+99c"))),o=r(n("TFue")),r=r(n("WlrG"));function a(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(a=function(e){return e?n:t})(e))}n=Object.assign({},(0,i.SliderProps)()),t.sliderTypes=n,i={name:"SmSlider",defaultComponent:i.default,mixins:[o.default,r.default],inheritAttrs:!1,model:{prop:"value",event:"change"},props:n,computed:{extralListeners:function(){var t=this;return{change:function(e){t.$emit("change",e)}}}}};t.default=i},YJnY:function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE_YJnY__},YKMj:function(e,t,n){"use strict";n.r(t),n.d(t,"Component",function(){return u}),n.d(t,"Vue",function(){return i.a}),n.d(t,"Mixins",function(){return a}),n.d(t,"Inject",function(){return m}),n.d(t,"InjectReactive",function(){return g}),n.d(t,"Provide",function(){return _}),n.d(t,"ProvideReactive",function(){return x}),n.d(t,"Model",function(){return S}),n.d(t,"Prop",function(){return C}),n.d(t,"PropSync",function(){return O}),n.d(t,"Watch",function(){return E}),n.d(t,"Emit",function(){return k}),n.d(t,"Ref",function(){return T});var t=n("i7/w"),i=n.n(t);
- /**
- * vue-class-component v7.2.6
- * (c) 2015-present Evan You
- * @license MIT
- */
- function f(e){return(f="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})(e)}function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function h(n,r,i){(i?Reflect.getOwnMetadataKeys(r,i):Reflect.getOwnMetadataKeys(r)).forEach(function(e){var t=i?Reflect.getOwnMetadata(e,r,i):Reflect.getOwnMetadata(e,r);i?Reflect.defineMetadata(e,t,n,i):Reflect.defineMetadata(e,t,n)})}var d={__proto__:[]}instanceof Array;function o(r){return function(e,t,n){e="function"==typeof e?e:e.constructor;e.__decorators__||(e.__decorators__=[]),"number"!=typeof n&&(n=void 0),e.__decorators__.push(function(e){return r(e,t,n)})}}function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.a.extend({mixins:t})}var p=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function s(o,e){var a,s,l,t,n,u=1<arguments.length&&void 0!==e?e:{},c=(u.name=u.name||o._componentTag||o.name,o.prototype),e=(Object.getOwnPropertyNames(c).forEach(function(r){var i;"constructor"!==r&&(-1<p.indexOf(r)?u[r]=c[r]:void 0!==(i=Object.getOwnPropertyDescriptor(c,r)).value?"function"==typeof i.value?(u.methods||(u.methods={}))[r]=i.value:(u.mixins||(u.mixins=[])).push({data:function(){return e={},t=r,n=i.value,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}):(i.get||i.set)&&((u.computed||(u.computed={}))[r]={get:i.get,set:i.set}))}),(u.mixins||(u.mixins=[])).push({data:function(){return r=this,t=(e=o).prototype._init,e.prototype._init=function(){var e=this,t=Object.getOwnPropertyNames(r);if(r.$options.props)for(var n in r.$options.props)r.hasOwnProperty(n)||t.push(n);t.forEach(function(t){Object.defineProperty(e,t,{get:function(){return r[t]},set:function(e){r[t]=e},configurable:!0})})},n=new e,e.prototype._init=t,i={},Object.keys(n).forEach(function(e){void 0!==n[e]&&(i[e]=n[e])}),i;var r,e,t,n,i}}),o.__decorators__),e=(e&&(e.forEach(function(e){return e(u)}),delete o.__decorators__),Object.getPrototypeOf(o.prototype)),e=e instanceof i.a?e.constructor:i.a,r=e.extend(u);return a=r,s=o,l=e,Object.getOwnPropertyNames(s).forEach(function(e){if(!y[e]){var t=Object.getOwnPropertyDescriptor(a,e);if(!t||t.configurable){var n,r,t=Object.getOwnPropertyDescriptor(s,e);if(!d){if("cid"===e)return;var i=Object.getOwnPropertyDescriptor(l,e);if(n=t.value,r=f(n),null!=n&&("object"===r||"function"===r)&&i&&i.value===t.value)return}Object.defineProperty(a,e,t)}}}),"undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys&&(h(t=r,n=o),Object.getOwnPropertyNames(n.prototype).forEach(function(e){h(t.prototype,n.prototype,e)}),Object.getOwnPropertyNames(n).forEach(function(e){h(t,n,e)})),r}var y={prototype:!0,arguments:!0,callee:!0,caller:!0};function l(t){return"function"==typeof t?s(t):function(e){return s(e,t)}}l.registerHooks=function(e){p.push.apply(p,r(e))};var u=l,c="__reactiveInject__";function m(n){return o(function(e,t){void 0===e.inject&&(e.inject={}),Array.isArray(e.inject)||(e.inject[t]=n||t)})}function g(i){return o(function(e,t){var n,r;void 0===e.inject&&(e.inject={}),Array.isArray(e.inject)||(n=i?i.from||i:t,r=!!i&&i.default||void 0,e.computed||(e.computed={}),e.computed[t]=function(){var e=this[c];return e?e[n]:r},e.inject[c]=c)})}function v(i){function o(){var t=this,n="function"==typeof i?i.call(this):i;for(e in(n=Object.create(n||null))[c]=this[c]||{},o.managed)n[o.managed[e]]=this[e];var e,r=this;for(e in o.managedReactive)!function(e){n[o.managedReactive[e]]=r[e],Object.defineProperty(n[c],o.managedReactive[e],{enumerable:!0,get:function(){return t[e]}})}(e);return n}return o.managed={},o.managedReactive={},o}function b(e){return"function"!=typeof e||!e.managed&&!e.managedReactive}function _(r){return o(function(e,t){var n=e.provide;(n=b(n)?e.provide=v(n):n).managed[t]=r||t})}function x(r){return o(function(e,t){var n=e.provide;Array.isArray(e.inject)||(e.inject=e.inject||{},e.inject[c]={from:c,default:{}}),(n=b(n)?e.provide=v(n):n).managedReactive[t]=r||t})}var w="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function A(e,t,n){w&&!Array.isArray(e)&&"function"!=typeof e&&void 0===e.type&&(t=Reflect.getMetadata("design:type",t,n))!==Object&&(e.type=t)}function S(n,r){return void 0===r&&(r={}),function(e,t){A(r,e,t),o(function(e,t){(e.props||(e.props={}))[t]=r,e.model={prop:t,event:n||t}})(e,t)}}function C(n){return void 0===n&&(n={}),function(e,t){A(n,e,t),o(function(e,t){(e.props||(e.props={}))[t]=n})(e,t)}}function O(n,r){return void 0===r&&(r={}),function(e,t){A(r,e,t),o(function(e,t){(e.props||(e.props={}))[n]=r,(e.computed||(e.computed={}))[t]={get:function(){return this[n]},set:function(e){this.$emit("update:"+n,e)}}})(e,t)}}function E(n,e){var t=(e=void 0===e?{}:e).deep,r=void 0!==t&&t,t=e.immediate,i=void 0!==t&&t;return o(function(e,t){"object"!=typeof e.watch&&(e.watch=Object.create(null));e=e.watch;"object"!=typeof e[n]||Array.isArray(e[n])?void 0===e[n]&&(e[n]=[]):e[n]=[e[n]],e[n].push({handler:t,deep:r,immediate:i})})}var M=/\B([A-Z])/g,P=function(e){return e.replace(M,"-$1").toLowerCase()};function k(l){return function(e,t,n){var a=P(t),s=n.value;n.value=function(){for(var n=this,r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];function t(e){var t=l||a;void 0===e?0===r.length?n.$emit(t):1===r.length?n.$emit(t,r[0]):n.$emit.apply(n,[t].concat(r)):0===r.length?n.$emit(t,e):1===r.length?n.$emit(t,e,r[0]):n.$emit.apply(n,[t,e].concat(r))}var i,o=s.apply(this,r);return(i=o)instanceof Promise||i&&"function"==typeof i.then?o.then(t):t(o),o}}}function T(n){return o(function(e,t){e.computed=e.computed||{},e.computed[t]={cache:!1,get:function(){return this.$refs[n||t]}}})}},YKop:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("C07L"))),o=r(n("j+GC")),a=r(n("2Z54")),r=(o.default.install=function(e,t){(0,a.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default)},o.default);t.default=r},YO3V:function(e,t,n){var r=n("NykK"),i=n("LcsW"),o=n("ExA7"),n=Function.prototype,a=Object.prototype,s=n.toString,l=a.hasOwnProperty,u=s.call(Object);e.exports=function(e){return!(!o(e)||"[object Object]"!=r(e))&&(null===(e=i(e))||"function"==typeof(e=l.call(e,"constructor")&&e.constructor)&&e instanceof e&&s.call(e)==u)}},YRex:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="يېرىم كېچە"||t==="سەھەر"||t==="چۈشتىن بۇرۇن")return e;else if(t==="چۈشتىن كېيىن"||t==="كەچ")return e+12;else return e>=11?e:e+12},meridiem:function(e,t,n){var r=e*100+t;if(r<600)return"يېرىم كېچە";else if(r<900)return"سەھەر";else if(r<1130)return"چۈشتىن بۇرۇن";else if(r<1230)return"چۈش";else if(r<1800)return"چۈشتىن كېيىن";else return"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n("wd/R"))},"YY/H":function(G,e,t){!function(e){var r="__lodash_hash_undefined__",n=9007199254740991,i="[object Arguments]",t="[object Function]",o="[object GeneratorFunction]",a=/^\[object .+?Constructor\]$/,e="object"==typeof e&&e&&e.Object===Object&&e,s="object"==typeof self&&self&&self.Object===Object&&self,e=e||s||Function("return this")();function p(e,t){return!!(e?e.length:0)&&-1<function(e,t,n){if(t!=t)return function(e,t,n,r){var i=e.length,o=n+(r?1:-1);for(;r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,l,n);var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,0)}function y(e,t,n){for(var r=-1,i=e?e.length:0;++r<i;)if(n(t,e[r]))return!0;return!1}function l(e){return e!=e}function m(e,t){return e.has(t)}var s=Array.prototype,u=Function.prototype,c=Object.prototype,f=e["__core-js_shared__"],h=(f=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",d=u.toString,g=c.hasOwnProperty,v=c.toString,b=RegExp("^"+d.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=e.Symbol,_=c.propertyIsEnumerable,B=s.splice,x=f?f.isConcatSpreadable:void 0,w=Math.max,R=k(e,"Map"),A=k(Object,"create");function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function E(e){var t=-1,n=e?e.length:0;for(this.__data__=new O;++t<n;)this.add(e[t])}function M(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!=n&&r!=r)return i;return-1}function N(e,t,n,r){var i,o=-1,a=p,s=!0,l=e.length,u=[],c=t.length;if(l){n&&(t=function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}(t,(i=n,function(e){return i(e)}))),r?(a=y,s=!1):200<=t.length&&(a=m,s=!1,t=new E(t));e:for(;++o<l;){var f=e[o],h=n?n(f):f,f=r||0!==f?f:0;if(s&&h==h){for(var d=c;d--;)if(t[d]===h)continue e;u.push(f)}else a(t,h,r)||u.push(f)}}return u}function z(e){var t;return D(e)&&(t=e,!(h&&h in t))&&(j(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?b:a).test(function(e){if(null!=e){try{return d.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function P(e,t){var n,r,e=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?e["string"==typeof t?"string":"hash"]:e.map}function k(e,t){t=t;e=null==(e=e)?void 0:e[t];return z(e)?e:void 0}function F(e){return H(e)||L(t=e)&&g.call(t,"callee")&&(!_.call(t,"callee")||v.call(t)==i)||!!(x&&e&&e[x]);var t}S.prototype.clear=function(){this.__data__=A?A(null):{}},S.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},S.prototype.get=function(e){var t,n=this.__data__;return A?(t=n[e])===r?void 0:t:g.call(n,e)?n[e]:void 0},S.prototype.has=function(e){var t=this.__data__;return A?void 0!==t[e]:g.call(t,e)},S.prototype.set=function(e,t){return this.__data__[e]=A&&void 0===t?r:t,this},C.prototype.clear=function(){this.__data__=[]},C.prototype.delete=function(e){var t=this.__data__;return!((e=M(t,e))<0||(e==t.length-1?t.pop():B.call(t,e,1),0))},C.prototype.get=function(e){var t=this.__data__;return(e=M(t,e))<0?void 0:t[e][1]},C.prototype.has=function(e){return-1<M(this.__data__,e)},C.prototype.set=function(e,t){var n=this.__data__,r=M(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},O.prototype.clear=function(){this.__data__={hash:new S,map:new(R||C),string:new S}},O.prototype.delete=function(e){return P(this,e).delete(e)},O.prototype.get=function(e){return P(this,e).get(e)},O.prototype.has=function(e){return P(this,e).has(e)},O.prototype.set=function(e,t){return P(this,e).set(e,t),this},E.prototype.add=E.prototype.push=function(e){return this.__data__.set(e,r),this},E.prototype.has=function(e){return this.__data__.has(e)};function V(){for(var e=arguments,t=-1,n=w(e.length-I,0),r=Array(n);++t<n;)r[t]=e[I+t];for(var t=-1,i=Array(I+1);++t<I;)i[t]=e[t];i[I]=r;var o=T,a=this,s=i;switch(s.length){case 0:return o.call(a);case 1:return o.call(a,s[0]);case 2:return o.call(a,s[0],s[1]);case 3:return o.call(a,s[0],s[1],s[2])}return o.apply(a,s)}var T,I;T=function(e,t){return L(e)?N(e,function e(t,n,r,i,o){var a=-1,s=t.length;for(r=r||F,o=o||[];++a<s;){var l=t[a];if(0<n&&r(l))if(1<n)e(l,n-1,r,i,o);else{d=h=f=c=u=void 0;for(var u=o,c=l,f=-1,h=c.length,d=u.length;++f<h;)u[d+f]=c[f]}else i||(o[o.length]=l)}return o}(t,1,L,!0)):[]},I=w(void 0===I?T.length-1:I,0);var H=Array.isArray;function Y(e){return null!=e&&"number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=n&&!j(e);var t}function L(e){return!!(t=e)&&"object"==typeof t&&Y(e);var t}function j(e){e=D(e)?v.call(e):"";return e==t||e==o}function D(e){var t=typeof e;return e&&("object"==t||"function"==t)}G.exports=V}.call(this,t("yLpj"))},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YgVm:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.dropdownTypes=t.default=void 0,function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=a(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("pgDu"))),o=r(n("TFue")),r=r(n("WlrG"));function a(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(a=function(e){return e?n:t})(e))}n=Object.assign({},i.DropdownProps),t.dropdownTypes=n,i={name:"SmDropdown",defaultComponent:i.default,mixins:[o.default,r.default],inheritAttrs:!1,model:{prop:"visible",event:"visibleChange"},props:n,computed:{extralListeners:function(){var t=this;return{visibleChange:function(e){t.$emit("visibleChange",e)}}}}};t.default=i},Yi0i:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("wCrk"))),r=r(n("Ojvb")),n={setBreakpoint:i.default,getBreakpoint:r.default};t.default=n},YomP:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("3u6h"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},YqAc:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Yux6:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.weekPickerTypes=t.default=void 0,r(n("C7dx"))),o=n("i9cM"),r=r(n("kuQC")),n=Object.assign({},(0,o.WeekPickerProps)()),o=(t.weekPickerTypes=n,{name:"SmWeekPicker",defaultComponent:i.default.WeekPicker,mixins:[r.default],props:n});t.default=o},"Yzn+":function(e,t,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},Z0cm:function(e,t){var n=Array.isArray;e.exports=n},Z4QM:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],r;e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){if(e<12)return"صبح";return"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("wd/R"))},Z67w:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("cKS0");t.default={useParams:function(t){var n=this;n.modules&&Object.keys(n.modules).forEach(function(e){e=n.modules[e];e.params&&(0,r.extend)(t,e.params)})},useModules:function(n){void 0===n&&(n={});var r=this;r.modules&&Object.keys(r.modules).forEach(function(e){var t=r.modules[e],e=n[e]||{};t.on&&r.on&&Object.keys(t.on).forEach(function(e){r.on(e,t.on[e])}),t.create&&t.create.bind(r)(e)})}}},Z8oC:function(e,t,n){var i=n("y1pI");e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},"Z94/":function(e,t){var n=Object.prototype.toString;e.exports=function(e){return"number"==typeof e||!!(t=e)&&"object"==typeof t&&"[object Number]"==n.call(e);var t}},Z9Xy:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.menuTypes=t.default=void 0,function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=a(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("VfG/"))),o=r(n("TFue")),r=r(n("WlrG"));function a(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(a=function(e){return e?n:t})(e))}n=Object.assign({},i.menuProps),t.menuTypes=n,i={name:"SmMenu",defaultComponent:i.default,mixins:[o.default,r.default],inheritAttrs:!1,model:{prop:"value",event:"change"},props:n,computed:{extralListeners:function(){var t=this;return{change:function(e){t.$emit("change",e)}}}}};t.default=i},ZAMP:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="pagi")return e;else if(t==="tengahari")return e>=11?e:e+12;else if(t==="petang"||t==="malam")return e+12},meridiem:function(e,t,n){if(e<11)return"pagi";else if(e<15)return"tengahari";else if(e<19)return"petang";else return"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZDa7:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.selectTypes=t.default=void 0,function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=s(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("mDm7"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG"));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}n=Object.assign(Object.assign({},i.SelectProps),{showSearch:o.default.bool.def(!1),transitionName:o.default.string.def("slide-up"),choiceTransitionName:o.default.string.def("zoom"),size:o.default.oneOf(["small","large","default","middle"])}),t.selectTypes=n,o={name:"SmSelect",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"value",event:"change"},props:n,computed:{extralListeners:function(){var t=this;return{change:function(e){t.$emit("change",e)}}},extralProps:function(){return{size:"middle"===this.size?void 0:this.size}},componentClass:function(){return{"sm-component-select-md":"middle"===this.size}}}};t.default=o},ZJUq:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.layoutContentTypes=t.default=void 0,r(n("mMUZ"))),o=n("38+u"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},o.BasicProps),o=(t.layoutContentTypes=n,{name:"SmLayoutContent",defaultComponent:i.default.Content,mixins:[a.default,r.default],inheritAttrs:!1,props:n,computed:{extralProps:function(){return{tagName:"main"}}}});t.default=o},ZKpq:function(e,t,n){"use strict";n.r(t);n=n("cyC+");t.default=n.a},ZNmz:function(e,t,n){"use strict";n.r(t);var r,i=n("Tzne"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},ZWtO:function(e,t,n){var i=n("4uTw"),o=n("9Nap");e.exports=function(e,t){for(var n=0,r=(t=i(t,e)).length;null!=e&&n<r;)e=e[o(t[n++])];return n&&n==r?e:void 0}},ZXcA:function(e,t,n){"use strict";var r=n("TqRt"),l=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Jq2x"))),u=n("cKS0");function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var o={getRandomNumber:function(e){return"x".repeat(e=void 0===e?16:e).replace(/x/g,function(){return Math.round(16*Math.random()).toString(16)})},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-roledescription",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterOrSpaceKey:function(e){var t,n;13!==e.keyCode&&32!==e.keyCode||(n=(t=this).params.a11y,e=(0,l.default)(e.target),t.navigation&&t.navigation.$nextEl&&e.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(n.lastSlideMessage):t.a11y.notify(n.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&e.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(n.firstSlideMessage):t.a11y.notify(n.prevSlideMessage)),t.pagination&&e.is((0,u.classesToSelector)(t.params.pagination.bulletClass))&&e[0].click())},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e,t,n=this;!n.params.loop&&n.navigation&&(e=(t=n.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(n.isBeginning?(n.a11y.disableEl(t),n.a11y.makeElNotFocusable(t)):(n.a11y.enableEl(t),n.a11y.makeElFocusable(t))),e)&&0<e.length&&(n.isEnd?(n.a11y.disableEl(e),n.a11y.makeElNotFocusable(e)):(n.a11y.enableEl(e),n.a11y.makeElFocusable(e)))},updatePagination:function(){var t=this,n=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each(function(e){e=(0,l.default)(e);t.a11y.makeElFocusable(e),t.params.pagination.renderBullet||(t.a11y.addElRole(e,"button"),t.a11y.addElLabel(e,n.paginationBulletMessage.replace(/\{\{index\}\}/,e.index()+1)))})},init:function(){var e,t,n=this,r=n.params.a11y,i=(n.$el.append(n.a11y.liveRegion),n.$el),i=(r.containerRoleDescriptionMessage&&n.a11y.addElRoleDescription(i,r.containerRoleDescriptionMessage),r.containerMessage&&n.a11y.addElLabel(i,r.containerMessage),n.$wrapperEl),o=i.attr("id")||"swiper-wrapper-"+n.a11y.getRandomNumber(16),a=n.params.autoplay&&n.params.autoplay.enabled?"off":"polite",s=(n.a11y.addElId(i,o),n.a11y.addElLive(i,a),r.itemRoleDescriptionMessage&&n.a11y.addElRoleDescription((0,l.default)(n.slides),r.itemRoleDescriptionMessage),n.a11y.addElRole((0,l.default)(n.slides),r.slideRole),(n.params.loop?n.slides.filter(function(e){return!e.classList.contains(n.params.slideDuplicateClass)}):n.slides).length);n.slides.each(function(e,t){e=(0,l.default)(e),t=n.params.loop?parseInt(e.attr("data-swiper-slide-index"),10):t,t=r.slideLabelMessage.replace(/\{\{index\}\}/,t+1).replace(/\{\{slidesLength\}\}/,s);n.a11y.addElLabel(e,t)}),n.navigation&&n.navigation.$nextEl&&(e=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(t=n.navigation.$prevEl),e&&e.length&&(n.a11y.makeElFocusable(e),"BUTTON"!==e[0].tagName&&(n.a11y.addElRole(e,"button"),e.on("keydown",n.a11y.onEnterOrSpaceKey)),n.a11y.addElLabel(e,r.nextSlideMessage),n.a11y.addElControls(e,o)),t&&t.length&&(n.a11y.makeElFocusable(t),"BUTTON"!==t[0].tagName&&(n.a11y.addElRole(t,"button"),t.on("keydown",n.a11y.onEnterOrSpaceKey)),n.a11y.addElLabel(t,r.prevSlideMessage),n.a11y.addElControls(t,o)),n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.on("keydown",(0,u.classesToSelector)(n.params.pagination.bulletClass),n.a11y.onEnterOrSpaceKey)},destroy:function(){var e,t,n=this;n.a11y.liveRegion&&0<n.a11y.liveRegion.length&&n.a11y.liveRegion.remove(),n.navigation&&n.navigation.$nextEl&&(e=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(t=n.navigation.$prevEl),e&&e.off("keydown",n.a11y.onEnterOrSpaceKey),t&&t.off("keydown",n.a11y.onEnterOrSpaceKey),n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown",(0,u.classesToSelector)(n.params.pagination.bulletClass),n.a11y.onEnterOrSpaceKey)}};t.default={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group"}},create:function(){(0,u.bindModuleMethods)(this,{a11y:i({},o,{liveRegion:(0,l.default)('<span class="'+this.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},on:{afterInit:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}}},Zc6E:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("74XF"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},Zduo:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return e.charAt(0).toLowerCase()==="p"},meridiem:function(e,t,n){if(e>11)return n?"p.t.m.":"P.T.M.";else return n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},ZmjQ:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.treeNodeTypes=t.default=void 0,r(n("2GWg"))),o=r(n("TFue")),a=r(n("WlrG")),r=r(n("ET/Y")),n={eventKey:r.default.oneOfType([r.default.string,r.default.number]),prefixCls:r.default.string,root:r.default.object,expanded:r.default.bool,selected:r.default.bool,checked:r.default.bool,loaded:r.default.bool,loading:r.default.bool,halfChecked:r.default.bool,title:r.default.any,pos:r.default.string,dragOver:r.default.bool,dragOverGapTop:r.default.bool,dragOverGapBottom:r.default.bool,isLeaf:r.default.bool,checkable:r.default.bool,selectable:r.default.bool,disabled:r.default.bool,disableCheckbox:r.default.bool,icon:r.default.any,dataRef:r.default.object,switcherIcon:r.default.any,label:r.default.any,value:r.default.any},r=(t.treeNodeTypes=n,{name:"SmTreeNode",__ANT_TREE_NODE:!0,isTreeNode:1,defaultComponent:i.default.TreeNode,mixins:[o.default,a.default],inheritAttrs:!1,props:n});t.default=r},ZnZ9:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.inputPasswordTypes=t.default=void 0,r(n("CCnC"))),o=r(n("yXPv")),a=r(n("ET/Y")),r=r(n("nvtG")),n=Object.assign(Object.assign({},o.default),{action:a.default.oneOf(["click","hover"]).def("click"),visibilityToggle:a.default.bool.def(!0),size:a.default.oneOf(["small","large","default","middle"])}),o=(t.inputPasswordTypes=n,{name:"SmInputPassword",defaultComponent:i.default,mixins:[r.default],props:n,computed:{extralProps:function(){return{prefixCls:this.prefixCls||"sm-component-input-password",inputPrefixCls:this.inputPrefixCls||"sm-component-input",size:"middle"===this.size?void 0:this.size}},componentClass:function(){return{"sm-component-input-affix-wrapper-md":"middle"===this.size,"sm-component-input-password-md":"middle"===this.size}}},mounted:function(){var e;"middle"===this.size&&(e=this.$el.querySelector(".sm-component-input"))&&e.classList&&e.classList.add("sm-component-input-md")}});t.default=o},Zni2:function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE_Zni2__},ZoZ8:function(e,t,n){"use strict";n.r(t);var r,i=n("xHXu");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},ZpKI:function(e,t,n){"use strict";var r=n("aLaa"),a=n("YELS"),s=n("vkZI"),l=n("Nybj").indexOf,u=n("SkNP"),c=r([].push);e.exports=function(e,t){var n,r=s(e),i=0,o=[];for(n in r)!a(u,n)&&a(r,n)&&c(o,n);for(;t.length>i;)!a(r,n=t[i++])||~l(o,n)||c(o,n);return o}},ZwIF:function(e,t,n){"use strict";n.r(t);var r,i=n("tJNg"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"Zwk+":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("W8MJ"))),o=r(n("VbXa")),a=n("e7LN"),s=r(n("TFue")),l=r(n("Zni2")),u=n("YKMj"),c=r(n("9csQ")),r=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},f=["headingColor","primaryColor","timeRangeBackground","textColorSecondary","handleColor"],n=function(t){function e(){var e=t.apply(this,arguments)||this;return e.chartId=(0,c.default)("TimeRange-"),e.headingColor="rgba(255, 255, 255, 0.85)",e.primaryColor="#e14d57",e.timeRangeBackground="rgba(255, 255, 255, 0.08)",e.textColorSecondary="rgba(255, 255, 255, 0.45)",e.handleColor="#d9d9d9",e.themeStyleName=f,e}return(0,o.default)(e,t),e.prototype.dataZoomChanged=function(){var e=this.$refs[this.chartId].chart.getOption().dataZoom[0];return{startValue:e.startValue,endValue:e.endValue}},(0,i.default)(e,[{key:"color",get:function(){return this.getColor(0)}},{key:"options",get:function(){var e={dataZoom:[{show:!0,showDetail:!0,realtime:!0,type:"slider",startValue:this.startValue,endValue:this.endValue,left:0,top:"middle",right:1,backgroundColor:this.backgroundColor||this.timeRangeBackground||this.getBackground,borderColor:this.borderColor||this.textColorSecondary,fillerColor:this.fillerColor||this.primaryColor||(0,a.getColorWithOpacity)(this.getTextColor,.3),textStyle:Object.assign({fontFamily:"MicrosoftYaHei",fontSize:12,color:this.headingColor},this.textStyle||{}),handleStyle:Object.assign({color:this.handleColor},this.handleStyle||{})}],xAxis:[{show:!1,type:"category",boundaryGap:!1,axisLine:{onZero:!1},data:this.data}],yAxis:[{show:!1}],series:[]};return Object.assign({},e)}}]),e}((0,u.Mixins)(s.default));r([(0,u.Prop)({default:0})],n.prototype,"startValue",void 0),r([(0,u.Prop)({default:1})],n.prototype,"endValue",void 0),r([(0,u.Prop)({default:function(){return[]}})],n.prototype,"data",void 0),r([(0,u.Prop)()],n.prototype,"backgroundColor",void 0),r([(0,u.Prop)()],n.prototype,"borderColor",void 0),r([(0,u.Prop)()],n.prototype,"fillerColor",void 0),r([(0,u.Prop)({default:function(){return{}}})],n.prototype,"textStyle",void 0),r([(0,u.Prop)({default:function(){return{}}})],n.prototype,"handleStyle",void 0),r([(0,u.Emit)("datazoom")],n.prototype,"dataZoomChanged",null),n=r([(0,u.Component)({name:"SmTimeRange",components:{"v-chart":l.default}})],n);t.default=n},Zxgi:function(e,t,n){var r=n("5T2Y"),i=n("WEpk"),o=n("uOPS"),a=n("zLkG"),s=n("2faE").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=!o&&r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"a/I7":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=n("DSM6"),r=function(n){function e(e){var t=n.call(this,e)||this;return t.layerName=e.layerName,t.name=e.name||(0,o.geti18n)().t("commontypes.restMap"),t}return(0,i.default)(e,n),e}(r(n("yMH/")).default);t.default=r},a0xu:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},a7Ss:function(e,t,n){"use strict";function r(e,t){for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,"a",function(){return r})},a89s:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.tabsTypes=t.default=void 0,r(n("zLns"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={activeKey:o.default.oneOfType([o.default.string,o.default.number]),animated:o.default.oneOfType([o.default.bool,o.default.object]),defaultActiveKey:o.default.oneOfType([o.default.string,o.default.number]),hideAdd:o.default.bool.def(!1),size:o.default.oneOf(["default","small","large"]),tabBarExtraContent:o.default.any,tabBarStyle:o.default.object,tabPosition:o.default.oneOf(["top","right","bottom","left"]).def("top"),type:o.default.oneOf(["line","card","editable-card"]),tabBarGutter:o.default.number},o=(t.tabsTypes=n,{name:"SmTabs",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"activeKey",event:"change"},props:n,computed:{extralListeners:function(){var t=this;return{change:function(e){t.$emit("change",e)}}}}});t.default=o},a9Cf:function(e,t,n){"use strict";var r={};r[n("11yv")("toStringTag")]="z",e.exports="[object z]"===String(r)},aIdf:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+i(r[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){if(e>9)return r(e%10);return e}function i(e,t){if(t===2)return o(e);return e}function o(e){var t={m:"v",b:"v",d:"z"};if(t[e.charAt(0)]===undefined)return e;return t[e.charAt(0)]+e.substring(1)}var a=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,u=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,c=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],f=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],d;e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:c,shortWeekdaysParse:f,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:u,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=e===1?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return e==="g.m."},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},aLaa:function(e,t,n){"use strict";var n=n("66qH"),r=Function.prototype,i=r.call,r=n&&r.bind.bind(i,i);e.exports=n?r:function(e){return function(){return i.apply(e,arguments)}}},aNIs:function(e,t,n){"use strict";var r,i,o=n("Ks5W"),n=n("eE3R"),a=o.process,o=o.Deno,a=a&&a.versions||o&&o.version,o=a&&a.v8;!(i=o?0<(r=o.split("."))[0]&&r[0]<4?1:+(r[0]+r[1]):i)&&n&&(!(r=n.match(/Edge\/(\d+)/))||74<=r[1])&&(r=n.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},aNr2:function(e,t,n){"use strict";var r=n("jybJ"),i=n("4gdG");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})},aQkU:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;if(e===0)return e+"-ев";else if(n===0)return e+"-ен";else if(n>10&&n<20)return e+"-ти";else if(t===1)return e+"-ви";else if(t===2)return e+"-ри";else if(t===7||t===8)return e+"-ми";else return e+"-ти"},week:{dow:1,doy:7}})}(n("wd/R"))},adOz:function(e,t,n){n("Zxgi")("asyncIterator")},adU4:function(e,t,n){var r=n("y1pI"),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__;return!((e=r(t,e))<0||(e==t.length-1?t.pop():i.call(t,e,1),--this.size,0))}},aiEA:function(e,t,n){"use strict";var r={};function i(e,t){}function o(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}var a=function(e,t){o(i,e,t)};t.a=function(e,t){a(e,"[antdv: "+t+"] "+(2<arguments.length&&void 0!==arguments[2]?arguments[2]:""))}},ajzp:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.layoutTypes=t.default=void 0,r(n("mMUZ"))),o=n("38+u"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},o.BasicProps),o=(t.layoutTypes=n,{name:"SmLayout",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n,computed:{extralProps:function(){return{tagName:"section"}}}});t.default=o},akMW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this;void 0===e&&(n=t.rtlTranslate?-1:1,e=t&&t.translate&&t.translate*n||0);var n=t.params,r=t.maxTranslate()-t.minTranslate(),i=t.progress,o=t.isBeginning,a=t.isEnd,s=o,l=a;a=0==r?o=!(i=0):(i=(e-t.minTranslate())/r,o=i<=0,1<=i);(0,u.extend)(t,{progress:i,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e);o&&!s&&t.emit("reachBeginning toEdge");a&&!l&&t.emit("reachEnd toEdge");(s&&!o||l&&!a)&&t.emit("fromEdge");t.emit("progress",i)};var u=n("cKS0")},anRA:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("djZm"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},"ar/p":function(e,t,n){var r=n("5vMV"),i=n("FpHa").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"b/oV":function(u,e,w){"use strict";!function(e,t){var d=w("lm0R");function f(o){var a=this;this.next=null,this.entry=null,this.finish=function(){var e=a,t=o,n=void 0,r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}}u.exports=s;var o,h=!e.browser&&-1<["v0.10","v0.9."].indexOf(e.version.slice(0,5))?setImmediate:d.nextTick,e=(s.WritableState=a,Object.create(w("Onz0"))),n=(e.inherits=w("P7XM"),{deprecate:w("t9FE")}),r=w("Kqrh"),p=w("9gtR").Buffer,y=(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var i,t=w("xMD+");function m(){}function a(e,c){o=o||w("1t2c"),e=e||{};var t=c instanceof o,n=(this.objectMode=!!e.objectMode,t&&(this.objectMode=this.objectMode||!!e.writableObjectMode),e.highWaterMark),r=e.writableHighWaterMark,i=this.objectMode?16:16384,n=(this.highWaterMark=n||0===n?n:t&&(r||0===r)?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,(this.destroyed=!1)===e.decodeStrings);this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){e=e,n=(t=c)._writableState,r=n.sync,i=n.writecb;var t,n,r,i,o=n;{var a,s,l,u;(o.writing=!1,o.writecb=null,o.length-=o.writelen,o.writelen=0,e)?(o=t,s=r,l=e,u=i,--(a=n).pendingcb,s?(d.nextTick(u,l),d.nextTick(x,o,a),o._writableState.errorEmitted=!0,o.emit("error",l)):(u(l),o._writableState.errorEmitted=!0,o.emit("error",l),x(o,a))):((e=_(n))||n.corked||n.bufferProcessing||!n.bufferedRequest||b(t,n),r?h(v,t,n,e,i):v(t,n,e,i))}},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new f(this)}e.inherits(s,r),a.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};try{Object.defineProperty(a.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}function s(e){if(o=o||w("1t2c"),!(i.call(s,this)||this instanceof o))return new s(e);this._writableState=new a(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final)&&(this._final=e.final),r.call(this)}function g(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function v(e,t,n,r){var i;n||(n=e,0===(i=t).length&&i.needDrain&&(i.needDrain=!1,n.emit("drain"))),t.pendingcb--,r(),x(e,t)}function b(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){for(var r=t.bufferedRequestCount,i=new Array(r),r=t.corkedRequestsFree,o=(r.entry=n,0),a=!0;n;)(i[o]=n).isBuf||(a=!1),n=n.next,o+=1;i.allBuffers=a,g(e,t,!0,t.length,i,"",r.finish),t.pendingcb++,t.lastBufferedRequest=null,r.next?(t.corkedRequestsFree=r.next,r.next=null):t.corkedRequestsFree=new f(t),t.bufferedRequestCount=0}else{for(;n;){var s=n.chunk,l=n.encoding,u=n.callback;if(g(e,t,!1,t.objectMode?1:s.length,s,l,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function l(t,n){t._final(function(e){n.pendingcb--,e&&t.emit("error",e),n.prefinished=!0,t.emit("prefinish"),x(t,n)})}function x(e,t){var n,r,i=_(t);return i&&(n=e,(r=t).prefinished||r.finalCalled||("function"==typeof n._final?(r.pendingcb++,r.finalCalled=!0,d.nextTick(l,n,r)):(r.prefinished=!0,n.emit("prefinish"))),0===t.pendingcb)&&(t.finished=!0,e.emit("finish")),i}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(s,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===s&&e&&e._writableState instanceof a}})):i=function(e){return e instanceof this},s.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},s.prototype.write=function(e,t,n){var r,i,o,a,s,l,u,c=this._writableState,f=!1,h=!c.objectMode&&(h=e,p.isBuffer(h)||h instanceof y);return h&&!p.isBuffer(e)&&(s=e,e=p.from(s)),"function"==typeof t&&(n=t,t=null),t=h?"buffer":t||c.defaultEncoding,"function"!=typeof n&&(n=m),c.ended?(s=this,l=n,u=new Error("write after end"),s.emit("error",u),d.nextTick(l,u)):(h||(l=this,u=c,i=n,a=!(o=!0),null===(r=e)?a=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||u.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(l.emit("error",a),d.nextTick(i,a),o=!1),o))&&(c.pendingcb++,f=function(e,t,n,r,i,o){n||(a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=p.from(t,n));return t}(t,r,i),r!==a&&(n=!0,i="buffer",r=a));var a=t.objectMode?1:r.length,s=(t.length+=a,t.length<t.highWaterMark);s||(t.needDrain=!0);{var l;t.writing||t.corked?(l=t.lastBufferedRequest,t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1):g(e,t,!1,a,r,i,o)}return s}(this,c,h,e,t,n)),f},s.prototype.cork=function(){this._writableState.corked++},s.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||b(this,e))},s.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),-1<["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase()))return this._writableState.defaultEncoding=e,this;throw new TypeError("Unknown encoding: "+e)},Object.defineProperty(s.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),s.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},s.prototype._writev=null,s.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,t=e=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||(e=this,t=n,(n=r).ending=!0,x(e,n),t&&(n.finished?d.nextTick(t):e.once("finish",t)),n.ended=!0,e.writable=!1)},Object.defineProperty(s.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),s.prototype.destroy=t.destroy,s.prototype._undestroy=t.undestroy,s.prototype._destroy=function(e,t){this.end(),t(e)}}.call(this,w("8oxB"),w("yLpj"))},b1Dy:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},b1SC:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var t=n("QbLZ"),i=n.n(t);function r(e){var n=e,r=[];return{setState:function(e){n=i()({},n,e);for(var t=0;t<r.length;t++)r[t]()},getState:function(){return n},subscribe:function(t){return r.push(t),function(){var e=r.indexOf(t);r.splice(e,1)}}}}},b2z7:function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},b80T:function(e,t,n){var c=n("UNi/"),f=n("03A+"),h=n("Z0cm"),d=n("DSRE"),p=n("wJg7"),y=n("c6wG"),m=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n,r=h(e),i=!r&&f(e),o=!r&&!i&&d(e),a=!r&&!i&&!o&&y(e),s=r||i||o||a,l=s?c(e.length,String):[],u=l.length;for(n in e)!t&&!m.call(e,n)||s&&("length"==n||o&&("offset"==n||"parent"==n)||a&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||p(n,u))||l.push(n);return l}},bBy9:function(e,t,n){n("w2d+");for(var r=n("5T2Y"),i=n("NegM"),o=n("SBuE"),a=n("UWiX")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],c=c&&c.prototype;c&&!c[a]&&i(c,a,u),o[u]=o.Array}},bCDT:function(e,t,n){"use strict";n.r(t);var r,i=n("5bqR");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},bEpt:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.spinTypes=t.default=void 0,function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=a(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("seDm"))),o=r(n("TFue")),r=r(n("WlrG"));function a(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(a=function(e){return e?n:t})(e))}n=Object.assign({},(0,i.SpinProps)()),t.spinTypes=n,i={name:"SmSpin",defaultComponent:i.default,mixins:[o.default,r.default],inheritAttrs:!1,props:n};t.default=i},bMiv:function(e,t,n){"use strict";n.r(t);var r,i=n("QuB8"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},bMu0:function(e,t,n){"use strict";n.r(t);var r,i=n("ArHY"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},bOMt:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:true,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bQgK:function(s,e,t){!function(a){!function(){var e,t,n,r,i,o;"undefined"!=typeof performance&&null!==performance&&performance.now?s.exports=function(){return performance.now()}:null!=a&&a.hrtime?(s.exports=function(){return(e()-i)/1e6},t=a.hrtime,r=(e=function(){var e=t();return 1e9*e[0]+e[1]})(),o=1e9*a.uptime(),i=r-o):n=Date.now?(s.exports=function(){return Date.now()-n},Date.now()):(s.exports=function(){return(new Date).getTime()-n},(new Date).getTime())}.call(this)}.call(this,t("8oxB"))},bT0D:function(e,t,n){"use strict";var r=n("RYfq"),i=n("JTf3"),o=n("3Xd8"),n=n("1Sr1"),a=Object;e.exports=n?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,a(e))}},bTu8:function(e,t,n){"use strict";var r=n("TqRt"),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("/xfr")),u=r(n("Jq2x")),c=n("cKS0"),f=n("OsfX"),h=n("ngAh"),d=n("NDSe"),i=r(n("0t0F")),o=r(n("f9ef")),s=r(n("Z67w")),l=r(n("xW1W")),p=r(n("rTk1")),y=r(n("0roy")),m=r(n("wvNA")),g=r(n("IDX/")),v=r(n("ju4L")),b=r(n("E51R")),_=r(n("CK30")),x=r(n("nyww")),w=r(n("Yi0i")),A=r(n("VlRc")),S=r(n("N2wq")),C=r(n("AUG5")),O=r(n("nyfm"));function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var M={modular:s.default,eventsEmitter:l.default,update:p.default,translate:y.default,transition:m.default,slide:g.default,loop:v.default,grabCursor:b.default,manipulation:_.default,events:x.default,breakpoints:w.default,checkOverflow:C.default,classes:A.default,images:S.default},P={},k=function(){function l(){for(var n,t,r,e,i,o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=(n=1===a.length&&a[0].constructor&&"Object"===Object.prototype.toString.call(a[0]).slice(8,-1)?a[0]:(i=a[0],a[1]))||{},n=(0,c.extend)({},n),i&&!n.el&&(n.el=i),n.el&&1<(0,u.default)(n.el).length?(t=[],(0,u.default)(n.el).each(function(e){e=(0,c.extend)({},n,{el:e});t.push(new l(e))}),t):((r=this).__swiper__=!0,r.support=(0,f.getSupport)(),r.device=(0,h.getDevice)({userAgent:n.userAgent}),r.browser=(0,d.getBrowser)(),r.eventsListeners={},r.eventsAnyListeners=[],void 0===r.modules&&(r.modules={}),Object.keys(r.modules).forEach(function(e){var t,e=r.modules[e];e.params&&(t=Object.keys(e.params)[0],"object"==typeof(e=e.params[t]))&&null!==e&&(0<=["navigation","pagination","scrollbar"].indexOf(t)&&!0===n[t]&&(n[t]={auto:!0}),t in n)&&"enabled"in e&&(!0===n[t]&&(n[t]={enabled:!0}),"object"!=typeof n[t]||"enabled"in n[t]||(n[t].enabled=!0),n[t]||(n[t]={enabled:!1}))}),e=(0,c.extend)({},O.default),r.useParams(e),r.params=(0,c.extend)({},e,P,n),r.originalParams=(0,c.extend)({},r.params),r.passedParams=(0,c.extend)({},n),r.params&&r.params.on&&Object.keys(r.params.on).forEach(function(e){r.on(e,r.params.on[e])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=u.default,(0,c.extend)(r,{enabled:r.params.enabled,el:i,classNames:[],slides:(0,u.default)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===r.params.direction},isVertical:function(){return"vertical"===r.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:(e=["touchstart","touchmove","touchend","touchcancel"],i=["mousedown","mousemove","mouseup"],r.support.pointerEvents&&(i=["pointerdown","pointermove","pointerup"]),r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:i[0],move:i[1],end:i[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:(0,c.now)(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.useModules(),r.emit("_swiper"),r.params.init&&r.init(),r)}var e,t,n=l.prototype;return n.enable=function(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))},n.disable=function(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))},n.setProgress=function(e,t){e=Math.min(Math.max(e,0),1);var n=this.minTranslate(),r=this.maxTranslate();this.translateTo((r-n)*e+n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()},n.emitContainerClasses=function(){var e,t=this;t.params._emitClasses&&t.el&&(e=t.el.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-container")||0===e.indexOf(t.params.containerModifierClass)}),t.emit("_containerClasses",e.join(" ")))},n.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")},n.emitSlidesClasses=function(){var n,r=this;r.params._emitClasses&&r.el&&(n=[],r.slides.each(function(e){var t=r.getSlideClasses(e);n.push({slideEl:e,classNames:t}),r.emit("_slideClass",e,t)}),r.emit("_slideClasses",n))},n.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,n=this.slidesGrid,r=this.size,i=this.activeIndex,o=1;if(e.centeredSlides){for(var a,s=t[i].swiperSlideSize,l=i+1;l<t.length;l+=1)t[l]&&!a&&(o+=1,r<(s+=t[l].swiperSlideSize))&&(a=!0);for(var u=i-1;0<=u;--u)t[u]&&!a&&(o+=1,r<(s+=t[u].swiperSlideSize))&&(a=!0)}else for(var c=i+1;c<t.length;c+=1)n[c]-n[i]<r&&(o+=1);return o},n.update=function(){var e,t,n=this;function r(){var e=n.rtlTranslate?-1*n.translate:n.translate,e=Math.min(Math.max(e,n.maxTranslate()),n.minTranslate());n.setTranslate(e),n.updateActiveIndex(),n.updateSlidesClasses()}n&&!n.destroyed&&(e=n.snapGrid,(t=n.params).breakpoints&&n.setBreakpoint(),n.updateSize(),n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.params.freeMode?(r(),n.params.autoHeight&&n.updateAutoHeight()):(("auto"===n.params.slidesPerView||1<n.params.slidesPerView)&&n.isEnd&&!n.params.centeredSlides?n.slideTo(n.slides.length-1,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0))||r(),t.watchOverflow&&e!==n.snapGrid&&n.checkOverflow(),n.emit("update"))},n.changeDirection=function(t,e){void 0===e&&(e=!0);var n=this,r=n.params.direction;return(t=t||("horizontal"===r?"vertical":"horizontal"))===r||"horizontal"!==t&&"vertical"!==t||(n.$el.removeClass(""+n.params.containerModifierClass+r).addClass(""+n.params.containerModifierClass+t),n.emitContainerClasses(),n.params.direction=t,n.slides.each(function(e){"vertical"===t?e.style.width="":e.style.height=""}),n.emit("changeDirection"),e&&n.update()),n},n.mount=function(e){var t=this;if(!t.mounted){var n=(0,u.default)(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;var r,i=function(){return"."+(t.params.wrapperClass||"").trim().split(" ").join(".")},o=e&&e.shadowRoot&&e.shadowRoot.querySelector?((r=(0,u.default)(e.shadowRoot.querySelector(i()))).children=function(e){return n.children(e)},r):n.children(i());0===o.length&&t.params.createElements&&(r=(0,a.getDocument)().createElement("div"),o=(0,u.default)(r),r.className=t.params.wrapperClass,n.append(r),n.children("."+t.params.slideClass).each(function(e){o.append(e)})),(0,c.extend)(t,{$el:n,el:e,$wrapperEl:o,wrapperEl:o[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===o.css("display")})}return!0},n.init=function(e){var t=this;return t.initialized||!1!==t.mount(e)&&(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},n.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n=this,r=n.params,i=n.$el,o=n.$wrapperEl,a=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),a)&&a.length&&a.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index"),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(function(e){n.off(e)}),!1!==e&&(n.$el[0].swiper=null,c.deleteProps)(n),n.destroyed=!0),null},l.extendDefaults=function(e){(0,c.extend)(P,e)},l.installModule=function(e){l.prototype.modules||(l.prototype.modules={});var t=e.name||Object.keys(l.prototype.modules).length+"_"+(0,c.now)();l.prototype.modules[t]=e},l.use=function(e){return Array.isArray(e)?e.forEach(function(e){return l.installModule(e)}):l.installModule(e),l},n=l,t=[{key:"extendedDefaults",get:function(){return P}},{key:"defaults",get:function(){return O.default}}],(e=null)&&E(n.prototype,e),t&&E(n,t),l}();Object.keys(M).forEach(function(t){Object.keys(M[t]).forEach(function(e){k.prototype[e]=M[t][e]})}),k.use([i.default,o.default]),t.default=k},bUA4:function(e,t,n){"use strict";n=n("RYfq");e.exports=n("document","documentElement")},bXm7:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var r={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},t;e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var t=e%10,n=e>=100?100:null;return e+(r[e]||r[t]||r[n])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n("wd/R"))},ba8b:function(e,t,n){"use strict";var n=n("aLaa"),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},bdOm:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("81VL"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},bdgK:function(e,M,t){"use strict";!function(e){var r="undefined"!=typeof Map?Map:(Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(e){e=i(this.__entries__,e),e=this.__entries__[e];return e&&e[1]},t.prototype.set=function(e,t){var n=i(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},t.prototype.delete=function(e){var t=this.__entries__,e=i(t,e);~e&&t.splice(e,1)},t.prototype.has=function(e){return!!~i(this.__entries__,e)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t);function t(){this.__entries__=[]}function i(e,n){var r=-1;return e.some(function(e,t){return e[0]===n&&(r=t,!0)}),r}var n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),l="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},u=2;var a=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,c=(f.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},f.prototype.removeObserver=function(e){var t=this.observers_,e=t.indexOf(e);~e&&t.splice(e,1),!t.length&&this.connected_&&this.disconnect_()},f.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},f.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),0<e.length},f.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},f.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},f.prototype.onTransitionEnd_=function(e){var e=e.propertyName,t=void 0===e?"":e;a.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},f.getInstance=function(){return this.instance_||(this.instance_=new f),this.instance_},f.instance_=null,f);function f(){function e(){o&&(o=!1,r()),a&&n()}function t(){l(e)}function n(){var e=Date.now();if(o){if(e-s<u)return;a=!0}else a=!(o=!0),setTimeout(t,i);s=e}var r,i,o,a,s;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(r=this.refresh.bind(this),a=o=!(i=20),s=0,n)}var h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},p=_(0,0,0,0);function y(e){return parseFloat(e)||0}function m(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return e.reduce(function(e,t){return e+y(n["border-"+t+"-width"])},0)}function g(e){var t,n,r,i,o,a,s=e.clientWidth,l=e.clientHeight;return s||l?(n=(t=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=y(o)}return t}(a=d(e).getComputedStyle(e))).left+t.right,r=t.top+t.bottom,i=y(a.width),o=y(a.height),"border-box"===a.boxSizing&&(Math.round(i+n)!==s&&(i-=m(a,"left","right")+n),Math.round(o+r)!==l)&&(o-=m(a,"top","bottom")+r),e!==d(e).document.documentElement&&(a=Math.round(i+n)-s,e=Math.round(o+r)-l,1!==Math.abs(a)&&(i-=a),1!==Math.abs(e))&&(o-=e),_(t.left,t.top,i,o)):p}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function b(e){var t;return n?v(e)?_(0,0,(t=(t=e).getBBox()).width,t.height):g(e):p}function _(e,t,n,r){return{x:e,y:t,width:n,height:r}}w.prototype.isActive=function(){var e=b(this.target);return(this.contentRect_=e).width!==this.broadcastWidth||e.height!==this.broadcastHeight},w.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var x=w;function w(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=e}var A=function(e,t){n=(t=t).x,r=t.y,o=t.width,t=t.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(i.prototype),h(i,{x:n,y:r,width:o,height:t,top:r,right:n+o,bottom:t+r,left:n});var n,r,i,o=i;h(this,{target:e,contentRect:o})},S=(C.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new x(e)),this.controller_.addObserver(this),this.controller_.refresh())}},C.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},C.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},C.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},C.prototype.broadcastActive=function(){var e,t;this.hasActive()&&(e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new A(e.target,e.broadcastRect())}),this.callback_.call(e,t,e),this.clearActive())},C.prototype.clearActive=function(){this.activeObservations_.splice(0)},C.prototype.hasActive=function(){return 0<this.activeObservations_.length},C);function C(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}var O=new("undefined"!=typeof WeakMap?WeakMap:r),E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),t=new S(t,n,this);O.set(this,t)},e=(["observe","unobserve","disconnect"].forEach(function(t){E.prototype[t]=function(){var e;return(e=O.get(this))[t].apply(e,arguments)}}),void 0!==o.ResizeObserver?o.ResizeObserver:E);M.a=e}.call(this,t("yLpj"))},bfwp:function(e,t,n){"use strict";n.r(t);var r,i=n("qavM");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},bpih:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":this.hours()===0?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},bqzh:function(e,t,n){"use strict";n.r(t);var r,i=n("a89s"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},bxKX:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},by5u:function(T,e,I){"use strict";!function(e,y){function m(e,t){return e.listeners(t).length}var o,g=I("lm0R"),v=(T.exports=i,I("49sm")),n=(i.ReadableState=r,I("+qE3").EventEmitter,I("Kqrh")),c=I("9gtR").Buffer,f=(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var a,e=Object.create(I("Onz0")),t=(e.inherits=I("P7XM"),I(1)),b=void 0,b=t&&t.debuglog?t.debuglog("stream"):function(){},s=I("m1Sz"),t=I("xMD+"),l=(e.inherits(i,n),["error","close","destroy","pause","resume"]);function r(e,t){e=e||{};var t=t instanceof(o=o||I("1t2c")),n=(this.objectMode=!!e.objectMode,t&&(this.objectMode=this.objectMode||!!e.readableObjectMode),e.highWaterMark),r=e.readableHighWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:t&&(r||0===r)?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new s,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(a=a||I("fXKp").StringDecoder,this.decoder=new a(e.encoding),this.encoding=e.encoding)}function i(e){if(o=o||I("1t2c"),!(this instanceof i))return new i(e);this._readableState=new r(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy)&&(this._destroy=e.destroy),n.call(this)}function u(e,t,n,r,i){var o,a,s,l,u=e._readableState;return null===t?(u.reading=!1,a=e,(l=u).ended||(l.decoder&&(s=l.decoder.end())&&s.length&&(l.buffer.push(s),l.length+=l.objectMode?1:s.length),l.ended=!0,_(a))):(o=i?o:function(e,t){var n;!function(e){return c.isBuffer(e)||e instanceof f}(t)&&"string"!=typeof t&&void 0!==t&&!e.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk"));return n}(u,t))?e.emit("error",o):u.objectMode||t&&0<t.length?("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===c.prototype||(s=t,t=c.from(s)),r?u.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):h(e,u,t,!0):u.ended?e.emit("error",new Error("stream.push() after EOF")):(u.reading=!1,!u.decoder||n||(t=u.decoder.write(t),u.objectMode)||0!==t.length?h(e,u,t,!1):w(e,u))):r||(u.reading=!1),!(l=u).ended&&(l.needReadable||l.length<l.highWaterMark||0===l.length)}function h(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&_(e)),w(e,t)}Object.defineProperty(i.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),i.prototype.destroy=t.destroy,i.prototype._undestroy=t.undestroy,i.prototype._destroy=function(e,t){this.push(null),t(e)},i.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=c.from(e,t),t=""),n=!0),u(this,e,t,!1,n)},i.prototype.unshift=function(e){return u(this,e,null,!0,!1)},i.prototype.isPaused=function(){return!1===this._readableState.flowing},i.prototype.setEncoding=function(e){return a=a||I("fXKp").StringDecoder,this._readableState.decoder=new a(e),this._readableState.encoding=e,this};var d=8388608;function p(e,t){var n;return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?(t.flowing&&t.length?t.buffer.head.data:t).length:(e>t.highWaterMark&&(t.highWaterMark=(d<=(n=e)?n=d:(n--,n=(n=(n=(n=(n|=n>>>1)|n>>>2)|n>>>4)|n>>>8)|n>>>16,n++),n)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(b("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?g.nextTick(x,e):x(e))}function x(e){b("emit readable"),e.emit("readable"),O(e)}function w(e,t){t.readingMore||(t.readingMore=!0,g.nextTick(A,e,t))}function A(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(b("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function S(e){b("readable nexttick read 0"),e.read(0)}function C(e,t){t.reading||(b("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),O(e),t.flowing&&!t.reading&&e.read(0)}function O(e){var t=e._readableState;for(b("flow",t.flowing);t.flowing&&null!==e.read(););}function E(e,t){var n;return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():(n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n).data=o.slice(a);break}++r}return t.length-=r,i}:function(e,t){var n=c.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r).data=o.slice(a);break}++i}return t.length-=i,n})(e,t);return r}(e,t.buffer,t.decoder),n)}function M(e){var t=e._readableState;if(0<t.length)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,g.nextTick(P,t,e))}function P(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function k(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}i.prototype.read=function(e){b("read",e),e=parseInt(e,10);var t,n=this._readableState,r=e;return 0!==e&&(n.emittedReadable=!1),0===e&&n.needReadable&&(n.length>=n.highWaterMark||n.ended)?(b("read: emitReadable",n.length,n.ended),(0===n.length&&n.ended?M:_)(this),null):0===(e=p(e,n))&&n.ended?(0===n.length&&M(this),null):(t=n.needReadable,b("need readable",t),(0===n.length||n.length-e<n.highWaterMark)&&b("length less than watermark",t=!0),n.ended||n.reading?b("reading or ended",t=!1):t&&(b("do read"),n.reading=!0,n.sync=!0,0===n.length&&(n.needReadable=!0),this._read(n.highWaterMark),n.sync=!1,n.reading||(e=p(r,n))),null===(t=0<e?E(e,n):null)?(n.needReadable=!0,e=0):n.length-=e,0===n.length&&(n.ended||(n.needReadable=!0),r!==e)&&n.ended&&M(this),null!==t&&this.emit("data",t),t)},i.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},i.prototype.pipe=function(n,e){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=n;break;case 1:i.pipes=[i.pipes,n];break;default:i.pipes.push(n)}i.pipesCount+=1,b("pipe count=%d opts=%j",i.pipesCount,e);e=(!e||!1!==e.end)&&n!==y.stdout&&n!==y.stderr?a:p;function o(e,t){b("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,b("cleanup"),n.removeListener("close",h),n.removeListener("finish",d),n.removeListener("drain",s),n.removeListener("error",f),n.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",p),r.removeListener("data",c),l=!0,!i.awaitDrain||n._writableState&&!n._writableState.needDrain||s())}function a(){b("onend"),n.end()}i.endEmitted?g.nextTick(e):r.once("end",e),n.on("unpipe",o);t=r;var t,s=function(){var e=t._readableState;b("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&m(t,"data")&&(e.flowing=!0,O(t))},l=(n.on("drain",s),!1);var u=!1;function c(e){b("ondata"),(u=!1)!==n.write(e)||u||((1===i.pipesCount&&i.pipes===n||1<i.pipesCount&&-1!==k(i.pipes,n))&&!l&&(b("false write response, pause",i.awaitDrain),i.awaitDrain++,u=!0),r.pause())}function f(e){b("onerror",e),p(),n.removeListener("error",f),0===m(n,"error")&&n.emit("error",e)}function h(){n.removeListener("finish",d),p()}function d(){b("onfinish"),n.removeListener("close",h),p()}function p(){b("unpipe"),r.unpipe(n)}return r.on("data",c),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?v(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(n,"error",f),n.once("close",h),n.once("finish",d),n.emit("pipe",r),i.flowing||(b("pipe resume"),r.resume()),n},i.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0!==t.pipesCount)if(1===t.pipesCount)e&&e!==t.pipes||(e=e||t.pipes,t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n));else if(e){var r=k(t.pipes,e);-1!==r&&(t.pipes.splice(r,1),--t.pipesCount,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n))}else{var i=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<o;a++)i[a].emit("unpipe",this,{hasUnpiped:!1})}return this},i.prototype.addListener=i.prototype.on=function(e,t){t=n.prototype.on.call(this,e,t);return"data"===e?!1!==this._readableState.flowing&&this.resume():"readable"!==e||(e=this._readableState).endEmitted||e.readableListening||(e.readableListening=e.needReadable=!0,e.emittedReadable=!1,e.reading?e.length&&_(this):g.nextTick(S,this)),t},i.prototype.resume=function(){var e,t=this._readableState;return t.flowing||(b("resume"),t.flowing=!0,e=this,(t=t).resumeScheduled)||(t.resumeScheduled=!0,g.nextTick(C,e,t)),this},i.prototype.pause=function(){return b("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(b("pause"),this._readableState.flowing=!1,this.emit("pause")),this},i.prototype.wrap=function(t){var e,n=this,r=this._readableState,i=!1;for(e in t.on("end",function(){var e;b("wrapped end"),r.decoder&&!r.ended&&(e=r.decoder.end())&&e.length&&n.push(e),n.push(null)}),t.on("data",function(e){b("wrapped data"),r.decoder&&(e=r.decoder.write(e)),r.objectMode&&null==e||(r.objectMode||e&&e.length)&&!n.push(e)&&(i=!0,t.pause())}),t)void 0===this[e]&&"function"==typeof t[e]&&(this[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e));for(var o=0;o<l.length;o++)t.on(l[o],this.emit.bind(this,l[o]));return this._read=function(e){b("wrapped _read",e),i&&(i=!1,t.resume())},this},Object.defineProperty(i.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),i._fromList=E}.call(this,I("yLpj"),I("8oxB"))},c0r8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n("cKS0");function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i={LinearSpline:function(e,t){var n,r,i,o,a,s=function(e,t){for(r=-1,n=e.length;1<n-r;)e[i=n+r>>1]<=t?r=i:n=i;return n};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=s(this.x,e),o=a-1,(e-this.x[o])*(this.y[a]-this.y[o])/(this.x[a]-this.x[o])+this.y[o]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new i.LinearSpline(this.slidesGrid,e.slidesGrid):new i.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var n,r,i=this,o=i.controller.control,a=i.constructor;function s(e){var t=i.rtlTranslate?-i.translate:i.translate;"slide"===i.params.controller.by&&(i.controller.getInterpolateFunction(e),r=-i.controller.spline.interpolate(-t)),r&&"container"!==i.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(i.maxTranslate()-i.minTranslate()),r=(t-i.minTranslate())*n+e.minTranslate()),i.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,i),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(o))for(var l=0;l<o.length;l+=1)o[l]!==t&&o[l]instanceof a&&s(o[l]);else o instanceof a&&t!==o&&s(o)},setTransition:function(t,e){var n,r=this,i=r.constructor,o=r.controller.control;function a(e){e.setTransition(t,r),0!==t&&(e.transitionStart(),e.params.autoHeight&&(0,s.nextTick)(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){o&&(e.params.loop&&"slide"===r.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(o))for(n=0;n<o.length;n+=1)o[n]!==e&&o[n]instanceof i&&a(o[n]);else o instanceof i&&e!==o&&a(o)}};t.default={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){(0,s.bindModuleMethods)(this,{controller:r({control:this.params.controller.control},i)})},on:{update:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t,n){e.controller.control&&e.controller.setTranslate(t,n)},setTransition:function(e,t,n){e.controller.control&&e.controller.setTransition(t,n)}}}},c3MK:function(e,t,n){"use strict";var r=n("SN6V"),i=Math.min;e.exports=function(e){return 0<e?i(r(e),9007199254740991):0}},c55Z:function(e,t,n){"use strict";var r=n("eRwv"),i=n("Ks5W").RegExp;e.exports=r(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},c6wG:function(e,t,n){var r=n("dD9F"),i=n("sEf8"),n=n("mdPL"),n=n&&n.isTypedArray,i=n?i(n):r;e.exports=i},c8iL:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("e4bS"))),o=r(n("eXTs")),a=r(n("2Z54")),r=(o.default.install=function(e,t){(0,a.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default)},o.default);t.default=r},cDf5:function(t,e){function n(e){return t.exports=n="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},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},cFu1:function(e,t,n){"use strict";n.r(t);var r,i=n("mcUC");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},cKS0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindModuleMethods=function(n,r){Object.keys(r).forEach(function(t){c(r[t])&&Object.keys(r[t]).forEach(function(e){"function"==typeof r[t][e]&&(r[t][e]=r[t][e].bind(n))}),n[t]=r[t]})},t.classesToSelector=function(e){void 0===e&&(e="");return"."+e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")},t.createElementIfNotDefined=function(n,r,e,i){var o=(0,a.getDocument)();e&&Object.keys(i).forEach(function(e){var t;r[e]||!0!==r.auto||((t=o.createElement("div")).className=i[e],n.append(t),r[e]=t)});return r},t.deleteProps=function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},t.extend=function e(){var t=Object(arguments.length<=0?void 0:arguments[0]);var n=["__proto__","constructor","prototype"];for(var r=1;r<arguments.length;r+=1){var i=r<0||arguments.length<=r?void 0:arguments[r];if(null!=i&&!f(i))for(var o=Object.keys(Object(i)).filter(function(e){return n.indexOf(e)<0}),a=0,s=o.length;a<s;a+=1){var l=o[a],u=Object.getOwnPropertyDescriptor(i,l);void 0!==u&&u.enumerable&&(c(t[l])&&c(i[l])?i[l].__swiper__?t[l]=i[l]:e(t[l],i[l]):c(t[l])||!c(i[l])||(t[l]={},i[l].__swiper__)?t[l]=i[l]:e(t[l],i[l]))}}return t},t.getComputedStyle=s,t.getTranslate=function(e,t){void 0===t&&(t="x");var n,r,i,o=(0,a.getWindow)(),e=s(e);o.WebKitCSSMatrix?(6<(r=e.transform||e.webkitTransform).split(",").length&&(r=r.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),i=new o.WebKitCSSMatrix("none"===r?"":r)):(i=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=i.toString().split(","));"x"===t&&(r=o.WebKitCSSMatrix?i.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4]));"y"===t&&(r=o.WebKitCSSMatrix?i.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5]));return r||0},t.isObject=c,t.nextTick=function(e,t){void 0===t&&(t=0);return setTimeout(e,t)},t.now=function(){return Date.now()};var a=n("/xfr");function s(e){var t,n=(0,a.getWindow)();return t=(t=!(t=n.getComputedStyle?n.getComputedStyle(e,null):t)&&e.currentStyle?e.currentStyle:t)||e.style}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function f(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}},cKTC:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement,e=this._self._c||e;return e("div",{ref:this.borderId,staticClass:"sm-component-border",style:this.borderStyle},[e("div",{staticClass:"sm-component-border__content",style:this.contentStyle},[this._t("default")],2)])},i=[]},cRix:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var n="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),r="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),t;e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,t){if(!e)return n;else if(/-MMM-/.test(t))return r[e.month()];else return n[e.month()]},monthsParseExact:true,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cV8Z:function(e,t,n){var r={"./border1.png":"JBR1","./border10.png":"Cb6A","./border11.png":"9pJD","./border12.png":"X7Q1","./border13.png":"DMW1","./border2.png":"ifxw","./border3.png":"usAy","./border4.png":"9rNx","./border5.png":"3N2c","./border6.png":"4EGE","./border7.png":"riVy","./border8.png":"vsHO","./border9.png":"ImIo"};function i(e){e=o(e);return n(e)}function o(e){if(n.o(r,e))return r[e];throw(e=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",e}i.keys=function(){return Object.keys(r)},i.resolve=o,(e.exports=i).id="cV8Z"},cXAu:function(e,t,n){"use strict";n.r(t);var r=n("m1cH"),i=n.n(r),r=n("TZE5"),l=n("ewVk"),u=n("2qPA"),c=n("aiEA"),o=n("TfX5"),f=n("S2v7"),h=n("VfG/"),n=r.a.shape({path:r.a.string,breadcrumbName:r.a.string,children:r.a.array}).loose,n={prefixCls:r.a.string,routes:r.a.arrayOf(n),params:r.a.any,separator:r.a.any,itemRender:r.a.func};t.default={name:"ABreadcrumb",props:n,inject:{configProvider:{default:function(){return o.a}}},methods:{defaultItemRender:function(e){var n,t=e.route,r=e.params,i=e.routes,e=e.paths,o=this.$createElement,i=i.indexOf(t)===i.length-1,r=(n=r,(r=t).breadcrumbName?(t=Object.keys(n).join("|"),r.breadcrumbName.replace(new RegExp(":("+t+")","g"),function(e,t){return n[t]||e})):null);return i?o("span",[r]):o("a",{attrs:{href:"#/"+e.join("/")}},[r])},getPath:function(t,n){return t=(t||"").replace(/^\//,""),Object.keys(n).forEach(function(e){t=t.replace(":"+e,n[e])}),t},addChildPath:function(e,t,n){e=[].concat(i()(e)),t=this.getPath(t,n);return t&&e.push(t),e},genForRoutes:function(e){var r=this,t=e.routes,i=void 0===t?[]:t,t=e.params,o=void 0===t?{}:t,a=e.separator,t=e.itemRender,s=void 0===t?this.defaultItemRender:t,l=this.$createElement,u=[];return i.map(function(e){var t=r.getPath(e.path,o),n=(t&&u.push(t),null);return e.children&&e.children.length&&(n=l(h.default,[e.children.map(function(e){return l(h.default.Item,{key:e.path||e.breadcrumbName},[s({route:e,params:o,routes:i,paths:r.addChildPath(u,e.path,o),h:r.$createElement})])})])),l(f.default,{attrs:{overlay:n,separator:a},key:t||e.breadcrumbName},[s({route:e,params:o,routes:i,paths:u,h:r.$createElement})])})}},render:function(){var e=arguments[0],t=void 0,n=this.prefixCls,r=this.routes,i=this.params,i=void 0===i?{}:i,o=this.$slots,a=this.$scopedSlots,n=(0,this.configProvider.getPrefixCls)("breadcrumb",n),o=Object(u.filterEmpty)(o.default),s=Object(u.getComponentFromProp)(this,"separator"),a=this.itemRender||a.itemRender||this.defaultItemRender;return r&&0<r.length?t=this.genForRoutes({routes:r,params:i,separator:s,itemRender:a}):o.length&&(t=o.map(function(e,t){return Object(c.a)(Object(u.getSlotOptions)(e).__ANT_BREADCRUMB_ITEM||Object(u.getSlotOptions)(e).__ANT_BREADCRUMB_SEPARATOR,"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(l.a)(e,{props:{separator:s},key:t})})),e("div",{class:n},[t])}}},cZul:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("AVid"))),o=r(n("ynnC")),a=r(n("2Z54")),r=(i.default.install=function(e,t){(0,a.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default)},i.default);t.default=r},ccE7:function(e,t,n){var o=n("Ojgd"),a=n("Jes0");e.exports=function(i){return function(e,t){var n,e=String(a(e)),t=o(t),r=e.length;return t<0||r<=t?i?"":void 0:(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?i?e.charAt(t):n:i?e.slice(t,t+2):r-56320+(n-55296<<10)+65536}}},cce3:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("vIla"))),o=r(n("ySeX")),a=r(n("I0IZ")),s=r(n("jlDK")),l=r(n("Hox/")),u=r(n("2Z54")),r=(s.default.install=function(e,t){(0,u.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default),e.component((a.default.options||a.default).name,a.default),e.component((s.default.options||s.default).name,s.default),e.component((l.default.options||l.default).name,l.default)},s.default);t.default=r},"cq/+":function(e,t,n){n=n("mc0g")();e.exports=n},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},"cyC+":function(e,t,n){"use strict";var r=n("Levi"),i=n("tKCg"),n=n("AcI+"),o=i.a;t.a={locale:"en",Pagination:r.a,DatePicker:i.a,TimePicker:n.a,Calendar:o,ColorPicker:{"btn:save":"Save","btn:cancel":"Cancel","btn:clear":"Clear"},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",selectAll:"Select current page",selectInvert:"Invert current page",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"}}},czMo:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}})}(n("wd/R"))},d0De:function(e,t,n){"use strict";n.r(t);var r,i=n("pXxL");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},d0bx:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},a=(Object.defineProperty(t,"__esModule",{value:!0}),r(n("lMfh"))),i=2,o=16,s=5,l=5,u=15,c=5,f=4;function h(e,t,n){n=60<=Math.round(e.h)&&Math.round(e.h)<=240?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t;return n<0?n+=360:360<=n&&(n-=360),n}function d(e,t,n){return 0===e.h&&0===e.s?e.s:(100<(e=n?Math.round(100*e.s)-o*t:t===f?Math.round(100*e.s)+o:Math.round(100*e.s)+s*t)&&(e=100),(e=n&&t===c&&10<e?10:e)<6?6:e)}function p(e,t,n){return n?Math.round(100*e.v)+l*t:Math.round(100*e.v)-u*t}t.default=function(e){for(var t=[],n=a.default(e),r=c;0<r;--r){var i=n.toHsv(),o=a.default({h:h(i,r,!0),s:d(i,r,!0),v:p(i,r,!0)}).toHexString();t.push(o)}for(t.push(n.toHexString()),r=1;r<=f;r+=1){i=n.toHsv(),o=a.default({h:h(i,r),s:d(i,r),v:p(i,r)}).toHexString();t.push(o)}return t}},dAmL:function(e,t,n){"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},dD9F:function(e,t,n){var r=n("NykK"),i=n("shjB"),o=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},dGgj:function(e,t,n){"use strict";n.r(t);var r,i=n("dbs2"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},dNwA:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dTAl:function(e,t,n){var r=n("GoyQ"),i=Object.create;function o(){}e.exports=function(e){if(!r(e))return{};if(i)return i(e);o.prototype=e;e=new o;return o.prototype=void 0,e}},dXCY:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("TFue"))),r=r(n("js6P")),o=n("e7LN"),n={name:"SmTablePopup",components:{SmTable:r.default},mixins:[i.default],props:{data:{type:Array,default:function(){return[]}},columns:{type:Array,default:function(){return[]}},splitLine:{type:Boolean,default:!0}},watch:{"collapseCardHeaderBgStyle.background":function(e){this.setTheadStyle("background",e)},"tablePopupBgStyle.background":function(e){(0,o.setPopupArrowStyle)(e)},"headingTextColorStyle.color":function(e){this.setTheadStyle("color",e)}},mounted:function(){this.setTheadStyle("color",this.headingTextColorStyle.color),this.setTheadStyle("background",this.collapseCardHeaderBgStyle.background)},methods:{setTheadStyle:function(t,n){var e;this.$el&&(e=this.$el.querySelectorAll("tr > th"))&&e.forEach(function(e){e.style[t]=n})}}};t.default=n},dZA3:function(e,t,n){"use strict";n.r(t);var r,i=n("hB31"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},daxC:function(e,t,n){"use strict";var r=n("TqRt"),_=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Jq2x"))),i=n("cKS0");function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={setTranslate:function(){for(var e=this.width,t=this.height,n=this.slides,r=this.slidesSizesGrid,i=this.params.coverflowEffect,o=this.isHorizontal(),a=this.translate,s=o?e/2-a:t/2-a,l=o?i.rotate:-i.rotate,u=i.depth,c=0,f=n.length;c<f;c+=1){var h=n.eq(c),d=r[c],p=(s-h[0].swiperSlideOffset-d/2)/d*i.modifier,y=o?l*p:0,m=o?0:l*p,g=-u*Math.abs(p),v=i.stretch,d=("string"==typeof v&&-1!==v.indexOf("%")&&(v=parseFloat(i.stretch)/100*d),o?0:v*p),v=o?v*p:0,b=1-(1-i.scale)*Math.abs(p),v=(Math.abs(v)<.001&&(v=0),Math.abs(d)<.001&&(d=0),Math.abs(g)<.001&&(g=0),Math.abs(y)<.001&&(y=0),"translate3d("+v+"px,"+d+"px,"+g+"px) rotateX("+(m=Math.abs(m)<.001?0:m)+"deg) rotateY("+y+"deg) scale("+(b=Math.abs(b)<.001?0:b)+")");h.transform(v),h[0].style.zIndex=1-Math.abs(Math.round(p)),i.slideShadows&&(d=o?h.find(".swiper-slide-shadow-left"):h.find(".swiper-slide-shadow-top"),g=o?h.find(".swiper-slide-shadow-right"):h.find(".swiper-slide-shadow-bottom"),0===d.length&&(d=(0,_.default)('<div class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),h.append(d)),0===g.length&&(g=(0,_.default)('<div class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),h.append(g)),d.length&&(d[0].style.opacity=0<p?p:0),g.length)&&(g[0].style.opacity=0<-p?-p:0)}},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}};t.default={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){(0,i.bindModuleMethods)(this,{coverflowEffect:o({},a)})},on:{beforeInit:function(e){"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(e){"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e,t){"coverflow"===e.params.effect&&e.coverflowEffect.setTransition(t)}}}},dbs2:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.emptyProps=t.default=void 0,function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=s(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("/CVL"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG"));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}n=Object.assign(Object.assign({},(0,i.EmptyProps)()),{image:o.default.any.def(i.default.PRESENTED_IMAGE_SIMPLE)}),t.emptyProps=n,o={name:"SmEmpty",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n,computed:{extralProps:function(){return{prefixCls:this.prefixCls||"sm-component-empty"}}}};t.default=o},dhw4:function(e,t,n){"use strict";n.r(t);var r,i=n("LMSt"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},djZm:function(e,t,n){"use strict";n.r(t);var r,i=n("dhw4");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},dl0q:function(e,t,n){n("Zxgi")("observable")},drdV:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Jq2x"))),A=n("cKS0");function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={update:function(e){var t,n=this,r=n.params,i=r.slidesPerView,o=r.slidesPerGroup,r=r.centeredSlides,a=n.params.virtual,s=a.addSlidesBefore,a=a.addSlidesAfter,l=n.virtual,u=l.from,c=l.to,f=l.slides,h=l.slidesGrid,d=l.renderSlide,l=l.offset,p=(n.updateActiveIndex(),n.activeIndex||0),y=n.rtlTranslate?"right":n.isHorizontal()?"left":"top",r=r?(t=Math.floor(i/2)+o+a,Math.floor(i/2)+o+s):(t=i+(o-1)+a,o+s),m=Math.max((p||0)-r,0),g=Math.min((p||0)+t,f.length-1),i=(n.slidesGrid[m]||0)-(n.slidesGrid[0]||0);function v(){n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.lazy&&n.params.lazy.enabled&&n.lazy.load()}if((0,A.extend)(n.virtual,{from:m,to:g,offset:i,slidesGrid:n.slidesGrid}),u!==m||c!==g||e)if(n.params.virtual.renderExternal)n.params.virtual.renderExternal.call(n,{offset:i,from:m,to:g,slides:function(){for(var e=[],t=m;t<=g;t+=1)e.push(f[t]);return e}()}),n.params.virtual.renderExternalUpdate&&v();else{var b=[],_=[];if(e)n.$wrapperEl.find("."+n.params.slideClass).remove();else for(var x=u;x<=c;x+=1)(x<m||g<x)&&n.$wrapperEl.find("."+n.params.slideClass+'[data-swiper-slide-index="'+x+'"]').remove();for(var w=0;w<f.length;w+=1)m<=w&&w<=g&&(void 0===c||e?_.push(w):(c<w&&_.push(w),w<u&&b.push(w)));_.forEach(function(e){n.$wrapperEl.append(d(f[e],e))}),b.sort(function(e,t){return t-e}).forEach(function(e){n.$wrapperEl.prepend(d(f[e],e))}),n.$wrapperEl.children(".swiper-slide").css(y,i+"px"),v()}else n.slidesGrid!==h&&i!==l&&n.slides.css(y,i+"px"),n.updateProgress()},renderSlide:function(e,t){var n=this.params.virtual;return n.cache&&this.virtual.cache[t]?this.virtual.cache[t]:((e=n.renderSlide?(0,i.default)(n.renderSlide.call(this,e,t)):(0,i.default)('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>")).attr("data-swiper-slide-index")||e.attr("data-swiper-slide-index",t),n.cache&&(this.virtual.cache[t]=e),e)},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var r,i,t=this.activeIndex,n=t+1,o=1;if(Array.isArray(e)){for(var a=0;a<e.length;a+=1)e[a]&&this.virtual.slides.unshift(e[a]);n=t+e.length,o=e.length}else this.virtual.slides.unshift(e);this.params.virtual.cache&&(r=this.virtual.cache,i={},Object.keys(r).forEach(function(e){var t=r[e],n=t.attr("data-swiper-slide-index");n&&t.attr("data-swiper-slide-index",parseInt(n,10)+1),i[parseInt(e,10)+o]=t}),this.virtual.cache=i),this.virtual.update(!0),this.slideTo(n,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var n=e.length-1;0<=n;--n)this.virtual.slides.splice(e[n],1),this.params.virtual.cache&&delete this.virtual.cache[e[n]],e[n]<t&&--t,t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&--t,t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}};t.default={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){(0,A.bindModuleMethods)(this,{virtual:o({},a,{slides:this.params.virtual.slides,cache:{}})})},on:{beforeInit:function(e){var t;e.params.virtual.enabled&&(e.classNames.push(e.params.containerModifierClass+"virtual"),(0,A.extend)(e.params,t={watchSlidesProgress:!0}),(0,A.extend)(e.originalParams,t),e.params.initialSlide||e.virtual.update())},setTranslate:function(e){e.params.virtual.enabled&&e.virtual.update()}}}},drpF:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=r(n("uTlj")),r=function(r){function e(e,t){var n=r.call(this,null)||this;return n.map=e,n.options=t,n}(0,i.default)(e,r);var t=e.prototype;return t.setPopupContent=function(e,t,n){this.clear();e=o.default.GeoJSON.coordsToLatLng(e);t.style.display="block",this.popup=new o.default.Popup({className:"sm-leaflet-tabel-popup sm-component-chart-result-popup",closeOnClick:!0,maxWidth:800}),this.marker=new o.default.Marker,this.popup.setLatLng(e).setContent(t),this.map.on("popupopen",function(){n&&n()}),this.marker.setLatLng(e).bindPopup(this.popup).addTo(this.map),this.map.flyTo(e)},t.clear=function(){this.popup&&(this.popup.remove(),this.popup=null),this.marker&&(this.marker.remove(),this.marker=null),this.map&&this.map.off("popupopen",function(){})},e}(o.default.Evented);t.default=r},dt0z:function(e,t,n){var r=n("zoYe");e.exports=function(e){return null==e?"":r(e)}},dtSe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=this,r=n.$wrapperEl,i=n.params,o=n.activeIndex;i.loop&&(o-=n.loopedSlides,n.loopDestroy(),n.slides=r.children("."+i.slideClass));var a=n.slides.length;if(e<=0)n.prependSlide(t);else if(a<=e)n.appendSlide(t);else{for(var s=e<o?o+1:o,l=[],u=a-1;e<=u;--u){var c=n.slides.eq(u);c.remove(),l.unshift(c)}if("object"==typeof t&&"length"in t){for(var f=0;f<t.length;f+=1)t[f]&&r.append(t[f]);s=e<o?o+t.length:o}else r.append(t);for(var h=0;h<l.length;h+=1)r.append(l[h]);i.loop&&n.loopCreate(),i.observer&&n.support.observer||n.update(),i.loop?n.slideTo(s+n.loopedSlides,0,!1):n.slideTo(s,0,!1)}}},dvTD:function(e,t,n){"use strict";n.r(t);var r,i=n("WRPr"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"e+ae":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),r;function o(e){return e>1&&e<5}function i(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":if(t||r)return i+(o(e)?"sekundy":"sekúnd");else return i+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":if(t||r)return i+(o(e)?"minúty":"minút");else return i+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":if(t||r)return i+(o(e)?"hodiny":"hodín");else return i+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":if(t||r)return i+(o(e)?"dni":"dní");else return i+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":if(t||r)return i+(o(e)?"mesiace":"mesiacov");else return i+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":if(t||r)return i+(o(e)?"roky":"rokov");else return i+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"e+xT":function(B,e,t){"use strict";t.r(e),t.d(e,"TreeData",function(){return me}),t.d(e,"TreeSelectProps",function(){return ge});var n=t("YEIV"),g=t.n(n),n=t("jo6Y"),R=t.n(n),n=t("QbLZ"),E=t.n(n),n=t("kvrn"),m=t.n(n),n=t("m1cH"),M=t.n(n),n=t("Gytx"),N=t.n(n),n=t("xEkU"),a=t.n(n),z=t("7ERv"),n=t("2W6z"),l=t.n(n),r=t("TZE5"),i=t("GKdC"),F=t("hJbE"),n=t("EJiy"),V=t.n(n),v=t("Sx0+"),P=t("yaTQ");function H(e,t){return e.classList?e.classList.contains(t):-1<(" "+e.className+" ").indexOf(" "+t+" ")}var n="SHOW_ALL",u="SHOW_PARENT",c="SHOW_CHILD",k=t("2qPA"),f=!1;function s(e){return"string"==typeof e?e:null}function o(){function t(e){t.current=e}return t}var Y={userSelect:"none",WebkitUserSelect:"none"},G={unselectable:"unselectable"};function h(e){var n,r;return e.length?(n={},r={},(e=e.slice().map(function(e){e=E()({},e,{fields:e.pos.split("-")});return delete e.children,e})).forEach(function(e){r[e.pos]=e}),e.sort(function(e,t){return e.fields.length-t.fields.length}),e.forEach(function(e){var t=e.fields.slice(0,-1).join("-"),t=r[t];t?(t.children=t.children||[],t.children.push(e)):n[e.pos]=e,delete e.key,delete e.fields}),Object.keys(n).map(function(e){return n[e]})):[]}var U=0;function d(e){var t=e.treeCheckable,n=e.treeCheckStrictly,e=e.labelInValue;return!(!t||!n)||e||!1}function p(e){var t=e.node,n=e.pos,e=e.children,t={node:t,pos:n};return e&&(t.children=e.map(p)),t}function T(i,e,o,a,s,l){return o?e.map(function e(t){var n,r;return t&&!Object(k.isEmptyElement)(t)&&(n=!1,a(o,t)&&(n=!0),(r=(("function"==typeof(r=Object(k.getSlots)(t).default)?r():r)||[]).map(e).filter(function(e){return e})).length||n)?i(l,m()([t.data,{key:s[Object(k.getPropsData)(t).value].key}]),[r]):null}).filter(function(e){return e}):null}function Q(e,t){e=null==(e=e)?[]:Array.isArray(e)?e:[e];return d(t)?e.map(function(e){return"object"===(void 0===e?"undefined":V()(e))&&e?e:{value:"",label:""}}):e.map(function(e){return{value:e}})}function y(e,t,n){if(e.label)return e.label;if(t){t=Object(k.getPropsData)(t.node);if(Object.keys(t).length)return t[n]}return e.value}function I(e,t,r){var i=t.treeNodeLabelProp,n=t.treeCheckable,o=t.treeCheckStrictly,t=t.showCheckedStrategy;if(n&&!o){var a,s,l={},n=(e.forEach(function(e){l[e.value]=e}),h(e.map(function(e){e=e.value;return r[e]})));if(t===u)return n.map(function(e){e=e.node,e=Object(k.getPropsData)(e).value;return{label:y(l[e],r[e],i),value:e}});if(t===c)return a=[],s=function t(e){var n=e.node,e=e.children,n=Object(k.getPropsData)(n).value;e&&0!==e.length?e.forEach(function(e){t(e)}):a.push({label:y(l[n],r[n],i),value:n})},n.forEach(function(e){s(e)}),a}return e.map(function(e){return{label:y(e,r[e.value],i),value:e.value}})}function W(e){var t=e.title,n=e.label,r=e.value,i=e.class,o=e.style,a=e.on,a=void 0===a?{}:a,s=e.key,r=(s||null!=s||(s=r),{props:Object(v.a)(e,["on","key","class","className","style"]),on:a,class:i||e.className,style:o,key:s});return n&&!t&&(f||(l()(!1,"'label' in treeData is deprecated. Please use 'title' instead."),f=!0),r.props.title=n),r}function q(e,t){return Object(P.g)(e,t,{processProps:W})}function K(e){return E()({},e,{valueEntities:{}})}function X(e,t){var n=Object(k.getPropsData)(e.node).value,r=(e.value=n,t.valueEntities[n]);r&&l()(!1,"Conflict! value of node '"+e.key+"' ("+n+") has already used by node '"+r.key+"'."),t.valueEntities[n]=e}function J(e,r){var i={};return e.forEach(function(e){e=e.value;i[e]=!1}),e.forEach(function(e){for(var e=e.value,t=r[e];t&&t.parent;){var n=t.parent.value;if(n in i)break;i[n]=!0,t=t.parent}}),Object.keys(i).filter(function(e){return i[e]}).map(function(e){return r[e].key})}function b(){return{prefixCls:r.a.string,className:r.a.string,open:r.a.bool,selectorValueList:r.a.array,allowClear:r.a.bool,showArrow:r.a.bool,removeSelected:r.a.func,choiceTransitionName:r.a.string,ariaId:r.a.string,inputIcon:r.a.any,clearIcon:r.a.any,removeIcon:r.a.any,placeholder:r.a.any,disabled:r.a.bool,focused:r.a.bool}}var L=P.e,_=t("TSYQ"),x=t.n(_),$={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:0,adjustY:1},ignoreShake:!0},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1},ignoreShake:!0}},Z={name:"SelectTrigger",props:{disabled:r.a.bool,showSearch:r.a.bool,prefixCls:r.a.string,dropdownPopupAlign:r.a.object,dropdownClassName:r.a.string,dropdownStyle:r.a.object,transitionName:r.a.string,animation:r.a.string,getPopupContainer:r.a.func,dropdownMatchSelectWidth:r.a.bool,isMultiple:r.a.bool,dropdownPrefixCls:r.a.string,dropdownVisibleChange:r.a.func,popupElement:r.a.node,open:r.a.bool},created:function(){this.triggerRef=o()},methods:{getDropdownTransitionName:function(){var e=this.$props,t=e.transitionName,n=e.animation,e=e.dropdownPrefixCls;return!t&&n?e+"-"+n:t},forcePopupAlign:function(){var e=this.triggerRef.current;e&&e.forcePopupAlign()}},render:function(){var e=arguments[0],t=this.$props,n=t.disabled,r=t.isMultiple,i=t.dropdownPopupAlign,o=t.dropdownMatchSelectWidth,a=t.dropdownClassName,s=t.dropdownStyle,l=t.dropdownVisibleChange,u=t.getPopupContainer,c=t.dropdownPrefixCls,f=t.popupElement,t=t.open,o=!1!==o?o?"width":"minWidth":void 0;return e(F.a,m()([{directives:[{name:"ant-ref",value:this.triggerRef}]},{attrs:{action:n?[]:["click"],popupPlacement:"bottomLeft",builtinPlacements:$,popupAlign:i,prefixCls:c,popupTransitionName:this.getDropdownTransitionName(),popup:f,popupVisible:t,getPopupContainer:u,stretch:o,popupClassName:x()(a,(e={},g()(e,c+"--multiple",r),g()(e,c+"--single",!r),e)),popupStyle:s},on:{popupVisibleChange:l}}]),[this.$slots.default])}},w=t("tIgm");function ee(){}function te(d){return{name:"BaseSelector",mixins:[w.a],props:Object(k.initDefaultProps)(E()({},b(),{renderSelection:r.a.func.isRequired,renderPlaceholder:r.a.func,tabIndex:r.a.number}),{tabIndex:0}),inject:{vcTreeSelect:{default:function(){return{}}}},created:function(){this.domRef=o()},methods:{onFocus:function(e){var t=this.$props.focused,n=this.vcTreeSelect.onSelectorFocus;t||n(),this.__emit("focus",e)},onBlur:function(e){(0,this.vcTreeSelect.onSelectorBlur)(),this.__emit("blur",e)},focus:function(){this.domRef.current.focus()},blur:function(){this.domRef.current.blur()},renderClear:function(){var e=this.$createElement,t=this.$props,n=t.prefixCls,r=t.allowClear,t=t.selectorValueList,i=this.vcTreeSelect.onSelectorClear;return r&&t.length&&t[0].value?e("span",{key:"clear",class:n+"-selection__clear",on:{click:i}},[Object(k.getComponentFromProp)(this,"clearIcon")]):null},renderArrow:function(){var e=this.$createElement,t=this.$props,n=t.prefixCls;return t.showArrow?e("span",{key:"arrow",class:n+"-arrow",style:{outline:"none"}},[Object(k.getComponentFromProp)(this,"inputIcon")]):null}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,r=t.className,i=t.style,o=t.open,a=t.focused,s=t.disabled,l=t.allowClear,u=t.ariaId,c=t.renderSelection,f=t.renderPlaceholder,t=t.tabIndex,h=this.vcTreeSelect.onSelectorKeyDown,t=s?null:t;return e("span",m()([{style:i,on:{click:Object(k.getListeners)(this).click||ee},class:x()(r,n,(i={},g()(i,n+"-open",o),g()(i,n+"-focused",o||a),g()(i,n+"-disabled",s),g()(i,n+"-enabled",!s),g()(i,n+"-allow-clear",l),i))},{directives:[{name:"ant-ref",value:this.domRef}]},{attrs:{role:"combobox","aria-expanded":o,"aria-owns":o?u:void 0,"aria-controls":o?u:void 0,"aria-haspopup":"listbox","aria-disabled":s,tabIndex:t},on:{focus:this.onFocus,blur:this.onBlur,keydown:h}}]),[e("span",{key:"selection",class:x()(n+"-selection",n+"-selection--"+d)},[c(),this.renderClear(),this.renderArrow(),f&&f()])])}}}var ne=te("single"),re={name:"SingleSelector",props:b(),created:function(){this.selectorRef=o()},methods:{focus:function(){this.selectorRef.current.focus()},blur:function(){this.selectorRef.current.blur()},renderSelection:function(){var e,t=this.$createElement,n=this.$props,r=n.selectorValueList,i=n.placeholder,n=n.prefixCls,o=void 0;return o=r.length?(e=(r=r[0]).label,r=r.value,t("span",{key:"value",attrs:{title:s(e)},class:n+"-selection-selected-value"},[e||r])):t("span",{key:"placeholder",class:n+"-selection__placeholder"},[i]),t("span",{class:n+"-selection__rendered"},[o])}},render:function(){var e=arguments[0],t={props:E()({},Object(k.getOptionProps)(this),{renderSelection:this.renderSelection}),on:Object(k.getListeners)(this),directives:[{name:"ant-ref",value:this.selectorRef}]};return e(ne,t)}},A={name:"SearchInput",props:{open:r.a.bool,searchValue:r.a.string,prefixCls:r.a.string,disabled:r.a.bool,renderPlaceholder:r.a.func,needAlign:r.a.bool,ariaId:r.a.string},inject:{vcTreeSelect:{default:function(){return{}}}},data:function(){return{mirrorSearchValue:this.searchValue}},watch:{searchValue:function(e){this.mirrorSearchValue=e}},created:function(){this.inputRef=o(),this.mirrorInputRef=o(),this.prevProps=E()({},this.$props)},mounted:function(){var n=this;this.$nextTick(function(){var e=n.$props,t=e.open;e.needAlign&&n.alignInputWidth(),t&&n.focus(!0)})},updated:function(){var e=this,t=this.$props,n=t.open,r=t.searchValue,i=t.needAlign,o=this.prevProps;this.$nextTick(function(){n&&o.open!==n&&e.focus(),i&&r!==o.searchValue&&e.alignInputWidth(),e.prevProps=E()({},e.$props)})},methods:{alignInputWidth:function(){this.inputRef.current.style.width=(this.mirrorInputRef.current.clientWidth||this.mirrorInputRef.current.offsetWidth)+"px"},focus:function(e){var t=this;this.inputRef.current&&(e?setTimeout(function(){t.inputRef.current.focus()},0):this.inputRef.current.focus())},blur:function(){this.inputRef.current&&this.inputRef.current.blur()},handleInputChange:function(e){var t=e.target,n=t.value,t=t.composing,r=this.searchValue;e.isComposing||t||(void 0===r?"":r)===n?this.mirrorSearchValue=n:this.vcTreeSelect.onSearchInputChange(e)}},render:function(){var e=arguments[0],t=this.$props,n=t.searchValue,r=t.prefixCls,i=t.disabled,o=t.renderPlaceholder,a=t.open,t=t.ariaId,s=this.vcTreeSelect.onSearchInputKeyDown,l=this.handleInputChange,u=this.mirrorSearchValue;return e("span",{class:r+"-search__field__wrap"},[e("input",m()([{attrs:{type:"text"}},{directives:[{name:"ant-ref",value:this.inputRef},{name:"ant-input"}]},{on:{input:l,keydown:s},domProps:{value:n},attrs:{disabled:i,"aria-label":"filter select","aria-autocomplete":"list","aria-controls":a?t:void 0,"aria-multiline":"false"},class:r+"-search__field"}])),e("span",m()([{directives:[{name:"ant-ref",value:this.mirrorInputRef}]},{class:r+"-search__field__mirror"}]),[u," "]),o&&!u?o():null])}},ie={mixins:[w.a],props:{prefixCls:r.a.string,maxTagTextLength:r.a.number,label:r.a.any,value:r.a.oneOfType([r.a.string,r.a.number]),removeIcon:r.a.any},methods:{onRemove:function(e){var t=this.$props.value;this.__emit("remove",e,t),e.stopPropagation()}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,r=t.maxTagTextLength,i=t.label,t=t.value,t=i||t;return r&&"string"==typeof t&&t.length>r&&(t=t.slice(0,r)+"..."),e("li",m()([{style:Y},{attrs:G},{attrs:{role:"menuitem",title:s(i)},class:n+"-selection__choice"}]),[Object(k.getListeners)(this).remove&&e("span",{class:n+"-selection__choice__remove",on:{click:this.onRemove}},[Object(k.getComponentFromProp)(this,"removeIcon")]),e("span",{class:n+"-selection__choice__content"},[t])])}},oe=t("lOvz"),ae=te("multiple"),se={mixins:[w.a],props:E()({},b(),A.props,{selectorValueList:r.a.array,disabled:r.a.bool,searchValue:r.a.string,labelInValue:r.a.bool,maxTagCount:r.a.number,maxTagPlaceholder:r.a.any}),inject:{vcTreeSelect:{default:function(){return{}}}},created:function(){this.inputRef=o()},methods:{onPlaceholderClick:function(){this.inputRef.current.focus()},focus:function(){this.inputRef.current.focus()},blur:function(){this.inputRef.current.blur()},_renderPlaceholder:function(){var e=this.$createElement,t=this.$props,n=t.prefixCls,r=t.placeholder,i=t.searchPlaceholder,o=t.searchValue,t=t.selectorValueList,r=r||i;return r?e("span",{style:{display:o||t.length?"none":"block"},on:{click:this.onPlaceholderClick},class:n+"-search__field__placeholder"},[r]):null},onChoiceAnimationLeave:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.__emit.apply(this,["choiceAnimationLeave"].concat(M()(t)))},renderSelection:function(){var e,n=this,r=this.$createElement,t=this.$props,i=t.selectorValueList,o=t.choiceTransitionName,a=t.prefixCls,s=t.labelInValue,t=t.maxTagCount,l=this.vcTreeSelect.onMultipleSelectorRemove,u=this.$slots,c=Object(k.getListeners)(this),f=i,f=(f=0<=t?i.slice(0,t):f).map(function(e){var t=e.label,e=e.value;return r(ie,m()([{props:E()({},n.$props,{label:t,value:e}),on:E()({},c,{remove:l})},{key:e||"RC_TREE_SELECT_EMPTY_VALUE_KEY"}]),[u.default])}),h=(0<=t&&t<i.length&&(e="+ "+(i.length-t)+" ...","string"==typeof(h=Object(k.getComponentFromProp)(this,"maxTagPlaceholder",{},!1))?e=h:"function"==typeof h&&(i=i.slice(t),e=h(s?i:i.map(function(e){return e.value}))),t=r(ie,m()([{props:E()({},this.$props,{label:e,value:null}),on:c},{key:"rc-tree-select-internal-max-tag-counter"}]),[u.default]),f.push(t)),f.push(r("li",{class:a+"-search "+a+"-search--inline",key:"__input"},[r(A,{props:E()({},this.$props,{needAlign:!0}),on:c,directives:[{name:"ant-ref",value:this.inputRef}]},[u.default])])),a+"-selection__rendered");return o?(s=Object(oe.a)(o,{tag:"ul",afterLeave:this.onChoiceAnimationLeave}),r("transition-group",m()([{class:h},s]),[f])):r("ul",{class:h,attrs:{role:"menubar"}},[f])}},render:function(){var e=arguments[0],t=this.$slots,n=Object(k.getListeners)(this);return e(ae,{props:E()({},this.$props,{tabIndex:-1,showArrow:!1,renderSelection:this.renderSelection,renderPlaceholder:this._renderPlaceholder}),on:n},[t.default])}},S=t("fRzl");function le(e,t){var t=t||{},n=t._prevProps,n=void 0===n?{}:n,r=t._loadedKeys,i=t._expandedKeyList,t=t._cachedExpandedKeyList,o=e.valueList,a=e.valueEntities,s=e.keyEntities,l=e.treeExpandedKeys,u=e.filteredTreeNodes,c=e.upperSearchValue,f={_prevProps:E()({},e)};return o!==n.valueList&&(f._keyList=o.map(function(e){e=e.value;return a[e]}).filter(function(e){return e}).map(function(e){return e.key})),!l&&u&&u.length&&u!==n.filteredTreeNodes&&(f._expandedKeyList=[].concat(M()(s.keys()))),c&&!n.upperSearchValue?f._cachedExpandedKeyList=i:c||!n.upperSearchValue||l||(f._expandedKeyList=t||[],f._cachedExpandedKeyList=[]),n.treeExpandedKeys!==l&&(f._expandedKeyList=l),e.loadData&&(f._loadedKeys=r.filter(function(e){return s.has(e)})),f}var C={mixins:[w.a],name:"BasePopup",props:{prefixCls:r.a.string,upperSearchValue:r.a.string,valueList:r.a.array,searchHalfCheckedKeys:r.a.array,valueEntities:r.a.object,keyEntities:Map,treeIcon:r.a.bool,treeLine:r.a.bool,treeNodeFilterProp:r.a.string,treeCheckable:r.a.any,treeCheckStrictly:r.a.bool,treeDefaultExpandAll:r.a.bool,treeDefaultExpandedKeys:r.a.array,treeExpandedKeys:r.a.array,loadData:r.a.func,multiple:r.a.bool,searchValue:r.a.string,treeNodes:r.a.any,filteredTreeNodes:r.a.any,notFoundContent:r.a.any,ariaId:r.a.string,switcherIcon:r.a.any,renderSearch:r.a.func,__propsSymbol__:r.a.any},inject:{vcTreeSelect:{default:function(){return{}}}},watch:{__propsSymbol__:function(){var e=le(this.$props,this.$data);this.setState(e)}},data:function(){this.treeRef=o(),l()(this.$props.__propsSymbol__,"must pass __propsSymbol__");var e=this.$props,t=e.treeDefaultExpandAll,n=e.treeDefaultExpandedKeys,e=e.keyEntities,t={_keyList:[],_expandedKeyList:n=t?[].concat(M()(e.keys())):n,_cachedExpandedKeyList:[],_loadedKeys:[],_prevProps:{}};return E()({},t,le(this.$props,t))},methods:{onTreeExpand:function(e){var t=this;this.$props.treeExpandedKeys||this.setState({_expandedKeyList:e},function(){t.__emit("treeExpanded")}),this.__emit("update:treeExpandedKeys",e),this.__emit("treeExpand",e)},onLoad:function(e){this.setState({_loadedKeys:e})},getTree:function(){return this.treeRef.current},getLoadData:function(){var e=this.$props,t=e.loadData;return e.upperSearchValue?null:t},filterTreeNode:function(e){var t=this.$props,n=t.upperSearchValue,e=e[t.treeNodeFilterProp];return"string"==typeof e&&n&&-1!==e.toUpperCase().indexOf(n)},renderNotFound:function(){var e=this.$createElement,t=this.$props;return e("span",{class:t.prefixCls+"-not-found"},[t.notFoundContent])}},render:function(){var e=arguments[0],t=this.$data,n=t._keyList,r=t._expandedKeyList,t=t._loadedKeys,i=this.$props,o=i.prefixCls,a=i.treeNodes,s=i.filteredTreeNodes,l=i.treeIcon,u=i.treeLine,c=i.treeCheckable,f=i.treeCheckStrictly,h=i.multiple,d=i.ariaId,p=i.renderSearch,y=i.switcherIcon,i=i.searchHalfCheckedKeys,m=this.vcTreeSelect,g=m.onPopupKeyDown,v=m.onTreeNodeSelect,m=m.onTreeNodeCheck,b=this.getLoadData(),_={},x=(c?_.checkedKeys=n:_.selectedKeys=n,void 0),w=void 0,s=(s?s.length?(_.checkStrictly=!0,w=s,c&&!f&&(_.checkedKeys={checked:n,halfChecked:i})):x=this.renderNotFound():a&&a.length?w=a:x=this.renderNotFound(),void 0);return s=x||(n={props:E()({prefixCls:o+"-tree",showIcon:l,showLine:u,selectable:!c,checkable:c,checkStrictly:f,multiple:h,loadData:b,loadedKeys:t,expandedKeys:r,filterTreeNode:this.filterTreeNode,switcherIcon:y},_,{__propsSymbol__:Symbol(),children:w}),on:{select:v,check:m,expand:this.onTreeExpand,load:this.onLoad},directives:[{name:"ant-ref",value:this.treeRef}]},e(S.Tree,n)),e("div",{attrs:{role:"listbox",id:d,tabIndex:-1},on:{keydown:g}},[p?p():null,s])}},ue={name:"SinglePopup",props:E()({},C.props,A.props,{searchValue:r.a.string,showSearch:r.a.bool,dropdownPrefixCls:r.a.string,disabled:r.a.bool,searchPlaceholder:r.a.string}),created:function(){this.inputRef=o(),this.searchRef=o(),this.popupRef=o()},methods:{onPlaceholderClick:function(){this.inputRef.current.focus()},getTree:function(){return this.popupRef.current&&this.popupRef.current.getTree()},_renderPlaceholder:function(){var e=this.$createElement,t=this.$props,n=t.searchPlaceholder,r=t.searchValue,t=t.prefixCls;return n?e("span",{style:{display:r?"none":"block"},on:{click:this.onPlaceholderClick},class:t+"-search__field__placeholder"},[n]):null},_renderSearch:function(){var e=this.$createElement,t=this.$props,n=t.showSearch,t=t.dropdownPrefixCls;return n?e("span",m()([{class:t+"-search"},{directives:[{name:"ant-ref",value:this.searchRef}]}]),[e(A,{props:E()({},this.$props,{renderPlaceholder:this._renderPlaceholder}),on:Object(k.getListeners)(this),directives:[{name:"ant-ref",value:this.inputRef}]})]):null}},render:function(){return(0,arguments[0])(C,{props:E()({},this.$props,{renderSearch:this._renderSearch,__propsSymbol__:Symbol()}),on:Object(k.getListeners)(this),directives:[{name:"ant-ref",value:this.popupRef}]})}},ce=C,j={name:"SelectNode",functional:!0,isTreeNode:!0,props:S.TreeNode.props,render:function(e,t){var n=t.props,r=t.slots,i=t.listeners,o=t.data,t=t.scopedSlots,a=r()||{},r=a.default,s=Object.keys(a),l={},s=(s.forEach(function(e){l[e]=function(){return a[e]}}),E()({},o,{on:E()({},i,o.nativeOn),props:n,scopedSlots:E()({},l,t)}));return e(S.TreeNode,s,[r])}};_={name:"Select",mixins:[w.a],props:Object(k.initDefaultProps)({prefixCls:r.a.string,prefixAria:r.a.string,multiple:r.a.bool,showArrow:r.a.bool,open:r.a.bool,value:r.a.any,autoFocus:r.a.bool,defaultOpen:r.a.bool,defaultValue:r.a.any,showSearch:r.a.bool,placeholder:r.a.any,inputValue:r.a.string,searchValue:r.a.string,autoClearSearchValue:r.a.bool,searchPlaceholder:r.a.any,disabled:r.a.bool,children:r.a.any,labelInValue:r.a.bool,maxTagCount:r.a.number,maxTagPlaceholder:r.a.oneOfType([r.a.any,r.a.func]),maxTagTextLength:r.a.number,showCheckedStrategy:r.a.oneOf([n,u,c]),dropdownClassName:r.a.string,dropdownStyle:r.a.object,dropdownVisibleChange:r.a.func,dropdownMatchSelectWidth:r.a.bool,treeData:r.a.array,treeDataSimpleMode:r.a.oneOfType([r.a.bool,r.a.object]),treeNodeFilterProp:r.a.string,treeNodeLabelProp:r.a.string,treeCheckable:r.a.oneOfType([r.a.any,r.a.object,r.a.bool]),treeCheckStrictly:r.a.bool,treeIcon:r.a.bool,treeLine:r.a.bool,treeDefaultExpandAll:r.a.bool,treeDefaultExpandedKeys:r.a.array,treeExpandedKeys:r.a.array,loadData:r.a.func,filterTreeNode:r.a.oneOfType([r.a.func,r.a.bool]),notFoundContent:r.a.any,getPopupContainer:r.a.func,allowClear:r.a.bool,transitionName:r.a.string,animation:r.a.string,choiceTransitionName:r.a.string,inputIcon:r.a.any,clearIcon:r.a.any,removeIcon:r.a.any,switcherIcon:r.a.any,__propsSymbol__:r.a.any},{prefixCls:"rc-tree-select",prefixAria:"rc-tree-select",showArrow:!0,showSearch:!0,autoClearSearchValue:!0,showCheckedStrategy:c,treeNodeFilterProp:"value",treeNodeLabelProp:"title",treeIcon:!1,notFoundContent:"Not Found",dropdownStyle:{},dropdownVisibleChange:function(){return!0}}),data:function(){l()(this.$props.__propsSymbol__,"must pass __propsSymbol__");var e=this.$props,t=e.prefixAria,n=e.defaultOpen,e=e.open,t=(this.needSyncKeys={},this.selectorRef=o(),this.selectTriggerRef=o(),this.ariaId=t+"-list"+"_"+(U+=1),{_open:e||n,_valueList:[],_searchHalfCheckedKeys:[],_missValueList:[],_selectorValueList:[],_valueEntities:{},_posEntities:new Map,_keyEntities:new Map,_searchValue:"",_prevProps:{},_init:!0,_focused:void 0,_treeNodes:void 0,_filteredTreeNodes:void 0}),e=this.getDerivedState(this.$props,t);return E()({},t,e)},provide:function(){return{vcTreeSelect:{onSelectorFocus:this.onSelectorFocus,onSelectorBlur:this.onSelectorBlur,onSelectorKeyDown:this.onComponentKeyDown,onSelectorClear:this.onSelectorClear,onMultipleSelectorRemove:this.onMultipleSelectorRemove,onTreeNodeSelect:this.onTreeNodeSelect,onTreeNodeCheck:this.onTreeNodeCheck,onPopupKeyDown:this.onComponentKeyDown,onSearchInputChange:this.onSearchInputChange,onSearchInputKeyDown:this.onSearchInputKeyDown}}},watch:E()({},function(e){var t={};return(0<arguments.length&&void 0!==e?e:[]).forEach(function(e){t[e]=function(){this.needSyncKeys[e]=!0}}),t}(["treeData","defaultValue","value"]),{__propsSymbol__:function(){var e=this.getDerivedState(this.$props,this.$data);this.setState(e),this.needSyncKeys={}},"$data._valueList":function(){var e=this;this.$nextTick(function(){e.forcePopupAlign()})},"$data._open":function(i){var o=this;setTimeout(function(){var n,r=o.$props.prefixCls,e=o.$data,t=e._selectorValueList,e=e._valueEntities;!o.isMultiple()&&t.length&&i&&o.popup&&(t=t[0].value,e=o.popup.getTree().domTreeNodes[(e[t]||{}).key])&&(n=e.$el,a()(function(){var e=function(e,t){for(var n=e;n;){if(H(n,t))return n;n=n.parentNode}return null}(o.popup.$el,r+"-dropdown"),t=o.popup.searchRef.current;n&&e&&t&&Object(z.a)(n,e,{onlyScrollIfNeeded:!0,offsetTop:t.offsetHeight})}))})}}),mounted:function(){var n=this;this.$nextTick(function(){var e=n.$props,t=e.autoFocus,e=e.disabled;t&&!e&&n.focus()})},methods:{getDerivedState:function(n,i){var t=this.$createElement,e=i._prevProps,r=void 0===e?{}:e,e=n.treeCheckable,o=n.treeCheckStrictly,a=n.filterTreeNode,s=n.treeNodeFilterProp,l=n.treeDataSimpleMode,u={_prevProps:E()({},n),_init:!1},c=this;function f(e,t){r[e]===n[e]&&!c.needSyncKeys[e]||t(n[e],r[e])}var h,d,p,y,m,g,v,b,_,x,w,A=!1,S=(f("open",function(e){u._open=e}),void 0),C=!1,O=!1;return f("treeData",function(e){S=q(t,e),C=!0}),f("treeDataSimpleMode",function(e,t){e&&(t=t&&!0!==t?t:{},N()(e,t)||(O=!0))}),l&&(C||O)&&(l=E()({id:"id",pId:"pId",rootPId:null},!0!==l?l:{}),S=q(t,(g=n.treeData,h=l.id,d=l.pId,p=l.rootPId,y={},m=[],g.map(function(e){var e=E()({},e),t=e[h];return(y[t]=e).key=e.key||t,e}).forEach(function(e){var t=e[d],n=y[t];n&&(n.children=n.children||[],n.children.push(e)),t!==p&&(n||null!==p)||m.push(e)}),m))),(S=n.treeData?S:Object(k.filterEmpty)(this.$slots.default))&&(l=S,g=Object(P.h)(l,{initWrapper:K,processEntity:X}),u._treeNodes=S,u._posEntities=g.posEntities,u._valueEntities=g.valueEntities,u._keyEntities=g.keyEntities,A=!0),i._init&&f("defaultValue",function(e){u._valueList=Q(e,n),A=!0}),f("value",function(e){u._valueList=Q(e,n),A=!0}),A&&(v=[],b=[],_=[],l=(l=u._valueList)||[].concat(M()(i._valueList),M()(i._missValueList)),x={},l.forEach(function(e){var t=e.value,n=e.label,r=(u._valueEntities||i._valueEntities)[t];x[t]=n,(r?(_.push(r.key),b):v).push(e)}),e&&!o?(l=L(_,!0,u._keyEntities||i._keyEntities).checkedKeys,u._valueList=l.map(function(e){var e=(u._keyEntities||i._keyEntities).get(e).value,t={value:e};return void 0!==x[e]&&(t.label=x[e]),t})):u._valueList=b,u._missValueList=v,u._selectorValueList=I(u._valueList,n,u._valueEntities||i._valueEntities)),f("inputValue",function(e){null!==e&&(u._searchValue=e)}),f("searchValue",function(e){u._searchValue=e}),(void 0!==u._searchValue||i._searchValue&&S)&&(l=(void 0!==u._searchValue?u:i)._searchValue,w=String(l).toUpperCase(),!1===(a=a)?a=function(){return!0}:"function"!=typeof a&&(a=function(e,t){return-1!==String(Object(k.getPropsData)(t)[s]).toUpperCase().indexOf(w)}),u._filteredTreeNodes=T(this.$createElement,u._treeNodes||i._treeNodes,l,a,u._valueEntities||i._valueEntities,j)),A&&e&&!o&&(u._searchValue||i._searchValue)&&(u._searchHalfCheckedKeys=J(u._valueList,u._valueEntities||i._valueEntities)),f("showCheckedStrategy",function(){u._selectorValueList=u._selectorValueList||I(u._valueList||i._valueList,n,u._valueEntities||i._valueEntities)}),u},onSelectorFocus:function(){this.setState({_focused:!0})},onSelectorBlur:function(){this.setState({_focused:!1})},onComponentKeyDown:function(e){var t=this.$data._open,n=e.keyCode;t?i.a.ESC===n?this.setOpenState(!1):-1!==[i.a.UP,i.a.DOWN,i.a.LEFT,i.a.RIGHT].indexOf(n)&&e.stopPropagation():-1!==[i.a.ENTER,i.a.DOWN].indexOf(n)&&this.setOpenState(!0)},onDeselect:function(e,t,n){this.__emit("deselect",e,t,n)},onSelectorClear:function(e){this.$props.disabled||(this.triggerChange([],[]),this.isSearchValueControlled()||this.setUncontrolledState({_searchValue:"",_filteredTreeNodes:null}),e.stopPropagation())},onMultipleSelectorRemove:function(e,t){e.stopPropagation();var a,n,r,e=this.$data,i=e._valueList,o=e._missValueList,s=e._valueEntities,e=this.$props,l=e.treeCheckable,u=e.treeCheckStrictly,c=e.treeNodeLabelProp;e.disabled||(e=i,(a=s[t])&&(e=l&&!u?i.filter(function(e){for(var e=e.value,e=s[e].pos,t=a.pos,n=e.split("-"),r=t.split("-"),i=Math.min(n.length,r.length),o=0;o<i;o+=1)if(n[o]!==r[o])return!void 0;return!1}):i.filter(function(e){return e.value!==t})),i=a?a.node:null,n={triggerValue:t,triggerNode:i},r={node:i},l?(l=e.map(function(e){e=e.value;return s[e]}),r.event="check",r.checked=!1,r.checkedNodes=l.map(function(e){return e.node}),r.checkedNodesPositions=l.map(function(e){return{node:e.node,pos:e.pos}}),n.allCheckedNodes=u?r.checkedNodes:h(l).map(function(e){return e.node})):(r.event="select",r.selected=!1,r.selectedNodes=e.map(function(e){e=e.value;return(s[e]||{}).node})),u=o.filter(function(e){return e.value!==t}),l=void 0,l=this.isLabelInValue()?{label:i?Object(k.getPropsData)(i)[c]:null,value:t}:t,this.onDeselect(l,i,r),this.triggerChange(u,e,n))},onValueTrigger:function(e,t,n,r){var i=n.node,o=i.$props.value,a=this.$data,s=a._missValueList,l=a._valueEntities,u=a._keyEntities,a=a._searchValue,c=this.$props,f=c.disabled,h=c.inputValue,d=c.treeNodeLabelProp,p=c.multiple,y=c.treeCheckable,m=c.treeCheckStrictly,c=c.autoClearSearchValue,g=i.$props[d];f||(f=void 0,f=this.isLabelInValue()?{value:o,label:g}:o,e?this.__emit("select",f,i,n):this.__emit("deselect",f,i,n),g=t.map(function(e){e=Object(k.getPropsData)(e);return{value:e.value,label:e[d]}}),y&&!m&&(f=g.map(function(e){e=e.value;return l[e].key}),g=(f=(e?L(f,!0,u):L([l[o].key],!1,u,{checkedKeys:f})).checkedKeys).map(function(e){e=Object(k.getPropsData)(u.get(e).node);return{value:e.value,label:e[d]}})),(c||null===h)&&(this.isSearchValueControlled()||!p&&!y||this.setUncontrolledState({_searchValue:"",_filteredTreeNodes:null}),a)&&a.length&&(this.__emit("update:searchValue",""),this.__emit("search","")),n=E()({},r,{triggerValue:o,triggerNode:i}),this.triggerChange(s,g,n))},onTreeNodeSelect:function(e,t){var n,r,i=this.$data,o=i._valueList,a=i._valueEntities,i=this.$props,s=i.treeCheckable,i=i.multiple;s||(i||this.setOpenState(!1),s=t.selected,n=t.node.$props.value,r=void 0,i?(r=o.filter(function(e){return e.value!==n}),s&&r.push({value:n})):r=[{value:n}],i=r.map(function(e){e=e.value;return a[e]}).filter(function(e){return e}).map(function(e){return e.node}),this.onValueTrigger(s,i,t,{selected:s}))},onTreeNodeCheck:function(e,t){var n=this.$data,r=n._searchValue,i=n._keyEntities,o=n._valueEntities,n=n._valueList,a=this.$props.treeCheckStrictly,s=t.checkedNodes,l=t.checkedNodesPositions,u=t.checked,c={checked:u};r?(r=n.map(function(e){e=e.value;return o[e]}).filter(function(e){return e}).map(function(e){return e.key}),n=void 0,s=(n=u?Array.from(new Set([].concat(M()(r),M()(s.map(function(e){e=Object(k.getPropsData)(e).value;return o[e].key}))))):L([Object(k.getPropsData)(t.node).eventKey],!1,i,{checkedKeys:r}).checkedKeys).map(function(e){return i.get(e).node}),c.allCheckedNodes=n.map(function(e){return p(i.get(e))})):c.allCheckedNodes=a?t.checkedNodes:h(l),this.onValueTrigger(u,s,t,c)},onDropdownVisibleChange:function(e){var t=this.$props,n=t.multiple,t=t.treeCheckable,r=this.$data._searchValue;e&&!n&&!t&&r&&this.setUncontrolledState({_searchValue:"",_filteredTreeNodes:null}),this.setOpenState(e,!0)},onSearchInputChange:function(e){var n,e=e.target.value,t=this.$data,r=t._treeNodes,t=t._valueEntities,i=this.$props,o=i.filterTreeNode,a=i.treeNodeFilterProp,i=(this.__emit("update:searchValue",e),this.__emit("search",e),!1);this.isSearchValueControlled()||(i=this.setUncontrolledState({_searchValue:e}),this.setOpenState(!0)),i&&(n=String(e).toUpperCase(),this.setState({_filteredTreeNodes:T(this.$createElement,r,e,i=!1===(i=o)?function(){return!0}:i||function(e,t){return-1!==String(Object(k.getPropsData)(t)[a]).toUpperCase().indexOf(n)},t,j)}))},onSearchInputKeyDown:function(e){var t=this.$data,n=t._searchValue,t=t._valueList,r=e.keyCode;i.a.BACKSPACE===r&&this.isMultiple()&&!n&&t.length&&(r=t[t.length-1].value,this.onMultipleSelectorRemove(e,r))},onChoiceAnimationLeave:function(){var e=this;a()(function(){e.forcePopupAlign()})},setPopupRef:function(e){this.popup=e},setUncontrolledState:function(t){var n=!1,r={},i=Object(k.getOptionProps)(this);return Object.keys(t).forEach(function(e){e.slice(1)in i||(n=!0,r[e]=t[e])}),n&&this.setState(r),n},setOpenState:function(e){var t=this.$props.dropdownVisibleChange;t&&!1===t(e,{documentClickClose:!e&&(1<arguments.length&&void 0!==arguments[1]&&arguments[1])})||this.setUncontrolledState({_open:e})},isMultiple:function(){var e=this.$props,t=e.multiple,e=e.treeCheckable;return!(!t&&!e)},isLabelInValue:function(){return d(this.$props)},isSearchValueControlled:function(){var e=Object(k.getOptionProps)(this),t=e.inputValue;return"searchValue"in e||"inputValue"in e&&null!==t},forcePopupAlign:function(){var e=this.selectTriggerRef.current;e&&e.forcePopupAlign()},delayForcePopupAlign:function(){var e=this;a()(function(){a()(e.forcePopupAlign)})},triggerChange:function(e,t){var n,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i=this.$data,o=i._valueEntities,a=i._searchValue,i=i._selectorValueList,s=Object(k.getOptionProps)(this),l=s.disabled,u=s.treeCheckable,c=s.treeCheckStrictly;l||(l=E()({preValue:i.map(function(e){return{label:e.label,value:e.value}})},r),i=I(t,s,o),"value"in s||(r={_missValueList:e,_valueList:t,_selectorValueList:i},a&&u&&!c&&(r._searchHalfCheckedKeys=J(t,o)),this.setState(r)),Object(k.getListeners)(this).change&&(s=void 0,s=this.isMultiple()?[].concat(M()(e),M()(i)):i.slice(0,1),n=null,a=void 0,a=this.isLabelInValue()?s.map(function(e){return{label:e.label,value:e.value}}):(n=[],s.map(function(e){var t=e.label,e=e.value;return n.push(t),e})),this.isMultiple()||(a=a[0]),this.__emit("change",a,n,l)))},focus:function(){this.selectorRef.current.focus()},blur:function(){this.selectorRef.current.blur()}},render:function(){var e=arguments[0],t=this.$data,n=t._valueList,r=t._missValueList,i=t._selectorValueList,o=t._searchHalfCheckedKeys,a=t._valueEntities,s=t._keyEntities,l=t._searchValue,u=t._open,c=t._focused,f=t._treeNodes,t=t._filteredTreeNodes,h=Object(k.getOptionProps)(this),d=h.prefixCls,p=h.treeExpandedKeys,y=this.isMultiple(),h={props:E()({},h,{isMultiple:y,valueList:n,searchHalfCheckedKeys:o,selectorValueList:[].concat(M()(r),M()(i)),valueEntities:a,keyEntities:s,searchValue:l,upperSearchValue:(l||"").toUpperCase(),open:u,focused:c,dropdownPrefixCls:d+"-dropdown",ariaId:this.ariaId}),on:E()({},Object(k.getListeners)(this),{choiceAnimationLeave:this.onChoiceAnimationLeave}),scopedSlots:this.$scopedSlots},n=Object(k.mergeProps)(h,{props:{treeNodes:f,filteredTreeNodes:t,treeExpandedKeys:p,__propsSymbol__:Symbol()},on:{treeExpanded:this.delayForcePopupAlign},directives:[{name:"ant-ref",value:this.setPopupRef}]}),o=e(y?ce:ue,n),r=e(y?se:re,m()([h,{directives:[{name:"ant-ref",value:this.selectorRef}]}])),i=Object(k.mergeProps)(h,{props:{popupElement:o,dropdownVisibleChange:this.onDropdownVisibleChange},directives:[{name:"ant-ref",value:this.selectTriggerRef}]});return e(Z,i,[r])}};_.TreeNode=j,_.SHOW_ALL=n,_.SHOW_PARENT=u,_.SHOW_CHILD=c,_.name="TreeSelect";var fe=j,he=t("i7/w"),he=t.n(he),de=t("Rs/M"),pe=(he.a.use(t.n(de).a,{name:"ant-ref"}),_),ye=t("mDm7"),me=r.a.shape({key:r.a.string,value:r.a.string,label:r.a.any,scopedSlots:r.a.object,children:r.a.array}).loose,ge=function(){return E()({},Object(ye.AbstractSelectProps)(),{autoFocus:r.a.bool,dropdownStyle:r.a.object,filterTreeNode:r.a.oneOfType([Function,Boolean]),getPopupContainer:r.a.func,labelInValue:r.a.bool,loadData:r.a.func,maxTagCount:r.a.number,maxTagPlaceholder:r.a.any,value:r.a.oneOfType([r.a.string,r.a.object,r.a.array,r.a.number]),defaultValue:r.a.oneOfType([r.a.string,r.a.object,r.a.array,r.a.number]),multiple:r.a.bool,notFoundContent:r.a.any,searchPlaceholder:r.a.string,searchValue:r.a.string,showCheckedStrategy:r.a.oneOf(["SHOW_ALL","SHOW_PARENT","SHOW_CHILD"]),suffixIcon:r.a.any,treeCheckable:r.a.oneOfType([r.a.any,r.a.bool]),treeCheckStrictly:r.a.bool,treeData:r.a.arrayOf(Object),treeDataSimpleMode:r.a.oneOfType([Boolean,Object]),dropdownClassName:r.a.string,dropdownMatchSelectWidth:r.a.bool,treeDefaultExpandAll:r.a.bool,treeExpandedKeys:r.a.array,treeIcon:r.a.bool,treeDefaultExpandedKeys:r.a.array,treeNodeFilterProp:r.a.string,treeNodeLabelProp:r.a.string,replaceFields:r.a.object.def({})})},ve=t("aiEA"),be=t("TfX5"),_e=t("2xRk"),O=t("DGO/"),D={TreeNode:E()({},fe,{name:"ATreeSelectNode"}),SHOW_ALL:n,SHOW_PARENT:u,SHOW_CHILD:c,name:"ATreeSelect",props:Object(k.initDefaultProps)(ge(),{transitionName:"slide-up",choiceTransitionName:"zoom",showSearch:!1}),model:{prop:"value",event:"change"},inject:{configProvider:{default:function(){return be.a}}},created:function(){Object(ve.a)(!1!==this.multiple||!this.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true")},methods:{focus:function(){this.$refs.vcTreeSelect.focus()},blur:function(){this.$refs.vcTreeSelect.blur()},renderSwitcherIcon:function(e,t){var n=t.isLeaf,t=t.loading,r=this.$createElement;return t?r(O.default,{attrs:{type:"loading"},class:e+"-switcher-loading-icon"}):n?null:r(O.default,{attrs:{type:"caret-down"},class:e+"-switcher-icon"})},onChange:function(){this.$emit.apply(this,["change"].concat(Array.prototype.slice.call(arguments)))},updateTreeData:function(e){var s=this,l=this.$scopedSlots,u=E()({},{children:"children",title:"title",key:"key",label:"label",value:"value"},this.$props.replaceFields);return e.map(function(e){var t=e.scopedSlots,t=void 0===t?{}:t,n=e[u.label],r=e[u.title],i=e[u.value],o=e[u.key],a=e[u.children],n="function"==typeof n?n(s.$createElement):n,r="function"==typeof r?r(s.$createElement):r,t=(!n&&t.label&&l[t.label]&&(n=l[t.label](e)),!r&&t.title&&l[t.title]&&(r=l[t.title](e)),E()({},e,{title:r||n,value:i,dataRef:e,key:o}));return a?E()({},t,{children:s.updateTreeData(a)}):t})}},render:function(e){var t=this,n=Object(k.getOptionProps)(this),r=n.prefixCls,i=n.size,o=n.dropdownStyle,a=n.dropdownClassName,s=n.getPopupContainer,l=R()(n,["prefixCls","size","dropdownStyle","dropdownClassName","getPopupContainer"]),u=(0,this.configProvider.getPrefixCls)("select",r),r=this.configProvider.renderEmpty,c=Object(k.getComponentFromProp)(this,"notFoundContent"),f=Object(k.getComponentFromProp)(this,"removeIcon"),h=Object(k.getComponentFromProp)(this,"clearIcon"),d=this.configProvider.getPopupContainer,p=Object(v.a)(l,["inputIcon","removeIcon","clearIcon","switcherIcon","suffixIcon"]),y=Object(k.getComponentFromProp)(this,"suffixIcon"),y=Array.isArray(y)?y[0]:y,n=(n=n.treeData)&&this.updateTreeData(n),i=(m={},g()(m,u+"-lg","large"===i),g()(m,u+"-sm","small"===i),m),m=l.showSearch;"showSearch"in l||(m=!(!l.multiple&&!l.treeCheckable));l=(l=Object(k.getComponentFromProp)(this,"treeCheckable"))&&e("span",{class:u+"-tree-checkbox-inner"}),y=y||e(O.default,{attrs:{type:"down"},class:u+"-arrow-icon"}),f=f||e(O.default,{attrs:{type:"close"},class:u+"-remove-icon"}),h=h||e(O.default,{attrs:{type:"close-circle",theme:"filled"},class:u+"-clear-icon"}),y={props:E()(E()({switcherIcon:function(e){return t.renderSwitcherIcon(u,e)},inputIcon:y,removeIcon:f,clearIcon:h},p,{showSearch:m,getPopupContainer:s||d,dropdownClassName:x()(a,u+"-tree-dropdown"),prefixCls:u,dropdownStyle:E()({maxHeight:"100vh",overflow:"auto"},o),treeCheckable:l,notFoundContent:c||r(e,"Select"),__propsSymbol__:Symbol()}),n?{treeData:n}:{}),class:i,on:E()({},Object(k.getListeners)(this),{change:this.onChange}),ref:"vcTreeSelect",scopedSlots:this.$scopedSlots};return e(pe,y,[Object(k.filterEmpty)(this.$slots.default)])},install:function(e){e.use(_e.default),e.component(D.name,D),e.component(D.TreeNode.name,D.TreeNode)}};e.default=D},"e/Qi":function(e,n,r){e.exports=function(){var y=function(e){return typeof e==="number"&&parseFloat(e)==parseInt(e,10)&&!isNaN(e)},D=function(e){return e},r=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(e,t){if(this===undefined||this===null)throw new TypeError('"this" is null or not defined');var n=this.length>>>0;t=+t||0;if(Math.abs(t)===Infinity)t=0;if(t<0){t+=n;if(t<0)t=0}for(;t<n;t++)if(this[t]===e)return t;return-1};var e=function(e){this.objectID="";this.separator=" - ";this.legendSeparator=this.separator;this.method="";this.precision=0;this.precisionflag="auto";this.roundlength=2;this.is_uniqueValues=false;this.debug=false;this.silent=false;this.bounds=Array();this.ranges=Array();this.inner_ranges=null;this.colors=Array();this.counter=Array();this.stat_sorted=null;this.stat_mean=null;this.stat_median=null;this.stat_sum=null;this.stat_max=null;this.stat_min=null;this.stat_pop=null;this.stat_variance=null;this.stat_stddev=null;this.stat_cov=null;this.log=function(e,t){if(this.debug==true||t!=null)console.log(this.objectID+"(object id) :: "+e)};this.setBounds=function(e){this.log("Setting bounds ("+e.length+") : "+e.join());this.bounds=Array();this.bounds=e};this.setSerie=function(e){this.log("Setting serie ("+e.length+") : "+e.join());this.serie=Array();this.serie=e;this.resetStatistics();this.setPrecision()};this.setColors=function(e){this.log("Setting color ramp ("+e.length+") : "+e.join());this.colors=e};this.doCount=function(){if(this._nodata())return;var e=this.sorted();this.counter=new Array;for(i=0;i<this.bounds.length-1;i++)this.counter[i]=0;for(j=0;j<e.length;j++){var t=this.getClass(e[j]);this.counter[t]++}};this.setPrecision=function(e){if(typeof e!=="undefined"){this.precisionflag="manual";this.precision=e}if(this.precisionflag=="auto")for(var t=0;t<this.serie.length;t++){if(!isNaN(this.serie[t]+"")&&(this.serie[t]+"").toString().indexOf(".")!=-1)var n=(this.serie[t]+"").split(".")[1].length;else var n=0;if(n>this.precision)this.precision=n}if(this.precision>20){this.log("this.precision value ("+this.precision+') is greater than max value. Automatic set-up to 20 to prevent "Uncaught RangeError: toFixed()" when calling decimalFormat() method.');this.precision=20}this.log("Calling setPrecision(). Mode : "+this.precisionflag+" - Decimals : "+this.precision);this.serie=this.decimalFormat(this.serie)};this.decimalFormat=function(e){var t=new Array;for(var n=0;n<e.length;n++)if(r(e[n]))t[n]=parseFloat(parseFloat(e[n]).toFixed(this.precision));else t[n]=e[n];return t};this.setRanges=function(){this.ranges=Array();for(i=0;i<this.bounds.length-1;i++)this.ranges[i]=this.bounds[i]+this.separator+this.bounds[i+1]};this.min=function(){if(this._nodata())return;this.stat_min=this.serie[0];for(i=0;i<this.pop();i++)if(this.serie[i]<this.stat_min)this.stat_min=this.serie[i];return this.stat_min};this.max=function(){if(this._nodata())return;this.stat_max=this.serie[0];for(i=0;i<this.pop();i++)if(this.serie[i]>this.stat_max)this.stat_max=this.serie[i];return this.stat_max};this.sum=function(){if(this._nodata())return;if(this.stat_sum==null){this.stat_sum=0;for(i=0;i<this.pop();i++)this.stat_sum+=parseFloat(this.serie[i])}return this.stat_sum};this.pop=function(){if(this._nodata())return;if(this.stat_pop==null)this.stat_pop=this.serie.length;return this.stat_pop};this.mean=function(){if(this._nodata())return;if(this.stat_mean==null)this.stat_mean=parseFloat(this.sum()/this.pop());return this.stat_mean};this.median=function(){if(this._nodata())return;if(this.stat_median==null){this.stat_median=0;var e=this.sorted();if(e.length%2)this.stat_median=parseFloat(e[Math.ceil(e.length/2)-1]);else this.stat_median=(parseFloat(e[e.length/2-1])+parseFloat(e[e.length/2]))/2}return this.stat_median};this.variance=function(){round=typeof round==="undefined"?true:false;if(this._nodata())return;if(this.stat_variance==null){var e=0,t=this.mean();for(var n=0;n<this.pop();n++)e+=Math.pow(this.serie[n]-t,2);this.stat_variance=e/this.pop();if(round==true)this.stat_variance=Math.round(this.stat_variance*Math.pow(10,this.roundlength))/Math.pow(10,this.roundlength)}return this.stat_variance};this.stddev=function(e){e=typeof e==="undefined"?true:false;if(this._nodata())return;if(this.stat_stddev==null){this.stat_stddev=Math.sqrt(this.variance());if(e==true)this.stat_stddev=Math.round(this.stat_stddev*Math.pow(10,this.roundlength))/Math.pow(10,this.roundlength)}return this.stat_stddev};this.cov=function(e){e=typeof e==="undefined"?true:false;if(this._nodata())return;if(this.stat_cov==null){this.stat_cov=this.stddev()/this.mean();if(e==true)this.stat_cov=Math.round(this.stat_cov*Math.pow(10,this.roundlength))/Math.pow(10,this.roundlength)}return this.stat_cov};this.resetStatistics=function(){this.stat_sorted=null;this.stat_mean=null;this.stat_median=null;this.stat_sum=null;this.stat_max=null;this.stat_min=null;this.stat_pop=null;this.stat_variance=null;this.stat_stddev=null;this.stat_cov=null};this._nodata=function(){if(this.serie.length==0){if(this.silent)this.log("[silent mode] Error. You should first enter a serie!",true);else throw new TypeError("Error. You should first enter a serie!");return 1}else return 0};this._hasNegativeValue=function(){for(i=0;i<this.serie.length;i++)if(this.serie[i]<0)return true;return false};this._hasZeroValue=function(){for(i=0;i<this.serie.length;i++)if(parseFloat(this.serie[i])===0)return true;return false};this.sorted=function(){if(this.stat_sorted==null)if(this.is_uniqueValues==false)this.stat_sorted=this.serie.sort(function(e,t){return e-t});else this.stat_sorted=this.serie.sort(function(e,t){var n=e.toString().toLowerCase(),r=t.toString().toLowerCase();if(n<r)return-1;if(n>r)return 1;return 0});return this.stat_sorted};this.info=function(){if(this._nodata())return;var e="";e+=D("Population")+" : "+this.pop()+" - ["+D("Min")+" : "+this.min()+" | "+D("Max")+" : "+this.max()+"]"+"\n";e+=D("Mean")+" : "+this.mean()+" - "+D("Median")+" : "+this.median()+"\n";e+=D("Variance")+" : "+this.variance()+" - "+D("Standard deviation")+" : "+this.stddev()+" - "+D("Coefficient of variation")+" : "+this.cov()+"\n";return e};this.setClassManually=function(e){if(this._nodata())return;if(e[0]!==this.min()||e[e.length-1]!==this.max()){if(this.silent)this.log("[silent mode] "+t("Given bounds may not be correct! please check your input.\nMin value : "+this.min()+" / Max value : "+this.max()),true);else throw new TypeError(D("Given bounds may not be correct! please check your input.\nMin value : "+this.min()+" / Max value : "+this.max()));return}this.setBounds(e);this.setRanges();this.method=D("manual classification")+" ("+(e.length-1)+" "+D("classes")+")";return this.bounds};this.getClassEqInterval=function(e,t,n){if(this._nodata())return;var r=typeof t==="undefined"?this.min():t;var o=typeof n==="undefined"?this.max():n;var a=Array();var s=r;var l=(o-r)/e;for(i=0;i<=e;i++){a[i]=s;s+=l}a[e]=o;this.setBounds(a);this.setRanges();this.method=D("eq. intervals")+" ("+e+" "+D("classes")+")";return this.bounds};this.getQuantiles=function(e){var t=this.sorted();var n=[];var r=this.pop()/e;for(var i=1;i<e;i++){var o=Math.round(i*r+.49);n.push(t[o-1])}return n};this.getClassQuantile=function(e){if(this._nodata())return;var t=this.sorted();var n=this.getQuantiles(e);n.unshift(t[0]);if(n[t.length-1]!==t[t.length-1])n.push(t[t.length-1]);this.setBounds(n);this.setRanges();this.method=D("quantile")+" ("+e+" "+D("classes")+")";return this.bounds};this.getClassStdDeviation=function(e,t){if(this._nodata())return;var n=this.max();var r=this.min();var o=Array();if(e%2==1){var a=Math.floor(e/2);var s=a+1;o[a]=this.mean()-this.stddev()/2;o[s]=this.mean()+this.stddev()/2;for(i=a-1;i>0;i--){var l=o[i+1]-this.stddev();o[i]=l}for(i=s+1;i<e;i++){var l=o[i-1]+this.stddev();o[i]=l}}else{var u=e/2;o[u]=this.mean();for(i=u-1;i>0;i--){var l=o[i+1]-this.stddev();o[i]=l}for(i=u+1;i<e;i++){var l=o[i-1]+this.stddev();o[i]=l}}o[0]=typeof t==="undefined"?o[1]-this.stddev():this.min();o[e]=typeof t==="undefined"?o[e-1]+this.stddev():this.max();this.setBounds(o);this.setRanges();this.method=D("std deviation")+" ("+e+" "+D("classes")+")";return this.bounds};this.getClassGeometricProgression=function(e){if(this._nodata())return;if(this._hasNegativeValue()||this._hasZeroValue()){if(this.silent)this.log("[silent mode] "+D("geometric progression can't be applied with a serie containing negative or zero values."),true);else throw new TypeError(D("geometric progression can't be applied with a serie containing negative or zero values."));return}var t=Array();var n=this.min();var r=this.max();var o=Math.log(r)/Math.LN10;var a=Math.log(n)/Math.LN10;var s=(o-a)/e;for(i=0;i<e;i++)if(i==0)t[i]=a;else t[i]=t[i-1]+s;t=t.map(function(e){return Math.pow(10,e)});t.push(this.max());this.setBounds(t);this.setRanges();this.method=D("geometric progression")+" ("+e+" "+D("classes")+")";return this.bounds};this.getClassArithmeticProgression=function(e){if(this._nodata())return;var t=0;for(i=1;i<=e;i++)t+=i;var n=Array();var r=this.min();var o=this.max();var a=(o-r)/t;for(i=0;i<=e;i++)if(i==0)n[i]=r;else n[i]=n[i-1]+i*a;this.setBounds(n);this.setRanges();this.method=D("arithmetic progression")+" ("+e+" "+D("classes")+")";return this.bounds};this.getClassJenks=function(e){if(this._nodata())return;dataList=this.sorted();var t=[];for(var n=0,r=dataList.length+1;n<r;n++){var i=[];for(var o=0,a=e+1;o<a;o++)i.push(0);t.push(i)}var s=[];for(var l=0,u=dataList.length+1;l<u;l++){var c=[];for(var f=0,h=e+1;f<h;f++)c.push(0);s.push(c)}for(var d=1,p=e+1;d<p;d++){t[0][d]=1;s[0][d]=0;for(var y=1,m=dataList.length+1;y<m;y++)s[y][d]=Infinity;var g=0}for(var v=2,b=dataList.length+1;v<b;v++){var _=0;var x=0;var w=0;for(var A=1,S=v+1;A<S;A++){var C=v-A+1;var O=parseFloat(dataList[C-1]);x+=O*O;_+=O;w+=1;g=x-_*_/w;var E=C-1;if(E!=0)for(var M=2,P=e+1;M<P;M++)if(s[v][M]>=g+s[E][M-1]){t[v][M]=C;s[v][M]=g+s[E][M-1]}}t[v][1]=1;s[v][1]=g}var k=dataList.length;var T=[];for(l=0;l<=e;l++)T.push(0);T[e]=parseFloat(dataList[dataList.length-1]);T[0]=parseFloat(dataList[0]);var I=e;while(I>=2){var L=parseInt(t[k][I]-2);T[I-1]=dataList[L];k=parseInt(t[k][I]-1);I-=1}if(T[0]==T[1])T[0]=0;this.setBounds(T);this.setRanges();this.method=D("Jenks")+" ("+e+" "+D("classes")+")";return this.bounds};this.getClassUniqueValues=function(){if(this._nodata())return;this.is_uniqueValues=true;var e=this.sorted();var t=Array();for(i=0;i<this.pop();i++)if(t.indexOf(e[i])===-1)t.push(e[i]);this.bounds=t;this.method=D("unique values");return t};this.getClass=function(e){for(i=0;i<this.bounds.length;i++)if(this.is_uniqueValues==true){if(e==this.bounds[i])return i}else if(parseFloat(e)<=this.bounds[i+1])return i;return D("Unable to get value's class.")};this.getRanges=function(){return this.ranges};this.getRangeNum=function(e){var t,n;for(n=0;n<this.ranges.length;n++){t=this.ranges[n].split(/ - /);if(e<=parseFloat(t[1]))return n}};this.getInnerRanges=function(){if(this.inner_ranges!=null)return this.inner_ranges;var e=new Array;var t=this.sorted();var n=1;for(i=0;i<t.length;i++){if(i==0)var r=t[i];if(parseFloat(t[i])>parseFloat(this.bounds[n])){e[n-1]=""+r+this.separator+t[i-1];var r=t[i];n++}if(n==this.bounds.length-1){e[n-1]=""+r+this.separator+t[t.length-1];this.inner_ranges=e;return this.inner_ranges}}};this.getSortedlist=function(){return this.sorted().join(", ")};this.getHtmlLegend=function(e,t,n,r,o,a){var s="";var l=new Array;this.doCount();if(e!=null)ccolors=e;else ccolors=this.colors;if(t!=null)lg=t;else lg="Legend";if(n!=null)getcounter=true;else getcounter=false;if(r!=null)fn=r;else fn=function(e){return e};if(o==null)o="default";if(o=="discontinuous"){this.getInnerRanges();if(this.counter.indexOf(0)!==-1){if(this.silent)this.log("[silent mode] "+D("Geostats cannot apply 'discontinuous' mode to the getHtmlLegend() method because some classes are not populated.\nPlease switch to 'default' or 'distinct' modes. Exit!"),true);else throw new TypeError(D("Geostats cannot apply 'discontinuous' mode to the getHtmlLegend() method because some classes are not populated.\nPlease switch to 'default' or 'distinct' modes. Exit!"));return}}if(a!=="DESC")a="ASC";if(ccolors.length<this.ranges.length){if(this.silent)this.log("[silent mode] "+D("The number of colors should fit the number of ranges. Exit!"),true);else throw new TypeError(D("The number of colors should fit the number of ranges. Exit!"));return}if(this.is_uniqueValues==false)for(i=0;i<this.ranges.length;i++){if(getcounter===true)s=' <span class="geostats-legend-counter">('+this.counter[i]+")</span>";var u=this.ranges[i].split(this.separator);var c=parseFloat(u[0]).toFixed(this.precision);var f=parseFloat(u[1]).toFixed(this.precision);if(o=="distinct"&&i!=0)if(y(c)){c=parseInt(c)+1;if(this.precisionflag=="manual"&&this.precision!=0)c=parseFloat(c).toFixed(this.precision)}else{c=parseFloat(c)+1/Math.pow(10,this.precision);c=parseFloat(c).toFixed(this.precision)}if(o=="discontinuous"){var u=this.inner_ranges[i].split(this.separator);var c=parseFloat(u[0]).toFixed(this.precision);var f=parseFloat(u[1]).toFixed(this.precision)}var h=fn(c)+this.legendSeparator+fn(f);var d='<div><div class="geostats-legend-block" style="background-color:'+ccolors[i]+'"></div> '+h+s+"</div>";l.push(d)}else for(i=0;i<this.bounds.length;i++){if(getcounter===true)s=' <span class="geostats-legend-counter">('+this.counter[i]+")</span>";var h=fn(this.bounds[i]);var d='<div><div class="geostats-legend-block" style="background-color:'+ccolors[i]+'"></div> '+h+s+"</div>";l.push(d)}if(a==="DESC")l.reverse();var p='<div class="geostats-legend"><div class="geostats-legend-title">'+D(lg)+"</div>";for(i=0;i<l.length;i++)p+=l[i];p+="</div>";return p};this.objectID=(new Date).getUTCMilliseconds();this.log("Creating new geostats object");if(typeof e!=="undefined"&&e.length>0){this.serie=e;this.setPrecision();this.log("Setting serie ("+e.length+") : "+e.join())}else this.serie=Array();this.getJenks=this.getClassJenks;this.getGeometricProgression=this.getClassGeometricProgression;this.getEqInterval=this.getClassEqInterval;this.getQuantile=this.getClassQuantile;this.getStdDeviation=this.getClassStdDeviation;this.getUniqueValues=this.getClassUniqueValues;this.getArithmeticProgression=this.getClassArithmeticProgression};return window.geostats=e}()},e1fm:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{staticClass:"sm-component-indicator",style:e.getBackgroundStyle},[t("div",{class:"sm-component-indicator__content sm-component-indicator__content-"+e.mode},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.showTitleUnit,expression:"showTitleUnit"}],staticClass:"sm-component-indicator__title",style:[e.unit_titleStyle,e.getTextColorStyle]},[e._v(e._s(e.titleData))]),e._v(" "),t("div",[t("span",{staticClass:"sm-component-indicator__num",style:e.indicatorStyle},[e.isNumber(e.indicatorNum)?t("countTo",{attrs:{decimals:e.calDecimals,startVal:e.startData,endVal:e.numData,duration:Number(e.duration)||1e3,separator:e.filterSeparator,numBackground:e.numBackground,numSpacing:e.numSpacing,separatorBackground:e.separatorBackground,fontSize:parseFloat(e.fontSize)+e.fontUnit}}):e._e(),e._v("\n "+e._s(e.isNumber(e.indicatorNum)?"":e.indicatorNum)+"\n ")],1),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.showTitleUnit,expression:"showTitleUnit"}],staticClass:"sm-component-indicator__unit",style:[e.unit_titleStyle,e.getTextColorStyle]},[e._v(e._s(e.unitData))])])])])},i=[]},e4Nc:function(e,t,n){var r=n("fGT3"),i=n("k+1r"),o=n("JHgL"),a=n("pSRY"),n=n("H8j4");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=n,e.exports=s},e4bS:function(e,t,n){"use strict";n.r(t);var r,i=n("soSS");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},e6PS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Pixel=void 0,t.Pixel=function(){function r(e,t,n){this.x=e?parseFloat(e):0,this.y=t?parseFloat(t):0,this.mode=n,this.CLASS_NAME="Pixel",r.Mode={LeftTop:"lefttop",RightTop:"righttop",RightBottom:"rightbottom",LeftBottom:"leftbottom"}}var e=r.prototype;return e.toString=function(){return"x="+this.x+",y="+this.y},e.clone=function(){return new r(this.x,this.y,this.mode)},e.equals=function(e){var t=!1;return t=null!=e?this.x===e.x&&this.y===e.y||isNaN(this.x)&&isNaN(this.y)&&isNaN(e.x)&&isNaN(e.y):t},e.distanceTo=function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},e.add=function(e,t){if(null==e||null==t)throw new TypeError("Pixel.add cannot receive null values");return new r(this.x+e,this.y+t)},e.offset=function(e){var t=this.clone();return t=e?this.add(e.x,e.y):t},e.destroy=function(){this.x=null,this.y=null,this.mode=null},r}()},e7LN:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.clearNumberComma=function(e){e.replace&&(e=e.replace(/,/g,""));return e},t.filterInvalidData=function(e,t){var r=e.map(function(e){return e.xField}),i=e.map(function(e){return e.yField});return t.filter(function(t){var e=r.find(function(e){return Object.prototype.hasOwnProperty.call(t.properties,e)}),n=i.find(function(e){return![void 0,null,""].includes(t.properties[e])});return!(!e||!n)})},t.getColorWithOpacity=function(e,t,n){void 0===n&&(n=!0);if(!e)return e;var e=(0,l.default)(e),r=e.getAlpha();n?e.setAlpha(r*t):e.setAlpha(t);return e.toRgbString()},t.getDarkenColor=function(e,t){return(0,l.default)(e).darken(t).toString()},t.getDataType=u,t.getDateTime=function(e){return(0,i.geti18n)().d(new Date,e.replace(/\+/g,"_"))},t.getDerivedColorsByTextColor=function(e,t){if(!e)return e;if(e.includes("var"))return"var(--alpha"+100*t+")";var e=(0,l.default)(e),n=e.getAlpha();return e.setAlpha(n*t/.65),e.toRgbString()},t.getFeatureCenter=function(e){var t,n=((e||{}).geometry||{}).coordinates;if(n&&!!n.length)return t=e.geometry.type,"LineString"===t?n[parseInt(n.length/2)]:"MultiLineString"===t?(t=n[parseInt(n.length/2)])[parseInt(t.length/2)]:(0,a.default)(e).geometry.coordinates},t.getValueCaseInsensitive=function(e,t){var n="[object Object]"===u(e);if(t&&n){var r,i=t.toLocaleLowerCase();for(r in e)if(r.toLocaleLowerCase()===i)return e[r]}return""},t.handleDataParentRes=function(e,t,n){void 0===n&&(n="DATA");return t?c(e,"parentResType="+n+"&parentResId="+t):e},t.handleWithCredentials=function(e,t,n){void 0===n&&(n=!1);return t&&0<=e.indexOf(t)||n},t.hexToRgba=function(e,t){return"rgba("+parseInt("0x"+e.slice(1,3))+","+parseInt("0x"+e.slice(3,5))+","+parseInt("0x"+e.slice(5,7))+","+t+")"},t.isDate=function(e){return/((^((1[8-9]\d{2})|([2-9]\d{3}))([-\/\._])(10|12|0?[13578])([-\/\._])(3[01]|[12][0-9]|0?[1-9])$)|(^((1[8-9]\d{2})|([2-9]\d{3}))([-\/\._])(11|0?[469])([-\/\._])(30|[12][0-9]|0?[1-9])$)|(^((1[8-9]\d{2})|([2-9]\d{3}))([-\/\._])(0?2)([-\/\._])(2[0-8]|1[0-9]|0?[1-9])$)|(^([2468][048]00)([-\/\._])(0?2)([-\/\._])(29)$)|(^([3579][26]00)([-\/\._])(0?2)([-\/\._])(29)$)|(^([1][89][0][48])([-\/\._])(0?2)([-\/\._])(29)$)|(^([2-9][0-9][0][48])([-\/\._])(0?2)([-\/\._])(29)$)|(^([1][89][2468][048])([-\/\._])(0?2)([-\/\._])(29)$)|(^([2-9][0-9][2468][048])([-\/\._])(0?2)([-\/\._])(29)$)|(^([1][89][13579][26])([-\/\._])(0?2)([-\/\._])(29)$)|(^([2-9][0-9][13579][26])([-\/\._])(0?2)([-\/\._])(29)$))/gi.test(e)},t.isMatchUrl=function(e){return new RegExp("(https?|http|file|ftp)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]").test(e)},t.isNumber=function(e){e=Number(e);return 0===e||!isNaN(e)},t.isTransparent=function(e){return 0==+(0,o.default)(e,"rgba").match(/(\d(\.\d+)?)+/g)[3]},t.isXField=function(e){e=e.toLowerCase();return"x"===e||"smx"===e||"jd"===e||"经度"===e||"东经"===e||"longitude"===e||"lot"===e||"lon"===e||"long"===e||"lng"===e||"x坐标"===e},t.isYField=function(e){e=e.toLowerCase();return"y"===e||"smy"===e||"wd"===e||"纬度"===e||"北纬"===e||"latitude"===e||"lat"===e||"y坐标"===e},t.numberEqual=function(e,t,n){void 0===n&&(n=1e-5);return Math.abs(+e-+t)<=n},t.objectWithoutProperties=function(e,t){void 0===t&&(t=[]);return(0,s.default)(e,t)},t.parseUrl=function(e){return e.match(/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/)},t.reservedDecimal=function(e,t){return Number(e).toFixed(t)},t.setPopupArrowStyle=function(n){var e=document.querySelectorAll(".sm-mapboxgl-tabel-popup");e&&e.forEach(function(e){var t=e.className.replace(/.+mapboxgl-popup-anchor-([a-z]+)/,"$1");f[t]&&(e=e.querySelector(".mapboxgl-popup-tip"))&&(e.style["border"+f[t]+"Color"]=n)})},t.strip=function(e,t){void 0===t&&(t=12);if("number"==typeof e)return+parseFloat(e.toPrecision(t))},t.urlAppend=c,n("DSM6")),o=r(n("rn/G")),a=r(n("7mrb")),s=r(n("BGR+")),l=r(n("lMfh"));function u(e){return Object.prototype.toString.call(e)}function c(e,t){var n=e;return t&&(0===t.indexOf("?")&&(t=t.substring(1)),n+=" "===(e=(e+" ").split(/[?&]/)).pop()?t:e.length?"&"+t:"?"+t),n}var f={top:"Bottom",bottom:"Top",left:"Right",right:"Left"}},eCvj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length)&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady"))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var r=e.imagesToLoad[n];e.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,t)}}},eE3R:function(e,t,n){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},eE5u:function(e,t,n){"use strict";n.r(t);var r,i=n("9A0v");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},eRwv:function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},eUgh:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},eUtF:function(e,t,n){e.exports=!n("jmDH")&&!n("KUxP")(function(){return 7!=Object.defineProperty(n("Hsns")("div"),"a",{get:function(){return 7}}).a})},eXTs:function(e,t,n){"use strict";n.r(t);var r,i=n("V7qu");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},eaoh:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},ebwN:function(e,t,n){n=n("Cwc5")(n("Kz5y"),"Map");e.exports=n},ej0c:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var t=this;function n(e){return t.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function e(e,t){return parseFloat(e.getPropertyValue(n(t))||0)}var r=t.params,i=t.$wrapperEl,o=t.size,a=t.rtlTranslate,s=t.wrongRTL,l=t.virtual&&r.virtual.enabled,B=(l?t.virtual:t).slides.length,u=i.children("."+t.params.slideClass),c=(l?t.virtual.slides:u).length,f=[],h=[],d=[],p=r.slidesOffsetBefore;"function"==typeof p&&(p=r.slidesOffsetBefore.call(t));var y=r.slidesOffsetAfter;"function"==typeof y&&(y=r.slidesOffsetAfter.call(t));var l=t.snapGrid.length,R=t.slidesGrid.length,m=r.spaceBetween,g=-p,v=0,b=0;if(void 0!==o){"string"==typeof m&&0<=m.indexOf("%")&&(m=parseFloat(m.replace("%",""))/100*o),t.virtualSize=-m,a?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),1<r.slidesPerColumn&&(_=Math.floor(c/r.slidesPerColumn)===c/t.params.slidesPerColumn?c:Math.ceil(c/r.slidesPerColumn)*r.slidesPerColumn,"auto"!==r.slidesPerView)&&"row"===r.slidesPerColumnFill&&(_=Math.max(_,r.slidesPerView*r.slidesPerColumn));for(var _,x,w,N,z,A,F,S=r.slidesPerColumn,V=_/S,H=Math.floor(c/r.slidesPerColumn),C=0;C<c;C+=1){x=0;var O,E,M,P,k,T,Y,G,U,I,L=u.eq(C);1<r.slidesPerColumn&&(T=k=P=void 0,"row"===r.slidesPerColumnFill&&1<r.slidesPerGroup?(M=Math.floor(C/(r.slidesPerGroup*r.slidesPerColumn)),O=C-r.slidesPerColumn*r.slidesPerGroup*M,E=0===M?r.slidesPerGroup:Math.min(Math.ceil((c-M*S*r.slidesPerGroup)/S),r.slidesPerGroup),T=Math.floor(O/E),k=O-T*E+M*r.slidesPerGroup,P=k+T*_/S,L.css({"-webkit-box-ordinal-group":P,"-moz-box-ordinal-group":P,"-ms-flex-order":P,"-webkit-order":P,order:P})):"column"===r.slidesPerColumnFill?(k=Math.floor(C/S),T=C-k*S,(H<k||k===H&&T===S-1)&&S<=(T+=1)&&(T=0,k+=1)):(T=Math.floor(C/V),k=C-T*V),L.css(n("margin-top"),0!==T?r.spaceBetween&&r.spaceBetween+"px":"")),"none"!==L.css("display")&&("auto"===r.slidesPerView?(O=getComputedStyle(L[0]),E=L[0].style.transform,M=L[0].style.webkitTransform,E&&(L[0].style.transform="none"),M&&(L[0].style.webkitTransform="none"),x=r.roundLengths?t.isHorizontal()?L.outerWidth(!0):L.outerHeight(!0):(P=e(O,"width"),k=e(O,"padding-left"),T=e(O,"padding-right"),Y=e(O,"margin-left"),G=e(O,"margin-right"),(I=O.getPropertyValue("box-sizing"))&&"border-box"===I?P+Y+G:(I=L[0],U=I.clientWidth,I=I.offsetWidth,P+k+T+Y+G+(I-U))),E&&(L[0].style.transform=E),M&&(L[0].style.webkitTransform=M),r.roundLengths&&(x=Math.floor(x))):(x=(o-(r.slidesPerView-1)*m)/r.slidesPerView,r.roundLengths&&(x=Math.floor(x)),u[C]&&(u[C].style[n("width")]=x+"px")),u[C]&&(u[C].swiperSlideSize=x),d.push(x),r.centeredSlides?(g=g+x/2+v/2+m,0===v&&0!==C&&(g=g-o/2-m),0===C&&(g=g-o/2-m),Math.abs(g)<.001&&(g=0),r.roundLengths&&(g=Math.floor(g)),b%r.slidesPerGroup==0&&f.push(g),h.push(g)):(r.roundLengths&&(g=Math.floor(g)),(b-Math.min(t.params.slidesPerGroupSkip,b))%t.params.slidesPerGroup==0&&f.push(g),h.push(g),g=g+x+m),t.virtualSize+=x+m,v=x,b+=1)}if(t.virtualSize=Math.max(t.virtualSize,o)+y,a&&s&&("slide"===r.effect||"coverflow"===r.effect)&&i.css({width:t.virtualSize+r.spaceBetween+"px"}),r.setWrapperSize&&i.css(((s={})[n("width")]=t.virtualSize+r.spaceBetween+"px",s)),1<r.slidesPerColumn)if(t.virtualSize=(x+r.spaceBetween)*_,t.virtualSize=Math.ceil(t.virtualSize/r.slidesPerColumn)-r.spaceBetween,i.css(((s={})[n("width")]=t.virtualSize+r.spaceBetween+"px",s)),r.centeredSlides){w=[];for(var j=0;j<f.length;j+=1){var Q=f[j];r.roundLengths&&(Q=Math.floor(Q)),f[j]<t.virtualSize+f[0]&&w.push(Q)}f=w}if(!r.centeredSlides){w=[];for(var D=0;D<f.length;D+=1){var W=f[D];r.roundLengths&&(W=Math.floor(W)),f[D]<=t.virtualSize-o&&w.push(W)}f=w,1<Math.floor(t.virtualSize-o)-Math.floor(f[f.length-1])&&f.push(t.virtualSize-o)}0===f.length&&(f=[0]),0!==r.spaceBetween&&(i=t.isHorizontal()&&a?"marginLeft":n("marginRight"),u.filter(function(e,t){return!r.cssMode||t!==u.length-1}).css(((s={})[i]=m+"px",s))),r.centeredSlides&&r.centeredSlidesBounds&&(N=0,d.forEach(function(e){N+=e+(r.spaceBetween||0)}),z=(N-=r.spaceBetween)-o,f=f.map(function(e){return e<0?-p:z<e?z+y:e})),r.centerInsufficientSlides&&(A=0,d.forEach(function(e){A+=e+(r.spaceBetween||0)}),(A-=r.spaceBetween)<o)&&(F=(o-A)/2,f.forEach(function(e,t){f[t]=e-F}),h.forEach(function(e,t){h[t]=e+F})),(0,q.extend)(t,{slides:u,snapGrid:f,slidesGrid:h,slidesSizesGrid:d}),c!==B&&t.emit("slidesLengthChange"),f.length!==l&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==R&&t.emit("slidesGridLengthChange"),(r.watchSlidesProgress||r.watchSlidesVisibility)&&t.updateSlidesOffset()}};var q=n("cKS0")},ekee:function(e,t,n){"use strict";n.r(t);var r,i=n("II3L"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},ekgI:function(e,t,n){var r=n("YESw"),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},ewVk:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return r});var t=n("m1cH"),m=n.n(t),t=n("QbLZ"),g=n.n(t),v=n("2qPA"),t=n("TSYQ"),b=n.n(t);function _(e,t){var n=e.componentOptions,r=e.data,i={},o=(n&&n.listeners&&(i=g()({},n.listeners)),{}),r=(r&&r.on&&(o=g()({},r.on)),new e.constructor(e.tag,r&&g()({},r,{on:o}),e.children,e.text,e.elm,e.context,n&&g()({},n,{listeners:i}),e.asyncFactory));return r.ns=e.ns,r.isStatic=e.isStatic,r.key=e.key,r.isComment=e.isComment,r.fnContext=e.fnContext,r.fnOptions=e.fnOptions,r.fnScopeId=e.fnScopeId,r.isCloned=!0,t&&(e.children&&(r.children=a(e.children,!0)),n)&&n.children&&(n.children=a(n.children,!0)),r}function a(e,t){for(var n=e.length,r=new Array(n),i=0;i<n;i++)r[i]=_(e[i],t);return r}function r(e){var t,n,r,i,o,a,s,l,u,c,f,h,d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},p=arguments[2],y=e;return(y=Array.isArray(e)?Object(v.filterEmpty)(e)[0]:y)?(e=_(y,p),p=void 0===(y=d.props)?{}:y,y=d.key,t=void 0===(t=d.on)?{}:t,n=void 0===(n=d.nativeOn)?{}:n,r=d.children,i=void 0===(i=d.directives)?[]:i,o=e.data||{},a={},h={},s=void 0===(s=d.attrs)?{}:s,l=d.ref,u=void 0===(u=d.domProps)?{}:u,c=void 0===(c=d.style)?{}:c,f=void 0===(f=d.class)?{}:f,d=void 0===(d=d.scopedSlots)?{}:d,h="string"==typeof o.style?Object(v.parseStyleText)(o.style):g()({},o.style,h),h="string"==typeof c?g()({},h,Object(v.parseStyleText)(h)):g()({},h,c),"string"==typeof o.class&&""!==o.class.trim()?o.class.split(" ").forEach(function(e){a[e.trim()]=!0}):Array.isArray(o.class)?b()(o.class).split(" ").forEach(function(e){a[e.trim()]=!0}):a=g()({},o.class,a),"string"==typeof f&&""!==f.trim()?f.split(" ").forEach(function(e){a[e.trim()]=!0}):a=g()({},a,f),e.data=g()({},o,{style:h,attrs:g()({},o.attrs,s),class:a,domProps:g()({},o.domProps,u),scopedSlots:g()({},o.scopedSlots,d),directives:[].concat(m()(o.directives||[]),m()(i))}),e.componentOptions?(e.componentOptions.propsData=e.componentOptions.propsData||{},e.componentOptions.listeners=e.componentOptions.listeners||{},e.componentOptions.propsData=g()({},e.componentOptions.propsData,p),e.componentOptions.listeners=g()({},e.componentOptions.listeners,t),r&&(e.componentOptions.children=r)):(r&&(e.children=r),e.data.on=g()({},e.data.on||{},t)),e.data.on=g()({},e.data.on||{},n),void 0!==y&&(e.key=y,e.data.key=y),"string"==typeof l&&(e.data.ref=l),e):null}},ey0V:function(B,e,t){"use strict";t.r(e),t.d(e,"TransferDirection",function(){return K}),t.d(e,"TransferItem",function(){return L}),t.d(e,"TransferProps",function(){return j}),t.d(e,"TransferLocale",function(){return X});var n=t("m1cH"),o=t.n(n),n=t("YEIV"),A=t.n(n),n=t("QbLZ"),b=t.n(n),n=t("TZE5"),S=t("2qPA"),r=t("tIgm"),i=t("TSYQ"),C=t.n(i),f=t("u3aP"),a=t("DGO/"),i=t("i7/w"),i=t.n(i),s=t("J+PB"),l=t("TgM5"),u=t("0cRc"),c=t("Jh5J"),h=t("CCnC"),d=t("Ep19"),p=t("2xRk"),y=(i.a.use(d.b),s.default.Group=l.default,s.default.Search=u.default,s.default.TextArea=c.default,s.default.Password=h.default,s.default.install=function(e){e.use(p.default),e.component(s.default.name,s.default),e.component(s.default.Group.name,s.default.Group),e.component(s.default.Search.name,s.default.Search),e.component(s.default.TextArea.name,s.default.TextArea),e.component(s.default.Password.name,s.default.Password)},s.default),i={prefixCls:n.a.string,placeholder:n.a.string,value:n.a.any,handleClear:n.a.func,disabled:n.a.bool},m={name:"Search",props:Object(S.initDefaultProps)(i,{placeholder:""}),methods:{handleChange:function(e){this.$emit("change",e)},handleClear2:function(e){e.preventDefault();var t=this.$props,n=t.handleClear;!t.disabled&&n&&n(e)}},render:function(){var e=arguments[0],t=Object(S.getOptionProps)(this),n=t.placeholder,r=t.value,i=t.prefixCls,t=t.disabled,o=r&&0<r.length?e("a",{attrs:{href:"#"},class:i+"-action",on:{click:this.handleClear2}},[e(a.default,{attrs:{type:"close-circle",theme:"filled"}})]):e("span",{class:i+"-action"},[e(a.default,{attrs:{type:"search"}})]);return e("div",[e(y,{attrs:{placeholder:n,value:r,disabled:t},class:i,on:{change:this.handleChange}}),o])}},d=t("kvrn"),g=t.n(d),v=t("trsK"),_=t("yMYy"),x=t("aiEA"),l=t("sEfC"),w=t.n(l),u=t("DzJC"),O=t.n(u),E=function(e,t){return"undefined"!=typeof getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):e.style[t]},M=function(e){if(e instanceof window.HTMLElement)for(var t,n=e;n&&n!==document.body&&n!==document.documentElement&&n.parentNode;){if(/(scroll|auto)/.test(E(t=n,"overflow")+E(t,"overflow-y")+E(t,"overflow-x")))return n;n=n.parentNode}return window};function P(e){e=e.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}}var c={debounce:n.a.bool,elementType:n.a.string,height:n.a.oneOfType([n.a.string,n.a.number]),offset:n.a.number,offsetBottom:n.a.number,offsetHorizontal:n.a.number,offsetLeft:n.a.number,offsetRight:n.a.number,offsetTop:n.a.number,offsetVertical:n.a.number,threshold:n.a.number,throttle:n.a.number,width:n.a.oneOfType([n.a.string,n.a.number]),_propsSymbol:n.a.any},R={name:"LazyLoad",mixins:[r.a],props:Object(S.initDefaultProps)(c,{elementType:"div",debounce:!0,offset:0,offsetBottom:0,offsetHorizontal:0,offsetLeft:0,offsetRight:0,offsetTop:0,offsetVertical:0,throttle:250}),data:function(){return 0<this.throttle&&(this.debounce?this.lazyLoadHandler=w()(this.lazyLoadHandler,this.throttle):this.lazyLoadHandler=O()(this.lazyLoadHandler,this.throttle)),{visible:!1}},watch:{_propsSymbol:function(){this.visible||this.lazyLoadHandler()}},mounted:function(){var t=this;this.$nextTick(function(){t._mounted=!0;var e=t.getEventNode();t.lazyLoadHandler(),t.lazyLoadHandler.flush&&t.lazyLoadHandler.flush(),t.resizeHander=Object(_.a)(window,"resize",t.lazyLoadHandler),t.scrollHander=Object(_.a)(e,"scroll",t.lazyLoadHandler)})},beforeDestroy:function(){this._mounted=!1,this.lazyLoadHandler.cancel&&this.lazyLoadHandler.cancel(),this.detachListeners()},methods:{getEventNode:function(){return M(this.$el)},getOffset:function(){var e=this.$props,t=e.offset,n=e.offsetVertical,r=e.offsetHorizontal,i=e.offsetTop,o=e.offsetBottom,a=e.offsetLeft,s=e.offsetRight,e=e.threshold||t,t=n||e,n=r||e;return{top:i||t,bottom:o||t,left:a||n,right:s||n}},lazyLoadHandler:function(){var e,t=this;this._mounted&&(e=this.getOffset(),function(e,t,n){var r,i,o,a,s;if(null!==e.offsetParent)return a=(a=i=o=r=void 0)===t||t===window?(r=window.pageYOffset,i=window.pageXOffset,o=r+window.innerHeight,i+window.innerWidth):(r=(s=P(t)).top,i=s.left,o=r+t.offsetHeight,i+t.offsetWidth),r<=(s=P(e)).top+e.offsetHeight+n.top&&o>=s.top-n.bottom&&i<=s.left+e.offsetWidth+n.left&&a>=s.left-n.right}(this.$el,this.getEventNode(),e))&&(this.setState({visible:!0},function(){t.__emit("contentVisible")}),this.detachListeners())},detachListeners:function(){this.resizeHander&&this.resizeHander.remove(),this.scrollHander&&this.scrollHander.remove()}},render:function(e){var t,n,r,i=this.$slots.default;return 1!==i.length?(Object(x.a)(!1,"lazyLoad组件只能包含一个子元素"),null):(n=(t=this.$props).height,r=t.width,e(t.elementType,{class:{LazyLoad:!0,"is-visible":e=this.visible},style:{height:"number"==typeof n?n+"px":n,width:"number"==typeof r?r+"px":r}},[e?i[0]:null]))}};function N(){}var z={name:"ListItem",props:{renderedText:n.a.any,renderedEl:n.a.any,item:n.a.any,lazy:n.a.oneOfType([n.a.bool,n.a.object]),checked:n.a.bool,prefixCls:n.a.string,disabled:n.a.bool},render:function(){var e=this,t=arguments[0],n=this.$props,r=n.renderedText,i=n.renderedEl,o=n.item,a=n.lazy,s=n.checked,l=n.disabled,n=n.prefixCls,u=void 0,c=t("li",{class:C()((c={},A()(c,n+"-content-item",!0),A()(c,n+"-content-item-disabled",l||o.disabled),c)),attrs:{title:u="string"!=typeof r&&"number"!=typeof r?u:String(r)},on:{click:l||o.disabled?N:function(){e.$emit("click",o)}}},[t(f.a,{attrs:{checked:s,disabled:l||o.disabled}}),t("span",{class:n+"-content-item-text"},[i])]);return a?(r={props:b()({height:32,offset:500,throttle:0,debounce:!1},a,{_propsSymbol:Symbol()})},t(R,r,[c])):c}},F=t("lOvz");function V(){}var H={name:"ListBody",inheritAttrs:!1,props:{prefixCls:n.a.string,filteredRenderItems:n.a.array.def([]),lazy:n.a.oneOfType([n.a.bool,n.a.object]),selectedKeys:n.a.array,disabled:n.a.bool},data:function(){return{mounted:!1}},computed:{itemsLength:function(){return this.filteredRenderItems?this.filteredRenderItems.length:0}},watch:{itemsLength:function(){var e=this;this.$nextTick(function(){var t;!1!==e.$props.lazy&&(t=e.$el,v.a.cancel(e.lazyId),e.lazyId=Object(v.a)(function(){var e;t&&(e=new Event("scroll",{bubbles:!0}),t.dispatchEvent(e))}))})}},mounted:function(){var e=this;this.mountId=Object(v.a)(function(){e.mounted=!0})},beforeDestroy:function(){v.a.cancel(this.mountId),v.a.cancel(this.lazyId)},methods:{onItemSelect:function(e){var t=0<=this.$props.selectedKeys.indexOf(e.key);this.$emit("itemSelect",e.key,!t)},onScroll:function(e){this.$emit("scroll",e)}},render:function(){var o=this,a=arguments[0],e=this.$data.mounted,t=this.$props,s=t.prefixCls,n=t.filteredRenderItems,l=t.lazy,u=t.selectedKeys,c=t.disabled,t=n.map(function(e){var t=e.renderedEl,n=e.renderedText,e=e.item,r=e.disabled,i=0<=u.indexOf(e.key);return a(z,{attrs:{disabled:c||r,item:e,lazy:l,renderedText:n,renderedEl:t,checked:i,prefixCls:s},key:e.key,on:{click:o.onItemSelect}})}),n=Object(F.a)(e?s+"-content-item-highlight":"",{tag:"ul",nativeOn:{scroll:this.onScroll},leave:V});return a("transition-group",g()([{class:s+"-content"},n]),[t])}};function Y(){return null}h={key:n.a.string.isRequired,title:n.a.string.isRequired,description:n.a.string,disabled:n.a.bool};i={prefixCls:n.a.string,titleText:n.a.string,dataSource:n.a.arrayOf(n.a.shape(h).loose),filter:n.a.string,filterOption:n.a.func,checkedKeys:n.a.arrayOf(n.a.string),handleFilter:n.a.func,handleSelect:n.a.func,handleSelectAll:n.a.func,handleClear:n.a.func,renderItem:n.a.func,showSearch:n.a.bool,searchPlaceholder:n.a.string,notFoundContent:n.a.any,itemUnit:n.a.string,itemsUnit:n.a.string,body:n.a.any,renderList:n.a.any,footer:n.a.any,lazy:n.a.oneOfType([n.a.bool,n.a.object]),disabled:n.a.bool,direction:n.a.string,showSelectAll:n.a.bool};function G(e,t,n){var t=t?t(n):null,r=!!t;return{customize:r,bodyContent:t=r?t:e(H,n)}}var k={name:"TransferList",mixins:[r.a],props:Object(S.initDefaultProps)(i,{dataSource:[],titleText:"",showSearch:!1,lazy:{}}),data:function(){return this.timer=null,this.triggerScrollTimer=null,{filterValue:""}},beforeDestroy:function(){clearTimeout(this.triggerScrollTimer)},updated:function(){var t=this;this.$nextTick(function(){var e;t.scrollEvent&&t.scrollEvent.remove(),t.$refs.listContentWrapper&&(e=t.$refs.listContentWrapper.$el,t.scrollEvent=Object(_.a)(e,"scroll",t.handleScroll))})},methods:{handleScroll:function(e){this.$emit("scroll",e)},getCheckStatus:function(e){var t=this.$props.checkedKeys;return 0===t.length?"none":e.every(function(e){return 0<=t.indexOf(e.key)||!!e.disabled})?"all":"part"},getFilteredItems:function(e,r){var i=this,o=[],a=[];return e.forEach(function(e){var t=i.renderItemHtml(e),n=t.renderedText;if(r&&r.trim()&&!i.matchFilter(n,e))return null;o.push(e),a.push(t)}),{filteredItems:o,filteredRenderItems:a}},getListBody:function(e,t,n,r,i,o,a,s,l,u,c){var f=this.$createElement,t=u?f("div",{class:e+"-body-search-wrapper"},[f(m,{attrs:{prefixCls:e+"-search",handleClear:this._handleClear,placeholder:t,value:n,disabled:c},on:{change:this._handleFilter}})]):null,n=o;return n||(c=void 0,l=(o=G(this.$createElement,l,{props:b()({},this.$props,{filteredItems:r,filteredRenderItems:a,selectedKeys:s}),on:Object(S.getListeners)(this)})).bodyContent,c=o.customize?f("div",{class:e+"-body-customize-wrapper"},[l]):r.length?l:f("div",{class:e+"-body-not-found"},[i]),n=f("div",{class:C()(u?e+"-body "+e+"-body-with-search":e+"-body")},[t,c])),n},getCheckBox:function(e,t,n){var r=this,i=this.$createElement,o=this.getCheckStatus(e),a="all"===o;return!1!==t&&i(f.a,{attrs:{disabled:n,checked:a,indeterminate:"part"===o},on:{change:function(){r.$emit("itemSelectAll",e.filter(function(e){return!e.disabled}).map(function(e){return e.key}),!a)}}})},_handleSelect:function(t){var e=this.$props.checkedKeys.some(function(e){return e===t.key});this.handleSelect(t,!e)},_handleFilter:function(e){var r=this,t=this.$props.handleFilter,n=e.target.value;this.setState({filterValue:n}),t(e),n&&(this.triggerScrollTimer=setTimeout(function(){var e,t,n=r.$el.querySelectorAll(".ant-transfer-list-content")[0];n&&(n=n,e="scroll","createEvent"in document)&&((t=document.createEvent("HTMLEvents")).initEvent(e,!1,!0),n.dispatchEvent(t))},0))},_handleClear:function(e){this.setState({filterValue:""}),this.handleClear(e)},matchFilter:function(e,t){var n=this.$data.filterValue,r=this.$props.filterOption;return r?r(n,t):0<=e.indexOf(n)},renderItemHtml:function(e){var t=this.$props.renderItem,t=(void 0===t?Y:t)(e),n=(n=t)&&!Object(S.isValidElement)(n)&&"[object Object]"===Object.prototype.toString.call(n);return{renderedText:n?t.value:t,renderedEl:n?t.label:t,item:e}},filterNull:function(e){return e.filter(function(e){return null!==e})}},render:function(){var e=arguments[0],t=this.$data.filterValue,n=this.$props,r=n.prefixCls,i=n.dataSource,o=n.titleText,a=n.checkedKeys,s=n.disabled,l=n.body,u=n.footer,c=n.showSearch,f=n.searchPlaceholder,h=n.notFoundContent,d=n.itemUnit,p=n.itemsUnit,y=n.renderList,n=n.showSelectAll,u=u&&u(b()({},this.$props)),l=l&&l(b()({},this.$props)),m=C()(r,A()({},r+"-with-footer",!!u)),g=this.getFilteredItems(i,t),v=g.filteredItems,g=g.filteredRenderItems,i=1<i.length?p:d,p=this.getListBody(r,f,t,v,h,l,g,a,y,c,s),d=u?e("div",{class:r+"-footer"},[u]):null;return e("div",{class:m},[e("div",{class:r+"-header"},[this.getCheckBox(v,n,s),e("span",{class:r+"-header-selected"},[e("span",[(0<a.length?a.length+"/":"")+v.length," ",i]),e("span",{class:r+"-header-title"},[o])])]),p,d])}},T=t("Xvvz");function I(){}var d={className:n.a.string,leftArrowText:n.a.string,rightArrowText:n.a.string,moveToLeft:n.a.any,moveToRight:n.a.any,leftActive:n.a.bool,rightActive:n.a.bool,disabled:n.a.bool},U={name:"Operation",props:b()({},d),render:function(){var e=arguments[0],t=Object(S.getOptionProps)(this),n=t.disabled,r=t.moveToLeft,r=void 0===r?I:r,i=t.moveToRight,o=t.leftArrowText,o=void 0===o?"":o,a=t.rightArrowText,s=t.leftActive,t=t.rightActive;return e("div",[e(T.a,{attrs:{type:"primary",size:"small",disabled:n||!t,icon:"right"},on:{click:void 0===i?I:i}},[void 0===a?"":a]),e(T.a,{attrs:{type:"primary",size:"small",disabled:n||!s,icon:"left"},on:{click:r}},[o])])}},Q=t("5c0L"),W=t("AuqM"),q=t("TfX5"),K=0,L={key:n.a.string.isRequired,title:n.a.string.isRequired,description:n.a.string,disabled:n.a.bool},j={prefixCls:n.a.string,dataSource:n.a.arrayOf(n.a.shape(L).loose),disabled:n.a.boolean,targetKeys:n.a.arrayOf(n.a.string),selectedKeys:n.a.arrayOf(n.a.string),render:n.a.func,listStyle:n.a.oneOfType([n.a.func,n.a.object]),operationStyle:n.a.object,titles:n.a.arrayOf(n.a.string),operations:n.a.arrayOf(n.a.string),showSearch:n.a.bool,filterOption:n.a.func,searchPlaceholder:n.a.string,notFoundContent:n.a.any,locale:n.a.object,rowKey:n.a.func,lazy:n.a.oneOfType([n.a.object,n.a.bool]),showSelectAll:n.a.bool},X={titles:n.a.arrayOf(n.a.string),notFoundContent:n.a.string,itemUnit:n.a.string,itemsUnit:n.a.string},D={name:"ATransfer",mixins:[r.a],props:Object(S.initDefaultProps)(j,{dataSource:[],locale:{},showSearch:!1,listStyle:function(){}}),inject:{configProvider:{default:function(){return q.a}}},data:function(){var e=this.selectedKeys,e=void 0===e?[]:e,t=this.targetKeys,n=void 0===t?[]:t;return{leftFilter:"",rightFilter:"",sourceSelectedKeys:e.filter(function(e){return-1===n.indexOf(e)}),targetSelectedKeys:e.filter(function(e){return-1<n.indexOf(e)})}},mounted:function(){},watch:{targetKeys:function(){var t;this.updateState(),this.selectedKeys&&(t=this.targetKeys||[],this.setState({sourceSelectedKeys:this.selectedKeys.filter(function(e){return!t.includes(e)}),targetSelectedKeys:this.selectedKeys.filter(function(e){return t.includes(e)})}))},dataSource:function(){this.updateState()},selectedKeys:function(){var t;this.selectedKeys&&(t=this.targetKeys||[],this.setState({sourceSelectedKeys:this.selectedKeys.filter(function(e){return!t.includes(e)}),targetSelectedKeys:this.selectedKeys.filter(function(e){return t.includes(e)})}))}},methods:{getSelectedKeysName:function(e){return"left"===e?"sourceSelectedKeys":"targetSelectedKeys"},getTitles:function(e){return this.titles||e.titles||["",""]},getLocale:function(e,t){var t={notFoundContent:t(this.$createElement,"Transfer")},n=Object(S.getComponentFromProp)(this,"notFoundContent");return n&&(t.notFoundContent=n),Object(S.hasProp)(this,"searchPlaceholder")&&(t.searchPlaceholder=this.$props.searchPlaceholder),b()({},e,t,this.$props.locale)},updateState:function(){var e,t,n,r,i,o=this.sourceSelectedKeys,a=this.targetSelectedKeys;this.separatedDataSource=null,this.selectedKeys||(e=this.dataSource,t=this.targetKeys,n=void 0===t?[]:t,r=[],i=[],e.forEach(function(e){e=e.key;o.includes(e)&&!n.includes(e)&&r.push(e),a.includes(e)&&n.includes(e)&&i.push(e)}),this.setState({sourceSelectedKeys:r,targetSelectedKeys:i}))},moveTo:function(e){var t=this.$props,n=t.targetKeys,n=void 0===n?[]:n,t=t.dataSource,r=void 0===t?[]:t,t=this.sourceSelectedKeys,i=this.targetSelectedKeys,o=("right"===e?t:i).filter(function(t){return!r.some(function(e){return!(t!==e.key||!e.disabled)})}),t="right"===e?o.concat(n):n.filter(function(e){return-1===o.indexOf(e)}),i="right"===e?"left":"right";this.setState(A()({},this.getSelectedKeysName(i),[])),this.handleSelectChange(i,[]),this.$emit("change",t,e,o)},moveToLeft:function(){this.moveTo("left")},moveToRight:function(){this.moveTo("right")},onItemSelectAll:function(e,t,n){var r=this.$data[this.getSelectedKeysName(e)]||[],i=[],i=n?Array.from(new Set([].concat(o()(r),o()(t)))):r.filter(function(e){return-1===t.indexOf(e)});this.handleSelectChange(e,i),this.$props.selectedKeys||this.setState(A()({},this.getSelectedKeysName(e),i))},handleSelectAll:function(e,t,n){this.onItemSelectAll(e,t.map(function(e){return e.key}),!n)},handleLeftSelectAll:function(e,t){return this.handleSelectAll("left",e,!t)},handleRightSelectAll:function(e,t){return this.handleSelectAll("right",e,!t)},onLeftItemSelectAll:function(e,t){return this.onItemSelectAll("left",e,t)},onRightItemSelectAll:function(e,t){return this.onItemSelectAll("right",e,t)},handleFilter:function(e,t){var n=t.target.value;Object(S.getListeners)(this).searchChange&&(Object(x.a)(!1,"Transfer","`searchChange` in Transfer is deprecated. Please use `search` instead."),this.$emit("searchChange",e,t)),this.$emit("search",e,n)},handleLeftFilter:function(e){this.handleFilter("left",e)},handleRightFilter:function(e){this.handleFilter("right",e)},handleClear:function(e){this.$emit("search",e,"")},handleLeftClear:function(){this.handleClear("left")},handleRightClear:function(){this.handleClear("right")},onItemSelect:function(e,t,n){var r=this.sourceSelectedKeys,i=this.targetSelectedKeys,r=[].concat("left"===e?o()(r):o()(i)),i=r.indexOf(t);-1<i&&r.splice(i,1),n&&r.push(t),this.handleSelectChange(e,r),this.selectedKeys||this.setState(A()({},this.getSelectedKeysName(e),r))},handleSelect:function(e,t,n){Object(x.a)(!1,"Transfer","`handleSelect` will be removed, please use `onSelect` instead."),this.onItemSelect(e,t.key,n)},handleLeftSelect:function(e,t){return this.handleSelect("left",e,t)},handleRightSelect:function(e,t){return this.handleSelect("right",e,t)},onLeftItemSelect:function(e,t){return this.onItemSelect("left",e,t)},onRightItemSelect:function(e,t){return this.onItemSelect("right",e,t)},handleScroll:function(e,t){this.$emit("scroll",e,t)},handleLeftScroll:function(e){this.handleScroll("left",e)},handleRightScroll:function(e){this.handleScroll("right",e)},handleSelectChange:function(e,t){var n=this.sourceSelectedKeys,r=this.targetSelectedKeys;"left"===e?this.$emit("selectChange",t,r):this.$emit("selectChange",n,t)},handleListStyle:function(e,t){return"function"==typeof e?e({direction:t}):e},separateDataSource:function(){var e=this.$props,t=e.dataSource,n=e.rowKey,e=e.targetKeys,r=void 0===e?[]:e,i=[],o=new Array(r.length);return t.forEach(function(e){n&&(e.key=n(e));var t=r.indexOf(e.key);-1!==t?o[t]=e:i.push(e)}),{leftDataSource:i,rightDataSource:o}},renderTransfer:function(e){var t=this.$createElement,n=Object(S.getOptionProps)(this),r=n.prefixCls,i=n.disabled,o=n.operations,o=void 0===o?[]:o,a=n.showSearch,s=n.listStyle,l=n.operationStyle,u=n.filterOption,c=n.lazy,f=n.showSelectAll,h=Object(S.getComponentFromProp)(this,"children",{},!1),r=(0,this.configProvider.getPrefixCls)("transfer",r),d=this.configProvider.renderEmpty,e=this.getLocale(e,d),d=this.sourceSelectedKeys,p=this.targetSelectedKeys,y=this.$scopedSlots,m=y.body,y=y.footer,n=n.render,g=this.separateDataSource(),v=g.leftDataSource,g=g.rightDataSource,b=0<p.length,_=0<d.length,x=C()(r,(x={},A()(x,r+"-disabled",i),A()(x,r+"-customize-list",!!h),x)),w=this.getTitles(e);return t("div",{class:x},[t(k,{key:"leftList",attrs:{prefixCls:r+"-list",titleText:w[0],dataSource:v,filterOption:u,checkedKeys:d,handleFilter:this.handleLeftFilter,handleClear:this.handleLeftClear,handleSelect:this.handleLeftSelect,handleSelectAll:this.handleLeftSelectAll,renderItem:n,showSearch:a,body:m,renderList:h,footer:y,lazy:c,disabled:i,direction:"left",showSelectAll:f,itemUnit:e.itemUnit,itemsUnit:e.itemsUnit,notFoundContent:e.notFoundContent,searchPlaceholder:e.searchPlaceholder},style:this.handleListStyle(s,"left"),on:{itemSelect:this.onLeftItemSelect,itemSelectAll:this.onLeftItemSelectAll,scroll:this.handleLeftScroll}}),t(U,{key:"operation",class:r+"-operation",attrs:{rightActive:_,rightArrowText:o[0],moveToRight:this.moveToRight,leftActive:b,leftArrowText:o[1],moveToLeft:this.moveToLeft,disabled:i},style:l}),t(k,{key:"rightList",attrs:{prefixCls:r+"-list",titleText:w[1],dataSource:g,filterOption:u,checkedKeys:p,handleFilter:this.handleRightFilter,handleClear:this.handleRightClear,handleSelect:this.handleRightSelect,handleSelectAll:this.handleRightSelectAll,renderItem:n,showSearch:a,body:m,renderList:h,footer:y,lazy:c,disabled:i,direction:"right",showSelectAll:f,itemUnit:e.itemUnit,itemsUnit:e.itemsUnit,notFoundContent:e.notFoundContent,searchPlaceholder:e.searchPlaceholder},style:this.handleListStyle(s,"right"),on:{itemSelect:this.onRightItemSelect,itemSelectAll:this.onRightItemSelectAll,scroll:this.handleRightScroll}})])}},render:function(){return(0,arguments[0])(Q.a,{attrs:{componentName:"Transfer",defaultLocale:W.a.Transfer},scopedSlots:{default:this.renderTransfer}})},install:function(e){e.use(p.default),e.component(D.name,D)}};e.default=D},f8Uw:function(e,t,n){"use strict";n.r(t);var r,i=n("iUEU");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},f8sJ:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.radioGroupTypes=t.default=void 0,r(n("ie6f"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={defaultValue:o.default.any,value:o.default.any,disabled:o.default.bool,name:o.default.string,options:o.default.array,size:o.default.oneOf(["small","large","default","middle"]).def("default"),buttonStyle:o.default.string.def("outline")},o=(t.radioGroupTypes=n,{name:"SmRadioGroup",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"value",event:"input"},props:n,computed:{extralListeners:function(){var t=this;return{input:function(e){t.$emit("input",e)}}},extralProps:function(){return{size:"middle"===this.size?void 0:this.size}},componentClass:function(){return{"sm-component-radio-group-middle":"middle"===this.size}}}});t.default=o},f9ef:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("/xfr"),r=n("cKS0");function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={attach:function(e,t){void 0===t&&(t={});var n=(0,o.getWindow)(),r=this,i=new(n.MutationObserver||n.WebkitMutationObserver)(function(e){var t;1===e.length?r.emit("observerUpdate",e[0]):(t=function(){r.emit("observerUpdate",e[0])},n.requestAnimationFrame?n.requestAnimationFrame(t):n.setTimeout(t,0))});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.observer.observers.push(i)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),n=0;n<t.length;n+=1)e.observer.attach(t[n]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}};t.default={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){(0,r.bindModuleMethods)(this,{observer:i({},a,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}}},"fBa/":function(e,t,n){e.exports=n("1t2c")},fCBf:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("n4aT"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},fFTV:function(e,t,n){"use strict";n.r(t);var r,i=n("zyim"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},fFnh:function(e,t,n){"use strict";var r=n("TqRt"),h=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var r=this,e=(0,h.getDocument)(),t=r.params,n=r.$wrapperEl,i=(n.children("."+t.slideClass+"."+t.slideDuplicateClass).remove(),n.children("."+t.slideClass));if(t.loopFillGroupWithBlank){var o=t.slidesPerGroup-i.length%t.slidesPerGroup;if(o!==t.slidesPerGroup){for(var a=0;a<o;a+=1){var s=(0,d.default)(e.createElement("div")).addClass(t.slideClass+" "+t.slideBlankClass);n.append(s)}i=n.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=i.length);r.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),r.loopedSlides+=t.loopAdditionalSlides,r.loopedSlides>i.length&&(r.loopedSlides=i.length);var l=[],u=[];i.each(function(e,t){var n=(0,d.default)(e);t<r.loopedSlides&&u.push(e),t<i.length&&t>=i.length-r.loopedSlides&&l.push(e),n.attr("data-swiper-slide-index",t)});for(var c=0;c<u.length;c+=1)n.append((0,d.default)(u[c].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var f=l.length-1;0<=f;--f)n.prepend((0,d.default)(l[f].cloneNode(!0)).addClass(t.slideDuplicateClass))},n("/xfr")),d=r(n("Jq2x"))},fGT3:function(e,t,n){var r=n("4kuk"),i=n("Xi7e"),o=n("ebwN");e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},fKql:function(e,t,n){"use strict";var r=n("++4Y"),i=n("m7zg"),o=n("5r2E"),a=n("4uGi"),s=n("vkZI"),l=n("GTqx"),u=n("YELS"),c=n("pVCk"),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=l(t),c)try{return f(e,t)}catch(e){}if(u(e,t))return a(!i(o.f,e,t),e[t])}},fMrl:function(e,t,n){"use strict";var r=n("TqRt"),c=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("/xfr")),y=r(n("Jq2x")),i=n("cKS0");function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={loadInSlide:function(e,l){void 0===l&&(l=!0);var u,c=this,f=c.params.lazy;void 0!==e&&0!==c.slides.length&&(e=(u=c.virtual&&c.params.virtual.enabled?c.$wrapperEl.children("."+c.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):c.slides.eq(e)).find("."+f.elementClass+":not(."+f.loadedClass+"):not(."+f.loadingClass+")"),!u.hasClass(f.elementClass)||u.hasClass(f.loadedClass)||u.hasClass(f.loadingClass)||e.push(u[0]),0!==e.length)&&e.each(function(e){var n=(0,y.default)(e),r=(n.addClass(f.loadingClass),n.attr("data-background")),i=n.attr("data-src"),o=n.attr("data-srcset"),a=n.attr("data-sizes"),s=n.parent("picture");c.loadImage(n[0],i||r,o,a,!1,function(){var e,t;null==c||!c||c&&!c.params||c.destroyed||(r?(n.css("background-image",'url("'+r+'")'),n.removeAttr("data-background")):(o&&(n.attr("srcset",o),n.removeAttr("data-srcset")),a&&(n.attr("sizes",a),n.removeAttr("data-sizes")),s.length&&s.children("source").each(function(e){e=(0,y.default)(e);e.attr("data-srcset")&&(e.attr("srcset",e.attr("data-srcset")),e.removeAttr("data-srcset"))}),i&&(n.attr("src",i),n.removeAttr("data-src"))),n.addClass(f.loadedClass).removeClass(f.loadingClass),u.find("."+f.preloaderClass).remove(),c.params.loop&&l&&(e=u.attr("data-swiper-slide-index"),u.hasClass(c.params.slideDuplicateClass)?(t=c.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+c.params.slideDuplicateClass+")"),c.lazy.loadInSlide(t.index(),!1)):(t=c.$wrapperEl.children("."+c.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]'),c.lazy.loadInSlide(t.index(),!1))),c.emit("lazyImageReady",u[0],n[0]),c.params.autoHeight&&c.updateAutoHeight())}),c.emit("lazyImageLoad",u[0],n[0])})},load:function(){var t=this,n=t.$wrapperEl,r=t.params,i=t.slides,e=t.activeIndex,o=t.virtual&&r.virtual.enabled,a=r.lazy,s=r.slidesPerView;function l(e){if(o){if(n.children("."+r.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return 1}else if(i[e])return 1}function u(e){return o?(0,y.default)(e).attr("data-swiper-slide-index"):(0,y.default)(e).index()}if("auto"===s&&(s=0),t.lazy.initialImageLoaded||(t.lazy.initialImageLoaded=!0),t.params.watchSlidesVisibility)n.children("."+r.slideVisibleClass).each(function(e){e=o?(0,y.default)(e).attr("data-swiper-slide-index"):(0,y.default)(e).index();t.lazy.loadInSlide(e)});else if(1<s)for(var c=e;c<e+s;c+=1)l(c)&&t.lazy.loadInSlide(c);else t.lazy.loadInSlide(e);if(a.loadPrevNext)if(1<s||a.loadPrevNextAmount&&1<a.loadPrevNextAmount){for(var a=a.loadPrevNextAmount,f=s,h=Math.min(e+f+Math.max(a,f),i.length),f=Math.max(e-Math.max(f,a),0),d=e+s;d<h;d+=1)l(d)&&t.lazy.loadInSlide(d);for(var p=f;p<e;p+=1)l(p)&&t.lazy.loadInSlide(p)}else{a=n.children("."+r.slideNextClass),f=(0<a.length&&t.lazy.loadInSlide(u(a)),n.children("."+r.slidePrevClass));0<f.length&&t.lazy.loadInSlide(u(f))}},checkInViewOnLoad:function(){var e=(0,c.getWindow)(),t=this;if(t&&!t.destroyed){for(var n=t.params.lazy.scrollingElement?(0,y.default)(t.params.lazy.scrollingElement):(0,y.default)(e),r=n[0]===e,i=r?e.innerWidth:n[0].offsetWidth,o=r?e.innerHeight:n[0].offsetHeight,r=t.$el.offset(),a=!1,s=(t.rtlTranslate&&(r.left-=t.$el[0].scrollLeft),[[r.left,r.top],[r.left+t.width,r.top],[r.left,r.top+t.height],[r.left+t.width,r.top+t.height]]),l=0;l<s.length;l+=1){var u=s[l];0<=u[0]&&u[0]<=i&&0<=u[1]&&u[1]<=o&&(0===u[0]&&0===u[1]||(a=!0))}e=!("touchstart"!==t.touchEvents.start||!t.support.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};a?(t.lazy.load(),n.off("scroll",t.lazy.checkInViewOnLoad,e)):t.lazy.scrollHandlerAttached||(t.lazy.scrollHandlerAttached=!0,n.on("scroll",t.lazy.checkInViewOnLoad,e))}}};t.default={name:"lazy",params:{lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){(0,i.bindModuleMethods)(this,{lazy:o({initialImageLoaded:!1},a)})},on:{beforeInit:function(e){e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(e){e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&(e.params.lazy.checkInView?e.lazy.checkInViewOnLoad():e.lazy.load())},scroll:function(e){e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},"scrollbarDragMove resize _freeModeNoMomentumRelease":function(e){e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(e){!e.params.lazy.enabled||!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.loadOnTransitionStart||e.lazy.initialImageLoaded)||e.lazy.load()},transitionEnd:function(e){e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(e){var t=e.params,n=t.lazy,r=t.cssMode,i=t.watchSlidesVisibility,o=t.watchSlidesProgress,a=t.touchReleaseOnEdges,t=t.resistanceRatio;n.enabled&&(r||(i||o)&&(a||0===t))&&e.lazy.load()}}}},fNZA:function(e,t,n){var r=n("QMMT"),i=n("UWiX")("iterator"),o=n("SBuE");e.exports=n("WEpk").getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},"fR/l":function(e,t,n){var r=n("CH3K"),i=n("Z0cm");e.exports=function(e,t,n){return t=t(e),i(e)?t:r(t,n(e))}},fRgz:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.inputTypes=t.default=void 0,r(n("J+PB"))),o=r(n("yXPv")),a=r(n("ET/Y")),r=r(n("nvtG")),n=Object.assign(Object.assign({},o.default),{size:a.default.oneOf(["small","large","default","middle"])}),o=(t.inputTypes=n,{name:"SmInput",defaultComponent:i.default,mixins:[r.default],props:n,computed:{extralProps:function(){return{size:"middle"===this.size?void 0:this.size}},componentClass:function(){return{"sm-component-input-affix-wrapper-md":"middle"===this.size}}},mounted:function(){var e;"middle"===this.size&&(e=this.$el.querySelector(".sm-component-input"))&&e.classList&&e.classList.add("sm-component-input-md")}});t.default=o},fRzl:function(e,t,n){"use strict";e.exports=n("HTGo")},fXKp:function(e,t,n){"use strict";var r=n("hwdV").Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"==typeof t||r.isEncoding!==i&&i(e))return t||e;throw new Error("Unknown encoding: "+e)}function a(e){var t;switch(this.encoding=o(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=l,t=4;break;case"base64":this.text=f,this.end=h,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function l(e){var t,n=this.lastTotal-this.lastNeed,r=(t=this,128!=(192&(r=e)[0])?(t.lastNeed=0,"�"):1<t.lastNeed&&1<r.length?128!=(192&r[1])?(t.lastNeed=1,"�"):2<t.lastNeed&&2<r.length&&128!=(192&r[2])?(t.lastNeed=2,"�"):void 0:void 0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,n,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,n,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2!=0)return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1);t=e.toString("utf16le",t);if(t){var n=t.charCodeAt(t.length-1);if(55296<=n&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],t.slice(0,-1)}return t}function c(e){var t,e=e&&e.length?this.write(e):"";return this.lastNeed?(t=this.lastTotal-this.lastNeed,e+this.lastChar.toString("utf16le",0,t)):e}function f(e,t){var n=(e.length-t)%3;return 0==n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1==n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){e=e&&e.length?this.write(e):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}(t.StringDecoder=a).prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},a.prototype.end=function(e){e=e&&e.length?this.write(e):"";return this.lastNeed?e+"�":e},a.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(!(r<n)){var i=s(t[r]);if(0<=i)return 0<i&&(e.lastNeed=i-1),i;if(!(--r<n||-2===i)){if(0<=(i=s(t[r])))return 0<i&&(e.lastNeed=i-2),i;if(!(--r<n||-2===i)&&0<=(i=s(t[r])))return 0<i&&(2===i?i=0:e.lastNeed=i-3),i}}return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;n=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},fXsU:function(e,t,n){var r=n("5K7Z"),i=n("fNZA");e.exports=n("WEpk").getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},fmRc:function(e,t,n){var r=n("Xi7e"),i=n("77Zs"),o=n("L8xA"),a=n("gCq4"),s=n("VaNO"),n=n("0Cz8");function l(e){e=this.__data__=new r(e);this.size=e.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=n,e.exports=l},fpC5:function(e,t,n){var a=n("2faE"),s=n("5K7Z"),l=n("w6GO");e.exports=n("jmDH")?Object.defineProperties:function(e,t){s(e);for(var n,r=l(t),i=r.length,o=0;o<i;)a.f(e,n=r[o++],t[n]);return e}},fsL8:function(A,e,t){var S=t("cDf5").default;function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */A.exports=function(){return a},A.exports.__esModule=!0,A.exports.default=A.exports;var a={},e=Object.prototype,l=e.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(e){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof h?t:h,t=Object.create(t.prototype),r=new x(r||[]);return u(t,"_invoke",{value:(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return{value:void 0,done:!0}}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=n.method,i=t.iterator[r];if(void 0===i)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;r=c(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;i=r.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}(n,a);if(n){if(n===f)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=c(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===f)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}})}),t}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var f={};function h(){}function d(){}function p(){}var t={},y=(o(t,r,function(){return this}),Object.getPrototypeOf),y=y&&y(y(w([]))),m=(y&&y!==e&&l.call(y,r)&&(t=y),p.prototype=h.prototype=Object.create(t));function g(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function v(a,s){var t;u(this,"_invoke",{value:function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=c(a[e],a,n);if("throw"!==e.type)return(n=(o=e.arg).value)&&"object"==S(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)});i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}})}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function w(t){if(t||""===t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}throw new TypeError(S(t)+" is not iterable")}return u(m,"constructor",{value:d.prototype=p,configurable:!0}),u(p,"constructor",{value:d,configurable:!0}),d.displayName=o(p,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,o(e,i,"GeneratorFunction")),e.prototype=Object.create(m),e},a.awrap=function(e){return{__await:e}},g(v.prototype),o(v.prototype,n,function(){return this}),a.AsyncIterator=v,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new v(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},g(m),o(m,i,"Generator"),o(m,r,function(){return this}),o(m,"toString",function(){return"[object Generator]"}),a.keys=function(e){var t,n=Object(e),r=[];for(t in n)r.push(t);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=w,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,_(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:w(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},a}A.exports=n,A.exports.__esModule=!0,A.exports.default=A.exports},fwdV:function(e,t,n){"use strict";n.r(t);var r,i=n("RaCF");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},fzPg:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n("wd/R"))},g0Ox:function(e,t,n){"use strict";var r=n("TqRt"),o=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Jq2x"))),i=n("cKS0");function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s={toggleEl:function(e,t){e[t?"addClass":"removeClass"](this.params.navigation.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=t)},update:function(){var e,t,n=this,r=n.params.navigation,i=n.navigation.toggleEl;n.params.loop||(e=(t=n.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(n.isBeginning?i(t,!0):i(t,!1),n.params.watchOverflow)&&n.enabled&&t[n.isLocked?"addClass":"removeClass"](r.lockClass),e&&0<e.length&&(n.isEnd?i(e,!0):i(e,!1),n.params.watchOverflow)&&n.enabled&&e[n.isLocked?"addClass":"removeClass"](r.lockClass))},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,n=this,r=n.params.navigation;n.params.navigation=(0,i.createElementIfNotDefined)(n.$el,n.params.navigation,n.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),(r.nextEl||r.prevEl)&&(r.nextEl&&(e=(0,o.default)(r.nextEl),n.params.uniqueNavElements)&&"string"==typeof r.nextEl&&1<e.length&&1===n.$el.find(r.nextEl).length&&(e=n.$el.find(r.nextEl)),r.prevEl&&(t=(0,o.default)(r.prevEl),n.params.uniqueNavElements)&&"string"==typeof r.prevEl&&1<t.length&&1===n.$el.find(r.prevEl).length&&(t=n.$el.find(r.prevEl)),e&&0<e.length&&e.on("click",n.navigation.onNextClick),t&&0<t.length&&t.on("click",n.navigation.onPrevClick),(0,i.extend)(n.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),n.enabled||(e&&e.addClass(r.lockClass),t&&t.addClass(r.lockClass)))},destroy:function(){var e=this.navigation,t=e.$nextEl,e=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),e&&e.length&&(e.off("click",this.navigation.onPrevClick),e.removeClass(this.params.navigation.disabledClass))}};t.default={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){(0,i.bindModuleMethods)(this,{navigation:a({},s)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},"enable disable":function(e){var t=e.navigation,n=t.$nextEl,t=t.$prevEl;n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)},click:function(e,t){var n,r=e.navigation,i=r.$nextEl,r=r.$prevEl,t=t.target;!e.params.navigation.hideOnClick||(0,o.default)(t).is(r)||(0,o.default)(t).is(i)||e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===t||e.pagination.el.contains(t))||(i?n=i.hasClass(e.params.navigation.hiddenClass):r&&(n=r.hasClass(e.params.navigation.hiddenClass)),!0===n?e.emit("navigationShow"):e.emit("navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),r&&r.toggleClass(e.params.navigation.hiddenClass))}}}},g1JZ:function(e,t,n){"use strict";var r=n("TqRt"),f=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,f.getDocument)(),n=this,r=n.touchEventsData,i=n.params,o=n.touches,a=n.rtlTranslate;if(n.enabled)if(e.originalEvent&&(e=e.originalEvent),r.isTouched){if(!r.isTouchEvent||"touchmove"===e.type){var s="touchmove"===e.type&&e.targetTouches&&(e.targetTouches[0]||e.changedTouches[0]),l=("touchmove"===e.type?s:e).pageX,s=("touchmove"===e.type?s:e).pageY;if(e.preventedByNestedSwiper)o.startX=l,o.startY=s;else if(n.allowTouchMove){if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(s<o.startY&&n.translate<=n.maxTranslate()||s>o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(l<o.startX&&n.translate<=n.maxTranslate()||l>o.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&t.activeElement&&e.target===t.activeElement&&(0,h.default)(e.target).is(r.focusableElements))r.isMoved=!0,n.allowClick=!1;else if(r.allowTouchCallbacks&&n.emit("touchMove",e),!(e.targetTouches&&1<e.targetTouches.length)){o.currentX=l,o.currentY=s;var t=o.currentX-o.startX,u=o.currentY-o.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(t,2)+Math.pow(u,2))<n.params.threshold))if(void 0===r.isScrolling&&(n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:25<=t*t+u*u&&(c=180*Math.atan2(Math.abs(u),Math.abs(t))/Math.PI,r.isScrolling=n.isHorizontal()?c>i.touchAngle:90-c>i.touchAngle)),r.isScrolling&&n.emit("touchMoveOpposite",e),void 0!==r.startMoving||o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0),r.isScrolling)r.isTouched=!1;else if(r.startMoving){n.allowClick=!1,!i.cssMode&&e.cancelable&&e.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&e.stopPropagation(),r.isMoved||(i.loop&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",e)),n.emit("sliderMove",e),r.isMoved=!0;var c=n.isHorizontal()?t:u,t=(o.diff=c,c*=i.touchRatio,a&&(c=-c),n.swipeDirection=0<c?"prev":"next",r.currentTranslate=c+r.startTranslate,!0),u=i.resistanceRatio;if(i.touchReleaseOnEdges&&(u=0),0<c&&r.currentTranslate>n.minTranslate()?(t=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+r.startTranslate+c,u))):c<0&&r.currentTranslate<n.maxTranslate()&&(t=!1,i.resistance)&&(r.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-r.startTranslate-c,u)),t&&(e.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),0<i.threshold){if(!(Math.abs(c)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&(0===r.velocities.length&&r.velocities.push({position:o[n.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:o[n.isHorizontal()?"currentX":"currentY"],time:(0,d.now)()})),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}}}else n.allowClick=!1,r.isTouched&&((0,d.extend)(o,{startX:l,startY:s,currentX:l,currentY:s}),r.touchStartTime=(0,d.now)())}}else r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",e)},n("/xfr")),h=r(n("Jq2x")),d=n("cKS0")},g6so:function(e,t,n){"use strict";n.r(t),n.d(t,"ButtonGroupProps",function(){return s});var r=n("YEIV"),o=n.n(r),a=n("2qPA"),r=n("TZE5"),i=n("TfX5"),s={prefixCls:r.a.string,size:{validator:function(e){return["small","large","default"].includes(e)}}};t.default={name:"AButtonGroup",props:s,inject:{configProvider:{default:function(){return i.a}}},data:function(){return{sizeMap:{large:"lg",small:"sm"}}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.size,r=this.$slots,t=(0,this.configProvider.getPrefixCls)("btn-group",t),i="";switch(n){case"large":i="lg";break;case"small":i="sm"}return n={},o()(n,""+t,!0),o()(n,t+"-"+i,i),e("div",{class:n},[Object(a.filterEmpty)(r.default)])}}},"g8+u":function(e,t,n){"use strict";var r=n("a9Cf"),i=n("JTf3"),o=n("ba8b"),a=n("11yv")("toStringTag"),s=Object,l="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,t){try{return e[t]}catch(e){}}(e=s(e),a))?t:l?o(e):"Object"==(t=o(e))&&i(e.callee)?"Arguments":t}},g9jQ:function(e,t,n){"use strict";var r=n("nCzB"),i=n("rt8w"),o=n("Nybj").indexOf,n=n("QELg"),a=i([].indexOf),s=!!a&&1/a([1],1,-0)<0;r({target:"Array",proto:!0,forced:s||!n("indexOf")},{indexOf:function(e){var t=1<arguments.length?arguments[1]:void 0;return s?a(this,e,t)||0:o(this,e,t)}})},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gFfm:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},gK2h:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.stepTypes=t.default=void 0,r(n("v3sQ"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={prefixCls:o.default.string,wrapperStyle:o.default.object,itemWidth:o.default.string,active:o.default.bool,disabled:o.default.bool,status:o.default.string,iconPrefix:o.default.string,icon:o.default.any,adjustMarginRight:o.default.string,stepNumber:o.default.string,stepIndex:o.default.number,description:o.default.any,title:o.default.any,subTitle:o.default.any,progressDot:o.default.oneOfType([o.default.bool,o.default.func]),tailContent:o.default.any,icons:o.default.any},o=(t.stepTypes=n,{name:"SmStep",defaultComponent:i.default.Step,mixins:[a.default,r.default],props:n});t.default=o},gQum:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),r=function(t){function e(e){return t.call(this,e)||this}return(0,i.default)(e,t),e}(r(n("YA2J")).default);t.default=r},gVVK:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":if(e===1)i+=t?"sekundo":"sekundi";else if(e===2)i+=t||r?"sekundi":"sekundah";else if(e<5)i+=t||r?"sekunde":"sekundah";else i+="sekund";return i;case"m":return t?"ena minuta":"eno minuto";case"mm":if(e===1)i+=t?"minuta":"minuto";else if(e===2)i+=t||r?"minuti":"minutama";else if(e<5)i+=t||r?"minute":"minutami";else i+=t||r?"minut":"minutami";return i;case"h":return t?"ena ura":"eno uro";case"hh":if(e===1)i+=t?"ura":"uro";else if(e===2)i+=t||r?"uri":"urama";else if(e<5)i+=t||r?"ure":"urami";else i+=t||r?"ur":"urami";return i;case"d":return t||r?"en dan":"enim dnem";case"dd":if(e===1)i+=t||r?"dan":"dnem";else if(e===2)i+=t||r?"dni":"dnevoma";else i+=t||r?"dni":"dnevi";return i;case"M":return t||r?"en mesec":"enim mesecem";case"MM":if(e===1)i+=t||r?"mesec":"mesecem";else if(e===2)i+=t||r?"meseca":"mesecema";else if(e<5)i+=t||r?"mesece":"meseci";else i+=t||r?"mesecev":"meseci";return i;case"y":return t||r?"eno leto":"enim letom";case"yy":if(e===1)i+=t||r?"leto":"letom";else if(e===2)i+=t||r?"leti":"letoma";else if(e<5)i+=t||r?"leta":"leti";else i+=t||r?"let":"leti";return i}}var n;e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:true,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gcKM:function(e,t,n){"use strict";n.r(t);var r,i=n("qtUN"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},gdsn:function(e,t,n){"use strict";n.r(t);var r,i=n("mJe+"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},gekB:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var n="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",n[7],n[8],n[9]],t;function i(e,t,n,r){var i="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":i=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":i=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":i=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":i=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":i=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":i=r?"vuoden":"vuotta";break}i=o(e,r)+" "+i;return i}function o(e,t){return e<10?t?r[e]:n[e]:e}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ggYk:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("div",{class:["sm-component-video-player",{"sm-component-video-full-fill":t.isFullFill}]},[e("video-player",{ref:"videoPlayer",staticClass:"sm-component-video-player__player sm-component-video-player__player--main",attrs:{options:t.playerOptions,playsinline:!0,"data-autoplay":t.autoplay,"data-isLive":t.isRtmp,"data-popupplay":""+t.options.popupToPlay,events:["fullscreenchange"]},on:{play:function(e){return t.onPlayerPlay(e)},ended:function(e){return t.onPlayerEnded(e)},loadeddata:function(e){return t.onPlayerLoadeddata(e)},ready:t.getPlayer,fullscreenchange:t.onFullscreenchange}}),t._v(" "),t.url?e("sm-modal",{class:{"sm-component-video-full-fill":t.isFullFill},attrs:{wrapClassName:"sm-component-video-player-modal",footer:null,width:"60%",maskClosable:!1},model:{value:t.modalVisible,callback:function(e){t.modalVisible=e},expression:"modalVisible"}},[e("video-player",{ref:"modalVideoPlayer",staticClass:"sm-component-video-player__player",attrs:{options:t.modalPlayerOptions,playsinline:!0,"data-autoplay":t.autoplay,"data-isLive":t.isRtmp,"data-popupplay":""+t.options.popupToPlay},on:{play:function(e){return t.onModalPlayerPlay(e)},loadeddata:function(e){return t.onModalPlayerLoadeddata(e)},ready:t.getPlayer}})],1):t._e()],1)},i=[]},ghNw:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.layoutHederTypes=t.default=void 0,r(n("mMUZ"))),o=n("38+u"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},o.BasicProps),o=(t.layoutHederTypes=n,{name:"SmLayoutHeader",defaultComponent:i.default.Header,mixins:[a.default,r.default],inheritAttrs:!1,props:n,computed:{extralProps:function(){return{tagName:"header"}}}});t.default=o},gjCT:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r;e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){if(e<12)return"ص";else return"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n("wd/R"))},gluN:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("BKau"))),o=r(n("bfwp")),a=r(n("WxVo")),s=r(n("2Z54")),r=(o.default.install=function(e,t){(0,s.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default),e.component((a.default.options||a.default).name,a.default)},o.default);t.default=r},gpbi:function(e,t,n){var r=n("ZWtO"),i=n("KxBF");e.exports=function(e,t){return t.length<2?e:r(e,i(t,0,-1))}},gtyG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===e&&(e=this.params.speed);void 0===t&&(t=!0);return this.slideTo(this.activeIndex,e,t,n)}},gzPo:function(e,t,n){"use strict";var r,i,o,a,s,l,u=n("Ks5W"),c=n("mcoe"),f=n("fKql").f,h=n("XTcp").set,d=n("zUnQ"),p=n("GgKt"),y=n("FqHY"),m=n("/pbl"),g=n("IGIO"),n=u.MutationObserver||u.WebKitMutationObserver,v=u.document,b=u.process,_=u.Promise,f=f(u,"queueMicrotask"),f=f&&f.value;f||(a=new d,s=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=a.get();)try{t()}catch(e){throw a.head&&l(),e}e&&e.enter()},l=p||g||m||!n||!v?!y&&_&&_.resolve?((d=_.resolve(void 0)).constructor=_,o=c(d.then,d),function(){o(s)}):g?function(){b.nextTick(s)}:(h=c(h,u),function(){h(s)}):(r=!0,i=v.createTextNode(""),new n(s).observe(i,{characterData:!0}),function(){i.data=r=!r}),f=function(e){a.head||l(),a.add(e)}),e.exports=f},gzXh:function(e,t,n){"use strict";function r(e,t){var n=[],r=[],i=[];e.forEach(function(e){n.push(e.colorStops[0].color),r.push(e.colorStops[1].color)});for(var o=SuperMap.ColorsPickerUtil.getGradientColors(n,t,"RANGE"),a=SuperMap.ColorsPickerUtil.getGradientColors(r,t,"RANGE"),s=0;s<t;s++){var l=(0,u.default)(e[0]);l.colorStops=[{offset:0,color:o[s]},{offset:1,color:a[s]}],i.push(l)}return i}function i(e,t){return e=e&&t>e.length&&"object"==typeof e[0]?r(e,t):SuperMap.ColorsPickerUtil.getGradientColors(e,t,"RANGE")}var o=n("TqRt"),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.handleMultiGradient=t.getMultiColorGroup=t.chartThemeUtil=void 0,n("e7LN")),u=o(n("zT9C"));t.handleMultiGradient=r,t.getMultiColorGroup=i;t.chartThemeUtil=function(e,t,n,r){return void 0===e&&(e="rgba(255, 255, 255, 0.6)"),void 0===t&&(t="#333"),{color:n=i(n=void 0===n?["#3fb1e3","#6be6c1","#626c91","#a0a7e6","#c4ebad","#96dee8"]:n,r),backgroundColor:e,textStyle:{},title:{textStyle:{color:t},subtextStyle:{color:"#999999"}},line:{itemStyle:{normal:{borderWidth:"2"}},lineStyle:{normal:{width:"3"}},symbolSize:"8",symbol:"emptyCircle",smooth:!1},radar:{name:{textStyle:{color:t}},lineStyle:{normal:{width:"3",color:t}},splitLine:{lineStyle:{color:[(0,a.getColorWithOpacity)(t,1),(0,a.getColorWithOpacity)(t,.8),(0,a.getColorWithOpacity)(t,.6),(0,a.getColorWithOpacity)(t,.4),(0,a.getColorWithOpacity)(t,.2),(0,a.getColorWithOpacity)(t,.1)]}},axisLine:{lineStyle:{color:(0,a.getColorWithOpacity)(t,.3)}},symbolSize:"8",symbol:"emptyCircle",smooth:!1},bar:{itemStyle:{normal:{barBorderWidth:0,barBorderColor:"#cccccc"},emphasis:{barBorderWidth:0,barBorderColor:"#cccccc"}}},pie:{itemStyle:{normal:{borderWidth:0,borderColor:"#cccccc"},emphasis:{borderWidth:0,borderColor:"#cccccc"}},radius:"63%"},scatter:{itemStyle:{normal:{borderWidth:0,borderColor:"#cccccc"},emphasis:{borderWidth:0,borderColor:"#cccccc"}}},boxplot:{itemStyle:{normal:{borderWidth:0,borderColor:"#cccccc"},emphasis:{borderWidth:0,borderColor:"#cccccc"}}},parallel:{itemStyle:{normal:{borderWidth:0,borderColor:"#cccccc"},emphasis:{borderWidth:0,borderColor:"#cccccc"}}},sankey:{itemStyle:{normal:{borderWidth:0,borderColor:"#cccccc"},emphasis:{borderWidth:0,borderColor:"#cccccc"}}},funnel:{itemStyle:{normal:{borderWidth:0,borderColor:"#cccccc"},emphasis:{borderWidth:0,borderColor:"#cccccc"}}},gauge:{axisLine:{lineStyle:{color:[[.2,n[0]],[.8,n[1]],[1,n[2]]]}},itemStyle:{normal:{borderWidth:0,borderColor:"#cccccc"},emphasis:{borderWidth:0,borderColor:"#cccccc"}}},candlestick:{itemStyle:{normal:{color:"#e6a0d2",color0:"transparent",borderColor:"#e6a0d2",borderColor0:"#3fb1e3",borderWidth:"2"}}},graph:{itemStyle:{normal:{borderWidth:0,borderColor:"#cccccc"}},lineStyle:{normal:{width:"1",color:"#cccccc"}},symbolSize:"8",symbol:"emptyCircle",smooth:!1,color:n,label:{normal:{textStyle:{color:"#ffffff"}}}},map:{itemStyle:{normal:{areaColor:"#eeeeee",borderColor:"#aaaaaa",borderWidth:.5},emphasis:{areaColor:"rgba(63,177,227,0.25)",borderColor:"#3fb1e3",borderWidth:1}},label:{normal:{textStyle:{color:"#ffffff"}},emphasis:{textStyle:{color:"rgb(63,177,227)"}}}},geo:{itemStyle:{normal:{areaColor:"#eeeeee",borderColor:"#aaaaaa",borderWidth:.5},emphasis:{areaColor:"rgba(63,177,227,0.25)",borderColor:"#3fb1e3",borderWidth:1}},label:{normal:{textStyle:{color:"#ffffff"}},emphasis:{textStyle:{color:"rgb(63,177,227)"}}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:t}},axisTick:{show:!0,lineStyle:{color:t}},axisLabel:{show:!0,rotate:-45,interval:"auto",textStyle:{color:t}},splitLine:{show:!1,lineStyle:{color:["#eeeeee"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}},nameTextStyle:{fontSize:14}},valueAxis:{axisLine:{show:!0,lineStyle:{color:t}},axisTick:{show:!0,lineStyle:{color:t}},axisLabel:{show:!0,rotate:45,interval:"auto",textStyle:{color:t}},splitLine:{show:!1,lineStyle:{color:["#eeeeee"]}},splitArea:{show:!0},nameTextStyle:{fontSize:14}},logAxis:{axisLine:{show:!0,lineStyle:{color:t}},axisTick:{show:!1,lineStyle:{color:t}},axisLabel:{show:!0,textStyle:{color:t}},splitLine:{show:!0,lineStyle:{color:[t]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},timeAxis:{axisLine:{show:!0,lineStyle:{color:t}},axisTick:{show:!1,lineStyle:{color:t}},axisLabel:{show:!0,textStyle:{color:t}},splitLine:{show:!0,lineStyle:{color:[t]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},toolbox:{iconStyle:{normal:{borderColor:"#999999"},emphasis:{borderColor:"#666666"}}},legend:{textStyle:{color:t},pageTextStyle:{color:t}},tooltip:{axisPointer:{lineStyle:{color:"#cccccc",width:1},crossStyle:{color:"#cccccc",width:1}}},timeline:{lineStyle:{color:"#626c91",width:1},itemStyle:{normal:{color:"#626c91",borderWidth:1},emphasis:{color:"#626c91"}},controlStyle:{normal:{color:"#626c91",borderColor:"#626c91",borderWidth:.5},emphasis:{color:"#626c91",borderColor:"#626c91",borderWidth:.5}},checkpointStyle:{color:"#3fb1e3",borderColor:"rgba(63,177,227,0.15)"},label:{normal:{textStyle:{color:"#626c91"}},emphasis:{textStyle:{color:"#626c91"}}}},visualMap:{color:n},dataZoom:{backgroundColor:"rgba(255,255,255,0)",dataBackgroundColor:"rgba(222,222,222,1)",fillerColor:"rgba(114,230,212,0.25)",handleColor:"#cccccc",handleSize:"100%",textStyle:{color:t}},markPoint:{label:{normal:{textStyle:{color:t}},emphasis:{textStyle:{color:t}}}}}}},h1Uw:function(e,t,n){"use strict";n.r(t);var r,i=n("n6BM"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"h2/A":function(e,t,n){"use strict";var r=n("TqRt"),b=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("/xfr")),i=r(n("Jq2x")),o=n("cKS0");function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s={handle:function(e){var t=this;if(t.enabled){var n=(0,b.getWindow)(),r=(0,b.getDocument)(),i=t.rtlTranslate,o=(e=e.originalEvent?e.originalEvent:e).keyCode||e.charCode,a=t.params.keyboard.pageUpDown,s=a&&33===o,a=a&&34===o,l=37===o,u=39===o,c=38===o,f=40===o;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&f||a))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&l||t.isVertical()&&c||s))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||r.activeElement&&r.activeElement.nodeName&&("input"===r.activeElement.nodeName.toLowerCase()||"textarea"===r.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(s||a||l||u||c||f)){var h=!1;if(0<t.$el.parents("."+t.params.slideClass).length&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;for(var r=t.$el,d=r[0].clientWidth,r=r[0].clientHeight,p=n.innerWidth,y=n.innerHeight,n=t.$el.offset(),m=(i&&(n.left-=t.$el[0].scrollLeft),[[n.left,n.top],[n.left+d,n.top],[n.left,n.top+r],[n.left+d,n.top+r]]),g=0;g<m.length;g+=1){var v=m[g];0<=v[0]&&v[0]<=p&&0<=v[1]&&v[1]<=y&&(0===v[0]&&0===v[1]||(h=!0))}if(!h)return}t.isHorizontal()?((s||a||l||u)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),((a||u)&&!i||(s||l)&&i)&&t.slideNext(),((s||l)&&!i||(a||u)&&i)&&t.slidePrev()):((s||a||c||f)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),(a||f)&&t.slideNext(),(s||c)&&t.slidePrev()),t.emit("keyPress",o)}}},enable:function(){var e=(0,b.getDocument)();this.keyboard.enabled||((0,i.default)(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){var e=(0,b.getDocument)();this.keyboard.enabled&&((0,i.default)(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}};t.default={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){(0,o.bindModuleMethods)(this,{keyboard:a({enabled:!1},s)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}}},h9Sk:function(e,t,n){e.exports={ResizeSensor:n("KtZj"),ElementQueries:n("rnKy")}},hB31:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("W8MJ"))),o=r(n("VbXa")),c=r(n("0F1z")),a=r(n("CHBU")),s=r(n("Whz7")),l=n("YKMj"),f=n("QG5D"),h=r(n("9/5/")),u=r(n("0zgg")),d=r(n("1nqv")),p=r(n("NQEM")),r=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},n=function(t){function e(){var e=t.apply(this,arguments)||this;return e.spinning=!0,e.ready=!1,e}(0,o.default)(e,t);var n=e.prototype;return n.mapIdChanged=function(){this.spinning=!0},n.mounted=function(){this.initializeWebMap(),this.registerEvents()},n.beforeDestroy=function(){this.destory(),s.default.$options.deleteMap(this.target),s.default.$options.deleteWebMap(this.target)},n.load=function(e){return e},n.getMapFailed=function(e){return e},n.getLayerDatasourceFailed=function(e){return e},n.initializeWebMap=function(){var e=this,t=this.$props,n=t.target,r=t.serverUrl,i=t.accessToken,o=t.accessKey,a=t.tiandituKey,s=t.withCredentials,l=t.excludePortalProxyUrl,u=t.isSuperMapOnline,t=t.mapOptions;this.viewModel=new c.default(this.mapId,{target:n,serverUrl:r,accessToken:i,accessKey:o,tiandituKey:a,withCredentials:s,excludePortalProxyUrl:l,isSuperMapOnline:u},t),this.autoresize&&(this.__resizeHandler=(0,h.default)(function(){e.resize()},100,{leading:!0}),(0,f.addListener)(this.$el,this.__resizeHandler))},n.resize=function(){var e=this;this.viewModel&&this.viewModel.resize&&this.$nextTick(function(){e.viewModel.resize()})},n.registerEvents=function(){var t=this;this.viewModel.on({addlayerssucceeded:function(e){t.spinning=!1,s.default.$options.setMap(t.target,e.map),t.viewModel&&s.default.$options.setWebMap(t.target,t.viewModel),s.default.$emit("load-map",e.map,t.target),t.map=e.map,t.mapObject=e.map,t.ready=!0,t.$nextTick(function(){t.viewModel.resize()}),t.bindMapEvents(),t.load({map:e.map})},getmapinfofailed:function(e){t.getMapFailed({error:e.error}),p.default.error(e.error.message),t.spinning=!1},getlayerdatasourcefailed:function(e){t.getLayerDatasourceFailed({error:e.error,layer:e.layer,map:e.map}),"SAMPLE DATA is not supported"===e.error?p.default.error(t.$t("webmap.sampleDataNotSupport")):p.default.error(t.$t("webmap.getLayerInfoFailed"))},notsupportmvt:function(){p.default.error("暂不支持加载矢量瓦片图层!"),t.spinning=!1}})},n.destory=function(){this.autoresize&&(0,f.removeListener)(this.$el,this.__resizeHandler)},(0,i.default)(e,[{key:"getMapTarget",get:function(){return this.target}}]),e}((0,l.Mixins)(a.default,u.default));r([(0,l.Provide)()],n.prototype,"__resizeHandler",void 0),r([(0,l.Provide)()],n.prototype,"ready",void 0),r([(0,l.Prop)()],n.prototype,"mapId",void 0),r([(0,l.Prop)({default:"map"})],n.prototype,"target",void 0),r([(0,l.Prop)({default:"https://www.supermapol.com"})],n.prototype,"serverUrl",void 0),r([(0,l.Prop)()],n.prototype,"accessToken",void 0),r([(0,l.Prop)()],n.prototype,"accessKey",void 0),r([(0,l.Prop)()],n.prototype,"tiandituKey",void 0),r([(0,l.Prop)({default:!1})],n.prototype,"withCredentials",void 0),r([(0,l.Prop)()],n.prototype,"excludePortalProxyUrl",void 0),r([(0,l.Prop)()],n.prototype,"isSuperMapOnline",void 0),r([(0,l.Prop)()],n.prototype,"mapOptions",void 0),r([(0,l.Prop)({default:!0})],n.prototype,"autoresize",void 0),r([(0,l.Watch)("mapId")],n.prototype,"mapIdChanged",null),r([(0,l.Emit)()],n.prototype,"load",null),r([(0,l.Emit)()],n.prototype,"getMapFailed",null),r([(0,l.Emit)()],n.prototype,"getLayerDatasourceFailed",null),n=r([(0,l.Component)({name:"SmWebMap",components:{SmSpin:d.default},viewModelProps:["mapId","serverUrl","mapOptions.center","mapOptions.zoom","mapOptions.minZoom","mapOptions.maxZoom","mapOptions.maxBounds","withCredentials"]})],n);t.default=n},hDam:function(e,t){e.exports=function(){}},"hE+I":function(e,t,n){var o,a,i=n("MXF5"),s=n("lsHq"),l=n("mxIc").isArray;function r(e){var t,n=Number(e);return isNaN(n)?"true"===(t=e.toLowerCase())||"false"!==t&&e:n}function u(e,t){var n,r;if(o.compact){if(!a[o[e+"Key"]]&&(l(o.alwaysArray)?-1!==o.alwaysArray.indexOf(o[e+"Key"]):o.alwaysArray)&&(a[o[e+"Key"]]=[]),a[o[e+"Key"]]&&!l(a[o[e+"Key"]])&&(a[o[e+"Key"]]=[a[o[e+"Key"]]]),e+"Fn"in o&&"string"==typeof t&&(t=o[e+"Fn"](t,a)),"instruction"===e&&("instructionFn"in o||"instructionNameFn"in o))for(n in t)t.hasOwnProperty(n)&&("instructionFn"in o?t[n]=o.instructionFn(t[n],n,a):(r=t[n],delete t[n],t[o.instructionNameFn(n,r,a)]=r));l(a[o[e+"Key"]])?a[o[e+"Key"]].push(t):a[o[e+"Key"]]=t}else{a[o.elementsKey]||(a[o.elementsKey]=[]);var i={};if("instruction"===(i[o.typeKey]=e)){for(n in t)if(t.hasOwnProperty(n))break;i[o.nameKey]="instructionNameFn"in o?o.instructionNameFn(n,t,a):n,o.instructionHasAttributes?(i[o.attributesKey]=t[n][o.attributesKey],"instructionFn"in o&&(i[o.attributesKey]=o.instructionFn(i[o.attributesKey],n,a))):("instructionFn"in o&&(t[n]=o.instructionFn(t[n],n,a)),i[o.instructionKey]=t[n])}else e+"Fn"in o&&(t=o[e+"Fn"](t,a)),i[o[e+"Key"]]=t;o.addParent&&(i[o.parentKey]=a),a[o.elementsKey].push(i)}}function c(e){var t,n;if("attributesFn"in o&&(e=e&&o.attributesFn(e,a)),(o.trim||"attributeValueFn"in o||"attributeNameFn"in o||o.nativeTypeAttributes)&&e)for(t in e)e.hasOwnProperty(t)&&(o.trim&&(e[t]=e[t].trim()),o.nativeTypeAttributes&&(e[t]=r(e[t])),"attributeValueFn"in o&&(e[t]=o.attributeValueFn(e[t],t,a)),"attributeNameFn"in o)&&(n=e[t],delete e[t],e[o.attributeNameFn(t,e[t],a)]=n);return e}function f(e){var t,n={};if(e.body&&("xml"===e.name.toLowerCase()||o.instructionHasAttributes)){for(var r,i=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(r=i.exec(e.body));)n[r[1]]=r[2]||r[3]||r[4];n=c(n)}"xml"===e.name.toLowerCase()?o.ignoreDeclaration||(a[o.declarationKey]={},Object.keys(n).length&&(a[o.declarationKey][o.attributesKey]=n),o.addParent&&(a[o.declarationKey][o.parentKey]=a)):o.ignoreInstruction||(o.trim&&(e.body=e.body.trim()),t={},o.instructionHasAttributes&&Object.keys(n).length?(t[e.name]={},t[e.name][o.attributesKey]=n):t[e.name]=e.body,u("instruction",t))}function h(e,t){if("object"==typeof e&&(t=e.attributes,e=e.name),t=c(t),"elementNameFn"in o&&(e=o.elementNameFn(e,a)),o.compact){var n,r={};if(!o.ignoreAttributes&&t&&Object.keys(t).length)for(n in r[o.attributesKey]={},t)t.hasOwnProperty(n)&&(r[o.attributesKey][n]=t[n]);e in a||(l(o.alwaysArray)?-1===o.alwaysArray.indexOf(e):!o.alwaysArray)||(a[e]=[]),a[e]&&!l(a[e])&&(a[e]=[a[e]]),l(a[e])?a[e].push(r):a[e]=r}else a[o.elementsKey]||(a[o.elementsKey]=[]),(r={})[o.typeKey]="element",r[o.nameKey]=e,!o.ignoreAttributes&&t&&Object.keys(t).length&&(r[o.attributesKey]=t),o.alwaysChildren&&(r[o.elementsKey]=[]),a[o.elementsKey].push(r);r[o.parentKey]=a,a=r}function d(e){o.ignoreText||(e.trim()||o.captureSpacesBetweenElements)&&(o.trim&&(e=e.trim()),o.nativeType&&(e=r(e)),u("text",e=o.sanitize?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"):e))}function p(e){o.ignoreComment||u("comment",e=o.trim?e.trim():e)}function y(e){var t=a[o.parentKey];o.addParent||delete a[o.parentKey],a=t}function m(e){o.ignoreCdata||u("cdata",e=o.trim?e.trim():e)}function g(e){o.ignoreDoctype||(e=e.replace(/^ /,""),u("doctype",e=o.trim?e.trim():e))}function v(e){e.note=e}e.exports=function(e,t){var n=i.parser(!0,{}),r={};return a=r,o=s.copyOptions(t),s.ensureFlagExists("ignoreDeclaration",o),s.ensureFlagExists("ignoreInstruction",o),s.ensureFlagExists("ignoreAttributes",o),s.ensureFlagExists("ignoreText",o),s.ensureFlagExists("ignoreComment",o),s.ensureFlagExists("ignoreCdata",o),s.ensureFlagExists("ignoreDoctype",o),s.ensureFlagExists("compact",o),s.ensureFlagExists("alwaysChildren",o),s.ensureFlagExists("addParent",o),s.ensureFlagExists("trim",o),s.ensureFlagExists("nativeType",o),s.ensureFlagExists("nativeTypeAttributes",o),s.ensureFlagExists("sanitize",o),s.ensureFlagExists("instructionHasAttributes",o),s.ensureFlagExists("captureSpacesBetweenElements",o),s.ensureAlwaysArrayExists(o),s.ensureKeyExists("declaration",o),s.ensureKeyExists("instruction",o),s.ensureKeyExists("attributes",o),s.ensureKeyExists("text",o),s.ensureKeyExists("comment",o),s.ensureKeyExists("cdata",o),s.ensureKeyExists("doctype",o),s.ensureKeyExists("type",o),s.ensureKeyExists("name",o),s.ensureKeyExists("elements",o),s.ensureKeyExists("parent",o),s.checkFnExists("doctype",o),s.checkFnExists("instruction",o),s.checkFnExists("cdata",o),s.checkFnExists("comment",o),s.checkFnExists("text",o),s.checkFnExists("instructionName",o),s.checkFnExists("elementName",o),s.checkFnExists("attributeName",o),s.checkFnExists("attributeValue",o),s.checkFnExists("attributes",o),n.opt={strictEntities:!0},n.onopentag=h,n.ontext=d,n.oncomment=p,n.onclosetag=y,n.onerror=v,n.oncdata=m,n.ondoctype=g,n.onprocessinginstruction=f,n.write(e).close(),r[o.elementsKey]&&(t=r[o.elementsKey],delete r[o.elementsKey],r[o.elementsKey]=t,delete r.text),r}},hIaP:function(e,t,n){"use strict";var r=n("m7zg"),i=n("8HiI"),o=n("WxoH"),a=n("IL+x"),s=n("ltkU"),l=TypeError;e.exports=function(e,t){t=arguments.length<2?s(e):t;if(i(t))return o(r(t,e));throw l(a(e)+" is not iterable")}},hJbE:function(B,R,e){"use strict";var n,t=e("QbLZ"),_=e.n(t),t=e("i7/w"),t=e.n(t),N=e("Rs/M"),N=e.n(N),r=e("TZE5"),h=e("a7Ss"),x=e("2qPA"),z=e("1B3U"),o=e("yMYy"),F=e("aiEA"),i=e("EJiy"),g=e.n(i);function V(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function H(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?V(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):V(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}function Y(e){return(Y="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})(e)}var G={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function a(){if(void 0===n){n="";var e,t=document.createElement("p").style;for(e in G)e+"Transform"in t&&(n=e)}return n}function U(){return a()?"".concat(a(),"TransitionProperty"):"transitionProperty"}function s(){return a()?"".concat(a(),"Transform"):"transform"}function Q(e,t){var n=U();n&&(e.style[n]=t,"transitionProperty"!==n)&&(e.style.transitionProperty=t)}function l(e,t){var n=s();n&&(e.style[n]=t,"transform"!==n)&&(e.style.transform=t)}var u,W=/matrix\((.*)\)/,q=/matrix3d\((.*)\)/;function K(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function w(e,t,n){if("object"===Y(t))for(var r in t)t.hasOwnProperty(r)&&w(e,r,t[r]);else{if(void 0===n)return u(e,t);"number"==typeof n&&(n="".concat(n,"px")),e.style[t]=n}}function X(e,t){var n=e["page".concat(t?"Y":"X","Offset")],t="scroll".concat(t?"Top":"Left");return n="number"!=typeof n&&"number"!=typeof(n=(e=e.document).documentElement[t])?e.body[t]:n}function J(e){return X(e)}function $(e){return X(e,!0)}function A(e){i=(r=(t=e).ownerDocument).body,r=r&&r.documentElement,t=t.getBoundingClientRect(),n=Math.floor(t.left),t=Math.floor(t.top);var t,n={left:n-=r.clientLeft||i.clientLeft||0,top:t-=r.clientTop||i.clientTop||0},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=J(i),n.top+=$(i),n}function c(e){return null!=e&&e==e.window}function Z(e){return c(e)?e.document:9===e.nodeType?e:e.ownerDocument}var ee=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),te=/^(top|right|bottom|left)$/,f="currentStyle",d="runtimeStyle";function S(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function ne(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function re(e,t,n){"static"===w(e,"position")&&(e.style.position="relative");var r,i,o,a,s,l=-999,u=-999,c=S("left",n),f=S("top",n),h=ne(c),d=ne(f),p=("left"!==c&&(l=999),"top"!==f&&(u=999),""),y=A(e),m=(("left"in t||"top"in t)&&(p=(r=e).style.transitionProperty||r.style[U()]||"",Q(e,"none")),"left"in t&&(e.style[h]="",e.style[c]="".concat(l,"px")),"top"in t&&(e.style[d]="",e.style[f]="".concat(u,"px")),K(e),A(e)),g={};for(i in t)t.hasOwnProperty(i)&&(o=S(i,n),a="left"===i?l:u,s=y[i]-m[i],g[o]=o===i?a+s:a-s);w(e,g),K(e),("left"in t||"top"in t)&&Q(e,p);var v,b,_,x={};for(v in t)t.hasOwnProperty(v)&&(b=S(v,n),_=t[v]-y[v],x[b]=v===b?g[b]+_:g[b]-_);w(e,x)}function ie(e,t){var n,r=A(e),i=(i=e,(i=(i=window.getComputedStyle(i,null)).getPropertyValue("transform")||i.getPropertyValue(s()))&&"none"!==i?(i=i.replace(/[^0-9\-.,]/g,"").split(","),{x:parseFloat(i[12]||i[4],0),y:parseFloat(i[13]||i[5],0)}):{x:0,y:0}),o={x:i.x,y:i.y};"left"in t&&(o.x=i.x+t.left-r.left),"top"in t&&(o.y=i.y+t.top-r.top),i=e,t=o,(r=(r=window.getComputedStyle(i,null)).getPropertyValue("transform")||r.getPropertyValue(s()))&&"none"!==r?(e=r.match(W))?((n=(e=e[1]).split(",").map(function(e){return parseFloat(e,10)}))[4]=t.x,n[5]=t.y,l(i,"matrix(".concat(n.join(","),")"))):((n=r.match(q)[1].split(",").map(function(e){return parseFloat(e,10)}))[12]=t.x,n[13]=t.y,l(i,"matrix3d(".concat(n.join(","),")"))):l(i,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function oe(e){return"border-box"===u(e,"boxSizing")}"undefined"!=typeof window&&(u=window.getComputedStyle?function(e,t,n){var r="",i=Z(e);return r=(n=n||i.defaultView.getComputedStyle(e,null))?n.getPropertyValue(t)||n[t]:r}:function(e,t){var n,r,i,o=e[f]&&e[f][t];return ee.test(o)&&!te.test(t)&&(r=(n=e.style).left,i=e[d].left,e[d].left=e[f].left,n.left="fontSize"===t?"1em":o||0,o=n.pixelLeft+"px",n.left=r,e[d].left=i),""===o?"auto":o});var ae=["margin","border","padding"],y=-1,se=2,m=1;function v(e,t,n){for(var r,i,o=0,a=0;a<t.length;a++)if(r=t[a])for(i=0;i<n.length;i++){var s=void 0,s="border"===r?"".concat(r).concat(n[i],"Width"):r+n[i];o+=parseFloat(u(e,s))||0}return o}var b={getParent:function(e){for(var t=e;(t=11===t.nodeType&&t.host?t.host:t.parentNode)&&1!==t.nodeType&&9!==t.nodeType;);return t}};function le(e,t,n){var r,i,o,a;return c(e)?"width"===t?b.viewportWidth(e):b.viewportHeight(e):9===e.nodeType?"width"===t?b.docWidth(e):b.docHeight(e):(r="width"===t?["Left","Right"]:["Top","Bottom"],a="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),i=oe(e),o=0,(null==a||a<=0)&&(a=void 0,(null==(o=u(e,t))||Number(o)<0)&&(o=e.style[t]||0),o=Math.floor(parseFloat(o))||0),t=void 0!==a||i,a=a||o,(n=void 0===n?i?m:y:n)===y?t?a-v(e,["border","padding"],r):o:t?n===m?a:a+(n===se?-v(e,["border"],r):v(e,["margin"],r)):o+v(e,ae.slice(n),r))}p(["Width","Height"],function(i){b["doc".concat(i)]=function(e){e=e.document;return Math.max(e.documentElement["scroll".concat(i)],e.body["scroll".concat(i)],b["viewport".concat(i)](e))},b["viewport".concat(i)]=function(e){var t="client".concat(i),e=e.document,n=e.body,r=e.documentElement[t];return"CSS1Compat"===e.compatMode&&r||n&&n[t]||r}});var ue={position:"absolute",visibility:"hidden",display:"block"};function ce(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];if(0!==i.offsetWidth)e=le.apply(void 0,n);else{var o,a=ue,s=function(){e=le.apply(void 0,n)},l={},u=i.style;for(o in a)a.hasOwnProperty(o)&&(l[o]=u[o],u[o]=a[o]);for(o in s.call(i),a)a.hasOwnProperty(o)&&(u[o]=l[o])}return e}function fe(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}p(["width","height"],function(n){var e=n.charAt(0).toUpperCase()+n.slice(1),r=(b["outer".concat(e)]=function(e,t){return e&&ce(e,n,t?0:m)},"width"===n?["Left","Right"]:["Top","Bottom"]);b[n]=function(e,t){return void 0!==t?e?(oe(e)&&(t+=v(e,["padding","border"],r)),w(e,n,t)):void 0:e&&ce(e,n,y)}});var C={getWindow:function(e){return e&&e.document&&e.setTimeout?e:(e=e.ownerDocument||e).defaultView||e.parentWindow},getDocument:Z,offset:function(e,t,n){if(void 0===t)return A(e);n=n||{};if(n.ignoreShake){var r=A(e),i=r.left.toFixed(0),r=r.top.toFixed(0),o=t.left.toFixed(0),a=t.top.toFixed(0);if(i===o&&r===a)return}!n.useCssRight&&!n.useCssBottom&&n.useCssTransform&&s()in document.body.style?ie(e,t):re(e,t,n)},isWindow:c,each:p,css:w,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:fe,getWindowScrollLeft:J,getWindowScrollTop:$,merge:function(){for(var e={},t=0;t<arguments.length;t++)C.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0},O=(fe(C,b),C.getParent);function E(e){if(!C.isWindow(e)&&9!==e.nodeType){var t,n=C.getDocument(e).body,r=C.css(e,"position");if(!("fixed"===r||"absolute"===r))return"html"===e.nodeName.toLowerCase()?null:O(e);for(t=O(e);t&&t!==n&&9!==t.nodeType;t=O(t))if("static"!==(r=C.css(t,"position")))return t}return null}var he=C.getParent;function M(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=E(e),i=C.getDocument(e),o=i.defaultView||i.parentWindow,a=i.body,s=i.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===s||"visible"===C.css(r,"overflow")){if(r===a||r===s)break}else{var l=C.offset(r);l.left+=r.clientLeft,l.top+=r.clientTop,n.top=Math.max(n.top,l.top),n.right=Math.min(n.right,l.left+r.clientWidth),n.bottom=Math.min(n.bottom,l.top+r.clientHeight),n.left=Math.max(n.left,l.left)}r=E(r)}var i=null,u=(C.isWindow(e)||9===e.nodeType||(i=e.style.position,"absolute"===C.css(e,"position")&&(e.style.position="fixed")),C.getWindowScrollLeft(o)),c=C.getWindowScrollTop(o),f=C.viewportWidth(o),h=C.viewportHeight(o),d=s.scrollWidth,p=s.scrollHeight,y=window.getComputedStyle(a);return"hidden"===y.overflowX&&(d=o.innerWidth),"hidden"===y.overflowY&&(p=o.innerHeight),e.style&&(e.style.position=i),t||function(e){if(!C.isWindow(e)&&9!==e.nodeType)for(var t=C.getDocument(e),n=t.body,r=null,r=he(e);r&&r!==n&&r!==t;r=he(r))if("fixed"===C.css(r,"position"))return 1}(e)?(n.left=Math.max(n.left,u),n.top=Math.max(n.top,c),n.right=Math.min(n.right,u+f),n.bottom=Math.min(n.bottom,c+h)):(y=Math.max(d,u+f),n.right=Math.min(n.right,y),o=Math.max(p,c+h),n.bottom=Math.min(n.bottom,o)),0<=n.top&&0<=n.left&&n.top<n.bottom&&n.left<n.right?n:null}function P(e){var t,n,r;return r=C.isWindow(e)||9===e.nodeType?(r=C.getWindow(e),t={left:C.getWindowScrollLeft(r),top:C.getWindowScrollTop(r)},n=C.viewportWidth(r),C.viewportHeight(r)):(t=C.offset(e),n=C.outerWidth(e),C.outerHeight(e)),t.width=n,t.height=r,t}function de(e,t){var n=t.charAt(0),t=t.charAt(1),r=e.width,i=e.height,o=e.left,e=e.top;return"c"===n?e+=i/2:"b"===n&&(e+=i),"c"===t?o+=r/2:"r"===t&&(o+=r),{left:o,top:e}}function k(e,t,n,r,i){t=de(t,n[1]),n=de(e,n[0]),n=[n.left-t.left,n.top-t.top];return{left:Math.round(e.left-n[0]+r[0]-i[0]),top:Math.round(e.top-n[1]+r[1]-i[1])}}function pe(e,t,n){return e.left<n.left||e.left+t.width>n.right}function ye(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function T(e,t,n){var r=[];return C.each(e,function(e){r.push(e.replace(t,function(e){return n[e]}))}),r}function I(e,t){return e[t]=-e[t],e}function me(e,t){t=/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10);return t||0}function ge(e,t){e[0]=me(e[0],t.width),e[1]=me(e[1],t.height)}function ve(e,t,n,r){var i,o,a,s,l,u=n.points,c=n.offset||[0,0],f=n.targetOffset||[0,0],h=n.overflow,e=n.source||e,c=[].concat(c),f=[].concat(f),d={},p=0,y=M(e,!(!(h=h||{})||!h.alwaysByViewport)),m=P(e),g=(ge(c,m),ge(f,t),k(m,t,u,c,f)),v=C.merge(m,g);return y&&(h.adjustX||h.adjustY)&&r&&(h.adjustX&&pe(g,m,y)&&(r=T(u,/[lr]/gi,{l:"r",r:"l"}),i=I(c,0),o=I(f,0),a=k(m,t,r,i,o),s=m,l=y,(a=a).left>l.right||a.left+s.width<l.left||(p=1,u=r,c=i,f=o)),h.adjustY&&ye(g,m,y)&&(a=T(u,/[tb]/gi,{t:"b",b:"t"}),s=I(c,1),l=I(f,1),r=k(m,t,a,s,l),i=m,o=y,(r=r).top>o.bottom||r.top+i.height<o.top||(p=1,u=a,c=s,f=l)),p&&(g=k(m,t,u,c,f),C.mix(v,g)),r=pe(g,m,y),p=ye(g,m,y),(r||p)&&(t=u,r&&(t=T(u,/[lr]/gi,{l:"r",r:"l"})),u=t=p?T(u,/[tb]/gi,{t:"b",b:"t"}):t,c=n.offset||[0,0],f=n.targetOffset||[0,0]),d.adjustX=h.adjustX&&r,d.adjustY=h.adjustY&&p,d.adjustX||d.adjustY)&&(t=g,r=m,h=y,p=d,t=C.clone(t),r={width:r.width,height:r.height},p.adjustX&&t.left<h.left&&(t.left=h.left),p.resizeWidth&&t.left>=h.left&&t.left+r.width>h.right&&(r.width-=t.left+r.width-h.right),p.adjustX&&t.left+r.width>h.right&&(t.left=Math.max(h.right-r.width,h.left)),p.adjustY&&t.top<h.top&&(t.top=h.top),p.resizeHeight&&t.top>=h.top&&t.top+r.height>h.bottom&&(r.height-=t.top+r.height-h.bottom),p.adjustY&&t.top+r.height>h.bottom&&(t.top=Math.max(h.bottom-r.height,h.top)),v=C.mix(t,r)),v.width!==m.width&&C.css(e,"width",C.width(e)+v.width-m.width),v.height!==m.height&&C.css(e,"height",C.height(e)+v.height-m.height),C.offset(e,{left:v.left,top:v.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:u,offset:c,targetOffset:f,overflow:d}}function L(e,t,n){var r,t=n.target||t,i=P(t);return t=t,r=n.overflow&&n.overflow.alwaysByViewport,r=M(t,r),t=P(t),ve(e,i,n,!(!r||t.left+t.width<=r.left||t.top+t.height<=r.top||t.left>=r.right||t.top>=r.bottom))}L.__getOffsetParent=E,L.__getVisibleRectForElement=M;function be(e){return e&&"object"===(void 0===e?"undefined":g()(e))&&e.window===e}function _e(e,t){e=Math.floor(e),t=Math.floor(t);return Math.abs(e-t)<=1}var xe=e("ewVk"),i=e("BkRI"),we=e.n(i);function j(e){return"function"==typeof e&&e?e():null}function D(e){return"object"===(void 0===e?"undefined":g()(e))&&e?e:null}var Ae={props:{childrenProps:r.a.object,align:r.a.object.isRequired,target:r.a.oneOfType([r.a.func,r.a.object]).def(function(){return window}),monitorBufferTime:r.a.number.def(50),monitorWindowResize:r.a.bool.def(!1),disabled:r.a.bool.def(!1)},data:function(){return this.aligned=!1,{}},mounted:function(){var t=this;this.$nextTick(function(){t.prevProps=_()({},t.$props);var e=t.$props;t.aligned||t.forceAlign(),!e.disabled&&e.monitorWindowResize&&t.startMonitorWindowResize()})},updated:function(){var l=this;this.$nextTick(function(){var e,t,n,r,i,o=l.prevProps,a=l.$props,s=!1;a.disabled||(t=(e=l.$el)?e.getBoundingClientRect():null,!o.disabled&&(r=j(o.target),i=j(a.target),o=D(o.target),n=D(a.target),be(r)&&be(i)?s=!1:(r!==i||r&&!i&&n||o&&n&&i||n&&!((r=o)===(i=n)||r&&i&&("pageX"in i&&"pageY"in i?r.pageX===i.pageX&&r.pageY===i.pageY:"clientX"in i&&"clientY"in i&&r.clientX===i.clientX&&r.clientY===i.clientY)))&&(s=!0),o=l.sourceRect||{},s||!e||_e(o.width,t.width)&&_e(o.height,t.height))||(s=!0),l.sourceRect=t),s&&l.forceAlign(),a.monitorWindowResize&&!a.disabled?l.startMonitorWindowResize():l.stopMonitorWindowResize(),l.prevProps=_()({},l.$props,{align:we()(l.$props.align)})})},beforeDestroy:function(){this.stopMonitorWindowResize()},methods:{startMonitorWindowResize:function(){function e(){i&&(clearTimeout(i),i=null)}function t(){e(),i=setTimeout(n,r)}var n,r,i;this.resizeHandler||(this.bufferMonitor=(n=this.forceAlign,r=this.$props.monitorBufferTime,i=void 0,t.clear=e,t),this.resizeHandler=Object(o.a)(window,"resize",this.bufferMonitor))},stopMonitorWindowResize:function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)},forceAlign:function(){var e,t,n,r,i,o,a,s,l,u=this.$props,c=u.disabled,f=u.target,u=u.align;!c&&f&&(c=this.$el,e=Object(x.getListeners)(this),t=void 0,r=j(f),f=D(f),n=document.activeElement,r?t=L(c,r,u):f&&(r=c,f=f,u=u,i=(i=C.getDocument(r)).defaultView||i.parentWindow,o=C.getWindowScrollLeft(i),a=C.getWindowScrollTop(i),s=C.viewportWidth(i),i=C.viewportHeight(i),l="pageX"in f?f.pageX:o+f.clientX,f="pageY"in f?f.pageY:a+f.clientY,o=0<=l&&l<=o+s&&0<=f&&f<=a+i,s=[u.points[0],"cc"],t=ve(r,{left:l,top:f,width:0,height:0},H(H({},u),{},{points:s}),o)),a=c,(i=n)!==document.activeElement&&Object(h.a)(a,i)&&i.focus(),this.aligned=!0,e.align)&&e.align(c,t)}},render:function(){var e=this.$props.childrenProps,t=Object(x.getSlot)(this)[0];return t&&e?Object(xe.a)(t,{props:e}):t}},i=e("kvrn"),Se=e.n(i),Ce={props:{visible:r.a.bool,hiddenClassName:r.a.string},render:function(){var e=arguments[0],t=this.$props,n=t.hiddenClassName;t.visible;return n||!this.$slots.default||1<this.$slots.default.length?e("div",{class:""},[this.$slots.default]):this.$slots.default[0]}},Oe={props:{hiddenClassName:r.a.string.def(""),prefixCls:r.a.string,visible:r.a.bool},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,r=t.visible,t=t.hiddenClassName,i={on:Object(x.getListeners)(this)};return e("div",Se()([i,{class:r?"":t}]),[e(Ce,{class:n+"-content",attrs:{visible:r}},[this.$slots.default])])}},Ee=e("GM6z"),i=e("tIgm"),Me={name:"VCTriggerPopup",mixins:[i.a],props:{visible:r.a.bool,getClassNameFromAlign:r.a.func,getRootDomNode:r.a.func,align:r.a.any,destroyPopupOnHide:r.a.bool,prefixCls:r.a.string,getContainer:r.a.func,transitionName:r.a.string,animation:r.a.any,maskAnimation:r.a.string,maskTransitionName:r.a.string,mask:r.a.bool,zIndex:r.a.number,popupClassName:r.a.any,popupStyle:r.a.object.def(function(){return{}}),stretch:r.a.string,point:r.a.shape({pageX:r.a.number,pageY:r.a.number})},data:function(){return this.domEl=null,{stretchChecked:!1,targetWidth:void 0,targetHeight:void 0}},mounted:function(){var e=this;this.$nextTick(function(){e.rootNode=e.getPopupDomNode(),e.setStretchSize()})},updated:function(){var e=this;this.$nextTick(function(){e.setStretchSize()})},beforeDestroy:function(){this.$el.parentNode?this.$el.parentNode.removeChild(this.$el):this.$el.remove&&this.$el.remove()},methods:{onAlign:function(e,t){var n=this.$props.getClassNameFromAlign(t),n=(this.currentAlignClassName!==n&&(this.currentAlignClassName=n,e.className=this.getClassName(n)),Object(x.getListeners)(this));n.align&&n.align(e,t)},setStretchSize:function(){var e=this.$props,t=e.stretch,n=e.getRootDomNode,e=e.visible,r=this.$data,i=r.stretchChecked,o=r.targetHeight,r=r.targetWidth;t&&e?(t=n())&&(e=t.offsetHeight,n=t.offsetWidth,o===e&&r===n&&i||this.setState({stretchChecked:!0,targetHeight:e,targetWidth:n})):i&&this.setState({stretchChecked:!1})},getPopupDomNode:function(){return this.$refs.popupInstance?this.$refs.popupInstance.$el:null},getTargetElement:function(){return this.$props.getRootDomNode()},getAlignTarget:function(){var e=this.$props.point;return e||this.getTargetElement},getMaskTransitionName:function(){var e=this.$props,t=e.maskTransitionName,n=e.maskAnimation;return t=!t&&n?e.prefixCls+"-"+n:t},getTransitionName:function(){var e=this.$props,t=e.transitionName,e=e.animation;return t||("string"==typeof e?t=""+e:e&&e.props&&e.props.name&&(t=e.props.name)),t},getClassName:function(e){return this.$props.prefixCls+" "+this.$props.popupClassName+" "+e},getPopupElement:function(){var n=this,e=this.$createElement,t=this.$props,r=this.$slots,i=this.getTransitionName,o=this.$data,a=o.stretchChecked,s=o.targetHeight,o=o.targetWidth,l=t.align,u=t.visible,c=t.prefixCls,f=t.animation,h=t.popupStyle,d=t.getClassNameFromAlign,p=t.destroyPopupOnHide,t=t.stretch,d=this.getClassName(this.currentAlignClassName||d(l)),y=(u||(this.currentAlignClassName=null),{}),s=(t&&(-1!==t.indexOf("height")?y.height="number"==typeof s?s+"px":s:-1!==t.indexOf("minHeight")&&(y.minHeight="number"==typeof s?s+"px":s),-1!==t.indexOf("width")?y.width="number"==typeof o?o+"px":o:-1!==t.indexOf("minWidth")&&(y.minWidth="number"==typeof o?o+"px":o),a||setTimeout(function(){n.$refs.alignInstance&&n.$refs.alignInstance.forceAlign()},0)),{props:{prefixCls:c,visible:u},class:d,on:Object(x.getListeners)(this),ref:"popupInstance",style:_()({},y,h,this.getZIndexStyle())}),t={props:{appear:!0,css:!1}},m=i(),o=!!m,a={beforeEnter:function(){},enter:function(e,t){n.$nextTick(function(){n.$refs.alignInstance?n.$refs.alignInstance.$nextTick(function(){n.domEl=e,Object(Ee.a)(e,m+"-enter",t)}):t()})},beforeLeave:function(){n.domEl=null},leave:function(e,t){Object(Ee.a)(e,m+"-leave",t)}};return"object"===(void 0===f?"undefined":g()(f))?(o=!0,d=void 0===(c=f.on)?{}:c,h=void 0===(y=f.props)?{}:y,t.props=_()({},t.props,h),t.on=_()({},a,d)):t.on=a,o||(t={}),e("transition",t,p?[u?e(Ae,{attrs:{target:this.getAlignTarget(),monitorWindowResize:!0,align:l},key:"popup",ref:"alignInstance",on:{align:this.onAlign}},[e(Oe,s,[r.default])]):null]:[e(Ae,{directives:[{name:"show",value:u}],attrs:{target:this.getAlignTarget(),monitorWindowResize:!0,disabled:!u,align:l},key:"popup",ref:"alignInstance",on:{align:this.onAlign}},[e(Oe,s,[r.default])])])},getZIndexStyle:function(){var e={},t=this.$props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},getMaskElement:function(){var e,t=this.$createElement,n=this.$props,r=null;return r=n.mask&&(e=this.getMaskTransitionName(),r=t(Ce,{directives:[{name:"show",value:n.visible}],style:this.getZIndexStyle(),key:"mask",class:n.prefixCls+"-mask",attrs:{visible:n.visible}}),e)?t("transition",{attrs:{appear:!0,name:e}},[r]):r}},render:function(){var e=arguments[0],t=this.getMaskElement,n=this.getPopupElement;return e("div",[t(),n()])}};function Pe(){}var ke={props:{autoMount:r.a.bool.def(!0),autoDestroy:r.a.bool.def(!0),visible:r.a.bool,forceRender:r.a.bool.def(!1),parent:r.a.any,getComponent:r.a.func.isRequired,getContainer:r.a.func.isRequired,children:r.a.func.isRequired},mounted:function(){this.autoMount&&this.renderComponent()},updated:function(){this.autoMount&&this.renderComponent()},beforeDestroy:function(){this.autoDestroy&&this.removeContainer()},methods:{removeContainer:function(){this.container&&(this._component&&this._component.$destroy(),this.container.parentNode.removeChild(this.container),this.container=null,this._component=null)},renderComponent:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=this.visible,r=this.forceRender,i=this.getContainer,o=this.parent,a=this;(n||o._component||o.$refs._component||r)&&(n=this.componentEl,this.container||(this.container=i(),n=document.createElement("div"),this.componentEl=n,this.container.appendChild(n)),o={component:a.getComponent(e)},this._component?this._component.setComponent(o):this._component=new this.$root.constructor({el:n,parent:a,data:{_com:o},mounted:function(){this.$nextTick(function(){t&&t.call(a)})},updated:function(){this.$nextTick(function(){t&&t.call(a)})},methods:{setComponent:function(e){this.$data._com=e}},render:function(){return this.$data._com.component}}))}},render:function(){return this.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}};t.a.use(N.a,{name:"ant-ref"});var Te=["click","mousedown","touchstart","mouseenter","mouseleave","focus","blur","contextmenu"],e={name:"Trigger",mixins:[i.a],props:{action:r.a.oneOfType([r.a.string,r.a.arrayOf(r.a.string)]).def([]),showAction:r.a.any.def([]),hideAction:r.a.any.def([]),getPopupClassNameFromAlign:r.a.any.def(function(){return""}),afterPopupVisibleChange:r.a.func.def(Pe),popup:r.a.any,popupStyle:r.a.object.def(function(){return{}}),prefixCls:r.a.string.def("rc-trigger-popup"),popupClassName:r.a.string.def(""),popupPlacement:r.a.string,builtinPlacements:r.a.object,popupTransitionName:r.a.oneOfType([r.a.string,r.a.object]),popupAnimation:r.a.any,mouseEnterDelay:r.a.number.def(0),mouseLeaveDelay:r.a.number.def(.1),zIndex:r.a.number,focusDelay:r.a.number.def(0),blurDelay:r.a.number.def(.15),getPopupContainer:r.a.func,getDocument:r.a.func.def(function(){return window.document}),forceRender:r.a.bool,destroyPopupOnHide:r.a.bool.def(!1),mask:r.a.bool.def(!1),maskClosable:r.a.bool.def(!0),popupAlign:r.a.object.def(function(){return{}}),popupVisible:r.a.bool,defaultPopupVisible:r.a.bool.def(!1),maskTransitionName:r.a.oneOfType([r.a.string,r.a.object]),maskAnimation:r.a.string,stretch:r.a.string,alignPoint:r.a.bool},provide:function(){return{vcTriggerContext:this}},inject:{vcTriggerContext:{default:function(){return{}}},savePopupRef:{default:function(){return Pe}},dialogContext:{default:function(){return null}}},data:function(){var n=this,e=this.$props,t=void 0,t=Object(x.hasProp)(this,"popupVisible")?!!e.popupVisible:!!e.defaultPopupVisible;return Te.forEach(function(t){n["fire"+t]=function(e){n.fireEvents(t,e)}}),{prevPopupVisible:t,sPopupVisible:t,point:null}},watch:{popupVisible:function(e){void 0!==e&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},deactivated:function(){this.setPopupVisible(!1)},mounted:function(){var e=this;this.$nextTick(function(){e.renderComponent(null),e.updatedCal()})},updated:function(){var e=this;this.renderComponent(null,function(){e.sPopupVisible!==e.prevPopupVisible&&e.afterPopupVisibleChange(e.sPopupVisible),e.prevPopupVisible=e.sPopupVisible}),this.$nextTick(function(){e.updatedCal()})},beforeDestroy:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)},methods:{updatedCal:function(){var e,t=this.$props;this.$data.sPopupVisible?(e=void 0,this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextmenuToShow()||(e=t.getDocument(),this.clickOutsideHandler=Object(o.a)(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(),this.touchOutsideHandler=Object(o.a)(e,"touchstart",this.onDocumentClick)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(e=e||t.getDocument(),this.contextmenuOutsideHandler1=Object(o.a)(e,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=Object(o.a)(window,"blur",this.onContextmenuClose))):this.clearOutsideHandler()},onMouseenter:function(e){var t=this.$props.mouseEnterDelay;this.fireEvents("mouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove:function(e){this.fireEvents("mousemove",e),this.setPoint(e)},onMouseleave:function(e){this.fireEvents("mouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter:function(){this.clearDelayTimer()},onPopupMouseleave:function(e){e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&this._component&&this._component.getPopupDomNode&&Object(h.a)(this._component.getPopupDomNode(),e.relatedTarget)||this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onFocus:function(e){this.fireEvents("focus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown:function(e){this.fireEvents("mousedown",e),this.preClickTime=Date.now()},onTouchstart:function(e){this.fireEvents("touchstart",e),this.preTouchTime=Date.now()},onBlur:function(e){Object(h.a)(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("blur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu:function(e){e.preventDefault(),this.fireEvents("contextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose:function(){this.isContextmenuToShow()&&this.close()},onClick:function(e){if(this.fireEvents("click",e),this.focusTime){var t=void 0;if(this.preClickTime&&this.preTouchTime?t=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?t=this.preClickTime:this.preTouchTime&&(t=this.preTouchTime),Math.abs(t-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();t=!this.$data.sPopupVisible;(this.isClickToHide()&&!t||t&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown:function(){var e=this,t=this.vcTriggerContext,t=void 0===t?{}:t;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(function(){e.hasPopupMouseDown=!1},0),t.onPopupMouseDown&&t.onPopupMouseDown.apply(t,arguments)},onDocumentClick:function(e){var t;this.$props.mask&&!this.$props.maskClosable||(e=e.target,t=this.$el,Object(h.a)(t,e))||this.hasPopupMouseDown||this.close()},getPopupDomNode:function(){return this._component&&this._component.getPopupDomNode?this._component.getPopupDomNode():null},getRootDomNode:function(){return this.$el},handleGetPopupClassFromAlign:function(e){var t=[],n=this.$props,r=n.popupPlacement,i=n.builtinPlacements,o=n.prefixCls,a=n.alignPoint,n=n.getPopupClassNameFromAlign;return r&&i&&t.push(function(e,t,n,r){var i,o,a,s=n.points;for(i in e)if(e.hasOwnProperty(i)&&(o=e[i].points,a=s,r?o[0]===a[0]:o[0]===a[0]&&o[1]===a[1]))return t+"-placement-"+i;return""}(i,o,e,a)),n&&t.push(n(e)),t.join(" ")},getPopupAlign:function(){var e,t=this.$props,n=t.popupPlacement,r=t.popupAlign,t=t.builtinPlacements;return n&&t?(e=r,t=(t=t)[n]||{},_()({},t,e)):r},savePopup:function(e){this._component=e,this.savePopupRef(e)},getComponent:function(){var e=this.$createElement,t={},n=(this.isMouseEnterToShow()&&(t.mouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(t.mouseleave=this.onPopupMouseleave),t.mousedown=this.onPopupMouseDown,t.touchstart=this.onPopupMouseDown,this.handleGetPopupClassFromAlign),r=this.getRootDomNode,i=this.getContainer,o=this.$props,a=o.prefixCls,s=o.destroyPopupOnHide,l=o.popupClassName,u=o.action,c=o.popupAnimation,f=o.popupTransitionName,h=o.popupStyle,d=o.mask,p=o.maskAnimation,y=o.maskTransitionName,m=o.zIndex,g=o.stretch,o=o.alignPoint,v=this.$data,b=v.sPopupVisible,v=v.point,a={props:{prefixCls:a,destroyPopupOnHide:s,visible:b,point:o&&v,action:u,align:this.getPopupAlign(),animation:c,getClassNameFromAlign:n,stretch:g,getRootDomNode:r,mask:d,zIndex:m,transitionName:f,maskAnimation:p,maskTransitionName:y,getContainer:i,popupClassName:l,popupStyle:h},on:_()({align:Object(x.getListeners)(this).popupAlign||Pe},t),directives:[{name:"ant-ref",value:this.savePopup}]};return e(Me,a,[Object(x.getComponentFromProp)(this,"popup")])},getContainer:function(){var e=this.$props,t=this.dialogContext,n=document.createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",(e.getPopupContainer?e.getPopupContainer(this.$el,t):e.getDocument().body).appendChild(n),this.popupContainer=n},setPopupVisible:function(e,t){var n=this.alignPoint,r=this.sPopupVisible;this.clearDelayTimer(),r!==e&&(Object(x.hasProp)(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:r}),(r=Object(x.getListeners)(this)).popupVisibleChange)&&r.popupVisibleChange(e),n&&t&&this.setPoint(t)},setPoint:function(e){this.$props.alignPoint&&e&&this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},delaySetPopupVisible:function(e,t,n){var r,i=this,t=1e3*t;this.clearDelayTimer(),t?(r=n?{pageX:n.pageX,pageY:n.pageY}:null,this.delayTimer=Object(z.b)(function(){i.setPopupVisible(e,r),i.clearDelayTimer()},t)):this.setPopupVisible(e,n)},clearDelayTimer:function(){this.delayTimer&&(Object(z.a)(this.delayTimer),this.delayTimer=null)},clearOutsideHandler:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains:function(e){var t=function(){},n=Object(x.getListeners)(this);return this.childOriginEvents[e]&&n[e]?this["fire"+e]:this.childOriginEvents[e]||n[e]||t},isClickToShow:function(){var e=this.$props,t=e.action,e=e.showAction;return-1!==t.indexOf("click")||-1!==e.indexOf("click")},isContextmenuToShow:function(){var e=this.$props,t=e.action,e=e.showAction;return-1!==t.indexOf("contextmenu")||-1!==e.indexOf("contextmenu")},isClickToHide:function(){var e=this.$props,t=e.action,e=e.hideAction;return-1!==t.indexOf("click")||-1!==e.indexOf("click")},isMouseEnterToShow:function(){var e=this.$props,t=e.action,e=e.showAction;return-1!==t.indexOf("hover")||-1!==e.indexOf("mouseenter")},isMouseLeaveToHide:function(){var e=this.$props,t=e.action,e=e.hideAction;return-1!==t.indexOf("hover")||-1!==e.indexOf("mouseleave")},isFocusToShow:function(){var e=this.$props,t=e.action,e=e.showAction;return-1!==t.indexOf("focus")||-1!==e.indexOf("focus")},isBlurToHide:function(){var e=this.$props,t=e.action,e=e.hideAction;return-1!==t.indexOf("focus")||-1!==e.indexOf("blur")},forcePopupAlign:function(){this.$data.sPopupVisible&&this._component&&this._component.$refs.alignInstance&&this._component.$refs.alignInstance.forceAlign()},fireEvents:function(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t),this.__emit(e,t)},close:function(){this.setPopupVisible(!1)}},render:function(){var t=this,e=arguments[0],n=this.sPopupVisible,r=Object(x.filterEmpty)(this.$slots.default),i=this.$props,o=i.forceRender,i=i.alignPoint,r=(1<r.length&&Object(F.a)(!1,"Trigger $slots.default.length > 1, just support only one default",!0),r[0]),a=(this.childOriginEvents=Object(x.getDataEvents)(r),{props:{},nativeOn:{},key:"trigger"});return this.isContextmenuToShow()?a.nativeOn.contextmenu=this.onContextmenu:a.nativeOn.contextmenu=this.createTwoChains("contextmenu"),this.isClickToHide()||this.isClickToShow()?(a.nativeOn.click=this.onClick,a.nativeOn.mousedown=this.onMousedown,a.nativeOn.touchstart=this.onTouchstart):(a.nativeOn.click=this.createTwoChains("click"),a.nativeOn.mousedown=this.createTwoChains("mousedown"),a.nativeOn.touchstart=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(a.nativeOn.mouseenter=this.onMouseenter,i&&(a.nativeOn.mousemove=this.onMouseMove)):a.nativeOn.mouseenter=this.createTwoChains("mouseenter"),this.isMouseLeaveToHide()?a.nativeOn.mouseleave=this.onMouseleave:a.nativeOn.mouseleave=this.createTwoChains("mouseleave"),this.isFocusToShow()||this.isBlurToHide()?(a.nativeOn.focus=this.onFocus,a.nativeOn.blur=this.onBlur):(a.nativeOn.focus=this.createTwoChains("focus"),a.nativeOn.blur=function(e){!e||e.relatedTarget&&Object(h.a)(e.target,e.relatedTarget)||t.createTwoChains("blur")(e)}),this.trigger=Object(xe.a)(r,a),e(ke,{attrs:{parent:this,visible:n,autoMount:!1,forceRender:o,getComponent:this.getComponent,getContainer:this.getContainer,children:function(e){e=e.renderComponent;return t.renderComponent=e,t.trigger}}})}};R.a=e},hKrs:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;if(e===0)return e+"-ев";else if(n===0)return e+"-ен";else if(n>10&&n<20)return e+"-ти";else if(t===1)return e+"-ви";else if(t===2)return e+"-ри";else if(t===7||t===8)return e+"-ми";else return e+"-ти"},week:{dow:1,doy:7}})}(n("wd/R"))},hQXD:function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE_hQXD__},hRi9:function(e,t,n){"use strict";n.r(t);var r,i=n("PteS");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},hS5c:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.propsBinder=t.capitalizeFirstLetter=void 0;function i(e){return e&&"function"==typeof e.charAt?e.charAt(0).toUpperCase()+e.slice(1):e}t.capitalizeFirstLetter=i;t.propsBinder=function(n,e){for(var r in e)!function(){var t="set"+i(r);n[t]&&n.$watch(r,function(e){n[t](e)},{deep:!0})}()}},hT4P:function(e,t,n){"use strict";n.r(t);var r,i=n("SPl9");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},hZIQ:function(e,t,n){"use strict";var r=n("seDm"),i=n("2xRk");r.default.setDefaultIndicator=r.setDefaultIndicator,r.default.install=function(e){e.use(i.default),e.component(r.default.name,r.default)},t.a=r.default},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},hgx0:function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE_hgx0__},honF:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},r;e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n("wd/R"))},"hv+s":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("+rkK"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},hwdV:function(e,t,n){
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
- var r=n("tjlA"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");e=i(e);return void 0!==t?"string"==typeof n?e.fill(t,n):e.fill(t):e.fill(0),e},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},hypo:function(e,t,n){var r=n("O0oS");e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},"i/Ua":function(e,t,n){"use strict";n.r(t);var r,i=n("B8yF"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},i57Q:function(e,t,n){"use strict";e.exports=function(e,t){return{value:e,done:t}}},"i7/w":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE_i7_w__},i9cM:function(e,t,n){"use strict";n.r(t),n.d(t,"PickerProps",function(){return a}),n.d(t,"SinglePickerProps",function(){return s}),n.d(t,"DatePickerProps",function(){return l}),n.d(t,"MonthPickerProps",function(){return u}),n.d(t,"RangePickerProps",function(){return c}),n.d(t,"WeekPickerProps",function(){return f});var t=n("QbLZ"),r=n.n(t),i=n("TZE5"),o=n("FQGa"),a=function(){return{name:i.a.string,transitionName:i.a.string,prefixCls:i.a.string,inputPrefixCls:i.a.string,format:i.a.oneOfType([i.a.string,i.a.array,i.a.func]),disabled:i.a.bool,allowClear:i.a.bool,suffixIcon:i.a.any,popupStyle:i.a.object,dropdownClassName:i.a.string,locale:i.a.any,localeCode:i.a.string,size:i.a.oneOf(["large","small","default"]),getCalendarContainer:i.a.func,open:i.a.bool,disabledDate:i.a.func,showToday:i.a.bool,dateRender:i.a.any,pickerClass:i.a.string,pickerInputClass:i.a.string,timePicker:i.a.any,autoFocus:i.a.bool,tagPrefixCls:i.a.string,tabIndex:i.a.oneOfType([i.a.string,i.a.number]),align:i.a.object.def(function(){return{}}),inputReadOnly:i.a.bool,valueFormat:i.a.string}},s=function(){return{value:o.b,defaultValue:o.b,defaultPickerValue:o.b,renderExtraFooter:i.a.any,placeholder:i.a.string}},l=function(){return r()({},a(),s(),{showTime:i.a.oneOfType([i.a.object,i.a.bool]),open:i.a.bool,disabledTime:i.a.func,mode:i.a.oneOf(["time","date","month","year"])})},u=function(){return r()({},a(),s(),{placeholder:i.a.string,monthCellContentRender:i.a.func})},c=function(){return r()({},a(),{tagPrefixCls:i.a.string,value:o.c,defaultValue:o.c,defaultPickerValue:o.c,timePicker:i.a.any,showTime:i.a.oneOfType([i.a.object,i.a.bool]),ranges:i.a.object,placeholder:i.a.arrayOf(String),mode:i.a.oneOfType([i.a.string,i.a.arrayOf(String)]),separator:i.a.any,disabledTime:i.a.func,showToday:i.a.bool,renderExtraFooter:i.a.any})},f=function(){return r()({},a(),s(),{placeholder:i.a.string})}},"iBj/":function(e,t,n){"use strict";var o=n("m7zg"),a=n("WxoH"),s=n("oK8H");e.exports=function(e,t,n){var r,i;a(e);try{if(!(r=s(e,"return"))){if("throw"===t)throw n;return n}r=o(r,e)}catch(e){i=!0,r=e}if("throw"===t)throw n;if(i)throw r;return a(r),n}},iCc5:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},iEDd:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:true,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(this.hours()!==1?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(this.hours()!==1?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(this.hours()!==1?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(this.hours()!==1?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(this.hours()!==1?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){if(e.indexOf("un")===0)return"n"+e;return"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},iUEU:function(e,t,n){"use strict";n.r(t);var r,i=n("sIYg"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},iWRt:function(e,t,n){"use strict";var r=n("nCzB"),i=n("aLaa"),o=n("uZ/K"),a=i([].reverse),n=[1,2];r({target:"Array",proto:!0,forced:String(n)===String(n.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a(this)}})},iYuL:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var n="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),t=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){if(!e)return n;else if(/-MMM-/.test(t))return r[e.month()];else return n[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n("wd/R"))},ie6f:function(e,t,n){"use strict";n.r(t);var r=n("YEIV"),u=n.n(r),r=n("QbLZ"),i=n.n(r),r=n("TSYQ"),c=n.n(r),r=n("TZE5"),f=n("0zjr"),h=n("2qPA"),o=n("TfX5");function d(){}t.default={name:"ARadioGroup",model:{prop:"value"},props:{prefixCls:r.a.string,defaultValue:r.a.any,value:r.a.any,size:{default:"default",validator:function(e){return["large","default","small"].includes(e)}},options:{default:function(){return[]},type:Array},disabled:Boolean,name:String,buttonStyle:r.a.string.def("outline")},data:function(){var e=this.value,t=this.defaultValue;return this.updatingValue=!1,{stateValue:void 0===e?t:e}},provide:function(){return{radioGroupContext:this}},inject:{configProvider:{default:function(){return o.a}}},computed:{radioOptions:function(){var t=this.disabled;return this.options.map(function(e){return"string"==typeof e?{label:e,value:e}:i()({},e,{disabled:void 0===e.disabled?t:e.disabled})})},classes:function(){var e=this.prefixCls,t=this.size,n={};return u()(n,""+e,!0),u()(n,e+"-"+t,t),n}},watch:{value:function(e){this.updatingValue=!1,this.stateValue=e}},methods:{onRadioChange:function(e){var t=this,n=this.stateValue,r=e.target.value;Object(h.hasProp)(this,"value")||(this.stateValue=r),this.updatingValue||r===n||(this.updatingValue=!0,this.$emit("input",r),this.$emit("change",e)),this.$nextTick(function(){t.updatingValue=!1})}},render:function(){var t=this,n=arguments[0],e=Object(h.getListeners)(this),r=e.mouseenter,r=void 0===r?d:r,e=e.mouseleave,e=void 0===e?d:e,i=Object(h.getOptionProps)(this),o=i.prefixCls,a=i.options,s=i.buttonStyle,l=(0,this.configProvider.getPrefixCls)("radio",o),o=l+"-group",s=c()(o,o+"-"+s,u()({},o+"-"+i.size,i.size)),o=Object(h.filterEmpty)(this.$slots.default);return a&&0<a.length&&(o=a.map(function(e){return"string"==typeof e?n(f.default,{key:e,attrs:{prefixCls:l,disabled:i.disabled,value:e,checked:t.stateValue===e}},[e]):n(f.default,{key:"radio-group-value-options-"+e.value,attrs:{prefixCls:l,disabled:e.disabled||i.disabled,value:e.value,checked:t.stateValue===e.value}},[e.label])})),n("div",{class:s,on:{mouseenter:r,mouseleave:e}},[o])}}},if1q:function(e,t,n){e.exports=n("CsPn").Transform},ifxw:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAADWBJREFUeAHt3VFqkwkUhmFbstfBBYyL8MJbcS3euqySam+knZgOxeSD5n0GBpx2zOE8R/DlD9G7D99/PH7wDwECBAgQIEDgIgLC4iKMXoQAAQIECOQFfjXFfR4BAAECBAgQIHAxgcPzV7r//PVNb4scP328e/7z/ZgAAQIECBB4/wJ/0wMvwuKJ4vjvP6+L3N2LideFfJcAAQIECLxrgecPDg4Px1cfOhy/fHuxq7dCXnD4DwIECBAgQOBvBE6eWPx+MU8mflP4AQECBAgQqAo8HP78TsW5JxmeWFR/pdibAAECBAhcQUBYXAHVSxIgQIAAgaqAsKhe3t4ECBAgQOAKAsLiCqhekgABAgQIVAWERfXy9iZAgAABAlcQOA2Lp0+D+ETIFai9JAECBAgQuB2Bp0+L/OkTI6dhcTs724QAAQIECBAYCwiLMbhxBAgQIEDgtgX87aa3fV/bESBAgACBlYC/3XQlbQ4BAgQIEGgIeCukcWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAsKicWdbEiBAgACBiYCwmDAbQoAAAQIEGgLConFnWxIgQIAAgYmAsJgwG0KAAAECBBoCwqJxZ1sSIECAAIGJgLCYMBtCgAABAgQaAi/C4v7z18fG2rYkQIAAAQIELiHw33Z4ERaXGOA1CBAgQIAAga6AsOje3uYECBAgQODiAidhcXg4Pj79e/FJXpAAAQIECBC4GYFzvXASFjezsUUIECBAgACBuYCwmJMbSIAAAQIEbldAWNzubW1GgAABAgTmAsJiTm4gAQIECBC4XQFhcbu3tRkBAgQIEJgLHM5NPPfJkIfD/d25n+PrBAgQIECAwG0JnOuBc1t6YnFOxtcJECBAgACBNwucPLE4fvn26os8/6M7j58+enrxqpZvEiBAgACB9yfw4vf6/+mC0+2+//CHYZ2q+AoBAgQIECDwVoFfTeGtkLei+f8JECBAgACBswJ3HzyxOIvjGwQIECBAgMDbBH4C+z9OgLhU6J4AAAAASUVORK5CYII="},ikbW:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("lGI3"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},ilQ7:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement,e=this._self._c||e;return e("div",{class:{"sm-component-table-popup":!0,"with-split-line":this.splitLine},style:[this.tablePopupBgStyle,this.getTextColorStyle]},[e("sm-table",{staticClass:"sm-component-table-popup__table",attrs:{"data-source":this.data,columns:this.columns,rowKey:function(e,t){return t},pagination:!1}})],1)},i=[]},it7g:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{staticClass:"sm-component-web-map",attrs:{id:e.target}},[e.ready?e._t("default"):e._e(),e._v(" "),e.spinning?t("sm-spin",{attrs:{size:"large",tip:e.$t("webmap.loadingTip"),spinning:e.spinning}}):e._e()],2)},i=[]},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},"j+GC":function(e,t,n){"use strict";n.r(t);var r,i=n("e1fm"),o=n("07ub");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},"j/f9":function(e,t,n){"use strict";n.r(t);var r,i=n("0Tzf");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},j2DC:function(e,t,n){"use strict";var r=n("oVml"),i=n("rr1i"),o=n("RfKB"),a={};n("NegM")(a,n("UWiX")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},jCYL:function(e,t,n){"use strict";var r=n("nCzB"),i=n("RYfq"),o=n("jybJ"),a=n("KLK4"),s=n("GxTi").CONSTRUCTOR,l=n("TRzv"),u=i("Promise"),c=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return l(c&&this===u?a:this,e)}})},"jDn+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{content:{type:String,default:"",custom:!0}},data:function(){return{isMap:!1}},mounted:function(){this.popperOptions={}},render:function(e){return this.$slots.default?e("div",this.isMap?{style:{display:"none"}}:{},this.$slots.default):null}};t.default=r},jKu1:function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE_jKu1__},"jQP/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,n=this.rtlTranslate,r=this.translate,i=this.$wrapperEl;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;t=(0,o.getTranslate)(i[0],e);n&&(t=-t);return t||0};var o=n("cKS0")},jUeY:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function i(e){return typeof Function!=="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}var t;e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){if(!e)return this._monthsNominativeEl;else if(typeof t==="string"&&/D/.test(t.substring(0,t.indexOf("MMMM"))))return this._monthsGenitiveEl[e.month()];else return this._monthsNominativeEl[e.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){if(e>11)return n?"μμ":"ΜΜ";else return n?"πμ":"ΠΜ"},isPM:function(e){return(e+"").toLowerCase()[0]==="μ"},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n=this._calendarEl[e],r=t&&t.hours();if(i(n))n=n.apply(t);return n.replace("{}",r%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n("wd/R"))},jV3c:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.checkboxTypes=void 0,r(n("EABD"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={defaultChecked:o.default.bool,checked:o.default.bool,disabled:o.default.bool,indeterminate:o.default.bool,autoFocus:o.default.bool},o=(t.checkboxTypes=n,{name:"SmCheckbox",__ANT_CHECKBOX:!0,defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"checked",event:"input"},props:n,computed:{extralListeners:function(){var t=this;return{input:function(e){t.$emit("input",e)}}}}});t.default=o},jVdC:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var n="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),t=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i],i;function o(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function a(e,t,n){var r=e+" ";switch(n){case"ss":return r+(o(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(o(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(o(e)?"godziny":"godzin");case"ww":return r+(o(e)?"tygodnie":"tygodni");case"MM":return r+(o(e)?"miesiące":"miesięcy");case"yy":return r+(o(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,t){if(!e)return n;else if(/D MMMM/.test(t))return r[e.month()];else return n[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:a,M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jXQH:function(e,t,n){var r=n("TO8r"),i=/^\s+/;e.exports=function(e){return e&&e.slice(0,r(e)+1).replace(i,"")}},jblz:function(e,t,n){"use strict";n.r(t);var r,i=n("bEpt"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},jeLo:function(e,t,n){var r=n("juv8"),i=n("mTTR");e.exports=function(e){return r(e,i(e))}},jfSC:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r;e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){if(e<12)return"قبل از ظهر";else return"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n("wd/R"))},jfjY:function(e,t,n){"use strict";e.exports=o,e.exports.isMobile=o,e.exports.default=o;var r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function o(e){var t,n=(e=e||{}).ua;return"string"==typeof(n=(n=n||"undefined"==typeof navigator?n:navigator.userAgent)&&n.headers&&"string"==typeof n.headers["user-agent"]?n.headers["user-agent"]:n)&&(!!(!(t=(e.tablet?i:r).test(n))&&e.tablet&&e.featureDetect&&navigator&&1<navigator.maxTouchPoints&&-1!==n.indexOf("Macintosh")&&-1!==n.indexOf("Safari"))||t)}},jlDK:function(e,t,n){"use strict";n.r(t);var r,i=n("VwJJ");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},jmDH:function(e,t,n){e.exports=!n("KUxP")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},jnO4:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},s=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},l={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(a){return function(e,t,n,r){var i=s(e),o=l[a][s(e)];if(i===2)o=o[t?0:1];return o.replace(/%d/i,e)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o;e.defineLocale("ar",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){if(e<12)return"ص";else return"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},jo6Y:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n,r={};for(n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}},jpXb:function(e,t,n){n=n("wZXL");e.exports=new n},js6P:function(e,t,n){"use strict";n.r(t);var r,i=n("Gt+Y");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},jsF9:function(e,t,n){},ju4L:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("fFnh"))),o=r(n("KcmN")),r=r(n("OvF9")),n={loopCreate:i.default,loopFix:o.default,loopDestroy:r.default};t.default=n},juv8:function(e,t,n){var u=n("MrPd"),c=n("hypo");e.exports=function(e,t,n,r){for(var i=!n,o=(n=n||{},-1),a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),(i?c:u)(n,s,l)}return n}},jybJ:function(e,t,n){"use strict";e.exports=!1},"k+1r":function(e,t,n){var r=n("QkVE");e.exports=function(e){return e=r(this,e).delete(e),this.size-=e?1:0,e}},"k/8l":function(e,t,n){e.exports={default:n("VKFn"),__esModule:!0}},k2qh:function(e,t,n){"use strict";var r=TypeError;e.exports=function(e,t){if(e<t)throw r("Not enough arguments");return e}},k7Bk:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n("TZE5"),i=function(){return{prefixCls:r.a.string,activeKey:r.a.oneOfType([r.a.string,r.a.number,r.a.arrayOf(r.a.oneOfType([r.a.string,r.a.number]))]),defaultActiveKey:r.a.oneOfType([r.a.string,r.a.number,r.a.arrayOf(r.a.oneOfType([r.a.string,r.a.number]))]),accordion:r.a.bool,destroyInactivePanel:r.a.bool,bordered:r.a.bool,expandIcon:r.a.func,openAnimation:r.a.object,expandIconPosition:r.a.oneOf(["left","right"])}},o=function(){return{openAnimation:r.a.object,prefixCls:r.a.string,header:r.a.oneOfType([r.a.string,r.a.number,r.a.node]),headerClass:r.a.string,showArrow:r.a.bool,isActive:r.a.bool,destroyInactivePanel:r.a.bool,disabled:r.a.bool,accordion:r.a.bool,forceRender:r.a.bool,expandIcon:r.a.func,extra:r.a.any,panelKey:r.a.any}}},kAMH:function(e,t,n){var r=n("a0xu");e.exports=Array.isArray||function(e){return"Array"==r(e)}},kCCV:function(e,t){function n(e){(this.options=e).deferSetup||this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},kEOa:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r;e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="রাত"&&e>=4||t==="দুপুর"&&e<5||t==="বিকাল")return e+12;else return e},meridiem:function(e,t,n){if(e<4)return"রাত";else if(e<10)return"সকাল";else if(e<17)return"দুপুর";else if(e<20)return"বিকাল";else return"রাত"},week:{dow:0,doy:6}})}(n("wd/R"))},kGYo:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("nJ+3"))),o=r(n("VMwW")),a=r(n("js6P")),s=r(n("2Z54")),r=(a.default.install=function(e,t){(0,s.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default),e.component((a.default.options||a.default).name,a.default)},a.default);t.default=r},"kJb/":function(e,t,n){"use strict";n.r(t);var r,i=n("TiOR"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},kOpN:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="凌晨"||t==="早上"||t==="上午")return e;else if(t==="中午")return e>=11?e:e+12;else if(t==="下午"||t==="晚上")return e+12},meridiem:function(e,t,n){var r=e*100+t;if(r<600)return"凌晨";else if(r<900)return"早上";else if(r<1130)return"上午";else if(r<1230)return"中午";else if(r<1800)return"下午";else return"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("wd/R"))},kTiW:function(e,t,n){e.exports=n("NegM")},"kVK+":function(e,t){
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
- t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?i-1:0,h=n?-1:1,i=e[t+f];for(f+=h,o=i&(1<<-c)-1,i>>=-c,c+=s;0<c;o=256*o+e[t+f],f+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;0<c;a=256*a+e[t+f],f+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(i?-1:1);a+=Math.pow(2,r),o-=u}return(i?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l=8*o-i-1,u=(1<<l)-1,c=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,d=r?1:-1,o=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(r=Math.pow(2,-a))<1&&(a--,r*=2),2<=(t+=1<=a+c?f/r:f*Math.pow(2,1-c))*r&&(a++,r/=2),u<=a+c?(s=0,a=u):1<=a+c?(s=(t*r-1)*Math.pow(2,i),a+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,i),a=0));8<=i;e[n+h]=255&s,h+=d,s/=256,i-=8);for(a=a<<i|s,l+=i;0<l;e[n+h]=255&a,h+=d,a/=256,l-=8);e[n+h-d]|=128*o}},kbfI:function(e,t,n){"use strict";n.r(t);var r,i=n("fFTV");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},keX5:function(e,t,n){"use strict";n.r(t);var r,i=n("ZNmz");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},kekF:function(e,t){e.exports=function(t,n){return function(e){return t(n(e))}}},kl34:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("nKF3"))),o=r(n("cFu1")),a=r(n("rQWh")),s=r(n("2Z54")),r=(i.default.install=function(e,t){(0,s.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default),e.component((a.default.options||a.default).name,a.default)},i.default);t.default=r},km6S:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){void 0===e&&(e={}),this.type="geoJSON",this.maxFeatures=void 0===e.maxFeatures?e.maxFeatures:20,this.geoJSON=e.geoJSON}},kokw:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r={name:"SmIframe",mixins:[r(n("TFue")).default],props:{src:{type:String}}};t.default=r},kuQC:function(e,t,n){"use strict";n.r(t);var r,i=n("JoR+");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},kvrn:function(e,t){var s=/^(attrs|props|on|nativeOn|class|style|hook)$/;e.exports=function(e){return e.reduce(function(e,t){var n,r,i,o,a;for(i in t)if(n=e[i],r=t[i],n&&s.test(i))if("class"===i&&("string"==typeof n&&(a=n,e[i]=n={},n[a]=!0),"string"==typeof r)&&(a=r,t[i]=r={},r[a]=!0),"on"===i||"nativeOn"===i||"hook"===i)for(o in r)n[o]=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}(n[o],r[o]);else if(Array.isArray(n))e[i]=n.concat(r);else if(Array.isArray(r))e[i]=[n].concat(r);else for(o in r)n[o]=r[o];else e[i]=t[i];return e},{})}},kw6Y:function(e,t,n){"use strict";n.r(t);var r,i=n("AFPW"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},kwZ1:function(e,t,n){"use strict";var h=n("jmDH"),d=n("w6GO"),p=n("mqlF"),y=n("NV0k"),m=n("JB68"),g=n("M1xp"),i=Object.assign;e.exports=!i||n("KUxP")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=i({},e)[n]||Object.keys(i({},t)).join("")!=r})?function(e,t){for(var n=m(e),r=arguments.length,i=1,o=p.f,a=y.f;i<r;)for(var s,l=g(arguments[i++]),u=o?d(l).concat(o(l)):d(l),c=u.length,f=0;f<c;)s=u[f++],h&&!a.call(l,s)||(n[s]=l[s]);return n}:i},"l+HE":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var t=n("QbLZ"),r=n.n(t),i=n("cyC+"),o=r()({},i.a.Modal);function a(e){o=e?r()({},o,e):r()({},i.a.Modal)}function s(){return o}},l2c0:function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE_l2c0__},l5ep:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];if(t>20)if(t===40||t===50||t===60||t===80||t===100)n="fed";else n="ain";else if(t>0)n=r[t];return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},l9MX:function(e,t,n){"use strict";var r=n("TqRt"),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=this,n=t.params,r=t.$wrapperEl,i="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,o=t.clickedIndex;n.loop?t.animating||(e=parseInt((0,a.default)(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?o<t.loopedSlides-i/2||o>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),o=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),(0,s.nextTick)(function(){t.slideTo(o)})):t.slideTo(o):o>t.slides.length-i?(t.loopFix(),o=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),(0,s.nextTick)(function(){t.slideTo(o)})):t.slideTo(o)):t.slideTo(o)},r(n("Jq2x"))),s=n("cKS0")},l9qo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation)&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation())}},lAFk:function(e,t,n){"use strict";e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},"lE/o":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.modalTypes=t.default=void 0,r(n("7Ts9"))),o=r(n("TFue")),a=r(n("ET/Y")),s=r(n("uSu3")),r=r(n("WlrG")),n=(0,s.default)().type,s={prefixCls:a.default.string,visible:a.default.bool,confirmLoading:a.default.bool,title:a.default.any,closable:a.default.bool,closeIcon:a.default.any,afterClose:a.default.func,centered:a.default.bool,width:a.default.oneOfType([a.default.string,a.default.number]),footer:a.default.any,okText:a.default.any,okType:n,cancelText:a.default.any,icon:a.default.any,maskClosable:a.default.bool,forceRender:a.default.bool,okButtonProps:a.default.object,cancelButtonProps:a.default.object,destroyOnClose:a.default.bool,wrapClassName:a.default.string,maskTransitionName:a.default.string,transitionName:a.default.string,getContainer:a.default.func,zIndex:a.default.number,bodyStyle:a.default.object,maskStyle:a.default.object,mask:a.default.bool,keyboard:a.default.bool,wrapProps:a.default.object,focusTriggerAfterClose:a.default.bool},n=(t.modalTypes=s,{name:"SmModal",defaultComponent:i.default,mixins:[o.default,r.default],inheritAttrs:!1,model:{prop:"visible",event:"change"},props:s,computed:{extralListeners:function(){var t=this;return{change:function(e){t.$emit("change",e)}}}}});t.default=n},lGI3:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("7Ts9"))),o=r(n("7URU")),a="sm-component-btn",r=(["info","success","error","warn","warning","confirm"].forEach(function(e){var r=i.default[e];o.default[e]=function(e){var t=(e.okButtonProps||{}).props,t=void 0===t?{}:t,n=(e.cancelButtonProps||{}).props,n=void 0===n?{}:n;return r(Object.assign(Object.assign({},e),{prefixCls:e.prefixCls||"sm-component-modal",okButtonProps:Object.assign(Object.assign({},e.okButtonProps),{props:Object.assign(Object.assign({},t),{prefixCls:t.prefixCls||a})}),cancelButtonProps:Object.assign(Object.assign({},e.cancelButtonProps),{props:Object.assign(Object.assign({},n),{prefixCls:n.prefixCls||a})})}))}}),o.default.destroyAll=function(){return i.default.destroyAll()},o.default);t.default=r},lMfh:function(e,t,n){e.exports=function(){"use strict";function l(e){"@babel/helpers - typeof";return l="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},l(e)}var r=/^\s+/,i=/\s+$/;function c(e,t){e=e?e:"";t=t||{};if(e instanceof c)return e;if(!(this instanceof c))return new c(e,t);var n=o(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format;this._gradientType=t.gradientType;if(this._r<1)this._r=Math.round(this._r);if(this._g<1)this._g=Math.round(this._g);if(this._b<1)this._b=Math.round(this._b);this._ok=n.ok}function o(e){var t={r:0,g:0,b:0};var n=1;var r=null;var i=null;var o=null;var a=false;var s=false;if(typeof e=="string")e=F(e);if(l(e)=="object"){if(B(e.r)&&B(e.g)&&B(e.b)){t=u(e.r,e.g,e.b);a=true;s=String(e.r).substr(-1)==="%"?"prgb":"rgb"}else if(B(e.h)&&B(e.s)&&B(e.v)){r=I(e.s);i=I(e.v);t=h(e.h,r,i);a=true;s="hsv"}else if(B(e.h)&&B(e.s)&&B(e.l)){r=I(e.s);o=I(e.l);t=f(e.h,r,o);a=true;s="hsl"}if(e.hasOwnProperty("a"))n=e.a}n=E(n);return{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function u(e,t,n){return{r:M(e,255)*255,g:M(t,255)*255,b:M(n,255)*255}}function a(e,t,n){e=M(e,255);t=M(t,255);n=M(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n);var o,a,s=(r+i)/2;if(r==i)o=a=0;else{var l=r-i;a=s>.5?l/(2-r-i):l/(r+i);switch(r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4;break}o/=6}return{h:o,s:a,l:s}}function f(e,t,n){var r,i,o;e=M(e,360);t=M(t,100);n=M(n,100);function a(e,t,n){if(n<0)n+=1;if(n>1)n-=1;if(n<1/6)return e+(t-e)*6*n;if(n<1/2)return t;if(n<2/3)return e+(t-e)*(2/3-n)*6;return e}if(t===0)r=i=o=n;else{var s=n<.5?n*(1+t):n+t-n*t;var l=2*n-s;r=a(l,s,e+1/3);i=a(l,s,e);o=a(l,s,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function s(e,t,n){e=M(e,255);t=M(t,255);n=M(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n);var o,a,s=r;var l=r-i;a=r===0?0:l/r;if(r==i)o=0;else{switch(r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4;break}o/=6}return{h:o,s:a,v:s}}function h(e,t,n){e=M(e,360)*6;t=M(t,100);n=M(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),a=n*(1-i*t),s=n*(1-(1-i)*t),l=r%6,u=[n,a,o,o,s,n][l],c=[s,n,n,a,o,o][l],f=[o,o,s,n,n,a][l];return{r:u*255,g:c*255,b:f*255}}function n(e,t,n,r){var i=[T(Math.round(e).toString(16)),T(Math.round(t).toString(16)),T(Math.round(n).toString(16))];if(r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0);return i.join("")}function d(e,t,n,r,i){var o=[T(Math.round(e).toString(16)),T(Math.round(t).toString(16)),T(Math.round(n).toString(16)),T(L(r))];if(i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}function p(e,t,n,r){var i=[T(L(r)),T(Math.round(e).toString(16)),T(Math.round(t).toString(16)),T(Math.round(n).toString(16))];return i.join("")}function t(e,t){t=t===0?0:t||10;var n=c(e).toHsl();n.s-=t/100;n.s=P(n.s);return c(n)}function y(e,t){t=t===0?0:t||10;var n=c(e).toHsl();n.s+=t/100;n.s=P(n.s);return c(n)}function m(e){return c(e).desaturate(100)}function g(e,t){t=t===0?0:t||10;var n=c(e).toHsl();n.l+=t/100;n.l=P(n.l);return c(n)}function v(e,t){t=t===0?0:t||10;var n=c(e).toRgb();n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100))));n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100))));n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100))));return c(n)}function b(e,t){t=t===0?0:t||10;var n=c(e).toHsl();n.l-=t/100;n.l=P(n.l);return c(n)}function _(e,t){var n=c(e).toHsl();var r=(n.h+t)%360;n.h=r<0?360+r:r;return c(n)}function x(e){var t=c(e).toHsl();t.h=(t.h+180)%360;return c(t)}function w(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");var n=c(e).toHsl();var r=[c(e)];var i=360/t;for(var o=1;o<t;o++)r.push(c({h:(n.h+o*i)%360,s:n.s,l:n.l}));return r}function A(e){var t=c(e).toHsl();var n=t.h;return[c(e),c({h:(n+72)%360,s:t.s,l:t.l}),c({h:(n+216)%360,s:t.s,l:t.l})]}function S(e,t,n){t=t||6;n=n||30;var r=c(e).toHsl();var i=360/n;var o=[c(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;){r.h=(r.h+i)%360;o.push(c(r))}return o}function C(e,t){t=t||6;var n=c(e).toHsv();var r=n.h,i=n.s,o=n.v;var a=[];var s=1/t;while(t--){a.push(c({h:r,s:i,v:o}));o=(o+s)%1}return a}c.prototype={isDark:function e(){return this.getBrightness()<128},isLight:function e(){return!this.isDark()},isValid:function e(){return this._ok},getOriginalInput:function e(){return this._originalInput},getFormat:function e(){return this._format},getAlpha:function e(){return this._a},getBrightness:function e(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function e(){var t=this.toRgb();var n,r,i,o,a,s;n=t.r/255;r=t.g/255;i=t.b/255;if(n<=.03928)o=n/12.92;else o=Math.pow((n+.055)/1.055,2.4);if(r<=.03928)a=r/12.92;else a=Math.pow((r+.055)/1.055,2.4);if(i<=.03928)s=i/12.92;else s=Math.pow((i+.055)/1.055,2.4);return.2126*o+.7152*a+.0722*s},setAlpha:function e(t){this._a=E(t);this._roundA=Math.round(100*this._a)/100;return this},toHsv:function e(){var t=s(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function e(){var t=s(this._r,this._g,this._b);var n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+i+"%)":"hsva("+n+", "+r+"%, "+i+"%, "+this._roundA+")"},toHsl:function e(){var t=a(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function e(){var t=a(this._r,this._g,this._b);var n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+i+"%)":"hsla("+n+", "+r+"%, "+i+"%, "+this._roundA+")"},toHex:function e(t){return n(this._r,this._g,this._b,t)},toHexString:function e(t){return"#"+this.toHex(t)},toHex8:function e(t){return d(this._r,this._g,this._b,this._a,t)},toHex8String:function e(t){return"#"+this.toHex8(t)},toRgb:function e(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function e(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function e(){return{r:Math.round(M(this._r,255)*100)+"%",g:Math.round(M(this._g,255)*100)+"%",b:Math.round(M(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function e(){return this._a==1?"rgb("+Math.round(M(this._r,255)*100)+"%, "+Math.round(M(this._g,255)*100)+"%, "+Math.round(M(this._b,255)*100)+"%)":"rgba("+Math.round(M(this._r,255)*100)+"%, "+Math.round(M(this._g,255)*100)+"%, "+Math.round(M(this._b,255)*100)+"%, "+this._roundA+")"},toName:function e(){if(this._a===0)return"transparent";if(this._a<1)return false;return R[n(this._r,this._g,this._b,true)]||false},toFilter:function e(t){var n="#"+p(this._r,this._g,this._b,this._a);var r=n;var i=this._gradientType?"GradientType = 1, ":"";if(t){var o=c(t);r="#"+p(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+n+",endColorstr="+r+")"},toString:function e(t){var n=!!t;t=t||this._format;var r=false;var i=this._a<1&&this._a>=0;var o=!n&&i&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");if(o){if(t==="name"&&this._a===0)return this.toName();return this.toRgbString()}if(t==="rgb")r=this.toRgbString();if(t==="prgb")r=this.toPercentageRgbString();if(t==="hex"||t==="hex6")r=this.toHexString();if(t==="hex3")r=this.toHexString(true);if(t==="hex4")r=this.toHex8String(true);if(t==="hex8")r=this.toHex8String();if(t==="name")r=this.toName();if(t==="hsl")r=this.toHslString();if(t==="hsv")r=this.toHsvString();return r||this.toHexString()},clone:function e(){return c(this.toString())},_applyModification:function e(t,n){var r=t.apply(null,[this].concat([].slice.call(n)));this._r=r._r;this._g=r._g;this._b=r._b;this.setAlpha(r._a);return this},lighten:function e(){return this._applyModification(g,arguments)},brighten:function e(){return this._applyModification(v,arguments)},darken:function e(){return this._applyModification(b,arguments)},desaturate:function e(){return this._applyModification(t,arguments)},saturate:function e(){return this._applyModification(y,arguments)},greyscale:function e(){return this._applyModification(m,arguments)},spin:function e(){return this._applyModification(_,arguments)},_applyCombination:function e(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function e(){return this._applyCombination(S,arguments)},complement:function e(){return this._applyCombination(x,arguments)},monochromatic:function e(){return this._applyCombination(C,arguments)},splitcomplement:function e(){return this._applyCombination(A,arguments)},triad:function e(){return this._applyCombination(w,[3])},tetrad:function e(){return this._applyCombination(w,[4])}},c.fromRatio=function(e,t){if(l(e)=="object"){var n={};for(var r in e)if(e.hasOwnProperty(r))if(r==="a")n[r]=e[r];else n[r]=I(e[r]);e=n}return c(e,t)},c.equals=function(e,t){if(!e||!t)return false;return c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},c.mix=function(e,t,n){n=n===0?0:n||50;var r=c(e).toRgb();var i=c(t).toRgb();var o=n/100;var a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return c(a)},c.readability=function(e,t){var n=c(e);var r=c(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},c.isReadable=function(e,t,n){var r=c.readability(e,t);var i,o;o=false;i=V(n);switch(i.level+i.size){case"AAsmall":case"AAAlarge":o=r>=4.5;break;case"AAlarge":o=r>=3;break;case"AAAsmall":o=r>=7;break}return o},c.mostReadable=function(e,t,n){var r=null;var i=0;var o;var a,s,l;n=n||{};a=n.includeFallbackColors;s=n.level;l=n.size;for(var u=0;u<t.length;u++){o=c.readability(e,t[u]);if(o>i){i=o;r=c(t[u])}}if(c.isReadable(e,r,{level:s,size:l})||!a)return r;else{n.includeFallbackColors=false;return c.mostReadable(e,["#fff","#000"],n)}};var O=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=c.hexNames=e(O);function e(e){var t={};for(var n in e)if(e.hasOwnProperty(n))t[e[n]]=n;return t}function E(e){e=parseFloat(e);if(isNaN(e)||e<0||e>1)e=1;return e}function M(e,t){if(N(e))e="100%";var n=z(e);e=Math.min(t,Math.max(0,parseFloat(e)));if(n)e=parseInt(e*t,10)/100;if(Math.abs(e-t)<1e-6)return 1;return e%t/parseFloat(t)}function P(e){return Math.min(1,Math.max(0,e))}function k(e){return parseInt(e,16)}function N(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function z(e){return typeof e==="string"&&e.indexOf("%")!=-1}function T(e){return e.length==1?"0"+e:""+e}function I(e){if(e<=1)e=e*100+"%";return e}function L(e){return Math.round(parseFloat(e)*255).toString(16)}function j(e){return k(e)/255}var D=function(){var e="[-\\+]?\\d+%?";var t="[-\\+]?\\d*\\.\\d+%?";var n="(?:"+t+")|(?:"+e+")";var r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";var i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function B(e){return!!D.CSS_UNIT.exec(e)}function F(e){e=e.replace(r,"").replace(i,"").toLowerCase();var t=false;if(O[e]){e=O[e];t=true}else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;if(n=D.rgb.exec(e))return{r:n[1],g:n[2],b:n[3]};if(n=D.rgba.exec(e))return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=D.hsl.exec(e))return{h:n[1],s:n[2],l:n[3]};if(n=D.hsla.exec(e))return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=D.hsv.exec(e))return{h:n[1],s:n[2],v:n[3]};if(n=D.hsva.exec(e))return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=D.hex8.exec(e))return{r:k(n[1]),g:k(n[2]),b:k(n[3]),a:j(n[4]),format:t?"name":"hex8"};if(n=D.hex6.exec(e))return{r:k(n[1]),g:k(n[2]),b:k(n[3]),format:t?"name":"hex"};if(n=D.hex4.exec(e))return{r:k(n[1]+""+n[1]),g:k(n[2]+""+n[2]),b:k(n[3]+""+n[3]),a:j(n[4]+""+n[4]),format:t?"name":"hex8"};if(n=D.hex3.exec(e))return{r:k(n[1]+""+n[1]),g:k(n[2]+""+n[2]),b:k(n[3]+""+n[3]),format:t?"name":"hex"};return false}function V(e){var t,n;e=e||{level:"AA",size:"small"};t=(e.level||"AA").toUpperCase();n=(e.size||"small").toLowerCase();if(t!=="AA"&&t!=="AAA")t="AA";if(n!=="small"&&n!=="large")n="small";return{level:t,size:n}}return c}()},lNsT:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.inputGroupTypes=t.default=void 0,r(n("TgM5"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={size:o.default.oneOf(["small","large","default","middle"]).def("default"),compact:o.default.bool},o=(t.inputGroupTypes=n,{name:"SmInputGroup",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n,computed:{extralProps:function(){return{size:"middle"===this.size?void 0:this.size}},componentClass:function(){return{"sm-component-input-group-md":"middle"===this.size}}}});t.default=o},lOvz:function(e,t,n){"use strict";function u(){}var c=n("GM6z");t.a=function(n){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=e.beforeEnter,r=e.enter,i=e.afterEnter,o=e.leave,a=e.afterLeave,s=e.appear,l=e.tag,e=e.nativeOn,s={props:{appear:void 0===s||s,css:!1},on:{beforeEnter:t||u,enter:r||function(e,t){Object(c.a)(e,n+"-enter",t)},afterEnter:i||u,leave:o||function(e,t){Object(c.a)(e,n+"-leave",t)},afterLeave:a||u},nativeOn:e};return l&&(s.tag=l),s}},lSCD:function(e,t,n){var r=n("NykK"),i=n("GoyQ");e.exports=function(e){return!!i(e)&&("[object Function]"==(e=r(e))||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e)}},lSNA:function(e,t,n){var r=n("o5UB");e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},lSl3:function(e,t,n){"use strict";n.r(t);var r,i=n("M6I/");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},lXzo:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function i(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function t(e,t,n){var r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};if(n==="m")return t?"минута":"минуту";else return e+" "+i(r[n],+e)}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],r;e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()!==this.week())switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}else if(this.day()===2)return"[Во] dddd, [в] LT";else return"[В] dddd, [в] LT"},lastWeek:function(e){if(e.week()!==this.week())switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}else if(this.day()===2)return"[Во] dddd, [в] LT";else return"[В] dddd, [в] LT"},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){if(e<4)return"ночи";else if(e<12)return"утра";else if(e<17)return"дня";else return"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYDR:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("LBLs"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},lYtQ:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}var n;e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:true,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return e==="ҮХ"},meridiem:function(e,t,n){if(e<12)return"ҮӨ";else return"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n("wd/R"))},ldVq:function(e,t,n){var r=n("QMMT"),i=n("UWiX")("iterator"),o=n("SBuE");e.exports=n("WEpk").isIterable=function(e){e=Object(e);return void 0!==e[i]||"@@iterator"in e||o.hasOwnProperty(r(e))}},lgnt:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var r={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},t;e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var t=e%10,n=e>=100?100:null;return e+(r[e]||r[t]||r[n])},week:{dow:1,doy:7}})}(n("wd/R"))},ljhN:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},lm0R:function(e,t,n){"use strict";!function(s){void 0===s||!s.version||0===s.version.indexOf("v0.")||0===s.version.indexOf("v1.")&&0!==s.version.indexOf("v1.8.")?e.exports={nextTick:function(e,t,n,r){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,o,a=arguments.length;switch(a){case 0:case 1:return s.nextTick(e);case 2:return s.nextTick(function(){e.call(null,t)});case 3:return s.nextTick(function(){e.call(null,t,n)});case 4:return s.nextTick(function(){e.call(null,t,n,r)});default:for(i=new Array(a-1),o=0;o<i.length;)i[o++]=arguments[o];return s.nextTick(function(){e.apply(null,i)})}}}:e.exports=s}.call(this,n("8oxB"))},loYQ:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r;e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="রাত")return e<4?e:e+12;else if(t==="ভোর")return e;else if(t==="সকাল")return e;else if(t==="দুপুর")return e>=3?e:e+12;else if(t==="বিকাল")return e+12;else if(t==="সন্ধ্যা")return e+12},meridiem:function(e,t,n){if(e<4)return"রাত";else if(e<6)return"ভোর";else if(e<12)return"সকাল";else if(e<15)return"দুপুর";else if(e<18)return"বিকাল";else if(e<20)return"সন্ধ্যা";else return"রাত"},week:{dow:0,doy:6}})}(n("wd/R"))},lr5O:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("1ThP"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},lsHq:function(e,t,n){var r=n("mxIc").isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){e in t&&"boolean"==typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){"spaces"in e&&("number"==typeof e.spaces||"string"==typeof e.spaces)||(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"==typeof e.alwaysArray||r(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"==typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},ltkU:function(e,t,n){"use strict";var r=n("g8+u"),i=n("oK8H"),o=n("x0Ve"),a=n("AoAp"),s=n("11yv")("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[r(e)]}},lyx3:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.switchTypes=t.default=void 0,r(n("FgxK"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={autoFocus:o.default.bool,defaultChecked:o.default.bool,checked:o.default.bool,checkedChildren:o.default.any,unCheckedChildren:o.default.any,size:o.default.oneOf(["small","large","default"]).def("default"),disabled:o.default.bool,loading:o.default.bool},o=(t.switchTypes=n,{name:"SmSwitch",__ANT_SWITCH:!0,defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"checked",event:"change"},props:n,computed:{extralListeners:function(){var t=this;return{"change.value":function(e){t.$emit("change.value",e)}}}}});t.default=o},lyxo:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n){var r={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},i=" ";if(e%100>=20||e>=100&&e%100===0)i=" de ";return e+i+r[n]}var n;e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:true,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},m1Sz:function(e,t,n){"use strict";var a=n("9gtR").Buffer,r=n(2);function i(){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}e.exports=(i.prototype.push=function(e){e={data:e,next:null};0<this.length?this.tail.next=e:this.head=e,this.tail=e,++this.length},i.prototype.unshift=function(e){e={data:e,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},i.prototype.shift=function(){var e;if(0!==this.length)return e=this.head.data,1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e},i.prototype.clear=function(){this.head=this.tail=null,this.length=0},i.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},i.prototype.concat=function(e){if(0===this.length)return a.alloc(0);for(var t,n,r=a.allocUnsafe(e>>>0),i=this.head,o=0;i;)t=i.data,n=o,t.copy(r,n),o+=i.data.length,i=i.next;return r},i),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var n=n("rfXi"),r=(n=n)&&n.__esModule?n:{default:n};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,r.default)(e)}},m68f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("DSM6");t.default=function(e){this.type="iPortal",this.url=e.url,this.attributeFilter=e.attributeFilter||null,this.maxFeatures=e.maxFeatures||20,this.name=e.name||(0,r.geti18n)().t("commontypes.iportalData"),this.withCredentials=e.withCredentials||!1}},m6Gb:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.breadcrumbSeparatorTypes=void 0,r(n("qnx4"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={prefixCls:o.default.string},o=(t.breadcrumbSeparatorTypes=n,{name:"SmBreadcrumbSeparator",__ANT_BREADCRUMB_Separator:!0,defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},m7zg:function(e,t,n){"use strict";var n=n("66qH"),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},mADD:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("SJ9x"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},mDm7:function(v,e,t){"use strict";t.r(e),t.d(e,"AbstractSelectProps",function(){return se}),t.d(e,"SelectValue",function(){return le}),t.d(e,"SelectProps",function(){return ue});var n=t("kvrn"),x=t.n(n),n=t("YEIV"),w=t.n(n),n=t("jo6Y"),R=t.n(n),n=t("QbLZ"),A=t.n(n),N=t("aiEA"),z=t("Sx0+"),r=t("TZE5"),p={props:{value:r.a.oneOfType([r.a.string,r.a.number]),label:r.a.oneOfType([r.a.string,r.a.number]),disabled:r.a.bool,title:r.a.oneOfType([r.a.string,r.a.number])},isSelectOption:!0},n={props:{value:r.a.oneOfType([r.a.string,r.a.number]),label:r.a.oneOfType([r.a.string,r.a.number])},isSelectOptGroup:!0},l=t("GKdC"),i=t("TSYQ"),S=t.n(i),i=t("PFWz"),F=t.n(i),h=t("Uo1l"),V=t("ShUB"),i=t("2W6z"),d=t.n(i),i=t("i7/w"),i=t.n(i),C=t("2qPA"),H=t("lOvz"),_=t("ewVk"),o=t("tIgm"),Y=t("WMEv"),G=t("Rs/M"),G=t.n(G),a=t("xEkU"),s=t.n(a),U=t("hJbE"),Q=t("2jBj"),W=t("7ERv"),a=t("EJiy"),q=t.n(a);function b(e){return"string"==typeof e?e.trim():""}function O(e){if(!e)return null;var t=Object(C.getPropsData)(e);if("value"in t)return t.value;if(void 0!==Object(C.getKey)(e))return Object(C.getKey)(e);if(Object(C.getSlotOptions)(e).isSelectOptGroup){t=Object(C.getComponentFromProp)(e,"label");if(t)return t}throw new Error("Need at least a key or a value or a label (only for OptGroup) for "+e)}function K(e,t){var n;return"value"===t?O(e):"children"===t?1!==(n=e.$slots?Object(_.b)(e.$slots.default,!0):Object(_.b)(e.componentOptions.children,!0)).length||n[0].tag?n:n[0].text:(t in(n=Object(C.getPropsData)(e))?n:Object(C.getAttrs)(e))[t]}function E(e){return e.combobox}function M(e){return e.multiple||e.tags}function P(e){return M(e)||E(e)}function k(e){return!P(e)}function u(e){var t=e;return void 0===e?t=[]:Array.isArray(e)||(t=[e]),t}function c(e){return(void 0===e?"undefined":q()(e))+"-"+e}function T(e){e.preventDefault()}function I(e,t){var n=-1;if(e)for(var r=0;r<e.length;r++)if(e[r]===t){n=r;break}return n}function X(e,t){var n=void 0;if(e=u(e))for(var r=0;r<e.length;r++)if(e[r].key===t){n=e[r].label;break}return n}var L={userSelect:"none",WebkitUserSelect:"none"},j={unselectable:"on"};function J(e,t){return!Object(C.getPropsData)(t).disabled&&-1<(t=(t=K(t,this.optionFilterProp)).length&&t[0].text?t[0].text:String(t)).toLowerCase().indexOf(e.toLowerCase())}function f(t,n){return function(e){t[n]=e}}function D(){return null}var $={name:"DropdownMenu",mixins:[o.a],props:{ariaId:r.a.string,defaultActiveFirstOption:r.a.bool,value:r.a.any,dropdownMenuStyle:r.a.object,multiple:r.a.bool,prefixCls:r.a.string,menuItems:r.a.any,inputValue:r.a.string,visible:r.a.bool,backfillValue:r.a.any,firstActiveValue:r.a.string,menuItemSelectedIcon:r.a.any},watch:{visible:function(e){var t=this;e?this.$nextTick(function(){t.scrollActiveItemToView()}):this.lastVisible=e}},created:function(){this.rafInstance=null,this.lastInputValue=this.$props.inputValue,this.lastVisible=!1},mounted:function(){var e=this;this.$nextTick(function(){e.scrollActiveItemToView()}),this.lastVisible=this.$props.visible},updated:function(){var e=this.$props;this.lastVisible=e.visible,this.lastInputValue=e.inputValue,this.prevVisible=this.visible},beforeDestroy:function(){this.rafInstance&&s.a.cancel(this.rafInstance)},methods:{scrollActiveItemToView:function(){var e,t=this,n=this.firstActiveItem&&this.firstActiveItem.$el,r=this.$props,i=r.value,o=r.visible,r=r.firstActiveValue;n&&o&&(e={onlyScrollIfNeeded:!0},i&&0!==i.length||!r||(e.alignWithTop=!0),this.rafInstance=s()(function(){Object(W.a)(n,t.$refs.menuRef.$el,e)}))},renderMenu:function(){var t,n,r,i=this,e=this.$createElement,o=this.$props,a=o.menuItems,s=o.defaultActiveFirstOption,l=o.value,u=o.prefixCls,c=o.multiple,f=o.inputValue,h=o.firstActiveValue,d=o.dropdownMenuStyle,p=o.backfillValue,y=o.visible,m=Object(C.getComponentFromProp)(this,"menuItemSelectedIcon"),g=Object(C.getListeners)(this),v=g.menuDeselect,b=g.menuSelect,g=g.popupScroll;return a&&a.length?(m={props:{multiple:c,itemIcon:c?m:null,selectedKeys:t=function n(e,r){var i;return null==r?[]:(i=[],e.forEach(function(e){var t;Object(C.getSlotOptions)(e).isMenuItemGroup?i=i.concat(n(e.componentOptions.children,r)):(t=O(e),e=e.key,-1!==I(r,t)&&void 0!==e&&i.push(e))}),i)}(a,l),prefixCls:u+"-menu"},on:{},style:d,ref:"menuRef",attrs:{role:"listbox"}},g&&(m.on.scroll=g),c?(m.on.deselect=v,m.on.select=b):m.on.click=b,u={},d=s,g=a,t.length||h?(o.visible&&!this.lastVisible?u.activeKey=t[0]||h:y||(t[0]&&(d=!1),u.activeKey=void 0),n=!1,r=function(e){return!n&&-1!==t.indexOf(e.key)||!n&&!t.length&&-1!==h.indexOf(e.key)?(n=!0,Object(_.a)(e,{directives:[{name:"ant-ref",value:function(e){i.firstActiveItem=e}}]})):e},g=a.map(function(e){var t;return Object(C.getSlotOptions)(e).isMenuItemGroup?(t=e.componentOptions.children.map(r),Object(_.a)(e,{children:t})):r(e)})):this.firstActiveItem=null,c=l&&l[l.length-1],f===this.lastInputValue||c&&c===p||(u.activeKey=""),m.props=A()({},u,m.props,{defaultActiveFirst:d}),e(Q.a,m,[g])):null}},render:function(){var e=arguments[0],t=this.renderMenu(),n=Object(C.getListeners)(this),r=n.popupFocus,n=n.popupScroll;return t?e("div",{style:{overflow:"auto",transform:"translateZ(0)"},attrs:{id:this.$props.ariaId,tabIndex:"-1"},on:{focus:r,mousedown:T,scroll:n},ref:"menuContainer"},[t]):null}},Z={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},ee={name:"SelectTrigger",mixins:[o.a],props:{dropdownMatchSelectWidth:r.a.bool,defaultActiveFirstOption:r.a.bool,dropdownAlign:r.a.object,visible:r.a.bool,disabled:r.a.bool,showSearch:r.a.bool,dropdownClassName:r.a.string,dropdownStyle:r.a.object,dropdownMenuStyle:r.a.object,multiple:r.a.bool,inputValue:r.a.string,filterOption:r.a.any,empty:r.a.bool,options:r.a.any,prefixCls:r.a.string,popupClassName:r.a.string,value:r.a.array,showAction:r.a.arrayOf(r.a.string),combobox:r.a.bool,animation:r.a.string,transitionName:r.a.string,getPopupContainer:r.a.func,backfillValue:r.a.any,menuItemSelectedIcon:r.a.any,dropdownRender:r.a.func,ariaId:r.a.string},data:function(){return{dropdownWidth:0}},created:function(){this.rafInstance=null,this.saveDropdownMenuRef=f(this,"dropdownMenuRef"),this.saveTriggerRef=f(this,"triggerRef")},mounted:function(){var e=this;this.$nextTick(function(){e.setDropdownWidth()})},updated:function(){var e=this;this.$nextTick(function(){e.setDropdownWidth()})},beforeDestroy:function(){this.cancelRafInstance()},methods:{setDropdownWidth:function(){var t=this;this.cancelRafInstance(),this.rafInstance=s()(function(){var e=t.$el.offsetWidth;e!==t.dropdownWidth&&t.setState({dropdownWidth:e})})},cancelRafInstance:function(){this.rafInstance&&s.a.cancel(this.rafInstance)},getInnerMenu:function(){return this.dropdownMenuRef&&this.dropdownMenuRef.$refs.menuRef},getPopupDOMNode:function(){return this.triggerRef.getPopupDomNode()},getDropdownElement:function(e){var t=this.$createElement,n=this.value,r=this.firstActiveValue,i=this.defaultActiveFirstOption,o=this.dropdownMenuStyle,a=this.getDropdownPrefixCls,s=this.backfillValue,l=this.menuItemSelectedIcon,u=Object(C.getListeners)(this),c=u.menuSelect,f=u.menuDeselect,u=u.popupScroll,h=this.$props,d=h.dropdownRender,p=h.ariaId,p={props:A()({},e.props,{ariaId:p,prefixCls:a(),value:n,firstActiveValue:r,defaultActiveFirstOption:i,dropdownMenuStyle:o,backfillValue:s,menuItemSelectedIcon:l}),on:A()({},e.on,{menuSelect:c,menuDeselect:f,popupScroll:u}),directives:[{name:"ant-ref",value:this.saveDropdownMenuRef}]},a=t($,p);return d?d(a,h):null},getDropdownTransitionName:function(){var e=this.$props,t=e.transitionName;return t=!t&&e.animation?this.getDropdownPrefixCls()+"-"+e.animation:t},getDropdownPrefixCls:function(){return this.prefixCls+"-dropdown"}},render:function(){var e=arguments[0],t=this.$props,n=this.$slots,r=t.multiple,i=t.visible,o=t.inputValue,a=t.dropdownAlign,s=t.disabled,l=t.showSearch,u=t.dropdownClassName,c=t.dropdownStyle,f=t.dropdownMatchSelectWidth,h=t.options,d=t.getPopupContainer,p=t.showAction,y=t.empty,m=Object(C.getListeners)(this),g=m.mouseenter,v=m.mouseleave,b=m.popupFocus,m=m.dropdownVisibleChange,_=this.getDropdownPrefixCls(),u=(x={},w()(x,u,!!u),w()(x,_+"--"+(r?"multiple":"single"),1),w()(x,_+"--empty",y),x),y=this.getDropdownElement({props:{menuItems:h,multiple:r,inputValue:o,visible:i},on:{popupFocus:b}}),x=void 0,x=s?[]:k(t)&&!l?["click"]:["blur"],h=A()({},c),r=(this.dropdownWidth&&(h[f?"width":"minWidth"]=this.dropdownWidth+"px"),{props:A()({},t,{showAction:s?[]:p,hideAction:x,ref:"triggerRef",popupPlacement:"bottomLeft",builtinPlacements:Z,prefixCls:_,popupTransitionName:this.getDropdownTransitionName(),popupAlign:a,popupVisible:i,getPopupContainer:d,popupClassName:S()(u),popupStyle:h}),on:{popupVisibleChange:m},directives:[{name:"ant-ref",value:this.saveTriggerRef}]});return g&&(r.on.mouseenter=g),v&&(r.on.mouseleave=v),e(U.a,r,[n.default,e("template",{slot:"popup"},[y])])}},a={defaultActiveFirstOption:r.a.bool,multiple:r.a.bool,filterOption:r.a.any,showSearch:r.a.bool,disabled:r.a.bool,allowClear:r.a.bool,showArrow:r.a.bool,tags:r.a.bool,prefixCls:r.a.string,transitionName:r.a.string,optionLabelProp:r.a.string,optionFilterProp:r.a.string,animation:r.a.string,choiceTransitionName:r.a.string,open:r.a.bool,defaultOpen:r.a.bool,placeholder:r.a.any,labelInValue:r.a.bool,loading:r.a.bool,value:r.a.any,defaultValue:r.a.any,dropdownStyle:r.a.object,dropdownClassName:r.a.string,maxTagTextLength:r.a.number,maxTagCount:r.a.number,maxTagPlaceholder:r.a.any,tokenSeparators:r.a.arrayOf(r.a.string),getInputElement:r.a.func,showAction:r.a.arrayOf(r.a.string),autoFocus:r.a.bool,getPopupContainer:r.a.func,clearIcon:r.a.any,inputIcon:r.a.any,removeIcon:r.a.any,menuItemSelectedIcon:r.a.any,dropdownRender:r.a.func,mode:r.a.oneOf(["multiple","tags"]),backfill:r.a.bool,dropdownAlign:r.a.any,dropdownMatchSelectWidth:r.a.bool,dropdownMenuStyle:r.a.object,notFoundContent:r.a.oneOfType([String,Number]),tabIndex:r.a.oneOfType([String,Number])},te=t("a7Ss"),y="undefined"!=typeof window,y=("undefined"==typeof WXEnvironment||!WXEnvironment.platform||WXEnvironment.platform.toLowerCase(),y&&window.navigator.userAgent.toLowerCase()),ne=y&&/msie|trident/.test(y),re=(y&&y.indexOf("msie 9.0"),y&&0<y.indexOf("edge/"));y&&y.indexOf("android"),y&&/iphone|ipad|ipod|ios/.test(y),y&&/chrome\/\d+/.test(y),y&&/phantomjs/.test(y),y&&y.match(/firefox\/(\d+)/),i.a.use(G.a,{name:"ant-ref"});function B(){for(var e=arguments.length,i=Array(e),t=0;t<e;t++)i[t]=arguments[t];return function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0;r<i.length;r++)i[r]&&"function"==typeof i[r]&&i[r].apply(B,t)}}var ie={inheritAttrs:!1,Option:p,OptGroup:n,name:"Select",mixins:[o.a],props:A()({},a,{prefixCls:a.prefixCls.def("rc-select"),defaultOpen:r.a.bool.def(!1),labelInValue:a.labelInValue.def(!1),defaultActiveFirstOption:a.defaultActiveFirstOption.def(!0),showSearch:a.showSearch.def(!0),allowClear:a.allowClear.def(!1),placeholder:a.placeholder.def(""),dropdownMatchSelectWidth:r.a.bool.def(!0),dropdownStyle:a.dropdownStyle.def(function(){return{}}),dropdownMenuStyle:r.a.object.def(function(){return{}}),optionFilterProp:a.optionFilterProp.def("value"),optionLabelProp:a.optionLabelProp.def("value"),notFoundContent:r.a.any.def("Not Found"),backfill:r.a.bool.def(!1),showAction:a.showAction.def(["click"]),combobox:r.a.bool.def(!1),tokenSeparators:r.a.arrayOf(r.a.string).def([]),autoClearSearchValue:r.a.bool.def(!0),tabIndex:r.a.any.def(0),dropdownRender:r.a.func.def(function(e){return e})}),model:{prop:"value",event:"change"},created:function(){this.saveInputRef=f(this,"inputRef"),this.saveInputMirrorRef=f(this,"inputMirrorRef"),this.saveTopCtrlRef=f(this,"topCtrlRef"),this.saveSelectTriggerRef=f(this,"selectTriggerRef"),this.saveRootRef=f(this,"rootRef"),this.saveSelectionRef=f(this,"selectionRef"),this._focused=!1,this._mouseDown=!1,this._options=[],this._empty=!1},data:function(){var n,e=Object(C.getOptionProps)(this),t=this.getOptionsInfoFromProps(e),r=(d()(this.__propsSymbol__,"Replace slots.default with props.children and pass props.__propsSymbol__"),e.tags&&"function"!=typeof e.filterOption&&(r=Object.keys(t).some(function(e){return t[e].disabled}),d()(!r,"Please avoid setting option to disabled in tags mode since user can always type text as tag.")),{_value:this.getValueFromProps(e,!0),_inputValue:e.combobox?this.getInputValueForCombobox(e,t,!0):"",_open:e.defaultOpen,_optionsInfo:t,_backfillValue:"",_skipBuildOptionsInfo:!0,_ariaId:(n=(new Date).getTime(),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"===e?t:7&t|8).toString(16)}))});return A()({},r,{_mirrorInputValue:r._inputValue},this.getDerivedState(e,r))},mounted:function(){var e=this;this.$nextTick(function(){(e.autoFocus||e._open)&&e.focus()})},watch:{__propsSymbol__:function(){A()(this.$data,this.getDerivedState(Object(C.getOptionProps)(this),this.$data))},"$data._inputValue":function(e){this.$data._mirrorInputValue=e}},updated:function(){var n=this;this.$nextTick(function(){var e,t;M(n.$props)&&(e=n.getInputDOMNode(),t=n.getInputMirrorDOMNode(),e&&e.value&&t?(e.style.width="",e.style.width=t.clientWidth+10+"px"):e&&(e.style.width="")),n.forcePopupAlign()})},beforeDestroy:function(){this.clearFocusTime(),this.clearBlurTime(),this.clearComboboxTime(),this.dropdownContainer&&(document.body.removeChild(this.dropdownContainer),this.dropdownContainer=null)},methods:{getDerivedState:function(e,t){var n,t=t._skipBuildOptionsInfo?t._optionsInfo:this.getOptionsInfoFromProps(e,t),r={_optionsInfo:t,_skipBuildOptionsInfo:!1};return"open"in e&&(r._open=e.open),"value"in e&&(n=this.getValueFromProps(e),r._value=n,e.combobox)&&(r._inputValue=this.getInputValueForCombobox(e,t)),r},getOptionsFromChildren:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];return e.forEach(function(e){e.data&&void 0===e.data.slot&&(Object(C.getSlotOptions)(e).isSelectOptGroup?t.getOptionsFromChildren(e.componentOptions.children,n):n.push(e))}),n},getInputValueForCombobox:function(e,t,n){var r=[];return"value"in e&&!n&&(r=u(e.value)),!(r="defaultValue"in e&&n?u(e.defaultValue):r).length||(n=r=r[0],e.labelInValue?n=r.label:t[c(r)]&&(n=t[c(r)].label),void 0===n)?"":n},getLabelFromOption:function(e,t){return K(t,e.optionLabelProp)},getOptionsInfoFromProps:function(n,e){var t,r=this,i=this.getOptionsFromChildren(this.$props.children),o={};return i.forEach(function(e){var t=O(e);o[c(t)]={option:e,value:t,label:r.getLabelFromOption(n,e),title:Object(C.getValueByProp)(e,"title"),disabled:Object(C.getValueByProp)(e,"disabled")}}),e&&(t=e._optionsInfo,i=e._value)&&i.forEach(function(e){e=c(e);o[e]||void 0===t[e]||(o[e]=t[e])}),o},getValueFromProps:function(e,t){var n=[];return"value"in e&&!t&&(n=u(e.value)),"defaultValue"in e&&t&&(n=u(e.defaultValue)),n=e.labelInValue?n.map(function(e){return e.key}):n},onInputChange:function(e){var t=e.target,n=t.value,t=t.composing,r=this.$data._inputValue;e.isComposing||t||(void 0===r?"":r)===n?this.setState({_mirrorInputValue:n}):(e=this.$props.tokenSeparators,M(this.$props)&&e.length&&function(e,t){for(var n=0;n<t.length;++n)if(0<e.lastIndexOf(t[n]))return 1}(n,e)?(void 0!==(t=this.getValueByInput(n))&&this.fireChange(t),this.setOpenState(!1,{needFocus:!0}),this.setInputValue("",!1)):(this.setInputValue(n),this.setState({_open:!0}),E(this.$props)&&this.fireChange([n])))},onDropdownVisibleChange:function(e){e&&!this._focused&&(this.clearBlurTime(),this.timeoutFocus(),this._focused=!0,this.updateFocusClassName()),this.setOpenState(e)},onKeyDown:function(e){var t,n=this.$data._open;this.$props.disabled||(t=e.keyCode,n&&!this.getInputDOMNode()?this.onInputKeydown(e):t===l.a.ENTER||t===l.a.DOWN?(t!==l.a.ENTER||M(this.$props)?n||this.setOpenState(!0):this.maybeFocus(!0),e.preventDefault()):t!==l.a.SPACE||n||(this.setOpenState(!0),e.preventDefault()))},onInputKeydown:function(e){var t=this,n=this.$props,r=n.disabled,i=n.combobox,n=n.defaultActiveFirstOption;if(!r){var o,r=this.$data,a=this.getRealOpenState(r),s=e.keyCode;if(M(this.$props)&&!e.target.value&&s===l.a.BACKSPACE)e.preventDefault(),(o=r._value).length&&this.removeSelected(o[o.length-1]);else{if(s===l.a.DOWN){if(!r._open)return this.openIfHasChildren(),e.preventDefault(),void e.stopPropagation()}else if(s===l.a.ENTER&&r._open)!a&&i||e.preventDefault(),a&&i&&!1===n&&(this.comboboxTimer=setTimeout(function(){t.setOpenState(!1)}));else if(s===l.a.ESC)return void(r._open&&(this.setOpenState(!1),e.preventDefault(),e.stopPropagation()));a&&this.selectTriggerRef&&(o=this.selectTriggerRef.getInnerMenu())&&o.onKeyDown(e,this.handleBackfill)&&(e.preventDefault(),e.stopPropagation())}}},onMenuSelect:function(e){var t,n,r,i,o,e=e.item;e&&(t=this.$data._value,n=this.$props,r=O(e),o=t[t.length-1],i=!1,M(n)?-1!==I(t,r)?i=!0:t=t.concat([r]):E(n)||void 0===o||o!==r||r===this.$data._backfillValue?this.setOpenState(!(t=[r]),{needFocus:!0,fireSearch:!1}):(this.setOpenState(!1,{needFocus:!0,fireSearch:!1}),i=!0),i||this.fireChange(t),i||(this.fireSelect(r),o=E(n)?K(e,n.optionLabelProp):"",n.autoClearSearchValue&&this.setInputValue(o,!1)))},onMenuDeselect:function(e){var t,n=e.item,e=e.domEvent;"keydown"===e.type&&e.keyCode===l.a.ENTER?(t=n.$el,(t=t)&&null!==t.offsetParent&&this.removeSelected(O(n))):("click"===e.type&&this.removeSelected(O(n)),this.autoClearSearchValue&&this.setInputValue(""))},onArrowClick:function(e){e.stopPropagation(),e.preventDefault(),this.clearBlurTime(),this.disabled||this.setOpenState(!this.$data._open,{needFocus:!this.$data._open})},onPlaceholderClick:function(){this.getInputDOMNode()&&this.getInputDOMNode()&&this.getInputDOMNode().focus()},onPopupFocus:function(){this.maybeFocus(!0,!0)},onClearSelection:function(e){var t=this.$props,n=this.$data;t.disabled||(t=n._inputValue,n=n._value,e.stopPropagation(),(t||n.length)&&(n.length&&this.fireChange([]),this.setOpenState(!1,{needFocus:!0}),t)&&this.setInputValue(""))},onChoiceAnimationLeave:function(){this.forcePopupAlign()},getOptionInfoBySingleValue:function(e,t){var n,r=this.$createElement,i=void 0;return(i=(t=t||this.$data._optionsInfo)[c(e)]?t[c(e)]:i)||(t=e,this.$props.labelInValue&&(i=X(this.$props.value,e),n=X(this.$props.defaultValue,e),void 0!==i?t=i:void 0!==n&&(t=n)),{option:r(p,{attrs:{value:e},key:e},[e]),value:e,label:t})},getOptionBySingleValue:function(e){return this.getOptionInfoBySingleValue(e).option},getOptionsBySingleValue:function(e){var t=this;return e.map(function(e){return t.getOptionBySingleValue(e)})},getValueByLabel:function(n){var r,i=this;return void 0===n?null:(r=null,Object.keys(this.$data._optionsInfo).forEach(function(e){var t,e=i.$data._optionsInfo[e];e.disabled||(t=u(e.label))&&t.join("")===n&&(r=e.value)}),r)},getVLBySingleValue:function(e){return this.$props.labelInValue?{key:e,label:this.getLabelBySingleValue(e)}:e},getVLForOnChange:function(e){var t=this;return void 0===e||(e=this.labelInValue?e.map(function(e){return{key:e,label:t.getLabelBySingleValue(e)}}):e.map(function(e){return e}),M(this.$props))?e:e[0]},getLabelBySingleValue:function(e,t){return this.getOptionInfoBySingleValue(e,t).label},getDropdownContainer:function(){return this.dropdownContainer||(this.dropdownContainer=document.createElement("div"),document.body.appendChild(this.dropdownContainer)),this.dropdownContainer},getPlaceholderElement:function(){var e=this.$createElement,t=this.$props,n=this.$data,r=!1,i=(n._mirrorInputValue&&(r=!0),n._value),i=(i.length&&(r=!0),!n._mirrorInputValue&&E(t)&&1===i.length&&n._value&&!n._value[0]&&(r=!1),t.placeholder);return i?e("div",{on:{mousedown:T,click:this.onPlaceholderClick},attrs:j,style:A()({display:r?"none":"block"},L),class:t.prefixCls+"-selection__placeholder"},[i]):null},inputClick:function(e){this.$data._open?(this.clearBlurTime(),e.stopPropagation()):this._focused=!1},inputBlur:function(e){var i=this,t=e.relatedTarget||document.activeElement;(ne||re)&&(e.relatedTarget===this.$refs.arrow||t&&this.selectTriggerRef&&this.selectTriggerRef.getInnerMenu()&&this.selectTriggerRef.getInnerMenu().$el===t||Object(te.a)(e.target,t))?(e.target.focus(),e.preventDefault()):(this.clearBlurTime(),this.disabled?e.preventDefault():this.blurTimer=setTimeout(function(){i._focused=!1,i.updateFocusClassName();var e,t=i.$props,n=i.$data._value,r=i.$data._inputValue;k(t)&&t.showSearch&&r&&t.defaultActiveFirstOption?(e=i._options||[]).length&&(e=function e(t){for(var n=0;n<t.length;n++){var r=t[n],i=Object(C.getPropsData)(r);if(Object(C.getSlotOptions)(r).isMenuItemGroup){var o=e(r.componentOptions.children);if(o)return o}else if(!i.disabled)return r}return null}(e))&&(n=[O(e)],i.fireChange(n)):M(t)&&r&&(i._mouseDown?i.setInputValue(""):(i.$data._inputValue="",i.getInputDOMNode&&i.getInputDOMNode()&&(i.getInputDOMNode().value="")),void 0!==(e=i.getValueByInput(r)))&&i.fireChange(n=e),M(t)&&i._mouseDown?(i.maybeFocus(!0,!0),i._mouseDown=!1):(i.setOpenState(!1),i.$emit("blur",i.getVLForOnChange(n)))},200))},inputFocus:function(e){var t;this.$props.disabled?e.preventDefault():(this.clearBlurTime(),(t=this.getInputDOMNode())&&e.target===this.rootRef||!P(this.$props)&&e.target===t||this._focused||(this._focused=!0,this.updateFocusClassName(),M(this.$props)&&this._mouseDown)||this.timeoutFocus())},_getInputElement:function(){var e=this.$createElement,t=this.$props,n=this.$data,r=n._inputValue,n=n._mirrorInputValue,i=e("input",{attrs:{id:Object(C.getAttrs)(this).id,autoComplete:"off"}}),i=t.getInputElement?t.getInputElement():i,o=S()(Object(C.getClass)(i),w()({},t.prefixCls+"-search__field",!0)),a=Object(C.getEvents)(i);return i.data=i.data||{},e("div",{class:t.prefixCls+"-search__field__wrap",on:{click:this.inputClick}},[Object(_.a)(i,{props:{disabled:t.disabled,value:r},attrs:A()({},i.data.attrs||{},{disabled:t.disabled,value:r}),domProps:{value:r},class:o,directives:[{name:"ant-ref",value:this.saveInputRef},{name:"ant-input"}],on:{input:this.onInputChange,keydown:B(this.onInputKeydown,a.keydown,Object(C.getListeners)(this).inputKeydown),focus:B(this.inputFocus,a.focus),blur:B(this.inputBlur,a.blur)}}),e("span",x()([{directives:[{name:"ant-ref",value:this.saveInputMirrorRef}]},{class:t.prefixCls+"-search__field__mirror"}]),[n," "])])},getInputDOMNode:function(){return this.topCtrlRef?this.topCtrlRef.querySelector("input,textarea,div[contentEditable]"):this.inputRef},getInputMirrorDOMNode:function(){return this.inputMirrorRef},getPopupDOMNode:function(){if(this.selectTriggerRef)return this.selectTriggerRef.getPopupDOMNode()},getPopupMenuComponent:function(){if(this.selectTriggerRef)return this.selectTriggerRef.getInnerMenu()},setOpenState:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=this.$props,i=this.$data,o=n.needFocus,n=n.fireSearch;i._open===e?this.maybeFocus(e,!!o):(this.__emit("dropdownVisibleChange",e),i={_open:e,_backfillValue:""},!e&&k(r)&&r.showSearch&&this.setInputValue("",n),e||this.maybeFocus(e,!!o),this.setState(i,function(){e&&t.maybeFocus(e,!!o)}))},setInputValue:function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];e!==this.$data._inputValue&&(this.setState({_inputValue:e},this.forcePopupAlign),t)&&this.$emit("search",e)},getValueByInput:function(e){var t,r=this,n=this.$props,i=n.multiple,n=n.tokenSeparators,o=this.$data._value,a=!1;return e=e,t=n,t=new RegExp("["+n.join()+"]"),e.split(t).filter(function(e){return e}).forEach(function(e){var t,n=[e];i?(t=r.getValueByLabel(e))&&-1===I(o,t)&&(o=o.concat(t),a=!0,r.fireSelect(t)):-1===I(o,e)&&(o=o.concat(n),a=!0,r.fireSelect(e))}),a?o:void 0},getRealOpenState:function(e){var t=this.$props.open;return"boolean"==typeof t||(t=(e||this.$data)._open,e=this._options||[],!P(this.$props)&&this.$props.showSearch)||t&&!e.length&&(t=!1),t},focus:function(){k(this.$props)&&this.selectionRef?this.selectionRef.focus():this.getInputDOMNode()&&this.getInputDOMNode().focus()},blur:function(){k(this.$props)&&this.selectionRef?this.selectionRef.blur():this.getInputDOMNode()&&this.getInputDOMNode().blur()},markMouseDown:function(){this._mouseDown=!0},markMouseLeave:function(){this._mouseDown=!1},handleBackfill:function(e){this.backfill&&(k(this.$props)||E(this.$props))&&(e=O(e),E(this.$props)&&this.setInputValue(e,!1),this.setState({_value:[e],_backfillValue:e}))},_filterOption:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:J,r=this.$data,i=r._value,r=r._backfillValue,i=i[i.length-1];return!(e&&(!i||i!==r)&&(i=this.$props.filterOption,i=Object(C.hasProp)(this,"filterOption")&&!0!==i?i:n.bind(this)))||("function"==typeof i?i.call(this,e,t):!Object(C.getValueByProp)(t,"disabled"))},timeoutFocus:function(){var e=this;this.focusTimer&&this.clearFocusTime(),this.focusTimer=window.setTimeout(function(){e.$emit("focus")},10)},clearFocusTime:function(){this.focusTimer&&(clearTimeout(this.focusTimer),this.focusTimer=null)},clearBlurTime:function(){this.blurTimer&&(clearTimeout(this.blurTimer),this.blurTimer=null)},clearComboboxTime:function(){this.comboboxTimer&&(clearTimeout(this.comboboxTimer),this.comboboxTimer=null)},updateFocusClassName:function(){var e=this.rootRef,t=this.prefixCls;this._focused?F()(e).add(t+"-focused"):F()(e).remove(t+"-focused")},maybeFocus:function(e,t){var n;(t||e)&&(t=this.getInputDOMNode(),n=document.activeElement,t&&(e||P(this.$props))?n!==t&&(t.focus(),this._focused=!0):n!==this.selectionRef&&this.selectionRef&&(this.selectionRef.focus(),this._focused=!0))},removeSelected:function(t,e){var n,r=this.$props;r.disabled||this.isChildDisabled(t)||(e&&e.stopPropagation&&e.stopPropagation(),e=this.$data._value.filter(function(e){return e!==t}),M(r)&&(n=t,r.labelInValue&&(n={key:t,label:this.getLabelBySingleValue(t)}),this.$emit("deselect",n,this.getOptionBySingleValue(t))),this.fireChange(e))},openIfHasChildren:function(){var e=this.$props;(e.children&&e.children.length||k(e))&&this.setOpenState(!0)},fireSelect:function(e){this.$emit("select",this.getVLBySingleValue(e),this.getOptionBySingleValue(e))},fireChange:function(e){Object(C.hasProp)(this,"value")||this.setState({_value:e},this.forcePopupAlign);var t=this.getVLForOnChange(e),e=this.getOptionsBySingleValue(e);this._valueOptions=e,this.$emit("change",t,M(this.$props)?e:e[0])},isChildDisabled:function(t){return(this.$props.children||[]).some(function(e){return O(e)===t&&Object(C.getValueByProp)(e,"disabled")})},forcePopupAlign:function(){this.$data._open&&this.selectTriggerRef&&this.selectTriggerRef.triggerRef&&this.selectTriggerRef.triggerRef.forcePopupAlign()},renderFilterOptions:function(){var n=this.$createElement,t=this.$data._inputValue,e=this.$props,r=e.children,i=e.tags,e=e.notFoundContent,o=[],a=[],s=!1,l=this.renderFilterOptionsFromChildren(r,a,o);return i&&((r=(r=this.$data._value).filter(function(e){return-1===a.indexOf(e)&&(!t||-1<String(e).indexOf(String(t)))})).sort(function(e,t){return e.length-t.length}),r.forEach(function(e){var t=A()({},j,{role:"option"}),t=n(h.a,x()([{style:L},{attrs:t},{attrs:{value:e},key:e}]),[e]);l.push(t),o.push(t)}),t)&&o.every(function(e){return O(e)!==t})&&l.unshift(n(h.a,{attrs:j,key:t,props:{value:t,role:"option"},style:L},[t])),!l.length&&e&&(l=[n(h.a,{attrs:j,key:"NOT_FOUND",props:{value:"NOT_FOUND",disabled:s=!0,role:"option"},style:L},[e])]),{empty:s,options:l}},renderFilterOptionsFromChildren:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],o=this,a=arguments[1],s=arguments[2],l=this.$createElement,u=[],t=this.$props,c=this.$data._inputValue,f=t.tags;return e.forEach(function(e){if(e.data&&void 0===e.data.slot)if(Object(C.getSlotOptions)(e).isSelectOptGroup)i=Object(C.getComponentFromProp)(e,"label"),(r=e.key)||"string"!=typeof i?!i&&r&&(i=r):r=i,n="function"==typeof(n=Object(C.getSlots)(e).default)?n():n,c&&o._filterOption(c,e)?(t=n.map(function(e){var t=O(e)||e.key;return l(h.a,x()([{key:t,attrs:{value:t}},e.data]),[e.componentOptions.children])}),u.push(l(V.a,{key:r,attrs:{title:i},class:Object(C.getClass)(e)},[t]))):(t=o.renderFilterOptionsFromChildren(n,a,s)).length&&u.push(l(V.a,x()([{key:r,attrs:{title:i}},e.data]),[t]));else{d()(Object(C.getSlotOptions)(e).isSelectOption,"the children of `Select` should be `Select.Option` or `Select.OptGroup`, instead of `"+(Object(C.getSlotOptions)(e).name||Object(C.getSlotOptions)(e))+"`.");var t,n=O(e),r=n,i=o.$props;if(!k(i)&&!i.multiple&&"string"!=typeof r)throw new Error("Invalid `value` of type `"+(void 0===r?"undefined":q()(r))+"` supplied to Option, expected `string` when `tags/combobox` is `true`.");o._filterOption(c,e)&&(t={attrs:A()({},j,Object(C.getAttrs)(e)),key:n,props:A()({value:n},Object(C.getPropsData)(e),{role:"option"}),style:L,on:Object(C.getEvents)(e),class:Object(C.getClass)(e)},t=l(h.a,t,[e.componentOptions.children]),u.push(t),s.push(t)),f&&a.push(n)}}),u},renderTopControlNode:function(){var e,t,n,r,o=this,a=this.$createElement,i=this.$props,s=this.$data,l=s._value,u=s._inputValue,s=s._open,c=i.choiceTransitionName,f=i.prefixCls,h=i.maxTagTextLength,d=i.maxTagCount,p=i.maxTagPlaceholder,y=i.showSearch,m=Object(C.getComponentFromProp)(this,"removeIcon"),g=f+"-selection__rendered",v=null;return v=k(i)?(r=null,l.length&&(e=!1,n=1,y&&s?(e=!u)&&(n=.4):e=!0,u=l[0],t=(u=this.getOptionInfoBySingleValue(u)).label,u=u.title,r=a("div",{key:"value",class:f+"-selection-selected-value",attrs:{title:b(u||t)},style:{display:e?"block":"none",opacity:n}},[t])),y?[r,a("div",{class:f+"-search "+f+"-search--inline",key:"input",style:{display:s?"block":"none"}},[this._getInputElement()])]:[r]):(u=[],e=l,(n=void 0)!==d&&l.length>d&&(e=l.slice(0,d),t=this.getVLForOnChange(l.slice(d,l.length)),y="+ "+(l.length-d)+" ...",p&&(y="function"==typeof p?p(t):p),s=A()({},j,{role:"presentation",title:b(y)}),n=a("li",x()([{style:L},{attrs:s},{on:{mousedown:T},class:f+"-selection__choice "+f+"-selection__choice__disabled",key:"maxTagPlaceholder"}]),[a("div",{class:f+"-selection__choice__content"},[y])])),M(i)&&(u=e.map(function(t){var e=o.getOptionInfoBySingleValue(t),n=e.label,e=e.title||n,r=(h&&"string"==typeof n&&n.length>h&&(n=n.slice(0,h)+"..."),o.isChildDisabled(t)),i=r?f+"-selection__choice "+f+"-selection__choice__disabled":f+"-selection__choice",e=A()({},j,{role:"presentation",title:b(e)});return a("li",x()([{style:L},{attrs:e},{on:{mousedown:T},class:i,key:t||"RC_SELECT_EMPTY_VALUE_KEY"}]),[a("div",{class:f+"-selection__choice__content"},[n]),r?null:a("span",{on:{click:function(e){o.removeSelected(t,e)}},class:f+"-selection__choice__remove"},[m||a("i",{class:f+"-selection__choice__remove-icon"},["×"])])])})),n&&u.push(n),u.push(a("li",{class:f+"-search "+f+"-search--inline",key:"__input"},[this._getInputElement()])),M(i)&&c?(r=Object(H.a)(c,{tag:"ul",afterLeave:this.onChoiceAnimationLeave}),a("transition-group",r,[u])):a("ul",[u])),a("div",x()([{class:g},{directives:[{name:"ant-ref",value:this.saveTopCtrlRef}]},{on:{click:this.topCtrlContainerClick}}]),[this.getPlaceholderElement(),v])},renderArrow:function(e){var t=this.$createElement,n=this.$props,r=n.showArrow,e=void 0===r?!e:r,r=n.loading,n=n.prefixCls,i=Object(C.getComponentFromProp)(this,"inputIcon");return e||r?(e=t("i",r?{class:n+"-arrow-loading"}:{class:n+"-arrow-icon"}),t("span",x()([{key:"arrow",class:n+"-arrow",style:L},{attrs:j},{on:{click:this.onArrowClick},ref:"arrow"}]),[i||e])):null},topCtrlContainerClick:function(e){this.$data._open&&!k(this.$props)&&e.stopPropagation()},renderClear:function(){var e=this.$createElement,t=this.$props,n=t.prefixCls,t=t.allowClear,r=this.$data,i=r._value,r=r._inputValue,o=Object(C.getComponentFromProp)(this,"clearIcon"),o=e("span",x()([{key:"clear",class:n+"-selection__clear",on:{mousedown:T},style:L},{attrs:j},{on:{click:this.onClearSelection}}]),[o||e("i",{class:n+"-selection__clear-icon"},["×"])]);return t?E(this.$props)?r?o:null:r||i.length?o:null:null},selectionRefClick:function(){var e;this.disabled||(e=this.getInputDOMNode(),this._focused&&this.$data._open?(this.setOpenState(!1,!1),e&&e.blur()):(this.clearBlurTime(),this.setOpenState(!0,!0),e&&e.focus()))},selectionRefFocus:function(e){this._focused||this.disabled||P(this.$props)?e.preventDefault():(this._focused=!0,this.updateFocusClassName(),this.$emit("focus"))},selectionRefBlur:function(e){P(this.$props)?e.preventDefault():this.inputBlur(e)}},render:function(){var e,t=arguments[0],n=this.$props,r=M(n),i=n.showArrow,i=void 0===i||i,o=this.$data,a=n.disabled,s=n.prefixCls,l=n.loading,u=this.renderTopControlNode(),c=this.$data,f=c._open,h=c._inputValue,c=c._value,d=(f&&(d=this.renderFilterOptions(),this._empty=d.empty,this._options=d.options),this.getRealOpenState()),p=this._empty,y=this._options||[],m=Object(C.getListeners)(this),g=m.mouseenter,g=void 0===g?D:g,v=m.mouseleave,v=void 0===v?D:v,m=m.popupScroll,m=void 0===m?D:m,b={props:{},attrs:{role:"combobox","aria-autocomplete":"list","aria-haspopup":"true","aria-expanded":d,"aria-controls":this.$data._ariaId},on:{},class:s+"-selection "+s+"-selection--"+(r?"multiple":"single"),key:"selection"},_={attrs:{tabIndex:-1}},f=(P(n)||(_.attrs.tabIndex=n.disabled?-1:n.tabIndex),e={},w()(e,s,!0),w()(e,s+"-open",f),w()(e,s+"-focused",f||!!this._focused),w()(e,s+"-combobox",E(n)),w()(e,s+"-disabled",a),w()(e,s+"-enabled",!a),w()(e,s+"-allow-clear",!!n.allowClear),w()(e,s+"-no-arrow",!i),w()(e,s+"-loading",!!l),e);return t(ee,x()([{attrs:{dropdownAlign:n.dropdownAlign,dropdownClassName:n.dropdownClassName,dropdownMatchSelectWidth:n.dropdownMatchSelectWidth,defaultActiveFirstOption:n.defaultActiveFirstOption,dropdownMenuStyle:n.dropdownMenuStyle,transitionName:n.transitionName,animation:n.animation,prefixCls:n.prefixCls,dropdownStyle:n.dropdownStyle,combobox:n.combobox,showSearch:n.showSearch,options:y,empty:p,multiple:r,disabled:a,visible:d,inputValue:h,value:c,backfillValue:o._backfillValue,firstActiveValue:n.firstActiveValue,getPopupContainer:n.getPopupContainer,showAction:n.showAction,menuItemSelectedIcon:Object(C.getComponentFromProp)(this,"menuItemSelectedIcon")},on:{dropdownVisibleChange:this.onDropdownVisibleChange,menuSelect:this.onMenuSelect,menuDeselect:this.onMenuDeselect,popupScroll:m,popupFocus:this.onPopupFocus,mouseenter:g,mouseleave:v}},{directives:[{name:"ant-ref",value:this.saveSelectTriggerRef}]},{attrs:{dropdownRender:n.dropdownRender,ariaId:this.$data._ariaId}}]),[t("div",x()([{directives:[{name:"ant-ref",value:B(this.saveRootRef,this.saveSelectionRef)}]},{style:Object(C.getStyle)(this),class:S()(f),on:{mousedown:this.markMouseDown,mouseup:this.markMouseLeave,mouseout:this.markMouseLeave}},_,{on:{blur:this.selectionRefBlur,focus:this.selectionRefFocus,click:this.selectionRefClick,keydown:P(n)?D:this.onKeyDown}}]),[t("div",b,[u,this.renderClear(),this.renderArrow(!!r)])])])}},oe=(Object(Y.a)(ie),t("TfX5")),m=t("DGO/"),ae=t("2xRk"),se=function(){return{prefixCls:r.a.string,size:r.a.oneOf(["small","large","default"]),showAction:r.a.oneOfType([r.a.string,r.a.arrayOf(String)]),notFoundContent:r.a.any,transitionName:r.a.string,choiceTransitionName:r.a.string,showSearch:r.a.bool,allowClear:r.a.bool,disabled:r.a.bool,tabIndex:r.a.number,placeholder:r.a.any,defaultActiveFirstOption:r.a.bool,dropdownClassName:r.a.string,dropdownStyle:r.a.any,dropdownMenuStyle:r.a.any,dropdownMatchSelectWidth:r.a.bool,filterOption:r.a.oneOfType([r.a.bool,r.a.func]),autoFocus:r.a.bool,backfill:r.a.bool,showArrow:r.a.bool,getPopupContainer:r.a.func,open:r.a.bool,defaultOpen:r.a.bool,autoClearSearchValue:r.a.bool,dropdownRender:r.a.func,loading:r.a.bool}},y=r.a.shape({key:r.a.oneOfType([r.a.string,r.a.number])}).loose,le=r.a.oneOfType([r.a.string,r.a.number,r.a.arrayOf(r.a.oneOfType([y,r.a.string,r.a.number])),y]),ue=A()({},se(),{value:le,defaultValue:le,mode:r.a.string,optionLabelProp:r.a.string,firstActiveValue:r.a.oneOfType([String,r.a.arrayOf(String)]),maxTagCount:r.a.number,maxTagPlaceholder:r.a.any,maxTagTextLength:r.a.number,dropdownMatchSelectWidth:r.a.bool,optionFilterProp:r.a.string,labelInValue:r.a.boolean,getPopupContainer:r.a.func,tokenSeparators:r.a.arrayOf(r.a.string),getInputElement:r.a.func,options:r.a.array,suffixIcon:r.a.any,removeIcon:r.a.any,clearIcon:r.a.any,menuItemSelectedIcon:r.a.any}),i={prefixCls:r.a.string,size:r.a.oneOf(["default","large","small"]),notFoundContent:r.a.any,showSearch:r.a.bool,optionLabelProp:r.a.string,transitionName:r.a.string,choiceTransitionName:r.a.string},ce="SECRET_COMBOBOX_MODE_DO_NOT_USE",g={SECRET_COMBOBOX_MODE_DO_NOT_USE:ce,Option:A()({},p,{name:"ASelectOption"}),OptGroup:A()({},n,{name:"ASelectOptGroup"}),name:"ASelect",props:A()({},ue,{showSearch:r.a.bool.def(!1),transitionName:r.a.string.def("slide-up"),choiceTransitionName:r.a.string.def("zoom")}),propTypes:i,model:{prop:"value",event:"change"},provide:function(){return{savePopupRef:this.savePopupRef}},inject:{configProvider:{default:function(){return oe.a}}},created:function(){Object(N.a)("combobox"!==this.$props.mode,"Select","The combobox mode of Select is deprecated,it will be removed in next major version,please use AutoComplete instead")},methods:{getNotFoundContent:function(e){var t=this.$createElement,n=Object(C.getComponentFromProp)(this,"notFoundContent");return void 0!==n?n:this.isCombobox()?null:e(t,"Select")},savePopupRef:function(e){this.popupRef=e},focus:function(){this.$refs.vcSelect.focus()},blur:function(){this.$refs.vcSelect.blur()},isCombobox:function(){var e=this.mode;return"combobox"===e||e===ce},renderSuffixIcon:function(e){var t=this.$createElement,n=this.$props.loading,r=Object(C.getComponentFromProp)(this,"suffixIcon");return(r=Array.isArray(r)?r[0]:r)?Object(C.isValidElement)(r)?Object(_.a)(r,{class:e+"-arrow-icon"}):r:t(m.default,n?{attrs:{type:"loading"}}:{attrs:{type:"down"},class:e+"-arrow-icon"})}},render:function(){var a=arguments[0],e=Object(C.getOptionProps)(this),t=e.prefixCls,n=e.size,r=e.mode,i=e.options,o=e.getPopupContainer,s=e.showArrow,e=R()(e,["prefixCls","size","mode","options","getPopupContainer","showArrow"]),l=this.configProvider.getPrefixCls,u=this.configProvider.renderEmpty,l=l("select",t),t=this.configProvider.getPopupContainer,c=Object(C.getComponentFromProp)(this,"removeIcon"),c=Array.isArray(c)?c[0]:c,f=Object(C.getComponentFromProp)(this,"clearIcon"),f=Array.isArray(f)?f[0]:f,h=Object(C.getComponentFromProp)(this,"menuItemSelectedIcon"),h=Array.isArray(h)?h[0]:h,e=Object(z.a)(e,["inputIcon","removeIcon","clearIcon","suffixIcon","menuItemSelectedIcon"]),n=(d={},w()(d,l+"-lg","large"===n),w()(d,l+"-sm","small"===n),w()(d,l+"-show-arrow",s),d),d=this.$props.optionLabelProp,r=(this.isCombobox()&&(d=d||"value"),{multiple:"multiple"===r,tags:"tags"===r,combobox:this.isCombobox()}),c=c&&(Object(C.isValidElement)(c)?Object(_.a)(c,{class:l+"-remove-icon"}):c)||a(m.default,{attrs:{type:"close"},class:l+"-remove-icon"}),f=f&&(Object(C.isValidElement)(f)?Object(_.a)(f,{class:l+"-clear-icon"}):f)||a(m.default,{attrs:{type:"close-circle",theme:"filled"},class:l+"-clear-icon"}),h=h&&(Object(C.isValidElement)(h)?Object(_.a)(h,{class:l+"-selected-icon"}):h)||a(m.default,{attrs:{type:"check"},class:l+"-selected-icon"}),c={props:A()({inputIcon:this.renderSuffixIcon(l),removeIcon:c,clearIcon:f,menuItemSelectedIcon:h,showArrow:s},e,r,{prefixCls:l,optionLabelProp:d||"children",notFoundContent:this.getNotFoundContent(u),maxTagPlaceholder:Object(C.getComponentFromProp)(this,"maxTagPlaceholder"),placeholder:Object(C.getComponentFromProp)(this,"placeholder"),children:i?i.map(function(e){var t=e.key,n=e.label,n=void 0===n?e.title:n,r=e.on,i=e.class,o=e.style,e=R()(e,["key","label","on","class","style"]);return a(p,x()([{key:t},{props:e,on:r,class:i,style:o}]),[n])}):Object(C.filterEmpty)(this.$slots.default),__propsSymbol__:Symbol(),dropdownRender:Object(C.getComponentFromProp)(this,"dropdownRender",{},!1),getPopupContainer:o||t}),on:Object(C.getListeners)(this),class:n,ref:"vcSelect"};return a(ie,c)},install:function(e){e.use(ae.default),e.component(g.name,g),e.component(g.Option.name,g.Option),e.component(g.OptGroup.name,g.OptGroup)}};e.default=g},"mGb/":function(e,t,n){"use strict";function r(e,t){return(e=l[s(e)])==c||e!=u&&(o(t)?i(t):!!t)}var i=n("eRwv"),o=n("JTf3"),a=/#|\.prototype\./,s=r.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=r.data={},u=r.NATIVE="N",c=r.POLYFILL="P";e.exports=r},"mJe+":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.collapseTypes=void 0,r(n("+kNC"))),o=n("QfMm"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},(0,o.collapseProps)()),o=(t.collapseTypes=n,{name:"SmCollapse",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"activeKey",event:"change"},props:n,computed:{extralListeners:function(){var t=this;return{change:function(e){t.$emit("change",e)}}}}});t.default=o},"mK+M":function(e,t,n){"use strict";var r=n("TqRt"),f=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Jq2x"))),i=n("cKS0");function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,n=0;n<e.length;n+=1){var r,i,o=e.eq(n),a=o[0].progress,s=(this.params.flipEffect.limitRotation&&(a=Math.max(Math.min(o[0].progress,1),-1)),o[0].swiperSlideOffset),l=-180*a,u=0,s=-s,c=0;this.isHorizontal()?t&&(l=-l):(c=s,u=-l,l=s=0),o[0].style.zIndex=-Math.abs(Math.round(a))+e.length,this.params.flipEffect.slideShadows&&(r=this.isHorizontal()?o.find(".swiper-slide-shadow-left"):o.find(".swiper-slide-shadow-top"),i=this.isHorizontal()?o.find(".swiper-slide-shadow-right"):o.find(".swiper-slide-shadow-bottom"),0===r.length&&(r=(0,f.default)('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),o.append(r)),0===i.length&&(i=(0,f.default)('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),o.append(i)),r.length&&(r[0].style.opacity=Math.max(-a,0)),i.length)&&(i[0].style.opacity=Math.max(a,0)),o.transform("translate3d("+s+"px, "+c+"px, 0px) rotateX("+u+"deg) rotateY("+l+"deg)")}},setTransition:function(e){var n,r=this,t=r.slides,i=r.activeIndex,o=r.$wrapperEl;t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),r.params.virtualTranslate&&0!==e&&(n=!1,t.eq(i).transitionEnd(function(){if(!n&&r&&!r.destroyed){n=!0,r.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)o.trigger(e[t])}}))}};t.default={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){(0,i.bindModuleMethods)(this,{flipEffect:o({},a)})},on:{beforeInit:function(e){var t;"flip"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d"),(0,i.extend)(e.params,t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0}),(0,i.extend)(e.originalParams,t))},setTranslate:function(e){"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e,t){"flip"===e.params.effect&&e.flipEffect.setTransition(t)}}}},mMUZ:function(e,t,n){"use strict";n.r(t);var r=n("38+u"),i=n("H8qQ"),o=n("2xRk");r.default.Sider=i.default,r.default.install=function(e){e.use(o.default),e.component(r.default.name,r.default),e.component(r.default.Header.name,r.default.Header),e.component(r.default.Footer.name,r.default.Footer),e.component(r.default.Sider.name,r.default.Sider),e.component(r.default.Content.name,r.default.Content)},t.default=r.default},mTTR:function(e,t,n){var r=n("b80T"),i=n("QcOe"),o=n("MMmD");e.exports=function(e){return o(e)?r(e,!0):i(e)}},mUjJ:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.menuItemTypes=t.default=void 0,r(n("VfG/"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={attribute:o.default.object,rootPrefixCls:o.default.string,eventKey:o.default.oneOfType([o.default.string,o.default.number]),active:o.default.bool,selectedKeys:o.default.array,disabled:o.default.bool,title:o.default.any,index:o.default.number,inlineIndent:o.default.number.def(24),level:o.default.number.def(1),mode:o.default.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]).def("vertical"),parentMenu:o.default.object,multiple:o.default.bool,value:o.default.any,isSelected:o.default.bool,manualRef:o.default.func,role:o.default.any,subMenuKey:o.default.string,itemIcon:o.default.any},o=(t.menuItemTypes=n,{name:"SmMenuItem",isMenuItem:!0,defaultComponent:i.default.Item,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},mc0g:function(e,t){e.exports=function(l){return function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[l?a:++r];if(!1===t(i[s],s,i))break}return e}}},mcUC:function(e,t,n){"use strict";n.r(t);var r,i=n("mUjJ"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},mcoe:function(e,t,n){"use strict";var r=n("rt8w"),i=n("8HiI"),o=n("66qH"),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},mdPL:function(e,o,a){!function(e){var t=a("WFqU"),n=o&&!o.nodeType&&o,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,i=r&&r.exports===n&&t.process,n=function(){try{var e=r&&r.require&&r.require("util").types;return e?e:i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=n}.call(this,a("YuTi")(e))},mdxj:function(e,t,n){"use strict";var r=n("nCzB"),i=n("FjAG").left,o=n("QELg"),a=n("aNIs");r({target:"Array",proto:!0,forced:!n("IGIO")&&79<a&&a<83||!o("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,1<t?arguments[1]:void 0)}})},me6S:function(e,t,n){"use strict";var r=n("Ks5W"),n=n("SwuV"),i=r.document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},miJm:function(e,t,n){"use strict";n.r(t);var r,i=n("PLmN"),o=n("Us3d");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},mkpX:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r={mixins:[r(n("KS6f")).default],props:{pane:{type:String,default:"tilePane"},opacity:{type:Number,default:1,validator:function(e){return 0<=e&&e<=1}},bounds:{type:Array},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1}}};t.default=r},mqlF:function(e,t){t.f=Object.getOwnPropertySymbols},ms20:function(e,t,n){"use strict";var r=n("m7zg"),i=n("SwuV"),o=n("bT0D"),a=n("oK8H"),s=n("2lHc"),n=n("11yv"),l=TypeError,u=n("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n=a(e,u);if(n){if(n=r(n,e,t=void 0===t?"default":t),!i(n)||o(n))return n;throw l("Can't convert object to primitive value")}return s(e,t=void 0===t?"number":t)}},mu6A:function(e,t,n){"use strict";var r=n("TqRt"),o=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("pVnL"))),i=(n("Fk5u"),r(n("Zni2"))),a=r(n("9csQ")),s=r(n("2oH+")),l=r(n("XaGS")),u=r(n("9/5/")),w=r(n("zT9C")),c=r(n("tnDp")),f=r(n("TFue")),h=r(n("BhAg")),A=n("gzXh"),d=r(n("AqgP")),S=n("e7LN"),p=r(n("vyqP")),y=r(n("NQEM")),m=n("QG5D"),g=["legendselectchanged","legendselected","legendunselected","legendscroll","datazoom","datarangeselected","timelinechanged","timelineplaychanged","restore","dataviewchanged","magictypechanged","geoselectchanged","geoselected","geounselected","pieselectchanged","pieselected","pieunselected","mapselectchanged","mapselected","mapunselected","axisareaselected","focusnodeadjacency","unfocusnodeadjacency","brush","brushselected","rendered","finished","click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],r={components:{"v-chart":i.default,TablePopup:p.default},mixins:[f.default,c.default,h.default],props:{iconClass:{type:String,default:"sm-components-icon-chart"},dataset:{type:Object,default:function(){return null}},datasetOptions:{type:Array,default:function(){return null}},colorGroup:{type:Array},options:{type:Object,default:function(){return{}}},autoresize:{type:Boolean,default:!0},theme:{type:[Object,String]},initOptions:{type:Object},group:{type:String},manualUpdate:{type:Boolean,default:!1},autoPlay:{type:Boolean,default:!1},associatedMap:{type:Boolean,default:!1},highlightOptions:{type:Array,default:function(){return[]}},highlightColor:{type:String,default:"#01ffff"},isShow:{type:Boolean,default:!0}},data:function(){return{chartId:(0,a.default)(this.$options.name.toLowerCase()+"-"),chartTheme:{},echartOptions:{},datasetChange:!1,dataSeriesCache:{},tablePopupProps:{},startSpin:null,customSeries:[],dataZoomHandler:function(){}}},computed:{width:function(){return this.smChart&&this.smChart.width},height:function(){return this.smChart&&this.smChart.height},computedOptions:function(){return this.smChart&&this.smChart.computedOptions},_chartStyle:function(){return{width:"100%",height:this.headerName?"calc(100% - 30px)":"100%"}},parseOptions:function(){var e,n=this;return this.options.series?this.options.series.find(function(e){return"2.5Bar"===e.type})?(0,o.default)({},this.options,{series:[]}):this.options.series[0]&&"customRingsSeries"===this.options.series[0].customType?(0,o.default)({},this.options,{series:[].concat(this.options.series,this.customSeries)}):(e=this.options.series.map(function(e){var t;return e.label?((t=(0,w.default)(e)).label.normal=n._controlLabel(t.label.normal,t.maxLabels),t):e}),(0,o.default)({},this.options,{series:e})):this.options},_chartOptions:function(){return this._isRequestData&&this.echartOptions||this.parseOptions},_isRequestData:function(){return this.dataset&&0<Object.keys(this.dataset).length&&(this.dataset.url||this.dataset.geoJSON)&&this.datasetOptions&&0<this.datasetOptions.length},xBar:function(){return this.options&&this.options.yAxis&&"category"===this.options.yAxis.type},colorNumber:function(){var e=this.datasetOptions&&this.datasetOptions.length||this.echartOptions.series&&this.echartOptions.series.length,t=this.colorGroupsData.length;return t=e&&t<e?e:t}},watch:{theme:function(){this.chartTheme=null},colorGroupsData:function(e,t){(0,l.default)(e,t)||this._setChartTheme()},textColorsData:function(e,t){(0,l.default)(e,t)||this._setChartTheme()},getBackground:function(e,t){(0,l.default)(e,t)||this._setChartTheme()},dataset:{handler:function(){this._isRequestData&&this._setEchartOptions(this.dataset,this.datasetOptions,this.options),this.datasetChange=!0},deep:!0},datasetOptions:{handler:function(e,t){(0,l.default)(e,t)||(this._setChartTheme(),this.registerShape()),!this.echartsDataService&&this._isRequestData&&this._setEchartOptions(this.dataset,this.datasetOptions,this.options),this.echartsDataService&&this.echartsDataService.setDatasetOptions(this.datasetOptions),this.echartsDataService&&this.dataSeriesCache&&this._changeChartData(this.echartsDataService,this.datasetOptions,this.options)}},options:{handler:function(){this.datasetChange&&!this.dataSeriesCache||(this.dataSeriesCache&&"{}"!==JSON.stringify(this.dataSeriesCache)?this.echartOptions=this._optionsHandler(this.options,this.dataSeriesCache):this.echartOptions=Object.assign({},this.parseOptions))},deep:!0},autoresize:function(){(this.autoresize?(0,m.addListener):(0,m.removeListener))(this.$el,this.__resizeHandler)},autoPlay:function(){this._handlePieAutoPlay()},associatedMap:function(){this.associatedMap||this.clearPopup&&this.clearPopup()},highlightOptions:{handler:function(){this.setItemStyleColor()},deep:!0}},created:function(){this._setChartTheme(),this.registerShape()},mounted:function(){this.smChart=this.$refs[this.chartId];var e=this._getEchart(),n=this;g.forEach(function(t){e.$on(t,function(e){"click"===t&&n.handleChartClick(e),n.$emit(t,e)})}),this._initAutoResize(),this._initDataZoom(),this.options.series&&this.options.series[0]&&"customRingsSeries"===this.options.series[0].customType&&this.startEffect(),!this._isRequestData&&this.autoPlay&&this._handlePieAutoPlay(),this._isRequestData&&this._setEchartOptions(this.dataset,this.datasetOptions,this.options)},updated:function(){this._handlePieAutoPlay()},beforeDestroy:function(){clearInterval(this.pieAutoPlay),clearInterval(this.startAngle),this.autoresize&&(0,m.removeListener)(this.$el,this.__resizeHandler)},methods:{_initAutoResize:function(){var e=this;this.__resizeHandler=(0,u.default)(function(){e.resize()},100,{leading:!0}),this.autoresize&&(0,m.addListener)(this.$el,this.__resizeHandler)},_initDataZoom:function(){var e=this;this.dataZoomHandler=(0,u.default)(function(){e._dataZoomChanged()},500,{leading:!0})},getStringColor:function(e){return e instanceof Object?((e.colorStops||[])[0]||{}).color:e},setGradientColor:function(e,t){return"string"==typeof e?new this.$options.graphic.LinearGradient(0,0,0,1,[{offset:0,color:e},{offset:1,color:t||e}]):e},_initAxisLabel:function(t,e,n,r){if(this.xBar){var i=this.datasetOptions.findIndex(function(e){return"unsort"!==e.sort&&e.rankLabel});if(-1<i&&t&&e){for(var o=0,a=e.length,s=a-1;o<a;o++,s--)e[o]=s<10?"0"+s+e[o]:""+s+e[o];var l=n&&n.find(function(e){return e.seriesIndex===i}),u=(t.rich=t.rich||{},t.rich.default={backgroundColor:this.getStringColor(this.colorGroup[i]),width:20,height:20,align:"center",borderRadius:2},l&&l.pieces.forEach(function(e){t.rich[parseInt(e.min)+"_"+parseInt(e.max)]={backgroundColor:e.color,width:20,height:20,align:"center",borderRadius:2}}),r&&r[i].data);t.formatter=function(e,t){var n=parseInt(e.slice(0,2))+1,e=e.slice(2),r=u&&+u[t];if(l){t=l.pieces.find(function(e){return r>=e.min&&r<=e.max});if(t)return["{"+parseInt(t.min)+"_"+parseInt(t.max)+"|"+n+"} "+e].join("\n")}return["{default|"+n+"} "+e].join("\n")}}}},setItemStyleColor:function(e,t,a,s){var l=this;void 0===e&&(e=!0),void 0===a&&(a=this.highlightOptions),void 0===s&&(s=this.highlightColor),(t=t||(0,w.default)(this.echartOptions&&this.echartOptions.series)||[]).forEach(function(n,t){var r=a.map(function(e){if(e.seriesIndex&&e.seriesIndex.includes(t))return e.dataIndex}),i=a.map(function(e){if(e.seriesIndex&&e.seriesIndex.includes(t))return e.color||s}),o=l.options.series&&l.options.series[t]&&l.options.series[t].itemStyle&&l.options.series[t].itemStyle.color;n.itemStyle=n.itemStyle||{color:""},n.itemStyle.color=function(e){var e=e.dataIndex,t=r.indexOf(e);return-1<t?i[t]:"pie"===n.type?l._handlerColorGroup(n.data.length)[e]:o}}),e&&this.$set(this.echartOptions,"series",t)},_handlePieAutoPlay:function(){var e=this._chartOptions.series&&this._chartOptions.series[0]&&this._chartOptions.series[0].type,t=this.smChart.chart;this._chartOptions.legend&&this._chartOptions.legend.data&&this._chartOptions.legend.data.length&&t&&"pie"===e&&(this.clearPieAutoPlay(t),this.autoPlay)&&this.setPieAutoPlay(t)},setPieAutoPlay:function(e){var t=this,n=-1;this.pieAutoPlay=setInterval(function(){e.dispatchAction({type:"downplay",seriesIndex:0,dataIndex:n}),++n>=t._chartOptions.legend.data.length&&(n=0),e.dispatchAction({type:"highlight",seriesIndex:0,dataIndex:n})},2e3)},clearPieAutoPlay:function(e){clearInterval(this.pieAutoPlay);for(var t=0;t<this._chartOptions.legend.data.length;t++)e.dispatchAction({type:"downplay",seriesIndex:0,dataIndex:t})},timing:function(){var t=this;this.echartsDataService&&this.echartsDataService.getDataOption(this.dataset,this.xBar).then(function(e){t.hideLoading(),t.dataSeriesCache=Object.assign({},e),t.datasetChange=!1,t.echartOptions=t._optionsHandler(t.options,e)})},_setEchartOptions:function(e,t,n){var r=this;this.echartsDataService=null,this.dataSeriesCache=null,"geoJSON"!==this.dataset.type&&this.showLoading("default",{text:this.$t("info.loading"),color:this.colorGroupsData[0],textColor:this.textColorsData,maskColor:"rgba(0,0,0,0.8)",zlevel:0}),this.echartsDataService=new d.default(e,t),this.echartsDataService.getDataOption(e,this.xBar).then(function(e){r.hideLoading(),r.dataSeriesCache=Object.assign({},e),r.datasetChange=!1,r.echartOptions=r._optionsHandler(n,e)})},_optionsHandler:function(m,g,v){var b,_=this,x=(g=g&&(0,w.default)(g),m=m&&(0,w.default)(m),[]),e=(m&&m.legend&&!m.legend.type&&(m.legend.type="scroll"),m.yAxis),t=m.xAxis,e=(t&&g.xAxis&&(t=t,n=g.xAxis[0],r="xAxis",e&&"category"===e.type&&(r="yAxis",t=e,g.yAxis=g.xAxis,delete g.xAxis,this._initAxisLabel(e.axisLabel,g.yAxis[0].data,m.visualMap,g.series)),0===g.series.length?t=[{}]:Array.isArray(t)||(n.data&&n.data.length&&(t.data=[]),t=[Object.assign({},n,t)]),m[r]=t),m&&m.series&&g.series&&(0===g.series.length?m.series=[]:(m.series=m.series.map(function(e,t){return Object.assign({},e,g.series[t]||{})}),b=m.dataZoom&&m.dataZoom[0],m.series=m.series.map(function(e,n){var r,t,i,o,a,l,s,u,c,f,h,d,p,y=e.label&&e.label.normal;return y&&!y.smart&&(e.label.normal=_._controlLabel(y,e.maxLabels)),y&&y.show&&y.smart?(y.position=y.position||"top",r=e.data||[],a=(o=0)<r.length?r.length-1:0,b&&!1!==b.show&&(b.start>b.end&&(s=b.start,b.start=b.end,b.end=s),v?(s=_.smChart.chart.getOption().dataZoom[0]||{},t=s.startValue,i=s.endValue,o=t,a=i,m.dataZoom=m.dataZoom.map(function(e){return 0<=t&&0<=i&&(e.startValue=t,e.endValue=i,delete e.start,delete e.end),e})):(o=Math.floor(b.start/100*r.length),a=Math.ceil(b.end/100*r.length)),r=e.data.slice(o,a+1)),y.formatter=function(e){var t=e.dataIndex,e=e.value,n="";return n=t!==o&&t!==a&&Math.max.apply(null,r)+""!=e+""?n:e}):e&&"pie"!==e.type&&"radar"!==e.type&&(l=(0,A.getMultiColorGroup)(_.colorGroupsData,_.colorNumber),"2.5Bar"===e.type)&&(s=e.shape,u=e.itemStyle&&e.itemStyle.color,["square","rectangle"].includes(s)?(c=s,e.type="custom",g.series[n]&&(g.series[n].type="custom"),f=_,e.renderItem=function(t,e){var n,r,i,o=e.coord([e.value(0),e.value(1)]),a=u||l[t.seriesIndex],s="object"==typeof(a=f.highlightOptions&&0<f.highlightOptions.length&&(s=f.highlightOptions.find(function(e){return e.seriesIndex.includes(t.seriesIndex)&&e.dataIndex===t.dataIndex}))&&(s.color||f.highlightColor)?s.color||f.highlightColor:a)?(s=(0,w.default)(a),r=(0,w.default)(a),i=(0,w.default)(a),s.colorStops[0].color=(0,S.getColorWithOpacity)(s.colorStops[0].color,.4),s.colorStops[1].color=(0,S.getColorWithOpacity)(s.colorStops[1].color,.4),r.colorStops[0].color=(0,S.getColorWithOpacity)(r.colorStops[0].color,.7),r.colorStops[1].color=(0,S.getColorWithOpacity)(r.colorStops[1].color,.7),i.colorStops[0].color=(0,S.getColorWithOpacity)(i.colorStops[0].color,.85),i.colorStops[1].color=(0,S.getColorWithOpacity)(i.colorStops[1].color,.85),n=s,r=r,i):(n=(0,S.getColorWithOpacity)(a,.4),r=(0,S.getColorWithOpacity)(a,.7),(0,S.getColorWithOpacity)(a,.85));return{type:"group",children:[{type:"Cube"+c+"Left",shape:{api:e,xValue:e.value(0),yValue:e.value(1),x:o[0],y:o[1],xAxisPoint:e.coord([e.value(0),0])},style:{fill:n}},{type:"Cube"+c+"Right",shape:{api:e,xValue:e.value(0),yValue:e.value(1),x:o[0],y:o[1],xAxisPoint:e.coord([e.value(0),0])},style:{fill:r}},{type:"Cube"+c+"Top",shape:{api:e,xValue:e.value(0),yValue:e.value(1),x:o[0],y:o[1],xAxisPoint:e.coord([e.value(0),0])},style:{fill:s}}]}}):"cylinder"===s&&(h=g.series[n+1]&&g.series[n+1].data,e.type="bar",e.barGap="-100%",m.tooltip&&"axis"===m.tooltip.trigger&&(m.tooltip.trigger="item"),g.series[n]&&(g.series[n].type="bar"),y=[],"string"==typeof(d=u||l[n])&&(d=_.setGradientColor(d,"#fff")),_.highlightOptions&&0<_.highlightOptions.length&&(p=[],_.highlightOptions.forEach(function(e){var t;e.seriesIndex.includes(n)&&("string"==typeof(t=e.color||_.highlightColor)&&(t=_.setGradientColor(t,"#fff")),p.push({dataIndex:e.dataIndex,color:t}))}),0<p.length)&&(y=["topCirCleColorFn","bottomCirCleColorFn"].map(function(){return function(e){var t=e.dataIndex,e=p.find(function(e){return e.dataIndex===t});return e?e.color:d}})),x.push({name:"",type:"pictorialBar",symbolOffset:[0,-8],symbolPosition:"end",z:12,itemStyle:{normal:{color:y[0]||d}},data:g.series[n].data.map(function(e,t){return{value:e,symbolSize:!h||h[t]&&+e>=+h[t]?["100%",15]:[0,15]}})},{name:"",type:"pictorialBar",symbolSize:["100%",10],symbolOffset:[0,5],z:12,itemStyle:{normal:{color:y[1]||d}},data:g.series[n].data})),delete e.shape),e}),"pie"===m.series[0].type&&m.series[0].roseType&&(m.series=m.series.map(function(e){return e.roseType||(e.roseType=m.series[0].roseType),e})),m.legend&&0<m.series.length&&"pie"===m.series[0].type&&(m.legend.data=[],m.series.forEach(function(e){var t;e.data&&(t=m.legend.data).push.apply(t,e.data.map(function(e){return e.name}))})))),m&&m.radar&&g.radar&&(m.radar.indicator=Object.assign({},g.radar.indicator||{})),g.series),n=m.series&&m.series[0]&&0<=m.series[0].outerGap,r=(e&&e.length&&"pie"===e[0].type&&this.setItemStyleColor(!1,e),n&&(g.series=this._createRingShineSeries(e,m.series)),this.highlightOptions&&0<this.highlightOptions.length&&(n?g.series=this._createRingShineHighlight(e,this.highlightOptions):this.setItemStyleColor(!0,e)),(0,s.default)(m,g));return 0<x.length&&(t=r.series).push.apply(t,x),r},_createRingShineSeries:function(o,a){var s=this;return a&&this.datasetOptions.forEach(function(e,t){var n=a[t]||{},r=n.type,i=n.outerGap,n=n.isShine;"pie"===r&&0<=i&&(r=o[t].data.map(function(e){return e.value}),i=i||Math.min.apply(null,r)/5,o[t].data=s._createRingShineDataOption(o[t].data,i,n),delete a[t].outerGap,delete a[t].isShine)}),o},_createRingShineDataOption:function(e,t,n){if(e){for(var r=this._handlerColorGroup(e.length),i={value:t,name:"",itemStyle:{normal:{label:{show:!1},labelLine:{show:!1},color:"rgba(0, 0, 0, 0)",borderColor:"rgba(0, 0, 0, 0)",borderWidth:0}}},o=[],a=0;a<e.length;a++){var s={value:e[a].value,name:e[a].name};n&&(s.itemStyle={borderWidth:5,shadowBlur:10,color:r[a],borderColor:r[a],shadowColor:r[a]}),o.push(s),1<e.length&&o.push(i)}return o}},_createRingShineHighlight:function(e,o,a){return void 0===a&&(a=this.highlightColor),e=(e=e||[]).map(function(e,t){var n=o.map(function(e){if(e.seriesIndex&&e.seriesIndex.includes(t))return e.dataIndex}),r=o.map(function(e){if(e.seriesIndex&&e.seriesIndex.includes(t))return e.color||a}),i=e&&e.data||[];return n.forEach(function(e,t){i[e].itemStyle.color=r[t],i[e].itemStyle.borderColor=r[t],i[e].itemStyle.shadowColor=r[t]}),e})},_handlerColorGroup:function(e){return"object"==typeof this.colorGroupsData[0]?(0,A.handleMultiGradient)(this.colorGroupsData,e):SuperMap.ColorsPickerUtil.getGradientColors(this.colorGroupsData,e,"RANGE")},_controlLabel:function(e,i){var t,o;return e&&e.show&&i?((t=(0,w.default)(e)).formatter&&"string"==typeof t.formatter&&(o=t.formatter),t.formatter=function(e){var t=e.dataIndex,n=e.value,r=e.name,e=e.percent;return t<i?{"{b}: {c}":r+": "+n,"{b}":""+r,"{c}":""+n,"{d}%":e+"%"}[o||"{c}"]:""},t):e},_changeChartData:function(e,t,n){e=e.formatChartData(t,this.xBar);this.dataSeriesCache=Object.assign({},e),this.echartOptions=this._optionsHandler(n,e)},_setChartTheme:function(){var e;this.theme||(e=this.colorNumber,this.chartTheme=(0,A.chartThemeUtil)(this.getBackground,this.textColorsData,this.colorGroupsData,e))},_getEchart:function(){return this.smChart},mergeOptions:function(e,t,n){this._delegateMethod("mergeOptions",e,t,n)},appendData:function(e){this._delegateMethod("appendData",e)},resize:function(e){this._delegateMethod("resize",e)},dispatchAction:function(e){this._delegateMethod("dispatchAction",e)},convertToPixel:function(e,t){return this._delegateMethod("convertToPixel",e,t)},convertFromPixel:function(e,t){return this._delegateMethod("convertFromPixel",e,t)},containPixel:function(e,t){return this._delegateMethod("containPixel",e,t)},showLoading:function(e,t){this._delegateMethod("showLoading",e,t)},hideLoading:function(){this._delegateMethod("hideLoading")},getDataURL:function(e){return this._delegateMethod("getDataURL",e)},getConnectedDataURL:function(e){return this._delegateMethod("getConnectedDataURL",e)},clear:function(){this._delegateMethod("clear")},dispose:function(){this._delegateMethod("dispose")},_delegateMethod:function(e){for(var t,n=arguments.length,r=new Array(1<n?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(t=this.smChart)[e].apply(t,r)},unSupportedFeatureTip:function(){y.default.destroy(),y.default.warning(this.$t("chart.unSupportedData"))},handleChartClick:function(e){var t;this.associatedMap&&(e=e.dataIndex,t=[],t=(t=this.echartsDataService&&this.echartsDataService.sortDataCache?this.echartsDataService.sortDataCache.features||t:t)[e],this.showDetailInfo(t))},showDetailInfo:function(e){var t,n,r=this,i=((e||{}).geometry||{}).coordinates,i=i&&!!i.length;i&&this.viewModel?(t=e.properties||{},n=(0,S.getFeatureCenter)(e),e=this.generateTableData(t),this.tablePopupProps=(0,o.default)({},e),this.$nextTick(function(){r.viewModel.setPopupContent(n,r.$refs.chartTablePopup.$el,function(){return(0,S.setPopupArrowStyle)(r.tablePopupBgData)})})):this.mapNotLoadedTip()||i||this.unSupportedFeatureTip()},generateTableData:function(e){var t,n,r={columns:[{title:this.$t("search.attribute"),dataIndex:"attribute",width:120},{title:this.$t("search.attributeValue"),dataIndex:"attributeValue",width:150}],data:[]};for(t in e)t&&e[t]&&((n={}).attribute=t,n.attributeValue=e[t],r.data.push(n));return r},mapNotLoadedTip:function(){},_dataZoomChanged:function(){var t=!1;this.options.series&&this.options.series.forEach(function(e){e=e.label&&e.label.normal;t=e.show&&e.smart}),t&&(this.echartOptions=this._optionsHandler(this.options,this.dataSeriesCache,!0))},registerShape:function(){var a=this;this.datasetOptions&&this.options.series&&this.datasetOptions.forEach(function(e,t){var n=a.$options.graphic;if("2.5Bar"===e.seriesType){var r,i,o,e=a.options.series[t].shape;if(!n.getShapeClass("Cube"+e+"Left")){switch(e){case"square":r=n.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=t.xAxisPoint,r=[t.x,t.y],t=[t.x-13,t.y-13],i=[n[0]-13,n[1]-13],n=[n[0],n[1]];e.moveTo(r[0],r[1]).lineTo(t[0],t[1]).lineTo(i[0],i[1]).lineTo(n[0],n[1]).closePath()}}),i=n.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=t.xAxisPoint,r=[t.x,t.y],i=[n[0],n[1]],n=[n[0]+18,n[1]-9],t=[t.x+18,t.y-9];e.moveTo(r[0],r[1]).lineTo(i[0],i[1]).lineTo(n[0],n[1]).lineTo(t[0],t[1]).closePath()}}),o=n.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=[t.x,t.y],r=[t.x+18,t.y-9],i=[t.x+5,t.y-22],t=[t.x-13,t.y-13];e.moveTo(n[0],n[1]).lineTo(r[0],r[1]).lineTo(i[0],i[1]).lineTo(t[0],t[1]).closePath()}});break;case"rectangle":r=n.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=t.xAxisPoint,r=[t.x,t.y],t=[t.x-9,t.y-9],i=[n[0]-9,n[1]-9],n=[n[0],n[1]];e.moveTo(r[0],r[1]).lineTo(t[0],t[1]).lineTo(i[0],i[1]).lineTo(n[0],n[1]).closePath()}}),i=n.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=t.xAxisPoint,r=[t.x,t.y],i=[n[0],n[1]],n=[n[0]+18,n[1]-9],t=[t.x+18,t.y-9];e.moveTo(r[0],r[1]).lineTo(i[0],i[1]).lineTo(n[0],n[1]).lineTo(t[0],t[1]).closePath()}}),o=n.extendShape({shape:{x:0,y:0},buildPath:function(e,t){var n=[t.x,t.y],r=[t.x+18,t.y-9],i=[t.x+9,t.y-18],t=[t.x-9,t.y-9];e.moveTo(n[0],n[1]).lineTo(r[0],r[1]).lineTo(i[0],i[1]).lineTo(t[0],t[1]).closePath()}})}r&&n.registerShape("Cube"+e+"Left",r),i&&n.registerShape("Cube"+e+"Right",i),o&&n.registerShape("Cube"+e+"Top",o)}}})},getCirlPoint:function(e,t,n,r){return{x:e+n*Math.cos(r*Math.PI/180),y:t+n*Math.sin(r*Math.PI/180)}},spinLine:function(n,r,i,o,a){return function(e,t){return{type:"arc",shape:{cx:t.getWidth()/2,cy:t.getHeight()/2,r:Math.min(t.getWidth(),t.getHeight())/2*a,startAngle:(n+i)*Math.PI/180,endAngle:(r+i)*Math.PI/180},style:{stroke:o,fill:"transparent",lineWidth:1.5},silent:!0}}},spinPoint:function(i,o,a,s){var l=this;return function(e,t){var n=t.getWidth()/2,r=t.getHeight()/2,t=Math.min(t.getWidth(),t.getHeight())/2*s,n=l.getCirlPoint(n,r,t,i+o);return{type:"circle",shape:{cx:n.x,cy:n.y,r:4},style:{stroke:a,fill:a},silent:!0}}},customRingsLine:function(e,t,n,r,i){var o={name:"ring0",type:"custom",coordinateSystem:"none",renderItem:null,data:[0]};return o.renderItem=this.spinLine(e,t,n,r,i),o},customRingsPoint:function(e,t,n,r){var i={name:"ring4",type:"custom",coordinateSystem:"none",renderItem:null,data:[0]};return i.renderItem=this.spinPoint(e,t,n,r),i},addEffect:function(e){var t=this.options.series[0].customOptions.color,n=this.options.series[0].customOptions.radius,r=n+.1;this.customSeries.push(this.customRingsLine(0,90,e=e||0,t,n)),this.customSeries.push(this.customRingsLine(270,40,-e,t,r)),this.customSeries.push(this.customRingsLine(180,270,e,t,n)),this.customSeries.push(this.customRingsLine(90,220,-e,t,r)),"startPoint"===this.options.series[0].customOptions.pointState&&(this.customSeries.push(this.customRingsPoint(270,-e,t,r)),this.customSeries.push(this.customRingsPoint(90,-e,t,r)))},startEffect:function(){var e=this,t=0;this.startSpin=setInterval(function(){e.options.series&&"customRingsSeries"===e.options.series[0].customType&&(e.customSeries=[],t+=3,e.addEffect(t))},100)},customRenderItem:function(){}},connect:function(e){i.default&&i.default.connect(e)},disconnect:function(e){i.default&&i.default.disConnect(e)},registerMap:function(e,t,n){i.default&&i.default.registerMap(e,t,n)},registerTheme:function(e,t){i.default&&i.default.registerTheme(e,t)},graphic:i.default&&i.default.graphic};t.default=r},"mv/X":function(e,t,n){var i=n("ljhN"),o=n("MMmD"),a=n("wJg7"),s=n("GoyQ");e.exports=function(e,t,n){var r;return!!s(n)&&!!("number"==(r=typeof t)?o(n)&&a(t,n.length):"string"==r&&t in n)&&i(n[t],e)}},mwIZ:function(e,t,n){var r=n("ZWtO");e.exports=function(e,t,n){return void 0===(e=null==e?void 0:r(e,t))?n:e}},mxIc:function(e,t){e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},n1Yy:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("kbfI"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},n4aT:function(e,t,n){"use strict";n.r(t);var r,i=n("p7ul"),o=n("tA+t");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},n502:function(e,t,n){"use strict";n.r(t),n.d(t,"ProgressType",function(){return M}),n.d(t,"ProgressSize",function(){return P}),n.d(t,"ProgressProps",function(){return k});var r=n("YEIV"),d=n.n(r),r=n("QbLZ"),c=n.n(r),r=n("TSYQ"),f=n.n(r),r=n("TZE5"),h=n("2qPA"),i=n("TfX5"),p=n("DGO/"),o=n("jo6Y"),y=n.n(o),o=n("sk9p"),m=n.n(o);function g(e){return!e||e<0?0:100<e?100:e}function v(e){var t=void 0===(t=e.from)?"#1890ff":t,n=void 0===(n=e.to)?"#1890ff":n,r=void 0===(r=e.direction)?"to right":r,e=y()(e,["from","to","direction"]);return 0!==Object.keys(e).length?{backgroundImage:"linear-gradient("+r+", "+function(e){var t=[],n=!0,r=!1,i=void 0;try{for(var o,a=Object.entries(e)[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value,l=m()(s,2),u=l[0],c=l[1],f=parseFloat(u.replace(/%/g,""));if(isNaN(f))return{};t.push({key:f,value:c})}}catch(e){r=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return(t=t.sort(function(e,t){return e.key-t.key})).map(function(e){var t=e.key;return e.value+" "+t+"%"}).join(", ")}(e)+")"}:{backgroundImage:"linear-gradient("+r+", "+t+", "+n+")"}}var b={functional:!0,render:function(e,t){var n=t.props,t=t.children,r=n.prefixCls,i=n.percent,o=n.successPercent,a=n.strokeWidth,s=n.size,l=n.strokeColor,n=n.strokeLinecap,u=void 0,u=l&&"string"!=typeof l?v(l):{background:l},i=c()({width:g(i)+"%",height:(a||("small"===s?6:8))+"px",background:l,borderRadius:"square"===n?0:"100px"},u),l={width:g(o)+"%",height:(a||("small"===s?6:8))+"px",borderRadius:"square"===n?0:""},u=void 0!==o?e("div",{class:r+"-success-bg",style:l}):null;return e("div",[e("div",{class:r+"-outer"},[e("div",{class:r+"-inner"},[e("div",{class:r+"-bg",style:i}),u])]),t])}},o=n("kvrn"),_=n.n(o),o=n("i7/w"),o=n.n(o),a=n("Rs/M"),n=n.n(a);var a=function(e){return{mixins:[e],updated:function(){var t=this,n=Date.now(),r=!1;Object.keys(this.paths).forEach(function(e){var e=t.paths[e];e&&(r=!0,(e=e.style).transitionDuration=".3s, .3s, .3s, .06s",t.prevTimeStamp)&&n-t.prevTimeStamp<100&&(e.transitionDuration="0s, 0s")}),r&&(this.prevTimeStamp=Date.now())}}},s=r.a.oneOfType([r.a.number,r.a.string]),s={percent:r.a.oneOfType([s,r.a.arrayOf(s)]),prefixCls:r.a.string,strokeColor:r.a.oneOfType([r.a.string,r.a.arrayOf(r.a.oneOfType([r.a.string,r.a.object])),r.a.object]),strokeLinecap:r.a.oneOf(["butt","round","square"]),strokeWidth:s,trailColor:r.a.string,trailWidth:s},s=c()({},s,{gapPosition:r.a.oneOf(["top","bottom","left","right"]),gapDegree:r.a.oneOfType([r.a.number,r.a.string,r.a.bool])}),l=c()({},{percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1},{gapPosition:"top"}),u=(o.a.use(n.a,{name:"ant-ref"}),0);function x(e){return+e.replace("%","")}function w(e){return Array.isArray(e)?e:[e]}function A(e,t,n,r,i,o){var i=4<arguments.length&&void 0!==i?i:0,a=50-r/2,s=0,l=-a,u=0,c=-2*a;switch(o){case"left":s=-a,u=2*a,c=l=0;break;case"right":u=-2*(s=a),c=l=0;break;case"bottom":c=2*(l=a)}r=2*Math.PI*a;return{pathString:"M 50,50 m "+s+","+l+"\n a "+a+","+a+" 0 1 1 "+u+","+-c+"\n a "+a+","+a+" 0 1 1 "+-u+","+c,pathStyle:{stroke:n,strokeDasharray:t/100*(r-i)+"px "+r+"px",strokeDashoffset:"-"+(i/2+e/100*(r-i))+"px",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"}}}var S=a({props:Object(h.initDefaultProps)(s,l),created:function(){this.paths={},this.gradientId=u,u+=1},methods:{getStokeList:function(){var o=this,a=this.$createElement,e=this.$props,s=e.prefixCls,t=e.percent,n=e.strokeColor,l=e.strokeWidth,u=e.strokeLinecap,c=e.gapDegree,f=e.gapPosition,e=w(t),h=w(n),d=0;return e.map(function(e,t){var n=h[t]||h[h.length-1],r="[object Object]"===Object.prototype.toString.call(n)?"url(#"+s+"-gradient-"+o.gradientId+")":"",n=A(d,e,n,l,c,f),i=n.pathString,n=n.pathStyle;return d+=e,a("path",{key:t,attrs:{d:i,stroke:r,"stroke-linecap":u,"stroke-width":0===e?0:l,"fill-opacity":"0"},class:s+"-circle-path",style:n,directives:[{name:"ant-ref",value:function(e){o.paths[t]=e}}]})})}},render:function(){var n=arguments[0],e=this.$props,t=e.prefixCls,r=e.strokeWidth,i=e.trailWidth,o=e.gapDegree,a=e.gapPosition,s=e.trailColor,l=e.strokeLinecap,u=e.strokeColor,e=y()(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","strokeColor"]),o=A(0,100,s,r,o,a),a=o.pathString,o=o.pathStyle;delete e.percent;var c=w(u).find(function(e){return"[object Object]"===Object.prototype.toString.call(e)}),u={attrs:{d:a,stroke:s,"stroke-linecap":l,"stroke-width":i||r,"fill-opacity":"0"},class:t+"-circle-trail",style:o};return n("svg",_()([{class:t+"-circle",attrs:{viewBox:"0 0 100 100"}},e]),[c&&n("defs",[n("linearGradient",{attrs:{id:t+"-gradient-"+this.gradientId,x1:"100%",y1:"0%",x2:"0%",y2:"0%"}},[Object.keys(c).sort(function(e,t){return x(e)-x(t)}).map(function(e,t){return n("stop",{key:t,attrs:{offset:e,"stop-color":c[e]}})})])]),n("path",u),this.getStokeList().reverse()])}}),C={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};var O={functional:!0,render:function(e,t){var n=t.props,t=t.children,r=n.prefixCls,i=n.width,o=n.strokeWidth,a=n.trailColor,s=n.strokeLinecap,l=n.gapPosition,u=n.gapDegree,c=n.type,i=i||120,i={width:"number"==typeof i?i+"px":i,height:"number"==typeof i?i+"px":i,fontSize:.15*i+6},o=o||6,l=l||("dashboard"===c?"bottom":"top"),u=u||"dashboard"===c&&75,f=(f=(c=n).progressStatus,h=c.successPercent,c=c.strokeColor||C[f],h?[C.success,c]:c),h="[object Object]"===Object.prototype.toString.call(f),c={};return d()(c,r+"-inner",!0),d()(c,r+"-circle-gradient",h),e("div",{class:c,style:i},[e(S,{attrs:{percent:(c=(h=n).percent,h=h.successPercent,c=g(c),h?(i=g(h),[h,g(c-i)]):c),strokeWidth:o,trailWidth:o,strokeColor:f,strokeLinecap:s,trailColor:a,prefixCls:r,gapDegree:u,gapPosition:l}}),t])}},E=["normal","exception","active","success"],M=r.a.oneOf(["line","circle","dashboard"]),P=r.a.oneOf(["default","small"]),k={prefixCls:r.a.string,type:M,percent:r.a.number,successPercent:r.a.number,format:r.a.func,status:r.a.oneOf(E),showInfo:r.a.bool,strokeWidth:r.a.number,strokeLinecap:r.a.oneOf(["butt","round","square"]),strokeColor:r.a.oneOfType([r.a.string,r.a.object]),trailColor:r.a.string,width:r.a.number,gapDegree:r.a.number,gapPosition:r.a.oneOf(["top","bottom","left","right"]),size:P};t.default={name:"AProgress",props:Object(h.initDefaultProps)(k,{type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"}),inject:{configProvider:{default:function(){return i.a}}},methods:{getPercentNumber:function(){var e=this.$props,t=e.successPercent,e=e.percent;return parseInt((void 0!==t?t:void 0===e?0:e).toString(),10)},getProgressStatus:function(){var e=this.$props.status;return E.indexOf(e)<0&&100<=this.getPercentNumber()?"success":e||"normal"},renderProcessInfo:function(e,t){var n,r,i=this.$createElement,o=this.$props,a=o.showInfo,s=o.format,l=o.type,u=o.percent,o=o.successPercent;return a?(a=void 0,n=s||this.$scopedSlots.format||function(e){return e+"%"},r="circle"===l||"dashboard"===l?"":"-circle",s||this.$scopedSlots.format||"exception"!==t&&"success"!==t?a=n(g(u),g(o)):"exception"===t?a=i(p.default,{attrs:{type:"close"+r,theme:"line"===l?"filled":"outlined"}}):"success"===t&&(a=i(p.default,{attrs:{type:"check"+r,theme:"line"===l?"filled":"outlined"}})),i("span",{class:e+"-text",attrs:{title:"string"==typeof a?a:void 0}},[a])):null}},render:function(){var e=arguments[0],t=Object(h.getOptionProps)(this),n=t.prefixCls,r=t.size,i=t.type,o=t.showInfo,n=(0,this.configProvider.getPrefixCls)("progress",n),a=this.getProgressStatus(),s=this.renderProcessInfo(n,a),l=void 0,u=("line"===i?(u={props:c()({},t,{prefixCls:n})},l=e(b,u,[s])):"circle"!==i&&"dashboard"!==i||(u={props:c()({},t,{prefixCls:n,progressStatus:a})},l=e(O,u,[s])),f()(n,(t={},d()(t,n+"-"+("dashboard"===i?"circle":i),!0),d()(t,n+"-status-"+a,!0),d()(t,n+"-show-info",o),d()(t,n+"-"+r,r),t)));return e("div",{on:Object(h.getListeners)(this),class:u},[l])}}},n54j:function(e,t,n){"use strict";n.r(t);var r,i=n("lNsT"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},n6BM:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.subMenuTypes=t.default=void 0,r(n("VfG/"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={parentMenu:o.default.object,title:o.default.any,selectedKeys:o.default.array.def([]),openKeys:o.default.array.def([]),openChange:o.default.func,rootPrefixCls:o.default.string,eventKey:o.default.oneOfType([o.default.string,o.default.number]),multiple:o.default.bool,active:o.default.bool,isRootMenu:o.default.bool.def(!1),index:o.default.number,triggerSubMenuAction:o.default.string,popupClassName:o.default.string,getPopupContainer:o.default.func,forceSubMenuRender:o.default.bool,openAnimation:o.default.oneOfType([o.default.string,o.default.object]),disabled:o.default.bool,subMenuOpenDelay:o.default.number.def(.1),subMenuCloseDelay:o.default.number.def(.1),level:o.default.number.def(1),inlineIndent:o.default.number.def(24),openTransitionName:o.default.string,popupOffset:o.default.array,isOpen:o.default.bool,store:o.default.object,mode:o.default.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]).def("vertical"),manualRef:o.default.func,builtinPlacements:o.default.object.def(function(){return{}}),itemIcon:o.default.any,expandIcon:o.default.any,subMenuKey:o.default.string},o=(t.subMenuTypes=n,{name:"SmSubMenu",isSubMenu:!0,defaultComponent:i.default.SubMenu,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},n6S8:function(e,t,n){"use strict";var r=n("SN6V"),i=Math.max,o=Math.min;e.exports=function(e,t){e=r(e);return e<0?i(e+t,0):o(e,t)}},nCzB:function(e,t,n){"use strict";var u=n("Ks5W"),c=n("fKql").f,f=n("8ODz"),h=n("WaP5"),d=n("X4md"),p=n("Ttl4"),y=n("mGb/");e.exports=function(e,t){var n,r,i,o=e.target,a=e.global,s=e.stat,l=a?u:s?u[o]||d(o,{}):(u[o]||{}).prototype;if(l)for(n in t){if(r=t[n],i=e.dontCallGetSet?(i=c(l,n))&&i.value:l[n],!y(a?n:o+(s?".":"#")+n,e.forced)&&void 0!==i){if(typeof r==typeof i)continue;p(r,i)}(e.sham||i&&i.sham)&&f(r,"sham",!0),h(l,n,r,e)}}},nDi8:function(e,t,n){"use strict";var r=n("TqRt"),o=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),a=(n("Qu1R"),n("upFX"),function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=s(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("+Db8"))),y=n("e7LN");function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}r=function(i){function e(e,t,n){var r;return void 0===n&&(n={}),(r=i.call(this)||this).url=e,r.withCredentials=t||!1,r.epsgCode=n.epsgCode,r.iportalServiceProxyUrl=n.iportalServiceProxyUrl,r.eventTypes=["getdatasucceeded","getdatafailed","featureisempty"],r.resourceId=n.resourceId,r.resourceId&&(r.url=(0,y.handleDataParentRes)(e,r.resourceId,"DATA")),r.initSerivce(r.url),r}(0,o.default)(e,i);var t=e.prototype;return t.initSerivce=function(e){var t=this;this.iserverService=new a.default(e,{epsgCode:this.epsgCode}),this.iserverService.on({getdatasucceeded:function(e){t.triggerEvent("getdatasucceeded",e)},getdatafailed:function(e){t.triggerEvent("getdatafailed",e)},featureisempty:function(e){t.triggerEvent("featureisempty",e)}})},t.getData=function(n,e){var r,i=this;void 0===e&&(e=!1),this.url&&(r=this.url,e?this._getDatafromContent(r,n):SuperMap.FetchRequest.get(r,null,{withCredentials:this.withCredentials}).then(function(e){return e.json()}).then(function(e){var t;!1===e.succeed?i.triggerEvent("getdatafailed",{data:e}):e.dataItemServices&&0<e.dataItemServices.length&&(e=e.dataItemServices.find(function(e){return("RESTDATA"===e.serviceType||"RESTMAP"===e.serviceType)&&"PUBLISHED"===e.serviceStatus}))&&e.address?(t=e.address,i.resourceId&&(t=(0,y.handleDataParentRes)(t,i.resourceId,"DATA")),i._getDatafromRest(e.serviceType,t,n)):i._getDatafromContent(r,n)}).catch(function(e){console.log(e),i.triggerEvent("getdatafailed",{error:e})}))},t._getDatafromRest=function(e,t,n){var r,i,o,a,s,l,u,c=this;"RESTDATA"===e?(r=SuperMap.Util.urlPathAppend(t,"data/datasources"),SuperMap.FetchRequest.get(r,null,{withCredentials:(0,y.handleWithCredentials)(r,this.iportalServiceProxyUrl,this.withCredentials)}).then(function(e){return e.json()}).then(function(e){i=e.datasourceNames&&e.datasourceNames[0],r=SuperMap.Util.urlPathAppend(t,"data/datasources/"+i+"/datasets"),SuperMap.FetchRequest.get(r,null,{withCredentials:(0,y.handleWithCredentials)(r,c.iportalServiceProxyUrl,c.withCredentials)}).then(function(e){return e.json()}).then(function(e){o=e.datasetNames[0],c.iserverService.getDataFeatures({datasetName:o,dataSourceName:i,dataUrl:SuperMap.Util.urlPathAppend(t,"data")},Object.assign({},n,{withCredentials:(0,y.handleWithCredentials)(r,c.iportalServiceProxyUrl,c.withCredentials)}))}).catch(function(e){console.log(e),c.triggerEvent("getdatafailed",{error:e})})})):(a=SuperMap.Util.urlPathAppend(t,"maps"),SuperMap.FetchRequest.get(a,null,{withCredentials:(0,y.handleWithCredentials)(a,this.iportalServiceProxyUrl,this.withCredentials)}).then(function(e){return e.json()}).then(function(e){e[0]&&(s=e[0].name,u=e[0].path,c.resourceId)&&(u=(0,y.handleDataParentRes)(u,c.resourceId,"DATA")),a=SuperMap.Util.urlPathAppend(t,"maps/"+s+"/layers"),SuperMap.FetchRequest.get(a,null,{withCredentials:(0,y.handleWithCredentials)(a,c.iportalServiceProxyUrl,c.withCredentials)}).then(function(e){return e.json()}).then(function(e){return l=e[0].subLayers.layers[0].caption,c.iserverService.getMapFeatures({mapName:l,dataUrl:u},Object.assign({},n,{withCredentials:(0,y.handleWithCredentials)(a,c.iportalServiceProxyUrl,c.withCredentials)})),l}).catch(function(e){console.log(e),c.triggerEvent("getdatafailed",{error:e})})}).catch(function(e){console.log(e),c.triggerEvent("getdatafailed",{error:e})}))},t._getDatafromContent=function(e,r){var i=this,o={};e=SuperMap.Util.urlPathAppend(e,"content.json"),e=SuperMap.Util.urlAppend(e,"pageSize=9999999¤tPage=1"),SuperMap.FetchRequest.get(e,null,{withCredentials:this.withCredentials}).then(function(e){return e.json()}).then(function(e){var t,n;!1===e.succeed?i.triggerEvent("getdatafailed",{data:e}):e.type&&(n="FeatureCollection","JSON"===e.type||"GEOJSON"===e.type?(e.content=JSON.parse(e.content.trim()),e.content.features||(t=i._json2Feature(e.content,r)),t=i._formatGeoJSON(t||e.content,r),n=e.content.type):"EXCEL"===e.type||"CSV"===e.type?t=i._excelData2Feature(e.content,r):"SHP"===e.type&&(e.content=JSON.parse(e.content.trim()),t=i._formatGeoJSON(e.content.layers[0])),t=i._transformContentFeatures(t),o.features={type:n,features:t},i.vertified&&(o.vertified=i.vertified),i.iserverService._getFeaturesSucceed({result:o}))}).catch(function(e){console.log(e),i.triggerEvent("getdatafailed",{error:e})})},t._formatGeoJSON=function(e,t){e=e.features;return(e=t&&0<t.maxFeatures?e.slice(0,t.maxFeatures):e).forEach(function(e,t){e.properties.index=t}),e},t._excelData2Feature=function(e,t){for(var n=e.colTitles,r=-1,i=-1,o=0,a=n.length;o<a;o++)(0,y.isXField)(n[o])&&(r=o),(0,y.isYField)(n[o])&&(i=o);var s=[],l=e.rows.length;t&&0<t.maxFeatures&&l>t.maxFeatures&&(l=t.maxFeatures);for(var u=0;u<l;u++){var c,f=e.rows[u],h=-1!==r&&Number(f[r]),f=-1!==i&&Number(f[i]),d={};for(c in e.colTitles)d[e.colTitles[c]]=e.rows[u][c];var p={type:"Feature",properties:d};h&&f&&(d.index=u+"",p.geometry={type:"Point",coordinates:[h,f]}),s.push(p)}return s},t._json2Feature=function(e){var e="string"==typeof e?JSON.parse(e):e,t=[];return e instanceof Array?e.forEach(function(e){Object.prototype.hasOwnProperty.call(e,"geometry")?t.push({properties:e.properties||e,geometry:e.geometry}):t.push({properties:e})}):e&&(t=[{properties:e}]),{features:t}},t._transformContentFeatures=function(e){var t,n=e;return e&&e.length&&(t=(0,a.vertifyEpsgCode)(e[0]),n=(0,a.transformFeatures)(t,e),this.vertified=!0),n},e}(n("peoL").Events);t.default=r},nFX3:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("PevS"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},"nJ+3":function(e,t,n){"use strict";n.r(t);var r,i=n("AHQ4");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},nKF3:function(e,t,n){"use strict";n.r(t);var r,i=n("4mgO");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},nN7q:function(e,t,n){"use strict";var r=n("TqRt"),s=(Object.defineProperty(t,"__esModule",{value:!0}),t.dealWithTheme=function(e){var t=e.style||"light",n=i.default.find(function(e){return e.label===t}),r=h(Object.assign({colorGroup:n&&n.colorGroup},e)),n=Object.assign({},o,n,e),e=d(n),n={themeStyle:Object.assign({},n,{selectedColor:r[1],hoverColor:r[4],clickColor:r[6]}),primarySerialColors:r,functionSerialColors:e,extraSerialColors:p(n,r,e)};return function(e){var t,n=e.themeStyle,r=e.primarySerialColors,i=e.functionSerialColors,e=e.extraSerialColors,o=n.colorGroup[0],a={"--antd-wave-shadow-color":o,"--primary-color":o},s=Object.assign({},n,e),o=Object.keys(s);r.forEach(function(e,t){a["--primary-"+(t+1)]=e});for(t in i)!function(n){i[n].forEach(function(e,t){t="--"+n.replace("Color","")+"-"+(t+1);a[t]=e})}(t);o.forEach(function(e){var t;["[object Object]","[object Array]"].includes((0,l.getDataType)(s[e]))||(t=y(e),a[t]=s[e]||"rgba(0, 0, 0, 0)")});e=m(n),o=(null==(r=n.styleConfig)?void 0:r.id)||"sm-component-style",r=e+" "+JSON.stringify(a,null,2).replace(/(:.+),/g,"$1;").replace(/"/g,""),e=document.getElementById(o);e||((e=document.createElement("style")).setAttribute("id",o),e.setAttribute("type","text/css"),document.head.insertBefore(e,document.head.firstChild));n={include:(null==(o=n.styleConfig)?void 0:o.include)||"style#sm-component-style, link[href*=vue-iclient-mapboxgl]",silent:!0,onlyLegacy:!0,variables:{},watch:!1};f||(n.onlyLegacy=!1,n.watch=!0,n.variables=a);(0,u.default)(n),e.innerHTML=r}(n),n},t.getExtralColors=p,t.getFunctionSerialColors=d,t.getPrimarySerialColors=h,t.getRootStyleSelector=m,t.toStyleVariable=y,r(n("E4d5"))),i=r(n("2Zn6")),l=n("e7LN"),u=r(n("vjCF")),o=i.default&&i.default[1],c="#1890ff",a={infoColor:"#1890ff",successColor:"#52c41a",warningColor:"#faad14",dangerColor:"#f5222d"},f="undefined"!=typeof window&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)");function h(e){for(var t,n=[],r=e,i=(t=r&&r.colorGroup&&r.colorGroup[0]?r.colorGroup[0]:t)||c,o=1;o<=10;o++){var a=void 0;switch(o){case 2:a=r.selectedColor||(0,l.getColorWithOpacity)(i,.15);break;case 5:a=r.hoverColor||(0,s.default)(i,o);break;case 6:a=i;break;case 7:a=r.clickColor||(0,s.default)(i,o);break;default:a=(0,s.default)(i,o)}n.push(a)}return n}function d(e){var t,r=[1,2,3,4,5,6,7],i=e||a,o={};for(t in i)!function(t){var n;Object.prototype.hasOwnProperty.call(a,t)&&(n=i[t]||a[t],o[t]=[],r.forEach(function(e){e=6===e?n:(0,s.default)(n,e);o[t].push(e)}))}(t);return o}function p(e,t,n){var r=(0,l.getDarkenColor)(e.backgroundLight,3);return{textColorWithoutOpacity:(0,l.getColorWithOpacity)(e.textColor,1,!1),backgroundWithoutOpacity:(0,l.getColorWithOpacity)(e.background,1,!1),componentBackgroundWithoutOpacity:(0,l.getColorWithOpacity)(e.componentBackground,1,!1),primaryShadowColor:(0,l.getColorWithOpacity)(t[4],.25),dangerShadowColor:(0,l.getColorWithOpacity)(n.dangerColor[4],.25),disabledDarkenBgColor10:(0,l.getDarkenColor)(e.containerDisabled,10),tableHeaderSortActiveBg:r,tableHeaderFilterActiveBg:(0,l.getDarkenColor)(r,5)}}function y(e){return"--"+e.replace(/[A-Z]/g,"-$&").toLowerCase()}function m(e){var t;return null!=(t=e.styleConfig)&&t.className&&f?"."+e.styleConfig.className:":root"}},nPXg:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.install=void 0,Object.defineProperty(t,"videoPlayer",{enumerable:!0,get:function(){return i.default}}),r(n("VYpe")));t.install=function(e,t){t&&(t.options&&(i.default.props.globalOptions.default=function(){return t.options}),t.events)&&(i.default.props.globalEvents.default=function(){return t.events}),e.component(i.default.name,i.default)}},ngAh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDevice=function(e){void 0===e&&(e={});r=r||function(e){var e=(void 0===e?{}:e).userAgent,t=(0,h.getSupport)(),n=(0,f.getWindow)(),r=n.navigator.platform,e=e||n.navigator.userAgent,i={ios:!1,android:!1},o=n.screen.width,n=n.screen.height,a=e.match(/(Android);?[\s\/]+([\d.]+)?/),s=e.match(/(iPad).*OS\s([\d_]+)/),l=e.match(/(iPod)(.*OS\s([\d_]+))?/),u=!s&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/),c="Win32"===r,r="MacIntel"===r;!s&&r&&t.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(o+"x"+n)&&(s=(s=e.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"]);a&&!c&&(i.os="android",i.android=!0);(s||u||l)&&(i.os="ios",i.ios=!0);return i}(e);return r};var r,f=n("/xfr"),h=n("OsfX")},njMg:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=r(n("uTlj")),r=function(r){function e(e,t){var n=r.call(this)||this;return n.map=e,n.mapObject=null,n.options=t.options||{},n.latLng=t.latLng,n.content=t.content,n.createPopup(),n}(0,i.default)(e,r);var t=e.prototype;return t.createPopup=function(){this.mapObject=o.default.popup(this.options),this.setLatLng(),this.setContent()},t.setContent=function(e){void 0===e&&(e=this.content),this.mapObject&&e&&this.mapObject.setContent(e)},t.setLatLng=function(e){void 0===e&&(e=this.latLng),this.mapObject&&e&&this.mapObject.setLatLng(e)},t.getPopup=function(){return this.mapObject},t.openOnMap=function(){this.mapObject.openOn(this.map)},t.isMap=function(e){return e instanceof o.default.Map},e}(o.default.Evented);t.default=r},nmnc:function(e,t,n){n=n("Kz5y").Symbol;e.exports=n},noWC:function(e,t,n){"use strict";e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},npCK:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("W8MJ"))),o=r(n("VbXa")),a=r(n("TFue")),s=r(n("UBTA")),l=r(n("wd/R")),u=r(n("9csQ")),r=n("YKMj"),n=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},a=function(t){function e(){var e=t.apply(this,arguments)||this;return e.mouseTime=0,e.mouseLeft=0,e.currentTime=0,e.playState=!1,e.sliderBarWidth="0%",e.status=!1,e.draggable=!1,e.uniqueId=(0,u.default)(e.$options.name.toLowerCase()+"-"),e}(0,o.default)(e,t);var n=e.prototype;return n.draggableWatcher=function(){this.bindMouseMove("mousemove",this.handleMouseMove),this.bindMouseMove("click",this.handleMouseClick)},n.sliderBarWidthWatcher=function(){var e="100.00%"===this.sliderBarWidth?"calc(100% - "+this.sliderBarSize+"px)":this.sliderBarWidth;this.modifySliderBarStyle("left:"+e+" !important")},n.lineStyleWatcher=function(){this.modifySliderBarStyle("width:"+this.sliderBarSize+"px !important;height:"+this.sliderBarSize+"px !important")},n.checkpointStyleWatcher=function(){this.modifySliderBarStyle(this.checkPointStyle)},n.currentTimeWatcher=function(){(this.isDataDuration&&this.currentTime>=1e3*this.dataDuration||!this.isDataDuration&&this.currentTime>=this.duration)&&(this.loop?this.loop&&this.playState&&(this.currentTime=0):(this.updateDom(),this.emitEnd())),this.timePlayerChange()},n.autoPlayWatcher=function(){this.autoPlay?this.emitPlaying():this.emitPause()},n.playStateWatcher=function(){this.emitTimePlayerPlay()},n.mounted=function(){var t=this;this.$nextTick(function(){return t.bindDrag(t.uniqueId)}),this.$on("playing",this.enableInterval_),this.$on("pause",this.disableInterval_),this.$on("end",this.disableInterval_),this.bindMouseMove("mousemove",this.handleMouseMove),this.bindMouseMove("click",this.handleMouseClick),this.$on("theme-style-changed",function(){var e="100.00%"===t.sliderBarWidth?"calc(100% - "+t.sliderBarSize+")":t.sliderBarWidth;t.modifySliderBarStyle(t.checkPointStyle+"left:"+e+" !important")}),this.init()},n.beforeDestroy=function(){this.$off("playing",this.enableInterval_),this.$off("pause",this.disableInterval_),this.$off("end",this.disableInterval_)},n.init=function(){this.autoPlay?this.emitPlaying():this.emitPause()},n.bindMouseMove=function(e,t,n){void 0===n&&(n=this.uniqueId);n=document.getElementsByClassName(n)[0];this.draggable?n.removeEventListener(e,t):n.addEventListener(e,t)},n.bindDrag=function(e){var t=this;(0,s.default)("."+e).draggable({startAxis:"x",lockAxis:"x",enabled:!0,inertia:!0,modifiers:[s.default.modifiers.restrict({restriction:"self"})],cursorChecker:function(){return"pointer"},listeners:{start:function(){t.draggable=!0},move:function(e){t.draggable&&t.handleDragMove(e)},end:function(){t.draggable=!1}}})},n.changePlayState=function(){this.playState=!this.playState,this.playState?this.emitPlaying():this.emitPause()},n.updateDom=function(){var e,t=this;return this.$el?(e=this.getProgress(),this.draggable||this.requestNamedAnimationFrame("Slider#update",function(){t.sliderBarWidth=(100*e).toFixed(2)+"%"}),this.sliderBarWidth=(100*e).toFixed(2)+"%",e):""},n.handleMouseClick=function(e,t){var n=this.getCurrentTime_(e,t);this.setcurrentTime(n),this.handleMouseMove(e,t),this.playState?setTimeout(this.updateDom,1e3):this.updateDom()},n.handleMouseMove=function(e,t){var n=this.getCurrentTime_(e,t);this.mouseTime=n,this.mouseLeft=e.offsetX||t*this.getTotalDistance()},n.handleDragMove=function(e){var t=this.getTotalDistance(),t=e.dx/t+this.getProgress();this.handleMouseClick(e,t),this.handleMouseMove(e,t)},n.setcurrentTime=function(e){void 0!==e&&(e<0&&(e=0),this.currentTime=this.isDataDuration?1e3*e:e)},n.getTotalDistance=function(e){return void 0===e&&(e=this.uniqueId),document.getElementsByClassName(e)[0].offsetWidth},n.getProgress=function(){return Number(this.clamp(this.getPercent(),0,1).toFixed(4))},n.getPercent=function(){return this.isDataDuration?this.currentTime/1e3/this.dataDuration:this.currentTime/this.duration},n.getCurrentTime_=function(e,t){var e=e.offsetX,n=this.getTotalDistance(),e=(t=t||e/n,(t=Math.min(1,Math.max(0,t)))*(this.isDataDuration?this.dataDuration:this.duration));return e==1/0?"":e},n.clamp=function(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))},n.enableInterval_=function(){var e=this;this.playState=!0,this.updateInterval||(this.updateInterval=setInterval(function(){e.currentTime+=e.playbackRate,e.isDataDuration?e.currentTime=e.currentTime/1e3>=e.dataDuration?1e3*e.dataDuration:e.currentTime:e.currentTime=e.currentTime>=e.duration?e.duration:e.currentTime,e.updateDom()},this.UPDATE_REFRESH_INTERVAL))},n.disableInterval_=function(){this.updateInterval&&(clearInterval(this.updateInterval),this.updateInterval=null,this.playState=!1)},n.requestAnimationFrame=function(e){var t,n=this;return this.supportsRaf_?(e=e.bind(this),t=window.requestAnimationFrame(function(){n.rafIds_.has(t)&&n.rafIds_.delete(t),e()}),this.rafIds_.add(t),t):setTimeout(e,1e3/60)},n.requestNamedAnimationFrame=function(e,t){var n=this,r=(this.namedRafs_||(this.namedRafs_={}),t=t.bind(this),this.requestAnimationFrame(function(){t(),Object.prototype.hasOwnProperty.call(n.namedRafs_,e)&&delete n.namedRafs_.name}));return this.namedRafs_[e]=r,e},n.cancelNamedAnimationFrame=function(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))},n.cancelAnimationFrame=function(e){return this.rafIds_||(this.rafIds_={}),Object.prototype.hasOwnProperty.call(this.rafIds_,e)&&(delete this.rafIds_[e],window.cancelAnimationFrame(e)),e},n.formatTime=function(e){var t,n;return this.formatter?this.formatter(e):(t=this.isDataDuration?"YYYY-MM--DD HH:mm:ss":"HH:mm:ss",n=this.isDataDuration?this.timestamp2Date(e):this.duration2Date(e),(0,l.default)(n,t).isValid()?n:e)},n.timestamp2Date=function(e){return e?(0,l.default)(1e3*e).format("YYYY-MM-DD HH:mm:ss"):""},n.duration2Date=function(e){void 0===e&&(e=this.duration);e=l.default.duration(e,"milliseconds");return[this.getZeroPlaceholder(e.hours()),this.getZeroPlaceholder(e.minutes()),this.getZeroPlaceholder(e.seconds())].join(":")},n.getZeroPlaceholder=function(e){return 0===e?"00":parseInt(e/10)<=0?"0"+e:e},n.modifySliderBarStyle=function(e,t){void 0===t&&(t="."+this.uniqueId+"::before"),document.styleSheets[0].addRule(t,e)},n.timePlayerChange=function(){var e,t,n=this,r=this.currentTime+1e3*this.startValue;return this.isDataDuration?(t=-1===(e=this.data.findIndex(function(e,t){if(t<n.data.length-1){t=n.data[t+1];if(1e3*e<=r&&r<1e3*t)return!0}return!1}))?-1:e+1<=this.data.length?e+1:e,{currentTimeStamp:r,lastIndex:e,nextIndex:t}):{currentDuration:r}},n.emitPlaying=function(){},n.emitPause=function(){},n.emitEnd=function(){},n.emitTimePlayerPlay=function(){return this.playState},(0,i.default)(e,[{key:"color",get:function(){return this.getColor(0)}},{key:"showLabel",get:function(){return!this.label||!Object.prototype.hasOwnProperty.call(this.label,"show")||this.label.show}},{key:"formatter",get:function(){return(this.label||{}).formatter}},{key:"newThemeStyle",get:function(){return Object.assign(this.themeStyle||{})}},{key:"newLabelStyle",get:function(){var e=Object.assign({color:this.getTextColor},this.label);return delete e.formatter,Object.assign(e||{})}},{key:"isDataDuration",get:function(){return!this.duration}},{key:"startValue",get:function(){return this.isDataDuration?this.data[0]:0}},{key:"endValue",get:function(){var e;return this.isDataDuration?(e=this.data.length)<1?"":this.data[e-1]:this.duration}},{key:"startFormat",get:function(){return void 0===this.startValue?"":this.formatTime(this.startValue)}},{key:"endFormat",get:function(){return this.formatTime(this.endValue)}},{key:"UPDATE_REFRESH_INTERVAL",get:function(){return this.playInterval/30}},{key:"playbackRate",get:function(){var e;return this.isDataDuration?!this.data||this.data.length<2?0:(e=this.data.length,e=this.playInterval*(e-1),1e3*(this.dataDuration/(e/this.UPDATE_REFRESH_INTERVAL))):this.UPDATE_REFRESH_INTERVAL}},{key:"current",get:function(){var e=(this.isDataDuration?this.currentTime/1e3:this.currentTime)+this.startValue;return this.formatTime(e)}},{key:"mouseCurrent",get:function(){var e;return!this.isDataDuration||this.data&&0!==this.data.length?(e=this.mouseTime+this.startValue,this.formatTime(e)):""}},{key:"lineStyleHeight",get:function(){return this.lineStyle&&Object.prototype.hasOwnProperty.call(this.lineStyle,"height")?{height:this.lineStyle.height}:{height:"6px"}}},{key:"sliderBarSize",get:function(){var e=parseFloat(this.lineStyleHeight.height);return e<=6?2*e:1.5*e}},{key:"playProgressStyle",get:function(){var e=Object.assign({"border-color":this.color,background:this.color},this.checkpointStyle||{});return e&&e.background?{background:e.background}:{}}},{key:"checkPointStyle",get:function(){var e,t="";for(e in this.checkpointStyle)t+=e+": "+this.checkpointStyle[e]+" !important;";return t}},{key:"dataDuration",get:function(){var e,t;return this.isDataDuration&&(e=this.data||[],t=parseInt(e[0])||0,(1<e.length?parseInt(e[e.length-1]):t)-t)||0}}]),e}((0,r.Mixins)(a.default));n([(0,r.Prop)({default:!1})],a.prototype,"autoPlay",void 0),n([(0,r.Prop)({default:!0})],a.prototype,"loop",void 0),n([(0,r.Prop)({default:1e3})],a.prototype,"playInterval",void 0),n([(0,r.Prop)()],a.prototype,"duration",void 0),n([(0,r.Prop)({default:function(){return[]}})],a.prototype,"data",void 0),n([(0,r.Prop)({default:function(){return{}}})],a.prototype,"label",void 0),n([(0,r.Prop)({default:function(){return{}}})],a.prototype,"lineStyle",void 0),n([(0,r.Prop)({default:function(){return{}}})],a.prototype,"checkpointStyle",void 0),n([(0,r.Prop)({default:function(){return{}}})],a.prototype,"themeStyle",void 0),n([(0,r.Watch)("draggable")],a.prototype,"draggableWatcher",null),n([(0,r.Watch)("sliderBarWidth")],a.prototype,"sliderBarWidthWatcher",null),n([(0,r.Watch)("lineStyleHeight")],a.prototype,"lineStyleWatcher",null),n([(0,r.Watch)("checkpointStyle",{immediate:!0})],a.prototype,"checkpointStyleWatcher",null),n([(0,r.Watch)("currentTime",{immediate:!0})],a.prototype,"currentTimeWatcher",null),n([(0,r.Watch)("autoPlay",{immediate:!0})],a.prototype,"autoPlayWatcher",null),n([(0,r.Watch)("playState",{immediate:!0})],a.prototype,"playStateWatcher",null),n([(0,r.Emit)("timeplayerchanged")],a.prototype,"timePlayerChange",null),n([(0,r.Emit)("playing")],a.prototype,"emitPlaying",null),n([(0,r.Emit)("pause")],a.prototype,"emitPause",null),n([(0,r.Emit)("end")],a.prototype,"emitEnd",null),n([(0,r.Emit)("timeplayerplaychanged")],a.prototype,"emitTimePlayerPlay",null),a=n([(0,r.Component)({name:"SmTimeSlider"})],a);t.default=a},nvEG:function(e,t,n){"use strict";function g(e,t){this.stopped=e,this.result=t}var v=n("mcoe"),b=n("m7zg"),_=n("WxoH"),x=n("IL+x"),w=n("3n0U"),A=n("tMNq"),S=n("3Xd8"),C=n("hIaP"),O=n("ltkU"),E=n("iBj/"),M=TypeError,P=g.prototype;e.exports=function(e,t,n){function r(e){return o&&E(o,"normal",e),new g(!0,e)}function i(e){return h?(_(e),y?m(e[0],e[1],r):m(e[0],e[1])):y?m(e,r):m(e)}var o,a,s,l,u,c,f=n&&n.that,h=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),m=v(t,f);if(d)o=e.iterator;else if(p)o=e;else{if(!(n=O(e)))throw M(x(e)+" is not iterable");if(w(n)){for(a=0,s=A(e);a<s;a++)if((l=i(e[a]))&&S(P,l))return l;return new g(!1)}o=C(e,n)}for(u=(d?e:o).next;!(c=b(u,o)).done;){try{l=i(c.value)}catch(e){E(o,"throw",e)}if("object"==typeof l&&l&&S(P,l))return l}return new g(!1)}},nvtG:function(e,t,n){"use strict";n.r(t);var r,i=n("QpfG");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},nyYc:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],o;e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},nyfm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1}},nyww:function(e,t,n){"use strict";var r=n("TqRt"),c=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("/xfr")),f=r(n("XGUr")),h=r(n("g1JZ")),d=r(n("VjSb")),p=r(n("D3OB")),y=r(n("l9qo")),m=r(n("C7JN")),g=!1;function v(){}t.default={attachEvents:function(){var e,t=this,n=(0,c.getDocument)(),r=t.params,i=t.touchEvents,o=t.el,a=t.wrapperEl,s=t.device,l=t.support,u=(t.onTouchStart=f.default.bind(t),t.onTouchMove=h.default.bind(t),t.onTouchEnd=d.default.bind(t),r.cssMode&&(t.onScroll=m.default.bind(t)),t.onClick=y.default.bind(t),!!r.nested);!l.touch&&l.pointerEvents?(o.addEventListener(i.start,t.onTouchStart,!1),n.addEventListener(i.move,t.onTouchMove,u),n.addEventListener(i.end,t.onTouchEnd,!1)):(l.touch&&(e=!("touchstart"!==i.start||!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1},o.addEventListener(i.start,t.onTouchStart,e),o.addEventListener(i.move,t.onTouchMove,l.passiveListener?{passive:!1,capture:u}:u),o.addEventListener(i.end,t.onTouchEnd,e),i.cancel&&o.addEventListener(i.cancel,t.onTouchEnd,e),g||(n.addEventListener("touchstart",v),g=!0)),(r.simulateTouch&&!s.ios&&!s.android||r.simulateTouch&&!l.touch&&s.ios)&&(o.addEventListener("mousedown",t.onTouchStart,!1),n.addEventListener("mousemove",t.onTouchMove,u),n.addEventListener("mouseup",t.onTouchEnd,!1))),(r.preventClicks||r.preventClicksPropagation)&&o.addEventListener("click",t.onClick,!0),r.cssMode&&a.addEventListener("scroll",t.onScroll),r.updateOnWindowResize?t.on(s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",p.default,!0):t.on("observerUpdate",p.default,!0)},detachEvents:function(){var e,t=this,n=(0,c.getDocument)(),r=t.params,i=t.touchEvents,o=t.el,a=t.wrapperEl,s=t.device,l=t.support,u=!!r.nested;!l.touch&&l.pointerEvents?(o.removeEventListener(i.start,t.onTouchStart,!1),n.removeEventListener(i.move,t.onTouchMove,u),n.removeEventListener(i.end,t.onTouchEnd,!1)):(l.touch&&(e=!("onTouchStart"!==i.start||!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1},o.removeEventListener(i.start,t.onTouchStart,e),o.removeEventListener(i.move,t.onTouchMove,u),o.removeEventListener(i.end,t.onTouchEnd,e),i.cancel)&&o.removeEventListener(i.cancel,t.onTouchEnd,e),(r.simulateTouch&&!s.ios&&!s.android||r.simulateTouch&&!l.touch&&s.ios)&&(o.removeEventListener("mousedown",t.onTouchStart,!1),n.removeEventListener("mousemove",t.onTouchMove,u),n.removeEventListener("mouseup",t.onTouchEnd,!1))),(r.preventClicks||r.preventClicksPropagation)&&o.removeEventListener("click",t.onClick,!0),r.cssMode&&a.removeEventListener("scroll",t.onScroll),t.off(s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",p.default)}}},nzyA:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("rfdF"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},o0o1:function(e,t,n){n=n("fsL8")();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},o1bE:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var s=function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},l={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},t=function(a){return function(e,t,n,r){var i=s(e),o=l[a][s(e)];if(i===2)o=o[t?0:1];return o.replace(/%d/i,e)}},n=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],r;e.defineLocale("ar-dz",{months:n,monthsShort:n,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){if(e<12)return"ص";else return"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:t("s"),ss:t("s"),m:t("m"),mm:t("m"),h:t("h"),hh:t("h"),d:t("d"),dd:t("d"),M:t("M"),MM:t("M"),y:t("y"),yy:t("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n("wd/R"))},"o4w+":function(e,t,n){"use strict";n.r(t);var r,i=n("lyx3"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},o5UB:function(e,t,n){var r=n("cDf5").default,i=n("5Q0V");e.exports=function(e){return e=i(e,"string"),"symbol"===r(e)?e:String(e)},e.exports.__esModule=!0,e.exports.default=e.exports},o6Ky:function(e,t,n){"use strict";function o(e,t,n){var t=Object(f.b)(t),r=e.getState();e.setState({defaultActiveFirst:g()({},r.defaultActiveFirst,m()({},t,n))})}var r=n("kvrn"),y=n.n(r),r=n("EJiy"),s=n.n(r),r=n("YEIV"),m=n.n(r),r=n("QbLZ"),g=n.n(r),v=n("Sx0+"),r=n("TZE5"),b=n("hJbE"),a=n("GKdC"),i=n("6Qq3"),l=n("FGKw"),u={adjustX:1,adjustY:1},_={topLeft:{points:["bl","tl"],overflow:u,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:u,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:u,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:u,offset:[4,0]}},u=n("tIgm"),x=n("2qPA"),c=n("1B3U"),f=n("K4mi"),h=n("lOvz"),w=0,A={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},n={name:"SubMenu",props:{parentMenu:r.a.object,title:r.a.any,selectedKeys:r.a.array.def([]),openKeys:r.a.array.def([]),openChange:r.a.func.def(f.h),rootPrefixCls:r.a.string,eventKey:r.a.oneOfType([r.a.string,r.a.number]),multiple:r.a.bool,active:r.a.bool,isRootMenu:r.a.bool.def(!1),index:r.a.number,triggerSubMenuAction:r.a.string,popupClassName:r.a.string,getPopupContainer:r.a.func,forceSubMenuRender:r.a.bool,openAnimation:r.a.oneOfType([r.a.string,r.a.object]),disabled:r.a.bool,subMenuOpenDelay:r.a.number.def(.1),subMenuCloseDelay:r.a.number.def(.1),level:r.a.number.def(1),inlineIndent:r.a.number.def(24),openTransitionName:r.a.string,popupOffset:r.a.array,isOpen:r.a.bool,store:r.a.object,mode:r.a.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]).def("vertical"),manualRef:r.a.func.def(f.h),builtinPlacements:r.a.object.def(function(){return{}}),itemIcon:r.a.any,expandIcon:r.a.any,subMenuKey:r.a.string},mixins:[u.a],isSubMenu:!0,data:function(){var e=this.$props,t=e.store,e=e.eventKey,n=t.getState().defaultActiveFirst,r=!1;return n&&(r=n[e]),o(t,e,r),{}},mounted:function(){var e=this;this.$nextTick(function(){e.handleUpdated()})},updated:function(){var e=this;this.$nextTick(function(){e.handleUpdated()})},beforeDestroy:function(){var e=this.eventKey;this.__emit("destroy",e),this.minWidthTimeout&&(Object(c.a)(this.minWidthTimeout),this.minWidthTimeout=null),this.mouseenterTimeout&&(Object(c.a)(this.mouseenterTimeout),this.mouseenterTimeout=null)},methods:{handleUpdated:function(){var e=this,t=this.$props,n=t.mode,r=t.parentMenu,t=t.manualRef;t&&t(this),"horizontal"===n&&r.isRootMenu&&this.isOpen&&(this.minWidthTimeout=Object(c.b)(function(){return e.adjustWidth()},0))},onKeyDown:function(e){var t=e.keyCode,n=this.menuInstance,r=this.$props,i=r.store,r=r.isOpen;return t===a.a.ENTER?(this.onTitleClick(e),o(i,this.eventKey,!0),!0):t===a.a.RIGHT?(r?n.onKeyDown(e):(this.triggerOpenChange(!0),o(i,this.eventKey,!0)),!0):t===a.a.LEFT?(i=void 0,r?((i=n.onKeyDown(e))||(this.triggerOpenChange(!1),i=!0),i):void 0):!r||t!==a.a.UP&&t!==a.a.DOWN?void 0:n.onKeyDown(e)},onPopupVisibleChange:function(e){this.triggerOpenChange(e,e?"mouseenter":"mouseleave")},onMouseEnter:function(e){var t=this.$props,n=t.eventKey,t=t.store;o(t,n,!1),this.__emit("mouseenter",{key:n,domEvent:e})},onMouseLeave:function(e){var t=this.eventKey;(this.parentMenu.subMenuInstance=this).__emit("mouseleave",{key:t,domEvent:e})},onTitleMouseEnter:function(e){var t=this.$props.eventKey;this.__emit("itemHover",{key:t,hover:!0}),this.__emit("titleMouseenter",{key:t,domEvent:e})},onTitleMouseLeave:function(e){var t=this.eventKey;(this.parentMenu.subMenuInstance=this).__emit("itemHover",{key:t,hover:!1}),this.__emit("titleMouseleave",{key:t,domEvent:e})},onTitleClick:function(e){var t=this.$props,n=t.triggerSubMenuAction,r=t.eventKey,i=t.isOpen,t=t.store;this.__emit("titleClick",{key:r,domEvent:e}),"hover"!==n&&(this.triggerOpenChange(!i,"click"),o(t,r,!1))},onSubMenuClick:function(e){this.__emit("click",this.addKeyPath(e))},getPrefixCls:function(){return this.$props.rootPrefixCls+"-submenu"},getActiveClassName:function(){return this.getPrefixCls()+"-active"},getDisabledClassName:function(){return this.getPrefixCls()+"-disabled"},getSelectedClassName:function(){return this.getPrefixCls()+"-selected"},getOpenClassName:function(){return this.$props.rootPrefixCls+"-submenu-open"},saveMenuInstance:function(e){this.menuInstance=e},addKeyPath:function(e){return g()({},e,{keyPath:(e.keyPath||[]).concat(this.$props.eventKey)})},triggerOpenChange:function(e,t){function n(){r.__emit("openChange",{key:i,item:r,trigger:t,open:e})}var r=this,i=this.$props.eventKey;"mouseenter"===t?this.mouseenterTimeout=Object(c.b)(function(){n()},0):n()},isChildrenSelected:function(){var e={find:!1};return Object(f.f)(this.$slots.default,this.$props.selectedKeys,e),e.find},adjustWidth:function(){var e;this.$refs.subMenuTitle&&this.menuInstance&&((e=this.menuInstance.$el).offsetWidth>=this.$refs.subMenuTitle.offsetWidth||(e.style.minWidth=this.$refs.subMenuTitle.offsetWidth+"px"))},renderChildren:function(e){var t,n=this.$createElement,r=this.$props,i=Object(x.getListeners)(this),o=i.select,a=i.deselect,i=i.openChange,e={props:{mode:"horizontal"===r.mode?"vertical":r.mode,visible:r.isOpen,level:r.level+1,inlineIndent:r.inlineIndent,focusable:!1,selectedKeys:r.selectedKeys,eventKey:r.eventKey+"-menu-",openKeys:r.openKeys,openTransitionName:r.openTransitionName,openAnimation:r.openAnimation,subMenuOpenDelay:r.subMenuOpenDelay,parentMenu:this,subMenuCloseDelay:r.subMenuCloseDelay,forceSubMenuRender:r.forceSubMenuRender,triggerSubMenuAction:r.triggerSubMenuAction,builtinPlacements:r.builtinPlacements,defaultActiveFirst:r.store.getState().defaultActiveFirst[Object(f.b)(r.eventKey)],multiple:r.multiple,prefixCls:r.rootPrefixCls,manualRef:this.saveMenuInstance,itemIcon:Object(x.getComponentFromProp)(this,"itemIcon"),expandIcon:Object(x.getComponentFromProp)(this,"expandIcon"),children:e},on:{click:this.onSubMenuClick,select:o,deselect:a,openChange:i},id:this.internalMenuId},o=e.props,a=this.haveRendered;return this.haveRendered=!0,this.haveOpened=this.haveOpened||o.visible||o.forceSubMenuRender,this.haveOpened?(i=a||!o.visible||"inline"===!o.mode,e.class=" "+o.prefixCls+"-sub",t={props:a={appear:i,css:!1},on:{}},o.openTransitionName?t=Object(h.a)(o.openTransitionName,{appear:i}):"object"===s()(o.openAnimation)?(a=g()({},a,o.openAnimation.props||{}),i||(a.appear=!1)):"string"==typeof o.openAnimation&&(t=Object(h.a)(o.openAnimation,{appear:i})),"object"===s()(o.openAnimation)&&o.openAnimation.on&&(t.on=o.openAnimation.on),n("transition",t,[n(l.a,y()([{directives:[{name:"show",value:r.isOpen}]},e]))])):n("div")}},render:function(){var e,t=arguments[0],n=this.$props,r=this.rootPrefixCls,i=this.parentMenu,o=n.isOpen,a=this.getPrefixCls(),s="inline"===n.mode,l=(e={},m()(e,a,!0),m()(e,a+"-"+n.mode,!0),m()(e,this.getOpenClassName(),o),m()(e,this.getActiveClassName(),n.active||o&&!s),m()(e,this.getDisabledClassName(),n.disabled),m()(e,this.getSelectedClassName(),this.isChildrenSelected()),this.internalMenuId||(n.eventKey?this.internalMenuId=n.eventKey+"$Menu":this.internalMenuId="$__$"+ ++w+"$Menu"),{}),u={},c={},f=(n.disabled||(l={mouseleave:this.onMouseLeave,mouseenter:this.onMouseEnter},u={click:this.onTitleClick},c={mouseenter:this.onTitleMouseEnter,mouseleave:this.onTitleMouseLeave}),{}),h=(s&&(f.paddingLeft=n.inlineIndent*n.level+"px"),{}),h=(o&&(h={"aria-owns":this.internalMenuId}),{attrs:g()({"aria-expanded":o},h,{"aria-haspopup":"true",title:"string"==typeof n.title?n.title:void 0}),on:g()({},c,u),style:f,class:a+"-title",ref:"subMenuTitle"}),c=null,u=("horizontal"!==n.mode&&(c=Object(x.getComponentFromProp)(this,"expandIcon",n)),t("div",h,[Object(x.getComponentFromProp)(this,"title"),c||t("i",{class:a+"-arrow"})])),f=this.renderChildren(Object(x.filterEmpty)(this.$slots.default)),h=this.parentMenu.isRootMenu?this.parentMenu.getPopupContainer:function(e){return e.parentNode},c=A[n.mode],d=n.popupOffset?{offset:n.popupOffset}:{},p="inline"===n.mode?"":n.popupClassName,l={on:g()({},Object(v.a)(Object(x.getListeners)(this),["click"]),l),class:e};return t("li",y()([l,{attrs:{role:"menuitem"}}]),[s&&u,s&&f,!s&&t(b.a,{attrs:(e={prefixCls:a,popupClassName:a+"-popup "+r+"-"+i.theme+" "+(p||""),getPopupContainer:h,builtinPlacements:_},m()(e,"builtinPlacements",g()({},_,n.builtinPlacements)),m()(e,"popupPlacement",c),m()(e,"popupVisible",o),m()(e,"popupAlign",d),m()(e,"action",n.disabled?[]:[n.triggerSubMenuAction]),m()(e,"mouseEnterDelay",n.subMenuOpenDelay),m()(e,"mouseLeaveDelay",n.subMenuCloseDelay),m()(e,"forceRender",n.forceSubMenuRender),e),on:{popupVisibleChange:this.onPopupVisibleChange}},[t("template",{slot:"popup"},[f]),u])])}},r=Object(i.a)(function(e,t){var n=e.openKeys,r=e.activeKey,e=e.selectedKeys,i=t.eventKey,t=t.subMenuKey;return{isOpen:-1<n.indexOf(i),active:r[t]===i,selectedKeys:e}})(n);r.isSubMenu=!0,t.a=r},o8NH:function(e,t,n){var r=n("Y7ZC");r(r.S+r.F,"Object",{assign:n("kwZ1")})},"oCl/":function(e,t,n){var r=n("CH3K"),i=n("LcsW"),o=n("MvSz"),n=n("0ycA"),a=Object.getOwnPropertySymbols;e.exports=a?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:n},oK8H:function(e,t,n){"use strict";var r=n("8HiI"),i=n("x0Ve");e.exports=function(e,t){e=e[t];return i(e)?void 0:r(e)}},oR5W:function(e,t,n){"use strict";var r=n("++4Y"),i=n("FkIU"),s=n("FlRv"),l=n("WxoH"),u=n("vkZI"),c=n("Ai06");t.f=r&&!i?Object.defineProperties:function(e,t){l(e);for(var n,r=u(t),i=c(t),o=i.length,a=0;a<o;)s.f(e,n=i[a++],r[n]);return e}},oVml:function(e,t,n){function r(){}var i=n("5K7Z"),o=n("fpC5"),a=n("FpHa"),s=n("VVlx")("IE_PROTO"),l="prototype",u=function(){var e=n("Hsns")("iframe"),t=a.length;for(e.style.display="none",n("MvwC").appendChild(e),e.src="javascript:",(e=e.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;t--;)delete u[l][a[t]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(r[l]=i(e),n=new r,r[l]=null,n[s]=e):n=u(),void 0===t?n:o(n,t)}},oauk:function(e,t,n){"use strict";var r=n("GTqx"),i=n("FlRv"),o=n("4uGi");e.exports=function(e,t,n){t=r(t);t in e?i.f(e,t,o(0,n)):e[t]=n}},"otv/":function(e,t,n){var n=n("nmnc"),n=n?n.prototype:void 0,r=n?n.valueOf:void 0;e.exports=function(e){return r?Object(r.call(e)):{}}},"p/rL":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},"p/tm":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.layoutSiderTypes=t.default=void 0,r(n("mMUZ"))),o=n("H8qQ"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},o.SiderProps),o=(t.layoutSiderTypes=n,{name:"SmLayoutSider",__ANT_LAYOUT_SIDER:!0,defaultComponent:i.default.Sider,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"collapsed",event:"collapse"},props:n,computed:{extralListeners:function(){var e=this;return{collapse:function(){e.$emit.apply(e,["collapse"].concat(Array.prototype.slice.call(arguments)))}}}}});t.default=o},p1EF:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("W8MJ"))),o=r(n("VbXa")),a=r(n("i7/w")),s=n("YKMj"),l=(n("/aIJ"),r(n("AzSJ"))),u=r(n("SA+z")),c=(n("l2c0"),n("YJnY"),n("nPXg")),f=r(n("zT9C")),h=r(n("lGI3")),d=r(n("NQEM")),r=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},n=function(t){function e(){var e=t.apply(this,arguments)||this;return e.isFirst=!0,e.modalVisible=!1,e.playerOptions={},e.modalPlayerOptions={},e}(0,o.default)(e,t);var n=e.prototype;return n.modalVisibleChanged=function(){this.modalVisible&&this.modalVideoPlayer&&(this.handlePlayerOptions(),this.modalVideoPlayer.currentTime(0),this.modalVideoPlayer.play()),!this.modalVisible&&this.modalVideoPlayer&&this.modalVideoPlayer.reset()},n.urlChanged=function(){this.handlePlayerOptions(),this.replayRtmp()},n.playerOptionsChanged=function(){this.player&&this.player.el_&&this.player.load()},n.optionsChanged=function(){this.handlePlayerOptions()},n.popupChanged=function(){this.options.popupToPlay&&(this.modalVideoPlayer=this.$refs.modalVideoPlayer&&this.$refs.modalVideoPlayer.player)},n.beforeCreate=function(){l.default||console.error(this.$t("warning.videojs"))},n.created=function(){this.handlePlayerOptions()},n.getPlayer=function(){var t=this;setTimeout(function(){t.smPlayer=t.$refs.videoPlayer&&t.$refs.videoPlayer.player,t.modalVideoPlayer=t.$refs.modalVideoPlayer&&t.$refs.modalVideoPlayer.player,setTimeout(function(){t.replayRtmp()});var e=t.modalVisible?t.modalVideoPlayer:t.smPlayer;e&&(e.muted(t.options.muted),t.options.muted)&&e.volume(0),t.$emit("instance-loaded",e)})},n.replayRtmp=function(e){var t=this;void 0===e&&(e=this.player),this.isRtmp&&e&&e.el_&&(e.one("play",function(){t.timer=setTimeout(function(){clearTimeout(t.timer),e.reset(),e.src((0,f.default)(t.playerOptions.sources))},t.replayTime)}),e.one("canplay",function(){clearTimeout(t.timer)}))},n.handlePlayerOptions=function(e){if(void 0===e&&(e=this.options),!this.url)return{};if(!this.checkUrl(this.url))return d.default.warning(this.$t("warning.unsupportedVideoAddress"),1),this.playerOptions.sources&&(this.playerOptions.sources[0].src="",this.modalPlayerOptions.sources[0].src=""),{};this.isMatchPosterUrl(e.poster)||d.default.warning(this.$t("warning.unsupportedPosterAddress"),1);var t={height:"100%",autoplay:null!==e.autoplay&&e.autoplay,muted:null===e.muted||e.muted,loop:null!==e.loop&&e.loop,fluid:!1,language:"zh-CN",playbackRates:["0.7","1.0","1.5","2.0"],sources:[{src:this.url}],techOrder:["html5"],flash:{hls:{withCredentials:!1},swf:this.swf},flvjs:{mediaDataSource:{isLive:!0,cors:!0,hasAudio:!0}},preload:"auto",poster:e.poster||"",controlBar:{timeDivider:!1,durationDisplay:!1,remainingTimeDisplay:!1,fullscreenToggle:!0},notSupportedMessage:this.$t("warning.unavailableVideo")};return!this.url.includes("rtmp")&&this.url.includes(".flv")&&(t.techOrder=["html5","flvjs"],t.sources[0].type="video/x-flv"),this.url.includes(".mp4")&&(t.sources[0].type="video/mp4"),this.url.includes("rtmp")&&(t.techOrder=["flash","html5"],t.sources[0].type="rtmp/flv"),this.url.includes(".m3u8")&&(t.sources[0].type="application/x-mpegURL"),this.playerOptions=Object.assign({},t,{autoplay:this.isRtmp||e.autoplay}),this.modalPlayerOptions=Object.assign({},t,{autoplay:!0,preload:"none",height:"600"}),t},n.onPlayerPlay=function(e){e&&this.checkUrl(this.url)&&(this.isFirst&&this.options.popupToPlay&&d.default.info(this.$t("info.pressEscToExit"),3),!this.isFirst||this.options.popupToPlay||this.options.autoplay||(e.currentTime(0),this.isFirst=!1),this.options.popupToPlay?(e.pause(),e.currentTime(1),e.controlBar.el_.style.visibility="hidden",this.modalVisible=!0):this.handleControlBar(e),!this.options.popupToPlay)&&this.isFullscreen&&e.requestFullscreen()},n.onFullscreenchange=function(e){e.isFullscreen()||e.pause()},n.onModalPlayerPlay=function(e){this.handleControlBar(e)},n.onModalPlayerLoadeddata=function(e){(this.modalVideoPlayer=e).play(),this.handleControlBar(e)},n.onPlayerEnded=function(e){this.options.autoplay||this.options.popupToPlay||(e.currentTime(1),this.isFirst=!0)},n.onPlayerLoadeddata=function(e){e&&this.checkUrl(this.url)&&(this.options.popupToPlay&&e.pause(),!this.options.popupToPlay)&&this.options.autoplay&&e.play()},n.handleControlBar=function(e){var t=null===this.options.controlBar||this.options.controlBar;e.controlBar.el_.style.visibility=t?"visible":"hidden"},n.checkUrl=function(e){e=!(""===e||!this.isMatchVideoUrl(e)||e.indexOf("ogg")<0&&e.indexOf("mp4")<0&&e.indexOf("webm")<0&&e.indexOf("m3u8")<0&&e.indexOf("flv")<0&&e.indexOf("rtmp")<0);return e},n.isMatchVideoUrl=function(e){return!!e&&(!!this.isMatchFileUrl(e)||new RegExp("(https?|http|file|ftp|rtmp)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]").test(e))},n.isMatchPosterUrl=function(e){return!e||!!this.isMatchFileUrl(e)||new RegExp("(https?|http|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]").test(e)},n.isMatchFileUrl=function(e){return/^((\.\.\/)|(\.\/))/g.test(e)},(0,i.default)(e,[{key:"isRtmp",get:function(){return this.checkUrl(this.url)&&this.url.includes("rtmp://")}},{key:"isFlv",get:function(){return!u.default&&this.checkUrl(this.url)&&this.url.includes(".flv")?(console.error(this.$t("warning.flvPlayer")),!1):u.default.isSupported()&&this.checkUrl(this.url)&&this.url.includes(".flv")}},{key:"autoplay",get:function(){return this.options.autoplay&&this.checkUrl(this.url)}},{key:"player",get:function(){return this.modalVisible?this.modalVideoPlayer:this.smPlayer}},{key:"isFullFill",get:function(){return"full"===this.ratio}}]),e}(a.default);r([(0,s.Prop)()],n.prototype,"url",void 0),r([(0,s.Prop)({default:"https://vjs.zencdn.net/swf/5.4.2/video-js.swf"})],n.prototype,"swf",void 0),r([(0,s.Prop)({default:3e3})],n.prototype,"replayTime",void 0),r([(0,s.Prop)({default:!1})],n.prototype,"isFullscreen",void 0),r([(0,s.Prop)({default:"origin"})],n.prototype,"ratio",void 0),r([(0,s.Prop)({default:function(){return{muted:!0,loop:!1,popupToPlay:!1,autoplay:!1,controlBar:!0,poster:""}}})],n.prototype,"options",void 0),r([(0,s.Watch)("modalVisible")],n.prototype,"modalVisibleChanged",null),r([(0,s.Watch)("url")],n.prototype,"urlChanged",null),r([(0,s.Watch)("playerOptions")],n.prototype,"playerOptionsChanged",null),r([(0,s.Watch)("options")],n.prototype,"optionsChanged",null),r([(0,s.Watch)("options.popupToPlay")],n.prototype,"popupChanged",null),n=r([(0,s.Component)({name:"SmVideoPlayer",components:{videoPlayer:c.videoPlayer,SmModal:h.default}})],n);t.default=n},p46w:function(e,t,n){var r,i;
- /*!
- * JavaScript Cookie v2.2.1
- * https://github.com/js-cookie/js-cookie
- *
- * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
- * Released under the MIT license
- */void 0!==(n="function"==typeof(r=i=function(){function s(){for(var e=0,t={};e<arguments.length;e++){var n,r=arguments[e];for(n in r)t[n]=r[n]}return t}function u(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function e(l){function a(){}function n(e,t,n){if("undefined"!=typeof document){"number"==typeof(n=s({path:"/"},a.defaults,n)).expires&&(n.expires=new Date(+new Date+864e5*n.expires)),n.expires=n.expires?n.expires.toUTCString():"";try{var r=JSON.stringify(t);/^[\{\[]/.test(r)&&(t=r)}catch(e){}t=l.write?l.write(t,e):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var i,o="";for(i in n)n[i]&&(o+="; "+i,!0!==n[i])&&(o+="="+n[i].split(";")[0]);return document.cookie=e+"="+t+o}}function t(e,t){if("undefined"!=typeof document){for(var n={},r=document.cookie?document.cookie.split("; "):[],i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");t||'"'!==a.charAt(0)||(a=a.slice(1,-1));try{var s=u(o[0]),a=(l.read||l)(a,s)||u(a);if(t)try{a=JSON.parse(a)}catch(e){}if(n[s]=a,e===s)break}catch(e){}}return e?n[e]:n}}return a.set=n,a.get=function(e){return t(e,!1)},a.getJSON=function(e){return t(e,!0)},a.remove=function(e,t){n(e,"",s(t,{expires:-1}))},a.defaults={},a.withConverter=e,a}(function(){})})?r.call(t,n,t,e):r)&&(e.exports=n),e.exports=i()},"p5/s":function(B,R,e){"use strict";e.r(R);var d=1,p=2,y=3,N=5,z=6378137,F=6356752.314,V=.0066943799901413165,A=484813681109536e-20,m=Math.PI/2,H=.16666666666666666,Y=.04722222222222222,G=.022156084656084655,g=1e-10,v=.017453292519943295,h=57.29577951308232,b=Math.PI/4,_=2*Math.PI,u=3.14159265359,U={greenwich:0,lisbon:-9.131906111111,paris:2.337229166667,bogota:-74.080916666667,madrid:-3.687938888889,rome:12.452333333333,bern:7.439583333333,jakarta:106.807719444444,ferro:-17.666666666667,brussels:4.367975,stockholm:18.058277777778,athens:23.7163375,oslo:10.722916666667},Q={ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937}},W=/[\s_\-\/\(\)]/g;function x(e,t){if(e[t])return e[t];for(var n,r=Object.keys(e),i=t.toLowerCase().replace(W,""),o=-1;++o<r.length;)if((n=r[o]).toLowerCase().replace(W,"")===i)return e[n]}function q(e){var t,n,r,i={},o=e.split("+").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){t=t.split("=");return t.push(!0),e[t[0].toLowerCase()]=t[1],e},{}),a={proj:"projName",datum:"datumCode",rf:function(e){i.rf=parseFloat(e)},lat_0:function(e){i.lat0=e*v},lat_1:function(e){i.lat1=e*v},lat_2:function(e){i.lat2=e*v},lat_ts:function(e){i.lat_ts=e*v},lon_0:function(e){i.long0=e*v},lon_1:function(e){i.long1=e*v},lon_2:function(e){i.long2=e*v},alpha:function(e){i.alpha=parseFloat(e)*v},gamma:function(e){i.rectified_grid_angle=parseFloat(e)},lonc:function(e){i.longc=e*v},x_0:function(e){i.x0=parseFloat(e)},y_0:function(e){i.y0=parseFloat(e)},k_0:function(e){i.k0=parseFloat(e)},k:function(e){i.k0=parseFloat(e)},a:function(e){i.a=parseFloat(e)},b:function(e){i.b=parseFloat(e)},r_a:function(){i.R_A=!0},zone:function(e){i.zone=parseInt(e,10)},south:function(){i.utmSouth=!0},towgs84:function(e){i.datum_params=e.split(",").map(function(e){return parseFloat(e)})},to_meter:function(e){i.to_meter=parseFloat(e)},units:function(e){e=x(Q,i.units=e);e&&(i.to_meter=e.to_meter)},from_greenwich:function(e){i.from_greenwich=e*v},pm:function(e){var t=x(U,e);i.from_greenwich=(t||parseFloat(e))*v},nadgrids:function(e){"@null"===e?i.datumCode="none":i.nadgrids=e},axis:function(e){var t="ewnsud";3===e.length&&-1!==t.indexOf(e.substr(0,1))&&-1!==t.indexOf(e.substr(1,1))&&-1!==t.indexOf(e.substr(2,1))&&(i.axis=e)},approx:function(){i.approx=!0}};for(t in o)n=o[t],t in a?"function"==typeof(r=a[t])?r(n):i[r]=n:i[t]=n;return"string"==typeof i.datumCode&&"WGS84"!==i.datumCode&&(i.datumCode=i.datumCode.toLowerCase()),i}var K=function(e){return new t(e).output()},n=1,X=/\s/,J=/[A-Za-z]/,$=/[A-Za-z84_]/,Z=/[,\]]/,ee=/[\d\.E\-\+]/;function t(e){if("string"!=typeof e)throw new Error("not a string");this.text=e.trim(),this.level=0,this.place=0,this.root=null,this.stack=[],this.currentObject=null,this.state=n}function te(e,t,n){Array.isArray(t)&&(n.unshift(t),t=null);n=n.reduce(function(e,t){return i(t,e),e},t?{}:e);t&&(e[t]=n)}function i(e,t){if(Array.isArray(e)){var n,r=e.shift();if("PARAMETER"===r&&(r=e.shift()),1===e.length)return Array.isArray(e[0])?(t[r]={},void i(e[0],t[r])):void(t[r]=e[0]);if(e.length)if("TOWGS84"===r)t[r]=e;else if("AXIS"===r)r in t||(t[r]=[]),t[r].push(e);else switch(Array.isArray(r)||(t[r]={}),r){case"UNIT":case"PRIMEM":case"VERT_DATUM":return t[r]={name:e[0].toLowerCase(),convert:e[1]},void(3===e.length&&i(e[2],t[r]));case"SPHEROID":case"ELLIPSOID":return t[r]={name:e[0],a:e[1],rf:e[2]},void(4===e.length&&i(e[3],t[r]));case"PROJECTEDCRS":case"PROJCRS":case"GEOGCS":case"GEOCCS":case"PROJCS":case"LOCAL_CS":case"GEODCRS":case"GEODETICCRS":case"GEODETICDATUM":case"EDATUM":case"ENGINEERINGDATUM":case"VERT_CS":case"VERTCRS":case"VERTICALCRS":case"COMPD_CS":case"COMPOUNDCRS":case"ENGINEERINGCRS":case"ENGCRS":case"FITTED_CS":case"LOCAL_DATUM":case"DATUM":return e[0]=["name",e[0]],void te(t,r,e);default:for(n=-1;++n<e.length;)if(!Array.isArray(e[n]))return i(e,t[r]);return te(t,r,e)}else t[r]=!0}else t[e]=!0}t.prototype.readCharicter=function(){var e=this.text[this.place++];if(4!==this.state)for(;X.test(e);){if(this.place>=this.text.length)return;e=this.text[this.place++]}switch(this.state){case n:return this.neutral(e);case 2:return this.keyword(e);case 4:return this.quoted(e);case 5:return this.afterquote(e);case 3:return this.number(e);case-1:return}},t.prototype.afterquote=function(e){if('"'===e)this.word+='"',this.state=4;else{if(!Z.test(e))throw new Error("havn't handled \""+e+'" in afterquote yet, index '+this.place);this.word=this.word.trim(),this.afterItem(e)}},t.prototype.afterItem=function(e){","===e?(null!==this.word&&this.currentObject.push(this.word),this.word=null,this.state=n):"]"===e&&(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=n,this.currentObject=this.stack.pop(),this.currentObject||(this.state=-1))},t.prototype.number=function(e){if(ee.test(e))this.word+=e;else{if(!Z.test(e))throw new Error("havn't handled \""+e+'" in number yet, index '+this.place);this.word=parseFloat(this.word),this.afterItem(e)}},t.prototype.quoted=function(e){'"'===e?this.state=5:this.word+=e},t.prototype.keyword=function(e){var t;if($.test(e))this.word+=e;else if("["===e)(t=[]).push(this.word),this.level++,null===this.root?this.root=t:this.currentObject.push(t),this.stack.push(this.currentObject),this.currentObject=t,this.state=n;else{if(!Z.test(e))throw new Error("havn't handled \""+e+'" in keyword yet, index '+this.place);this.afterItem(e)}},t.prototype.neutral=function(e){if(J.test(e))this.word=e,this.state=2;else if('"'===e)this.word="",this.state=4;else if(ee.test(e))this.word=e,this.state=3;else{if(!Z.test(e))throw new Error("havn't handled \""+e+'" in neutral yet, index '+this.place);this.afterItem(e)}},t.prototype.output=function(){for(;this.place<this.text.length;)this.readCharicter();if(-1===this.state)return this.root;throw new Error('unable to parse string "'+this.text+'". State is '+this.state)};function s(e){return.017453292519943295*e}function ne(i){if("GEOGCS"===i.type?i.projName="longlat":"LOCAL_CS"===i.type?(i.projName="identity",i.local=!0):"object"==typeof i.PROJECTION?i.projName=Object.keys(i.PROJECTION)[0]:i.projName=i.PROJECTION,i.AXIS){for(var e="",t=0,n=i.AXIS.length;t<n;++t){var r=[i.AXIS[t][0].toLowerCase(),i.AXIS[t][1].toLowerCase()];-1!==r[0].indexOf("north")||("y"===r[0]||"lat"===r[0])&&"north"===r[1]?e+="n":-1!==r[0].indexOf("south")||("y"===r[0]||"lat"===r[0])&&"south"===r[1]?e+="s":-1!==r[0].indexOf("east")||("x"===r[0]||"lon"===r[0])&&"east"===r[1]?e+="e":-1===r[0].indexOf("west")&&("x"!==r[0]&&"lon"!==r[0]||"west"!==r[1])||(e+="w")}2===e.length&&(e+="u"),3===e.length&&(i.axis=e)}i.UNIT&&(i.units=i.UNIT.name.toLowerCase(),"metre"===i.units&&(i.units="meter"),i.UNIT.convert)&&("GEOGCS"===i.type?i.DATUM&&i.DATUM.SPHEROID&&(i.to_meter=i.UNIT.convert*i.DATUM.SPHEROID.a):i.to_meter=i.UNIT.convert);var o=i.GEOGCS;function a(e){return e*(i.to_meter||1)}(o="GEOGCS"===i.type?i:o)&&(o.DATUM?i.datumCode=o.DATUM.name.toLowerCase():i.datumCode=o.name.toLowerCase(),"d_"===i.datumCode.slice(0,2)&&(i.datumCode=i.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==i.datumCode&&"new_zealand_1949"!==i.datumCode||(i.datumCode="nzgd49"),"wgs_1984"!==i.datumCode&&"world_geodetic_system_1984"!==i.datumCode||("Mercator_Auxiliary_Sphere"===i.PROJECTION&&(i.sphere=!0),i.datumCode="wgs84"),"_ferro"===i.datumCode.slice(-6)&&(i.datumCode=i.datumCode.slice(0,-6)),"_jakarta"===i.datumCode.slice(-8)&&(i.datumCode=i.datumCode.slice(0,-8)),~i.datumCode.indexOf("belge")&&(i.datumCode="rnb72"),o.DATUM&&o.DATUM.SPHEROID&&(i.ellps=o.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===i.ellps.toLowerCase().slice(0,13)&&(i.ellps="intl"),i.a=o.DATUM.SPHEROID.a,i.rf=parseFloat(o.DATUM.SPHEROID.rf,10)),o.DATUM&&o.DATUM.TOWGS84&&(i.datum_params=o.DATUM.TOWGS84),~i.datumCode.indexOf("osgb_1936")&&(i.datumCode="osgb36"),~i.datumCode.indexOf("osni_1952")&&(i.datumCode="osni52"),(~i.datumCode.indexOf("tm65")||~i.datumCode.indexOf("geodetic_datum_of_1965"))&&(i.datumCode="ire65"),"ch1903+"===i.datumCode&&(i.datumCode="ch1903"),~i.datumCode.indexOf("israel"))&&(i.datumCode="isr93"),i.b&&!isFinite(i.b)&&(i.b=i.a);[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_1","Latitude of 1st standard parallel"],["standard_parallel_2","Standard_Parallel_2"],["standard_parallel_2","Latitude of 2nd standard parallel"],["false_easting","False_Easting"],["false_easting","False easting"],["false-easting","Easting at false origin"],["false_northing","False_Northing"],["false_northing","False northing"],["false_northing","Northing at false origin"],["central_meridian","Central_Meridian"],["central_meridian","Longitude of natural origin"],["central_meridian","Longitude of false origin"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["latitude_of_origin","Latitude of natural origin"],["latitude_of_origin","Latitude of false origin"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_Of_Center"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",s],["longitude_of_center","Longitude_Of_Center"],["longitude_of_center","Longitude_of_center"],["longc","longitude_of_center",s],["x0","false_easting",a],["y0","false_northing",a],["long0","central_meridian",s],["lat0","latitude_of_origin",s],["lat0","standard_parallel_1",s],["lat1","standard_parallel_1",s],["lat2","standard_parallel_2",s],["azimuth","Azimuth"],["alpha","azimuth",s],["srsCode","name"]].forEach(function(e){var t,n,r;t=i,n=(e=e)[0],r=e[1],!(n in t)&&r in t&&(t[n]=t[r],3===e.length)&&(t[n]=e[2](t[n]))}),i.long0||!i.longc||"Albers_Conic_Equal_Area"!==i.projName&&"Lambert_Azimuthal_Equal_Area"!==i.projName||(i.long0=i.longc),i.lat_ts||!i.lat1||"Stereographic_South_Pole"!==i.projName&&"Polar Stereographic (variant B)"!==i.projName?!i.lat_ts&&i.lat0&&"Polar_Stereographic"===i.projName&&(i.lat_ts=i.lat0,i.lat0=s(0<i.lat0?90:-90)):(i.lat0=s(0<i.lat1?90:-90),i.lat_ts=i.lat1)}function re(e){var t=(e=K(e)).shift(),n=e.shift(),n=(e.unshift(["name",n]),e.unshift(["type",t]),{});return i(e,n),ne(n),n}function r(e){var t=this;if(2===arguments.length){var n=arguments[1];"string"==typeof n?"+"===n.charAt(0)?r[e]=q(arguments[1]):r[e]=re(arguments[1]):r[e]=n}else if(1===arguments.length){if(Array.isArray(e))return e.map(function(e){Array.isArray(e)?r.apply(t,e):r(e)});if("string"==typeof e){if(e in r)return r[e]}else"EPSG"in e?r["EPSG:"+e.EPSG]=e:"ESRI"in e?r["ESRI:"+e.ESRI]=e:"IAU2000"in e?r["IAU2000:"+e.IAU2000]=e:console.log(e)}}(e=r)("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"];var ie=r;var oe=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];var ae=["3857","900913","3785","102113"];function se(e,t){var n,r;if(e=e||{},t)for(r in t)void 0!==(n=t[r])&&(e[r]=n)}function a(e,t,n){return e*=t,n/Math.sqrt(1-e*e)}function w(e,t,n){return n*=e,n=Math.pow((1-n)/(1+n),.5*e),Math.tan(.5*(m-t))/n}function le(e,t){for(var n,r=.5*e,i=m-2*Math.atan(t),o=0;o<=15;o++)if(n=e*Math.sin(i),i+=n=m-2*Math.atan(t*Math.pow((1-n)/(1+n),r))-i,Math.abs(n)<=1e-10)return i;return-9999}var ue=function(e){var t,n,r;return"string"==typeof e?e in ie?ie[e]:(r=e,oe.some(function(e){return-1<r.indexOf(e)})?function(e){if(e=x(e,"authority"))return(e=x(e,"epsg"))&&-1<ae.indexOf(e)}(t=re(e))?ie["EPSG:3857"]:(n=function(e){if(e=x(e,"extension"))return x(e,"proj4")}(t))?q(n):t:"+"===e[0]?q(e):void 0):e},ce=function(e){return e<0?-1:1},S=function(e){return Math.abs(e)<=u?e:e-ce(e)*_};function fe(e){return e}var he=[{init:function(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=a(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},forward:function(e){var t,n,r=e.x,i=e.y;return 90<i*h&&i*h<-90&&180<r*h&&r*h<-180||Math.abs(Math.abs(i)-m)<=g?null:(n=this.sphere?(t=this.x0+this.a*this.k0*S(r-this.long0),this.y0+this.a*this.k0*Math.log(Math.tan(b+.5*i))):(n=Math.sin(i),i=w(this.e,i,n),t=this.x0+this.a*this.k0*S(r-this.long0),this.y0-this.a*this.k0*Math.log(i)),e.x=t,e.y=n,e)},inverse:function(e){var t=e.x-this.x0,n=e.y-this.y0;if(this.sphere)r=m-2*Math.atan(Math.exp(-n/(this.a*this.k0)));else{var r,n=Math.exp(-n/(this.a*this.k0));if(-9999===(r=le(this.e,n)))return null}return n=S(this.long0+t/(this.a*this.k0)),e.x=n,e.y=r,e},names:["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},{init:function(){},forward:fe,inverse:fe,names:["longlat","identity"]}],de={},pe=[];function ye(e,t){var n=pe.length;return e.names?((pe[n]=e).names.forEach(function(e){de[e.toLowerCase()]=n}),this):(console.log(t),!0)}var e={start:function(){he.forEach(ye)},add:ye,get:function(e){return!!e&&(e=e.toLowerCase(),void 0!==de[e]&&pe[de[e]]?pe[de[e]]:void 0)}},me={MERIT:{a:6378137,rf:298.257,ellipseName:"MERIT 1983"},SGS85:{a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},GRS80:{a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},IAU76:{a:6378140,rf:298.257,ellipseName:"IAU 1976"},airy:{a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},APL4:{a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},NWL9D:{a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},andrae:{a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},aust_SA:{a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},GRS67:{a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},bessel:{a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},clrk66:{a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},clrk80:{a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},clrk80ign:{a:6378249.2,b:6356515,rf:293.4660213,ellipseName:"Clarke 1880 (IGN)"},clrk58:{a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},CPM:{a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},delmbr:{a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},engelis:{a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},evrst30:{a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},evrst48:{a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},evrst56:{a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},evrst69:{a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},fschr60:{a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},fschr60m:{a:6378155,rf:298.3,ellipseName:"Fischer 1960"},fschr68:{a:6378150,rf:298.3,ellipseName:"Fischer 1968"},helmert:{a:6378200,rf:298.3,ellipseName:"Helmert 1906"},hough:{a:6378270,rf:297,ellipseName:"Hough"},intl:{a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},kaula:{a:6378163,rf:298.24,ellipseName:"Kaula 1961"},lerch:{a:6378139,rf:298.257,ellipseName:"Lerch 1979"},mprts:{a:6397300,rf:191,ellipseName:"Maupertius 1738"},new_intl:{a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},plessis:{a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},krass:{a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},SEasia:{a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},walbeck:{a:6376896,b:6355834.8467,ellipseName:"Walbeck"},WGS60:{a:6378165,rf:298.3,ellipseName:"WGS 60"},WGS66:{a:6378145,rf:298.25,ellipseName:"WGS 66"},WGS7:{a:6378135,rf:298.26,ellipseName:"WGS 72"}},ge=me.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};me.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};var C={};C.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},C.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},C.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},C.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},C.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},C.potsdam={towgs84:"598.1,73.7,418.2,0.202,0.045,-2.455,6.7",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},C.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},C.hermannskogel={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Hermannskogel"},C.osni52={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"airy",datumName:"Irish National"},C.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},C.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},C.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},C.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},C.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},C.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},C.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},C.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"};var ve=function(e,t,n,r,i,o,a){var s={};return s.datum_type=void 0===e||"none"===e?N:4,t&&(s.datum_params=t.map(parseFloat),0===s.datum_params[0]&&0===s.datum_params[1]&&0===s.datum_params[2]||(s.datum_type=d),3<s.datum_params.length)&&(0===s.datum_params[3]&&0===s.datum_params[4]&&0===s.datum_params[5]&&0===s.datum_params[6]||(s.datum_type=p,s.datum_params[3]*=A,s.datum_params[4]*=A,s.datum_params[5]*=A,s.datum_params[6]=s.datum_params[6]/1e6+1)),a&&(s.datum_type=y,s.grids=a),s.a=n,s.b=r,s.es=i,s.ep2=o,s},be={};function _e(e){var t;return 0===e.length?null:"null"===(e=(t="@"===e[0])?e.slice(1):e)?{name:"null",mandatory:!t,grid:null,isNull:!0}:{name:e,mandatory:!t,grid:be[e]||null,isNull:!1}}function c(e){return e/3600*Math.PI/180}function xe(e,t,n){return String.fromCharCode.apply(null,new Uint8Array(e.buffer.slice(t,n)))}function we(e,t){if(!(this instanceof we))return new we(e);t=t||function(e){if(e)throw e};var n,r,i,o,a,s,l,u,c,f=ue(e);"object"==typeof f&&(n=we.projections.get(f.projName))?(f.datumCode&&"none"!==f.datumCode&&(r=x(C,f.datumCode))&&(f.datum_params=f.datum_params||(r.towgs84?r.towgs84.split(","):null),f.ellps=r.ellipse,f.datumName=r.datumName||f.datumCode),f.k0=f.k0||1,f.axis=f.axis||"enu",f.ellps=f.ellps||"wgs84",f.lat1=f.lat1||f.lat0,r=f.a,o=f.b,a=f.rf,i=f.ellps,s=f.sphere,r||(r=(i=(i=x(me,i))||ge).a,o=i.b,a=i.rf),a&&!o&&(o=(1-1/a)*r),(0===a||Math.abs(r-o)<g)&&(s=!0,o=r),o=(i={a:r,b:o,rf:a,sphere:s}).a,a=i.b,s=f.R_A,u=((c=o*o)-(a=a*a))/c,l=0,s?(c=(o*=1-u*(H+u*(Y+u*G)))*o,u=0):l=Math.sqrt(u),o={es:u,e:l,ep2:s=(c-a)/a},l=void 0===(u=f.nadgrids)?null:u.split(",").map(_e),c=f.datum||ve(f.datumCode,f.datum_params,i.a,i.b,o.es,o.ep2,l),se(this,f),se(this,n),this.a=i.a,this.b=i.b,this.rf=i.rf,this.sphere=i.sphere,this.es=o.es,this.e=o.e,this.ep2=o.ep2,this.datum=c,this.init(),t(null,this)):t(e)}(we.projections=e).start();var Ae=we;function Se(e,t,n){var r=e.x,i=e.y,o=e.z||0;if(i<-m&&-1.001*m<i)i=-m;else if(m<i&&i<1.001*m)i=m;else{if(i<-m)return{x:-1/0,y:-1/0,z:e.z};if(m<i)return{x:1/0,y:1/0,z:e.z}}return r>Math.PI&&(r-=2*Math.PI),e=Math.sin(i),i=Math.cos(i),{x:((n=n/Math.sqrt(1-t*(e*e)))+o)*i*Math.cos(r),y:(n+o)*i*Math.sin(r),z:(n*(1-t)+o)*e}}function Ce(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,p,y=e.x,m=e.y,g=e.z||0,v=Math.sqrt(y*y+m*m),b=Math.sqrt(y*y+m*m+g*g);if(v/n<1e-12){if(d=0,b/n<1e-12)return p=-r,{x:e.x,y:e.y,z:e.z}}else d=Math.atan2(m,y);for(i=g/b,s=(o=v/b)*(1-t)*(a=1/Math.sqrt(1-t*(2-t)*o*o)),l=i*a,h=0;h++,f=t*(f=n/Math.sqrt(1-t*l*l))/(f+(p=v*s+g*l-f*(1-t*l*l))),f=(c=i*(a=1/Math.sqrt(1-f*(2-f)*o*o)))*s-(u=o*(1-f)*a)*l,s=u,l=c,1e-24<f*f&&h<30;);return{x:d,y:Math.atan(c/Math.abs(u)),z:p}}function Oe(e){return e===d||e===p}function Ee(e,t,n){if(i=t,((r=e).datum_type!==i.datum_type||r.a!==i.a||5e-11<Math.abs(r.es-i.es)||(r.datum_type===d?r.datum_params[0]!==i.datum_params[0]||r.datum_params[1]!==i.datum_params[1]||r.datum_params[2]!==i.datum_params[2]:r.datum_type===p&&(r.datum_params[0]!==i.datum_params[0]||r.datum_params[1]!==i.datum_params[1]||r.datum_params[2]!==i.datum_params[2]||r.datum_params[3]!==i.datum_params[3]||r.datum_params[4]!==i.datum_params[4]||r.datum_params[5]!==i.datum_params[5]||r.datum_params[6]!==i.datum_params[6])))&&e.datum_type!==N&&t.datum_type!==N){var r=e.a,i=e.es;if(e.datum_type===y){if(0!==Me(e,!1,n))return;r=z,i=V}var o,a,s,l,u,c=t.a,f=t.b,h=t.es;if(t.datum_type===y&&(c=z,f=F,h=V),i!==h||r!==c||Oe(e.datum_type)||Oe(t.datum_type))if(n=Se(n,i,r),Oe(e.datum_type)&&(i=n,r=e.datum_type,e=e.datum_params,n=r===d?{x:i.x+e[0],y:i.y+e[1],z:i.z+e[2]}:r===p?(r=e[0],a=e[1],u=e[2],l=e[3],s=e[4],o=e[5],{x:(e=e[6])*(i.x-o*i.y+s*i.z)+r,y:e*(o*i.x+i.y-l*i.z)+a,z:e*(-s*i.x+l*i.y+i.z)+u}):void 0),Oe(t.datum_type)&&(r=n,o=t.datum_type,a=t.datum_params,n=o===d?{x:r.x-a[0],y:r.y-a[1],z:r.z-a[2]}:o===p?(o=a[0],e=a[1],s=a[2],l=a[3],i=a[4],u=a[5],a=a[6],{x:(o=(r.x-o)/a)+u*(e=(r.y-e)/a)-i*(r=(r.z-s)/a),y:-u*o+e+l*r,z:i*o-l*e+r}):void 0),n=Ce(n,h,c,f),t.datum_type===y)if(0!==Me(t,!0,n))return}return n}function Me(e,t,n){if(null===e.grids||0===e.grids.length)return console.log("Grid shift grids not found"),-1;for(var r={x:-n.x,y:n.y},i={x:Number.NaN,y:Number.NaN},o=[],a=0;a<e.grids.length;a++){var s=e.grids[a];if(o.push(s.name),s.isNull){i=r;break}if(s.mandatory,null===s.grid){if(s.mandatory)return console.log("Unable to find mandatory grid '"+s.name+"'"),-1}else{var s=s.grid.subgrids[0],l=(Math.abs(s.del[1])+Math.abs(s.del[0]))/1e4,u=s.ll[0]-l,c=s.ll[1]-l,f=s.ll[0]+(s.lim[0]-1)*s.del[0]+l,l=s.ll[1]+(s.lim[1]-1)*s.del[1]+l;if(!(r.y<c||r.x<u||l<r.y||f<r.x||(i=function(e,t,n){var r={x:Number.NaN,y:Number.NaN};if(!isNaN(e.x)){var i={x:e.x,y:e.y},o=(i.x-=n.ll[0],i.y-=n.ll[1],i.x=S(i.x-Math.PI)+Math.PI,Pe(i,n));if(t){if(isNaN(o.x))return r;o.x=i.x-o.x,o.y=i.y-o.y;var a,s=9;do{if(a=Pe(o,n),isNaN(a.x)){console.log("Inverse grid shift iteration failed, presumably at grid edge. Using first approximation.");break}}while(a={x:i.x-(a.x+o.x),y:i.y-(a.y+o.y)},o.x+=a.x,o.y+=a.y,s--&&1e-12<Math.abs(a.x)&&1e-12<Math.abs(a.y));if(s<0)return console.log("Inverse grid shift iterator failed to converge."),r;r.x=S(o.x+n.ll[0]),r.y=o.y+n.ll[1]}else isNaN(o.x)||(r.x=e.x+o.x,r.y=e.y+o.y)}return r}(r,t,s),isNaN(i.x))))break}}return isNaN(i.x)?(console.log("Failed to find a grid shift table for location '"+-r.x*h+" "+r.y*h+" tried: '"+o+"'"),-1):(n.x=-i.x,n.y=i.y,0)}function Pe(e,t){var n,r,i,o,a,s,e={x:e.x/t.del[0],y:e.y/t.del[1]},l=Math.floor(e.x),u=Math.floor(e.y),c=e.x-+l,e=e.y-+u,f={x:Number.NaN,y:Number.NaN};return l<0||l>=t.lim[0]||u<0||u>=t.lim[1]||(u=u*t.lim[0]+l,l=t.cvs[u][0],n=t.cvs[u][1],s=t.cvs[++u][0],r=t.cvs[u][1],u+=t.lim[0],i=t.cvs[u][0],o=t.cvs[u][1],a=t.cvs[--u][0],t=t.cvs[u][1],f.x=(u=(1-c)*(1-e))*l+(l=c*(1-e))*s+(s=(1-c)*e)*a+(a=c*e)*i,f.y=u*n+l*r+s*t+a*o),f}function ke(e,t,n){for(var r,i,o=n.x,a=n.y,s=n.z||0,l={},u=0;u<3;u++)if(!t||2!==u||void 0!==n.z)switch(i=0===u?(r=o,-1!=="ew".indexOf(e.axis[u])?"x":"y"):1===u?(r=a,-1!=="ns".indexOf(e.axis[u])?"y":"x"):(r=s,"z"),e.axis[u]){case"e":l[i]=r;break;case"w":l[i]=-r;break;case"n":l[i]=r;break;case"s":l[i]=-r;break;case"u":void 0!==n[i]&&(l.z=r);break;case"d":void 0!==n[i]&&(l.z=-r);break;default:return null}return l}function Te(e){var t={x:e[0],y:e[1]};return 2<e.length&&(t.z=e[2]),3<e.length&&(t.m=e[3]),t}function Ie(e){Le(e.x),Le(e.y)}function Le(e){if("function"==typeof Number.isFinite){if(Number.isFinite(e))return;throw new TypeError("coordinates must be finite numbers")}if("number"!=typeof e||e!=e||!isFinite(e))throw new TypeError("coordinates must be finite numbers")}function je(e,t,n,r){var i,o,a=void 0!==(n=Array.isArray(n)?Te(n):{x:n.x,y:n.y,z:n.z,m:n.m}).z;if(Ie(n),e.datum&&t.datum&&(o=t,((i=e).datum.datum_type===d||i.datum.datum_type===p||i.datum.datum_type===y)&&"WGS84"!==o.datumCode||(o.datum.datum_type===d||o.datum.datum_type===p||o.datum.datum_type===y)&&"WGS84"!==i.datumCode)&&(n=je(e,o=new Ae("WGS84"),n,r),e=o),r&&"enu"!==e.axis&&(n=ke(e,!1,n)),"longlat"===e.projName)n={x:n.x*v,y:n.y*v,z:n.z||0};else if(e.to_meter&&(n={x:n.x*e.to_meter,y:n.y*e.to_meter,z:n.z||0}),!(n=e.inverse(n)))return;if(e.from_greenwich&&(n.x+=e.from_greenwich),n=Ee(e.datum,t.datum,n))return t.from_greenwich&&(n={x:n.x-t.from_greenwich,y:n.y,z:n.z||0}),"longlat"===t.projName?n={x:n.x*h,y:n.y*h,z:n.z||0}:(n=t.forward(n),t.to_meter&&(n={x:n.x/t.to_meter,y:n.y/t.to_meter,z:n.z||0})),r&&"enu"!==t.axis?ke(t,!0,n):(a||delete n.z,n)}var De=Ae("WGS84");function Be(t,n,r,e){var i,o;return Array.isArray(r)?(o=je(t,n,r,e)||{x:NaN,y:NaN},2<r.length?void 0!==t.name&&"geocent"===t.name||void 0!==n.name&&"geocent"===n.name?("number"==typeof o.z?[o.x,o.y,o.z]:[o.x,o.y,r[2]]).concat(r.splice(3)):[o.x,o.y].concat(r.splice(2)):[o.x,o.y]):(i=je(t,n,r,e),2!==(o=Object.keys(r)).length&&o.forEach(function(e){if(void 0!==t.name&&"geocent"===t.name||void 0!==n.name&&"geocent"===n.name){if("x"===e||"y"===e||"z"===e)return}else if("x"===e||"y"===e)return;i[e]=r[e]}),i)}function Re(e){return e instanceof Ae?e:e.oProj||Ae(e)}var e=function(n,r,e){n=Re(n);var t=!1;return void 0===r?(r=n,n=De,t=!0):void 0===r.x&&!Array.isArray(r)||(e=r,r=n,n=De,t=!0),r=Re(r),e?Be(n,r,e):(e={forward:function(e,t){return Be(n,r,e,t)},inverse:function(e,t){return Be(r,n,e,t)}},t&&(e.oProj=r),e)},Ne=6,ze="AJSAJS",Fe="AFAFAF",O=65,E=73,M=79,Ve=86,He=90,Ye={forward:Ge,inverse:function(e){e=qe(Xe(e.toUpperCase()));if(e.lat&&e.lon)return[e.lon,e.lat,e.lon,e.lat];return[e.left,e.bottom,e.right,e.top]},toPoint:Ue};function Ge(e,t){return t=t||5,e=function(e){var t,n,r,i,o,a=e.lat,e=e.lon,s=.00669438,l=Qe(a),u=Qe(e);o=Math.floor((e+180)/6)+1,180===e&&(o=60);56<=a&&a<64&&3<=e&&e<12&&(o=32);72<=a&&a<84&&(0<=e&&e<9?o=31:9<=e&&e<21?o=33:21<=e&&e<33?o=35:33<=e&&e<42&&(o=37));e=Qe(6*(o-1)-180+3),t=s/(1-s),n=6378137/Math.sqrt(1-s*Math.sin(l)*Math.sin(l)),r=Math.tan(l)*Math.tan(l),i=t*Math.cos(l)*Math.cos(l),u=Math.cos(l)*(u-e),e=6378137*(.9983242984503243*l-.002514607064228144*Math.sin(2*l)+2639046602129982e-21*Math.sin(4*l)-35*s*s*s/3072*Math.sin(6*l));s=.9996*n*(u+(1-r+i)*u*u*u/6+(5-18*r+r*r+72*i-58*t)*u*u*u*u*u/120)+5e5,e=.9996*(e+n*Math.tan(l)*(u*u/2+(5-r+9*i+4*i*i)*u*u*u*u/24+(61-58*r+r*r+600*i-330*t)*u*u*u*u*u*u/720));a<0&&(e+=1e7);return{northing:Math.round(e),easting:Math.round(s),zoneNumber:o,zoneLetter:function(e){var t="Z";e<=84&&72<=e?t="X":e<72&&64<=e?t="W":e<64&&56<=e?t="V":e<56&&48<=e?t="U":e<48&&40<=e?t="T":e<40&&32<=e?t="S":e<32&&24<=e?t="R":e<24&&16<=e?t="Q":e<16&&8<=e?t="P":e<8&&0<=e?t="N":e<0&&-8<=e?t="M":e<-8&&-16<=e?t="L":e<-16&&-24<=e?t="K":e<-24&&-32<=e?t="J":e<-32&&-40<=e?t="H":e<-40&&-48<=e?t="G":e<-48&&-56<=e?t="F":e<-56&&-64<=e?t="E":e<-64&&-72<=e?t="D":e<-72&&-80<=e&&(t="C");return t}(a)}}({lat:e[1],lon:e[0]}),t=t,n="00000"+e.easting,r="00000"+e.northing,e.zoneNumber+e.zoneLetter+function(e,t,n){n=Ke(n),e=Math.floor(e/1e5),t=Math.floor(t/1e5)%20;return function(e,t,n){var n=n-1,r=ze.charCodeAt(n),n=Fe.charCodeAt(n),e=r+e-1,t=n+t,i=!1;He<e&&(e=e-He+O-1,i=!0);(e===E||r<E&&E<e||(E<e||r<E)&&i)&&e++;(e===M||r<M&&M<e||(M<e||r<M)&&i)&&++e===E&&e++;He<e&&(e=e-He+O-1);i=Ve<t&&(t=t-Ve+O-1,!0);(t===E||n<E&&E<t||(E<t||n<E)&&i)&&t++;(t===M||n<M&&M<t||(M<t||n<M)&&i)&&++t===E&&t++;Ve<t&&(t=t-Ve+O-1);return String.fromCharCode(e)+String.fromCharCode(t)}(e,t,n)}(e.easting,e.northing,e.zoneNumber)+n.substr(n.length-5,t)+r.substr(r.length-5,t);var n,r}function Ue(e){e=qe(Xe(e.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat]:[(e.left+e.right)/2,(e.top+e.bottom)/2]}function Qe(e){return e*(Math.PI/180)}function We(e){return e/Math.PI*180}function qe(e){var t,n,r,i,o=e.northing,a=e.easting,s=e.zoneLetter,l=e.zoneNumber;return l<0||60<l?null:(a=a-5e5,o=o,s<"N"&&(o-=1e7),s=6*(l-1)-180+3,t=(l=.00669438)/(1-l),n=(o=o/.9996/6367449.145945056)+(3*(n=(1-Math.sqrt(1-l))/(1+Math.sqrt(1-l)))/2-27*n*n*n/32)*Math.sin(2*o)+(21*n*n/16-55*n*n*n*n/32)*Math.sin(4*o)+151*n*n*n/96*Math.sin(6*o),o=6378137/Math.sqrt(1-l*Math.sin(n)*Math.sin(n)),r=Math.tan(n)*Math.tan(n),i=t*Math.cos(n)*Math.cos(n),l=6378137*(1-l)/Math.pow(1-l*Math.sin(n)*Math.sin(n),1.5),a=a/(.9996*o),o=We(o=n-o*Math.tan(n)/l*(a*a/2-(5+3*r+10*i-4*i*i-9*t)*a*a*a*a/24+(61+90*r+298*i+45*r*r-252*t-3*i*i)*a*a*a*a*a*a/720)),l=s+We(l=(a-(1+2*r+i)*a*a*a/6+(5-2*i+28*r-3*i*i+8*t+24*r*r)*a*a*a*a*a/120)/Math.cos(n)),e.accuracy?{top:(s=qe({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber})).lat,right:s.lon,bottom:o,left:l}:{lat:o,lon:l})}function Ke(e){e%=Ne;return e=0===e?Ne:e}function Xe(e){if(e&&0===e.length)throw"MGRSPoint coverting from nothing";for(var t,n=e.length,r=null,i="",o=0;!/[A-Z]/.test(t=e.charAt(o));){if(2<=o)throw"MGRSPoint bad conversion from: "+e;i+=t,o++}var a=parseInt(i,10);if(0===o||n<o+3)throw"MGRSPoint bad conversion from: "+e;var s=e.charAt(o++);if(s<="A"||"B"===s||"Y"===s||"Z"<=s||"I"===s||"O"===s)throw"MGRSPoint zone letter "+s+" not handled: "+e;for(var r=e.substring(o,o+=2),l=Ke(a),u=function(e,t){var n=ze.charCodeAt(t-1),r=1e5,i=!1;for(;n!==e.charCodeAt(0);){if(++n===E&&n++,n===M&&n++,He<n){if(i)throw"Bad character: "+e;n=O,i=!0}r+=1e5}return r}(r.charAt(0),l),c=function(e,t){if("V"<e)throw"MGRSPoint given invalid Northing "+e;var n=Fe.charCodeAt(t-1),r=0,i=!1;for(;n!==e.charCodeAt(0);){if(++n===E&&n++,n===M&&n++,Ve<n){if(i)throw"Bad character: "+e;n=O,i=!0}r+=1e5}return r}(r.charAt(1),l);c<function(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}{if(0<=t)return t;throw"Invalid zone letter: "+e}}(s);)c+=2e6;r=n-o;if(r%2!=0)throw"MGRSPoint has to have an even number \nof digits after the zone letter and two 100km letters - front \nhalf for easting meters, second half for \nnorthing meters"+e;var f,h,l=r/2,n=0,r=0;return 0<l&&(f=1e5/Math.pow(10,l),h=e.substring(o,o+l),n=parseFloat(h)*f,h=e.substring(o+l),r=parseFloat(h)*f),{easting:n+u,northing:r+c,zoneLetter:s,zoneNumber:a,accuracy:f}}function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);var r;Array.isArray(e)?(this.x=e[0],this.y=e[1],this.z=e[2]||0):"object"==typeof e?(this.x=e.x,this.y=e.y,this.z=e.z||0):"string"==typeof e&&void 0===t?(r=e.split(","),this.x=parseFloat(r[0],10),this.y=parseFloat(r[1],10),this.z=parseFloat(r[2],10)||0):(this.x=e,this.y=t,this.z=n||0),console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}o.fromMGRS=function(e){return new o(Ue(e))},o.prototype.toMGRS=function(e){return Ge([this.x,this.y],e)};function Je(e){var t=[],n=(t[0]=Ze-e*(et+e*(tt+e*(nt+e*rt))),t[1]=e*(it-e*(tt+e*(nt+e*rt))),e*e);return t[2]=n*(ot-e*(at+e*st)),t[3]=(n*=e)*(lt-e*ut),t[4]=n*e*ct,t}function $e(e,t,n){for(var r=1/(1-t),i=e,o=ht;o;--o){var a=Math.sin(i),s=1-t*a*a;if(i-=s=(ft(i,a,Math.cos(i),n)-e)*(s*Math.sqrt(s))*r,Math.abs(s)<g)return i}return i}var l=o,Ze=1,et=.25,tt=.046875,nt=.01953125,rt=.01068115234375,it=.75,ot=.46875,at=.013020833333333334,st=.007120768229166667,lt=.3645833333333333,ut=.005696614583333333,ct=.3076171875,ft=function(e,t,n,r){return r[0]*e-(n*=t)*(r[1]+(t*=t)*(r[2]+t*(r[3]+t*r[4])))},ht=20;function dt(e,t){for(var n,r=2*Math.cos(2*t),i=e.length-1,o=e[i],a=0;0<=--i;)n=r*o-a+e[i],a=o,o=n;return t+n*Math.sin(2*t)}function pt(e,t,n){for(var r,i,o=Math.sin(t),t=Math.cos(t),a=mt(n),n=vt(n),s=2*t*n,l=-2*o*a,u=e.length-1,c=e[u],f=0,h=0,d=0;0<=--u;)r=h,i=f,c=s*(h=c)-r-l*(f=d)+e[u],d=l*h-i+s*f;return[(s=o*n)*c-(l=t*a)*d,s*d+l*c]}var yt={init:function(){this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.es&&(this.en=Je(this.es),this.ml0=ft(this.lat0,Math.sin(this.lat0),Math.cos(this.lat0),this.en))},forward:function(e){var t=e.x,n=e.y,t=S(t-this.long0),r=Math.sin(n),i=Math.cos(n);if(this.es)var o=i*t,a=Math.pow(o,2),s=this.ep2*Math.pow(i,2),l=Math.pow(s,2),u=Math.abs(i)>g?Math.tan(n):0,u=Math.pow(u,2),c=Math.pow(u,2),f=1-this.es*Math.pow(r,2),f=(o/=Math.sqrt(f),ft(n,r,i,this.en)),h=this.a*(this.k0*o*(1+a/6*(1-u+s+a/20*(5-18*u+c+14*s-58*u*s+a/42*(61+179*c-c*u-479*u)))))+this.x0,f=this.a*(this.k0*(f-this.ml0+r*t*o/2*(1+a/12*(5-u+9*s+4*l+a/30*(61+c-58*u+270*s-330*u*s+a/56*(1385+543*c-c*u-3111*u))))))+this.y0;else{r=i*Math.sin(t);if(Math.abs(Math.abs(r)-1)<g)return 93;if(h=.5*this.a*this.k0*Math.log((1+r)/(1-r))+this.x0,f=i*Math.cos(t)/Math.sqrt(1-Math.pow(r,2)),1<=(r=Math.abs(f))){if(g<r-1)return 93;f=0}else f=Math.acos(f);f=this.a*this.k0*((f=n<0?-f:f)-this.lat0)+this.y0}return e.x=h,e.y=f,e},inverse:function(e){var t,n,r,i,o,a,s,l,u=(e.x-this.x0)*(1/this.a),c=(e.y-this.y0)*(1/this.a),f=this.es?(s=this.ml0+c/this.k0,a=$e(s,this.es,this.en),Math.abs(a)<m?(i=Math.sin(a),t=Math.cos(a),l=Math.abs(t)>g?Math.tan(a):0,o=this.ep2*Math.pow(t,2),r=Math.pow(o,2),n=Math.pow(l,2),f=Math.pow(n,2),s=1-this.es*Math.pow(i,2),i=u*Math.sqrt(s)/this.k0,l=a-(s*=l)*(a=Math.pow(i,2))/(1-this.es)*.5*(1-a/12*(5+3*n-9*o*n+o-4*r-a/30*(61+90*n-252*o*n+45*f+46*o-a/56*(1385+3633*n+4095*f+1574*f*n)))),S(this.long0+i*(1-a/6*(1+2*n+o-a/20*(5+28*n+24*f+8*o*n+6*o-a/42*(61+662*n+1320*f+720*f*n))))/t)):(l=m*ce(c),0)):(i=.5*((r=Math.exp(u/this.k0))-1/r),o=this.lat0+c/this.k0,a=Math.cos(o),s=Math.sqrt((1-Math.pow(a,2))/(1+Math.pow(i,2))),l=Math.asin(s),c<0&&(l=-l),0==i&&0===a?0:S(Math.atan2(i,a)+this.long0));return e.x=f,e.y=l,e},names:["Fast_Transverse_Mercator","Fast Transverse Mercator"]},mt=function(e){e=Math.exp(e);return(e-1/e)/2},f=function(e,t){e=Math.abs(e),t=Math.abs(t);var n=Math.max(e,t),e=Math.min(e,t)/(n||1);return n*Math.sqrt(1+Math.pow(e,2))},gt=function(e){var t=1+e,n=t-1;return 0==n?e:e*Math.log(t)/n},vt=function(e){e=Math.exp(e);return(e+1/e)/2};var bt={init:function(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(yt.init.apply(this),this.forward=yt.forward,this.inverse=yt.inverse),this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var e=t=(t=this.es/(1+Math.sqrt(1-this.es)))/(2-t),t=(this.cgb[0]=t*(2+t*(-2/3+t*(t*(116/45+t*(26/45+-2854/675*t))-2))),this.cbg[0]=t*(t*(2/3+t*(4/3+t*(-82/45+t*(32/45+4642/4725*t))))-2),this.cgb[1]=(e*=t)*(7/3+t*(t*(-227/45+t*(2704/315+2323/945*t))-1.6)),this.cbg[1]=e*(5/3+t*(-16/15+t*(-13/9+t*(904/315+-1522/945*t)))),this.cgb[2]=(e*=t)*(56/15+t*(-136/35+t*(-1262/105+73814/2835*t))),this.cbg[2]=e*(-26/15+t*(34/21+t*(1.6+-12686/2835*t))),this.cgb[3]=(e*=t)*(4279/630+t*(-332/35+-399572/14175*t)),this.cbg[3]=e*(1237/630+t*(-24832/14175*t-2.4)),this.cgb[4]=(e*=t)*(4174/315+-144838/6237*t),this.cbg[4]=e*(-734/315+109598/31185*t),this.cgb[5]=601676/22275*(e*=t),this.cbg[5]=444337/155925*e,e=Math.pow(t,2),this.Qn=this.k0/(1+t)*(1+e*(.25+e*(1/64+e/256))),this.utg[0]=t*(t*(2/3+t*(-37/96+t*(1/360+t*(81/512+-96199/604800*t))))-.5),this.gtu[0]=t*(.5+t*(-2/3+t*(5/16+t*(41/180+t*(-127/288+7891/37800*t))))),this.utg[1]=e*(-1/48+t*(-1/15+t*(437/1440+t*(-46/105+1118711/3870720*t)))),this.gtu[1]=e*(13/48+t*(t*(557/1440+t*(281/630+-1983433/1935360*t))-.6)),this.utg[2]=(e*=t)*(-17/480+t*(37/840+t*(209/4480+-5569/90720*t))),this.gtu[2]=e*(61/240+t*(-103/140+t*(15061/26880+167603/181440*t))),this.utg[3]=(e*=t)*(-4397/161280+t*(11/504+830251/7257600*t)),this.gtu[3]=e*(49561/161280+t*(-179/168+6601661/7257600*t)),this.utg[4]=(e*=t)*(-4583/161280+108847/3991680*t),this.gtu[4]=e*(34729/80640+-3418889/1995840*t),this.utg[5]=-.03233083094085698*(e*=t),this.gtu[5]=.6650675310896665*e,dt(this.cbg,this.lat0));this.Zb=-this.Qn*(t+function(e,t){for(var n,r=2*Math.cos(t),i=e.length-1,o=e[i],a=0;0<=--i;)n=r*o-a+e[i],a=o,o=n;return Math.sin(t)*n}(this.gtu,2*t))},forward:function(e){var t,n=S(e.x-this.long0),r=e.y,r=dt(this.cbg,r),i=Math.sin(r),o=Math.cos(r),a=Math.sin(n),s=Math.cos(n),o=(r=Math.atan2(i,s*o),n=Math.atan2(a*o,f(i,o*s)),a=Math.tan(n),i=Math.abs(a),i=gt(i*(1+i/(f(1,i)+1))),pt(this.gtu,2*r,2*(n=a<0?-i:i)));return r+=o[0],n+=o[1],s=Math.abs(n)<=2.623395162778?(t=this.a*(this.Qn*n)+this.x0,this.a*(this.Qn*r+this.Zb)+this.y0):t=1/0,e.x=t,e.y=s,e},inverse:function(e){var t,n,r,i,o=(e.x-this.x0)*(1/this.a),a=(e.y-this.y0)*(1/this.a);return a=(a-this.Zb)/this.Qn,o/=this.Qn,i=Math.abs(o)<=2.623395162778?(a+=(r=pt(this.utg,2*a,2*o))[0],o+=r[1],o=Math.atan(mt(o)),r=Math.sin(a),t=Math.cos(a),i=Math.sin(o),n=Math.cos(o),a=Math.atan2(r*n,f(i,n*t)),o=Math.atan2(i,n*t),r=S(o+this.long0),dt(this.cgb,a)):r=1/0,e.x=r,e.y=i,e},names:["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","tmerc"]};function _t(e,t){return Math.pow((1-e)/(1+e),t)}var xt={init:function(){var e=function(e,t){if(void 0===e){if((e=Math.floor(30*(S(t)+Math.PI)/Math.PI)+1)<0)return 0;if(60<e)return 60}return e}(this.zone,this.long0);if(void 0===e)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(e)-183)*v,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,bt.init.apply(this),this.forward=bt.forward,this.inverse=bt.inverse},names:["Universal Transverse Mercator System","utm"],dependsOn:"etmerc"};var wt={init:function(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+b)/(Math.pow(Math.tan(.5*this.lat0+b),this.C)*_t(this.e*e,this.ratexp))},forward:function(e){var t=e.x,n=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*n+b),this.C)*_t(this.e*Math.sin(n),this.ratexp))-m,e.x=this.C*t,e},inverse:function(e){for(var t=e.x/this.C,n=e.y,r=Math.pow(Math.tan(.5*n+b)/this.K,1/this.C),i=20;0<i&&(n=2*Math.atan(r*_t(this.e*Math.sin(e.y),-.5*this.e))-m,!(Math.abs(n-e.y)<1e-14));--i)e.y=n;return i?(e.x=t,e.y=n,e):null},names:["gauss"]};var At={init:function(){wt.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},forward:function(e){var t,n,r,i;return e.x=S(e.x-this.long0),wt.forward.apply(this,[e]),t=Math.sin(e.y),n=Math.cos(e.y),r=Math.cos(e.x),i=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*n*r),e.x=i*n*Math.sin(e.x),e.y=i*(this.cosc0*t-this.sinc0*n*r),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},inverse:function(e){var t,n,r,i;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,i=(i=Math.sqrt(e.x*e.x+e.y*e.y))?(n=2*Math.atan2(i,this.R2),t=Math.sin(n),n=Math.cos(n),r=Math.asin(n*this.sinc0+e.y*t*this.cosc0/i),Math.atan2(e.x*t,i*this.cosc0*n-e.y*this.sinc0*t)):(r=this.phic0,0),e.x=i,e.y=r,wt.inverse.apply(this,[e]),e.x=S(e.x+this.long0),e},names:["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative","Double_Stereographic"]};var St={init:function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=g&&(this.k0=.5*(1+ce(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=g&&(0<this.lat0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=g&&(this.k0=.5*this.cons*a(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/w(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=a(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-m,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},forward:function(e){var t,n,r=e.x,i=e.y,o=Math.sin(i),a=Math.cos(i),s=S(r-this.long0);return Math.abs(Math.abs(r-this.long0)-Math.PI)<=g&&Math.abs(i+this.lat0)<=g?(e.x=NaN,e.y=NaN):this.sphere?(t=2*this.k0/(1+this.sinlat0*o+this.coslat0*a*Math.cos(s)),e.x=this.a*t*a*Math.sin(s)+this.x0,e.y=this.a*t*(this.coslat0*o-this.sinlat0*a*Math.cos(s))+this.y0):(a=2*Math.atan(this.ssfn_(i,o,this.e))-m,n=Math.cos(a),a=Math.sin(a),Math.abs(this.coslat0)<=g?(i=w(this.e,i*this.con,this.con*o),o=2*this.a*this.k0*i/this.cons,e.x=this.x0+o*Math.sin(r-this.long0),e.y=this.y0-this.con*o*Math.cos(r-this.long0)):(Math.abs(this.sinlat0)<g?(t=2*this.a*this.k0/(1+n*Math.cos(s)),e.y=t*a):(t=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*a+this.cosX0*n*Math.cos(s))),e.y=t*(this.cosX0*a-this.sinX0*n*Math.cos(s))+this.y0),e.x=t*n*Math.sin(s)+this.x0)),e},inverse:function(e){e.x-=this.x0,e.y-=this.y0;var t,n,r,i,o=Math.sqrt(e.x*e.x+e.y*e.y);if(this.sphere)n=2*Math.atan(o/(2*this.a*this.k0)),r=this.long0,i=this.lat0,o<=g||(i=Math.asin(Math.cos(n)*this.sinlat0+e.y*Math.sin(n)*this.coslat0/o),r=Math.abs(this.coslat0)<g?0<this.lat0?S(this.long0+Math.atan2(e.x,-1*e.y)):S(this.long0+Math.atan2(e.x,e.y)):S(this.long0+Math.atan2(e.x*Math.sin(n),o*this.coslat0*Math.cos(n)-e.y*this.sinlat0*Math.sin(n))));else if(Math.abs(this.coslat0)<=g){if(o<=g)return i=this.lat0,r=this.long0,e.x=r,e.y=i,e;e.x*=this.con,e.y*=this.con,n=o*this.cons/(2*this.a*this.k0),i=this.con*le(this.e,n),r=this.con*S(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else n=2*Math.atan(o*this.cosX0/(2*this.a*this.k0*this.ms1)),r=this.long0,o<=g?t=this.X0:(t=Math.asin(Math.cos(n)*this.sinX0+e.y*Math.sin(n)*this.cosX0/o),r=S(this.long0+Math.atan2(e.x*Math.sin(n),o*this.cosX0*Math.cos(n)-e.y*this.sinX0*Math.sin(n)))),i=-1*le(this.e,Math.tan(.5*(m+t)));return e.x=r,e.y=i,e},names:["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"],ssfn_:function(e,t,n){return t*=n,Math.tan(.5*(m+e))*Math.pow((1-t)/(1+t),.5*n)}};var Ct={init:function(){var e=this.lat0,t=(this.lambda0=this.long0,Math.sin(e)),n=this.a,r=2*(r=1/this.rf)-Math.pow(r,2),i=this.e=Math.sqrt(r),n=(this.R=this.k0*n*Math.sqrt(1-r)/(1-r*Math.pow(t,2)),this.alpha=Math.sqrt(1+r/(1-r)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha),Math.log(Math.tan(Math.PI/4+this.b0/2))),r=Math.log(Math.tan(Math.PI/4+e/2)),e=Math.log((1+i*t)/(1-i*t));this.K=n-this.alpha*r+this.alpha*i/2*e},forward:function(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),n=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),t=-this.alpha*(t+n)+this.K,n=2*(Math.atan(Math.exp(t))-Math.PI/4),t=this.alpha*(e.x-this.lambda0),r=Math.atan(Math.sin(t)/(Math.sin(this.b0)*Math.tan(n)+Math.cos(this.b0)*Math.cos(t))),n=Math.asin(Math.cos(this.b0)*Math.sin(n)-Math.sin(this.b0)*Math.cos(n)*Math.cos(t));return e.y=this.R/2*Math.log((1+Math.sin(n))/(1-Math.sin(n)))+this.y0,e.x=this.R*r+this.x0,e},inverse:function(e){for(var t,n=e.x-this.x0,r=e.y-this.y0,n=n/this.R,r=2*(Math.atan(Math.exp(r/this.R))-Math.PI/4),i=Math.asin(Math.cos(this.b0)*Math.sin(r)+Math.sin(this.b0)*Math.cos(r)*Math.cos(n)),n=Math.atan(Math.sin(n)/(Math.cos(this.b0)*Math.cos(n)-Math.sin(this.b0)*Math.tan(r))),r=this.lambda0+n/this.alpha,o=i,a=-1e3,s=0;1e-7<Math.abs(o-a);){if(20<++s)return;t=1/this.alpha*(Math.log(Math.tan(Math.PI/4+i/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(o))/2)),a=o,o=2*Math.atan(Math.exp(t))-Math.PI/2}return e.x=r,e.y=o,e},names:["somerc"]};var Ot={init:function(){var e,t,n,r,i,o=0,a=0,s=0,l=0,u=0,c=0,f=0,h=(this.no_off=(d="object"==typeof(h=this).PROJECTION?Object.keys(h.PROJECTION)[0]:h.PROJECTION,"no_uoff"in h||"no_off"in h||-1!==["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"].indexOf(d)),this.no_rot="no_rot"in this,!1),d=("alpha"in this&&(h=!0),!1);if("rectified_grid_angle"in this&&(d=!0),h&&(f=this.alpha),d&&(o=this.rectified_grid_angle*v),h||d)a=this.longc;else if(s=this.long1,u=this.lat1,l=this.long2,c=this.lat2,Math.abs(u-c)<=1e-7||(e=Math.abs(u))<=1e-7||Math.abs(e-m)<=1e-7||Math.abs(Math.abs(this.lat0)-m)<=1e-7||Math.abs(Math.abs(c)-m)<=1e-7)throw new Error;var p=1-this.es,y=Math.sqrt(p);Math.abs(this.lat0)>g?(r=Math.sin(this.lat0),t=Math.cos(this.lat0),e=1-this.es*r*r,this.B=t*t,this.B=Math.sqrt(1+this.es*this.B*this.B/p),this.A=this.B*this.k0*y/e,(n=(t=this.B*y/(t*Math.sqrt(e)))*t-1)<=0?n=0:(n=Math.sqrt(n),this.lat0<0&&(n=-n)),this.E=n+=t,this.E*=Math.pow(w(this.e,this.lat0,r),this.B)):(this.B=1/y,this.A=this.k0,this.E=t=n=1),h||d?(h?(i=Math.asin(Math.sin(f)/t),d||(o=f)):(i=o,f=Math.asin(t*Math.sin(i))),this.lam0=a-Math.asin(.5*(n-1/n)*Math.tan(i))/this.B):(p=Math.pow(w(this.e,u,Math.sin(u)),this.B),r=Math.pow(w(this.e,c,Math.sin(c)),this.B),n=this.E/p,y=(r-p)/(r+p),h=this.E*this.E,(e=s-l)<-Math.pi?l-=_:e>Math.pi&&(l+=_),this.lam0=S(.5*(s+l)-Math.atan((h-r*p)/(h+r*p)*Math.tan(.5*this.B*(s-l))/y)/this.B),i=Math.atan(2*Math.sin(this.B*S(s-this.lam0))/(n-1/n)),o=f=Math.asin(t*Math.sin(i))),this.singam=Math.sin(i),this.cosgam=Math.cos(i),this.sinrot=Math.sin(o),this.cosrot=Math.cos(o),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A,this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(t*t-1)/Math.cos(f))),this.lat0<0&&(this.u_0=-this.u_0)),n=.5*i,this.v_pole_n=this.ArB*Math.log(Math.tan(b-n)),this.v_pole_s=this.ArB*Math.log(Math.tan(b+n))},forward:function(e){var t,n,r,i,o={};if(e.x=e.x-this.lam0,Math.abs(Math.abs(e.y)-m)>g){if(r=.5*((i=this.E/Math.pow(w(this.e,e.y,Math.sin(e.y)),this.B))-(n=1/i)),i=.5*(i+n),t=Math.sin(this.B*e.x),i=(r*this.singam-t*this.cosgam)/i,Math.abs(Math.abs(i)-1)<g)throw new Error;i=.5*this.ArB*Math.log((1-i)/(1+i)),n=Math.cos(this.B*e.x),r=Math.abs(n)<1e-7?this.A*e.x:this.ArB*Math.atan2(r*this.cosgam+t*this.singam,n)}else i=0<e.y?this.v_pole_n:this.v_pole_s,r=this.ArB*e.y;return this.no_rot?(o.x=r,o.y=i):(r-=this.u_0,o.x=i*this.cosrot+r*this.sinrot,o.y=r*this.cosrot-i*this.sinrot),o.x=this.a*o.x+this.x0,o.y=this.a*o.y+this.y0,o},inverse:function(e){var t,n,r,i={};if(e.x=(e.x-this.x0)*(1/this.a),e.y=(e.y-this.y0)*(1/this.a),e=this.no_rot?(r=e.y,e.x):(r=e.x*this.cosrot-e.y*this.sinrot,e.y*this.cosrot+e.x*this.sinrot+this.u_0),t=.5*((r=Math.exp(-this.BrA*r))-1/r),r=.5*(r+1/r),r=((n=Math.sin(this.BrA*e))*this.cosgam+t*this.singam)/r,Math.abs(Math.abs(r)-1)<g)i.x=0,i.y=r<0?-m:m;else{if(i.y=this.E/Math.sqrt((1+r)/(1-r)),i.y=le(this.e,Math.pow(i.y,1/this.B)),i.y===1/0)throw new Error;i.x=-this.rB*Math.atan2(t*this.cosgam-n*this.singam,Math.cos(this.BrA*e))}return i.x+=this.lam0,i},names:["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Two_Point_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","Oblique_Mercator","omerc"]};var Et={init:function(){var e,t,n,r,i,o;this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,Math.abs(this.lat1+this.lat2)<g||(e=this.b/this.a,this.e=Math.sqrt(1-e*e),e=Math.sin(this.lat1),t=Math.cos(this.lat1),t=a(this.e,e,t),n=w(this.e,this.lat1,e),i=Math.sin(this.lat2),r=Math.cos(this.lat2),r=a(this.e,i,r),i=w(this.e,this.lat2,i),o=w(this.e,this.lat0,Math.sin(this.lat0)),Math.abs(this.lat1-this.lat2)>g?this.ns=Math.log(t/r)/Math.log(n/i):this.ns=e,isNaN(this.ns)&&(this.ns=e),this.f0=t/(this.ns*Math.pow(n,this.ns)),this.rh=this.a*this.f0*Math.pow(o,this.ns),this.title)||(this.title="Lambert Conformal Conic")},forward:function(e){var t,n=e.x,r=e.y,i=(Math.abs(2*Math.abs(r)-Math.PI)<=g&&(r=ce(r)*(m-2*g)),Math.abs(Math.abs(r)-m));if(g<i)i=w(this.e,r,Math.sin(r)),t=this.a*this.f0*Math.pow(i,this.ns);else{if(r*this.ns<=0)return null;t=0}return i=this.ns*S(n-this.long0),e.x=this.k0*(t*Math.sin(i))+this.x0,e.y=this.k0*(this.rh-t*Math.cos(i))+this.y0,e},inverse:function(e){var t,n,r=(e.x-this.x0)/this.k0,i=this.rh-(e.y-this.y0)/this.k0,o=0<this.ns?(t=Math.sqrt(r*r+i*i),1):(t=-Math.sqrt(r*r+i*i),-1),a=0;if(0!==t&&(a=Math.atan2(o*r,o*i)),0!==t||0<this.ns){if(o=1/this.ns,r=Math.pow(t/(this.a*this.f0),o),-9999===(n=le(this.e,r)))return null}else n=-m;return i=S(a/this.ns+this.long0),e.x=i,e.y=n,e},names:["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"]};function P(e,t,n,r,i){return e*i-t*Math.sin(2*i)+n*Math.sin(4*i)-r*Math.sin(6*i)}function Mt(e){return 1-.25*e*(1+e/16*(3+1.25*e))}function Pt(e){return.375*e*(1+.25*e*(1+.46875*e))}function kt(e){return.05859375*e*e*(1+.75*e)}function Tt(e){return e*e*e*(35/3072)}function k(e,t,n){return t*=n,e/Math.sqrt(1-t*t)}function T(e){return Math.abs(e)<m?e:e-ce(e)*Math.PI}function It(e,t,n,r,i){for(var o,a=e/t,s=0;s<15;s++)if(a+=o=(e-(t*a-n*Math.sin(2*a)+r*Math.sin(4*a)-i*Math.sin(6*a)))/(t-2*n*Math.cos(2*a)+4*r*Math.cos(4*a)-6*i*Math.cos(6*a)),Math.abs(o)<=1e-10)return a;return NaN}var Lt={init:function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},forward:function(e){var t=e.x,n=e.y,t=S(t-this.long0),r=Math.pow((1+this.e*Math.sin(n))/(1-this.e*Math.sin(n)),this.alfa*this.e/2),n=2*(Math.atan(this.k*Math.pow(Math.tan(n/2+this.s45),this.alfa)/r)-this.s45),r=-t*this.alfa,t=Math.asin(Math.cos(this.ad)*Math.sin(n)+Math.sin(this.ad)*Math.cos(n)*Math.cos(r)),n=Math.asin(Math.cos(n)*Math.sin(r)/Math.cos(t)),r=this.n*n,n=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(t/2+this.s45),this.n);return e.y=n*Math.cos(r),e.x=n*Math.sin(r),this.czech||(e.y*=-1,e.x*=-1),e},inverse:function(e){for(var t,n,r,i,o=e.x,a=(e.x=e.y,e.y=o,this.czech||(e.y*=-1,e.x*=-1),o=Math.sqrt(e.x*e.x+e.y*e.y),n=Math.atan2(e.y,e.x)/Math.sin(this.s0),o=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(o)-Math.sin(this.ad)*Math.cos(o)*Math.cos(n)),o=Math.asin(Math.cos(o)*Math.sin(n)/Math.cos(t)),e.x=this.long0-o/this.alfa,r=t,i=0);e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(r))/(1-this.e*Math.sin(r)),this.e/2))-this.s45),Math.abs(r-e.y)<1e-10&&(i=1),r=e.y,a+=1,0===i&&a<15;);return 15<=a?null:e},names:["Krovak","krovak"]};function I(e,t){var n;return 1e-7<e?(1-e*e)*(t/(1-(n=e*t)*n)-.5/e*Math.log((1-n)/(1+n))):2*t}var jt={init:function(){this.sphere||(this.e0=Mt(this.es),this.e1=Pt(this.es),this.e2=kt(this.es),this.e3=Tt(this.es),this.ml0=this.a*P(this.e0,this.e1,this.e2,this.e3,this.lat0))},forward:function(e){var t,n,r,i,o,a,s=e.x,l=e.y,s=S(s-this.long0);return l=this.sphere?(a=this.a*Math.asin(Math.cos(l)*Math.sin(s)),this.a*(Math.atan2(Math.tan(l),Math.cos(s))-this.lat0)):(t=Math.sin(l),n=Math.cos(l),r=k(this.a,this.e,t),i=Math.tan(l)*Math.tan(l),a=r*(s=s*Math.cos(l))*(1-(s=s*s)*i*(1/6-(8-i+8*(o=this.es*n*n/(1-this.es)))*s/120)),this.a*P(this.e0,this.e1,this.e2,this.e3,l)-this.ml0+r*t/n*s*(.5+(5-i+6*o)*s/24)),e.x=a+this.x0,e.y=l+this.y0,e},inverse:function(e){e.x-=this.x0,e.y-=this.y0;var t=e.x/this.a,n=e.y/this.a;if(this.sphere)var r=n+this.lat0,i=Math.asin(Math.sin(r)*Math.cos(t)),r=Math.atan2(Math.tan(t),Math.cos(r));else{var o=this.ml0/this.a+n,o=It(o,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(o)-m)<=g)return e.x=this.long0,e.y=m,n<0&&(e.y*=-1),e;var n=k(this.a,this.e,Math.sin(o)),a=n*n*n/this.a/this.a*(1-this.es),s=Math.pow(Math.tan(o),2),t=t*this.a/n,l=t*t;i=o-n*Math.tan(o)/a*t*t*(.5-(1+3*s)*t*t/24),r=t*(1-l*(s/3+(1+3*s)*s*l/15))/Math.cos(o)}return e.x=S(r+this.long0),e.y=T(i),e},names:["Cassini","Cassini_Soldner","cass"]};var Dt=.3333333333333333,Bt=.17222222222222222,Rt=.10257936507936508,Nt=.06388888888888888,zt=.0664021164021164,Ft=.016415012942191543;function L(e){return 1<Math.abs(e)&&(e=1<e?1:-1),Math.asin(e)}var Vt={init:function(){var e,t,n,r=Math.abs(this.lat0);if(Math.abs(r-m)<g?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(r)<g?this.mode=this.EQUIT:this.mode=this.OBLIQ,0<this.es)switch(this.qp=I(this.e,1),this.mmf=.5/(1-this.es),this.apa=(r=this.es,(n=[])[0]=r*Dt,n[0]+=(t=r*r)*Bt,n[1]=t*Nt,n[0]+=(t*=r)*Rt,n[1]+=t*zt,n[2]=t*Ft,n),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=I(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},forward:function(e){var t,n,r,i,o,a,s,l,u,c,f=e.x,h=e.y,f=S(f-this.long0);if(this.sphere){if(o=Math.sin(h),c=Math.cos(h),r=Math.cos(f),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((n=this.mode===this.EQUIT?1+c*r:1+this.sinph0*o+this.cosph0*c*r)<=g)return null;t=(n=Math.sqrt(2/n))*c*Math.sin(f),n*=this.mode===this.EQUIT?o:this.cosph0*o-this.sinph0*c*r}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(r=-r),Math.abs(h+this.lat0)<g)return null;n=b-.5*h,t=(n=2*(this.mode===this.S_POLE?Math.cos(n):Math.sin(n)))*Math.sin(f),n*=r}}else{switch(u=l=s=0,r=Math.cos(f),i=Math.sin(f),o=Math.sin(h),a=I(this.e,o),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(s=a/this.qp,l=Math.sqrt(1-s*s)),this.mode){case this.OBLIQ:u=1+this.sinb1*s+this.cosb1*l*r;break;case this.EQUIT:u=1+l*r;break;case this.N_POLE:u=m+h,a=this.qp-a;break;case this.S_POLE:u=h-m,a=this.qp+a}if(Math.abs(u)<g)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:u=Math.sqrt(2/u),n=this.mode===this.OBLIQ?this.ymf*u*(this.cosb1*s-this.sinb1*l*r):(u=Math.sqrt(2/(1+l*r)))*s*this.ymf,t=this.xmf*u*l*i;break;case this.N_POLE:case this.S_POLE:0<=a?(t=(u=Math.sqrt(a))*i,n=r*(this.mode===this.S_POLE?u:-u)):t=n=0}}return e.x=this.a*t+this.x0,e.y=this.a*n+this.y0,e},inverse:function(e){e.x-=this.x0,e.y-=this.y0;var t,n,r,i,o,a,s=e.x/this.a,l=e.y/this.a;if(this.sphere){var u,c=0,f=0,h=Math.sqrt(s*s+l*l);if(1<(u=.5*h))return null;switch(u=2*Math.asin(u),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(f=Math.sin(u),c=Math.cos(u)),this.mode){case this.EQUIT:u=Math.abs(h)<=g?0:Math.asin(l*f/h),s*=f,l=c*h;break;case this.OBLIQ:u=Math.abs(h)<=g?this.lat0:Math.asin(c*this.sinph0+l*f*this.cosph0/h),s*=f*this.cosph0,l=(c-Math.sin(u)*this.sinph0)*h;break;case this.N_POLE:l=-l,u=m-u;break;case this.S_POLE:u-=m}t=0!==l||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(s,l):0}else{if(r=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(s/=this.dd,l*=this.dd,(o=Math.sqrt(s*s+l*l))<g)return e.x=this.long0,e.y=this.lat0,e;i=2*Math.asin(.5*o/this.rq),a=Math.cos(i),s*=i=Math.sin(i),l=this.mode===this.OBLIQ?(r=a*this.sinb1+l*i*this.cosb1/o,n=this.qp*r,o*this.cosb1*a-l*this.sinb1*i):(n=this.qp*(r=l*i/o),o*a)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(!(n=s*s+(l=this.mode===this.N_POLE?-l:l)*l))return e.x=this.long0,e.y=this.lat0,e;r=1-n/this.qp,this.mode===this.S_POLE&&(r=-r)}t=Math.atan2(s,l),i=Math.asin(r),o=this.apa,a=i+i,u=i+o[0]*Math.sin(a)+o[1]*Math.sin(a+a)+o[2]*Math.sin(a+a+a)}return e.x=S(this.long0+t),e.y=u,e},names:["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"],S_POLE:1,N_POLE:2,EQUIT:3,OBLIQ:4};var Ht={init:function(){Math.abs(this.lat1+this.lat2)<g||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=a(this.e3,this.sin_po,this.cos_po),this.qs1=I(this.e3,this.sin_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=a(this.e3,this.sin_po,this.cos_po),this.qs2=I(this.e3,this.sin_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=I(this.e3,this.sin_po),Math.abs(this.lat1-this.lat2)>g?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},forward:function(e){var t=e.x,n=e.y,n=(this.sin_phi=Math.sin(n),this.cos_phi=Math.cos(n),I(this.e3,this.sin_phi)),n=this.a*Math.sqrt(this.c-this.ns0*n)/this.ns0,t=this.ns0*S(t-this.long0),r=n*Math.sin(t)+this.x0,n=this.rh-n*Math.cos(t)+this.y0;return e.x=r,e.y=n,e},inverse:function(e){var t,n,r;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,r=0<=this.ns0?(n=Math.sqrt(e.x*e.x+e.y*e.y),1):(n=-Math.sqrt(e.x*e.x+e.y*e.y),-1),(t=0)!==n&&(t=Math.atan2(r*e.x,r*e.y)),r=n*this.ns0/this.a,r=this.sphere?Math.asin((this.c-r*r)/(2*this.ns0)):(n=(this.c-r*r)/this.ns0,this.phi1z(this.e3,n)),n=S(t/this.ns0+this.long0),e.x=n,e.y=r,e},names:["Albers_Conic_Equal_Area","Albers","aea"],phi1z:function(e,t){var n,r,i,o=L(.5*t);if(e<g)return o;for(var a=e*e,s=1;s<=25;s++)if(o+=i=.5*(r=1-(n=e*(i=Math.sin(o)))*n)*r/Math.cos(o)*(t/(1-a)-i/r+.5/e*Math.log((1-n)/(1+n))),Math.abs(i)<=1e-7)return o;return null}};var Yt={init:function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0),this.infinity_dist=1e3*this.a,this.rc=1},forward:function(e){var t,n=e.x,r=e.y,n=S(n-this.long0),i=Math.sin(r),r=Math.cos(r),o=Math.cos(n),a=0<(a=this.sin_p14*i+this.cos_p14*r*o)||Math.abs(a)<=g?(t=this.x0+ +this.a*r*Math.sin(n)/a,this.y0+ +this.a*(this.cos_p14*i-this.sin_p14*r*o)/a):(t=this.x0+this.infinity_dist*r*Math.sin(n),this.y0+this.infinity_dist*(this.cos_p14*i-this.sin_p14*r*o));return e.x=t,e.y=a,e},inverse:function(e){var t,n,r,i;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,r=(t=Math.sqrt(e.x*e.x+e.y*e.y))?(r=Math.atan2(t,this.rc),n=Math.sin(r),r=Math.cos(r),i=L(r*this.sin_p14+e.y*n*this.cos_p14/t),r=Math.atan2(e.x*n,t*this.cos_p14*r-e.y*this.sin_p14*n),S(this.long0+r)):(i=this.phic0,0),e.x=r,e.y=i,e},names:["gnom"]};var Gt={init:function(){this.sphere||(this.k0=a(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},forward:function(e){var t,n=e.x,r=e.y,n=S(n-this.long0);return n=this.sphere?(t=this.x0+this.a*n*Math.cos(this.lat_ts),this.y0+this.a*Math.sin(r)/Math.cos(this.lat_ts)):(r=I(this.e,Math.sin(r)),t=this.x0+this.a*this.k0*n,this.y0+this.a*r*.5/this.k0),e.x=t,e.y=n,e},inverse:function(e){var t,n;return e.x-=this.x0,e.y-=this.y0,this.sphere?(t=S(this.long0+e.x/this.a/Math.cos(this.lat_ts)),n=Math.asin(e.y/this.a*Math.cos(this.lat_ts))):(n=function(e,t){var n=1-(1-e*e)/(2*e)*Math.log((1-e)/(1+e));if(Math.abs(Math.abs(t)-n)<1e-6)return t<0?-1*m:m;for(var r,i,o,a=Math.asin(.5*t),s=0;s<30;s++)if(r=Math.sin(a),i=Math.cos(a),o=e*r,a+=i=Math.pow(1-o*o,2)/(2*i)*(t/(1-e*e)-r/(1-o*o)+.5/e*Math.log((1-o)/(1+o))),Math.abs(i)<=1e-10)return a;return NaN}(this.e,2*e.y*this.k0/this.a),t=S(this.long0+e.x/(this.a*this.k0))),e.x=t,e.y=n,e},names:["cea"]};var Ut={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)},forward:function(e){var t=e.x,n=e.y,t=S(t-this.long0),n=T(n-this.lat0);return e.x=this.x0+this.a*t*this.rc,e.y=this.y0+this.a*n,e},inverse:function(e){var t=e.x,n=e.y;return e.x=S(this.long0+(t-this.x0)/(this.a*this.rc)),e.y=T(this.lat0+(n-this.y0)/this.a),e},names:["Equirectangular","Equidistant_Cylindrical","eqc"]};var Qt={init:function(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Mt(this.es),this.e1=Pt(this.es),this.e2=kt(this.es),this.e3=Tt(this.es),this.ml0=this.a*P(this.e0,this.e1,this.e2,this.e3,this.lat0)},forward:function(e){var t,n=e.x,r=e.y,i=(n=S(n-this.long0))*Math.sin(r);return r=this.sphere?Math.abs(r)<=g?(t=this.a*n,-1*this.a*this.lat0):(t=this.a*Math.sin(i)/Math.tan(r),this.a*(T(r-this.lat0)+(1-Math.cos(i))/Math.tan(r))):Math.abs(r)<=g?(t=this.a*n,-1*this.ml0):(t=(n=k(this.a,this.e,Math.sin(r))/Math.tan(r))*Math.sin(i),this.a*P(this.e0,this.e1,this.e2,this.e3,r)-this.ml0+n*(1-Math.cos(i))),e.x=t+this.x0,e.y=r+this.y0,e},inverse:function(e){var t,n,r,i,o,a,s=e.x-this.x0,l=e.y-this.y0;if(this.sphere)if(Math.abs(l+this.a*this.lat0)<=g)t=S(s/this.a+this.long0),n=0;else{for(var u,c=this.lat0+l/this.a,f=s*s/this.a/this.a+c*c,h=c,d=20;d;--d)if(h+=r=-1*(c*(h*(u=Math.tan(h))+1)-h-.5*(h*h+f)*u)/((h-c)/u-1),Math.abs(r)<=g){n=h;break}t=S(this.long0+Math.asin(s*Math.tan(h)/this.a)/Math.sin(n))}else if(Math.abs(l+this.ml0)<=g)n=0,t=S(this.long0+s/this.a);else{for(c=(this.ml0+l)/this.a,f=s*s/this.a/this.a+c*c,h=c,d=20;d;--d)if(a=this.e*Math.sin(h),i=Math.sqrt(1-a*a)*Math.tan(h),a=this.a*P(this.e0,this.e1,this.e2,this.e3,h),o=this.e0-2*this.e1*Math.cos(2*h)+4*this.e2*Math.cos(4*h)-6*this.e3*Math.cos(6*h),h-=r=(c*(i*(a=a/this.a)+1)-a-.5*i*(a*a+f))/(this.es*Math.sin(2*h)*(a*a+f-2*c*a)/(4*i)+(c-a)*(i*o-2/Math.sin(2*h))-o),Math.abs(r)<=g){n=h;break}i=Math.sqrt(1-this.es*Math.pow(Math.sin(n),2))*Math.tan(n),t=S(this.long0+Math.asin(s*i/this.a)/Math.sin(n))}return e.x=t,e.y=n,e},names:["Polyconic","poly"]};var Wt={init:function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},forward:function(e){for(var t=e.x,n=e.y-this.lat0,t=t-this.long0,r=n/A*1e-5,n=t,i=1,o=0,a=1;a<=10;a++)o+=this.A[a]*(i*=r);var s,l=o,u=n,c=1,f=0,h=0,d=0;for(a=1;a<=6;a++)s=f*l+c*u,h=h+this.B_re[a]*(c=c*l-f*u)-this.B_im[a]*(f=s),d=d+this.B_im[a]*c+this.B_re[a]*f;return e.x=d*this.a+this.x0,e.y=h*this.a+this.y0,e},inverse:function(e){var t,n=e.x,r=e.y,n=n-this.x0,i=(r-this.y0)/this.a,o=n/this.a,a=1,s=0,l=0,u=0;for(m=1;m<=6;m++)t=s*i+a*o,l=l+this.C_re[m]*(a=a*i-s*o)-this.C_im[m]*(s=t),u=u+this.C_im[m]*a+this.C_re[m]*s;for(var c=0;c<this.iterations;c++){for(var f,h=l,d=u,p=i,y=o,m=2;m<=6;m++)f=d*l+h*u,h=h*l-d*u,d=f,p+=(m-1)*(this.B_re[m]*h-this.B_im[m]*d),y+=(m-1)*(this.B_im[m]*h+this.B_re[m]*d);var h=1,d=0,g=this.B_re[1],v=this.B_im[1];for(m=2;m<=6;m++)f=d*l+h*u,h=h*l-d*u,d=f,g+=m*(this.B_re[m]*h-this.B_im[m]*d),v+=m*(this.B_im[m]*h+this.B_re[m]*d);var b=g*g+v*v,l=(p*g+y*v)/b,u=(y*g-p*v)/b}var _=l,r=u,x=1,w=0;for(m=1;m<=9;m++)w+=this.D[m]*(x*=_);return n=this.lat0+w*A*1e5,r=this.long0+r,e.x=r,e.y=n,e},names:["New_Zealand_Map_Grid","nzmg"]};var qt={init:function(){},forward:function(e){var t=e.x,n=e.y,t=S(t-this.long0),t=this.x0+this.a*t,n=this.y0+this.a*Math.log(Math.tan(Math.PI/4+n/2.5))*1.25;return e.x=t,e.y=n,e},inverse:function(e){e.x-=this.x0,e.y-=this.y0;var t=S(this.long0+e.x/this.a),n=2.5*(Math.atan(Math.exp(.8*e.y/this.a))-Math.PI/4);return e.x=t,e.y=n,e},names:["Miller_Cylindrical","mill"]};var Kt={init:function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=Je(this.es)},forward:function(e){var t=e.x,n=e.y,t=S(t-this.long0);if(this.sphere){if(this.m)for(var r=this.n*Math.sin(n),i=20;i;--i){var o=(this.m*n+Math.sin(n)-r)/(this.m+Math.cos(n));if(n-=o,Math.abs(o)<g)break}else n=1!==this.n?Math.asin(this.n*Math.sin(n)):n;u=this.a*this.C_x*t*(this.m+Math.cos(n)),l=this.a*this.C_y*n}else var a=Math.sin(n),s=Math.cos(n),l=this.a*ft(n,a,s,this.en),u=this.a*t*s/Math.sqrt(1-this.es*a*a);return e.x=u,e.y=l,e},inverse:function(e){var t,n,r,i;return e.x-=this.x0,r=e.x/this.a,e.y-=this.y0,t=e.y/this.a,this.sphere?(t/=this.C_y,r/=this.C_x*(this.m+Math.cos(t)),this.m?t=L((this.m*t+Math.sin(t))/this.n):1!==this.n&&(t=L(Math.sin(t)/this.n)),r=S(r+this.long0),t=T(t)):(t=$e(e.y/this.a,this.es,this.en),(i=Math.abs(t))<m?(i=Math.sin(t),n=this.long0+e.x*Math.sqrt(1-this.es*i*i)/(this.a*Math.cos(t)),r=S(n)):i-g<m&&(r=this.long0)),e.x=r,e.y=t,e},names:["Sinusoidal","sinu"]};var Xt={init:function(){},forward:function(e){for(var t=e.x,n=e.y,t=S(t-this.long0),r=n,i=Math.PI*Math.sin(n);;){var o=-(r+Math.sin(r)-i)/(1+Math.cos(r));if(r+=o,Math.abs(o)<g)break}return r/=2,Math.PI/2-Math.abs(n)<g&&(t=0),n=.900316316158*this.a*t*Math.cos(r)+this.x0,t=1.4142135623731*this.a*Math.sin(r)+this.y0,e.x=n,e.y=t,e},inverse:function(e){e.x-=this.x0,e.y-=this.y0,t=e.y/(1.4142135623731*this.a),.999999999999<Math.abs(t)&&(t=.999999999999),r=Math.asin(t);var t,n=S(this.long0+e.x/(.900316316158*this.a*Math.cos(r))),r=((n=n<-Math.PI?-Math.PI:n)>Math.PI&&(n=Math.PI),t=(2*r+Math.sin(2*r))/Math.PI,1<Math.abs(t)&&(t=1),Math.asin(t));return e.x=n,e.y=r,e},names:["Mollweide","moll"]};var Jt={init:function(){Math.abs(this.lat1+this.lat2)<g||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Mt(this.es),this.e1=Pt(this.es),this.e2=kt(this.es),this.e3=Tt(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=a(this.e,this.sinphi,this.cosphi),this.ml1=P(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<g?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=a(this.e,this.sinphi,this.cosphi),this.ml2=P(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=P(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},forward:function(e){var t=e.x,n=e.y,t=(n=this.sphere?this.a*(this.g-n):(n=P(this.e0,this.e1,this.e2,this.e3,n),this.a*(this.g-n)),this.ns*S(t-this.long0)),r=this.x0+n*Math.sin(t),n=this.y0+this.rh-n*Math.cos(t);return e.x=r,e.y=n,e},inverse:function(e){e.x-=this.x0,e.y=this.rh-e.y+this.y0,n=0<=this.ns?(t=Math.sqrt(e.x*e.x+e.y*e.y),1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),-1);var t,n,r,i,o=0;return 0!==t&&(o=Math.atan2(n*e.x,n*e.y)),this.sphere?(i=S(this.long0+o/this.ns),r=T(this.g-t/this.a)):(n=this.g-t/this.a,r=It(n,this.e0,this.e1,this.e2,this.e3),i=S(this.long0+o/this.ns)),e.x=i,e.y=r,e},names:["Equidistant_Conic","eqdc"]};var $t={init:function(){this.R=this.a},forward:function(e){var t,n=e.x,r=e.y,n=S(n-this.long0),i=(Math.abs(r)<=g&&(t=this.x0+this.R*n,c=this.y0),L(2*Math.abs(r/Math.PI))),o=((Math.abs(n)<=g||Math.abs(Math.abs(r)-m)<=g)&&(t=this.x0,c=0<=r?this.y0+Math.PI*this.R*Math.tan(.5*i):this.y0+Math.PI*this.R*-Math.tan(.5*i)),.5*Math.abs(Math.PI/n-n/Math.PI)),a=o*o,s=Math.sin(i),i=Math.cos(i),l=(s=(i=i/(s+i-1))*(2/s-1))*s,u=Math.PI*this.R*(o*(i-l)+Math.sqrt(a*(i-l)*(i-l)-(l+a)*(i*i-l)))/(l+a),n=(t=this.x0+(u=n<0?-u:u),a+i),u=Math.PI*this.R*(s*n-o*Math.sqrt((l+a)*(1+a)-n*n))/(l+a),c=0<=r?this.y0+u:this.y0-u;return e.x=t,e.y=c,e},inverse:function(e){var t,n,r,i,o,a,s;return e.x-=this.x0,e.y-=this.y0,s=Math.PI*this.R,r=(t=e.x/s)*t+(n=e.y/s)*n,s=3*(n*n/(o=-2*(a=-Math.abs(n)*(1+r))+1+2*n*n+r*r)+(2*(i=a-2*n*n+t*t)*i*i/o/o/o-9*a*i/o/o)/27)/(a=(a-i*i/3/o)/o)/(a=2*Math.sqrt(-a/3)),1<Math.abs(s)&&(s=0<=s?1:-1),s=Math.acos(s)/3,a=0<=e.y?(-a*Math.cos(s+Math.PI/3)-i/3/o)*Math.PI:-(-a*Math.cos(s+Math.PI/3)-i/3/o)*Math.PI,s=Math.abs(t)<g?this.long0:S(this.long0+Math.PI*(r-1+Math.sqrt(1+2*(t*t-n*n)+r*r))/2/t),e.x=s,e.y=a,e},names:["Van_der_Grinten_I","VanDerGrinten","vandg"]};var Zt={init:function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},forward:function(e){var t,n,r,i,o,a,s,l=e.x,u=e.y,c=Math.sin(e.y),f=Math.cos(e.y),l=S(l-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=g?(e.x=this.x0+this.a*(m-u)*Math.sin(l),e.y=this.y0-this.a*(m-u)*Math.cos(l)):Math.abs(this.sin_p12+1)<=g?(e.x=this.x0+this.a*(m+u)*Math.sin(l),e.y=this.y0+this.a*(m+u)*Math.cos(l)):(i=this.sin_p12*c+this.cos_p12*f*Math.cos(l),a=(i=Math.acos(i))?i/Math.sin(i):1,e.x=this.x0+this.a*a*f*Math.sin(l),e.y=this.y0+this.a*a*(this.cos_p12*c-this.sin_p12*f*Math.cos(l))):(a=Mt(this.es),t=Pt(this.es),r=kt(this.es),s=Tt(this.es),Math.abs(this.sin_p12-1)<=g?(o=this.a*P(a,t,r,s,m),n=this.a*P(a,t,r,s,u),e.x=this.x0+(o-n)*Math.sin(l),e.y=this.y0-(o-n)*Math.cos(l)):Math.abs(this.sin_p12+1)<=g?(o=this.a*P(a,t,r,s,m),n=this.a*P(a,t,r,s,u),e.x=this.x0+(o+n)*Math.sin(l),e.y=this.y0+(o+n)*Math.cos(l)):(a=c/f,t=k(this.a,this.e,this.sin_p12),r=k(this.a,this.e,c),s=Math.atan((1-this.es)*a+this.es*t*this.sin_p12/(r*f)),o=0===(u=Math.atan2(Math.sin(l),this.cos_p12*Math.tan(s)-this.sin_p12*Math.cos(l)))?Math.asin(this.cos_p12*Math.sin(s)-this.sin_p12*Math.cos(s)):Math.abs(Math.abs(u)-Math.PI)<=g?-Math.asin(this.cos_p12*Math.sin(s)-this.sin_p12*Math.cos(s)):Math.asin(Math.sin(l)*Math.cos(s)/Math.sin(u)),n=this.e*this.sin_p12/Math.sqrt(1-this.es),c=this.e*this.cos_p12*Math.cos(u)/Math.sqrt(1-this.es),e.x=this.x0+(i=t*o*(1-(a=o*o)*(r=c*c)*(1-r)/6+(f=a*o)/8*(l=n*c)*(1-2*r)+(s=f*o)/120*(r*(4-7*r)-3*n*n*(1-7*r))-s*o/48*l))*Math.sin(u),e.y=this.y0+i*Math.cos(u))),e},inverse:function(e){var t,n,r,i,o,a,s,l;return e.x-=this.x0,e.y-=this.y0,this.sphere?(l=Math.sqrt(e.x*e.x+e.y*e.y))>2*m*this.a?void 0:(i=l/this.a,s=Math.sin(i),i=Math.cos(i),t=this.long0,Math.abs(l)<=g?n=this.lat0:(n=L(i*this.sin_p12+e.y*s*this.cos_p12/l),a=Math.abs(this.lat0)-m,t=Math.abs(a)<=g?0<=this.lat0?S(this.long0+Math.atan2(e.x,-e.y)):S(this.long0-Math.atan2(-e.x,e.y)):S(this.long0+Math.atan2(e.x*s,l*this.cos_p12*i-e.y*this.sin_p12*s))),e.x=t,e.y=n,e):(a=Mt(this.es),i=Pt(this.es),s=kt(this.es),o=Tt(this.es),Math.abs(this.sin_p12-1)<=g?(r=this.a*P(a,i,s,o,m),l=Math.sqrt(e.x*e.x+e.y*e.y),n=It((r-l)/this.a,a,i,s,o),t=S(this.long0+Math.atan2(e.x,-1*e.y))):Math.abs(this.sin_p12+1)<=g?(r=this.a*P(a,i,s,o,m),l=Math.sqrt(e.x*e.x+e.y*e.y),n=It((l-r)/this.a,a,i,s,o),t=S(this.long0+Math.atan2(e.x,e.y))):(l=Math.sqrt(e.x*e.x+e.y*e.y),r=Math.atan2(e.x,e.y),a=k(this.a,this.e,this.sin_p12),i=Math.cos(r),o=-(s=this.e*this.cos_p12*i)*s/(1-this.es),s=3*this.es*(1-o)*this.sin_p12*this.cos_p12*i/(1-this.es),s=1-o*(a=(l=l/a)-o*(1+o)*Math.pow(l,3)/6-s*(1+3*o)*Math.pow(l,4)/24)*a/2-l*a*a*a/6,o=Math.asin(this.sin_p12*Math.cos(a)+this.cos_p12*Math.sin(a)*i),t=S(this.long0+Math.asin(Math.sin(r)*Math.sin(a)/Math.cos(o))),l=Math.sin(o),n=Math.atan2((l-this.es*s*this.sin_p12)*Math.tan(o),l*(1-this.es))),e.x=t,e.y=n,e)},names:["Azimuthal_Equidistant","aeqd"]};var en={init:function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)},forward:function(e){var t,n,r=e.x,i=e.y,r=S(r-this.long0),o=Math.sin(i),i=Math.cos(i),a=Math.cos(r),s=this.sin_p14*o+this.cos_p14*i*a;return(0<s||Math.abs(s)<=g)&&(t=+this.a*i*Math.sin(r),n=this.y0+ +this.a*(this.cos_p14*o-this.sin_p14*i*a)),e.x=t,e.y=n,e},inverse:function(e){var t,n,r,i,o,a;return e.x-=this.x0,e.y-=this.y0,t=Math.sqrt(e.x*e.x+e.y*e.y),r=L(t/this.a),n=Math.sin(r),r=Math.cos(r),o=this.long0,Math.abs(t)<=g?(a=this.lat0,e.x=o,e.y=a):(a=L(r*this.sin_p14+e.y*n*this.cos_p14/t),i=Math.abs(this.lat0)-m,o=Math.abs(i)<=g?0<=this.lat0?S(this.long0+Math.atan2(e.x,-e.y)):S(this.long0-Math.atan2(-e.x,e.y)):S(this.long0+Math.atan2(e.x*n,t*this.cos_p14*r-e.y*this.sin_p14*n)),e.x=o,e.y=a),e},names:["ortho"]},tn=1,nn=2,rn=3,on=4,an=5,sn=6,j={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function ln(e,t,n,r){var i;return e<g?(r.value=j.AREA_0,i=0):(i=Math.atan2(t,n),Math.abs(i)<=b?r.value=j.AREA_0:b<i&&i<=m+b?(r.value=j.AREA_1,i-=m):m+b<i||i<=-(m+b)?(r.value=j.AREA_2,i=0<=i?i-u:i+u):(r.value=j.AREA_3,i+=m)),i}function D(e,t){e+=t;return e<-u?e+=_:+u<e&&(e-=_),e}function un(e,t){return e[0]+t*(e[1]+t*(e[2]+t*e[3]))}var cn={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=m-b/2?this.face=an:this.lat0<=-(m-b/2)?this.face=sn:Math.abs(this.long0)<=b?this.face=tn:Math.abs(this.long0)<=m+b?this.face=0<this.long0?nn:on:this.face=rn,0!==this.es&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)},forward:function(e){var t,n,r,i,o,a,s={x:0,y:0},l={value:0};return e.x-=this.long0,o=0!==this.es?Math.atan(this.one_minus_f_squared*Math.tan(e.y)):e.y,r=e.x,this.face===an?(n=m-o,t=b<=r&&r<=m+b?(l.value=j.AREA_0,r-m):m+b<r||r<=-(m+b)?(l.value=j.AREA_1,0<r?r-u:r+u):-(m+b)<r&&r<=-b?(l.value=j.AREA_2,r+m):(l.value=j.AREA_3,r)):this.face===sn?(n=m+o,t=b<=r&&r<=m+b?(l.value=j.AREA_0,-r+m):r<b&&-b<=r?(l.value=j.AREA_1,-r):r<-b&&-(m+b)<=r?(l.value=j.AREA_2,-r-m):(l.value=j.AREA_3,0<r?-r+u:-r-u)):(this.face===nn?r=D(r,+m):this.face===rn?r=D(r,+u):this.face===on&&(r=D(r,-m)),i=Math.sin(o),o=Math.cos(o),a=Math.sin(r),r=o*Math.cos(r),o=o*a,a=i,this.face===tn?t=ln(n=Math.acos(r),a,o,l):this.face===nn?t=ln(n=Math.acos(o),a,-r,l):this.face===rn?t=ln(n=Math.acos(-r),a,-o,l):this.face===on?t=ln(n=Math.acos(-o),a,r,l):(n=t=0,l.value=j.AREA_0)),i=Math.atan(12/u*(t+Math.acos(Math.sin(t)*Math.cos(b))-m)),o=Math.sqrt((1-Math.cos(n))/(Math.cos(i)*Math.cos(i))/(1-Math.cos(Math.atan(1/Math.cos(t))))),l.value===j.AREA_1?i+=m:l.value===j.AREA_2?i+=u:l.value===j.AREA_3&&(i+=1.5*u),s.x=o*Math.cos(i),s.y=o*Math.sin(i),s.x=s.x*this.a+this.x0,s.y=s.y*this.a+this.y0,e.x=s.x,e.y=s.y,e},inverse:function(e){var t,n,r,i,o,a={lam:0,phi:0},s={value:0};return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,r=Math.atan(Math.sqrt(e.x*e.x+e.y*e.y)),t=Math.atan2(e.y,e.x),0<=e.x&&e.x>=Math.abs(e.y)?s.value=j.AREA_0:0<=e.y&&e.y>=Math.abs(e.x)?(s.value=j.AREA_1,t-=m):e.x<0&&-e.x>=Math.abs(e.y)?(s.value=j.AREA_2,t=t<0?t+u:t-u):(s.value=j.AREA_3,t+=m),o=u/12*Math.tan(t),i=Math.sin(o)/(Math.cos(o)-1/Math.sqrt(2)),i=Math.atan(i),(r=1-(t=Math.cos(t))*t*(t=Math.tan(r))*t*(1-Math.cos(Math.atan(1/Math.cos(i)))))<-1?r=-1:1<r&&(r=1),this.face===an?(n=Math.acos(r),a.phi=m-n,s.value===j.AREA_0?a.lam=i+m:s.value===j.AREA_1?a.lam=i<0?i+u:i-u:s.value===j.AREA_2?a.lam=i-m:a.lam=i):this.face===sn?(n=Math.acos(r),a.phi=n-m,s.value===j.AREA_0?a.lam=-i+m:s.value===j.AREA_1?a.lam=-i:s.value===j.AREA_2?a.lam=-i-m:a.lam=i<0?-i-u:-i+u):(n=1<=(o=(t=r)*t)?0:Math.sqrt(1-o)*Math.sin(i),r=1<=(o+=n*n)?0:Math.sqrt(1-o),s.value===j.AREA_1?(o=r,r=-n,n=o):s.value===j.AREA_2?(r=-r,n=-n):s.value===j.AREA_3&&(o=r,r=n,n=-o),this.face===nn?(o=t,t=-r,r=o):this.face===rn?(t=-t,r=-r):this.face===on&&(o=t,t=r,r=-o),a.phi=Math.acos(-n)-m,a.lam=Math.atan2(r,t),this.face===nn?a.lam=D(a.lam,-m):this.face===rn?a.lam=D(a.lam,-u):this.face===on&&(a.lam=D(a.lam,+m))),0!==this.es&&(i=a.phi<0?1:0,s=Math.tan(a.phi),o=this.b/Math.sqrt(s*s+this.one_minus_f_squared),a.phi=Math.atan(Math.sqrt(this.a*this.a-o*o)/(this.one_minus_f*o)),i)&&(a.phi=-a.phi),a.lam+=this.long0,e.x=a.lam,e.y=a.phi,e},names:["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"]},fn=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-9.86701e-7],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,1.8736e-8],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,9.34959e-7],[.7986,-.00755338,-500009e-10,9.35324e-7],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],hn=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-1.26793e-9,4.22642e-10],[.124,.0124,5.07171e-9,-1.60604e-9],[.186,.0123999,-1.90189e-8,6.00152e-9],[.248,.0124002,7.10039e-8,-2.24e-8],[.31,.0123992,-2.64997e-7,8.35986e-8],[.372,.0124029,9.88983e-7,-3.11994e-7],[.434,.0123893,-369093e-11,-4.35621e-7],[.4958,.0123198,-102252e-10,-3.45523e-7],[.5571,.0121916,-154081e-10,-5.82288e-7],[.6176,.0119938,-241424e-10,-5.25327e-7],[.6769,.011713,-320223e-10,-5.16405e-7],[.7346,.0113541,-397684e-10,-6.09052e-7],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-1.40374e-9],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],dn=h/5,pn=1/dn;var yn={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.es=0,this.title=this.title||"Robinson"},forward:function(e){var t=S(e.x-this.long0),n=Math.abs(e.y),r=Math.floor(n*dn),t=(r<0?r=0:18<=r&&(r=17),{x:un(fn[r],n=h*(n-pn*r))*t,y:un(hn[r],n)});return e.y<0&&(t.y=-t.y),t.x=t.x*this.a*.8487+this.x0,t.y=t.y*this.a*1.3523+this.y0,t},inverse:function(e){var t={x:(e.x-this.x0)/(.8487*this.a),y:Math.abs(e.y-this.y0)/(1.3523*this.a)};if(1<=t.y)t.x/=fn[18][0],t.y=e.y<0?-m:m;else{var n=Math.floor(18*t.y);for(n<0?n=0:18<=n&&(n=17);;)if(hn[n][0]>t.y)--n;else{if(!(hn[n+1][0]<=t.y))break;++n}var r=hn[n],i=function(e,t,n,r){for(var i=t;r;--r){var o=e(i);if(i-=o,Math.abs(o)<n)break}return i}(function(e){return(un(r,e)-t.y)/(r[1]+e*(2*r[2]+3*e*r[3]))},5*(t.y-r[0])/(hn[n+1][0]-r[0]),g,100);t.x/=un(fn[n],i),t.y=(5*n+i)*v,e.y<0&&(t.y=-t.y)}return t.x=S(t.x+this.long0),t},names:["Robinson","robin"]};var mn={init:function(){this.name="geocent"},forward:function(e){return Se(e,this.es,this.a)},inverse:function(e){return Ce(e,this.es,this.a,this.b)},names:["Geocentric","geocentric","geocent","Geocent"]},gn=0,vn=1,bn=2,_n=3,xn={h:{def:1e5,num:!0},azi:{def:0,num:!0,degrees:!0},tilt:{def:0,num:!0,degrees:!0},long0:{def:0,num:!0},lat0:{def:0,num:!0}};var wn={init:function(){if(Object.keys(xn).forEach(function(e){if(void 0===this[e])this[e]=xn[e].def;else{if(xn[e].num&&isNaN(this[e]))throw new Error("Invalid parameter value, must be numeric "+e+" = "+this[e]);xn[e].num&&(this[e]=parseFloat(this[e]))}xn[e].degrees&&(this[e]=this[e]*v)}.bind(this)),Math.abs(Math.abs(this.lat0)-m)<g?this.mode=this.lat0<0?vn:gn:Math.abs(this.lat0)<g?this.mode=bn:(this.mode=_n,this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0)),this.pn1=this.h/this.a,this.pn1<=0||1e10<this.pn1)throw new Error("Invalid height");this.p=1+this.pn1,this.rp=1/this.p,this.h1=1/this.pn1,this.pfact=(this.p+1)*this.h1,this.es=0;var e=this.tilt,t=this.azi;this.cg=Math.cos(t),this.sg=Math.sin(t),this.cw=Math.cos(e),this.sw=Math.sin(e)},forward:function(e){e.x-=this.long0;var t,n,r,i,o=Math.sin(e.y),a=Math.cos(e.y),s=Math.cos(e.x);switch(this.mode){case _n:n=this.sinph0*o+this.cosph0*a*s;break;case bn:n=a*s;break;case vn:n=-o;break;case gn:n=o}switch(t=(n=this.pn1/(this.p-n))*a*Math.sin(e.x),this.mode){case _n:n*=this.cosph0*o-this.sinph0*a*s;break;case bn:n*=o;break;case gn:n*=-a*s;break;case vn:n*=a*s}return i=1/((r=n*this.cg+t*this.sg)*this.sw*this.h1+this.cw),t=(t*this.cg-n*this.sg)*this.cw*i,n=r*i,e.x=t*this.a,e.y=n*this.a,e},inverse:function(e){e.x/=this.a,e.y/=this.a;var t={x:e.x,y:e.y},n=1/(this.pn1-e.y*this.sw),r=this.pn1*e.x*n,n=this.pn1*e.y*this.cw*n,i=(e.x=r*this.cg+n*this.sg,e.y=n*this.cg-r*this.sg,f(e.x,e.y));if(Math.abs(i)<g)t.x=0,t.y=e.y;else{var o,a=1-i*i*this.pfact;switch(a=(this.p-Math.sqrt(a))/(this.pn1/i+i/this.pn1),o=Math.sqrt(1-a*a),this.mode){case _n:t.y=Math.asin(o*this.sinph0+e.y*a*this.cosph0/i),e.y=(o-this.sinph0*Math.sin(t.y))*i,e.x*=a*this.cosph0;break;case bn:t.y=Math.asin(e.y*a/i),e.y=o*i,e.x*=a;break;case gn:t.y=Math.asin(o),e.y=-e.y;break;case vn:t.y=-Math.asin(o)}t.x=Math.atan2(e.x,e.y)}return e.x=t.x+this.long0,e.y=t.y,e},names:["Tilted_Perspective","tpers"]};var An={init:function(){if(this.flip_axis="x"===this.sweep?1:0,this.h=Number(this.h),this.radius_g_1=this.h/this.a,this.radius_g_1<=0||1e10<this.radius_g_1)throw new Error;var e,t;this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,0!==this.es?(t=1/(e=1-this.es),this.radius_p=Math.sqrt(e),this.radius_p2=e,this.radius_p_inv2=t,this.shape="ellipse"):(this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere"),this.title||(this.title="Geostationary Satellite View")},forward:function(e){var t,n=e.x,r=e.y;if(n-=this.long0,"ellipse"===this.shape){var r=Math.atan(this.radius_p2*Math.tan(r)),i=this.radius_p/f(this.radius_p*Math.cos(r),Math.sin(r)),o=i*Math.cos(n)*Math.cos(r),a=i*Math.sin(n)*Math.cos(r),i=i*Math.sin(r);if((this.radius_g-o)*o-a*a-i*i*this.radius_p_inv2<0)return e.x=Number.NaN,e.y=Number.NaN,e;t=this.radius_g-o,this.flip_axis?(e.x=this.radius_g_1*Math.atan(a/f(i,t)),e.y=this.radius_g_1*Math.atan(i/t)):(e.x=this.radius_g_1*Math.atan(a/t),e.y=this.radius_g_1*Math.atan(i/f(a,t)))}else"sphere"===this.shape&&(t=Math.cos(r),o=Math.cos(n)*t,a=Math.sin(n)*t,i=Math.sin(r),t=this.radius_g-o,this.flip_axis?(e.x=this.radius_g_1*Math.atan(a/f(i,t)),e.y=this.radius_g_1*Math.atan(i/t)):(e.x=this.radius_g_1*Math.atan(a/t),e.y=this.radius_g_1*Math.atan(i/f(a,t))));return e.x=e.x*this.a,e.y=e.y*this.a,e},inverse:function(e){var t,n=-1,r=0,i=0;if(e.x=e.x/this.a,e.y=e.y/this.a,"ellipse"===this.shape){this.flip_axis?(i=Math.tan(e.y/this.radius_g_1),r=Math.tan(e.x/this.radius_g_1)*f(1,i)):(r=Math.tan(e.x/this.radius_g_1),i=Math.tan(e.y/this.radius_g_1)*f(1,r));var o,a,s=i/this.radius_p,s=r*r+s*s+n*n;if((a=(o=2*this.radius_g*n)*o-4*s*this.C)<0)return e.x=Number.NaN,e.y=Number.NaN,e;t=(-o-Math.sqrt(a))/(2*s),n=this.radius_g+t*n,r*=t,i*=t,e.x=Math.atan2(r,n),e.y=Math.atan(i*Math.cos(e.x)/n),e.y=Math.atan(this.radius_p_inv2*Math.tan(e.y))}else if("sphere"===this.shape){if(this.flip_axis?(i=Math.tan(e.y/this.radius_g_1),r=Math.tan(e.x/this.radius_g_1)*Math.sqrt(1+i*i)):(r=Math.tan(e.x/this.radius_g_1),i=Math.tan(e.y/this.radius_g_1)*Math.sqrt(1+r*r)),(a=(o=2*this.radius_g*n)*o-4*(s=r*r+i*i+n*n)*this.C)<0)return e.x=Number.NaN,e.y=Number.NaN,e;t=(-o-Math.sqrt(a))/(2*s),n=this.radius_g+t*n,r*=t,i*=t,e.x=Math.atan2(r,n),e.y=Math.atan(i*Math.cos(e.x)/n)}return e.x=e.x+this.long0,e},names:["Geostationary Satellite View","Geostationary_Satellite","geos"]};e.defaultDatum="WGS84",e.Proj=Ae,e.WGS84=new e.Proj("WGS84"),e.Point=l,e.toPoint=Te,e.defs=ie,e.nadgrid=function(e,t){var n=function(e){if(11===e.getInt32(8,!1))return!1;11!==e.getInt32(8,!0)&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian");return!0}(t=new DataView(t)),r=(i=n,{nFields:(r=t).getInt32(8,i),nSubgridFields:r.getInt32(24,i),nSubgrids:r.getInt32(40,i),shiftType:xe(r,56,64).trim(),fromSemiMajorAxis:r.getFloat64(120,i),fromSemiMinorAxis:r.getFloat64(136,i),toSemiMajorAxis:r.getFloat64(152,i),toSemiMinorAxis:r.getFloat64(168,i)}),i=(1<r.nSubgrids&&console.log("Only single NTv2 subgrids are currently supported, subsequent sub grids are ignored"),{header:r,subgrids:function(e,t,n){for(var r=[],i=0;i<t.nSubgrids;i++){var o=function(e,t,n){return{name:xe(e,t+8,t+16).trim(),parent:xe(e,t+24,t+24+8).trim(),lowerLatitude:e.getFloat64(t+72,n),upperLatitude:e.getFloat64(t+88,n),lowerLongitude:e.getFloat64(t+104,n),upperLongitude:e.getFloat64(t+120,n),latitudeInterval:e.getFloat64(t+136,n),longitudeInterval:e.getFloat64(t+152,n),gridNodeCount:e.getInt32(t+168,n)}}(e,176,n),a=function(e,t,n,r){for(var i=t+176,o=[],a=0;a<n.gridNodeCount;a++){var s={latitudeShift:e.getFloat32(i+16*a,r),longitudeShift:e.getFloat32(i+16*a+4,r),latitudeAccuracy:e.getFloat32(i+16*a+8,r),longitudeAccuracy:e.getFloat32(i+16*a+12,r)};o.push(s)}return o}(e,176,o,n),s=Math.round(1+(o.upperLongitude-o.lowerLongitude)/o.longitudeInterval),l=Math.round(1+(o.upperLatitude-o.lowerLatitude)/o.latitudeInterval);r.push({ll:[c(o.lowerLongitude),c(o.lowerLatitude)],del:[c(o.longitudeInterval),c(o.latitudeInterval)],lim:[s,l],count:o.gridNodeCount,cvs:function(e){return e.map(function(e){return[c(e.longitudeShift),c(e.latitudeShift)]})}(a)})}return r}(t,r,n)});return be[e]=i},e.transform=je,e.mgrs=Ye,e.version="__VERSION__",(l=e).Proj.projections.add(yt),l.Proj.projections.add(bt),l.Proj.projections.add(xt),l.Proj.projections.add(At),l.Proj.projections.add(St),l.Proj.projections.add(Ct),l.Proj.projections.add(Ot),l.Proj.projections.add(Et),l.Proj.projections.add(Lt),l.Proj.projections.add(jt),l.Proj.projections.add(Vt),l.Proj.projections.add(Ht),l.Proj.projections.add(Yt),l.Proj.projections.add(Gt),l.Proj.projections.add(Ut),l.Proj.projections.add(Qt),l.Proj.projections.add(Wt),l.Proj.projections.add(qt),l.Proj.projections.add(Kt),l.Proj.projections.add(Xt),l.Proj.projections.add(Jt),l.Proj.projections.add($t),l.Proj.projections.add(Zt),l.Proj.projections.add(en),l.Proj.projections.add(cn),l.Proj.projections.add(yn),l.Proj.projections.add(mn),l.Proj.projections.add(wn),l.Proj.projections.add(An),R.default=e},p5Ma:function(e,t,n){"use strict";var r=n("aLaa"),i=n("eRwv"),o=n("ba8b"),a=Object,s=r("".split);e.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?s(e,""):a(e)}:a},p7ul:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{staticClass:"sm-component-image",style:[e.getBackgroundStyle,e.getTextColorStyle]},[t("a",{class:["sm-component-image__link",e.realHref?"":"sm-component-image__noLink"],attrs:{href:e.realHref,target:e.target}},[e.src?t("div",{staticClass:"sm-component-image__content",style:[e.repeatStyle,e.imgUrl]}):t("i",{staticClass:"sm-components-icon-tupian sm-component-image__defaultImg"})])])},i=[]},pFRH:function(e,t,n){var r=n("cvCv"),i=n("O0oS"),n=n("zZ0H");e.exports=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:n},pSRY:function(e,t,n){var r=n("QkVE");e.exports=function(e){return r(this,e).has(e)}},pVCk:function(e,t,n){"use strict";var r=n("++4Y"),i=n("eRwv"),o=n("me6S");e.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},pVnL:function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},pXxL:function(e,t,n){"use strict";n.r(t);var r,i=n("m6Gb"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},peoL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Events=void 0;var r=n("e6PS"),s=n("x2TH"),i=n("tW0q"),l=n("yW8N"),n=function(){function o(e,t,n,r,i){if(this.BROWSER_EVENTS=["mouseover","mouseout","mousedown","mouseup","mousemove","click","dblclick","rightclick","dblrightclick","resize","focus","blur","touchstart","touchmove","touchend","keydown","MSPointerDown","MSPointerUp","pointerdown","pointerup","MSGestureStart","MSGestureChange","MSGestureEnd","contextmenu"],this.listeners={},this.object=e,this.element=null,this.eventTypes=[],this.eventHandler=null,this.fallThrough=r,this.includeXY=!1,this.extensions={},this.extensionCount={},this.clearMouseListener=null,l.Util.extend(this,i),null!=n)for(var o=0,a=n.length;o<a;o++)this.addEventType(n[o]);null!=t&&this.attachToElement(t),this.CLASS_NAME="Events"}var e=o.prototype;return e.destroy=function(){for(var e in this.extensions)"boolean"!=typeof this.extensions[e]&&this.extensions[e].destroy();this.extensions=null,this.element&&(s.Event.stopObservingElement(this.element),this.element.hasScrollEvent)&&s.Event.stopObserving(window,"scroll",this.clearMouseListener),this.element=null,this.listeners=null,this.object=null,this.eventTypes=null,this.fallThrough=null,this.eventHandler=null},e.addEventType=function(e){this.listeners[e]||(this.eventTypes.push(e),this.listeners[e]=[])},e.attachToElement=function(e){this.element?s.Event.stopObservingElement(this.element):(this.eventHandler=i.FunctionExt.bindAsEventListener(this.handleBrowserEvent,this),this.clearMouseListener=i.FunctionExt.bind(this.clearMouseCache,this)),this.element=e;for(var t=0,n=this.BROWSER_EVENTS.length;t<n;t++){var r=this.BROWSER_EVENTS[t];this.addEventType(r),s.Event.observe(e,r,this.eventHandler)}s.Event.observe(e,"dragstart",s.Event.stop)},e.on=function(e){for(var t in e)"scope"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&this.register(t,e.scope,e[t])},e.register=function(e,t,n,r){var i;e in o&&!this.extensions[e]&&(this.extensions[e]=new o[e](this)),null!=n&&-1!==l.Util.indexOf(this.eventTypes,e)&&(null==t&&(t=this.object),(i=this.listeners[e])||(this.listeners[e]=i=[],this.extensionCount[e]=0),t={obj:t,func:n},r?(i.splice(this.extensionCount[e],0,t),"object"==typeof r&&r.extension&&this.extensionCount[e]++):i.push(t))},e.registerPriority=function(e,t,n){this.register(e,t,n,!0)},e.un=function(e){for(var t in e)"scope"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&this.unregister(t,e.scope,e[t])},e.unregister=function(e,t,n){null==t&&(t=this.object);var r=this.listeners[e];if(null!=r)for(var i=0,o=r.length;i<o;i++)if(r[i].obj===t&&r[i].func===n){r.splice(i,1);break}},e.remove=function(e){null!=this.listeners[e]&&(this.listeners[e]=[])},e.triggerEvent=function(e,t){if((n=this.listeners[e])&&0!==n.length){(t=null==t?{}:t).object=this.object,t.element=this.element,t.type||(t.type=e);for(var n,r=0,i=(n=n.slice()).length;r<i;r++){var o,a=n[r];if(void 0!==(o=a.func.apply(a.obj,[t]))&&!1===o)break}return this.fallThrough||s.Event.stop(t,!0),o}},e.handleBrowserEvent=function(e){var t=e.type,n=this.listeners[t];if(n&&0!==n.length){var r=e.touches;if(r&&r[0]){for(var i,o=0,a=0,s=r.length,l=0;l<s;++l)o+=(i=r[l]).clientX,a+=i.clientY;e.clientX=o/s,e.clientY=a/s}this.includeXY&&(e.xy=this.getMousePosition(e)),this.triggerEvent(t,e)}},e.clearMouseCache=function(){this.element.scrolls=null,this.element.lefttop=null;var e=document.body;e&&(0===e.scrollTop&&0===e.scrollLeft||!navigator.userAgent.match(/iPhone/i))&&(this.element.offsets=null)},e.getMousePosition=function(e){var t;return this.includeXY?this.element.hasScrollEvent||(s.Event.observe(window,"scroll",this.clearMouseListener),this.element.hasScrollEvent=!0):this.clearMouseCache(),this.element.scrolls||(t=l.Util.getViewportElement(),this.element.scrolls=[t.scrollLeft,t.scrollTop]),this.element.lefttop||(this.element.lefttop=[document.documentElement.clientLeft||0,document.documentElement.clientTop||0]),this.element.offsets||(this.element.offsets=l.Util.pagePosition(this.element)),new r.Pixel(e.clientX+this.element.scrolls[0]-this.element.offsets[0]-this.element.lefttop[0],e.clientY+this.element.scrolls[1]-this.element.offsets[1]-this.element.lefttop[1])},o}();(t.Events=n).prototype.BROWSER_EVENTS=["mouseover","mouseout","mousedown","mouseup","mousemove","click","dblclick","rightclick","dblrightclick","resize","focus","blur","touchstart","touchmove","touchend","keydown","MSPointerDown","MSPointerUp","pointerdown","pointerup","MSGestureStart","MSGestureChange","MSGestureEnd","contextmenu"]},pgDu:function(e,t,n){"use strict";n.r(t);var r=n("wbPi"),i=n("RSx8"),o=(n.d(t,"DropdownProps",function(){return r.a}),n.d(t,"DropdownButtonProps",function(){return i.a}),n("2xRk"));r.b.Button=i.b,r.b.install=function(e){e.use(o.default),e.component(r.b.name,r.b),e.component(i.b.name,i.b)},t.default=r.b},prwZ:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("GD9B"))),o=r(n("fwdV")),a=r(n("3gHV")),s=r(n("2Z54")),r=(i.default.install=function(e,t){(0,s.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default),e.component((a.default.options||a.default).name,a.default)},i.default);t.default=r},"qCZ/":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.cardTypes=void 0,r(n("1RHo"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={prefixCls:o.default.string,title:o.default.any,extra:o.default.any,bordered:o.default.bool.def(!0),bodyStyle:o.default.object,headStyle:o.default.object,loading:o.default.bool.def(!1),hoverable:o.default.bool.def(!1),type:o.default.string,size:o.default.oneOf(["default","small"]),actions:o.default.any,tabList:o.default.array,tabBarExtraContent:o.default.any,activeTabKey:o.default.string,defaultActiveTabKey:o.default.string},o=(t.cardTypes=n,{name:"SmCard",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},qF08:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("i7/w"))),r=r(n("2Zn6")),n=new i.default({theme:r.default[1]});t.default=n},qJvV:function(e,t,n){"use strict";function r(t,e){if(t){if(t[c]!==h)try{u(t,c,h)}catch(e){t[c]=h}if(t[f]||u(t,f,e),a[e])for(var n in l)if(t[n]!==l[n])try{u(t,n,l[n])}catch(e){t[n]=l[n]}}}var i,o=n("Ks5W"),a=n("ENhe"),s=n("GI0h"),l=n("Lltv"),u=n("8ODz"),n=n("11yv"),c=n("iterator"),f=n("toStringTag"),h=l.values;for(i in a)r(o[i]&&o[i].prototype,i);r(s,"DOMTokenList")},qPby:function(e,t,n){"use strict";var r=n("TqRt"),o=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("o0o1"))),a=r(n("VbXa")),i=n("peoL"),c=r(n("QYU9")),f=r(n("C6WP")),C=(n("e/Qi"),n("s544"),r(n("Z94/"))),s=r(n("DXPr")),l=r(n("2Vb1")),u=n("e7LN"),h=n("ydy9"),d=n("Nwvx"),y=r(n("YY/H")),p=function(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{o(l.next(e))}catch(e){t(e)}}function i(e){try{o(l.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}o((l=l.apply(e,a||[])).next())})},r=function(i){function e(e,t,n){var r=i.call(this)||this;return r.echartslayer=[],r._layers=[],r.canvgsV=[],r.serverUrl=t.serverUrl||"https://www.supermapol.com",r.accessToken=t.accessToken,r.accessKey=t.accessKey,r.tiandituKey=t.tiandituKey||"",r.googleMapsAPIKey=t.googleMapsAPIKey||"",r.googleMapsLanguage=t.googleMapsLanguage||"zh-CN",r.withCredentials=t.withCredentials||!1,r.proxy=t.proxy,r.target=t.target||"map",r.excludePortalProxyUrl=t.excludePortalProxyUrl,r.isSuperMapOnline=t.isSuperMapOnline,r.ignoreBaseProjection=t.ignoreBaseProjection,r.echartslayer=[],r.webMapService=new l.default(e,t),r.mapOptions=n,r.eventTypes=["getmapinfofailed","crsnotsupport","getlayerdatasourcefailed","addlayerssucceeded","notsupportmvt","notsupportbaidumap","projectionIsNotMatch","beforeremovemap","mapinitialized"],r.mapId=e,r}(0,a.default)(e,i);var t=e.prototype;return t.echartsLayerResize=function(){this.echartslayer.forEach(function(e){e.chart.resize()})},t.setMapId=function(e){var t=this;"string"==typeof e||"number"==typeof e?(this.mapId=e,this.webMapInfo=null):null!==e&&"object"==typeof e&&(this.webMapInfo=e),this.webMapService.setMapId(e),setTimeout(function(){t._initWebMap()},0)},t.setServerUrl=function(e){this.serverUrl=e,this.webMapService.setServerUrl(e)},t.setWithCredentials=function(e){this.withCredentials=e,this.webMapService.setWithCredentials(e)},t.setProxy=function(e){this.proxy=e,this.webMapService.setProxy(e)},t.setZoom=function(e){!this.map||(this.mapOptions.zoom=e)===+this.map.getZoom().toFixed(2)||!e&&0!==e||this.map.setZoom(e,{from:"setZoom"})},t.setMaxBounds=function(e){this.map&&(this.mapOptions.maxBounds=e)&&this.map.setMaxBounds(e)},t.setMinZoom=function(e){!this.map||!(this.mapOptions.minZoom=e)&&0!==e||this.map.setMinZoom(e)},t.setMaxZoom=function(e){!this.map||!(this.mapOptions.maxZoom=e)&&0!==e||this.map.setMaxZoom(e)},t.initWebMap=function(){var e;this.cleanWebMap(),this.serverUrl=this.serverUrl&&this.webMapService.handleServerUrl(this.serverUrl),this.webMapInfo?((e=this.webMapInfo).mapParams={title:this.webMapInfo.title,description:this.webMapInfo.description},this.mapParams=e.mapParams,this._getMapInfo(e)):this.mapId&&this.serverUrl?(this._taskID=new Date,this.getMapInfo(this._taskID)):this._createMap()},t.getMapInfo=function(t){var n=this;this.serverUrl=this.serverUrl&&this.webMapService.handleServerUrl(this.serverUrl),this.webMapService.getMapInfo().then(function(e){n._taskID===t&&(n.mapParams=e.mapParams,n._getMapInfo(e,t))},function(e){throw e}).catch(function(e){n.triggerEvent("getmapinfofailed",{error:e}),console.log(e)})},t.getBaseLayerType=function(e){var t=e.layerType;switch(t=-1<t.indexOf("TIANDITU_VEC")||-1<t.indexOf("TIANDITU_IMG")||-1<t.indexOf("TIANDITU_TER")?"TIANDITU":t){case"TILE":case"SUPERMAP_REST":return"TILE";case"CLOUD":case"CLOUD_BLACK":return"CLOUD";case"OSM":case"JAPAN_ORT":case"JAPAN_RELIEF":case"JAPAN_PALE":case"JAPAN_STD":case"GOOGLE_CN":case"GOOGLE":return"XYZ";default:return t}},t.getMapurls=function(e){return{CLOUD:(e=void 0===e?{}:e).CLOUD||"http://t2.dituhui.com/FileService/image?map=quanguo&type=web&x={x}&y={y}&z={z}",CLOUD_BLACK:e.CLOUD_BLACK||"http://t3.dituhui.com/MapService/getGdp?x={x}&y={y}&z={z}",OSM:e.OSM||"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",GOOGLE:"https://maps.googleapis.com/maps/vt?pb=!1m5!1m4!1i{z}!2i{x}!3i{y}!4i256!2m3!1e0!2sm!3i540264686!3m12!2s{googleMapsLanguage}!3sUS!5e18!12m4!1e68!2m2!1sset!2sRoadmap!12m3!1e37!2m1!1ssmartmaps!4e0&key={googleMapsAPIKey}",GOOGLE_CN:"https://mt{0-3}.google.com/vt/lyrs=m&hl=zh-CN&gl=cn&x={x}&y={y}&z={z}",JAPAN_STD:"https://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png",JAPAN_PALE:"https://cyberjapandata.gsi.go.jp/xyz/pale/{z}/{x}/{y}.png",JAPAN_RELIEF:"https://cyberjapandata.gsi.go.jp/xyz/relief/{z}/{x}/{y}.png",JAPAN_ORT:"https://cyberjapandata.gsi.go.jp/xyz/ort/{z}/{x}/{y}.jpg"}},t.getLayerFeatures=function(r,i,e){var t=this,e=this.webMapService.getLayerFeatures(e,r,this.baseProjection);e&&e.then(function(n){return p(t,void 0,void 0,o.default.mark(function e(){var t;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.mapId&&this._taskID!==i)return e.abrupt("return");e.next=2;break;case 2:if(!n||!r.projection){e.next=8;break}if((0,h.getProjection)(r.projection)){e.next=8;break}return e.next=6,this.webMapService.getEpsgCodeInfo(r.projection.split(":")[1],this.serverUrl);case 6:(t=e.sent)&&(0,h.registerProjection)(r.projection,t);case 8:this._getLayerFeaturesSucceeded(n,r);case 9:case"end":return e.stop()}},e,this)}))},function(e){throw new Error(e)}).catch(function(e){t._addLayerSucceeded(),t.triggerEvent("getlayerdatasourcefailed",{error:e,layer:r,map:t.map}),console.log(e)})},t.setFeatureInfo=function(e){var t=e.dv_v5_markerInfo;if(!t||!t.dataViz_title)return t;var n,r=t,i=e.properties;for(n in r)i[n]&&(r[n]=i[n],delete i[n]);return r},t.getRankStyleGroup=function(t,e,n){var r=[],i=[],o=n.style,a=n.themeSetting,s=a.segmentMethod,l=a.segmentCount,u=a.customSettings,c=n.themeSetting.minRadius,n=n.themeSetting.maxRadius,f=a.colors,h=o.fillColor;e.forEach(function(e){e=e.properties[t];null!=e&&""!==e&&(0,C.default)(+e)&&r.push(Number(e))});try{i=SuperMap.ArrayStatistic.getArraySegments(r,s,l)}catch(e){console.log(e)}for(var d,p,y=0;y<l;y++)y in u&&(d=u[y].segment.start,p=u[y].segment.end,null!=d&&(i[y]=d),null!=p)&&(i[y+1]=p);var m=[];if(i&&i.length){for(var g,v,b=i.length,_=(n-c)/(b-1),x=Number(((n+c)/2).toFixed(2)),w="",A=f?SuperMap.ColorsPickerUtil.getGradientColors(f,b,"RANGE"):[],S=0;S<b-1;S++)x=(g=Number(i[S].toFixed(2)))===(v=Number(i[S+1].toFixed(2)))?x:c+Math.round(_*S),v=S===b-2?v+.01:v,x=u[S]&&u[S].radius?u[S].radius:x,o.radius=x,f&&0<f.length&&(w=u[S]&&u[S].color?u[S].color:A[S]||h,o.fillColor=w),m.push({radius:x,color:w,start:g,end:v,style:o});return m}return!1},t.createRankStyleSource=function(e,t){var n=e.themeSetting.themeField,n=this.getRankStyleGroup(n,t,e);return!!n&&{parameters:e,styleGroups:n}},t.isMatchAdministrativeName=function(e,t){var n;return"string"==typeof t&&t.constructor===String&&("张家"===(n=e.substr(0,2))&&(n=e.substr(0,3)),!!t.match(new RegExp(n)))},t.getRestMapLayerInfo=function(e,t){var n=e.bounds,r=e.coordUnit,i=e.visibleScales,e=e.url;return t.layerType="TILE",t.orginEpsgCode=this.baseProjection,t.units=r&&r.toLowerCase(),t.extent=[n.left,n.bottom,n.right,n.top],t.visibleScales=i,t.url=e,t.sourceType="TILE",t},t.handleLayerFeatures=function(e,t){var n=t.layerType,r=t.style,i=t.themeSetting,t=t.filterCondition;return e=(r||i)&&t&&"RANGE"!==n&&"UNIQUE"!==n&&"RANK_SYMBOL"!==n?this.getFilterFeatures(t,e):e},t.mergeFeatures=function(e,t,n){var r,i;return t instanceof Array&&(t=t.map(function(e,t){return Object.prototype.hasOwnProperty.call(e.properties,"index")||(e.properties.index=t),e})).length&&(n||!t[0].geometry)&&((e=this.map.getSource(e))&&e._data.features||!t[0].geometry)?(r=e&&e._data&&e._data.features,i=[],!n&&r?r:(t.forEach(function(t){var e=r.find(function(e){return isNaN(+e.properties[n])&&isNaN(+t.properties[n])?JSON.stringify(e.properties[n]||"")===JSON.stringify(t.properties[n]||""):+e.properties[n]==+t.properties[n]});e?i.push(Object.assign(Object.assign({},e),t)):t.geometry&&i.push(t)}),i)):t},t.getFilterFeatures=function(e,t){if(!e)return t;for(var n=this.replaceFilterCharacter(e),r=[],i=0;i<t.length;i++){var o=t[i],a=void 0,s=o.properties;try{var n=this.parseCondition(n,Object.keys(s)),l=this.parseConditionFeature(s),u="select * from json where ("+n+")",a=window.jsonsql.query(u,{attributes:l})}catch(e){continue}a&&0<a.length&&r.push(o)}return r},t.replaceFilterCharacter=function(e){return e=e.replace(/=/g,"==").replace(/AND|and/g,"&&").replace(/or|OR/g,"||").replace(/<==/g,"<=").replace(/>==/g,">=")},t.getParseSpecialCharacter=function(){var n={};return["(",")","(",")",",",","].forEach(function(e,t){n[e]="$"+t}),n},t.parseSpecialCharacter=function(e){var t,n=this.getParseSpecialCharacter();for(t in n)for(var r=n[t],i=new RegExp("\\"+t,"g");i.test(e);)e=e.replace(i,r);return e},t.parseCondition=function(e,r){var i=this,t=e.replace(/&|\||>|<|=|!/g," ").split(" ").filter(function(e){return e}),o=e;return t.forEach(function(t){var e,n=r.find(function(e){return e===t});i.startsWithNumber(t)&&n&&(o=o.replace(n,"$"+n)),n&&(e=i.parseSpecialCharacter(n),o=o.replace(n,e))}),o},t.parseConditionFeature=function(e){var t,n={};for(t in e){var r=t;this.startsWithNumber(t)&&(r="$"+t),n[r=this.parseSpecialCharacter(r)]=e[t]}return n},t.startsWithNumber=function(e){return/^\d/.test(e)},t.getEchartsLayerOptions=function(e,t,n){var t=this.webMapService.getFeatureProperties(t),r=this._createLinesData(e,t),t=this._createPointsData(r,e,t);return this._createOptions(e,r,t,n)},t.getDashStyle=function(e,t,n){if(void 0===n&&(n="array"),!e)return"array"===n?[]:"";var r,i=t=void 0===t?1:t;switch(e){case"solid":r=[];break;case"dot":r=[1,4*i];break;case"dash":r=[4*i,4*i];break;case"dashrailway":r=[8*i,12*i];break;case"dashdot":r=[4*i,4*i,+i,4*i];break;case"longdash":r=[8*i,4*i];break;case"longdashdot":r=[8*i,4*i,1,4*i];break;default:SuperMap.Util.isArray(e)&&(r=e),r=(e=SuperMap.String.trim(e).replace(/\s+/g,",")).replace(/\[|\]/gi,"").split(",")}return r="array"===n?r:r.join(",")},t.getCanvasFromSVG=function(e,t,n){var r,i=this,o=document.createElement("canvas");o.id="dataviz-canvas-"+(new Date).getTime(),o.style.display="none",t.appendChild(o),e?(t=(null!=(t=window.canvg)&&t.default?window.canvg:s).default,r=o.getContext("2d"),t.from(r,e,{ignoreMouse:!0,ignoreAnimation:!0,forceRedraw:function(){return!1}}).then(function(e){e.start(),i.canvgsV.push(e),300<o.width||300<o.height||n(o)})):n(o)},t.stopCanvg=function(){this.canvgsV.forEach(function(e){return e.stop()}),this.canvgsV=[]},t.getRangeStyleGroup=function(e,t){var n,r=e.featureType,i=e.style,e=e.themeSetting,o=e.customSettings,a=e.themeField,s=e.segmentCount,l=e.segmentMethod,e=e.colors,u=[],c=(t.forEach(function(e){(n=e.properties)&&((e=n[a])||0===e)&&(0,C.default)(+e)&&u.push(parseFloat(e))},this),u&&u.length&&SuperMap.ArrayStatistic.getArraySegments(u,l,s));if(c){var f=s;n&&c[0]===c[n.length-1]&&(f=1,c.length=2);for(var h=0;h<c.length;h++){var d=c[h],d=0===h?Math.floor(100*d)/100:Math.ceil(100*d)/100+.1;c[h]=Number(d.toFixed(2))}for(var p=SuperMap.ColorsPickerUtil.getGradientColors(e,f,"RANGE"),y=0;y<f;y++)y in o&&(o[y].segment.start&&(c[y]=o[y].segment.start),o[y].segment.end)&&(c[y+1]=o[y].segment.end);for(var m=[],g=0;g<f;g++){var v=p[g],b=(g in o&&o[g].color&&(v=o[g].color),"LINE"===r?i.strokeColor=v:i.fillColor=v,c[g]),_=c[g+1],x=JSON.parse(JSON.stringify(i));m.push({style:x,color:v,start:b,end:_})}return m}},t.getCustomSettingColors=function(t,n){var e=Object.keys(t),r=[];return e.forEach(function(e){r.push("LINE"===n?t[e].strokeColor:t[e].fillColor)}),r},t.getUniqueStyleGroup=function(e,t){var n,i=e.featureType,o=e.style,e=e.themeSetting,r=e.colors,a=e.customSettings,s=e.themeField,e=t&&t[0]&&t[0].properties||{},l=(Object.keys(e).forEach(function(e){e.toLocaleUpperCase()===s.toLocaleUpperCase()&&(s=e)}),[]);for(n in t){var u,c=t[n].properties[s],f=!1;for(u in l)if(l[u]===c){f=!0;break}f||l.push(c||"0")}var h=SuperMap.ColorsPickerUtil.getGradientColors(r,l.length),e=this.getCustomSettingColors(a,i).map(function(e){return e&&e.toLowerCase()}),r=SuperMap.ColorsPickerUtil.getGradientColors(r,l.length+Object.keys(a).length).map(function(e){return e.toLowerCase()}),d=(0,y.default)(r,e),p=[];return l.forEach(function(e,t){var t=h[t],n=Object.assign({},o),r=a[e];"object"==typeof r?n=Object.assign(n,r):("string"==typeof r&&(t=a[e]),r||(t=d.shift()),"LINE"===i?n.strokeColor=t:n.fillColor=t),p.push({color:t,style:n,value:e,themeField:s})},this),p},t.transformFeatures=function(r){var i=this;return r&&r.forEach(function(e,t){var n=e.geometry&&e.geometry.coordinates;n&&0!==n.length&&((0,d.coordEach)(e,function(e){var t=i._unproject(e);e[0]=t[0],e[1]=t[1]}),r[t]=e)}),r},t._drawTextRectAndGetSize=function(e){var a=e.context,t=e.style,n=e.textArray,r=e.lineHeight,i=e.doublePadding,e=e.canvas,o=t.backgroundFill,s=t.maxWidth-i,l=0,u=0,c=[];n.forEach(function(e){var t="",n=!1;u++;for(var r=0;r<e.length;r++){var i=t+e[r],o=a.measureText(i).width;s<o&&0<r||"\n"===e[r]?(t=e[r],u++,n=!0):(t=i,l=o)}c.push(n?s:l)},this);for(var f=0;f<c.length;f++){var h=c[f];if(s<=h){l=s;break}l<h&&(l=h)}return l+=i,n=u*r+i-6,e.width=l,e.height=n,a.fillStyle=o,a.fillRect(0,0,l,n),a.lineWidth=t.borderWidth,a.strokeStyle=t.borderColor,a.strokeRect(0,0,l,n),{width:l,height:n}},t._drawTextWithCanvas=function(e){var f=e.context,t=e.canvas,h=e.style,d=Number(h.font.replace(/[^0-9]/gi,""))+3,e=h.text.split("\r\n"),p=(f.font=h.font,this._drawTextRectAndGetSize({context:f,style:h,textArray:e,lineHeight:d,doublePadding:16,canvas:t})),y=8;e.forEach(function(e,t){0!==t&&(y+=d),f.font=h.font;var n,r=h.textAlign,i=p.width-16;switch(r){case"center":n=i/2;break;case"right":n=i;break;default:n=8}for(var o=e.split(""),a="",s=h.fillColor,l=h.maxWidth-16,u=0;u<o.length;u++){var c=a+o[u];l<f.measureText(c).width&&0<u||"\n"===o[u]?(f.fillStyle=s,f.textAlign=r,f.textBaseline="top",f.fillText(a,n,y),a=o[u],y+=d):a=c}f.fillStyle=s,f.textAlign=r,f.textBaseline="top",f.fillText(a,n,y)},this)},t.handleSvgColor=function(e,t){var n=e.fillColor,r=e.fillOpacity,i=e.strokeColor,o=e.strokeOpacity,a=e.strokeWidth,s=t.getContext("2d");e.text?this._drawTextWithCanvas({context:s,canvas:t,style:e}):(n&&(s.fillStyle=(0,u.getColorWithOpacity)(n,r),s.fill()),(i||a)&&(s.strokeStyle=(0,u.getColorWithOpacity)(i,o),s.lineWidth=a,s.stroke()))},t._createLinesData=function(e,t){var o,a,s,l,r,i=this,u=[];return t&&t.length&&(o=e.from,a=e.to,"XY_FIELD"===o.type&&o.xField&&o.yField&&a.xField&&a.yField?t.forEach(function(e){var t=e[o.xField],n=e[o.yField],r=e[a.xField],i=e[a.yField];t&&n&&r&&i&&(s=[e[o.xField],e[o.yField]],l=[e[a.xField],e[a.yField]],u.push({coords:[s,l]}))}):"PLACE_FIELD"===o.type&&o.field&&a.field&&(r=f.default.concat(c.default),t.forEach(function(e){var t=e[o.field],n=e[a.field];s=r.find(function(e){return i.isMatchAdministrativeName(e.name,t)}),l=r.find(function(e){return i.isMatchAdministrativeName(e.name,n)}),s&&l&&u.push({coords:[s.coord,l.coord]})}))),u},t._createPointsData=function(e,t,i){var o,a,n=[],s=t.labelSetting;return s.show&&e.length&&(o=[],a=[],e.forEach(function(e,t){var e=e.coords,n=e[0],r=e[1],e=i[t][s.from],t=i[t][s.to];o.find(function(e){return e.value[0]===n[0]&&e.value[1]===n[1]})||o.push({name:e,value:n}),a.find(function(e){return e.value[0]===r[0]&&e.value[1]===r[1]})||a.push({name:t,value:r})}),n=o.concat(a)),n},t._createOptions=function(e,t,n,r){t=this._createLineSeries(e,t,r);return{series:n&&n.length?(e=this._createPointSeries(e,n,r),t.concat(e)):t.slice()}},t._createPointSeries=function(e,t,n){var r=e.lineSetting,i=e.animationSetting,e=e.labelSetting,n=[{name:"point-series",coordinateSystem:n,zlevel:2,label:{normal:{show:e.show,position:"right",formatter:"{b}",color:e.color,fontFamily:e.fontFamily}},itemStyle:{normal:{color:r.color||e.color}},data:t}];return i.show?(n[0].type="effectScatter",n[0].rippleEffect={brushType:"stroke"}):n[0].type="scatter",n},t._createLineSeries=function(e,t,n){var r=e.lineSetting,e=e.animationSetting,n=[{name:"line-series",coordinateSystem:n,type:"lines",zlevel:1,effect:{show:e.show,constantSpeed:e.constantSpeed,trailLength:0,symbol:e.symbol,symbolSize:e.symbolSize},lineStyle:{normal:{color:r.color,type:r.type,width:r.width,opacity:r.opacity,curveness:r.curveness}},data:t}];return 1e3<=t.length&&(n[0].large=!0,n[0].largeThreshold=100,n[0].blendMode="lighter"),n},t._getLayerFeaturesSucceeded=function(e,t){switch(e.type){case"feature":this._initOverlayLayer(t,e.features);break;case"restMap":t.layerType="restMap",this._initOverlayLayer(t,e.restMaps);break;case"mvt":t.layerType="mvt",this._initOverlayLayer(t,e);break;case"dataflow":case"noServerId":this._initOverlayLayer(t)}},e}(i.Events);t.default=r},qSUR:function(B,e,t){"use strict";t.r(e);
- /*!
- * vue-i18n v8.28.2
- * (c) 2022 kazuya kawaguchi
- * Released under the MIT License.
- */
- var l=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],a=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function s(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t)&&console.warn(t.stack)}var y=Array.isArray;function u(e){return null!==e&&"object"==typeof e}function c(e){return"string"==typeof e}var n=Object.prototype.toString,r="[object Object]";function f(e){return n.call(e)===r}function h(e){return null==e}function d(e){return"function"==typeof e}function p(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,r=null;return 1===e.length?u(e[0])||y(e[0])?r=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),u(e[1])||y(e[1]))&&(r=e[1]),{locale:n,params:r}}function i(e){return JSON.parse(JSON.stringify(e))}function m(e,t){return~e.indexOf(t)}var g=Object.prototype.hasOwnProperty;function v(e){for(var t,n,r=arguments,i=Object(e),o=1;o<arguments.length;o++){var a=r[o];if(null!=a){var s=void 0;for(s in a)t=a,n=s,g.call(t,n)&&(u(a[s])?i[s]=v(i[s],a[s]):i[s]=a[s])}}return i}function b(t,n){if(t===n)return!0;var e=u(t),r=u(n);if(!e||!r)return!e&&!r&&String(t)===String(n);try{var i,o,a=y(t),s=y(n);return a&&s?t.length===n.length&&t.every(function(e,t){return b(e,n[t])}):!a&&!s&&(i=Object.keys(t),o=Object.keys(n),i.length===o.length)&&i.every(function(e){return b(t[e],n[e])})}catch(e){return!1}}var 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(e,t){var n,r,i,o=t.data,a=t.parent,s=t.props,t=t.slots,a=a.$i18n;if(a)return i=s.path,n=s.locale,r=s.places,t=t(),a=a.i(i,n,function(e){for(var t in e)if("default"!==t)return;return Boolean(t)}(t)||r?function(e,t){t=t?function(e){return Array.isArray(e)?e.reduce(x,{}):Object.assign({},e)}(t):{};if(!e)return t;var n=(e=e.filter(function(e){return e.tag||""!==e.text.trim()})).every(w);return e.reduce(n?_:x,t)}(t.default,r):t),(i=s.tag&&!0!==s.tag||!1===s.tag?s.tag:"span")?e(i,o,a):a}};function _(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function x(e,t,n){return e[n]=t,e}function w(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var A,S={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(e,t){var n,r,i,o=t.props,a=t.parent,s=t.data,t=a.$i18n;return t?(n=a=null,c(o.format)?a=o.format:u(o.format)&&(o.format.key&&(a=o.format.key),n=Object.keys(o.format).reduce(function(e,t){var n;return m(l,t)?Object.assign({},e,((n={})[t]=o.format[t],n)):e},null)),i=o.locale||t.locale,t=(r=t._ntp(o.value,i,a,n)).map(function(e,t){var n=s.scopedSlots&&s.scopedSlots[e.type];return n?n(((n={})[e.type]=e.value,n.index=t,n.parts=r,n)):e.value}),(i=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span")?e(i,{attrs:s.attrs,class:s.class,staticClass:s.staticClass},t):t):null}};function R(e,t,n){C(0,n)&&O(e,t,n)}function N(e,t,n,r){var i;C(0,n)&&(i=n.context.$i18n,function(e,t){t=t.context;return e._locale===t.$i18n.locale}(e,n)&&b(t.value,t.oldValue)&&b(e._localeMessage,i.getLocaleMessage(i.locale))||O(e,t,n))}function z(e,t,n,r){n.context?(n=n.context.$i18n||{},t.modifiers.preserve||n.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage):s("Vue instance does not exists in VNode context")}function C(e,t){t=t.context;if(t){if(t.$i18n)return 1;s("VueI18n instance does not exists in Vue instance")}else s("Vue instance does not exists in VNode context")}function O(e,t,n){var r,t=function(e){var t,n,r,i;c(e)?t=e:f(e)&&(t=e.path,n=e.locale,r=e.args,i=e.choice);return{path:t,locale:n,args:r,choice:i}}(t.value),i=t.path,o=t.locale,a=t.args,t=t.choice;i||o||a?i?(n=n.context,e._vt=e.textContent=null!=t?(r=n.$i18n).tc.apply(r,[i,t].concat(E(o,a))):(r=n.$i18n).t.apply(r,[i].concat(E(o,a))),e._locale=n.$i18n.locale,e._localeMessage=n.$i18n.getLocaleMessage(n.$i18n.locale)):s("`path` is required in v-t directive"):s("value type not supported")}function E(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||f(t))&&n.push(t),n}function M(e,t){void 0===t&&(t={bridge:!1}),M.installed=!0;(A=e).version&&Number(A.version.split(".")[0]);function n(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}(e=A).prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;0<n--;)t[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[e,r.locale,r._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],r=arguments.length-2;0<r--;)n[r]=arguments[r+2];var i=this.$i18n;return i._tc.apply(i,[e,i.locale,i._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],r=arguments.length-1;0<r--;)n[r]=arguments[r+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],r=arguments.length-1;0<r--;)n[r]=arguments[r+1];return(t=this.$i18n).n.apply(t,[e].concat(n))},A.mixin((e=void 0===(e=t.bridge)?!1:e)?{mounted:n}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n){if(t.i18n instanceof I){if(t.__i18nBridge||t.__i18n)try{var n=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach(function(e){n=v(n,JSON.parse(e))}),Object.keys(n).forEach(function(e){t.i18n.mergeLocaleMessage(e,n[e])})}catch(e){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(f(t.i18n)){var e=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof I?this.$root.$i18n:null;if(e&&(t.i18n.root=this.$root,t.i18n.formatter=e.formatter,t.i18n.fallbackLocale=e.fallbackLocale,t.i18n.formatFallbackMessages=e.formatFallbackMessages,t.i18n.silentTranslationWarn=e.silentTranslationWarn,t.i18n.silentFallbackWarn=e.silentFallbackWarn,t.i18n.pluralizationRules=e.pluralizationRules,t.i18n.preserveDirectiveContent=e.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var r=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach(function(e){r=v(r,JSON.parse(e))}),t.i18n.messages=r}catch(e){}var i=t.i18n.sharedMessages;i&&f(i)&&(t.i18n.messages=v(t.i18n.messages,i)),this._i18n=new I(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),void 0!==t.i18n.sync&&!t.i18n.sync||(this._localeWatcher=this.$i18n.watchLocale()),e&&e.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof I?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof I&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof I||f(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof I||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof I)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:n,beforeDestroy:function(){var e;this._i18n&&(e=this).$nextTick(function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)})}}),A.directive("t",{bind:R,update:N,unbind:z}),A.component(o.name,o),A.component(S.name,S),A.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}function P(){this._caches=Object.create(null)}P.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e],r=(n||(n=function(e){var t=[],n=0,r="";for(;n<e.length;){var i=e[n++];if("{"===i){r&&t.push({type:"text",value:r});var o=r="";for(i=e[n++];void 0!==i&&"}"!==i;)o+=i,i=e[n++];var a="}"===i,a=F.test(o)?"list":a&&V.test(o)?"named":"unknown";t.push({value:o,type:a})}else("%"!==i||"{"!==e[n])&&(r+=i)}return r&&t.push({type:"text",value:r}),t}(e),this._caches[e]=n),n),i=t,o=[],a=0,s=Array.isArray(i)?"list":u(i)?"named":"unknown";if("unknown"!=s)for(;a<r.length;){var l=r[a];switch(l.type){case"text":o.push(l.value);break;case"list":o.push(i[parseInt(l.value,10)]);break;case"named":"named"==s&&o.push(i[l.value])}a++}return o};var F=/^(?:\d)+/,V=/^(?:\w)+/;var k=[],H=(k[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},k[1]={ws:[1],".":[2],"[":[4],eof:[7]},k[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},k[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},k[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},k[5]={"'":[4,0],eof:8,else:[5,0]},k[6]={'"':[4,0],eof:8,else:[6,0]},/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/);function Y(e){var t,n=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(H.test(n)?(t=(e=n).charCodeAt(0))!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1):"*"+n)}function G(e){var t,n,r,i,o,a,s=[],l=-1,u=0,c=0,f=[];for(f[1]=function(){void 0!==n&&(s.push(n),n=void 0)},f[0]=function(){void 0===n?n=r:n+=r},f[2]=function(){f[0](),c++},f[3]=function(){if(!(0<c))return void(c=0)!==n&&!1!==(n=Y(n))&&void f[1]();c--,u=4,f[0]()};null!==u;)if(!("\\"===(t=e[++l])&&(a=void 0,a=e[l+1],5===u&&"'"===a||6===u&&'"'===a)&&(l++,r="\\"+a,f[0](),1))){if(a=function(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}(t),8===(o=(o=k[u])[a]||o.else||8))return;if(u=o[0],(i=f[o[1]])&&(r=void 0===(r=o[2])?t:r,!1===i()))return;if(7===u)return s}}function T(){this._cache=Object.create(null)}function I(e){var r=this,t=(void 0===e&&(e={}),!A&&"undefined"!=typeof window&&window.Vue&&M(window.Vue),e.locale||"en-US"),n=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),i=e.messages||{},o=e.dateTimeFormats||e.datetimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||D,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new T,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,t){var n=Object.getPrototypeOf(r);return n&&n.getChoiceIndex?n.getChoiceIndex.call(r,e,t):r.locale in r.pluralizationRules?r.pluralizationRules[r.locale].apply(r,[e,t]):(n=e,e=t,n=Math.abs(n),2===e?!n||1<n?1:0:n?Math.min(n,2):0)},this._exist=function(e,t){return!(!e||!t||h(r._path.getPathValue(e,t))&&!e[t])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEach(function(e){r._checkLocaleMessage(e,r._warnHtmlInMessage,i[e])}),this._initVM({locale:t,fallbackLocale:n,messages:i,dateTimeFormats:o,numberFormats:a})}T.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=G(e))&&(this._cache[e]=t),t||[]},T.prototype.getPathValue=function(e,t){if(!u(e))return null;var n=this.parsePath(t);if(0===n.length)return null;for(var r=n.length,i=e,o=0;o<r;){var a=i[n[o]];if(null==a)return null;i=a,o++}return i};var L,U=/<\/?[\w\s="/.':;#-\/]+>/,Q=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,W=/^@(?:\.([a-zA-Z]+))?:/,q=/[()]/g,j={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},D=new P,t={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},sync:{configurable:!0}};I.prototype._checkLocaleMessage=function(e,t,n){function a(n,r,i,o){var e,t;f(i)?Object.keys(i).forEach(function(e){var t=i[e];f(t)?(o.push(e),o.push("."),a(n,r,t,o),o.pop()):(o.push(e),a(n,r,t,o)),o.pop()}):y(i)?i.forEach(function(e,t){f(e)?(o.push("["+t+"]"),o.push("."),a(n,r,e,o),o.pop()):(o.push("["+t+"]"),a(n,r,e,o)),o.pop()}):c(i)&&U.test(i)&&(e="Detected HTML in message '"+i+"' of keypath '"+o.join("")+"' at '"+r+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp","warn"===n?s(e):"error"===n&&(e=e,"undefined"!=typeof console)&&(console.error("[vue-i18n] "+e),t)&&console.error(t.stack))}a(t,e,n,[])},I.prototype._initVM=function(e){var t=A.config.silent;A.config.silent=!0,this._vm=new A({data:e,__VUE18N__INSTANCE__:!0}),A.config.silent=t},I.prototype.destroyVM=function(){this._vm.$destroy()},I.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},I.prototype.unsubscribeDataChanging=function(e){this._dataListeners.delete(e)},I.prototype.watchI18nData=function(){var i=this;return this._vm.$watch("$data",function(){e=i._dataListeners,t=[],e.forEach(function(e){return t.push(e)});for(var e,t,n=t,r=n.length;r--;)A.nextTick(function(){n[r]&&n[r].$forceUpdate()})},{deep:!0})},I.prototype.watchLocale=function(t){var n,r,i;return t?this.__VUE_I18N_BRIDGE__?(r=(n=this)._vm,this.vm.$watch("locale",function(e){r.$set(r,"locale",e),n.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=e),r.$forceUpdate()},{immediate:!0})):null:this._sync&&this._root?(i=this._vm,this._root.$i18n.vm.$watch("locale",function(e){i.$set(i,"locale",e),i.$forceUpdate()},{immediate:!0})):null},I.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},t.vm.get=function(){return this._vm},t.messages.get=function(){return i(this._getMessages())},t.dateTimeFormats.get=function(){return i(this._getDateTimeFormats())},t.numberFormats.get=function(){return i(this._getNumberFormats())},t.availableLocales.get=function(){return Object.keys(this.messages).sort()},t.locale.get=function(){return this._vm.locale},t.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},t.fallbackLocale.get=function(){return this._vm.fallbackLocale},t.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},t.formatFallbackMessages.get=function(){return this._formatFallbackMessages},t.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},t.missing.get=function(){return this._missing},t.missing.set=function(e){this._missing=e},t.formatter.get=function(){return this._formatter},t.formatter.set=function(e){this._formatter=e},t.silentTranslationWarn.get=function(){return this._silentTranslationWarn},t.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},t.silentFallbackWarn.get=function(){return this._silentFallbackWarn},t.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},t.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},t.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},t.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},t.warnHtmlInMessage.set=function(e){var t,n=this;this._warnHtmlInMessage===(this._warnHtmlInMessage=e)||"warn"!==e&&"error"!==e||(t=this._getMessages(),Object.keys(t).forEach(function(e){n._checkLocaleMessage(e,n._warnHtmlInMessage,t[e])}))},t.postTranslation.get=function(){return this._postTranslation},t.postTranslation.set=function(e){this._postTranslation=e},t.sync.get=function(){return this._sync},t.sync.set=function(e){this._sync=e},I.prototype._getMessages=function(){return this._vm.messages},I.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},I.prototype._getNumberFormats=function(){return this._vm.numberFormats},I.prototype._warnDefault=function(e,t,n,r,i,o){if(!h(n))return n;if(this._missing){n=this._missing.apply(null,[e,t,r,i]);if(c(n))return n}return this._formatFallbackMessages?(e=p.apply(void 0,i),this._render(t,o,e.params,t)):t},I.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:h(e))&&!h(this._root)&&this._fallbackRoot},I.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},I.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},I.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},I.prototype._interpolate=function(e,t,n,r,i,o,a){if(!t)return null;var s,l=this._path.getPathValue(t,n);if(y(l)||f(l))return l;if(h(l)){if(!f(t))return null;if(!c(s=t[n])&&!d(s))return null}else{if(!c(l)&&!d(l))return null;s=l}return c(s)&&(0<=s.indexOf("@:")||0<=s.indexOf("@."))&&(s=this._link(e,t,s,r,"raw",o,a)),this._render(s,i,o,n)},I.prototype._link=function(e,t,n,r,i,o,a){var s,l=n,u=l.match(Q);for(s in u)if(u.hasOwnProperty(s)){var c=u[s],f=c.match(W),h=f[0],f=f[1],h=c.replace(h,"").replace(q,"");if(m(a,h))return l;a.push(h);var d=this._interpolate(e,t,h,r,"raw"===i?"string":i,"raw"===i?void 0:o,a);if(this._isFallbackRoot(d)){if(!this._root)throw Error("unexpected error");var p=this._root.$i18n,d=p._translate(p._getMessages(),p.locale,p.fallbackLocale,h,r,i,o)}d=this._warnDefault(e,h,d,r,y(o)?o:[o],i),this._modifiers.hasOwnProperty(f)?d=this._modifiers[f](d):j.hasOwnProperty(f)&&(d=j[f](d)),a.pop(),l=d?l.replace(c,d):l}return l},I.prototype._createMessageContext=function(e,t,n,r){var i=this,o=y(e)?e:[],a=u(e)?e:{},s=this._getMessages(),l=this.locale;return{list:function(e){return o[e]},named:function(e){return a[e]},values:e,formatter:t,path:n,messages:s,locale:l,linked:function(e){return i._interpolate(l,s[l]||{},e,null,r,void 0,[e])}}},I.prototype._render=function(e,t,n,r){var i;return d(e)?e(this._createMessageContext(n,this._formatter||D,r,t)):(i=(i=this._formatter.interpolate(e,n,r))||D.interpolate(e,n,r),"string"!==t||c(i)?i:i.join(""))},I.prototype._appendItemToChain=function(e,t,n){var r=!1;return m(e,t)||(r=!0,t&&(r="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n)&&n[t]&&(r=n[t])),r},I.prototype._appendLocaleToChain=function(e,t,n){var r=t.split("-");do{var i=r.join("-"),o=this._appendItemToChain(e,i,n)}while(r.splice(-1,1),r.length&&!0===o);return o},I.prototype._appendBlockToChain=function(e,t,n){for(var r=!0,i=0;i<t.length&&"boolean"==typeof r;i++){var o=t[i];c(o)&&(r=this._appendLocaleToChain(e,o,n))}return r},I.prototype._getLocaleChain=function(e,t){if(""===e)return[];if(this._localeChainCache||(this._localeChainCache={}),!(r=this._localeChainCache[e])){t=t||this.fallbackLocale;for(var n,r=[],i=[e];y(i);)i=this._appendBlockToChain(r,i,t);(i=c(n=!y(t)&&u(t)?t.default||null:t)?[n]:n)&&this._appendBlockToChain(r,i,null),this._localeChainCache[e]=r}return r},I.prototype._translate=function(e,t,n,r,i,o,a){for(var s=this._getLocaleChain(t,n),l=0;l<s.length;l++){var u=s[l];if(!h(u=this._interpolate(u,e[u],r,i,o,a,[r])))return u}return null},I.prototype._t=function(e,t,n,r){for(var i=[],o=arguments.length-4;0<o--;)i[o]=arguments[o+4];if(!e)return"";var a,s=p.apply(void 0,i),t=(this._escapeParameterHtml&&(s.params=(null!=(a=s.params)&&Object.keys(a).forEach(function(e){"string"==typeof a[e]&&(a[e]=a[e].replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))}),a)),s.locale||t),n=this._translate(n,t,this.fallbackLocale,e,r,"string",s.params);if(this._isFallbackRoot(n)){if(this._root)return(s=this._root).$t.apply(s,[e].concat(i));throw Error("unexpected error")}return n=this._warnDefault(t,e,n,r,i,"string"),n=this._postTranslation&&null!=n?this._postTranslation(n,e):n},I.prototype.t=function(e){for(var t=[],n=arguments.length-1;0<n--;)t[n]=arguments[n+1];return this._t.apply(this,[e,this.locale,this._getMessages(),null].concat(t))},I.prototype._i=function(e,t,n,r,i){n=this._translate(n,t,this.fallbackLocale,e,r,"raw",i);if(this._isFallbackRoot(n)){if(this._root)return this._root.$i18n.i(e,t,i);throw Error("unexpected error")}return this._warnDefault(t,e,n,r,[i],"raw")},I.prototype.i=function(e,t,n){return e?(c(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},I.prototype._tc=function(e,t,n,r,i){for(var o,a,s=[],l=arguments.length-5;0<l--;)s[l]=arguments[l+5];return e?(o={count:i=void 0===i?1:i,n:i},(a=p.apply(void 0,s)).params=Object.assign(o,a.params),s=null===a.locale?[a.params]:[a.locale,a.params],this.fetchChoice(this._t.apply(this,[e,t,n,r].concat(s)),i)):""},I.prototype.fetchChoice=function(e,t){var n;return e&&c(e)?(n=e.split("|"))[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e:null},I.prototype.tc=function(e,t){for(var n=[],r=arguments.length-2;0<r--;)n[r]=arguments[r+2];return this._tc.apply(this,[e,this.locale,this._getMessages(),null,t].concat(n))},I.prototype._te=function(e,t,n){for(var r=[],i=arguments.length-3;0<i--;)r[i]=arguments[i+3];t=p.apply(void 0,r).locale||t;return this._exist(n[t],e)},I.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},I.prototype.getLocaleMessage=function(e){return i(this._vm.messages[e]||{})},I.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},I.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,v(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},I.prototype.getDateTimeFormat=function(e){return i(this._vm.dateTimeFormats[e]||{})},I.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},I.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,v(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},I.prototype._clearDateTimeFormat=function(e,t){for(var n in t){n=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(n)&&delete this._dateTimeFormatters[n]}},I.prototype._localizeDateTime=function(e,t,n,r,i,o){for(var a=r[c=t],s=this._getLocaleChain(t,n),l=0;l<s.length;l++){var u=s[l],a=r[u],c=u;if(!h(a)&&!h(a[i]))break}return h(a)||h(a[i])?null:(t=a[i],(o?new Intl.DateTimeFormat(c,Object.assign({},t,o)):this._dateTimeFormatters[n=c+"__"+i]||(this._dateTimeFormatters[n]=new Intl.DateTimeFormat(c,t))).format(e))},I.prototype._d=function(e,t,n,r){if(!n)return(r?new Intl.DateTimeFormat(t,r):new Intl.DateTimeFormat(t)).format(e);r=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n,r);if(this._isFallbackRoot(r)){if(this._root)return this._root.$i18n.d(e,n,t);throw Error("unexpected error")}return r||""},I.prototype.d=function(e){for(var r=[],t=arguments.length-1;0<t--;)r[t]=arguments[t+1];var n=this.locale,i=null,o=null;return 1===r.length?(c(r[0])?i=r[0]:u(r[0])&&(r[0].locale&&(n=r[0].locale),r[0].key)&&(i=r[0].key),o=Object.keys(r[0]).reduce(function(e,t){var n;return m(a,t)?Object.assign({},e,((n={})[t]=r[0][t],n)):e},null)):2===r.length&&(c(r[0])&&(i=r[0]),c(r[1]))&&(n=r[1]),this._d(e,n,i,o)},I.prototype.getNumberFormat=function(e){return i(this._vm.numberFormats[e]||{})},I.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},I.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,v(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},I.prototype._clearNumberFormat=function(e,t){for(var n in t){n=e+"__"+n;this._numberFormatters.hasOwnProperty(n)&&delete this._numberFormatters[n]}},I.prototype._getNumberFormatter=function(e,t,n,r,i,o){for(var a=r[c=t],s=this._getLocaleChain(t,n),l=0;l<s.length;l++){var u=s[l],a=r[u],c=u;if(!h(a)&&!h(a[i]))break}return h(a)||h(a[i])?null:(t=a[i],o?new Intl.NumberFormat(c,Object.assign({},t,o)):this._numberFormatters[n=c+"__"+i]||(this._numberFormatters[n]=new Intl.NumberFormat(c,t)))},I.prototype._n=function(e,t,n,r){if(!I.availabilities.numberFormat)return"";if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).format(e);var i=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),i=i&&i.format(e);if(this._isFallbackRoot(i)){if(this._root)return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},r));throw Error("unexpected error")}return i||""},I.prototype.n=function(e){for(var r=[],t=arguments.length-1;0<t--;)r[t]=arguments[t+1];var n=this.locale,i=null,o=null;return 1===r.length?c(r[0])?i=r[0]:u(r[0])&&(r[0].locale&&(n=r[0].locale),r[0].key&&(i=r[0].key),o=Object.keys(r[0]).reduce(function(e,t){var n;return m(l,t)?Object.assign({},e,((n={})[t]=r[0][t],n)):e},null)):2===r.length&&(c(r[0])&&(i=r[0]),c(r[1]))&&(n=r[1]),this._n(e,n,i,o)},I.prototype._ntp=function(e,t,n,r){if(!I.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).formatToParts(e);var i=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),i=i&&i.formatToParts(e);if(this._isFallbackRoot(i)){if(this._root)return this._root.$i18n._ntp(e,t,n,r);throw Error("unexpected error")}return i||[]},Object.defineProperties(I.prototype,t),Object.defineProperty(I,"availabilities",{get:function(){var e;return L||(e="undefined"!=typeof Intl,L={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}),L}}),I.install=M,I.version="8.28.2",e.default=I},qZTm:function(e,t,n){var r=n("fR/l"),i=n("MvSz"),o=n("7GkX");e.exports=function(e){return r(e,o,i)}},qavM:function(e,t,n){"use strict";n.r(t);var r,i=n("sKCg"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},qdSf:function(e,t,n){"use strict";var o=n("xURT"),i=n("trsK"),r=n("TfX5"),a=void 0;function s(e){return!e||null===e.offsetParent}t.a={name:"Wave",props:["insertExtraNode"],mounted:function(){var t=this;this.$nextTick(function(){var e=t.$el;1===e.nodeType&&(t.instance=t.bindAnimationEvent(e))})},inject:{configProvider:{default:function(){return r.a}}},beforeDestroy:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroy=!0},methods:{onClick:function(e,t){var n,r,i;!e||s(e)||0<=e.className.indexOf("-leave")||(n=this.$props.insertExtraNode,this.extraNode=document.createElement("div"),(r=this.extraNode).className="ant-click-animating-node",i=this.getAttributeName(),e.removeAttribute(i),e.setAttribute(i,"true"),a=a||document.createElement("style"),!t||"#ffffff"===t||"rgb(255, 255, 255)"===t||(i=((i=t)||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/))&&i[1]&&i[2]&&i[3]&&i[1]===i[2]&&i[2]===i[3]||/rgba\(\d*, \d*, \d*, 0\)/.test(t)||"transparent"===t||(this.csp&&this.csp.nonce&&(a.nonce=this.csp.nonce),r.style.borderColor=t,a.innerHTML="\n [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {\n --antd-wave-shadow-color: "+t+";\n }",document.body.contains(a))||document.body.appendChild(a),n&&e.appendChild(r),o.a.addStartEventListener(e,this.onTransitionStart),o.a.addEndEventListener(e,this.onTransitionEnd))},onTransitionStart:function(e){var t;this.destroy||(t=this.$el,!e)||e.target!==t||this.animationStart||this.resetEffect(t)},onTransitionEnd:function(e){e&&"fadeEffect"===e.animationName&&this.resetEffect(e.target)},getAttributeName:function(){return this.$props.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"},bindAnimationEvent:function(n){var e,r=this;if(n&&n.getAttribute&&!n.getAttribute("disabled")&&!(0<=n.className.indexOf("disabled")))return n.addEventListener("click",e=function(e){var t;"INPUT"===e.target.tagName||s(e.target)||(r.resetEffect(n),t=getComputedStyle(n).getPropertyValue("border-top-color")||getComputedStyle(n).getPropertyValue("border-color")||getComputedStyle(n).getPropertyValue("background-color"),r.clickWaveTimeoutId=window.setTimeout(function(){return r.onClick(n,t)},0),i.a.cancel(r.animationStartId),r.animationStart=!0,r.animationStartId=Object(i.a)(function(){r.animationStart=!1},10))},!0),{cancel:function(){n.removeEventListener("click",e,!0)}}},resetEffect:function(e){var t,n;e&&e!==this.extraNode&&e instanceof Element&&(t=this.$props.insertExtraNode,n=this.getAttributeName(),e.setAttribute(n,"false"),a&&(a.innerHTML=""),t&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),o.a.removeStartEventListener(e,this.onTransitionStart),o.a.removeEndEventListener(e,this.onTransitionEnd))}},render:function(){return this.configProvider.csp&&(this.csp=this.configProvider.csp),this.$slots.default&&this.$slots.default[0]}}},qggx:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("XfsE"))),o=r(n("eE5u")),a=r(n("2Z54")),r=(i.default.install=function(e,t){(0,a.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default)},i.default);t.default=r},qjFr:function(e,t,n){"use strict";var r,i,o=n("eRwv"),a=n("JTf3"),s=n("SwuV"),l=n("XFuk"),u=n("WLJ+"),c=n("WaP5"),f=n("11yv"),n=n("jybJ"),h=f("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(u=u(u(i)))!==Object.prototype&&(r=u):f=!0),!s(r)||o(function(){var e={};return r[h].call(e)!==e})?r={}:n&&(r=l(r)),a(r[h])||c(r,h,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},qml0:function(e,t,n){"use strict";e.exports=i;var r=n("3NCs"),e=Object.create(n("Onz0"));function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}e.inherits=n("P7XM"),e.inherits(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},qn6N:function(e,t,n){"use strict";n.r(t);var r=n("kvrn"),h=n.n(r),r=n("QbLZ"),d=n.n(r),r=n("YEIV"),p=n.n(r),i=n("TfX5"),y=n("DGO/"),m=n("2qPA"),r=n("TZE5");t.default={name:"AAvatar",props:{prefixCls:{type:String,default:void 0},shape:{validator:function(e){return["circle","square"].includes(e)},default:"circle"},size:{validator:function(e){return"number"==typeof e||["small","large","default"].includes(e)},default:"default"},src:String,srcSet:String,icon:r.a.any,alt:String,loadError:Function},inject:{configProvider:{default:function(){return i.a}}},data:function(){return{isImgExist:!0,isMounted:!1,scale:1}},watch:{src:function(){var e=this;this.$nextTick(function(){e.isImgExist=!0,e.scale=1,e.$forceUpdate()})}},mounted:function(){var e=this;this.$nextTick(function(){e.setScale(),e.isMounted=!0})},updated:function(){var e=this;this.$nextTick(function(){e.setScale()})},methods:{setScale:function(){var e,t;this.$refs.avatarChildren&&this.$refs.avatarNode&&(e=this.$refs.avatarChildren.offsetWidth,t=this.$refs.avatarNode.offsetWidth,0===e||0===t||this.lastChildrenWidth===e&&this.lastNodeWidth===t||(this.lastChildrenWidth=e,this.lastNodeWidth=t,this.scale=t-8<e?(t-8)/e:1))},handleImgLoadError:function(){var e=this.$props.loadError;!1!==(e?e():void 0)&&(this.isImgExist=!1)}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,r=t.shape,i=t.size,o=t.src,a=t.alt,t=t.srcSet,s=Object(m.getComponentFromProp)(this,"icon"),n=(0,this.configProvider.getPrefixCls)("avatar",n),l=this.$data,u=l.isImgExist,c=l.scale,r=(l.isMounted,l={},p()(l,n+"-lg","large"===i),p()(l,n+"-sm","small"===i),d()(p()({},n,!0),l,(l={},p()(l,n+"-"+r,r),p()(l,n+"-image",o&&u),p()(l,n+"-icon",s),l))),l="number"==typeof i?{width:i+"px",height:i+"px",lineHeight:i+"px",fontSize:s?i/2+"px":"18px"}:{},f=this.$slots.default;return f=o&&u?e("img",{attrs:{src:o,srcSet:t,alt:a},on:{error:this.handleImgLoadError}}):s?"string"==typeof s?e(y.default,{attrs:{type:s}}):s:this.$refs.avatarChildren||1!==c?(o={msTransform:u="scale("+c+") translateX(-50%)",WebkitTransform:u,transform:u},t="number"==typeof i?{lineHeight:i+"px"}:{},e("span",{class:n+"-string",ref:"avatarChildren",style:d()({},t,o)},[f])):e("span",{class:n+"-string",ref:"avatarChildren",style:{opacity:0}},[f]),e("span",h()([{ref:"avatarNode"},{on:Object(m.getListeners)(this),class:r,style:l}]),[f])}}},qnx4:function(e,t,n){"use strict";n.r(t);var r=n("TfX5"),n=n("TZE5");t.default={name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,props:{prefixCls:n.a.string},inject:{configProvider:{default:function(){return r.a}}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.$slots;return e("span",{class:(0,this.configProvider.getPrefixCls)("breadcrumb",t)+"-separator"},[n.default||"/"])}}},qozo:function(e,t,n){"use strict";function i(){return this}var o=n("qjFr").IteratorPrototype,a=n("XFuk"),s=n("4uGi"),l=n("ueY1"),u=n("AoAp");e.exports=function(e,t,n,r){t+=" Iterator";return e.prototype=a(o,{next:s(+!r,n)}),l(e,t,!1,!0),u[t]=i,e}},qtUN:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.layoutFooterTypes=t.default=void 0,r(n("mMUZ"))),o=n("38+u"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},o.BasicProps),o=(t.layoutFooterTypes=n,{name:"SmLayoutFooter",defaultComponent:i.default.Footer,mixins:[a.default,r.default],inheritAttrs:!1,props:n,computed:{extralProps:function(){return{tagName:"footer"}}}});t.default=o},qvJo:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n,r){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?i[n][0]:i[n][1]}var n;e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:true,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="राती")return e<4?e:e+12;else if(t==="सकाळीं")return e;else if(t==="दनपारां")return e>12?e:e+12;else if(t==="सांजे")return e+12},meridiem:function(e,t,n){if(e<4)return"राती";else if(e<12)return"सकाळीं";else if(e<16)return"दनपारां";else if(e<20)return"सांजे";else return"राती"}})}(n("wd/R"))},qzpy:function(e,t,n){"use strict";var r=n("g8+u"),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},r36U:function(e,t,n){e.exports=n("b/oV")},"rJb+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){this.params.cssMode||this.$wrapperEl.transition(e);this.emit("setTransition",e,t)}},rM28:function(e,t,n){"use strict";var r=n("TqRt"),s=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=this,r=n.params,i=(0,s.default)(e.target).closest("."+r.slideClass)[0],o=!1;if(i)for(var a=0;a<n.slides.length;a+=1)if(n.slides[a]===i){o=!0,t=a;break}i&&o?(n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt((0,s.default)(i).attr("data-swiper-slide-index"),10):n.clickedIndex=t,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()):(n.clickedSlide=void 0,n.clickedIndex=void 0)},r(n("Jq2x")))},"rP+d":function(e,t){var c="[object Symbol]",f=Object.prototype.toString;function n(e,t,n){for(var r,i=-1,o=e.length;++i<o;){var a,s,l=e[i],u=t(l);null==u||(void 0===a?u!=u||"symbol"==typeof(r=u)||function(e){return e&&"object"==typeof e}(r)&&f.call(r)==c:!n(u,a))||(a=u,s=l)}return s}function r(e,t){return e<t}function i(e){return e}e.exports=function(e){return e&&e.length?n(e,i,r):void 0}},rQWh:function(e,t,n){"use strict";n.r(t);var r,i=n("h1Uw");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},rTk1:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("4g6d"))),o=r(n("ej0c")),a=r(n("IoKV")),s=r(n("xwuM")),l=r(n("wJFT")),u=r(n("akMW")),c=r(n("87oN")),f=r(n("Fsl0")),r=r(n("rM28")),n={updateSize:i.default,updateSlides:o.default,updateAutoHeight:a.default,updateSlidesOffset:s.default,updateSlidesProgress:l.default,updateProgress:u.default,updateSlidesClasses:c.default,updateActiveIndex:f.default,updateClickedSlide:r.default};t.default=n},rYjP:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("f8Uw"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},raLr:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function i(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function t(e,t,n){var r={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};if(n==="m")return t?"хвилина":"хвилину";else if(n==="h")return t?"година":"годину";else return e+" "+i(r[n],+e)}function n(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},r;if(e===true)return n["nominative"].slice(1,7).concat(n["nominative"].slice(0,1));if(!e)return n["nominative"];r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return n[r][e.day()]}function r(e){return function(){return e+"о"+(this.hours()===11?"б":"")+"] LT"}}var o;e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:n,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:r("[Сьогодні "),nextDay:r("[Завтра "),lastDay:r("[Вчора "),nextWeek:r("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[Минулої] dddd [").call(this);case 1:case 2:case 4:return r("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){if(e<4)return"ночі";else if(e<12)return"ранку";else if(e<17)return"дня";else return"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},rfXi:function(e,t,n){e.exports={default:n("0tVQ"),__esModule:!0}},rfdF:function(e,t,n){"use strict";n.r(t);var r,i=n("o4w+");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},riVy:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAANrxJREFUeAHt3QmcXGWd7vH3nFPVa9ZOYlYgbAIJIIu4IggqCjPjXBDxznVmnLkzd7xzHRY3FCGkERFxZbnO4vXq1RlnVMZxxgWRsCnKDiIMO0GW7DtJ73WW+/zfU1VdXalOKiVIkv5V0l1nec9S3+5PzpP3fc97AvcSvN5wzTd6M+eWjrfrwLlLbj/7fb216wvnXPKW1LkfuizrrF3ONAIIIIAAAgj8LgWCLHDBXybXXPy1Vo6qa/yL+7JQMdDfv/ThBx50pZFSdefFtqJbfNSRrqu7u1GoOEmh4seEiioXEwgggAACe7qArrBBELogDFwURs7pPQw1r2VhFLooijSvS7hfpnctj6xsMXKa0zpbr7L2Fdn6wBUKhdFlfj/5PqOCtlF5296XV9nRY2i/5fMoFgsqUz6+3v203p3LtJ0dN3OrVq51v7jtzjROkr9Irrz4/+3qj+FFDRYthYqzP3li6tLrhNL12tce7ebMm+M/qH4c/oNWPpCB2itVVUgQ6Jt9/DT10Jkg/EsZy0/r3VmZ/K/yispZec2nfmF1C5XRtJUrl0/9jBboldm68rvtTLvxy+zUrJi9rEzlPdPJpVZIr3w3Wuf/2n7sT37Ofr2V0fn79eWPaudpn8+/7Nj+y+Zs2s7cPoO+23I7Vl5Qq23f/i3fxpbbvu1N6/wxfJl8n7bctti0bpPbsnGTzfJCAAEEEHiRBexSFPoLvF30ywGhfIEPFSrsuuaDRiUM2IVegcPK2gU/DyAqY4FDwSEPGHrXdn6dtrOgoA1UXuUKOoamK8csVraxY1uQ8futhJX82HY8v38fdDSt/VgI2bBhs/vJdTemcSn+s+Tqpf+4KzR2SXtRXi2FinM/dXyaJdcXorD7Hae9xc2bN9vygl7l07KLYnk2s4oZuxyWF+Vv5YumXTm11i6itqW/IOvCaz9Uf+HXan+BtX2pjE375ZpNrZwu0bb3vEx+jPzCrWl/pc+3scNY6er+K8ey5eV95vut7ENBwR/T1isY2Gna0aplNacAkO8z34dm8nn7bufm522dhZB83t79udbsx7bLz9/K+b91ZWxbrdBKK7d5/Sa3eQOhwn4ivBBAAIGXREDXoDw45Bdvq7nwAUOhwgcHCwM+QOTL8xqMSg1HHjBsm0JUrqXwIcUChy7+2kehHBzy/Y7WVhRs//qyMJGHDIWKwObzfVmY8IHCBw0LE/lXpPVWs+JrUXRN3LB+o/vRj5alcZz8SXLVxf/crFH5Ct5s8cblWgoV53zqDWkW/1QpbNI73nGym79gjlNzyWB3d/daO4pdAvU/c2n7qoTyeWpay7Ig0NXYX0CtmAJEkNi75Qh71xr9danmbTt/Hdcqiwi2zF93/XR+nbbLtyUL28auvSpvV+AgtaOVt7PE4rdXKU0Hmk61ryDPH3YM/bXj24Qd07bXNvn2fj/5ctu3frEsz2h7zdjZ6fwVMLTcZUkWxH63Oo7tz87Hl8vPT/vUfu3Ta0srb+vtsNpf4svZvPZve863z9/125wKSVtmWSFJ7vv6ooX36zx5IYAAAgi8RALvfvjhthfiuBh1dUUdm+Ji0tVeSJOS8kDYkaZRIcsStWzoPU0LxSjozNKwUFB7hP65L6ah6h/CoBClrlPXOC3LigoUhVD/hCtIqJrCdfh5LVd8UU7Rehd26LpZCKKwoH/rC5HKa9uiLVPA6FDNREHXl4KuDVbNofoNV9Al1rbT9kGnbaP9FgYHh2bGcWmqhYz16za4f//+DYnm/zi5+uJvN0Ol/f92r1ZCRfHsT70uCZIblJgmW6hYsO9cpafC0KTurvX+bPK2Dk3qupwvsEusHOx0bZkFC2u8sEAgGrushj50WCHbwocDzdhFXpspCOQXYNtL+cLv92jhRcssKJQvxHYBt7J+53pXdtAefWCwd9u+etG2aS3zy304sGk1hmh7f0xbb+dmwcdaORQEtAfbZnSfPqT4D+XL2nb5+duyPDDoF8KHAjuO3z7U9joJCwr+U/vz0q9kpkDhEksusb05lbNztR1pzm+jfdz7jcP2u89ceCGAAAIIIFAR6H143aTB6dHXdVU9bmhoeGaSxN1W87Fm1Vr3b9+/3sLFHyVXLb22Un68d11nWn+1FCo++KnX6GSXqeplyjtOPdntu898dVQpDHd3da7TRdWugE9mUXheGCfDkV0O9YrtgqpXoa1tzLwbGnaF9vbMDQ25uPxesm06LI51ZIqDvnxJl2Pbvlidz5cXlM98+cq6fudGurSuz0o7N1wu36bLc1v3pGyr2+rcNufaJmVZezrZ73PIIot/bXHtU6dmA+VtbFGnhQp7bdzo+np6MpfHJtc1Q8t9vYxzW2flZbqTxJedGi/Q+zN+M/s+eeHCzD31lJ+fMXKQ1j3iVi1alO/Xlt6XZ4R5xx6bL7v1Vl/Wvj385jfny67Nfw++++53W+AZ3bZakgkEEEAAAQSc6123btJQKfxn1Yq8Jh4Zmab/FLfb/57XrV3vvnvtD+NSKf6vChff25FVy8GixVDx6iROblRzztS3q6Ziv/0WWIeUkpo/1tl/qtWUtLzNtZ3ZO2/Khh2dNOsQQAABBBBA4KURsHBRSqLv6L/kr4uTeJKa/dusH8bKVavdd779w1IpSc5Krlzy7+MdvaVg0VKoOO+yY1RTcaOq9aef8o6T3ML9FSqisNQ9qXuDTtr+J/105orvunzu5PL/68c7ZZYjgAACCCCAwEspcP5j6ycXp4XfVx3361Uv367/+EeJbjZ4/vnVqrn4UUkdOs9Mrlryg0bnYDev7tKrxVBxVJKWlqk7xPS3veMEt/8B+1jP09hChfVYVf+IZ1zY9m5CxS79KCiMAAIIIIDASyLw2UNnbStF6en6T//duk4n6iuoFpHAzZs/x535rlOL6mV6bXTeJb/X6OC7FCxaCRVt5152pNVU6OR63nbKm90BB+xvnSmTrkmdG/RuvSKfaQ/jMz89e1K510Gj02QZAggggAACCPwuBT47a9a24Sh5py7av1T3wUHd1RCr14KGhpjjzjj9tLZCVPyewsWp9efUdLBoKVScc9nhcVa6SflhxlveeoI78MCFuokjSLq7OzfYvTE6mefak+zM3le8Yk39iTGPAAIIIIAAAi+vQB4u4j9UdcUd6mcxoLMpxWoSecXsme4P/uBt7bpf9t8KZ196Su1ZNhUsWgoVZ396kYUKHWzmSW893h10kNVUuNSHiiiyeylWhHH2rt59Z62qPSGmEUAAAQQQQGD3EbBwUdqSnq7aijujYnGrOjAMJxoEYdbsGe7UU9/aEbWF/1H44KVvrZzxTjtvthQqzrv0MCWaW3Snx+yTTj7eHXLIQTb8RtrV1b5B41Uk6gyyUl9nXDZ/xvOVE+EdAQQQQAABBHZfgd51me4W2fQdjaRwVN/g4LRkJO6yDp2rV691119/y2CapL8fX7nk5h0Gi1ZCRfu5lx5SSpNbRTPnzSe/0R16aDlUdHZu1F0gsTqBrIyz4F1XzOt5bvfl48wQQAABBBBAoF7Aj3MRh99UuDhyoH9gztDwSLfVXqxds8HdeMOtA2kpPW3cppCWQsU5lx5cyqymws054cTXu1eqpsJ6knZ2dqimIhrRcKKrXBaeSaio/1ExjwACCCCAwO4voD6RfR2F9E/VYfLeru6ulRqLaluqWoueGdPda9/w6i4N8fzjhsGipVBx9qUHlpxCRZbNPf6E17pDFx1sfSqyrs7O9QXdWqqEsa7ogjMvmzf92d2fjjNEAAEEEEAAgUYCFi7SqPQX6it576TJk562gaMtXMybN9fGuuzeLli0Eio6Pnj5AeVQMf8Nb3qNW7TolXb3h0JFx0Y9YGVEM2uyqHRm79zpzzQ6SZYhgAACCCCAwJ4j8Pk5c/qzYvJXGjZCXSrtEVejT4sYEyxaChXnXb5wJBm2jpr7vP6Nr/ahQk/XzDo7OjcU29oGNJ7G+iyJ3/OZ2bOf3nPIOFMEEEAAAQQQ2JGADxdZGidJ6iq1FlbeHpHqXy2Fig9/ar+RkkJF5vZ93euPdYsXH6ocEbjO9vaNbW2FAbWEbMyS9D2f2ecV+VO0KgfjHQEEEEAAAQT2eAE9Tls1FoligH+2t/88Pli0Eio6P/SpfYZHEuuoufC41xztFh1+qHXUdNZRs629qGeAhptcmvw3QsUe/3vDB0AAAQQQQKChgAbOKiX2kG6NIZHG1iSiq39LoeLsKxYMxxYqsv1ffdyr3BGvOkyZInAdHW0b29vbtmp6UyFL3nv5gllPNDwTFiKAAAIIIIDAHi+gob59HwuNYeFs5Et7FfS29OEHHnSlkVL1Axbbim7xUUe6ru7uS24/+3291RWa6Dr/inlDQ0M3q+fngUcfc4Q7/MjFWqpQ0d6+qaOzc5PyxVZllj/51PxZj9duxzQCCCCAAAII7F0C6repYJGpKUQ1FgoX9vJNIU2HivMumzs0OKiaCnfwUUcf7o44arG1frj2trbNXd0dG5Qvtlmo+Oy8mY/6vfMNAQQQQAABBPZaAQ1Vpc6bidUv6JbTvMZizF0hO6qp6D73stlDSelm6bzyiCMXuSOPOtyaVFybhYrJ3XoyabDVlUrvI1Tstb8/fDAEEEAAAQTGCChLxEmmZhCNZZFkChh6VYPFjkLFpI987hWDmQ8Vhy4+4lB31DGHqyUkc8X2ti2TpnSvDrJsqwuDP7tiv7kPjzkiMwgggAACCCCwFwvk41jYsN6VGgvfFLLDUHH2p2cNjPTfpOaTRYsWH+KOPuZIAQWuvaP9halTJ61wWdAfZOH/uGJuD6FiL/7V4aMhgAACCCBQL6BAMZT3rQichQt7+RqL8TpqTr7g0zMGgpEbFSoOP+Swg9xRxx7hayoKbcWtU6dMek6b9xWz8K+u2KfnofqDMY8AAggggAACe7eA7gIt2d0gpVjjb/sROMvBotHdH1M++MWe/r6S1VQc+cpDD3THvPoor6NQsW36tClPa6YvdMn//PQ+PQ/u3Wx8OgQQQAABBBBoJJDY7aZ2q6l9lTtvFtSRc7tbSqd+/PLp2wa23ahxKl510CsPcEcfm4eKqFDo6+mZ9pQGxBgMXPEDVyyY/utGB2IZAggggAACCEwAAT0rxO4KSdWBU10j/AcO68epmHbel6b1DYwsU5vH0QcetNAdowGwVNrp0aj9PT3Tn9DtpQNhGJz9uQXTH5gAZHxEBBBAAAEEEBhHQI/tiK0pxGorxjSFVMpP/9hnpm5Lt96gOz6O3f/A/dzRxx2lfOFcFEUDM3qmPxoFQX8hDM793LxZ91e24R0BBBBAAAEEJqZAphoLvXyo2C5Y9Jx99ZStg0PXK1Qct9/++7hjjzvaD35VKBQGZ86a8YjVWOgu1Q9/Zt6s+yYmH58aAQQQQAABBGoFNOKmf1aIhYpSqeaukJnnXzH5hWDTT1Q78bp991ug5g+rqdCzyoJwqGfm9IfCKNqWpcFHv7Dv3Htqd8g0AggggAACCExcAT3ddDjzY1ikyg3qZ6FXOKv3y5M2Dw1epxzxhgX7znfH6Eml9uhzhYnhWbNmPthWiOzujwu+sO9MQsXE/d3hkyOAAAIIINBAIC3ZqJvWxyIr325a2LRp/Y8VKo6fO2+Ob/6wjppBVBiZOavnQbu1NAuSi76wYM5dDfbGIgQQQAABBBCYwAKqrNCI3qkGx0p9pYRRhAoVJ9jE4UfrKaW6UyQMw9KMGdMfaGsvblZvzyVfXDDnTlvPCwEEEEAAAQQQGCMQBepjYc0g6oVZqbGoFOjs6PCTM2fOeKCzo31bkLhLvrRw9h2V9bwjgAACCCCAAAK1AgoU+dNNaxb6Z4XYvKUN/XUdnR2b9RYqVNxeU45JBBBAAAEEEEBgjEASa+RNCw+WIcprqsHC2kE0+JUGzgoyPa10zIbMIIAAAggggAAC9QJZ6PQQsvw2U9+fQgWqwUJ9Oi1V+NShqfyekfo9MI8AAggggAACCJQFrCkkHxgr0J0hecCoBgtfh2FVFkFltG/cEEAAAQQQQACB8QXUyFENFtXbTSvFfetH4Csq1A6igMELAQQQQAABBBDYgYDChIJFPoaF+lH4kqM1FnmVhTWHaE352ac72BmrEEAAAQQQQGBiC2RBWMqqDyCrCxZ+1n+z6BGEE5uKT48AAggggAACOxNIU3tseuzvLPV3gGiDao2FbwrJbxexh4RUunjubJ+sRwABBBBAAIGJKpAlQ5WBsdRF0ytUg4Wfy7tW6N6QlBqLifpLwudGAAEEEECgSYHM5U0hVrwykkU1WORPJQstb1jkyGNHkzumGAIIIIAAAghMQIFQjyCzIb310StPN60GC38niD3yVANaMD7WBPzl4CMjgAACCCCwiwIjSVjyd4UoP1RqJKrBwicN32dTI3D6iotd3DvFEUAAAQQQQGBCCRRVY5FaqCjXWtiHrwaLPGr4vGE1FvSxmFC/GnxYBBBAAAEEdl0g1e2mSZzf72FjbNqrGizy0byt60Wqob/Lo1zkZfiOAAIIIIAAAghsJxCPlIbzh5jaDaV5shgNFr6aIl9olRrbbc0CBBBAAAEEEECgRiDRXSH2rBBLD5UOmqPBwvptqqJCK63vZp4wajZmEgEEEEAAAQQQqBUIQz04vdxx00bgtFc1WOS3g/jBvNMwoI9FLRzTCCCAAAIIILC9QBLWDOldvi2kGixsXoHCXqP3jPhZviGAAAIIIIAAAtsLZKU4ieO42r/CSlSDhTWAWLiwzhdqJ6GPxfZ+LEEAAQQQQACBGoHicDpknTcVHNSdIl9Rva00f+ypr8cgVNSgMYkAAggggAACjQUKUVtsY1jYHwsX9hqtsVB9hXXd1GKFDosfvBBAAAEEEEAAgfEFhlynHpuuUKHWDl9zoaI1wSK/HUTf9RTUkGAxviNrEEAAAQQQQEACHZ2bdVeIJtSDwm43tdaQalOITxJaYneNUGPB7wsCCCCAAAII7Exg8aJF+e2magapDK05GiyUNHw1hsKF1tPPYmearEcAAQQQQGCCC/QGwXZ3klabQnyoyBtA0nLHzgnOxcdHAAEEEEAAgV0VGFNjoYYQ257ail1VpDwCCCCAAAIIeIFqsLA564ChmgsLFoQLz8M3BBBAAAEEENgVgdFgoVBhDSVBGCpbqM2EFwIIIIAAAgggsIsCo30stKH16EwT/5iy0cCxizukOAIIIIAAAghMXIHRYGF3hcjB7jjVm33xQgABBBBAAAEEdklgTLCo3A3C7aa7ZEhhBBBAAAEEECgLjAkWtkxVFZkeREaNBb8iCCCAAAIIILDLAg2Chd0VQq7YZUk2QAABBBBAAIHRIb29hR4iokyx3ShaOCGAAAIIIIAAAs0IVGssfBuIPUAk9MNZcLtpM3qUQQABBBBAAIExAtVgYU8ls1eqMSxUb1HpxzmmMDMIIIAAAggggMCOBGrGq1BtRR4nLGHQyWJHaqxDAAEEEEAAgYYC1RoL/xAyFcmCLNHImzWBo+F2LEQAAQQQQAABBLYTGBssrA0k77pJjcV2VCxAAAEEEEAAgZ0JVIOFFcw0MpYShY3BSefNncmxHgEEEEAAAQS2E6gGi3LfTUsVqRpC6Ly5HRULEEAAAQQQQGBnAtW+FGmlkiLwd4XQFLIzOdYjgAACCCCAwHYC1RoL3wCisbGsFUTfaQrZjooFCCCAAAIIILAzgWqwyJtCVFERWMQIqbHYmRzrEUAAAQQQQGA7gWqwsMeOWZrQraaJWkN+tl1JFiCAAAIIIIAAAjsRqPaxyKsoMhcF2a1fPWjBzTvZjtUIIIAAAggggMB2AtUaCxsga+2qNe4rBy24ZbtSLEAAAQQQQAABBJoQqAaLtatWuzUr1zSxCUUQQAABBBBAAIHGAtWmEEJFYyCWIoAAAggggEDzAtVg0fwmlEQAAQQQQAABBBoLECwau7AUAQQQQAABBFoQIFi0gMYmCCCAAAIIINBYgGDR2IWlCCCAAAIIINCCAMGiBTQ2QQABBBBAAIHGAgSLxi4sRQABBBBAAIEWBAgWLaCxCQIIIIAAAgg0FiBYNHZhKQIIIIAAAgi0IECwaAGNTRBAAAEEEECgsQDBorELSxFAAAEEEECgBQGCRQtobIIAAggggAACjQUIFo1dWIoAAggggAACLQgQLFpAYxMEEEAAAQQQaCxAsGjswlIEEEAAAQQQaEGAYNECGpsggAACCCCAQGMBgkVjF5YigAACCCCAQAsCBIsW0NgEAQQQQAABBBoLECwau7AUAQQQQAABBFoQIFi0gMYmCCCAAAIIINBYgGDR2IWlCCCAAAIIINCCAMGiBTQ2QQABBBBAAIHGAgSLxi4sRQABBBBAAIEWBAgWLaCxCQIIIIAAAgg0FiBYNHZhKQIIIIAAAgi0IECwaAGNTRBAAAEEEECgsQDBorELSxFAAAEEEECgBQGCRQtobIIAAggggAACjQUIFo1dWIoAAggggAACLQgQLFpAYxMEEEAAAQQQaCxAsGjswlIEEEAAAQQQaEGAYNECGpsggAACCCCAQGMBgkVjF5YigAACCCCAQAsCBIsW0NgEAQQQQAABBBoLECwau7AUAQQQQAABBFoQIFi0gMYmCCCAAAIIINBYgGDR2IWlCCCAAAIIINCCAMGiBTQ2QQABBBBAAIFRgSnTp1VnCBZVCiYQQAABBBBAYFcFpvZMc9NmECx21Y3yCCCAAAIIIFAn8N5Hlx8xbcZ0LQ2qa6ixqFIwgQACCCCAAALNCvzpY88f6Vx0hJUPgtFgUWh2B5RDAAEEEEAAAQQqAqlLjgiCyFKF6itGgwU1FhUh3hFAAAEEEECgaQHVUoRpmoZhMDZKUGPRNCEFEUAAAQQQQKAikOUtIL6qorYpZGzMqJTmHQEEEEAAAQQQ2IFAkAZhNqZ3RV6YGosdoLEKAQQQQAABBBoLqGtFGLjUBfruMtVflF8Ei4oE7wgggAACCCDQtIDVVoROnTet4+Zo301HsGiakIIIIIAAAgggUBGwm0Eyl6p7hdVYVJY6gsUoBVMIIIAAAggg0LRAmka+osJXWIxWWVBj0bQgBRFAAAEEEECgImC3mwZhmFmk8N/KKwgWFSHeEUAAAQQQQKBpAYUJ/VHnTT9A1uhm3G46asEUAggggAACCDQpEIRqCUl1Z4j1sbCv8otgUZHgHQEEEEAAAQSaFsji1EKFDxajscI5gkXThBREAAEEEEAAgYpAGPkMkddYVBbqnT4WNRhMIoAAAggggECTAr4NRGV9S8honQXBokk/iiGAAAIIIIDAqIDlCZvz+aKm/aNmcrQwUwgggAACCCCAwA4FMo1j4Yf1LoeLcmFqLHaoxkoEEEAAAQQQaCTgH0CW2ggWdt/p6Isai1ELphBAAAEEEECgSQHdbKqnm9oYWbWxgs6bTfJRDAEEEEAAAQRqBfR4kEBPNVUFhRJGTTVFzWRtcaYRQAABBBBAAIEdCejhpj5F1DyBTMXpY7EjM9YhgAACCCCAQEMBPdo0VE1FVrnrtFKIGouKBO8IIIAAAggg0LSA6iuC1Ib0ti0Y0rtpNwoigAACCCCAQAMBX1URZOq96Z9GVi1BU0iVggkEEEAAAQQQaFZANRXW6qFUoc6bNTecEiyaFaQcAggggAACCIwKZPYAskjzujmk5o5TgsUoEVMIIIAAAggg0KSAv91Uz02v77xJsGgSkGIIIIAAAgggMCqguoow1az129QonNUVBIsqBRMIIIAAAggg0KyAmj8ClypW0MeiWTLKIYAAAggggMC4AlkW2b2mvimkZowsaizGFWMFAggggAACCIwnYJnC1uXf/HdflAGyxhNjOQIIIIAAAgiMK5B33lSwsHEsRnMFQ3qPK8YKBBBAAAEEEBhXQE0gkXptptbVIq+2yItSYzEuGSsQQAABBBBAYHwB9dysporRKguCxfhirEEAAQQQQACB8QSCIFSFRahRssaUoPPmGA5mEEAAAQQQQKAZgcDGxtKTQqwZpHZIb2osmtGjDAIIIIAAAgiMFdAjQrLKwJs1lRbUWIxlYg4BBBBAAAEEmhBQ94owC2zMTf2pCRbUWDSBRxEEEEAAAQQQGCuQN4JYc4iiRE2yoMZirBNzCCCAAAIIINCEgOoqMkUK9d2sqa7QdgSLJvAoggACCCCAAAJjBQIN6W0dN7NMEaMmXBAsxjoxhwACCCCAAALNCWjMTXWzsAeG1LzoY1GDwSQCCCCAAAIINC2grpupcoUfJau6ETUWVQomEEAAAQQQQKBZARvEQg0h5UaQ0VoLgkWzgpRDAAEEEEAAgVGBVH03fbuH3Xg6uphgMWrBFAIIIIAAAgg0K1CJFb7iYnSjmowxupApBBBAAAEEEEBgRwK+a0X12emjJQkWoxZMIYAAAggggECTAnaTqRpDdKcpnTebJKMYAggggAACCIwnoEebRlkW+Gen15ahj0WtBtMIIIAAAggg0JSAtYLkw3qPrbGgKaQpPgohgAACCCCAQK2AAkSoUTdDe1SIBvauriJYVCmYQAABBBBAAIFmBdS/wrpYKEdo/M3yaBa2LcGiWUHKIYAAAggggECNgH9s+th2EK2lj0UNEZMIIIAAAggg0JyAOm+GqYrW1lbYltRYNOdHKQQQQAABBBCoEUjVEmKNILZIHTmrL4JFlYIJBBBAAAEEEGhWQInChwr/ELLRvps0hTQLSDkEEEAAAQQQqBFQdYWvqlDHzdpaCvpY1BgxiQACCCCAAALNCaiSIsz04HQbeZOmkObMKIUAAggggAAC4wiUm0J8I4iFi8qrtvaisox3BBBAAAEEEEBgpwJ2Z0j9s0IIFjtlowACCCCAAAII1AvkDzYNynebUmNR78M8AggggAACCOyCgEbGiqzXpm8GGc0VYzpy7sLuKIoAAggggAACE1lAWcLihHpXjB3Sm7tCJvJvBZ8dAQQQQACBFgUyP5i39drUxHY1FlrgbxXR+7u/+92oxWOwGQIIIIAAAghMEIF82E2NvlkTKuyj5503tdSee2rtJI8sXkywmCC/FHxMBBBAAAEEWhbQg0IsPtj2vvKivCO/INRTT9WvU1+hO2BwOs0jLSuzIQIIIIAAAhNFIAhThQurmKjtsZknjcjaRyxYBK6QvNA5UUj4nAgggAACCCDQmoD1sbBqCetMUdse4msnAltlbST6lnS1U2PRmjFbIYAAAgggMGEErJ4iDVzqA0Q6Oqi3DxGV/hVeo1igj8WE+bXggyKAAAIIILDrAh9ZseHkNFM7iCorrLZCtRfVV15j4W8V8VUWLktK1FhUeZhAAAEEEEAAgVqBD61YfVKWZUstVGzetHl/tYi4gcHBahEfIqJipZIicFFaLFbXMoEAAggggAACCJQFPrJ6/ZvVYfMSl2WFzVu27Ds4ODg/U8L49f0PlUsEWV5jYX0vyq80jamxqGDwjgACCCCAAAJe4IPPrz8xS7LL9KT0cMuWFxYMDQzNt7aOu++4z61auVpT/hnq/8uHCDWQVNnUxYJgUdVgAgEEEEAAAQQ+aqHCuSvSLAv6tvbPG+gfWqCKCnf37fe5555dkQMF7uz06ov/Pg8W1vGiPLxFmiUEC36HEEAAAQQQQMALfOy5dSckLvucOmiGA339r+jr719g9RF33HGve/aZ53OlMDw3veriL9uMDxE2MJaNY5Epfah3Z0deiu8IIIAAAgggMJEFPrpq05uSJPmC6h6igf6Bmf19g/tYG8ddChXPPP1cThMGH1KouLriNBostCTQQFmhS+m8WdHhHQEEEEAAgQkq8LFV645P0+RK1TsUBgaHpvX39S+wwbvvvvN+9/TyZ3OVIPyoQsWXaonKTSGhCxUqbHiLLA1pCqkVYhoBBBBAAIEJJnDByk1vjNP4Grv7Y2hoeFpfX586agbBnXfc45Y/+ZuyRvBx9an4fD1NucbCitudqKqxyFKCRb0S8wgggAACCEwQgY+uXPvGOEv+VrmgODg8PGlbX//8IMtDxVNPPJ0rhOGFqqm4ohGJDxGFor3pTlRVWUQRNRaNoFiGAAIIIIDA3i7wsZUb36C7Rv9On7M4PDI8eaB/cJ4CRnDn7fe4Jx5fnn/8ILhYoeLTjSxO+PtvHewHsPC1FRrLwj+hLMvoY9FIi2UIIIAAAgjsxQIXrFj7+izI/kH1DB3DpZFJfdsG5mVpFtgtpY8/9pT/5LrB45L06qWXNmI4/n9/87WlOLnH11j4p5KpKaR8W0hlGM5G27EMAQQQQAABBPYygfNXbHxdGmb/V0GgrVQqdQz2D821moq71afi0Uef8J9WN5B+Mr5qaW+jj26hIk6Tn+qhplN9jUUY5bUVYRhZrQV9LBqpsQwBBBBAAIG9UOCCNRteq9DwNY2b2ZXGWefAwNBcPQskvPP2e90jj5RDRRBcHl/Vu7TRx6+EiscfemSqrc9rLLRH61+he001joXrbLQhyxBAAAEEEEBg7xK4cPWG1ySp+6Y+VUecJMWBgcHZmg5tnIqH//Mx/2E10tXn4quXfqLRJ68NFZs3bvJFfLBQ1YVqKnR3qh8kK6DGopEeyxBAAAEEENiLBD6+esNxSeb+SXeEdiVxXBgcGJyVpamvqXjowUf9J1VlwxcVKs5v9LEbhQorV62xsBnrvKn+FvSxMAxeCCCAAAII7KUCFipUE/Ftddbs1Mia0cDQ8ExVL4R33Xmfe/DXj/hPrTxwlULFhxsRjBcqrGw5WGj8Cquy0Eu3qlJj4SX4hgACCCCAwN4nsGTVlmNjl35bw2JOSnXXx9DQSI/6Q/jmjwd+9bD/wGrBuEah4rxGn35HocLKV2ssKsEictxu2giSZQgggAACCOzpAktWrT82CdJ/VVXCJNVUBIPDI9OCLItsmO7773/Ifzz1ivjb5Oql5zT6rDsLFbaNr6awh5BZsLC+FuoJSo1FI02WIYAAAgggsAcLLFm3+ejEhd/T4BKT9fjzaKRUmhakWXTnHfe5e+/9tf9k6m/xD7ql9G8afcxmQoVt50NEIYoUKjSnZ6JGQUSwaCTKMgQQQAABBPZQgSUr1x2dJekPwjCYlKXODY+MTNZ7dNddv3L33POA/1TKAV+Nr7r4r9UMYveJjnk1GypsIx8iItVWKFNoFE/LFtRYjNFkBgEEEEAAgT1YoHfF5qOSQvoDDSsxRc0SwXCp1GXNH3fddb+zL3spTHxdoeKvfptQMX1Gj+3oBR8s8iebWpWFnhXCOBbegW8IIIAAAgjs6QJL1m5+VeKyH6t2Ypqu8ulIKe50aao+Fb9yd6gJxF5a/s0lPRf/5W8bKg45YtELagE5Jb8VRHeYqnrEf6kqhKaQPf03ifNHAAEEEJjwAp9c03eE2iGu07M/pqsmIYvjpEs1FtHdavr4pR4qZi9d8/9pyYylf97bG6iBZOyr2eYPq6mwUFEstp1y21+/9+5yjYU6burI1olTj0YlWIy1ZQ4BBBBAAIE9SmDJmk1HxEFpmfo3TNeJZ0lSardhuu+6+wH3i9vu9p9FHTX/5YzjD/uz3rNevFBhO/Y1FpGvrQid9bVQsiBYeHK+IYAAAgggsOcJfHL1xsWqilimM59hZ58kcdGlLrSaitt+fqf/QKqp+O4ZbzrsT64966zEL6j51mpNRWUXeY2FBQq97CmnGniTYFHR4R0BBBBAAIE9SKB39cZFSRDerH4Ts3TaSZYmBXXaVKj4tfvZrXf4T6JL/b++qefE91571kkveqiwA9QECx3Znm6aMUCWl+cbAggggAACe5DARas2HJaG7iad8izd5JnaaJqpLu02RsUtt/zSfxJ10Pz+m3pO+KNbe0+K6z/ab1tTYfs79err2vNgofgSqaIisz+arD8Y8wgggAACCCCw+wpctHL9IWEULlPtxEz1mbRxKIIszcJ77/u1u+mmX/gTV6j4j6MWz3nPre9/6ULFlmD99/NgEeUjb9o9JxHPCtl9f3M4MwQQQAABBOoELl33wsGlNL1edQOzFCf0gFJVEugppffe95C7cdltvrTqD350aM9hZ933/rNKdZu7F6umwkKF9n1qufOmBQvdbqoja+yMYv1BmUcAAQQQQACB3U+gd90LB41k6fWKErMtTiRxGvpQoed+LFv2c3/CurRfd2jPonc93HvWSP0neDFDxca160+1/ftgYc8Jiax/hWouojDrqD8w8wgggAACCCCwewn0rl17QJKkP9ZtpAoVdveHxtfU4Ff36wmly26ohorr9896zvhdhIonH33UA/mmEB8qVGOR5wzGsdi9fnU4GwQQQAABBMYK9K7evDBO0ut0x8UcrVFVRVpUyCj8+sFH3A0//ZkvrD4Vy/bp2ff0p3r/fHjs1u5Fbf6wmgoLFb5nhw7kg0VgzSCqrbCXnnBK500vwTcEEEAAAQR2P4ELV23erxRkP1S/SIWKzCWltC3VbaUPPfRYbai4aW40+Q+f6f3zofpP8GI3f9SGCjtWXmPhm0AsWNg4FtxuWv9DYB4BBBBAAIHdQaB31aZ9Sy77D+WJ+aohUJ+KuCtJ07aH//Nx99Of3upPUTUVt8zumfPOFb3vH6w/55c6VNjx8rtCgvyuEKvG0BNO/bL6k2EeAQQQQAABBF4+gQtXbtyn5NJ/Uw3AfD2EI431lFKFinYLFTcsqzR/uJ8rVPz+qt73D9Sf6UsdKtRJ1L/G1Fj4R6eH9LGo/2EwjwACCCCAwMspcOHzG+ZnYfg9VVLso/aFtFQa6VZnzc5HH3kyDxVWMRC4X8xs6z7t5QoVBx92mBH9JK+xUFOI+lb4W0SosXg5f3U4NgIIIIAAAmMFzn9u/by0EFyrR4kt0JpsuJR0xiOl7sefWO5+esOt1s3CQsXtPT2zTl3b+4H+sVu/tB017VhWU2GhYsbsWT+Zls063ffYtIeP2Zfddqp8QVNI/U+FeQQQQAABBF4Ggd51fXOiKPyuRtHcT5dwNX8kHSPDw1Mee+KpvKNmHirunN7R+Y71vR/oqz/F30XzR22o+Mk5pw3nNRZKEzpxnY9abRwDZNX/YJhHAAEEEEDgdy3wibV9s4fiwe/of/z76NqclErxpCGFiuVPPe2W/fTnur3Trtnu7qlZz9s3fPacbfXn93KECjuHPFiUaywUfJQteGy6MfBCAAEEEEDg5RLoXbPmFUPp8D9rfKl9LUGMqKOmQsW05U89Eyy74WeVUHHv5Gjq2zddec7W+vN8uUKFnUfeFBJpKG/NWK0F41jU/3iYRwABBBBA4HcncMHqbbMGk+hbyhP76dqsjppx58DQ0IxqqNCzQPS6f1J3+ylbrvzglvozezlDhZ2LDxaqYvGhIlSTiCJG2wWr151Wf6LMI4AAAggggMBLK/DhVatmJunQN/W//YUuzYLS8EhXf//ArKeXP5vXVFioCNwDkwpT3vbCZy7YXH82L3eosPPxwWJoaMg/gMxqLPr7BhakSXDVx1au/4P6E2YeAQQQQAABBF4agQtWrJgRpcVv6D/7CzX8Q1qK445t/QOzn/nNc8FN1qciDxUPdne3vXXrlz60qf4sdodQYedkwWLgnrt+5e8IiTS0d0ntOAODg/NUe/HlC1Zt+C/1J848AggggAACCLy4Ah98/vmeOG37ehYoVOgx46WRuLOvb2DO88+s8DUVaZZaTcV/dhcnvWXb5Z/YWH/03SVU2HnpaenBO597buXgz275pTqDqJ9FIbJU1DUyPDJL/S2+cuHazafXfwDmEUAAAQQQQODFEfj4s1umF4PO/6P/6u+v5g+njprtff1985955vnwxmW3+o6aChWPdLV1v2XbFz6yof6ou1OosHML46uX3qSKij9U+83QLTf/Qp9LDyTTXSJ6nntHaWRkqkvSr120dvMZ9R+EeQQQQAABBBD47QR6f7N5WhyOfCVz2UG6JGelJG7btrV/n+eeXRHerGG607yj5mOdQfHkvs9/dF390Xa3UGHn5/tYxFctXRYG0enLlz87vMzGG1fVhQ3vrc4jbap+mRRm2bcuWr3xzPoPxDwCCCCAAAIItCbwseWbpvYV47/T7ZgKFS7VwFcdWzdv3f/551dENy27LQ8VQfB4Z0fXSf1XXbi2/ii7GioKYfT22/76vXfX7ufUq69r3xKs/379o8+tTP2Imjb4Ve224037YGEr46uXXK+6ijOeeuo3IzfoHtnI11zY/SJBQe097Xpa2j9etG4L4WI8SZYjgAACCCDQpEDvkxunpB3pl9UD4WBtkumW0vatW7fuv2Ll6ujmG3+hx5Zan4rgyY6OjpP7P3f+mvrdthIqfvE3f3pX7X5eilBh+68GC5tJrl5yXZAFZz7xxPKRH193U96uYyusy4hz7YpPX7tw1cZ3+SV8QwABBBBAAIFdFjh//frJfZ3JNepycIhaBjRMd9y2efOWg1asWFO4+cafK1QkFiqWt0fRSQOf/diq+gPszqHCznVMsLAFyTVLf6hairMef/zp0o9+fKPT09P0ldp7oATVqSJfpUOnSfFCAAEEEEBg1wQsVCQjwZW68eMQ3QGSxHHcvmnTloNXrVxTvPUmNX/4mgr3dHshOmnwSxetrN/77h4q7HytJqLhKzrv0jOyNPnOoYceWPj933ubhioPfcjQ+1ChEG1RH5P3Xz5n1g8absxCBBBAAAEEEBgj0Ltu3aStw+5LuvAuTq2qIkk6Nm98YdGqlavb7c7MJLaaCvdMe9Bx4uBVH39uzMaa2RNChZ3zuMHCVkZnX3pmFiT/csgrDyycdtpbnEH4XheBG2xrb98QZukHLps/64dWlhcCCCCAAAIINBb4yJo13elI8AXVUixSp8hQIaJ94/pNh69Zs7bjZzdXQ8VzbWH7iUNXXvBM/V72lFBh573DYGEFonMveY/G5fjWKw85IDrllBPV7BP4mouoWNzW0dG+Rremnnf53J7rrCwvBBBAAIGJK/C+J59dPJK4xRofyS4VYZqm/gFUhVR13Lp66G5DLdazI7JUoxxomUqFulMgSwMbn9GuR1Y+sEGr9QgrbZ/5ERBURNurnMpE5e3U5y+yo/iyGiQhzTIdVoNIWzm7tmnX9pOw42ihP76ts2PohoTyMjsfX1aHy9fZCabqN6kDh/5sNKkdhrZ3K6Nty2U1p/3kBfU9s/JWREdXOU3oODp2vh+/zC8XRJykbRs3bHzVmtVrOn9+y+15TYULnm9rD08c+vyS31jh2teeFCrsvPXZd/6Kzrvkj7LE/eNBBy+M3va2E1VzoT9J5optxRe6urust2qs21JjwZayIIsVRBL9ApQ00EeS6l0DbsWijoU8pPlYPxmVC2K1JcX6UcVJlmnbLE5dUNIdN4lu2x2q7kvLtXPbJrZt9GukWTeY2vZarhFC9TNK/b40XVJPkFi/TcP6PS6FURKXdFOwBhuJC12TSq4UJ9HAcBxHUwc7OufG1157Sex6e/UrxAsBBBBA4LcReO+Tzy7KRtziIEh1EbdrvkJFqsbzQn6h1wIfNCwwWMgI9I90GEU+LOgaYTci+gu3lVNoyENCGAW6tujibNcqhQuV0dU68sFB13K7avuLu+UA7dTKaCc+XNi0IoJlCrvO5UHDBxqV8fN2HraNbay/OnA+6eOBFfGBwrb0W+sC5YOQBQY7rs5fS7QvyzEKG3Z827UtU6DQnGUM/wguO06gi5adf5albevXbnjV2tVru2+79XYX++aPYGUxC08cvmbJcjuf2teeFirs3D1q7YcYbzo695N/LJBvHHjgwvCkk4/3xZQQfe2FJQElU32po6emrbNnPm+dPjWtpGFBJNH6fHk+beOe27LE1iWxX5cvs/JqeLH9a7/qOat1mX4A5TJ+f7XrNe6GlbFEox+SlbXj2Pb2biOZ5dN2rERltVxltbAcLsf71CxHAAEEENiZwJTp09yU6VPzZGCXabvK6rpuVxhdS8vXbF2Rq9d4W5bvNb+eq1weK/xV3dbk6+16X9murozfPt+PHauyH19pYMf1O8jX23Htn3tb5r/KB7Ai1WWVdbZQhf325WW1+7TDai+2of3Nt7d5W27zli3KfxQk/LJ8ey3VOdiCzRs3uZ8rVPg+Fc6tKgbRm4evXvKk30nNtz0xVNjpq1apuVd21y0Phq896dlNm7e8c8uWF4J9Fy7IL9Z2kdeF2ljtGm4XcLta+z9+Ol+my7z/wdp6K2EX+DwA2PL8y29va/Nd2Ba2scraMdSppbxnJUW/L1/QtvVBwUJEvm1+DlbYdpS/2/ZWTjUq1WX5BN8RQAABBFoVmDJtips8bWp58/IFtjpnF1/7Ki/QP7/VaX/xtfnyNr5cebpycfaz+mbrtAu/Lz+laXsvb1PehV+f/wvvN7TVeTlftrx9ubBd7GuP7a87teUqx/PltVc7d1vmy9i2lXm/MF/ng1M+r+/5/u2ErLDfRepWrVjj7vzl3eWOmsHqYrHtpOErL9prQoX/3PZtV17R2Z/877o8f3Xf/eYHx73mGNfe2a7NdVG3Wge1l1jtg9UeqH2iXFNh7SKKFTU1FnkthNVGVMKFylbLa3uVV+uF3ss1Fn6dBQeFg8oyCxM6Tl5DYbUTecDxNRRWRtv4wGJlrJZCyyrb27nk86rb2pUPT1kEEEAAAQReDIEgWFsoFt888oVPPFa/uz21pqLyOVq6rkbnfPIvdWH+igJFS9tXDs47AggggAACE1BgXcG1nTRyzSceqf/sJ/z9tw5Wd8B79L/fSjVQfZHR+SB4Qc0Obx9vRE0VPHW08HZTP5mWzTq92WG6t9t6Bwv+P48/bDtBrA7UAAAAAElFTkSuQmCC"},"rn/G":function(t,e,b){"use strict";!function(e){function p(e,t,n,r){var i;return r=(255-(i=Math.min(e,t,n)))/255,[e=((e-i)/r).toFixed(0),t=((t-i)/r).toFixed(0),n=((n-i)/r).toFixed(0),r=parseFloat(r.toFixed(4))]}function y(e){var t,n,r={},e={h:e[1]/360,s:e[2]/100,l:e[3]/100,a:parseFloat(e[4])};return 0===e.s?r={r:t=255*e.l,g:t,b:t,a:e.a}:(r.r=255*i(n=2*e.l-(t=e.l<.5?e.l*(1+e.s):e.l+e.s-e.l*e.s),t,e.h+1/3),r.g=255*i(n,t,e.h),r.b=255*i(n,t,e.h-1/3),r.a=e.a),r}function m(e){e.r=e.r/255,e.g=e.g/255,e.b=e.b/255;var t,n=Math.max(e.r,e.g,e.b),r=Math.min(e.r,e.g,e.b),i=[];if(i.a=e.a,i.l=(n+r)/2,n===r)i.h=0,i.s=0;else{switch(t=n-r,i.s=.5<=i.l?t/(2-n-r):t/(n+r),n){case e.r:i.h=(e.g-e.b)/t+(e.g<e.b?6:0);break;case e.g:i.h=(e.b-e.r)/t+2;break;case e.b:i.h=(e.r-e.g)/t+4}i.h/=6}return i.h=parseInt((360*i.h).toFixed(0),10),i.s=parseInt((100*i.s).toFixed(0),10),i.l=parseInt((100*i.l).toFixed(0),10),i}function g(e){var t={},n={h:e[1]/360,s:e[2]/100,v:e[3]/100},e=Math.floor(6*n.h),r=6*n.h-e,i=n.v*(1-n.s),o=n.v*(1-r*n.s),a=n.v*(1-(1-r)*n.s);switch(e%6){case 0:t.r=n.v,t.g=a,t.b=i;break;case 1:t.r=o,t.g=n.v,t.b=i;break;case 2:t.r=i,t.g=n.v,t.b=a;break;case 3:t.r=i,t.g=o,t.b=n.v;break;case 4:t.r=a,t.g=i,t.b=n.v;break;case 5:t.r=n.v,t.g=i,t.b=o}return t.r=255*t.r,t.g=255*t.g,t.b=255*t.b,t}function v(e){e.r=parseInt(e.r,10)%256/256,e.g=parseInt(e.g,10)%256/256,e.b=parseInt(e.b,10)%256/256;var t=Math.max(e.r,e.g,e.b),n=Math.min(e.r,e.g,e.b),r=t-n,i={h:0,s:0===t?0:r/t,v:t};if(t!==n){switch(t){case e.r:i.h=(e.g-e.b)/r+(e.g<e.b?6:0);break;case e.g:i.h=(e.b-e.r)/r+2;break;case e.b:i.h=(e.r-e.g)/r+4}i.h/=6}return i.h=parseInt((360*i.h).toFixed(0),10),i.s=parseInt((100*i.s).toFixed(0),10),i.v=parseInt((100*i.v).toFixed(0),10),i}function i(e,t,n){return n<0&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+6*(2/3-n)*(t-e):e}t.exports=function(n,e,t){void 0===e&&(e="rgba"),void 0===t&&(t=!1),n=n.toLowerCase(),e=e.toLowerCase();var r,i=n,o=b("T016"),a={rgb:{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],toRGBA:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),1]}},rgba:{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d+(?:\.\d+)?|\.\d+)\s*\)/,example:["rgba(123, 234, 45, 1)","rgba(255,234,245, 0.5)"],toRGBA:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),parseFloat(e[4])]}},hex:{re:/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["00ff00","336699"],toRGBA:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),1]}},hex3:{re:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["fb0","f0f"],toRGBA:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),1]}},hexa:{re:/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["00ff00ff","336699a0"],toRGBA:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),parseInt(e[4],16)/255]}},hex4a:{re:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["fb0f","f0f8"],toRGBA:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),parseInt(e[4]+e[4],16)/255]}},hsl:{re:/^hsl\((\d{1,3}),\s*(\d{1,3})%,\s*(\d{1,3})%\)$/,example:["hsl(120, 100%, 25%)","hsl(0, 100%, 50%)"],toRGBA:function(e){e[4]=1;e=y(e);return[e.r,e.g,e.b,e.a]}},hsla:{re:/^hsla\((\d{1,3}),\s*(\d{1,3})%,\s*(\d{1,3})%,\s*(\d+(?:\.\d+)?|\.\d+)\s*\)/,example:["hsla(120, 100%, 25%, 1)","hsla(0, 100%, 50%, 0.5)"],toRGBA:function(e){e=y(e);return[e.r,e.g,e.b,e.a]}},hsv:{re:/^hsv\((\d{1,3}),\s*(\d{1,3})%,\s*(\d{1,3})%\)$/,example:["hsv(120, 100%, 25%)","hsv(0, 100%, 50%)"],toRGBA:function(e){e=g(e);return[e.r,e.g,e.b,1]}},hsb:{re:/^hsb\((\d{1,3}),\s*(\d{1,3})%,\s*(\d{1,3})%\)$/,example:["hsb(120, 100%, 25%)","hsb(0, 100%, 50%)"],toRGBA:function(e){e=g(e);return[e.r,e.g,e.b,1]}}};for(r in o.hasOwnProperty(n)&&((n=o[n]).forEach(function(e,t){n[t]=("0"+e.toString(16)).slice(-2)}),n="#"+n.join("")),a){var s,l,u,c,f=a[r].re,h=a[r].toRGBA,f=f.exec(n);f&&(s=(h=h(f))[0],l=h[1],u=h[2],c=+(Math.round(h[3]+"e+4")+"e-4"))}switch(s=Math.round(s<0||isNaN(s)?0:255<s?255:s),l=Math.round(l<0||isNaN(l)?0:255<l?255:l),u=Math.round(u<0||isNaN(u)?0:255<u?255:u),c=c<0||isNaN(c)?0:1<c?1:c,e){case"hex":i="#"+("0"+s.toString(16)).slice(-2)+("0"+l.toString(16)).slice(-2)+("0"+u.toString(16)).slice(-2);break;case"hexa":t&&(s=(d=p(s,l,u,c))[0],l=d[1],u=d[2],c=d[3]),i="#"+("0"+s.toString(16)).slice(-2)+("0"+l.toString(16)).slice(-2)+("0"+u.toString(16)).slice(-2)+("0"+Math.round(255*c).toString(16)).slice(-2);break;case"hsl":var d=m({r:s,g:l,b:u}),i="hsl("+d.h+","+d.s+"%,"+d.l+"%)";break;case"hsla":t&&(s=(d=p(s,l,u,c))[0],l=d[1],u=d[2],c=d[3]);var d=m({r:s,g:l,b:u,a:c});i="hsla("+d.h+","+d.s+"%,"+d.l+"%,"+d.a+")";break;case"hsb":d=v({r:s,g:l,b:u});i="hsb("+d.h+","+d.s+"%,"+d.v+"%)";break;case"hsv":d=v({r:s,g:l,b:u});i="hsv("+d.h+","+d.s+"%,"+d.v+"%)";break;case"rgb":i="rgb("+s+","+l+","+u+")";break;default:t&&(s=(d=p(s,l,u,c))[0],l=d[1],u=d[2],c=d[3]),i="rgba("+s+","+l+","+u+","+c+")"}return i},e.colorcolor=t.exports}.call(this,b("yLpj"))},rnKy:function(e,t,n){"use strict";var r;n=[n("KtZj")],void 0!==(t="function"==typeof(r=function(b){var t=function(){var o;var f={};var s=[];function l(e){if(!e)e=document.documentElement;var t=window.getComputedStyle(e,null).fontSize;return parseFloat(t)||16}function h(e){if(!e.getBoundingClientRect)return{width:e.offsetWidth,height:e.offsetHeight};var t=e.getBoundingClientRect();return{width:Math.round(t.width),height:Math.round(t.height)}}function d(e,t){var n=t.split(/\d/);var r=n[n.length-1];t=parseFloat(t);switch(r){case"px":return t;case"em":return t*l(e);case"rem":return t*l();case"vw":return t*document.documentElement.clientWidth/100;case"vh":return t*document.documentElement.clientHeight/100;case"vmin":case"vmax":var i=document.documentElement.clientWidth/100;var o=document.documentElement.clientHeight/100;var a=Math[r==="vmin"?"min":"max"];return t*a(i,o);default:return t}}function n(e,t){this.element=e;var n,r,i,o,a,s,l,u;var c=["min-width","min-height","max-width","max-height"];this.call=function(){i=h(this.element);s={};for(n in f[t]){if(!f[t].hasOwnProperty(n))continue;r=f[t][n];o=d(this.element,r.value);a=r.property==="width"?i.width:i.height;u=r.mode+"-"+r.property;l="";if(r.mode==="min"&&a>=o)l+=r.value;if(r.mode==="max"&&a<=o)l+=r.value;if(!s[u])s[u]="";if(l&&-1===(" "+s[u]+" ").indexOf(" "+l+" "))s[u]+=" "+l}for(var e in c){if(!c.hasOwnProperty(e))continue;if(s[c[e]])this.element.setAttribute(c[e],s[c[e]].substr(1));else this.element.removeAttribute(c[e])}}}function u(e,t){if(!e.elementQueriesSetupInformation)e.elementQueriesSetupInformation=new n(e,t);if(!e.elementQueriesSensor)e.elementQueriesSensor=new b(e,function(){e.elementQueriesSetupInformation.call()})}function a(e,t,n,r){if(typeof f[e]==="undefined"){f[e]=[];var i=s.length;o.innerHTML+="\n"+e+" {animation: 0.1s element-queries;}";o.innerHTML+="\n"+e+" > .resize-sensor {min-width: "+i+"px;}";s.push(e)}f[e].push({mode:t,property:n,value:r})}function c(e){var t;if(document.querySelectorAll)t=e?e.querySelectorAll.bind(e):document.querySelectorAll.bind(document);if(!t&&"undefined"!==typeof $$)t=$$;if(!t&&"undefined"!==typeof jQuery)t=jQuery;if(!t)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";return t}function t(e){var t=c(e);for(var n in f)if(f.hasOwnProperty(n)){var r=t(n,e);for(var i=0,o=r.length;i<o;i++)u(r[i],n)}}function i(r){var i=[];var o=[];var a=[];var s=0;var l=-1;var u=[];for(var e in r.children){if(!r.children.hasOwnProperty(e))continue;if(r.children[e].tagName&&r.children[e].tagName.toLowerCase()==="img"){i.push(r.children[e]);var t=r.children[e].getAttribute("min-width")||r.children[e].getAttribute("data-min-width");var n=r.children[e].getAttribute("data-src")||r.children[e].getAttribute("url");a.push(n);var c={minWidth:t};o.push(c);if(!t){s=i.length-1;r.children[e].style.display="block"}else r.children[e].style.display="none"}}l=s;function f(){var e=false,t;for(t in i){if(!i.hasOwnProperty(t))continue;if(o[t].minWidth)if(r.offsetWidth>o[t].minWidth)e=t}if(!e)e=s;if(l!==e)if(!u[e]){var n=new Image;n.onload=function(){i[e].src=a[e];i[l].style.display="none";i[e].style.display="block";u[e]=true;l=e};n.src=a[e]}else{i[l].style.display="none";i[e].style.display="block";l=e}else i[e].src=a[e]}r.resizeSensorInstance=new b(r,f);f()}function r(){var e=c();var t=e("[data-responsive-image],[responsive-image]");for(var n=0,r=t.length;n<r;n++)i(t[n])}var p=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:min|max)-(?:width|height)[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/gim;var y=/\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/gim;function m(e){var t,n,r,i;e=e.replace(/'/g,'"');while(null!==(t=p.exec(e))){n=t[1]+t[3];r=t[2];while(null!==(i=y.exec(r)))a(n,i[1],i[2],i[3])}}function g(e){var t="";if(!e)return;if("string"===typeof e){e=e.toLowerCase();if(-1!==e.indexOf("min-width")||-1!==e.indexOf("max-width"))m(e)}else for(var n=0,r=e.length;n<r;n++)if(1===e[n].type){t=e[n].selectorText||e[n].cssText;if(-1!==t.indexOf("min-height")||-1!==t.indexOf("max-height"))m(t);else if(-1!==t.indexOf("min-width")||-1!==t.indexOf("max-width"))m(t)}else if(4===e[n].type)g(e[n].cssRules||e[n].rules);else if(3===e[n].type)if(e[n].styleSheet.hasOwnProperty("cssRules"))g(e[n].styleSheet.cssRules)}var v=false;this.init=function(){var e="animationstart";if(typeof document.documentElement.style["webkitAnimationName"]!=="undefined")e="webkitAnimationStart";else if(typeof document.documentElement.style["MozAnimationName"]!=="undefined")e="mozanimationstart";else if(typeof document.documentElement.style["OAnimationName"]!=="undefined")e="oanimationstart";document.body.addEventListener(e,function(e){var t=e.target;var n=t&&window.getComputedStyle(t,null);var r=n&&n.getPropertyValue("animation-name");var i=r&&-1!==r.indexOf("element-queries");if(i){t.elementQueriesSensor=new b(t,function(){if(t.elementQueriesSetupInformation)t.elementQueriesSetupInformation.call()});var o=window.getComputedStyle(t.resizeSensor,null);var a=o.getPropertyValue("min-width");a=parseInt(a.replace("px",""));u(e.target,s[a])}});if(!v){o=document.createElement("style");o.type="text/css";o.innerHTML="[responsive-image] > img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] > img, [data-responsive-image] > img {width: 100%;}";o.innerHTML+="\n@keyframes element-queries { 0% { visibility: inherit; } }";document.getElementsByTagName("head")[0].appendChild(o);v=true}for(var t=0,n=document.styleSheets.length;t<n;t++)try{if(document.styleSheets[t].href&&0===document.styleSheets[t].href.indexOf("file://"))console.warn("CssElementQueries: unable to parse local css files, "+document.styleSheets[t].href);g(document.styleSheets[t].cssRules||document.styleSheets[t].rules||document.styleSheets[t].cssText)}catch(e){}r()};this.findElementQueriesElements=function(e){t(e)};this.update=function(){this.init()}},e=(t.update=function(){t.instance.update()},t.detach=function(e){if(e.elementQueriesSetupInformation){e.elementQueriesSensor.detach();delete e.elementQueriesSetupInformation;delete e.elementQueriesSensor}else if(e.resizeSensorInstance){e.resizeSensorInstance.detach();delete e.resizeSensorInstance}},t.init=function(){if(!t.instance)t.instance=new t;t.instance.init()},function(e){if(document.addEventListener)document.addEventListener("DOMContentLoaded",e,false);else if(/KHTML|WebKit|iCab/i.test(navigator.userAgent))var t=setInterval(function(){if(/loaded|complete/i.test(document.readyState)){e();clearInterval(t)}},10);else window.onload=e});return t.findElementQueriesElements=function(e){t.instance.findElementQueriesElements(e)},t.listen=function(){e(t.init)},t})?r.apply(t,n):r)&&(e.exports=t)},rr1i:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},rt8w:function(e,t,n){"use strict";var r=n("ba8b"),i=n("aLaa");e.exports=function(e){if("Function"===r(e))return i(e)}},"s+uk":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n;e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:true,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"s/PY":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){void 0===e&&(e=0);void 0===t&&(t=this.params.speed);void 0===n&&(n=!0);void 0===r&&(r=!0);var o=this,a=o.params,s=o.wrapperEl;if(o.animating&&a.preventInteractionOnTransition)return!1;var l=o.minTranslate(),u=o.maxTranslate();l=r&&l<e?l:r&&e<u?u:e;return o.updateProgress(l),a.cssMode?(r=o.isHorizontal(),0!==t&&s.scrollTo?s.scrollTo(((u={})[r?"left":"top"]=-l,u.behavior="smooth",u)):s[r?"scrollLeft":"scrollTop"]=-l):0===t?(o.setTransition(0),o.setTranslate(l),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(l),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n)&&o.emit("transitionEnd")}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}},s544:function(module,exports,__webpack_require__){"use strict";window.jsonsql={query:function(e,t){e=e.match(/^(select)\s+([a-z0-9_\,\.\s\*]+)\s+from\s+([a-z0-9_\.]+)(?: where\s+\((.+)\))?\s*(?:order\sby\s+([a-z0-9_\,]+))?\s*(asc|desc|ascnum|descnum)?\s*(?:limit\s+([0-9_\,]+))?/i),e={fields:e[2].replace(" ","").split(","),from:e[3].replace(" ",""),where:null==e[4]?"true":e[4],orderby:null==e[5]?[]:e[5].replace(" ","").split(","),order:null==e[6]?"asc":e[6],limit:null==e[7]?[]:e[7].replace(" ","").split(",")};return this.parse(t,e)},parse:function(e,t){var n,r={fields:["*"],from:"json",where:"",orderby:[],order:"asc",limit:[]};for(n in t)r[n]=t[n];e=this.returnFilter(e,r);return e=this.returnOrderBy(e,r.orderby,r.order),this.returnLimit(e,r.limit)},returnFilter:function returnFilter(json,jsonsql_o){var jsonsql_scope=eval(jsonsql_o.from),jsonsql_result=[],jsonsql_rc=0,jsonsql_i;for(jsonsql_i in""==jsonsql_o.where&&(jsonsql_o.where="true"),jsonsql_scope)this.functionWith(jsonsql_scope[jsonsql_i],jsonsql_o.where)&&(jsonsql_result[jsonsql_rc++]=this.returnFields(jsonsql_scope[jsonsql_i],jsonsql_o.fields));return jsonsql_result},functionWith:function(e,t){if(e){var n,r="";for(n in e)r=r+"var "+n+' = _$_$_functionWith["'+n+'"];';return new Function("_$_$_functionWith",r+"return "+t)(e)}},returnFields:function(e,t){if("*"==(t=0==t.length?["*"]:t)[0])return e;var n,r={};for(n in t)r[t[n]]=e[t[n]];return r},returnOrderBy:function returnOrderBy(result,orderby,order){return 0!=orderby.length&&result.sort(function(a,b){switch(order.toLowerCase()){case"desc":return eval("a."+orderby[0]+" < b."+orderby[0])?1:-1;case"asc":return eval("a."+orderby[0]+" > b."+orderby[0])?1:-1;case"descnum":return eval("a."+orderby[0]+" - b."+orderby[0]);case"ascnum":return eval("b."+orderby[0]+" - a."+orderby[0])}}),result},returnLimit:function(e,t){switch(t.length){case 0:return e;case 1:return e.splice(0,t[0]);case 2:return e.splice(t[0]-1,t[1])}}}},sEf8:function(e,t){e.exports=function(t){return function(e){return t(e)}}},sEfC:function(e,t,n){var v=n("GoyQ"),b=n("QIyF"),_=n("tLB3"),x=Math.max,w=Math.min;e.exports=function(r,n,e){var i,o,a,s,l,u,c=0,f=!1,h=!1,t=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function d(e){var t=i,n=o;return i=o=void 0,c=e,s=r.apply(n,t)}function p(e){var t=e-u;return void 0===u||n<=t||t<0||h&&a<=e-c}function y(){var e,t=b();if(p(t))return m(t);l=setTimeout(y,(e=n-((t=t)-u),h?w(e,a-(t-c)):e))}function m(e){return l=void 0,t&&i?d(e):(i=o=void 0,s)}function g(){var e=b(),t=p(e);if(i=arguments,o=this,u=e,t){if(void 0===l)return c=e=u,l=setTimeout(y,n),f?d(e):s;if(h)return clearTimeout(l),l=setTimeout(y,n),d(u)}return void 0===l&&(l=setTimeout(y,n)),s}return n=_(n)||0,v(e)&&(f=!!e.leading,h="maxWait"in e,a=h?x(_(e.maxWait)||0,n):a,t="trailing"in e?!!e.trailing:t),g.cancel=function(){void 0!==l&&clearTimeout(l),i=u=o=l=void(c=0)},g.flush=function(){return void 0===l?s:m(b())},g}},sIYg:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.paginationTypes=t.default=void 0,r(n("3hup"))),o=n("UJE+"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},(0,o.PaginationProps)()),o=(t.paginationTypes=n,{name:"SmPagination",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"current",event:"change.current"},props:n,computed:{extralListeners:function(){var t=this;return{"change.current":function(e){t.$emit("change.current",e)}}}}});t.default=o},sKCg:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.treeTypes=t.default=void 0,r(n("2GWg"))),o=n("IbFF"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},(0,o.TreeProps)()),o=(t.treeTypes=n,{name:"SmTree",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"checkedKeys",event:"check"},props:n,computed:{extralListeners:function(){var e=this;return{check:function(){e.$emit.apply(e,["check"].concat(Array.prototype.slice.call(arguments)))}}}}});t.default=o},sLfH:function(e,t,n){"use strict";n.r(t);var r,i=n("wcrc"),o=n("dvTD");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},sNJV:function(e,t,n){"use strict";var r=n("aLaa"),i=n("JTf3"),n=n("4gdG"),o=r(Function.toString);i(n.inspectSource)||(n.inspectSource=function(e){return o(e)}),e.exports=n.inspectSource},sNwI:function(e,t,n){var i=n("5K7Z");e.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){r=t.return;throw void 0!==r&&i(r.call(t)),e}}},sTJb:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.gridTypes=t.default=void 0,r(n("vjGd"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={prefixCls:o.default.string,hoverable:o.default.bool},o=(t.gridTypes=n,{name:"SmCardGrid",__ANT_CARD_GRID:!0,defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},seDm:function(e,t,n){"use strict";n.r(t),n.d(t,"SpinSize",function(){return h}),n.d(t,"SpinProps",function(){return d}),n.d(t,"setDefaultIndicator",function(){return y});var r=n("kvrn"),l=n.n(r),r=n("YEIV"),u=n.n(r),r=n("jo6Y"),c=n.n(r),r=n("sEfC"),i=n.n(r),o=n("TZE5"),r=n("tIgm"),f=n("2qPA"),a=n("ewVk"),s=n("TfX5"),h=o.a.oneOf(["small","default","large"]),d=function(){return{prefixCls:o.a.string,spinning:o.a.bool,size:h,wrapperClassName:o.a.string,tip:o.a.string,delay:o.a.number,indicator:o.a.any}},p=void 0;function y(t){p="function"==typeof t.indicator?t.indicator:function(e){return e(t.indicator)}}t.default={name:"ASpin",mixins:[r.a],props:Object(f.initDefaultProps)(d(),{size:"default",spinning:!0,wrapperClassName:""}),inject:{configProvider:{default:function(){return s.a}}},data:function(){var e=this.spinning,t=this.delay,t=(t=t,!!e&&!!t&&!isNaN(Number(t)));return this.originalUpdateSpinning=this.updateSpinning,this.debouncifyUpdateSpinning(this.$props),{sSpinning:e&&!t}},mounted:function(){this.updateSpinning()},updated:function(){var e=this;this.$nextTick(function(){e.debouncifyUpdateSpinning(),e.updateSpinning()})},beforeDestroy:function(){this.cancelExistingSpin()},methods:{debouncifyUpdateSpinning:function(e){e=(e||this.$props).delay;e&&(this.cancelExistingSpin(),this.updateSpinning=i()(this.originalUpdateSpinning,e))},updateSpinning:function(){var e=this.spinning;this.sSpinning!==e&&this.setState({sSpinning:e})},cancelExistingSpin:function(){var e=this.updateSpinning;e&&e.cancel&&e.cancel()},getChildren:function(){return this.$slots&&this.$slots.default?Object(f.filterEmpty)(this.$slots.default):null},renderIndicator:function(e,t){var n=t+"-dot",r=Object(f.getComponentFromProp)(this,"indicator");return null===r?null:(Array.isArray(r)&&(r=1===(r=Object(f.filterEmpty)(r)).length?r[0]:r),Object(f.isValidElement)(r)?Object(a.a)(r,{class:n}):p&&Object(f.isValidElement)(p(e))?Object(a.a)(p(e),{class:n}):e("span",{class:n+" "+t+"-dot-spin"},[e("i",{class:t+"-dot-item"}),e("i",{class:t+"-dot-item"}),e("i",{class:t+"-dot-item"}),e("i",{class:t+"-dot-item"})]))}},render:function(e){var t=this.$props,n=t.size,r=t.prefixCls,i=t.tip,o=t.wrapperClassName,t=c()(t,["size","prefixCls","tip","wrapperClassName"]),r=(0,this.configProvider.getPrefixCls)("spin",r),a=this.sSpinning,n=(s={},u()(s,r,!0),u()(s,r+"-sm","small"===n),u()(s,r+"-lg","large"===n),u()(s,r+"-spinning",a),u()(s,r+"-show-text",!!i),s),s=e("div",l()([t,{class:n}]),[this.renderIndicator(e,r),i?e("div",{class:r+"-text"},[i]):null]),t=this.getChildren();return t?(n={},u()(n,r+"-container",!0),u()(n,r+"-blur",a),i=n,e("div",l()([{on:Object(f.getListeners)(this)},{class:[r+"-nested-loading",o]}]),[a&&e("div",{key:"loading"},[s]),e("div",{class:i,key:"container"},[t])])):s}}},shjB:function(e,t){e.exports=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},sjD4:function(e,t,n){"use strict";n.r(t);var r,i=n("4K6O");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},sk9p:function(e,t,n){"use strict";t.__esModule=!0;var l=r(n("k/8l")),u=r(n("FyfS"));function r(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,l.default)(Object(e))){var n=t,r=[],i=!0,t=!1,o=void 0;try{for(var a,s=(0,u.default)(e);!(i=(a=s.next()).done)&&(r.push(a.value),!n||r.length!==n);i=!0);}catch(e){t=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(t)throw o}}return r}throw new TypeError("Invalid attempt to destructure non-iterable instance")}},soSS:function(e,t,n){"use strict";n.r(t);var r,i=n("gK2h"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},sp3z:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return e==="ຕອນແລງ"},meridiem:function(e,t,n){if(e<12)return"ຕອນເຊົ້າ";else return"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n("wd/R"))},"t+mt":function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},t2Dn:function(e,t,n){var r=n("hypo"),i=n("ljhN");e.exports=function(e,t,n){(void 0===n||i(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}},t9FE:function(e,t,n){!function(t){function r(e){try{if(!t.localStorage)return}catch(e){return}e=t.localStorage[e];return null!=e&&"true"===String(e).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}.call(this,n("yLpj"))},"tA+t":function(e,t,n){"use strict";n.r(t);var r,i=n("TVTA"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"tC+P":function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("/xfr")),f=r(n("Jq2x")),h=n("cKS0");var d={lastScrollTime:(0,h.now)(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){var e,t,n,r;return-1<(0,i.getWindow)().navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":(t=(0,i.getDocument)(),(r=(n="onwheel")in t)||((e=t.createElement("div")).setAttribute(n,"return;"),r="function"==typeof e[n]),(r=!r&&t.implementation&&t.implementation.hasFeature&&!0!==t.implementation.hasFeature("","")?t.implementation.hasFeature("Events.wheel","3.0"):r)?"wheel":"mousewheel")},normalize:function(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,i=10*n,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),e.shiftKey&&!r&&(r=i,i=0),(r||i)&&e.deltaMode&&(1===e.deltaMode?(r*=40,i*=40):(r*=800,i*=800)),{spinX:t=r&&!t?r<1?-1:1:t,spinY:n=i&&!n?i<1?-1:1:n,pixelX:r,pixelY:i}},handleMouseEnter:function(){this.enabled&&(this.mouseEntered=!0)},handleMouseLeave:function(){this.enabled&&(this.mouseEntered=!1)},handle:function(e){var t=e,n=this;if(n.enabled){var r=n.params.mousewheel,i=(n.params.cssMode&&t.preventDefault(),n.$el);if("container"!==n.params.mousewheel.eventsTarget&&(i=(0,f.default)(n.params.mousewheel.eventsTarget)),!n.mouseEntered&&!i[0].contains(t.target)&&!r.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var i=0,o=n.rtlTranslate?-1:1,a=d.normalize(t);if(r.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(a.pixelX)>Math.abs(a.pixelY)))return!0;i=-a.pixelX*o}else{if(!(Math.abs(a.pixelY)>Math.abs(a.pixelX)))return!0;i=-a.pixelY}else i=Math.abs(a.pixelX)>Math.abs(a.pixelY)?-a.pixelX*o:-a.pixelY;if(0===i)return!0;r.invert&&(i=-i);o=n.getTranslate()+i*r.sensitivity;if((o=o>=n.minTranslate()?n.minTranslate():o)<=n.maxTranslate()&&(o=n.maxTranslate()),(!!n.params.loop||!(o===n.minTranslate()||o===n.maxTranslate()))&&n.params.nested&&t.stopPropagation(),n.params.freeMode){var s={time:(0,h.now)(),delta:Math.abs(i),direction:Math.sign(i)},a=n.mousewheel.lastEventBeforeSnap,o=a&&s.time<a.time+500&&s.delta<=a.delta&&s.direction===a.direction;if(!o){n.mousewheel.lastEventBeforeSnap=void 0,n.params.loop&&n.loopFix();var l,u,a=n.getTranslate()+i*r.sensitivity,r=n.isBeginning,c=n.isEnd;if((a=a>=n.minTranslate()?n.minTranslate():a)<=n.maxTranslate()&&(a=n.maxTranslate()),n.setTransition(0),n.setTranslate(a),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!r&&n.isBeginning||!c&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky&&(clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0,15<=(l=n.mousewheel.recentWheelEvents).length&&l.shift(),r=l.length?l[l.length-1]:void 0,c=l[0],l.push(s),r&&(s.delta>r.delta||s.direction!==r.direction)?l.splice(0):15<=l.length&&s.time-c.time<500&&1<=c.delta-s.delta&&s.delta<=6&&(u=0<i?.8:.2,n.mousewheel.lastEventBeforeSnap=s,l.splice(0),n.mousewheel.timeout=(0,h.nextTick)(function(){n.slideToClosest(n.params.speed,!0,void 0,u)},0)),n.mousewheel.timeout||(n.mousewheel.timeout=(0,h.nextTick)(function(){n.mousewheel.lastEventBeforeSnap=s,l.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)},500))),o||n.emit("scroll",t),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),a===n.minTranslate()||a===n.maxTranslate())return!0}}else{r={time:(0,h.now)(),delta:Math.abs(i),direction:Math.sign(i),raw:e},c=n.mousewheel.recentWheelEvents,o=(2<=c.length&&c.shift(),c.length?c[c.length-1]:void 0);if(c.push(r),(!o||r.direction!==o.direction||r.delta>o.delta||r.time>o.time+150)&&n.mousewheel.animateSlider(r),n.mousewheel.releaseScroll(r))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1}},animateSlider:function(e){var t=this,n=(0,i.getWindow)();if(!(this.params.mousewheel.thresholdDelta&&e.delta<this.params.mousewheel.thresholdDelta||this.params.mousewheel.thresholdTime&&(0,h.now)()-t.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime)){if(6<=e.delta&&(0,h.now)()-t.mousewheel.lastScrollTime<60)return!0;e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new n.Date).getTime()}return!1},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=d.event();if(e.params.cssMode)e.wrapperEl.removeEventListener(t,e.mousewheel.handle);else{if(!t)return!1;if(e.mousewheel.enabled)return!1;var n=e.$el;(n="container"!==e.params.mousewheel.eventsTarget?(0,f.default)(e.params.mousewheel.eventsTarget):n).on("mouseenter",e.mousewheel.handleMouseEnter),n.on("mouseleave",e.mousewheel.handleMouseLeave),n.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0}return!0},disable:function(){var e=d.event();if(this.params.cssMode)this.wrapperEl.addEventListener(e,this.mousewheel.handle);else{if(!e)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;(t="container"!==this.params.mousewheel.eventsTarget?(0,f.default)(this.params.mousewheel.eventsTarget):t).off(e,this.mousewheel.handle),this.mousewheel.enabled=!1}return!0}};t.default={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}},create:function(){(0,h.bindModuleMethods)(this,{mousewheel:{enabled:!1,lastScrollTime:(0,h.now)(),lastEventBeforeSnap:void 0,recentWheelEvents:[],enable:d.enable,disable:d.disable,handle:d.handle,handleMouseEnter:d.handleMouseEnter,handleMouseLeave:d.handleMouseLeave,animateSlider:d.animateSlider,releaseScroll:d.releaseScroll}})},on:{init:function(e){!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(e){e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}}},tEej:function(e,t,n){var r=n("Ojgd"),i=Math.min;e.exports=function(e){return 0<e?i(r(e),9007199254740991):0}},tGlX:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n;e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:true,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tIgm:function(e,t,n){"use strict";var r=n("m1cH"),o=n.n(r),r=n("QbLZ"),i=n.n(r),a=n("2qPA");t.a={methods:{setState:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],e="function"==typeof e?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){var n=this.getDerivedStateFromProps(Object(a.getOptionProps)(this),i()({},this.$data,e));if(null===n)return;e=i()({},e,n||{})}i()(this.$data,e),this.$forceUpdate(),this.$nextTick(function(){t&&t()})},__emit:function(){var e=[].slice.call(arguments,0),t=e[0],n=this.$listeners[t];if(e.length&&n)if(Array.isArray(n))for(var r=0,i=n.length;r<i;r++)n[r].apply(n,o()(e.slice(1)));else n.apply(void 0,o()(e.slice(1)))}}}},tJNg:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("KP9C"))),o=r(n("TFue")),a=r(n("JZi6")),r=r(n("VeHG")),n={name:"SmMarker",mixins:[i.default,o.default,r.default],props:{latLng:{type:[Object,Array],default:function(){return[]}}},data:function(){return{ready:!1}},watch:{options:function(){this.setViewModel()}},loaded:function(){this.setViewModel(),this.mapObject=this.viewModel.getMarker(),this.ready=!0},methods:{setViewModel:function(){this.viewModel=new a.default(this.map,{latLng:this.latLng})}},render:function(e){return this.ready&&this.$slots.default?e("div",{style:{display:"none"}},this.$slots.default):null}};t.default=n},tKCg:function(e,t,n){"use strict";var r=n("QbLZ"),r=n.n(r),i=n("+NXu"),n=n("AcI+"),i={lang:r()({placeholder:"Select date",rangePlaceholder:["Start date","End date"]},i.a),timePickerLocale:r()({},n.a)};t.a=i},tLB3:function(e,t,n){var r=n("jXQH"),i=n("GoyQ"),o=n("/9aa"),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=i(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=r(e);var t=s.test(e);return t||l.test(e)?u(e.slice(2),t?2:8):a.test(e)?NaN:+e}},tMB7:function(e,t,n){var r=n("y1pI");e.exports=function(e){var t=this.__data__;return(e=r(t,e))<0?void 0:t[e][1]}},tMNq:function(e,t,n){"use strict";var r=n("c3MK");e.exports=function(e){return r(e.length)}},tQmk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("/xfr"),r=n("cKS0");function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a={init:function(){var e,t=(0,o.getWindow)();this.params.history&&(t.history&&t.history.pushState?((e=this.history).initialized=!0,e.paths=a.getPathValues(this.params.url),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))):(this.params.history.enabled=!1,this.params.hashNavigation.enabled=!0))},destroy:function(){var e=(0,o.getWindow)();this.params.history.replaceState||e.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=a.getPathValues(this.params.url),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(e){var t=(0,o.getWindow)(),e=e?new URL(e):t.location,t=e.pathname.slice(1).split("/").filter(function(e){return""!==e}),e=t.length;return{key:t[e-2],value:t[e-1]}},setHistory:function(e,t){var n,r,i=(0,o.getWindow)();this.history.initialized&&this.params.history.enabled&&(n=this.params.url?new URL(this.params.url):i.location,t=this.slides.eq(t),t=a.slugify(t.attr("data-history")),0<this.params.history.root.length?t=(r="/"===(r=this.params.history.root)[r.length-1]?r.slice(0,r.length-1):r)+"/"+e+"/"+t:n.pathname.includes(e)||(t=e+"/"+t),(r=i.history.state)&&r.value===t||(this.params.history.replaceState?i.history.replaceState({value:t},null,t):i.history.pushState({value:t},null,t)))},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){if(t)for(var r=0,i=this.slides.length;r<i;r+=1){var o=this.slides.eq(r);a.slugify(o.attr("data-history"))!==t||o.hasClass(this.params.slideDuplicateClass)||(o=o.index(),this.slideTo(o,e,n))}else this.slideTo(0,e,n)}};t.default={name:"history",params:{history:{enabled:!1,root:"",replaceState:!1,key:"slides"}},create:function(){(0,r.bindModuleMethods)(this,{history:i({},a)})},on:{init:function(e){e.params.history.enabled&&e.history.init()},destroy:function(e){e.params.history.enabled&&e.history.destroy()},"transitionEnd _freeModeNoMomentumRelease":function(e){e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange:function(e){e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}}},tT3J:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){if(e===12)e=0;if(t==="enjing")return e;else if(t==="siyang")return e>=11?e:e+12;else if(t==="sonten"||t==="ndalu")return e+12},meridiem:function(e,t,n){if(e<11)return"enjing";else if(e<15)return"siyang";else if(e<19)return"sonten";else return"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tW0q:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionExt=void 0,t.FunctionExt={bind:function(t,n){var r=Array.prototype.slice.apply(arguments,[2]);return function(){var e=r.concat(Array.prototype.slice.apply(arguments,[0]));return t.apply(n,e)}},bindAsEventListener:function(t,n){return function(e){return t.call(n,e||window.event)}}}},tZjp:function(B,R,e){"use strict";function o(e,t){var n,r,i,o,a=t.value,s=t.state==O,l=s?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{l?(s||(t.rejection===M&&(o=t,p(y,d,function(){var e=o.facade;h?A.emit("rejectionHandled",e):T(Z,e,o.value)})),t.rejection=E),!0===l?n=a:(f&&f.enter(),n=l(a),f&&(f.exit(),i=!0)),n===e.promise?c(x("Promise-chain cycle")):(r=P(n))?p(r,n,u,c):u(n)):c(a)}catch(e){f&&!i&&f.exit(),c(e)}}var n,t,r,N=e("nCzB"),z=e("jybJ"),h=e("IGIO"),d=e("Ks5W"),p=e("m7zg"),i=e("WaP5"),a=e("JHvW"),F=e("ueY1"),V=e("9Bi7"),H=e("8HiI"),s=e("JTf3"),Y=e("SwuV"),G=e("uoua"),U=e("NudO"),y=e("XTcp").set,l=e("gzPo"),Q=e("lAFk"),W=e("8xe4"),q=e("zUnQ"),u=e("UQ6y"),c=e("KLK4"),f=e("GxTi"),e=e("zFjv"),m="Promise",g=f.CONSTRUCTOR,K=f.REJECTION_EVENT,f=f.SUBCLASSING,v=u.getterFor(m),X=u.set,u=c&&c.prototype,b=c,_=u,x=d.TypeError,w=d.document,A=d.process,S=e.f,J=S,$=!!(w&&w.createEvent&&d.dispatchEvent),C="unhandledrejection",Z="rejectionhandled",O=1,ee=2,E=1,M=2,P=function(e){var t;return!(!Y(e)||!s(t=e.then))&&t},k=function(n,i){n.notified||(n.notified=!0,l(function(){for(var e,r,t=n.reactions;e=t.get();)o(e,n);n.notified=!1,i&&!n.rejection&&(r=n,p(y,d,function(){var e=r.facade,t=r.value,n=I(r);if(n&&(n=W(function(){h?A.emit("unhandledRejection",t,e):T(C,e,t)}),r.rejection=h||I(r)?M:E,n.error))throw n.value}))}))},T=function(e,t,n){var r;$?((r=w.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),d.dispatchEvent(r)):r={promise:t,reason:n},!K&&(t=d["on"+e])?t(r):e===C&&Q("Unhandled promise rejection",n)},I=function(e){return e.rejection!==E&&!e.parent},L=function(t,n,r){return function(e){t(n,e,r)}},j=function(e,t,n){e.done||(e.done=!0,(e=n?n:e).value=t,e.state=ee,k(e,!0))},D=function(n,e,t){if(!n.done){n.done=!0,t&&(n=t);try{if(n.facade===e)throw x("Promise can't be resolved itself");var r=P(e);r?l(function(){var t={done:!1};try{p(r,e,L(D,t,n),L(j,t,n))}catch(e){j(t,e,n)}}):(n.value=e,n.state=O,k(n,!1))}catch(e){j({done:!1},e,n)}}};if(g&&(_=(b=function(e){G(this,_),H(e),p(n,this);var t=v(this);try{e(L(D,t),L(j,t))}catch(e){j(t,e)}}).prototype,(n=function(e){X(this,{type:m,done:!1,notified:!1,parent:!1,reactions:new q,rejection:!1,state:0,value:void 0})}).prototype=i(_,"then",function(e,t){var n=v(this),r=S(U(this,b));return n.parent=!0,r.ok=!s(e)||e,r.fail=s(t)&&t,r.domain=h?A.domain:void 0,0==n.state?n.reactions.add(r):l(function(){o(r,n)}),r.promise}),t=function(){var e=new n,t=v(e);this.promise=e,this.resolve=L(D,t),this.reject=L(j,t)},e.f=S=function(e){return e===b||void 0===e?new t:J(e)},!z)&&s(c)&&u!==Object.prototype){r=u.then,f||i(u,"then",function(e,t){var n=this;return new b(function(e,t){p(r,n,e,t)}).then(e,t)},{unsafe:!0});try{delete u.constructor}catch(e){}a&&a(u,_)}N({global:!0,constructor:!0,wrap:!0,forced:g},{Promise:b}),F(b,m,!1,!0),V(m)},tadb:function(e,t,n){n=n("Cwc5")(n("Kz5y"),"DataView");e.exports=n},tbfe:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var n="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),t=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){if(!e)return n;else if(/-MMM-/.test(t))return r[e.month()];else return n[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n("wd/R"))},tgvi:function(e,t,n){"use strict";n.r(t);var r,i=n("Frs+");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},tjlA:function(e,I,L){"use strict";!function(e){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var S=L("H7XF"),o=L("kVK+"),s=L("49sm");function n(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(n()<t)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=f.prototype:(e=null===e?new f(t):e).length=t,e}function f(e,t,n){if(!(f.TYPED_ARRAY_SUPPORT||this instanceof f))return new f(e,t,n);if("number"!=typeof e)return r(this,e,t,n);if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return a(this,e)}function r(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer){var i=e,o=t,a=n;if(o.byteLength,a<0||o.byteLength<a)throw new RangeError("'offset' is out of bounds");if(o.byteLength<a+(r||0))throw new RangeError("'length' is out of bounds");return o=void 0===a&&void 0===r?new Uint8Array(o):void 0===r?new Uint8Array(o,a):new Uint8Array(o,a,r),f.TYPED_ARRAY_SUPPORT?(i=o).__proto__=f.prototype:i=u(i,o),i}if("string"!=typeof t){a=e,r=t;if(f.isBuffer(r))return o=0|c(r.length),0!==(a=l(a,o)).length&&r.copy(a,0,0,o),a;if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||function(e){return e!=e}(r.length)?l(a,0):u(a,r);if("Buffer"===r.type&&s(r.data))return u(a,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}i=e,r=t,e=n;if(f.isEncoding(e="string"==typeof e&&""!==e?e:"utf8"))return t=0|h(r,e),i=(r=(i=l(i,t)).write(r,e))!==t?i.slice(0,r):i;throw new TypeError('"encoding" must be a valid string encoding')}function i(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function a(e,t){if(i(t),e=l(e,t<0?0:0|c(t)),!f.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function u(e,t){var n=t.length<0?0:0|c(t.length);e=l(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function c(e){if(e>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function h(e,t){if(f.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;var n=(e="string"!=typeof e?""+e:e).length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return k(e).length;default:if(r)return P(e).length;t=(""+t).toLowerCase(),r=!0}}function t(e,t,n){var r,i=!1;if((t=void 0===t||t<0?0:t)>this.length)return"";if((n=void 0===n||n>this.length?this.length:n)<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":var o=this,a=t,s=n,l=o.length;(!s||s<0||l<s)&&(s=l);for(var u="",c=a=!a||a<0?0:a;c<s;++c)u+=function(e){return e<16?"0"+e.toString(16):e.toString(16)}(o[c]);return u;case"utf8":case"utf-8":return C(this,t,n);case"ascii":var f=this,l=t,h=n,d="";h=Math.min(f.length,h);for(var p=l;p<h;++p)d+=String.fromCharCode(127&f[p]);return d;case"latin1":case"binary":var y=this,a=t,m=n,g="";m=Math.min(y.length,m);for(var v=a;v<m;++v)g+=String.fromCharCode(y[v]);return g;case"base64":return b=this,r=n,0===(_=t)&&r===b.length?S.fromByteArray(b):S.fromByteArray(b.slice(_,r));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":for(var b=t,_=n,x=this.slice(b,_),w="",A=0;A<x.length;A+=2)w+=String.fromCharCode(x[A]+256*x[A+1]);return w;default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function d(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function p(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):2147483647<n?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,(n=(n=isNaN(n)?i?0:e.length-1:n)<0?e.length+n:n)>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=f.from(t,r)),f.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return t&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(i?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o=1,a=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a/=o=2,s/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i)for(var u=-1,c=n;c<a;c++)if(l(e,c)===l(t,-1===u?0:c-u)){if(c-(u=-1===u?c:u)+1===s)return u*o}else-1!==u&&(c-=c-u),u=-1;else for(c=n=a<n+s?a-s:n;0<=c;c--){for(var f=!0,h=0;h<s;h++)if(l(e,c+h)!==l(t,h)){f=!1;break}if(f)return c}return-1}function m(e,t,n,r){return T(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function g(e,t,n,r){return T(function(e,t){for(var n,r,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i.push(n%256),i.push(r);return i}(t,e.length-n),e,n,r)}function C(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,u=e[i],c=null,f=239<u?4:223<u?3:191<u?2:1;if(i+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:128==(192&(o=e[i+1]))&&127<(l=(31&u)<<6|63&o)&&(c=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&2047<(l=(15&u)<<12|(63&o)<<6|63&a)&&(l<55296||57343<l)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&65535<(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)&&l<1114112&&(c=l)}null===c?(c=65533,f=1):65535<c&&(r.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}var h=r,d=h.length;if(d<=v)return String.fromCharCode.apply(String,h);for(var p="",y=0;y<d;)p+=String.fromCharCode.apply(String,h.slice(y,y+=v));return p}I.Buffer=f,I.SlowBuffer=function(e){+e!=e&&(e=0);return f.alloc(+e)},I.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),I.kMaxLength=n(),f.poolSize=8192,f._augment=function(e){return e.__proto__=f.prototype,e},f.from=function(e,t,n){return r(null,e,t,n)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol)&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0}),f.alloc=function(e,t,n){return r=null,t=t,n=n,i(e=e),!(e<=0)&&void 0!==t?"string"==typeof n?l(r,e).fill(t,n):l(r,e).fill(t):l(r,e);var r},f.allocUnsafe=function(e){return a(null,e)},f.allocUnsafeSlow=function(e){return a(null,e)},f.isBuffer=function(e){return!(null==e||!e._isBuffer)},f.compare=function(e,t){if(!f.isBuffer(e)||!f.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},f.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(e,t){if(!s(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return f.alloc(0);if(void 0===t)for(i=t=0;i<e.length;++i)t+=e[i].length;for(var n=f.allocUnsafe(t),r=0,i=0;i<e.length;++i){var o=e[i];if(!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r),r+=o.length}return n},f.byteLength=h,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)d(this,t,t+1);return this},f.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)d(this,t,t+3),d(this,t+1,t+2);return this},f.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)d(this,t,t+7),d(this,t+1,t+6),d(this,t+2,t+5),d(this,t+3,t+4);return this},f.prototype.toString=function(){var e=0|this.length;return 0==e?"":0===arguments.length?C(this,0,e):t.apply(this,arguments)},f.prototype.equals=function(e){if(f.isBuffer(e))return this===e||0===f.compare(this,e);throw new TypeError("Argument must be a Buffer")},f.prototype.inspect=function(){var e="",t=I.INSPECT_MAX_BYTES;return 0<this.length&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t)&&(e+=" ... "),"<Buffer "+e+">"},f.prototype.compare=function(e,t,n,r,i){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),(t=void 0===t?0:t)<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(i<=r&&n<=t)return 0;if(i<=r)return-1;if(n<=t)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),c=0;c<s;++c)if(l[c]!==u[c]){o=l[c],a=u[c];break}return o<a?-1:a<o?1:0},f.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},f.prototype.indexOf=function(e,t,n){return p(this,e,t,n,!0)},f.prototype.lastIndexOf=function(e,t,n){return p(this,e,t,n,!1)},f.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||i<n)&&(n=i),0<e.length&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r=r||"utf8";for(var o,a,s,l=!1;;)switch(r){case"hex":var u=this,c=e,f=t,h=n,d=(f=Number(f)||0,u.length-f);if((!h||d<(h=Number(h)))&&(h=d),(d=c.length)%2!=0)throw new TypeError("Invalid hex string");d/2<h&&(h=d/2);for(var p=0;p<h;++p){var y=parseInt(c.substr(2*p,2),16);if(isNaN(y))return p;u[f+p]=y}return p;case"utf8":case"utf-8":return d=t,s=n,T(P(e,(a=this).length-d),a,d,s);case"ascii":return m(this,e,t,n);case"latin1":case"binary":return m(this,e,t,n);case"base64":return a=this,s=t,o=n,T(k(e),a,s,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g(this,e,t,n);default:if(l)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),l=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var v=4096;function b(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(n<e+t)throw new RangeError("Trying to access beyond buffer length")}function _(e,t,n,r,i,o){if(!f.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(i<t||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function x(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function w(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function A(e,t,n,r){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function O(e,t,n,r,i){return i||A(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function E(e,t,n,r,i){return i||A(e,0,n,8),o.write(e,t,n,r,52,8),n+8}f.prototype.slice=function(e,t){var n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):n<e&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):n<t&&(t=n),t<e&&(t=e),f.TYPED_ARRAY_SUPPORT)(i=this.subarray(e,t)).__proto__=f.prototype;else for(var r=t-e,i=new f(r,void 0),o=0;o<r;++o)i[o]=this[o+e];return i},f.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||b(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},f.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||b(e,t,this.length);for(var r=this[e+--t],i=1;0<t&&(i*=256);)r+=this[e+--t]*i;return r},f.prototype.readUInt8=function(e,t){return t||b(e,1,this.length),this[e]},f.prototype.readUInt16LE=function(e,t){return t||b(e,2,this.length),this[e]|this[e+1]<<8},f.prototype.readUInt16BE=function(e,t){return t||b(e,2,this.length),this[e]<<8|this[e+1]},f.prototype.readUInt32LE=function(e,t){return t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},f.prototype.readUInt32BE=function(e,t){return t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},f.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||b(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return(i*=128)<=r&&(r-=Math.pow(2,8*t)),r},f.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||b(e,t,this.length);for(var r=t,i=1,o=this[e+--r];0<r&&(i*=256);)o+=this[e+--r]*i;return(i*=128)<=o&&(o-=Math.pow(2,8*t)),o},f.prototype.readInt8=function(e,t){return t||b(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},f.prototype.readInt16LE=function(e,t){t||b(e,2,this.length);t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},f.prototype.readInt16BE=function(e,t){t||b(e,2,this.length);t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},f.prototype.readInt32LE=function(e,t){return t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},f.prototype.readInt32BE=function(e,t){return t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},f.prototype.readFloatLE=function(e,t){return t||b(e,4,this.length),o.read(this,e,!0,23,4)},f.prototype.readFloatBE=function(e,t){return t||b(e,4,this.length),o.read(this,e,!1,23,4)},f.prototype.readDoubleLE=function(e,t){return t||b(e,8,this.length),o.read(this,e,!0,52,8)},f.prototype.readDoubleBE=function(e,t){return t||b(e,8,this.length),o.read(this,e,!1,52,8)},f.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||_(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},f.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||_(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;0<=--i&&(o*=256);)this[t+i]=e/o&255;return t+n},f.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||_(this,e,t,1,255,0),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},f.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||_(this,e,t,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},f.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||_(this,e,t,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},f.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||_(this,e,t,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):w(this,e,t,!0),t+4},f.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||_(this,e,t,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):w(this,e,t,!1),t+4},f.prototype.writeIntLE=function(e,t,n,r){e=+e,t|=0,r||_(this,e,t,n,(r=Math.pow(2,8*n-1))-1,-r);var i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},f.prototype.writeIntBE=function(e,t,n,r){e=+e,t|=0,r||_(this,e,t,n,(r=Math.pow(2,8*n-1))-1,-r);var i=n-1,o=1,a=0;for(this[t+i]=255&e;0<=--i&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},f.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||_(this,e,t,1,127,-128),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&(e=e<0?255+e+1:e),t+1},f.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||_(this,e,t,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},f.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||_(this,e,t,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},f.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||_(this,e,t,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):w(this,e,t,!0),t+4},f.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||_(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):w(this,e,t,!1),t+4},f.prototype.writeFloatLE=function(e,t,n){return O(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){return O(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){return E(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){return E(this,e,t,!1,n)},f.prototype.copy=function(e,t,n,r){if(n=n||0,r||0===r||(r=this.length),t>=e.length&&(t=e.length),(r=0<r&&r<n?n:r)===n)return 0;if(0===e.length||0===this.length)return 0;if((t=t||0)<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length);var i,o=(r=e.length-t<r-n?e.length-t+n:r)-n;if(this===e&&n<t&&t<r)for(i=o-1;0<=i;--i)e[i+t]=this[i+n];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},f.prototype.fill=function(e,t,n,r){if("string"==typeof e){var i;if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length&&(i=e.charCodeAt(0))<256&&(e=i),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!f.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(!(n<=t))if(t>>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(e=e||0))for(s=t;s<n;++s)this[s]=e;else for(var o=f.isBuffer(e)?e:P(new f(e,r).toString()),a=o.length,s=0;s<n-t;++s)this[s+t]=o[s%a];return this};var M=/[^+\/0-9A-Za-z-_]/g;function P(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a<r;++a){if(55295<(n=e.charCodeAt(a))&&n<57344){if(!i){if(56319<n){-1<(t-=3)&&o.push(239,191,189);continue}if(a+1===r){-1<(t-=3)&&o.push(239,191,189);continue}i=n;continue}if(n<56320){-1<(t-=3)&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&-1<(t-=3)&&o.push(239,191,189);if(i=null,n<128){if(--t<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function k(e){return S.toByteArray(function(e){var t;if((e=((t=e).trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(M,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}.call(this,L("yLpj"))},tnDp:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("VbXa"))),o=r(n("i7/w")),a=n("YKMj"),r=r(n("15ft")),n=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},o=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.default)(t,e),t}(o.default);n([(0,a.Prop)({default:"top-left",validator:function(e){return["top-left","top-right","bottom-left","bottom-right"].includes(e)}})],o.prototype,"position",void 0),n([(0,a.Prop)()],o.prototype,"headerName",void 0),n([(0,a.Prop)()],o.prototype,"iconClass",void 0),n([(0,a.Prop)({default:!1})],o.prototype,"autoRotate",void 0),n([(0,a.Prop)({default:!0})],o.prototype,"collapsed",void 0),n([(0,a.Prop)({default:!0})],o.prototype,"splitLine",void 0),o=n([(0,a.Component)({components:{SmCollapseCard:r.default}})],o);t.default=o},trsK:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var t=n("xEkU"),i=n.n(t),o=0,a={};function r(t){var n=o++,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1;return a[n]=i()(function e(){--r<=0?(t(),delete a[n]):a[n]=i()(e)}),n}r.cancel=function(e){void 0!==e&&(i.a.cancel(a[e]),delete a[e])},r.ids=a},twqg:function(e,t,n){"use strict";n.r(t);var r,i=n("2iC5"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},tyiB:function(e,t,n){"use strict";n.r(t);var r,i=n("36bv");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},u3GI:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n;e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:true,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},u3aP:function(e,t,n){"use strict";var r=n("EABD"),i=n("PXyI"),o=n("2xRk");r.default.Group=i.default,r.default.install=function(e){e.use(o.default),e.component(r.default.name,r.default),e.component(i.default.name,i.default)},t.a=r.default},u8Dt:function(e,t,n){var r=n("YESw"),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t,n=this.__data__;return r?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:i.call(n,e)?n[e]:void 0}},uEye:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:true,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"uH/5":function(e,t,n){"use strict";n("1P0Z"),n("34Qi"),n("jsF9")},uJ5B:function(e,t,n){"use strict";n.r(t);var r,i=n("LTaE");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},uOPS:function(e,t){e.exports=!0},uSu3:function(e,t,n){"use strict";n.r(t);var r=n("TZE5");t.default=function(){return{prefixCls:r.a.string,type:r.a.string,htmlType:r.a.oneOf(["button","submit","reset"]).def("button"),icon:r.a.any,shape:r.a.oneOf(["circle","circle-outline","round"]),size:r.a.oneOf(["small","large","default"]).def("default"),loading:r.a.oneOfType([r.a.bool,r.a.object]),disabled:r.a.bool,ghost:r.a.bool,block:r.a.bool}}},uTlj:function(e,t,n){"use strict";var r=n("TqRt"),r=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("hgx0"))),i=0;function o(e){return e._leaflet_id=e._leaflet_id||++i,e._leaflet_id}r.default.Map.prototype.addLayer=function(e,t){var n;if(e._layerAdd)return n=o(e),this._layers[n]||this._layers[t]||(this._layers[t=t||"sm-custom"+n]?this.fire("addLayerFailed","layer name重复,请输入唯一的name"):(e.name=t,this.layersOnMap||(this.layersOnMap=[]),this.layersOnMap.push({name:t,layer:e}),(this._layers[n]=e)._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e))),this;throw new Error("The provided object is not a Layer.")},r.default.Map.prototype.removeLayer=function(t,n){this.layersOnMap=this.layersOnMap.filter(function(e){return e.name!==(t.name||n)});var e=o(t)||this._layers[n].id;return this._layers[e]&&(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t,name:n}),t.fire("remove")),t._map=t._mapToAdd=null),this},r.default.Map.include({getLayersOnMap:function(){return this.layersOnMap},getLayerById:function(e){return this._layers[e]},getLayerByName:function(e){for(var t in this._layers)if(e===this._layers[t].name)return this._layers[t]},getAllLayers:function(){return this._layers}}),delete r.default.Icon.Default.prototype._getIconUrl,r.default.Icon.Default.mergeOptions({iconRetinaUrl:n("WE1v"),iconUrl:n("Y5fm"),shadowUrl:n("4rkx")}),window.L=r.default;n=r.default;t.default=n},uXwI:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var r={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")},t;function i(e,t,n){if(n)return t%10===1&&t%100!==11?e[2]:e[3];else return t%10===1&&t%100!==11?e[0]:e[1]}function n(e,t,n){return e+" "+i(r[n],e,t)}function o(e,t,n){return i(r[n],e,t)}function a(e,t){return t?"dažas sekundes":"dažām sekundēm"}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:a,ss:n,m:o,mm:n,h:o,hh:n,d:o,dd:n,M:o,MM:n,y:o,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"uZ/K":function(e,t,n){"use strict";var r=n("ba8b");e.exports=Array.isArray||function(e){return"Array"==r(e)}},ueY1:function(e,t,n){"use strict";var r=n("FlRv").f,i=n("YELS"),o=n("11yv")("toStringTag");e.exports=function(e,t,n){(e=e&&!n?e.prototype:e)&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},uoua:function(e,t,n){"use strict";var r=n("3Xd8"),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},upFX:function(e,t,n){!function(m){function qT(e){var t=r[e];return void 0!==t||(t=r[e]={id:e,loaded:!1,exports:{}},n[e].call(t.exports,t,t.exports,qT),t.loaded=!0),t.exports}var n,r;n={17549:function(e,t,n){"use strict";function r(e){return(r="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var l=(n=n(65064))&&"object"===r(n)&&"default"in n?n.default:n,i=2,o=.16,a=.05,s=.05,u=.15,c=5,f=4,h=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function d(e,t,n){return(n=60<=Math.round(e.h)&&Math.round(e.h)<=240?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t)<0?n+=360:360<=n&&(n-=360),n}function p(e,t,n){return 0===e.h&&0===e.s?e.s:(1<(e=n?e.s-o*t:t===f?e.s+o:e.s+a*t)&&(e=1),(e=n&&t===c&&.1<e?.1:e)<.06&&(e=.06),Number(e.toFixed(2)))}function y(e,t,n){return 1<(n=n?e.v+s*t:e.v-u*t)&&(n=1),Number(n.toFixed(2))}function m(e){for(var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=[],t=l(e),i=c;0<i;--i){var o=t.toHsv(),o=l({h:d(o,i,!0),s:p(o,i,!0),v:y(o,i,!0)}).toHexString();r.push(o)}r.push(t.toHexString());for(var a=1;a<=f;a+=1){var s=t.toHsv(),s=l({h:d(s,a),s:p(s,a),v:y(s,a)}).toHexString();r.push(s)}return"dark"===n.theme?h.map(function(e){var t=e.index,e=e.opacity;return l.mix(n.backgroundColor||"#141414",r[t],100*e).toHexString()}):r}var g={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},v={},b={},n=(Object.keys(g).forEach(function(e){v[e]=m(g[e]),v[e].primary=v[e][5],b[e]=m(g[e],{theme:"dark",backgroundColor:"#141414"}),b[e].primary=b[e][5]}),v.red),_=v.volcano,x=v.gold,w=v.orange,A=v.yellow,S=v.lime,C=v.green,O=v.cyan,E=v.geekblue,M=v.purple,P=v.magenta,k=v.grey;t.blue=v.blue,t.cyan=O,t.geekblue=E,t.generate=m,t.gold=x,t.green=C,t.grey=k,t.lime=S,t.magenta=P,t.orange=w,t.presetDarkPalettes=b,t.presetPalettes=v,t.presetPrimaryColors=g,t.purple=M,t.red=n,t.volcano=_,t.yellow=A},57238:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,n){var t=e.nodes,e=e.edges,r=[],i={};if(t)return t&&t.forEach(function(e,t){i[e.id]=t,r.push([])}),e&&e.forEach(function(e){var t=e.source,e=e.target,t=i[t],e=i[e];!t&&0!==t||!e&&0!==e||(r[t][e]=1,n)||(r[e][t]=1)}),r;throw new Error("invalid nodes data!")}},26765:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GADDIAsync",{enumerable:!0,get:function(){return r.GADDIAsync}}),Object.defineProperty(t,"connectedComponentAsync",{enumerable:!0,get:function(){return r.connectedComponentAsync}}),t.default=void 0,Object.defineProperty(t,"detectAllCyclesAsync",{enumerable:!0,get:function(){return r.detectAllCyclesAsync}}),Object.defineProperty(t,"detectAllDirectedCycleAsync",{enumerable:!0,get:function(){return r.detectAllDirectedCycleAsync}}),Object.defineProperty(t,"detectAllUndirectedCycleAsync",{enumerable:!0,get:function(){return r.detectAllUndirectedCycleAsync}}),Object.defineProperty(t,"detectCycleAsync",{enumerable:!0,get:function(){return r.detectCycleAsync}}),t.detectDirectedCycleAsync=void 0,Object.defineProperty(t,"dijkstraAsync",{enumerable:!0,get:function(){return r.dijkstraAsync}}),Object.defineProperty(t,"findAllPathAsync",{enumerable:!0,get:function(){return r.findAllPathAsync}}),Object.defineProperty(t,"findShortestPathAsync",{enumerable:!0,get:function(){return r.findShortestPathAsync}}),Object.defineProperty(t,"floydWarshallAsync",{enumerable:!0,get:function(){return r.floydWarshallAsync}}),Object.defineProperty(t,"getAdjMatrixAsync",{enumerable:!0,get:function(){return r.getAdjMatrixAsync}}),Object.defineProperty(t,"getDegreeAsync",{enumerable:!0,get:function(){return r.getDegreeAsync}}),Object.defineProperty(t,"getInDegreeAsync",{enumerable:!0,get:function(){return r.getInDegreeAsync}}),Object.defineProperty(t,"getNeighborsAsync",{enumerable:!0,get:function(){return r.getNeighborsAsync}}),Object.defineProperty(t,"getOutDegreeAsync",{enumerable:!0,get:function(){return r.getOutDegreeAsync}}),Object.defineProperty(t,"labelPropagationAsync",{enumerable:!0,get:function(){return r.labelPropagationAsync}}),Object.defineProperty(t,"louvainAsync",{enumerable:!0,get:function(){return r.louvainAsync}}),Object.defineProperty(t,"minimumSpanningTreeAsync",{enumerable:!0,get:function(){return r.minimumSpanningTreeAsync}}),Object.defineProperty(t,"pageRankAsync",{enumerable:!0,get:function(){return r.pageRankAsync}});var r=n(54613),n=r.detectCycleAsync,n=(t.detectDirectedCycleAsync=n,{getAdjMatrixAsync:r.getAdjMatrixAsync,connectedComponentAsync:r.connectedComponentAsync,getDegreeAsync:r.getDegreeAsync,getInDegreeAsync:r.getInDegreeAsync,getOutDegreeAsync:r.getOutDegreeAsync,detectCycleAsync:r.detectCycleAsync,detectDirectedCycleAsync:n,detectAllCyclesAsync:r.detectAllCyclesAsync,detectAllDirectedCycleAsync:r.detectAllDirectedCycleAsync,detectAllUndirectedCycleAsync:r.detectAllUndirectedCycleAsync,dijkstraAsync:r.dijkstraAsync,findAllPathAsync:r.findAllPathAsync,findShortestPathAsync:r.findShortestPathAsync,floydWarshallAsync:r.floydWarshallAsync,labelPropagationAsync:r.labelPropagationAsync,louvainAsync:r.louvainAsync,minimumSpanningTreeAsync:r.minimumSpanningTreeAsync,pageRankAsync:r.pageRankAsync,getNeighborsAsync:r.getNeighborsAsync,GADDIAsync:r.GADDIAsync});t.default=n},1264:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,l=(r=n(93247))&&r.__esModule?r:{default:r},u=n(28182);t.default=function(e,t,n,r){void 0===r&&(r=!0);var i=function(e){function t(){}var n,r=e=void 0===e?{}:e;n={};return r.allowTraversal=e.allowTraversal||function(e){e=e.next;return!n[e]&&(n[e]=!0)},r.enter=e.enter||t,r.leave=e.leave||t,r}(n),o=new l.default,n=e.edges,a=void 0===n?[]:n;o.enqueue(t);for(var s="";!o.isEmpty();)!function(){var t=o.dequeue();i.enter({current:t,previous:s}),(0,u.getNeighbors)(t,a,r?"target":void 0).forEach(function(e){i.allowTraversal({previous:s,current:t,next:e})&&o.enqueue(e)}),i.leave({current:t,previous:s}),s=t}()}},16616:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(t?i:r)(e)},t.detectStrongConnectComponents=t.detectConnectedComponents=void 0;var p=n(28182),r=function(e){for(var t=e.nodes,i=void 0===t?[]:t,t=e.edges,o=void 0===t?[]:t,n=[],a={},s=[],r=function n(e){s.push(e),a[e.id]=!0;for(var r=(0,p.getNeighbors)(e.id,o),t=0;t<r.length;++t)!function(e){var t=r[e];a[t]||0<(e=i.filter(function(e){return e.id===t})).length&&n(e[0])}(t)},l=0;l<i.length;l++){var u=i[l];if(!a[u.id]){r(u);for(var c=[];0<s.length;)c.push(s.pop());n.push(c)}}return n},i=(t.detectConnectedComponents=r,function(e){for(var t=e.nodes,a=void 0===t?[]:t,t=e.edges,s=void 0===t?[]:t,l=[],u={},c={},f={},h=[],d=0,n=function n(r){c[r.id]=d,f[r.id]=d,d+=1,l.push(r),u[r.id]=!0;for(var i=(0,p.getNeighbors)(r.id,s,"target").filter(function(e){return-1<a.map(function(e){return e.id}).indexOf(e)}),e=0;e<i.length;e++)!function(e){var t=i[e];c[t]||0===c[t]?u[t]&&(f[r.id]=Math.min(f[r.id],c[t])):(0<(e=a.filter(function(e){return e.id===t})).length&&n(e[0]),f[r.id]=Math.min(f[r.id],f[t]))}(e);if(f[r.id]===c[r.id]){for(var t=[];0<l.length;){var o=l.pop();if(u[o.id]=!1,t.push(o),o===r)break}0<t.length&&h.push(t)}},r=0,i=a;r<i.length;r++){var o=i[r];c[o.id]||0===c[o.id]||n(o)}return h});t.detectStrongConnectComponents=i},79023:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.secondReg=t.dateReg=void 0,t.secondReg=/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/,t.dateReg=/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2}) (\d{1,2}):(\d{1,2}):(\d{1,2})$/},16075:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(n=n(43532))&&n.__esModule?n:{default:n};t.default=function(e,t){var t=new i.default(t),n=t.norm2(),e=new i.default(e),r=e.norm2(),t=t.dot(e),e=n*r;return e?t/e:0}},63597:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOutDegree=t.getInDegree=t.default=void 0;function n(e){var t={},n=void 0===(n=e.nodes)?[]:n,e=void 0===(e=e.edges)?[]:e;return n.forEach(function(e){t[e.id]={degree:0,inDegree:0,outDegree:0}}),e.forEach(function(e){t[e.source].degree++,t[e.source].outDegree++,t[e.target].degree++,t[e.target].inDegree++}),t}t.default=n,t.getInDegree=function(e,t){return n(e)[t]?n(e)[t].inDegree:0},t.getOutDegree=function(e,t){return n(e)[t]?n(e)[t].outDegree:0}},12465:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.detectAllUndirectedCycle=t.detectAllDirectedCycle=t.detectAllCycles=t.default=void 0;var r,u=(r=n(81940))&&r.__esModule?r:{default:r},x=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(16616)),w=n(28182);function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}function i(s,l,u){var e;void 0===u&&(u=!0);for(var c=[],t=0,n=(0,x.default)(s,!1);t<n.length;t++){var r=n[t];if(r.length)for(var r=r[0],i=r.id,f=[r],h=((e={})[i]=r,e),d=((r={})[i]=new Set,r);0<f.length;)for(var p=f.pop(),y=p.id,m=(0,w.getNeighbors)(y,s.edges),o=0;o<m.length;o+=1)!function(e){var t=m[e],e=s.nodes.find(function(e){return e.id===t});if(t===y)c.push(((n={})[t]=p,n));else if(t in d){if(!d[y].has(e)){for(var n=!0,r=[e,p],i=h[y];d[t].size&&!d[t].has(i)&&(r.push(i),i!==h[i.id]);)i=h[i.id];if(r.push(i),l&&u?(n=!1,-1<r.findIndex(function(e){return-1<l.indexOf(e.id)})&&(n=!0)):l&&!u&&-1<r.findIndex(function(e){return-1<l.indexOf(e.id)})&&(n=!1),n){for(var o={},a=1;a<r.length;a+=1)o[r[a-1].id]=r[a];r.length&&(o[r[r.length-1].id]=r[0]),c.push(o)}d[t].add(p)}}else h[t]=p,f.push(e),d[t]=new Set([p])}(o)}return c}function o(d,p,y){void 0===y&&(y=!0);for(var h=[],m=new Set,g=[],v=[],b={},_={},e=function e(t,n,r){var i=!1;if(!(p&&!1===y&&-1<p.indexOf(t.id))){h.push(t),m.add(t);for(var o=r[t.id],a=0;a<o.length;a+=1)if((f=b[o[a]])===n){for(var s={},l=1;l<h.length;l+=1)s[h[l-1].id]=h[l];h.length&&(s[h[h.length-1].id]=h[0]),v.push(s),i=!0}else m.has(f)||e(f,n,r)&&(i=!0);if(i)for(var u=[t];0<u.length;){var c=u.pop();m.has(c)&&(m.delete(c),g[c.id].forEach(function(e){u.push(e)}),g[c.id].clear())}else for(a=0;a<o.length;a+=1){var f=b[o[a]];g[f.id].has(t)||g[f.id].add(t)}h.pop()}return i},t=d.nodes,n=void 0===t?[]:t,r=0;r<n.length;r+=1){var i=n[r],o=i.id;b[_[o]=r]=i}if(p&&y)for(r=0;r<p.length;r++)!function(e){var t=p[e];_[n[e].id]=_[t],b[_[t]=0]=n.find(function(e){return e.id===t}),b[_[n[e].id]]=n[e]}(r);for(var a=0;a<n.length;){var s=n.filter(function(e){return _[e.id]>=a}),s=(0,x.detectStrongConnectComponents)({nodes:s,edges:d.edges}).filter(function(e){return 1<e.length});if(0===s.length)break;var s=function(e){for(var t,n=1/0,r=0;r<e.length;r+=1)for(var i=e[r],o=0;o<i.length;o++){var a=_[i[o].id];a<n&&(n=a,t=r)}for(var s=e[t],l=[],r=0;r<s.length;r+=1){var u=s[r];l[u.id]=[];for(var c=0,f=(0,w.getNeighbors)(u.id,d.edges,"target").filter(function(e){return-1<s.map(function(e){return e.id}).indexOf(e)});c<f.length;c++){var h=f[c];h!==u.id||!1===y&&-1<p.indexOf(u.id)?l[u.id].push(_[h]):v.push(((h={})[u.id]=u,h))}}return{component:s,adjList:l,minIdx:n}}(s),l=s.minIdx,u=s.adjList,s=s.component;if(!(1<s.length))break;s.forEach(function(e){g[e.id]=new Set});s=b[l];if(p&&y&&-1===p.indexOf(s.id))return v;e(s,s,u),a=l+1}return v}t.detectAllUndirectedCycle=i,t.detectAllDirectedCycle=o,t.detectAllCycles=function(e,t,n,r){return(t?o:i)(e,n,r=void 0===r?!0:r)};t.default=function(e){var i=null,t=e.nodes,o={},a={},s={},n={};(void 0===t?[]:t).forEach(function(e){a[e.id]=e});for(var r={enter:function(e){var t=e.current,e=e.previous;if(s[t]){i={};for(var n=t,r=e;r!==t;)i[n]=r,r=o[n=r];i[n]=r}else delete a[s[t]=t],o[t]=e},leave:function(e){e=e.current;delete s[n[e]=e]},allowTraversal:function(e){e=e.next;return!i&&!n[e]}};Object.keys(a).length;){var l=Object.keys(a)[0];(0,u.default)(e,l,r)}return i}},81940:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){!function t(n,r,i,o){o.enter({current:r,previous:i});var e=n.edges;(0,a.getNeighbors)(r,void 0===e?[]:e,"target").forEach(function(e){o.allowTraversal({previous:i,current:r,next:e})&&t(n,e,r,o)}),o.leave({current:r,previous:i})}(e,t,"",function(e){function t(){}var n,r=e=void 0===e?{}:e;n={};return r.allowTraversal=e.allowTraversal||function(e){e=e.next;return!n[e]&&(n[e]=!0)},r.enter=e.enter||t,r.leave=e.leave||t,r}(n))};var a=n(28182)},47618:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var m=n(97582),g=n(31834),v=n(28182);t.default=function(e,n,t,o){var r=e.nodes,a=void 0===r?[]:r,r=e.edges,s=void 0===r?[]:r,i=[],l={},u={},c={};a.forEach(function(e,t){e=e.id;i.push(e),u[e]=1/0,e===n&&(u[e]=0)});for(var f=a.length,h=0;h<f;h++)!function(){var r=function(e,t,n){for(var r,i=1/0,o=0;o<t.length;o++){var a=t[o].id;!n[a]&&e[a]<=i&&(i=e[a],r=t[o])}return r}(u,a,l),i=r.id;if(l[i]=!0,u[i]===1/0)return;(t?(0,v.getOutEdgesNodeId):(0,v.getEdgesByNodeId))(i,s).forEach(function(e){var t=e.target,n=e.source,n=t===i?n:t,t=o&&e[o]?e[o]:1;u[n]>u[r.id]+t?(u[n]=u[r.id]+t,c[n]=[r.id]):u[n]===u[r.id]+t&&c[n].push(r.id)})}();c[n]=[n];var d={};for(p in u)u[p]!==1/0&&function e(t,n,r,i){if(t===n)return[t];if(i[n])return i[n];for(var o=[],a=0,s=r[n];a<s.length;a++){var l=e(t,s[a],r,i);if(!l)return;for(var u=0,c=l;u<c.length;u++){var f=c[u];(0,g.isArray)(f)?o.push((0,m.__spreadArray)((0,m.__spreadArray)([],f,!0),[n],!1)):o.push([f,n])}}return i[n]=o,i[n]}(n,p,c,d);var p,y={};for(p in d)y[p]=d[p][0];return{length:u,path:y,allPath:d}}},56:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findShortestPath=t.findAllPath=void 0;var r,o=(r=n(47618))&&r.__esModule?r:{default:r},h=n(28182);t.findShortestPath=function(e,t,n,r,i){e=(0,o.default)(e,t,r,i),t=e.length,r=e.path,i=e.allPath;return{length:t[n],path:r[n],allPath:i[n]}},t.findAllPath=function(e,t,n,r){if(t===n)return[[t]];var e=e.edges,i=void 0===e?[]:e,o=[t],a=((e={})[t]=!0,e),s=[],l=[],u=r?(0,h.getNeighbors)(t,i,"target"):(0,h.getNeighbors)(t,i);for(s.push(u);0<o.length&&0<s.length;){var c,f=s[s.length-1];f.length?((f=f.shift())&&(o.push(f),a[f]=!0,u=r?(0,h.getNeighbors)(f,i,"target"):(0,h.getNeighbors)(f,i),s.push(u.filter(function(e){return!a[e]}))),o[o.length-1]===n&&(f=o.map(function(e){return e}),l.push(f),c=o.pop(),a[c]=!1,s.pop())):(c=o.pop(),a[c]=!1,s.pop())}return l}},51613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=(n=n(57238))&&n.__esModule?n:{default:n};t.default=function(e,t){for(var n=(0,l.default)(e,t),r=[],i=n.length,o=0;o<i;o+=1){r[o]=[];for(var a=0;a<i;a+=1)o===a?r[o][a]=0:0!==n[o][a]&&n[o][a]?r[o][a]=n[o][a]:r[o][a]=1/0}for(var s=0;s<i;s+=1)for(o=0;o<i;o+=1)for(a=0;a<i;a+=1)r[o][a]>r[o][s]+r[s][a]&&(r[o][a]=r[o][s]+r[s][a]);return r}},55654:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(31834),x=n(1821),w=(l.prototype.equalTo=function(e){return this.fromNode===e.formNode&&this.toNode===e.toNode&&this.nodeEdgeNodeLabel===e.nodeEdgeNodeLabel},l.prototype.notEqualTo=function(e){return!this.equalTo(e)},l),s=(a.prototype.equalTo=function(e){var t=this.dfsEdgeList.length;if(t!==e.length)return!1;for(var n=0;n<t;n++)if(this.dfsEdgeList[n]!==e[n])return!1;return!0},a.prototype.notEqualTo=function(e){return!this.equalTo(e)},a.prototype.pushBack=function(e,t,n,r,i){return this.dfsEdgeList.push(new w(e,t,n,r,i)),this.dfsEdgeList},a.prototype.toGraph=function(e,t){void 0===e&&(e=x.VACANT_GRAPH_ID);var o=new x.Graph(e,!0,t=void 0===t?!1:t);return this.dfsEdgeList.forEach(function(e){var t=e.fromNode,n=e.toNode,e=e.nodeEdgeNodeLabel,r=e.nodeLabel1,i=e.edgeLabel,e=e.nodeLabel2;r!==x.VACANT_NODE_LABEL&&o.addNode(t,r),e!==x.VACANT_NODE_LABEL&&o.addNode(n,e),r!==x.VACANT_NODE_LABEL&&e!==r&&o.addEdge(void 0,t,n,i)}),o},a.prototype.buildRmpath=function(){this.rmpath=[];for(var e=void 0,t=this.dfsEdgeList.length-1;0<=t;t--){var n=this.dfsEdgeList[t],r=n.fromNode,n=n.toNode;r<n&&(void 0===e||n===e)&&(this.rmpath.push(t),e=r)}return this.rmpath},a.prototype.getNodeNum=function(){var t={};return this.dfsEdgeList.forEach(function(e){t[e.fromNode]||(t[e.fromNode]=!0),t[e.toNode]||(t[e.toNode]=!0)}),Object.keys(t).length},a),A=(o.prototype.hasNode=function(e){return 1===this.nodesUsed[e.id]},o.prototype.hasEdge=function(e){return 1===this.edgesUsed[e.id]},o),g=(i.prototype.findForwardRootEdges=function(e,t){var n=this,r=[],i=e.nodeMap;return t.edges.forEach(function(e){(n.directed||t.label<=i[e.to].label)&&r.push(e)}),r},i.prototype.findBackwardEdge=function(e,t,n,r){if(this.directed||t!==n)for(var i=e.nodeMap,o=i[n.to].edges,a=o.length,s=0;s<a;s++){var l=o[s];if(!r.hasEdge(l)&&l.to===t.from)if(this.directed){if(i[t.from].label<i[n.to].label||i[t.from].label===i[n.to].label&&t.label<=l.label)return l}else if(t.label<l.label||t.label===l.label&&i[t.to].label<=i[n.to].label)return l}return null},i.prototype.findForwardPureEdges=function(e,t,n,r){for(var i=[],t=t.to,o=e.nodeMap[t].edges,a=o.length,s=0;s<a;s++){var l=o[s],u=e.nodeMap[l.to];n<=u.label&&!r.hasNode(u)&&i.push(l)}return i},i.prototype.findForwardRmpathEdges=function(e,t,n,r){for(var i=[],o=e.nodeMap,a=o[t.to].label,s=o[t.from].edges,l=s.length,u=0;u<l;u++){var c=s[u],f=o[c.to].label;t.to===c.to||f<n||r.hasNode(o[c.to])||(t.label<c.label||t.label===c.label&&a<=f)&&i.push(c)}return i},i.prototype.getSupport=function(e){var t={};return e.forEach(function(e){t[e.graphId]||(t[e.graphId]=!0)}),Object.keys(t).length},i.prototype.findMinLabel=function(r){var i=void 0;return Object.keys(r).forEach(function(e){var e=r[e],t=e.nodeLabel1,n=e.edgeLabel,e=e.nodeLabel2;(!i||t<i.nodeLabel1||t===i.nodeLabel1&&n<i.edgeLabel||t===i.nodeLabel1&&n===i.edgeLabel&&e<i.nodeLabel2)&&(i={nodeLabel1:t,edgeLabel:n,nodeLabel2:e})}),i},i.prototype.isMin=function(){var y,m,g,v,i,e,b=this,_=this.dfsCode;return this.verbose&&console.log("isMin checking",_),1===_.dfsEdgeList.length||(y=this.directed,m=_.toGraph(x.VACANT_GRAPH_ID,y),g=m.nodeMap,v=new s,i={},m.nodes.forEach(function(r){b.findForwardRootEdges(m,r).forEach(function(e){var t=g[e.to],n="".concat(r.label,"-").concat(e.label,"-").concat(t.label),t=(i[n]||(i[n]={projected:[],nodeLabel1:r.label,edgeLabel:e.label,nodeLabel2:t.label}),{graphId:m.id,edge:e,preNode:null});i[n].projected.push(t)})}),(e=this.findMinLabel(i))?(v.dfsEdgeList.push(new w(0,1,e.nodeLabel1,e.edgeLabel,e.nodeLabel2)),e="".concat(e.nodeLabel1,"-").concat(e.edgeLabel,"-").concat(e.nodeLabel2),function e(r){for(var i=v.buildRmpath(),o=v.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,t=v.dfsEdgeList[i[0]].toNode,a={},s=!1,l=0,n=y?-1:0,u=i.length-1;n<u&&"break"!==function(n){if(s)return"break";r.forEach(function(e){var t=new A(e),t=b.findBackwardEdge(m,t.edges[i[n]],t.edges[i[0]],t);t&&(a[t.label]||(a[t.label]={projected:[],edgeLabel:t.label}),a[t.label].projected.push({graphId:m.id,edge:a,preNode:e}),l=v.dfsEdgeList[i[n]].fromNode,s=!0)})}(u);u--);if(s)return f=b.findMinLabel(a),v.dfsEdgeList.push(new w(t,l,x.VACANT_NODE_LABEL,f.edgeLabel,x.VACANT_NODE_LABEL)),c=v.dfsEdgeList.length-1,b.dfsCode.dfsEdgeList[c]===v.dfsEdgeList[c]&&e(a[f.edgeLabel].projected);for(var c,f,h={},s=!1,d=0,p=(r.forEach(function(n){var e=new A(n),e=b.findForwardPureEdges(m,e.edges[i[0]],o,e);0<e.length&&(s=!0,d=t,e.forEach(function(e){var t="".concat(e.label,"-").concat(g[e.to].label);h[t]||(h[t]={projected:[],edgeLabel:e.label,nodeLabel2:g[e.to].label}),h[t].projected.push({graphId:m.id,edge:e,preNode:n})}))}),i.length),u=0;u<p&&"break"!==function(e){if(s)return"break";var t=i[e];r.forEach(function(n){var e=new A(n),e=b.findForwardRmpathEdges(m,e.edges[t],o,e);0<e.length&&(s=!0,d=v.dfsEdgeList[t].fromNode,e.forEach(function(e){var t="".concat(e.label,"-").concat(g[e.to].label);h[t]||(h[t]={projected:[],edgeLabel:e.label,nodeLabel2:g[e.to].label}),h[t].projected.push({graphId:m.id,edge:e,preNode:n})}))})}(u);u++);return!s||(c=b.findMinLabel(h),v.dfsEdgeList.push(new w(d,t+1,x.VACANT_NODE_LABEL,c.edgeLabel,c.nodeLabel2)),f=v.dfsEdgeList.length-1,_.dfsEdgeList[f]===v.dfsEdgeList[f]&&e(h["".concat(c.edgeLabel,"-").concat(c.nodeLabel2)].projected))}(i[e].projected)):void 0)},i.prototype.report=function(){var e;this.dfsCode.getNodeNum()<this.minNodeNum||(this.counter++,e=this.dfsCode.toGraph(this.counter,this.directed),this.frequentSubgraphs.push((0,r.clone)(e)))},i.prototype.subGraphMining=function(e){var s,l,u,c,f,h,d=this;this.getSupport(e)<this.minSupport||!this.isMin()||(this.report(),s=this.dfsCode.getNodeNum(),l=this.dfsCode.buildRmpath(),u=this.dfsCode.dfsEdgeList[l[0]].toNode,c=this.dfsCode.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,f={},h={},e.forEach(function(r){for(var e=d.graphs[r.graphId],i=e.nodeMap,t=new A(r),n=l.length-1;0<=n;n--){var o,a=d.findBackwardEdge(e,t.edges[l[n]],t.edges[l[0]],t);a&&(o="".concat(d.dfsCode.dfsEdgeList[l[n]].fromNode,"-").concat(a.label),h[o]||(h[o]={projected:[],toNodeId:d.dfsCode.dfsEdgeList[l[n]].fromNode,edgeLabel:a.label}),h[o].projected.push({graphId:r.graphId,edge:a,preNode:r}))}if(!(s>=d.maxNodeNum)){d.findForwardPureEdges(e,t.edges[l[0]],c,t).forEach(function(e){var t="".concat(u,"-").concat(e.label,"-").concat(i[e.to].label);f[t]||(f[t]={projected:[],fromNodeId:u,edgeLabel:e.label,nodeLabel2:i[e.to].label}),f[t].projected.push({graphId:r.graphId,edge:e,preNode:r})});for(n=0;n<l.length;n++)!function(n){d.findForwardRmpathEdges(e,t.edges[l[n]],c,t).forEach(function(e){var t="".concat(d.dfsCode.dfsEdgeList[l[n]].fromNode,"-").concat(e.label,"-").concat(i[e.to].label);f[t]||(f[t]={projected:[],fromNodeId:d.dfsCode.dfsEdgeList[l[n]].fromNode,edgeLabel:e.label,nodeLabel2:i[e.to].label}),f[t].projected.push({graphId:r.graphId,edge:e,preNode:r})})}(n)}}),Object.keys(h).forEach(function(e){var t=h[e],n=t.toNodeId,t=t.edgeLabel;d.dfsCode.dfsEdgeList.push(new w(u,n,"-1",t,"-1")),d.subGraphMining(h[e].projected),d.dfsCode.dfsEdgeList.pop()}),Object.keys(f).forEach(function(e){var t=f[e],n=t.fromNodeId,r=t.edgeLabel,t=t.nodeLabel2;d.dfsCode.dfsEdgeList.push(new w(n,u+1,x.VACANT_NODE_LABEL,r,t)),d.subGraphMining(f[e].projected),d.dfsCode.dfsEdgeList.pop()}))},i.prototype.generate1EdgeFrequentSubGraphs=function(){var t=this.graphs,u=this.directed,n=this.minSupport,r=this.frequentSize1Subgraphs,i={},c={},o={};return Object.keys(t).forEach(function(s){var e=t[s],l=e.nodeMap;e.nodes.forEach(function(e,t){var n,a=e.label,r="".concat(s,"-").concat(a);o[r]||(n=i[a]||0,i[a]=++n),o[r]={graphKey:s,label:a},e.edges.forEach(function(e){var t,n=a,r=l[e.to].label,i=(!u&&r<n&&(i=r,r=n,n=i),e.label),e="".concat(s,"-").concat(n,"-").concat(i,"-").concat(r),o="".concat(n,"-").concat(i,"-").concat(r);c[o]||(t=c[o]||0,c[o]=++t),e,0})})}),Object.keys(i).forEach(function(e){var t;i[e]<n||((t={nodes:[],edges:[]}).nodes.push({id:"0",label:e}),r.push(t))}),r},i.prototype.run=function(){var t,a,s=this;this.frequentSize1Subgraphs=this.generate1EdgeFrequentSubGraphs(),this.maxNodeNum<2||(t=this.graphs,this.directed,a={},Object.keys(t).forEach(function(i){var e=t[i],o=e.nodeMap;e.nodes.forEach(function(r){s.findForwardRootEdges(e,r).forEach(function(e){var t=o[e.to],n="".concat(r.label,"-").concat(e.label,"-").concat(t.label),t=(a[n]||(a[n]={projected:[],nodeLabel1:r.label,edgeLabel:e.label,nodeLabel2:t.label}),{graphId:i,edge:e,preNode:null});a[n].projected.push(t)})})}),Object.keys(a).forEach(function(e){var e=a[e],t=e.projected,n=e.nodeLabel1,r=e.edgeLabel,e=e.nodeLabel2;s.dfsCode.dfsEdgeList.push(new w(0,1,n,r,e)),s.subGraphMining(t),s.dfsCode.dfsEdgeList.pop()}))},i);function i(e){var t=e.graphs,n=e.minSupport,n=void 0===n?2:n,r=e.minNodeNum,r=void 0===r?1:r,i=e.maxNodeNum,i=void 0===i?4:i,o=e.top,o=void 0===o?10:o,a=e.directed,a=void 0!==a&&a,e=e.verbose,e=void 0!==e&&e;this.graphs=t,this.dfsCode=new s,this.support=0,this.frequentSize1Subgraphs=[],this.frequentSubgraphs=[],this.minSupport=n,this.top=o,this.directed=a,this.counter=0,this.maxNodeNum=i,this.minNodeNum=r,this.verbose=e,this.maxNodeNum<this.minNodeNum&&(this.maxNodeNum=this.minNodeNum),this.reportDF=[]}function o(e){if(this.his={},this.nodesUsed={},this.edgesUsed={},this.edges=[],e){for(;e;){var t=e.edge;this.edges.push(t),this.nodesUsed[t.from]=1,this.nodesUsed[t.to]=1,this.edgesUsed[t.id]=1,e=e.preNode}this.edges=this.edges.reverse()}}function a(){this.rmpath=[],this.dfsEdgeList=[]}function l(e,t,n,r,i){this.fromNode=e,this.toNode=t,this.nodeEdgeNodeLabel={nodeLabel1:n||x.VACANT_NODE_LABEL,edgeLabel:r||x.VACANT_EDGE_LABEL,nodeLabel2:i||x.VACANT_NODE_LABEL}}t.default=function(e){var n,r,a,s,l,i,o,t,u=e.graphs,c=e.directed,c=void 0!==c&&c,f=e.nodeLabelProp,f=void 0===f?"cluster":f,h=e.edgeLabelProp,h=void 0===h?"cluster":h,u=(n=u,r=c,a=f,s=h,l={},Object.keys(n).forEach(function(e,t){var e=n[e],i=new x.Graph(t,!0,r),o={};e.nodes.forEach(function(e,t){i.addNode(t,e[a]),o[e.id]=t}),e.edges.forEach(function(e,t){var n=o[e.source],r=o[e.target];i.addEdge(-1,n,r,e[s])}),i&&i.getNodeNum()&&(l[i.id]=i)}),l),d=e.minSupport,p=e.maxNodeNum,y=e.minNodeNum,m=e.verbose,e=e.top,u=new g({graphs:u,minSupport:d,maxNodeNum:p,minNodeNum:y,top:e,verbose:m,directed:c});return u.run(),d=u.frequentSubgraphs,i=f,o=h,t=[],d.forEach(function(e){var n={nodes:[],edges:[]};e.nodes.forEach(function(e){var t;n.nodes.push(((t={id:"".concat(e.id)})[i]=e.label,t))}),e.edges.forEach(function(e){var t;n.edges.push(((t={source:"".concat(e.from),target:"".concat(e.to)})[o]=e.label,t))}),t.push(n)}),t}},1821:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VACANT_NODE_LABEL=t.VACANT_NODE_ID=t.VACANT_GRAPH_ID=t.VACANT_EDGE_LABEL=t.VACANT_EDGE_ID=t.Node=t.Graph=t.Edge=t.AUTO_EDGE_ID=void 0;t.VACANT_EDGE_ID=-1,t.VACANT_NODE_ID=-1,t.VACANT_EDGE_LABEL="-1";t.VACANT_NODE_LABEL="-1",t.VACANT_GRAPH_ID=-1,t.AUTO_EDGE_ID="-1";var o=function(e,t,n,r){void 0===t&&(t=-1),void 0===n&&(n=-1),void 0===r&&(r="-1"),this.id=e=void 0===e?-1:e,this.from=t,this.to=n,this.label=r},r=(t.Edge=o,n.prototype.addEdge=function(e){this.edges.push(e),this.edgeMap[e.id]=e},n);function n(e,t){void 0===t&&(t="-1"),this.id=e=void 0===e?-1:e,this.label=t,this.edges=[],this.edgeMap={}}function i(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1),this.id=e=void 0===e?-1:e,this.edgeIdAutoIncrease=t,this.edges=[],this.nodes=[],this.nodeMap={},this.edgeMap={},this.nodeLabelMap={},this.edgeLabelMap={},this.counter=0,this.directed=n}t.Node=r,i.prototype.getNodeNum=function(){return this.nodes.length},i.prototype.addNode=function(e,t){var n;this.nodeMap[e]||(n=new r(e,t),this.nodes.push(n),this.nodeMap[e]=n,this.nodeLabelMap[t]||(this.nodeLabelMap[t]=[]),this.nodeLabelMap[t].push(e))},i.prototype.addEdge=function(e,t,n,r){var i;!this.edgeIdAutoIncrease&&void 0!==e||(e=this.counter++),this.nodeMap[t]&&this.nodeMap[n]&&this.nodeMap[n].edgeMap[e]||(i=new o(e,t,n,r),this.edges.push(i),this.edgeMap[e]=i,this.nodeMap[t].addEdge(i),this.edgeLabelMap[r]||(this.edgeLabelMap[r]=[]),this.edgeLabelMap[r].push(i),this.directed)||(i=new o(e,n,t,r),this.nodeMap[n].addEdge(i),this.edgeLabelMap[r].push(i))},t.Graph=i},29317:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var W=n(97582),q=r(n(51613)),K=r(n(55654)),X=r(n(47618)),a=n(28182);function r(e){return e&&e.__esModule?e:{default:e}}function J(e,t,n,r){void 0===n&&(n="cluster"),void 0===r&&(r=2);var i=[],o=e.nodes;return t.forEach(function(e,t){i.push(ne(o,e,t,n,r))}),i}function $(e,n){var r={},i={};return e.forEach(function(e,t){r[e.id]={idx:t,node:e,degree:0,inDegree:0,outDegree:0};t=e[n];i[t]||(i[t]=[]),i[t].push(e)}),{nodeMap:r,nodeLabelMap:i}}function Z(e,n,r){var i={},o={};return e.forEach(function(e,t){i["".concat(a.uniqueId)]={idx:t,edge:e};t=e[n],o[t]||(o[t]=[]),o[t].push(e),t=r[e.source],t&&(t.degree++,t.outDegree++),t=r[e.target];t&&(t.degree++,t.inDegree++)}),{edgeMap:i,edgeLabelMap:o}}function ee(a,e,s){var l=e.length,u={};return e.forEach(function(e,t){for(var n,r,i=a[t].id,o=s?0:t+1;o<l;o++)t!==o&&(n=a[o].id,r=e[o],u["".concat(i,"-").concat(n)]=r,s||(u["".concat(n,"-").concat(i)]=r))}),u}function te(e,t,n,r){var i,o=null==(i=e[t])?void 0:i.degree,a=null==(i=e[t])?void 0:i.inDegree,s=null==(i=e[t])?void 0:i.outDegree;return void 0===e[t]&&(s=a=o=1/0,r[t].forEach(function(e){var t=n[e.id].degree,t=(t<o&&(o=t),n[e.id].inDegree),t=(t<a&&(a=t),n[e.id].outDegree);t<s&&(s=t)}),e[t]={degree:o,inDegree:a,outDegree:s}),{minPatternNodeLabelDegree:o,minPatternNodeLabelInDegree:a,minPatternNodeLabelOutDegree:s}}var ne=function(n,e,r,i,o){var a=[r],s=[],l={};return e.forEach(function(e,t){e<=o&&r!==t&&(a.push(t),s.push(n[t]),t=n[t][i],l[t]?(l[t].count++,l[t].dists.push(e)):l[t]={count:1,dists:[e]})}),Object.keys(l).forEach(function(e){l[e].dists=l[e].dists.sort(function(e,t){return e-t})}),{nodeIdx:r,nodeId:n[r].id,nodeIdxs:a,neighbors:s,neighborNum:a.length-1,nodeLabelCountMap:l}},re=function(u,c,f,h){var d=f.nodes;return h=h||{},Object.keys(u).forEach(function(t){if(!h||!h[t]){h[t]={nodes:[],edges:[]};var e=u[t],n=null==(n=c[e.start])?void 0:n.nodeIdxs,e=null==(e=c[e.end])?void 0:e.nodeIdxs;if(n&&e){var r=new Set(e),i=n.filter(function(e){return r.has(e)});if(i&&i.length){for(var o={},a=i.length,s=0;s<a;s++){var l=d[i[s]];h[t].nodes.push(l),o[l.id]=!0}f.edges.forEach(function(e){o[e.source]&&o[e.target]&&h[t].edges.push(e)})}}}}),h},ie=function(e,a,s,l){var t,u={},c=(e.nodes.forEach(function(e){u[e.id]=e}),0);return null==(t=null==a?void 0:a.edges)||!t.length||(null==(t=null==a?void 0:a.nodes)?void 0:t.length)<2?0:(e.edges.forEach(function(e){var t=u[e.source][s],n=u[e.target][s],r=null==a?void 0:a.nodes[0][s],i=null==a?void 0:a.nodes[1][s],o=null==a?void 0:a.edges[0][l];e[l]===o&&(t===r&&n===i||t===i&&n===r)&&c++}),c)};t.default=function(E,M,P,e,b,k,T){var l,u,p,c,f,y;if(void 0===P&&(P=!1),void 0===k&&(k="cluster"),void 0===T&&(T="cluster"),E&&E.nodes){var t=E.nodes.length;if(t){var _=(0,q.default)(E,P),n=(0,q.default)(M,P),x=ee(E.nodes,_,P),m=ee(M.nodes,n,P),r=$(E.nodes,k),I=r.nodeMap,g=r.nodeLabelMap,r=$(M.nodes,k),L=r.nodeMap,j=r.nodeLabelMap,D=(Z(E.edges,T,I),Z(M.edges,T,L).edgeLabelMap),i=[],w=(null!=n&&n.forEach(function(e){i=i.concat(e)}),b=b||Math.max.apply(Math,(0,W.__spreadArray)((0,W.__spreadArray)([],i,!1),[2],!1)),J(E,_,k,e=e||b)),v=J(M,n,k,e);l=t,u=Math.min(100,t*(t-1)/2),r=w,p=_,c=Math.ceil(u/l),f={},y=0,r.forEach(function(e,t){for(var n=0,r=0,i=e.nodeIdxs,o=e.neighborNum-1;n<c;){for(var a=i[1+Math.floor(Math.random()*o)],s=0;(f["".concat(t,"-").concat(a)]||f["".concat(a,"-").concat(t)])&&(a=Math.floor(Math.random()*l),!(++s>2*l)););if(s<2*l&&(f["".concat(t,"-").concat(a)]={start:t,end:a,distance:p[t][a]},n++,++y>=u))return f;if(++r>2*l)break}n<c&&(c=(c+(c-n))/(l-t-1))});var A=re(f,w,E),n={graphs:A,nodeLabelProp:k,edgeLabelProp:T,minSupport:1,minNodeNum:1,maxNodeNum:4,directed:P},e=(0,K.default)(n).slice(0,10),t=e.length,o=[],r=(e.forEach(function(n,r){o[r]={},Object.keys(A).forEach(function(e){var t=A[e],t=ie(t,n,k,T);o[r][e]=t})}),function(s,e,t){for(var l=1/0,u=0,n=0;n<e;n++)!function(e){var o=s[e],n=[],r=(Object.keys(o).sort(function(e,t){return o[e]-o[t]}).forEach(function(e,t){n[t%10]||(n[t%10]={graphs:[],totalCount:0,aveCount:0}),n[t%10].graphs.push(e),n[t%10].totalCount+=o[e]}),0),a=[],i=(n.forEach(function(t){var e=t.totalCount/t.graphs.length,i=(t.aveCount=e,a.push(e),0),e=t.length;t.graphs.forEach(function(e,n){var r=o[e];t.graphs.forEach(function(e,t){n!==t&&(i+=Math.abs(r-o[e]))})}),r+=i/=e*(e-1)/2}),r/=n.length,0),t=(a.forEach(function(n,r){a.forEach(function(e,t){r!==t&&(i+=Math.abs(n-e))}),i/=a.length*(a.length-1)/2}),i-r);l<t&&(l=t,u=e)}(n);return{structure:t[u],structureCountMap:s[u]}}(o,t,e)),S=r.structure,C=r.structureCountMap,B=M.nodes[0],h=[],V=null==(n=M.nodes[0])?void 0:n[k],H=-1/0,Y=(M.nodes.forEach(function(e){var t=e[k],n=g[t];(null==n?void 0:n.length)>H&&(H=n.length,h=n,V=t,B=e)}),{}),a={},s={},O={},R={},N={},z=(Object.keys(j).forEach(function(c,e){R[c]=[],P&&(N[c]=[]);var n=-1/0,r={},f=(j[c].forEach(function(e){var t=m["".concat(B.id,"-").concat(e.id)];t&&R[c].push(t),n<t&&(n=t),r["".concat(B.id,"-").concat(e.id)]={start:0,end:L[e.id].idx,distance:t},P&&(t=m["".concat(e.id,"-").concat(B.id)])&&N[c].push(t)}),R[c]=R[c].sort(function(e,t){return e-t}),P&&(N[c]=N[c].sort(function(e,t){return e-t})),a=re(r,v,M,a),[]);if(Object.keys(r).forEach(function(e){var t;s[e]||(t=a[e],s[e]=ie(t,S,k,T)),f.push(s[e])}),f=f.sort(function(e,t){return t-e}),O["".concat(B.id,"-").concat(c)]=f,c!==V)for(var t=((null==h?void 0:h.length)||0)-1;0<=t;t--)!function(e){var n=h[e],t=w[I[n.id].idx],r=t.nodeLabelCountMap[c],i=j[c].length;if(!r||r.count<i)return h.splice(e,1);for(var o=!1,a=0;a<i;a++)if(r.dists[a]>R[c][a]){o=!0;break}if(o)return h.splice(e,1);for(var s={},l=(t.neighbors.forEach(function(e){var t=x["".concat(n.id,"-").concat(e.id)];s["".concat(n.id,"-").concat(e.id)]={start:I[n.id].idx,end:I[e.id].idx,distance:t}}),A=re(s,w,E,A),[]),u=(Object.keys(s).forEach(function(e){var t;C[e]||(t=A[e],C[e]=ie(t,S,k,T)),l.push(C[e])}),l=l.sort(function(e,t){return t-e}),!1),a=0;a<i;a++)if(l[a]<f[a]){u=!0;break}u&&h.splice(e,1)}(t)}),[]),G=(null!=h&&h.forEach(function(e){for(var t,n,r,i,o,a,s,l,u=I[e.id].idx,c=ne(E.nodes,_[u],u,k,b).neighbors,u=!1,f=c.length-1;0<=f;f--){if(c.length+1<M.nodes.length)return;var h=c[f],d=h[k];if(j[d]&&j[d].length)if(R[d]&&R[d].length){var p="".concat(e.id,"-").concat(h.id),y=x[p],m=R[d].length-1;if(y>R[d][m])c.splice(f,1);else{if(P){var g="".concat(h.id,"-").concat(e.id),g=x[g],m=N[d].length-1;if(g>N[d][m]){c.splice(f,1);continue}}var v=C[p]||(g=E,m=h,p=I,y=y,t=w,n=S,r=k,i=T,o=C,a=A,l=s=void 0,l="".concat((v=e).id,"-").concat(m.id),o&&o[l]?o[l]:((o=a?a[l]:void 0)||((s={})[l]={start:p[v.id].idx,end:p[m.id].idx,distance:y},o=(a=re(s,t,g,a))[l]),ie(o,n,r,i))),p="".concat(B.id,"-").concat(d);(v<O[p][O[p].length-1]||(y=(m=te(Y,d,L,j)).minPatternNodeLabelDegree,m.minPatternNodeLabelInDegree,m.minPatternNodeLabelOutDegree,I[h.id].degree<y))&&c.splice(f,1)}}else c.splice(f,1);else c.splice(f,1)}u||z.push({nodes:[e].concat(c)})}),(0,X.default)(M,B.id,!1).length),F={};P?(Object.keys(G).forEach(function(e){var t=L[e].node[k];F[t]?F[t].push(G[e]):F[t]=[G[e]]}),Object.keys(F).forEach(function(e){F[e].sort(function(e,t){return e-t})})):F=R;for(var U=function(e){var i=z[e],t=i.nodes[0],o={},s={},l=(i.nodes.forEach(function(e,t){s[e.id]={idx:t,node:e,degree:0,inDegree:0,outDegree:0};t=e[k];o[t]?o[t]++:o[t]=1}),[]),u={};E.edges.forEach(function(e){s[e.source]&&s[e.target]&&(l.push(e),u[e[T]]?u[e[T]]++:u[e[T]]=1,s[e.source].degree++,s[e.target].degree++,s[e.source].outDegree++,s[e.target].inDegree++)});for(var n=Object.keys(D).length,r=!1,a=0;a<n;a++){var c=Object.keys(D)[a];if(!u[c]||u[c]<D[c].length){r=!0;break}}if(r)return z.splice(e,1),"continue";var f=l.length;if(f<M.edges.length)return z.splice(e,1),"break";for(var h=!1,a=f-1;0<=a&&"break"!==function(e){var n,r,i,t=l[e],o=t[T],a=D[o];return a&&a.length&&(n=s[t.source].node[k],r=s[t.target].node[k],i=!1,a.forEach(function(e){var t=L[e.source].node,e=L[e.target].node;t[k]===n&&e[k]===r&&(i=!0),P||t[k]!==r||e[k]!==n||(i=!0)}),i)?void 0:(u[o]--,a&&u[o]<a.length?(h=!0,"break"):(l.splice(e,1),s[t.source].degree--,s[t.target].degree--,s[t.source].outDegree--,s[t.target].inDegree--,"continue"))}(a);a--);if(h)return z.splice(e,1),"continue";i.edges=l;var d=(0,X.default)(i,i.nodes[0].id,!1).length;if(Object.keys(d).reverse().forEach(function(e){if(e!==i.nodes[0].id&&!h){var t,n;if(d[e]===1/0)return t=s[e].node[k],o[t]--,o[t]<j[t].length?void(h=!0):(n=i.nodes.indexOf(s[e].node),i.nodes.splice(n,1),void(s[e]=void 0));var r=I[e].node[k];F[r]&&F[r].length&&!(d[e]>F[r][F[r].length-1])||(t=s[e].node[k],o[t]--,o[t]<j[t].length?h=!0:(n=i.nodes.indexOf(s[e].node),i.nodes.splice(n,1),s[e]=void 0))}}),h)return z.splice(e,1),"continue";for(var p=!0,y=0;p&&!h;){if(p=!1,P?s[t.id].degree<L[B.id].degree||s[t.id].inDegree<L[B.id].inDegree||s[t.id].outDegree<L[B.id].outDegree:s[t.id].degree<L[B.id].degree){h=!0;break}if(o[t[k]]<j[t[k]].length){h=!0;break}for(var m=i.nodes.length-1;0<=m;m--){var g=i.nodes[m],v=s[g.id].degree,b=s[g.id].inDegree,_=s[g.id].outDegree,x=g[k],x=te(Y,x,L,j),w=x.minPatternNodeLabelDegree,A=x.minPatternNodeLabelInDegree,x=x.minPatternNodeLabelOutDegree;if(P?v<w||b<A||_<x:v<w){if(o[g[k]]--,o[g[k]]<j[g[k]].length){h=!0;break}i.nodes.splice(m,1),p=!(s[g.id]=void 0)}}if(h||!p&&0!==y)break;for(var S=l.length-1;0<=S;S--){var C=l[S];if(!s[C.source]||!s[C.target]){l.splice(S,1);var O=C[T];if(u[O]--,s[C.source]&&(s[C.source].degree--,s[C.source].outDegree--),s[C.target]&&(s[C.target].degree--,s[C.target].inDegree--),D[O]&&u[O]<D[O].length){h=!0;break}p=!0}}y++}return h||i.nodes.length<M.nodes.length||l.length<M.edges.length?(z.splice(e,1),"continue"):void 0},d=z.length-1;0<=d&&"break"!==U(d);d--);for(var Q=z.length,d=0;d<=Q-1;d++)!function(e){var r={};z[e].edges.forEach(function(e){e="".concat(e.source,"-").concat(e.target,"-").concat(e.label);r[e]?r[e]++:r[e]=1});for(var t=Q-1;e<t;t--)!function(e){var t={},n=(z[e].edges.forEach(function(e){e="".concat(e.source,"-").concat(e.target,"-").concat(e.label);t[e]?t[e]++:t[e]=1}),!0);Object.keys(t).length!==Object.keys(r).length?n=!1:Object.keys(r).forEach(function(e){t[e]!==r[e]&&(n=!1)}),n&&z.splice(e,1)}(t);Q=z.length}(d);return z}}}},22124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=(n=n(2006))&&n.__esModule?n:{default:n};t.default=function(e,t,n,r,i,o,a,s){return(0,l.default)(e,t=void 0===t?!1:t,n=void 0===n?"weight":n,r=void 0===r?1e-4:r,!0,i=void 0===i?void 0:i,o=void 0===o?[]:o,a=void 0===a?["id"]:a,s=void 0===s?1:s)}},81366:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GADDI",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"Stack",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"breadthFirstSearch",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"connectedComponent",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"cosineSimilarity",{enumerable:!0,get:function(){return v.default}}),t.default=void 0,Object.defineProperty(t,"depthFirstSearch",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"detectAllCycles",{enumerable:!0,get:function(){return l.detectAllCycles}}),Object.defineProperty(t,"detectAllDirectedCycle",{enumerable:!0,get:function(){return l.detectAllDirectedCycle}}),Object.defineProperty(t,"detectAllUndirectedCycle",{enumerable:!0,get:function(){return l.detectAllUndirectedCycle}}),Object.defineProperty(t,"detectCycle",{enumerable:!0,get:function(){return l.default}}),t.detectDirectedCycle=void 0,Object.defineProperty(t,"dijkstra",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"findAllPath",{enumerable:!0,get:function(){return f.findAllPath}}),Object.defineProperty(t,"findShortestPath",{enumerable:!0,get:function(){return f.findShortestPath}}),Object.defineProperty(t,"floydWarshall",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"getAdjMatrix",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"getDegree",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"getInDegree",{enumerable:!0,get:function(){return s.getInDegree}}),Object.defineProperty(t,"getNeighbors",{enumerable:!0,get:function(){return S.getNeighbors}}),Object.defineProperty(t,"getOutDegree",{enumerable:!0,get:function(){return s.getOutDegree}}),Object.defineProperty(t,"iLouvain",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"kCore",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"kMeans",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"labelPropagation",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"louvain",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"minimumSpanningTree",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"nodesCosineSimilarity",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"pageRank",{enumerable:!0,get:function(){return x.default}});var r=E(n(57238)),i=E(n(1264)),o=E(n(16616)),s=O(n(63597)),l=O(n(12465)),u=E(n(81940)),c=E(n(47618)),f=n(56),h=E(n(51613)),d=E(n(73760)),p=E(n(2006)),y=E(n(22124)),m=E(n(32141)),g=E(n(32339)),v=E(n(16075)),b=E(n(36649)),_=E(n(60015)),x=E(n(16155)),w=E(n(29317)),A=E(n(51602)),S=n(28182);function C(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(C=function(e){return e?n:t})(e))}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};t=C(t);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}function E(e){return e&&e.__esModule?e:{default:e}}n=l.default,t.detectDirectedCycle=n,n={getAdjMatrix:r.default,breadthFirstSearch:i.default,connectedComponent:o.default,getDegree:s.default,getInDegree:s.getInDegree,getOutDegree:s.getOutDegree,detectCycle:l.default,detectDirectedCycle:n,detectAllCycles:l.detectAllCycles,detectAllDirectedCycle:l.detectAllDirectedCycle,detectAllUndirectedCycle:l.detectAllUndirectedCycle,depthFirstSearch:u.default,dijkstra:c.default,findAllPath:f.findAllPath,findShortestPath:f.findShortestPath,floydWarshall:h.default,labelPropagation:d.default,louvain:p.default,iLouvain:y.default,kCore:m.default,kMeans:g.default,cosineSimilarity:v.default,nodesCosineSimilarity:b.default,minimumSpanningTree:_.default,pageRank:x.default,getNeighbors:S.getNeighbors,Stack:A.default,GADDI:w.default};t.default=n},32141:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(31834),l=(n=n(63597))&&n.__esModule?n:{default:n};t.default=function(e,r){var i;void 0===r&&(r=1);for(var e=(0,s.clone)(e),t=e.nodes,o=void 0===t?[]:t,t=e.edges,a=void 0===t?[]:t;"break"!==function(){var n=(0,l.default)({nodes:o,edges:a}),e=Object.keys(n),t=(e.sort(function(e,t){return(null==(e=n[e])?void 0:e.degree)-(null==(e=n[t])?void 0:e.degree)}),e[0]);if(!o.length||(null==(i=n[t])?void 0:i.degree)>=r)return"break";e=o.findIndex(function(e){return e.id===t});o.splice(e,1),a=a.filter(function(e){return!(e.source===t||e.target===t)})}(););return{nodes:o,edges:a}}},32339:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function T(e,t,n){return e===B.DistanceType.EuclideanDistance?t[n]:[]}var r,I=n(31834),L=n(12594),j=n(2821),D=(r=n(43532))&&r.__esModule?r:{default:r},B=n(49332);t.default=function(e,t,n,r,i,o){void 0===t&&(t=3),void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===i&&(i=["id"]),void 0===o&&(o=B.DistanceType.EuclideanDistance);var a=e.nodes,s=void 0===a?[]:a,a=e.edges,e=void 0===a?[]:a,a={clusters:[{id:"0",nodes:s}],clusterEdges:[]};if(o===B.DistanceType.EuclideanDistance&&!s.every(function(e){return e.hasOwnProperty(n)}))return a;var l=[];if(o===B.DistanceType.EuclideanDistance&&(u=(0,L.getAllProperties)(s,n),l=(0,j.oneHot)(u,r,i)),!l.length)return a;for(var u=(0,I.uniq)(l.map(function(e){return e.join("")})),c=Math.min(t,s.length,u.length),f=0;f<s.length;f++)s[f].originIndex=f;var h=[],d=[],p=[];for(f=0;f<c;f++)if(0===f){var y=Math.floor(Math.random()*s.length);o===B.DistanceType.EuclideanDistance?h[f]=l[y]:h[f]=[],d.push(y),p[f]=[s[y]],s[y].clusterId=String(f)}else{for(var m=-1/0,g=0,v=0;v<s.length;v++)!function(t){if(!d.includes(t)){for(var e=0,n=0;n<h.length;n++){var r=0;e+=r=o===B.DistanceType.EuclideanDistance?(0,j.getDistance)(l[s[t].originIndex],h[n],o):r}var i=e/h.length;m<i&&!h.find(function(e){return(0,I.isEqual)(e,T(o,l,s[t].originIndex))})&&(m=i,g=t)}}(v);h[f]=T(o,l,g),d.push(g),p[f]=[s[g]],s[g].clusterId=String(f)}for(var b=0;;){for(f=0;f<s.length;f++){var _=0,x=1/0;if(0!==b||!d.includes(f)){for(var w=0;w<h.length;w++){var A=0;(A=o===B.DistanceType.EuclideanDistance?(0,j.getDistance)(l[f],h[w],o):A)<x&&(x=A,_=w)}if(void 0!==s[f].clusterId)for(var S=p[Number(s[f].clusterId)].length-1;0<=S;S--)p[Number(s[f].clusterId)][S].id===s[f].id&&p[Number(s[f].clusterId)].splice(S,1);s[f].clusterId=String(_),p[_].push(s[f])}}for(var C=!1,f=0;f<p.length;f++){for(var O=p[f],E=new D.default([]),w=0;w<O.length;w++)E=E.add(new D.default(l[O[w].originIndex]));var M=E.avg(O.length);M.equal(new D.default(h[f]))||(C=!0,h[f]=M.getArr())}if(b++,s.every(function(e){return void 0!==e.clusterId})&&C||1e3<=b)break}var P=[],k={};return e.forEach(function(e){var t=e.source,n=e.target,e=null==(e=s.find(function(e){return e.id===t}))?void 0:e.clusterId,r=null==(r=s.find(function(e){return e.id===n}))?void 0:r.clusterId,i="".concat(e,"---").concat(r);k[i]?k[i].count++:P.push(k[i]={source:e,target:r,count:1})}),{clusters:p,clusterEdges:P}}},73760:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,p=(r=n(57238))&&r.__esModule?r:{default:r},y=n(28182);t.default=function(e,t,i,n){void 0===t&&(t=!1),void 0===i&&(i="weight"),void 0===n&&(n=1e3);var r=e.nodes,o=void 0===r?[]:r,r=e.edges,r=void 0===r?[]:r,s={},l={},a=(o.forEach(function(e,t){var n=(0,y.uniqueId)();e.clusterId=n,s[n]={id:n,nodes:[e]},l[e.id]={node:e,idx:t}}),[]),u={};(0,p.default)(e,t).forEach(function(e,t){var n=0,r=o[t].id;u[r]={},e.forEach(function(e,t){e&&(n+=e,t=o[t].id,u[r][t]=e)}),a.push(n)});for(var c=0;c<n&&"break"!==function(){var a=!1;if(o.forEach(function(n){var e,t,r={},i=(Object.keys(u[n.id]).forEach(function(e){var t=u[n.id][e],e=l[e].node.clusterId;r[e]||(r[e]=0),r[e]+=t}),-1/0),o=[];Object.keys(r).forEach(function(e){i<r[e]?(i=r[e],o=[e]):i===r[e]&&o.push(e)}),1===o.length&&o[0]===n.clusterId||(0<=(e=o.indexOf(n.clusterId))&&o.splice(e,1),o&&o.length&&(a=!0,t=(e=s[n.clusterId]).nodes.indexOf(n),e.nodes.splice(t,1),e=Math.floor(Math.random()*o.length),(t=s[o[e]]).nodes.push(n),n.clusterId=t.id))}),!a)return"break";c++}(););Object.keys(s).forEach(function(e){var t=s[e];t.nodes&&t.nodes.length||delete s[e]});var f=[],h={},d=(r.forEach(function(e){var t=e.source,n=e.target,e=e[i]||1,t=l[t].node.clusterId,n=l[n].node.clusterId,r="".concat(t,"---").concat(n);h[r]?(h[r].weight+=e,h[r].count++):f.push(h[r]={source:t,target:n,weight:e,count:1})}),[]);return Object.keys(s).forEach(function(e){d.push(s[e])}),{clusters:d,clusterEdges:f}}},2006:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var I=n(31834),L=r(n(57238)),y=r(n(43532)),j=n(12594),D=n(2821);function r(e){return e&&e.__esModule?e:{default:e}}function B(e,t,n,r){for(var i=t.length,o=2*r,a=0,s=0;s<i;s++)for(var l=e[s].clusterId,u=0;u<i;u++)l===e[u].clusterId&&(a+=(t[s][u]||0)-(n[s]||0)*(n[u]||0)/o);return a*(1/o)}function R(e,t){for(var n=(e=void 0===e?[]:e).length,r=new y.default([]),i=0;i<n;i++)r=r.add(new y.default(t[i]));for(var o=r.avg(n),a=(o.normalize(),0),i=0;i<n;i++)a+=(u=new y.default(t[i])).squareEuclideanDistance(o);var s=[];for(e.forEach(function(){s.push([])}),i=0;i<n;i++)for(var l,u=new y.default(t[i]),c=e[i].clusterInertial=0;c<n;c++)i!==c?(l=new y.default(t[c]),s[i][c]=u.squareEuclideanDistance(l),e[i].clusterInertial+=s[i][c]):s[i][c]=0;var f=0,h=2*n*a;for(i=0;i<n;i++)for(var d=e[i].clusterId,c=0;c<n;c++){var p=e[c].clusterId;i!==c&&d===p&&(f+=e[i].clusterInertial*e[c].clusterInertial/Math.pow(h,2)-s[i][c]/h)}return Number(f.toFixed(4))}t.default=function(e,t,d,n,p,r,i,o,y){void 0===t&&(t=!1),void 0===d&&(d="weight"),void 0===n&&(n=1e-4),void 0===p&&(p=!1),void 0===r&&(r=void 0),void 0===i&&(i=[]),void 0===o&&(o=["id"]),void 0===y&&(y=1);var a,s=e.nodes,l=void 0===s?[]:s,s=e.edges,m=void 0===s?[]:s,g=[],u=(p&&(l.forEach(function(e,t){e.properties=e.properties||{},e.originIndex=t}),a=[],l.every(function(e){return e.hasOwnProperty("nodeType")})&&(a=Array.from(new Set(l.map(function(e){return e.nodeType}))),l.forEach(function(t){t.properties.nodeType=a.findIndex(function(e){return e===t.nodeType})})),s=(0,j.getAllProperties)(l,r),g=(0,D.oneHot)(s,i,o)),1),v={},b={},_=(l.forEach(function(e,t){var n=String(u++);e.clusterId=n,v[n]={id:n,nodes:[e]},b[e.id]={node:e,idx:t}}),(0,L.default)(e,t)),x=[],w={},A=0;_.forEach(function(e,t){var n=0,r=l[t].id;w[r]={},e.forEach(function(e,t){e&&(n+=e,t=l[t].id,w[r][t]=e,A+=e)}),x.push(n)}),A/=2;for(var c,f=1/0,h=0,S=[],C={};;){c=p&&l.every(function(e){return e.hasOwnProperty("properties")})?B(l,_,x,A)+R(l,g)*y:B(l,_,x,A),0===h&&(f=c,S=l,C=v);var O=0<c&&f<c&&c-f<n;if(f<c&&(S=l.map(function(e){return{node:e,clusterId:e.clusterId}}),C=(0,I.clone)(v),f=c),O||100<h)break;h++,Object.keys(v).forEach(function(r){var i=0;m.forEach(function(e){var t=e.source,n=e.target,t=b[t].node.clusterId,n=b[n].node.clusterId;(t===r&&n!==r||n===r&&t!==r)&&(i+=e[d]||1)}),v[r].sumTot=i}),l.forEach(function(i,o){var a,r,s,l,e=v[i.clusterId],u=0,c=x[o]/(2*A),t=0,n=e.nodes,f=(n.forEach(function(e){e=b[e.id].idx;t+=_[o][e]||0}),t-e.sumTot*c),n=n.filter(function(e){return e.id!==i.id}),h=(n.forEach(function(e,t){t,g[e.originIndex]}),R(n,g)*y),n=w[i.id];Object.keys(n).forEach(function(e){var t,n,r,e=b[e].node.clusterId;e!==i.clusterId&&(r=(e=v[e]).nodes)&&r.length&&(t=0,r.forEach(function(e){e=b[e.id].idx;t+=_[o][e]||0}),n=t-e.sumTot*c,r=r.concat([i]),r.forEach(function(e,t){t,g[e.originIndex]}),r=R(r,g)*y,u<(r=p?n+r-(f+h):n-f))&&(u=r,a=e)}),0<u&&(a.nodes.push(i),r=i.clusterId,i.clusterId=a.id,n=e.nodes.indexOf(i),e.nodes.splice(n,1),l=s=0,m.forEach(function(e){var t=e.source,n=e.target,t=b[t].node.clusterId,n=b[n].node.clusterId;(t===a.id&&n!==a.id||n===a.id&&t!==a.id)&&(s+=e[d]||1),(t===r&&n!==r||n===r&&t!==r)&&(l+=e[d]||1)}),a.sumTot=s,e.sumTot=l)})}var E={},M=0,P=(Object.keys(C).forEach(function(e){var t,n=C[e];n.nodes&&n.nodes.length?(t=String(M+1))!==e&&(n.id=t,n.nodes=n.nodes.map(function(e){return{id:e.id,clusterId:t}}),C[t]=n,E[e]=t,delete C[e],M++):delete C[e]}),S.forEach(function(e){var t=e.node,e=e.clusterId;t&&(t.clusterId=e,t.clusterId)&&E[t.clusterId]&&(t.clusterId=E[t.clusterId])}),[]),k={},T=(m.forEach(function(e){var t,n=e.source,r=e.target,e=e[d]||1,n=b[n].node.clusterId,r=b[r].node.clusterId;n&&r&&(t="".concat(n,"---").concat(r),k[t]?(k[t].weight+=e,k[t].count++):P.push(k[t]={source:n,target:r,weight:e,count:1}))}),[]);return Object.keys(C).forEach(function(e){T.push(C[e])}),{clusters:T,clusterEdges:P}}},60015:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(n(89511)),c=r(n(67605)),f=n(28182);function r(e){return e&&e.__esModule?e:{default:e}}var i=function(e,t){var n=[],r=e.nodes,r=void 0===r?[]:r,e=e.edges,e=void 0===e?[]:e;if(0!==r.length){var i=e.map(function(e){return e});t&&i.sort(function(e,t){return e.weight-t.weight});for(var o=new u.default(r.map(function(e){return e.id}));0<i.length;){var a=i.shift(),s=a.source,l=a.target;o.connected(s,l)||(n.push(a),o.union(s,l))}}return n};t.default=function(e,t,n){return n?{prim:function(e,n){var t=[],r=e.nodes,r=void 0===r?[]:r,e=e.edges,i=void 0===e?[]:e;if(0!==r.length){var e=r[0],o=new Set,a=(o.add(e),new c.default(function(e,t){return n?e.weight-t.weight:0}));for((0,f.getEdgesByNodeId)(e.id,i).forEach(function(e){a.insert(e)});!a.isEmpty();){var s=a.delMin(),l=s.source,u=s.target;o.has(l)&&o.has(u)||(t.push(s),o.has(l)||(o.add(l),(0,f.getEdgesByNodeId)(l,i).forEach(function(e){a.insert(e)})),o.has(u))||(o.add(u),(0,f.getEdgesByNodeId)(u,i).forEach(function(e){a.insert(e)}))}}return t},kruskal:i}[n](e,t):i(e,t)}},36649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=n(31834),f=n(12594),h=n(2821),d=(n=n(16075))&&n.__esModule?n:{default:n};t.default=function(e,n,t,r,i){void 0===t&&(t=void 0),void 0===r&&(r=[]),void 0===i&&(i=[]);var o=(0,c.clone)((e=void 0===e?[]:e).filter(function(e){return e.id!==n.id})),a=e.findIndex(function(e){return e.id===n.id}),e=(0,f.getAllProperties)(e,t),s=(0,h.oneHot)(e,r,i),l=s[a],u=[];return o.forEach(function(e,t){e.id!==n.id&&(t=s[t],t=(0,d.default)(t,l),u.push(t),e.cosineSimilarity=t)}),o.sort(function(e,t){return t.cosineSimilarity-e.cosineSimilarity}),{allCosineSimilarity:u,similarNodes:o}}},16155:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,x=(r=n(63597))&&r.__esModule?r:{default:r},w=n(28182);t.default=function(e,t,n){"number"!=typeof t&&(t=1e-6),"number"!=typeof n&&(n=.85);for(var r=1,i=0,o=1e3,a=e.nodes,s=void 0===a?[]:a,a=e.edges,l=void 0===a?[]:a,u=s.length,c={},f={},h=0;h<u;++h)c[y=(d=s[h]).id]=1/u,f[y]=1/u;for(var d,p=(0,x.default)(e);0<o&&t<r;){for(h=i=0;h<u;++h){var y=(d=s[h]).id,m=0;if(0===p[d.id].inDegree)c[y]=0;else{for(var g=(0,w.getNeighbors)(y,l,"source"),v=0;v<g.length;++v){var b=g[v],_=p[b].outDegree;0<_&&(m+=f[b]/_)}c[y]=n*m,i+=c[y]}}for(i=(1-i)/u,h=r=0;h<u;++h)m=c[y=(d=s[h]).id]+i,r+=Math.abs(m-f[y]),f[y]=m;--o}return f}},67605:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function n(e,t){return e-t}function r(e){this.compareFn=e=void 0===e?n:e,this.list=[]}r.prototype.getLeft=function(e){return 2*e+1},r.prototype.getRight=function(e){return 2*e+2},r.prototype.getParent=function(e){return 0===e?null:Math.floor((e-1)/2)},r.prototype.isEmpty=function(){return this.list.length<=0},r.prototype.top=function(){return this.isEmpty()?void 0:this.list[0]},r.prototype.delMin=function(){var e=this.top(),t=this.list.pop();return 0<this.list.length&&(this.list[0]=t,this.moveDown(0)),e},r.prototype.insert=function(e){return null!==e&&(this.list.push(e),e=this.list.length-1,this.moveUp(e),!0)},r.prototype.moveUp=function(e){for(var t=this.getParent(e);e&&0<e&&0<this.compareFn(this.list[t],this.list[e]);){var n=this.list[t];this.list[t]=this.list[e],this.list[e]=n,e=t,t=this.getParent(e)}},r.prototype.moveDown=function(e){var t=e,n=this.getLeft(e),r=this.getRight(e),i=this.list.length;null!==n&&n<i&&0<this.compareFn(this.list[t],this.list[n])?t=n:null!==r&&r<i&&0<this.compareFn(this.list[t],this.list[r])&&(t=r),e!==t&&(n=[this.list[t],this.list[e]],this.list[e]=n[0],this.list[t]=n[1],this.moveDown(t))},t.default=r},90800:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LinkedListNode=void 0;function n(e,t){return e===t}i.prototype.toString=function(e){return e?e(this.value):"".concat(this.value)};var r=i;function i(e,t){void 0===t&&(t=null),this.value=e,this.next=t}function o(e){void 0===e&&(e=n),this.head=null,this.tail=null,this.compare=e}t.LinkedListNode=r,o.prototype.prepend=function(e){e=new r(e,this.head);return this.head=e,this.tail||(this.tail=e),this},o.prototype.append=function(e){e=new r(e);return this.head?this.tail.next=e:this.head=e,this.tail=e,this},o.prototype.delete=function(e){if(!this.head)return null;for(var t=null;this.head&&this.compare(this.head.value,e);)t=this.head,this.head=this.head.next;var n=this.head;if(null!==n)for(;n.next;)this.compare(n.next.value,e)?(t=n.next,n.next=n.next.next):n=n.next;return this.compare(this.tail.value,e)&&(this.tail=n),t},o.prototype.find=function(e){var t=e.value,n=void 0===t?void 0:t,t=e.callback,r=void 0===t?void 0:t;if(this.head)for(var i=this.head;i;){if(r&&r(i.value))return i;if(void 0!==n&&this.compare(i.value,n))return i;i=i.next}return null},o.prototype.deleteTail=function(){var e=this.tail;if(this.head===this.tail)this.head=null,this.tail=null;else{for(var t=this.head;t.next;)t.next.next?t=t.next:t.next=null;this.tail=t}return e},o.prototype.deleteHead=function(){var e;return this.head?(e=this.head,this.head.next?this.head=this.head.next:(this.head=null,this.tail=null),e):null},o.prototype.fromArray=function(e){var t=this;return e.forEach(function(e){return t.append(e)}),this},o.prototype.toArray=function(){for(var e=[],t=this.head;t;)e.push(t),t=t.next;return e},o.prototype.reverse=function(){for(var e,t=this.head,n=null;t;)e=t.next,t.next=n,n=t,t=e;this.tail=this.head,this.head=n},o.prototype.toString=function(t){return void 0===t&&(t=void 0),this.toArray().map(function(e){return e.toString(t)}).toString()},t.default=o},93247:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(n=n(90800))&&n.__esModule?n:{default:n};function i(){this.linkedList=new r.default}i.prototype.isEmpty=function(){return!this.linkedList.head},i.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},i.prototype.enqueue=function(e){this.linkedList.append(e)},i.prototype.dequeue=function(){var e=this.linkedList.deleteHead();return e?e.value:null},i.prototype.toString=function(e){return this.linkedList.toString(e)},t.default=i},51602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(n=n(90800))&&n.__esModule?n:{default:n};function i(e){void 0===e&&(e=10),this.linkedList=new r.default,this.maxStep=e}Object.defineProperty(i.prototype,"length",{get:function(){return this.linkedList.toArray().length},enumerable:!1,configurable:!0}),i.prototype.isEmpty=function(){return!this.linkedList.head},i.prototype.isMaxStack=function(){return this.toArray().length>=this.maxStep},i.prototype.peek=function(){return this.isEmpty()?null:this.linkedList.head.value},i.prototype.push=function(e){this.linkedList.prepend(e),this.length>this.maxStep&&this.linkedList.deleteTail()},i.prototype.pop=function(){var e=this.linkedList.deleteHead();return e?e.value:null},i.prototype.toArray=function(){return this.linkedList.toArray().map(function(e){return e.value})},i.prototype.clear=function(){for(;!this.isEmpty();)this.pop()},t.default=i},89511:function(e,t){"use strict";function n(e){this.count=e.length,this.parent={};for(var t=0,n=e;t<n.length;t++){var r=n[t];this.parent[r]=r}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n.prototype.find=function(e){for(;this.parent[e]!==e;)e=this.parent[e];return e},n.prototype.union=function(e,t){var n=this.find(e),r=this.find(t);n!==r&&(n<r?(this.parent[t]!==t&&this.union(this.parent[t],e),this.parent[t]=this.parent[e]):(this.parent[e]!==e&&this.union(this.parent[e],t),this.parent[e]=this.parent[t]))},n.prototype.connected=function(e,t){return this.find(e)===this.find(t)},t.default=n},49332:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DistanceType=void 0,t.DistanceType=void 0,(t.DistanceType={}).EuclideanDistance="euclideanDistance"},28182:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueId=t.getOutEdgesNodeId=t.getNeighbors=t.getEdgesByNodeId=void 0,t.getNeighbors=function(t,e,n){e=(e=void 0===e?[]:e).filter(function(e){return e.source===t||e.target===t});return"target"===n?e.filter(function(e){return e.source===t}).map(function(e){return e.target}):"source"===n?e.filter(function(e){return e.target===t}).map(function(e){return e.source}):e.map(function(e){return e.source===t?e.target:e.source})},t.getOutEdgesNodeId=function(t,e){return e.filter(function(e){return e.source===t})},t.getEdgesByNodeId=function(t,e){return e.filter(function(e){return e.source===t||e.target===t})},t.uniqueId=function(e){void 0===e&&(e=0);var t="".concat(Math.random()).split(".")[1].substr(0,5),n="".concat(Math.random()).split(".")[1].substr(0,5);return"".concat(e,"-").concat(t).concat(n)}},2821:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oneHot=t.getDistance=t.getAllKeyValueMap=t.default=void 0;function i(e,t,r){var n=[],n=null!=t&&t.length?t:(e.forEach(function(e){n=n.concat(Object.keys(e))}),(0,a.uniq)(n)),i={};return n.forEach(function(t){var n=[];e.forEach(function(e){void 0!==e[t]&&""!==e[t]&&n.push(e[t])}),!n.length||null!=r&&r.includes(t)||(i[t]=(0,a.uniq)(n))}),i}function r(e,t,n){var l,u=i(e,t,n),r=[];return Object.keys(u).length&&(l=Object.values(u).every(function(e){return e.every(function(e){return"number"==typeof e})}),e.forEach(function(a,e){var s=[];Object.keys(u).forEach(function(e){var t=a[e],n=u[e],r=n.findIndex(function(e){return t===e}),i=[];if(l)i.push(t);else for(var o=0;o<n.length;o++)i.push(o===r?1:0);s=s.concat(i)}),r[e]=s})),r}function o(e,t,n,r){var i=0;return i=(n=void 0===n?s.DistanceType.EuclideanDistance:n)===s.DistanceType.EuclideanDistance?new l.default(e).euclideanDistance(new l.default(t)):i}var a=n(31834),s=n(49332),l=(n=n(43532))&&n.__esModule?n:{default:n},n=(t.getAllKeyValueMap=i,t.oneHot=r,t.getDistance=o,{getAllKeyValueMap:i,oneHot:r,getDistance:o});t.default=n},12594:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPropertyWeight=t.getAllSortProperties=t.getAllProperties=t.default=void 0;function i(e,t){void 0===t&&(t=100);var n={};return(e=void 0===e?[]:e).forEach(function(t){t.properties&&Object.keys(t.properties).forEach(function(e){"id"===e||!"".concat(t.properties[e]).match(a.secondReg)&&!"".concat(t.properties[e]).match(a.dateReg)&&isNaN(Number(t.properties[e]))?n.hasOwnProperty(e)&&delete n[e]:n.hasOwnProperty(e)?n[e]+=1:n[e]=1})}),(e=Object.keys(n).sort(function(e,t){return n[t]-n[e]})).length<t?e:e.slice(0,t)}function r(e){for(var t=i(e),n=[],r=0;r<e.length;r++)n[r]=function(t,e){return e.map(function(e){return t.hasOwnProperty(e)?t[e]:0})}(e[r].properties,t);return n}function o(e,t){void 0===t&&(t=void 0);var n=[];return e.forEach(function(e){void 0===t&&n.push(e),void 0!==e[t]&&n.push(e[t])}),n}var a=n(79023),n=(t.getAllSortProperties=i,t.getPropertyWeight=r,t.getAllProperties=o,{getAllSortProperties:i,getPropertyWeight:r,getAllProperties:o});t.default=n},43532:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(31834);function a(e){this.arr=e}a.prototype.getArr=function(){return this.arr||[]},a.prototype.add=function(e){var t=e.arr;if(null==(e=this.arr)||!e.length)return new a(t);if(null==t||!t.length)return new a(this.arr);if(this.arr.length===t.length){var n,r=[];for(n in this.arr)r[n]=this.arr[n]+t[n];return new a(r)}},a.prototype.subtract=function(e){var t=e.arr;if(null==(e=this.arr)||!e.length)return new a(t);if(null==t||!t.length)return new a(this.arr);if(this.arr.length===t.length){var n,r=[];for(n in this.arr)r[n]=this.arr[n]-t[n];return new a(r)}},a.prototype.avg=function(e){var t=[];if(0!==e)for(var n in this.arr)t[n]=this.arr[n]/e;return new a(t)},a.prototype.negate=function(){var e,t=[];for(e in this.arr)t[e]=-this.arr[e];return new a(t)},a.prototype.squareEuclideanDistance=function(e){var t,n=e.arr;if(null==(t=this.arr)||!t.length||null==n||!n.length)return 0;if(this.arr.length===n.length){var r,i=0;for(r in this.arr)i+=Math.pow(this.arr[r]-e.arr[r],2);return i}},a.prototype.euclideanDistance=function(e){var t,n=e.arr;if(null==(t=this.arr)||!t.length||null==n||!n.length)return 0;if(this.arr.length===n.length){var r,i=0;for(r in this.arr)i+=Math.pow(this.arr[r]-e.arr[r],2);return Math.sqrt(i)}console.error("The two vectors are unequal in length.")},a.prototype.normalize=function(){var e,t=[],n=(0,o.clone)(this.arr),r=(n.sort(function(e,t){return e-t}),n[n.length-1]),i=n[0];for(e in this.arr)t[e]=(this.arr[e]-i)/(r-i);return new a(t)},a.prototype.norm2=function(){var e;if(null==(e=this.arr)||!e.length)return 0;var t,n=0;for(t in this.arr)n+=Math.pow(this.arr[t],2);return Math.sqrt(n)},a.prototype.dot=function(e){var t,n=e.arr;if(null==(t=this.arr)||!t.length||null==n||!n.length)return 0;if(this.arr.length===n.length){var r,i=0;for(r in this.arr)i+=this.arr[r]*e.arr[r];return i}console.error("The two vectors are unequal in length.")},a.prototype.equal=function(e){var t,n=e.arr;if((null==(e=this.arr)?void 0:e.length)!==(null==n?void 0:n.length))return!1;for(t in this.arr)if(this.arr[t]!==n[t])return!1;return!0},t.default=a},36490:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GADDI",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"breadthFirstSearch",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"connectedComponent",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"depthFirstSearch",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"detectCycle",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"dijkstra",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"findAllPath",{enumerable:!0,get:function(){return f.findAllPath}}),Object.defineProperty(t,"findShortestPath",{enumerable:!0,get:function(){return f.findShortestPath}}),Object.defineProperty(t,"floydWarshall",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"getAdjMatrix",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"getDegree",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"getInDegree",{enumerable:!0,get:function(){return s.getInDegree}}),Object.defineProperty(t,"getNeighbors",{enumerable:!0,get:function(){return v.getNeighbors}}),Object.defineProperty(t,"getOutDegree",{enumerable:!0,get:function(){return s.getOutDegree}}),Object.defineProperty(t,"labelPropagation",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"louvain",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"minimumSpanningTree",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"pageRank",{enumerable:!0,get:function(){return m.default}});var r=_(n(57238)),i=_(n(1264)),o=_(n(16616)),s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=b(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(63597)),l=_(n(12465)),u=_(n(81940)),c=_(n(47618)),f=n(56),h=_(n(51613)),d=_(n(73760)),p=_(n(2006)),y=_(n(60015)),m=_(n(16155)),g=_(n(29317)),v=n(28182);function b(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(b=function(e){return e?n:t})(e))}function _(e){return e&&e.__esModule?e:{default:e}}},18983:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MESSAGE=t.ALGORITHM=void 0,t.ALGORITHM={pageRank:"pageRank",breadthFirstSearch:"breadthFirstSearch",connectedComponent:"connectedComponent",depthFirstSearch:"depthFirstSearch",detectCycle:"detectCycle",detectDirectedCycle:"detectDirectedCycle",detectAllCycles:"detectAllCycles",detectAllDirectedCycle:"detectAllDirectedCycle",detectAllUndirectedCycle:"detectAllUndirectedCycle",dijkstra:"dijkstra",findAllPath:"findAllPath",findShortestPath:"findShortestPath",floydWarshall:"floydWarshall",getAdjMatrix:"getAdjMatrix",getDegree:"getDegree",getInDegree:"getInDegree",getNeighbors:"getNeighbors",getOutDegree:"getOutDegree",labelPropagation:"labelPropagation",louvain:"louvain",GADDI:"GADDI",minimumSpanningTree:"minimumSpanningTree",SUCCESS:"SUCCESS",FAILURE:"FAILURE"},t.MESSAGE={SUCCESS:"SUCCESS",FAILURE:"FAILURE"}},47414:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(18983),s=(n=n(17477))&&n.__esModule?n:{default:n};t.default=function(o){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Promise(function(n,r){var i=new s.default;i.postMessage({_algorithmType:o,data:e}),i.onmessage=function(e){var e=e.data,t=e.data,e=e._algorithmType;a.MESSAGE.SUCCESS===e?n(t):r(),i.terminate()}})}}},54613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pageRankAsync=t.minimumSpanningTreeAsync=t.louvainAsync=t.labelPropagationAsync=t.getOutDegreeAsync=t.getNeighborsAsync=t.getInDegreeAsync=t.getDegreeAsync=t.getAdjMatrixAsync=t.floydWarshallAsync=t.findShortestPathAsync=t.findAllPathAsync=t.dijkstraAsync=t.detectCycleAsync=t.detectAllUndirectedCycleAsync=t.detectAllDirectedCycleAsync=t.detectAllCyclesAsync=t.connectedComponentAsync=t.GADDIAsync=void 0;var r,s=(r=n(47414))&&r.__esModule?r:{default:r},l=n(18983);t.getAdjMatrixAsync=function(e,t){return(0,s.default)(l.ALGORITHM.getAdjMatrix).apply(void 0,[e,t])},t.connectedComponentAsync=function(e,t){return(0,s.default)(l.ALGORITHM.connectedComponent).apply(void 0,[e,t])},t.getDegreeAsync=function(e){return(0,s.default)(l.ALGORITHM.getDegree)(e)},t.getInDegreeAsync=function(e,t){return(0,s.default)(l.ALGORITHM.getInDegree)(e,t)},t.getOutDegreeAsync=function(e,t){return(0,s.default)(l.ALGORITHM.getOutDegree)(e,t)},t.detectCycleAsync=function(e){return(0,s.default)(l.ALGORITHM.detectCycle)(e)},t.detectAllCyclesAsync=function(e){return(0,s.default)(l.ALGORITHM.detectAllCycles)(e)},t.detectAllDirectedCycleAsync=function(e){return(0,s.default)(l.ALGORITHM.detectAllDirectedCycle)(e)},t.detectAllUndirectedCycleAsync=function(e){return(0,s.default)(l.ALGORITHM.detectAllUndirectedCycle)(e)},t.dijkstraAsync=function(e,t,n,r){return(0,s.default)(l.ALGORITHM.dijkstra).apply(void 0,[e,t,n,r])},t.findAllPathAsync=function(e,t,n,r){return(0,s.default)(l.ALGORITHM.findAllPath).apply(void 0,[e,t,n,r])},t.findShortestPathAsync=function(e,t,n,r,i){return(0,s.default)(l.ALGORITHM.findShortestPath).apply(void 0,[e,t,n,r,i])},t.floydWarshallAsync=function(e,t){return(0,s.default)(l.ALGORITHM.floydWarshall).apply(void 0,[e,t])},t.labelPropagationAsync=function(e,t,n,r){return void 0===r&&(r=1e3),(0,s.default)(l.ALGORITHM.labelPropagation)(e,t,n,r)},t.louvainAsync=function(e,t,n,r){return(0,s.default)(l.ALGORITHM.louvain)(e,t,n,r)},t.minimumSpanningTreeAsync=function(e,t,n){return(0,s.default)(l.ALGORITHM.minimumSpanningTree).apply(void 0,[e,t,n])},t.pageRankAsync=function(e,t,n){return(0,s.default)(l.ALGORITHM.pageRank).apply(void 0,[e,t,n])},t.getNeighborsAsync=function(e,t,n){return(0,s.default)(l.ALGORITHM.getNeighbors).apply(void 0,[e,t,n])},t.GADDIAsync=function(e,t,n,r,i,o,a){return void 0===n&&(n=!1),void 0===o&&(o="cluster"),void 0===a&&(a="cluster"),(0,s.default)(l.ALGORITHM.GADDI).apply(void 0,[e,t,n,r,i,o,a])}},17477:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(36490)),i=n(18983);function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}var o="undefined"!=typeof self?self:{};o.onmessage=function(e){var e=e.data,t=e._algorithmType,e=e.data;t&&("function"!=typeof r[t]?o.postMessage({_algorithmType:i.MESSAGE.FAILURE}):(t=r[t].apply(r,e),o.postMessage({_algorithmType:i.MESSAGE.SUCCESS,data:t})))},t.default=null},60053:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(e)return"function"==typeof e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):"function"==typeof e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0}},72797:function(e,t){"use strict";var n,r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){n||(n=document.createElement("table"),i=document.createElement("tr"),r=/^\s*<(\w+|!)[^>]*>/,i={tr:document.createElement("tbody"),tbody:n,thead:n,tfoot:n,td:i,th:i,"*":document.createElement("div")});var t=r.test(e)&&RegExp.$1,t=(t&&t in i||(t="*"),i[t]),e=(e="string"==typeof e?e.replace(/(^\s*)|(\s*$)/g,""):e,t.innerHTML=""+e,t.childNodes[0]);return e&&t.contains(e)&&t.removeChild(e),e}},1662:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(41599);t.default=function(e,t){t=(0,r.default)(e,"height",t);return"auto"===t&&(t=e.offsetHeight),parseFloat(t)}},59297:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(41599),a=n(1662);t.default=function(e,t){var t=(0,a.default)(e,t),n=parseFloat((0,o.default)(e,"borderTopWidth"))||0,r=parseFloat((0,o.default)(e,"paddingTop"))||0,i=parseFloat((0,o.default)(e,"paddingBottom"))||0;return t+n+(parseFloat((0,o.default)(e,"borderBottomWidth"))||0)+r+i+(parseFloat((0,o.default)(e,"marginTop"))||0)+(parseFloat((0,o.default)(e,"marginBottom"))||0)}},42836:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(41599),l=n(22471);t.default=function(e,t){var t=(0,l.default)(e,t),n=parseFloat((0,s.default)(e,"borderLeftWidth"))||0,r=parseFloat((0,s.default)(e,"paddingLeft"))||0,i=parseFloat((0,s.default)(e,"paddingRight"))||0,o=parseFloat((0,s.default)(e,"borderRightWidth"))||0,a=parseFloat((0,s.default)(e,"marginRight"))||0;return t+n+o+r+i+(parseFloat((0,s.default)(e,"marginLeft"))||0)+a}},16875:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return window.devicePixelRatio||2}},41599:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r;try{r=(window.getComputedStyle?window.getComputedStyle(e,null):e.style)[t]}catch(e){}finally{r=void 0===r?n:r}return r}},22471:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(41599);t.default=function(e,t){t=(0,r.default)(e,"width",t);return"auto"===t&&(t=e.offsetWidth),parseFloat(t)}},39269:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.modifyCSS=t.getWidth=t.getStyle=t.getRatio=t.getOuterWidth=t.getOuterHeight=t.getHeight=t.createDom=t.addEventListener=void 0;var r=n(60053),i=(Object.defineProperty(t,"addEventListener",{enumerable:!0,get:function(){return r.default}}),n(72797)),o=(Object.defineProperty(t,"createDom",{enumerable:!0,get:function(){return i.default}}),n(1662)),a=(Object.defineProperty(t,"getHeight",{enumerable:!0,get:function(){return o.default}}),n(59297)),s=(Object.defineProperty(t,"getOuterHeight",{enumerable:!0,get:function(){return a.default}}),n(42836)),l=(Object.defineProperty(t,"getOuterWidth",{enumerable:!0,get:function(){return s.default}}),n(16875)),u=(Object.defineProperty(t,"getRatio",{enumerable:!0,get:function(){return l.default}}),n(41599)),c=(Object.defineProperty(t,"getStyle",{enumerable:!0,get:function(){return u.default}}),n(22471)),f=(Object.defineProperty(t,"getWidth",{enumerable:!0,get:function(){return c.default}}),n(80777));Object.defineProperty(t,"modifyCSS",{enumerable:!0,get:function(){return f.default}})},80777:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e)for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n]);return e}},73118:function(e,t){"use strict";function n(){this._events={}}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.on=function(e,t,n){return this._events[e]||(this._events[e]=[]),this._events[e].push({callback:t,once:!!n}),this},n.prototype.once=function(e,t){return this.on(e,t,!0)},n.prototype.emit=function(o){for(var a=this,s=[],e=1;e<arguments.length;e++)s[e-1]=arguments[e];function t(e){for(var t,n,r=e.length,i=0;i<r;i++)e[i]&&(n=(t=e[i]).callback,t.once&&(e.splice(i,1),0===e.length&&delete a._events[o],r--,i--),n.apply(a,s))}var n=this._events[o]||[],r=this._events["*"]||[];t(n),t(r)},n.prototype.off=function(e,t){if(e)if(t){for(var n=this._events[e]||[],r=n.length,i=0;i<r;i++)n[i].callback===t&&(n.splice(i,1),r--,i--);0===n.length&&delete this._events[e]}else delete this._events[e];else this._events={};return this},n.prototype.getEvents=function(){return this._events},t.default=n},40647:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(73118),a=n(7693),n=(r=o.default,i.__extends(s,r),s.prototype.getDefaultCfg=function(){return{}},s.prototype.get=function(e){return this.cfg[e]},s.prototype.set=function(e,t){this.cfg[e]=t},s.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},s);function s(e){var t=r.call(this)||this,n=(t.destroyed=!1,t.getDefaultCfg());return t.cfg=a.mix(n,e),t}t.default=n},15741:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(81758),a=n(28377),s=n(7693),l=n(49812),u=n(9246),n=o.detect(),c=n&&"firefox"===n.name,o=(r=a.default,i.__extends(f,r),f.prototype.getDefaultCfg=function(){var e=r.prototype.getDefaultCfg.call(this);return e.cursor="default",e.supportCSSTransform=!1,e},f.prototype.initContainer=function(){var e=this.get("container");s.isString(e)&&(e=document.getElementById(e),this.set("container",e))},f.prototype.initDom=function(){var e=this.createDom();this.set("el",e),this.get("container").appendChild(e),this.setDOMSize(this.get("width"),this.get("height"))},f.prototype.initEvents=function(){var e=new u.default({canvas:this});e.init(),this.set("eventController",e)},f.prototype.initTimeline=function(){var e=new l.default(this);this.set("timeline",e)},f.prototype.setDOMSize=function(e,t){var n=this.get("el");s.isBrowser&&(n.style.width=e+"px",n.style.height=t+"px")},f.prototype.changeSize=function(e,t){this.setDOMSize(e,t),this.set("width",e),this.set("height",t),this.onCanvasChange("changeSize")},f.prototype.getRenderer=function(){return this.get("renderer")},f.prototype.getCursor=function(){return this.get("cursor")},f.prototype.setCursor=function(e){this.set("cursor",e);var t=this.get("el");s.isBrowser&&t&&(t.style.cursor=e)},f.prototype.getPointByEvent=function(e){if(this.get("supportCSSTransform")){if(c&&!s.isNil(e.layerX)&&e.layerX!==e.offsetX)return{x:e.layerX,y:e.layerY};if(!s.isNil(e.offsetX))return{x:e.offsetX,y:e.offsetY}}var e=this.getClientByEvent(e),t=e.x,e=e.y;return this.getPointByClient(t,e)},f.prototype.getClientByEvent=function(e){var t=e;return{x:(t=e.touches?("touchend"===e.type?e.changedTouches:e.touches)[0]:t).clientX,y:t.clientY}},f.prototype.getPointByClient=function(e,t){var n=this.get("el").getBoundingClientRect();return{x:e-n.left,y:t-n.top}},f.prototype.getClientByPoint=function(e,t){var n=this.get("el").getBoundingClientRect();return{x:e+n.left,y:t+n.top}},f.prototype.draw=function(){},f.prototype.removeDom=function(){var e=this.get("el");e.parentNode.removeChild(e)},f.prototype.clearEvents=function(){this.get("eventController").destroy()},f.prototype.isCanvas=function(){return!0},f.prototype.getParent=function(){return null},f.prototype.destroy=function(){var e=this.get("timeline");this.get("destroyed")||(this.clear(),e&&e.stop(),this.clearEvents(),this.removeDom(),r.prototype.destroy.call(this))},f);function f(e){e=r.call(this,e)||this;return e.initContainer(),e.initDom(),e.initEvents(),e.initTimeline(),e}t.default=o},28377:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(87822),l=n(7693),a={},s="_INDEX",n=(r=o.default,i.__extends(u,r),u.prototype.isCanvas=function(){return!1},u.prototype.getBBox=function(){var i=1/0,o=-1/0,a=1/0,s=-1/0,e=this.getChildren().filter(function(e){return e.get("visible")&&(!e.isGroup()||e.isGroup()&&0<e.getChildren().length)});return 0<e.length?l.each(e,function(e){var e=e.getBBox(),t=e.minX,n=e.maxX,r=e.minY,e=e.maxY;t<i&&(i=t),o<n&&(o=n),r<a&&(a=r),s<e&&(s=e)}):s=a=o=i=0,{x:i,y:a,minX:i,minY:a,maxX:o,maxY:s,width:o-i,height:s-a}},u.prototype.getCanvasBBox=function(){var i=1/0,o=-1/0,a=1/0,s=-1/0,e=this.getChildren().filter(function(e){return e.get("visible")&&(!e.isGroup()||e.isGroup()&&0<e.getChildren().length)});return 0<e.length?l.each(e,function(e){var e=e.getCanvasBBox(),t=e.minX,n=e.maxX,r=e.minY,e=e.maxY;t<i&&(i=t),o<n&&(o=n),r<a&&(a=r),s<e&&(s=e)}):s=a=o=i=0,{x:i,y:a,minX:i,minY:a,maxX:o,maxY:s,width:o-i,height:s-a}},u.prototype.getDefaultCfg=function(){var e=r.prototype.getDefaultCfg.call(this);return e.children=[],e},u.prototype.onAttrChange=function(e,t,n){r.prototype.onAttrChange.call(this,e,t,n),"matrix"===e&&(t=this.getTotalMatrix(),this._applyChildrenMarix(t))},u.prototype.applyMatrix=function(e){var t=this.getTotalMatrix(),e=(r.prototype.applyMatrix.call(this,e),this.getTotalMatrix());e!==t&&this._applyChildrenMarix(e)},u.prototype._applyChildrenMarix=function(t){var e=this.getChildren();l.each(e,function(e){e.applyMatrix(t)})},u.prototype.addShape=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0],r=e[1],n=(l.isObject(n)?r=n:r.type=n,a[r.type]),n=(n||(n=l.upperFirst(r.type),a[r.type]=n),new(this.getShapeBase()[n])(r));return this.add(n),n},u.prototype.addGroup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0],r=e[1];return n=l.isFunction(n)?new n(r||{parent:this}):(r=n||{},new(this.getGroupBase())(r)),this.add(n),n},u.prototype.getCanvas=function(){return this.isCanvas()?this:this.get("canvas")},u.prototype.getShape=function(e,t,n){var r,i;return l.isAllowCapture(this)?(i=this.getChildren(),this.isCanvas()?r=this._findShape(i,e,t,n):(e=this.invertFromMatrix(e=[e,t,1]),this.isClipped(e[0],e[1])||(r=this._findShape(i,e[0],e[1],n))),r):null},u.prototype._findShape=function(e,t,n,r){for(var i=null,o=e.length-1;0<=o;o--){var a=e[o];if(l.isAllowCapture(a)&&(a.isGroup()?i=a.getShape(t,n,r):a.isHit(t,n)&&(i=a)),i)break}return i},u.prototype.add=function(e){var t,n,r=this.getCanvas(),i=this.getChildren(),o=this.get("timeline"),a=e.getParent();a&&(a=a,t=e,(n=void 0===(n=!1)?!0:n)?t.destroy():(t.set("parent",null),t.set("canvas",null)),l.removeFromArray(a.getChildren(),t)),e.set("parent",this),r&&function t(e,n){e.set("canvas",n),e.isGroup()&&(e=e.get("children")).length&&e.forEach(function(e){t(e,n)})}(e,r),o&&function t(e,n){e.set("timeline",n),e.isGroup()&&(e=e.get("children")).length&&e.forEach(function(e){t(e,n)})}(e,o),i.push(e),e.onCanvasChange("add"),this._applyElementMatrix(e)},u.prototype._applyElementMatrix=function(e){var t=this.getTotalMatrix();t&&e.applyMatrix(t)},u.prototype.getChildren=function(){return this.get("children")},u.prototype.sort=function(){var r,e=this.getChildren();l.each(e,function(e,t){return e[s]=t,e}),e.sort((r=function(e,t){return e.get("zIndex")-t.get("zIndex")},function(e,t){var n=r(e,t);return 0===n?e[s]-t[s]:n})),this.onCanvasChange("sort")},u.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var e=this.getChildren(),t=e.length-1;0<=t;t--)e[t].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},u.prototype.destroy=function(){this.get("destroyed")||(this.clear(),r.prototype.destroy.call(this))},u.prototype.getFirst=function(){return this.getChildByIndex(0)},u.prototype.getLast=function(){var e=this.getChildren();return this.getChildByIndex(e.length-1)},u.prototype.getChildByIndex=function(e){return this.getChildren()[e]},u.prototype.getCount=function(){return this.getChildren().length},u.prototype.contain=function(e){return-1<this.getChildren().indexOf(e)},u.prototype.removeChild=function(e,t){void 0===t&&(t=!0),this.contain(e)&&e.remove(t)},u.prototype.findAll=function(t){var n=[],e=this.getChildren();return l.each(e,function(e){t(e)&&n.push(e),e.isGroup()&&(n=n.concat(e.findAll(t)))}),n},u.prototype.find=function(t){var n=null,e=this.getChildren();return l.each(e,function(e){if(t(e)?n=e:e.isGroup()&&(n=e.find(t)),n)return!1}),n},u.prototype.findById=function(t){return this.find(function(e){return e.get("id")===t})},u.prototype.findByClassName=function(t){return this.find(function(e){return e.get("className")===t})},u.prototype.findAllByName=function(t){return this.findAll(function(e){return e.get("name")===t})},u);function u(){return null!==r&&r.apply(this,arguments)||this}t.default=n},87822:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),x=n(31834),o=n(43708),s=n(7693),a=n(94561),n=n(40647),l=o.ext.transform,u=["zIndex","capture","visible","type"],w=["repeat"],o=(r=n.default,i.__extends(c,r),c.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},c.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},c.prototype.onCanvasChange=function(e){},c.prototype.initAttrs=function(e){},c.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},c.prototype.isGroup=function(){return!1},c.prototype.getParent=function(){return this.get("parent")},c.prototype.getCanvas=function(){return this.get("canvas")},c.prototype.attr=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0],i=t[1];if(!r)return this.attrs;if(x.isObject(r)){for(var o in r)this.setAttr(o,r[o]);return this.afterAttrsChange(r),this}return 2===t.length?(this.setAttr(r,i),this.afterAttrsChange(((e={})[r]=i,e)),this):this.attrs[r]},c.prototype.isClipped=function(e,t){var n=this.getClip();return n&&!n.isHit(e,t)},c.prototype.setAttr=function(e,t){var n=this.attrs[e];n!==t&&(this.attrs[e]=t,this.onAttrChange(e,t,n))},c.prototype.onAttrChange=function(e,t,n){"matrix"===e&&this.set("totalMatrix",null)},c.prototype.afterAttrsChange=function(e){var t;this.cfg.isClipShape?(t=this.cfg.applyTo)&&t.onCanvasChange("clip"):this.onCanvasChange("attr")},c.prototype.show=function(){return this.set("visible",!0),this.onCanvasChange("show"),this},c.prototype.hide=function(){return this.set("visible",!1),this.onCanvasChange("hide"),this},c.prototype.setZIndex=function(e){this.set("zIndex",e);e=this.getParent();return e&&e.sort(),this},c.prototype.toFront=function(){var e,t=this.getParent();t&&(t=t.getChildren(),this.get("el"),e=t.indexOf(this),t.splice(e,1),t.push(this),this.onCanvasChange("zIndex"))},c.prototype.toBack=function(){var e,t=this.getParent();t&&(t=t.getChildren(),this.get("el"),e=t.indexOf(this),t.splice(e,1),t.unshift(this),this.onCanvasChange("zIndex"))},c.prototype.remove=function(e){void 0===e&&(e=!0);var t=this.getParent();t&&(s.removeFromArray(t.getChildren(),this),t.get("clearing"))||this.onCanvasChange("remove"),e&&this.destroy()},c.prototype.resetMatrix=function(){this.attr("matrix",this.getDefaultMatrix()),this.onCanvasChange("matrix")},c.prototype.getMatrix=function(){return this.attr("matrix")},c.prototype.setMatrix=function(e){this.attr("matrix",e),this.onCanvasChange("matrix")},c.prototype.getTotalMatrix=function(){var e,t,n=this.cfg.totalMatrix;return n||(e=this.attr("matrix"),n=(t=this.cfg.parentMatrix)&&e?a.multiplyMatrix(t,e):e||t,this.set("totalMatrix",n)),n},c.prototype.applyMatrix=function(e){var t=this.attr("matrix"),t=e&&t?a.multiplyMatrix(e,t):t||e;this.set("totalMatrix",t),this.set("parentMatrix",e)},c.prototype.getDefaultMatrix=function(){return null},c.prototype.applyToMatrix=function(e){var t=this.attr("matrix");return t?a.multiplyVec2(t,e):e},c.prototype.invertFromMatrix=function(e){var t=this.attr("matrix");if(t){t=a.invert(t);if(t)return a.multiplyVec2(t,e)}return e},c.prototype.setClip=function(e){var t,n=this.getCanvas(),r=null;return e&&(t=this.getShapeBase()[x.upperFirst(e.type)])&&(r=new t({type:e.type,isClipShape:!0,applyTo:this,attrs:e.attrs,canvas:n})),this.set("clipShape",r),this.onCanvasChange("clip"),r},c.prototype.getClip=function(){return this.cfg.clipShape||null},c.prototype.clone=function(){var t=this,n=this.attrs,r={},i=(x.each(n,function(e,t){x.isArray(n[t])?r[t]=function(e){for(var t=[],n=0;n<e.length;n++)x.isArray(e[n])?t.push([].concat(e[n])):t.push(e[n]);return t}(n[t]):r[t]=n[t]}),new this.constructor({attrs:r}));return x.each(u,function(e){i.set(e,t.get(e))}),i},c.prototype.destroy=function(){this.destroyed||(this.attrs={},r.prototype.destroy.call(this))},c.prototype.isAnimatePaused=function(){return this.get("_pause").isPaused},c.prototype.animate=function(){for(var e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y,m,g,v,b=[],_=0;_<arguments.length;_++)b[_]=arguments[_];(this.get("timeline")||this.get("canvas"))&&(this.set("animating",!0),(e=this.get("timeline"))||(e=this.get("canvas").get("timeline"),this.set("timeline",e)),t=this.get("animations")||[],e.timer||e.initTimer(),c=b[1],a=void 0===(a=b[2])?"easeLinear":a,s=void 0===(s=b[3])?x.noop:s,l=void 0===(l=b[4])?0:l,x.isFunction(m=b[0])?(n=m,m={}):x.isObject(m)&&m.onFrame&&(n=m.onFrame,r=m.repeat),x.isObject(c)?(c=(o=c).duration,a=o.easing||"easeLinear",l=o.delay||0,r=o.repeat||r||!1,s=o.callback||x.noop,i=o.pauseCallback||x.noop,o=o.resumeCallback||x.noop):(x.isNumber(s)&&(l=s,s=null),a=x.isFunction(a)?(s=a,"easeLinear"):a||"easeLinear"),m=m,g={},v=this.attr(),x.each(m,function(e,t){-1!==w.indexOf(t)||x.isEqual(v[t],e)||(g[t]=e)}),u=g,m={fromAttrs:function(e){var t,n={},r=e.attrs;for(t in u)n[t]=r[t];return n}(this),toAttrs:u,duration:c,easing:a,repeat:r,callback:s,pauseCallback:i,resumeCallback:o,delay:l,startTime:e.getTime(),id:x.uniqueId(),onFrame:n,pathFormatted:!1},0<t.length?(c=t,(f=m).onFrame||(h=f.startTime,d=f.delay,p=f.duration,y=Object.prototype.hasOwnProperty,x.each(c,function(n){h+d<n.startTime+n.delay+n.duration&&p>n.delay&&x.each(f.toAttrs,function(e,t){y.call(n.toAttrs,t)&&(delete n.toAttrs[t],delete n.fromAttrs[t])})})),t=c):e.addAnimator(this),t.push(m),this.set("animations",t),this.set("_pause",{isPaused:!1}))},c.prototype.stopAnimate=function(t){var n=this,e=(void 0===t&&(t=!0),this.get("animations"));x.each(e,function(e){t&&(e.onFrame?n.attr(e.onFrame(1)):n.attr(e.toAttrs)),e.callback&&e.callback()}),this.set("animating",!1),this.set("animations",[])},c.prototype.pauseAnimate=function(){var e=this.get("timeline"),t=this.get("animations"),n=e.getTime();return x.each(t,function(e){e._paused=!0,e._pauseTime=n,e.pauseCallback&&e.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},c.prototype.resumeAnimate=function(){var t=this.get("timeline").getTime(),e=this.get("animations"),n=this.get("_pause").pauseTime;return x.each(e,function(e){e.startTime=e.startTime+(t-n),e._paused=!1,e._pauseTime=null,e.resumeCallback&&e.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",e),this},c.prototype.emitDelegation=function(e,n){var r,i=this,o=n.propagationPath;this.getEvents(),"mouseenter"===e?r=n.fromShape:"mouseleave"===e&&(r=n.toShape);for(var a=this,t=0;t<o.length&&"break"!==function(e){var t=o[e],e=t.get("name");if(e){if((t.isGroup()||t.isCanvas&&t.isCanvas())&&r&&s.isParent(t,r))return"break";x.isArray(e)?x.each(e,function(e){i.emitDelegateEvent(t,e,n)}):a.emitDelegateEvent(t,e,n)}}(t);t++);},c.prototype.emitDelegateEvent=function(e,t,n){var r=this.getEvents(),t=t+":"+n.type;(r[t]||r["*"])&&(n.name=t,n.currentTarget=e,n.delegateTarget=this,n.delegateObject=e.get("delegateObject"),this.emit(t,n))},c.prototype.translate=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0);var n=this.getMatrix(),n=l(n,[["t",e,t]]);return this.setMatrix(n),this},c.prototype.move=function(e,t){var n=this.attr("x")||0,r=this.attr("y")||0;return this.translate(e-n,t-r),this},c.prototype.moveTo=function(e,t){return this.move(e,t)},c.prototype.scale=function(e,t){var n=this.getMatrix(),n=l(n,[["s",e,t||e]]);return this.setMatrix(n),this},c.prototype.rotate=function(e){var t=this.getMatrix(),t=l(t,[["r",e]]);return this.setMatrix(t),this},c.prototype.rotateAtStart=function(e){var t=this.attr(),n=t.x,t=t.y,r=this.getMatrix(),r=l(r,[["t",-n,-t],["r",e],["t",n,t]]);return this.setMatrix(r),this},c.prototype.rotateAtPoint=function(e,t,n){var r=this.getMatrix(),r=l(r,[["t",-e,-t],["r",n],["t",e,t]]);return this.setMatrix(r),this},c);function c(e){var t=r.call(this,e)||this,n=(t.attrs={},t.getDefaultAttrs());return x.mix(n,e.attrs),t.attrs=n,t.initAttrs(n),t.initAnimate(),t}t.default=o},33652:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(97582),n=(i=n(28377).default,r.__extends(o,i),o.prototype.isGroup=function(){return!0},o.prototype.isEntityGroup=function(){return!1},o.prototype.clone=function(){for(var e=i.prototype.clone.call(this),t=this.getChildren(),n=0;n<t.length;n++){var r=t[n];e.add(r.clone())}return e},o);function o(){return null!==i&&i.apply(this,arguments)||this}t.default=n},10996:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(87822),u=n(94561),n=(r=o.default,i.__extends(a,r),a.prototype._isInBBox=function(e,t){var n=this.getBBox();return n.minX<=e&&n.maxX>=e&&n.minY<=t&&n.maxY>=t},a.prototype.afterAttrsChange=function(e){r.prototype.afterAttrsChange.call(this,e),this.clearCacheBBox()},a.prototype.getBBox=function(){var e=this.cfg.bbox;return e||(e=this.calculateBBox(),this.set("bbox",e)),e},a.prototype.getCanvasBBox=function(){var e=this.cfg.canvasBBox;return e||(e=this.calculateCanvasBBox(),this.set("canvasBBox",e)),e},a.prototype.applyMatrix=function(e){r.prototype.applyMatrix.call(this,e),this.set("canvasBBox",null)},a.prototype.calculateCanvasBBox=function(){var e,t,n,r=this.getBBox(),i=this.getTotalMatrix(),o=r.minX,a=r.minY,s=r.maxX,l=r.maxY,r=(i&&(t=u.multiplyVec2(i,[r.minX,r.minY]),e=u.multiplyVec2(i,[r.maxX,r.minY]),n=u.multiplyVec2(i,[r.minX,r.maxY]),i=u.multiplyVec2(i,[r.maxX,r.maxY]),o=Math.min(t[0],e[0],n[0],i[0]),s=Math.max(t[0],e[0],n[0],i[0]),a=Math.min(t[1],e[1],n[1],i[1]),l=Math.max(t[1],e[1],n[1],i[1])),this.attrs);return r.shadowColor&&(t=s+(e=void 0===(t=r.shadowBlur)?0:t)+(i=void 0===(n=r.shadowOffsetX)?0:n),n=a-e+(r=void 0===(n=r.shadowOffsetY)?0:n),r=l+e+r,o=Math.min(o,o-e+i),s=Math.max(s,t),a=Math.min(a,n),l=Math.max(l,r)),{x:o,y:a,minX:o,minY:a,maxX:s,maxY:l,width:s-o,height:l-a}},a.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},a.prototype.isClipShape=function(){return this.get("isClipShape")},a.prototype.isInShape=function(e,t){return!1},a.prototype.isOnlyHitBox=function(){return!1},a.prototype.isHit=function(e,t){var n=this.get("startArrowShape"),r=this.get("endArrowShape"),t=(e=this.invertFromMatrix([e,t,1]))[0],e=e[1],i=this._isInBBox(t,e);if(this.isOnlyHitBox())return i;if(i&&!this.isClipped(t,e)){if(this.isInShape(t,e))return!0;if(n&&n.isHit(t,e))return!0;if(r&&r.isHit(t,e))return!0}return!1},a);function a(e){return r.call(this,e)||this}t.default=n},44254:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerEasing=t.getEasing=void 0;var r=n(3301),i={};t.getEasing=function(e){return i[e.toLowerCase()]||r[e]},t.registerEasing=function(e,t){i[e.toLowerCase()]=t}},49812:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var w=n(31834),s=n(42433),A=n(4644),S=n(44254),C=n(74583),O=n(86642),E=[1,0,0,0,1,0,0,0,1];function r(e){this.animators=[],this.current=0,this.timer=null,this.canvas=e}r.prototype.initTimer=function(){var r,i,o,a=this;this.timer=s.timer(function(e){if(a.current=e,0<a.animators.length){for(var t=a.animators.length-1;0<=t;t--)if((r=a.animators[t]).destroyed)a.removeAnimator(t);else{if(!r.isAnimatePaused())for(var n=(i=r.get("animations")).length-1;0<=n;n--)o=i[n],function(e,t,n){var r,i=t.startTime;if(!(n<i+t.delay||t._paused)){var o=t.duration,a=t.easing,a=S.getEasing(a);if(n=n-i-t.delay,t.repeat)r=a(r=n%o/o);else{if(!((r=n/o)<1))return t.onFrame?e.attr(t.onFrame(1)):e.attr(t.toAttrs),1;r=a(r)}if(t.onFrame)i=t.onFrame(r),e.attr(i);else{var s,l,u,n=e,c=t,f=r,h={},d=c.fromAttrs,p=c.toAttrs;if(!n.destroyed){for(l in p)if(!w.isEqual(d[l],p[l]))if("path"===l){var y=p[l],m=d[l];y.length>m.length?(y=C.parsePathString(p[l]),m=C.parsePathString(d[l]),m=C.fillPathByDiff(m,y),m=C.formatPath(m,y),c.fromAttrs.path=m,c.toAttrs.path=y):c.pathFormatted||(y=C.parsePathString(p[l]),m=C.parsePathString(d[l]),m=C.formatPath(m,y),c.fromAttrs.path=m,c.toAttrs.path=y,c.pathFormatted=!0),h[l]=[];for(var g=0;g<y.length;g++){for(var v=y[g],b=m[g],_=[],x=0;x<v.length;x++)w.isNumber(v[x])&&b&&w.isNumber(b[x])?(s=A.interpolate(b[x],v[x]),_.push(s(f))):_.push(v[x]);h[l].push(_)}}else"matrix"===l?(u=A.interpolateArray(d[l]||E,p[l]||E)(f),h[l]=u):O.isColorProp(l)&&O.isGradientColor(p[l])?h[l]=p[l]:w.isFunction(p[l])||(s=A.interpolate(d[l],p[l]),h[l]=s(f));n.attr(h)}}}}(r,o,e)&&(i.splice(n,1),o.callback)&&o.callback();0===i.length&&a.removeAnimator(t)}a.canvas.get("autoDraw")||a.canvas.draw()}})},r.prototype.addAnimator=function(e){this.animators.push(e)},r.prototype.removeAnimator=function(e){this.animators.splice(e,1)},r.prototype.isAnimating=function(){return!!this.animators.length},r.prototype.stop=function(){this.timer&&this.timer.stop()},r.prototype.stopAllAnimations=function(t){void 0===t&&(t=!0),this.animators.forEach(function(e){e.stopAnimate(t)}),this.animators=[],this.canvas.draw()},r.prototype.getTime=function(){return this.current},t.default=r},84840:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var e=e.attr(),t=e.x,n=e.y,e=e.r;return{x:t-e,y:n-e,width:2*e,height:2*e}}},27823:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var e=e.attr(),t=e.x,n=e.y,r=e.rx,e=e.ry;return{x:t-r,y:n-e,width:2*r,height:2*e}}},68246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerBBox=t.getBBoxMethod=void 0;var r=n(37197),t=(Object.defineProperty(t,"registerBBox",{enumerable:!0,get:function(){return r.register}}),Object.defineProperty(t,"getBBoxMethod",{enumerable:!0,get:function(){return r.getMethod}}),n(36491)),i=n(84840),o=n(96812),a=n(43825),s=n(33117),l=n(14465),u=n(85195),n=n(27823);r.register("rect",t.default),r.register("image",t.default),r.register("circle",i.default),r.register("marker",i.default),r.register("polyline",o.default),r.register("polygon",a.default),r.register("text",s.default),r.register("path",l.default),r.register("line",u.default),r.register("ellipse",n.default)},85195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(91815);t.default=function(e){var t=e.attr(),n=t.x1,r=t.y1,i=t.x2,t=t.y2,n={minX:Math.min(n,i),maxX:Math.max(n,i),minY:Math.min(r,t),maxY:Math.max(r,t)};return{x:(n=o.mergeArrowBBox(e,n)).minX,y:n.minY,width:n.maxX-n.minX,height:n.maxY-n.minY}}},14465:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var m=n(28524),i=n(73920),g=n(31834),o=n(91815);function v(e,t){var n=e.prePoint,r=e.currentPoint,e=e.nextPoint,i=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),o=Math.pow(r[0]-e[0],2)+Math.pow(r[1]-e[1],2),n=Math.pow(n[0]-e[0],2)+Math.pow(n[1]-e[1],2),n=Math.acos((i+o-n)/(2*Math.sqrt(i)*Math.sqrt(o)));return!n||0===Math.sin(n)||g.isNumberEqual(n,0)?{xExtra:0,yExtra:0}:(i=Math.abs(Math.atan2(e[1]-r[1],e[0]-r[0])),o=Math.abs(Math.atan2(e[0]-r[0],e[1]-r[1])),i=i>Math.PI/2?Math.PI-i:i,o=o>Math.PI/2?Math.PI-o:o,{xExtra:Math.cos(n/2-i)*(t/2*(1/Math.sin(n/2)))-t/2||0,yExtra:Math.cos(o-n/2)*(t/2*(1/Math.sin(n/2)))-t/2||0})}t.default=function(e){var t=e.attr(),n=t.path,t=t.stroke?t.lineWidth:0,n=function(e,t){for(var n=[],r=[],i=[],o=0;o<e.length;o++){var a=(f=e[o]).currentPoint,s=f.params,l=f.prePoint,u=void 0;switch(f.command){case"Q":u=m.Quad.box(l[0],l[1],s[1],s[2],s[3],s[4]);break;case"C":u=m.Cubic.box(l[0],l[1],s[1],s[2],s[3],s[4],s[5],s[6]);break;case"A":var c=f.arcParams,u=m.Arc.box(c.cx,c.cy,c.rx,c.ry,c.xRotation,c.startAngle,c.endAngle);break;default:n.push(a[0]),r.push(a[1])}u&&(f.box=u,n.push(u.x,u.x+u.width),r.push(u.y,u.y+u.height)),t&&("L"===f.command||"M"===f.command)&&f.prePoint&&f.nextPoint&&i.push(f)}var f,n=n.filter(function(e){return!Number.isNaN(e)&&e!==1/0&&e!==-1/0}),r=r.filter(function(e){return!Number.isNaN(e)&&e!==1/0&&e!==-1/0}),h=g.min(n),d=g.min(r),p=g.max(n),y=g.max(r);if(0!==i.length)for(o=0;o<i.length;o++)(a=(f=i[o]).currentPoint)[0]===h?h-=v(f,t).xExtra:a[0]===p&&(p+=v(f,t).xExtra),a[1]===d?d-=v(f,t).yExtra:a[1]===y&&(y+=v(f,t).yExtra);return{x:h,y:d,width:p-h,height:y-d}}(e.get("segments")||i.path2Segments(n),t),t=n.x,r=n.y,t={minX:t,minY:r,maxX:t+n.width,maxY:r+n.height};return{x:(t=o.mergeArrowBBox(e,t)).minX,y:t.minY,width:t.maxX-t.minX,height:t.maxY-t.minY}}},43825:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(28524);t.default=function(e){for(var t=e.attr().points,n=[],r=[],i=0;i<t.length;i++){var o=t[i];n.push(o[0]),r.push(o[1])}return a.Util.getBBoxByArray(n,r)}},96812:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=n(28524),c=n(91815);t.default=function(e){for(var t=e.attr().points,n=[],r=[],i=0;i<t.length;i++){var o=t[i];n.push(o[0]),r.push(o[1])}var a=u.Util.getBBoxByArray(n,r),s=a.x,l=a.y,s={minX:s,minY:l,maxX:s+a.width,maxY:l+a.height};return{x:(s=c.mergeArrowBBox(e,s)).minX,y:s.minY,width:s.maxX-s.minX,height:s.maxY-s.minY}}},36491:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e=e.attr();return{x:e.x,y:e.y,width:e.width,height:e.height}}},37197:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMethod=t.register=void 0;var n=new Map;t.register=function(e,t){n.set(e,t)},t.getMethod=function(e){return n.get(e)}},33117:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n(10409);t.default=function(e){var t,e=e.attr(),n=e.x,r=e.y,i=e.text,o=e.fontSize,a=e.lineHeight,s=(s=e.font)||l.assembleFont(e),s=l.getTextWidth(i,s),a=s?(t=e.textAlign,e=e.textBaseline,o={x:n,y:r-(i=l.getTextHeight(i,o,a))},t&&("end"===t||"right"===t?o.x-=s:"center"===t&&(o.x-=s/2)),e&&("top"===e?o.y+=i:"middle"===e&&(o.y+=i/2)),{x:o.x,y:o.y,width:s,height:i}):{x:n,y:r,width:0,height:0};return a}},91815:function(e,t){"use strict";function r(e,t){return e&&t?{minX:Math.min(e.minX,t.minX),minY:Math.min(e.minY,t.minY),maxX:Math.max(e.maxX,t.maxX),maxY:Math.max(e.maxY,t.maxY)}:e||t}Object.defineProperty(t,"__esModule",{value:!0}),t.mergeArrowBBox=t.mergeBBox=void 0,t.mergeBBox=r,t.mergeArrowBBox=function(e,t){var n=e.get("startArrowShape"),e=e.get("endArrowShape");return n&&(t=r(t,n.getCanvasBBox())),t=e?r(t,e.getCanvasBBox()):t}},9246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(31899),d=n(7693),r=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function p(e,t,n){n.name=t,n.target=e,n.currentTarget=e,(n.delegateTarget=e).emit(t,n)}function i(e){var n=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(e){var t=e.type;n._triggerEvent(t,e)},this._onDocumentMove=function(e){var t;n.canvas.get("el")!==e.target&&(n.dragging||n.currentShape)&&(t=n._getPointInfo(e),n.dragging)&&n._emitEvent("drag",e,t,n.draggingShape)},this._onDocumentMouseUp=function(e){var t;n.canvas.get("el")!==e.target&&n.dragging&&(t=n._getPointInfo(e),n.draggingShape&&n._emitEvent("drop",e,t,null),n._emitEvent("dragend",e,t,n.draggingShape),n._afterDrag(n.draggingShape,t,e))},this.canvas=e.canvas}i.prototype.init=function(){this._bindEvents()},i.prototype._bindEvents=function(){var t=this,n=this.canvas.get("el");d.each(r,function(e){n.addEventListener(e,t._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},i.prototype._clearEvents=function(){var t=this,n=this.canvas.get("el");d.each(r,function(e){n.removeEventListener(e,t._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},i.prototype._getEventObj=function(e,t,n,r,i,o){e=new a.default(e,t);return e.fromShape=i,e.toShape=o,e.x=n.x,e.y=n.y,e.clientX=n.clientX,e.clientY=n.clientY,e.propagationPath.push(r),e},i.prototype._getShape=function(e,t){return this.canvas.getShape(e.x,e.y,t)},i.prototype._getPointInfo=function(e){var t=this.canvas,n=t.getClientByEvent(e),t=t.getPointByEvent(e);return{x:t.x,y:t.y,clientX:n.x,clientY:n.y}},i.prototype._triggerEvent=function(e,t){var n=this._getPointInfo(t),r=this._getShape(n,t),i=this["_on"+e],o=!1;i?i.call(this,n,r,t):(i=this.currentShape,"mouseenter"===e||"dragenter"===e||"mouseover"===e?(this._emitEvent(e,t,n,null,null,r),r&&this._emitEvent(e,t,n,r,null,r),"mouseenter"===e&&this.draggingShape&&this._emitEvent("dragenter",t,n,null)):"mouseleave"===e||"dragleave"===e||"mouseout"===e?(o=!0,i&&this._emitEvent(e,t,n,i,i,null),this._emitEvent(e,t,n,null,i,null),"mouseleave"===e&&this.draggingShape&&this._emitEvent("dragleave",t,n,null)):this._emitEvent(e,t,n,r,null,null)),o||(this.currentShape=r),r&&!r.get("destroyed")&&((i=this.canvas).get("el").style.cursor=r.attr("cursor")||i.get("cursor"))},i.prototype._onmousedown=function(e,t,n){0===n.button&&(this.mousedownShape=t,this.mousedownPoint=e,this.mousedownTimeStamp=n.timeStamp),this._emitEvent("mousedown",n,e,t,null,null)},i.prototype._emitMouseoverEvents=function(e,t,n,r){var i=this.canvas.get("el");n!==r&&(n&&(this._emitEvent("mouseout",e,t,n,n,r),this._emitEvent("mouseleave",e,t,n,n,r),r&&!r.get("destroyed")||(i.style.cursor=this.canvas.get("cursor"))),r)&&(this._emitEvent("mouseover",e,t,r,n,r),this._emitEvent("mouseenter",e,t,r,n,r))},i.prototype._emitDragoverEvents=function(e,t,n,r,i){r?(r!==n&&(n&&this._emitEvent("dragleave",e,t,n,n,r),this._emitEvent("dragenter",e,t,r,n,r)),i||this._emitEvent("dragover",e,t,r)):n&&this._emitEvent("dragleave",e,t,n,n,r),i&&this._emitEvent("dragover",e,t,r)},i.prototype._afterDrag=function(e,t,n){e&&(e.set("capture",!0),this.draggingShape=null),this.dragging=!1;var r=this._getShape(t,n);r!==e&&this._emitMouseoverEvents(n,t,e,r),this.currentShape=r},i.prototype._onmouseup=function(e,t,n){var r;0===n.button&&(r=this.draggingShape,this.dragging?(r&&this._emitEvent("drop",n,e,t),this._emitEvent("dragend",n,e,r),this._afterDrag(r,e,n)):(this._emitEvent("mouseup",n,e,t),t===this.mousedownShape&&this._emitEvent("click",n,e,t),this.mousedownShape=null,this.mousedownPoint=null))},i.prototype._ondragover=function(e,t,n){n.preventDefault();var r=this.currentShape;this._emitDragoverEvents(n,e,r,t,!0)},i.prototype._onmousemove=function(e,t,n){var r,i,o,a,s=this.canvas,l=this.currentShape,u=this.draggingShape;this.dragging?(u&&this._emitDragoverEvents(n,e,l,t,!1),this._emitEvent("drag",n,e,u)):(a=this.mousedownPoint)&&(r=this.mousedownShape,i=n.timeStamp-this.mousedownTimeStamp,o=a.clientX-e.clientX,a=a.clientY-e.clientY,120<i||40<o*o+a*a)?r&&r.get("draggable")?((u=this.mousedownShape).set("capture",!1),this.draggingShape=u,this.dragging=!0,this._emitEvent("dragstart",n,e,u),this.mousedownShape=null,this.mousedownPoint=null):!r&&s.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,e,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,e,l,t),this._emitEvent("mousemove",n,e,t)):(this._emitMouseoverEvents(n,e,l,t),this._emitEvent("mousemove",n,e,t))},i.prototype._emitEvent=function(e,t,n,r,i,o){var a=this._getEventObj(e,t,n,r,i,o);if(r){p(a.shape=r,e,a);for(var s=r.getParent();s;){s.emitDelegation(e,a);if(!a.propagationStopped){l=void 0;u=void 0;c=void 0;f=void 0;h=void 0;var l=s;var u=e;var c=a;if(c.bubbles){var f=void 0,h=!1;if("mouseenter"===u?(f=c.fromShape,h=!0):"mouseleave"===u&&(h=!0,f=c.toShape),!l.isCanvas()||!h)f&&d.isParent(l,f)?c.bubbles=!1:(c.name=u,c.currentTarget=l,(c.delegateTarget=l).emit(u,c))}}a.propagationPath.push(s),s=s.getParent()}}else p(this.canvas,e,a)},i.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},t.default=i},31899:function(e,t){"use strict";function n(e,t){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=e,this.name=e,this.originalEvent=t,this.timeStamp=t.timeStamp}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},n.prototype.stopPropagation=function(){this.propagationStopped=!0},n.prototype.toString=function(){return"[Event (type="+this.type+")]"},n.prototype.save=function(){},n.prototype.restore=function(){},t.default=n},6992:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.PathUtil=void 0;var r=n(97582),i=n(74583),o=(t.PathUtil=i,r.__exportStar(n(9257),t),r.__exportStar(n(9111),t),n(31899)),a=(Object.defineProperty(t,"Event",{enumerable:!0,get:function(){return o.default}}),n(40647)),s=(Object.defineProperty(t,"Base",{enumerable:!0,get:function(){return a.default}}),n(15741)),l=(Object.defineProperty(t,"AbstractCanvas",{enumerable:!0,get:function(){return s.default}}),n(33652)),u=(Object.defineProperty(t,"AbstractGroup",{enumerable:!0,get:function(){return l.default}}),n(10996)),c=(Object.defineProperty(t,"AbstractShape",{enumerable:!0,get:function(){return u.default}}),n(68246)),f=(Object.defineProperty(t,"getBBoxMethod",{enumerable:!0,get:function(){return c.getBBoxMethod}}),Object.defineProperty(t,"registerBBox",{enumerable:!0,get:function(){return c.registerBBox}}),n(10409)),h=(Object.defineProperty(t,"getTextHeight",{enumerable:!0,get:function(){return f.getTextHeight}}),Object.defineProperty(t,"assembleFont",{enumerable:!0,get:function(){return f.assembleFont}}),n(7693)),d=(Object.defineProperty(t,"isAllowCapture",{enumerable:!0,get:function(){return h.isAllowCapture}}),n(94561)),p=(Object.defineProperty(t,"multiplyVec2",{enumerable:!0,get:function(){return d.multiplyVec2}}),Object.defineProperty(t,"invert",{enumerable:!0,get:function(){return d.invert}}),n(73495)),y=(Object.defineProperty(t,"getOffScreenContext",{enumerable:!0,get:function(){return p.getOffScreenContext}}),n(44254));Object.defineProperty(t,"registerEasing",{enumerable:!0,get:function(){return y.registerEasing}}),t.version="0.5.11"},9111:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9257:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},86642:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGradientColor=t.isColorProp=void 0,t.isColorProp=function(e){return["fill","stroke","fillStyle","strokeStyle"].includes(e)},t.isGradientColor=function(e){return/^[r,R,L,l]{1}[\s]*\(/.test(e)}},94561:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.invert=t.multiplyVec2=t.multiplyMatrix=void 0,t.multiplyMatrix=function(e,t){var n=[],r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],e=e[8],f=t[0],h=t[1],d=t[2],p=t[3],y=t[4],m=t[5],g=t[6],v=t[7],t=t[8];return n[0]=f*r+h*a+d*u,n[1]=f*i+h*s+d*c,n[2]=f*o+h*l+d*e,n[3]=p*r+y*a+m*u,n[4]=p*i+y*s+m*c,n[5]=p*o+y*l+m*e,n[6]=g*r+v*a+t*u,n[7]=g*i+v*s+t*c,n[8]=g*o+v*l+t*e,n},t.multiplyVec2=function(e,t){var n=[],r=t[0],t=t[1];return n[0]=e[0]*r+e[3]*t+e[6],n[1]=e[1]*r+e[4]*t+e[7],n},t.invert=function(e){var t=[],n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],e=e[8],c=e*a-s*u,f=-e*o+s*l,h=u*o-a*l,d=n*c+r*f+i*h;return d?(t[0]=c*(d=1/d),t[1]=(-e*r+i*u)*d,t[2]=(s*r-i*a)*d,t[3]=f*d,t[4]=(e*n-i*l)*d,t[5]=(-s*n+i*o)*d,t[6]=h*d,t[7]=(-u*n+r*l)*d,t[8]=(a*n-r*o)*d,t):null}},73495:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOffScreenContext=void 0;var n=null;t.getOffScreenContext=function(){var e;return n||((e=document.createElement("canvas")).width=1,e.height=1,n=e.getContext("2d")),n}},74583:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rectPath=t.pathToCurve=t.pathToAbsolute=t.parsePathString=t.parsePathArray=t.intersection=t.formatPath=t.fillPathByDiff=t.fillPath=t.catmullRomToBezier=void 0;function v(o){var a,s;return o?h.isArray(o)?o:(a={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},s=[],String(o).replace(r,function(e,t,n){var r=[],i=t.toLowerCase();if(n.replace(l,function(e,t){t&&r.push(+t)}),"m"===i&&2<r.length&&(s.push([t].concat(r.splice(0,2))),i="l",t="m"===t?"l":"L"),"o"===i&&1===r.length&&s.push([t,r[0]]),"r"===i)s.push([t].concat(r));else for(;a[i]<=r.length&&(s.push([t].concat(r.splice(0,a[i]))),a[i]););return o}),s):null}function b(e,t){for(var n=[],r=0,i=e.length;r<i-2*!t;r+=2){var o=[{x:+e[r-2],y:+e[r-1]},{x:+e[r],y:+e[r+1]},{x:+e[r+2],y:+e[r+3]},{x:+e[r+4],y:+e[r+5]}];t?r?i-4===r?o[3]={x:+e[0],y:+e[1]}:i-2===r&&(o[2]={x:+e[0],y:+e[1]},o[3]={x:+e[2],y:+e[3]}):o[0]={x:+e[i-2],y:+e[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+e[r],y:+e[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}function _(e,t,n,r,i){var o,a,s;return null===i&&null===r&&(r=n),e=+e,t=+t,n=+n,r=+r,null!==i?(o=Math.PI/180,a=e+n*Math.cos(-r*o),s=e+n*Math.cos(-i*o),[["M",a,t+n*Math.sin(-r*o)],["A",n,n,0,+(180<i-r),0,s,t+n*Math.sin(-i*o)]]):[["M",e,t],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]]}function x(e){if(!(e=v(e))||!e.length)return[["M",0,0]];var t,n,r=[],i=0,o=0,a=0,s=0,l=0;"M"===e[0][0]&&(a=i=+e[0][1],s=o=+e[0][2],l++,r[0]=["M",i,o]);for(var u=3===e.length&&"M"===e[0][0]&&"R"===e[1][0].toUpperCase()&&"Z"===e[2][0].toUpperCase(),c=void 0,f=void 0,h=l,d=e.length;h<d;h++){if(r.push(c=[]),(t=(f=e[h])[0])!==t.toUpperCase())switch(c[0]=t.toUpperCase(),c[0]){case"A":c[1]=f[1],c[2]=f[2],c[3]=f[3],c[4]=f[4],c[5]=f[5],c[6]=+f[6]+i,c[7]=+f[7]+o;break;case"V":c[1]=+f[1]+o;break;case"H":c[1]=+f[1]+i;break;case"R":for(var p=2,y=(n=[i,o].concat(f.slice(1))).length;p<y;p++)n[p]=+n[p]+i,n[++p]=+n[p]+o;r.pop(),r=r.concat(b(n,u));break;case"O":r.pop(),(n=_(i,o,f[1],f[2])).push(n[0]),r=r.concat(n);break;case"U":r.pop(),r=r.concat(_(i,o,f[1],f[2],f[3])),c=["U"].concat(r[r.length-1].slice(-2));break;case"M":a=+f[1]+i,s=+f[2]+o;break;default:for(p=1,y=f.length;p<y;p++)c[p]=+f[p]+(p%2?i:o)}else if("R"===t)n=[i,o].concat(f.slice(1)),r.pop(),r=r.concat(b(n,u)),c=["R"].concat(f.slice(-2));else if("O"===t)r.pop(),(n=_(i,o,f[1],f[2])).push(n[0]),r=r.concat(n);else if("U"===t)r.pop(),r=r.concat(_(i,o,f[1],f[2],f[3])),c=["U"].concat(r[r.length-1].slice(-2));else for(var m=0,g=f.length;m<g;m++)c[m]=f[m];if("O"!==(t=t.toUpperCase()))switch(c[0]){case"Z":i=+a,o=+s;break;case"H":i=c[1];break;case"V":o=c[1];break;case"M":a=c[c.length-2],s=c[c.length-1];break;default:i=c[c.length-2],o=c[c.length-1]}}return r}function w(e,t,n,r){return[e,t,n,r,n,r]}function A(e,t,n,r,i,o){return[1/3*e+2/3*n,1/3*t+2/3*r,1/3*i+2/3*n,1/3*o+2/3*r,i,o]}function S(e,t){for(var o=x(e),a=t&&x(t),n={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},r={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},i=[],s=[],l="",u="",c=function(e,t,n){var r,i;if(!e)return["C",t.x,t.y,t.x,t.y,t.x,t.y];switch(e[0]in{T:1,Q:1}||(t.qx=t.qy=null),e[0]){case"M":t.X=e[1],t.Y=e[2];break;case"A":e=["C"].concat(function e(t,n,r,i,o,a,s,l,u,c){r===i&&(r+=1);function f(e,t,n){return{x:e*Math.cos(n)-t*Math.sin(n),y:e*Math.sin(n)+t*Math.cos(n)}}var h=120*Math.PI/180,d=Math.PI/180*(+o||0),p=[],y=(c?(x=c[0],w=c[1],b=c[2],_=c[3]):(t=(m=f(t,n,-d)).x,n=m.y,l=(m=f(l,u,-d)).x,u=m.y,t===l&&n===u&&(l+=1,u+=1),1<(y=(m=(t-l)/2)*m/(r*r)+(g=(n-u)/2)*g/(i*i))&&(r*=y=Math.sqrt(y),i*=y),y=r*r,v=i*i,b=(a=(a===s?-1:1)*Math.sqrt(Math.abs((y*v-y*g*g-v*m*m)/(y*g*g+v*m*m))))*r*g/i+(t+l)/2,_=a*-i*m/r+(n+u)/2,x=Math.asin(((n-_)/i).toFixed(9)),w=Math.asin(((u-_)/i).toFixed(9)),x=t<b?Math.PI-x:x,w=l<b?Math.PI-w:w,x<0&&(x=2*Math.PI+x),w<0&&(w=2*Math.PI+w),s&&w<x&&(x-=2*Math.PI),!s&&x<w&&(w-=2*Math.PI)),w-x),m=(Math.abs(y)>h&&(v=w,g=l,a=u,w=x+h*(s&&x<w?1:-1),p=e(l=b+r*Math.cos(w),u=_+i*Math.sin(w),r,i,o,0,s,g,a,[w,v,b,_])),y=w-x,Math.cos(x)),h=Math.sin(x),o=Math.cos(w),s=Math.sin(w),g=Math.tan(y/4),a=4/3*r*g,v=4/3*i*g,b=[t,n],_=[t+a*h,n-v*m],x=[l+a*s,u-v*o],w=[l,u];if(_[0]=2*b[0]-_[0],_[1]=2*b[1]-_[1],c)return[_,x,w].concat(p);for(var A=[],S=0,C=(p=[_,x,w].concat(p).join().split(",")).length;S<C;S++)A[S]=S%2?f(p[S-1],p[S],d).y:f(p[S],p[S+1],d).x;return A}.apply(0,[t.x,t.y].concat(e.slice(1))));break;case"S":i="C"===n||"S"===n?(r=2*t.x-t.bx,2*t.y-t.by):(r=t.x,t.y),e=["C",r,i].concat(e.slice(1));break;case"T":"Q"===n||"T"===n?(t.qx=2*t.x-t.qx,t.qy=2*t.y-t.qy):(t.qx=t.x,t.qy=t.y),e=["C"].concat(A(t.x,t.y,t.qx,t.qy,e[1],e[2]));break;case"Q":t.qx=e[1],t.qy=e[2],e=["C"].concat(A(t.x,t.y,e[1],e[2],e[3],e[4]));break;case"L":e=["C"].concat(w(t.x,t.y,e[1],e[2]));break;case"H":e=["C"].concat(w(t.x,t.y,e[1],t.y));break;case"V":e=["C"].concat(w(t.x,t.y,t.x,e[1]));break;case"Z":e=["C"].concat(w(t.x,t.y,t.X,t.Y))}return e},f=function(e,t){if(7<e[t].length){e[t].shift();for(var n=e[t];n.length;)i[t]="A",a&&(s[t]="A"),e.splice(t++,0,["C"].concat(n.splice(0,6)));e.splice(t,1),d=Math.max(o.length,a&&a.length||0)}},h=function(e,t,n,r,i){e&&t&&"M"===e[i][0]&&"M"!==t[i][0]&&(t.splice(i,0,["M",r.x,r.y]),n.bx=0,n.by=0,n.x=e[i][1],n.y=e[i][2],d=Math.max(o.length,a&&a.length||0))},d=Math.max(o.length,a&&a.length||0),p=0;p<d;p++){"C"!==(l=o[p]?o[p][0]:l)&&(i[p]=l,p)&&(u=i[p-1]),o[p]=c(o[p],n,u),"A"!==i[p]&&"C"===l&&(i[p]="C"),f(o,p),a&&("C"!==(l=a[p]?a[p][0]:l)&&(s[p]=l,p)&&(u=s[p-1]),a[p]=c(a[p],r,u),"A"!==s[p]&&"C"===l&&(s[p]="C"),f(a,p)),h(o,a,n,r,p),h(a,o,r,n,p);var y=o[p],m=a&&a[p],g=y.length,v=a&&m.length;n.x=y[g-2],n.y=y[g-1],n.bx=parseFloat(y[g-4])||n.x,n.by=parseFloat(y[g-3])||n.y,r.bx=a&&(parseFloat(m[v-4])||r.x),r.by=a&&(parseFloat(m[v-3])||r.y),r.x=a&&m[v-2],r.y=a&&m[v-1]}return a?[o,a]:o}function o(e){return e.join(",").replace(i,"$1")}function C(e,t,n,r,i,o,a,s,l){for(var u=(l=1<(l=null===l?1:l)?1:l<0?0:l)/2,c=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,d=0;d<12;d++){var p=u*c[d]+u,y=m(p,e,n,i,a),p=m(p,t,r,o,s);h+=f[d]*Math.sqrt(y*y+p*p)}return u*h}function O(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function E(e,t,n,r,i,o,a,s){return h.isArray(e)||(e=[e,t,n,r,i,o,a,s]),t=function(e,t,n,r,i,o,a,s){for(var l,u,c,f=[],h=[[],[]],d=0;d<2;++d)if(p=0===d?(u=6*e-12*n+6*i,l=-3*e+9*n-9*i+3*a,3*n-3*e):(u=6*t-12*r+6*o,l=-3*t+9*r-9*o+3*s,3*r-3*t),Math.abs(l)<1e-12){if(Math.abs(u)<1e-12)continue;0<(c=-p/u)&&c<1&&f.push(c)}else{var p=u*u-4*p*l,y=Math.sqrt(p);p<0||(0<(p=(-u+y)/(2*l))&&p<1&&f.push(p),0<(p=(-u-y)/(2*l))&&p<1&&f.push(p))}for(var m,g=f.length,v=g;g--;)m=1-(c=f[g]),h[0][g]=m*m*m*e+3*m*m*c*n+3*m*c*c*i+c*c*c*a,h[1][g]=m*m*m*t+3*m*m*c*r+3*m*c*c*o+c*c*c*s;return h[0][v]=e,h[1][v]=t,h[0][v+1]=a,h[1][v+1]=s,h[0].length=h[1].length=v+2,{min:{x:Math.min.apply(0,h[0]),y:Math.min.apply(0,h[1])},max:{x:Math.max.apply(0,h[0]),y:Math.max.apply(0,h[1])}}}.apply(null,e),k(t.min.x,t.min.y,t.max.x-t.min.x,t.max.y-t.min.y)}function M(e,t,n,r,i,o,a,s,l){var u=1-l,c=Math.pow(u,3),f=Math.pow(u,2),h=l*l,d=h*l,p=e+2*l*(n-e)+h*(i-2*n+e),y=t+2*l*(r-t)+h*(o-2*r+t),m=n+2*l*(i-n)+h*(a-2*i+n);return{x:c*e+3*f*l*n+3*u*l*l*i+d*a,y:c*t+3*f*l*r+3*u*l*l*o+d*s,m:{x:p,y:y},n:{x:m,y:h=r+2*l*(o-r)+h*(s-2*o+r)},start:{x:u*e+l*n,y:u*t+l*r},end:{x:u*i+l*a,y:u*o+l*s},alpha:90-180*Math.atan2(p-m,y-h)/Math.PI}}function P(e,t,n){if(r=E(e),i=E(t),r=k(r),i=k(i),!(O(i,r.x,r.y)||O(i,r.x2,r.y)||O(i,r.x,r.y2)||O(i,r.x2,r.y2)||O(r,i.x,i.y)||O(r,i.x2,i.y)||O(r,i.x,i.y2)||O(r,i.x2,i.y2)||(r.x<i.x2&&r.x>i.x||i.x<r.x2&&i.x>r.x)&&(r.y<i.y2&&r.y>i.y||i.y<r.y2&&i.y>r.y)))return n?0:[];for(var r,i,o=~~(C.apply(0,e)/8),a=~~(C.apply(0,t)/8),s=[],l=[],u={},c=n?0:[],f=0;f<1+o;f++){var h=M.apply(0,e.concat(f/o));s.push({x:h.x,y:h.y,t:f/o})}for(f=0;f<1+a;f++)h=M.apply(0,t.concat(f/a)),l.push({x:h.x,y:h.y,t:f/a});for(f=0;f<o;f++)for(var d=0;d<a;d++){var p=s[f],y=s[f+1],m=l[d],g=l[d+1],v=Math.abs(y.x-p.x)<.001?"y":"x",b=Math.abs(g.x-m.x)<.001?"y":"x",_=function(e,t,n,r,i,o,a,s){if(!(Math.max(e,n)<Math.min(i,a)||Math.min(e,n)>Math.max(i,a)||Math.max(t,r)<Math.min(o,s)||Math.min(t,r)>Math.max(o,s))){var l=(e-n)*(o-s)-(t-r)*(i-a);if(l){var u=((e*r-t*n)*(i-a)-(e-n)*(i*s-o*a))/l,l=((e*r-t*n)*(o-s)-(t-r)*(i*s-o*a))/l,c=+u.toFixed(2),f=+l.toFixed(2);if(!(c<+Math.min(e,n).toFixed(2)||c>+Math.max(e,n).toFixed(2)||c<+Math.min(i,a).toFixed(2)||c>+Math.max(i,a).toFixed(2)||f<+Math.min(t,r).toFixed(2)||f>+Math.max(t,r).toFixed(2)||f<+Math.min(o,s).toFixed(2)||f>+Math.max(o,s).toFixed(2)))return{x:u,y:l}}}}(p.x,p.y,y.x,y.y,m.x,m.y,g.x,g.y);_&&u[_.x.toFixed(4)]!==_.y.toFixed(4)&&(u[_.x.toFixed(4)]=_.y.toFixed(4),v=p.t+Math.abs((_[v]-p[v])/(y[v]-p[v]))*(y.t-p.t),y=m.t+Math.abs((_[b]-m[b])/(g[b]-m[b]))*(g.t-m.t),0<=v)&&v<=1&&0<=y&&y<=1&&(n?c+=1:c.push({x:_.x,y:_.y,t1:v,t2:y}))}return c}var h=n(31834),n="\t\n\v\f\r \u2028\u2029",r=new RegExp("([a-z])["+n+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+n+"]*,?["+n+"]*)+)","ig"),l=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+n+"]*,?["+n+"]*","ig"),i=(t.parsePathString=v,t.catmullRomToBezier=b,t.pathToAbsolute=x,t.pathToCurve=S,/,?([a-z]),?/gi),m=(t.parsePathArray=o,function(e,t,n,r,i){return e*(e*(-3*t+9*n-9*r+3*i)+6*t-12*n+6*r)-3*t+3*n}),a=function(e,t,n,r,i){return i?[["M",+e+ +i,t],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:((i=[["M",e,t],["l",n,0],["l",0,r],["l",-n,0],["z"]]).parsePathArray=o,i)},k=(t.rectPath=a,function(e,t,n,r){return null===e&&(e=t=n=r=0),null===t&&(t=e.y,n=e.width,r=e.height,e=e.x),{x:e,y:t,width:n,w:n,height:r,h:r,x2:e+n,y2:t+r,cx:e+n/2,cy:t+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:a(e,t,n,r),vb:[e,t,n,r].join(" ")}});t.intersection=function(e,t){var n,r,i,o,a,s,l,u,c=0,f=t;c=S(e),f=S(f);for(var h=[],d=0,p=c.length;d<p;d++){var y=c[d];if("M"===y[0])n=i=y[1],m=o=y[2];else for(var m="C"===y[0]?(n=(l=[n,m].concat(y.slice(1)))[6],l[7]):(l=[n,m,n,m,i,o,i,o],n=i,o),g=0,v=f.length;g<v;g++){var b=f[g];if("M"===b[0])r=a=b[1],_=s=b[2];else{for(var _="C"===b[0]?(r=(u=[r,_].concat(b.slice(1)))[6],u[7]):(u=[r,_,r,_,a,s,a,s],r=a,s),x=P(l,u,void 0),w=0,A=x.length;w<A;w++)x[w].segment1=d,x[w].segment2=g,x[w].bez1=l,x[w].bez2=u;h=h.concat(x)}}}return h};function u(l,e,u){if(1===u)return[[].concat(l)];var t=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])t=t.concat(function(e,t){var n=[[l[1],l[2]]],r=(t=u||2,[]);"A"===e[0]?(n.push(e[6]),n.push(e[7])):"C"===e[0]?(n.push([e[1],e[2]]),n.push([e[3],e[4]]),n.push([e[5],e[6]])):"S"===e[0]||"Q"===e[0]?(n.push([e[1],e[2]]),n.push([e[3],e[4]])):n.push([e[1],e[2]]);for(var i=n,o=1/t,a=0;a<t-1;a++){var s=function(e,t){var o=[],a=[];return e.length&&function e(t,n){if(1===t.length)o.push(t[0]),a.push(t[0]);else{for(var r=[],i=0;i<t.length-1;i++)0===i&&o.push(t[0]),i===t.length-2&&a.push(t[i+1]),r[i]=[(1-n)*t[i][0]+n*t[i+1][0],(1-n)*t[i][1]+n*t[i+1][1]];e(r,n)}}(e,t),{left:o,right:a.reverse()}}(i,o/(1-o*a));r.push(s.left),i=s.right}return r.push(i),r.map(function(e){var t=[];return 4===e.length&&(t.push("C"),t=t.concat(e[2])),3<=e.length&&(3===e.length&&t.push("Q"),t=t.concat(e[1])),2===e.length&&t.push("L"),t.concat(e[e.length-1])})}(e));else{var n=[].concat(l);"M"===n[0]&&(n[0]="L");for(var r=0;r<=u-1;r++)t.push(n)}return t}t.fillPath=function(r,e){if(1===r.length)return r;var i=r.length-1,t=e.length-1,n=i/t,o=[];if(1===r.length&&"M"===r[0][0]){for(var a=0;a<t-i;a++)r.push(r[0]);return r}for(a=0;a<t;a++){var s=Math.floor(n*a);o[s]=(o[s]||0)+1}var l=o.reduce(function(e,t,n){return n===i?e.concat(r[i]):e.concat(u(r[n],r[n+1],t))},[]);return l.unshift(r[0]),"Z"!==e[t]&&"z"!==e[t]||l.push("Z"),l};function s(e,t,n){for(var r,i=[].concat(e),o=1/(n+1),a=c(t)[0],s=1;s<=n;s++)o*=s,0===(r=Math.floor(e.length*o))?i.unshift([a[0]*o+e[r][0]*(1-o),a[1]*o+e[r][1]*(1-o)]):i.splice(r,0,[a[0]*o+e[r][0]*(1-o),a[1]*o+e[r][1]*(1-o)]);return i}function c(e){var t=[];switch(e[0]){case"M":case"L":t.push([e[1],e[2]]);break;case"A":t.push([e[6],e[7]]);break;case"Q":t.push([e[3],e[4]]),t.push([e[1],e[2]]);break;case"T":t.push([e[1],e[2]]);break;case"C":t.push([e[5],e[6]]),t.push([e[1],e[2]]),t.push([e[3],e[4]]);break;case"S":t.push([e[3],e[4]]),t.push([e[1],e[2]]);break;case"H":case"V":t.push([e[1],e[1]])}return t}t.fillPathByDiff=function(e,t){var n=function(e,t){var n,r=e.length,i=t.length;if(0===r||0===i)return null;for(var o=[],a=0;a<=r;a++)o[a]=[],o[a][0]={min:a};for(var s,l=0;l<=i;l++)o[0][l]={min:l};for(a=1;a<=r;a++)for(n=e[a-1],l=1;l<=i;l++){var u=function(e,n){var r;return e.length===n.length&&(r=!0,h.each(e,function(e,t){if(e!==n[t])return r=!1}),r)}(n,t[l-1])?0:1,c=o[a-1][l].min+1,f=o[a][l-1].min+1,u=o[a-1][l-1].min+u;o[a][l]=(void 0,s=null,(f=f)<(u=u)&&(u=f,s="add"),(f=c)<u&&(u=f,s="del"),{type:s,min:u})}return o}(e,t),r=e.length,i=t.length,o=[],a=1,s=1;if(n[r][i].min!==r){for(var l=1;l<=r;l++){for(var u=n[l][l].min,s=l,c=a;c<=i;c++)n[l][c].min<u&&(u=n[l][c].min,s=c);a=s,n[l][a].type&&o.push({index:l-1,type:n[l][a].type})}for(l=o.length-1;0<=l;l--)a=o[l].index,"add"===o[l].type?e.splice(a,0,[].concat(e[a])):e.splice(a,1)}var f=i-(r=e.length);if(r<i)for(l=0;l<f;l++)"z"===e[r-1][0]||"Z"===e[r-1][0]?e.splice(r-2,0,e[r-2]):e.push(e[r-1]),r+=1;return e},t.formatPath=function(e,t){if(!(e.length<=1))for(var n,r=0;r<t.length;r++)if(e[r][0]!==t[r][0])switch(n=c(e[r]),t[r][0]){case"M":e[r]=["M"].concat(n[0]);break;case"L":e[r]=["L"].concat(n[0]);break;case"A":e[r]=[].concat(t[r]),e[r][6]=n[0][0],e[r][7]=n[0][1];break;case"Q":if(n.length<2){if(!(0<r)){e[r]=t[r];break}n=s(n,e[r-1],1)}e[r]=["Q"].concat(n.reduce(function(e,t){return e.concat(t)},[]));break;case"T":e[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(0<r)){e[r]=t[r];break}n=s(n,e[r-1],2)}e[r]=["C"].concat(n.reduce(function(e,t){return e.concat(t)},[]));break;case"S":if(n.length<2){if(!(0<r)){e[r]=t[r];break}n=s(n,e[r-1],1)}e[r]=["S"].concat(n.reduce(function(e,t){return e.concat(t)},[]));break;default:e[r]=t[r]}return e}},10409:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assembleFont=t.getTextWidth=t.getLineSpaceing=t.getTextHeight=void 0;var i=n(7693),o=n(73495);function a(e,t){return t?t-e:.14*e}t.getTextHeight=function(e,t,n){var r=1;return 1<(r=i.isString(e)?e.split("\n").length:r)?t*r+a(t,n)*(r-1):t},t.getLineSpaceing=a,t.getTextWidth=function(e,t){var n=o.getOffScreenContext(),r=0;return i.isNil(e)||""===e||(n.save(),n.font=t,i.isString(e)&&e.includes("\n")?(t=e.split("\n"),i.each(t,function(e){e=n.measureText(e).width;r<e&&(r=e)})):r=n.measureText(e).width,n.restore()),r},t.assembleFont=function(e){var t=e.fontSize,n=e.fontFamily,r=e.fontWeight;return[e.fontStyle,e.fontVariant,r,t+"px",n].join(" ").trim()}},7693:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAllowCapture=t.isParent=t.isBrowser=t.removeFromArray=void 0,t.removeFromArray=function(e,t){t=e.indexOf(t);-1!==t&&e.splice(t,1)},t.isBrowser="undefined"!=typeof window&&void 0!==window.document;var r=n(31834);Object.defineProperty(t,"isNil",{enumerable:!0,get:function(){return r.isNil}}),Object.defineProperty(t,"isFunction",{enumerable:!0,get:function(){return r.isFunction}}),Object.defineProperty(t,"isString",{enumerable:!0,get:function(){return r.isString}}),Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return r.isObject}}),Object.defineProperty(t,"isArray",{enumerable:!0,get:function(){return r.isArray}}),Object.defineProperty(t,"mix",{enumerable:!0,get:function(){return r.mix}}),Object.defineProperty(t,"each",{enumerable:!0,get:function(){return r.each}}),Object.defineProperty(t,"upperFirst",{enumerable:!0,get:function(){return r.upperFirst}}),t.isParent=function(e,t){if(e.isCanvas())return!0;for(var n=t.getParent(),r=!1;n;){if(n===e){r=!0;break}n=n.getParent()}return r},t.isAllowCapture=function(e){return e.cfg.visible&&e.cfg.capture}},99740:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(97582),i=n(6992),a=n(97193),s=n(83901),l=n(19204),u=n(96342),c=n(61615),n=(o=i.AbstractCanvas,r.__extends(f,o),f.prototype.getDefaultCfg=function(){var e=o.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},f.prototype.onCanvasChange=function(e){"attr"!==e&&"sort"!==e&&"changeSize"!==e||(this.set("refreshElements",[this]),this.draw())},f.prototype.getShapeBase=function(){return s},f.prototype.getGroupBase=function(){return l.default},f.prototype.getPixelRatio=function(){var e=this.get("pixelRatio")||u.getPixelRatio();return 1<=e?Math.ceil(e):1},f.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},f.prototype.createDom=function(){var e=document.createElement("canvas"),t=e.getContext("2d");return this.set("context",t),e},f.prototype.setDOMSize=function(e,t){o.prototype.setDOMSize.call(this,e,t);var n=this.get("context"),r=this.get("el"),i=this.getPixelRatio();r.width=i*e,r.height=i*t,1<i&&n.scale(i,i)},f.prototype.clear=function(){o.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),t=this.get("el");e.clearRect(0,0,t.width,t.height)},f.prototype.getShape=function(e,t){return this.get("quickHit")?a.getShape(this,e,t):o.prototype.getShape.call(this,e,t,null)},f.prototype._getRefreshRegion=function(){var e,t=this.get("refreshElements"),n=this.getViewRange();return t.length&&t[0]===this?e=n:(e=c.getMergedRegion(t))&&(e.minX=Math.floor(e.minX),e.minY=Math.floor(e.minY),e.maxX=Math.ceil(e.maxX),e.maxY=Math.ceil(e.maxY),e.maxY+=1,this.get("clipView"))&&(e=c.mergeView(e,n)),e},f.prototype.refreshElement=function(e){this.get("refreshElements").push(e)},f.prototype._clearFrame=function(){var e=this.get("drawFrame");e&&(u.clearAnimationFrame(e),this.set("drawFrame",null),this.set("refreshElements",[]))},f.prototype.draw=function(){var e=this.get("drawFrame");this.get("autoDraw")&&e||this._startDraw()},f.prototype._drawAll=function(){var e=this.get("context"),t=this.get("el"),n=this.getChildren();e.clearRect(0,0,t.width,t.height),c.applyAttrsToContext(e,this),c.drawChildren(e,n),this.set("refreshElements",[])},f.prototype._drawRegion=function(){var e=this.get("context"),t=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(e.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),e.save(),e.beginPath(),e.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),e.clip(),c.applyAttrsToContext(e,this),c.checkRefresh(this,n,r),c.drawChildren(e,n,r),e.restore()):t.length&&c.clearChanged(t),u.each(t,function(e){e.get("hasChanged")&&e.set("hasChanged",!1)}),this.set("refreshElements",[])},f.prototype._startDraw=function(){var e,t=this;this.get("drawFrame")||(e=u.requestAnimationFrame(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",e))},f.prototype.skipDraw=function(){},f.prototype.removeDom=function(){var e=this.get("el");e.width=0,e.height=0,e.parentNode.removeChild(e)},f);function f(){return null!==o&&o.apply(this,arguments)||this}t.default=n},19204:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(6992),a=n(83901),s=n(61615),l=n(31834),u=n(96342),n=(r=o.AbstractGroup,i.__extends(c,r),c.prototype.onCanvasChange=function(e){s.refreshElement(this,e)},c.prototype.getShapeBase=function(){return a},c.prototype.getGroupBase=function(){return c},c.prototype._applyClip=function(e,t){t&&(e.save(),s.applyAttrsToContext(e,t),t.createPath(e),e.restore(),e.clip(),t._afterDraw())},c.prototype.cacheCanvasBBox=function(){var e,t,n,r,i=this.cfg.children,o=[],a=[],i=(l.each(i,function(e){var t=e.cfg.cacheCanvasBBox;t&&e.cfg.isInView&&(o.push(t.minX,t.maxX),a.push(t.minY,t.maxY))}),null);o.length?(r=l.min(o),n=l.max(o),i={minX:r,minY:e=l.min(a),x:r,y:e,maxX:n,maxY:t=l.max(a),width:n-r,height:t-e},(n=this.cfg.canvas)&&(r=n.getViewRange(),this.set("isInView",u.intersectRect(i,r)))):this.set("isInView",!1),this.set("cacheCanvasBBox",i)},c.prototype.draw=function(e,t){var n=this.cfg.children,r=!t||this.cfg.refresh;n.length&&r&&(e.save(),s.applyAttrsToContext(e,this),this._applyClip(e,this.getClip()),s.drawChildren(e,n,t),e.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},c.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},c);function c(){return null!==r&&r.apply(this,arguments)||this}t.default=n},15873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.Shape=void 0;var r=n(97582),i=n(83901),o=(t.Shape=i,r.__exportStar(n(6992),t),n(99740)),a=(Object.defineProperty(t,"Canvas",{enumerable:!0,get:function(){return o.default}}),n(19204)),s=(Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return a.default}}),n(16518));Object.defineProperty(t,"getArcParams",{enumerable:!0,get:function(){return s.default}}),t.version="0.5.12"},33839:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(6992),a=n(96342),s=n(61615),l=n(6992),u=n(83901),c=n(19204),n=(r=o.AbstractShape,i.__extends(f,r),f.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},f.prototype.getShapeBase=function(){return u},f.prototype.getGroupBase=function(){return c.default},f.prototype.onCanvasChange=function(e){s.refreshElement(this,e)},f.prototype.calculateBBox=function(){var e=this.get("type"),t=this.getHitLineWidth(),e=l.getBBoxMethod(e)(this),n=t/2,r=e.x-n,i=e.y-n,o=e.x+e.width+n,n=e.y+e.height+n;return{x:r,minX:r,y:i,minY:i,width:e.width+t,height:e.height+t,maxX:o,maxY:n}},f.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},f.prototype.isStroke=function(){return!!this.attrs.stroke},f.prototype._applyClip=function(e,t){t&&(e.save(),s.applyAttrsToContext(e,t),t.createPath(e),e.restore(),e.clip(),t._afterDraw())},f.prototype.draw=function(e,t){var n=this.cfg.clipShape;if(t){if(!1===this.cfg.refresh)return void this.set("hasChanged",!1);var r=this.getCanvasBBox();if(!a.intersectRect(t,r))return this.set("hasChanged",!1),void(this.cfg.isInView&&this._afterDraw())}e.save(),s.applyAttrsToContext(e,this),this._applyClip(e,n),this.drawPath(e),e.restore(),this._afterDraw()},f.prototype.getCanvasViewBox=function(){var e=this.cfg.canvas;return e?e.getViewRange():null},f.prototype.cacheCanvasBBox=function(){var e,t=this.getCanvasViewBox();t&&(e=this.getCanvasBBox(),t=a.intersectRect(e,t),this.set("isInView",t),t?this.set("cacheCanvasBBox",e):this.set("cacheCanvasBBox",null))},f.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},f.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},f.prototype.drawPath=function(e){this.createPath(e),this.strokeAndFill(e),this.afterDrawPath(e)},f.prototype.fill=function(e){e.fill()},f.prototype.stroke=function(e){e.stroke()},f.prototype.strokeAndFill=function(e){var t=this.attrs,n=t.lineWidth,r=t.opacity,i=t.strokeOpacity,t=t.fillOpacity;this.isFill()&&(a.isNil(t)||1===t?this.fill(e):(e.globalAlpha=t,this.fill(e),e.globalAlpha=r)),this.isStroke()&&0<n&&(a.isNil(i)||1===i||(e.globalAlpha=i),this.stroke(e)),this.afterDrawPath(e)},f.prototype.createPath=function(e){},f.prototype.afterDrawPath=function(e){},f.prototype.isInShape=function(e,t){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(e,t,n,r,i)},f.prototype.isInStrokeOrPath=function(e,t,n,r,i){return!1},f.prototype.getHitLineWidth=function(){var e;return this.isStroke()?(e=this.attrs).lineWidth+e.lineAppendWidth:0},f);function f(){return null!==r&&r.apply(this,arguments)||this}t.default=n},79725:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(33839),l=n(96342),n=(r=o.default,i.__extends(a,r),a.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,r:0})},a.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.attr(),a=o.x,s=o.y,o=o.r,i=i/2,a=l.distance(a,s,e,t);return r&&n?a<=o+i:r?a<=o:!!n&&o-i<=a&&a<=o+i},a.prototype.createPath=function(e){var t=this.attr(),n=t.x,r=t.y,t=t.r;e.beginPath(),e.arc(n,r,t,0,2*Math.PI,!1),e.closePath()},a);function a(){return null!==r&&r.apply(this,arguments)||this}t.default=n},39961:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582);function u(e,t,n,r){return e/(n*n)+t/(r*r)}i=n(33839).default,r.__extends(o,i),o.prototype.getDefaultAttrs=function(){var e=i.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,rx:0,ry:0})},o.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.attr(),i=i/2,a=o.x,s=o.y,l=o.rx,o=o.ry,e=(e-a)*(e-a),a=(t-s)*(t-s);return r&&n?u(e,a,l+i,o+i)<=1:r?u(e,a,l,o)<=1:!!n&&1<=u(e,a,l-i,o-i)&&u(e,a,l+i,o+i)<=1},o.prototype.createPath=function(e){var t,n,r=this.attr(),i=r.x,o=r.y,a=r.rx,r=r.ry;e.beginPath(),e.ellipse?e.ellipse(i,o,a,r,0,0,2*Math.PI,!1):(t=r<a?a:r,n=r<a?1:a/r,r=r<a?r/a:1,e.save(),e.translate(i,o),e.scale(n,r),e.arc(0,0,t,0,2*Math.PI),e.restore(),e.closePath())};var i,n=o;function o(){return null!==i&&i.apply(this,arguments)||this}t.default=n},19267:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=n(33839),c=n(96342);function f(e){return e instanceof HTMLElement&&c.isString(e.nodeName)&&"CANVAS"===e.nodeName.toUpperCase()}o=i.default,r.__extends(a,o),a.prototype.getDefaultAttrs=function(){var e=o.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{x:0,y:0,width:0,height:0})},a.prototype.initAttrs=function(e){this._setImage(e.img)},a.prototype.isStroke=function(){return!1},a.prototype.isOnlyHitBox=function(){return!0},a.prototype._afterLoading=function(){var e;!0===this.get("toDraw")&&((e=this.get("canvas"))?e.draw():this.createPath(this.get("context")))},a.prototype._setImage=function(e){var t,n=this,r=this.attrs;c.isString(e)?((t=new Image).onload=function(){if(n.destroyed)return!1;n.attr("img",t),n.set("loading",!1),n._afterLoading();var e=n.get("callback");e&&e.call(n)},t.crossOrigin="Anonymous",t.src=e,this.set("loading",!0)):e instanceof Image?(r.width||(r.width=e.width),r.height||(r.height=e.height)):f(e)&&(r.width||(r.width=Number(e.getAttribute("width"))),r.height||(r.height,Number(e.getAttribute("height"))))},a.prototype.onAttrChange=function(e,t,n){o.prototype.onAttrChange.call(this,e,t,n),"img"===e&&this._setImage(t)},a.prototype.createPath=function(e){var t,n,r,i,o,a,s,l,u;this.get("loading")?(this.set("toDraw",!0),this.set("context",e)):(t=(u=this.attr()).x,n=u.y,r=u.width,i=u.height,o=u.sx,a=u.sy,s=u.swidth,l=u.sheight,((u=u.img)instanceof Image||f(u))&&(c.isNil(o)||c.isNil(a)||c.isNil(s)||c.isNil(l)?e.drawImage(u,t,n,r,i):e.drawImage(u,o,a,s,l,t,n,r,i)))};var o,n=a;function a(){return null!==o&&o.apply(this,arguments)||this}t.default=n},83901:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(33839),i=(Object.defineProperty(t,"Base",{enumerable:!0,get:function(){return r.default}}),n(79725)),o=(Object.defineProperty(t,"Circle",{enumerable:!0,get:function(){return i.default}}),n(39961)),a=(Object.defineProperty(t,"Ellipse",{enumerable:!0,get:function(){return o.default}}),n(19267)),s=(Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return a.default}}),n(30763)),l=(Object.defineProperty(t,"Line",{enumerable:!0,get:function(){return s.default}}),n(20904)),u=(Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return l.default}}),n(93091)),c=(Object.defineProperty(t,"Path",{enumerable:!0,get:function(){return u.default}}),n(9356)),f=(Object.defineProperty(t,"Polygon",{enumerable:!0,get:function(){return c.default}}),n(28854)),h=(Object.defineProperty(t,"Polyline",{enumerable:!0,get:function(){return f.default}}),n(33665)),d=(Object.defineProperty(t,"Rect",{enumerable:!0,get:function(){return h.default}}),n(78901));Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return d.default}})},30763:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(28524),a=n(33839),l=n(20187),c=n(57134),n=(r=a.default,i.__extends(s,r),s.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},s.prototype.initAttrs=function(e){this.setArrow()},s.prototype.onAttrChange=function(e,t,n){r.prototype.onAttrChange.call(this,e,t,n),this.setArrow()},s.prototype.setArrow=function(){var e=this.attr(),t=e.x1,n=e.y1,r=e.x2,i=e.y2,o=e.startArrow,a=e.endArrow;o&&c.addStartArrow(this,e,r,i,t,n),a&&c.addEndArrow(this,e,t,n,r,i)},s.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o,a,s;return!(!n||!i)&&(o=(n=this.attr()).x1,a=n.y1,s=n.x2,n=n.y2,l.default(o,a,s,n,i,e,t))},s.prototype.createPath=function(e){var t=this.attr(),n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.startArrow,s=t.endArrow,l={dx:0,dy:0},u={dx:0,dy:0};a&&a.d&&(l=c.getShortenOffset(n,r,i,o,t.startArrow.d)),s&&s.d&&(u=c.getShortenOffset(n,r,i,o,t.endArrow.d)),e.beginPath(),e.moveTo(n+l.dx,r+l.dy),e.lineTo(i-u.dx,o-u.dy)},s.prototype.afterDrawPath=function(e){var t=this.get("startArrowShape"),n=this.get("endArrowShape");t&&t.draw(e),n&&n.draw(e)},s.prototype.getTotalLength=function(){var e=this.attr(),t=e.x1,n=e.y1,r=e.x2,e=e.y2;return o.Line.length(t,n,r,e)},s.prototype.getPoint=function(e){var t=this.attr(),n=t.x1,r=t.y1,i=t.x2,t=t.y2;return o.Line.pointAt(n,r,i,t,e)},s);function s(){return null!==r&&r.apply(this,arguments)||this}t.default=n},20904:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(31834),a=n(73920),s=n(33839),l=n(96342),u=n(61615),n={circle:function(e,t,n){return[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t]]},square:function(e,t,n){return[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]]},diamond:function(e,t,n){return[["M",e-n,t],["L",e,t-n],["L",e+n,t],["L",e,t+n],["Z"]]},triangle:function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]},"triangle-down":function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]}},s=(r=s.default,i.__extends(c,r),c.prototype.initAttrs=function(e){this._resetParamsCache()},c.prototype._resetParamsCache=function(){this.set("paramsCache",{})},c.prototype.onAttrChange=function(e,t,n){r.prototype.onAttrChange.call(this,e,t,n),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},c.prototype.isOnlyHitBox=function(){return!0},c.prototype._getR=function(e){return o.isNil(e.r)?e.radius:e.r},c.prototype._getPath=function(){var e,t,n=this.attr(),r=n.x,i=n.y,o=n.symbol||"circle",n=this._getR(n);if(l.isFunction(o))t=(e=o)(r,i,n),t=a.path2Absolute(t);else{if(!(e=c.Symbols[o]))return console.warn(o+" marker is not supported."),null;t=e(r,i,n)}return t},c.prototype.createPath=function(e){var t=this._getPath(),n=this.get("paramsCache");u.drawPath(this,e,{path:t},n)},c.Symbols=n,c);function c(){return null!==r&&r.apply(this,arguments)||this}t.default=s},93091:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),c=n(28524),f=n(31834),i=n(33839),o=n(73920),a=n(61615),l=n(95474),s=n(96021),u=n(28064),h=n(57134);function d(e,t,n){for(var r=!1,i=0;i<e.length;i++){var o=e[i];if(r=s.default(o,t,n))break}return r}p=i.default,r.__extends(y,p),y.prototype.getDefaultAttrs=function(){var e=p.prototype.getDefaultAttrs.call(this);return r.__assign(r.__assign({},e),{startArrow:!1,endArrow:!1})},y.prototype.initAttrs=function(e){this._setPathArr(e.path),this.setArrow()},y.prototype.onAttrChange=function(e,t,n){p.prototype.onAttrChange.call(this,e,t,n),"path"===e&&this._setPathArr(t),this.setArrow()},y.prototype._setPathArr=function(e){this.attrs.path=o.path2Absolute(e);e=u.default.hasArc(e);this.set("hasArc",e),this.set("paramsCache",{}),this.set("segments",null),this.set("curve",null),this.set("tCache",null),this.set("totalLength",null)},y.prototype.getSegments=function(){var e=this.get("segements");return e||(e=o.path2Segments(this.attr("path")),this.set("segments",e)),e},y.prototype.setArrow=function(){var e,t=this.attr(),n=t.startArrow,r=t.endArrow;n&&(e=this.getStartTangent(),h.addStartArrow(this,t,e[0][0],e[0][1],e[1][0],e[1][1])),r&&(e=this.getEndTangent(),h.addEndArrow(this,t,e[0][0],e[0][1],e[1][0],e[1][1]))},y.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.getSegments(),a=this.get("hasArc"),s=!1;return n&&(n=this.getTotalLength(),s=u.default.isPointInStroke(o,i,e,t,n)),s=!s&&r?a?l.default(this,e,t):(o=this.attr("path"),d((i=u.default.extractPolygons(o)).polygons,e,t)||d(i.polylines,e,t)):s},y.prototype.createPath=function(e){var t=this.attr(),n=this.get("paramsCache");a.drawPath(this,e,t,n)},y.prototype.afterDrawPath=function(e){var t=this.get("startArrowShape"),n=this.get("endArrowShape");t&&t.draw(e),n&&n.draw(e)},y.prototype.getTotalLength=function(){var e=this.get("totalLength");return f.isNil(e)?(this._calculateCurve(),this._setTcache(),this.get("totalLength")):e},y.prototype.getPoint=function(n){var r,i,e=this.get("tCache"),t=(e||(this._calculateCurve(),this._setTcache(),e=this.get("tCache")),this.get("curve"));if(!e||0===e.length)return t?{x:t[0][1],y:t[0][2]}:null;f.each(e,function(e,t){n>=e[0]&&n<=e[1]&&(r=(n-e[0])/(e[1]-e[0]),i=t)});var o,e=t[i];return f.isNil(e)||f.isNil(i)?null:(o=e.length,t=t[i+1],c.Cubic.pointAt(e[o-2],e[o-1],t[1],t[2],t[3],t[4],t[5],t[6],r))},y.prototype._calculateCurve=function(){var e=this.attr().path;this.set("curve",u.default.pathToCurve(e))},y.prototype._setTcache=function(){var n,r,i,o,a=0,s=0,l=[],u=this.get("curve");u&&(f.each(u,function(e,t){i=u[t+1],o=e.length,i&&(a+=c.Cubic.length(e[o-2],e[o-1],i[1],i[2],i[3],i[4],i[5],i[6])||0)}),this.set("totalLength",a),0!==a?(f.each(u,function(e,t){i=u[t+1],o=e.length,i&&((n=[])[0]=s/a,r=c.Cubic.length(e[o-2],e[o-1],i[1],i[2],i[3],i[4],i[5],i[6]),s+=r||0,n[1]=s/a,l.push(n))}),this.set("tCache",l)):this.set("tCache",[]))},y.prototype.getStartTangent=function(){var e,t,n,r=this.getSegments();return 1<r.length&&(e=r[0].currentPoint,t=r[1].currentPoint,n=[],(r=r[1].startTangent)?n.push([e[0]-r[0],e[1]-r[1]]):n.push([t[0],t[1]]),n.push([e[0],e[1]])),n},y.prototype.getEndTangent=function(){var e,t,n,r=this.getSegments(),i=r.length;return 1<i&&(e=r[i-2].currentPoint,t=r[i-1].currentPoint,n=[],(r=r[i-1].endTangent)?n.push([t[0]-r[0],t[1]-r[1]]):n.push([e[0],e[1]]),n.push([t[0],t[1]])),n};var p,n=y;function y(){return null!==p&&p.apply(this,arguments)||this}t.default=n},9356:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(33839),s=n(99534),l=n(96021),n=(r=o.default,i.__extends(a,r),a.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o=this.attr().points,a=!1;return a=!(a=n?s.default(o,i,e,t,!0):a)&&r?l.default(o,e,t):a},a.prototype.createPath=function(e){var t=this.attr().points;if(!(t.length<2)){e.beginPath();for(var n=0;n<t.length;n++){var r=t[n];0===n?e.moveTo(r[0],r[1]):e.lineTo(r[0],r[1])}e.closePath()}},a);function a(){return null!==r&&r.apply(this,arguments)||this}t.default=n},28854:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),l=n(28524),o=n(28524),u=n(31834),a=n(33839),s=n(99534),h=n(57134),n=(r=a.default,i.__extends(c,r),c.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{startArrow:!1,endArrow:!1})},c.prototype.initAttrs=function(e){this.setArrow()},c.prototype.onAttrChange=function(e,t,n){r.prototype.onAttrChange.call(this,e,t,n),this.setArrow(),-1!==["points"].indexOf(e)&&this._resetCache()},c.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},c.prototype.setArrow=function(){var e=this.attr(),t=this.attrs,n=t.points,r=t.startArrow,t=t.endArrow,i=n.length,o=n[0][0],a=n[0][1],s=n[i-1][0],l=n[i-1][1];r&&h.addStartArrow(this,e,n[1][0],n[1][1],o,a),t&&h.addEndArrow(this,e,n[i-2][0],n[i-2][1],s,l)},c.prototype.isFill=function(){return!1},c.prototype.isInStrokeOrPath=function(e,t,n,r,i){return!(!n||!i)&&(n=this.attr().points,s.default(n,i,e,t,!1))},c.prototype.isStroke=function(){return!0},c.prototype.createPath=function(e){var t=this.attr(),n=t.points,r=t.startArrow,t=t.endArrow,i=n.length;if(!(n.length<2)){var o,a=n[0][0],s=n[0][1],l=n[i-1][0],u=n[i-1][1];r&&r.d&&(a+=(o=h.getShortenOffset(a,s,n[1][0],n[1][1],r.d)).dx,s+=o.dy),t&&t.d&&(l-=(o=h.getShortenOffset(n[i-2][0],n[i-2][1],l,u,t.d)).dx,u-=o.dy),e.beginPath(),e.moveTo(a,s);for(var c=0;c<i-1;c++){var f=n[c];e.lineTo(f[0],f[1])}e.lineTo(l,u)}},c.prototype.afterDrawPath=function(e){var t=this.get("startArrowShape"),n=this.get("endArrowShape");t&&t.draw(e),n&&n.draw(e)},c.prototype.getTotalLength=function(){var e=this.attr().points,t=this.get("totalLength");return u.isNil(t)?(this.set("totalLength",o.Polyline.length(e)),this.get("totalLength")):t},c.prototype.getPoint=function(n){var r,i,e=this.attr().points,t=this.get("tCache");return t||(this._setTcache(),t=this.get("tCache")),u.each(t,function(e,t){n>=e[0]&&n<=e[1]&&(r=(n-e[0])/(e[1]-e[0]),i=t)}),l.Line.pointAt(e[i][0],e[i][1],e[i+1][0],e[i+1][1],r)},c.prototype._setTcache=function(){var n,r,i,o,a,s=this.attr().points;!s||0===s.length||(n=this.getTotalLength())<=0||(o=0,a=[],u.each(s,function(e,t){s[t+1]&&((r=[])[0]=o/n,i=l.Line.length(e[0],e[1],s[t+1][0],s[t+1][1]),o+=i,r[1]=o/n,a.push(r))}),this.set("tCache",a))},c.prototype.getStartTangent=function(){var e=this.attr().points,t=[];return t.push([e[1][0],e[1][1]]),t.push([e[0][0],e[0][1]]),t},c.prototype.getEndTangent=function(){var e=this.attr().points,t=e.length-1,n=[];return n.push([e[t-1][0],e[t-1][1]]),n.push([e[t][0],e[t][1]]),n},c);function c(){return null!==r&&r.apply(this,arguments)||this}t.default=n},33665:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(33839),u=n(23645),f=n(96342),h=n(56270),d=n(73742),p=n(95474),n=(r=o.default,i.__extends(a,r),a.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},a.prototype.isInStrokeOrPath=function(e,t,n,r,i){var o,a=this.attr(),s=a.x,l=a.y,u=a.width,c=a.height,a=a.radius;return a?(o=!1,!(o=n?d.default(s,l,u,c,a,i,e,t):o)&&r?p.default(this,e,t):o):(a=i/2,r&&n?f.inBox(s-a,l-a,u+a,c+a,e,t):r?f.inBox(s,l,u,c,e,t):n?h.default(s,l,u,c,i,e,t):void 0)},a.prototype.createPath=function(e){var t,n,r,i=this.attr(),o=i.x,a=i.y,s=i.width,l=i.height,i=i.radius;e.beginPath(),0===i?e.rect(o,a,s,l):(t=(i=u.parseRadius(i))[0],n=i[1],r=i[2],i=i[3],e.moveTo(o+t,a),e.lineTo(o+s-n,a),0!==n&&e.arc(o+s-n,a+n,n,-Math.PI/2,0),e.lineTo(o+s,a+l-r),0!==r&&e.arc(o+s-r,a+l-r,r,0,Math.PI/2),e.lineTo(o+i,a+l),0!==i&&e.arc(o+i,a+l-i,i,Math.PI/2,Math.PI),e.lineTo(o,a+t),0!==t&&e.arc(o+t,a+t,t,Math.PI,1.5*Math.PI),e.closePath())},a);function a(){return null!==r&&r.apply(this,arguments)||this}t.default=n},78901:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(33839),f=n(96342),h=n(6992),n=(r=o.default,i.__extends(a,r),a.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},a.prototype.isOnlyHitBox=function(){return!0},a.prototype.initAttrs=function(e){this._assembleFont(),e.text&&this._setText(e.text)},a.prototype._assembleFont=function(){var e=this.attrs;e.font=h.assembleFont(e)},a.prototype._setText=function(e){var t=null;f.isString(e)&&-1!==e.indexOf("\n")&&(t=e.split("\n")),this.set("textArr",t)},a.prototype.onAttrChange=function(e,t,n){r.prototype.onAttrChange.call(this,e,t,n),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(t)},a.prototype._getSpaceingY=function(){var e=this.attrs,t=e.lineHeight,e=+e.fontSize;return t?t-e:.14*e},a.prototype._drawTextArr=function(n,e,r){var i,t=this.attrs,o=t.textBaseline,a=t.x,s=t.y,l=+t.fontSize,u=this._getSpaceingY(),c=h.getTextHeight(t.text,t.fontSize,t.lineHeight);f.each(e,function(e,t){i=s+t*(u+l)-c+l,"middle"===o&&(i+=c-l-(c-l)/2),"top"===o&&(i+=c-l),f.isNil(e)||(r?n.fillText(e,a,i):n.strokeText(e,a,i))})},a.prototype._drawText=function(e,t){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");o?this._drawTextArr(e,o,t):(o=n.text,f.isNil(o)||(t?e.fillText(o,r,i):e.strokeText(o,r,i)))},a.prototype.strokeAndFill=function(e){var t=this.attrs,n=t.lineWidth,r=t.opacity,i=t.strokeOpacity,t=t.fillOpacity;this.isStroke()&&0<n&&(f.isNil(i)||1===i||(e.globalAlpha=r),this.stroke(e)),this.isFill()&&(f.isNil(t)||1===t?this.fill(e):(e.globalAlpha=t,this.fill(e),e.globalAlpha=r)),this.afterDrawPath(e)},a.prototype.fill=function(e){this._drawText(e,!0)},a.prototype.stroke=function(e){this._drawText(e,!1)},a);function a(){return null!==r&&r.apply(this,arguments)||this}t.default=n},16518:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var y=n(96342);function r(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function m(e,t){return r(e)*r(t)?(e[0]*t[0]+e[1]*t[1])/(r(e)*r(t)):1}function g(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(m(e,t))}t.default=function(e,t){var n=t[1],r=t[2],i=y.mod(y.toRadian(t[3]),2*Math.PI),o=t[4],a=t[5],s=e[0],l=e[1],u=t[6],t=t[7],c=Math.cos(i)*(s-u)/2+Math.sin(i)*(l-t)/2,f=-1*Math.sin(i)*(s-u)/2+Math.cos(i)*(l-t)/2,h=c*c/(n*n)+f*f/(r*r),h=(1<h&&(n*=Math.sqrt(h),r*=Math.sqrt(h)),n*n*(f*f)+r*r*(c*c)),h=h?Math.sqrt((n*n*(r*r)-h)/h):1,d=(o===a&&(h*=-1),isNaN(h)&&(h=0),r?h*n*f/r:0),h=n?h*-r*c/n:0,s=(s+u)/2+Math.cos(i)*d-Math.sin(i)*h,l=(l+t)/2+Math.sin(i)*d+Math.cos(i)*h,p=[(c-d)/n,(f-h)/r],c=[(-1*c-d)/n,(-1*f-h)/r],d=g([1,0],p),f=g(p,c);return m(p,c)<=-1&&(f=Math.PI),1<=m(p,c)&&(f=0),0===a&&0<f&&(f-=2*Math.PI),1===a&&f<0&&(f+=2*Math.PI),{cx:s,cy:l,rx:y.isSamePoint(e,[u,t])?0:n,ry:y.isSamePoint(e,[u,t])?0:r,startAngle:d,endAngle:d+f,xRotation:i,arcFlag:o,sweepFlag:a}}},57134:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.addEndArrow=t.addStartArrow=t.getShortenOffset=void 0;var d=n(97582),p=n(83901),y=Math.sin,m=Math.cos,g=Math.atan2,l=Math.PI;function s(e,t,n,r,i,o,a){var s=t.stroke,t=t.lineWidth,r=g(r-o,n-i),n=new p.Path({type:"path",canvas:e.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*m(l/6)+","+10*y(l/6)+" L0,0 L"+10*m(l/6)+",-"+10*y(l/6),stroke:s,lineWidth:t}});n.translate(i,o),n.rotateAtPoint(i,o,r),e.set(a?"startArrowShape":"endArrowShape",n)}function u(e,t,n,r,i,o,a){var s=t.startArrow,l=t.endArrow,u=t.stroke,t=t.lineWidth,s=a?s:l,l=s.d,c=s.fill,f=s.stroke,h=s.lineWidth,s=d.__rest(s,["d","fill","stroke","lineWidth"]),r=g(r-o,n-i),n=(l&&(i-=m(r)*l,o-=y(r)*l),new p.Path({type:"path",canvas:e.get("canvas"),isArrowShape:!0,attrs:d.__assign(d.__assign({},s),{stroke:f||u,lineWidth:h||t,fill:c})}));n.translate(i,o),n.rotateAtPoint(i,o,r),e.set(a?"startArrowShape":"endArrowShape",n)}t.getShortenOffset=function(e,t,n,r,i){r=g(r-t,n-e);return{dx:m(r)*i,dy:y(r)*i}},t.addStartArrow=function(e,t,n,r,i,o){"object"===a(t.startArrow)?u(e,t,n,r,i,o,!0):t.startArrow?s(e,t,n,r,i,o,!0):e.set("startArrowShape",null)},t.addEndArrow=function(e,t,n,r,i,o){"object"===a(t.endArrow)?u(e,t,n,r,i,o,!1):t.endArrow?s(e,t,n,r,i,o,!1):e.set("startArrowShape",null)}},61615:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeView=t.getMergedRegion=t.getRefreshRegion=t.refreshElement=t.drawPath=t.clearChanged=t.checkChildrenRefresh=t.checkRefresh=t.drawChildren=t.applyAttrsToContext=void 0;var a=n(31834),s=n(23645),O=n(16518),l=n(96342),E=n(57134),u={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function c(e,t){for(var n,r=0;r<e.length;r++){var i,o=e[r];o.cfg.visible&&(o.cfg.hasChanged?(o.cfg.refresh=!0,o.isGroup()&&f(o.cfg.children,t)):o.cfg.refresh?o.isGroup()&&c(o.cfg.children,t):(n=t,i=void 0,i=o.cfg.cacheCanvasBBox,i=o.cfg.isInView&&i&&l.intersectRect(i,n),(o.cfg.refresh=i)&&o.isGroup()&&c(o.cfg.children,t)))}}function f(e,t){for(var n=0;n<e.length;n++){var r=e[n];r.cfg.visible&&(r.cfg.refresh=!0,r.isGroup())&&f(r.get("children"),t)}}function o(e){var t,n,r,i;return e.destroyed?t=e._cacheCanvasBBox:(r=(n=e.get("cacheCanvasBBox"))&&!(!n.width||!n.height),i=(e=e.getCanvasBBox())&&!(!e.width||!e.height),r&&i?t=l.mergeRegion(n,e):r?t=n:i&&(t=e)),t}t.applyAttrsToContext=function(e,t){var n,r=t.attr();for(n in r){var i=r[n],o=u[n]||n;"matrix"===o&&i?e.transform(i[0],i[1],i[3],i[4],i[6],i[7]):"lineDash"===o&&e.setLineDash?a.isArray(i)&&e.setLineDash(i):("strokeStyle"===o||"fillStyle"===o?i=s.parseStyle(e,t,i):"globalAlpha"===o&&(i*=e.globalAlpha),e[o]=i)}},t.drawChildren=function(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];i.cfg.visible?i.draw(e,n):i.skipDraw()}},t.checkRefresh=function(n,e,t){var r=n.get("refreshElements");a.each(r,function(e){if(e!==n)for(var t=e.cfg.parent;t&&t!==n&&!t.cfg.refresh;)t.cfg.refresh=!0,t=t.cfg.parent}),(r[0]===n?f:c)(e,t)},t.checkChildrenRefresh=c,t.clearChanged=function e(t){for(var n=0;n<t.length;n++){var r=t[n];r.cfg.hasChanged=!1,r.isGroup()&&!r.destroyed&&e(r.cfg.children)}},t.drawPath=function(e,t,n,r){var i=n.path,o=n.startArrow,a=n.endArrow;if(i){var s=[0,0],l=[0,0],u={dx:0,dy:0};t.beginPath();for(var c=0;c<i.length;c++){var f,h=i[c],d=h[0],p=(0===c&&o&&o.d?(f=e.getStartTangent(),u=E.getShortenOffset(f[0][0],f[0][1],f[1][0],f[1][1],o.d)):c===i.length-2&&"Z"===i[c+1][0]&&a&&a.d?"Z"===i[c+1][0]&&(f=e.getEndTangent(),u=E.getShortenOffset(f[0][0],f[0][1],f[1][0],f[1][1],a.d)):c===i.length-1&&a&&a.d&&"Z"!==i[0]&&(f=e.getEndTangent(),u=E.getShortenOffset(f[0][0],f[0][1],f[1][0],f[1][1],a.d)),u.dx),y=u.dy;switch(d){case"M":t.moveTo(h[1]-p,h[2]-y),l=[h[1],h[2]];break;case"L":t.lineTo(h[1]-p,h[2]-y);break;case"Q":t.quadraticCurveTo(h[1],h[2],h[3]-p,h[4]-y);break;case"C":t.bezierCurveTo(h[1],h[2],h[3],h[4],h[5]-p,h[6]-y);break;case"A":var m,g,v=void 0,b=(r?(v=r[c])||(v=O.default(s,h),r[c]=v):v=O.default(s,h),v.cx),_=v.cy,x=v.rx,w=v.ry,A=v.startAngle,S=v.endAngle,C=v.xRotation,v=v.sweepFlag;t.ellipse?t.ellipse(b,_,x,w,C,A,S,1-v):(m=w<x?x:w,g=w<x?1:x/w,w=w<x?w/x:1,t.translate(b,_),t.rotate(C),t.scale(g,w),t.arc(0,0,m,A,S,1-v),t.scale(1/g,1/w),t.rotate(-C),t.translate(-b,-_));break;case"Z":t.closePath()}s="Z"===d?l:[h[(d=h.length)-2],h[d-1]]}}},t.refreshElement=function(e,t){var n=e.get("canvas");n&&("remove"===t&&(e._cacheCanvasBBox=e.get("cacheCanvasBBox")),e.get("hasChanged")||(e.set("hasChanged",!0),e.cfg.parent&&e.cfg.parent.get("hasChanged"))||(n.refreshElement(e,t,n),n.get("autoDraw")&&n.draw()))},t.getRefreshRegion=o,t.getMergedRegion=function(e){var t,n,r,i;return e.length?(t=[],n=[],r=[],i=[],a.each(e,function(e){e=o(e);e&&(t.push(e.minX),n.push(e.minY),r.push(e.maxX),i.push(e.maxY))}),{minX:a.min(t),minY:a.min(n),maxX:a.max(r),maxY:a.max(i)}):null},t.mergeView=function(e,t){return e&&t&&l.intersectRect(e,t)?{minX:Math.max(e.minX,t.minX),minY:Math.max(e.minY,t.minY),maxX:Math.min(e.maxX,t.maxX),maxY:Math.min(e.maxY,t.maxY)}:null}},97193:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getShape=void 0;var o=n(6992);function f(e,t,n){var r,e=e.getTotalMatrix();return e?(r=[t,n,1],[(e=e?(e=o.invert(e),o.multiplyVec2(e,r)):r)[0],e[1]]):[t,n]}function h(e,t,n){if(e.isCanvas&&e.isCanvas())return 1;if(o.isAllowCapture(e)&&!1!==e.cfg.isInView){if(e.cfg.clipShape){var r=f(e,t,n),i=r[0],r=r[1];if(e.isClipped(i,r))return}i=e.cfg.cacheCanvasBBox||e.getCanvasBBox();return t>=i.minX&&t<=i.maxX&&n>=i.minY&&n<=i.maxY}}t.getShape=function e(t,n,r){if(!h(t,n,r))return null;for(var i=null,o=t.getChildren(),a=o.length-1;0<=a;a--){var s,l,u,c=o[a];if(c.isGroup()?i=e(c,n,r):h(c,n,r)&&(l=(u=f(s=c,n,r))[0],u=u[1],s.isInShape(l,u))&&(i=c),i)break}return i}},95474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6992);t.default=function(e,t,n){var r=i.getOffScreenContext();return e.createPath(r),r.isPointInPath(t,n)}},96021:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function f(e){return Math.abs(e)<1e-6?0:e<0?-1:1}t.default=function(e,t,n){var r=!1,i=e.length;if(i<=2)return!1;for(var o,a,s,l=0;l<i;l++){var u=e[l],c=e[(l+1)%i];if(a=c,((s=[t,n])[0]-(o=u)[0])*(a[1]-o[1])==(a[0]-o[0])*(s[1]-o[1])&&Math.min(o[0],a[0])<=s[0]&&s[0]<=Math.max(o[0],a[0])&&Math.min(o[1],a[1])<=s[1]&&s[1]<=Math.max(o[1],a[1]))return!0;0<f(u[1]-n)!=0<f(c[1]-n)&&f(t-(n-u[1])*(u[0]-c[0])/(u[1]-c[1])-u[0])<0&&(r=!r)}return r}},30859:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=n(96342);t.default=function(e,t,n,r,i,o,a,s){var l=(Math.atan2(s-t,a-e)+2*Math.PI)%(2*Math.PI);return!(l<r||i<l)&&(r={x:e+n*Math.cos(l),y:t+n*Math.sin(l)},u.distance(r.x,r.y,a,s)<=o/2)}},20187:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=n(28524);t.default=function(e,t,n,r,i,o,a){var s=Math.min(e,n),l=Math.max(e,n),u=Math.min(t,r),c=Math.max(t,r),f=i/2;return s-f<=o&&o<=l+f&&u-f<=a&&a<=c+f&&h.Line.pointToLine(e,t,n,r,o,a)<=i/2}},99534:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=n(20187);t.default=function(e,t,n,r,i){var o=e.length;if(!(o<2)){for(var a=0;a<o-1;a++){var s=e[a][0],l=e[a][1],u=e[a+1][0],c=e[a+1][1];if(h.default(s,l,u,c,t,n,r))return!0}if(i){var i=e[0],f=e[o-1];if(h.default(i[0],i[1],f[0],f[1],t,n,r))return!0}}return!1}},73742:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n(20187),u=n(30859);t.default=function(e,t,n,r,i,o,a,s){return l.default(e+i,t,e+n-i,t,o,a,s)||l.default(e+n,t+i,e+n,t+r-i,o,a,s)||l.default(e+n-i,t+r,e+i,t+r,o,a,s)||l.default(e,t+r-i,e,t+i,o,a,s)||u.default(e+n-i,t+i,i,1.5*Math.PI,2*Math.PI,o,a,s)||u.default(e+n-i,t+r-i,i,0,.5*Math.PI,o,a,s)||u.default(e+i,t+r-i,i,.5*Math.PI,Math.PI,o,a,s)||u.default(e+i,t+i,i,Math.PI,1.5*Math.PI,o,a,s)}},56270:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n(96342);t.default=function(e,t,n,r,i,o,a){var s=i/2;return l.inBox(e-s,t-s,n,i,o,a)||l.inBox(e+n-s,t-s,i,r,o,a)||l.inBox(e+s,t+r-s,n,i,o,a)||l.inBox(e-s,t+s,i,r,o,a)}},23645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRadius=t.parseStyle=t.parsePattern=t.parseRadialGradient=t.parseLineGradient=void 0;var o=n(96342),s=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,u=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,l=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,c=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function f(e,t){e=e.match(c);o.each(e,function(e){e=e.split(":");t.addColorStop(e[0],e[1])})}function i(e,t,n){var r,n=s.exec(n),i=parseFloat(n[1])%360*(Math.PI/180),n=n[2],t=t.getBBox(),t=0<=i&&i<.5*Math.PI?(r={x:t.minX,y:t.minY},{x:t.maxX,y:t.maxY}):.5*Math.PI<=i&&i<Math.PI?(r={x:t.maxX,y:t.minY},{x:t.minX,y:t.maxY}):Math.PI<=i&&i<1.5*Math.PI?(r={x:t.maxX,y:t.maxY},{x:t.minX,y:t.minY}):(r={x:t.minX,y:t.maxY},{x:t.maxX,y:t.minY}),i=Math.tan(i),o=i*i,a=(t.x-r.x+i*(t.y-r.y))/(1+o)+r.x,i=i*(t.x-r.x+i*(t.y-r.y))/(1+o)+r.y,t=e.createLinearGradient(r.x,r.y,a,i);return f(n,t),t}function a(e,t,n){var r,i,o,n=u.exec(n),a=parseFloat(n[1]),s=parseFloat(n[2]),l=parseFloat(n[3]),n=n[4];return 0===l?(r=n.match(c))[r.length-1].split(":")[1]:(t=(r=t.getBBox()).maxX-r.minX,i=r.maxY-r.minY,o=Math.sqrt(t*t+i*i)/2,f(n,n=e.createRadialGradient(r.minX+t*a,r.minY+i*s,0,r.minX+t/2,r.minY+i/2,l*o)),n)}function h(e,t,n){if(t.get("patternSource")&&t.get("patternSource")===n)return t.get("pattern");var r,i,o=l.exec(n),a=o[1],o=o[2];function s(){r=e.createPattern(i,a),t.set("pattern",r),t.set("patternSource",n)}switch(a){case"a":a="repeat";break;case"x":a="repeat-x";break;case"y":a="repeat-y";break;default:a="no-repeat"}return i=new Image,o.match(/^data:/i)||(i.crossOrigin="Anonymous"),i.src=o,i.complete?s():(i.onload=s,i.src=i.src),r}t.parseLineGradient=i,t.parseRadialGradient=a,t.parsePattern=h,t.parseStyle=function(e,t,n){var r=t.getBBox();if(isNaN(r.x)||isNaN(r.y)||isNaN(r.width)||isNaN(r.height))return n;if(o.isString(n)){if("("===n[1]||"("===n[2]){if("l"===n[0])return i(e,t,n);if("r"===n[0])return a(e,t,n);if("p"===n[0])return h(e,t,n)}return n}return n instanceof CanvasPattern?n:void 0},t.parseRadius=function(e){var t=0,n=0,r=0,i=0;return o.isArray(e)?1===e.length?t=n=r=i=e[0]:2===e.length?(t=r=e[0],n=i=e[1]):3===e.length?(t=e[0],n=i=e[1],r=e[2]):(t=e[0],n=e[1],r=e[2],i=e[3]):t=n=r=i=e,[t,n,r,i]}},28064:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=n(6992),w=n(28524),A=n(28524),o=n(43708),S=n(7157),C=n(96342),O=n(20187),E=n(30859),M=o.ext.transform;t.default=r.__assign({hasArc:function(e){for(var t=!1,n=e.length,r=0;r<n;r++){var i=e[r][0];if("C"===i||"A"===i||"Q"===i){t=!0;break}}return t},extractPolygons:function(e){for(var t=e.length,n=[],r=[],i=[],o=0;o<t;o++){var a=e[o],s=a[0];"M"===s?(i.length&&(r.push(i),i=[]),i.push([a[1],a[2]])):"Z"===s?i.length&&(n.push(i),i=[]):i.push([a[1],a[2]])}return 0<i.length&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(e,t,n,r,i){for(var o=!1,a=t/2,s=0;s<e.length;s++){var l=e[s],u=l.currentPoint,c=l.params,f=l.prePoint,h=l.box;if(!h||C.inBox(h.x-a,h.y-a,h.width+t,h.height+t,n,r)){switch(l.command){case"L":case"Z":o=O.default(f[0],f[1],u[0],u[1],t,n,r);break;case"Q":o=w.Quad.pointDistance(f[0],f[1],c[1],c[2],c[3],c[4],n,r)<=t/2;break;case"C":o=A.Cubic.pointDistance(f[0],f[1],c[1],c[2],c[3],c[4],c[5],c[6],n,r,i)<=t/2;break;case"A":var d=l.arcParams,p=d.cx,y=d.cy,m=d.rx,g=d.ry,v=d.startAngle,b=d.endAngle,d=d.xRotation,_=[n,r,1],x=g<m?m:g,p=M(null,[["t",-p,-y],["r",-d],["s",1/(g<m?1:m/g),1/(g<m?g/m:1)]]);S.transformMat3(_,_,p),o=E.default(0,0,x,v,b,t,_[0],_[1])}if(o)break}}return o}},i.PathUtil)},96342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSamePoint=t.mergeRegion=t.intersectRect=t.inBox=t.distance=t.getPixelRatio=void 0,t.getPixelRatio=function(){return window?window.devicePixelRatio:1},t.distance=function(e,t,n,r){e-=n,n=t-r;return Math.sqrt(e*e+n*n)},t.inBox=function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r},t.intersectRect=function(e,t){return!(t.minX>e.maxX||t.maxX<e.minX||t.minY>e.maxY||t.maxY<e.minY)},t.mergeRegion=function(e,t){return e&&t?{minX:Math.min(e.minX,t.minX),minY:Math.min(e.minY,t.minY),maxX:Math.max(e.maxX,t.maxX),maxY:Math.max(e.maxY,t.maxY)}:e||t},t.isSamePoint=function(e,t){return e[0]===t[0]&&e[1]===t[1]};var r=n(31834);Object.defineProperty(t,"isNil",{enumerable:!0,get:function(){return r.isNil}}),Object.defineProperty(t,"isString",{enumerable:!0,get:function(){return r.isString}}),Object.defineProperty(t,"isFunction",{enumerable:!0,get:function(){return r.isFunction}}),Object.defineProperty(t,"isArray",{enumerable:!0,get:function(){return r.isArray}}),Object.defineProperty(t,"each",{enumerable:!0,get:function(){return r.each}}),Object.defineProperty(t,"toRadian",{enumerable:!0,get:function(){return r.toRadian}}),Object.defineProperty(t,"mod",{enumerable:!0,get:function(){return r.mod}}),Object.defineProperty(t,"isNumberEqual",{enumerable:!0,get:function(){return r.isNumberEqual}}),Object.defineProperty(t,"requestAnimationFrame",{enumerable:!0,get:function(){return r.requestAnimationFrame}}),Object.defineProperty(t,"clearAnimationFrame",{enumerable:!0,get:function(){return r.clearAnimationFrame}})},92535:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=n(32996),c=n(86408);function _(e,t,n,r,i,o){return n*Math.cos(i)*Math.cos(o)-r*Math.sin(i)*Math.sin(o)+e}function x(e,t,n,r,i,o){return n*Math.sin(i)*Math.cos(o)+r*Math.cos(i)*Math.sin(o)+t}function f(e,t,n){return{x:e*Math.cos(n),y:t*Math.sin(n)}}function h(e,t,n){var r=Math.cos(n),n=Math.sin(n);return[e*r-t*n,e*n+t*r]}t.default={box:function(e,t,n,r,i,o,a){for(var s=Math.atan(-r/n*Math.tan(i)),l=1/0,u=-1/0,c=[o,a],f=2*-Math.PI;f<=2*Math.PI;f+=Math.PI){var h=s+f;o<a?o<h&&h<a&&c.push(h):a<h&&h<o&&c.push(h)}for(f=0;f<c.length;f++){var d=_(e,0,n,r,i,c[f]);d<l&&(l=d),u<d&&(u=d)}for(var p=Math.atan(r/(n*Math.tan(i))),y=1/0,m=-1/0,g=[o,a],f=2*-Math.PI;f<=2*Math.PI;f+=Math.PI){var v=p+f;o<a?o<v&&v<a&&g.push(v):a<v&&v<o&&g.push(v)}for(f=0;f<g.length;f++){var b=x(0,t,n,r,i,g[f]);b<y&&(y=b),m<b&&(m=b)}return{x:l,y:y,width:u-l,height:m-y}},length:function(e,t,n,r,i,o,a){},nearestPoint:function(e,t,n,r,i,o,a,s,l){var s=h(s-e,l-t,-i),l=s[0],s=s[1],l=c.default.nearestPoint(0,0,n,r,l,s),u=(s=l.x,u=l.y,(Math.atan2(u*n,s*r)+2*Math.PI)%(2*Math.PI)),s=(u<o?l=f(n,r,o):a<u&&(l=f(n,r,a)),h(l.x,l.y,i));return{x:s[0]+e,y:s[1]+t}},pointDistance:function(e,t,n,r,i,o,a,s,l){e=this.nearestPoint(e,t,n,r,s,l);return u.distance(e.x,e.y,s,l)},pointAt:function(e,t,n,r,i,o,a,s){a=(a-o)*s+o;return{x:_(e,0,n,r,i,a),y:x(0,t,n,r,i,a)}},tangentAngle:function(e,t,n,r,i,o,a,s){var l,a=(a-o)*s+o,s=(s=r,o=i,l=a,-1*n*Math.cos(o)*Math.sin(l)-s*Math.sin(o)*Math.cos(l)),i=(o=r,l=i,r=a,-1*n*Math.sin(l)*Math.sin(r)+o*Math.cos(l)*Math.cos(r));return u.piMod(Math.atan2(i,s))}}},23919:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.snapLength=t.nearestPoint=void 0;var v=n(32996);t.nearestPoint=function(e,t,n,r,i,o){for(var a,s=1/0,l=[n,r],u=20,c=1/(u=o&&200<o?o/10:u),f=c/10,h=0;h<=u;h++){var d=h*c,p=[i.apply(null,e.concat([d])),i.apply(null,t.concat([d]))];(g=v.distance(l[0],l[1],p[0],p[1]))<s&&(a=d,s=g)}if(0===a)return{x:e[0],y:t[0]};if(1===a)return{x:e[(n=e.length)-1],y:t[n-1]};for(s=1/0,h=0;h<32&&!(f<1e-4);h++){var y=a-f,m=a+f,g=(p=[i.apply(null,e.concat([y])),i.apply(null,t.concat([y]))],v.distance(l[0],l[1],p[0],p[1]));0<=y&&g<s?(a=y,s=g):(y=[i.apply(null,e.concat([m])),i.apply(null,t.concat([m]))],y=v.distance(l[0],l[1],y[0],y[1]),m<=1&&y<s?(a=m,s=y):f*=.5)}return{x:i.apply(null,e.concat([a])),y:i.apply(null,t.concat([a]))}},t.snapLength=function(e,t){for(var n=0,r=e.length,i=0;i<r;i++){var o=e[i],a=t[i],s=e[(i+1)%r],l=t[(i+1)%r];n+=v.distance(o,a,s,l)}return n/2}},84206:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var d=n(32996),h=n(27989),f=n(23919);function p(e,t,n,r,i){var o=1-i;return o*o*o*e+3*t*i*o*o+3*n*i*i*o+r*i*i*i}function u(e,t,n,r,i){var o=1-i;return 3*(o*o*(t-e)+2*o*i*(n-t)+i*i*(r-n))}function y(e,t,n,r){var i,o,r=-3*e+9*t-9*n+3*r,n=6*e-12*t+6*n,t=3*t-3*e,e=[];return d.isNumberEqual(r,0)?d.isNumberEqual(n,0)||0<=(i=-t/n)&&i<=1&&e.push(i):d.isNumberEqual(t=n*n-4*r*t,0)?e.push(-n/(2*r)):0<t&&(o=(-n-(t=Math.sqrt(t)))/(2*r),0<=(i=(-n+t)/(2*r))&&i<=1&&e.push(i),0<=o)&&o<=1&&e.push(o),e}function c(e,t,n,r,i,o,a,s,l){var u=p(e,n,i,a,l),c=p(t,r,o,s,l),f=h.default.pointAt(e,t,n,r,l),n=h.default.pointAt(n,r,i,o,l),r=h.default.pointAt(i,o,a,s,l),i=h.default.pointAt(f.x,f.y,n.x,n.y,l),o=h.default.pointAt(n.x,n.y,r.x,r.y,l);return[[e,t,f.x,f.y,i.x,i.y,u,c],[u,c,o.x,o.y,r.x,r.y,a,s]]}t.default={extrema:y,box:function(e,t,n,r,i,o,a,s){for(var l=[e,a],u=[t,s],c=y(e,n,i,a),f=y(t,r,o,s),h=0;h<c.length;h++)l.push(p(e,n,i,a,c[h]));for(h=0;h<f.length;h++)u.push(p(t,r,o,s,f[h]));return d.getBBoxByArray(l,u)},length:function(e,t,n,r,i,o,a,s){return function e(t,n,r,i,o,a,s,l,u){return 0===u?f.snapLength([t,r,o,s],[n,i,a,l]):(n=(t=c(t,n,r,i,o,a,s,l,.5))[0],r=t[1],n.push(u-1),r.push(u-1),e.apply(null,n)+e.apply(null,r))}(e,t,n,r,i,o,a,s,3)},nearestPoint:function(e,t,n,r,i,o,a,s,l,u,c){return f.nearestPoint([e,n,i,a],[t,r,o,s],l,u,p,c)},pointDistance:function(e,t,n,r,i,o,a,s,l,u,c){e=this.nearestPoint(e,t,n,r,i,o,a,s,l,u,c);return d.distance(e.x,e.y,l,u)},interpolationAt:p,pointAt:function(e,t,n,r,i,o,a,s,l){return{x:p(e,n,i,a,l),y:p(t,r,o,s,l)}},divide:c,tangentAngle:function(e,t,n,r,i,o,a,s,l){e=u(e,n,i,a,l),n=u(t,r,o,s,l);return d.piMod(Math.atan2(n,e))}}},86408:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(32996);function w(e,t){e=Math.abs(e);return 0<t?e:-1*e}t.default={box:function(e,t,n,r){return{x:e-n,y:t-r,width:2*n,height:2*r}},length:function(e,t,n,r){return Math.PI*(3*(n+r)-Math.sqrt((3*n+r)*(n+3*r)))},nearestPoint:function(e,t,n,r,i,o){var a=n,s=r;if(0===a||0===s)return{x:e,y:t};for(var n=i-e,r=o-t,l=Math.abs(n),u=Math.abs(r),c=a*a,f=s*s,h=Math.PI/4,d=0;d<4;d++){var p=a*Math.cos(h),y=s*Math.sin(h),m=(c-f)*Math.pow(Math.cos(h),3)/a,g=(f-c)*Math.pow(Math.sin(h),3)/s,v=p-m,b=y-g,m=l-m,g=u-g,_=Math.hypot(b,v),x=Math.hypot(g,m);h+=_*Math.asin((v*g-b*m)/(_*x))/Math.sqrt(c+f-p*p-y*y),h=Math.min(Math.PI/2,Math.max(0,h))}return{x:e+w(p,n),y:t+w(y,r)}},pointDistance:function(e,t,n,r,i,o){e=this.nearestPoint(e,t,n,r,i,o);return a.distance(e.x,e.y,i,o)},pointAt:function(e,t,n,r,i){i=2*Math.PI*i;return{x:e+n*Math.cos(i),y:t+r*Math.sin(i)}},tangentAngle:function(e,t,n,r,i){i=2*Math.PI*i,r=Math.atan2(r*Math.cos(i),-n*Math.sin(i));return a.piMod(r)}}},28524:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Util=t.Polyline=t.Polygon=t.Line=t.Arc=t.Cubic=t.Quad=void 0;var r=n(21870),r=(t.Quad=r.default,n(84206)),r=(t.Cubic=r.default,n(92535)),r=(t.Arc=r.default,n(27989)),r=(t.Line=r.default,n(51871)),r=(t.Polygon=r.default,n(84881)),r=(t.Polyline=r.default,n(32996));t.Util=r},27989:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(32996),a=n(49679);t.default={box:function(e,t,n,r){return s.getBBoxByArray([e,n],[t,r])},length:function(e,t,n,r){return s.distance(e,t,n,r)},pointAt:function(e,t,n,r,i){return{x:(1-i)*e+i*n,y:(1-i)*t+i*r}},pointDistance:function(e,t,n,r,i,o){var a=(n-e)*(i-e)+(r-t)*(o-t);return a<0?s.distance(e,t,i,o):(n-e)*(n-e)+(r-t)*(r-t)<a?s.distance(n,r,i,o):this.pointToLine(e,t,n,r,i,o)},pointToLine:function(e,t,n,r,i,o){n=[n-e,r-t];return a.exactEquals(n,[0,0])?Math.sqrt((i-e)*(i-e)+(o-t)*(o-t)):(a.normalize(r=[-n[1],n[0]],r),Math.abs(a.dot([i-e,o-t],r)))},tangentAngle:function(e,t,n,r){return Math.atan2(r-t,n-e)}}},51871:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50118),i=n(84881);function o(e){var t=e.slice(0);return e.length&&t.push(e[0]),t}t.default={box:function(e){return i.default.box(e)},length:function(e){return r.lengthOfSegment(o(e))},pointAt:function(e,t){return r.pointAtSegments(o(e),t)},pointDistance:function(e,t,n){return r.distanceAtSegment(o(e),t,n)},tangentAngle:function(e,t){return r.angleAtSegments(o(e),t)}}},84881:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50118),o=n(32996);t.default={box:function(e){for(var t=[],n=[],r=0;r<e.length;r++){var i=e[r];t.push(i[0]),n.push(i[1])}return o.getBBoxByArray(t,n)},length:function(e){return r.lengthOfSegment(e)},pointAt:function(e,t){return r.pointAtSegments(e,t)},pointDistance:function(e,t,n){return r.distanceAtSegment(e,t,n)},tangentAngle:function(e,t){return r.angleAtSegments(e,t)}}},21870:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=n(27989),f=n(32996),l=n(23919);function h(e,t,n,r){var i=1-r;return i*i*e+2*r*i*t+r*r*n}function d(e,t,n){n=e+n-2*t;return f.isNumberEqual(n,0)?[.5]:(e=(e-t)/n)<=1&&0<=e?[e]:[]}function s(e,t,n,r){return 2*(1-r)*(t-e)+2*r*(n-t)}function u(e,t,n,r,i,o,a){var s=h(e,n,i,a),l=h(t,r,o,a),u=c.default.pointAt(e,t,n,r,a),n=c.default.pointAt(n,r,i,o,a);return[[e,t,u.x,u.y,s,l],[s,l,n.x,n.y,i,o]]}t.default={box:function(e,t,n,r,i,o){var a=d(e,n,i)[0],s=d(t,r,o)[0],l=[e,i],u=[t,o];return void 0!==a&&l.push(h(e,n,i,a)),void 0!==s&&u.push(h(t,r,o,s)),f.getBBoxByArray(l,u)},length:function(e,t,n,r,i,o){return function e(t,n,r,i,o,a,s){return 0===s?(f.distance(t,n,r,i)+f.distance(r,i,o,a)+f.distance(t,n,o,a))/2:(n=(t=u(t,n,r,i,o,a,.5))[0],r=t[1],n.push(s-1),r.push(s-1),e.apply(null,n)+e.apply(null,r))}(e,t,n,r,i,o,3)},nearestPoint:function(e,t,n,r,i,o,a,s){return l.nearestPoint([e,n,i],[t,r,o],a,s,h)},pointDistance:function(e,t,n,r,i,o,a,s){e=this.nearestPoint(e,t,n,r,i,o,a,s);return f.distance(e.x,e.y,a,s)},interpolationAt:h,pointAt:function(e,t,n,r,i,o,a){return{x:h(e,n,i,a),y:h(t,r,o,a)}},divide:u,tangentAngle:function(e,t,n,r,i,o,a){e=s(e,n,i,a),n=s(t,r,o,a),i=Math.atan2(n,e);return f.piMod(i)}}},50118:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distanceAtSegment=t.angleAtSegments=t.pointAtSegments=t.lengthOfSegment=void 0;var f=n(27989),s=n(32996);function h(e){for(var t=0,n=[],r=0;r<e.length-1;r++){var i=e[r],o=e[r+1],a=s.distance(i[0],i[1],o[0],o[1]);n.push({from:i,to:o,length:a}),t+=a}return{segments:n,totalLength:t}}t.lengthOfSegment=function(e){if(e.length<2)return 0;for(var t=0,n=0;n<e.length-1;n++){var r=e[n],i=e[n+1];t+=s.distance(r[0],r[1],i[0],i[1])}return t},t.pointAtSegments=function(e,t){if(1<t||t<0||e.length<2)return null;var n=h(e),r=n.segments,i=n.totalLength;if(0===i)return{x:e[0][0],y:e[0][1]};for(var o=0,a=null,s=0;s<r.length;s++){var l=r[s],u=l.from,c=l.to,l=l.length/i;if(o<=t&&t<=o+l){a=f.default.pointAt(u[0],u[1],c[0],c[1],(t-o)/l);break}o+=l}return a},t.angleAtSegments=function(e,t){if(1<t||t<0||e.length<2)return 0;for(var e=h(e),n=e.segments,r=e.totalLength,i=0,o=0,a=0;a<n.length;a++){var s=n[a],l=s.from,u=s.to,s=s.length/r;if(i<=t&&t<=i+s){o=Math.atan2(u[1]-l[1],u[0]-l[0]);break}i+=s}return o},t.distanceAtSegment=function(e,t,n){for(var r=1/0,i=0;i<e.length-1;i++){var o=e[i],a=e[i+1],o=f.default.pointDistance(o[0],o[1],a[0],a[1],t,n);o<r&&(r=o)}return r}},32996:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.piMod=t.getBBoxRange=t.getBBoxByArray=t.isNumberEqual=t.distance=void 0;var i=n(31834);t.distance=function(e,t,n,r){e-=n,n=t-r;return Math.sqrt(e*e+n*n)},t.isNumberEqual=function(e,t){return Math.abs(e-t)<.001},t.getBBoxByArray=function(e,t){var n=i.min(e),r=i.min(t);return{x:n,y:r,width:i.max(e)-n,height:i.max(t)-r}},t.getBBoxRange=function(e,t,n,r){return{minX:i.min([e,n]),maxX:i.max([e,n]),minY:i.min([t,r]),maxY:i.max([t,r])}},t.piMod=function(e){return(e+2*Math.PI)%(2*Math.PI)}},60415:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(6992),a=n(7883),s=n(2480),l=n(41289),u=n(113),c=n(89338),f=n(58281),h=n(95259),n=(r=o.AbstractCanvas,i.__extends(d,r),d.prototype.getShapeBase=function(){return c},d.prototype.getGroupBase=function(){return f.default},d.prototype.getShape=function(e,t,n){var r=n.target||n.srcElement;if(!a.SHAPE_TO_TAGS[r.tagName]){for(var i=r.parentNode;i&&!a.SHAPE_TO_TAGS[i.tagName];)i=i.parentNode;r=i}return this.find(function(e){return e.get("el")===r})},d.prototype.createDom=function(){var e=u.createSVGElement("svg"),t=new h.default(e);return e.setAttribute("width",""+this.get("width")),e.setAttribute("height",""+this.get("height")),this.set("context",t),e},d.prototype.onCanvasChange=function(e){var n,t,r=this.get("context"),i=this.get("el");"sort"===e?(n=this.get("children"))&&n.length&&u.sortDom(this,function(e,t){return n.indexOf(e)-n.indexOf(t)?1:0}):"clear"===e?i&&(i.innerHTML="",(t=r.el).innerHTML="",i.appendChild(t)):"matrix"===e?l.setTransform(this):"clip"===e?l.setClip(this,r):"changeSize"===e&&(i.setAttribute("width",""+this.get("width")),i.setAttribute("height",""+this.get("height")))},d.prototype.draw=function(){var e=this.get("context"),t=this.getChildren();l.setClip(this,e),t.length&&s.drawChildren(e,t)},d);function d(e){return r.call(this,i.__assign(i.__assign({},e),{autoDraw:!0,renderer:"svg"}))||this}t.default=n},7883:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVENTS=t.SVG_ATTR_MAP=t.SHAPE_TO_TAGS=void 0,t.SHAPE_TO_TAGS={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},t.SVG_ATTR_MAP={opacity:"opacity",fillStyle:"fill",fill:"fill",fillOpacity:"fill-opacity",strokeStyle:"stroke",strokeOpacity:"stroke-opacity",stroke:"stroke",x:"x",y:"y",r:"r",rx:"rx",ry:"ry",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"},t.EVENTS=["click","mousedown","mouseup","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","wheel"]},88603:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(31834),a=n(113);function r(e,t){this.cfg={};var n=a.createSVGElement("marker"),r=o.uniqueId("marker_"),i=(n.setAttribute("id",r),a.createSVGElement("path")),n=(i.setAttribute("stroke",e.stroke||"none"),i.setAttribute("fill",e.fill||"none"),n.appendChild(i),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=i,this.id=r,e["marker-start"===t?"startArrow":"endArrow"]);return this.stroke=e.stroke||"#000",!0===n?this._setDefaultPath(t,i):(this.cfg=n,this._setMarker(e.lineWidth,i)),this}r.prototype.match=function(){return!1},r.prototype._setDefaultPath=function(e,t){var n=this.el;t.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},r.prototype._setMarker=function(e,t){var n=this.el,r=this.cfg.path,i=this.cfg.d;o.isArray(r)&&(r=r.map(function(e){return e.join(" ")}).join("")),t.setAttribute("d",r),n.appendChild(t),i&&n.setAttribute("refX",""+i/e)},r.prototype.update=function(e){var t=this.child;t.attr?t.attr("fill",e):t.setAttribute("fill",e)},t.default=r},34326:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(31834),i=n(113);function o(e){this.type="clip",this.cfg={};var t=i.createSVGElement("clipPath"),n=(this.el=t,this.id=r.uniqueId("clip_"),t.id=this.id,e.cfg.el);return t.appendChild(n),this.cfg=e,this}o.prototype.match=function(){return!1},o.prototype.remove=function(){var e=this.el;e.parentNode.removeChild(e)},t.default=o},52473:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=n(31834),f=n(113),h=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,d=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,r=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function p(e){var t,e=e.match(r);return e?(t="",e.sort(function(e,t){return e=e.split(":"),t=t.split(":"),Number(e[0])-Number(t[0])}),c.each(e,function(e){e=e.split(":"),t+='<stop offset="'+e[0]+'" stop-color="'+e[1]+'"></stop>'}),t):""}function i(e){this.cfg={};var t,n,r,i,o,a,s,l=null,u=c.uniqueId("gradient_");return"l"===e.toLowerCase()[0]?(t=e,n=l=f.createSVGElement("linearGradient"),t=h.exec(t),i=c.mod(c.toRadian(parseFloat(t[1])),2*Math.PI),t=t[2],o=0<=i&&i<.5*Math.PI?(r={x:0,y:0},{x:1,y:1}):.5*Math.PI<=i&&i<Math.PI?(r={x:1,y:0},{x:0,y:1}):Math.PI<=i&&i<1.5*Math.PI?(r={x:1,y:1},{x:0,y:0}):(r={x:0,y:1},{x:1,y:0}),i=Math.tan(i),a=i*i,s=(o.x-r.x+i*(o.y-r.y))/(1+a)+r.x,i=i*(o.x-r.x+i*(o.y-r.y))/(1+a)+r.y,n.setAttribute("x1",r.x),n.setAttribute("y1",r.y),n.setAttribute("x2",s),n.setAttribute("y2",i),n.innerHTML=p(t)):(o=l=f.createSVGElement("radialGradient"),a=d.exec(e),r=parseFloat(a[1]),s=parseFloat(a[2]),i=parseFloat(a[3]),n=a[4],o.setAttribute("cx",r),o.setAttribute("cy",s),o.setAttribute("r",i),o.innerHTML=p(n)),l.setAttribute("id",u),this.el=l,this.id=u,this.cfg=e,this}i.prototype.match=function(e,t){return this.cfg===t},t.default=i},95259:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(31834),i=n(52473),o=n(91526),a=n(88603),s=n(34326),l=n(55909),u=n(113);function c(e){var t=u.createSVGElement("defs"),n=r.uniqueId("defs_");t.id=n,e.appendChild(t),this.children=[],this.defaultArrow={},this.el=t,this.canvas=e}c.prototype.find=function(e,t){for(var n=this.children,r=null,i=0;i<n.length;i++)if(n[i].match(e,t)){r=n[i].id;break}return r},c.prototype.findById=function(e){for(var t=this.children,n=null,r=0;r<t.length;r++)if(t[r].id===e){n=t[r];break}return n},c.prototype.add=function(e){this.children.push(e),e.canvas=this.canvas,e.parent=this},c.prototype.getDefaultArrow=function(e,t){var n=e.stroke||e.strokeStyle;return(this.defaultArrow[n]||(e=new a.default(e,t),this.defaultArrow[n]=e,this.el.appendChild(e.el),this.add(e),e)).id},c.prototype.addGradient=function(e){e=new i.default(e);return this.el.appendChild(e.el),this.add(e),e.id},c.prototype.addArrow=function(e,t){e=new a.default(e,t);return this.el.appendChild(e.el),this.add(e),e.id},c.prototype.addShadow=function(e){e=new o.default(e);return this.el.appendChild(e.el),this.add(e),e.id},c.prototype.addPattern=function(e){e=new l.default(e);return this.el.appendChild(e.el),this.add(e),e.id},c.prototype.addClip=function(e){e=new s.default(e);return this.el.appendChild(e.el),this.add(e),e.id},t.default=c},55909:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(31834),s=n(113),l=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i;function r(e){this.cfg={};var t=s.createSVGElement("pattern"),n=(t.setAttribute("patternUnits","userSpaceOnUse"),s.createSVGElement("image")),r=(t.appendChild(n),a.uniqueId("pattern_")),r=(t.id=r,this.el=t,this.id=r,this.cfg=e,l.exec(e)[2]),i=(n.setAttribute("href",r),new Image);function o(){t.setAttribute("width",""+i.width),t.setAttribute("height",""+i.height)}return r.match(/^data:/i)||(i.crossOrigin="Anonymous"),i.src=r,i.complete?o():(i.onload=o,i.src=i.src),this}r.prototype.match=function(e,t){return this.cfg===t},t.default=r},91526:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(31834),r=n(113),o={shadowColor:"color",shadowOpacity:"opacity",shadowBlur:"blur",shadowOffsetX:"dx",shadowOffsetY:"dy"},a={x:"-40%",y:"-40%",width:"200%",height:"200%"};function s(e){this.type="filter",this.cfg={},this.type="filter";var n=r.createSVGElement("filter");return i.each(a,function(e,t){n.setAttribute(t,e)}),this.el=n,this.id=i.uniqueId("filter_"),this.el.id=this.id,this.cfg=e,this._parseShadow(e,n),this}s.prototype.match=function(e,t){var n,r;return this.type===e&&(n=!0,r=this.cfg,i.each(Object.keys(r),function(e){if(r[e]!==t[e])return n=!1}),n)},s.prototype.update=function(e,t){var n=this.cfg;return n[o[e]]=t,this._parseShadow(n,this.el),this},s.prototype._parseShadow=function(e,t){e='<feDropShadow\n dx="'+(e.dx||0)+'"\n dy="'+(e.dy||0)+'"\n stdDeviation="'+(e.blur?e.blur/10:0)+'"\n flood-color="'+(e.color||"#000")+'"\n flood-opacity="'+(e.opacity||1)+'"\n />';t.innerHTML=e},t.default=s},58281:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(6992),a=n(31834),s=n(89338),l=n(2480),u=n(41289),c=n(7883),f=n(113),n=(r=o.AbstractGroup,i.__extends(h,r),h.prototype.isEntityGroup=function(){return!0},h.prototype.createDom=function(){var e,t=f.createSVGElement("g"),n=(this.set("el",t),this.getParent());return n&&((e=n.get("el"))||(e=n.createDom(),n.set("el",e)),e.appendChild(t)),t},h.prototype.afterAttrsChange=function(e){r.prototype.afterAttrsChange.call(this,e);var t=this.get("canvas");t&&t.get("autoDraw")&&(t=t.get("context"),this.createPath(t,e))},h.prototype.onCanvasChange=function(e){l.refreshElement(this,e)},h.prototype.getShapeBase=function(){return s},h.prototype.getGroupBase=function(){return h},h.prototype.draw=function(e){var t=this.getChildren(),n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||this.createDom(),u.setClip(this,e),this.createPath(e),t.length&&l.drawChildren(e,t))},h.prototype.createPath=function(e,t){var n=this.attr(),r=this.get("el");a.each(t||n,function(e,t){c.SVG_ATTR_MAP[t]&&r.setAttribute(c.SVG_ATTR_MAP[t],e)}),u.setTransform(this)},h);function h(){return null!==r&&r.apply(this,arguments)||this}t.default=n},32227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.Shape=void 0;var r=n(97582),i=n(89338),o=(t.Shape=i,r.__exportStar(n(6992),t),n(60415)),a=(Object.defineProperty(t,"Canvas",{enumerable:!0,get:function(){return o.default}}),n(58281));Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return a.default}}),t.version="0.5.6"},55595:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(6992),a=n(41289),s=n(113),l=n(2480),f=n(7883),u=n(89338),c=n(58281),h=n(6992),n=(r=o.AbstractShape,i.__extends(d,r),d.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},d.prototype.afterAttrsChange=function(e){r.prototype.afterAttrsChange.call(this,e);var t=this.get("canvas");t&&t.get("autoDraw")&&(t=t.get("context"),this.draw(t,e))},d.prototype.getShapeBase=function(){return u},d.prototype.getGroupBase=function(){return c.default},d.prototype.onCanvasChange=function(e){l.refreshElement(this,e)},d.prototype.calculateBBox=function(){var e,t,n,r,i,o,a=this.get("el"),s=null;return a?s=a.getBBox():(a=h.getBBoxMethod(this.get("type")))&&(s=a(this)),s?(a=s.x,e=s.y,t=s.width,s=s.height,{x:i=a-(r=(n=this.getHitLineWidth())/2),y:o=e-r,minX:i,minY:o,maxX:a+t+r,maxY:e+s+r,width:t+n,height:s+n}):{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},d.prototype.isFill=function(){var e=this.attr(),t=e.fill,e=e.fillStyle;return(t||e||this.isClipShape())&&this.canFill},d.prototype.isStroke=function(){var e=this.attr(),t=e.stroke,e=e.strokeStyle;return(t||e)&&this.canStroke},d.prototype.draw=function(e,t){var n=this.get("el");this.get("destroyed")?n&&n.parentNode.removeChild(n):(n||s.createDom(this),a.setClip(this,e),this.createPath(e,t),this.shadow(e,t),this.strokeAndFill(e,t),this.transform(t))},d.prototype.createPath=function(e,t){},d.prototype.strokeAndFill=function(e,t){var n=t||this.attr(),r=n.fill,i=n.fillStyle,o=n.stroke,a=n.strokeStyle,s=n.fillOpacity,l=n.strokeOpacity,u=n.lineWidth,c=this.get("el");this.canFill&&(t?"fill"in n?this._setColor(e,"fill",r):"fillStyle"in n&&this._setColor(e,"fill",i):this._setColor(e,"fill",r||i),s)&&c.setAttribute(f.SVG_ATTR_MAP.fillOpacity,s),this.canStroke&&0<u&&(t?"stroke"in n?this._setColor(e,"stroke",o):"strokeStyle"in n&&this._setColor(e,"stroke",a):this._setColor(e,"stroke",o||a),l&&c.setAttribute(f.SVG_ATTR_MAP.strokeOpacity,l),u)&&c.setAttribute(f.SVG_ATTR_MAP.lineWidth,u)},d.prototype._setColor=function(e,t,n){var r,i=this.get("el");n?(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)?(r=(r=e.find("gradient",n))||e.addGradient(n),i.setAttribute(f.SVG_ATTR_MAP[t],"url(#"+r+")")):/^[p,P]{1}[\s]*\(/.test(n)?(r=(r=e.find("pattern",n))||e.addPattern(n),i.setAttribute(f.SVG_ATTR_MAP[t],"url(#"+r+")")):i.setAttribute(f.SVG_ATTR_MAP[t],n)):i.setAttribute(f.SVG_ATTR_MAP[t],"none")},d.prototype.shadow=function(e,t){var n=this.attr(),t=t||n,n=t.shadowOffsetX,r=t.shadowOffsetY,i=t.shadowBlur,t=t.shadowColor;(n||r||i||t)&&a.setShadow(this,e)},d.prototype.transform=function(e){var t=this.attr();(e||t).matrix&&a.setTransform(this)},d.prototype.isInShape=function(e,t){return this.isPointInPath(e,t)},d.prototype.isPointInPath=function(e,t){var n=this.get("el"),r=this.get("canvas").get("el").getBoundingClientRect(),e=e+r.left,t=t+r.top,r=document.elementFromPoint(e,t);return!(!r||!r.isEqualNode(n))},d.prototype.getHitLineWidth=function(){var e=this.attrs,t=e.lineWidth,e=e.lineAppendWidth;return this.isStroke()?t+e:0},d);function d(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="svg",e.canFill=!1,e.canStroke=!1,e}t.default=n},29519:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(31834),a=n(7883),n=(r=n(55595).default,i.__extends(s,r),s.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,r:0})},s.prototype.createPath=function(e,t){var n=this.attr(),r=this.get("el");o.each(t||n,function(e,t){"x"===t||"y"===t?r.setAttribute("c"+t,e):a.SVG_ATTR_MAP[t]&&r.setAttribute(a.SVG_ATTR_MAP[t],e)})},s);function s(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}t.default=n},56823:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),a=n(31834),s=n(7883),n=(r=n(55595).default,i.__extends(o,r),o.prototype.createPath=function(e,t){var n=this.attr(),r=this.get("el");if(a.each(t||n,function(e,t){s.SVG_ATTR_MAP[t]&&r.setAttribute(s.SVG_ATTR_MAP[t],e)}),"function"==typeof n.html){t=n.html.call(this,n);if(t instanceof Element||t instanceof HTMLDocument){for(var i=r.childNodes,o=i.length-1;0<=o;o--)r.removeChild(i[o]);r.appendChild(t)}else r.innerHTML=t}else r.innerHTML=n.html},o);function o(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}t.default=n},48768:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(31834),a=n(7883),n=(r=n(55595).default,i.__extends(s,r),s.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,rx:0,ry:0})},s.prototype.createPath=function(e,t){var n=this.attr(),r=this.get("el");o.each(t||n,function(e,t){"x"===t||"y"===t?r.setAttribute("c"+t,e):a.SVG_ATTR_MAP[t]&&r.setAttribute(a.SVG_ATTR_MAP[t],e)})},s);function s(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}t.default=n},80237:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(31834),a=n(7883),n=(r=n(55595).default,i.__extends(s,r),s.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,width:0,height:0})},s.prototype.createPath=function(e,t){var n=this,r=this.attr(),i=this.get("el");o.each(t||r,function(e,t){"img"===t?n._setImage(r.img):a.SVG_ATTR_MAP[t]&&i.setAttribute(a.SVG_ATTR_MAP[t],e)})},s.prototype.setAttr=function(e,t){this.attrs[e]=t,"img"===e&&this._setImage(t)},s.prototype._setImage=function(e){var t,n=this.attr(),r=this.get("el");o.isString(e)?r.setAttribute("href",e):e instanceof window.Image?(n.width||(r.setAttribute("width",e.width),this.attr("width",e.width)),n.height||(r.setAttribute("height",e.height),this.attr("height",e.height)),r.setAttribute("href",e.src)):e instanceof HTMLElement&&o.isString(e.nodeName)&&"CANVAS"===e.nodeName.toUpperCase()?r.setAttribute("href",e.toDataURL()):e instanceof ImageData&&((t=document.createElement("canvas")).setAttribute("width",""+e.width),t.setAttribute("height",""+e.height),t.getContext("2d").putImageData(e,0,0),n.width||(r.setAttribute("width",""+e.width),this.attr("width",e.width)),n.height||(r.setAttribute("height",""+e.height),this.attr("height",e.height)),r.setAttribute("href",t.toDataURL()))},s);function s(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}t.default=n},89338:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(55595),i=(Object.defineProperty(t,"Base",{enumerable:!0,get:function(){return r.default}}),n(29519)),o=(Object.defineProperty(t,"Circle",{enumerable:!0,get:function(){return i.default}}),n(56823)),a=(Object.defineProperty(t,"Dom",{enumerable:!0,get:function(){return o.default}}),n(48768)),s=(Object.defineProperty(t,"Ellipse",{enumerable:!0,get:function(){return a.default}}),n(80237)),l=(Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return s.default}}),n(10280)),u=(Object.defineProperty(t,"Line",{enumerable:!0,get:function(){return l.default}}),n(71224)),c=(Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return u.default}}),n(23591)),f=(Object.defineProperty(t,"Path",{enumerable:!0,get:function(){return c.default}}),n(89847)),h=(Object.defineProperty(t,"Polygon",{enumerable:!0,get:function(){return f.default}}),n(5784)),d=(Object.defineProperty(t,"Polyline",{enumerable:!0,get:function(){return h.default}}),n(31295)),p=(Object.defineProperty(t,"Rect",{enumerable:!0,get:function(){return d.default}}),n(11034));Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return p.default}})},10280:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(28524),a=n(31834),s=n(7883),n=(r=n(55595).default,i.__extends(l,r),l.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},l.prototype.createPath=function(r,e){var i=this.attr(),o=this.get("el");a.each(e||i,function(e,t){var n;"startArrow"===t||"endArrow"===t?e?(n=a.isObject(e)?r.addArrow(i,s.SVG_ATTR_MAP[t]):r.getDefaultArrow(i,s.SVG_ATTR_MAP[t]),o.setAttribute(s.SVG_ATTR_MAP[t],"url(#"+n+")")):o.removeAttribute(s.SVG_ATTR_MAP[t]):s.SVG_ATTR_MAP[t]&&o.setAttribute(s.SVG_ATTR_MAP[t],e)})},l.prototype.getTotalLength=function(){var e=this.attr(),t=e.x1,n=e.y1,r=e.x2,e=e.y2;return o.Line.length(t,n,r,e)},l.prototype.getPoint=function(e){var t=this.attr(),n=t.x1,r=t.y1,i=t.x2,t=t.y2;return o.Line.pointAt(n,r,i,t,e)},l);function l(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}t.default=n},71224:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(31834),a=n(55595),s=n(96840),n=(r=a.default,i.__extends(l,r),l.prototype.createPath=function(e){this.get("el").setAttribute("d",this._assembleMarker())},l.prototype._assembleMarker=function(){var e=this._getPath();return o.isArray(e)?e.map(function(e){return e.join(" ")}).join(""):e},l.prototype._getPath=function(){var e=this.attr(),t=e.x,n=e.y,r=e.r||e.radius,e=e.symbol||"circle";return(e=o.isFunction(e)?e:s.default.get(e))?e(t,n,r):(console.warn(e+" symbol is not exist."),null)},l.symbolsFactory=s.default,l);function l(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}t.default=n},96840:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={circle:function(e,t,n){return[["M",e,t],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0]]},square:function(e,t,n){return[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]]},diamond:function(e,t,n){return[["M",e-n,t],["L",e,t-n],["L",e+n,t],["L",e,t+n],["Z"]]},triangle:function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["z"]]},triangleDown:function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]}};t.default={get:function(e){return n[e]},register:function(e,t){n[e]=t},remove:function(e){delete n[e]},getAll:function(){return n}}},23591:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),s=n(31834),l=n(7883),n=(r=n(55595).default,i.__extends(o,r),o.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{startArrow:!1,endArrow:!1})},o.prototype.createPath=function(r,e){var i=this,o=this.attr(),a=this.get("el");s.each(e||o,function(e,t){var n;"path"===t&&s.isArray(e)?a.setAttribute("d",i._formatPath(e)):"startArrow"===t||"endArrow"===t?e?(n=s.isObject(e)?r.addArrow(o,l.SVG_ATTR_MAP[t]):r.getDefaultArrow(o,l.SVG_ATTR_MAP[t]),a.setAttribute(l.SVG_ATTR_MAP[t],"url(#"+n+")")):a.removeAttribute(l.SVG_ATTR_MAP[t]):l.SVG_ATTR_MAP[t]&&a.setAttribute(l.SVG_ATTR_MAP[t],e)})},o.prototype._formatPath=function(e){e=e.map(function(e){return e.join(" ")}).join("");return~e.indexOf("NaN")?"":e},o.prototype.getTotalLength=function(){var e=this.get("el");return e?e.getTotalLength():null},o.prototype.getPoint=function(e){var t=this.get("el"),n=this.getTotalLength();return 0!==n&&(t=t?t.getPointAtLength(e*n):null)?{x:t.x,y:t.y}:null},o);function o(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}t.default=n},89847:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(31834),a=n(7883),n=(r=n(55595).default,i.__extends(s,r),s.prototype.createPath=function(e,t){var n=this.attr(),r=this.get("el");o.each(t||n,function(e,t){"points"===t&&o.isArray(e)&&2<=e.length?r.setAttribute("points",e.map(function(e){return e[0]+","+e[1]}).join(" ")):a.SVG_ATTR_MAP[t]&&r.setAttribute(a.SVG_ATTR_MAP[t],e)})},s);function s(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}t.default=n},5784:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(28524),l=n(28524),u=n(31834),a=n(7883),n=(r=n(55595).default,i.__extends(s,r),s.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{startArrow:!1,endArrow:!1})},s.prototype.onAttrChange=function(e,t,n){r.prototype.onAttrChange.call(this,e,t,n),-1!==["points"].indexOf(e)&&this._resetCache()},s.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},s.prototype.createPath=function(e,t){var n=this.attr(),r=this.get("el");u.each(t||n,function(e,t){"points"===t&&u.isArray(e)&&2<=e.length?r.setAttribute("points",e.map(function(e){return e[0]+","+e[1]}).join(" ")):a.SVG_ATTR_MAP[t]&&r.setAttribute(a.SVG_ATTR_MAP[t],e)})},s.prototype.getTotalLength=function(){var e=this.attr().points,t=this.get("totalLength");return u.isNil(t)?(this.set("totalLength",o.Polyline.length(e)),this.get("totalLength")):t},s.prototype.getPoint=function(n){var r,i,e=this.attr().points,t=this.get("tCache");return t||(this._setTcache(),t=this.get("tCache")),u.each(t,function(e,t){n>=e[0]&&n<=e[1]&&(r=(n-e[0])/(e[1]-e[0]),i=t)}),l.Line.pointAt(e[i][0],e[i][1],e[i+1][0],e[i+1][1],r)},s.prototype._setTcache=function(){var n,r,i,o,a,s=this.attr().points;!s||0===s.length||(n=this.getTotalLength())<=0||(o=0,a=[],u.each(s,function(e,t){s[t+1]&&((r=[])[0]=o/n,i=l.Line.length(e[0],e[1],s[t+1][0],s[t+1][1]),o+=i,r[1]=o/n,a.push(r))}),this.set("tCache",a))},s.prototype.getStartTangent=function(){var e=this.attr().points,t=[];return t.push([e[1][0],e[1][1]]),t.push([e[0][0],e[0][1]]),t},s.prototype.getEndTangent=function(){var e=this.attr().points,t=e.length-1,n=[];return n.push([e[t-1][0],e[t-1][1]]),n.push([e[t][0],e[t][1]]),n},s);function s(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}t.default=n},31295:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),s=n(31834),o=n(55595),l=n(7883),a=n(57876),n=(r=o.default,i.__extends(u,r),u.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,width:0,height:0,radius:0})},u.prototype.createPath=function(e,t){var n=this,r=this.attr(),i=this.get("el"),o=!1,a=["x","y","width","height","radius"];s.each(t||r,function(e,t){-1===a.indexOf(t)||o?-1===a.indexOf(t)&&l.SVG_ATTR_MAP[t]&&i.setAttribute(l.SVG_ATTR_MAP[t],e):(i.setAttribute("d",n._assembleRect(r)),o=!0)})},u.prototype._assembleRect=function(e){var t,n=e.x,r=e.y,i=e.width,o=e.height,e=e.radius;return e?(t=a.parseRadius(e),s.isArray(e)?1===e.length?t.r1=t.r2=t.r3=t.r4=e[0]:2===e.length?(t.r1=t.r3=e[0],t.r2=t.r4=e[1]):3===e.length?(t.r1=e[0],t.r2=t.r4=e[1],t.r3=e[2]):(t.r1=e[0],t.r2=e[1],t.r3=e[2],t.r4=e[3]):t.r1=t.r2=t.r3=t.r4=e,[["M "+(n+t.r1)+","+r],["l "+(i-t.r1-t.r2)+",0"],["a "+t.r2+","+t.r2+",0,0,1,"+t.r2+","+t.r2],["l 0,"+(o-t.r2-t.r3)],["a "+t.r3+","+t.r3+",0,0,1,"+-t.r3+","+t.r3],["l "+(t.r3+t.r4-i)+",0"],["a "+t.r4+","+t.r4+",0,0,1,"+-t.r4+","+-t.r4],["l 0,"+(t.r4+t.r1-o)],["a "+t.r1+","+t.r1+",0,0,1,"+t.r1+","+-t.r1],["z"]].join(" ")):"M "+n+","+r+" l "+i+",0 l 0,"+o+" l"+-i+" 0 z"},u);function u(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}t.default=n},11034:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),s=n(31834),o=n(81758),a=n(41289),l=n(7883),u={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},c={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},f={left:"left",start:"left",center:"middle",right:"end",end:"end"},n=(r=n(55595).default,i.__extends(h,r),h.prototype.getDefaultAttrs=function(){var e=r.prototype.getDefaultAttrs.call(this);return i.__assign(i.__assign({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},h.prototype.createPath=function(e,t){var n=this,r=this.attr(),i=this.get("el");this._setFont(),s.each(t||r,function(e,t){"text"===t?n._setText(""+e):"matrix"===t&&e?a.setTransform(n):l.SVG_ATTR_MAP[t]&&i.setAttribute(l.SVG_ATTR_MAP[t],e)}),i.setAttribute("paint-order","stroke"),i.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},h.prototype._setFont=function(){var e=this.get("el"),t=this.attr(),n=t.textBaseline,t=t.textAlign,r=o.detect();r&&"firefox"===r.name?e.setAttribute("dominant-baseline",c[n]||"alphabetic"):e.setAttribute("alignment-baseline",u[n]||"baseline"),e.setAttribute("text-anchor",f[t]||"left")},h.prototype._setText=function(e){var n,r,t=this.get("el"),i=this.attr(),o=i.x,i=i.textBaseline,a=void 0===i?"bottom":i;e?~e.indexOf("\n")?(i=e.split("\n"),n=i.length-1,r="",s.each(i,function(e,t){0===t?"alphabetic"===a?r+='<tspan x="'+o+'" dy="'+-n+'em">'+e+"</tspan>":"top"===a?r+='<tspan x="'+o+'" dy="0.9em">'+e+"</tspan>":"middle"===a?r+='<tspan x="'+o+'" dy="'+-(n-1)/2+'em">'+e+"</tspan>":"bottom"===a?r+='<tspan x="'+o+'" dy="-'+(.3+n)+'em">'+e+"</tspan>":"hanging"===a&&(r+='<tspan x="'+o+'" dy="'+(-(n-1)-.3)+'em">'+e+"</tspan>"):r+='<tspan x="'+o+'" dy="1em">'+e+"</tspan>"}),t.innerHTML=r):t.innerHTML=e:t.innerHTML=""},h);function h(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}t.default=n},113:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveTo=t.sortDom=t.createDom=t.createSVGElement=void 0;var r=n(31834),i=n(7883);function o(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}t.createSVGElement=o,t.createDom=function(e){var t,n=i.SHAPE_TO_TAGS[e.type],r=e.getParent();if(n)return n=o(n),e.get("id")&&(n.id=e.get("id")),e.set("el",n),e.set("attrs",{}),r&&((t=r.get("el"))||(t=r.createDom(),r.set("el",t)),t.appendChild(n)),n;throw new Error("the type "+e.type+" is not supported by svg")},t.sortDom=function(e,t){var e=e.get("el"),t=r.toArray(e.children).sort(t),n=document.createDocumentFragment();t.forEach(function(e){n.appendChild(e)}),e.appendChild(n)},t.moveTo=function(e,t){var n=e.parentNode,r=Array.from(n.childNodes).filter(function(e){return 1===e.nodeType&&"defs"!==e.nodeName.toLowerCase()}),i=r[t],o=r.indexOf(e);i?t<o?n.insertBefore(e,i):o<t&&((i=r[t+1])?n.insertBefore(e,i):n.appendChild(e)):n.appendChild(e)}},2480:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refreshElement=t.drawChildren=void 0;var l=n(41289),u=n(113);t.drawChildren=function(t,e){e.forEach(function(e){e.draw(t)})},t.refreshElement=function(e,t){var n,r,i,o,a,s=e.get("canvas");s&&s.get("autoDraw")&&(n=s.get("context"),r=(r=e.getParent())?r.getChildren():[s],s=e.get("el"),"remove"===t?e.get("isClipShape")?(o=(i=s&&s.parentNode)&&i.parentNode,i&&o&&o.removeChild(i)):s&&s.parentNode&&s.parentNode.removeChild(s):"show"===t?s.setAttribute("visibility","visible"):"hide"===t?s.setAttribute("visibility","hidden"):"zIndex"===t?u.moveTo(s,r.indexOf(e)):"sort"===t?(a=e.get("children"))&&a.length&&u.sortDom(e,function(e,t){return a.indexOf(e)-a.indexOf(t)?1:0}):"clear"===t?s&&(s.innerHTML=""):"matrix"===t?l.setTransform(e):"clip"===t?l.setClip(e,n):"attr"!==t&&"add"===t&&e.draw(n))}},57876:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=t.parseRadius=void 0;var o=n(31834),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,a=/[^\s,]+/gi;t.parseRadius=function(e){var t=0,n=0,r=0,i=0;return o.isArray(e)?1===e.length?t=n=r=i=e[0]:2===e.length?(t=r=e[0],n=i=e[1]):3===e.length?(t=e[0],n=i=e[1],r=e[2]):(t=e[0],n=e[1],r=e[2],i=e[3]):t=n=r=i=e,{r1:t,r2:n,r3:r,r4:i}},t.parsePath=function(r){return r=r||[],o.isArray(r)?r:o.isString(r)?(r=r.match(i),o.each(r,function(n,e){var t;1<(n=n.match(a))[0].length&&(t=n[0].charAt(0),n.splice(1,0,n[0].substr(1)),n[0]=t),o.each(n,function(e,t){isNaN(e)||(n[t]=+e)}),r[e]=n}),r):void 0}},41289:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setClip=t.setTransform=t.setShadow=void 0;var r=n(113);t.setShadow=function(e,t){var n,r=e.cfg.el,e=e.attr(),e={dx:e.shadowOffsetX,dy:e.shadowOffsetY,blur:e.shadowBlur,color:e.shadowColor};e.dx||e.dy||e.blur||e.color?(n=(n=t.find("filter",e))||t.addShadow(e),r.setAttribute("filter","url(#"+n+")")):r.removeAttribute("filter")},t.setTransform=function(e){var t=e.attr().matrix;if(t){for(var e=e.cfg.el,n=[],r=0;r<9;r+=3)n.push(t[r]+","+t[r+1]);-1===(n=n.join(",")).indexOf("NaN")?e.setAttribute("transform","matrix("+n+")"):console.warn("invalid matrix:",t)}},t.setClip=function(e,t){var n=e.getClip(),e=e.get("el");n?e.hasAttribute("clip-path")||(r.createDom(n),n.createPath(t),t=t.addClip(n),e.setAttribute("clip-path","url(#"+t+")")):e.removeAttribute("clip-path")}},52386:function(e,t,n){"use strict";var r,i=n(28860),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentManager=t.Component=void 0,i(n(31364))),o=i(n(81121)),s=i(n(43083)),l=i(n(46834)),u=n(70147),i=(0,s.default)(function e(t){(0,l.default)(this,e)}),n=(t.Component=i,(0,s.default)(c,[{key:"clear",value:function(){this.components=[],this.entities=[],this.lookup={}}},{key:"contains",value:function(e){return-1<this.lookup[e]}},{key:"create",value:function(e,t){this.lookup[e]=this.components.length;t=new this.clazz(t||{});return this.components.push(t),this.entities.push(e),t}},{key:"remove",value:function(e){var t=this.lookup[e];-1<t&&t<this.components.length-1&&(this.components[t]=this.components[this.components.length-1],this.entities[t]=this.entities[this.entities.length-1],this.lookup[this.entities[t]]=t),this.components.pop(),this.entities.pop(),delete this.lookup[e]}},{key:"removeKeepSorted",value:function(e){e=this.lookup[e];if(-1<e){var t=this.entities[e];if(e<this.components.length-1){for(var n=e+1;n<this.components.length;++n)this.components[n-1]=this.components[n];for(var r=e+1;r<this.entities.length;++r)this.entities[r-1]=this.entities[r],this.lookup[this.entities[r-1]]=r-1}this.components.pop(),this.entities.pop(),delete this.lookup[t]}}},{key:"moveItem",value:function(e,t){if(e!==t){for(var n=this.components[e],r=this.entities[e],i=e<t?1:-1,o=e;o!==t;o+=i){var a=o+i;this.components[o]=this.components[a],this.entities[o]=this.entities[a],this.lookup[this.entities[o]]=o}this.components[t]=n,this.entities[t]=r,this.lookup[r]=t}}},{key:"getEntity",value:function(e){return this.entities[e]}},{key:"getComponent",value:function(e){return this.components[e]}},{key:"getComponentByEntity",value:function(e){e=this.lookup[e];return-1<e?this.components[e]:null}},{key:"getCount",value:function(){return this.components.length}},{key:"getEntityByComponentIndex",value:function(e){for(var t=0,n=Object.keys(this.lookup);t<n.length;t++){var r=n[t],r=Number(r);if(this.lookup[r]===e)return r}return u.EMPTY}},{key:"find",value:function(e){for(var t=0;t<this.getCount();t++){var n=this.getComponent(t);if(e(n,t))return n}return null}},{key:"findIndex",value:function(e){for(var t=0;t<this.getCount();t++)if(e(this.getComponent(t),t))return t;return-1}},{key:"forEach",value:function(e){for(var t=0,n=Object.keys(this.lookup);t<n.length;t++){var r=n[t],r=Number(r),i=this.lookup[r];e(r,this.getComponent(i))}}},{key:"forEachAsync",value:(r=(0,o.default)(a.default.mark(function e(t){var n,r,i,o;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=0,r=Object.keys(this.lookup);case 1:if(n<r.length)return i=r[n],i=Number(i),o=this.lookup[i],e.next=7,t(i,this.getComponent(o));e.next=10;break;case 7:n++,e.next=1;break;case 10:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"map",value:function(e){for(var t=[],n=0,r=Object.keys(this.lookup);n<r.length;n++){var i=r[n],i=Number(i),o=this.lookup[i];t.push(e(i,this.getComponent(o)))}return t}}]),c);function c(e){(0,l.default)(this,c),this.clazz=void 0,this.components=[],this.entities=[],this.lookup={},this.clazz=e}t.ComponentManager=n},70147:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY=void 0,t.createEntity=function(){return n++},t.EMPTY=-1;var n=1},76501:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gl=void 0,t.gl=void 0,(t=t.gl={DEPTH_BUFFER_BIT:256,256:"DEPTH_BUFFER_BIT",STENCIL_BUFFER_BIT:1024,1024:"STENCIL_BUFFER_BIT",COLOR_BUFFER_BIT:16384,16384:"COLOR_BUFFER_BIT",POINTS:0,0:"POINTS",LINES:1,1:"LINES",LINE_LOOP:2,2:"LINE_LOOP",LINE_STRIP:3,3:"LINE_STRIP",TRIANGLES:4,4:"TRIANGLES",TRIANGLE_STRIP:5,5:"TRIANGLE_STRIP",TRIANGLE_FAN:6,6:"TRIANGLE_FAN",ZERO:0})[0]="ZERO",t[t.ONE=1]="ONE",t[t.SRC_COLOR=768]="SRC_COLOR",t[t.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",t[t.SRC_ALPHA=770]="SRC_ALPHA",t[t.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",t[t.DST_ALPHA=772]="DST_ALPHA",t[t.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",t[t.DST_COLOR=774]="DST_COLOR",t[t.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",t[t.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",t[t.FUNC_ADD=32774]="FUNC_ADD",t[t.BLEND_EQUATION=32777]="BLEND_EQUATION",t[t.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",t[t.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",t[t.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",t[t.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",t[t.MAX_EXT=32776]="MAX_EXT",t[t.MIN_EXT=32775]="MIN_EXT",t[t.BLEND_DST_RGB=32968]="BLEND_DST_RGB",t[t.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",t[t.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",t[t.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",t[t.CONSTANT_COLOR=32769]="CONSTANT_COLOR",t[t.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",t[t.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",t[t.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",t[t.BLEND_COLOR=32773]="BLEND_COLOR",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",t[t.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",t[t.STREAM_DRAW=35040]="STREAM_DRAW",t[t.STATIC_DRAW=35044]="STATIC_DRAW",t[t.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",t[t.BUFFER_SIZE=34660]="BUFFER_SIZE",t[t.BUFFER_USAGE=34661]="BUFFER_USAGE",t[t.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",t[t.FRONT=1028]="FRONT",t[t.BACK=1029]="BACK",t[t.FRONT_AND_BACK=1032]="FRONT_AND_BACK",t[t.CULL_FACE=2884]="CULL_FACE",t[t.BLEND=3042]="BLEND",t[t.DITHER=3024]="DITHER",t[t.STENCIL_TEST=2960]="STENCIL_TEST",t[t.DEPTH_TEST=2929]="DEPTH_TEST",t[t.SCISSOR_TEST=3089]="SCISSOR_TEST",t[t.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",t[t.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",t[t.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",t[t.NO_ERROR=0]="NO_ERROR",t[t.INVALID_ENUM=1280]="INVALID_ENUM",t[t.INVALID_VALUE=1281]="INVALID_VALUE",t[t.INVALID_OPERATION=1282]="INVALID_OPERATION",t[t.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",t[t.CW=2304]="CW",t[t.CCW=2305]="CCW",t[t.LINE_WIDTH=2849]="LINE_WIDTH",t[t.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",t[t.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",t[t.CULL_FACE_MODE=2885]="CULL_FACE_MODE",t[t.FRONT_FACE=2886]="FRONT_FACE",t[t.DEPTH_RANGE=2928]="DEPTH_RANGE",t[t.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",t[t.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",t[t.DEPTH_FUNC=2932]="DEPTH_FUNC",t[t.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",t[t.STENCIL_FUNC=2962]="STENCIL_FUNC",t[t.STENCIL_FAIL=2964]="STENCIL_FAIL",t[t.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",t[t.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",t[t.STENCIL_REF=2967]="STENCIL_REF",t[t.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",t[t.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",t[t.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",t[t.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",t[t.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",t[t.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",t[t.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",t[t.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",t[t.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",t[t.VIEWPORT=2978]="VIEWPORT",t[t.SCISSOR_BOX=3088]="SCISSOR_BOX",t[t.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",t[t.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",t[t.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",t[t.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",t[t.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",t[t.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",t[t.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",t[t.RED_BITS=3410]="RED_BITS",t[t.GREEN_BITS=3411]="GREEN_BITS",t[t.BLUE_BITS=3412]="BLUE_BITS",t[t.ALPHA_BITS=3413]="ALPHA_BITS",t[t.DEPTH_BITS=3414]="DEPTH_BITS",t[t.STENCIL_BITS=3415]="STENCIL_BITS",t[t.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",t[t.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",t[t.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",t[t.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",t[t.SAMPLES=32937]="SAMPLES",t[t.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",t[t.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",t[t.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",t[t.DONT_CARE=4352]="DONT_CARE",t[t.FASTEST=4353]="FASTEST",t[t.NICEST=4354]="NICEST",t[t.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",t[t.BYTE=5120]="BYTE",t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.SHORT=5122]="SHORT",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.INT=5124]="INT",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.FLOAT=5126]="FLOAT",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.ALPHA=6406]="ALPHA",t[t.RGB=6407]="RGB",t[t.RGBA=6408]="RGBA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",t[t.VERTEX_SHADER=35633]="VERTEX_SHADER",t[t.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",t[t.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",t[t.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",t[t.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",t[t.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",t[t.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",t[t.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",t[t.SHADER_TYPE=35663]="SHADER_TYPE",t[t.DELETE_STATUS=35712]="DELETE_STATUS",t[t.LINK_STATUS=35714]="LINK_STATUS",t[t.VALIDATE_STATUS=35715]="VALIDATE_STATUS",t[t.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",t[t.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",t[t.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",t[t.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",t[t.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",t[t.NEVER=512]="NEVER",t[t.LESS=513]="LESS",t[t.EQUAL=514]="EQUAL",t[t.LEQUAL=515]="LEQUAL",t[t.GREATER=516]="GREATER",t[t.NOTEQUAL=517]="NOTEQUAL",t[t.GEQUAL=518]="GEQUAL",t[t.ALWAYS=519]="ALWAYS",t[t.KEEP=7680]="KEEP",t[t.REPLACE=7681]="REPLACE",t[t.INCR=7682]="INCR",t[t.DECR=7683]="DECR",t[t.INVERT=5386]="INVERT",t[t.INCR_WRAP=34055]="INCR_WRAP",t[t.DECR_WRAP=34056]="DECR_WRAP",t[t.VENDOR=7936]="VENDOR",t[t.RENDERER=7937]="RENDERER",t[t.VERSION=7938]="VERSION",t[t.NEAREST=9728]="NEAREST",t[t.LINEAR=9729]="LINEAR",t[t.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",t[t.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",t[t.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",t[t.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",t[t.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",t[t.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",t[t.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",t[t.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE=5890]="TEXTURE",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t[t.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",t[t.TEXTURE0=33984]="TEXTURE0",t[t.TEXTURE1=33985]="TEXTURE1",t[t.TEXTURE2=33986]="TEXTURE2",t[t.TEXTURE3=33987]="TEXTURE3",t[t.TEXTURE4=33988]="TEXTURE4",t[t.TEXTURE5=33989]="TEXTURE5",t[t.TEXTURE6=33990]="TEXTURE6",t[t.TEXTURE7=33991]="TEXTURE7",t[t.TEXTURE8=33992]="TEXTURE8",t[t.TEXTURE9=33993]="TEXTURE9",t[t.TEXTURE10=33994]="TEXTURE10",t[t.TEXTURE11=33995]="TEXTURE11",t[t.TEXTURE12=33996]="TEXTURE12",t[t.TEXTURE13=33997]="TEXTURE13",t[t.TEXTURE14=33998]="TEXTURE14",t[t.TEXTURE15=33999]="TEXTURE15",t[t.TEXTURE16=34e3]="TEXTURE16",t[t.TEXTURE17=34001]="TEXTURE17",t[t.TEXTURE18=34002]="TEXTURE18",t[t.TEXTURE19=34003]="TEXTURE19",t[t.TEXTURE20=34004]="TEXTURE20",t[t.TEXTURE21=34005]="TEXTURE21",t[t.TEXTURE22=34006]="TEXTURE22",t[t.TEXTURE23=34007]="TEXTURE23",t[t.TEXTURE24=34008]="TEXTURE24",t[t.TEXTURE25=34009]="TEXTURE25",t[t.TEXTURE26=34010]="TEXTURE26",t[t.TEXTURE27=34011]="TEXTURE27",t[t.TEXTURE28=34012]="TEXTURE28",t[t.TEXTURE29=34013]="TEXTURE29",t[t.TEXTURE30=34014]="TEXTURE30",t[t.TEXTURE31=34015]="TEXTURE31",t[t.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",t[t.REPEAT=10497]="REPEAT",t[t.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t[t.FLOAT_VEC2=35664]="FLOAT_VEC2",t[t.FLOAT_VEC3=35665]="FLOAT_VEC3",t[t.FLOAT_VEC4=35666]="FLOAT_VEC4",t[t.INT_VEC2=35667]="INT_VEC2",t[t.INT_VEC3=35668]="INT_VEC3",t[t.INT_VEC4=35669]="INT_VEC4",t[t.BOOL=35670]="BOOL",t[t.BOOL_VEC2=35671]="BOOL_VEC2",t[t.BOOL_VEC3=35672]="BOOL_VEC3",t[t.BOOL_VEC4=35673]="BOOL_VEC4",t[t.FLOAT_MAT2=35674]="FLOAT_MAT2",t[t.FLOAT_MAT3=35675]="FLOAT_MAT3",t[t.FLOAT_MAT4=35676]="FLOAT_MAT4",t[t.SAMPLER_2D=35678]="SAMPLER_2D",t[t.SAMPLER_CUBE=35680]="SAMPLER_CUBE",t[t.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",t[t.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",t[t.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",t[t.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",t[t.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",t[t.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",t[t.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",t[t.COMPILE_STATUS=35713]="COMPILE_STATUS",t[t.LOW_FLOAT=36336]="LOW_FLOAT",t[t.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",t[t.HIGH_FLOAT=36338]="HIGH_FLOAT",t[t.LOW_INT=36339]="LOW_INT",t[t.MEDIUM_INT=36340]="MEDIUM_INT",t[t.HIGH_INT=36341]="HIGH_INT",t[t.FRAMEBUFFER=36160]="FRAMEBUFFER",t[t.RENDERBUFFER=36161]="RENDERBUFFER",t[t.RGBA4=32854]="RGBA4",t[t.RGB5_A1=32855]="RGB5_A1",t[t.RGB565=36194]="RGB565",t[t.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",t[t.STENCIL_INDEX=6401]="STENCIL_INDEX",t[t.STENCIL_INDEX8=36168]="STENCIL_INDEX8",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t[t.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",t[t.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",t[t.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",t[t.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",t[t.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",t[t.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",t[t.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",t[t.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",t[t.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",t[t.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",t[t.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",t[t.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",t[t.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",t[t.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",t[t.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",t[t.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",t[t.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",t[t.NONE=0]="NONE",t[t.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",t[t.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",t[t.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",t[t.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",t[t.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",t[t.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",t[t.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",t[t.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",t[t.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",t[t.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",t[t.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",t[t.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",t[t.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",t[t.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",t[t.COPY_SRC=1]="COPY_SRC",t[t.COPY_DST=2]="COPY_DST",t[t.SAMPLED=4]="SAMPLED",t[t.STORAGE=8]="STORAGE",t[t.RENDER_ATTACHMENT=16]="RENDER_ATTACHMENT"},78574:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AST_TOKEN_TYPES=t.AST_NODE_TYPES=void 0,Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return r.Component}}),Object.defineProperty(t,"ComponentManager",{enumerable:!0,get:function(){return r.ComponentManager}}),Object.defineProperty(t,"ConfigService",{enumerable:!0,get:function(){return a.ConfigService}}),t.Target=t.STORAGE_CLASS=t.DefineValuePlaceholder=void 0,Object.defineProperty(t,"createEntity",{enumerable:!0,get:function(){return o.createEntity}}),Object.defineProperty(t,"gl",{enumerable:!0,get:function(){return i.gl}}),Object.defineProperty(t,"isSafari",{enumerable:!0,get:function(){return s.isSafari}});var r=n(52386),i=n(76501),o=n(70147),a=n(94081),s=n(65392);t.AST_TOKEN_TYPES=void 0,t.AST_TOKEN_TYPES={Void:"Void",Boolean:"Boolean",Float:"Float",Uint32:"Uint32",Int32:"Int32",Vector:"Vector",Vector2Float:"vec2<f32>",Vector3Float:"vec3<f32>",Vector4Float:"vec4<f32>",Vector2Boolean:"vec2<bool>",Vector3Boolean:"vec3<bool>",Vector4Boolean:"vec4<bool>",Vector2Uint:"vec2<u32>",Vector3Uint:"vec3<u32>",Vector4Uint:"vec4<u32>",Vector2Int:"vec2<i32>",Vector3Int:"vec3<i32>",Vector4Int:"vec4<i32>",Matrix:"Matrix",Matrix3x3Float:"mat3x3<f32>",Matrix4x4Float:"mat4x4<i32>",Struct:"Struct",FloatArray:"Float[]",Vector4FloatArray:"vec4<f32>[]"},t.AST_NODE_TYPES=void 0,t.AST_NODE_TYPES={Program:"Program",Identifier:"Identifier",VariableDeclaration:"VariableDeclaration",BlockStatement:"BlockStatement",ReturnStatement:"ReturnStatement",FunctionDeclaration:"FunctionDeclaration",VariableDeclarator:"VariableDeclarator",AssignmentExpression:"AssignmentExpression",LogicalExpression:"LogicalExpression",BinaryExpression:"BinaryExpression",ArrayExpression:"ArrayExpression",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",FunctionExpression:"FunctionExpression",MemberExpression:"MemberExpression",ConditionalExpression:"ConditionalExpression",ExpressionStatement:"ExpressionStatement",CallExpression:"CallExpression",NumThreadStatement:"NumThreadStatement",StorageStatement:"StorageStatement",DoWhileStatement:"DoWhileStatement",WhileStatement:"WhileStatement",ForStatement:"ForStatement",BreakStatement:"BreakStatement",ContinueStatement:"ContinueStatement",IfStatement:"IfStatement",ImportedFunctionStatement:"ImportedFunctionStatement"},t.STORAGE_CLASS=void 0,t.STORAGE_CLASS={Input:"Input",Output:"Output",Uniform:"Uniform",Workgroup:"Workgroup",UniformConstant:"UniformConstant",Image:"Image",StorageBuffer:"StorageBuffer",Private:"Private",Function:"Function"},t.Target=void 0,t.Target={GLSL100:"GLSL100",GLSL450:"GLSL450",WGSL:"WGSL"},t.DefineValuePlaceholder="__DefineValuePlaceholder__"},94081:function(e,t,n){"use strict";var r=n(28860),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigService=void 0,r(n(46834)));function o(){(0,i.default)(this,o),this.config=void 0}(0,r(n(43083)).default)(o,[{key:"get",value:function(){return this.config}},{key:"set",value:function(e){this.config=e}}]),t.ConfigService=o},65392:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=void 0;var n="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent);t.isSafari=n},50837:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WebGLEngine",{enumerable:!0,get:function(){return r.WebGLEngine}});var r=n(94145)},23963:function(e,t,n){"use strict";var r=n(28860),s=(Object.defineProperty(t,"__esModule",{value:!0}),t.extractUniforms=function(t){var n={};return Object.keys(t).forEach(function(e){!function r(i,t,o,a){null===t||"number"==typeof t||"boolean"==typeof t||Array.isArray(t)&&"number"==typeof t[0]||(0,s.default)(t)||""===t||void 0!==t.resize?o["".concat(a&&a+".").concat(i)]=t:((0,l.default)(t)&&Object.keys(t).forEach(function(e){r(e,t[e],o,"".concat(a&&a+".").concat(i))}),Array.isArray(t)&&t.forEach(function(t,n){Object.keys(t).forEach(function(e){r(e,t[e],o,"".concat(a&&a+".").concat(i,"[").concat(n,"]"))})}))}(e,t[e],n,"")}),n},r(n(34587))),l=r(n(4361))},68061:function(e,t,n){"use strict";var r=n(28860),s=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n(46834)));function l(e,t){(0,s.default)(this,l),this.attribute=void 0,this.buffer=void 0;var n=t.buffer,r=t.offset,i=t.stride,o=t.normalized,a=t.size,t=t.divisor;this.buffer=n,this.attribute={buffer:n.get(),offset:r||0,stride:i||0,normalized:o||!1,divisor:t||0},a&&(this.attribute.size=a)}(0,r(n(43083)).default)(l,[{key:"get",value:function(){return this.attribute}},{key:"updateBuffer",value:function(e){this.buffer.subData(e)}},{key:"destroy",value:function(){this.buffer.destroy()}}]),t.default=l},80573:function(e,t,n){"use strict";var r=n(28860),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n(46834))),r=r(n(43083)),o=n(78574),a=n(32557);function s(e,t){(0,i.default)(this,s),this.buffer=void 0;var n=t.data,r=t.usage,t=t.type;this.buffer=e.buffer({data:n,usage:a.usageMap[r||o.gl.STATIC_DRAW],type:a.dataTypeMap[t||o.gl.UNSIGNED_BYTE]})}(0,r.default)(s,[{key:"get",value:function(){return this.buffer}},{key:"destroy",value:function(){}},{key:"subData",value:function(e){var t=e.data,e=e.offset;this.buffer.subdata(t,e)}}]),t.default=s},57489:function(e,t,n){"use strict";var r=n(28860),l=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n(31364))),u=r(n(7637)),i=r(n(75650)),o=r(n(81121)),a=r(n(46834)),s=r(n(43083)),c=r(n(34587)),f=n(78574);function h(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach(function(e){(0,i.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var p,y=0,r=((0,s.default)(m,[{key:"run",value:function(){var e=this;1<this.context.maxIteration&&this.context.needPingpong&&(this.compiledPingpong=!0),(this.compiledPingpong||this.dynamicPingpong)&&this.swap(),this.texFBO=this.reGl.framebuffer({color:this.getOuputDataTexture().texture}),this.texFBO.use(function(){e.computeCommand()})}},{key:"readData",value:(p=(0,o.default)(l.default.mark(function e(){var t,n,r,i,o,a,s=this;return l.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.reGl({framebuffer:this.texFBO})(function(){t=s.reGl.read()}),!t){e.next=6;break}if(i=this.getOuputDataTexture(),n=i.originalDataLength,r=i.elementsPerTexel,i=i.typedArrayConstructor,i=void 0===i?Float32Array:i,o=[],4!==r)for(a=0;a<t.length;a+=4)1===r?o.push(t[a]):2===r?o.push(t[a],t[a+1]):o.push(t[a],t[a+1],t[a+2]);else o=t;return e.abrupt("return",new i(o.slice(0,n)));case 6:return e.abrupt("return",new Float32Array);case 7:case"end":return e.stop()}},e,this)})),function(){return p.apply(this,arguments)})},{key:"confirmInput",value:function(e,t){e=this.entity===e.entity?(this.dynamicPingpong=!0,this):e;this.textureCache[t].id=e.getOuputDataTexture().id,this.textureCache[t].texture=e.getOuputDataTexture().texture}},{key:"updateUniform",value:function(){}},{key:"updateBuffer",value:function(t,e){var n=this.context.uniforms.find(function(e){return e.name===t});n&&(e=(n=this.calcDataTexture(t,n.type,e)).texture,n=n.data,this.textureCache[t].data=n,this.textureCache[t].texture=e)}},{key:"destroy",value:function(){}},{key:"swap",value:function(){this.swapOutputTextureName||this.createSwapOutputDataTexture(),this.compiledPingpong&&(e=this.context.output.name,this.textureCache[e].id=this.getOuputDataTexture().id,this.textureCache[e].texture=this.getOuputDataTexture().texture);var e=this.outputTextureName;this.outputTextureName=this.swapOutputTextureName,this.swapOutputTextureName=e}},{key:"getOuputDataTexture",value:function(){return this.textureCache[this.outputTextureName]}},{key:"createSwapOutputDataTexture",value:function(){var e=this.cloneDataTexture(this.getOuputDataTexture());this.swapOutputTextureName="".concat(this.entity,"-swap"),this.textureCache[this.swapOutputTextureName]=e}},{key:"cloneDataTexture",value:function(e){var t=e.data,n=e.textureWidth;return d(d({},e),{},{id:y++,texture:this.reGl.texture({width:n,height:n,data:t,type:"float"})})}},{key:"calcDataTexture",value:function(e,t,n){var r=1;t===f.AST_TOKEN_TYPES.Vector4FloatArray&&(r=4);for(var i=[],o=0;o<n.length;o+=r)1===r?i.push(n[o],0,0,0):2===r?i.push(n[o],n[o+1],0,0):3===r?i.push(n[o],n[o+1],n[o+2],0):4===r&&i.push(n[o],n[o+1],n[o+2],n[o+3]);var t=n.length,a=Math.ceil(t/r),s=Math.ceil(Math.sqrt(a)),l=s*s,l=(a<l&&i.push.apply(i,(0,u.default)(new Array(4*(l-a)).fill(0))),this.reGl.texture({width:s,height:s,data:i,type:"float"}));return{id:y++,data:i,originalDataLength:t,typedArrayConstructor:(0,c.default)(n)?n.constructor:void 0,textureWidth:s,texture:l,texelCount:a,elementsPerTexel:r,isOutput:e===this.context.output.name}}}]),m);function m(e,t){var s=this,l=((0,a.default)(this,m),this.reGl=e,this.context=t,this.entity=(0,f.createEntity)(),this.texFBO=void 0,this.computeCommand=void 0,this.textureCache={},this.outputTextureName=void 0,this.swapOutputTextureName=void 0,this.compiledPingpong=void 0,this.dynamicPingpong=void 0,{}),e=(this.context.uniforms.forEach(function(e){var t,n=e.name,r=e.type,i=e.data,o=e.isReferer,a=e.storageClass;if(a===f.STORAGE_CLASS.StorageBuffer)o?(s.textureCache[n]={data:void 0},l["".concat(n,"Size")]=function(){return i.compiledBundle.context.output.textureSize}):(s.textureCache[n]=s.calcDataTexture(n,r,i),t=(o=s.textureCache[n]).textureWidth,o=o.isOutput,l["".concat(n,"Size")]=[t,t],o&&(s.outputTextureName=n,s.context.needPingpong)&&(s.outputTextureName="".concat(n,"Output"),s.textureCache[s.outputTextureName]=s.calcDataTexture(n,r,i))),l[n]=function(){return s.textureCache[n].texture};else if(a===f.STORAGE_CLASS.Uniform){if(i&&(Array.isArray(i)||(0,c.default)(i))&&16<i.length)throw new Error("invalid data type ".concat(r));l[n]=function(){return e.data}}}),this.getOuputDataTexture()),t=e.textureWidth,e=e.texelCount,e=(l.u_OutputTextureSize=[t,t],l.u_OutputTexelCount=e,this.context.output.textureSize=[t,t],{attributes:{a_Position:[[-1,1,0],[-1,-1,0],[1,1,0],[1,-1,0]],a_TexCoord:[[0,1],[0,0],[1,1],[1,0]]},frag:"#ifdef GL_FRAGMENT_PRECISION_HIGH\n precision highp float;\n#else\n precision mediump float;\n#endif\n".concat(this.context.shader),uniforms:l,vert:"attribute vec3 a_Position;\nattribute vec2 a_TexCoord;\n\nvarying vec2 v_TexCoord;\n\nvoid main() {\n gl_Position = vec4(a_Position, 1.0);\n v_TexCoord = a_TexCoord;\n}",primitive:"triangle strip",count:4});this.computeCommand=this.reGl(e)}t.default=r},29653:function(e,t,n){"use strict";var r=n(28860),o=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n(46834))),r=r(n(43083)),a=n(78574),s=n(32557),n=((0,r.default)(l,[{key:"get",value:function(){return this.elements}},{key:"subData",value:function(e){e=e.data;this.elements.subdata(e)}},{key:"destroy",value:function(){this.elements.destroy()}}]),l);function l(e,t){(0,o.default)(this,l),this.elements=void 0;var n=t.data,r=t.usage,i=t.type,t=t.count;this.elements=e.elements({data:n,usage:s.usageMap[r||a.gl.STATIC_DRAW],type:s.dataTypeMap[i||a.gl.UNSIGNED_BYTE],count:t})}t.default=n},73095:function(e,t,n){"use strict";var r=n(28860),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n(46834)));function s(e,t){(0,a.default)(this,s),this.framebuffer=void 0;var n=t.width,r=t.height,i=t.color,o=t.colors,t=(t.depth,t.stencil,{width:n,height:r});Array.isArray(o)&&(t.colors=o.map(function(e){return e.get()})),i&&"boolean"!=typeof i&&(t.color=i.get()),this.framebuffer=e.framebuffer(t)}(0,r(n(43083)).default)(s,[{key:"get",value:function(){return this.framebuffer}},{key:"destroy",value:function(){this.framebuffer.destroy()}},{key:"resize",value:function(e){var t=e.width,e=e.height;this.framebuffer.resize(t,e)}}]),t.default=s},97144:function(e,t,n){"use strict";var r=n(28860),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n(60549))),o=r(n(75650)),v=r(n(46834)),r=r(n(43083)),b=n(78574),_=n(23963),x=n(32557);function a(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach(function(e){(0,o.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}(0,r.default)(w,[{key:"addUniforms",value:function(e){this.uniforms=s(s({},this.uniforms),(0,_.extractUniforms)(e))}},{key:"draw",value:function(e){var n=s(s({},this.uniforms),(0,_.extractUniforms)(e.uniforms||{})),r={};Object.keys(n).forEach(function(e){var t=(0,i.default)(n[e]);"boolean"===t||"number"===t||Array.isArray(n[e])||n[e].BYTES_PER_ELEMENT?r[e]=n[e]:"string"!==t&&(r[e]=n[e].get())}),this.drawCommand(r)}},{key:"destroy",value:function(){}},{key:"initDepthDrawParams",value:function(e,t){e=e.depth;e&&(t.depth={enable:void 0===e.enable||!!e.enable,mask:void 0===e.mask||!!e.mask,func:x.depthFuncMap[e.func||b.gl.LESS],range:e.range||[0,1]})}},{key:"initBlendDrawParams",value:function(e,t){var n,r,i,e=e.blend;e&&(n=e.enable,r=e.func,i=e.equation,e=e.color,t.blend={enable:!!n,func:{srcRGB:x.blendFuncMap[r&&r.srcRGB||b.gl.SRC_ALPHA],srcAlpha:x.blendFuncMap[r&&r.srcAlpha||b.gl.SRC_ALPHA],dstRGB:x.blendFuncMap[r&&r.dstRGB||b.gl.ONE_MINUS_SRC_ALPHA],dstAlpha:x.blendFuncMap[r&&r.dstAlpha||b.gl.ONE_MINUS_SRC_ALPHA]},equation:{rgb:x.blendEquationMap[i&&i.rgb||b.gl.FUNC_ADD],alpha:x.blendEquationMap[i&&i.alpha||b.gl.FUNC_ADD]},color:void 0===e?[0,0,0,0]:e})}},{key:"initStencilDrawParams",value:function(e,t){var n,r,i,o,e=e.stencil;e&&(n=e.enable,r=e.mask,i=void 0===(i=e.func)?{cmp:b.gl.ALWAYS,ref:0,mask:-1}:i,o=void 0===(o=e.opFront)?{fail:b.gl.KEEP,zfail:b.gl.KEEP,zpass:b.gl.KEEP}:o,e=void 0===(e=e.opBack)?{fail:b.gl.KEEP,zfail:b.gl.KEEP,zpass:b.gl.KEEP}:e,t.stencil={enable:!!n,mask:void 0===r?-1:r,func:s(s({},i),{},{cmp:x.stencilFuncMap[i.cmp]}),opFront:{fail:x.stencilOpMap[o.fail],zfail:x.stencilOpMap[o.zfail],zpass:x.stencilOpMap[o.zpass]},opBack:{fail:x.stencilOpMap[e.fail],zfail:x.stencilOpMap[e.zfail],zpass:x.stencilOpMap[e.zpass]}})}},{key:"initCullDrawParams",value:function(e,t){var n,e=e.cull;e&&(n=e.enable,e=void 0===(e=e.face)?b.gl.BACK:e,t.cull={enable:!!n,face:x.cullFaceMap[e]})}},{key:"generateDefines",value:function(t){return Object.keys(t).map(function(e){return"#define ".concat(e," ").concat(Number(t[e]))}).join("\n")}}]);n=w;function w(t,e){(0,v.default)(this,w),this.reGl=void 0,this.drawCommand=void 0,this.uniforms={},this.reGl=t;var n=e.vs,r=e.fs,i=e.defines,o=e.attributes,a=e.uniforms,s=e.primitive,l=e.count,u=e.elements,c=e.depth,f=e.blend,h=e.stencil,d=e.cull,p=e.instances,y=e.scissor,e=e.viewport,m={},g=(a&&(this.uniforms=(0,_.extractUniforms)(a),Object.keys(a).forEach(function(e){m[e]=t.prop(e)})),{}),a=(Object.keys(o).forEach(function(e){g[e]=o[e].get()}),i&&this.generateDefines(i)||""),i={attributes:g,frag:"#ifdef GL_FRAGMENT_PRECISION_HIGH\n precision highp float;\n#else\n precision mediump float;\n#endif\n".concat(a,"\n").concat(r),uniforms:m,vert:"\n".concat(a,"\n").concat(n),primitive:x.primitiveMap[void 0===s?b.gl.TRIANGLES:s]};p&&(i.instances=p),l&&(i.count=l),u&&(i.elements=u.get()),y&&(i.scissor=y),e&&(i.viewport=e),this.initDepthDrawParams({depth:c},i),this.initBlendDrawParams({blend:f},i),this.initStencilDrawParams({stencil:h},i),this.initCullDrawParams({cull:d},i),this.drawCommand=t(i)}t.default=n},79191:function(e,t,n){"use strict";var r=n(28860),m=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n(46834))),r=r(n(43083)),g=n(78574),v=n(32557);function b(e,t){(0,m.default)(this,b),this.texture=void 0,this.width=void 0,this.height=void 0;var n=t.data,r=t.type,r=void 0===r?g.gl.UNSIGNED_BYTE:r,i=t.width,o=t.height,a=t.flipY,a=void 0!==a&&a,s=t.format,s=void 0===s?g.gl.RGBA:s,l=t.mipmap,l=void 0!==l&&l,u=t.wrapS,u=void 0===u?g.gl.CLAMP_TO_EDGE:u,c=t.wrapT,c=void 0===c?g.gl.CLAMP_TO_EDGE:c,f=t.aniso,f=void 0===f?0:f,h=t.alignment,h=void 0===h?1:h,d=t.premultiplyAlpha,d=void 0!==d&&d,p=t.mag,p=void 0===p?g.gl.NEAREST:p,y=t.min,y=void 0===y?g.gl.NEAREST:y,t=t.colorSpace,t=void 0===t?g.gl.BROWSER_DEFAULT_WEBGL:t,i={width:this.width=i,height:this.height=o,type:v.dataTypeMap[r],format:v.formatMap[s],wrapS:v.wrapModeMap[u],wrapT:v.wrapModeMap[c],mag:v.filterMap[p],min:v.filterMap[y],alignment:h,flipY:a,colorSpace:v.colorSpaceMap[t],premultiplyAlpha:d,aniso:f};n&&(i.data=n),"number"==typeof l?i.mipmap=v.mipmapMap[l]:"boolean"==typeof l&&(i.mipmap=l),this.texture=e.texture(i)}(0,r.default)(b,[{key:"get",value:function(){return this.texture}},{key:"update",value:function(){this.texture._texture.bind()}},{key:"resize",value:function(e){var t=e.width,e=e.height;this.texture.resize(t,e),this.width=t,this.height=e}},{key:"destroy",value:function(){this.texture.destroy()}}]),t.default=b},32557:function(e,t,n){"use strict";var r=n(28860);Object.defineProperty(t,"__esModule",{value:!0}),t.wrapModeMap=t.usageMap=t.stencilOpMap=t.stencilFuncMap=t.primitiveMap=t.mipmapMap=t.formatMap=t.filterMap=t.depthFuncMap=t.dataTypeMap=t.cullFaceMap=t.colorSpaceMap=t.blendFuncMap=t.blendEquationMap=void 0;r=r(n(75650)),n=n(78574);(0,r.default)(i={},n.gl.POINTS,"points"),(0,r.default)(i,n.gl.LINES,"lines"),(0,r.default)(i,n.gl.LINE_LOOP,"line loop"),(0,r.default)(i,n.gl.LINE_STRIP,"line strip"),(0,r.default)(i,n.gl.TRIANGLES,"triangles"),(0,r.default)(i,n.gl.TRIANGLE_FAN,"triangle fan"),(0,r.default)(i,n.gl.TRIANGLE_STRIP,"triangle strip");t.primitiveMap=i,(0,r.default)(i={},n.gl.STATIC_DRAW,"static"),(0,r.default)(i,n.gl.DYNAMIC_DRAW,"dynamic"),(0,r.default)(i,n.gl.STREAM_DRAW,"stream");t.usageMap=i,(0,r.default)(i={},n.gl.BYTE,"int8"),(0,r.default)(i,n.gl.UNSIGNED_INT,"int16"),(0,r.default)(i,n.gl.INT,"int32"),(0,r.default)(i,n.gl.UNSIGNED_BYTE,"uint8"),(0,r.default)(i,n.gl.UNSIGNED_SHORT,"uint16"),(0,r.default)(i,n.gl.UNSIGNED_INT,"uint32"),(0,r.default)(i,n.gl.FLOAT,"float"),t.dataTypeMap=i,(0,r.default)(i={},n.gl.ALPHA,"alpha"),(0,r.default)(i,n.gl.LUMINANCE,"luminance"),(0,r.default)(i,n.gl.LUMINANCE_ALPHA,"luminance alpha"),(0,r.default)(i,n.gl.RGB,"rgb"),(0,r.default)(i,n.gl.RGBA,"rgba"),(0,r.default)(i,n.gl.RGBA4,"rgba4"),(0,r.default)(i,n.gl.RGB5_A1,"rgb5 a1"),(0,r.default)(i,n.gl.RGB565,"rgb565"),(0,r.default)(i,n.gl.DEPTH_COMPONENT,"depth"),(0,r.default)(i,n.gl.DEPTH_STENCIL,"depth stencil"),t.formatMap=i,(0,r.default)(i={},n.gl.DONT_CARE,"dont care"),(0,r.default)(i,n.gl.NICEST,"nice"),(0,r.default)(i,n.gl.FASTEST,"fast"),t.mipmapMap=i,(0,r.default)(i={},n.gl.NEAREST,"nearest"),(0,r.default)(i,n.gl.LINEAR,"linear"),(0,r.default)(i,n.gl.LINEAR_MIPMAP_LINEAR,"mipmap"),(0,r.default)(i,n.gl.NEAREST_MIPMAP_LINEAR,"nearest mipmap linear"),(0,r.default)(i,n.gl.LINEAR_MIPMAP_NEAREST,"linear mipmap nearest"),(0,r.default)(i,n.gl.NEAREST_MIPMAP_NEAREST,"nearest mipmap nearest"),t.filterMap=i,(0,r.default)(i={},n.gl.REPEAT,"repeat"),(0,r.default)(i,n.gl.CLAMP_TO_EDGE,"clamp"),(0,r.default)(i,n.gl.MIRRORED_REPEAT,"mirror"),t.wrapModeMap=i,(0,r.default)(i={},n.gl.NONE,"none"),(0,r.default)(i,n.gl.BROWSER_DEFAULT_WEBGL,"browser"),t.colorSpaceMap=i,(0,r.default)(i={},n.gl.NEVER,"never"),(0,r.default)(i,n.gl.ALWAYS,"always"),(0,r.default)(i,n.gl.LESS,"less"),(0,r.default)(i,n.gl.LEQUAL,"lequal"),(0,r.default)(i,n.gl.GREATER,"greater"),(0,r.default)(i,n.gl.GEQUAL,"gequal"),(0,r.default)(i,n.gl.EQUAL,"equal"),(0,r.default)(i,n.gl.NOTEQUAL,"notequal"),t.depthFuncMap=i,(0,r.default)(i={},n.gl.FUNC_ADD,"add"),(0,r.default)(i,n.gl.MIN_EXT,"min"),(0,r.default)(i,n.gl.MAX_EXT,"max"),(0,r.default)(i,n.gl.FUNC_SUBTRACT,"subtract"),(0,r.default)(i,n.gl.FUNC_REVERSE_SUBTRACT,"reverse subtract"),t.blendEquationMap=i,(0,r.default)(i={},n.gl.ZERO,"zero"),(0,r.default)(i,n.gl.ONE,"one"),(0,r.default)(i,n.gl.SRC_COLOR,"src color"),(0,r.default)(i,n.gl.ONE_MINUS_SRC_COLOR,"one minus src color"),(0,r.default)(i,n.gl.SRC_ALPHA,"src alpha"),(0,r.default)(i,n.gl.ONE_MINUS_SRC_ALPHA,"one minus src alpha"),(0,r.default)(i,n.gl.DST_COLOR,"dst color"),(0,r.default)(i,n.gl.ONE_MINUS_DST_COLOR,"one minus dst color"),(0,r.default)(i,n.gl.DST_ALPHA,"dst alpha"),(0,r.default)(i,n.gl.ONE_MINUS_DST_ALPHA,"one minus dst alpha"),(0,r.default)(i,n.gl.CONSTANT_COLOR,"constant color"),(0,r.default)(i,n.gl.ONE_MINUS_CONSTANT_COLOR,"one minus constant color"),(0,r.default)(i,n.gl.CONSTANT_ALPHA,"constant alpha"),(0,r.default)(i,n.gl.ONE_MINUS_CONSTANT_ALPHA,"one minus constant alpha"),(0,r.default)(i,n.gl.SRC_ALPHA_SATURATE,"src alpha saturate"),t.blendFuncMap=i,(0,r.default)(i={},n.gl.NEVER,"never"),(0,r.default)(i,n.gl.ALWAYS,"always"),(0,r.default)(i,n.gl.LESS,"less"),(0,r.default)(i,n.gl.LEQUAL,"lequal"),(0,r.default)(i,n.gl.GREATER,"greater"),(0,r.default)(i,n.gl.GEQUAL,"gequal"),(0,r.default)(i,n.gl.EQUAL,"equal"),(0,r.default)(i,n.gl.NOTEQUAL,"notequal"),t.stencilFuncMap=i,(0,r.default)(i={},n.gl.ZERO,"zero"),(0,r.default)(i,n.gl.KEEP,"keep"),(0,r.default)(i,n.gl.REPLACE,"replace"),(0,r.default)(i,n.gl.INVERT,"invert"),(0,r.default)(i,n.gl.INCR,"increment"),(0,r.default)(i,n.gl.DECR,"decrement"),(0,r.default)(i,n.gl.INCR_WRAP,"increment wrap"),(0,r.default)(i,n.gl.DECR_WRAP,"decrement wrap");t.stencilOpMap=i,(0,r.default)(i={},n.gl.FRONT,"front"),(0,r.default)(i,n.gl.BACK,"back");var i,r=i;t.cullFaceMap=r},94145:function(e,t,n){"use strict";var r,i=n(28860),o=(Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLEngine=void 0,i(n(31364))),a=i(n(81121)),s=i(n(46834)),l=i(n(43083)),u=n(78574),c=i(n(44934)),f=i(n(68061)),h=i(n(80573)),d=i(n(57489)),p=i(n(29653)),y=i(n(73095)),m=i(n(97144)),g=i(n(79191)),i=((0,l.default)(v,[{key:"init",value:(r=(0,a.default)(o.default.mark(function e(t){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.inited)return e.abrupt("return");e.next=2;break;case 2:return this.$canvas=t.canvas,e.next=5,new Promise(function(n,r){(0,c.default)({canvas:t.canvas,attributes:{alpha:!0,antialias:t.antialias,premultipliedAlpha:!0},pixelRatio:1,extensions:["OES_element_index_uint","OES_texture_float","OES_standard_derivatives","angle_instanced_arrays"],optionalExtensions:["EXT_texture_filter_anisotropic","EXT_blend_minmax","WEBGL_depth_texture"],profile:!0,onDone:function(e,t){!e&&t||r(e),n(t)}})});case 5:this.gl=e.sent,this.inited=!0;case 7:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"isFloatSupported",value:function(){return this.gl.limits.readFloat}},{key:"beginFrame",value:function(){}},{key:"endFrame",value:function(){}}]),v);function v(){var t,n,i=this;(0,s.default)(this,v),this.supportWebGPU=!1,this.useWGSL=!1,this.$canvas=void 0,this.gl=void 0,this.inited=void 0,this.createModel=(n=(0,a.default)(o.default.mark(function e(r){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.uniforms)return e.next=3,Promise.all(Object.keys(r.uniforms).map(function(){var t=(0,a.default)(o.default.mark(function e(t){var n;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.uniforms[t]&&void 0!==r.uniforms[t].load)return e.next=3,r.uniforms[t].load();e.next=5;break;case 3:n=e.sent,r.uniforms[t]=n;case 5:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()));e.next=3;break;case 3:return e.abrupt("return",new m.default(i.gl,r));case 4:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),this.createAttribute=function(e){return new f.default(i.gl,e)},this.createBuffer=function(e){return new h.default(i.gl,e)},this.createElements=function(e){return new p.default(i.gl,e)},this.createTexture2D=function(e){return new g.default(i.gl,e)},this.createFramebuffer=function(e){return new y.default(i.gl,e)},this.useFramebuffer=function(e,t){i.gl({framebuffer:e?e.get():null})(t)},this.createComputeModel=(t=(0,a.default)(o.default.mark(function e(t){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new d.default(i.gl,t));case 1:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),this.clear=function(e){var t=e.color,n=e.depth,r=e.stencil,e=e.framebuffer,e=void 0===e?null:e,t={color:t,depth:n,stencil:r};t.framebuffer=null===e?e:e.get(),i.gl.clear(t)},this.setScissor=function(e){i.gl&&i.gl._gl&&(e.enable&&e.box?(i.gl._gl.enable(u.gl.SCISSOR_TEST),i.gl._gl.scissor(e.box.x,e.box.y,e.box.width,e.box.height)):i.gl._gl.disable(u.gl.SCISSOR_TEST),i.gl._refresh())},this.viewport=function(e){var t=e.x,n=e.y,r=e.width,e=e.height;i.gl&&i.gl._gl&&(i.gl._gl.viewport(t,n,r,e),i.gl._refresh())},this.readPixels=function(e){var t=e.framebuffer,e={x:e.x,y:e.y,width:e.width,height:e.height};return t&&(e.framebuffer=t.get()),i.gl.read(e)},this.getCanvas=function(){return i.$canvas},this.getGLContext=function(){return i.gl._gl},this.destroy=function(){i.gl&&(i.gl.destroy(),i.inited=!1)}}t.WebGLEngine=i},655:function(e,t,n){"use strict";var r=n(28860),o=(Object.defineProperty(t,"__esModule",{value:!0}),t.Kernel=void 0,r(n(31364))),i=r(n(81121)),a=r(n(75650)),s=r(n(46834)),l=r(n(43083)),u=r(n(34587)),c=r(n(39505)),f=r(n(43936)),h=n(78574),d=n(94499);function p(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach(function(e){(0,a.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}(0,l.default)(b,[{key:"init",value:function(){var e=this.configService.get(),t=e.canvas,e=e.engineOptions;this.initPromise=this.engine.init(y({canvas:t||(0,d.createCanvas)(),antialiasing:!1},e))}},{key:"setBundle",value:function(e){this.compiledBundle=JSON.parse(JSON.stringify(e))}},{key:"setDispatch",value:function(e){return this.compiledBundle.context&&(this.compiledBundle.context.dispatch=e),this}},{key:"setMaxIteration",value:function(e){return this.compiledBundle.context&&(this.compiledBundle.context.maxIteration=e),this}},{key:"setBinding",value:function(t,e){var n=this;if("string"==typeof t){var r=(0,c.default)(e)||(0,u.default)(e)||(0,f.default)(e);if(this.compiledBundle&&this.compiledBundle.context){var i=this.compiledBundle.context.defines.find(function(e){return e.name===t});if(i)return i.value=e,this;i=this.compiledBundle.context.uniforms.find(function(e){return e.name===t});i&&(r?(i.data=e,i.isReferer=!1,i.storageClass===h.STORAGE_CLASS.Uniform?this.model&&this.model.updateUniform(t,e):this.model&&this.model.updateBuffer(t,e)):(i.isReferer=!0,i.data=e))}}else Object.keys(t).forEach(function(e){n.setBinding(e,t[e])});return this}},{key:"execute",value:(v=(0,i.default)(o.default.mark(function e(){var t,n,r=this,i=arguments;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=0<i.length&&void 0!==i[0]?i[0]:1,this.dirty)return this.compiledBundle.context&&(1<t?this.compiledBundle.context.maxIteration=t:this.compiledBundle.context.maxIteration++),e.next=5,this.compile();e.next=6;break;case 5:this.dirty=!1;case 6:for(this.engine.beginFrame(),this.engine.clear({}),this.compiledBundle.context&&this.compiledBundle.context.uniforms.filter(function(e){return e.isReferer}).forEach(function(e){var t=e.data,e=e.name;r.model.confirmInput(t.model,e)}),n=0;n<t;n++)this.model.run();return this.engine.endFrame(),e.abrupt("return",this);case 12:case"end":return e.stop()}},e,this)})),function(){return v.apply(this,arguments)})},{key:"getOutput",value:(g=(0,i.default)(o.default.mark(function e(){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.model.readData());case 1:case"end":return e.stop()}},e,this)})),function(){return g.apply(this,arguments)})},{key:"compile",value:(m=(0,i.default)(o.default.mark(function e(){var n,t,r;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.initPromise;case 2:return n=y({},this.compiledBundle.context),t=this.engine.supportWebGPU?this.engine.useWGSL?h.Target.WGSL:h.Target.GLSL450:h.Target.GLSL100,r=this.compiledBundle.shaders[t],n.defines.filter(function(e){return e.runtime}).forEach(function(e){var t="".concat(h.DefineValuePlaceholder).concat(e.name);r=r.replace(t,"".concat(e.value))}),n.shader=r,n.uniforms.forEach(function(e){var t;e.data||e.storageClass!==h.STORAGE_CLASS.StorageBuffer||(t=1,e.type===h.AST_TOKEN_TYPES.FloatArray?t=1:e.type===h.AST_TOKEN_TYPES.Vector4FloatArray&&(t=4),e.data=new Float32Array(n.output.length*t).fill(0))}),this.compiledBundle.context=n,e.next=11,this.engine.createComputeModel(this.compiledBundle.context);case 11:this.model=e.sent;case 12:case"end":return e.stop()}},e,this)})),function(){return m.apply(this,arguments)})}]);var m,g,v,r=b;function b(e,t){(0,s.default)(this,b),this.engine=e,this.configService=t,this.model=void 0,this.dirty=!0,this.compiledBundle=void 0,this.initPromise=void 0}t.Kernel=r},43439:function(e,t,n){"use strict";var r=n(28860),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.World=void 0,r(n(46834))),r=r(n(43083)),o=n(78574),a=n(50837),s=n(655),n=((0,r.default)(l,[{key:"setConfig",value:function(e){this.configService.set(e)}},{key:"setEngine",value:function(e){this.engine=e}},{key:"createEntity",value:function(){return(0,o.createEntity)()}},{key:"createKernel",value:function(e){var t=new s.Kernel(this.engine,this.configService);return"string"==typeof e?t.setBundle(JSON.parse(e)):t.setBundle(e),t.init(),t}},{key:"destroy",value:function(){this.engine.destroy()}}],[{key:"create",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=new l;return t.setConfig(e),t.setEngine(new a.WebGLEngine),t}}]),l);function l(){(0,i.default)(this,l),this.engine=void 0,this.configService=new o.ConfigService}t.World=n},66887:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Kernel",{enumerable:!0,get:function(){return r.Kernel}}),Object.defineProperty(t,"World",{enumerable:!0,get:function(){return i.World}});var r=n(655),i=n(43439)},94499:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCanvas=function(){if("undefined"!=typeof document)return document.createElement("canvas");throw new Error("Cannot create a canvas in this context")}},58279:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(31834),o=(n=n(90625))&&n.__esModule?n:{default:n};function a(){}a.registerBehavior=function(e,t){if(!t)throw new Error("please specify handler for this behavior: ".concat(e));function n(e){var n=this,e=(Object.assign(this,this.getDefaultCfg(),e),this.getEvents()),r=(this.events=null,{});e&&((0,i.each)(e,function(e,t){r[t]=(0,i.wrapBehavior)(n,e)}),this.events=r)}var r=(0,i.clone)(o.default);Object.assign(r,t);n.prototype=r,a.types[e]=n},a.hasBehavior=function(e){return!!a.types[e]},a.getBehavior=function(e){return a.types[e]},a.types={},t.default=a},90625:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(31834);t.default={getDefaultCfg:function(){return{}},getEvents:function(){return{}},updateCfg:function(e){return Object.assign(this,e),!0},shouldBegin:function(){return!0},shouldUpdate:function(){return!0},shouldEnd:function(){return!0},bind:function(n){var e=this,t=this.events;this.graph=n,"drag-canvas"!==this.type&&"brush-select"!==this.type&&"lasso-select"!==this.type||n.get("canvas").set("draggable",!0),(0,r.each)(t,function(e,t){n.on(t,e)}),document.addEventListener("visibilitychange",function(){e.keydown=!1})},unbind:function(n){var e=this.events,t=n.get("canvas").get("draggable");"drag-canvas"!==this.type&&"brush-select"!==this.type&&"lasso-select"!==this.type||n.get("canvas").set("draggable",!1),(0,r.each)(e,function(e,t){n.off(t,e)}),n.get("canvas").set("draggable",t)},get:function(e){return this[e]},set:function(e,t){return this[e]=t,this}}},2235:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n=((n=n(58279))&&n.__esModule?n:{default:n}).default;t.default=n},22245:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={triangle:function(e,t,n){void 0===e&&(e=10),void 0===t&&(t=15);n=2*(n=void 0===n?0:n);return"M ".concat(n,",0 L ").concat(n+t,",-").concat(e/2," L ").concat(n+t,",").concat(e/2," Z")},vee:function(e,t,n){void 0===e&&(e=15),void 0===t&&(t=20);n=2*(n=void 0===n?0:n);return"M ".concat(n,",0 L ").concat(n+t,",-").concat(e/2,"\n L ").concat(n+2*t/3,",0 L ").concat(n+t,",").concat(e/2," Z")},circle:function(e,t){return void 0===e&&(e=5),"M ".concat(2*(t=void 0===t?0:t),", 0\n a ").concat(e,",").concat(e," 0 1,0 ").concat(2*e,",0\n a ").concat(e,",").concat(e," 0 1,0 ").concat(2*-e,",0")},rect:function(e,t,n){void 0===e&&(e=10),void 0===t&&(t=10);n=2*(n=void 0===n?0:n);return"M ".concat(n,",").concat(-e/2," \n L ").concat(n+t,",").concat(-e/2," \n L ").concat(n+t,",").concat(e/2," \n L ").concat(n,",").concat(e/2," Z")},diamond:function(e,t,n){void 0===e&&(e=15),void 0===t&&(t=15);n=2*(n=void 0===n?0:n);return"M ".concat(n,",0 \n L ").concat(n+t/2,",").concat(-e/2," \n L ").concat(n+t,",0 \n L ").concat(n+t/2,",").concat(e/2," Z")},triangleRect:function(e,t,n,r,i,o){void 0===e&&(e=15),void 0===n&&(n=15),void 0===r&&(r=3);o=2*(o=void 0===o?0:o),i=o+(t=void 0===t?15:t)+(i=void 0===i?5:i);return"M ".concat(o,",0 L ").concat(o+t,",-").concat(e/2," L ").concat(o+t,",").concat(e/2," Z\n M ").concat(i,", -").concat(n/2,"\n L ").concat(i+r," -").concat(n/2,"\n L ").concat(i+r," ").concat(n/2,"\n L ").concat(i," ").concat(n/2,"\n Z")}}},48485:function(e,t,n){"use strict";var c=n(97582),u=n(31834),r=o(n(36605)),i=o(n(27144)),n=n(15692);function o(e){return e&&e.__esModule?e:{default:e}}var a={itemType:"combo",shapeType:"single-combo",labelPosition:"top",refX:r.default.comboLabel.refX,refY:r.default.comboLabel.refY,options:{style:{stroke:r.default.defaultCombo.style.stroke,fill:r.default.defaultCombo.style.fill,lineWidth:r.default.defaultCombo.style.lineWidth},labelCfg:{style:{fill:r.default.comboLabel.style.fill,fontSize:r.default.comboLabel.style.fontSize,fontFamily:r.default.windowFontFamily}},stateStyles:(0,c.__assign)({},r.default.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ"}},getSize:function(e){e=(0,u.clone)(e.size||this.options.size||r.default.defaultCombo.size);return(0,u.isArray)(e)&&1===e.length&&(e=[e[0],e[0]]),e=(0,u.isArray)(e)?e:[e,e]},getLabelStyleByPosition:function(e,t){var n=t.position||this.labelPosition,r=e.style,i=e.padding||this.options.padding,o=((0,u.isArray)(i)&&(i=Math.max.apply(Math,i)),t.refX),a=t.refY;(0,u.isNil)(o)&&(o=this.refX),(0,u.isNil)(a)&&(a=this.refY);var s,t=this.getSize(e),l=(Math.max(r.r,t[0]/2)||t[0]/2)+i;switch(n){case"top":s={x:0,y:-l-a,textBaseline:"bottom",textAlign:"center"};break;case"bottom":s={x:0,y:l+a,textBaseline:"bottom",textAlign:"center"};break;case"left":s={x:-l+o,y:0,textAlign:"left"};break;case"center":s={x:0,y:0,text:e.label,textAlign:"center"};break;default:s={x:l+o,y:0,textAlign:"right"}}return s.text=e.label,s},drawShape:function(e,t){var n=this.shapeType,e=this.getShapeStyle(e);return t.addShape(n,{attrs:e,draggable:!0,name:"combo-shape"})},updateCollapsedIcon:function(e,t,n){var r=e.collapsed,e=e.collapsedSubstituteIcon,e=Object.assign({},this.options.collapsedSubstituteIcon,void 0===e?{}:e),i=e.show,o=e.img,a=e.width,e=e.height,s=t.getContainer(),l=s.find(function(e){return"combo-collapsed-substitute-icon"===e.get("name")}),u=l&&!l.destroyed,t=t.get("keyShape");r&&i?(u?l.show():(r={width:a||2*n.r||n.width,height:e||2*n.r||n.height},l=s.addShape("image",{attrs:(0,c.__assign)({img:o,x:-r.width/2,y:-r.height/2},r),name:"combo-collapsed-substitute-icon",draggable:!0})),t.hide()):u&&(l.hide(),t.show())},updateShape:function(e,t,n){var r=this,i=t.get("keyShape");t.get("animate")&&(void 0===e.animate?this.options:e).animate&&i.animate?(e.collapsed||this.updateCollapsedIcon(e,t,n),i.animate(n,{duration:200,easing:"easeLinear",callback:function(){e.collapsed&&r.updateCollapsedIcon(e,t,n)}})):(i.attr((0,c.__assign)({},n)),this.updateCollapsedIcon(e,t,n)),this.updateLabel(e,t)}},n=(0,c.__assign)((0,c.__assign)({},n.shapeBase),a);i.default.registerCombo("single-combo",n)},42560:function(e,t,n){"use strict";var i=n(97582),o=s(n(36605)),r=s(n(27144)),a=n(31834);function s(e){return e&&e.__esModule?e:{default:e}}r.default.registerCombo("circle",{options:{size:[o.default.defaultCombo.size[0],o.default.defaultCombo.size[0]],padding:Math.max.apply(Math,o.default.defaultCombo.padding),animate:!0,style:{stroke:o.default.defaultCombo.style.stroke,fill:o.default.defaultCombo.style.fill,lineWidth:o.default.defaultCombo.style.lineWidth},labelCfg:{style:{fill:o.default.comboLabel.style.fill,fontSize:o.default.comboLabel.style.fontSize},refX:0,refY:0},stateStyles:(0,i.__assign)({},o.default.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ"}},shapeType:"circle",labelPosition:"top",drawShape:function(e,t){e=this.getShapeStyle(e);return delete e.height,delete e.width,t.addShape("circle",{attrs:e,className:"circle-combo",name:"circle-combo",draggable:!0})},getShapeStyle:function(e){var t=this.options.style,n=e.padding||this.options.padding;(0,a.isArray)(n)&&(n=Math.max.apply(Math,n));var r={stroke:e.color},t=(0,a.mix)({},t,r,e.style),r=e.collapsed&&e.fixCollapseSize?e.fixCollapseSize:e.fixSize,n=(r=r?(0,a.isNumber)(r)?r/2:r[0]/2:(r=this.getSize(e),!(0,a.isNumber)(t.r)||isNaN(t.r)?r[0]/2||o.default.defaultCombo.style.r:Math.max(t.r,r[0]/2)||r[0]/2),t.r=r+n,(0,i.__assign)({x:0,y:0},t));return e.style?e.style.r=r:e.style={r:r},n},update:function(e,t){var n=this.getSize(e),r=e.padding||this.options.padding;(0,a.isArray)(r)&&(r=Math.max.apply(Math,r));var i=(0,a.clone)(e.style),o=e.collapsed&&e.fixCollapseSize?e.fixCollapseSize:e.fixSize,o=o?(0,a.isNumber)(o)?o/2:o[0]/2:Math.max(i.r,n[0]/2)||n[0]/2,n=(i.r=o+r,t.get("sizeCache")),r=(n&&(n.r=i.r),{stroke:e.color}),n=t.get("keyShape"),n=(0,a.mix)({},n.attr(),r,i);e.style?e.style.r=o:e.style={r:o},this.updateShape(e,t,n,!0)}},"single-combo")},88651:function(e,t,n){"use strict";n(42560),n(43949)},43949:function(e,t,n){"use strict";var s=n(97582),h=n(31834),l=r(n(36605));function r(e){return e&&e.__esModule?e:{default:e}}r(n(27144)).default.registerCombo("rect",{options:{size:[40,5],padding:[25,20,15,20],animate:!0,style:{radius:0,stroke:l.default.defaultCombo.style.stroke,fill:l.default.defaultCombo.style.fill,lineWidth:l.default.defaultCombo.style.lineWidth},labelCfg:{style:{fill:l.default.comboLabel.style.fill,fontSize:l.default.comboLabel.style.fontSize,fontFamily:l.default.windowFontFamily}},anchorPoints:[[0,.5],[1,.5]],stateStyles:(0,s.__assign)({},l.default.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ"}},shapeType:"rect",labelPosition:"top",drawShape:function(e,t){e=this.getShapeStyle(e);return t.addShape("rect",{attrs:e,className:"rect-combo",name:"rect-combo",draggable:!0})},getLabelStyleByPosition:function(e,t){var n=t.position||this.labelPosition,r=e.style,i=e.padding||this.options.padding,o=((0,h.isNumber)(i)&&(i=[i,i,i,i]),t.refX),a=t.refY;(0,h.isNil)(o)&&(o=this.refX),(0,h.isNil)(a)&&(a=this.refY);var s,l=-r.width/2-i[3],u=r.width/2+i[1],c=-r.height/2-i[0],f=r.height/2+i[2];switch(n){case"top":s={x:l+o,y:c+a,textBaseline:"top",textAlign:"left"};break;case"bottom":s={x:0,y:f+a,textBaseline:"top",textAlign:"center"};break;case"left":s={x:l+a,y:0,textAlign:"left"};break;case"center":s={x:0,y:0,text:e.label,textAlign:"center"};break;case"top-center":s={x:0,y:c+a,textBaseline:"top",textAlign:"center"};break;default:s={x:u+o,y:0,textAlign:"right"}}return s.text=e.label,s},getShapeStyle:function(e){var t=this.options.style,n=e.padding||this.options.padding;(0,h.isNumber)(n)&&(n=[n,n,n,n]);var r,i={stroke:e.color},t=(0,h.mix)({},t,i,e.style),i=this.getSize(e),o=e.collapsed&&e.fixCollapseSize?e.fixCollapseSize:e.fixSize,o=o?(0,h.isNumber)(o)?r=o:(r=o[0],o[1]):(r=!(0,h.isNumber)(t.width)||isNaN(t.width)?i[0]||l.default.defaultCombo.style.width:Math.max(t.width,i[0])||i[0],!(0,h.isNumber)(t.height)||isNaN(t.height)?i[1]||l.default.defaultCombo.style.height:Math.max(t.height,i[1])||i[1]),i=-r/2-n[3],a=-o/2-n[0],n=(t.width=r+n[1]+n[3],t.height=o+n[0]+n[2],(0,s.__assign)({x:i,y:a},t));return e.style?(e.style.width=r,e.style.height=o):e.style={width:r,height:o},n},update:function(e,t){var n=this.getSize(e),r=e.padding||this.options.padding;(0,h.isNumber)(r)&&(r=[r,r,r,r]);var i,o=(0,h.clone)(e.style),a=e.collapsed&&e.fixCollapseSize?e.fixCollapseSize:e.fixSize,a=a?(0,h.isNumber)(a)?i=a:(i=a[0],a[1]):(i=Math.max(o.width,n[0])||n[0],Math.max(o.height,n[1])||n[1]),n=(o.width=i+r[1]+r[3],o.height=a+r[0]+r[2],t.get("sizeCache")),n=(n&&(n.width=o.width,n.height=o.height),o.x=-i/2-r[3],o.y=-a/2-r[0],{stroke:e.color}),r=t.get("keyShape"),r=(0,h.mix)({},r.attr(),n,o);e.style?(e.style.width=i,e.style.height=a):e.style={width:i,height:a},this.updateShape(e,t,r,!1)}},"single-combo")},14996:function(e,t,n){"use strict";var f=n(97582),h=n(31834),l=n(61592),u=n(39520),i=n(28362),o=s(n(36605)),r=s(n(27144)),a=n(15692);function s(e){return e&&e.__esModule?e:{default:e}}n={itemType:"edge",labelPosition:"center",refX:0,refY:0,labelAutoRotate:!1,options:{size:o.default.defaultEdge.size,style:{x:0,y:0,stroke:o.default.defaultEdge.style.stroke,lineAppendWidth:o.default.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:o.default.edgeLabel.style.fill,fontSize:o.default.edgeLabel.style.fontSize,fontFamily:o.default.windowFontFamily}},stateStyles:(0,f.__assign)({},o.default.edgeStateStyles)},getPath:function(e){var n=[];return(0,h.each)(e,function(e,t){n.push(0===t?["M",e.x,e.y]:["L",e.x,e.y])}),n},getShapeStyle:function(e){var t=this.options.style,n={stroke:e.color},t=(0,h.mix)({},t,n,e.style),n=e.size||o.default.defaultEdge.size,r=(e=this.getPathPoints(e)).startPoint,i=e.endPoint,e=this.getControlPoints(e),r=[r],e=((r=e?r.concat(e):r).push(i),this.getPath(r));return(0,h.mix)({},o.default.defaultEdge.style,{stroke:o.default.defaultEdge.color,lineWidth:n,path:e},t)},updateShapeStyle:function(e,t,n){var r=t.getContainer(),i=(null==(i=t.getKeyShape)?void 0:i.call(t))||r.shapeMap["edge-shape"],t=e.size,r=(e=this.getPathPoints(e)).startPoint,o=e.endPoint,a=this.getControlPoints(e),r=[r],o=((r=a?r.concat(a):r).push(o),i.attr()),s=e.style||{},l=(void 0===s.stroke&&(s.stroke=e.color),e.sourceNode),u=e.targetNode,c={radius:s.radius},a=(a||(c={source:l,target:u,offset:s.offset,radius:s.radius}),this.getPath(r,c)),l={};"move"===n?l={path:a}:(o.endArrow&&!1===s.endArrow&&(e.style.endArrow={path:""}),o.startArrow&&!1===s.startArrow&&(e.style.startArrow={path:""}),void 0===(l=(0,f.__assign)({},e.style)).lineWidth&&(l.lineWdith=((0,h.isNumber)(t)?t:null==t?void 0:t[0])||o.lineWidth),void 0===l.path&&(l.path=a),void 0===l.stroke&&(l.stroke=o.stroke||e.color)),i&&i.attr(l)},getLabelStyleByPosition:function(e,t,n){var r=t.position||this.labelPosition,i={},n=null==n?void 0:n.shapeMap["edge-shape"],o="start"===r?0:"end"===r?1:.5,a=t.refX||this.refX,s=t.refY||this.refY;return e.startPoint.x===e.endPoint.x&&e.startPoint.y===e.endPoint.y?(i.x=e.startPoint.x+a,i.y=e.startPoint.y+s,i.text=e.label):(t=(0,h.isNil)(t.autoRotate)?this.labelAutoRotate:t.autoRotate,n=(0,l.getLabelPosition)(n,o,a,s,t),i.x=n.x,i.y=n.y,i.rotate=n.rotate,i.textAlign=this._getTextAlign(r,n.angle),i.text=e.label),i},getLabelBgStyleByPosition:function(e,t){var n,r,i,o,a;return e&&(n=e.getBBox(),a=t.style&&t.style.background)?(r=a.padding,i=n.width+r[1]+r[3],o=n.height+r[0]+r[2],a=(0,f.__assign)((0,f.__assign)({},a),{width:i,height:o,x:n.minX-r[3],y:n.minY-r[0],matrix:[1,0,0,0,1,0,0,0,1]}),((0,h.isNil)(t.autoRotate)?this.labelAutoRotate:t.autoRotate)&&(a.matrix=e.attr("matrix")||[1,0,0,0,1,0,0,0,1]),a):{}},_getTextAlign:function(e,t){var n="center";return t?(t%=2*Math.PI,n="center"!==e?0<=t&&t<=Math.PI/2||t>=1.5*Math.PI&&t<2*Math.PI?e:("start"===(t=e)?t="end":"end"===e&&(t="start"),t):n):e},getControlPoints:function(e){return e.controlPoints},getPathPoints:function(e){return e},drawShape:function(e,t){e=this.getShapeStyle(e),e=t.addShape("path",{className:"edge-shape",name:"edge-shape",attrs:e});return t.shapeMap["edge-shape"]=e},drawLabel:function(e,t){var n=this.options.labelCfg,n=(0,h.deepMix)({},n,e.labelCfg),n=this.getLabelStyle(e,n,t),r=n.rotate,i=(delete n.rotate,t.addShape("text",{attrs:n,name:"text-shape",labelRelated:!0,draggable:!0}));return t.shapeMap["text-shape"]=i,isNaN(r)||""===r||i.rotateAtStart(r),n.background&&(e=this.drawLabelBg(e,t,i,n,r),n=this.itemType+a.CLS_LABEL_BG_SUFFIX,e.set("classname",n),t.shapeMap[n]=e,i.toFront()),i},drawLabelBg:function(e,t,n,r,i){var o=this.options.labelCfg,o=(0,h.deepMix)({},o,e.labelCfg),e=this.getLabelBgStyleByPosition(n,o),n=t.addShape("rect",{name:"text-bg-shape",attrs:e,labelRelated:!0});return t.shapeMap["text-bg-shape"]=n}},n=(0,f.__assign)((0,f.__assign)({},a.shapeBase),n);r.default.registerEdge("single-edge",n),r.default.registerEdge("line",{getControlPoints:function(){}},"single-edge"),r.default.registerEdge("spline",{getPath:function(e){return(0,i.getSpline)(e)}},"single-edge"),r.default.registerEdge("arc",{curveOffset:20,clockwise:1,getControlPoints:function(e){var t=e.startPoint,n=e.endPoint,r=(t.x+n.x)/2,i=(t.y+n.y)/2;if(void 0!==e.controlPoints){if(a=e.controlPoints[0],s=(0,u.getCircleCenterByPoints)(t,a,n),t.x<=n.x&&t.y>n.y?this.clockwise=s.x>a.x?0:1:t.x<=n.x&&t.y<n.y?this.clockwise=s.x>a.x?1:0:t.x>n.x&&t.y<=n.y?this.clockwise=s.y<a.y?0:1:this.clockwise=s.y<a.y?1:0,(a.x-t.x)/(a.y-t.y)==(n.x-t.x)/(n.y-t.y))return[]}else{void 0===e.curveOffset&&(e.curveOffset=this.curveOffset),(0,h.isArray)(e.curveOffset)&&(e.curveOffset=e.curveOffset[0]),e.curveOffset<0?this.clockwise=0:this.clockwise=1;var o={x:n.x-t.x,y:n.y-t.y},o=Math.atan2(o.y,o.x),a={x:e.curveOffset*Math.cos(-Math.PI/2+o)+r,y:e.curveOffset*Math.sin(-Math.PI/2+o)+i},s=(0,u.getCircleCenterByPoints)(t,a,n)}r=(0,u.distance)(t,s);return[{x:r,y:r}]},getPath:function(e){var t=[];return t.push(["M",e[0].x,e[0].y]),2===e.length?t.push(["L",e[1].x,e[1].y]):t.push(["A",e[1].x,e[1].y,0,0,this.clockwise,e[2].x,e[2].y]),t}},"single-edge"),r.default.registerEdge("quadratic",{curvePosition:.5,curveOffset:-20,getControlPoints:function(e){var t,n,r=e.controlPoints;return r&&r.length||(t=e.startPoint,n=e.endPoint,void 0===e.curveOffset&&(e.curveOffset=this.curveOffset),void 0===e.curvePosition&&(e.curvePosition=this.curvePosition),(0,h.isArray)(e.curveOffset)&&(e.curveOffset=e.curveOffset[0]),(0,h.isArray)(e.curvePosition)&&(e.curvePosition=e.curveOffset[0]),r=[(0,i.getControlPoint)(t,n,e.curvePosition,e.curveOffset)]),r},getPath:function(e){var t=[];return t.push(["M",e[0].x,e[0].y]),t.push(["Q",e[1].x,e[1].y,e[2].x,e[2].y]),t}},"single-edge"),r.default.registerEdge("cubic",{curvePosition:[.5,.5],curveOffset:[-20,20],getControlPoints:function(e){var t,n,r=e.controlPoints;return void 0===e.curveOffset&&(e.curveOffset=this.curveOffset),void 0===e.curvePosition&&(e.curvePosition=this.curvePosition),(0,h.isNumber)(e.curveOffset)&&(e.curveOffset=[e.curveOffset,-e.curveOffset]),(0,h.isNumber)(e.curvePosition)&&(e.curvePosition=[e.curvePosition,1-e.curvePosition]),r&&r.length&&!(r.length<2)||(t=e.startPoint,n=e.endPoint,r=[(0,i.getControlPoint)(t,n,e.curvePosition[0],e.curveOffset[0]),(0,i.getControlPoint)(t,n,e.curvePosition[1],e.curveOffset[1])]),r},getPath:function(e){var t=[];return t.push(["M",e[0].x,e[0].y]),t.push(["C",e[1].x,e[1].y,e[2].x,e[2].y,e[3].x,e[3].y]),t}},"single-edge"),r.default.registerEdge("cubic-vertical",{curvePosition:[.5,.5],minCurveOffset:[0,0],curveOffset:void 0,getControlPoints:function(e){var t=e.startPoint,n=e.endPoint,r=(void 0===e.curvePosition&&(e.curvePosition=this.curvePosition),void 0===e.curveOffset&&(e.curveOffset=this.curveOffset),void 0===e.minCurveOffset&&(e.minCurveOffset=this.minCurveOffset),(0,h.isNumber)(e.curveOffset)&&(e.curveOffset=[e.curveOffset,-e.curveOffset]),(0,h.isNumber)(e.minCurveOffset)&&(e.minCurveOffset=[e.minCurveOffset,-e.minCurveOffset]),(0,h.isNumber)(e.curvePosition)&&(e.curvePosition=[e.curvePosition,1-e.curvePosition]),n.y-t.y),i=[0,0];return e.curveOffset?i=e.curveOffset:Math.abs(r)<Math.abs(e.minCurveOffset[0])&&(i=e.minCurveOffset),[{x:t.x,y:t.y+r*this.curvePosition[0]+i[0]},{x:n.x,y:n.y-r*this.curvePosition[1]+i[1]}]}},"cubic"),r.default.registerEdge("cubic-horizontal",{curvePosition:[.5,.5],minCurveOffset:[0,0],curveOffset:void 0,getControlPoints:function(e){var t=e.startPoint,n=e.endPoint,r=(void 0===e.curvePosition&&(e.curvePosition=this.curvePosition),void 0===e.curveOffset&&(e.curveOffset=this.curveOffset),void 0===e.minCurveOffset&&(e.minCurveOffset=this.minCurveOffset),(0,h.isNumber)(e.curveOffset)&&(e.curveOffset=[e.curveOffset,-e.curveOffset]),(0,h.isNumber)(e.minCurveOffset)&&(e.minCurveOffset=[e.minCurveOffset,-e.minCurveOffset]),(0,h.isNumber)(e.curvePosition)&&(e.curvePosition=[e.curvePosition,1-e.curvePosition]),n.x-t.x),i=[0,0];return e.curveOffset?i=e.curveOffset:Math.abs(r)<Math.abs(e.minCurveOffset[0])&&(i=e.minCurveOffset),[{x:t.x+r*this.curvePosition[0]+i[0],y:t.y},{x:n.x-r*this.curvePosition[1]+i[1],y:n.y}]}},"cubic"),r.default.registerEdge("loop",{getPathPoints:function(e){return(0,l.getLoopCfgs)(e)},getControlPoints:function(e){return e.controlPoints},afterDraw:function(e){e.controlPoints=void 0},afterUpdate:function(e){e.controlPoints=void 0}},"cubic")},40861:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.genBubbleSet=void 0;var v=n(39520),b={maxRoutingIterations:100,maxMarchingIterations:100,pixelGroupSize:2,edgeR0:10,edgeR1:10,nodeR0:5,nodeR1:10,morphBuffer:5,threshold:.001,skip:16,nodeInfluenceFactor:1,edgeInfluenceFactor:1,negativeNodeInfluenceFactor:-.5};function _(l,u,r){function i(e,t){return u.cells[e+t*u.width]}function c(e,t){var n=0;return i(e-1,t-1)>=r&&(n+=1),i(e,t-1)>r&&(n+=2),i(e-1,t)>r&&(n+=4),i(e,t)>r&&(n+=8),n}var n=!1;this.march=function(){for(var e=0;e<u.width&&!n;e+=1)for(var t=0;t<u.height&&!n;t+=1)i(e,t)>r&&15!==c(e,t)&&(n=function(e,t){for(var n,r,i=e,o=t,a=0;a<u.width*u.height;a++){if(n=i,r=o,-1<l.findIndex(function(e){return e.x===i&&e.y===o})){if(l[0].x===i&&l[0].y===o)return!0}else l.push({x:i,y:o});var s=c(i,o);switch(s){case-1:return console.warn("Marched out of bounds"),!0;case 0:case 3:case 2:case 7:i++;break;case 12:case 14:case 4:i--;break;case 6:0===n&&(-1===r?--i:i+=1);break;case 1:case 13:case 5:o--;break;case 9:1===n&&(0===r?--o:o+=1);break;case 10:case 8:case 11:o++;break;default:return console.warn("Marching squares invalid state: ".concat(s)),!0}}}(e,t));return n}}function x(e,n){var r=Number.POSITIVE_INFINITY,i=null;return e.forEach(function(e){var t=(0,v.fractionToLine)(e,n);0<=t&&t<r&&(i=e,r=t)}),i}function w(e,t,n,f,h,d){function r(e,t){e=Math.floor((e-t)/d.pixelGroupSize);return e<0?0:e}function p(e,t){return e*d.pixelGroupSize+t}function y(e,t){return[Math.min(r(e.minX,t+f.minX),h.width),Math.min(r(e.minY,t+f.minY),h.height),Math.min(r(e.maxX,-t+f.minX),h.width),Math.min(r(e.maxY,-t+f.minY),h.height)]}function i(e,t){for(var n,r,i=e.getBBox(),o=(e=y(i,d.nodeR1))[0],a=e[1],s=e[2],l=e[3],u=a;u<l;u+=1)for(var c=o;c<s;c+=1)t<0&&h[c+u*h.width]<=0||(n=p(c,f.minX),r=p(u,f.minY),(n=(0,v.pointRectSquareDist)({x:n,y:r},{x:i.minX,y:i.minY,width:i.width,height:i.height}))<Math.pow(d.nodeR1,2)&&(r=Math.sqrt(n)-d.nodeR1,h.cells[c+u*h.width]+=t*r*r))}var o=(d.nodeR0-d.nodeR1)*(d.nodeR0-d.nodeR1),m=(d.edgeR0-d.edgeR1)*(d.edgeR0-d.edgeR1);d.nodeInfluenceFactor&&e.forEach(function(e){i(e,d.nodeInfluenceFactor/o)}),d.edgeInfluenceFactor&&n.forEach(function(e){for(var t,n,r=e,i=d.edgeInfluenceFactor/m,e=r.getBBox(),o=(e=y(e,d.edgeR1))[0],a=e[1],s=e[2],l=e[3],u=a;u<l;u+=1)for(var c=o;c<s;c+=1)i<0&&h.cells[c+u*h.width]<=0||(t=p(c,f.minX),n=p(u,f.minY),(t=(0,v.pointLineSquareDist)({x:t,y:n},r))<Math.pow(d.edgeR1,2)&&(n=Math.sqrt(t)-d.edgeR1,h.cells[c+u*h.width]+=i*n*n))}),d.negativeNodeInfluenceFactor&&t.forEach(function(e){i(e,d.negativeNodeInfluenceFactor/o)})}function A(e,t,n,r){var i=e.getBBox(),e=n[0],o=n[1],a=n[2],n=n[3],s={x:i.minX-t,y:i.minY-t},l={x:i.maxX+t,y:i.minY-t},u={x:i.minX-t,y:i.maxY+t},t={x:i.maxX+t,y:i.maxY+t},c=i.height*i.width;function f(e,t){return i.width*(.5*(e.y-i.minY+(t.y-i.minY)))}if(o)return e?r?s:t:a?r?u:l:f(o,n)<.5*c?o.y>n.y?r?s:t:r?l:u:o.y<n.y?r?u:l:r?t:s;if(n){if(e)return r?l:u;if(a)return r?t:s}return f(e,a)<.5*c?e.x>a.x?r?s:t:r?u:l:e.x<a.x?r?l:u:r?t:s}t.genBubbleSet=function(i,t,e){var n=Object.assign(b,e),r=(0,v.getPointsCenter)(i.map(function(e){return{x:e.getModel().x,y:e.getModel().y}})),o=[],a=[];(i=i.sort(function(e,t){return(0,v.squareDist)({x:e.getModel().x,y:e.getModel().y},r)-(0,v.squareDist)({x:t.getModel().x,y:t.getModel().y},r)})).forEach(function(e){(function(e,t,n,r,i){o=e,a=t,s=null,l=Number.POSITIVE_INFINITY,n.forEach(function(e){var t={x:o.getModel().x,y:o.getModel().y},n={x:e.getModel().x,y:e.getModel().y},r=(0,v.squareDist)(t,n),i=new v.Line(t.x,t.y,n.x,n.y),t=a.reduce(function(e,t){return 0<(0,v.fractionToLine)(t,i)?e+1:e},0);r*Math.pow(t+1,2)<l&&(s=e,l=r*Math.pow(t+1,2))});var o,a,s,l,n=s;if(null===n)return[];for(var u=function(e,l,t,u){var c=[],f=[];f.push(e);for(var h=!0,n=0,d=function(t,e){var n=!1;return e.forEach(function(e){n||((0,v.isPointsOverlap)(t,{x:e.x1,y:e.y1})||(0,v.isPointsOverlap)(t,{x:e.x2,y:e.y2}))&&(n=!0)}),n},p=function(e,t){for(var n=0,r=t;n<r.length;n++){var i=r[n].getBBox(),i=[[i.x,i.y],[i.x+i.width,i.y],[i.x,i.y+i.height],[i.x+i.width,i.y+i.height]];if((0,v.isPointInPolygon)(i,e.x,e.y))return!0}return!1};h&&n<t;)for(h=!1;!h&&f.length;)!function(){var o,e,a=f.pop(),s=x(l,a);s&&(e=(0,v.itemIntersectByLine)(s,a),o=e[0],2===e[1])&&((e=function(e){for(var t=u,n=A(s,t,o,e),r=d(n,f)||d(n,c),i=p(n,l);!r&&i&&1<=t;)n=A(s,t/=1.5,o,e),r=d(n,f)||d(n,c),i=p(n,l);!n||r||e&&i||(f.push(new v.Line(a.x1,a.y1,n.x,n.y)),f.push(new v.Line(n.x,n.y,a.x2,a.y2)),h=!0)})(!0),h||e(!1)),h||c.push(a),n+=1}();for(;f.length;)c.push(f.pop());return c}(new v.Line(e.getModel().x,e.getModel().y,n.getModel().x,n.getModel().y),t,r,i),c=[];0<u.length;){var f=u.pop();if(0===u.length){c.push(f);break}var h=u.pop(),d=new v.Line(f.x1,f.y1,h.x2,h.y2);x(t,d)?(c.push(f),u.push(h)):u.push(d)}return c})(e,t,o,n.maxRoutingIterations,n.morphBuffer).forEach(function(e){a.push(e)}),o.push(e)});for(var s,l,u=function(e,t,n){var r={minX:Number.POSITIVE_INFINITY,minY:Number.POSITIVE_INFINITY,maxX:Number.NEGATIVE_INFINITY,maxY:Number.NEGATIVE_INFINITY,width:0,height:0,x:0,y:0},i=[];e.forEach(function(e){i.push(e.getBBox())}),t.forEach(function(e){i.push(e.getBBox())});for(var o=0,a=i;o<a.length;o++){var s=a[o];r.minX=(s.minX<r.minX?s:r).minX-n,r.minY=(s.minY<r.minY?s:r).minY-n,r.maxX=(s.maxX>r.maxX?s:r).maxX+n,r.maxY=(s.maxY>r.maxY?s:r).maxY+n}return r.width=r.maxX-r.minX,r.height=r.maxY-r.minY,r.x=r.minX,r.y=r.minY,r}(i,a,n.nodeR0),c=(e=u.width,l=u.height,s=n.pixelGroupSize,e=Math.ceil(e/s),l=Math.ceil(l/s),{cells:new Float32Array(Math.max(0,e*l)).fill(0),width:e,height:l}),f=[],h=[],d=0;d<n.maxMarchingIterations;d++)if(w(i,t,a,u,c,n),h=[],new _(f=[],c,n.threshold).march()){var p=f.map(function(e){return{x:Math.round(e.x*n.pixelGroupSize+u.minX),y:Math.round(e.y*n.pixelGroupSize+u.minY)}});if(p){var y=p.length;if(1<n.skip)for(y=Math.floor(p.length/n.skip);y<3&&1<n.skip;)--n.skip,y=Math.floor(p.length/n.skip);for(var m=0,g=0;g<y;g+=1,m+=n.skip)h.push({x:p[m].x,y:p[m].y})}if(h&&function(){for(var e=0,t=i;e<t.length;e++){var n=t[e],r=h.map(function(e){return[e.x,e.y]});if(!(0,v.isPointInPolygon)(r,n.getBBox().centerX,n.getBBox().centerY))return}return 1}())return h;if(n.threshold*=.9,d<=.5*n.maxMarchingIterations)n.memberInfluenceFactor*=1.2,n.edgeInfluenceFactor*=1.2;else{if(!(0!==n.nonMemberInfluenceFactor&&0<t.length))break;n.nonMemberInfluenceFactor*=.8}}return h}},25560:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.genConvexHull=t.cross=void 0;function l(e,t,n){return(e.y-n.y)*(t.x-n.x)-(e.x-n.x)*(t.y-n.y)}t.cross=l,t.genConvexHull=function(e){var t=e.map(function(e){return{x:e.getModel().x,y:e.getModel().y}});t.sort(function(e,t){return e.x===t.x?e.y-t.y:e.x-t.x});for(var n={},r=t.length-1;0<=r;r--){var i=t[r],o=i.x,i=i.y;n["".concat(o,"-").concat(i)]&&t.splice(r,1),n["".concat(o,"-").concat(i)]=!0}if(1===t.length)return t;for(var a=[],r=0;r<t.length;r++){for(;2<=a.length&&l(a[a.length-2],a[a.length-1],t[r])<=0;)a.pop();a.push(t[r])}var s=[];for(r=t.length-1;0<=r;r--){for(;2<=s.length&&l(s[s.length-2],s[s.length-1],t[r])<=0;)s.pop();s.push(t[r])}return s.pop(),a.pop(),a.concat(s)}},92100:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Arrow",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return o.default}}),t.default=void 0;var r=a(n(27144)),i=(n(95702),n(14996),n(48485),n(88651),n(80180),a(n(22245))),o=a(n(82255));function a(e){return e&&e.__esModule?e:{default:e}}n=r.default;t.default=n},82255:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={collapse:function(e,t,n){return[["M",e-n,t],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0],["M",e-n+4,t],["L",e+n-4,t]]},expand:function(e,t,n){return[["M",e-n,t],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0],["M",e-n+4,t],["L",e-n+2*n-4,t],["M",e-n+n,t-n+4],["L",e,t+n-4]]},upTriangle:function(e,t,n){var r=n*Math.cos(Math.PI/6),i=n*Math.sin(Math.PI/6);return[["M",e-r,t+i],["L",e+r,t+i],["L",e,t-n],["Z"]]},downTriangle:function(e,t,n){var r=n*Math.cos(Math.PI/6),i=n*Math.sin(Math.PI/6);return[["M",e-r,t-i],["L",e+r,t-i],["L",e,t+n],["Z"]]}}},95702:function(e,t,n){"use strict";var y=n(97582),m=n(31834),o=n(30271),r=l(n(36605)),i=l(n(27144)),a=n(15692),s=n(61592);function l(e){return e&&e.__esModule?e:{default:e}}n={itemType:"node",shapeType:"single-node",labelPosition:"center",offset:r.default.nodeLabel.offset,getSize:function(e){var t=(null==(t=this.mergeStyle)?void 0:t.size)||e.size||this.getOptions({}).size||r.default.defaultNode.size;return(0,m.isArray)(t)&&1===t.length&&(t=[t[0],t[0]]),t=(0,m.isArray)(t)?t:[t,t]},getLabelStyleByPosition:function(e,t){var n=t.maxLength,r=e.label,n=(n&&(r=(0,s.truncateLabelByLength)(r,n)),t.position||this.labelPosition);if("center"===n)return{x:0,y:0,text:r,textBaseline:"middle",textAlign:"center"};var i=t.offset;(0,m.isNil)(i)&&(i=this.offset);var o,a=this.getSize(e);switch(n){case"top":o={x:0,y:-a[1]/2-i,textBaseline:"bottom",textAlign:"center"};break;case"bottom":o={x:0,y:a[1]/2+i,textBaseline:"top",textAlign:"center"};break;case"left":o={x:-a[0]/2-i,y:0,textBaseline:"middle",textAlign:"right"};break;default:o={x:a[0]/2+i,y:0,textBaseline:"middle",textAlign:"left"}}return o.text=r,o},getLabelBgStyleByPosition:function(e,t){var n,r,i;return e&&(t=null==(t=t.style)?void 0:t.background)?(e=e.getBBox(),n=(0,o.formatPadding)(t.padding),r=e.width+n[1]+n[3],i=e.height+n[0]+n[2],(0,y.__assign)((0,y.__assign)({x:e.minX-n[3],y:e.minY-n[0]},t),{width:r,height:i})):{}},drawShape:function(e,t){var n=this.shapeType,e=this.getShapeStyle(e),n=t.addShape(n,{attrs:e,draggable:!0,name:"node-shape"});return t.shapeMap["node-shape"]=n},updateLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints,r=t.shapeMap["link-point-left"]||t.find(function(e){return"link-point-left"===e.get("className")}),i=t.shapeMap["link-point-right"]||t.find(function(e){return"link-point-right"===e.get("className")}),o=t.shapeMap["link-point-top"]||t.find(function(e){return"link-point-top"===e.get("className")}),a=t.shapeMap["link-point-bottom"]||t.find(function(e){return"link-point-bottom"===e.get("className")}),n=(r&&(s=r.attr()),i&&!s&&(s=i.attr()),o&&!s&&(s=o.attr()),a&&!s&&(s=a.attr()),(0,m.mix)({},s=s||n,e.linkPoints)),s=n.fill,l=n.stroke,u=n.lineWidth,c=(c=n.size/2)||n.r,n=e.linkPoints||{left:void 0,right:void 0,top:void 0,bottom:void 0},f=n.left,h=n.right,d=n.top,n=n.bottom,e=this.getSize(e),p=e[0],e=e[1],c={r:c,fill:s,stroke:l,lineWidth:u};r?f||void 0===f?r.attr((0,y.__assign)((0,y.__assign)({},c),{x:-p/2,y:0})):(r.remove(),delete t.shapeMap["link-point-left"]):f&&(t.shapeMap[s="link-point-left"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},c),{x:-p/2,y:0}),className:s,name:s,isAnchorPoint:!0})),i?(h||void 0===h||(i.remove(),delete t.shapeMap["link-point-right"]),i.attr((0,y.__assign)((0,y.__assign)({},c),{x:p/2,y:0}))):h&&(t.shapeMap[l="link-point-right"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},c),{x:p/2,y:0}),className:l,name:l,isAnchorPoint:!0})),o?(d||void 0===d||(o.remove(),delete t.shapeMap["link-point-top"]),o.attr((0,y.__assign)((0,y.__assign)({},c),{x:0,y:-e/2}))):d&&(t.shapeMap[u="link-point-top"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},c),{x:0,y:-e/2}),className:u,name:u,isAnchorPoint:!0})),a?n||void 0===n?a.attr((0,y.__assign)((0,y.__assign)({},c),{x:0,y:e/2})):(a.remove(),delete t.shapeMap["link-point-bottom"]):n&&(t.shapeMap[r="link-point-bottom"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},c),{x:0,y:e/2}),className:r,name:r,isAnchorPoint:!0}))},updateShape:function(e,t,n,r,i){t.get("keyShape").attr((0,y.__assign)({},n)),this.updateLabel(e,t,i),r&&this.updateIcon(e,t)},updateIcon:function(e,t){var n,r,i,o=this,t=t.getContainer(),a=(this.mergeStyle||this.getOptions(e)).icon,e=e.icon||{show:void 0,text:void 0},s=e.show,e=e.text,l=t.shapeMap["".concat(this.type,"-icon")]||t.find(function(e){return e.get("name")==="".concat(o.type,"-icon")});l?s||void 0===s?(n=void 0===(n=(i=(0,m.mix)({},l.attr(),a)).width)?20:n,r=void 0===(r=i.height)?20:r,"iconfont"!==i.fontFamily&&!i.hasOwnProperty("text")||(r=n=0),l.attr((0,y.__assign)((0,y.__assign)({},i),{x:-n/2,y:-r/2}))):(l.remove(),delete t.shapeMap["".concat(this.type,"-icon")]):s&&(i="".concat(this.type,"-icon"),e?t.shapeMap[i]=t.addShape("text",{attrs:(0,y.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},a),className:i,name:i}):(n=a.width,r=a.height,t.shapeMap[i]=t.addShape("image",{attrs:(0,y.__assign)((0,y.__assign)({},a),{x:-n/2,y:-r/2}),className:i,name:i})),l=t.shapeMap["node-label"]||t.find(function(e){return"node-label"===e.get("name")}))&&l.toFront()}},a=(0,y.__assign)((0,y.__assign)({},a.shapeBase),n);i.default.registerNode("single-node",a)},54402:function(e,t,n){"use strict";var l=n(97582),r=i(n(27144)),n=i(n(36605));function i(e){return e&&e.__esModule?e:{default:e}}r.default.registerNode("image",{options:{img:"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*eD7nT6tmYgAAAAAAAAAAAABkARQnAQ",size:200,labelCfg:{style:{fontFamily:n.default.windowFontFamily}},clipCfg:{show:!1,type:"circle",r:50,rx:50,ry:35,width:50,height:35,points:[[30,12],[12,30],[30,48],[48,30]],path:[["M",25,25],["L",50,25],["A",12.5,12.5,0,1,1,50,50],["A",12.5,12.5,0,1,0,50,50],["L",25,75],["Z"]],x:0,y:0}},shapeType:"image",labelPosition:"bottom",drawShape:function(e,t){var n=this.shapeType,r=this.getShapeStyle(e),t=(delete r.fill,t.addShape(n,{attrs:r,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0}));return this.drawClip(e,t),t},drawClip:function(e,t){var n,r,i,o,a,s,e=(this.mergeStyle||this.getOptions(e)).clipCfg;e.show&&(n=e.type,a=e.x,s=e.y,r=e.style,"circle"===n?(i=e.r,t.setClip({type:"circle",attrs:(0,l.__assign)({r:i,x:a,y:s},r)})):"rect"===n?(i=e.width,o=e.height,t.setClip({type:"rect",attrs:(0,l.__assign)({x:a-i/2,y:s-o/2,width:i,height:o},r)})):"ellipse"===n?(i=e.rx,o=e.ry,t.setClip({type:"ellipse",attrs:(0,l.__assign)({x:a,y:s,rx:i,ry:o},r)})):"polygon"===n?(a=e.points,t.setClip({type:"polygon",attrs:(0,l.__assign)({points:a},r)})):"path"===n&&(s=e.path,t.setClip({type:"path",attrs:(0,l.__assign)({path:s},r)})))},getShapeStyle:function(e){var t=this.mergeStyle||this.getOptions(e),n=t.style,t=t.img,e=this.getSize(e),r=e[0],i=e[1];return n&&(r=n.width||e[0],i=n.height||e[1]),(0,l.__assign)({x:-r/2,y:-i/2,width:r,height:i,img:t},n)},updateShapeStyle:function(e,t){var n=t.getContainer(),r="".concat(this.itemType,"-shape"),n=n.shapeMap[r]||n.find(function(e){return e.get("className")===r})||t.getKeyShape(),t=this.getShapeStyle(e);n&&!n.destroyed&&n.attr(t)}},"single-node")},80180:function(e,t,n){"use strict";n(60902),n(97097),n(54402)},60902:function(e,t,n){"use strict";var r=n(97582),o=n(31834),i=a(n(36605));function a(e){return e&&e.__esModule?e:{default:e}}a(n(27144)).default.registerNode("simple-circle",{options:{size:i.default.defaultNode.size,style:{x:0,y:0,stroke:i.default.defaultNode.style.stroke,fill:i.default.defaultNode.style.fill,lineWidth:i.default.defaultNode.style.lineWidth},labelCfg:{style:{fill:i.default.nodeLabel.style.fill,fontSize:i.default.nodeLabel.style.fontSize,fontFamily:i.default.windowFontFamily}},stateStyles:(0,r.__assign)({},i.default.nodeStateStyles)},shapeType:"simple-circle",labelPosition:"center",shapeMap:{},drawShape:function(e,t){var e=this.getShapeStyle(e),n="".concat(this.type,"-keyShape"),e=t.addShape("circle",{attrs:e,className:"".concat(this.type,"-keyShape"),name:n,draggable:!0});return t.shapeMap[n]=e},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},t=(0,o.deepMix)({},t,n),n=this.getSize(e)[0]/2;return(0,r.__assign)({x:0,y:0,r:n},t)},update:function(e,t,n){var r=this.getSize(e),r={stroke:e.color,r:r[0]/2},i=t.get("keyShape"),i=(0,o.deepMix)({},i.attr(),r,e.style);this.updateShape(e,t,i,!0,n)}},"single-node")},97097:function(e,t,n){"use strict";var r=n(97582),a=n(31834),i=o(n(36605));function o(e){return e&&e.__esModule?e:{default:e}}o(n(27144)).default.registerNode("simple-rect",{options:{size:[100,30],style:{radius:0,stroke:i.default.defaultNode.style.stroke,fill:i.default.defaultNode.style.fill,lineWidth:i.default.defaultNode.style.lineWidth},labelCfg:{style:{fill:i.default.nodeLabel.style.fill,fontSize:i.default.nodeLabel.style.fontSize,fontFamily:i.default.windowFontFamily}},anchorPoints:[[0,.5],[1,.5]],stateStyles:(0,r.__assign)({},i.default.nodeStateStyles)},shapeType:"simple-rect",labelPosition:"center",drawShape:function(e,t){e=this.getShapeStyle(e);return t.addShape("rect",{attrs:e,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0})},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},t=(0,a.mix)({},t,n),n=this.getSize(e),e=t.width||n[0],n=t.height||n[1];return(0,r.__assign)({x:-e/2,y:-n/2,width:e,height:n},t)},update:function(e,t,n){t.getContainer();var r=(this.mergeStyle||this.getOptions(e)).style,i=this.getSize(e),o=t.get("keyShape"),i=(e.size||(i[0]=o.attr("width")||r.width,i[1]=o.attr("height")||r.height),{stroke:e.color,x:-i[0]/2,y:-i[1]/2,width:i[0],height:i[1]}),r=(0,a.mix)({},r,o.attr(),i),r=(0,a.mix)(r,e.style);this.updateShape(e,t,r,!1,n)}},"single-node")},27144:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ShapeFactoryBase=void 0;var a=n(97582),r=n(31834),s=n(86648),i={};function o(e){return i[e]||(i[e]=(0,r.upperFirst)(e)),i[e]}var l={defaultShapeType:"defaultType",className:null,getShape:function(e){return this[e]||this[this.defaultShapeType]||this["simple-circle"]},draw:function(e,t,n){var e=this.getShape(e),r=(n.shapeMap={},e.draw(t,n));return e.afterDraw&&e.afterDraw(t,n,r),r},baseUpdate:function(e,t,n,r){var i,e=this.getShape(e);e.update&&(e.mergeStyle=null==(i=e.getOptions)?void 0:i.call(e,t,r),null!=(i=e.update))&&i.call(e,t,n,r),e.afterUpdate&&e.afterUpdate(t,n)},setState:function(e,t,n,r){this.getShape(e).setState(t,n,r)},shouldUpdate:function(e){return!!this.getShape(e).update},getControlPoints:function(e,t){return this.getShape(e).getControlPoints(t)},getAnchorPoints:function(e,t){return this.getShape(e).getAnchorPoints(t)}},u=(t.ShapeFactoryBase=l,{options:{},draw:function(e,t){return this.drawShape(e,t)},drawShape:function(){},afterDraw:function(){},afterUpdate:function(){},setState:function(){},getControlPoints:function(e){return e.controlPoints},getAnchorPoints:function(e){var t=this.options.anchorPoints;return e.anchorPoints||t}}),n=(c.registerFactory=function(e,t){e=o(e),t=(0,a.__assign)((0,a.__assign)({},l),t);return(c[e]=t).className=e,t},c.getFactory=function(e){return c[o(e)]},c.registerNode=function(e,t,n){var r,i,o=c.Node;return(r="string"==typeof t||"function"==typeof t?(r=(0,s.createNodeFromXML)(t),(0,a.__assign)((0,a.__assign)({},o.getShape("single-node")),r)):t.jsx?(i=t.jsx,r=(0,s.createNodeFromXML)(i),(0,a.__assign)((0,a.__assign)((0,a.__assign)({},o.getShape("single-node")),r),t)):(o.getShape(n),i=n?o.getShape(n):u,(0,a.__assign)((0,a.__assign)({},i),t))).type=e,r.itemType="node",o[e]=r},c.registerEdge=function(e,t,n){var r=c.Edge,n=n?r.getShape(n):u,n=(0,a.__assign)((0,a.__assign)({},n),t);return n.type=e,n.itemType="edge",r[e]=n},c.registerCombo=function(e,t,n){var r=c.Combo,n=n?r.getShape(n):u,n=(0,a.__assign)((0,a.__assign)({},n),t);return n.type=e,n.itemType="combo",r[e]=n},c);function c(){}(t.default=n).registerFactory("node",{defaultShapeType:"circle"}),n.registerFactory("edge",{defaultShapeType:"line"}),n.registerFactory("combo",{defaultShapeType:"circle"})},15692:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shapeBase=t.CLS_LABEL_BG_SUFFIX=void 0;var c=n(97582),r=(i=n(36605))&&i.__esModule?i:{default:i},i=n(43708),A=n(31834),S=n(61592);function C(e){return(C="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})(e)}var f=i.ext.transform,O=["startArrow","endArrow"],n={lineWidth:1,stroke:void 0,fill:void 0,lineAppendWidth:1,opacity:void 0,strokeOpacity:void 0,fillOpacity:void 0,x:0,y:0,r:10,width:20,height:20,shadowColor:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0},E={edge:{lineWidth:1,stroke:"#000",lineDash:void 0,startArrow:!1,endArrow:!1,opacity:void 0,strokeOpacity:void 0,fillOpacity:void 0,shadowColor:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0},node:n,combo:n},i=(t.CLS_LABEL_BG_SUFFIX="-label-bg",{options:{labelCfg:{style:{fontFamily:r.default.windowFontFamily}},descriptionCfg:{style:{fontFamily:r.default.windowFontFamily}}},itemType:"",type:"",getCustomConfig:function(e){return{}},getOptions:function(e,t){return"move"===t||null!=t&&t.includes("bbox")?e:(0,A.deepMix)({},this.options,this.getCustomConfig(e)||{},e)},draw:function(e,t){t.shapeMap={},this.mergeStyle=this.getOptions(e);var n=this.drawShape(e,t);return n.set("className",this.itemType+"-shape"),t.shapeMap[this.itemType+"-shape"]=n,e.label&&((e=this.drawLabel(e,t)).set("className",this.itemType+"-label"),t.shapeMap[this.itemType+"-label"]=e),n},afterDraw:function(e,t,n){},drawShape:function(e,t){return null},drawLabel:function(e,t){var n,r=(this.mergeStyle||this.getOptions(e)||{}).labelCfg||{},i=this.getLabelStyle(e,r,t),o=i.rotate,r=(delete i.rotate,t.addShape("text",{attrs:i,draggable:!0,className:"text-shape",name:"text-shape",labelRelated:!0}));if(t.shapeMap["text-shape"]=r,!isNaN(o)&&""!==o){var a=r.getBBox(),s=[1,0,0,0,1,0,0,0,1];if(i.rotateCenter)switch(i.rotateCenter){case"center":s=f(s,[["t",-a.width/2,-a.height/2],["r",o],["t",a.width/2,a.height/2]]);break;case"lefttop":s=f(s,[["t",-i.x,-i.y],["r",o],["t",i.x,i.y]]);break;case"leftcenter":s=f(s,[["t",-i.x,-i.y-a.height/2],["r",o],["t",i.x,i.y+a.height/2]]);break;default:s=f(s,[["t",-a.width/2,-a.height/2],["r",o],["t",a.width/2,a.height/2]])}else s=f(s,[["t",-i.x,-i.y-a.height/2],["r",o],["t",i.x,i.y+a.height/2]]);r.setMatrix(s)}return i.background&&(e=this.drawLabelBg(e,t,r),n=this.itemType+"-label-bg",e.set("classname",n),t.shapeMap[n]=e,r.toFront()),r},drawLabelBg:function(e,t,n){var r=this.options.labelCfg,r=(0,A.mix)({},r,e.labelCfg),e=this.getLabelBgStyleByPosition(n,r),n=t.addShape("rect",{name:"text-bg-shape",attrs:e,labelRelated:!0});return t.shapeMap["text-bg-shape"]=n},getLabelStyleByPosition:function(e,t,n){return{text:e.label}},getLabelBgStyleByPosition:function(e,t){return{}},getLabelStyle:function(e,t,n){e=this.getLabelStyleByPosition(e,t,n),n="".concat(this.itemType,"Label"),n=r.default[n]?r.default[n].style:null;return(0,c.__assign)((0,c.__assign)((0,c.__assign)({},n),e),t.style)},getShapeStyle:function(e){return e.style},update:function(e,t,n){this.updateShapeStyle(e,t,n),this.updateLabel(e,t,n)},updateShapeStyle:function(e,t,n){var r,i,o=t.getContainer(),a=t.getKeyShape(),s=(0,A.mix)({},a.attr(),e.style);for(i in s)!function(t){var e,n=s[t];(0,A.isPlainObject)(n)?null!=(e=(null==(r=o.shapeMap)?void 0:r[t])||o.find(function(e){return e.get("name")===t}))&&e.attr(n):a.attr(((e={})[t]=n,e))}(i)},updateLabel:function(e,t,n){var r,i,t=t.getContainer(),o=(this.mergeStyle||this.getOptions({},n)||{}).labelCfg,o=void 0===o?{}:o,a=this.itemType+"-label",s=t.shapeMap[a]||t.find(function(e){return e.get("className")===a}),l=this.itemType+"-label-bg",u=t.shapeMap[l]||t.find(function(e){return e.get("className")===l});s&&void 0===e.label&&(t.removeChild(s),delete t.shapeMap[a],u)&&(t.removeChild(u),delete t.shapeMap[l]),!e.label&&""!==e.label||(s?(n&&"bbox|label"!==n&&("edge"!==this.itemType||"style"===n)||(o=(0,A.deepMix)(o,e.labelCfg)),n=this.getLabelStyleByPosition(e,o,t),r=null==(r=e.labelCfg)?void 0:r.style,r=(n=(0,c.__assign)((0,c.__assign)({},n),r)).rotate,delete n.rotate,isNaN(r)||""===r?1!==(null==(i=s.getMatrix())?void 0:i[4])&&s.resetMatrix():(i=f(i=[1,0,0,0,1,0,0,0,1],[["t",-n.x,-n.y],["r",r],["t",n.x,n.y]]),n.matrix=i),s.attr(n),u?n.background?(r=this.getLabelBgStyleByPosition(s,o),u.attr(r)):t.removeChild(u):n.background&&((u=this.drawLabelBg(e,t,s)).set("classname",l),t.shapeMap[l]=u,s.toFront())):((i=this.drawLabel(e,t)).set("className",a),t.shapeMap[a]=i))},afterUpdate:function(e,t){},setState:function(e,t,n){var r,i,a=n.get("keyShape");if(a&&!a.destroyed){var s=n.getType(),e=(0,A.isBoolean)(t)?e:"".concat(e,":").concat(t),o=this.getStateStyle(e,n),e=n.getStateStyle(e);if(e||o){var l=(0,A.mix)({},e||o),u=n.getContainer(),c={x:1,y:1,cx:1,cy:1,matrix:1};if("combo"===s&&(c.r=1,c.width=1,c.height=1),t)for(h in l)!function(t){var e,n=l[t];(0,A.isPlainObject)(n)&&!O.includes(t)?null!=(e=(null==(i=u.shapeMap)?void 0:i[t])||u.find(function(e){return e.get("name")===t}))&&e.attr(n):a.attr(((e={})[t]=n,e))}(h);else{var f,h,d,p=(0,S.cloneBesidesImg)(n.getCurrentStatesStyle()),e=n.getModel(),y=(0,A.mix)({},e.style,(0,S.cloneBesidesImg)(n.getOriginStyle())),m=a.get("name"),g=a.attr(),v={},b=(Object.keys(g).forEach(function(e){var t;"img"!==e&&((t=g[e])&&"object"===C(t)?v[e]=(0,A.clone)(t):v[e]=t)}),{});for(f in l)!function(r){var i,o,e=l[r];(0,A.isPlainObject)(e)&&!O.includes(r)?(i=u.shapeMap[r]||u.find(function(e){return e.get("name")===r}))&&(o=(0,S.cloneBesidesImg)(i.attr()),(0,A.each)(e,function(e,t){var n;r===m&&v[t]&&!c[t]?(delete v[t],n=y[r][t]||E[s][t],a.attr(t,n)):!o[t]&&0!==o[t]||(delete o[t],n=y[r][t]||E[s][t],i.attr(t,n))}),b[r]=o):v[r]&&!c[r]&&(delete v[r],e=y[r]||(y[m]?y[m][r]:void 0)||E[s][r],a.attr(r,e))}(f);for(h in m?b[m]=v:(0,A.mix)(b,v),p)c[h]||(d=p[h],(0,A.isPlainObject)(d)&&!O.includes(h))||(m?((0,A.mix)(y[m],((r={})[h]=d,r)),delete y[h]):(0,A.mix)(y,((r={})[h]=d,r)),delete p[h]);var _,x={},w=((0,A.deepMix)(x,y,b,p),!1);for(_ in x)!function(t){var e,n=x[t];(0,A.isPlainObject)(n)&&!O.includes(t)?(e=u.shapeMap[t]||u.find(function(e){return e.get("name")===t}))&&("text"!==e.get("type")&&!e.get("labelRelated")||(delete n.x,delete n.y,delete n.matrix),t===m&&("combo"===s&&(delete n.r,delete n.width,delete n.height),w=!0),e.attr(n)):w||(e=n||E[s][t],"combo"===s?m||a.attr(((n={})[t]=e,n)):a.attr(((n={})[t]=e,n)))}(_)}}}},getStateStyle:function(e,t){var n=t.getModel(),t=t.getType(),r=this.getOptions(n),i=r.stateStyles,r=r.style,r=void 0===r?{}:r,n=n.stateStyles?n.stateStyles[e]:i&&i[e];return"combo"===t?(0,A.clone)(n):(0,A.mix)({},r,n)},getControlPoints:function(e){return e.controlPoints},getAnchorPoints:function(e){return(null==e?void 0:e.anchorPoints)||(null==(e=this.getCustomConfig(e))?void 0:e.anchorPoints)||(null==(e=this.options)?void 0:e.anchorPoints)}});t.shapeBase=i},86648:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareTwoTarget=m,t.createNodeFromXML=function(r){function i(e){var t="function"==typeof r?r(e):r,t=o(t)(e),n=document.createElement("div");return n.innerHTML=t,t=y(d(n.children[0],e)),n.remove(),t}var u={};return{draw:function(e,s){var t=i(e),l=s;return function e(t){var n=t.attrs,n=void 0===n?{}:n,r=t.bbox,i=t.type,o=t.children,a=(0,c.__rest)(t,["attrs","bbox","type","children"]);"group"!==t.type&&(n=s.addShape(t.type,(0,c.__assign)({attrs:n,origin:{bbox:r,type:i,children:o}},a)),t.keyshape)&&(l=n),t.children&&t.children.forEach(e)}(t),u[e.id]=[t],l},update:function(e,o){u[e.id]||(u[e.id]=[]);function a(e){var t;"group"!==e.type&&n.addShape(e.type,{attrs:e.attrs}),null!=(t=e.children)&&t.length&&e.children.map(a)}function s(t){var e=l.find(function(e){return e.attrs.key===t.attrs.key});e&&n.removeChild(e),null!=(e=t.children)&&e.length&&t.children.map(s)}var n=o.getContainer(),l=n.get("children"),t=i(e),r=m(t,u[e.id].pop());!function e(t){var n=t.key;if("group"!==t.type){var r,i=l.find(function(e){return e.attrs.key===n});switch(t.action){case"change":i&&(r=t.val.keyshape?o.getOriginStyle():{},i.attr((0,c.__assign)((0,c.__assign)({},r),t.val.attrs)));break;case"add":a(t.val);break;case"delete":s(t.val);break;case"restructure":s(t.formerTarget),a(t.nowTarget)}}t.children&&t.children.forEach(e)}(r),u[e.id].push(t)},getAnchorPoints:function(){return[[0,.5],[1,.5],[.5,1],[.5,0]]}}},t.generateTarget=y,t.getBBox=p,t.parseXML=d,t.xmlDataRenderer=void 0;var c=n(97582),s=n(31834),l=n(61592);function u(e){return(u="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})(e)}function f(e){if("string"!=typeof e)return e;function t(t){if("string"!=typeof t)return t;try{return JSON.parse(t.trim())}catch(e){return t.trim()}}var n=t(e);if("string"!=typeof n)return n;for(var r=function(e){return e[e.length-1]},i=e.trim(),o=[],a=[],s=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.some(function(e){return r(a)===e})},l=null,u=0,c="";u<i.length;){var f=i[u],h=s('"',"'");if(h||f.trim()){var d="\\"===i[u-1],p=s("}"),y=s("]"),m=s(","),g=r(o);if(h)r(a)!==f||d?c+=f:(a.pop(),h=t(c),g.push(h),l=h,c="");else if(y&&","===f)c&&(g.push(t(c)),c="");else if(p&&":"===f)a.push(","),c&&(g.push(c),c="");else if(m&&","===f)c&&(g.push(t(c)),c=""),a.pop();else if("}"===f&&(p||m)){c&&(g.push(t(c)),c=""),m&&a.pop();for(var v={},b=1;b<g.length;b+=2)v[g[b-1]]=g[b];o.pop(),o.length&&r(o).push(v),a.pop(),l=v}else"]"===f&&y?(c&&(g.push(t(c)),c=""),o.pop(),o.length&&r(o).push(g),a.pop(),l=g):"{"===f?(o.push([]),a.push("}")):"["===f?(o.push([]),a.push("]")):'"'===f?a.push('"'):"'"===f?a.push("'"):c+=f}u+=1}return l||c}var h=function(e){return e.split("-").reduce(function(e,t){return e+t.charAt(0).toUpperCase()+t.slice(1)})},o=function(a){return function(e){for(var t,n=a.length,r=[],i=0,o="";i<n;)"{"===a[i]&&"{"===a[i+1]?(r.push(o),o="",i+=2):"}"===a[i]&&"}"===a[i+1]?(r.length&&(t=r.pop(),o=(0,s.get)(e,o,t.endsWith("=")?'"{'.concat(o,'}"'):o),r.push(t+o)),i+=2,o=""):(o+=a[i],i+=1);return r.push(o),r.map(function(e,t){return r[t-1]&&r[t-1].endsWith("=")?'"{'.concat(e,'}"'):e}).join("")}};function d(r,t){var i={},e=r.getAttributeNames&&r.getAttributeNames()||[],n=r.children&&Array.from(r.children).map(function(e){return d(e,t)}),o={},a=r.tagName?r.tagName.toLowerCase():"group";return"text"===a&&(i.text=r.innerText),"img"===(o.type=a)&&(o.type="image"),Array.from(e).forEach(function(t){var e,n=h(t),t=r.getAttribute(t);try{"style"===n||"attrs"===n?(e=f(t),i=(0,c.__assign)((0,c.__assign)({},i),e)):o[n]=f(t)}catch(e){if("style"===n)throw e;o[n]=t}}),o.attrs=i,t&&t.style&&o.name&&"object"===u(t.style[o.name])&&(o.attrs=(0,c.__assign)((0,c.__assign)({},o.attrs),t.style[o.name])),t&&t.style&&o.keyshape&&(o.attrs=(0,c.__assign)((0,c.__assign)({},o.attrs),t.style)),n.length&&(o.children=n),o}function p(e,t,n){var r,i,o=e.attrs,a=void 0===o?{}:o,s={x:t.x||0,y:t.y||0,width:n.width||0,height:n.height||0};switch(e.type){case"maker":case"circle":a.r&&(i=2*a.r,r=2*a.r);break;case"text":a.text&&(i=(0,l.getTextSize)(a.text,a.fontSize||12)[0],s.y+=r=16,s.height=r,s.width=i,e.attrs=(0,c.__assign)({fontSize:12,fill:"#000"},a));break;default:a.width&&(i=a.width),a.height&&(r=a.height)}return 0<=r&&(s.height=r),0<=i&&(s.width=i),a.marginTop&&(s.y+=a.marginTop),a.marginLeft&&(s.x+=a.marginLeft),s}function y(e,t){var n=(0,c.__assign)({x:0,y:0,width:0,height:0},t=void 0===t?{x:0,y:0}:t);if(null!=(r=e.children)&&r.length){var r=e.attrs,i=void 0===r?{}:r,r=i.marginTop,o=(0,c.__assign)({},t);r&&(o.y+=r);for(var a=0;a<e.children.length;a++){e.children[a].attrs.key="".concat(i.key||"root"," -").concat(a," ");var s,l=y(e.children[a],o);l.bbox&&(s=l.bbox,"inline"===l.attrs.next?o.x+=l.bbox.width:o.y+=l.bbox.height,s.width+s.x>n.width&&(n.width=s.width+s.x),s.height+s.y>n.height)&&(n.height=s.height+s.y)}}return e.bbox=p(e,t,n),e.attrs=(0,c.__assign)((0,c.__assign)({},e.attrs),e.bbox),e}function m(t,n){var e=(t||{}).type,r=((null==n?void 0:n.attrs)||{}).key;if(r&&t&&(t.attrs.key=r),!t&&n)return{action:"delete",val:n,type:e,key:r};if(t&&!n)return{action:"add",val:t,type:e};if(!t&&!n)return{action:"same",type:e};var i=[];if(0<(null==(u=t.children)?void 0:u.length)||0<(null==(u=n.children)?void 0:u.length))for(var o=Math.max(null==(u=t.children)?void 0:u.length,null==(u=n.children)?void 0:u.length),a=n.children||[],s=t.children||[],l=0;l<o;l+=1)i.push(m(s[l],a[l]));var u=Object.keys(n.attrs),c=Object.keys(t.attrs);return n.type!==t.type?{action:"restructure",nowTarget:t,formerTarget:n,key:r,children:i}:u.filter(function(e){return"children"!==e}).some(function(e){return t.attrs[e]!==n.attrs[e]||!c.includes(e)})?{action:"change",val:t,children:i,type:e,key:r}:{action:"same",children:i,type:e,key:r}}t.xmlDataRenderer=o},36605:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="rgb(95, 149, 255)",r="rgb(253, 253, 253)",i="rgb(247, 250, 255)",o="rgb(224, 224, 224)",a="rgb(224, 224, 224)",i={version:"0.8.17",rootContainerClassName:"root-container",nodeContainerClassName:"node-container",edgeContainerClassName:"edge-container",comboContainerClassName:"combo-container",delegateContainerClassName:"delegate-container",defaultLoopPosition:"top",nodeLabel:{style:{fill:"#000",fontSize:12,textAlign:"center",textBaseline:"middle"},offset:4},defaultNode:{type:"circle",style:{lineWidth:1,stroke:n,fill:"rgb(239, 244, 255)"},size:20,color:n,linkPoints:{size:8,lineWidth:1,fill:i,stroke:n}},nodeStateStyles:{active:{fill:i,stroke:n,lineWidth:2,shadowColor:n,shadowBlur:10},selected:{fill:"rgb(255, 255, 255)",stroke:n,lineWidth:4,shadowColor:n,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{fill:"rgb(223, 234, 255)",stroke:"#4572d9",lineWidth:2,"text-shape":{fontWeight:500}},inactive:{fill:"rgb(247, 250, 255)",stroke:"rgb(191, 213, 255)",lineWidth:1},disable:{fill:"rgb(250, 250, 250)",stroke:"rgb(224, 224, 224)",lineWidth:1}},edgeLabel:{style:{fill:"rgb(0, 0, 0)",textAlign:"center",textBaseline:"middle",fontSize:12}},defaultEdge:{type:"line",size:1,style:{stroke:o,lineAppendWidth:2},color:o},edgeStateStyles:{active:{stroke:n,lineWidth:1},selected:{stroke:n,lineWidth:2,shadowColor:n,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{stroke:n,lineWidth:2,"text-shape":{fontWeight:500}},inactive:{stroke:"rgb(234, 234, 234)",lineWidth:1},disable:{stroke:"rgb(245, 245, 245)",lineWidth:1}},comboLabel:{style:{fill:"rgb(0, 0, 0)",textBaseline:"middle",fontSize:12},refY:10,refX:10},defaultCombo:{type:"circle",style:{fill:r,lineWidth:1,stroke:a,r:5,width:20,height:10},size:[20,5],color:a,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:n,lineWidth:1,fill:"rgb(247, 250, 255)"},selected:{stroke:n,lineWidth:2,fill:r,shadowColor:n,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{stroke:"#4572d9",lineWidth:2,fill:r,"text-shape":{fontWeight:500}},inactive:{stroke:"rgb(224, 224, 224)",fill:r,lineWidth:1},disable:{stroke:"rgb(234, 234, 234)",fill:"rgb(250, 250, 250)",lineWidth:1}},delegateStyle:{fill:"#F3F9FF",fillOpacity:.5,stroke:"#1890FF",strokeOpacity:.9,lineDash:[5,5]},windowFontFamily:"undefined"!=typeof window&&window.getComputedStyle&&document.body&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif"};t.default=i},93894:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){this.graph=e,this.destroyed=!1,this.initEvents()}},49744:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ItemController",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ModeController",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"StateController",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"ViewController",{enumerable:!0,get:function(){return i.default}});var r=s(n(97500)),i=s(n(31133)),o=s(n(49749)),a=s(n(88081));function s(e){return e&&e.__esModule?e:{default:e}}},49749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h=n(97582),p=n(31834),d=r(n(4779)),y=r(n(14319)),m=r(n(43059)),g=n(61592);function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var n=this;this.edgeToBeUpdateMap={},this.throttleRefresh=(0,p.throttle)(function(e){var t=n.graph;t&&!t.get("destroyed")&&(t=n.edgeToBeUpdateMap)&&(t=Object.values(t)).length&&(t.forEach(function(e){var t,n,r=e.edge;r&&!r.destroyed&&(t=r.getSource(),n=r.getTarget(),t)&&!t.destroyed&&n&&!n.destroyed&&r.refresh(e.updateType)}),n.edgeToBeUpdateMap={})},16,{trailing:!0,leading:!0}),this.graph=e,this.destroyed=!1}i.prototype.addItem=function(e,n){var r,t,i,o,a=this.graph,s="vedge"===e?"edge":e,l=a.get("".concat(s,"Group"))||a.get("group"),u=(0,p.upperFirst)(s),c=null,f=a.get(s+(0,p.upperFirst)("stateStyles"))||{},h=a.get("default"+u),u=(n.stateStyles&&(f=n.stateStyles),h&&(0,p.each)(h,function(e,t){(0,p.isObject)(e)&&!(0,p.isArray)(e)?n[t]=(0,p.deepMix)({},e,n[t]):(0,p.isArray)(e)?n[t]=n[t]||(0,p.clone)(h[t]):n[t]=n[t]||h[t]}),a.get(s+"Mapper"));if(u&&((r=u(n)).stateStyles&&(f=r.stateStyles,delete r.stateStyles),(0,p.each)(r,function(e,t){(0,p.isObject)(e)&&!(0,p.isArray)(e)?n[t]=(0,p.deepMix)({},n[t],e):n[t]=r[t]||n[t]})),a.emit("beforeadditem",{type:e,model:n}),"edge"===e||"vedge"===e){var s=void 0,u=void 0,s=n.source,u=n.target;if(s&&(0,p.isString)(s)&&(s=a.findById(s)),u&&(0,p.isString)(u)&&(u=a.findById(u)),!s||!u)return void console.warn("The source or target node of edge ".concat(n.id," does not exist!"));s.getType&&"combo"===s.getType()&&(n.isComboEdge=!0),u.getType&&"combo"===u.getType()&&(n.isComboEdge=!0),c=new d.default({model:n,source:s,target:u,styles:f,linkCenter:a.get("linkCenter"),group:l.addGroup()})}else"node"===e?c=new y.default({model:n,styles:f,group:l.addGroup()}):"combo"===e&&(s=n.children,u=(0,g.getComboBBox)(s,a),t=i=void 0,isNaN(u.x)?isNaN(n.x)&&(i=100*Math.random()):i=u.x,isNaN(u.y)?isNaN(n.y)&&(t=100*Math.random()):t=u.y,isNaN(n.x)||isNaN(n.y)?(n.x=i,n.y=t):(i=n.x-i,t=n.y-t,this.updateComboSucceeds(n.id,i,t,s)),(i=l.addGroup()).setZIndex(n.depth),c=new m.default({model:n,styles:f,animate:a.get("animate"),bbox:n.collapsed?(0,g.getComboBBox)([],a):u,group:i}),n.collapsed||"circle"!==c.getKeyShape().get("type")||(u.width=Math.hypot(u.height,u.width),u.height=u.width,c.set("bbox",u),c.refresh()),o=c.getModel(),(s||[]).forEach(function(e){var t=a.findById(e.id);c.addChild(t),e.depth=o.depth+2}));if(c)return c.setOptimize(a.getNodes().length>a.get("optimizeThreshold")),a.get("".concat(e,"s")).push(c),a.get("itemMap")[c.get("id")]=c,a.emit("afteradditem",{item:c,model:n}),c},i.prototype.updateItem=function(t,n){var e,r,i,o,a,s,l,u,c=this,f=this.graph;(t=(0,p.isString)(t)?f.findById(t):t)&&!t.destroyed&&(e="",t.getType&&(e=t.getType()),a=f.get(e+"Mapper"),l=(r=t.getModel()).x,u=r.y,i=t.getUpdateType(n),a?(a=a((0,p.deepMix)({},r,n)),o=(0,p.deepMix)({},r,a,n),a.stateStyles&&(t.set("styles",o.stateStyles),delete o.stateStyles),(0,p.each)(o,function(e,t){n[t]=e})):(0,p.each)(n,function(e,t){r[t]&&(0,p.isObject)(e)&&!(0,p.isArray)(e)&&(n[t]=(0,h.__assign)((0,h.__assign)({},r[t]),n[t]))}),f.emit("beforeupdateitem",{item:t,cfg:n}),"edge"===e?(n.source&&(a=n.source,(0,p.isString)(a)&&(a=f.findById(a)),t.setSource(a)),n.target&&(o=n.target,(0,p.isString)(o)&&(o=f.findById(o)),t.setTarget(o)),t.update(n)):"node"===e?(t.update(n,i),a=t.getEdges(),"move"===i?(0,p.each)(a,function(e){c.edgeToBeUpdateMap[e.getID()]={edge:e,updateType:i},c.throttleRefresh()}):null!=i&&i.includes("bbox")&&(0,p.each)(a,function(e){e.refresh(i)})):"combo"===e&&(t.update(n,i),isNaN(n.x)&&isNaN(n.y)||(o=n.x-l||0,a=n.y-u||0,this.updateComboSucceeds(r.id,o,a)),s=t.getEdges(),null!=i&&i.includes("bbox")||"move"===i)&&"combo"===e&&(l=t.get("shapeFactory"),u=r.type||"circle",(void 0===r.animate||void 0===n.animate?null!=(a=null==(o=l[u])?void 0:o.options)&&a.animate:r.animate||n.animate)?setTimeout(function(){var e;t&&!t.destroyed&&(e=t.getKeyShape())&&!e.destroyed&&(0,p.each)(s,function(e){e&&!e.destroyed&&e.refresh()})},201):(0,p.each)(s,function(e){e.refresh()})),t.setOptimize(f.getNodes().length>f.get("optimizeThreshold")),f.emit("afterupdateitem",{item:t,cfg:n}))},i.prototype.updateCombo=function(t,e,n){var r,i,o,a=this,s=this.graph;(t=(0,p.isString)(t)?s.findById(t):t)&&!t.destroyed&&(r=t.getModel(),s=(e=(0,g.getComboBBox)(e,s,t)).x,i=e.y,t.set("bbox",e),e=s,o=i,o=n?(e=isNaN(r.x)?s:r.x,isNaN(r.y)?i:r.y):(e=isNaN(s)?r.x:s,isNaN(i)?r.y:i),t.update({x:e,y:o}),n=t.get("shapeFactory"),s=r.type||"circle",(void 0===r.animate?null!=(e=null==(i=n[s])?void 0:i.options)&&e.animate:r.animate)?setTimeout(function(){var e;t&&!t.destroyed&&(e=t.getKeyShape())&&!e.destroyed&&(t.getShapeCfg(r),a.updateComboEdges(t))},201):this.updateComboEdges(t))},i.prototype.updateComboEdges=function(e){for(var t,n=e.getEdges()||[],r=0;r<n.length;r++){var i=n[r];null!=i&&i.destroyed||null!=(t=null==i?void 0:i.getSource())&&t.destroyed||null!=(t=null==i?void 0:i.getTarget())&&t.destroyed||i.refresh()}},i.prototype.collapseCombo=function(e,t){void 0===t&&(t=!0);var n=this.graph,e=(e=(0,p.isString)(e)?n.findById(e):e).getChildren();e.nodes.forEach(function(e){n.hideItem(e,t)}),e.combos.forEach(function(e){n.hideItem(e,t)})},i.prototype.updateComboSucceeds=function(t,n,r,e){var i,o=this,a=(void 0===e&&(e=[]),this.graph);(n||r)&&(null!=(i=e)&&i.length||null!=(e=a.get("comboTrees"))&&e.forEach(function(e){(0,g.traverseTree)(e,function(e){return e.id!==t||(i=e.children,!1)})}),null!=i)&&i.forEach(function(e){var t=a.findById(e.id);t&&(t=t.getModel(),o.updateItem(e.id,{x:(t.x||0)+n,y:(t.y||0)+r}))})},i.prototype.expandCombo=function(e,t){void 0===t&&(t=!0);var n=this.graph,e=(e=(0,p.isString)(e)?n.findById(e):e).getChildren(),r=new Set;e.nodes.forEach(function(e){n.showItem(e,t),e.getEdges().forEach(function(e){return r.add(e)})}),e.combos.forEach(function(e){e.getModel().collapsed?e.show():n.showItem(e,t),e.getEdges().forEach(function(e){return r.add(e)})}),r.forEach(function(e){return e.refresh()})},i.prototype.removeItem=function(e){var t=this,n=this.graph;if((e=(0,p.isString)(e)?n.findById(e):e)&&!e.destroyed){var r=(0,p.clone)(e.getModel()),i="",o=(e.getType&&(i=e.getType()),n.emit("beforeremoveitem",{item:r,type:i}),n.get("".concat(i,"s"))),a=o.indexOf(e),o=(-1<a&&o.splice(a,1),"edge"===i&&-1<(a=(o=n.get("v".concat(i,"s"))).indexOf(e))&&o.splice(a,1),e.get("id")),a=(delete n.get("itemMap")[o],n.get("comboTrees")),s=e.get("id");if("node"===i){var l,u,o=e.getModel().comboId;a&&o&&(u=!1,(l=a).forEach(function(e){u||(0,g.traverseTree)(e,function(e){var t;return e.id===s&&l?(t=l.indexOf(e),l.splice(t,1),!(u=!0)):(l=e.children,!0)})}));for(var c=(h=e.getEdges()).length-1;0<=c;c--)n.removeItem(h[c],!1);o&&n.updateCombo(o)}else if("combo"===i){var f,h,o=e.getModel().parentId,d=!1;for((a||[]).forEach(function(e){d||(0,g.traverseTree)(e,function(e){return e.id!==s||(f=e,!(d=!0))})}),f.removed=!0,f&&f.children&&f.children.forEach(function(e){t.removeItem(e.id)}),c=(h=e.getEdges()).length;0<=c;c--)n.removeItem(h[c],!1);o&&n.updateCombo(o)}e.destroy(),n.emit("afterremoveitem",{item:r,type:i})}},i.prototype.setItemState=function(e,t,n){var r=this.graph,i=t;(0,p.isString)(n)&&(i="".concat(t,":").concat(n)),e.hasState(i)===n&&n||(0,p.isString)(n)&&e.hasState(i)||(r.emit("beforeitemstatechange",{item:e,state:i,enabled:n}),e.setState(t,n),r.autoPaint(),r.emit("afteritemstatechange",{item:e,state:i,enabled:n}))},i.prototype.priorityState=function(e,t){var n=this.graph,r=e;(0,p.isString)(e)&&(r=n.findById(e)),this.setItemState(r,t,!1),this.setItemState(r,t,!0)},i.prototype.clearItemStates=function(e,t){var n=this.graph;(0,p.isString)(e)&&(e=n.findById(e)),n.emit("beforeitemstatesclear",{item:e,states:t}),e.clearStates(t),n.emit("afteritemstatesclear",{item:e,states:t})},i.prototype.refreshItem=function(e){var t=this.graph;(0,p.isString)(e)&&(e=t.findById(e)),t.emit("beforeitemrefresh",{item:e}),e.refresh(),t.emit("afteritemrefresh",{item:e})},i.prototype.addCombos=function(e,r){var i=this,t=this.graph,e=((e||[]).forEach(function(e){(0,g.traverseTreeUp)(e,function(t){var n;return r.forEach(function(e){e.id===t.id&&(e.children=t.children,e.depth=t.depth,n=e)}),n&&i.addItem("combo",n),!0})}),t.get("comboGroup"));e&&e.sort()},i.prototype.changeItemVisibility=function(e,t){var n,r,i,o,a,s=this,l=this.graph;if(e=(0,p.isString)(e)?l.findById(e):e)return l.emit("beforeitemvisibilitychange",{item:e,visible:t}),e.changeVisibility(t),e.getType&&"node"===e.getType()?(n=e.getEdges(),(0,p.each)(n,function(e){(!t||e.get("source").isVisible()&&e.get("target").isVisible())&&s.changeItemVisibility(e,t)})):e.getType&&"combo"===e.getType()&&(r=l.get("comboTrees"),i=e.get("id"),a=!(o=[]),(r||[]).forEach(function(e){a||e.children&&0!==e.children.length&&(0,g.traverseTree)(e,function(e){return e.id!==i||(o=e.children,!(a=!0))})}),!o||t&&e.getModel().collapsed||o.forEach(function(e){e=l.findById(e.id);s.changeItemVisibility(e,t)}),n=e.getEdges(),(0,p.each)(n,function(e){(!t||e.get("source").isVisible()&&e.get("target").isVisible())&&s.changeItemVisibility(e,t)})),l.emit("afteritemvisibilitychange",{item:e,visible:t}),e;console.warn("The item to be shown or hidden does not exist!")},i.prototype.destroy=function(){this.graph=null,this.destroyed=!0},t.default=i},66863:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(97582),l=n(31834),d=n(30271),i=n(42658);function r(e){this.graph=e,this.layoutCfg=e.get("layout")||{},this.layoutType=this.getLayoutType(),this.layoutMethods=[],this.initLayout()}r.prototype.initLayout=function(){},r.prototype.getLayoutType=function(){return this.getLayoutCfgType(this.layoutCfg)},r.prototype.getLayoutCfgType=function(e){var t=e.type;return t||(t=e.pipes,Array.isArray(t)?t.map(function(e){return(null==e?void 0:e.type)||""}):null)},r.prototype.isLayoutTypeSame=function(e){var n=this.getLayoutCfgType(e),t=Array.isArray(this.layoutType),r=Array.isArray(n);return t&&r?this.layoutType.every(function(e,t){return e===n[t]}):!Array.isArray(n)&&!Array.isArray(this.layoutType)&&(null==e?void 0:e.type)===this.layoutType},r.prototype.refreshLayout=function(){var e,t=this.graph,n=this.layoutType,r=this.layoutCfg;t&&(e=void 0===(r=(void 0===r?{}:r).animate)&&("force"===n||"force2"===n),r=(0,i.isForce)(n)&&(r||e),t.get("animate")&&!r?t.positionsAnimate("comboCombined"===n):t.refreshPositions("comboCombined"===n))},r.prototype.changeLayout=function(e){var t=e.disableTriggerLayout,e=(0,s.__rest)(e,["disableTriggerLayout"]);this.layoutCfg=e,this.layoutType=e.type||this.layoutType,t||this.layout()},r.prototype.changeData=function(e){this.layout(e)},r.prototype.destoryLayoutMethods=function(){var e=this.layoutMethods,n=[];return null!=e&&e.forEach(function(e){var t=null==(t=e.getType)?void 0:t.call(e);t&&n.push(t),e.destroy()}),this.layoutMethods=[],n},r.prototype.destroyLayout=function(){this.destoryLayoutMethods();var e=this.graph;e&&!e.get("destroyed")&&e.set("layout",void 0),this.layoutCfg=void 0,this.layoutType=void 0,this.layoutMethods=void 0},r.prototype.setDataFromGraph=function(){for(var e,t=[],n=[],r=[],i=[],o=[],a=[],s=[],l=this.graph.getNodes(),u=this.graph.getEdges(),c=this.graph.getCombos(),f=l.length,h=0;h<f;h++){var d,p=l[h];p&&!p.destroyed&&(d=p.getModel(),(p.isVisible()?t:n).push(d))}for(var y=u.length,h=0;h<y;h++){var m=u[h];m&&!m.destroyed&&(d=m.getModel(),(m.isVisible()?d.isComboEdge?o:r:i).push(d))}var g=c.length;for(h=0;h<g;h++){var v=c[h];v.destroyed||(d=v.getModel(),(v.isVisible()?a:s).push(d))}return{nodes:t,hiddenNodes:n,edges:r,hiddenEdges:i,combos:a,hiddenCombos:s,comboEdges:o,vedges:null==(e=this.graph.get("vedges"))?void 0:e.map(function(e){return e.getModel()})}},r.prototype.relayout=function(e){var i=this,t=this.graph,o=this.layoutMethods,a=this.layoutCfg;if(t&&!t.get("destroyed")){var s=Promise.resolve();if(e){this.data=this.setDataFromGraph();e=this.data.nodes;if(!e)return!1;s=this.initPositions(a.center,e)}t.emit("beforelayout"),null!=o&&o.forEach(function(e,n){var r=a[n]||a;s=s.then(function(){var e,t=i.execLayoutMethod(r,n);return n!==o.length-1||null!=(e=a.onAllLayoutEnd)&&e.call(a),t})})}},r.prototype.filterLayoutData=function(e,t){var n,r,i=e.nodes,o=e.edges,a=(0,s.__rest)(e,["nodes","edges"]);return i?(r=(0,l.isFunction)(null==t?void 0:t.nodesFilter)?t.nodesFilter:function(){return!0},i=i.filter(r),r=(0,l.isFunction)(null==t?void 0:t.edgesFilter)?t.edgesFilter:(n=i.reduce(function(e,t){return e[t.id]=!0,e},{}),function(e){return n[e.source]&&n[e.target]}),(0,s.__assign)({nodes:i,edges:o.filter(r)},a)):e},r.prototype.getLayoutBBox=function(e){var t=this.graph,t=(0,l.groupBy)(t.getNodes(),function(e){return e.getModel().layoutOrder}),t=Object.values(t).map(function(e){e=(0,d.calculationItemsBBox)(e);return e.size=[e.width,e.height],e});return{groupNodes:Object.values((0,l.groupBy)(e,"layoutOrder")),layoutNodes:t}},r.prototype.layoutAnimate=function(){},r.prototype.moveToZero=function(){var e=this.graph.get("data").nodes;if(void 0!==e[0].x&&null!==e[0].x&&!(0,d.isNaN)(e[0].x)){for(var t=[0,0],n=e.length,r=0;r<n;r++){var i=e[r];t[0]+=i.x,t[1]+=i.y}for(t[0]/=e.length,t[1]/=e.length,r=0;r<n;r++)(i=e[r]).x-=t[0],i.y-=t[1]}},r.prototype.initPositions=function(h,t){var n;return(0,s.__awaiter)(this,void 0,void 0,function(){var u,c,f;return(0,s.__generator)(this,function(e){return u=this.graph,null!=t&&t.length?(c=t.filter(function(e){return(0,d.isNaN)(e.x)||(0,d.isNaN)(e.y)}),(f=c?c.length:0)?[2,null==(n=this.initWithPreset)?void 0:n.call(this,function(){},function(){var e=.85*u.get("width"),t=.85*u.get("height"),n=Math.ceil(Math.sqrt(f)*(e/t)),r=e/(n-1),i=t/(Math.ceil(f/n)-1);isFinite(r)&&r||(r=0),isFinite(i)&&r||(i=0);for(var o=h[0]-e/2,a=h[1]-t/2,s=0;s<f;s++){var l=c[s];(0,d.isNaN)(+l.x)&&(l.x=s%n*r+o),(0,d.isNaN)(+l.y)&&(l.y=Math.floor(s/n)*i+a)}})]:[2]):[2,Promise.resolve()]})})},r.prototype.destroy=function(){this.graph=null,this.destoryLayoutMethods(),this.destroyed=!0},t.default=r},97500:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(31834),o=(n=n(58279))&&n.__esModule?n:{default:n};function a(e){this.graph=e,this.destroyed=!1,this.modes=e.get("modes")||{default:[]},this.formatModes(),this.mode=e.get("defaultMode")||"default",this.currentBehaves=[],this.setMode(this.mode)}a.prototype.formatModes=function(){var e=this.modes;(0,l.each)(e,function(n){(0,l.each)(n,function(e,t){(0,l.isString)(e)&&(n[t]={type:e})})})},a.prototype.setBehaviors=function(e){var n,r=this.graph,e=this.modes[e],i=[];(0,l.each)(e||[],function(e){var t=o.default.getBehavior(e.type||e);t&&(n=new t(e))&&(n.bind(r),i.push(n))}),this.currentBehaves=i},a.mergeBehaviors=function(t,e){return(0,l.each)(e,function(e){t.indexOf(e)<0&&((0,l.isString)(e)&&(e={type:e}),t.push(e))}),t},a.filterBehaviors=function(e,n){var r=[];return e.forEach(function(e){var t=(0,l.isString)(e)?e:e.type;n.indexOf(t)<0&&r.push(e)}),r},a.prototype.setMode=function(e){var t=this.modes,n=this.graph,r=e;t[r]&&(n.emit("beforemodechange",{mode:e}),(0,l.each)(this.currentBehaves,function(e){e.delegate&&e.delegate.remove(),e.unbind(n)}),this.setBehaviors(r),n.emit("aftermodechange",{mode:e}),this.mode=e)},a.prototype.getMode=function(){return this.mode},a.prototype.manipulateBehaviors=function(e,t,n){var r,i=this;return(r=(0,l.isArray)(e)?e:[e],(0,l.isArray)(t))?(0,l.each)(t,function(e){i.modes[e]?i.modes[e]=n?a.mergeBehaviors(i.modes[e]||[],r):a.filterBehaviors(i.modes[e]||[],r):n&&(i.modes[e]=r)}):((e=t)||(e=this.mode),this.modes[e]||n&&(this.modes[e]=r),this.modes[e]=n?a.mergeBehaviors(this.modes[e]||[],r):a.filterBehaviors(this.modes[e]||[],r),this.formatModes(),this.setMode(this.mode)),this},a.prototype.updateBehavior=function(e,t,n){(0,l.isString)(e)&&(e={type:e});var r=[];if(n&&n!==this.mode&&"default"!==n){if(!(r=this.modes[n])||!r.length)return console.warn("Update behavior failed! There is no behaviors in this mode on the graph."),this;for(var i=r.length,o=0;o<i;o++){if((a=r[o]).type===e.type||a===e.type)return a===e.type&&(a={type:a}),Object.assign(a,t),r[o]=a,this;o===i-1&&console.warn("Update behavior failed! There is no such behavior in the mode")}}else{if(!(r=this.currentBehaves)||!r.length)return console.warn("Update behavior failed! There is no behaviors in this mode on the graph."),this;for(var a,s=r.length,o=0;o<s;o++){if((a=r[o]).type===e.type)return a.updateCfg(t),this;o===s-1&&console.warn("Update behavior failed! There is no such behavior in the mode")}}return this},a.prototype.destroy=function(){this.graph=null,this.modes=null,this.currentBehaves=null,this.destroyed=!0},t.default=a},88081:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(31834);function r(e){this.graph=e,this.destroyed=!1}r.prototype.updateState=function(t,e,n){var r=this.graph.get("states"),i=e;r[i=(0,o.isString)(n)?"".concat(e,":").concat(n):i]||(r[i]=[]),n?r[i].push(t):r[i]=r[i].filter(function(e){return e!==t}),this.graph.set("states",r),this.graph.emit("graphstatechange",{states:r})},r.prototype.updateStates=function(n,e,r){var i=this.graph.get("states");((0,o.isString)(e)?[e]:e).forEach(function(e){var t=e;i[t]||(i[t]=[]),(0,o.isString)(r)&&(t="".concat(e,":").concat(r)),r?i[t].push(n):i[t]=i[t].filter(function(e){return e!==n})}),this.graph.set("states",i),this.graph.emit("graphstatechange",{states:e})},r.prototype.destroy=function(){this.graph=null,this.destroyed=!0},t.default=r},31133:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h=n(97582),s=n(31834),y=n(30271),d=n(39520),p=n(47592),m=n(61592);function r(e){this.destroyed=!1,this.graph=e,this.destroyed=!1}r.prototype.getViewCenter=function(){var e=this.getFormatPadding(),t=this.graph,n=this.graph.get("width"),t=t.get("height");return{x:(n-e[1]-e[3])/2+e[3],y:(t-e[0]-e[2])/2+e[0]}},r.prototype.fitCenter=function(e,t){var n,r,i,o,a,s,l,u=this.graph,c=u.get("group"),f=u.getNodes();0!==(a=f.length>u.get("optimizeThreshold")?(r=n=1/0,o=i=-1/0,f.forEach(function(e){var e=e.getModel(),t=e.x,e=e.y;t<n&&(n=t),e<r&&(r=e),i<t&&(i=t),o<e&&(o=e)}),f=c.getMatrix()||[1,0,0,0,1,0,0,0,1],s=(l=(0,d.applyMatrix)({x:n,y:r},f)).x,l=l.y,{minX:s,maxX:a=(f=(0,d.applyMatrix)({x:i,y:o},f)).x,minY:l,maxY:f=f.y,width:a-s,height:f-l,x:s,y:l}):c.getCanvasBBox()).width&&0!==a.height&&(f=this.getViewCenter(),s=a.x+a.width/2,l=a.y+a.height/2,u.translate(f.x-s,f.y-l,e,t))},r.prototype.animatedFitView=function(e,t,n,r,i,o,a,s){var l,u,c=this.graph,f=(n=n||{duration:500,easing:"easeCubic"},r.x+i.x-o.x-r.minX),o=r.y+i.y-o.y-r.minY;(0,y.isNaN)(f)||(0,y.isNaN)(o)||(l=(0,p.transform)([1,0,0,0,1,0,0,0,1],[["t",f,o]]),s?(r=c.get("minZoom"),f=c.get("maxZoom"),o=a,r&&a<r?(o=r,console.warn("fitview failed, ratio out of range, ratio: %f",a,"graph minzoom has been used instead")):f&&f<a&&(o=f,console.warn("fitview failed, ratio out of range, ratio: %f",a,"graph maxzoom has been used instead")),u=(0,p.transform)(l,[["t",-i.x,-i.y],["s",o,o],["t",i.x,i.y]]),s=(0,m.getAnimateCfgWithCallback)({animateCfg:n,callback:function(){e.setMatrix(u),c.emit("viewportchange",{action:"translate",matrix:l}),c.emit("viewportchange",{action:"zoom",matrix:u})}}),e.stopAnimate(),e.setMatrix(t),e.animate(function(e){return{matrix:(0,d.lerpArray)(t,u,e)}},s)):(r=(0,m.getAnimateCfgWithCallback)({animateCfg:n,callback:function(){c.emit("viewportchange",{action:"translate",matrix:l})}}),e.animate(function(e){return{matrix:(0,d.lerpArray)(t,l,e)}},r)))},r.prototype.fitView=function(e,t){var n,r,i,o,a,s,l=this.graph,u=this.getFormatPadding(),c=l.get("width"),f=l.get("height"),h=l.get("group"),d=h.getMatrix()||[1,0,0,0,1,0,0,0,1],p=(h.resetMatrix(),l.getNodes()),p=p.length>l.get("optimizeThreshold")?(r=n=1/0,o=i=-1/0,p.forEach(function(e){var e=e.getModel(),t=e.x,e=e.y;t<n&&(n=t),e<r&&(r=e),i<t&&(i=t),o<e&&(o=e)}),{minX:n,maxX:i,minY:r,maxY:o,width:i-n,height:o-r,x:n,y:r}):h.getCanvasBBox();0!==p.width&&0!==p.height&&(a=this.getViewCenter(),s={x:p.x+p.width/2,y:p.y+p.height/2},c=(c-u[1]-u[3])/p.width,u=(f=(f-u[0]-u[2])/p.height)<c?f:c,e?this.animatedFitView(h,d,t,p,a,s,u,!0):(f=a.x-s.x,c=a.y-s.y,(0,y.isNaN)(f)||(0,y.isNaN)(c)||(l.translate(f,c),l.zoom(u,a))||console.warn("zoom failed, ratio out of range, ratio: %f",u)))},r.prototype.fitViewByRules=function(e,t,n){var r,i,o,a,s,l,u=e.onlyOutOfViewPort,u=void 0!==u&&u,c=e.direction,c=void 0===c?"both":c,e=e.ratioRule,e=void 0===e?"min":e,f=this.graph,h=this.getFormatPadding(),d=f.get("width"),p=f.get("height"),y=f.get("group"),m=y.getMatrix()||[1,0,0,0,1,0,0,0,1],g=(y.resetMatrix(),f.getNodes()),g=g.length>f.get("optimizeThreshold")?(i=r=1/0,a=o=-1/0,g.forEach(function(e){var e=e.getModel(),t=e.x,e=e.y;t<r&&(r=t),e<i&&(i=e),o<t&&(o=t),a<e&&(a=e)}),{minX:r,maxX:o,minY:i,maxY:a,width:o-r,height:a-i,x:r,y:i}):y.getCanvasBBox();0!==g.width&&0!==g.height&&(s=this.getViewCenter(),l={x:g.x+g.width/2,y:g.y+g.height/2},d=(d-h[1]-h[3])/g.width,p=(p-h[0]-h[2])/g.height,h="x"===c?d:"y"===c?p:"max"===e?Math.max(d,p):Math.min(d,p),u&&(h=h<1?h:1),t?this.animatedFitView(y,m,n,g,s,l,h,!0):((c=f.getZoom()*h)<(e=f.get("minZoom"))&&(c=e,console.warn("fitview failed, ratio out of range, ratio: %f",h,"graph minzoom has been used instead")),f.translate(s.x-l.x,s.y-l.y),f.zoomTo(c,s)))},r.prototype.getFormatPadding=function(){var e=this.graph.get("fitViewPadding");return(0,y.formatPadding)(e)},r.prototype.focusPoint=function(e,t,n){var r,i,o,a,s,l,u=this,c=this.getViewCenter(),c=this.getPointByCanvas(c.x,c.y),f=(f=this.graph.get("group").getMatrix())||[1,0,0,0,1,0,0,0,1];t?(r=(c.x-e.x)*f[0],i=(c.y-e.y)*f[4],l=s=a=o=0,this.graph.get("canvas").animate(function(e){s=r*e,l=i*e,u.graph.translate(s-o,l-a),o=s,a=l},(0,h.__assign)({},n))):this.graph.translate((c.x-e.x)*f[0],(c.y-e.y)*f[4])},r.prototype.getPointByCanvas=function(e,t){var n=(n=this.graph.get("group").getMatrix())||[1,0,0,0,1,0,0,0,1];return(0,d.invertMatrix)({x:e,y:t},n)},r.prototype.getPointByClient=function(e,t){e=this.graph.get("canvas").getPointByClient(e,t);return this.getPointByCanvas(e.x,e.y)},r.prototype.getClientByPoint=function(e,t){var n=this.graph.get("canvas"),e=this.getCanvasByPoint(e,t),t=n.getClientByPoint(e.x,e.y);return{x:t.x,y:t.y}},r.prototype.getCanvasByPoint=function(e,t){var n=(n=this.graph.get("group").getMatrix())||[1,0,0,0,1,0,0,0,1];return(0,d.applyMatrix)({x:e,y:t},n)},r.prototype.focus=function(e,t,n){var r,i,o,a;(e=(0,s.isString)(e)?this.graph.findById(e):e)&&(a=o=0,e.getType&&"edge"===e.getType()?(i=e.getSource().get("group").getMatrix(),r=e.getTarget().get("group").getMatrix(),i&&r?(o=(i[6]+r[6])/2,a=(i[7]+r[7])/2):(i||r)&&(o=(i||r)[6],a=(i||r)[7])):(o=(i=(i=e.get("group").getMatrix())||[1,0,0,0,1,0,0,0,1])[6],a=i[7]),this.focusPoint({x:o,y:a},t,n))},r.prototype.focusItems=function(e,t,n,r){if(e.length){var i=this.graph,o=this.getFormatPadding(),a=i.get("width"),s=i.get("height"),l=i.get("group"),u=l.getMatrix()||[1,0,0,0,1,0,0,0,1];l.resetMatrix();for(var c,f={x:0,y:0,minX:Number.MAX_SAFE_INTEGER,minY:Number.MAX_SAFE_INTEGER,maxX:Number.MIN_SAFE_INTEGER,maxY:Number.MIN_SAFE_INTEGER,width:0,height:0},h=0,d=e;h<d.length;h++){var p=d[h].getBBox();p.minX<f.minX&&(f.minX=p.minX),p.minY<f.minY&&(f.minY=p.minY),p.maxX>f.maxX&&(f.maxX=p.maxX),p.maxY>f.maxY&&(f.maxY=p.maxY)}f.x=f.minX,f.y=f.minY,f.width=f.maxX-f.minX,f.height=f.maxY-f.minY,0!==f.width&&0!==f.height&&(e=this.getViewCenter(),c={x:f.x+f.width/2,y:f.y+f.height/2},a=(a-o[1]-o[3])/f.width,o=(s=(s-o[0]-o[2])/f.height)<a?s:a,n?this.animatedFitView(l,u,r,f,e,c,o,t):(i.translate(e.x-c.x,e.y-c.y),t&&!i.zoom(o,e)&&console.warn("zoom failed, ratio out of range, ratio: %f",o)))}},r.prototype.changeSize=function(e,t){var n=this.graph;if(!(0,s.isNumber)(e)||!(0,s.isNumber)(t))throw Error("invalid canvas width & height, please make sure width & height type is number");n.set({width:e,height:t}),n.get("canvas").changeSize(e,t),n.get("plugins").forEach(function(e){e.get("gridContainer")&&e.positionInit()})},r.prototype.destroy=function(){this.graph=null,this.destroyed=!1},t.default=r},67239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h=n(97582),r=u(n(73118)),i=n(43708),v=n(31834),a=n(81366),y=n(39520),d=n(29001),o=u(n(36605)),s=n(49744),b=n(61592),l=u(n(65674));function u(e){return e&&e.__esModule?e:{default:e}}var c,m=i.ext.transform,n=(c=r.default,(0,h.__extends)(f,c),f.prototype.init=function(){this.initCanvas();var e=new s.ViewController(this),t=new s.ModeController(this),n=new s.ItemController(this),r=new s.StateController(this);this.set({viewController:e,modeController:t,itemController:n,stateController:r}),this.initLayoutController(),this.initEventController(),this.initGroups(),this.initPlugins()},f.prototype.initGroups=function(){var e,t,n,r,i=this.get("canvas");i&&(e=(i.get("el")||{}).id,e=i.addGroup({id:"".concat(i=void 0===e?"g6":e,"-root"),className:o.default.rootContainerClassName}),this.get("groupByTypes")&&(t=e.addGroup({id:"".concat(i,"-edge"),className:o.default.edgeContainerClassName}),r=e.addGroup({id:"".concat(i,"-node"),className:o.default.nodeContainerClassName}),(n=e.addGroup({id:"".concat(i,"-combo"),className:o.default.comboContainerClassName})).toBack(),this.set({nodeGroup:r,edgeGroup:t,comboGroup:n})),r=e.addGroup({id:"".concat(i,"-delegate"),className:o.default.delegateContainerClassName}),this.set({delegateGroup:r}),this.set("group",e))},f.prototype.getDefaultCfg=function(){return{container:void 0,width:void 0,height:void 0,renderer:"canvas",modes:{},plugins:[],data:{},fitViewPadding:10,minZoom:.02,maxZoom:10,event:!0,groupByTypes:!0,directed:!1,autoPaint:!0,nodes:[],edges:[],combos:[],vedges:[],itemMap:{},linkCenter:!1,defaultNode:{},defaultEdge:{},nodeStateStyles:{},edgeStateStyles:{},states:{},animate:!1,animateCfg:{onFrame:void 0,duration:500,easing:"easeLinear"},callback:void 0,enabledStack:!1,maxStep:10,tooltips:[],optimizeThreshold:1e3}},f.prototype.set=function(e,t){return(0,v.isPlainObject)(e)?this.cfg=(0,h.__assign)((0,h.__assign)({},this.cfg),e):this.cfg[e]=t,"enabledStack"!==e||!t||this.undoStack||this.redoStack||(this.undoStack=new a.Stack(this.cfg.maxStep),this.redoStack=new a.Stack(this.cfg.maxStep)),this},f.prototype.get=function(e){var t;return null==(t=this.cfg)?void 0:t[e]},f.prototype.getGroup=function(){return this.get("group")},f.prototype.getContainer=function(){return this.get("container")},f.prototype.getMinZoom=function(){return this.get("minZoom")},f.prototype.setMinZoom=function(e){return this.set("minZoom",e)},f.prototype.getMaxZoom=function(){return this.get("maxZoom")},f.prototype.setMaxZoom=function(e){return this.set("maxZoom",e)},f.prototype.getWidth=function(){return this.get("width")},f.prototype.getHeight=function(){return this.get("height")},f.prototype.clearItemStates=function(e,t){(0,v.isString)(e)&&(e=this.findById(e));var n=this.get("itemController");t=t||e.get("states"),n.clearItemStates(e,t),this.get("stateController").updateStates(e,t,!1)},f.prototype.node=function(e){"function"==typeof e&&this.set("nodeMapper",e)},f.prototype.edge=function(e){"function"==typeof e&&this.set("edgeMapper",e)},f.prototype.combo=function(e){"function"==typeof e&&this.set("comboMapper",e)},f.prototype.findById=function(e){return this.get("itemMap")[e]},f.prototype.find=function(e,n){var r,e=this.get("".concat(e,"s"));return(0,v.each)(e,function(e,t){if(n(e,t))return r=e}),r},f.prototype.findAll=function(e,n){var r=[];return(0,v.each)(this.get("".concat(e,"s")),function(e,t){n(e,t)&&r.push(e)}),r},f.prototype.findAllByState=function(e,t,n){return n?this.findAll(e,function(e){return e.hasState(t)&&n(e)}):this.findAll(e,function(e){return e.hasState(t)})},f.prototype.translate=function(e,t,n,r){var i=this,o=this.get("group"),a=(a=(0,v.clone)(o.getMatrix()))||[1,0,0,0,1,0,0,0,1];n?(r=(0,b.getAnimateCfgWithCallback)({animateCfg:r,callback:function(){return i.emit("viewportchange",{action:"translate",matrix:o.getMatrix()})}}),(0,y.move)(o,{x:o.getCanvasBBox().x+e,y:o.getCanvasBBox().y+t},n,r||{duration:500,easing:"easeCubic"})):(a=m(a,[["t",e,t]]),o.setMatrix(a),this.emit("viewportchange",{action:"translate",matrix:a}),this.autoPaint())},f.prototype.moveTo=function(e,t,n,r){var i=this.get("group");(0,y.move)(i,{x:e,y:t},n,r||{duration:500,easing:"easeCubic"}),this.emit("viewportchange",{action:"move",matrix:i.getMatrix()})},f.prototype.fitView=function(e,t,n,r){e&&this.set("fitViewPadding",e);e=this.get("viewController");t?e.fitViewByRules(t,n,r):e.fitView(n,r),this.autoPaint()},f.prototype.fitCenter=function(e,t){this.get("viewController").fitCenter(e,t),this.autoPaint()},f.prototype.addBehaviors=function(e,t){return this.get("modeController").manipulateBehaviors(e,t,!0),this},f.prototype.removeBehaviors=function(e,t){return this.get("modeController").manipulateBehaviors(e,t,!1),this},f.prototype.updateBehavior=function(e,t,n){return this.get("modeController").updateBehavior(e,t,n),this},f.prototype.zoom=function(e,t,n,r){var i,o,a,s=this,l=this.get("group"),u=(0,v.clone)(l.getMatrix())||[1,0,0,0,1,0,0,0,1],c=this.get("minZoom"),f=this.get("maxZoom"),h=this.getZoom()||1,d=h*e,p=!1;return c&&d<c?(e=c/h,p=!0):f&&f<d&&(e=f/h,p=!0),u=m(u,t?[["t",-t.x,-t.y],["s",e,e],["t",t.x,t.y]]:[["s",e,e]]),n?(i=(0,v.clone)(l.getMatrix()),o=(i=i||[1,0,0,0,1,0,0,0,1])[0],a=o*e,c=(0,b.getAnimateCfgWithCallback)({animateCfg:r,callback:function(){return s.emit("viewportchange",{action:"zoom",matrix:l.getMatrix()})}}),l.animate(function(e){return{matrix:i=1===e?u:(e=(0,y.lerp)(o,a,e)/i[0],m(i,t?[["t",-t.x,-t.y],["s",e,e],["t",t.x,t.y]]:[["s",e,e]]))}},c)):(l.setMatrix(u),this.emit("viewportchange",{action:"zoom",matrix:u}),this.autoPaint()),!p},f.prototype.zoomTo=function(e,t,n,r){e/=this.getZoom();return this.zoom(e,t,n,r)},f.prototype.focusItem=function(e,t,n){var r=this.get("viewController"),i=!1,t=(t?i=!0:void 0===t&&(i=this.get("animate")),{});n?t=n:void 0===n&&(t=this.get("animateCfg")),r.focus(e,i,t),this.autoPaint()},f.prototype.focusItems=function(e,t,n,r){this.get("viewController").focusItems(e,t,n,r)},f.prototype.autoPaint=function(){this.get("autoPaint")&&this.paint()},f.prototype.paint=function(){this.emit("beforepaint"),this.get("canvas").draw(),this.emit("afterpaint")},f.prototype.getPointByClient=function(e,t){return this.get("viewController").getPointByClient(e,t)},f.prototype.getClientByPoint=function(e,t){return this.get("viewController").getClientByPoint(e,t)},f.prototype.getPointByCanvas=function(e,t){return this.get("viewController").getPointByCanvas(e,t)},f.prototype.getCanvasByPoint=function(e,t){return this.get("viewController").getCanvasByPoint(e,t)},f.prototype.getGraphCenterPoint=function(){var e=this.get("group").getCanvasBBox();return{x:(e.minX+e.maxX)/2,y:(e.minY+e.maxY)/2}},f.prototype.getViewPortCenterPoint=function(){return this.getPointByCanvas(this.get("width")/2,this.get("height")/2)},f.prototype.showItem=function(e,t){void 0===t&&(t=!0);e=this.get("itemController").changeItemVisibility(e,!0);if(t&&this.get("enabledStack")){var n=e.getID(),r={},i={};switch(e.getType()){case"node":r.nodes=[{id:n,visible:!1}],i.nodes=[{id:n,visible:!0}];break;case"edge":r.nodes=[{id:n,visible:!1}],i.edges=[{id:n,visible:!0}];break;case"combo":r.nodes=[{id:n,visible:!1}],i.combos=[{id:n,visible:!0}]}this.pushStack("visible",{before:r,after:i})}},f.prototype.hideItem=function(e,t){void 0===t&&(t=!0);e=this.get("itemController").changeItemVisibility(e,!1);if(t&&this.get("enabledStack")){var n=e.getID(),r={},i={};switch(e.getType()){case"node":i.nodes=[{id:n,visible:!(r.nodes=[{id:n,visible:!0}])}];break;case"edge":i.edges=[{id:n,visible:!(r.nodes=[{id:n,visible:!0}])}];break;case"combo":i.combos=[{id:n,visible:!(r.nodes=[{id:n,visible:!0}])}]}this.pushStack("visible",{before:r,after:i})}},f.prototype.refreshItem=function(e){this.get("itemController").refreshItem(e)},f.prototype.setAutoPaint=function(e){this.set("autoPaint",e),this.get("canvas").set("autoDraw",e)},f.prototype.remove=function(e,t){this.removeItem(e,t=void 0===t?!0:t)},f.prototype.removeItem=function(e,t){void 0===t&&(t=!0);var n=e;if(!(n=(0,v.isString)(e)?this.findById(e):n)&&(0,v.isString)(e))console.warn("The item ".concat(e," to be removed does not exist!"));else if(n){e="";if(n.getType&&(e=n.getType()),t&&this.get("enabledStack")){var r=(0,h.__assign)((0,h.__assign)({},n.getModel()),{itemType:e}),i={};switch(e){case"node":i.nodes=[r],i.edges=[];for(var o=n.getEdges(),a=o.length-1;0<=a;a--)i.edges.push((0,h.__assign)((0,h.__assign)({},o[a].getModel()),{itemType:"edge"}));break;case"edge":i.edges=[r];break;case"combo":i.combos=[r]}this.pushStack("delete",{before:i,after:{}})}"node"===e&&n.getModel().comboId&&this.updateComboTree(n,void 0,!1),this.get("itemController").removeItem(n),"combo"===e&&(t=(0,b.reconstructTree)(this.get("comboTrees")),this.set("comboTrees",t))}},f.prototype.innerAddItem=function(n,r,i){var o,e,a,s,t,l,u,c,f;return!!(0,d.singleDataValidation)(n,r)&&(r.id&&this.findById(r.id)?void console.warn("This item exists already. Be sure the id %c".concat(r.id,"%c is unique."),"font-size: 20px; color: red;",""):(e=this.get("comboTrees")||[],"combo"===n?(a=this.get("itemMap"),s=!1,e.forEach(function(e){s||(0,b.traverseTreeUp)(e,function(e){r.parentId===e.id&&(s=!0,t=(0,h.__assign)({id:r.id,depth:e.depth+2},r),e.children?e.children.push(t):e.children=[t],r.depth=t.depth,o=i.addItem(n,r));var t=a[e.id];return s&&t&&t.getType&&"combo"===t.getType()&&i.updateCombo(t,e.children),!0})}),s||(t=(0,h.__assign)({id:r.id,depth:0},r),r.depth=t.depth,e.push(t),o=i.addItem(n,r)),this.set("comboTrees",e),r.collapsed&&(this.collapseCombo(o,!1),this.updateCombo(o))):"node"===n&&(0,v.isString)(r.comboId)&&e?((l=this.findById(r.comboId))&&l.getType&&"combo"!==l.getType()&&console.warn("'".concat(r.comboId,"' is not a id of a combo in the graph, the node will be added without combo.")),o=i.addItem(n,r),u=this.get("itemMap"),f=c=!1,e.forEach(function(e){f||c||(0,b.traverseTreeUp)(e,function(e){var t;return e.id===r.id?!(f=!0):(r.comboId!==e.id||f||(c=!0,(t=(0,v.clone)(r)).itemType="node",e.children?e.children.push(t):e.children=[t],t.depth=e.depth+1),c&&u[e.id].getType&&"combo"===u[e.id].getType()&&i.updateCombo(u[e.id],e.children),!0)})})):o=i.addItem(n,r),("node"===n&&r.comboId||"combo"===n&&r.parentId)&&(l=this.findById(r.comboId||r.parentId))&&l.getType&&"combo"===l.getType()&&l.addChild(o),o))},f.prototype.addItem=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=!0);var i=this.get("comboSorted"),i=(this.set("comboSorted",i&&!r),this.get("itemController")),r=this.innerAddItem(e,t,i);if(!1!==r&&!0!==r){t=this.get("combos");if(t&&0<t.length&&this.sortCombos(),this.autoPaint(),n&&this.get("enabledStack")){var o=(0,h.__assign)((0,h.__assign)({},r.getModel()),{itemType:e}),a={};switch(e){case"node":a.nodes=[o];break;case"edge":a.edges=[o];break;case"combo":a.combos=[o]}this.pushStack("add",{before:{},after:a})}}return r},f.prototype.addItems=function(e,t,n){void 0===e&&(e=[]),void 0===t&&(t=!0),void 0===n&&(n=!0);var r=this.get("comboSorted");this.set("comboSorted",r&&!n);for(var i,o=this.get("itemController"),a=[],s=0;s<e.length;s++)"edge"!==(i=e[s]).type&&"vedge"!==i.type?a.push(this.innerAddItem(i.type,i.model,o)):a.push(void 0);for(s=0;s<e.length;s++)"edge"!==(i=e[s]).type&&"vedge"!==i.type||(a[s]=this.innerAddItem(i.type,i.model,o));if(n&&(r=this.get("combos"))&&0<r.length&&this.sortCombos(),this.autoPaint(),t&&this.get("enabledStack")){for(var l={nodes:[],edges:[],combos:[]},s=0;s<e.length;s++){var u=e[s].type,c=a[s];if(c&&!0!==c){var f=(0,h.__assign)((0,h.__assign)({},c.getModel()),{itemType:u});switch(u){case"node":l.nodes.push(f);break;case"edge":l.edges.push(f);break;case"combo":l.combos.push(f)}}}this.pushStack("addItems",{before:{},after:l})}return a},f.prototype.add=function(e,t,n,r){return this.addItem(e,t,n=void 0===n?!0:n,r=void 0===r?!0:r)},f.prototype.updateItem=function(e,t,n){var r=this;void 0===n&&(n=!0);var i,o=this.get("itemController"),a=(0,v.isString)(e)?this.findById(e):e,e=n&&this.get("enabledStack"),n=(e&&(i=(0,v.clone)(a.getModel())),""),s=(a.getType&&(n=a.getType()),(0,h.__spreadArray)([],a.getStates(),!0));if("combo"===n&&(0,v.each)(s,function(e){return r.setItemState(a,e,!1)}),o.updateItem(a,t),"combo"===n&&(0,v.each)(s,function(e){return r.setItemState(a,e,!0)}),e){var l={nodes:[],edges:[],combos:[]},u={nodes:[],edges:[],combos:[]},c=(0,h.__assign)({id:i.id},t);switch(n){case"node":l.nodes.push(i),u.nodes.push(c);break;case"edge":l.edges.push(i),u.edges.push(c);break;case"combo":l.combos.push(i),u.combos.push(c)}this.pushStack("update",{before:l,after:u})}},f.prototype.update=function(e,t,n){this.updateItem(e,t,n=void 0===n?!0:n)},f.prototype.setItemState=function(e,t,n){(0,v.isString)(e)&&(e=this.findById(e)),this.get("itemController").setItemState(e,t,n),this.get("stateController").updateState(e,t,n)},f.prototype.priorityState=function(e,t){this.get("itemController").priorityState(e,t)},f.prototype.data=function(e){(0,d.dataValidation)(e),this.set("data",e)},f.prototype.render=function(){var n=this,e=(this.set("comboSorted",!1),this.get("data"));if(this.get("enabledStack")&&this.clearStack(),!e)throw new Error("data must be defined first");var t=e.nodes,t=void 0===t?[]:t,r=e.edges,r=void 0===r?[]:r,i=e.combos,i=void 0===i?[]:i,o=(this.clear(!0),this.emit("beforerender"),n.addItems(t.map(function(e){return{type:"node",model:e}}),!1,!1),0!==(null==i?void 0:i.length)&&(t=(0,b.plainCombosToTrees)(i,t),this.set("comboTrees",t),n.addCombos(i)),n.addItems(r.map(function(e){return{type:"edge",model:e}}),!1,!1),n.get("animate")),t=((n.get("fitView")||n.get("fitCenter"))&&n.set("animate",!1),n.get("layoutController"));if(t){if(t.layout(a),this.destroyed)return}else a();function a(){(n.get("comboTrees")||[]).forEach(function(e){(0,b.traverseTreeUp)(e,function(e){var t=n.findById(e.id);return"combo"===t.getType()&&e.collapsed&&(n.collapseCombo(e.id,!1),n.updateCombo(t)),!0})}),n.get("fitView")?n.fitView():n.get("fitCenter")&&n.fitCenter(),n.autoPaint(),n.emit("afterrender"),(n.get("fitView")||n.get("fitCenter"))&&n.set("animate",o),setTimeout(function(){var e;null!=(e=n.getCombos())&&e.forEach(function(e){e.set("animate",!0)})},0)}this.get("groupByTypes")||(i&&0!==i.length?this.sortCombos():e.nodes&&e.edges&&e.nodes.length<e.edges.length?this.getNodes().forEach(function(e){e.toFront()}):this.getEdges().forEach(function(e){e.toBack()}))},f.prototype.read=function(e){this.data(e),this.render()},f.prototype.diffItems=function(n,r,e){var i,o=this,a=this.get("itemMap");(0,v.each)(e,function(e){var t;(i=a[e.id])?(o.get("animate")&&"node"===n&&(t=(t=i.getContainer().getMatrix())||[1,0,0,0,1,0,0,0,1],i.set("originAttrs",{x:t[6],y:t[7]})),o.updateItem(i,e,!1)):i=o.addItem(n,e,!1),i&&r["".concat(n,"s")].push(i)})},f.prototype.changeData=function(e,t){var n=this,r=(void 0===t&&(t=!0),this),e=e||r.get("data");if((0,d.dataValidation)(e)){this.emit("beforechangedata"),t&&this.get("enabledStack")&&this.pushStack("changedata",{before:r.save(),after:e}),this.set("comboSorted",!1),this.removeHulls(),this.getNodes().map(function(e){return r.clearItemStates(e)}),this.getEdges().map(function(e){return r.clearItemStates(e)});var i=this.get("canvas"),o=i.get("localRefresh"),a=(i.set("localRefresh",!1),r.get("data")||(r.data(e),r.render()),this.get("itemMap")),s={nodes:[],edges:[]},t=e.combos;t?(c=(0,b.plainCombosToTrees)(t,e.nodes),this.set("comboTrees",c)):this.set("comboTrees",[]),this.diffItems("node",s,e.nodes),(0,v.each)(a,function(e,t){a[t].getModel().depth=0,e.getType&&"edge"===e.getType()||(e.getType&&"combo"===e.getType()?(delete a[t],e.destroy()):s.nodes.indexOf(e)<0&&(delete a[t],r.remove(e,!1)))});for(var l=this.getCombos(),u=l.length-1;0<=u;u--)l[u].destroyed&&l.splice(u,1);t&&(r.addCombos(t),this.get("groupByTypes")||this.sortCombos()),this.diffItems("edge",s,e.edges),(0,v.each)(a,function(e,t){(!e.getType||"node"!==e.getType()&&"combo"!==e.getType())&&s.edges.indexOf(e)<0&&(delete a[t],r.remove(e,!1))}),(this.get("comboTrees")||[]).forEach(function(e){(0,b.traverseTreeUp)(e,function(e){return"combo"===n.findById(e.id).getType()&&e.collapsed&&n.collapseCombo(e.id,!1),!0})}),this.set({nodes:s.nodes,edges:s.edges});var c=this.get("layoutController");c&&(c.changeData(function(){setTimeout(function(){var e;null!=(e=r.getCombos())&&e.forEach(function(e){e.set("animate",!0)})},0)}),r.get("animate")&&!c.getLayoutType()?(r.positionsAnimate(),null!=(t=r.getCombos())&&t.forEach(function(e){return e.set("animate",!0)})):r.autoPaint()),setTimeout(function(){i.set("localRefresh",o)},16),this.set("data",e),this.emit("afterchangedata")}return this},f.prototype.addCombos=function(e){var t=this.get("comboTrees");this.get("itemController").addCombos(t,e)},f.prototype.createCombo=function(e,t,n){var o=this,a=(void 0===n&&(n=!0),this.get("itemController"));this.set("comboSorted",!1);var r,i="";if(e){if((0,v.isString)(e))r={id:i=e};else{if(!(i=e.id))return void console.warn("Create combo failed. Please assign a unique string id for the adding combo.");r=e}var s=n&&this.get("enabledStack"),l={nodes:[],combos:[]},e=(s&&t.forEach(function(e){var t=o.findById(e),n=t.getType();"node"!==n&&"combo"!==n||(t=t.getModel(),l["".concat(n,"s")].push({id:e,parentId:"node"===n?t.comboId:t.parentId}))}),this.get("comboTrees")),u=new Set(t),c=new Map,f=(e&&(e.forEach(function(e){(0,b.traverseTreeUp)(e,function(e,t,n){var r,i;return u.has(e.id)&&(t&&(r=o.findById(t.id),i=o.findById(e.id),t.children.splice(n,1),r.removeChild(i),a.updateCombo(r,t.children)),"combo"===e.itemType)&&c.set(e.id,e),!0})}),e=e.filter(function(e){return!u.has(e.id)}),this.set("comboTrees",e)),{nodes:[],combos:[]}),h=t.map(function(e){var t=o.findById(e),n=t.getModel(),r="",e=(t.getType&&(r=t.getType()),c.get(e)||{id:t.getID(),itemType:r});return"combo"===r?(e.parentId=i,n.parentId=i):"node"===r&&(e.comboId=i,n.comboId=i),s&&f["".concat(r,"s")].push({id:n.id,parentId:i}),e}),d=(r.children=h,this.addItem("combo",r,!1),this.set("comboSorted",!1),e&&(e.forEach(function(e){(0,b.traverseTree)(e,function(e){return e.id!==i||(e.itemType="combo",e.children=h,!1)})}),this.sortCombos()),s&&(f.combos.push(r),this.pushStack("createCombo",{before:l,after:f})),this.findById(i));!d.getModel().parentId&&d.getChildren().combos.length&&this.updateComboTree(d,void 0,!1),setTimeout(function(){d.set("animate",!0)},0)}},f.prototype.uncombo=function(e,t){var r,n,i,o,a,s,l,u,c,f,h,d=this,p=(void 0===t&&(t=!0),e);!(p=(0,v.isString)(e)?this.findById(e):p)||p.getType&&"combo"!==p.getType()?console.warn("The item is not a combo!"):(e=p.getModel(),r=p.getModel().parentId,n=(n=this.get("comboTrees"))||[],o=this.get("itemMap"),a=p.get("id"),s=[],l=this.get("combos"),u=this.findById(r),c={},(t=t&&this.get("enabledStack"))&&((c=(0,v.clone)(e)).children=[]),n.forEach(function(e){i||(0,b.traverseTreeUp)(e,function(e){var t,n;return e.id===a&&(i=e,p.getEdges().map(function(e){return e.getID()}).forEach(function(e){d.removeItem(e,!1)}),t=l.indexOf(p),l.splice(t,1),delete o[a],n=(0,v.clone)(p.getModel()),p.destroy(),d.emit("afterremoveitem",{item:n,type:"combo"})),!r||!i||e.id!==r||(u.removeCombo(p),-1!==(t=(s=e.children).indexOf(i))&&s.splice(t,1),null!=(n=i.children)&&n.forEach(function(e){var t=d.findById(e.id),n=t.getModel();t.getType&&"combo"===t.getType()?(e.parentId=r,delete e.comboId,n.parentId=r,delete n.comboId):t.getType&&"node"===t.getType()&&(e.comboId=r,n.comboId=r),u.addChild(t),s.push(e)}),d.updateCombo(u),!1)})}),!r&&i&&(e=n.indexOf(i),n.splice(e,1),null!=(e=i.children))&&e.forEach(function(e){e.parentId=void 0;var t=d.findById(e.id).getModel();delete t.parentId,delete t.comboId,"node"!==e.itemType&&n.push(e)}),t&&(f={nodes:[],combos:[]},h={nodes:[],combos:[]},null!=(e=i.children)&&e.forEach(function(e){var t=d.findById(e.id).getType();"node"!==t&&"combo"!==t||(f["".concat(t,"s")].push({id:e.id,parentId:a}),h["".concat(t,"s")].push({id:e.id,parentId:r}))}),f.combos.push(c),this.pushStack("uncombo",{before:f,after:h})))},f.prototype.updateCombos=function(r){var i=this,e=(void 0===r&&(r=!1),this.get("comboTrees")),o=this.get("itemController"),a=this.get("itemMap");(e||[]).forEach(function(e){(0,b.traverseTreeUp)(e,function(e){var t,n;return e&&"combo"===(null==(n=null==(t=a[e.id])?void 0:t.getType)?void 0:n.call(t))&&(n=(0,h.__spreadArray)([],t.getStates(),!0),(0,v.each)(n,function(e){return i.setItemState(t,e,!1)}),o.updateCombo(t,e.children,r),(0,v.each)(n,function(e){return i.setItemState(t,e,!0)})),!0})}),this.sortCombos()},f.prototype.updateCombo=function(e){var r,i,o,a=this,t=e;!(t=(0,v.isString)(e)?this.findById(e):t)||t.getType&&"combo"!==t.getType()?console.warn("The item to be updated is not a combo!"):(r=t.get("id"),e=this.get("comboTrees"),i=this.get("itemController"),o=this.get("itemMap"),(e||[]).forEach(function(e){(0,b.traverseTreeUp)(e,function(e){var t,n;return e&&(t=o[e.id],r===e.id)&&t&&t.getType&&"combo"===t.getType()&&(n=(0,h.__spreadArray)([],t.getStates(),!0),(0,v.each)(n,function(e){t.getStateStyle(e)&&a.setItemState(t,e,!1)}),i.updateCombo(t,e.children),(0,v.each)(n,function(e){t.getStateStyle(e)&&a.setItemState(t,e,!0)}),r=r&&e.parentId),!0})}))},f.prototype.updateComboTree=function(e,t,n){var r;void 0===n&&(n=!0),this.set("comboSorted",!1);var i,e=(r=(0,v.isString)(e)?this.findById(e):e).getModel(),o=e.comboId||e.parentId,a="";if(r.getType&&(a=r.getType()),t&&"combo"===a){var s,l=!0;if((this.get("comboTrees")||[]).forEach(function(e){s||(0,b.traverseTree)(e,function(e){if(!s)return e.id===r.getID()&&(s=e),!0})}),(0,b.traverseTree)(s,function(e){return e.id!==t||(l=!1)}),!l)return void console.warn("Failed to update the combo tree! The parentId points to a descendant of the combo!")}n&&this.get("enabledStack")&&(n={},u={},"combo"===a?(n.combos=[{id:e.id,parentId:e.parentId}],u.combos=[{id:e.id,parentId:t}]):"node"===a&&(n.nodes=[{id:e.id,parentId:e.comboId}],u.nodes=[{id:e.id,parentId:t}]),this.pushStack("updateComboTree",{before:n,after:u})),(e.parentId||e.comboId)&&(n=this.findById(e.parentId||e.comboId))&&n.removeChild(r),"combo"===a?e.parentId=t:"node"===a&&(e.comboId=t),t&&(i=this.findById(t))&&i.addChild(r),o&&(i=this.findById(o))&&i.removeChild(r);var u=(0,b.reconstructTree)(this.get("comboTrees"),e.id,t);this.set("comboTrees",u),this.updateCombos()},f.prototype.save=function(){var t=[],n=[],r=[];return(0,v.each)(this.get("nodes"),function(e){t.push(e.getModel())}),(0,v.each)(this.get("edges"),function(e){n.push(e.getModel())}),(0,v.each)(this.get("combos"),function(e){r.push(e.getModel())}),{nodes:t,edges:n,combos:r}},f.prototype.changeSize=function(e,t){return this.get("viewController").changeSize(e,t),this},f.prototype.refresh=function(){var e,t,n;this.emit("beforegraphrefresh"),this.get("animate")?this.positionsAnimate():(e=this.get("nodes"),t=this.get("edges"),n=this.get("edges"),(0,v.each)(e,function(e){e.refresh()}),(0,v.each)(t,function(e){e.refresh()}),(0,v.each)(n,function(e){e.refresh()})),this.emit("aftergraphrefresh"),this.autoPaint()},f.prototype.getNodes=function(){return this.get("nodes")},f.prototype.getEdges=function(){return this.get("edges")},f.prototype.getCombos=function(){return this.get("combos")},f.prototype.getComboChildren=function(e){if((e=(0,v.isString)(e)?this.findById(e):e)&&(!e.getType||"combo"===e.getType()))return e.getChildren();console.warn("The combo does not exist!")},f.prototype.positionsAnimate=function(e){var a=this,t=(a.emit("beforeanimate"),a.get("animateCfg")),s=t.onFrame,n=e?a.getNodes().concat(a.getCombos()):a.getNodes(),r=n.map(function(e){e=e.getModel();return{id:e.id,x:e.x,y:e.y}}),i=(a.stopAnimate(),a.get("canvas"));a.animating=!0,setTimeout(function(){i.animate(function(o){(0,v.each)(r,function(e){var t,n,r,i=a.findById(e.id);i&&!i.destroyed&&(t=i.get("originAttrs"),n=i.get("model"),r=i.getContainer().getMatrix(),null==t&&(r&&(t={x:r[6],y:r[7]}),i.set("originAttrs",t||0)),s?(r=s(i,o,e,t||{x:0,y:0}),i.set("model",Object.assign(n,r))):t?(n.x=t.x+(e.x-t.x)*o,n.y=t.y+(e.y-t.y)*o):(n.x=e.x,n.y=e.y))}),a.refreshPositions(e)},{duration:t.duration,easing:t.easing,callback:function(){(0,v.each)(n,function(e){e.set("originAttrs",null)}),t.callback&&t.callback(),a.emit("afteranimate"),a.animating=!1}})},0)},f.prototype.refreshPositions=function(e){this.emit("beforegraphrefreshposition");function t(e){(0,v.each)(e,function(e){n=e.getModel();var t=e.get("originAttrs");t&&n.x===t.x&&n.y===t.y||(t=e.updatePosition({x:n.x,y:n.y}),s[n.id]=t,n.comboId&&(s[n.comboId]=s[n.comboId]||t),n.parentId&&(s[n.parentId]=s[n.parentId]||t))})}var n,r=this.get("nodes"),i=this.get("edges"),o=this.get("vedges"),a=this.get("combos"),s={};t(a),t(r),a&&0!==a.length&&(e&&t(a),this.updateCombos()),(0,v.each)(i,function(e){var t=e.getSource().getModel(),n=e.getTarget();!(0,v.isPlainObject)(n)&&(n=n.getModel(),s[t.id]||s[n.id]||e.getModel().isComboEdge)&&e.refresh()}),(0,v.each)(o,function(e){e.refresh()}),this.emit("aftergraphrefreshposition"),this.autoPaint()},f.prototype.stopAnimate=function(){var e=this.get("canvas").cfg.timeline;e&&e.stopAllAnimations()},f.prototype.isAnimating=function(){return this.animating},f.prototype.getZoom=function(){var e=this.get("group").getMatrix();return e?e[0]:1},f.prototype.getCurrentMode=function(){return this.get("modeController").getMode()},f.prototype.setMode=function(e){return this.get("modeController").setMode(e),this},f.prototype.clear=function(e){var t;return void 0===e&&(e=!1),null!=(t=this.get("canvas"))&&t.clear(),this.initGroups(),this.set({itemMap:{},nodes:[],edges:[],vedges:[],groups:[],combos:[],comboTrees:[]}),e||this.emit("afterrender"),this},f.prototype.updateLayout=function(e,o,t,n){var a,s=this,r=(void 0===e&&(e={}),void 0===n&&(n=!0),this.get("layoutController")),t=((0,v.isString)(e)&&(e={type:e}),o&&(a=(a=t)||("begin"===o?{x:0,y:0}:{x:this.getWidth()/2,y:this.getHeight()/2}),a=this.getPointByCanvas(a.x,a.y),(t=["force","gForce","fruchterman","force2"]).includes(e.type)||!e.type&&t.includes(null==r?void 0:r.layoutType)?e.center=[a.x,a.y]:this.once("afterlayout",function(e){var t=s.getGroup().getMatrix()||[1,0,0,0,1,0,0,0,1],t=(a.x=a.x*t[0]+t[6],a.y=a.y*t[0]+t[7],s.getGroup().getCanvasBBox()),n=t.minX,r=t.maxX,i=t.minY,r={x:(n+r)/2,y:(i+t.maxY)/2};"begin"===o&&(r.x=n,r.y=i),s.translate(a.x-r.x,a.y-r.y)})),(0,h.__assign)({},this.get("layout"))),i={};Object.assign(i,t,e),e.pipes&&!e.type?delete i.type:!e.pipes&&i.type&&delete i.pipes,this.set("layout",i),r&&(r.isLayoutTypeSame(i)&&i.gpuEnabled===t.gpuEnabled?r.updateLayoutCfg(i):r.changeLayout(i),n)&&this.get("enabledStack")&&this.pushStack("layout",{before:t,after:i})},f.prototype.destroyLayout=function(){var e=this.get("layoutController");null!=e&&e.destroyLayout()},f.prototype.layout=function(){var e=this.get("layoutController"),t=this.get("layout");t&&e&&(!t.workerEnabled&&null!=(t=e.layoutMethods)&&t.length?e.relayout(!0):e.layout())},f.prototype.collapseCombo=function(e,t){var c,f,n,h,d=this;void 0===t&&(t=!0),this.destroyed||((e=(0,v.isString)(e)?this.findById(e):e)?(this.emit("beforecollapseexpandcombo",{action:"expand",item:e}),c=e.getModel(),this.get("itemController").collapseCombo(e,t),c.collapsed=!0,t=this.getEdges().concat(this.get("vedges")),n=!(f=[]),(this.get("comboTrees")||[]).forEach(function(e){n||(0,b.traverseTree)(e,function(e){return!(n&&e.depth<=c.depth||((n=c.id===e.id||n)&&(e=d.findById(e.id))&&e.getType&&"combo"===e.getType()&&(f=(f=f.concat(e.getNodes())).concat(e.getCombos())),0))})}),h={},t.forEach(function(e){var t=e.getModel(),n=t.isVEdge,t=t.size,t=void 0===t?1:t;if(!e.isVisible()||n){var r,i=e.getSource(),o=e.getTarget(),a=null;if(i.getModel().id===c.id||f.includes(i)&&!f.includes(o)?(a=o,r=!1):(o.getModel().id===c.id||!f.includes(i)&&f.includes(o))&&(a=i,r=!0),a)if(n)d.removeItem(e,!1);else{for(var s=a.getModel();!a.isVisible();){var l=s.parentId,u=s.comboId,l=l||u;if(!(a=d.findById(l))||!l)return;s=a.getModel()}o=s.id,i=r?{source:o,target:c.id,size:t,isVEdge:!0}:{source:c.id,target:o,size:t,isVEdge:!0},n="".concat(i.source,"-").concat(i.target);h[n]?h[n].size+=t:h[n]=i}}}),this.addItems(Object.values(h).map(function(e){return{type:"vedge",model:e}}),!1),this.emit("aftercollapseexpandcombo",{action:"collapse",item:e})):console.warn("The combo to be collapsed does not exist!"))},f.prototype.expandCombo=function(e,t){var p,y,n,m,g=this;void 0===t&&(t=!0),!(e=(0,v.isString)(e)?this.findById(e):e)||e.getType&&"combo"!==e.getType()?console.warn("The combo to be collapsed does not exist!"):(this.emit("beforecollapseexpandcombo",{action:"expand",item:e}),p=e.getModel(),this.get("itemController").expandCombo(e,t),p.collapsed=!1,t=this.getEdges().concat(this.get("vedges")),n=!(y=[]),(this.get("comboTrees")||[]).forEach(function(e){n||(0,b.traverseTree)(e,function(e){return!(n&&e.depth<=p.depth||((n=p.id===e.id||n)&&(e=g.findById(e.id))&&e.getType&&"combo"===e.getType()&&(y=(y=y.concat(e.getNodes())).concat(e.getCombos())),0))})}),m={},t.forEach(function(e){if(!e.isVisible()||e.getModel().isVEdge){var t,n=e.getSource(),r=e.getTarget(),i=n.get("id"),o=r.get("id"),a=null;if(i===p.id||y.includes(n)&&!y.includes(r)?(a=r,t=!1):o===p.id||!y.includes(n)&&y.includes(r)?(a=n,t=!0):y.includes(n)&&y.includes(r)&&n.isVisible()&&r.isVisible()&&e.show(),a){i=e.getModel(),o=i.isVEdge,i=i.size,i=void 0===i?1:i;if(o)g.removeItem(e,!1);else{for(var s=a.getModel();!a.isVisible();){var l=s.parentId,u=s.comboId,l=l||u;if(!(a=g.findById(l))||!l)return;s=a.getModel()}for(var o=s.id,c=t?r:n,f=c.getModel();!c.isVisible();){var h=f.parentId,d=f.comboId,h=h||d;if(!(c=g.findById(h))||!h)return;if(f.comboId===p.id||f.parentId===p.id)break;f=c.getModel()}e=f.id;o&&(n="".concat((r=t?{source:o,target:e,isVEdge:!0,size:i}:{source:e,target:o,isVEdge:!0,size:i}).source,"-").concat(r.target),m[n]?m[n].size+=i:m[n]=r)}}}}),this.addItems(Object.values(m).map(function(e){return{type:"vedge",model:e}}),!1),this.emit("aftercollapseexpandcombo",{action:"expand",item:e}))},f.prototype.collapseExpandCombo=function(e,t){if(void 0===t&&(t=!0),(e=(0,v.isString)(e)?this.findById(e):e)&&(!e.getType||"combo"===e.getType())){for(var n=e.getModel(),r=this.findById(n.parentId);r;){var i=r.getModel();if(i.collapsed)return void console.warn("Fail to expand the combo since it's ancestor combo is collapsed.");r=this.findById(i.parentId)}n.collapsed?this.expandCombo(e,t):this.collapseCombo(e,t),this.updateCombo(e)}},f.prototype.getNeighbors=function(e,t){var n=e;return(n=(0,v.isString)(e)?this.findById(e):n).getNeighbors(t)},f.prototype.getNodeDegree=function(e,t,n){void 0===t&&(t=void 0),void 0===n&&(n=!1);var r=e,e=((0,v.isString)(e)&&(r=this.findById(e)),this.get("degrees")),i=(e&&!n||(e=(0,a.getDegree)(this.save()),this.set("degrees",e)),e[r.getID()]),o=0;if(!i)return 0;switch(t){case"in":o=i.inDegree;break;case"out":o=i.outDegree;break;case"all":o=i;break;default:o=i.degree}return o},f.prototype.getUndoStack=function(){return this.undoStack},f.prototype.getRedoStack=function(){return this.redoStack},f.prototype.getStackData=function(){return this.get("enabledStack")?{undoStack:this.undoStack.toArray(),redoStack:this.redoStack.toArray()}:null},f.prototype.clearStack=function(){this.get("enabledStack")&&(this.undoStack.clear(),this.redoStack.clear(),this.emit("stackchange",{undoStack:this.undoStack,redoStack:this.redoStack}))},f.prototype.pushStack=function(e,t,n){void 0===e&&(e="update"),void 0===n&&(n="undo"),this.get("enabledStack")?(t=t?(0,v.clone)(t):{before:{},after:(0,v.clone)(this.save())},("redo"===n?this.redoStack:this.undoStack).push({action:e,data:t}),this.emit("stackchange",{action:e,stackType:n,undoStack:this.undoStack,redoStack:this.redoStack})):console.warn("请先启用 undo & redo 功能,在实例化 Graph 时候配置 enabledStack: true !")},f.prototype.getAdjMatrix=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=this.get("directed"));var n=this.get("adjMatrix");return n&&e||(n=(0,a.getAdjMatrix)(this.save(),t),this.set("adjMatrix",n)),n},f.prototype.getShortestPathMatrix=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=this.get("directed"));var n=this.get("adjMatrix"),r=this.get("shortestPathMatrix");return n&&e||(n=(0,a.getAdjMatrix)(this.save(),t),this.set("adjMatrix",n)),r&&e||(r=(0,a.floydWarshall)(this.save(),t),this.set("shortestPathMatrix",r)),r},f.prototype.on=function(e,t,n){return c.prototype.on.call(this,e,t,n)},f.prototype.destroy=function(){var e;this.clear(),this.clearStack(),null!=(e=this.get("itemController"))&&e.destroy(),null!=(e=this.get("modeController"))&&e.destroy(),null!=(e=this.get("viewController"))&&e.destroy(),null!=(e=this.get("stateController"))&&e.destroy(),null!=(e=this.get("canvas"))&&e.destroy(),this.cfg=null,this.destroyed=!0,this.redoStack=null,this.undoStack=null},f.prototype.createHull=function(e){var t,n;if(e.members&&!(e.members.length<1))return t=this.get("hullGroup"),(n=this.get("hullMap"))||this.set("hullMap",n={}),t&&!t.get("destroyed")||((t=this.get("group").addGroup({id:"hullGroup"})).toBack(),this.set("hullGroup",t)),n[e.id]?(console.warn("Existed hull id."),n[e.id]):(t=t.addGroup({id:"".concat(e.id,"-container")}),n[(n=new l.default(this,(0,h.__assign)((0,h.__assign)({},e),{group:t}))).id]=n);console.warn("Create hull failed! The members is empty.")},f.prototype.getHulls=function(){return this.get("hullMap")},f.prototype.getHullById=function(e){return this.get("hullMap")[e]},f.prototype.removeHull=function(e){var t,e=(0,v.isString)(e)?this.getHullById(e):e;null!=(t=this.get("hullMap"))&&delete t[e.id],e.destroy()},f.prototype.removeHulls=function(){var t=this.getHulls();t&&Object.keys(t).length&&(Object.keys(t).forEach(function(e){t[e].destroy()}),this.set("hullMap",{}))},f);function f(e){var o=c.call(this)||this;return o.sortCombos=(0,v.debounce)(function(){var r,i,e=o.get("comboSorted");!o||o.destroyed||e||(o.set("comboSorted",!0),r=[],i={},(o.get("comboTrees")||[]).forEach(function(e){(0,b.traverseTree)(e,function(e){return r[e.depth]?r[e.depth].push(e.id):r[e.depth]=[e.id],i[e.id]=e.depth,!0})}),(o.getEdges().concat(o.get("vedges"))||[]).forEach(function(e){var e=e.getModel(),t=i[e.source]||0,n=i[e.target]||0,t=Math.max(t,n);r[t]?r[t].push(e.id):r[t]=[e.id]}),r.forEach(function(e){if(e&&e.length)for(var t=e.length-1;0<=t;t--){var n=o.findById(e[t]);n&&n.toFront()}}))},500,!1),o.cfg=(0,v.deepMix)(o.getDefaultCfg(),e),o.init(),o.animating=!1,o.destroyed=!1,o.cfg.enabledStack&&(o.undoStack=new a.Stack(o.cfg.maxStep),o.redoStack=new a.Stack(o.cfg.maxStep)),o}t.default=n},48122:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var r={registerNode:!0,registerCombo:!0,registerEdge:!0,registerBehavior:!0,BaseGlobal:!0,AbstractGraph:!0,Shape:!0,Arrow:!0,Marker:!0,Util:!0,AbstractLayout:!0,AbstractEvent:!0,Node:!0,Edge:!0,Hull:!0,Combo:!0},i=(Object.defineProperty(t,"AbstractEvent",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"AbstractGraph",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"AbstractLayout",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Arrow",{enumerable:!0,get:function(){return s.Arrow}}),t.BaseGlobal=void 0,Object.defineProperty(t,"Combo",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"Edge",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Hull",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return s.Marker}}),Object.defineProperty(t,"Node",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Shape",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Util",{enumerable:!0,get:function(){return u.default}}),t.registerNode=t.registerEdge=t.registerCombo=t.registerBehavior=t.default=void 0,v(n(2235))),o=v(n(67239)),s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=g(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(92100)),l=v(n(36605)),u=v(n(21712)),c=v(n(66863)),f=v(n(93894)),h=v(n(14319)),d=v(n(4779)),p=v(n(65674)),y=v(n(43059)),m=n(2782);function g(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(g=function(e){return e?n:t})(e))}function v(e){return e&&e.__esModule?e:{default:e}}Object.keys(m).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});n=s.default.registerNode,t.registerNode=n,n=s.default.registerEdge,t.registerEdge=n,n=s.default.registerCombo,t.registerCombo=n,n=i.default.registerBehavior,t.registerBehavior=n,n=l.default,t.BaseGlobal=n,l={version:l.default.version,AbstractGraph:o.default,BaseGlobal:n,Util:u.default,Shape:s.default,Node:h.default,Edge:d.default,Combo:y.default,Hull:p.default,registerNode:s.default.registerNode,registerEdge:s.default.registerEdge,registerCombo:s.default.registerCombo,registerBehavior:i.default.registerBehavior,Arrow:s.Arrow,Marker:s.Marker,AbstractLayout:c.default,AbstractEvent:f.default};t.default=l},24825:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.G6GraphEvent=void 0;var r,i=n(97582),n=(r=n(6992).Event,(0,i.__extends)(o,r),o);function o(e,t){e=r.call(this,e,t)||this;return e.item=t.item,e.canvasX=t.canvasX,e.canvasY=t.canvasY,e.wheelDelta=t.wheelDelta,e.detail=t.detail,e}t.G6GraphEvent=n},69858:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},80468:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(69858),i=(Object.keys(r).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}),n(24825)),o=(Object.keys(i).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})}),n(8115)),a=(Object.keys(o).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),n(45341));Object.keys(a).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})})},8115:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},45341:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},43059:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(97582),r=o(n(14319)),s=o(n(36605)),i=n(61592),l=n(31834);function o(e){return e&&e.__esModule?e:{default:e}}u=r.default,(0,a.__extends)(c,u),c.prototype.getDefaultCfg=function(){return{type:"combo",nodes:[],edges:[],combos:[]}},c.prototype.getShapeCfg=function(e){var t,n,r,i=this.get("styles"),o=this.get("bbox");return i&&o?(n=(0,l.isNumber)((t=e).size)?[e.size,e.size]:e.size,r=(0,l.isNumber)(e.fixSize)?[e.fixSize,e.fixSize]:e.fixSize,n=n||r||s.default.defaultCombo.size,r={r:(Math.max(o.width,o.height)||Math.max(n[0],n[1]))/2,width:o.width||n[0],height:o.height||n[1]},t.style=(0,a.__assign)((0,a.__assign)((0,a.__assign)({},i),e.style),r),o=e.padding||s.default.defaultCombo.padding,(0,l.isNumber)(o)?(r.r+=o,r.width+=2*o,r.height+=2*o):(r.r=r.r+Math.max.apply(Math,o),r.width+=o[1]+o[3]||2*o[1],r.height+=o[0]+o[2]||2*o[0]),this.set("sizeCache",r),t):e},c.prototype.calculateCanvasBBox=function(){var e,t,n;if(!this.destroyed)return e=this.get("keyShape"),n=this.get("group"),(e=(0,i.getBBox)(e,n)).centerX=(e.minX+e.maxX)/2,e.centerY=(e.minY+e.maxY)/2,t=(n=this.get("bboxCache")||{}).x,n=n.x,e.width=e.maxX-e.minX,e.height=e.maxY-e.minY,e.centerX=(e.minX+e.maxX)/2,e.centerY=(e.minY+e.maxY)/2,e.x=e.minX,e.y=e.minY,e.x===t&&e.y===n||this.set("anchorPointsCache",null),e},c.prototype.getChildren=function(){return{nodes:this.getNodes(),combos:this.getCombos()}},c.prototype.getNodes=function(){return this.get("nodes")},c.prototype.getCombos=function(){return this.get("combos")},c.prototype.addChild=function(e){switch(e.getType()){case"node":this.addNode(e);break;case"combo":this.addCombo(e);break;default:return console.warn("Only node or combo items are allowed to be added into a combo"),!1}return!0},c.prototype.addCombo=function(e){return this.get("combos").push(e),!0},c.prototype.addNode=function(e){return this.get("nodes").push(e),!0},c.prototype.removeChild=function(e){switch(e.getType()){case"node":this.removeNode(e);break;case"combo":this.removeCombo(e);break;default:return console.warn("Only node or combo items are allowed to be added into a combo"),!1}return!0},c.prototype.removeCombo=function(e){var t;if(e)return-1<(e=(t=this.getCombos()).indexOf(e))&&(t.splice(e,1),!0)},c.prototype.removeNode=function(e){var t;if(e)return-1<(e=(t=this.getNodes()).indexOf(e))&&(t.splice(e,1),!0)},c.prototype.getUpdateType=function(e){},c.prototype.getBBox=function(){return this.set("bboxCanvasCache",null),this.calculateCanvasBBox()},c.prototype.clearCache=function(){this.set("bboxCache",null),this.set("bboxCanvasCache",null),this.set("anchorPointsCache",null)},c.prototype.destroy=function(){var e,t;this.destroyed||(e=this.get("animate"),t=this.get("group"),e&&t.stopAnimate(),t.shapeMap={},this.clearCache(),this.set("sizeCache",null),this.set("bbox",null),t.remove(),this._cfg=null,this.destroyed=!0)};var u,n=c;function c(){return null!==u&&u.apply(this,arguments)||this}t.default=n},4779:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(97582),a=n(31834),s={source:"start",target:"end"},n=(r=((n=n(80272))&&n.__esModule?n:{default:n}).default,(0,i.__extends)(o,r),o.prototype.getDefaultCfg=function(){return{type:"edge",sourceNode:null,targetNode:null,startPoint:null,endPoint:null,linkCenter:!1}},o.prototype.setEnd=function(e,t){var n=s[e]+"Point",e=e+"Node",r=this.get(e);r&&!r.destroyed&&r.removeEdge(this),(0,a.isPlainObject)(t)?(this.set(n,t),this.set(e,null)):t&&(t.addEdge(this),this.set(e,t),this.set(n,null))},o.prototype.getLinkPoint=function(e,t,n){var r,i=e+"Node",o=this.get(s[e]+"Point");return o||(i=this.get(i),r=e+"Anchor",n=this.getPrePoint(e,n),t=t[r],o=(o=(0,a.isNil)(t)?o:i.getLinkPointByAnchor(t))||i.getLinkPoint(n),(0,a.isNil)(o.index))||this.set("".concat(e,"AnchorIndex"),o.index),o},o.prototype.getPrePoint=function(e,t){return t&&t.length?t["source"===e?0:t.length-1]:this.getEndPoint("source"===e?"target":"source")},o.prototype.getEndPoint=function(e){var t=s[e]+"Point",e=this.get(e+"Node");return e&&!e.destroyed?e.get("model"):this.get(t)},o.prototype.getControlPointsByCenter=function(e){var t=this.getEndPoint("source"),n=this.getEndPoint("target"),r=this.get("shapeFactory"),e=e.type;return r.getControlPoints(e,{startPoint:t,endPoint:n})},o.prototype.getEndCenter=function(e){var t=s[e]+"Point",e=this.get(e+"Node");return e?{x:(e=e.getBBox()).centerX,y:e.centerY}:this.get(t)},o.prototype.init=function(){r.prototype.init.call(this),this.setSource(this.get("source")),this.setTarget(this.get("target"))},o.prototype.getShapeCfg=function(e,t){var n=this.get("linkCenter"),t=null!=t&&t.includes("move")?e:r.prototype.getShapeCfg.call(this,e);return n?(t.startPoint=this.getEndCenter("source"),t.endPoint=this.getEndCenter("target")):(n=t.controlPoints||this.getControlPointsByCenter(t),t.startPoint=this.getLinkPoint("source",e,n),t.endPoint=this.getLinkPoint("target",e,n)),t.sourceNode=this.get("sourceNode"),t.targetNode=this.get("targetNode"),t},o.prototype.getModel=function(){var e=this.get("model"),t=this.get("source".concat("Node")),n=this.get("target".concat("Node"));return t?delete e["source".concat("Node")]:e.source=this.get("start".concat("Point")),n?delete e["target".concat("Node")]:e.target=this.get("end".concat("Point")),(0,a.isString)(e.source)||(0,a.isPlainObject)(e.source)||(e.source=e.source.getID()),(0,a.isString)(e.target)||(0,a.isPlainObject)(e.target)||(e.target=e.target.getID()),e},o.prototype.setSource=function(e){this.setEnd("source",e),this.set("source",e)},o.prototype.setTarget=function(e){this.setEnd("target",e),this.set("target",e)},o.prototype.getSource=function(){return this.get("source")},o.prototype.getTarget=function(){return this.get("target")},o.prototype.updatePosition=function(){return!1},o.prototype.update=function(e,t){void 0===t&&(t=void 0);var n=this.get("model"),r=n.visible,i=e.visible,r=(r!==i&&void 0!==i&&this.changeVisibility(i),this.get("source")),i=this.get("target");r&&!r.destroyed&&i&&!i.destroyed&&(r=this.get("styles"),e.stateStyles&&(i=e.stateStyles,(0,a.mix)(r,i),delete e.stateStyles),Object.assign(n,e),this.updateShape(t),this.afterUpdate(),this.clearCache())},o.prototype.destroy=function(){var e=this.get("source".concat("Node")),t=this.get("target".concat("Node"));e&&!e.destroyed&&e.removeEdge(this),t&&!t.destroyed&&t.removeEdge(this),r.prototype.destroy.call(this)},o);function o(){return null!==r&&r.apply(this,arguments)||this}t.default=n},65674:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(97582),i=n(31834),o=n(73920),a=n(28362),s=n(39520),l=n(25560),u=n(40861);function c(t,e){this.cfg=(0,i.deepMix)(this.getDefaultCfg(),e),this.graph=t,this.id=this.cfg.id,this.group=this.cfg.group,this.members=this.cfg.members.map(function(e){return(0,i.isString)(e)?t.findById(e):e}),this.nonMembers=this.cfg.nonMembers.map(function(e){return(0,i.isString)(e)?t.findById(e):e}),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()}c.prototype.getDefaultCfg=function(){return{id:"g6-hull",type:"round-convex",members:[],nonMembers:[],style:{fill:"lightblue",stroke:"blue",opacity:.2},padding:10}},c.prototype.setPadding=function(){var e=this.members.length&&this.members[0].getKeyShape().getCanvasBBox().width/2;this.padding=0<this.cfg.padding?this.cfg.padding+e:10+e,this.cfg.bubbleCfg={nodeR0:this.padding-e,nodeR1:this.padding-e,morphBuffer:this.padding-e}},c.prototype.setType=function(){this.type=this.cfg.type,this.members.length<3&&(this.type="round-convex"),"round-convex"!==this.type&&"smooth-convex"!==this.type&&"bubble"!==this.type&&(console.warn("The hull type should be either round-convex, smooth-convex or bubble, round-convex is used by default."),this.type="round-convex")},c.prototype.calcPath=function(e,t){var n,r,i;switch(this.type){case"round-convex":n=(0,l.genConvexHull)(e),i=(0,a.roundedHull)(n.map(function(e){return[e.x,e.y]}),this.padding),r=(0,o.parsePathString)(i);break;case"smooth-convex":2===(n=(0,l.genConvexHull)(e)).length?(i=(0,a.roundedHull)(n.map(function(e){return[e.x,e.y]}),this.padding),r=(0,o.parsePathString)(i)):2<n.length&&(i=(0,a.paddedHull)(n.map(function(e){return[e.x,e.y]}),this.padding),r=(0,a.getClosedSpline)(i));break;case"bubble":r=2<=(n=(0,u.genBubbleSet)(e,t,this.cfg.bubbleCfg)).length&&(0,a.getClosedSpline)(n)}return r},c.prototype.render=function(){this.group.addShape("path",{attrs:(0,r.__assign)({path:this.path},this.cfg.style),id:this.id,name:this.cfg.id,capture:!1}),this.group.toBack()},c.prototype.addMember=function(e){if(e)return(0,i.isString)(e)&&(e=this.graph.findById(e)),this.members.push(e),-1<(e=this.nonMembers.indexOf(e))&&this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0},c.prototype.addNonMember=function(e){if(e)return(0,i.isString)(e)&&(e=this.graph.findById(e)),this.nonMembers.push(e),-1<(e=this.members.indexOf(e))&&this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0},c.prototype.removeMember=function(e){if(e)return(0,i.isString)(e)&&(e=this.graph.findById(e)),-1<(e=this.members.indexOf(e))&&(this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0)},c.prototype.removeNonMember=function(e){if(e)return(0,i.isString)(e)&&(e=this.graph.findById(e)),-1<(e=this.nonMembers.indexOf(e))&&(this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0)},c.prototype.updateData=function(e,t){var n=this;this.group.findById(this.id).remove(),e&&(this.members=e.map(function(e){return(0,i.isString)(e)?n.graph.findById(e):e})),t&&(this.nonMembers=t.map(function(e){return(0,i.isString)(e)?n.graph.findById(e):e})),this.path=this.calcPath(this.members,this.nonMembers),this.render()},c.prototype.updateStyle=function(e){this.group.findById(this.id).attr((0,r.__assign)({},e))},c.prototype.updateCfg=function(e){var t=this;this.cfg=(0,i.deepMix)(this.cfg,e),this.id=this.cfg.id,this.group=this.cfg.group,e.members&&(this.members=this.cfg.members.map(function(e){return(0,i.isString)(e)?t.graph.findById(e):e})),e.nonMembers&&(this.nonMembers=this.cfg.nonMembers.map(function(e){return(0,i.isString)(e)?t.graph.findById(e):e})),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()},c.prototype.contain=function(e){var t=this,n=(e=(0,i.isString)(e)?this.graph.findById(e):e).getKeyShape();return n=(n="path"===e.get("type")?(0,a.pathToPoints)(n.attr("path")):[[(e=n.getCanvasBBox()).minX,e.minY],[e.maxX,e.minY],[e.maxX,e.maxY],[e.minX,e.maxY]]).map(function(e){e=t.graph.getPointByCanvas(e[0],e[1]);return[e.x,e.y]}),(0,s.isPolygonsIntersect)(n,(0,a.pathToPoints)(this.path))},c.prototype.destroy=function(){this.group.remove(),this.cfg=null},t.default=c},80272:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(97582),d=n(31834),o=(r=n(27144))&&r.__esModule?r:{default:r},a=n(61592),s=n(39520),p=n(30271);function l(e){this._cfg={},this.destroyed=!1,this.optimize=!1;this._cfg=Object.assign({id:void 0,type:"item",model:{},group:void 0,animate:!1,visible:!0,locked:!1,event:!0,keyShape:void 0,states:[]},this.getDefaultCfg(),e);var t=this.get("model"),n=t.id,r=this.get("type"),e=(void 0===n?n=(0,p.uniqueId)(r):"string"!=typeof n&&(n=String(n)),this.get("model").id=n,this.set("id",n),e.group),e=(e&&(e.set("item",this),e.set("id",n)),this.init(),this.draw(),t.shape||t.type||("edge"===r?"line":"circle")),n=this.get("shapeFactory");n&&n[e]&&(r=n[e].options)&&r.stateStyles&&(n=this.get("styles")||t.stateStyles,n=(0,d.deepMix)({},r.stateStyles,n),this.set("styles",n))}l.prototype.calculateBBox=function(){var e=this.get("keyShape"),t=this.get("group"),e=(0,a.getBBox)(e,t);return e.x=e.minX,e.y=e.minY,e.width=e.maxX-e.minX,e.height=e.maxY-e.minY,e.centerX=(e.minX+e.maxX)/2,e.centerY=(e.minY+e.maxY)/2,e},l.prototype.calculateCanvasBBox=function(){var e=this.get("keyShape"),t=this.get("group"),e=(0,a.getBBox)(e,t);return e.x=e.minX,e.y=e.minY,e.width=e.maxX-e.minX,e.height=e.maxY-e.minY,e.centerX=(e.minX+e.maxX)/2,e.centerY=(e.minY+e.maxY)/2,e},l.prototype.drawInner=function(){var e=this.get("shapeFactory"),t=this.get("group"),n=this.get("model"),r=(t.clear(),n.visible);void 0===r||r||this.changeVisibility(r),e&&(this.updatePosition(n),n=(r=this.getShapeCfg(n)).type,(r=e.draw(n,r,t))&&(this.set("keyShape",r),r.set("isKeyShape",!0),r.set("draggable",!0)),this.setOriginStyle(),this.set("currentShape",n),this.restoreStates(e,n))},l.prototype.setOriginStyle=function(){var e=this.get("group"),t=e.get("children"),s=this,l=this.getKeyShape().get("name");if(this.get("originStyle")){for(var u=this.get("originStyle"),c=(l&&!u[l]&&(u[l]={}),this.getCurrentStatesStyle()),n=0;n<t.length;n++)!function(e){var n,r,i,e=t[e],o=e.get("name"),a=e.attr();o&&o!==l?(n=c[o],u[o]||(u[o]={}),n?Object.keys(a).forEach(function(e){var t=a[e];t!==n[e]&&(u[o][e]=t)}):u[o]="image"!==e.get("type")?(0,d.clone)(a):s.getShapeStyleByName(o)):(r=e.attr(),i={},Object.keys(c).forEach(function(e){var t=c[e];e!==l&&(0,d.isPlainObject)(t)||(i[e]=t)}),Object.keys(r).forEach(function(e){var t=r[e];i[e]!==t&&(l?u[l][e]=t:u[e]=t)}))}(n);delete u.path,delete u.matrix,delete u.x,delete u.y,u[l]&&(delete u[l].x,delete u[l].y,delete u[l].matrix,delete u[l].path),s.set("originStyle",u)}else{for(var r={},n=0;n<t.length;n++){var i,o,a=t[n],f=a.get("type"),h=a.get("name");h&&h!==l?(r[h]="image"!==f?(0,d.clone)(a.attr()):s.getShapeStyleByName(h),"text"===f&&r[h]&&(delete r[h].x,delete r[h].y,delete r[h].matrix)):(delete(i=s.getShapeStyleByName()).path,delete i.matrix,l?h?r[l]=i:(o=(0,p.uniqueId)("shape"),a.set("name",o),e.shapeMap[o]=a,r[o]="image"!==f?(0,d.clone)(a.attr()):s.getShapeStyleByName(h)):Object.assign(r,i))}s.set("originStyle",r)}},l.prototype.restoreStates=function(t,n){var r=this,e=r.get("states");(0,d.each)(e,function(e){t.setState(n,e,!0,r)})},l.prototype.init=function(){var e=o.default.getFactory(this.get("type"));this.set("shapeFactory",e)},l.prototype.get=function(e){return this._cfg[e]},l.prototype.set=function(e,t){(0,d.isPlainObject)(e)?this._cfg=(0,i.__assign)((0,i.__assign)({},this._cfg),e):this._cfg[e]=t},l.prototype.getDefaultCfg=function(){return{}},l.prototype.clearCache=function(){this.set("bboxCache",null),this.set("bboxCanvasCache",null)},l.prototype.beforeDraw=function(){},l.prototype.afterDraw=function(){},l.prototype.afterUpdate=function(){},l.prototype.draw=function(){this.beforeDraw(),this.drawInner(),this.afterDraw()},l.prototype.getShapeStyleByName=function(e){var n,t=this.get("group");return(t=e?t.shapeMap[e]:this.getKeyShape())?(n={},(0,d.each)(t.attr(),function(e,t){"img"===t&&!(0,d.isString)(e)||(n[t]=e)}),n):{}},l.prototype.getShapeCfg=function(e,t){var n,r=this.get("styles");return r?((n=e).style=(0,i.__assign)((0,i.__assign)({},r),e.style),n):e},l.prototype.getStateStyle=function(e){var t=this.get("styles");return t&&t[e]},l.prototype.getOriginStyle=function(){return this.get("originStyle")},l.prototype.getCurrentStatesStyle=function(){var t=this,n={},e=t.getStates();return e&&e.length?((0,d.each)(t.getStates(),function(e){n=Object.assign(n,t.getStateStyle(e))}),n):this.get("originStyle")},l.prototype.setState=function(e,t){var n=this.get("states"),r=this.get("shapeFactory"),i=e,o=e,a=((0,d.isString)(t)&&(i="".concat(e,":").concat(t),o="".concat(e,":")),n);if((0,d.isBoolean)(t)){var s=n.indexOf(o);if(t){if(-1<s)return;n.push(i)}else-1<s&&n.splice(s,1)}else(0,d.isString)(t)&&(0<(s=n.filter(function(e){return e.includes(o)})).length&&this.clearStates(s),(a=a.filter(function(e){return!e.includes(o)})).push(i),this.set("states",a));r&&(n=this.get("model").type,r.setState(n,e,t,this))},l.prototype.clearStates=function(t){var n=this,e=n.getStates(),r=n.get("shapeFactory"),i=n.get("model").type,e=(t=t||e,(0,d.isString)(t)&&(t=[t]),e.filter(function(e){return-1===t.indexOf(e)}));n.set("states",e),t.forEach(function(e){r.setState(i,e,!1,n)})},l.prototype.setOptimize=function(e){this.optimize=e},l.prototype.getContainer=function(){return this.get("group")},l.prototype.getKeyShape=function(){return this.get("keyShape")},l.prototype.getModel=function(){return this.get("model")},l.prototype.getType=function(){return this.get("type")},l.prototype.getID=function(){return this.get("id")},l.prototype.isItem=function(){return!0},l.prototype.getStates=function(){return this.get("states")},l.prototype.hasState=function(e){return 0<=this.getStates().indexOf(e)},l.prototype.refresh=function(e){var t=this.get("model");this.updatePosition(t),this.updateShape(e),this.afterUpdate(),this.clearCache()},l.prototype.getUpdateType=function(e){},l.prototype.update=function(e,t){void 0===t&&(t=void 0);var n,r,i,o,a=this.get("model");"move"===t?this.updatePosition(e):(a.visible!==(n=e.visible)&&void 0!==n&&this.changeVisibility(n),n=a.x,r=a.y,e.x=isNaN(+e.x)?a.x:+e.x,e.y=isNaN(+e.y)?a.y:+e.y,i=this.get("styles"),e.stateStyles&&(o=e.stateStyles,(0,d.mix)(i,o),delete e.stateStyles),Object.assign(a,e),n===e.x&&r===e.y||this.updatePosition(e),this.updateShape(t)),this.afterUpdate(),this.clearCache()},l.prototype.updateShape=function(e){var t=this.get("shapeFactory"),n=this.get("model"),r=n.type;t.shouldUpdate(r)&&r===this.get("currentShape")?(n=this.getShapeCfg(n,e),t.baseUpdate(r,n,this,e),"move"!==e&&this.setOriginStyle()):this.draw(),this.restoreStates(t,r)},l.prototype.updatePosition=function(e){var t=this.get("model"),n=isNaN(+e.x)?+t.x:+e.x,e=isNaN(+e.y)?+t.y:+e.y,r=this.get("group");if(isNaN(n)||isNaN(e))return!1;t.x=n,t.y=e;t=r.getMatrix();return!(t&&t[6]===n&&t[7]===e||(r.resetMatrix(),(0,s.translate)(r,{x:n,y:e}),this.clearCache(),0))},l.prototype.getBBox=function(){var e=this.get("bboxCache");return e||(e=this.calculateBBox(),this.set("bboxCache",e)),e},l.prototype.getCanvasBBox=function(){var e=this.get("bboxCanvasCache");return e||(e=this.calculateCanvasBBox(),this.set("bboxCanvasCache",e)),e},l.prototype.toFront=function(){this.get("group").toFront()},l.prototype.toBack=function(){this.get("group").toBack()},l.prototype.show=function(){this.changeVisibility(!0)},l.prototype.hide=function(){this.changeVisibility(!1)},l.prototype.changeVisibility=function(e){var t=this.get("group");e?t.show():t.hide(),this.set("visible",e)},l.prototype.isVisible=function(){return this.get("visible")},l.prototype.enableCapture=function(e){var t=this.get("group");t&&t.set("capture",e)},l.prototype.destroy=function(){var e,t;this.destroyed||(e=this.get("animate"),t=this.get("group"),e&&t.stopAnimate(),t.shapeMap={},this.clearCache(),t.remove(),this._cfg=null,this.destroyed=!0)},t.default=l},14319:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(97582),o=n(31834),l=n(39520),n=(r=((n=n(80272))&&n.__esModule?n:{default:n}).default,(0,i.__extends)(a,r),a.prototype.getNearestPoint=function(e,t){for(var n=0,r=e[0],i=(0,l.distance)(e[0],t),o=0;o<e.length;o++){var a=e[o],s=(0,l.distance)(a,t);s<i&&(r=a,i=s,n=o)}return r.anchorIndex=n,r},a.prototype.getDefaultCfg=function(){return{type:"node",edges:[]}},a.prototype.getEdges=function(){return this.get("edges")},a.prototype.getInEdges=function(){var t=this;return this.get("edges").filter(function(e){return e.get("target")===t})},a.prototype.getOutEdges=function(){var t=this;return this.get("edges").filter(function(e){return e.get("source")===t})},a.prototype.getNeighbors=function(e){var t=this,n=this.get("edges");return"target"===e?n.filter(function(e){return e.getSource()===t}).map(function(e){return e.getTarget()}):"source"===e?n.filter(function(e){return e.getTarget()===t}).map(function(e){return e.getSource()}):n.map(function(e){return e.getSource()===t?e.getTarget():e.getSource()})},a.prototype.getLinkPointByAnchor=function(e){return this.getAnchorPoints()[e]},a.prototype.getLinkPoint=function(e){var t,n,r=this.get("keyShape").get("type"),i=this.get("type"),o=this.getBBox(),a="combo"===i?(t=o.centerX||(o.maxX+o.minX)/2,o.centerY||(o.maxY+o.minY)/2):(t=o.centerX,o.centerY),i=this.getAnchorPoints();switch(r){case"circle":n=(0,l.getCircleIntersectByPoint)({x:t,y:a,r:o.width/2},e);break;case"ellipse":n=(0,l.getEllipseIntersectByPoint)({x:t,y:a,rx:o.width/2,ry:o.height/2},e);break;default:n=(0,l.getRectIntersectByPoint)(o,e)}r=n;return r=(r=i.length?this.getNearestPoint(i,r=r||e):r)||{x:t,y:a}},a.prototype.getAnchorPoints=function(){var n,e,t,r,i=this.get("anchorPointsCache");return i||(i=[],r=this.get("shapeFactory"),n=this.getBBox(),t=this.get("model"),e=this.getShapeCfg(t),t=t.type,r=r.getAnchorPoints(t,e)||[],(0,o.each)(r,function(e,t){e={x:n.minX+e[0]*n.width,y:n.minY+e[1]*n.height,anchorIndex:t};i.push(e)}),this.set("anchorPointsCache",i)),i},a.prototype.addEdge=function(e){this.get("edges").push(e)},a.prototype.lock=function(){this.set("locked",!0)},a.prototype.unlock=function(){this.set("locked",!1)},a.prototype.hasLocked=function(){return this.get("locked")},a.prototype.removeEdge=function(e){var t=this.getEdges(),e=t.indexOf(e);-1<e&&t.splice(e,1)},a.prototype.clearCache=function(){this.set("bboxCache",null),this.set("anchorPointsCache",null)},a.prototype.getUpdateType=function(e){var t,n,r;if(e)return t=!(0,o.isNil)(e.x),n=!(0,o.isNil)(e.y),1===(r=Object.keys(e)).length&&(t||n)||2===r.length&&t&&n?"move":(0,o.isNumber)(e.x)||(0,o.isNumber)(e.y)||e.type||e.anchorPoints||e.size||null!=e&&e.style&&(null!=(t=null==e?void 0:e.style)&&t.r||null!=(n=null==e?void 0:e.style)&&n.width||null!=(t=null==e?void 0:e.style)&&t.height||null!=(n=null==e?void 0:e.style)&&n.rx||null!=(t=null==e?void 0:e.style)&&t.ry)?"bbox|label":r.includes("label")||r.includes("labelCfg")?"style|label":"style"},a.prototype.setState=function(e,t){var n=this;this.optimize?r.prototype.setState.call(this,e,t):this.runWithBBoxAffected(function(){return r.prototype.setState.call(n,e,t)})},a.prototype.clearStates=function(e){var t=this;this.optimize?r.prototype.clearStates.call(this,e):this.runWithBBoxAffected(function(){return r.prototype.clearStates.call(t,e)})},a.prototype.runWithBBoxAffected=function(e){var t=["r","width","height","rx","ry","lineWidth"],n=this.getKeyShape().attr(),r={};Object.keys(this.getKeyShape().attr()).forEach(function(e){t.includes(e)&&(r[e]=n[e])}),e();for(var i=this.getKeyShape().attr(),o=0;o<t.length;o++){var a=t[o];if(i[a]!==r[a]){this.clearCache(),this.getEdges().forEach(function(e){return e.refresh()});break}}},a);function a(){return null!==r&&r.apply(this,arguments)||this}t.default=n},2782:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80468);Object.keys(r).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})})},30271:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueId=t.processParallelEdges=t.isViewportChanged=t.isNaN=t.formatPadding=t.cloneEvent=t.calculationItemsBBox=void 0;var r=n(31834),i=n(24825);t.uniqueId=function(e){return"".concat(e,"-").concat(Math.random()).concat(Date.now())},t.formatPadding=function(e){if((0,r.isArray)(e))switch(e.length){case 4:return e;case 3:return e.push(e[1]),e;case 2:return e.concat(e);case 1:return[e[0],e[0],e[0],e[0]];default:return[0,0,0,0]}var t;return(0,r.isNumber)(e)?[e,e,e,e]:(0,r.isString)(e)?[t=parseInt(e,10),t,t,t]:[0,0,0,0]},t.cloneEvent=function(e){var t=new i.G6GraphEvent(e.type,e);return t.clientX=e.clientX,t.clientY=e.clientY,t.x=e.x,t.y=e.y,t.target=e.target,t.currentTarget=e.currentTarget,t.bubbles=!0,t.item=e.item,t},t.isViewportChanged=function(e){if(e)for(var t=[1,0,0,0,1,0,0,0,1],n=0;n<9;n++)if(e[n]!==t[n])return!0;return!1},t.isNaN=function(e){return Number.isNaN(Number(e))},t.calculationItemsBBox=function(e){for(var t=1/0,n=-1/0,r=1/0,i=-1/0,o=0;o<e.length;o++){var a=e[o].getBBox(),s=a.minX,l=a.minY,u=a.maxX,a=a.maxY;s<t&&(t=s),l<r&&(r=l),n<u&&(n=u),i<a&&(i=a)}return{x:Math.floor(t),y:Math.floor(r),width:Math.ceil(n)-Math.floor(t),height:Math.ceil(i)-Math.floor(r),minX:t,minY:r,maxX:n,maxY:i}},t.processParallelEdges=function(e,t,n,r,i){void 0===n&&(n="quadratic"),void 0===r&&(r=void 0),void 0===i&&(i=void 0);for(var o,a=e.length,s=2*(t=void 0===t?15:t),l=["top","top-right","right","bottom-right","bottom","bottom-left","left","top-left"],u={},c=[],f={},h=0;h<a;h++){var d=e[h],p=d.source,y=d.target,m="".concat(p,"-").concat(y);if(!c[h]){u[m]||(u[m]=[]),c[h]=!0,u[m].push(d);for(var g,v,b,_=0;_<a;_++)h!==_&&(v=(g=e[_]).source,b=g.target,c[_]||(p===b&&y===v?(u[m].push(g),c[_]=!0,f["".concat(v,"|").concat(b,"|").concat(u[m].length-1)]=!0):p===v&&y===b&&(u[m].push(g),c[_]=!0)))}}for(o in u)for(var x=u[o],w=x.length,A=0;A<w;A++){var S,C=x[A];C.source!==C.target?1===w&&r&&C.source!==C.target?C.type=r:(C.type=n,S=(A%2==0?1:-1)*(f["".concat(C.source,"|").concat(C.target,"|").concat(A)]?-1:1),C.curveOffset=w%2==1?S*Math.ceil(A/2)*s:S*(Math.floor(A/2)*s+t)):(i&&(C.type=i),C.loopCfg={position:l[A%8],dist:20*Math.floor(A/8)+50})}return e}},6130:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSubjectColors=void 0,t.defaultSubjectColors=["#5F95FF","#61DDAA","#65789B","#F6BD16","#7262FD","#78D3F8","#9661BC","#F6903D","#008685","#F08BB4"]},61592:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateLabelByLength=t.traverseTreeUp=t.traverseTree=t.shouldRefreshEdge=t.reconstructTree=t.plainCombosToTrees=t.getTextSize=t.getLoopCfgs=t.getLetterWidth=t.getLabelPosition=t.getComboBBox=t.getBBox=t.getAnimateCfgWithCallback=t.cloneBesidesImg=void 0;var s=n(97582),_=n(43708),l=n(31834),x=o(n(36605)),r=o(n(63198)),i=n(39520);function o(e){return e&&e.__esModule?e:{default:e}}function h(e,t){"function"==typeof t&&function e(t,n,r,i){if(!1!==i(t,n,r)){if(t&&t.children)for(var o=t.children.length-1;0<=o;o--)if(!e(t.children[o],t,o,i))return;return 1}}(e,null,-1,t)}function a(e,t){return t*(r.default[e]||1)}var u=Math.PI,c=Math.sin,f=Math.cos,w=c(u/8),A=f(u/8);t.getBBox=function(e,t){var e=e.getBBox(),n={x:e.minX,y:e.minY},e={x:e.maxX,y:e.maxY},t=(t&&(t=(t=t.getMatrix())||[1,0,0,0,1,0,0,0,1],n=(0,i.applyMatrix)(n,t),e=(0,i.applyMatrix)(e,t)),n.x),n=n.y,r=e.x,e=e.y;return{x:t,y:n,minX:t,minY:n,maxX:r,maxY:e,width:r-t,height:e-n}},t.getLoopCfgs=function(e){var t=e.sourceNode||e.targetNode,n=(n=t.get("group").getMatrix())||[1,0,0,0,1,0,0,0,1],t=t.getKeyShape(),r=t.getBBox(),i=e.loopCfg||{},o=i.dist||2*Math.max(r.width,r.height),a=i.position||x.default.defaultLoopPosition,s=[(r.minX+r.maxX)/2+n[6],(r.minY+r.maxY)/2+n[7]],l=[e.startPoint.x,e.startPoint.y],u=[e.endPoint.x,e.endPoint.y],c=r.height/2,f=r.width/2,h=c,d=c,p=h*w,y=h*A,m=d*w,g=d*A,v=t.get("type"),n=Math.min(c/2,f/2),r=Math.min(c,f),b=null!==i&&i.pointPadding?Math.min(r,null===i?void 0:i.pointPadding):n;if(l[0]===u[0]&&l[1]===u[1]){switch(a){case"top":u="circle"===v?(l=[s[0]-p,s[1]-y],[s[0]+m,s[1]-g]):(l=[s[0]-b,s[1]-c],[s[0]+b,s[1]-c]);break;case"top-right":h=c,d=f,u="circle"===v?(l=[s[0]+(p=h*w),s[1]-(y=h*A)],[s[0]+(g=d*A),s[1]-(m=d*w)]):(l=[s[0]+f-b,s[1]-c],[s[0]+f,s[1]-c+b]);break;case"right":d=h=f,u="circle"===v?(l=[s[0]+(y=h*A),s[1]-(p=h*w)],[s[0]+(g=d*A),s[1]+(m=d*w)]):(l=[s[0]+f,s[1]-b],[s[0]+f,s[1]+b]);break;case"bottom-right":h=f,d=c,u="circle"===v?(l=[s[0]+(y=h*A),s[1]+(p=h*w)],[s[0]+(m=d*w),s[1]+(g=d*A)]):(l=[s[0]+f,s[1]+c-b],[s[0]+f-b,s[1]+c]);break;case"bottom":d=h=c,u="circle"===v?(l=[s[0]+(p=h*w),s[1]+(y=h*A)],[s[0]-(m=d*w),s[1]+(g=d*A)]):(l=[s[0]-b,s[1]+c],[s[0]+b,s[1]+c]);break;case"bottom-left":h=c,d=f,u="circle"===v?(l=[s[0]-(p=h*w),s[1]+(y=h*A)],[s[0]-(g=d*A),s[1]+(m=d*w)]):(l=[s[0]-f,s[1]+c-b],[s[0]-f+b,s[1]+c]);break;case"left":d=h=f,u="circle"===v?(l=[s[0]-(y=h*A),s[1]+(p=h*w)],[s[0]-(g=d*A),s[1]-(m=d*w)]):(l=[s[0]-f,s[1]-b],[s[0]-f,s[1]+b]);break;case"top-left":h=f,d=c,u="circle"===v?(l=[s[0]-(y=h*A),s[1]-(p=h*w)],[s[0]-(m=d*w),s[1]-(g=d*A)]):(l=[s[0]-f+b,s[1]-c],[s[0]-f,s[1]-c+b]);break;default:l=[s[0]-(p=(h=f)*w),s[1]-(y=h*A)],u=[s[0]+(m=(d=f)*w),s[1]-(g=d*A)]}!1===i.clockwise&&(t=[l[0],l[1]],l=[u[0],u[1]],u=[t[0],t[1]])}r=[l[0]-s[0],l[1]-s[1]],n=(h+o)/h,a=(d+o)/d,!1===i.clockwise&&(n=(d+o)/d,a=(h+o)/h),t=_.vec2.scale([0,0],r,n),i=[s[0]+t[0],s[1]+t[1]],o=[u[0]-s[0],u[1]-s[1]],r=_.vec2.scale([0,0],o,a),n=[s[0]+r[0],s[1]+r[1]];return e.startPoint={x:l[0],y:l[1]},e.endPoint={x:u[0],y:u[1]},e.controlPoints=[{x:i[0],y:i[1]},{x:n[0],y:n[1]}],e},t.getLabelPosition=function(e,t,n,r,i){var o=[],a=null==e?void 0:e.getPoint(t);if(!a)return{x:0,y:0,angle:0};t<1e-4?o=e.getStartTangent().reverse():.9999<t?o=e.getEndTangent():(e=null==e?void 0:e.getPoint(t+1e-4),o.push([a.x,a.y]),o.push([e.x,e.y]));t=Math.atan2(o[1][1]-o[0][1],o[1][0]-o[0][0]),t<0&&(t+=2*u),n&&(a.x+=f(t)*n,a.y+=c(t)*n),r&&(e=t-u/2,.5*u<t&&t<1.5*u&&(e-=u),a.x+=f(e)*r,a.y+=c(e)*r),o={x:a.x,y:a.y,angle:t};return i?(.5*u<t&&t<1.5*u&&(t-=u),(0,s.__assign)({rotate:t},o)):o},t.traverseTree=h,t.traverseTreeUp=function(e,t){"function"==typeof t&&function e(t,n,r,i){if(t&&t.children)for(var o=t.children.length-1;0<=o;o--)if(!e(t.children[o],t,o,i))return;return!1!==i(t,n,r)}(e,null,-1,t)};t.getLetterWidth=a,t.getTextSize=function(e,t){var n=0,r=new RegExp("[一-龥]+");return e.split("").forEach(function(e){r.test(e)?n+=t:n+=a(e,t)}),[n,t]},t.truncateLabelByLength=function(e,t){return"number"!=typeof t||t<=0||t>=e.length?e:e.substring(0,t)+"..."},t.plainCombosToTrees=function(e,t){var o=[],a={},s={},r=(e.forEach(function(e){s[e.id]=e}),e.forEach(function(e,t){var n,r=(0,l.clone)(e),i=(r.itemType="combo",r.children=void 0,r.parentId===r.id?(console.warn("The parentId for combo ".concat(r.id," can not be the same as the combo's id")),delete r.parentId):r.parentId&&!s[r.parentId]&&(console.warn("The parent combo for combo ".concat(r.id," does not exist!")),delete r.parentId),a[r.id]);i?(r.children=i.children,(i=a[r.id]=r).parentId?(n=a[i.parentId])?n.children?n.children.push(r):n.children=[r]:(n={id:i.parentId,children:[i]},a[i.parentId]=n,a[r.id]=r):o.push(i)):((0,l.isString)(e.parentId)?(n=a[e.parentId])?n.children?n.children.push(r):n.children=[r]:(i={id:e.parentId,children:[r]},a[i.id]=i):o.push(r),a[r.id]=r)}),{}),i=((t||[]).forEach(function(e){r[e.id]=e;var t,n=a[e.comboId];n&&(t={id:e.id,comboId:e.comboId},n.children?n.children.push(t):n.children=[t],t.itemType="node",a[e.id]=t)}),0);return o.forEach(function(e){e.depth=i+10,h(e,function(e){var t=a[e.id].itemType,n="node"===t?a[e.comboId]:a[e.parentId],n=(e.depth=n&&"node"===t?i+1:i+10,i<e.depth&&(i=e.depth),r[e.id]);return n&&(n.depth=e.depth),!0})}),o},t.reconstructTree=function(e,n,r){var i,t,o,a,s=e,l={root:{children:e}},u=!1,c="root",f=((e||[]).forEach(function(e){if(!u)return e.id===n?("combo"===(i=e).itemType?i.parentId=r:i.comboId=r,void(u=!0)):void h(e,function(e){var t;return l[e.id]={children:(null==e?void 0:e.children)||[]},s=null==(t=l[e.parentId||e.comboId||"root"])?void 0:t.children,!e||!e.removed&&n!==e.id||!s||(c=e.parentId||e.comboId||"root","combo"===(i=e).itemType?i.parentId=r:i.comboId=r,!(u=!0))})}),(s=null==(f=l[c])?void 0:f.children)?s.indexOf(i):-1);return-1<f&&s.splice(f,1),u||(i={id:n,itemType:"node",comboId:r},l[n]={children:void 0}),n&&(t=!1,r?(o=0,(e||[]).forEach(function(e){t||h(e,function(e){return r!==e.id||(t=!0,e.children?e.children.push(i):e.children=[i],o=e.depth,"node"===i.itemType?i.depth=o+2:i.depth=o+1,!1)})})):"node"!==i.itemType&&e.push(i),a=i.depth,h(i,function(e){return"node"===e.itemType?a+=2:a+=1,e.depth=a,!0})),e},t.getComboBBox=function(e,t,n){var r,i,o,a={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0,x:void 0,y:void 0,width:void 0,height:void 0,centerX:void 0,centerY:void 0};return e&&0!==e.length?(e.forEach(function(e){var e=t.findById(e.id);e&&e.isVisible()&&(e.set("bboxCanvasCache",void 0),(e=e.getCanvasBBox()).x&&a.minX>e.minX&&(a.minX=e.minX),e.y&&a.minY>e.minY&&(a.minY=e.minY),e.x&&a.maxX<e.maxX&&(a.maxX=e.maxX),e.y)&&a.maxY<e.maxY&&(a.maxY=e.maxY)}),a.x=(a.minX+a.maxX)/2,a.y=(a.minY+a.maxY)/2,a.width=a.maxX-a.minX,a.height=a.maxY-a.minY,a.centerX=(a.minX+a.maxX)/2,a.centerY=(a.minY+a.maxY)/2,"circle"===(null==n?void 0:n.getKeyShape().get("type"))&&(a.width=Math.hypot(a.height,a.width),a.height=a.width),Object.keys(a).forEach(function(e){a[e]!==1/0&&a[e]!==-1/0||(a[e]=void 0)}),a):(n=(e=(null==n?void 0:n.getModel())||{}).x,r=e.y,i=e.fixSize,o=e.collapsed,e=e.fixCollapseSize,{minX:n-(e=[(i=(e=(0,l.isArray)(o=o?e:i)?o:[o,o])[0])/2,(o=e[1])/2])[0],minY:r-e[1],maxX:n+e[0],maxY:r+e[1],x:n,y:r,width:i,height:o})},t.shouldRefreshEdge=function(e){var t=(0,l.isNumber)(e.x)||(0,l.isNumber)(e.y)||e.type||e.anchorPoints||e.size;return t=e.style?t||(0,l.isNumber)(e.style.r)||(0,l.isNumber)(e.style.width)||(0,l.isNumber)(e.style.height)||(0,l.isNumber)(e.style.rx)||(0,l.isNumber)(e.style.ry):t},t.cloneBesidesImg=function(t){var i={};return Object.keys(t).forEach(function(e){var n,r=t[e];(0,l.isObject)(r)&&!(0,l.isArray)(r)?(n={},Object.keys(r).forEach(function(e){var t=r[e];"img"===e&&!(0,l.isString)(t)||(n[e]=(0,l.clone)(t))}),i[e]=n):i[e]=(0,l.clone)(r)}),i},t.getAnimateCfgWithCallback=function(e){var t,n,r=e.animateCfg,i=e.callback;return r?(t=(0,l.clone)(r),r.callback?(n=r.callback,t.callback=function(){i(),n()}):t.callback=i):t={duration:500,callback:i},t}},21712:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(97582),i=h(n(39520)),o=h(n(61592)),s=h(n(28362)),l=h(n(30271)),u=h(n(6130)),c=h(n(42658)),n=n(43708);function f(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(f=function(e){return e?n:t})(e))}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};t=f(t);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}var d=n.ext.transform,r=(0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)({},l),o),s),i),u),c),{transform:d,mat3:n.mat3});t.default=r},42658:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isForce=void 0,t.isForce=function(e){return"force"===e||"g6force"===e||"gForce"===e||"force2"===e}},63198:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={" ":.3329986572265625,a:.5589996337890625,A:.6569992065429687,b:.58599853515625,B:.6769989013671875,c:.5469985961914062,C:.7279998779296875,d:.58599853515625,D:.705999755859375,e:.554998779296875,E:.63699951171875,f:.37299957275390627,F:.5769989013671875,g:.5909988403320312,G:.7479995727539063,h:.555999755859375,H:.7199996948242188,i:.255999755859375,I:.23699951171875,j:.26699981689453123,J:.5169998168945312,k:.5289993286132812,K:.6899993896484375,l:.23499908447265624,L:.5879989624023437,m:.854998779296875,M:.8819992065429687,n:.5589996337890625,N:.7189987182617188,o:.58599853515625,O:.7669998168945312,p:.58599853515625,P:.6419998168945312,q:.58599853515625,Q:.7669998168945312,r:.3649993896484375,R:.6759994506835938,s:.504998779296875,S:.6319992065429687,t:.354998779296875,T:.6189987182617187,u:.5599990844726562,U:.7139999389648437,v:.48199920654296874,V:.6389999389648438,w:.754998779296875,W:.929998779296875,x:.5089996337890625,X:.63699951171875,y:.4959991455078125,Y:.66199951171875,z:.48699951171875,Z:.6239990234375,0:.6,1:.40099945068359377,2:.6,3:.6,4:.6,5:.6,6:.6,7:.5469985961914062,8:.6,9:.6,"[":.3329986572265625,"]":.3329986572265625,",":.26399993896484375,".":.26399993896484375,";":.26399993896484375,":":.26399993896484375,"{":.3329986572265625,"}":.3329986572265625,"\\":.5,"|":.19499969482421875,"=":.604998779296875,"+":.604998779296875,"-":.604998779296875,_:.5,"`":.3329986572265625," ~":.8329986572265625,"!":.3329986572265625,"@":.8579986572265625,"#":.6,$:.6,"%":.9699996948242188,"^":.517999267578125,"&":.7259994506835937,"*":.505999755859375,"(":.3329986572265625,")":.3329986572265625,"<":.604998779296875,">":.604998779296875,"/":.5,"?":.53699951171875}},39520:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.translate=t.squareDist=t.scaleMatrix=t.scale=t.rotate=t.pointRectSquareDist=t.pointLineSquareDist=t.pointLineDistance=t.move=t.lerpArray=t.lerp=t.itemIntersectByLine=t.isPolygonsIntersect=t.isPointsOverlap=t.isPointInPolygon=t.invertMatrix=t.intersectBBox=t.getRectIntersectByPoint=t.getPointsCenter=t.getLineIntersect=t.getEllipseIntersectByPoint=t.getDegree=t.getCircleIntersectByPoint=t.getCircleCenterByPoints=t.getBBoxBoundLine=t.getAdjMatrix=t.fractionToLine=t.floydWarshall=t.distance=t.compare=t.applyMatrix=t.Line=void 0;function u(e,t,n){return t<=e&&e<=n}function f(e,t,n,r){var i=n.x-e.x,o=n.y-e.y,a=t.x-e.x,t=t.y-e.y,s=r.x-n.x,r=r.y-n.y,l=1/(n=a*r-t*s);return 1e-4*(a*a+t*t)*(s*s+r*r)<n*n&&u(n=(i*r-o*s)*l,0,1)&&u((i*t-o*a)*l,0,1)?{x:e.x+n*a,y:e.y+n*t}:null}var a=n(43708),c=n(31834),d=a.ext.transform;t.compare=function(n){return function(e,t){return e[n]-t[n]}};t.getLineIntersect=f,t.getRectIntersectByPoint=function(e,t){var n=e.x,r=e.y,i=e.width,e=e.height,o=[],a={x:n+i/2,y:r+e/2};o.push({x:n,y:r}),o.push({x:n+i,y:r}),o.push({x:n+i,y:r+e}),o.push({x:n,y:r+e}),o.push({x:n,y:r});for(var s=null,l=1;l<o.length&&!(s=f(o[l-1],o[l],a,t));l++);return s},t.getCircleIntersectByPoint=function(e,t){var n,r=e.x,i=e.y,e=e.r,o=t.x-r,t=t.y-i;return o*o+t*t<e*e?null:(n=Math.atan(t/o),{x:r+Math.abs(e*Math.cos(n))*Math.sign(o),y:i+Math.abs(e*Math.sin(n))*Math.sign(t)})},t.getEllipseIntersectByPoint=function(e,t){var n=e.rx,r=e.ry,i=e.x,e=e.y,o=t.x-i,t=t.y-e,t=Math.atan2(t/r,o/n);return t<0&&(t+=2*Math.PI),{x:i+n*Math.cos(t),y:e+r*Math.sin(t)}},t.applyMatrix=function(e,t,n){e=[e.x,e.y,n=void 0===n?1:n];return t&&!isNaN(t[0])||(t=[1,0,0,0,1,0,0,0,1]),a.vec3.transformMat3(e,e,t),{x:e[0],y:e[1]}},t.invertMatrix=function(e,t,n){void 0===n&&(n=1),t&&!isNaN(t[0])||(t=[1,0,0,0,1,0,0,0,1]);t=(t=a.mat3.invert([1,0,0,0,1,0,0,0,1],t))||[1,0,0,0,1,0,0,0,1],e=[e.x,e.y,n];return a.vec3.transformMat3(e,e,t),{x:e[0],y:e[1]}},t.getCircleCenterByPoints=function(e,t,n){var r=e.x-t.x,i=e.y-t.y,o=e.x-n.x,a=e.y-n.y,t=(e.x*e.x-t.x*t.x-t.y*t.y+e.y*e.y)/2,n=(e.x*e.x-n.x*n.x-n.y*n.y+e.y*e.y)/2,e=i*o-r*a;return{x:-(a*t-i*n)/e,y:-(r*n-o*t)/e}},t.distance=function(e,t){var n=e.x-t.x,e=e.y-t.y;return Math.sqrt(n*n+e*e)},t.scaleMatrix=function(e,n){var r=[];return e.forEach(function(e){var t=[];e.forEach(function(e){t.push(e*n)}),r.push(t)}),r},t.floydWarshall=function(e){for(var t=[],n=e.length,r=0;r<n;r+=1){t[r]=[];for(var i=0;i<n;i+=1)r===i?t[r][i]=0:0!==e[r][i]&&e[r][i]?t[r][i]=e[r][i]:t[r][i]=1/0}for(var o=0;o<n;o+=1)for(r=0;r<n;r+=1)for(i=0;i<n;i+=1)t[r][i]>t[r][o]+t[o][i]&&(t[r][i]=t[r][o]+t[o][i]);return t},t.getAdjMatrix=function(e,n){var t=e.nodes,e=e.edges,r=[],i={};if(t)return t&&t.forEach(function(e,t){i[e.id]=t,r.push([])}),e&&e.forEach(function(e){var t=e.source,e=e.target,t=i[t],e=i[e];r[t][e]=1,n||(r[e][t]=1)}),r;throw new Error("invalid nodes data!")},t.translate=function(e,t){e.translate(t.x,t.y)},t.move=function(e,t,n,r){void 0===r&&(r={duration:500});var i,o,a,s,l,u,c=(c=e.getMatrix())||[1,0,0,0,1,0,0,0,1],f=e.getCanvasBBox(),h=t.x-f.minX,t=t.y-f.minY;n?(i=h*c[0],o=t*c[4],u=l=s=a=0,e.animate(function(e){return c=d(c,[["t",(l=i*e)-a,(u=o*e)-s]]),a=l,s=u,{matrix:c}},r)):(f=d(c,[["t",h,t]]),e.setMatrix(f))},t.scale=function(e,t){var n=(n=e.getMatrix())||[1,0,0,0,1,0,0,0,1],r=t;(0,c.isArray)(t)||(r=[t,t]),(0,c.isArray)(t)&&1===t.length&&(r=[t[0],t[0]]),n=d(n,[["s",r[0],r[1]]]),e.setMatrix(n)},t.rotate=function(e,t){var n=e.getMatrix();n=d(n=n||[1,0,0,0,1,0,0,0,1],[["r",t]]),e.setMatrix(n)},t.getDegree=function(e,t,n){for(var r=[],i=0;i<e;i++)r[i]=0;return n.forEach(function(e){e.source&&(r[t[e.source]]+=1),e.target&&(r[t[e.target]]+=1)}),r};function h(e,t,n){var r=!1,i=e.length;function o(e){return Math.abs(e)<1e-6?0:e<0?-1:1}if(i<=2)return!1;for(var a,s,l,u=0;u<i;u++){var c=e[u],f=e[(u+1)%i];if(s=f,((l=[t,n])[0]-(a=c)[0])*(s[1]-a[1])==(s[0]-a[0])*(l[1]-a[1])&&Math.min(a[0],s[0])<=l[0]&&l[0]<=Math.max(a[0],s[0])&&Math.min(a[1],s[1])<=l[1]&&l[1]<=Math.max(a[1],s[1]))return!0;0<o(c[1]-n)!=0<o(f[1]-n)&&o(t-(n-c[1])*(c[0]-f[0])/(c[1]-f[1])-c[0])<0&&(r=!r)}return r}function p(e,t){return!(t.minX>e.maxX||t.maxX<e.minX||t.minY>e.maxY||t.maxY<e.minY)}t.isPointInPolygon=h;t.intersectBBox=p,t.isPolygonsIntersect=function(t,n){function e(e){var t=e.map(function(e){return e[0]}),e=e.map(function(e){return e[1]});return{minX:Math.min.apply(null,t),maxX:Math.max.apply(null,t),minY:Math.min.apply(null,e),maxY:Math.max.apply(null,e)}}function r(e){for(var t,n,r=[],i=e.length,o=0;o<i-1;o++){var a=e[o],s=e[o+1];r.push({from:{x:a[0],y:a[1]},to:{x:s[0],y:s[1]}})}return 1<r.length&&(t=e[0],n=e[i-1],r.push({from:{x:n[0],y:n[1]},to:{x:t[0],y:t[1]}})),r}var i,o,a,s,l;return!(t.length<2||n.length<2||(s=e(t),i=e(n),!p(s,i)))&&((o=!1,c.each)(n,function(e){if(h(t,e[0],e[1]))return!(o=!0)}),!!o||((0,c.each)(t,function(e){if(h(n,e[0],e[1]))return!(o=!0)}),!!o)||(a=r(t),s=r(n),(l=!1,c.each)(s,function(e){if(t=e,(n=!1,c.each)(a,function(e){if(f(e.from,e.to,t.from,t.to))return!(n=!0)}),n)return!(l=!0);var t,n}),l))},r.prototype.getBBox=function(){var e=Math.min(this.x1,this.x2),t=Math.min(this.y1,this.y2),n=Math.max(this.x1,this.x2),r=Math.max(this.y1,this.y2);return{x:e,y:t,minX:e,minY:t,maxX:n,maxY:r,width:n-e,height:r-t}};var y=r;function r(e,t,n,r){this.x1=e,this.y1=t,this.x2=n,this.y2=r}t.Line=y;function m(e,t){return{top:[e.minX,e.minY,e.maxX,e.minY],left:[e.minX,e.minY,e.minX,e.maxY],bottom:[e.minX,e.maxY,e.maxX,e.maxY],right:[e.maxX,e.minY,e.maxX,e.maxY]}[t]}function s(e,t,n){return e+(t-e)*n}t.getBBoxBoundLine=m,t.itemIntersectByLine=function(e,t){for(var n=["top","left","bottom","right"],r=e.getBBox(),i=0,o=[],a=0;a<4;a++){var s=m(r,n[a]),l=s[0],u=s[1],c=s[2],s=s[3];o[a]=f({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},{x:l,y:u},{x:c,y:s}),o[a]&&(i+=1)}return[o,i]},t.fractionToLine=function(e,t){for(var n=["top","left","bottom","right"],r=e.getBBox(),i=Number.POSITIVE_INFINITY,o=0,a=0;a<4;a++){var s=m(r,n[a]),l=s[0],u=s[1],c=s[2],s=s[3],l=function(e,t){var n=(t.x2-t.x1)*(e.y1-t.y1)-(t.y2-t.y1)*(e.x1-t.x1),r=(e.x2-e.x1)*(e.y1-t.y1)-(e.y2-e.y1)*(e.x1-t.x1),t=(t.y2-t.y1)*(e.x2-e.x1)-(t.x2-t.x1)*(e.y2-e.y1);if(t){e=n/t,n=r/t;if(0<=e&&e<=1&&0<=n&&n<=1)return e}return Number.POSITIVE_INFINITY}(t,new y(l,u,c,s));0<=(l=Math.abs(l-.5))&&l<=1&&(o+=1,i=l<i?l:i)}return 0===o?-1:i},t.getPointsCenter=function(e){var t=0,n=0;if(0<e.length){for(var r=0,i=e;r<i.length;r++){var o=i[r];t+=o.x,n+=o.y}t/=e.length,n/=e.length}return{x:t,y:n}},t.squareDist=function(e,t){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)},t.pointLineSquareDist=function(e,t){var n=t.x1,r=t.y1,i=t.x2-n,t=t.y2-r,n=e.x-n,e=e.y-r,r=n*i+e*t<=0||(r=(n=i-n)*i+(e=t-e)*t)<=0?0:r*r/(i*i+t*t),i=n*n+e*e-r;return i=i<0?0:i},t.isPointsOverlap=function(e,t,n){return void 0===n&&(n=.001),Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<Math.pow(n,2)},t.pointRectSquareDist=function(e,t){var n=e.x<t.x,r=e.x>t.x+t.width,i=e.y>t.y+t.height,o=e.y<t.y;return n||r||i||o?!i||n||r?!o||n||r?!n||i||o?!r||i||o?(n=Math.min(Math.abs(t.x-e.x),Math.abs(t.x+t.width-e.x)))*n+(r=Math.min(Math.abs(t.y-e.y),Math.abs(t.y+t.height-e.y)))*r:Math.pow(t.x+t.width-e.x,2):Math.pow(t.x-e.x,2):Math.pow(e.y-t.y,2):Math.pow(t.y+t.height-e.y,2):0},t.pointLineDistance=function(e,t){var n=e[0],r=e[1],i=e[2],e=e[3],o=t.x,t=t.y,i=[i-n,e-r];return a.vec2.exactEquals(i,[0,0])?NaN:(a.vec2.normalize(e=[-i[1],i[0]],e),Math.abs(a.vec2.dot([o-n,t-r],e)))};t.lerp=s,t.lerpArray=function(e,t,n){for(var r=Math.min(e.length,t.length),i=new Array(r),o=0;o<r;o++)i[o]=s(e[o],t[o],n);return i}},28362:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStarPath=t.getSpline=t.getControlPoint=t.getClosedSpline=void 0,t.paddedHull=function(n,e){var t,r,i,o,a,s=n.length;if(!n||s<1)return"";if(1===s)return r=[n[0][0],n[0][1]-e],t=[n[0][0],n[0][1]+e],"M ".concat(r," A ").concat([e,e,"0,0,0",t].join(",")," A ").concat([e,e,"0,0,0",r].join(","));if(2===s)return r=h((t=n)[0],t[1]),i=f(r,e),o=d.vec2.add([0,0],t[0],d.vec2.scale([0,0],i,-1)),t=d.vec2.add([0,0],t[1],i),i=1.2*e,r=f(d.vec2.normalize([0,0],r),i),i=d.vec2.scale([0,0],r,-1),a=d.vec2.add([0,0],o,i),i=d.vec2.add([0,0],t,i),r=d.vec2.add([0,0],o,r),"M ".concat(o," C ").concat([a,i,t].join(",")," S ").concat([r,o].join(",")," Z");for(var l=n.map(function(e,t){t=n[(t+1)%s];return{p:e,v:d.vec2.normalize([0,0],h(e,t))}}),u=0;u<l.length;++u){var c=d.vec2.normalize([0,0],d.vec2.add([0,0],l[0<u?u-1:s-1].v,d.vec2.scale([0,0],l[u].v,-1)));l[u].p=d.vec2.add([0,0],l[u].p,d.vec2.scale([0,0],c,e))}return l.map(function(e){e=e.p;return{x:e[0],y:e[1]}})},t.pointsToPolygon=t.pathToPoints=void 0,t.roundedHull=function(e,t){if(!e||e.length<1)return"";if(1===e.length)return r=[e[0][0],e[0][1]-t],n=[e[0][0],e[0][1]+t],"M ".concat(r," A ").concat(t,",").concat(t,",0,0,0,").concat(n," A ").concat(t,",").concat(t,",0,0,0,").concat(r);var n,r,i,o,a;if(2===e.length)return n=e,r=d.vec2.scale([0,0],p(n[0],n[1]),t),i=d.vec2.scale([0,0],r,-1),o=d.vec2.add([0,0],n[0],r),r=d.vec2.add([0,0],n[1],r),a=d.vec2.add([0,0],n[1],i),n=d.vec2.add([0,0],n[0],i),"M ".concat(o," L ").concat(r," A ").concat([t,t,"0,0,0",a].join(",")," L ").concat(n," A ").concat([t,t,"0,0,0",o].join(","));for(var s=new Array(e.length),l=0;l<s.length;++l){var u=0===l?e[e.length-1]:e[l-1],c=e[l],f=d.vec2.scale([0,0],p(u,c),t);s[l]=[d.vec2.add([0,0],u,f),d.vec2.add([0,0],c,f)]}var h="A ".concat([t,t,"0,0,0,"].join(","));return(s=s.map(function(e,t){var n="";return(n=0===t?"M ".concat(s[s.length-1][1]," "):n)+"".concat(h+e[0]," L ").concat(e[1])})).join(" ")};var d=n(43708),s=n(73920),f=(t.getSpline=function(e){var t=[];if(e.length<2)throw new Error("point length must largn than 2, now it's ".concat(e.length));for(var n=0,r=e;n<r.length;n++){var i=r[n],o=i.x,i=i.y;t.push(o),t.push(i)}var a=(0,s.catmullRom2Bezier)(t);return a.unshift(["M",e[0].x,e[0].y]),a},t.getControlPoint=function(e,t,n,r){void 0===r&&(r=0);var n={x:(1-(n=void 0===n?0:n))*e.x+n*t.x,y:(1-n)*e.y+n*t.y},i=[0,0],t=(d.vec2.normalize(i,[t.x-e.x,t.y-e.y]),[-(i=i&&(i[0]||i[1])?i:[0,0])[1]*r,i[0]*r]);return n.x+=t[0],n.y+=t[1],n},t.pointsToPolygon=function(e,t){var n=e.length;if(!n)return"";for(var r="",i=0;i<n;i++)r+=function(e,n){return e&&n?e.replace(/\\?\{([^{}]+)\}/g,function(e,t){return"\\"===e.charAt(0)?e.slice(1):(e=0===(e=n[t])?"0":e)||""}):e}(0===i?"M{x} {y}":"L{x} {y}",e[i]);return t&&(r+="Z"),r},t.pathToPoints=function(e){var r=[];return e.forEach(function(e){if("A"!==e[0])for(var t=1;t<e.length;t+=2)r.push([e[t],e[t+1]]);else{var n=e.length;r.push([e[n-2],e[n-1]])}}),r},t.getClosedSpline=function(e){if(e.length<2)throw new Error("point length must largn than 2, now it's ".concat(e.length));var t=e[0],n=e[1],r=e[e.length-1],i=e[e.length-2];e.unshift(r),e.unshift(i),e.push(t),e.push(n);for(var o=[],a=1;a<e.length-2;a+=1){var s=e[a-1].x,l=e[a-1].y,u=e[a].x,c=e[a].y,f=e[a+1].x,h=e[a+1].y,d=f-((a!==e.length-2?e[a+2].x:f)-u)/6,p=h-((a!==e.length-2?e[a+2].y:h)-c)/6;o.push(["C",u+(f-s)/6,c+(h-l)/6,d,p,f,h])}return o.unshift(["M",r.x,r.y]),o},function(e,t){return d.vec2.scale([0,0],d.vec2.normalize([0,0],e),t)}),p=function(e,t){t=[e[1]-t[1],t[0]-e[0]],e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);if(0===e)throw new Error("p0 should not be equal to p1");return[t[0]/e,t[1]/e]},h=function(e,t){return[t[0]-e[0],t[1]-e[1]]};t.getStarPath=function(e,t){for(var n=[],r=0;r<5;r++){var i=Math.cos((18+72*r)/180*Math.PI)*e,o=Math.sin((18+72*r)/180*Math.PI)*e,a=Math.cos((54+72*r)/180*Math.PI)*t,s=Math.sin((54+72*r)/180*Math.PI)*t;n.push(0===r?["M",i,-o]:["L",i,-o]),n.push(["L",a,-s])}return n.push(["Z"]),n}},29001:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.singleDataValidation=t.dataValidation=void 0;var s=n(97582),l=n(31834),u=n(61592);t.dataValidation=function(e){var t,n,r,i,o,a;return e?(i=e.nodes,t=e.edges,a=void 0===(a=e.combos)?[]:a,i||t?(r=(i||[]).find(function(e){return!(0,l.isString)(e.id)}))?(console.warn("G6 Warning Tips: missing 'id' property, or %c".concat(r.id,"%c is not a string."),"font-size: 20px; color: red;",""),!1):(r=(i||[]).map(function(e){return e.id}),i=null==a?void 0:a.map(function(e){return e.id}),o=(0,s.__spreadArray)((0,s.__spreadArray)([],r,!0),i,!0),!(a=(t||[]).find(function(e){return!o.includes(e.source)||!o.includes(e.target)}))||(console.warn("G6 Warning Tips: The source %c".concat(a.source,"%c or the target %c").concat(a.target,"%c of the edge do not exist in the nodes or combos."),"font-size: 20px; color: red;","","font-size: 20px; color: red;",""),!1)):(n=!0,(0,u.traverseTree)(e,function(e){return!!(0,l.isString)(e.id)||(n=!1)}),n)):(console.error("G6 Error Tips: the data must be defined"),!1)},t.singleDataValidation=function(e,t){if("node"===e||"combo"===e){if(t.id&&!(0,l.isString)(t.id))return console.warn("G6 Warning Tips: missing 'id' property, or the 'id' %c".concat(t.id,"%c is not a string."),"font-size: 20px; color: red;",""),!1}else if(!("edge"!==e||t.source&&t.target))return console.warn("G6 Warning Tips: missing 'source' or 'target' for the edge."),!1;return!0}},61885:function(e,t,n){"use strict";n(79409)},58452:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.simplifyPolyline=t.removeRedundantPoint=t.removeFrom=t.reconstructPath=t.pathFinder=t.mergeBBox=t.isSegmentsIntersected=t.isSegmentCrossingBBox=t.isPointOutsideBBox=t.isHorizontalPort=t.isBending=t.isBBoxesOverlapping=t.heuristicCostEstimate=t.getSimplePolyline=t.getPolylinePoints=t.getPointsFromBBox=t.getPathWithBorderRadiusByPolyline=t.getNeighborPoints=t.getExpandedBBoxPoint=t.getExpandedBBox=t.getBorderRadiusPoints=t.getBBoxYCrossPoints=t.getBBoxXCrossPoints=t.getBBoxFromPoints=t.getBBoxFromPoint=t.getBBoxCrossPointsByPoint=t.filterConnectPoints=t.distance=t._costByPoints=t.SortedArray=void 0;function d(e){var t=e.x,e=e.y;return{x:t,y:e,centerX:t,centerY:e,minX:t,minY:e,maxX:t,maxY:e,height:0,width:0}}function p(e){var t=[],n=[],e=((e=void 0===e?[]:e).forEach(function(e){t.push(e.x),n.push(e.y)}),Math.min.apply(Math,t)),r=Math.max.apply(Math,t),i=Math.min.apply(Math,n),o=Math.max.apply(Math,n);return{centerX:(e+r)/2,centerY:(i+o)/2,maxX:r,maxY:o,minX:e,minY:i,height:o-i,width:r-e}}function y(e){for(var t=[],n={},r=e.length-1;0<=r;r--){var i=e[r];i.id="".concat(i.x,"|||").concat(i.y),n[i.id]||(n[i.id]=i,t.push(i))}return t}t.getBBoxFromPoint=d,t.getBBoxFromPoints=p,t.isBBoxesOverlapping=function(e,t){return 2*Math.abs(e.centerX-t.centerX)<e.width+t.width&&2*Math.abs(e.centerY-t.centerY)<e.height+t.height};function m(e,t){return e.width||e.height?{centerX:e.centerX,centerY:e.centerY,minX:e.minX-t,minY:e.minY-t,maxX:e.maxX+t,maxY:e.maxY+t,height:e.height+2*t,width:e.width+2*t}:e}function a(e,t){var n=Math.abs(e.x-t.centerX),e=Math.abs(e.y-t.centerY);return 0===n&&0===e?0:n/t.width>e/t.height}function g(e,t,n){var r,i,o=a(t,e);return 0===o?(r=e.centerX,i=e.centerY,n.y<t.y?i=e.minY:n.x>t.x?r=e.maxX:n.x<t.x?r=e.minX:n.x===t.x&&(i=e.maxY),{x:r,y:i}):o?{x:t.x>e.centerX?e.maxX:e.minX,y:t.y}:{x:t.x,y:t.y>e.centerY?e.maxY:e.minY}}function v(e,t){var n=Math.min(e.minX,t.minX),r=Math.min(e.minY,t.minY),i=Math.max(e.maxX,t.maxX),e=Math.max(e.maxY,t.maxY);return{centerX:(n+i)/2,centerY:(r+e)/2,minX:n,minY:r,maxX:i,maxY:e,height:e-r,width:i-n}}function b(e){return[{x:e.minX,y:e.minY},{x:e.maxX,y:e.minY},{x:e.maxX,y:e.maxY},{x:e.minX,y:e.maxY}]}function _(e,t){var n=e.x,e=e.y;return n<t.minX||n>t.maxX||e<t.minY||e>t.maxY}function n(e,t){return t<e.minX||t>e.maxX?[]:[{x:t,y:e.minY},{x:t,y:e.maxY}]}function r(e,t){return t<e.minY||t>e.maxY?[]:[{x:e.minX,y:t},{x:e.maxX,y:t}]}function x(e,t){return n(e,t.x).concat(r(e,t.y))}function w(e,t){return Math.abs(e.x-t.x)+Math.abs(e.y-t.y)}function o(t,e){var n=0;return e.forEach(function(e){e&&(t.x===e.x&&(n+=-2),t.y===e.y)&&(n+=-2)}),n}function A(e,t,n,r,i){return w(e,t)+w(e,n)+o(e,[t,n,r,i])}function S(e,t,n,r,i){void 0===i&&(i=0),e.unshift(t[r]),n[r]&&n[r]!==r&&i<=100&&S(e,t,n,n[r],i+1)}function s(e,t,n,r){var i=n.x-e.x,o=n.y-e.y,a=r.x-e.x,e=r.y-e.y,s=n.x-t.x,n=n.y-t.y,l=r.x-t.x,r=r.y-t.y;return(i*e-o*a)*(s*r-n*l)<=0&&(i*n-o*s)*(a*r-e*l)<=0}function l(e,t,n){var r,i,o;return!(!n.width&&!n.height)&&(r=(n=b(n))[0],i=n[1],o=n[2],n=n[3],s(e,t,r,i)||s(e,t,r,n)||s(e,t,i,o)||s(e,t,o,n))}function C(e,t,n,r){var i=[];return e.forEach(function(e){e===t||e.x!==t.x&&e.y!==t.y||l(e,t,n)||l(e,t,r)||i.push(e)}),y(i)}function O(e,r,i,t,n,o,a){var s,l=[],u=((s={})[r.id]=r,s),c={},f={},h={},d=(f[r.id]=0,h[r.id]=A(r,i,r),new M);d.add({id:r.id,value:h[r.id]});var p,y={};for(e.forEach(function(e){y[e.id]=e});Object.keys(u).length;){var m=d.minId(!1);if(!m)break;if((p=u[m])===i)return S(m=[],y,c,i.id),m;delete u[p.id],d.remove(p.id),l.push(p),C(e,p,t,n).forEach(function(e){var t,n;-1===l.indexOf(e)&&(t=e.id,u[t]||(u[t]=e),n=h[p.id]+w(p,e),f[t]&&f[t]<=n||(c[t]=p.id,f[t]=n,h[t]=f[t]+A(e,i,r,o,a)),d.add({id:t,value:h[t]}))})}return[r,i]}function u(e,t,n){return!(e.x===t.x&&t.x===n.x||e.y===t.y&&t.y===n.y)}function c(e,t,n,r){var i=w(e,t),o=w(n,t);return[{x:t.x-(r=o<(r=i<r?i:r)?o:r)/i*(t.x-e.x),y:t.y-r/i*(t.y-e.y)},{x:t.x-r/o*(t.x-n.x),y:t.y-r/o*(t.y-n.y)}]}var E=t.filterConnectPoints=y,M=(t.simplifyPolyline=E,t.getSimplePolyline=function(e,t){return[e,{x:e.x,y:t.y},t]},t.getExpandedBBox=m,t.isHorizontalPort=a,t.getExpandedBBoxPoint=g,t.mergeBBox=v,t.getPointsFromBBox=b,t.isPointOutsideBBox=_,t.getBBoxXCrossPoints=n,t.getBBoxYCrossPoints=r,t.getBBoxCrossPointsByPoint=x,t.distance=w,t._costByPoints=o,t.heuristicCostEstimate=A,t.reconstructPath=S,t.removeFrom=function(e,t){t=e.indexOf(t);-1<t&&e.splice(t,1)},t.isSegmentsIntersected=s,t.isSegmentCrossingBBox=l,t.getNeighborPoints=C,t.pathFinder=O,t.isBending=u,t.getBorderRadiusPoints=c,t.getPathWithBorderRadiusByPolyline=function(r,i){var o=[],e=r[0];return o.push("M".concat(e.x," ").concat(e.y)),r.forEach(function(e,t){var n=r[t+1],t=r[t+2];n&&t?u(e,n,t)?(t=(e=c(e,n,t,i))[0],e=e[1],o.push("L".concat(t.x," ").concat(t.y)),o.push("Q".concat(n.x," ").concat(n.y," ").concat(e.x," ").concat(e.y)),o.push("L".concat(e.x," ").concat(e.y))):o.push("L".concat(n.x," ").concat(n.y)):n&&o.push("L".concat(n.x," ").concat(n.y))}),o.join("")},t.getPolylinePoints=function(e,t,n,r,i){n&&n.getType()?"combo"===n.getType()?(u=n.getKeyShape().getBBox())?((a={x:a=(c=n.getModel()).x,y:c=c.y,width:u.width,height:u.height,minX:u.minX+a,maxX:u.maxX+a,minY:u.minY+c,maxY:u.maxY+c}).centerX=(a.minX+a.maxX)/2,a.centerY=(a.minY+a.maxY)/2):a=d(e):a=n&&n.getBBox():a=d(e),r&&r.getType()?"combo"===r.getType()?(u=r.getKeyShape().getBBox())?((o={x:n=(c=r.getModel()).x,y:c=c.y,width:u.width,height:u.height,minX:u.minX+n,maxX:u.maxX+n,minY:u.minY+c,maxY:u.maxY+c}).centerX=(o.minX+o.maxX)/2,o.centerY=(o.minY+o.maxY)/2):o=d(t):o=r&&r.getBBox():o=d(t);var o,a,s=m(a,i),l=m(o,i),n=g(s,e,t),u=g(l,t,e),c=p([n,u]),r=v(s,c),i=v(l,c),f=(f=[]).concat(b(r)).concat(b(i)),h={x:(e.x+t.x)/2,y:(e.y+t.y)/2},c=([c,r,i].forEach(function(e){f=f.concat(x(e,h).filter(function(e){return _(e,s)&&_(e,l)}))}),[{x:n.x,y:u.y},{x:u.x,y:n.y}].forEach(function(e){_(e,s)&&_(e,l)&&f.push(e)}),f.unshift(n),f.push(u),f=y(f),O(f,n,u,a,o,e,t));return c.unshift(e),c.push(t),E(c)},t.removeRedundantPoint=function(e){if(null!=e&&e.length)for(var t=e[e.length-1],n={x:t.x,y:t.y},r=[t],i=[t],o=e.length-2;0<=o;o--){var a,s=e[o];s.x===n.x?r.push(s):(r=[s],n.x=s.x),s.y===n.y?i.push(s):(i=[s],n.y=s.y),2<r.length?-1<(a=e.indexOf(r[1]))&&e.splice(a,1):2<i.length&&-1<(a=e.indexOf(i[1]))&&e.splice(a,1)}return e},i.prototype._innerAdd=function(e,t){for(var n=[0,t-1];1<n[1]-n[0];){var r=Math.floor((n[0]+n[1])/2);if(this.arr[r].value>e.value)n[1]=r;else{if(!(this.arr[r].value<e.value))return this.arr.splice(r,0,e),void(this.map[e.id]=!0);n[0]=r}}this.arr.splice(n[1],0,e),this.map[e.id]=!0},i.prototype.add=function(e){delete this.map[e.id];var t=this.arr.length;return!t||this.arr[t-1].value<e.value?(this.arr.push(e),void(this.map[e.id]=!0)):void this._innerAdd(e,t)},i.prototype.remove=function(e){this.map[e]&&delete this.map[e]},i.prototype._clearAndGetMinId=function(){for(var e,t=this.arr.length-1;0<=t;t--)this.map[this.arr[t].id]?e=this.arr[t].id:this.arr.splice(t,1);return e},i.prototype._findFirstId=function(){for(;this.arr.length;){var e=this.arr.shift();if(this.map[e.id])return e.id}},i.prototype.minId=function(e){return e?this._clearAndGetMinId():this._findFirstId()},i);function i(){this.arr=[],this.map={},this.arr=[],this.map={}}t.SortedArray=M},79409:function(e,t,n){"use strict";var r=n(97582),p=n(31834),c=n(48122),f=n(58452),h=n(79917);(0,c.registerEdge)("polyline",{options:{color:c.BaseGlobal.defaultEdge.color,size:c.BaseGlobal.defaultEdge.size,style:{radius:0,offset:15,x:0,y:0,stroke:c.BaseGlobal.defaultEdge.style.stroke,lineAppendWidth:c.BaseGlobal.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:c.BaseGlobal.edgeLabel.style.fill,fontSize:c.BaseGlobal.edgeLabel.style.fontSize,fontFamily:c.BaseGlobal.windowFontFamily}},routeCfg:{obstacles:[],maxAllowedDirectionChange:Math.PI,maximumLoops:500,gridSize:10},stateStyles:(0,r.__assign)({},c.BaseGlobal.edgeStateStyles)},shapeType:"polyline",labelPosition:"center",drawShape:function(e,t){e=this.getShapeStyle(e),0===e.radius&&delete e.radius,e=t.addShape("path",{className:"edge-shape",name:"edge-shape",attrs:e});return t.shapeMap["edge-shape"]=e},getShapeStyle:function(e){var t=this.options.style,n={stroke:e.color},t=(0,p.mix)({},t,n,e.style),n=(e=this.getPathPoints(e),this.radius=t.radius,this.offset=t.offset,e.startPoint),r=e.endPoint,i=this.getControlPoints(e),o=[n],a=((o=i?o.concat(i):o).push(r),e.sourceNode),s=e.targetNode,l=t.radius,u=this.options.routeCfg,u=(0,p.mix)({},u,e.routeCfg),o=(u.offset=t.offset,this.getPath(o,a,s,l,u,!Boolean(i)));return((0,p.isArray)(o)&&o.length<=1||(0,p.isString)(o)&&-1===o.indexOf("L"))&&(o="M0 0, L0 0"),(isNaN(n.x)||isNaN(n.y)||isNaN(r.x)||isNaN(r.y))&&(o="M0 0, L0 0"),(0,p.mix)({},c.BaseGlobal.defaultEdge.style,t,{lineWidth:e.size,path:o})},updateShapeStyle:function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d=t.getContainer();t.isVisible()&&(n={stroke:e.color},d=d.shapeMap["edge-shape"]||d.find(function(e){return"edge-shape"===e.get("className")})||t.getKeyShape(),t=e.size,r=(e=this.getPathPoints(e)).startPoint,i=e.endPoint,f=[r],(f=(o=this.getControlPoints(e))?f.concat(o):f).push(i),a=d.attr(),s=(0,p.mix)({},n,a,e.style),h=e.sourceNode,l=e.targetNode,u=s.radius,c=this.options.routeCfg,(c=(0,p.mix)({},c,e.routeCfg)).offset=s.offset,f=this.getPath(f,h,l,u,c,!Boolean(o)),((0,p.isArray)(f)&&f.length<=1||(0,p.isString)(f)&&-1===f.indexOf("L"))&&(f="M0 0, L0 0"),(isNaN(r.x)||isNaN(r.y)||isNaN(i.x)||isNaN(i.y))&&(f="M0 0, L0 0"),a.endArrow&&!1===s.endArrow&&(e.style.endArrow={path:""}),a.startArrow&&!1===s.startArrow&&(e.style.startArrow={path:""}),h=(0,p.mix)(n,d.attr(),{lineWidth:t,path:f},e.style),d)&&d.attr(h)},getPath:function(e,t,n,r,i,o){var a,s=i.offset,l=i.obstacles,u=i.simple;return!s||2<e.length||!1===o?r?(0,f.getPathWithBorderRadiusByPolyline)(e,r):(a=[],(0,p.each)(e,function(e,t){a.push(0===t?["M",e.x,e.y]:["L",e.x,e.y])}),a):(o=(u=!1===u||null!=l&&l.length?u:!0)?(0,f.getPolylinePoints)(e[e.length-1],e[0],n,t,s):(0,h.pathFinder)(e[0],e[e.length-1],t,n,i))&&o.length?r?(0,f.getPathWithBorderRadiusByPolyline)(o,r):(o=(0,f.removeRedundantPoint)(o),c.Util.pointsToPolygon(o)):"M0 0, L0 0"}},"single-edge")},79917:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathFinder=t.octolinearCfg=void 0;function W(e,t){return(t=Math.round(Math.abs(e/t)))<0?0:(e<0?-1:1)*t}function q(e,t,n){for(var r=1/0,i=0,o=t.length;i<o;i++){var a=n(e,t[i]);a<r&&(r=a)}return r}function K(e,t,n,r,i){var o=[];if(!n)return[e];var a=i.directions,s=i.offset,l=n.getBBox(),n=t.x>l.minX&&t.x<l.maxX&&t.y>l.minY&&t.y<l.maxY,u=(0,$.getExpandedBBox)(l,s);for(p in u)u[p]=W(u[p],i.gridSize);if(n){for(var c=0,f=a;c<f.length;c++)for(var h=f[c],d=[[{x:u.minX,y:u.minY},{x:u.maxX,y:u.minY}],[{x:u.minX,y:u.minY},{x:u.minX,y:u.maxY}],[{x:u.maxX,y:u.minY},{x:u.maxX,y:u.maxY}],[{x:u.minX,y:u.maxY},{x:u.maxX,y:u.maxY}]],p=0;p<4;p++){var y=d[p],y=m.Util.getLineIntersect(e,{x:e.x+h.stepX*u.width,y:e.y+h.stepY*u.height},y[0],y[1]);y&&!(0,$.isSegmentCrossingBBox)(e,y,l)&&(y.id="".concat(y.x,"|||").concat(y.y),o.push(y))}return o}return(t=(0,$.getExpandedBBoxPoint)(u,e,r)).id="".concat(t.x,"|||").concat(t.y),[t]}function X(e,t,n,r){var t=i(e,t),n=n[e.id];return n=i(n?{x:n.x,y:n.y}:r,e),o(n,t)}var m=n(48122),J=n(31834),$=n(58452),Z={offset:20,maxAllowedDirectionChange:Math.PI/2,maximumLoops:2e3,gridSize:10,directions:[{stepX:1,stepY:0},{stepX:-1,stepY:0},{stepX:0,stepY:1},{stepX:0,stepY:-1}],get penalties(){return{0:0,45:this.gridSize/2,90:this.gridSize/2}},distFunc:function(e,t){return Math.abs(e.x-t.x)+Math.abs(e.y-t.y)},fallbackRoute:function(e,t,n,r,i){return(0,$.simplifyPolyline)((0,$.getPolylinePoints)(e,t,n,r,i.offset))}},n={maxAllowedDirectionChange:Math.PI/4,directions:[{stepX:1,stepY:0},{stepX:1,stepY:1},{stepX:0,stepY:1},{stepX:-1,stepY:1},{stepX:-1,stepY:0},{stepX:-1,stepY:-1},{stepX:0,stepY:-1},{stepX:1,stepY:-1}],distFunc:function(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},fallbackRoute:function(e,t){return[e,t]}},i=(t.octolinearCfg=n,function(e,t){var n=t.x-e.x,t=t.y-e.y;return n||t?Math.atan2(t,n):0}),o=function(e,t){e=Math.abs(e-t);return e>Math.PI?2*Math.PI-e:e};t.pathFinder=function(e,t,n,r,i){if(isNaN(e.x)||isNaN(t.x))return[];var o,B,a,s=(0,J.deepMix)(Z,i),R=(s.obstacles=s.obstacles||[],s.penalties),l=s.gridSize,u=(i=s.obstacles.concat([n,r]),o=l,B=s.offset,a={},i.forEach(function(e){if(e)for(var t=(0,$.getExpandedBBox)(e.getBBox(),B),n=W(t.minX,o);n<=W(t.maxX,o);n+=1)for(var r=W(t.minY,o);r<=W(t.maxY,o);r+=1)a["".concat(n,"|||").concat(r)]=!0}),a),c={x:W(e.x,l),y:W(e.y,l)},f={x:W(t.x,l),y:W(t.y,l)},h=(e.id="".concat(c.x,"|||").concat(c.y),t.id="".concat(f.x,"|||").concat(f.y),K(c,e,n,f,s)),d=K(f,t,r,c,s);h.forEach(function(e){delete u[e.id]}),d.forEach(function(e){delete u[e.id]});for(var p={},N={},z={},y={},m={},g=new $.SortedArray,v=0;v<h.length;v++){var b=h[v];y[(p[b.id]=b).id]=0,m[b.id]=q(b,d,s.distFunc),g.add({id:b.id,value:m[b.id]})}var _,F=s.maximumLoops,V=1/0,H={};for(d.forEach(function(e){H["".concat(e.x,"|||").concat(e.y)]=!0}),Object.keys(p).forEach(function(e){e=p[e].id;m[e]<=V&&(V=m[e],_=p[e])});0<Object.keys(p).length&&0<F;){var x=g.minId((F+1)%30==0);if(!x)break;if(_=p[x],H["".concat(_.x,"|||").concat(_.y)]){x=_;var w=z;var A=c;var S=t;var Y=e;var G=f;var C=l;var O=[S],E=S,M=x.id,P=x.x,k=x.y,x={x:P,y:k,id:M};X(x,G,w,A)&&(E={x:G.x===S.x?S.x:x.x*C,y:G.y===S.y?S.y:x.y*C},O.unshift(E));for(var T=w[M];T&&T.id!==M;){var U={x:P,y:k,id:M},I={x:T.x,y:T.y,id:T.id};X(I,U,w,A)&&(E={x:I.x===U.x?E.x:I.x*C,y:I.y===U.y?E.y:I.y*C},O.unshift(E)),P=I.x,k=I.y,T=w[M=I.id]}return O[0].x=(P===A.x?Y:E).x,O[0].y=(k===A.y?Y:E).y,O.unshift(Y),O;return}for(delete p[_.id],g.remove(_.id),N[_.id]=!0,v=0;v<s.directions.length;v++){var L,Q,j=s.directions[v],D="".concat(Math.round(_.x)+j.stepX,"|||").concat(Math.round(_.y)+j.stepY),j={x:_.x+j.stepX,y:_.y+j.stepY,id:D};N[D]||(L=X(_,j,z,c))>s.maxAllowedDirectionChange||u[D]||(p[D]||(p[D]=j),L=R[L],L=s.distFunc(_,j)+(isNaN(L)?l:L),L=y[_.id]+L,(Q=y[D])&&Q<=L)||(z[D]=_,m[D]=(y[D]=L)+q(j,d,s.distFunc),g.add({id:D,value:m[D]}))}--F}return s.fallbackRoute(e,t,n,r,s)}},27509:function(e,t,n){"use strict";n(48476),n(61885)},68891:function(e,t,n){"use strict";var u=n(97582),r=n(48122),l=n(31834);(0,r.registerNode)("circle",{options:{size:r.BaseGlobal.defaultNode.size,style:{x:0,y:0,stroke:r.BaseGlobal.defaultNode.style.stroke,fill:r.BaseGlobal.defaultNode.style.fill,lineWidth:r.BaseGlobal.defaultNode.style.lineWidth},labelCfg:{style:{fill:r.BaseGlobal.nodeLabel.style.fill,fontSize:r.BaseGlobal.nodeLabel.style.fontSize,fontFamily:r.BaseGlobal.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:r.BaseGlobal.defaultNode.linkPoints.size,lineWidth:r.BaseGlobal.defaultNode.linkPoints.lineWidth,fill:r.BaseGlobal.defaultNode.linkPoints.fill,stroke:r.BaseGlobal.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:(0,u.__assign)({},r.BaseGlobal.nodeStateStyles)},shapeType:"circle",labelPosition:"center",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).icon,n=void 0===n?{}:n,r=this.getShapeStyle(e),n=(0,l.deepMix)({},n,e.icon),i="".concat(this.type,"-keyShape"),r=t.addShape("circle",{attrs:r,className:i,name:i,draggable:!0}),i=(t.shapeMap[i]=r,n.width),o=n.height,a=n.show,s=n.text;return a&&(a="".concat(this.type,"-icon"),t.shapeMap[a]=s?t.addShape("text",{attrs:(0,u.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},n),className:a,name:a,draggable:!0}):t.addShape("image",{attrs:(0,u.__assign)({x:-i/2,y:-o/2},n),className:a,name:a,draggable:!0})),this.drawLinkPoints(e,t),r},drawLinkPoints:function(e,t){var n,r,i,o,a,s,l=(this.mergeStyle||this.getOptions(e)).linkPoints;l&&(n=(l=l||{}).top,s=l.left,a=l.right,r=l.bottom,i=l.size,o=l.r,l=(0,u.__rest)(l,["top","left","right","bottom","size","r"]),e=this.getSize(e)[0]/2,s&&(t.shapeMap[s="link-point-left"]=t.addShape("circle",{attrs:(0,u.__assign)((0,u.__assign)({},l),{x:-e,y:0,r:i/2||o||5}),className:s,name:s,isAnchorPoint:!0})),a&&(t.shapeMap[s="link-point-right"]=t.addShape("circle",{attrs:(0,u.__assign)((0,u.__assign)({},l),{x:e,y:0,r:i/2||o||5}),className:s,name:s,isAnchorPoint:!0})),n&&(t.shapeMap[a="link-point-top"]=t.addShape("circle",{attrs:(0,u.__assign)((0,u.__assign)({},l),{x:0,y:-e,r:i/2||o||5}),className:a,name:a,isAnchorPoint:!0})),r)&&(t.shapeMap[s="link-point-bottom"]=t.addShape("circle",{attrs:(0,u.__assign)((0,u.__assign)({},l),{x:0,y:e,r:i/2||o||5}),className:s,name:s,isAnchorPoint:!0}))},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},t=(0,l.deepMix)({},t,n),n=this.getSize(e)[0]/2;return(0,u.__assign)({x:0,y:0,r:n},t)},update:function(e,t,n){var r=t.getContainer(),i=this.getSize(e),o=(0,u.__assign)({},e.style);void 0===e.style.stroke&&e.color&&(o.stroke=e.color),void 0!==e.style.r||isNaN(i[0])||(o.r=i[0]/2),this.updateShape(e,t,o,!0,n),this.updateLinkPoints(e,r)}},"single-node")},1359:function(e,t,n){"use strict";var c=n(97582),r=n(48122),s=n(31834);(0,r.registerNode)("diamond",{options:{size:[80,80],style:{stroke:r.BaseGlobal.defaultNode.style.stroke,fill:r.BaseGlobal.defaultNode.style.fill,lineWidth:r.BaseGlobal.defaultNode.style.lineWidth},labelCfg:{style:{fill:r.BaseGlobal.nodeLabel.style.fill,fontSize:r.BaseGlobal.nodeLabel.style.fontSize,fontFamily:r.BaseGlobal.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:r.BaseGlobal.defaultNode.linkPoints.size,lineWidth:r.BaseGlobal.defaultNode.linkPoints.lineWidth,fill:r.BaseGlobal.defaultNode.linkPoints.fill,stroke:r.BaseGlobal.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:(0,c.__assign)({},r.BaseGlobal.nodeStateStyles)},shapeType:"diamond",labelPosition:"center",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).icon,n=void 0===n?{}:n,r=this.getShapeStyle(e),r=t.addShape("path",{attrs:r,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0}),i=(t.shapeMap["".concat(this.type,"-keyShape")]=r,n.width),o=n.height,a=n.show,s=n.text;return a&&(t.shapeMap["".concat(this.type,"-icon")]=s?t.addShape("text",{attrs:(0,c.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},n),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}):t.addShape("image",{attrs:(0,c.__assign)({x:-i/2,y:-o/2},n),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0})),this.drawLinkPoints(e,t),r},drawLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints,n=void 0===n?{}:n,r=n.top,i=n.left,o=n.right,a=n.bottom,s=n.size,l=n.r,n=(0,c.__rest)(n,["top","left","right","bottom","size","r"]),e=this.getSize(e),u=e[0],e=e[1];i&&(t.shapeMap["link-point-left"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:-u/2,y:0,r:s/2||l||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})),o&&(t.shapeMap["link-point-right"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:u/2,y:0,r:s/2||l||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})),r&&(t.shapeMap["link-point-top"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:0,y:-e/2,r:s/2||l||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})),a&&(t.shapeMap["link-point-bottom"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:0,y:e/2,r:s/2||l||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0}))},getPath:function(e){var e=this.getSize(e),t=e[0],e=e[1];return[["M",0,-e/2],["L",t/2,0],["L",0,e/2],["L",-t/2,0],["Z"]]},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},t=(0,s.mix)({},t,n),n=this.getPath(e);return(0,c.__assign)({path:n},t)},update:function(e,t,n){var r=t.getContainer(),i=this.getOptions({}).style,o=this.getPath(e),o={stroke:e.color,path:o},a=t.get("keyShape"),i=(0,s.mix)({},i,a.attr(),o),i=(0,s.mix)(i,e.style);this.updateShape(e,t,i,!0,n),this.updateLinkPoints(e,r)}},"single-node")},41775:function(e,t,n){"use strict";var l=n(97582),r=n(48122),u=n(31834),h=r.Util.defaultSubjectColors,c=((0,r.registerNode)("donut",{options:{size:r.BaseGlobal.defaultNode.size,style:{x:0,y:0,stroke:r.BaseGlobal.defaultNode.style.stroke,fill:r.BaseGlobal.defaultNode.style.fill,lineWidth:r.BaseGlobal.defaultNode.style.lineWidth},labelCfg:{style:{fill:r.BaseGlobal.nodeLabel.style.fill,fontSize:r.BaseGlobal.nodeLabel.style.fontSize,fontFamily:r.BaseGlobal.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:r.BaseGlobal.defaultNode.linkPoints.size,lineWidth:r.BaseGlobal.defaultNode.linkPoints.lineWidth,fill:r.BaseGlobal.defaultNode.linkPoints.fill,stroke:r.BaseGlobal.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:(0,l.__assign)({},r.BaseGlobal.nodeStateStyles)},shapeType:"circle",labelPosition:"center",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).icon,n=void 0===n?{}:n,r=this.getShapeStyle(e),n=(0,u.deepMix)({},n,e.icon),r=t.addShape("circle",{attrs:r,className:"".concat(this.type,"-keyShape"),draggable:!0,name:"".concat(this.type,"-keyShape")}),i=(t.shapeMap["".concat(this.type,"-keyShape")]=r,n.width),o=n.height,a=n.show,s=n.text;return a&&(t.shapeMap["".concat(this.type,"-icon")]=s?t.addShape("text",{attrs:(0,l.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},n),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}):t.addShape("image",{attrs:(0,l.__assign)({x:-i/2,y:-o/2},n),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0})),c(e,t,r),this.drawLinkPoints(e,t),r},updateShape:function(e,t,n,r,i){var o=t.get("keyShape");o.attr((0,l.__assign)({},n)),a(e,t,o),this.updateLabel(e,t,i),r&&this.updateIcon(e,t)}},"circle"),function(e,t,n){var r=e.donutAttrs,r=void 0===r?{}:r,e=e.donutColorMap,e=void 0===e?{}:e,i=Object.keys(r).length;if(r&&1<i){var r=m(r,e),o=r.configs,a=r.totalValue;if(a){var e=g(n),s=e.lineWidth,l=e.arcR,u=[l,0],c=0;if(1===i)y(t,{arcR:l,arcBegin:u,beginAngle:c,config:o[0],fanIndex:0,lineWidth:s,totalValue:a,drawWhole:!0});else for(var f=0;f<o.length;f++){var h=y(t,{arcR:l,arcBegin:u,beginAngle:c,config:o[f],fanIndex:f,lineWidth:s,totalValue:a});if(h.shouldEnd)return;u=h.arcBegin,c=h.beginAngle}}}}),y=function(e,t){var n,r,i=t.arcR,o=t.arcBegin,a=t.beginAngle,s=t.config,l=t.fanIndex,u=t.lineWidth,c=t.totalValue,f=t.drawWhole,f=void 0!==f&&f,t=t.updateShape,t=void 0===t?void 0:t,c=s.value/c;if(c<.001)return{beginAngle:a,arcBegin:o,shape:void 0,shouldEnd:!1};a=f||.999<c?(r=[i,1e-4],1):(n=a+(a=c*Math.PI*2),r=[i*Math.cos(n),-i*Math.sin(n)],a>Math.PI?1:0);o={path:[["M",o[0],o[1]],["A",i,i,0,a,0,r[0],r[1]]],stroke:s.color||(null==t?void 0:t.attr("stroke"))||h[l%h.length],lineWidth:u};return t?t.attr(o):e.shapeMap["".concat("fan-shape-").concat(l)]=e.addShape("path",{attrs:o,name:"".concat("fan-shape-").concat(l),draggable:!0}),{beginAngle:n,arcBegin:r,shape:e.shapeMap["".concat("fan-shape-").concat(l)],shouldEnd:f||.999<c}},a=function(e,t,n){var r=e.donutAttrs,e=e.donutColorMap,e=void 0===e?{}:e,i={},o=t.getContainer();if(r){var t=m(r,e),a=t.configs,s=t.totalValue;if(s)for(var r=g(n),l=r.lineWidth,u=r.arcR,c=[u,0],f=0,h=0;h<a.length;h++){var d="".concat("fan-shape-").concat(h),p=y(o,{arcR:u,arcBegin:c,beginAngle:f,config:a[h],fanIndex:h,lineWidth:l,totalValue:s,drawWhole:1===a.length,updateShape:o.shapeMap[d]});if(p.shape&&(i[d]=!0),p.shouldEnd)break;c=p.arcBegin,f=p.beginAngle}}Object.keys(o.shapeMap).filter(function(e){return e.includes("fan-shape-")}).forEach(function(e){i[e]||(o.shapeMap[e].remove(!0),delete o.shapeMap[e])})},m=function(n,r){var i=0,o=[];return Object.keys(n).forEach(function(e){var t=+n[e];isNaN(t)||(o.push({key:e,value:t,color:r[e]}),i+=t)}),{totalValue:i,configs:o}},g=function(e){var e=e.attr("r"),t=.6*e;return{lineWidth:e-t,arcR:(e+t)/2}}},27983:function(e,t,n){"use strict";var c=n(97582),r=n(48122),s=n(31834);(0,r.registerNode)("ellipse",{options:{size:[80,40],style:{x:0,y:0,stroke:r.BaseGlobal.defaultNode.style.stroke,fill:r.BaseGlobal.defaultNode.style.fill,lineWidth:r.BaseGlobal.defaultNode.style.lineWidth},labelCfg:{style:{fill:r.BaseGlobal.nodeLabel.style.fill,fontSize:r.BaseGlobal.nodeLabel.style.fontSize,fontFamily:r.BaseGlobal.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:r.BaseGlobal.defaultNode.linkPoints.size,lineWidth:r.BaseGlobal.defaultNode.linkPoints.lineWidth,fill:r.BaseGlobal.defaultNode.linkPoints.fill,stroke:r.BaseGlobal.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:(0,c.__assign)({},r.BaseGlobal.nodeStateStyles)},shapeType:"ellipse",labelPosition:"center",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).icon,n=void 0===n?{}:n,r=this.getShapeStyle(e),r=t.addShape("ellipse",{attrs:r,className:"ellipse-keyShape",name:"ellipse-keyShape",draggable:!0}),i=(t.shapeMap["ellipse-keyShape"]=r,n.width),o=n.height,a=n.show,s=n.text;return a&&(t.shapeMap["".concat(this.type,"-icon")]=s?t.addShape("text",{attrs:(0,c.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},n),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}):t.addShape("image",{attrs:(0,c.__assign)({x:-i/2,y:-o/2},n),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0})),this.drawLinkPoints(e,t),r},drawLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints,n=void 0===n?{}:n,r=n.top,i=n.left,o=n.right,a=n.bottom,s=n.size,l=n.r,n=(0,c.__rest)(n,["top","left","right","bottom","size","r"]),e=this.getSize(e),u=e[0]/2,e=e[1]/2;i&&(t.shapeMap["link-point-left"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:-u,y:0,r:s/2||l||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})),o&&(t.shapeMap["link-point-right"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:u,y:0,r:s/2||l||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})),r&&(t.shapeMap["link-point-top"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:0,y:-e,r:s/2||l||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})),a&&(t.shapeMap["link-point-bottom"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:0,y:e,r:s/2||l||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0}))},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},t=(0,s.mix)({},t,n),n=this.getSize(e),e=n[0]/2,n=n[1]/2;return(0,c.__assign)({x:0,y:0,rx:e,ry:n},t)},update:function(e,t,n){var r=t.getContainer(),i=this.getOptions({}).style,o=this.getSize(e),o={stroke:e.color,rx:o[0]/2,ry:o[1]/2},a=t.get("keyShape"),i=(0,s.mix)({},i,a.attr(),o),i=(0,s.mix)(i,e.style);this.updateShape(e,t,i,!0,n),this.updateLinkPoints(e,r)}},"single-node")},48476:function(e,t,n){"use strict";n(68891),n(57676),n(27983),n(1359),n(99764),n(16125),n(13556),n(41775)},16125:function(e,t,n){"use strict";var g=n(97582),v=n(31834),n=n(48122);(0,n.registerNode)("modelRect",{options:{size:[185,70],style:{radius:5,stroke:"#69c0ff",fill:"#ffffff",lineWidth:n.BaseGlobal.defaultNode.style.lineWidth,fillOpacity:1},labelCfg:{style:{fill:"#595959",fontSize:14,fontFamily:n.BaseGlobal.windowFontFamily},offset:30},descriptionCfg:{style:{fontSize:12,fill:"#bfbfbf",fontFamily:n.BaseGlobal.windowFontFamily},paddingTop:0},preRect:{show:!0,width:4,fill:"#40a9ff",radius:2},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:10,lineWidth:1,fill:"#72CC4A",stroke:"#72CC4A"},logoIcon:{show:!0,x:0,y:0,img:"https://gw.alipayobjects.com/zos/basement_prod/4f81893c-1806-4de4-aff3-9a6b266bc8a2.svg",width:16,height:16,offset:0},stateIcon:{show:!0,x:0,y:0,img:"https://gw.alipayobjects.com/zos/basement_prod/300a2523-67e0-4cbf-9d4a-67c077b40395.svg",width:16,height:16,offset:-5},anchorPoints:[[0,.5],[1,.5]]},shapeType:"modelRect",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).preRect,n=void 0===n?{}:n,r=this.getShapeStyle(e),i=this.getSize(e),o=i[0],i=i[1],r=t.addShape("rect",{attrs:r,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0}),a=(t.shapeMap["".concat(this.type,"-keyShape")]=r,n.show),n=(0,g.__rest)(n,["show"]);return a&&(t.shapeMap["pre-rect"]=t.addShape("rect",{attrs:(0,g.__assign)({x:-o/2,y:-i/2,height:i},n),className:"pre-rect",name:"pre-rect",draggable:!0})),this.drawLogoIcon(e,t),this.drawStateIcon(e,t),this.drawLinkPoints(e,t),r},drawLogoIcon:function(e,t){var n,r,i,o,a,s,l=(this.mergeStyle||this.getOptions(e)).logoIcon,l=void 0===l?{}:l,e=this.getSize(e)[0];l.show&&(n=l.width,r=l.height,i=l.x,o=l.y,a=l.offset,s=l.text,l=(0,g.__rest)(l,["width","height","x","y","offset","text"]),t.shapeMap["rect-logo-icon"]=s?t.addShape("text",{attrs:(0,g.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},l),className:"rect-logo-icon",name:"rect-logo-icon",draggable:!0}):t.addShape("image",{attrs:(0,g.__assign)((0,g.__assign)({},l),{x:i||-e/2+n+a,y:o||-r/2,width:n,height:r}),className:"rect-logo-icon",name:"rect-logo-icon",draggable:!0}))},drawStateIcon:function(e,t){var n,r,i,o,a,s,l=(this.mergeStyle||this.getOptions(e)).stateIcon,l=void 0===l?{}:l,e=this.getSize(e)[0];l.show&&(n=l.width,r=l.height,i=l.x,o=l.y,a=l.offset,s=l.text,l=(0,g.__rest)(l,["width","height","x","y","offset","text"]),t.shapeMap["rect-state-icon"]=s?t.addShape("text",{attrs:(0,g.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},l),className:"rect-state-icon",name:"rect-state-icon",draggable:!0}):t.addShape("image",{attrs:(0,g.__assign)((0,g.__assign)({},l),{x:i||e/2-n+a,y:o||-r/2,width:n,height:r}),className:"rect-state-icon",name:"rect-state-icon",draggable:!0}))},drawLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints,n=void 0===n?{}:n,r=n.top,i=n.left,o=n.right,a=n.bottom,s=n.size,l=n.r,n=(0,g.__rest)(n,["top","left","right","bottom","size","r"]),e=this.getSize(e),u=e[0],e=e[1];i&&(t.shapeMap["link-point-left"]=t.addShape("circle",{attrs:(0,g.__assign)((0,g.__assign)({},n),{x:-u/2,y:0,r:s/2||l||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})),o&&(t.shapeMap["link-point-right"]=t.addShape("circle",{attrs:(0,g.__assign)((0,g.__assign)({},n),{x:u/2,y:0,r:s/2||l||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})),r&&(t.shapeMap["link-point-top"]=t.addShape("circle",{attrs:(0,g.__assign)((0,g.__assign)({},n),{x:0,y:-e/2,r:s/2||l||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})),a&&(t.shapeMap["link-point-bottom"]=t.addShape("circle",{attrs:(0,g.__assign)((0,g.__assign)({},n),{x:0,y:e/2,r:s/2||l||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0}))},drawLabel:function(e,t){var n=this.getOptions(e),r=n.labelCfg,r=void 0===r?{}:r,i=n.logoIcon,i=void 0===i?{}:i,n=n.descriptionCfg,n=void 0===n?{}:n,o=this.getSize(e)[0],a=null,s=i.show,i=i.width,l=-o/2+r.offset,s=(s&&(l=-o/2+i+r.offset),r.style),o=n.style,i=n.paddingTop;return(0,v.isString)(e.description)?(a=t.addShape("text",{attrs:(0,g.__assign)((0,g.__assign)({},s),{x:l,y:-5,text:e.label}),className:"text-shape",name:"text-shape",draggable:!0,labelRelated:!0}),t.shapeMap["text-shape"]=a,t.shapeMap["rect-description"]=t.addShape("text",{attrs:(0,g.__assign)((0,g.__assign)({},o),{x:l,y:17+(i||0),text:e.description}),className:"rect-description",name:"rect-description",draggable:!0,labelRelated:!0})):(a=t.addShape("text",{attrs:(0,g.__assign)((0,g.__assign)({},s),{x:l,y:7,text:e.label}),className:"text-shape",name:"text-shape",draggable:!0,labelRelated:!0}),t.shapeMap["text-shape"]=a),a},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},t=(0,v.mix)({},t,n),n=this.getSize(e),e=t.width||n[0],n=t.height||n[1];return(0,g.__assign)({x:-e/2,y:-n/2,width:e,height:n},t)},update:function(e,t){var n,r,i,o,a,s=this.mergeStyle||this.getOptions(e),l=s.style,l=void 0===l?{}:l,u=s.labelCfg,u=void 0===u?{}:u,s=s.descriptionCfg,s=void 0===s?{}:s,c=this.getSize(e),f=c[0],c=c[1],l=(t.get("keyShape").attr((0,g.__assign)((0,g.__assign)({},l),{x:-f/2,y:-c/2,width:f,height:c})),t.getContainer()),t=l.shapeMap["rect-logo-icon"]||l.find(function(e){return"rect-logo-icon"===e.get("className")}),h=t?t.attr():{},h=(0,v.mix)({},h,e.logoIcon),d=h.width,p=(void 0===d&&(d=this.options.logoIcon.width),e.logoIcon?e.logoIcon.show:void 0),y=u.offset,d=-f/2+d+y,y=(p||void 0===p||(d=-f/2+y),l.shapeMap["node-label"]||l.find(function(e){return"node-label"===e.get("className")})),m=l.shapeMap["rect-description"]||l.find(function(e){return"rect-description"===e.get("className")}),u=(e.label&&(y?(a=e.labelCfg?e.labelCfg.style:{},o=(0,v.mix)({},y.attr(),a),e.label&&(o.text=e.label),o.x=d,(0,v.isString)(e.description)&&(o.y=-5),m&&(m.resetMatrix(),m.attr({x:d})),y.resetMatrix(),y.attr(o)):l.shapeMap["node-label"]=l.addShape("text",{attrs:(0,g.__assign)((0,g.__assign)({},u.style),{x:d,y:e.description?-5:7,text:e.label}),className:"node-label",name:"node-label",draggable:!0,labelRelated:!0})),(0,v.isString)(e.description)&&(y=s.paddingTop,m?(a=e.descriptionCfg?e.descriptionCfg.style:{},o=(0,v.mix)({},m.attr(),a),(0,v.isString)(e.description)&&(o.text=e.description),o.x=d,m.resetMatrix(),m.attr((0,g.__assign)((0,g.__assign)({},o),{y:17+(y||0)}))):l.shapeMap["rect-description"]=l.addShape("text",{attrs:(0,g.__assign)((0,g.__assign)({},s.style),{x:d,y:17+(y||0),text:e.description}),className:"rect-description",name:"rect-description",draggable:!0,labelRelated:!0})),l.shapeMap["pre-rect"]||l.find(function(e){return"pre-rect"===e.get("className")})),d=(u&&!u.destroyed&&(a=(0,v.mix)({},u.attr(),e.preRect),u.attr((0,g.__assign)((0,g.__assign)({},a),{x:-f/2,y:-c/2,height:c}))),t&&!t.destroyed?p||void 0===p?(m=h.width,n=h.height,r=h.x,i=h.y,o=h.offset,s=(0,g.__rest)(h,["width","height","x","y","offset"]),t.attr((0,g.__assign)((0,g.__assign)({},s),{x:r||-f/2+m+o,y:i||-n/2,width:m,height:n}))):(t.remove(),delete l.shapeMap["pre-rect"]):p&&this.drawLogoIcon(e,l),l.shapeMap["rect-state-icon"]||l.find(function(e){return"rect-state-icon"===e.get("className")})),y=d?d.attr():{},u=(0,v.mix)({},y,e.stateIcon);d?(u.show||void 0===u.show||(d.remove(),delete l.shapeMap["rect-state-icon"]),a=u.width,n=u.height,r=u.x,i=u.y,c=u.offset,h=(0,g.__rest)(u,["width","height","x","y","offset"]),d.attr((0,g.__assign)((0,g.__assign)({},h),{x:r||f/2-a+c,y:i||-n/2,width:a,height:n}))):u.show&&this.drawStateIcon(e,l),this.updateLinkPoints(e,l)},getOptions:function(e,t){return"move"===t?e:(0,v.deepMix)({},this.options,this.getCustomConfig(e)||{},e)}},"single-node")},57676:function(e,t,n){"use strict";var c=n(97582),s=n(31834),n=n(48122);(0,n.registerNode)("rect",{options:{size:[100,30],style:{radius:0,stroke:n.BaseGlobal.defaultNode.style.stroke,fill:n.BaseGlobal.defaultNode.style.fill,lineWidth:n.BaseGlobal.defaultNode.style.lineWidth},labelCfg:{style:{fill:n.BaseGlobal.nodeLabel.style.fill,fontSize:n.BaseGlobal.nodeLabel.style.fontSize,fontFamily:n.BaseGlobal.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:n.BaseGlobal.defaultNode.linkPoints.size,lineWidth:n.BaseGlobal.defaultNode.linkPoints.lineWidth,fill:n.BaseGlobal.defaultNode.linkPoints.fill,stroke:n.BaseGlobal.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},anchorPoints:[[0,.5],[1,.5]],stateStyles:(0,c.__assign)({},n.BaseGlobal.nodeStateStyles)},shapeType:"rect",labelPosition:"center",drawShape:function(e,t){var n=this.getShapeStyle(e),n=t.addShape("rect",{attrs:n,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0});return t.shapeMap["".concat(this.type,"-keyShape")]=n,this.drawLinkPoints(e,t),n},drawLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints,n=void 0===n?{}:n,r=n.top,i=n.left,o=n.right,a=n.bottom,s=n.size,l=n.r,n=(0,c.__rest)(n,["top","left","right","bottom","size","r"]),e=this.getSize(e),u=e[0],e=e[1];i&&(t.shapeMap["link-point-left"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:-u/2,y:0,r:s/2||l||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})),o&&(t.shapeMap["link-point-right"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:u/2,y:0,r:s/2||l||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})),r&&(t.shapeMap["link-point-top"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:0,y:-e/2,r:s/2||l||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})),a&&(t.shapeMap["link-point-bottom"]=t.addShape("circle",{attrs:(0,c.__assign)((0,c.__assign)({},n),{x:0,y:e/2,r:s/2||l||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0}))},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},t=(0,s.mix)({},t,n),n=this.getSize(e),e=t.width||n[0],n=t.height||n[1];return(0,c.__assign)({x:-e/2,y:-n/2,width:e,height:n},t)},update:function(e,t,n){var r=t.getContainer(),i=this.getOptions({}).style,o=this.getSize(e),a=t.get("keyShape"),o=(e.size||(o[0]=a.attr("width")||i.width,o[1]=a.attr("height")||i.height),{stroke:e.color,x:-o[0]/2,y:-o[1]/2,width:o[0],height:o[1]}),i=(0,s.mix)({},i,a.attr(),o),i=(0,s.mix)(i,e.style);this.updateShape(e,t,i,!1,n),this.updateLinkPoints(e,r)}},"single-node")},13556:function(e,t,n){"use strict";var m=n(97582),r=n(48122),g=n(31834);(0,r.registerNode)("star",{options:{size:60,style:{stroke:r.BaseGlobal.defaultNode.style.stroke,fill:r.BaseGlobal.defaultNode.style.fill,lineWidth:r.BaseGlobal.defaultNode.style.lineWidth},labelCfg:{style:{fill:r.BaseGlobal.nodeLabel.style.fill,fontSize:r.BaseGlobal.nodeLabel.style.fontSize,fontFamily:r.BaseGlobal.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:r.BaseGlobal.defaultNode.linkPoints.size,lineWidth:r.BaseGlobal.defaultNode.linkPoints.lineWidth,fill:r.BaseGlobal.defaultNode.linkPoints.fill,stroke:r.BaseGlobal.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:(0,m.__assign)({},r.BaseGlobal.nodeStateStyles)},shapeType:"star",labelPosition:"center",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).icon,n=void 0===n?{}:n,r=this.getShapeStyle(e),r=t.addShape("path",{attrs:r,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0}),i=(t.shapeMap["".concat(this.type,"-keyShape")]=r,n.width),o=n.height,a=n.show,s=n.text;return a&&(t.shapeMap["".concat(this.type,"-icon")]=s?t.addShape("text",{attrs:(0,m.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},n),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}):t.addShape("image",{attrs:(0,m.__assign)({x:-i/2,y:-o/2},n),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0})),this.drawLinkPoints(e,t),r},drawLinkPoints:function(e,t){var n,r,i=(this.mergeStyle||this.getOptions(e)).linkPoints,i=void 0===i?{}:i,o=i.top,a=i.left,s=i.right,l=i.leftBottom,u=i.rightBottom,c=i.size,f=i.r,i=(0,m.__rest)(i,["top","left","right","leftBottom","rightBottom","size","r"]),e=this.getSize(e)[0];s&&(n=Math.cos(.1*Math.PI)*e,r=Math.sin(.1*Math.PI)*e,t.shapeMap["link-point-right"]=t.addShape("circle",{attrs:(0,m.__assign)((0,m.__assign)({},i),{x:n,y:-r,r:c/2||f||5}),className:"link-point-right",name:"link-point-right"})),o&&(n=Math.cos(.5*Math.PI)*e,r=Math.sin(.5*Math.PI)*e,t.shapeMap["link-point-top"]=t.addShape("circle",{attrs:(0,m.__assign)((0,m.__assign)({},i),{x:n,y:-r,r:c/2||f||5}),className:"link-point-top",name:"link-point-top"})),a&&(n=Math.cos(.9*Math.PI)*e,r=Math.sin(.9*Math.PI)*e,t.shapeMap["link-point-left"]=t.addShape("circle",{attrs:(0,m.__assign)((0,m.__assign)({},i),{x:n,y:-r,r:c/2||f||5}),className:"link-point-left",name:"link-point-left"})),l&&(n=Math.cos(1.3*Math.PI)*e,r=Math.sin(1.3*Math.PI)*e,t.shapeMap["link-point-bottom"]=t.addShape("circle",{attrs:(0,m.__assign)((0,m.__assign)({},i),{x:n,y:-r,r:c/2||f||5}),className:"link-point-left-bottom",name:"link-point-left-bottom"})),u&&(n=Math.cos(1.7*Math.PI)*e,r=Math.sin(1.7*Math.PI)*e,t.shapeMap["link-point-right-bottom"]=t.addShape("circle",{attrs:(0,m.__assign)((0,m.__assign)({},i),{x:n,y:-r,r:c/2||f||5}),className:"link-point-right-bottom",name:"link-point-right-bottom"}))},getPath:function(e){var t=this.getSize(e)[0],e=e.innerR||3*t/8;return r.Util.getStarPath(t,e)},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},t=(0,g.mix)({},t,n),n=this.getPath(e);return(0,m.__assign)({path:n},t)},update:function(e,t,n){var r=t.getContainer(),i=this.getOptions({}).style,o=this.getPath(e),o={stroke:e.color,path:o},a=t.get("keyShape"),i=(0,g.mix)({},i,a.attr(),o),i=(0,g.mix)(i,e.style);this.updateShape(e,t,i,!0,n),this.updateLinkPoints(e,r)},updateLinkPoints:function(e,t){var n=this.getOptions({}).linkPoints,r=t.shapeMap["link-point-left"]||t.find(function(e){return"link-point-left"===e.get("className")}),i=t.shapeMap["link-point-right"]||t.find(function(e){return"link-point-right"===e.get("className")}),o=t.shapeMap["link-point-top"]||t.find(function(e){return"link-point-top"===e.get("className")}),a=t.shapeMap["link-point-left-bottom"]||t.find(function(e){return"link-point-left-bottom"===e.get("className")}),s=t.shapeMap["link-point-left-bottom"]||t.find(function(e){return"link-point-right-bottom"===e.get("className")}),l=r||i||o||a||s,l=(l&&(n=l.attr()),(0,g.mix)({},n,e.linkPoints)),n=l.fill,u=l.stroke,c=l.lineWidth,f=(f=l.size/2)||l.r,l=e.linkPoints||{left:void 0,right:void 0,top:void 0,leftBottom:void 0,rightBottom:void 0},h=l.left,d=l.right,p=l.top,y=l.leftBottom,l=l.rightBottom,e=this.getSize(e)[0],f={r:f,fill:n,stroke:u,lineWidth:c},n=Math.cos(.1*Math.PI)*e,u=Math.sin(.1*Math.PI)*e;i?d||void 0===d?i.attr((0,m.__assign)((0,m.__assign)({},f),{x:n,y:-u})):(i.remove(),delete t.shapeMap["link-point-right"]):d&&(t.shapeMap["link-point-right"]=t.addShape("circle",{attrs:(0,m.__assign)((0,m.__assign)({},f),{x:n,y:-u}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})),n=Math.cos(.5*Math.PI)*e,u=Math.sin(.5*Math.PI)*e,o?p||void 0===p?o.attr((0,m.__assign)((0,m.__assign)({},f),{x:n,y:-u})):(o.remove(),delete t.shapeMap["link-point-top"]):p&&(t.shapeMap["link-point-top"]=t.addShape("circle",{attrs:(0,m.__assign)((0,m.__assign)({},f),{x:n,y:-u}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})),n=Math.cos(.9*Math.PI)*e,u=Math.sin(.9*Math.PI)*e,r?h||void 0===h?r.attr((0,m.__assign)((0,m.__assign)({},f),{x:n,y:-u})):(r.remove(),delete t.shapeMap["link-point-left"]):h&&(t.shapeMap["link-point-left"]=t.addShape("circle",{attrs:(0,m.__assign)((0,m.__assign)({},f),{x:n,y:-u}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})),n=Math.cos(1.3*Math.PI)*e,u=Math.sin(1.3*Math.PI)*e,a?y||void 0===y?a.attr((0,m.__assign)((0,m.__assign)({},f),{x:n,y:-u})):(a.remove(),delete t.shapeMap["link-point-left-bottom"]):y&&(t.shapeMap["link-point-left-bottom"]=t.addShape("circle",{attrs:(0,m.__assign)((0,m.__assign)({},f),{x:n,y:-u}),className:"link-point-left-bottom",name:"link-point-left-bottom",isAnchorPoint:!0})),n=Math.cos(1.7*Math.PI)*e,u=Math.sin(1.7*Math.PI)*e,s?l||void 0===l?s.attr((0,m.__assign)((0,m.__assign)({},f),{x:n,y:-u})):(s.remove(),delete t.shapeMap["link-point-right-bottom"]):l&&(t.shapeMap["link-point-right-bottom"]=t.addShape("circle",{attrs:(0,m.__assign)((0,m.__assign)({},f),{x:n,y:-u}),className:"link-point-right-bottom",name:"link-point-right-bottom",isAnchorPoint:!0}))}},"single-node")},99764:function(e,t,n){"use strict";var y=n(97582),r=n(48122),m=n(31834);(0,r.registerNode)("triangle",{options:{size:40,direction:"up",style:{stroke:r.BaseGlobal.defaultNode.style.stroke,fill:r.BaseGlobal.defaultNode.style.fill,lineWidth:r.BaseGlobal.defaultNode.style.lineWidth},labelCfg:{style:{fill:r.BaseGlobal.nodeLabel.style.fill,fontSize:r.BaseGlobal.nodeLabel.style.fontSize},offset:15},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:r.BaseGlobal.defaultNode.linkPoints.size,lineWidth:r.BaseGlobal.defaultNode.linkPoints.lineWidth,fill:r.BaseGlobal.defaultNode.linkPoints.fill,stroke:r.BaseGlobal.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20,offset:6},stateStyles:(0,y.__assign)({},r.BaseGlobal.nodeStateStyles)},shapeType:"triangle",labelPosition:"bottom",drawShape:function(e,t){var n=this.mergeStyle||this.getOptions(e),r=n.icon,r=void 0===r?{}:r,n=n.direction,i=this.getShapeStyle(e),n=e.direction||n,i=t.addShape("path",{attrs:i,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0}),o=(t.shapeMap["".concat(this.type,"-keyShape")]=i,r.width),a=r.height,s=r.show,l=r.offset,u=r.text;return s&&(u?t.shapeMap["".concat(this.type,"-icon")]=t.addShape("text",{attrs:(0,y.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},r),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}):(s=-o/2,u=-a/2,"up"!==n&&"down"!==n||(u+=l),"left"!==n&&"right"!==n||(s+=l),t.shapeMap["".concat(this.type,"-icon")]=t.addShape("image",{attrs:(0,y.__assign)({x:s,y:u},r),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}))),this.drawLinkPoints(e,t),i},drawLinkPoints:function(e,t){var n,r,i=this.mergeStyle||this.getOptions(e),o=i.linkPoints,o=void 0===o?{}:o,i=i.direction,i=e.direction||i,a=o.top,s=o.left,l=o.right,u=o.bottom,c=o.size,f=o.r,o=(0,y.__rest)(o,["top","left","right","bottom","size","r"]),e=this.getSize(e)[0];s&&(s=null,n=e*Math.sin(1/3*Math.PI),r=e*Math.sin(1/3*Math.PI),"up"===i?s=[-r,n]:"down"===i?s=[-r,-n]:"left"===i&&(s=[-r,r-n]),s)&&(t.shapeMap["link-point-left"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},o),{x:s[0],y:s[1],r:c/2||f||5}),className:"link-point-left",name:"link-point-left"})),l&&(s=null,n=e*Math.sin(1/3*Math.PI),r=e*Math.sin(1/3*Math.PI),"up"===i?s=[r,n]:"down"===i?s=[r,-n]:"right"===i&&(s=[r,r-n]),s)&&(t.shapeMap["link-point-right"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},o),{x:s[0],y:s[1],r:c/2||f||5}),className:"link-point-right",name:"link-point-right"})),a&&(l=null,n=e*Math.sin(1/3*Math.PI),r=e*Math.sin(1/3*Math.PI),"up"===i?l=[r-n,-n]:"left"===i?l=[r,-n]:"right"===i&&(l=[-r,-n]),l)&&(t.shapeMap["link-point-top"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},o),{x:l[0],y:l[1],r:c/2||f||5}),className:"link-point-top",name:"link-point-top"})),u&&(s=null,n=e*Math.sin(1/3*Math.PI),r=e*Math.sin(1/3*Math.PI),"down"===i?s=[-r+n,n]:"left"===i?s=[r,n]:"right"===i&&(s=[-r,n]),s)&&(t.shapeMap["link-point-bottom"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},o),{x:s[0],y:s[1],r:c/2||f||5}),className:"link-point-bottom",name:"link-point-bottom"}))},getPath:function(e){var t=(this.mergeStyle||this.getOptions(e)).direction,t=e.direction||t,e=this.getSize(e)[0],n=e*Math.sin(1/3*Math.PI),e=e*Math.sin(1/3*Math.PI),r=[["M",-e,n],["L",0,-n],["L",e,n],["Z"]];return"down"===t?r=[["M",-e,-n],["L",e,-n],["L",0,n],["Z"]]:"left"===t?r=[["M",-e,e-n],["L",e,-e],["L",e,e],["Z"]]:"right"===t&&(r=[["M",e,e-n],["L",-e,e],["L",-e,-e],["Z"]]),r},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},t=(0,m.mix)({},t,n),n=this.getPath(e);return(0,y.__assign)({path:n},t)},update:function(e,t,n){var r=t.getContainer(),i=this.getOptions({}).style,o=this.getPath(e),o={stroke:e.color,path:o},a=t.get("keyShape"),i=(0,m.mix)({},i,a.attr(),o),i=(0,m.mix)(i,e.style);this.updateShape(e,t,i,!0,n),this.updateLinkPoints(e,r)},updateLinkPoints:function(e,t){var n=this.getOptions({}),r=n.linkPoints,n=n.direction,n=e.direction||n,i=t.shapeMap["link-point-left"]||t.find(function(e){return"link-point-left"===e.get("className")}),o=t.shapeMap["link-point-right"]||t.find(function(e){return"link-point-right"===e.get("className")}),a=t.shapeMap["link-point-top"]||t.find(function(e){return"link-point-top"===e.get("className")}),s=t.shapeMap["link-point-bottom"]||t.find(function(e){return"link-point-bottom"===e.get("className")}),l=i||o||a||s,l=(l&&(r=l.attr()),(0,m.mix)({},r,e.linkPoints)),r=l.fill,u=l.stroke,c=l.lineWidth,f=(f=l.size/2)||l.r,l=e.linkPoints||{left:void 0,right:void 0,top:void 0,bottom:void 0},h=l.left,d=l.right,p=l.top,l=l.bottom,e=this.getSize(e)[0],f={r:f,fill:r,stroke:u,lineWidth:c},r=null,u=e*Math.sin(1/3*Math.PI),c=e*Math.sin(1/3*Math.PI),e=("up"===n?r=[-c,u]:"down"===n?r=[-c,-u]:"left"===n&&(r=[-c,c-u]),r&&(i?h||void 0===h?i.attr((0,y.__assign)((0,y.__assign)({},f),{x:r[0],y:r[1]})):(i.remove(),delete t.shapeMap["link-point-left"]):h&&(t.shapeMap["link-point-left"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},f),{x:r[0],y:r[1]}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0}))),null),i=("up"===n?e=[c,u]:"down"===n?e=[c,-u]:"right"===n&&(e=[c,c-u]),e&&(o?d||void 0===d?o.attr((0,y.__assign)((0,y.__assign)({},f),{x:e[0],y:e[1]})):(o.remove(),delete t.shapeMap["link-point-right"]):d&&(t.shapeMap["link-point-right"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},f),{x:e[0],y:e[1]}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0}))),null),h=("up"===n?i=[c-u,-u]:"left"===n?i=[c,-u]:"right"===n&&(i=[-c,-u]),i&&(a?p||void 0===p?a.attr((0,y.__assign)((0,y.__assign)({},f),{x:i[0],y:i[1]})):(a.remove(),delete t.shapeMap["link-point-top"]):p&&(t.shapeMap["link-point-top"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},f),{x:i[0],y:i[1]}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0}))),null);"down"===n?h=[u-c,u]:"left"===n?h=[c,u]:"right"===n&&(h=[-c,u]),h&&(s?l||void 0===l?s.attr((0,y.__assign)((0,y.__assign)({},f),{x:h[0],y:h[1]})):(s.remove(),delete t.shapeMap["link-point-bottom"]):l&&(t.shapeMap["link-point-bottom"]=t.addShape("circle",{attrs:(0,y.__assign)((0,y.__assign)({},f),{x:h[0],y:h[1]}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})))}},"single-node")},61125:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n=n(31834),n={getDefaultCfg:function(){return{trigger:"mouseenter",activeState:"active",inactiveState:"inactive",resetSelected:!1,shouldUpdate:function(){return!0}}},getEvents:function(){return"mouseenter"===this.get("trigger")?{"node:mouseenter":"setAllItemStates","combo:mouseenter":"setAllItemStates","node:mouseleave":"clearActiveState","combo:mouseleave":"clearActiveState"}:{"node:click":"setAllItemStates","combo:click":"setAllItemStates","canvas:click":"clearActiveState","node:touchstart":"setOnTouchStart","combo:touchstart":"setOnTouchStart","canvas:touchstart":"clearOnTouchStart"}},setOnTouchStart:function(e){try{var t=e.originalEvent.touches,n=t[0],r=t[1];if(n&&r)return;e.preventDefault()}catch(e){console.warn("Touch original event not exist!")}this.setAllItemStates(e)},clearOnTouchStart:function(e){try{var t=e.originalEvent.touches,n=t[0],r=t[1];if(n&&r)return;e.preventDefault()}catch(e){console.warn("Touch original event not exist!")}this.clearActiveState(e)},setAllItemStates:function(e){clearTimeout(this.timer),this.throttleSetAllItemStates(e,this)},clearActiveState:function(e){var t=this;this.timer=setTimeout(function(){t.throttleClearActiveState(e,t)},50)},throttleSetAllItemStates:(0,n.throttle)(function(e,t){var n=e.item,r=t.graph;if(r&&!r.destroyed&&(t.item=n,t.shouldUpdate(e.item,{event:e,action:"activate"},t))){for(var i=t.activeState,o=t.inactiveState,a=r.getNodes(),s=r.getCombos(),l=r.getEdges(),u=r.get("vedges"),c=a.length,f=s.length,h=l.length,d=u.length,p=t.inactiveItems||{},y=t.activeItems||{},m=0;m<c;m++){var g=a[m],v=g.getID(),b=g.hasState("selected");t.resetSelected&&b&&r.setItemState(g,"selected",!1),y[v]&&(r.setItemState(g,i,!1),delete y[v]),o&&!p[v]&&(r.setItemState(g,o,!0),p[v]=g)}for(m=0;m<f;m++){var _=s[m],x=_.getID(),b=_.hasState("selected");t.resetSelected&&b&&r.setItemState(_,"selected",!1),y[x]&&(r.setItemState(_,i,!1),delete y[x]),o&&!p[x]&&(r.setItemState(_,o,!0),p[x]=_)}for(m=0;m<h;m++)y[E=(O=l[m]).getID()]&&(r.setItemState(O,i,!1),delete y[E]),o&&!p[E]&&(r.setItemState(O,o,!0),p[E]=O);for(m=0;m<d;m++){var w=u[m],A=w.getID();y[A]&&(r.setItemState(w,i,!1),delete y[A]),o&&!p[A]&&(r.setItemState(w,o,!0),p[A]=w)}if(n&&!n.destroyed){o&&(r.setItemState(n,o,!1),delete p[n.getID()]),y[n.getID()]||(r.setItemState(n,i,!0),y[n.getID()]=n);for(var S=n.getEdges(),C=S.length,m=0;m<C;m++){var O,E=(O=S[m]).getID(),M=void 0,P=(M=O.getSource()===n?O.getTarget():O.getSource()).getID();o&&p[P]&&(r.setItemState(M,o,!1),delete p[P]),y[P]||(r.setItemState(M,i,!0),y[P]=M),p[E]&&(r.setItemState(O,o,!1),delete p[E]),y[E]||(r.setItemState(O,i,!0),y[E]=O),O.toFront()}}t.activeItems=y,t.inactiveItems=p,r.emit("afteractivaterelations",{item:e.item,action:"activate"})}},50,{trailing:!0,leading:!0}),throttleClearActiveState:(0,n.throttle)(function(e,t){var n,r,i,o,a=t.get("graph");a&&!a.destroyed&&t.shouldUpdate(e.item,{event:e,action:"deactivate"},t)&&(n=t.activeState,r=t.inactiveState,i=t.activeItems||{},o=t.inactiveItems||{},Object.values(i).filter(function(e){return!e.destroyed}).forEach(function(e){a.clearItemStates(e,n)}),Object.values(o).filter(function(e){return!e.destroyed}).forEach(function(e){a.clearItemStates(e,r)}),t.activeItems={},t.inactiveItems={},a.emit("afteractivaterelations",{item:e.item||t.get("item"),action:"deactivate"}))},50,{trailing:!0,leading:!0})};t.default=n},46625:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var y=Math.min,m=Math.max,n=Math.abs,r=["drag","shift","ctrl","alt","control"];t.default={getDefaultCfg:function(){return{brushStyle:{fill:"#EEF6FF",fillOpacity:.4,stroke:"#DDEEFE",lineWidth:1},onSelect:function(){},onDeselect:function(){},selectedState:"selected",trigger:"shift",includeEdges:!0,includeCombos:!1,selectedEdges:[],selectedNodes:[],selectedCombos:[]}},getEvents:function(){return-1<r.indexOf(this.trigger.toLowerCase())||(this.trigger="shift",console.warn("Behavior brush-select 的 trigger 参数不合法,请输入 'drag'、'shift'、'ctrl' 或 'alt'")),"drag"===this.trigger?{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"clearStates"}:{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"clearStates",keyup:"onKeyUp",keydown:"onKeyDown"}},onMouseDown:function(e){var t=e.item,n=this.brush;t||"drag"!==this.trigger&&!this.keydown||(this.selectedNodes&&0!==this.selectedNodes.length&&this.clearStates(),n=n||this.createBrush(),this.originPoint={x:e.canvasX,y:e.canvasY},n.attr({width:0,height:0}),n.show(),this.dragging=!0)},onMouseMove:function(e){this.dragging&&("drag"===this.trigger||this.keydown)&&this.updateBrush(e)},onMouseUp:function(e){this.graph,!this.brush&&!this.dragging||"drag"!==this.trigger&&!this.keydown||(this.brush.remove(!0),this.brush=null,this.getSelectedNodes(e),this.dragging=!1)},clearStates:function(){var t=this.graph,n=this.selectedState,e=t.findAllByState("node",n),r=t.findAllByState("edge",n),i=t.findAllByState("combo",n);e.forEach(function(e){return t.setItemState(e,n,!1)}),r.forEach(function(e){return t.setItemState(e,n,!1)}),i.forEach(function(e){return t.setItemState(e,n,!1)}),this.selectedNodes=[],this.selectedEdges=[],this.selectedCombos=[],this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges,this.selectedCombos),t.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1})},isBBoxCenterInRect:function(e,t,n,r,i){e=e.getBBox();return e.centerX>=t&&e.centerX<=n&&e.centerY>=r&&e.centerY<=i},getSelectedNodes:function(e){var r=this,i=this.graph,t=this.originPoint,o=this.shouldUpdate,n=this.isBBoxCenterInRect,a=this.selectedState,e={x:e.x,y:e.y},t=i.getPointByCanvas(t.x,t.y),s=y(e.x,t.x),l=m(e.x,t.x),u=y(e.y,t.y),c=m(e.y,t.y),f=[],h=[],d=(i.getNodes().forEach(function(e){var t;e.isVisible()&&n(e,s,l,u,c)&&o(e,"select",r)&&(f.push(e),t=e.getModel(),h.push(t.id),i.setItemState(e,a,!0))}),[]),p=(this.includeEdges&&f.forEach(function(e){e.getOutEdges().forEach(function(e){var t,n;e.isVisible()&&(t=(n=e.getModel()).source,n=n.target,h.includes(t))&&h.includes(n)&&o(e,"select",r)&&(d.push(e),i.setItemState(e,r.selectedState,!0))})}),[]);this.includeCombos&&i.getCombos().forEach(function(e){var t;e.isVisible()&&n(e,s,l,u,c)&&o(e,"select",r)&&(p.push(e),t=e.getModel(),h.push(t.id),i.setItemState(e,a,!0))}),this.selectedEdges=d,this.selectedNodes=f,this.selectedCombos=p,this.onSelect&&this.onSelect(f,d,p),i.emit("nodeselectchange",{selectedItems:{nodes:f,edges:d,combos:p},select:!0})},createBrush:function(){var e=this.graph.get("canvas").addShape("rect",{attrs:this.brushStyle,capture:!1,name:"brush-shape"});return this.brush=e,this.delegate=e},updateBrush:function(e){var t=this.originPoint;this.brush.attr({width:n(e.canvasX-t.x),height:n(e.canvasY-t.y),x:y(e.canvasX,t.x),y:y(e.canvasY,t.y)})},onKeyDown:function(e){var t,e=e.key;e&&(t=this.trigger.toLowerCase(),e=e.toLowerCase(),this.keydown=e===t||"control"===e&&"ctrl"===t||"ctrl"===e&&"control"===t)},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.keydown=!1}}},14789:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var f=n(31834),r=["shift","ctrl","alt","control"];t.default={getDefaultCfg:function(){return{multiple:!0,trigger:"shift",selectedState:"selected",selectNode:!0,selectEdge:!1,selectCombo:!0}},getEvents:function(){return-1<r.indexOf(this.trigger.toLowerCase())||(this.trigger="shift",console.warn("Behavior click-select 的 trigger 参数不合法,请输入 'drag'、'shift'、'ctrl' 或 'alt'")),this.multiple?{"node:click":"onClick","combo:click":"onClick","edge:click":"onClick","canvas:click":"onCanvasClick",keyup:"onKeyUp",keydown:"onKeyDown"}:{"node:click":"onClick","combo:click":"onClick","edge:click":"onClick","canvas:click":"onCanvasClick"}},onClick:function(e){var t,n,r,i,o,a,s,l,u=this,c=e.item;c&&!c.destroyed&&(t=c.getType(),n=u.graph,o=u.keydown,r=u.multiple,i=u.shouldUpdate,(0,u.shouldBegin)(e,u))&&(o&&r||(o=n.findAllByState("node",u.selectedState).concat(n.findAllByState("edge",u.selectedState)).concat(n.findAllByState("combo",u.selectedState)),(0,f.each)(o,function(e){e!==c&&n.setItemState(e,u.selectedState,!1)})),!function(){switch(t){case"node":return u.selectNode;case"edge":return u.selectEdge;case"combo":return u.selectCombo;default:return}}()?(a=n.findAllByState("node",u.selectedState),s=n.findAllByState("edge",u.selectedState),l=n.findAllByState("combo",u.selectedState),n.emit("nodeselectchange",{selectedItems:{nodes:a,edges:s,combos:l},select:!1})):c.hasState(u.selectedState)?(i(e,u)&&n.setItemState(c,u.selectedState,!1),a=n.findAllByState("node",u.selectedState),s=n.findAllByState("edge",u.selectedState),l=n.findAllByState("combo",u.selectedState),n.emit("nodeselectchange",{target:c,selectedItems:{nodes:a,edges:s,combos:l},select:!1})):(i(e,u)&&n.setItemState(c,u.selectedState,!0),a=n.findAllByState("node",u.selectedState),s=n.findAllByState("edge",u.selectedState),l=n.findAllByState("combo",u.selectedState),n.emit("nodeselectchange",{target:c,selectedItems:{nodes:a,edges:s,combos:l},select:!0})))},onCanvasClick:function(e){var t=this,n=this.graph;(0,this.shouldBegin)(e,this)&&(e=n.findAllByState("node",this.selectedState),(0,f.each)(e,function(e){n.setItemState(e,t.selectedState,!1)}),e=n.findAllByState("edge",this.selectedState),(0,f.each)(e,function(e){n.setItemState(e,t.selectedState,!1)}),e=n.findAllByState("combo",this.selectedState),(0,f.each)(e,function(e){n.setItemState(e,t.selectedState,!1)}),n.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1}))},onKeyDown:function(e){e=e.key;e&&(e.toLowerCase()===this.trigger.toLowerCase()||"control"===e.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1}}},96852:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["click","dblclick"];t.default={getDefaultCfg:function(){return{trigger:"dblclick",relayout:!0}},getEvents:function(){var e,t;return n.includes(this.trigger)?t=this.trigger:(t="dblclick",console.warn("Behavior collapse-expand-group 的 trigger 参数不合法,请输入 'click' 或 'dblclick'")),(e={})["combo:".concat(t)]="onComboClick",e},onComboClick:function(e){var e=e.item,t=this.graph,n=this.relayout;e&&!e.destroyed&&"combo"===e.getType()&&(e=e.getModel().id)&&(t.collapseExpandCombo(e),n&&t.get("layout")?t.layout():t.refreshPositions())}}},82426:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["click","dblclick"];t.default={getDefaultCfg:function(){return{trigger:"click",onChange:function(){}}},getEvents:function(){var e,t;return n.includes(this.trigger)?t=this.trigger:(t="click",console.warn("Behavior collapse-expand 的 trigger 参数不合法,请输入 'click' 或 'dblclick'")),(e={})["node:".concat(t)]="onNodeClick",e.touchstart="onNodeClick",e},onNodeClick:function(e){var t=this;"click"===this.trigger?this.timer?(clearTimeout(this.timer),this.timer=0):this.timer=setTimeout(function(){t.toggle(e),clearTimeout(t.timer),t.timer=0},200):this.toggle(e)},toggle:function(e){var t,n,r=e.item;r&&(t=this.graph.findDataById(r.get("id")))&&(n=t.children)&&0!==n.length&&(n=!t.collapsed,this.shouldBegin(e,n,this))&&(t.collapsed=n,r.getModel().collapsed=n,this.graph.emit("itemcollapsed",{item:e.item,collapsed:n}),this.shouldUpdate(e,n,this))&&(this.onChange(r,n,this),this.graph.layout())}}},15120:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(97582),l=n(31834),r=["click","drag"],i=["shift","ctrl","control","alt","meta",void 0];t.default={getDefaultCfg:function(){return{trigger:"click",key:void 0,edgeConfig:{},getEdgeConfig:void 0}},getEvents:function(){var e;return-1<r.indexOf(this.trigger.toLowerCase())||(this.trigger="click",console.warn("Behavior create-edge 的 trigger 参数不合法,请输入 'click','drag'")),this.key&&-1===i.indexOf(this.key.toLowerCase())&&(this.trigger=void 0,console.warn("Behavior create-edge 的 key 参数不合法,请输入 'shift','ctrl','alt','control',或 undefined")),"drag"===this.trigger?e={"node:dragstart":"onClick","combo:dragstart":"onClick",drag:"updateEndPoint","node:drop":"onClick","combo:drop":"onClick",dragend:"onDragEnd"}:"click"===this.trigger&&(e={"node:click":"onClick",mousemove:"updateEndPoint","edge:click":"cancelCreating","canvas:click":"cancelCreating","combo:click":"onClick"}),this.key&&(e.keydown="onKeyDown",e.keyup="onKeyUp"),e},onDragEnd:function(e){var t;this.key&&!this.keydown||(t=e.item)&&t.getID()!==this.source&&"node"===t.getType()||this.cancelCreating({item:this.edge,x:e.x,y:e.y})},onClick:function(e){var t,n,r,i,o,a;this.key&&!this.keydown||(n=e.item,t=this.graph,n=n.getModel(),r=this.getEdgeConfig,this.addingEdge&&this.edge?this.shouldEnd(e,this)&&(i=void 0,i=r&&(0,l.isFunction)(r)?r({source:this.source,target:n.id},this):this.edgeConfig,o=(0,s.__assign)({target:n.id},i),this.source===n.id&&(o.type="loop"),t.emit("beforecreateedge",{}),t.updateItem(this.edge,o,!1),t.get("enabledStack")&&(o=(0,s.__assign)((0,s.__assign)({},this.edge.getModel()),{itemType:"edge"}),(a={}).edges=[o],t.pushStack("add",{before:{},after:a})),t.emit("aftercreateedge",{edge:this.edge}),this.edge.getKeyShape().set("capture",!0),this.edge=null,this.addingEdge=!1):this.shouldBegin(e,this)&&(i=void 0,i=r&&(0,l.isFunction)(r)?r({source:n.id,target:n.id},this):this.edgeConfig,this.edge=t.addItem("edge",(0,s.__assign)({source:n.id,target:n.id},i),!1),this.source=n.id,this.addingEdge=!0,this.edge.getKeyShape().set("capture",!1)))},updateEndPoint:function(e){this.key&&!this.keydown||(this.edge&&this.edge.destroyed&&this.cancelCreating({item:this.edge}),e={x:e.x,y:e.y},this.graph.findById(this.source)?this.addingEdge&&this.edge&&this.graph.updateItem(this.edge,{target:e},!1):this.addingEdge=!1)},cancelCreating:function(e){var t,n;if(!this.key||this.keydown)return t=this.graph,n=e.item,this.addingEdge&&(this.edge===n||null!=(e=null==(n=e.target)?void 0:n.isCanvas)&&e.call(n))?(this.edge&&!this.edge.destroyed&&t.removeItem(this.edge,!1),this.edge=null,void(this.addingEdge=!1)):void 0},onKeyDown:function(e){e=e.key;e&&(e.toLowerCase()===this.key.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.addingEdge&&this.edge&&(this.graph.removeItem(this.edge,!1),this.addingEdge=!1,this.edge=null),this.keydown=!1}}},40566:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(31834),n=(n=n(85698))&&n.__esModule?n:{default:n},y=n.default.cloneEvent,s=n.default.isNaN,r=Math.abs,i=["shift","ctrl","alt","control"];t.default={getDefaultCfg:function(){return{direction:"both",enableOptimize:!1,scalableRange:0,allowDragOnItem:!1}},getEvents:function(){return{mousedown:"onMouseDown",drag:"onDragMove",dragend:"onMouseUp","canvas:click":"onMouseUp",keyup:"onKeyUp",focus:"onKeyUp",keydown:"onKeyDown",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onMouseUp"}},updateViewport:function(e){var t,n,r,i,o=this.origin,a=+e.clientX,e=+e.clientY;s(a)||s(e)||(t=a-o.x,o=e-o.y,"x"===this.get("direction")?o=0:"y"===this.get("direction")&&(t=0),this.origin={x:a,y:e},a=this.graph.get("width"),e=this.graph.get("height"),n=this.graph.get("canvas").getCanvasBBox(),r=this.scalableRange,i=this.scalableRange,r<1&&-1<r&&(r*=a,i*=e),(n.minX<=a+r&&n.minX+t>a+r||0<=n.maxX+r&&n.maxX+r+t<0)&&(t=0),(n.minY<=e+i&&n.minY+o>e+i||0<=n.maxY+i&&n.maxY+i+o<0)&&(o=0),this.graph.translate(t,o))},onTouchStart:function(e){var t=e.originalEvent.touches,n=t[0],t=t[1];n&&t||(e.preventDefault(),this.mousedown=!0,this.onDragStart(e))},onMouseDown:function(e){this.mousedown=!0},onDragMove:function(e){this.mousedown&&(this.dragstart?this.onDrag(e):(this.dragstart=!0,this.onDragStart(e)))},onDragStart:function(e){var t,n=e.originalEvent;if((!n||"touchstart"===e.name||0===n.button)&&("touchstart"===e.name||"undefined"==typeof window||!window.event||window.event.buttons||window.event.button)&&this.shouldBegin(e,this)&&!this.keydown&&this.allowDrag(e)){if(this.origin={x:e.clientX,y:e.clientY},this.dragging=!1,this.enableOptimize){for(var n=this.graph,r=n.getEdges(),i=0,o=r.length;i<o;i++){var a=r[i].get("group").get("children");a&&a.forEach(function(e){e.set("ori-visibility",e.get("ori-visibility")||e.get("visible")),e.hide()})}for(var s=n.getNodes(),l=0,u=s.length;l<u;l++)for(var c=0,f=s[l].getContainer().get("children");c<f.length;c++){var h=f[c];h.get("isKeyShape")||(h.set("ori-visibility",h.get("ori-visibility")||h.get("visible")),h.hide())}}"undefined"!=typeof window&&((t=this).handleDOMContextMenu=function(e){return t.onMouseUp(e)},document.body.addEventListener("contextmenu",this.handleDOMContextMenu))}},onTouchMove:function(e){var t=e.originalEvent.touches,n=t[0],t=t[1];n&&t?this.onMouseUp(e):(e.preventDefault(),this.onDrag(e))},onDrag:function(e){if(this.mousedown){var t=this.graph;if(!this.keydown&&this.allowDrag(e)&&(e=y(e),this.origin)){if(this.dragging)e.type="drag",t.emit("canvas:drag",e);else{if(r(this.origin.x-e.clientX)+r(this.origin.y-e.clientY)<10)return;this.shouldBegin(e,this)&&(e.type="dragstart",t.emit("canvas:dragstart",e),this.originPosition={x:e.clientX,y:e.clientY},this.dragging=!0)}this.shouldUpdate(e,this)&&this.updateViewport(e)}}},onMouseUp:function(e){this.mousedown=!1,this.dragstart=!1;var t=this.graph;if(!this.keydown){var n=t.getZoom(),r=t.get("modeController"),r=null==(r=null==(r=null==r?void 0:r.modes[r.mode])?void 0:r.filter(function(e){return"zoom-canvas"===e.type}))?void 0:r[0],r=r?r.optimizeZoom||.1:0;if(this.enableOptimize){for(var i=t.getEdges(),o=0,a=i.length;o<a;o++){var s=i[o].get("group").get("children");s&&s.forEach(function(e){var t=e.get("ori-visibility");e.set("ori-visibility",void 0),t&&e.show()})}if(r<n)for(var l=t.getNodes(),u=0,c=l.length;u<c;u++)for(var f=0,h=l[u].getContainer().get("children");f<h.length;f++){var d,p=h[f];p.get("isKeyShape")||(d=p.get("ori-visibility"),p.set("ori-visibility",void 0),d&&p.show())}}this.dragging?(e=y(e),this.shouldEnd(e,this)&&this.updateViewport(e),e.type="dragend",e.dx=e.clientX-this.originPosition.x,e.dy=e.clientY-this.originPosition.y,t.emit("canvas:dragend",e),this.endDrag(),"undefined"!=typeof window&&document.body.removeEventListener("contextmenu",this.handleDOMContextMenu)):this.origin=null}},endDrag:function(){this.origin=null,this.dragging=!1,this.dragbegin=!1,this.mousedown=!1,this.dragstart=!1},onKeyDown:function(e){e=e.key;e&&(-1<i.indexOf(e.toLowerCase())?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1,this.origin=null,this.dragging=!1,this.dragbegin=!1},allowDrag:function(e){var t=e.target,t=t&&t.isCanvas&&t.isCanvas();if((0,o.isBoolean)(this.allowDragOnItem)&&!this.allowDragOnItem&&!t)return!1;if((0,o.isObject)(this.allowDragOnItem)){var t=this.allowDragOnItem,n=t.node,r=t.edge,t=t.combo,i=null==(i=null==(e=e.item)?void 0:e.getType)?void 0:i.call(e);if(!n&&"node"===i)return!1;if(!r&&"edge"===i)return!1;if(!t&&"combo"===i)return!1}return!0}}},21987:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(97582),u=n(31834),r=i(n(85698)),c=i(n(31339));function i(e){return e&&e.__esModule?e:{default:e}}var f=r.default.calculationItemsBBox;t.default={getDefaultCfg:function(){return{enableDelegate:!1,delegateStyle:{},onlyChangeComboSize:!1,activeState:"",selectedState:"selected",enableStack:!0}},getEvents:function(){return{"combo:mousedown":"onMouseDown","combo:dragstart":"onDragStart","combo:drag":"onDrag","combo:dragend":"onDragEnd","combo:drop":"onDrop","node:drop":"onNodeDrop","combo:dragenter":"onDragEnter","combo:dragleave":"onDragLeave"}},validationCombo:function(e){var t=e.item;return!(!t||t.destroyed||!this.shouldUpdate(e,this)||"combo"!==t.getType())},onMouseDown:function(e){this.origin={x:e.x,y:e.y}},onDragStart:function(e){var t,r,n=this,i=this.graph,o=e.item;this.currentShouldEnd=!0,this.validationCombo(e)&&(this.targets=[],e=i.findAllByState("combo",this.selectedState),t=o.get("id"),0===e.filter(function(e){e=e.get("id");return t===e}).length?this.targets.push(o):this.targets=e,r=[],this.targets.forEach(function(e){var e=e.getModel(),t=e.x,n=e.y,e=e.id;r.push({x:t,y:n,id:e})}),this.set("beforeDragItems",r),this.activeState&&this.targets.map(function(e){var e=e.getModel();e.parentId&&(e=i.findById(e.parentId))&&i.setItemState(e,n.activeState,!0)}),this.point={},this.originPoint={},this.currentItemChildCombos=[],function t(e,n){!1!==n(e)&&e&&0!==(e=e.get("combos")).length&&(0,u.each)(e,function(e){t(e,n)})}(o,function(e){return!e.destroyed&&(e=e.getModel(),n.currentItemChildCombos.push(e.id),!0)}))},onDrag:function(t){var i,n,e,r,o,a,s,l=this;this.origin&&this.validationCombo(t)&&(this.enableDelegate?this.updateDelegate(t):(this.activeState&&(i=this.graph,r=t.item,n=r.getModel(),e=i.getCombos(),r=r.getBBox(),o=r.centerX,a=r.centerY,s=r.width,e.filter(function(e){e=e.getModel();return n.parentId,e.id!==n.id&&!l.currentItemChildCombos.includes(e.id)}).map(function(e){var t=e.getBBox(),n=t.centerX,r=t.centerY,t=t.width,n=o-n,r=a-r,n=2*Math.sqrt(n*n+r*r);.8*s<s+t-n?i.setItemState(e,l.activeState,!0):i.setItemState(e,l.activeState,!1)})),(0,u.each)(this.targets,function(e){l.updateCombo(e,t)}),this.onlyChangeComboSize&&this.updateParentCombos()))},updatePositions:function(t,n){var r=this;(this.enableDelegate||n)&&(0,u.each)(this.targets,function(e){r.updateCombo(e,t,n)})},onDrop:function(e){var t,n,r=this,i=e.item;this.currentShouldEnd=this.shouldEnd(e,i,this),this.updatePositions(e,!this.currentShouldEnd),this.currentShouldEnd&&i&&this.targets&&!i.destroyed&&(t=this.graph,n=i.getModel(),this.targets.map(function(e){e.getModel().parentId!==n.id?(r.activeState&&t.setItemState(i,r.activeState,!1),r.onlyChangeComboSize?t.updateCombo(e):t.updateComboTree(e,n.id,!1)):t.updateCombo(i)}),this.end(i,e),this.endComparison=!0)},onNodeDrop:function(e){var t,n,r,i,o=this;this.targets&&0!==this.targets.length&&(t=this.graph,i=(n=e.item.getModel().comboId)?t.findById(n):void 0,this.currentShouldEnd=this.shouldEnd(e,i,this),this.updatePositions(e,!this.currentShouldEnd),this.currentShouldEnd)&&(n?(this.activeState&&(i=t.findById(n),t.setItemState(i,this.activeState,!1)),this.targets.map(function(e){o.onlyChangeComboSize?t.updateCombo(e):n!==e.getID()&&(r=t.findById(n),n!==e.getModel().parentId)&&t.updateComboTree(e,n,!1)})):this.targets.map(function(e){o.onlyChangeComboSize?t.updateCombo(e):e.getModel().comboId&&t.updateComboTree(e,void 0,!1)}),this.endComparison=!0,this.end(r,e))},onDragEnter:function(e){var t;this.origin&&this.validationCombo(e)&&(e=e.item,t=this.graph,this.activeState)&&t.setItemState(e,this.activeState,!0)},onDragLeave:function(e){var t;this.origin&&this.validationCombo(e)&&(e=e.item,t=this.graph,this.activeState)&&t.setItemState(e,this.activeState,!1)},onDragEnd:function(e){var t,n;this.targets&&0!==this.targets.length&&(t=e.item,this.currentShouldEnd&&this.updatePositions(e),t=this.getParentCombo(t.getModel().parentId),n=this.graph,t&&this.activeState&&n.setItemState(t,this.activeState,!1),this.end(void 0,e))},end:function(e,t){var i,o,a,s=this;this.origin&&(i=this.graph,this.delegateShape&&(i.get("delegateGroup").clear(),this.delegateShape=null),e&&this.activeState&&i.setItemState(e,this.activeState,!1),e||(o=i.get("enabledStack")&&this.enableStack,a={before:{nodes:[],edges:[],combos:[].concat(this.get("beforeDragItems"))},after:{nodes:[],edges:[],combos:[]}},this.targets.map(function(e){var t,n,r;s.onlyChangeComboSize?(i.updateCombo(e),t=(r=e.getModel()).x,n=r.y,r=r.id,a.after.combos.push({x:t,y:n,id:r}),i.pushStack("update",a)):i.updateComboTree(e,void 0,o)})),this.point=[],this.origin=null,this.originPoint=null,this.targets.length=0)},traverse:function(e,t,n){var r,i=this;!1!==t(e,n=void 0===n?{}:n)&&e&&(r=e.get("combos"),(0,u.each)(r,function(e){i.traverse(e,t,n)}),r=e.get("nodes"),(0,u.each)(r,function(e){i.traverse(e,t,n)}))},updateCombo:function(e,t,n){this.updateSingleItem(e,t,n);t={};this.traverse(e,function(e,t){return!e.destroyed&&(e.getEdges().forEach(function(e){return t[e.getID()]=e}),!0)},t),Object.values(t).forEach(function(e){return e.refresh()})},updateSingleItem:function(e,t,n){var r=this.origin,i=this.graph,o=e.getModel(),a=e.get("id"),o=(this.point[a]||(this.point[a]={x:o.x,y:o.y}),t.x-r.x+this.point[a].x),a=t.y-r.y+this.point[a].y;n&&(o+=r.x-t.x,a+=r.y-t.y),i.updateItem(e,{x:o,y:a},!1)},getParentCombo:function(e){var t=this.graph;if(e){t=t.findById(e);if(t)return t}},updateDelegate:function(e){var t,n,r,i,o,a,s=this.graph;this.delegateShape?(t=e.x-this.origin.x+this.originPoint.minX,e=e.y-this.origin.y+this.originPoint.minY,this.delegateShape.attr({x:t,y:e})):(t=s.get("delegateGroup"),e=null,s=(e=1<this.targets.length?f(this.targets):this.targets[0].getBBox()).x,n=e.y,r=e.width,i=e.height,o=e.minX,a=e.minY,this.originPoint={x:s,y:n,width:r,height:i,minX:o,minY:a},s=(0,l.__assign)((0,l.__assign)({},c.default.delegateStyle),this.delegateStyle),this.delegateShape=t.addShape("rect",{attrs:(0,l.__assign)({width:e.width,height:e.height,x:e.x,y:e.y},s),name:"combo-delegate-shape"}),this.delegateShape.set("capture",!1),this.delegate=this.delegateShape)},updateParentCombos:function(){var t=this.graph,e=this.targets,n={};null!=e&&e.forEach(function(e){e=e.getModel().parentId;e&&(n[e]=t.findById(e))}),Object.values(n).forEach(function(e){e&&t.updateCombo(e)})}}},67712:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(97582),u=n(31834),c=(n=n(31339))&&n.__esModule?n:{default:n},n={getDefaultCfg:function(){return{updateEdge:!0,delegateStyle:{},enableDelegate:!1,onlyChangeComboSize:!1,comboActiveState:"",selectedState:"selected",enableOptimize:!1,enableDebounce:!1,enableStack:!0}},getEvents:function(){return{"node:mousedown":"onMouseDown",drag:"onDragMove",dragend:"onDragEnd","combo:dragenter":"onDragEnter","combo:dragleave":"onDragLeave","combo:drop":"onDropCombo","node:drop":"onDropNode","canvas:drop":"onDropCanvas",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onDragEnd",afterchangedata:"onDragEnd"}},validationCombo:function(e){return!(!this.origin||!e||e.destroyed)&&"combo"===e.getType()},onTouchStart:function(e){if(e.item){try{var t=e.originalEvent.touches,n=t[0],r=t[1];if(n&&r)return;e.preventDefault()}catch(e){console.warn("Touch original event not exist!")}this.mousedown={item:e.item,target:e.target,origin:{x:e.x,y:e.y}},this.dragstart=!0,this.onDragStart(e)}},onTouchMove:function(e){try{var t=e.originalEvent.touches,n=t[0],r=t[1];if(n&&r)return void this.onDragEnd(e);e.preventDefault()}catch(e){console.warn("Touch original event not exist!")}this.onDrag(e)},onMouseDown:function(e){this.mousedown={item:e.item,target:e.target,origin:{x:e.x,y:e.y}},"undefined"==typeof window||this.windowEventBinded||(this.windowEventBinded=!0,document.body.addEventListener("contextmenu",this.onDragEnd.bind(this)),document.body.addEventListener("mouseup",this.onDragEnd.bind(this)))},onDragMove:function(e){var t,n;"node"===(null==(n=null==(t=e.item)?void 0:t.getType)?void 0:n.call(t))?this.mousedown&&(this.dragstart?this.onDrag((0,l.__assign)((0,l.__assign)({},e),this.mousedown)):(this.dragstart=!0,this.onDragStart(e))):this.onDragEnd()},onDragStart:function(e){var t,n,r,i=this;this.currentShouldEnd=!0,this.shouldBegin((0,l.__assign)((0,l.__assign)({},e),this.mousedown),this)&&(t=(e=this.mousedown).item,e=e.target,!t||t.destroyed||t.hasLocked()||(t.getContainer().set("capture",!1),this.cachedCaptureItems||(this.cachedCaptureItems=[]),this.cachedCaptureItems.push(t),e&&e.get("isAnchorPoint"))||(e=this.graph,this.targets=[],this.targetCombo=null,e=e.findAllByState("node",this.selectedState),n=t.get("id"),0!==e.filter(function(e){e=e.get("id");return n===e}).length&&1<e.length?e.forEach(function(e){e.hasLocked()||i.targets.push(e)}):this.targets.push(t),this.graph.get("enabledStack")&&this.enableStack&&(r=[],this.targets.forEach(function(e){var e=e.getModel(),t=e.x,n=e.y,e=e.id;r.push({x:t,y:n,id:e})}),this.set("beforeDragNodes",r)),this.hidenEdge={},this.get("updateEdge")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(e){e.getEdges().forEach(function(e){e.isVisible()&&(i.hidenEdge[e.getID()]=!0,e.hide())})}),this.origin=this.mousedown.origin,this.point={},this.originPoint={}))},onDrag:function(t){var n=this;this.mousedown&&this.origin&&this.shouldUpdate(t,this)&&(this.get("enableDelegate")?this.updateDelegate(t):this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:t,updateEdge:this.get("updateEdge"),onlyChangeComboSize:this.onlyChangeComboSize,updateParentCombos:this.updateParentCombos}):(this.targets.map(function(e){n.update(e,t);e=e.getModel().comboId;e&&(e,n.graph.findById(e))}),this.onlyChangeComboSize&&this.updateParentCombos()))},onDragEnd:function(e){var t,r,n=this;this.mousedown=!1,this.dragstart=!1,"undefined"!=typeof window&&this.windowEventBinded&&(this.windowEventBinded=!1,document.body.removeEventListener("contextmenu",this.onDragEnd.bind(this)),document.body.removeEventListener("mouseup",this.onDragEnd.bind(this))),this.origin&&(null!=(t=this.cachedCaptureItems)&&t.forEach(function(e){e.getContainer().set("capture",!0)}),this.cachedCaptureItems=[],this.delegateRect&&(this.delegateRect.remove(),this.delegateRect=null),this.get("updateEdge")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(e){e.getEdges().forEach(function(e){n.hidenEdge[e.getID()]&&e.show(),e.refresh()})}),this.hidenEdge={},(t=this.graph).get("enabledStack")&&this.enableStack&&(r={before:{nodes:[],edges:[],combos:[]},after:{nodes:[],edges:[],combos:[]}},this.get("beforeDragNodes").forEach(function(e){r.before.nodes.push(e)}),this.targets.forEach(function(e){var e=e.getModel(),t=e.x,n=e.y,e=e.id;r.after.nodes.push({x:t,y:n,id:e})}),t.pushStack("update",(0,u.clone)(r))),t.emit("dragnodeend",{items:this.targets,targetItem:null}),this.point={},this.origin=null,this.originPoint={},this.targets.length=0,this.targetCombo=null)},onDropCombo:function(e){var t,n,r=e.item;this.currentShouldEnd=this.shouldEnd(e,r,this),this.updatePositions(e,!this.currentShouldEnd),this.currentShouldEnd&&this.validationCombo(r)&&(t=this.graph,this.comboActiveState&&t.setItemState(r,this.comboActiveState,!1),this.targetCombo=r,this.onlyChangeComboSize?t.updateCombos():(n=r.getModel(),this.targets.map(function(e){e.getModel().comboId!==n.id&&t.updateComboTree(e,n.id)}),t.updateCombo(r)),t.emit("dragnodeend",{items:this.targets,targetItem:this.targetCombo}))},onDropCanvas:function(e){var t=this.graph;this.currentShouldEnd=this.shouldEnd(e,void 0,this),this.updatePositions(e,!this.currentShouldEnd),this.targets&&0!==this.targets.length&&this.currentShouldEnd&&(this.onlyChangeComboSize?this.updateParentCombos():this.targets.map(function(e){e.getModel().comboId&&t.updateComboTree(e)}))},onDropNode:function(e){var t,n,r,i;this.targets&&0!==this.targets.length&&(t=e.item,n=this.graph,i=(r=t.getModel().comboId)?n.findById(r):void 0,this.currentShouldEnd=this.shouldEnd(e,i,this),this.updatePositions(e,!this.currentShouldEnd),this.currentShouldEnd)&&(this.onlyChangeComboSize?this.updateParentCombos():r?(i=n.findById(r),this.comboActiveState&&n.setItemState(i,this.comboActiveState,!1),this.targets.map(function(e){var t=e.getModel();r!==t.comboId&&n.updateComboTree(e,r)}),n.updateCombo(i)):this.targets.map(function(e){e.getModel().comboId&&n.updateComboTree(e)}),n.emit("dragnodeend",{items:this.targets,targetItem:t}))},onDragEnter:function(e){var t,e=e.item;this.validationCombo(e)&&(t=this.graph,this.comboActiveState)&&t.setItemState(e,this.comboActiveState,!0)},onDragLeave:function(e){var t,e=e.item;this.validationCombo(e)&&(t=this.graph,this.comboActiveState)&&t.setItemState(e,this.comboActiveState,!1)},updatePositions:function(t,n){var r=this;this.targets&&0!==this.targets.length&&(this.get("enableDelegate")?this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:t,updateEdge:this.get("updateEdge"),onlyChangeComboSize:this.onlyChangeComboSize,updateParentCombos:this.updateParentCombos}):n||this.targets.map(function(e){return r.update(e,t)}):this.targets.map(function(e){return r.update(e,t,n)}))},update:function(e,t,n){var r=this.origin,i=e.get("model"),o=e.get("id"),i=(this.point[o]||(this.point[o]={x:i.x||0,y:i.y||0}),t.x-r.x+this.point[o].x),o=t.y-r.y+this.point[o].y,n=(n&&(i+=r.x-t.x,o+=r.y-t.y),{x:i,y:o});this.get("updateEdge")?this.graph.updateItem(e,n,!1):e.updatePosition(n)},debounceUpdate:(0,u.debounce)(function(e){var t=e.targets,r=e.graph,i=e.point,o=e.origin,a=e.evt,s=e.updateEdge,n=e.onlyChangeComboSize,e=e.updateParentCombos;t.map(function(e){var t=e.get("model"),n=e.get("id"),t=(i[n]||(i[n]={x:t.x||0,y:t.y||0}),{x:a.x-o.x+i[n].x,y:a.y-o.y+i[n].y});s?r.updateItem(e,t,!1):e.updatePosition(t)}),n&&e(r,t)},50,!0),updateDelegate:function(e){var t,n,r,i,o,a,s=this.graph;this.delegateRect?(t=e.x-this.origin.x+this.originPoint.minX,n=e.y-this.origin.y+this.originPoint.minY,this.delegateRect.attr({x:t,y:n})):(t=s.get("group"),n=(0,u.deepMix)({},c.default.delegateStyle,this.delegateStyle),e=(s=this.calculationGroupPosition(e)).x,r=s.y,i=s.width,o=s.height,a=s.minX,s=s.minY,this.originPoint={x:e,y:r,width:i,height:o,minX:a,minY:s},this.delegateRect=t.addShape("rect",{attrs:(0,l.__assign)({width:i,height:o,x:e,y:r},n),name:"rect-delegate-shape"}),this.delegate=this.delegateRect,this.delegateRect.set("capture",!1))},calculationGroupPosition:function(e){var t=this.targets;0===t.length&&t.push(e.item);for(var n=1/0,r=-1/0,i=1/0,o=-1/0,a=0;a<t.length;a++){var s=t[a].getBBox(),l=s.minX,u=s.minY,c=s.maxX,s=s.maxY;l<n&&(n=l),u<i&&(i=u),r<c&&(r=c),o<s&&(o=s)}return{x:Math.floor(n),y:Math.floor(i),width:Math.ceil(r)-Math.floor(n),height:Math.ceil(o)-Math.floor(i),minX:n,minY:i}},updateParentCombos:function(e,t){var n=e||this.graph,e=t||this.targets,r={};null!=e&&e.forEach(function(e){e=e.getModel().comboId;e&&(r[e]=n.findById(e))}),Object.values(r).forEach(function(e){e&&n.updateCombo(e)})}};t.default=n},32230:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(97582),n=(n=n(45140))&&n.__esModule?n:{default:n},r=(0,r.__assign)({getDefaultCfg:function(){return{item:"edge",offset:12,formatText:function(e){return"source: ".concat(e.source," target: ").concat(e.target)}}},getEvents:function(){return{"edge:mouseenter":"onMouseEnter","edge:mouseleave":"onMouseLeave","edge:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave"}}},n.default);t.default=r},5312:function(e,t,n){"use strict";var r=n(31834),i=n(48122),o=b(n(40566)),a=b(n(67712)),s=b(n(61125)),l=b(n(46625)),u=b(n(14789)),c=b(n(71051)),f=b(n(63332)),h=b(n(32230)),d=b(n(82426)),p=b(n(21987)),y=b(n(96852)),m=b(n(86048)),g=b(n(15120)),v=b(n(54528)),n=b(n(42417));function b(e){return e&&e.__esModule?e:{default:e}}o={"drag-canvas":o.default,"zoom-canvas":c.default,"drag-node":a.default,"activate-relations":s.default,"brush-select":l.default,"click-select":u.default,"lasso-select":m.default,tooltip:f.default,"edge-tooltip":h.default,"collapse-expand":d.default,"drag-combo":p.default,"collapse-expand-combo":y.default,"create-edge":g.default,"shortcuts-call":v.default,"scroll-canvas":n.default};(0,r.each)(o,function(e,t){(0,i.registerBehavior)(t,e)})},86048:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(97582),n=(n=n(85698))&&n.__esModule?n:{default:n},f=n.default.isPolygonsIntersect,h=n.default.pathToPoints,i=["drag","shift","ctrl","alt","control"];t.default={getDefaultCfg:function(){return{delegateStyle:{fill:"#EEF6FF",fillOpacity:.4,stroke:"#DDEEFE",lineWidth:1},onSelect:function(){},onDeselect:function(){},shouldDeselect:void 0,selectedState:"selected",trigger:"shift",includeEdges:!0,selectedEdges:[],selectedNodes:[]}},getEvents:function(){return-1<i.indexOf(this.trigger.toLowerCase())||(this.trigger="shift",console.warn("Behavior lasso-select 的 trigger 参数不合法,请输入 'drag'、'shift'、'ctrl' 或 'alt'")),"drag"===this.trigger?{dragstart:"onDragStart",drag:"onDragMove",dragend:"onDragEnd","canvas:click":"clearStates"}:{dragstart:"onDragStart",drag:"onDragMove",dragend:"onDragEnd",keyup:"onKeyUp",keydown:"onKeyDown","canvas:click":"clearStates"}},onDragStart:function(e){var t=this.lasso;e.item||"drag"!==this.trigger&&!this.keydown||(this.selectedNodes&&0!==this.selectedNodes.length&&this.clearStates("dragstart"),t=t||this.createLasso(),this.dragging=!0,this.originPoint={x:e.x,y:e.y},this.points.push(this.originPoint),t.show())},onDragMove:function(e){this.dragging&&("drag"===this.trigger||this.keydown)&&(this.points.push({x:e.x,y:e.y}),this.updateLasso(e))},onDragEnd:function(e){!this.lasso&&!this.dragging||"drag"!==this.trigger&&!this.keydown||(this.points.push(this.originPoint),this.getSelectedItems(),this.lasso.remove(!0),this.lasso=null,this.points=[],this.dragging=!1)},getLassoPath:function(){var e=this.points,n=[];return e.length&&(e.forEach(function(e,t){n.push(0===t?["M",e.x,e.y]:["L",e.x,e.y])}),n.push(["L",e[0].x,e[0].y])),n},clearStates:function(e){void 0===e&&(e="canvas:click");var t=this.graph,n=this.selectedState,r=this.shouldDeselect,i=t.findAllByState("node",n),o=t.findAllByState("edge",n);r&&!r({action:e,nodes:i,edges:o})||(i.forEach(function(e){return t.setItemState(e,n,!1)}),o.forEach(function(e){return t.setItemState(e,n,!1)})),this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges),this.selectedNodes=[],this.selectedEdges=[],t.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[]},select:!1})},getSelectedItems:function(){var i=this,o=this.graph,a=this.shouldUpdate,s=this.points.map(function(e){return[o.getCanvasByPoint(e.x,e.y).x,o.getCanvasByPoint(e.x,e.y).y]}),l=this.selectedState,u=[],c=[],r=(o.getNodes().forEach(function(e){var t,n,r;e.isVisible()&&(n=s,r=(t=e).getKeyShape(),r="path"===t.get("type")?h(r.attr("path")):[[(t=r.getCanvasBBox()).minX,t.minY],[t.maxX,t.minY],[t.maxX,t.maxY],[t.minX,t.maxY]],f(n,r))&&a(e,"select",i)&&(u.push(e),t=e.getModel(),c.push(t.id),o.setItemState(e,l,!0))}),[]);this.includeEdges&&u.forEach(function(e){e.getOutEdges().forEach(function(e){var t,n;e.isVisible()&&(t=(n=e.getModel()).source,n=n.target,c.includes(t))&&c.includes(n)&&a(e,"select",i)&&(r.push(e),o.setItemState(e,i.selectedState,!0))})}),this.selectedEdges=r,this.selectedNodes=u,this.onSelect&&this.onSelect(u,r),o.emit("nodeselectchange",{selectedItems:{nodes:u,edges:r},select:!0})},createLasso:function(){var e=this.graph.get("delegateGroup").addShape("path",{attrs:(0,r.__assign)({path:[]},this.delegateStyle),capture:!1,name:"lasso-shape"});return this.lasso=e,this.delegate=e,this.points=[],e},updateLasso:function(e){this.lasso.attr({path:this.getLassoPath()})},onKeyDown:function(e){e=e.key;e&&(e.toLowerCase()===this.trigger.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.lasso&&(this.lasso.remove(!0),this.lasso=null,this.points=[],this.dragging=!1),this.keydown=!1}}},42417:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(31834),r=["shift","ctrl","alt","control","meta"];t.default={getDefaultCfg:function(){return{direction:"both",enableOptimize:!1,zoomKey:"ctrl",scalableRange:0,allowDragOnItem:!0}},getEvents:function(){return this.zoomKey&&-1!==r.indexOf(this.zoomKey)||(this.zoomKey="ctrl"),{wheel:"onWheel"}},onWheel:function(t){var f=this;if(this.allowDrag(t)){var e,n,r,i,o,a,s,h=this.graph,l=Array.isArray(this.zoomKey)?[].concat(this.zoomKey):[this.zoomKey];if(l.includes("control")&&l.push("ctrl"),l.some(function(e){return t["".concat(e,"Key")]})?(l=h.get("canvas").getPointByClient(t.clientX,t.clientY),e=h.getZoom(),0<t.wheelDelta?e+=.05*e:e-=.05*e,h.zoomTo(e,{x:l.x,y:l.y})):(e=t.deltaX||t.movementX,!(l=t.deltaY||t.movementY)&&-1<navigator.userAgent.indexOf("Firefox")&&(l=125*-t.wheelDelta/3),n=this.graph.get("width"),r=this.graph.get("height"),s=this.graph.get("canvas").getCanvasBBox(),i=this.scalableRange,o=this.scalableRange,i<1&&-1<i&&(i*=n,o*=r),S=s.minX,u=s.maxX,a=s.minY,s=s.maxY,0<e?u<-i?e=0:u-e<-i&&(e=u+i):e<0&&(n+i<S?e=0:n+i<S-e&&(e=S-(n+i))),0<l?s<-o?l=0:s-l<-o&&(l=s+o):l<0&&(r+o<a?l=0:r+o<a-l&&(l=a-(r+o))),"x"===this.get("direction")?l=0:"y"===this.get("direction")&&(e=0),h.translate(-e,-l)),t.preventDefault(),this.get("enableOptimize")){var d=this.get("optimizeZoom"),u=this.get("optimized"),p=h.getNodes(),y=h.getEdges(),m=p.length,g=y.length;if(!u){for(var c=0;c<m;c++){var v=p[c];if(!v.destroyed)for(var b=(w=v.get("group").get("children")).length,_=0;_<b;_++)(A=w[_]).destoryed||A.get("isKeyShape")||(A.set("ori-visibility",A.get("ori-visibility")||A.get("visible")),A.hide())}for(var x=0;x<g;x++)for(var w,A,b=(w=y[x].get("group").get("children")).length,_=0;_<b;_++)(A=w[_]).set("ori-visibility",A.get("ori-visibility")||A.get("visible")),A.hide();this.set("optimized",!0)}clearTimeout(this.get("timeout"));var S=setTimeout(function(){var e=h.getZoom();if(f.get("optimized")){f.set("optimized",!1);for(var t=0;t<m;t++){var n=p[t],r=(s=n.get("group").get("children")).length;if(e<d)(o=(l=n.getKeyShape()).get("ori-visibility"))&&l.show();else for(var i=0;i<r;i++){var o=(u=s[i]).get("ori-visibility");!u.get("visible")&&o&&u.show()}}for(var a=0;a<g;a++){var s,l,u,c=y[a],r=(s=c.get("group").get("children")).length;if(e<d)(o=(l=c.getKeyShape()).get("ori-visibility"))&&l.show();else for(i=0;i<r;i++)(u=s[i]).get("visible")||(o=u.get("ori-visibility"))&&u.show()}}},100);this.set("timeout",S)}}},allowDrag:function(e){var t=e.target,t=t&&t.isCanvas&&t.isCanvas();if((0,o.isBoolean)(this.allowDragOnItem)&&!this.allowDragOnItem&&!t)return!1;if((0,o.isObject)(this.allowDragOnItem)){var t=this.allowDragOnItem,n=t.node,r=t.edge,t=t.combo,i=null==(i=null==(e=e.item)?void 0:e.getType)?void 0:i.call(e);if(!n&&"node"===i)return!1;if(!r&&"edge"===i)return!1;if(!t&&"combo"===i)return!1}return!0}}},54528:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["shift","ctrl","alt","control"];t.default={getDefaultCfg:function(){return{trigger:"ctrl",combinedKey:"1",functionName:"fitView",functionParams:[]}},getEvents:function(){return-1<n.indexOf(this.trigger.toLowerCase())||(this.trigger="ctrl",console.warn("Behavior shortcuts-fit-view 的 trigger 参数 '".concat(this.trigger,"' 不合法,请输入 'drag'、'shift'、'ctrl' 或 'alt'"))),this.combinedKey===this.trigger&&(this.combinedKey=void 0),{keyup:"onKeyUp",keydown:"onKeyDown"}},onKeyDown:function(e){e=e.key;if(e){var t,n=this.trigger.toLowerCase(),e=e.toLowerCase(),n=(this.triggerKeydown||(this.triggerKeydown=e===n||"control"===e&&"ctrl"===n||"ctrl"===e&&"control"===n),this.graph);if(!n[this.functionName])return console.warn("Behavior shortcuts-fit-view 的 functionName 参数 '".concat(this.functionName,"' 不合法,它不是 Graph 的一个函数名")),{};(this.triggerKeydown&&!this.combinedKey||(t=this.combinedKey.toLowerCase(),this.triggerKeydown&&(e===t||"control"===e&&"ctrl"===t||"ctrl"===e&&"control"===t)))&&(this.functionParams&&this.functionParams.length?n[this.functionName].apply(n,this.functionParams):n[this.functionName]())}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.triggerKeydown=!1}}},45140:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(39269);t.default={onMouseEnter:function(e){var t=e.item;this.currentTarget=t,this.showTooltip(e),this.graph.emit("tooltipchange",{item:e.item,action:"show"})},onMouseMove:function(e){this.shouldUpdate(e,this)?this.currentTarget&&e.item===this.currentTarget&&this.updatePosition(e):this.hideTooltip()},onMouseLeave:function(e){this.shouldEnd(e,this)&&(this.hideTooltip(),this.graph.emit("tooltipchange",{item:this.currentTarget,action:"hide"}),this.currentTarget=null)},showTooltip:function(e){var t,n=this.container;e.item&&!e.item.destroyed&&(n||(n=this.createTooltip(this.graph.get("canvas")),this.container=n),t=this.formatText(e.item.get("model"),e),n.innerHTML=t,(0,a.modifyCSS)(this.container,{visibility:"visible"}),this.updatePosition(e))},hideTooltip:function(){(0,a.modifyCSS)(this.container,{visibility:"hidden"})},updatePosition:function(e){var t=this.get("shouldBegin"),n=this.width,r=this.height,i=this.container,o=this.graph;t(e,this)?(t=o.getPointByClient(e.clientX,e.clientY),o=(e=o.getCanvasByPoint(t.x,t.y)).x,t=e.y,e=i.getBoundingClientRect(),n/2<o?o-=e.width:o+=this.offset,r/2<t?t-=e.height:t+=this.offset,n="".concat(o,"px"),r="".concat(t,"px"),(0,a.modifyCSS)(this.container,{left:n,top:r,visibility:"visible"})):(0,a.modifyCSS)(i,{visibility:"hidden"})},createTooltip:function(e){var t=e.get("el"),n=(t.style.position="relative",(0,a.createDom)('<div class="g6-tooltip g6-'.concat(this.item,'-tooltip"></div>')));return t.parentNode.appendChild(n),(0,a.modifyCSS)(n,{position:"absolute",visibility:"visible"}),this.width=e.get("width"),this.height=e.get("height"),this.container=n,this.graph.get("tooltips").push(n),n}}},63332:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(97582),n=(n=n(45140))&&n.__esModule?n:{default:n},r=(0,r.__assign)({getDefaultCfg:function(){return{item:"node",offset:12,formatText:function(e){return e.label}}},getEvents:function(){return{"node:mouseenter":"onMouseEnter","node:mouseleave":"onMouseLeave","node:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave"}}},n.default);t.default=r},71051:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(43708),U=n(31834),i=n(99121),Q=r.ext.transform;t.default={getDefaultCfg:function(){return this.isFireFox="firefox"===(0,i.getBrowserName)(),{sensitivity:2,minZoom:void 0,maxZoom:void 0,enableOptimize:!1,optimizeZoom:.1,fixSelectedItems:{fixAll:!1,fixLineWidth:!1,fixLabel:!1,fixState:"selected"},animate:!1,animateCfg:{duration:500}}},getEvents:function(){var e=this.fixSelectedItems;return e.fixState||(e.fixState="selected"),e.fixAll&&(e.fixLineWidth=!0,e.fixLabel=!0),{wheel:"onWheel",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onTouchEnd"}},onTouchStart:function(e){var t=e.originalEvent.touches,n=t[0],t=t[1];e.preventDefault(),!t||this.shouldBegin&&!this.shouldBegin(e,this)||(this.startPoint={pageX:n.pageX,pageY:n.pageY},this.moveable=!0,t&&(this.endPoint={pageX:t.pageX,pageY:t.pageY}),this.originScale=this.graph.getZoom()||this.currentScale||1)},onTouchMove:function(e){var t,n,r,i;this.moveable&&(e.preventDefault(),n=(t=e.originalEvent.touches)[0],t=t[1])&&(this.endPoint||(this.endPoint={pageX:t.pageX,pageY:t.pageY}),n=(r=function(e,t){return Math.hypot(t.x-e.x,t.y-e.y)})({x:n.pageX,y:n.pageY},{x:t.pageX,y:t.pageY})/r({x:this.startPoint.pageX,y:this.startPoint.pageY},{x:this.endPoint.pageX,y:this.endPoint.pageY}),t=this.originScale*n,this.currentScale=t,r=this.get("minZoom")||this.graph.get("minZoom"),t>(this.get("maxZoom")||this.graph.get("maxZoom"))||t<r||(n=this.get("animate"),r=this.get("animateCfg"),i=this.graph.get("canvas").getPointByClient(e.clientX,e.clientY),this.graph.zoomTo(t,{x:i.x,y:i.y},n,r),this.graph.emit("wheelzoom",e)))},onTouchEnd:function(){this.moveable=!1,this.endPoint=null},onWheel:function(e){var f=this,h=this.graph,t=this.fixSelectedItems;if((!this.shouldBegin||this.shouldBegin(e,this))&&this.shouldUpdate(e,this)){e.preventDefault();var n=h.get("canvas").getPointByClient(e.clientX,e.clientY),r=this.get("sensitivity"),i=h.getZoom(),o=i,o=i*(this.isFireFox?0<e.deltaY||e.wheelDelta<0?1-.05*r:1/(1-.05*r):e.wheelDelta<0?1-.05*r:1/(1-.05*r)),r=this.get("minZoom")||h.get("minZoom"),a=this.get("maxZoom")||h.get("maxZoom");if(a<o?o=a:o<r&&(o=r),this.get("enableOptimize")){var d=this.get("optimizeZoom"),a=this.get("optimized"),p=h.getNodes(),y=h.getEdges(),B=p.length,R=y.length;if(!a){for(var s=0;s<B;s++)if(!(g=p[s]).destroyed)for(var l=(D=g.get("group").get("children")).length,u=0;u<l;u++)(S=D[u]).destoryed||S.get("isKeyShape")||(S.set("ori-visibility",S.get("ori-visibility")||S.get("visible")),S.hide());for(var c=0;c<R;c++)for(l=(D=(j=y[c]).get("group").get("children")).length,u=0;u<l;u++)(S=D[u]).set("ori-visibility",S.get("ori-visibility")||S.get("visible")),S.hide();this.set("optimized",!0)}clearTimeout(this.get("timeout"));r=setTimeout(function(){var e=h.getZoom();if(f.get("optimized")){f.set("optimized",!1);for(var t=0;t<B;t++){var n=p[t],r=(s=n.get("group").get("children")).length;if(e<d){var i=(c=n.getKeyShape()).get("ori-visibility");c.set("ori-visibility",void 0),i&&c.show()}else for(var o=0;o<r;o++)i=(l=s[o]).get("ori-visibility"),l.set("ori-visibility",void 0),!l.get("visible")&&i&&l.show()}for(var a=0;a<R;a++){var s,l,u=y[a],r=(s=u.get("group").get("children")).length;if(e<d){var c,i=(c=u.getKeyShape()).get("ori-visibility");c.set("ori-visibility",void 0),i&&c.show()}else for(o=0;o<r;o++)(l=s[o]).get("visible")||(i=l.get("ori-visibility"),l.set("ori-visibility",void 0),i&&l.show())}}},100);this.set("timeout",r)}if(i<=1){var N=void 0,z=void 0;if(t.fixAll||t.fixLineWidth||t.fixLabel){for(var N=h.findAllByState("node",t.fixState),z=h.findAllByState("edge",t.fixState),F=i/o,V=N.length,m=0;m<V;m++){var g,v,b,_,x=(g=N[m]).getContainer(),H=g.getModel(),Y=g.getOriginStyle(),w=g.getStateStyle(t.fixState),A=g.get("shapeFactory").getShape(H.type).getStateStyle(t.fixState,g)[t.fixState];if(t.fixAll)o<=1&&(v=(v=(0,U.clone)(x.getMatrix()))||[1,0,0,0,1,0,0,0,1],b=(_=g.getModel()).x,_=_.y,v=Q(v,[["t",-b,-_],["s",F,F],["t",b,_]]),x.setMatrix(v));else for(l=(D=x.get("children")).length,u=0;u<l;u++){var S=D[u],C=void 0,O=void 0;if(t.fixLabel&&"text"===S.get("type")){var C=S.attr("fontSize")||12,E=w[S.get("name")],M=A[S.get("name")],P=E?E.fontSize:12,k=M?M.fontSize:12,T=P||k||12;if(o<=1&&S.attr("fontSize",T/o),O)break}if(t.fixLineWidth&&S.get("isKeyShape")){var O=S.attr("lineWidth")||0,I=w.lineWidth||A.lineWidth||Y.lineWidth||0;if(o<=1&&S.attr("lineWidth",I/o),C)break}}}for(var G=z.length,L=0;L<G;L++)for(var j,D=(x=(j=z[L]).getContainer()).get("children"),H=j.getModel(),w=j.getStateStyle(t.fixState),A=j.get("shapeFactory").getShape(H.type).getStateStyle(t.fixState,j)[t.fixState],l=D.length,u=0;u<l&&(S=D[u],O=C=void 0,!t.fixLabel&&!t.fixAll||"text"!==S.get("type")||(C=S.attr("fontSize")||12,E=w[S.get("name")],M=A[S.get("name")],P=E?E.fontSize:12,k=M?M.fontSize:12,T=P||k||12,o<=1&&S.attr("fontSize",T/o),!O))&&(!t.fixLineWidth&&!t.fixAll||!S.get("isKeyShape")||(O=S.attr("lineWidth")||0,I=w.lineWidth||A.lineWidth||1,o<=1&&S.attr("lineWidth",I/o),!C));u++);}}a=this.get("animate"),r=this.get("animateCfg");h.zoomTo(o,{x:n.x,y:n.y},a,r),h.emit("wheelzoom",e)}}}},68950:function(e,t,n){"use strict";n(27509)},31339:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=(t.default=void 0,n(73297).getColorsWithSubjectColor)("rgb(95, 149, 255)","rgb(255, 255, 255)"),n={version:"0.8.17",rootContainerClassName:"root-container",nodeContainerClassName:"node-container",edgeContainerClassName:"edge-container",comboContainerClassName:"combo-container",delegateContainerClassName:"delegate-container",defaultLoopPosition:"top",nodeLabel:{style:{fill:"#000",fontSize:12,textAlign:"center",textBaseline:"middle"},offset:4},defaultNode:{type:"circle",style:{lineWidth:1,stroke:n.mainStroke,fill:n.mainFill},size:20,color:n.mainStroke,linkPoints:{size:8,lineWidth:1,fill:n.activeFill,stroke:n.activeStroke}},nodeStateStyles:{active:{fill:n.activeFill,stroke:n.activeStroke,lineWidth:2,shadowColor:n.mainStroke,shadowBlur:10},selected:{fill:n.selectedFill,stroke:n.selectedStroke,lineWidth:4,shadowColor:n.selectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{fill:n.highlightFill,stroke:n.highlightStroke,lineWidth:2,"text-shape":{fontWeight:500}},inactive:{fill:n.inactiveFill,stroke:n.inactiveStroke,lineWidth:1},disable:{fill:n.disableFill,stroke:n.disableStroke,lineWidth:1}},edgeLabel:{style:{fill:"rgb(0, 0, 0)",textAlign:"center",textBaseline:"middle",fontSize:12}},defaultEdge:{type:"line",size:1,style:{stroke:n.edgeMainStroke,lineAppendWidth:2},color:n.edgeMainStroke},edgeStateStyles:{active:{stroke:n.edgeActiveStroke,lineWidth:1},selected:{stroke:n.edgeSelectedStroke,lineWidth:2,shadowColor:n.edgeSelectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{stroke:n.edgeHighlightStroke,lineWidth:2,"text-shape":{fontWeight:500}},inactive:{stroke:n.edgeInactiveStroke,lineWidth:1},disable:{stroke:n.edgeDisableStroke,lineWidth:1}},comboLabel:{style:{fill:"rgb(0, 0, 0)",textBaseline:"middle",fontSize:12},refY:10,refX:10},defaultCombo:{type:"circle",style:{fill:n.comboMainFill,lineWidth:1,stroke:n.comboMainStroke,r:5,width:20,height:10},size:[20,5],color:n.comboMainStroke,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:n.comboActiveStroke,lineWidth:1,fill:n.comboActiveFill},selected:{stroke:n.comboSelectedStroke,lineWidth:2,fill:n.comboSelectedFill,shadowColor:n.comboSelectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{stroke:n.comboHighlightStroke,lineWidth:2,fill:n.comboHighlightFill,"text-shape":{fontWeight:500}},inactive:{stroke:n.comboInactiveStroke,fill:n.comboInactiveFill,lineWidth:1},disable:{stroke:n.comboDisableStroke,fill:n.comboDisableFill,lineWidth:1}},delegateStyle:{fill:"#F3F9FF",fillOpacity:.5,stroke:"#1890FF",strokeOpacity:.9,lineDash:[5,5]},textWaterMarkerConfig:{width:150,height:100,compatible:!1,text:{x:0,y:60,lineHeight:20,rotate:20,fontSize:14,fontFamily:"Microsoft YaHei",fill:"rgba(0, 0, 0, 0.1)",baseline:"Middle"}},imageWaterMarkerConfig:{width:150,height:130,compatible:!1,image:{x:0,y:0,width:30,height:20,rotate:0}},waterMarkerImage:"https://gw.alipayobjects.com/os/s/prod/antv/assets/image/logo-with-text-73b8a.svg"};t.default=n},48263:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(97582),s=n(39269),l=n(31834),n=n(48122),o=n.Util.cloneEvent,u=n.Util.isViewportChanged,n=(r=n.AbstractEvent,(0,i.__extends)(c,r),c.prototype.initEvents=function(){var e=this.graph,t=this.extendEvents,t=void 0===t?[]:t,n=e.get("canvas"),r=n.get("el"),i=(0,l.wrapBehavior)(this,"onCanvasEvents"),o=(0,l.wrapBehavior)(this,"onExtendEvents"),a=(0,l.wrapBehavior)(this,"onWheelEvent");n.off("*").on("*",i),this.canvasHandler=i,t.push((0,s.addEventListener)(r,"wheel",a)),"undefined"!=typeof window&&(t.push((0,s.addEventListener)(window,"keydown",o)),t.push((0,s.addEventListener)(window,"keyup",o)),t.push((0,s.addEventListener)(window,"focus",o))),this.resetHandler&&e.off("afterchangedata",this.resetHandler),this.resetHandler=(0,l.wrapBehavior)(this,"resetStatus"),e.on("afterchangedata",this.resetHandler)},c.getItemRoot=function(e){for(;e&&!e.get("item");)e=e.get("parent");return e},c.prototype.onCanvasEvents=function(e){var t=this,n=this.graph,r=n.get("canvas"),i=e.target,o=e.type;switch(o){case"drag":this.onCanvasEvents(Object.assign({},e,{type:"mousemove"}));break;case"dragend":this.onCanvasEvents(Object.assign({},e,{type:"mouseup"}));break;case"mousedown":this.mousedown=!0;break;case"dragend":case"mouseup":setTimeout(function(){return t.mousedown=!1});break;case"click":if(!this.mousedown)return}e.canvasX=e.x,e.canvasY=e.y;var a={x:e.canvasX,y:e.canvasY},s=n.get("group").getMatrix();u(s=s||[1,0,0,0,1,0,0,0,1])&&(a=n.getPointByClient(e.clientX,e.clientY)),e.x=a.x,e.y=a.y,e.currentTarget=n,i===r?("mousemove"!==o&&"mouseleave"!==o||this.handleMouseMove(e,"canvas"),e.target=r,e.item=null,n.emit(o,e),n.emit("canvas:".concat(o),e)):(s=c.getItemRoot(i))?(a=s.get("item")).destroyed||(r=a.getType(),e.target=i,e.item=a,e.canvasX===e.x&&e.canvasY===e.y&&(s=n.getCanvasByPoint(e.x,e.y),e.canvasX=s.x,e.canvasY=s.y),e.name&&!e.name.includes(":")?(n.emit("".concat(r,":").concat(o),e),n.emit(o,e)):e.name&&n.emit(e.name,e),"dragstart"===o&&(this.dragging=!0),"dragend"===o&&(this.dragging=!1),"mousemove"===o&&this.handleMouseMove(e,r)):n.emit(o,e)},c.prototype.onExtendEvents=function(e){this.graph.emit(e.type,e)},c.prototype.onWheelEvent=function(e){(0,l.isNil)(e.wheelDelta)&&(e.wheelDelta=-e.detail),this.graph.emit("wheel",e)},c.prototype.handleMouseMove=function(e,t){var n=this.graph,r=this.preItem,n=n.get("canvas"),n=e.target===n?null:e.item;e=o(e),r&&r!==n&&!r.destroyed&&(e.item=r,this.emitCustomEvent(r.getType(),"mouseleave",e),this.dragging)&&this.emitCustomEvent(r.getType(),"dragleave",e),n&&r!==n&&(e.item=n,this.emitCustomEvent(t,"mouseenter",e),this.dragging)&&this.emitCustomEvent(t,"dragenter",e),this.preItem=n},c.prototype.emitCustomEvent=function(e,t,n){n.type=t,this.graph.emit("".concat(e,":").concat(t),n)},c.prototype.resetStatus=function(){this.mousedown=!1,this.dragging=!1,this.preItem=null},c.prototype.destroy=function(){var e=this.graph,t=this.canvasHandler,n=this.extendEvents;e.get("canvas").off("*",t),(0,l.each)(n,function(e){e.remove()}),this.resetStatus(),this.extendEvents.length=0,this.canvasHandler=null,this.resetHandler=null,this.destroyed=!0},c);function c(e){var t=r.call(this,e)||this;return t.extendEvents=[],t.dragging=!1,t.mousedown=!1,t.preItem=null,t.destroy(),t.graph=e,t.destroyed=!1,t.initEvents(),t}t.default=n},74278:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EventController",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"LayoutController",{enumerable:!0,get:function(){return i.default}});var r=o(n(48263)),i=o(n(71426));function o(e){return e&&e.__esModule?e:{default:e}}},71426:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var g=n(97582),v=n(48122),b=n(39849),r=n(88405),m=n(89996),i=n(59271),u=n(31834);function f(e){return(f="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})(e)}function o(e){return setTimeout(e,16)}function a(e){return clearTimeout(e)}function _(e){return("undefined"!=typeof window&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame)||o)(e)}function s(e){("undefined"!=typeof window&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame)||a)(e)}var l,c=["fruchterman","gForce"],h=["force","grid","circular"],n=(l=v.AbstractLayout,(0,g.__extends)(d,l),d.prototype.initLayout=function(){},d.prototype.getWorker=function(){return this.worker||("undefined"==typeof Worker?(console.warn("Web worker is not supported in current browser."),this.worker=null):this.worker=(0,r.LayoutWorker)(this.layoutCfg.workerScriptURL),this.worker)},d.prototype.stopWorker=function(){var e=this.workerData;this.worker&&(this.worker.terminate(),this.worker=null,e.requestId&&(s(e.requestId),e.requestId=null),e.requestId2)&&(s(e.requestId2),e.requestId2=null)},d.prototype.execLayoutMethod=function(y,m){var e=this;return new Promise(function(d,p){return(0,g.__awaiter)(e,void 0,void 0,function(){var i,o,a,s,l,u,c,f,h;return(0,g.__generator)(this,function(e){switch(e.label){case 0:if(!(i=this.graph)||i.get("destroyed"))return[2];o=y.type,y.onLayoutEnd=function(){i.emit("aftersublayout",{type:o}),d()},o&&this.isGPU&&(w(o)?o="".concat(o,"-gpu"):console.warn("The '".concat(o,"' layout does not support GPU calculation for now, it will run in CPU."))),v.Util.isForce(o)?(a=y.onTick,s=y.animate,l=void 0===s&&("force"===o||"force2"===o),f=function(){a&&a(),(s||l)&&i.refreshPositions()},y.tick=f):"comboForce"!==o&&"comboCombined"!==o||(y.comboTrees=i.get("comboTrees"));try{u=new b.Layout[o](y),this.layoutMethods[m]&&this.layoutMethods[m].destroy(),this.layoutMethods[m]=u}catch(e){console.warn("The layout method: '".concat(o,"' does not exist! Please specify it first.")),p()}return u.enableTick&&(c=y.onTick,f=function(){c&&c(),i.refreshPositions()},u.tick=f),t=h=this.filterLayoutData(this.data,y),n=m,null!=(r=null==t?void 0:t.nodes)&&r.length&&t.nodes.forEach(function(e){e.layoutOrder=n}),u.init(h),i.emit("beforesublayout",{type:o}),[4,u.execute()];case 1:return e.sent(),u.isCustomLayout&&y.onLayoutEnd&&y.onLayoutEnd(),[2]}var t,n,r})})})},d.prototype.updateLayoutMethod=function(l,u){var t=this;return new Promise(function(s,e){return(0,g.__awaiter)(t,void 0,void 0,function(){var t,n,r,i,o,a;return(0,g.__generator)(this,function(e){switch(e.label){case 0:return t=this.graph,n=null==u?void 0:u.type,u.onLayoutEnd=function(){t.emit("aftersublayout",{type:n}),s()},v.Util.isForce(n)&&(r=u.onTick,i=u.animate,o=void 0===i&&("force"===n||"force2"===n),a=function(){null!=r&&r(),(i||o)&&t.refreshPositions()},u.tick=a),a=this.filterLayoutData(this.data,u),l.init(a),l.updateCfg(u),t.emit("beforesublayout",{type:n}),[4,l.execute()];case 1:return e.sent(),l.isCustomLayout&&u.onLayoutEnd&&u.onLayoutEnd(),[2]}})})})},d.prototype.layout=function(e){var t,n,r,i,o,a,s,l,u,c=this,f=this.graph;if(f&&!f.get("destroyed"))return this.data=this.setDataFromGraph(),u=this.data,t=u.nodes,u=u.hiddenNodes,!!t&&(r=f.get("width"),s=f.get("height"),n={},Object.assign(n,{width:r,height:s,center:[r/2,s/2]},this.layoutCfg),r=(this.layoutCfg=n).type,i=!1,null!=(s=this.layoutMethods)&&s.forEach(function(e){return i=!(null==(e=e.nodes)||!e.length)||i}),s=this.destoryLayoutMethods(),f.emit("beforelayout"),o=Promise.resolve(),i&&r&&1===(null==s?void 0:s.length)&&s[0]===r?this.tweakInit():o=this.initPositions(n.center,t),this.initPositions(n.center,u).then(),this.isGPU=p(n,r),a=n.onLayoutEnd,s=n.layoutEndFormatted,l=n.adjust,s||(n.layoutEndFormatted=!0,n.onAllLayoutEnd=function(){return(0,g.__awaiter)(c,void 0,void 0,function(){return(0,g.__generator)(this,function(e){switch(e.label){case 0:return a&&a(t),this.refreshLayout(),l&&n.pipes?[4,this.adjustPipesBox(this.data,l)]:[3,2];case 1:e.sent(),this.refreshLayout(),e.label=2;case 2:return f.emit("afterlayout"),[2]}})})}),this.stopWorker(),!(!n.workerEnabled||!this.layoutWithWorker(this.data,e))||(u=!1,n.type?(u=!0,o=o.then(function(){return(0,g.__awaiter)(c,void 0,void 0,function(){return(0,g.__generator)(this,function(e){switch(e.label){case 0:return[4,this.execLayoutMethod(n,0)];case 1:return[2,e.sent()]}})})})):n.pipes&&(u=!0,n.pipes.forEach(function(t,n){o=o.then(function(){return(0,g.__awaiter)(c,void 0,void 0,function(){return(0,g.__generator)(this,function(e){switch(e.label){case 0:return[4,this.execLayoutMethod(t,n)];case 1:return[2,e.sent()]}})})})})),u?o.then(function(){n.onAllLayoutEnd&&n.onAllLayoutEnd(),e&&e()}).catch(function(e){console.warn("graph layout failed,",e)}):(f.refreshPositions(),null!=e&&e()),!1))},d.prototype.tweakInit=function(){var i,n,r,e=this.data,t=this.graph,o=e.nodes,e=e.edges;null!=o&&o.length&&(i={},o.forEach(function(e){var t=e.x,n=e.y;isNaN(t)||isNaN(n)||(i[e.id]={x:t,y:n},e.mass=e.mass||2)}),e.forEach(function(e){var t=e.source,e=e.target,n=i[t],r=i[e];!n&&r?i[t]={x:r.x+80*(Math.random()-.5),y:r.y+80*(Math.random()-.5)}:!r&&n&&(i[e]={x:n.x+80*(Math.random()-.5),y:n.y+80*(Math.random()-.5)})}),n=t.get("width"),r=t.get("height"),o.forEach(function(e){var t=i[e.id]||{x:n/2+20*(Math.random()-.5),y:r/2+20*(Math.random()-.5)};e.x=t.x,e.y=t.y}))},d.prototype.initWithPreset=function(a,s){var t=this;return new Promise(function(o,e){return(0,g.__awaiter)(t,void 0,void 0,function(){var t,n,r,i;return(0,g.__generator)(this,function(e){switch(e.label){case 0:return t=(n=this).layoutCfg,n=n.data,null!=(r=t.preset)&&r.type&&b.Layout[null==r?void 0:r.type]?(i=p(r,r.type),i=i?"".concat(r.type,"-gpu"):r.type,i=new b.Layout[i](r),delete t.preset,i.init(n),[4,i.execute()]):(null!=s&&s(),o(),[2,!1]);case 1:return e.sent(),null!=a&&a(),o(),[2,!0]}})})})},d.prototype.layoutWithWorker=function(t,e){var n=this,r=this.layoutCfg,i=this.graph,o=this.getWorker(),a=this.workerData;if(!o)return!1;a.requestId=null,a.requestId2=null,a.currentTick=null,a.currentTickData=null,i.emit("beforelayout");var s=Promise.resolve(),a=!1;if(r.type)a=!0,s=s.then(function(){return n.runWebworker(o,t,r)});else if(r.pipes)for(var a=!0,l=0,u=r.pipes;l<u.length;l++)!function(e){s=s.then(function(){return n.runWebworker(o,t,e)})}(u[l]);return a&&s.then(function(){r.onAllLayoutEnd&&r.onAllLayoutEnd(),null!=e&&e()}).catch(function(e){console.error("layout failed",e)}),!0},d.prototype.runWebworker=function(e,t,r){var n,i,o=this,a=this.isGPU,s=this.filterLayoutData(t,r),t=s.nodes,l=s.edges,u=document.createElement("canvas"),a=a&&"undefined"!=typeof window&&window.navigator&&!navigator.gpu&&"OffscreenCanvas"in window&&"transferControlToOffscreen"in u,c=(i={},(n=r)&&"object"===f(n)?(Object.keys(n).forEach(function(e){n.hasOwnProperty(e)&&"function"!=typeof n[e]&&(i[e]=n[e])}),i):n);return a?(a=u.transferControlToOffscreen(),c.type="".concat(c.type,"-gpu"),e.postMessage({type:m.LAYOUT_MESSAGE.GPURUN,nodes:t,edges:l,layoutCfg:c,canvas:a},[a])):e.postMessage({type:m.LAYOUT_MESSAGE.RUN,nodes:t,edges:l,layoutCfg:c}),new Promise(function(t,n){e.onmessage=function(e){o.handleWorkerMessage(t,n,e,s,r)}})},d.prototype.handleWorkerMessage=function(e,t,n,r,i){function o(){i.onTick&&i.onTick()}var a=this.graph,s=this.workerData,l=n.data;switch(l.type){case m.LAYOUT_MESSAGE.TICK:s.currentTick=l.currentTick,s.currentTickData=l,s.requestId||(s.requestId=_(function(){x(r,l),a.refreshPositions(),o(),l.currentTick===l.totalTicks?e():s.currentTick===l.totalTicks&&(s.requestId2=_(function(){x(r,s.currentTickData),a.refreshPositions(),s.requestId2=null,o(),e()})),s.requestId=null}));break;case m.LAYOUT_MESSAGE.END:null==s.currentTick&&(x(r,l),e());break;case m.LAYOUT_MESSAGE.GPUEND:if(null==s.currentTick){for(var u=r.nodes,c=l.vertexEdgeData,f=u.length,h=0;h<f;h++){var d=u[h],p=c[4*h],y=c[4*h+1];d.x=p,d.y=y}e()}break;case m.LAYOUT_MESSAGE.ERROR:console.warn("Web-Worker layout error!",l.message),t();break;default:t()}},d.prototype.updateLayoutCfg=function(e){var r,i,t,o=this,n=this.graph,a=this.layoutMethods;n&&!n.get("destroyed")&&(t=e.disableTriggerLayout,e=(0,g.__rest)(e,["disableTriggerLayout"]),r=(0,u.mix)({},this.layoutCfg,e),this.layoutCfg=r,t||(null!=a&&a.length?(this.data=this.setDataFromGraph(),this.stopWorker(),e.workerEnabled&&this.layoutWithWorker(this.data,null)||(n.emit("beforelayout"),i=Promise.resolve(),t=!1,1===(null==a?void 0:a.length)?(t=!0,i=i.then(function(){return(0,g.__awaiter)(o,void 0,void 0,function(){return(0,g.__generator)(this,function(e){switch(e.label){case 0:return[4,this.updateLayoutMethod(a[0],r)];case 1:return[2,e.sent()]}})})})):null!=a&&a.length&&(t=!0,a.forEach(function(t,e){var n=r.pipes[e];i=i.then(function(){return(0,g.__awaiter)(o,void 0,void 0,function(){return(0,g.__generator)(this,function(e){switch(e.label){case 0:return[4,this.updateLayoutMethod(t,n)];case 1:return[2,e.sent()]}})})})})),t&&i.then(function(){r.onAllLayoutEnd&&r.onAllLayoutEnd()}).catch(function(e){console.warn("layout failed",e)}))):this.layout()))},d.prototype.adjustPipesBox=function(i,s){var l=this;return new Promise(function(e){var t=i.nodes,n=(null!=t&&t.length||e(),h.includes(s)||(console.warn("The adjust type ".concat(s," is not supported yet, please assign it with 'force', 'grid', or 'circular'.")),e()),{center:l.layoutCfg.center,nodeSize:function(e){return Math.max(e.height,e.width)},preventOverlap:!0,onLayoutEnd:function(){}}),t=l.getLayoutBBox(t),o=t.groupNodes,r=t.layoutNodes,a=(0,u.clone)(r);n.onLayoutEnd=function(){null!=r&&r.forEach(function(e,t){var n,r=e.x-(null==(n=a[t])?void 0:n.x),i=e.y-(null==(n=a[t])?void 0:n.y);null!=(e=o[t])&&e.forEach(function(e){e.x+=r,e.y+=i})}),e()},new b.Layout[s](n).layout({nodes:r})})},d.prototype.destroy=function(){this.destoryLayoutMethods();var e=this.worker;e&&(e.terminate(),this.worker=null),this.destroyed=!0,this.graph.set("layout",void 0),this.layoutCfg=void 0,this.layoutType=void 0,this.layoutMethods=void 0,this.graph=null},d);function d(e){var t=l.call(this,e)||this;return t.graph=e,t.layoutCfg=e.get("layout")||{},t.layoutType=t.getLayoutType(),t.worker=null,t.workerData={},t.initLayout(),t}function x(e,t){for(var n=e.nodes,r=t.nodes,i=n.length,o=0;o<i;o++){var a=n[o];a.x=r[o].x,a.y=r[o].y}}function w(e){return c.includes(e)}function p(e,t){var n=t,t=(t&&"gpu"===t.split("-")[1]&&(n=t.split("-")[0],e.gpuEnabled=!0),!1);return e.gpuEnabled&&(t=!0,(0,i.gpuDetector)().webgl||(console.warn("Your browser does not support webGL or GPGPU. The layout will run in CPU."),t=!1)),t&&!w(n)&&(console.warn("The '".concat(n,"' layout does not support GPU calculation for now, it will run in CPU.")),t=!1),t}t.default=n},99042:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,g=n(97582),m=n(15873),v=n(32227),r=n(43708),b=n(31834),i=n(48122),_=(s=n(31339))&&s.__esModule?s:{default:s},a=n(74278),x=n(39269),y=n(97082),w=r.ext.transform,s=(o=i.AbstractGraph,(0,g.__extends)(l,o),l.prototype.initLayoutController=function(){var e=new a.LayoutController(this);this.set({layoutController:e})},l.prototype.initEventController=function(){var e=new a.EventController(this);this.set({eventController:e})},l.prototype.initCanvas=function(){var e=this.get("container");if("string"==typeof e&&(e=document.getElementById(e),this.set("container",e)),!e)throw new Error("invalid container");var t=e.clientWidth,n=e.clientHeight,r=this.get("width")||t,i=this.get("height")||n;this.get("width")||this.get("height")||(this.set("width",t),this.set("height",n)),e="svg"===this.get("renderer")?new v.Canvas({container:e,width:r,height:i}):(t={container:e,width:r,height:i},(n=this.get("pixelRatio"))&&(t.pixelRatio=n,window.devicePixelRatio=n),new m.Canvas(t)),this.set("canvas",e)},l.prototype.initPlugins=function(){var t=this;(0,b.each)(t.get("plugins"),function(e){!e.destroyed&&e.initPlugin&&e.initPlugin(t)})},l.prototype.downloadImageWatermark=function(r,i,o,a){return(0,g.__awaiter)(this,void 0,void 0,function(){var t,n;return(0,g.__generator)(this,function(e){switch(e.label){case 0:return t=r.style.backgroundImage,t=t.slice(5,t.length-2),(n=new Image).src=t,[4,new Promise(function(t){n.onload=function(){var e=i.createPattern(n,"repeat");i.rect(0,0,o,a),i.fillStyle=e,i.fill(),t("")}})];case 1:return e.sent(),[2]}})})},l.prototype.asyncToDataUrl=function(l,u,c,f,h,e){var t=this,d=document.querySelector(".g6-graph-watermarker"),n=this.get("canvas"),p=n.getRenderer(),y=e||n.get("el"),m="";l=l||"image/png",setTimeout(function(){return(0,g.__awaiter)(t,void 0,void 0,function(){var t,n,r,i,o,a,s;return(0,g.__generator)(this,function(e){switch(e.label){case 0:return"svg"!==p?[3,1]:(t=y.cloneNode(!0),s=document.implementation.createDocumentType("svg","-//W3C//DTD SVG 1.1//EN","http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"),(s=document.implementation.createDocument("http://www.w3.org/2000/svg","svg",s)).replaceChild(t,s.documentElement),t=(new XMLSerializer).serializeToString(s),m="data:image/svg+xml;charset=utf8,".concat(encodeURIComponent(t)),[3,4]);case 1:return n=void 0,r=y.getContext("2d"),i=f||this.get("width"),o=h||this.get("height"),a=void 0,d?[4,this.downloadImageWatermark(d,r,i,o)]:[3,3];case 2:e.sent(),e.label=3;case 3:if(u){s="undefined"!=typeof window?window.devicePixelRatio:1;try{n=r.getImageData(0,0,i*s,o*s),a=r.globalCompositeOperation,r.globalCompositeOperation="destination-over",r.fillStyle=u,r.fillRect(0,0,i,o)}catch(e){console.error("Download image failed. Out of memory at ImageData creation")}}m=y.toDataURL(l),u&&(r.clearRect(0,0,i,o),r.putImageData(n,0,0),r.globalCompositeOperation=a),e.label=4;case 4:return c&&c(m),[2]}})})},16)},l.prototype.toDataURL=function(e,t){var n=this.get("canvas"),r=n.getRenderer(),n=n.get("el"),i=(e=e||"image/png","");if("svg"===r)var r=n.cloneNode(!0),o=document.implementation.createDocumentType("svg","-//W3C//DTD SVG 1.1//EN","http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"),o=document.implementation.createDocument("http://www.w3.org/2000/svg","svg",o),r=(o.replaceChild(r,o.documentElement),(new XMLSerializer).serializeToString(o)),i="data:image/svg+xml;charset=utf8,".concat(encodeURIComponent(r));else{var o=void 0,r=n.getContext("2d"),a=Math.max(this.get("width"),500),s=Math.max(this.get("height"),500),l=void 0;if(t){var u="undefined"!=typeof window&&window.devicePixelRatio||1;try{o=r.getImageData(0,0,a*u,s*u),l=r.globalCompositeOperation,r.globalCompositeOperation="destination-over",r.fillStyle=t,r.fillRect(0,0,a,s)}catch(e){console.error("Download image failed. Out of memory at ImageData creation")}}i=n.toDataURL(e),t&&(r.clearRect(0,0,a,s),r.putImageData(o,0,0),r.globalCompositeOperation=l)}return i},l.prototype.toFullDataURL=function(i,o,e){var t=this.get("group").getCanvasBBox(),n=t.height,r=t.width,a=this.get("renderer"),s=(0,x.createDom)('<div id="virtual-image"></div>'),l=e?e.backgroundColor:void 0,e=e?e.padding:void 0,u=(e?(0,b.isNumber)(e)&&(e=[e,e,e,e]):e=[0,0,0,0],n+e[0]+e[2]),c=r+e[1]+e[3],s={container:s,height:u,width:c,quickHit:!0},s=new("svg"===a?v:m).Canvas(s),f=this.get("group").clone(),h=(h=(0,b.clone)(f.getMatrix()))||[1,0,0,0,1,0,0,0,1],d=(t.maxX+t.minX)/2,t=(t.maxY+t.minY)/2,p=(h=w(h,[["t",-d,-t],["t",r/2+e[3],n/2+e[0]]]),f.resetMatrix(),f.setMatrix(h),s.add(f),s.get("el")),y="";o=o||"image/png",setTimeout(function(){if("svg"===a){var e=p.cloneNode(!0),t=document.implementation.createDocumentType("svg","-//W3C//DTD SVG 1.1//EN","http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"),t=document.implementation.createDocument("http://www.w3.org/2000/svg","svg",t),e=(t.replaceChild(e,t.documentElement),(new XMLSerializer).serializeToString(t));y="data:image/svg+xml;charset=utf8,".concat(encodeURIComponent(e))}else{var t=void 0,e=p.getContext("2d"),n=void 0;if(l){var r="undefined"!=typeof window?window.devicePixelRatio:1;try{t=e.getImageData(0,0,c*r,u*r),n=e.globalCompositeOperation,e.globalCompositeOperation="destination-over",e.fillStyle=l,e.fillRect(0,0,c,u)}catch(e){console.error("Download image failed. Out of memory at ImageData creation")}}y=p.toDataURL(o),l&&(e.clearRect(0,0,c,u),e.putImageData(t,0,0),e.globalCompositeOperation=n)}i&&i(y)},16)},l.prototype.downloadFullImage=function(r,i,e){var o=this,t=this.get("group").getCanvasBBox(),n=t.height,a=t.width,s=this.get("renderer"),l=(0,x.createDom)('<div id="virtual-image"></div>'),u=document.querySelector(".g6-graph-watermarker"),c=e?e.backgroundColor:void 0,e=e?e.padding:void 0,f=(e?(0,b.isNumber)(e)&&(e=[e,e,e,e]):e=[0,0,0,0],n+e[0]+e[2]),h=a+e[1]+e[3],u=(u&&(d=(u=this.get("graphWaterMarker").cfg||{}).width,u=u.height,f=Math.ceil(f/u)*u,h=Math.ceil(h/d)*d),{container:l,height:f,width:h}),d=new("svg"===s?v:m).Canvas(u),l=this.get("group"),u=(0,y.cloneGElement)(l),l=(l=(0,b.clone)(u.getMatrix()))||[1,0,0,0,1,0,0,0,1],p=(t.maxX+t.minX)/2,t=(t.maxY+t.minY)/2,p=(l=w(l,[["t",-p,-t],["t",a/2+e[3],n/2+e[0]]]),u.resetMatrix(),u.setMatrix(l),d.add(u),d.get("el"));i=i||"image/png",this.asyncToDataUrl(i,c,function(e){var t=document.createElement("a"),n=(r||"graph")+("svg"===s?".svg":".".concat(i.split("/")[1])),e=(o.dataURLToImage(e,s,t,n),document.createEvent("MouseEvents"));e.initEvent("click",!1,!1),t.dispatchEvent(e)},h,f,p)},l.prototype.downloadImage=function(e,t,n){var r=this,i=(this.stopAnimate(),this.get("canvas").getRenderer()),o=(t=t||"image/png",(e||"graph")+("svg"===i?".svg":t.split("/")[1])),a=document.createElement("a");this.asyncToDataUrl(t,n,function(e){r.dataURLToImage(e,i,a,o);e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),a.dispatchEvent(e)})},l.prototype.dataURLToImage=function(e,t,n,r){if(e&&"data:"!==e){if("undefined"!=typeof window)if(window.Blob&&window.URL&&"svg"!==t){var i,t=e.split(","),o="";t&&0<t.length&&(i=t[0].match(/:(.*?);/))&&2<=i.length&&(o=i[1]);for(var a=atob(t[1]),s=a.length,l=new Uint8Array(s);s--;)l[s]=a.charCodeAt(s);var u=new Blob([l],{type:o});window.navigator.msSaveBlob?window.navigator.msSaveBlob(u,r):n.addEventListener("click",function(){n.download=r,n.href=window.URL.createObjectURL(u)})}else n.addEventListener("click",function(){n.download=r,n.href=e})}else console.error("Download image failed. The graph is too large or there is invalid attribute values in graph items")},l.prototype.addPlugin=function(e){e.destroyed||(this.get("plugins").push(e),e.initPlugin(this))},l.prototype.removePlugin=function(e){var t=this.get("plugins"),n=t.indexOf(e);0<=n&&(e.destroyPlugin(),t.splice(n,1))},l.prototype.setImageWaterMarker=function(e,t){void 0===e&&(e=_.default.waterMarkerImage);var n,r,i,o,a,s=this.get("container"),l=((s=(0,b.isString)(s)?document.getElementById(s):s).style.position||(s.style.position="relative"),this.get("graphWaterMarker")),t=(0,b.deepMix)({},_.default.imageWaterMarkerConfig,t),u=t.width,c=t.height,f=t.compatible,h=t.image;e?(l?l.clear():(t={container:s,width:u,height:c,capture:!1},(u=this.get("pixelRatio"))&&(t.pixelRatio=u,window.devicePixelRatio=u),l=new m.Canvas(t),this.set("graphWaterMarker",l)),l.get("el").style.display="none",n=l.get("context"),r=h.rotate,i=h.x,o=h.y,n.rotate(-r*Math.PI/180),(a=new Image).crossOrigin="anonymous",a.src=e,a.onload=function(){var e;n.drawImage(a,i,o,h.width,h.height),n.rotate(r*Math.PI/180),f?s.style.cssText="background-image: url(".concat(l.get("el").toDataURL("image/png"),");background-repeat:repeat;"):((e=document.querySelector(".g6-graph-watermarker"))||((e=document.createElement("div")).className="g6-graph-watermarker"),e.className="g6-graph-watermarker",l.destroyed||(e.style.cssText="background-image: url(".concat(l.get("el").toDataURL("image/png"),");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:-1;"),s.appendChild(e)))}):((c=f?s:document.querySelector(".g6-graph-watermarker"))&&(c.style.cssText=void 0),l&&l.clear())},l.prototype.setTextWaterMarker=function(e,t){var n=this.get("container"),r=((n=(0,b.isString)(n)?document.getElementById(n):n).style.position||(n.style.position="relative"),this.get("graphWaterMarker")),t=(0,b.deepMix)({},_.default.textWaterMarkerConfig,t),i=t.width,o=t.height,a=t.compatible,t=t.text;if(null!=e&&e.length){r?r.clear():(i={container:n,width:i,height:o,capture:!1},(o=this.get("pixelRatio"))&&(i.pixelRatio=o,window.devicePixelRatio=o),r=new m.Canvas(i),this.set("graphWaterMarker",r)),r.get("el").style.display="none";var s=r.get("context"),o=t.rotate,i=t.fill,l=t.fontFamily,u=t.fontSize,c=t.baseline,f=t.x,h=t.y,d=t.lineHeight;s.rotate(-o*Math.PI/180),s.font="".concat(u,"px ").concat(l),s.fillStyle=i,s.textBaseline=c;for(var p=(0,b.isString)(e)?[e]:e,y=p.length-1;0<=y;y--)s.fillText(p[y],f,h+y*d);s.rotate(o*Math.PI/180),a?n.style.cssText="background-image: url(".concat(r.get("el").toDataURL("image/png"),");background-repeat:repeat;"):((t=document.querySelector(".g6-graph-watermarker"))||((t=document.createElement("div")).className="g6-graph-watermarker"),t.style.cssText="background-image: url(".concat(r.get("el").toDataURL("image/png"),");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:99;"),n.appendChild(t))}else(u=a?n:document.querySelector(".g6-graph-watermarker"))&&(u.style.cssText=void 0),r&&r.clear()},l.prototype.destroy=function(){(0,b.each)(this.get("plugins"),function(e){e.destroyPlugin()});var e,t=this.get("tooltips");if(t)for(var n=0;n<t.length;n++){var r,i=t[n];i&&(r=i.parentElement)&&r.removeChild(i)}null!=(e=this.get("eventController"))&&e.destroy(),null!=(e=this.get("layoutController"))&&e.destroy(),null!=(e=this.get("graphWaterMarker"))&&e.destroy(),null!=(e=document.querySelector(".g6-graph-watermarker"))&&e.remove(),o.prototype.destroy.call(this)},l);function l(e){var e=o.call(this,e)||this,t=e.get("defaultNode");return t||e.set("defaultNode",{type:"circle"}),t.type||(t.type="circle",e.set("defaultNode",t)),e.destroyed=!1,e}t.default=s},83701:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(97582),i=a(n(6977)),f=n(31834),o=a(n(85698)),n=a(n(99042));function a(e){return e&&e.__esModule?e:{default:e}}var s,l=o.default.radialLayout,u=o.default.traverseTree,o=(s=n.default,(0,r.__extends)(h,s),h.prototype.getLayout=function(){var t=this.get("layout");return t?"function"==typeof t?t:(t.type||(t.type="dendrogram"),t.direction||(t.direction="indented"===t.type?"LR":"TB"),t.radial?function(e){e=i.default[t.type](e,t);return l(e),e}:function(e){return i.default[t.type](e,t)}):null},h.indexOfChild=function(e,n){var r=-1;return(0,f.each)(e,function(e,t){if(n===e.id)return r=t,!1}),r},h.prototype.getDefaultCfg=function(){var e=s.prototype.getDefaultCfg.call(this);return e.animate=!0,e},h.prototype.innerAddChild=function(e,t,n){var r=this,i=e.data,o=(i&&(i.x=e.x,i.y=e.y,i.depth=e.depth),r.addItem("node",i,!1));return t&&(o.set("parent",t),n&&((i=t.get("originAttrs"))?o.set("originAttrs",i):(i=t.getModel(),o.set("originAttrs",{x:i.x,y:i.y}))),(i=t.get("children"))?i.push(o):t.set("children",[o]),r.addItem("edge",{source:t.get("id"),target:o.get("id"),id:"".concat(t.get("id"),":").concat(o.get("id"))},!1)),(0,f.each)(e.children||[],function(e){r.innerAddChild(e,o,n)}),r.emit("afteraddchild",{item:o,parent:t}),o},h.prototype.innerUpdateChild=function(e,t,n){var r=this,i=r.findById(e.id);if(i){(0,f.each)(e.children||[],function(e){r.innerUpdateChild(e,i,n)});var o,a,s=i.get("children");if(s&&0<s.length)for(var l=s.length-1;0<=l;l--){var u=s[l].getModel();-1===h.indexOfChild(e.children||[],u.id)&&(r.innerRemoveChild(u.id,{x:e.x,y:e.y},n),s.splice(l,1))}i.get("originAttrs")&&(o=i.get("originAttrs").x,a=i.get("originAttrs").y);var c=i.getModel();n&&i.set("originAttrs",{x:c.x,y:c.y}),i.set("model",Object.assign(c,e.data)),o===e.x&&a===e.y||i.updatePosition({x:e.x,y:e.y})}else r.innerAddChild(e,t,n)},h.prototype.innerRemoveChild=function(e,t,n){var r,i=this,e=i.findById(e);e&&((0,f.each)(e.get("children"),function(e){i.innerRemoveChild(e.getModel().id,t,n)}),n?(r=e.getModel(),e.set("to",t),e.set("originAttrs",{x:r.x,y:r.y}),i.get("removeList").push(e)):i.removeItem(e,!1))},h.prototype.changeData=function(e,t){void 0===t&&(t=!0);var n=this;this.getNodes().map(function(e){return n.clearItemStates(e)}),this.getEdges().map(function(e){return n.clearItemStates(e)}),t&&this.get("enabledStack")&&this.pushStack("changedata",{before:n.get("originData"),after:e||n.get("data")}),e?(n.data(e),n.render(!1)):n.layout(this.get("fitView"))},h.prototype.changeLayout=function(e){console.warn("Please call updateLayout instead of changeLayout. changeLayout will be discarded soon"),this.updateLayout(e)},h.prototype.updateLayout=function(e,t,n,r){var i;void 0===r&&(r=!0),e?(r&&this.get("enabledStack")&&this.pushStack("layout",{before:this.get("layout"),after:e}),this.set("layout",e),this.set("layoutMethod",this.getLayout()),this.layout(),t&&(r=(r=n)||("begin"===t?{x:0,y:0}:{x:this.getWidth()/2,y:this.getHeight()/2}),r=this.getPointByCanvas(r.x,r.y),e=this.getGroup().getMatrix()||[1,0,0,0,1,0,0,0,1],r.x=r.x*e[0]+e[6],r.y=r.y*e[0]+e[7],n={x:((e=(n=this.getGroup().getCanvasBBox()).minX)+n.maxX)/2,y:((i=n.minY)+n.maxY)/2},"begin"===t&&(n.x=e,n.y=i),this.translate(r.x-n.x,r.y-n.y))):console.warn("layout cannot be null")},h.prototype.refreshLayout=function(e){console.warn("Please call layout instead of refreshLayout. refreshLayout will be discarded soon"),this.layout(e)},h.prototype.layout=function(e){var o,i=this,t=this.get("data"),n=this.get("layoutMethod"),r=this.get("layout"),a=t,r=(null!=r&&r.excludeInvisibles?(t=(0,f.clone)(this.get("data")),o={},u(t,function(e){var t=e.children;if(null==t||!t.length)return!0;for(var n=t.length-1;0<=n;n--){var r=i.findById(t[n].id);(r?r.isVisible():!1!==t[n].visible)||(o[e.id]=o[e.id]||[],o[e.id].push({idx:n,child:t.splice(n,1)[0]}))}}),a=n?n(t,this.get("layout")):t,u(a,function(e){var t=o[e.id];if(null!=t&&t.length)for(var n=t.length-1;0<=n;n--){var r=t[n],i=r.idx,r=r.child;e.children.splice(i,0,r)}})):a=n?n(t,this.get("layout")):t,this.get("animate"));this.emit("beforerefreshlayout",{data:t,layoutData:a}),this.emit("beforelayout"),this.innerUpdateChild(a,void 0,r),e&&this.get("viewController").fitView(),r?this.layoutAnimate(a):(this.refresh(),this.paint()),this.emit("afterrefreshlayout",{data:t,layoutData:a}),this.emit("afterlayout")},h.prototype.addChild=function(e,t,n){void 0===n&&(n=!0),this.emit("beforeaddchild",{model:e,parent:t}),(0,f.isString)(t)||(t=t.get("id"));var r=this.findDataById(t);r&&(r.children||(r.children=[]),r.children.push(e),this.findById(t).refresh(),this.changeData(void 0,n))},h.prototype.updateChildren=function(e,t,n){void 0===n&&(n=!0);var r=this.findById(t);t&&r?(this.findDataById(t).children=e,r.refresh(),this.changeData(void 0,n)):console.warn("Update children failed! There is no node with id '".concat(t,"'"))},h.prototype.updateChild=function(e,t,n){var r,i;void 0===n&&(n=!0),t&&this.findById(t)?(r=this.findDataById(t),i=this.findById(e.id),r.children||(r.children=[]),i?-1<(i=h.indexOfChild(r.children,e.id))&&(r.children[i]=e):r.children.push(e),null!=(i=this.findById(t))&&i.refresh(),this.changeData(void 0,n)):this.changeData(e,n)},h.prototype.removeChild=function(t,e){void 0===e&&(e=!0);var n,r,i=this.findById(t);(i=i?null==i?void 0:i.get("parent"):this.getNodes().find(function(e){return!!(e.getModel().children||[]).find(function(e){return e.id===t})}))&&!i.destroyed&&(n=i.get("id"),n=(n=this.findDataById(n))&&n.children||[],r=h.indexOfChild(n,t),n.splice(r,1),i.refresh()),this.changeData(void 0,e)},h.prototype.findDataById=function(t,e){var n,r=this;return e=e||r.get("data"),t===e.id?e:((n=null,f.each)(e.children||[],function(e){return e.id===t?(n=e,!1):!(n=r.findDataById(t,e))&&void 0}),n)},h.prototype.layoutAnimate=function(a,s){var l=this,e=this.get("animateCfg");l.emit("beforeanimate",{data:a}),l.getEdges().forEach(function(e){var t=e.get("model");t.sourceAnchor||(t.sourceAnchor=e.get("sourceAnchorIndex"))}),this.get("canvas").animate(function(o){u(a,function(e){var t,n,r,i=l.findById(e.id);return i&&(t=i.get("originAttrs"),n=i.get("model"),t||(t={x:n.x,y:n.y},i.set("originAttrs",t)),s?(r=s(i,o,t,a),i.set("model",Object.assign(n,r))):(n.x=t.x+(e.x-t.x)*o,n.y=t.y+(e.y-t.y)*o)),!0}),(0,f.each)(l.get("removeList"),function(e){var t=e.getModel(),n=e.get("originAttrs"),e=e.get("to");t.x=n.x+(e.x-n.x)*o,t.y=n.y+(e.y-n.y)*o}),l.refreshPositions()},{duration:e.duration,easing:e.ease,callback:function(){(0,f.each)(l.getNodes(),function(e){e.set("originAttrs",null)}),(0,f.each)(l.get("removeList"),function(e){l.removeItem(e,!1)}),l.set("removeList",[]),e.callback&&e.callback(),l.emit("afteranimate",{data:a})},delay:e.delay})},h.prototype.stopLayoutAnimate=function(){this.get("canvas").stopAnimate(),this.emit("layoutanimateend",{data:this.get("data")}),this.layoutAnimating=!1},h.prototype.isLayoutAnimating=function(){return this.layoutAnimating},h.prototype.render=function(e){void 0===e&&(e=!0);var t=this.get("data");if(!t||!(0,f.isObject)(t)||!Object.keys(t).length)throw new Error("data must be defined first");this.clear(),e&&this.get("enabledStack")&&this.clearStack(),this.emit("beforerender"),this.layout(this.get("fitView")),this.emit("afterrender")},h.prototype.save=function(){return this.get("data")},h.prototype.data=function(e){s.prototype.data.call(this,e),this.set("originData",JSON.parse(JSON.stringify(e)))},h);function h(e){e=s.call(this,e)||this;return e.layoutAnimating=!1,e.set("removeList",[]),e.set("layoutMethod",e.getLayout()),e}t.default=o},86431:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var r={Minimap:!0,Grid:!0,Bundling:!0,Menu:!0,Fisheye:!0,Algorithm:!0,ToolBar:!0,Tooltip:!0,TimeBar:!0,ImageMinimap:!0,EdgeFilterLens:!0,SnapLine:!0,Legend:!0,Annotation:!0,Arrow:!0,Marker:!0,Shape:!0,Graph:!0,TreeGraph:!0,TreeLayout:!0,Layout:!0,registerLayout:!0,Global:!0,Util:!0},i=(t.Annotation=t.Algorithm=void 0,Object.defineProperty(t,"Arrow",{enumerable:!0,get:function(){return o.Arrow}}),t.Fisheye=t.EdgeFilterLens=t.Bundling=void 0,Object.defineProperty(t,"Global",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Graph",{enumerable:!0,get:function(){return u.default}}),t.ImageMinimap=t.Grid=void 0,Object.defineProperty(t,"Layout",{enumerable:!0,get:function(){return f.Layout}}),t.Legend=void 0,Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return o.Marker}}),t.Minimap=t.Menu=void 0,Object.defineProperty(t,"Shape",{enumerable:!0,get:function(){return o.Shape}}),t.Tooltip=t.ToolBar=t.TimeBar=t.SnapLine=void 0,Object.defineProperty(t,"TreeGraph",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"TreeLayout",{enumerable:!0,get:function(){return f.TreeLayout}}),Object.defineProperty(t,"Util",{enumerable:!0,get:function(){return d.default}}),t.default=void 0,Object.defineProperty(t,"registerLayout",{enumerable:!0,get:function(){return f.registerLayout}}),n(97582)),o=n(48122),s=(Object.keys(o).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),b(n(81366))),l=b(n(26765)),u=g(n(99042)),c=g(n(83701)),f=n(39849),h=g(n(31339)),d=g(n(85698)),p=g(n(27419)),y=(n(68950),n(5312),n(98880)),m=(Object.keys(y).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})}),n(13383));function g(e){return e&&e.__esModule?e:{default:e}}function v(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(v=function(e){return e?n:t})(e))}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};t=v(t);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}Object.keys(m).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var n=(0,i.__assign)((0,i.__assign)({},s),l),i=(t.Algorithm=n,p.default.Grid),s=(t.Grid=i,p.default.Minimap),l=(t.Minimap=s,p.default.Bundling),i=(t.Bundling=l,p.default.Menu),s=(t.Menu=i,p.default.Fisheye),l=(t.Fisheye=s,p.default.ToolBar),i=(t.ToolBar=l,p.default.Tooltip),l=(t.Tooltip=i,p.default.TimeBar),i=(t.TimeBar=l,p.default.ImageMinimap),_=(t.ImageMinimap=i,p.default.EdgeFilterLens),x=(t.EdgeFilterLens=_,p.default.SnapLine),w=(t.SnapLine=x,p.default.Legend),w=(t.Legend=w,p.default.Annotation),p=(t.Annotation=w,{version:h.default.version,Graph:u.default,TreeGraph:c.default,Util:d.default,Layout:f.Layout,TreeLayout:f.TreeLayout,registerLayout:f.registerLayout,Global:h.default,registerBehavior:o.registerBehavior,registerCombo:o.registerCombo,registerEdge:o.registerEdge,registerNode:o.registerNode,Minimap:p.default.Minimap,Grid:p.default.Grid,Bundling:p.default.Bundling,Menu:p.default.Menu,ToolBar:p.default.ToolBar,Tooltip:p.default.Tooltip,Legend:p.default.Legend,TimeBar:l,SnapLine:x,Fisheye:s,ImageMinimap:i,EdgeFilterLens:_,Annotation:w,Algorithm:n,Arrow:o.Arrow,Marker:o.Marker,Shape:o.Shape});t.default=p},13383:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},39849:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Layout",{enumerable:!0,get:function(){return r.Layouts}}),Object.defineProperty(t,"TreeLayout",{enumerable:!0,get:function(){return i.default}}),t.registerLayout=void 0;var r=n(16038),i=(n=n(8278))&&n.__esModule?n:{default:n};(0,r.registerLayout)("grid",r.GridLayout),(0,r.registerLayout)("random",r.RandomLayout),(0,r.registerLayout)("force",r.ForceLayout),(0,r.registerLayout)("circular",r.CircularLayout),(0,r.registerLayout)("dagre",r.DagreLayout),(0,r.registerLayout)("dagreCompound",r.DagreCompoundLayout),(0,r.registerLayout)("radial",r.RadialLayout),(0,r.registerLayout)("concentric",r.ConcentricLayout),(0,r.registerLayout)("mds",r.MDSLayout),(0,r.registerLayout)("fruchterman",r.FruchtermanLayout),(0,r.registerLayout)("fruchterman-gpu",r.FruchtermanGPULayout),(0,r.registerLayout)("gForce",r.GForceLayout),(0,r.registerLayout)("force2",r.Force2Layout),(0,r.registerLayout)("gForce-gpu",r.GForceGPULayout),(0,r.registerLayout)("comboForce",r.ComboForceLayout),(0,r.registerLayout)("comboCombined",r.ComboCombinedLayout),(0,r.registerLayout)("forceAtlas2",r.ForceAtlas2Layout),t.registerLayout=function(e,t){t.isCustomLayout=!0,r.Layouts[e]=(0,r.registerLayout)(e,t)}},8278:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(6977));function i(e){return e&&e.__esModule?e:{default:e}}var o=i(n(85698)).default.radialLayout;function a(e){this.type=e.type,this.radial=e.radial,this.config=e}a.prototype.init=function(e){var t=this;this.data=e,this.radial?this.layoutMethod=function(e){e=r.default[t.type](e,t.config);return o(e),e}:this.layoutMethod=function(e){return r.default[t.type](e,t.config)}},a.prototype.execute=function(){return this.layoutMethod(this.data,this.config)},a.prototype.layout=function(e){return this.init(e),this.execute()},t.default=a},88405:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutWorker=void 0;var r=(n=n(47795))&&n.__esModule?n:{default:n};t.LayoutWorker=function(e){return new r.default(function(){var f="LAYOUT_RUN",h="LAYOUT_END",d="LAYOUT_ERROR",p="GPU_LAYOUT_RUN";layout.registerLayout("grid",layout.GridLayout),layout.registerLayout("random",layout.RandomLayout),layout.registerLayout("force",layout.ForceLayout),layout.registerLayout("force2",layout.Force2Layout),layout.registerLayout("circular",layout.CircularLayout),layout.registerLayout("dagre",layout.DagreLayout),layout.registerLayout("dagreCompound",layout.DagreCompoundLayout),layout.registerLayout("radial",layout.RadialLayout),layout.registerLayout("concentric",layout.ConcentricLayout),layout.registerLayout("mds",layout.MDSLayout),layout.registerLayout("fruchterman",layout.FruchtermanLayout),layout.registerLayout("fruchterman-gpu",layout.FruchtermanGPULayout),layout.registerLayout("gForce",layout.GForceLayout),layout.registerLayout("gForce-gpu",layout.GForceGPULayout),layout.registerLayout("comboForce",layout.ComboForceLayout),layout.registerLayout("comboCombined",layout.ComboCombinedLayout),layout.registerLayout("forceAtlas2",layout.ForceAtlas2Layout),onmessage=function(e){var t;(t=e.data.type)!==f&&t!==p||function(e){var t=this;switch(e.data.type){case f:var n,r=e.data,i=r.nodes,o=r.edges,r=r.layoutCfg,a=(r=void 0===r?{}:r).type;(s=layout.getLayoutByName(a))?(r.onLayoutEnd=function(){t.postMessage({type:h,nodes:i}),null!=n&&n.destroy()},(n=new s(r)).init({nodes:i,edges:o}),n.execute()):this.postMessage({type:d,message:"layout ".concat(a," not found")});break;case p:var s,l=e.data,u=l.nodes,c=(o=l.edges,l.layoutCfg),r=void 0===c?{}:c,c=l.canvas;(a=r.type,s=layout.getLayoutByName(a))?"gpu"!==a.split("-")[1]?this.postMessage({type:d,message:"layout ".concat(a," does not support GPU")}):((l=new s(r)).init({nodes:u,edges:o}),l.executeWithWorker(c,this)):this.postMessage({type:d,message:"layout ".concat(a," not found")})}}(e)}},e=void 0===e?"https://unpkg.com/@antv/layout@0.3.23/dist/layout.min.js":e)}},89996:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LAYOUT_MESSAGE=void 0,t.LAYOUT_MESSAGE={RUN:"LAYOUT_RUN",END:"LAYOUT_END",ERROR:"LAYOUT_ERROR",TICK:"LAYOUT_TICK",GPURUN:"GPU_LAYOUT_RUN",GPUEND:"GPU_LAYOUT_END"}},47795:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e,t){e=e.toString(),t=new Blob(["importScripts('".concat(t,"');(").concat(e,")()")],{type:"text/javascript"});return new Worker(URL.createObjectURL(t))}},27419:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n=((n=n(75836))&&n.__esModule?n:{default:n}).default;t.default=n},98880:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},99121:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBrowserName=void 0,t.getBrowserName=function(){var e=navigator.userAgent.toLowerCase();return-1<e.indexOf("firefox")?"firefox":-1<e.indexOf("safari")?"safari":-1<e.indexOf("opr")?"opera":-1<e.indexOf("chrome")?"chrome":-1<e.indexOf("trident")?"ie 11":-1<e.indexOf("ie")?"ie":"unknown"}},73297:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mixColor=t.getColorsWithSubjectColor=t.getColorSetsBySubjectColors=void 0;function m(e,t,n){return e=(0,g.default)(e),t=(0,g.default)(t),(0,g.default)([(1-n)*e.red()+n*t.red(),(1-n)*e.green()+n*t.green(),(1-n)*e.blue()+n*t.blue()]).rgb()}function o(e,t,n,r){return void 0===t&&(t="#fff"),void 0===r&&(r="rgb(150, 150, 150)"),"default"===(n=void 0===n?"default":n)?(void 0===(r="rgb(150, 150, 150)")&&(r="rgb(150, 150, 150)"),o=m(n=void 0===(n=t)?"#fff":n,i=e,.05).rgb().toString(),a=m(n,i,.1).rgb().toString(),s=m(n,i,.2).rgb().toString(),l=m(n,i,.4).rgb().toString(),u=m(n,r,.02).rgb().toString(),c=m(n,r,.05).rgb().toString(),f=m(n,r,.1).rgb().toString(),h=m(n,r,.2).rgb().toString(),r=m(n,r,.3).rgb().toString(),d=(0,v.generate)(i,{theme:"default",backgroundColor:n}),p=(0,g.default)(i).hex().toLowerCase(),p=d.indexOf(p),{mainStroke:y=i,mainFill:a,activeStroke:i,activeFill:o,inactiveStroke:l,inactiveFill:o,selectedStroke:i,selectedFill:n,highlightStroke:y=-1!==p?d[p+1]:y,highlightFill:s,disableStroke:r,disableFill:c,edgeMainStroke:r,edgeActiveStroke:i,edgeInactiveStroke:h,edgeSelectedStroke:i,edgeHighlightStroke:i,edgeDisableStroke:f,comboMainStroke:r,comboMainFill:u,comboActiveStroke:i,comboActiveFill:o,comboInactiveStroke:r,comboInactiveFill:u,comboSelectedStroke:i,comboSelectedFill:u,comboHighlightStroke:y,comboHighlightFill:u,comboDisableStroke:h,comboDisableFill:c}):(void 0===(a="#777")&&(a="#777"),d=m(l=void 0===(l=t)?"#fff":l,n=e,.2).rgb().toString(),p=m(l,n,.3).rgb().toString(),s=m(l,n,.6).rgb().toString(),f=m(l,n,.8).rgb().toString(),o=m(l,a,.2).rgb().toString(),r=m(l,a,.25).rgb().toString(),i=m(l,a,.3).rgb().toString(),y=m(l,a,.4).rgb().toString(),u=m(l,a,.5).rgb().toString(),l=(0,v.generate)(n,{theme:"dark",backgroundColor:l}),h=(0,g.default)(n).hex().toLowerCase(),h=l.indexOf(h),{mainStroke:f,mainFill:d,activeStroke:c=n,activeFill:p,inactiveStroke:f,inactiveFill:d,selectedStroke:n,selectedFill:d,highlightStroke:n,highlightFill:s,disableStroke:u,disableFill:r,edgeMainStroke:a,edgeActiveStroke:n,edgeInactiveStroke:a,edgeSelectedStroke:n,edgeHighlightStroke:n,edgeDisableStroke:i,comboMainStroke:y,comboMainFill:r,comboActiveStroke:n,comboActiveFill:o,comboInactiveStroke:y,comboInactiveFill:r,comboSelectedStroke:n,comboSelectedFill:o,comboHighlightStroke:c=-1!==h?l[h+1]:c,comboHighlightFill:r,comboDisableStroke:y,comboDisableFill:o});var i,o,a,s,l,u,c,f,h,d,p,y}var r,g=(r=n(69630))&&r.__esModule?r:{default:r},v=n(17549);t.mixColor=m;t.getColorsWithSubjectColor=o,t.getColorSetsBySubjectColors=function(e,t,n,r){void 0===t&&(t="#fff"),void 0===n&&(n="default"),void 0===r&&(r="rgb(150, 150, 150)");var i=[];return e.forEach(function(e){i.push(o(e,t,n,r))}),i}},59271:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gpuDetector=void 0,t.gpuDetector=function r(){return"undefined"==typeof window||"undefined"==typeof document?{}:{canvas:!!window.CanvasRenderingContext2D,webgl:function(){try{var e=document.createElement("canvas");return!(!window.WebGLRenderingContext||!e.getContext("webgl")&&!e.getContext("experimental-webgl"))}catch(e){return!1}}(),workers:!!window.Worker,fileapi:window.File&&window.FileReader&&window.FileList&&window.Blob,getWebGLErrorMessage:function(){var e=document.createElement("div");return e.id="webgl-error-message",e.style.fontFamily="monospace",e.style.fontSize="13px",e.style.fontWeight="normal",e.style.textAlign="center",e.style.background="#fff",e.style.color="#000",e.style.padding="1.5em",e.style.width="400px",e.style.margin="5em auto 0",this.webgl||(e.innerHTML=(window.WebGLRenderingContext?['Your graphics card does not seem to support <a href="http://khronos.org/webgl/wiki/Getting_a_WebGL_Implementation" rel="external nofollow" rel="external nofollow" style="color:#000">WebGL</a>.<br />','Find out how to get it <a href="http://get.webgl.org/" rel="external nofollow" rel="external nofollow" style="color:#000">here</a>.']:['Your browser does not seem to support <a href="http://khronos.org/webgl/wiki/Getting_a_WebGL_Implementation" rel="external nofollow" rel="external nofollow" style="color:#000">WebGL</a>.<br/>','Find out how to get it <a href="http://get.webgl.org/" rel="external nofollow" rel="external nofollow" style="color:#000">here</a>.']).join("\n")),e},addGetWebGLMessage:function(e){var t=void 0!==(e=e||{}).parent?e.parent:document.body,e=void 0!==e.id?e.id:"oldie",n=r().getWebGLErrorMessage();n.id=e,t.appendChild(n)}}}},97082:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cloneGElement=void 0,t.cloneGElement=function(e){var t=e.clone();return n(e,t),t};var n=function n(e,r){e.isGroup()&&r.isGroup()&&null!=(t=e.get("children"))&&t.forEach(function(e,t){t=r.get("children")[t];n(e,t)});var t=e.get("type"),i=r.get("type");"image"===t&&"image"===i&&(t=e.get("clipShape"))&&r.setClip({type:t.get("type"),attrs:t.attr()})}},85698:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(97582),i=c(n(73297)),o=c(n(91490)),s=c(n(59271)),l=c(n(99121)),n=n(48122);function u(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(u=function(e){return e?n:t})(e))}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};t=u(t);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}r=(0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)({},n.Util),i),o),s),l);t.default=r},91490:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.radialLayout=t.proccessToFunc=t.buildTextureDataWithTwoEdgeAttr=t.buildTextureDataWithOneEdgeAttr=t.buildTextureData=t.attributesToTextureData=t.arrayToTextureData=void 0;var r=n(48122),i=n(31834),u=r.Util.traverseTree;t.proccessToFunc=function(t,n){return t?(0,i.isNumber)(t)?function(e){return t}:t:function(e){return n||1}},t.buildTextureData=function(e,t){for(var n=[],r=[],i={},o=0,o=0;o<e.length;o++){var a=e[o];i[a.id]=o,n.push(a.x),n.push(a.y),n.push(0),n.push(0),r.push([])}for(o=0;o<t.length;o++){var s=t[o];r[i[s.source]].push(i[s.target]),r[i[s.target]].push(i[s.source])}var l=0;for(o=0;o<e.length;o++){var u=r[o],c=u.length;n[4*o+2]=n.length,n[4*o+3]=u.length;for(var l=Math.max(l,u.length),f=0;f<c;++f){var h=u[f];n.push(+h)}}for(;n.length%4!=0;)n.push(0);return{array:new Float32Array(n),maxEdgePerVetex:l}},t.buildTextureDataWithOneEdgeAttr=function(e,t,n){for(var r=[],i=[],o={},a=0,a=0;a<e.length;a++){var s=e[a];o[s.id]=a,r.push(s.x),r.push(s.y),r.push(0),r.push(0),i.push([])}for(a=0;a<t.length;a++){var l=t[a];i[o[l.source]].push(o[l.target]),i[o[l.source]].push(n(l)),i[o[l.target]].push(o[l.source]),i[o[l.target]].push(n(l))}var u=0;for(a=0;a<e.length;a++){var c=i[a],f=c.length;r[4*a+2]=r.length,r[4*a+3]=f/2;for(var u=Math.max(u,f/2),h=0;h<f;++h){var d=c[h];r.push(+d)}}for(;r.length%4!=0;)r.push(0);return{array:new Float32Array(r),maxEdgePerVetex:u}},t.buildTextureDataWithTwoEdgeAttr=function(e,t,n,r){for(var i=[],o=[],a={},s=0,s=0;s<e.length;s++){var l=e[s];a[l.id]=s,i.push(l.x),i.push(l.y),i.push(0),i.push(0),o.push([])}for(s=0;s<t.length;s++){var u=t[s];o[a[u.source]].push(a[u.target]),o[a[u.source]].push(n(u)),o[a[u.source]].push(r(u)),o[a[u.source]].push(0),o[a[u.target]].push(a[u.source]),o[a[u.target]].push(n(u)),o[a[u.target]].push(r(u)),o[a[u.target]].push(0)}var c=0;for(s=0;s<e.length;s++){var f=o[s],h=f.length;i[4*s+2]=i.length+1048576*h/4,i[4*s+3]=0;for(var c=Math.max(c,h/4),d=0;d<h;++d){var p=f[d];i.push(+p)}}for(;i.length%4!=0;)i.push(0);return{array:new Float32Array(i),maxEdgePerVetex:c}},t.attributesToTextureData=function(e,t){var r=[],i=e.length,o={};return t.forEach(function(n){e.forEach(function(e,t){if(void 0===o[n[e]]&&(o[n[e]]=Object.keys(o).length),r.push(o[n[e]]),t===i-1)for(;r.length%4!=0;)r.push(0)})}),{array:new Float32Array(r),count:Object.keys(o).length}},t.arrayToTextureData=function(e){for(var r=[],i=e.length,t=e[0].length,n=0;n<t;n++)!function(n){e.forEach(function(e,t){if(r.push(e[n]),t===i-1)for(;r.length%4!=0;)r.push(0)})}(n);return new Float32Array(r)},t.radialLayout=function(r,e){var i={x:1/0,y:1/0},t={x:-1/0,y:-1/0},o="x",a="y",n=(e&&0<=["V","TB","BT"].indexOf(e)&&(a="x",o="y"),0),s=(u(r,function(e){return n++,e.x>t.x&&(t.x=e.x),e.x<i.x&&(i.x=e.x),e.y>t.y&&(t.y=e.y),e.y<i.y&&(i.y=e.y),!0}),2*Math.PI/n),l=t[a]-i[a];return 0==l||u(r,function(e){var t=(e[a]-i[a])/l*(2*Math.PI-s)+s,n=Math.abs("x"===o?e.x-r.x:e.y-r.y);return e.x=n*Math.cos(t),e.y=n*Math.sin(t),!0}),r}},84680:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var L=n(31834),y=n(48122),j=n(39269),r=i(n(28813)),o=n(15873),n=i(n(78146));function i(e){return e&&e.__esModule?e:{default:e}}a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function D(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}var a,B=function(){return(B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},r=("undefined"!=typeof document&&(0,r.default)("\n .g6-annotation-container {\n background-color: rgba(255, 255, 255, 0.3);\n padding: 8px;\n }\n .g6-annotation-wrapper {\n background-color: #fff;\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.85);\n }\n .g6-annotation-header-wapper {\n height: fit-content;\n width: 100%;\n background-color: #5B8FF9;\n display: inline-flex;\n cursor: move;\n }\n .g6-annotation-title {\n margin: 4px 40px 4px 8px;\n cursor: text;\n min-width: 32px;\n }\n .g6-annotation-collapse {\n margin: 4px;\n cursor: pointer;\n }\n .g6-annotation-expand {\n margin: 4px;\n cursor: pointer;\n }\n .g6-annotation-close {\n margin: 4px 8px 4px 0;\n cursor: pointer;\n }\n .g6-annotation-content {\n padding: 8px;\n width: fit-content;\n cursor: text;\n word-break: break-all;\n min-width: 32px;\n }\n .g6-annotation-title-input-wrapper {\n margin: 4px 40px 4px 8px;\n }\n .g6-annotation-content-input {\n height: 100%;\n word-break: break-all;\n }\n .g6-annotation-content-input-wrapper {\n margin: 8px;\n height: 100%;\n }\n"),function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return a(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{trigger:"click",editable:!0,itemHighlightState:"highlight",linkHighlightStyle:{shadowColor:"#5B8FF9",shadowBlur:10},cardCfg:{minHeight:60,width:"fit-content",height:"fit-content",collapseType:"minimize",closeType:"hide",borderRadius:5,maxTitleLength:20}}},e.prototype.getEvents=function(){var e={viewportchange:"updateLinks",afterlayout:"updateLinks",aftergraphrefreshposition:"updateLinks",afterupdateitem:"updateLink",afterchangedata:"onGraphDataChange",afteritemvisibilitychange:"onGraphItemVisibilityChange"};return e="click"===this.get("trigger")?B(B({},e),{"node:click":"showAnnotation","edge:click":"showAnnotation"}):e},e.prototype.getDOMContent=function(e){var t,n,r,i,o;if(!this.destroyed)return o=e.collapsed,t=e.maxWidth,n=void 0===(n=e.title)?"":n,i=e.content,e=void 0===(e=e.borderRadius)?5:e,r=o?"<p class='g6-annotation-expand'>+</p>":"<p class='g6-annotation-collapse'>-</p>",i=o?"":" <p class='g6-annotation-content'>".concat(void 0===i?"":i,"</p>"),o=o?"".concat(e,"px"):"".concat(e,"px ").concat(e,"px 0 0"),'<div class="g6-annotation-wrapper" style="border-radius: '.concat(e,"px; max-width: ").concat(t,'px">\n <div\n class="g6-annotation-header-wapper"\n style="border-radius: ').concat(o,";\"\n >\n <h4 class='g6-annotation-title'>").concat(n,"</h4>\n ").concat(r,"\n ").concat("<p class='g6-annotation-close'>x</p>","\n </div>\n ").concat(i,"\n </div>")},e.prototype.init=function(){var e,t,n=this;!n.destroyed&&(e=n.get("graph").getContainer(),t=n.get("container"),this.get("containerCfg")?(t=this.createContainer(),e.appendChild(t)):t=e,this.set("container",t),t=e.getBoundingClientRect(),e=new o.Canvas({container:e,width:t.right-t.left,height:t.bottom-t.top}),(0,j.modifyCSS)(e.get("el"),{position:"absolute",top:0,left:0,pointerEvents:"none"}),window.addEventListener("resize",(0,L.debounce)(function(){return n.resizeCanvas(n)},100)),t=e.addGroup({id:"annotation-link-group"}),n.set("linkGroup",t),n.set("canvas",e),n.get("getTitle")||n.set("getTitle",function(e){var t=(null==(t=null==e?void 0:e.getModel)?void 0:t.call(e))||{},e=t.label,t=t.id;return e||t||"-"}),n.get("getContent")||n.set("getContent",function(e){var t,n,r;return e?(t=(n=(null==(n=e.getModel)?void 0:n.call(e))||{}).label,n=n.id,e=(r=null==(r=e.getType)?void 0:r.call(e))?"".concat(r,": "):"","".concat(e).concat(t||n||"")):"-"}),t=n.get("defaultData"))&&this.readData(t)},e.prototype.createContainer=function(){var t=this;if(!this.destroyed){var e=this.get("containerCfg"),n=this.get("graph"),r=n.getContainer(),i=r.getBoundingClientRect(),o=i.left,a=i.right,s=i.top,l=i.bottom-s,u=a-o,i=e.position,a=void 0===i?"top":i,i=e.offsetX,c=void 0===i?0:i,i=e.offsetY,f=void 0===i?0:i,i=D(e,["position","offsetX","offsetY"]),h=e.height,h=void 0===h?"fit-content":h,d=e.width,n=void 0===d?n.getWidth():d,p=("100%"===h&&(h=l),"100%"===n&&(n=u),"unset"),y="unset",m={};switch(a){case"right":p="".concat(l,"px"),(m={top:0,right:0}).right+=o+c,m.top+=s+f;break;case"bottom":y="".concat(u,"px"),(m={bottom:0,left:0}).left+=o+c,m.bottom+=s+f;break;case"top":y="".concat(u,"px");case"left":p="".concat(l,"px");default:(m={top:0,left:0}).left+=o+c,m.top+=s+f}Object.keys(m).forEach(function(e){m[e]="".concat(m[e],"px")});d=(0,j.createDom)("<div class='".concat(e.className," g6-annotation-container'></div>"));return(0,j.modifyCSS)(d,B(B({position:"absolute",display:"top"===a||"bottom"===a?"inline-flex":"unset",width:(0,L.isNumber)(n)?"".concat(n,"px"):n,height:(0,L.isNumber)(h)?"".concat(h,"px"):h,maxHeight:p,maxWidth:y,overflow:"scroll"},m),i)),r.appendChild(d),d.addEventListener("scroll",function(e){t.updateLinks()}),d}},e.prototype.resizeCanvas=function(n){clearTimeout(n.resizeTimer),n.resizeTimer=setTimeout(function(){var e,t;n&&!n.destroyed&&(e=(t=n.get("container").getBoundingClientRect()).right-t.left,t=t.bottom-t.top,n.get("canvas").changeSize(e,t),n.updateOutsideCards(n))},250)},e.prototype.updateOutsideCards=function(e){var e=e||this,t=e.get("cardInfoMap")||{},n=e.get("graph"),r=n.getPointByCanvas(0,0),i=n.getPointByCanvas(n.getWidth(),n.getHeight()),r=n.getClientByPoint(r.x,r.y),a=r.x,s=r.y,r=n.getClientByPoint(i.x,i.y),l=r.x,u=r.y;Object.values(t).forEach(function(e){var t,n,r,i,o,e=e.card;e&&(n=e.style,t=c(n.left),n=c(n.top),o=(r=e.getBoundingClientRect()).width,r=r.height,l-a<(i=t)+o&&(i=l-a-o),u-s<(o=n)+r&&(o=u-s-r),n<0&&(o=0),(0,j.modifyCSS)(e,{left:"".concat(i=t<0?0:i,"px"),top:"".concat(o,"px")}))}),e.updateLinks()},e.prototype.showAnnotation=function(e){this.destroyed||(e=e.item,this.toggleAnnotation(e))},e.prototype.hideCards=function(){var e,t=this;t.destroyed||(e=t.get("cardInfoMap")||{},Object.keys(e).forEach(function(e){t.hideCard(e)}))},e.prototype.toggleAnnotation=function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,y,m,g,v,b,_,x,w,A,S,C,O,E,M,P,k,T,I;void 0===t&&(t={}),this.destroyed||(n=this.get("cardInfoMap")||{},r=this.get("graph"),P=this.get("container"),i=this.get("containerCfg"),C=(t=Object.assign({},this.get("cardCfg")||{},t)).minHeight,E=t.minWidth,O=t.width,w=t.height,o=void 0!==(o=t.collapsed)&&o,a=t.x,s=t.y,l=t.title,u=t.content,I=t.maxTitleLength,_=t.defaultBegin,t=D(t,["minHeight","minWidth","width","height","collapsed","x","y","title","content","maxTitleLength","defaultBegin"]),c=this.get("linkGroup"),f=this.get("rows")||[[]],k=(y=n[d=(h=null==(h=e.isCanvas)?void 0:h.call(e))?"canvas-annotation":e.getID()]||{}).card,M=y.link,x=y.x,A=y.y,p=y.title,y=y.content,v=this.get("getTitle"),b=this.get("getContent"),m=this.get("getContentPlaceholder")||function(){return""},g=this.get("getTitlePlaceHolder")||function(){return""},m=m(e),g=g(e),v=(0,j.createDom)(this.getDOMContent(B({itemId:d,collapsed:o,title:(null==(v=p||l||(null==v?void 0:v(e)))?void 0:v.substr(0,I))||g,content:y||u||(null==b?void 0:b(e))||m},t))),I=(0,L.isNumber)(C)?"".concat(C,"px"):C,(0,j.modifyCSS)(v,{minHeight:o?"unset":I,minWidth:(0,L.isNumber)(E)?"".concat(E,"px"):E,height:w,width:O}),(b=!!k)?(null!=M&&M.remove(!0),P.replaceChild(v,k)):P.appendChild(v),i||(S=P.getBoundingClientRect()||{},void 0!==a&&void 0!==s?(x=a,A=s):b||h||(T=S.top,C=(t=_||{}).left,I=t.right,w=t.top,O=t.bottom,k=void 0===I?16:I,_=void 0===w?8:w,isNaN(C)||(k=P.scrollWidth-C),isNaN(O)||(_=P.scrollHeight-O),t=(0,L.isNumber)(E)?E:100,x=P.scrollWidth-v.scrollWidth-(f.length-1)*t-k,A=(null==(w=((I=f[f.length-1])[I.length-1]||{}).bbox)?void 0:w.bottom)-T||_),(0,j.modifyCSS)(v,{position:"absolute",left:"".concat(x,"px"),top:"".concat(A,"px"),cusor:i?"unset":"move"})),this.bindListener(v,d),C=v.getBoundingClientRect(),h||(O=R(e,C,r,this.get("canvas")),E=this.get("linkStyle"),M=c.addShape("path",{attrs:B({lineWidth:1,lineDash:[5,5],stroke:"#ccc",path:O},E)})),n[d]=B(B({},n[d]||{}),{id:d,collapsed:o,card:v,link:M,x:x,y:A,cardBBox:C,content:y||u,title:p||l,contentPlaceholder:m,titlePlaceholder:g,isCanvas:h}),this.set("cardInfoMap",n),i?(this.updateCardPositionsInConatainer(),this.updateLinks()):(P=!isNaN(a)&&!isNaN(s),b||h||P||(k=void 0===(t=S.bottom)?0:t,T=S.top,f[f.length-1].push({id:d,bbox:C}),C.top>k-T-C.height-16&&f.push([]),this.set("rows",f))),this.updateCardSize(d),null!=(I=this.get("onAnnotationChange"))&&I(n[d],b?"update":"create"))},e.prototype.updateCardPositionsInConatainer=function(){var e,r,i,t;this.destroyed||(e=this.get("cardInfoMap"))&&(t=this.get("container"),r=this.get("containerCfg").position,i=t.getBoundingClientRect().width,t=getComputedStyle(t),t=c(t.paddingLeft)+c(t.paddingRight),i-=t,Object.values(e).forEach(function(e){var t=e.card,n=t.getBoundingClientRect().width;switch(r){case"right":(0,j.modifyCSS)(t,{marginLeft:i?"".concat(i-n,"px"):"0px"});break;case"top":case"bottom":(0,j.modifyCSS)(t,{marginLeft:"8px"})}}))},e.prototype.handleExpandCollapseCard=function(e){var t,n,r;this.destroyed||(r=this.get("graph"),(t=this.get("cardInfoMap"))&&(n=t[e].collapsed,r=r.findById(e))&&("hide"!==this.get("cardCfg").collapseType||n?this.toggleAnnotation(r,{collapsed:!n}):this.hideCard(e),t[e]=B(B({},t[e]),{collapsed:!n})))},e.prototype.hideCard=function(e){var t,n,r;this.destroyed||(t=this.get("cardInfoMap"))&&t[e]&&(n=(r=t[e]).card,r=r.link,(0,j.modifyCSS)(n,{display:"none"}),null!=r&&r.hide(),this.get("onAnnotationChange")(t[e],"hide"))},e.prototype.removeCard=function(e){var t,n,r,i;this.destroyed||(t=this.get("cardInfoMap"))&&(r=(n=t[e]).card,i=n.link,this.get("container").removeChild(r),null!=i&&i.remove(!0),delete t[e],this.get("onAnnotationChange")(n,"remove"))},e.prototype.bindListener=function(n,y){var r,m=this;this.destroyed||(n.addEventListener("mousemove",function(e){var t,n;"g6-annotation-collapse"===e.target.className?t="collapse":"g6-annotation-expand"===e.target.className?t="expand":"g6-annotation-close"===e.target.className&&(t="close"),t&&(void 0===(n=m.get("cardCfg").onMouseEnterIcon)?function(){}:n)(e,y,t)}),n.addEventListener("mouseout",function(e){var t,n;"g6-annotation-collapse"===e.target.className?t="collapse":"g6-annotation-expand"===e.target.className?t="expand":"g6-annotation-close"===e.target.className&&(t="close"),t&&(void 0===(n=m.get("cardCfg").onMouseLeaveIcon)?function(){}:n)(e,y,t)}),n.addEventListener("mouseenter",function(e){var t,n,r,i=m.get("cardInfoMap");i&&((r=(n=m.get("graph")).findById(y))&&(t=m.get("itemHighlightState"),n.setItemState(r,t,!0)),n=i[y].link)&&(r=m.get("linkHighlightStyle")||{},n.attr(r))}),n.addEventListener("mouseleave",function(e){var t,n,r,i,o=m.get("cardInfoMap");o&&((i=(r=m.get("graph")).findById(y))&&(t=m.get("itemHighlightState"),r.setItemState(i,t,!1)),n=o[y].link)&&(r=m.get("linkHighlightStyle")||{},Object.keys(r).forEach(function(e){n.attr(e,void 0),n.attr(e,void 0)}),i=m.get("linkStyle"),n.attr(i))}),n.addEventListener("click",function(e){var t=(m.get("cardCfg")||{}).onClickIcon;"g6-annotation-collapse"===e.target.className||"g6-annotation-expand"===e.target.className?("hide"===m.get("cardCfg").collapseType?m.hideCard(y):m.handleExpandCollapseCard(y),null!=t&&t(e,y,"g6-annotation-collapse"===e.target.className?"collapse":"expand")):"g6-annotation-close"===e.target.className&&("remove"===m.get("cardCfg").closeType?m.removeCard(y):m.hideCard(y),null!=t)&&t(e,y,"close")}),this.get("editable")&&n.addEventListener("dblclick",function(e){var n,r,i,o,t,a,s,l=m.get("cardInfoMap"),u=(m.get("cardCfg")||{}).maxTitleLength,u=void 0===u?20:u;!l||"g6-annotation-title"!==(e=(n=e.target).className)&&"g6-annotation-content"!==e||(t=(a=("g6-annotation-title"===e?n:n.parentNode).getBoundingClientRect()).width,a=a.height,s=getComputedStyle(n),r=(0,j.createDom)("<".concat("g6-annotation-title"===e?"input":"textarea",' class="').concat(e,'-input" type="textarea" style="width:').concat(t,"px; height: ").concat(a,'px; min-width: 16px;"/>')),(i=(0,j.createDom)('<div class="'.concat(e,'-input-wrapper" style="width: ').concat(t,"px; height: ").concat(a,"px; min-width: 16px; margin-right: ").concat(s.marginRight,'" />'))).appendChild(r),n.parentNode.replaceChild(i,n),t=(o=l[y]).contentPlaceholder,a=o.titlePlaceholder,s=o.content,l=o.title,s=s,"g6-annotation-title"===e?(r.name="title",r.maxLength=u,s=l):r.name="content",s?(r.innerHTML=n.innerHTML,r.value=n.innerHTML):r.placeholder="g6-annotation-title"===e?a:t,r.focus(),r.addEventListener("blur",function(e){r.value&&(n.innerHTML=r.value,o[r.name||"title"]=r.value),i.parentNode.replaceChild(n,i),m.updateCardSize(y);var t=m.get("onAnnotationChange");null!=t&&t(o,"update")}))}),r=["g6-annotation-title","g6-annotation-content","g6-annotation-title-input","g6-annotation-content-input"],n.draggable=!0,n.addEventListener("dragstart",function(e){var t=e.target.className;r.includes(t)||(t=n.style,m.set("dragging",{card:n,x:e.clientX,y:e.clientY,left:c(t.left),top:c(t.top)}))}),n.addEventListener("drag",function(e){e.preventDefault();var t,n,r,i,o,a,s,l,u,c,f,h,d,p=m.get("cardInfoMap");p&&(t=e.clientX,e=e.clientY,a=m.get("dragging"),isNaN(t)||isNaN(e)||!a||(n=a.x,r=a.y,i=a.left,o=a.top,a=a.card,i+=d=t-n,o+=s=e-r,u=(l=m.get("graph")).getPointByCanvas(0,0),c=l.getPointByCanvas(l.getWidth(),l.getHeight()),h=(u=l.getClientByPoint(u.x,u.y)).x,u=u.y,f=(c=l.getClientByPoint(c.x,c.y)).x,c=c.y,(f-h-((f=a.getBoundingClientRect()).right-f.left)<i&&0<d||i<0&&d<0)&&(i-=d),(c-u-(f.bottom-f.top)<o&&0<s||o<0&&s<0)&&(o-=s),(0,j.modifyCSS)(a,{left:"".concat(i,"px"),top:"".concat(o,"px"),visibility:"hidden"}),n=t,r=e,(h=(p[y]||{}).link)&&(d=l.findById(y),h.attr("path",R(d,f,l,m.get("canvas")))),m.set("dragging",{x:n,y:r,left:i,top:o,card:a})))}),n.addEventListener("dragend",function(e){var t,n,r,i=m.get("cardInfoMap");i&&(t=m.get("dragging"))&&(n=t.left,r=t.top,t=t.card,i[y].x=n,i[y].y=r,(0,j.modifyCSS)(t,{visibility:"visible"}),m.set("dragging",!1),null!=(n=m.get("rows"))&&n.forEach(function(e){for(var t=e.length-1;0<=t;t--)e[t].id===y&&e.splice(t,1)}),null!=(r=m.get("onAnnotationChange")))&&r(i[y],"update")}))},e.prototype.updateCardSize=function(e){var t,n,r=this.get("cardInfoMap");r&&(e=(r=r[e].card).getBoundingClientRect().width,r=r.getElementsByClassName("g6-annotation-title")[0])&&(t=getComputedStyle(r),t=c(t.marginLeft),n=r.getBoundingClientRect().width,(0,j.modifyCSS)(r,{marginRight:"".concat(e-t-24-16-n,"px")}))},e.prototype.updateLink=function(e){var t,n,r,i,e=e.item;e&&(i=this.get("cardInfoMap"))&&(t=this.get("canvas"),n=this.get("graph"),r=(i=i[e.getID()]||{}).link,i=i.card,r)&&(e=R(e,i.getBoundingClientRect(),n,t),r.attr("path",e))},e.prototype.updateLinks=function(){var e,t,n=this;this.destroyed||(e=this.get("cardInfoMap"))&&(t=this.get("graph"),Object.values(e).forEach(function(e){e=e.id,e=t.findById(e);n.updateLink({item:e})}))},e.prototype.onGraphDataChange=function(){var r,i=this,e=this.get("cardInfoMap");e&&(r=this.get("graph"),Object.values(e).forEach(function(e){var t=e.id,n=e.card,e=e.isCanvas;n&&!e&&"none"!==n.style.display&&((e=r.findById(t))&&e.isVisible()?i.toggleAnnotation(e):i.hideCard(t))}))},e.prototype.onGraphItemVisibilityChange=function(e){var t,n=e.item,e=e.visible;n&&!n.destroyed&&(t=this.get("cardInfoMap"))&&t[t=n.getID()]&&!e&&this.hideCard(t)},e.prototype.saveData=function(l){void 0===l&&(l=!1);var u,c,f,h,e=this.get("cardInfoMap");if(e)return u=this.get("graph"),c=this.get("getTitle"),f=this.get("getContent"),h=[],Object.values(e).forEach(function(e){var t,n=e.title,r=e.content,i=e.x,o=e.y,a=e.id,s=e.collapsed,e=e.card;e&&"none"===e.style.display&&!l||(t=u.findById(a)||u.get("canvas"),h.push({id:a,x:i,y:o,collapsed:s,title:n||(null==c?void 0:c(t)),content:r||(null==f?void 0:f(t)),visible:e&&"none"!==e.style.display}))}),h},e.prototype.readData=function(e){var u=this,c=this.get("graph");e.forEach(function(e){var t=e.id,n=e.x,r=e.y,i=e.title,o=e.content,a=e.collapsed,s=e.visible,l=c.findById(t);(l=l||"canvas-annotation"!==t?l:c.get("canvas"))?(u.toggleAnnotation(l,{x:n,y:r,title:i,content:o,collapsed:a}),s||u.hideCard(t)):((l=u.get("cardInfoMap")||{})[t]=e,u.set("cardInfoMap",l))})},e.prototype.clear=function(){var n,e=this.get("cardInfoMap");e&&(n=this.get("container"),Object.values(e).forEach(function(e){var t=e.card,e=e.link;n.removeChild(t),null!=e&&e.remove(!0)}),this.set("cardInfoMap",{}))},e.prototype.destroy=function(){this.clear(),null!=(e=this.get("canvas"))&&e.destroy();var e=this.get("graph");e&&!e.destroyed&&(this.get("containerCfg")&&e.getContainer().removeChild(this.get("container")),this.destroyed=!0)},e}(n.default)),R=(t.default=r,function(e,t,r,i){o="edge"===e.getType()?[e.getKeyShape().getPoint(.5)]:(h=(p=null==(p=e.getKeyShape)?void 0:p.call(e).getBBox()).minX,f=p.minY,d=p.maxX,p=p.maxY,{left:{x:h+=c=(e=e.getModel()).x,y:((f+=e=e.y)+(p+=e))/2},right:{x:d+=c,y:(f+p)/2},top:{x:(h+d)/2,y:f},bottom:{x:(h+d)/2,y:p}}),Object.keys(o).forEach(function(e){var t=o[e],n=t.x,t=t.y,n=r.getClientByPoint(n,t);o[e]=i.getPointByClient(n.x,n.y)});var o,n,a,s,l,u,e=t.top,c=void 0===e?0:e,f=t.left,h=void 0===f?0:f,d=t.right,p=void 0===d?0:d,e=t.bottom,f=void 0===e?0:e,d={left:i.getPointByClient(h,(c+f)/2),right:i.getPointByClient(p,(c+f)/2),top:i.getPointByClient((h+p)/2,c),bottom:i.getPointByClient((h+p)/2,f)};return n=o,a=d,u=1/0,Object.keys(n).forEach(function(e){var r=n[e];Object.keys(a).forEach(function(e){var e=a[e],t=r.x-e.x,n=r.y-e.y,t=t*t+n*n;t<u&&(u=t,s=r,l=e)})}),t=y.Util.getControlPoint(s,l,.5,20),[["M",s.x,s.y],["Q",t.x,t.y,l.x,l.y]]}),c=function(e){return Number(e.replace(/\s+|px/gi,""))||0}},78146:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(31834);function r(e){this._cfgs=(0,o.deepMix)(this.getDefaultCfgs(),e),this._events={},this.destroyed=!1}r.prototype.getDefaultCfgs=function(){return{}},r.prototype.initPlugin=function(n){var r=this,e=(r.set("graph",n),r.getEvents()),i={};(0,o.each)(e,function(e,t){e=(0,o.wrapBehavior)(r,e);i[t]=e,n.on(t,e)}),this._events=i,this.init()},r.prototype.getEvents=function(){return{}},r.prototype.get=function(e){var t;return null==(t=this._cfgs)?void 0:t[e]},r.prototype.set=function(e,t){this._cfgs[e]=t},r.prototype.destroy=function(){},r.prototype.destroyPlugin=function(){this.destroy();var n=this.get("graph"),e=this._events;(0,o.each)(e,function(e,t){n.off(t,e)}),this._events=null,this._cfgs=null,this.destroyed=!0},t.default=r},43688:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,n=(n=n(78146))&&n.__esModule?n:{default:n};o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function f(e,t,n){var r=e.x-t.x,e=e.y-t.y;return!n||Math.abs(r)>n||Math.abs(e)>n?Math.sqrt(r*r+e*e):n}function a(e,t){var n=(t.source.y-t.target.y)/(t.source.x-t.target.x),e=(n*n*t.source.x+n*(e.y-t.source.y)+e.x)/(n*n+1);return{x:e,y:n*(e-t.source.x)+t.source.y}}n=function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return o(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{edgeBundles:[],edgePoints:[],K:.1,lambda:.1,divisions:1,divRate:2,cycles:6,iterations:90,iterRate:.6666667,bundleThreshold:.6,eps:1e-6,onLayoutEnd:function(){},onTick:function(){}}},e.prototype.init=function(){var e=this.get("graph"),t=this.get("onTick");this.set("tick",function(){t&&t(),e.refreshPositions()})},e.prototype.bundling=function(e){var o=this;if(o.set("data",e),!o.isTicking()){var t=e.edges||[],a={},n=!1;if((e.nodes||[]).forEach(function(e){null!==e.x&&null!==!e.y&&void 0!==e.x?e.y:n=!0,a[e.id]=e}),n)throw new Error("please layout the graph or assign x and y for nodes first");o.set("nodeIdMap",a);var s=o.get("divisions"),r=o.get("divRate"),l=o.divideEdges(s),e=(o.set("edgePoints",l),o.getEdgeBundles());o.set("edgeBundles",e);for(var i=o.get("cycles"),u=o.get("iterations"),c=o.get("iterRate"),f=o.get("lambda"),h=0;h<i;h++){for(var d=0;d<u;d++)!function(){var i=[];t.forEach(function(e,t){if(e.source!==e.target){var n=a[e.source],e=a[e.target];i[t]=o.getEdgeForces({source:n,target:e},t,s,f);for(var r=0;r<s+1;r++)l[t][r].x+=i[t][r].x,l[t][r].y+=i[t][r].y}})}();f/=2,s*=r,u*=c,l=o.divideEdges(s),o.set("edgePoints",l)}t.forEach(function(e,t){e.source!==e.target&&(e.type="polyline",e.controlPoints=l[t].slice(1,l[t].length-1))}),o.get("graph").refresh()}},e.prototype.updateBundling=function(t){var e,n=this,r=t.data;r&&n.set("data",r),n.get("ticking")&&n.set("ticking",!1),Object.keys(t).forEach(function(e){n.set(e,t[e])}),t.onTick&&(e=this.get("graph"),n.set("tick",function(){t.onTick(),e.refresh()})),n.bundling(r)},e.prototype.divideEdges=function(r){var i=this,e=i.get("data").edges,u=i.get("nodeIdMap"),c=i.get("edgePoints");return c&&void 0!==c||(c=[]),e.forEach(function(e,o){c[o]&&void 0!==c[o]||(c[o]=[]);var t,a,s,l,n=u[e.source],e=u[e.target];1===r?(c[o].push({x:n.x,y:n.y}),c[o].push({x:.5*(n.x+e.x),y:.5*(n.y+e.y)}),c[o].push({x:e.x,y:e.y})):(a=(null!=(t=c[o])&&t.length?i.getEdgeLength(c[o]):f({x:n.x,y:n.y},{x:e.x,y:e.y}))/(r+1),s=a,l=[{x:n.x,y:n.y}],c[o].forEach(function(e,t){if(0!==t){for(var n=f(e,c[o][t-1]);s<n;){var r=s/n,i={x:c[o][t-1].x,y:c[o][t-1].y};i.x+=r*(e.x-c[o][t-1].x),i.y+=r*(e.y-c[o][t-1].y),l.push(i),n-=s,s=a}s-=n}}),l.push({x:e.x,y:e.y}),c[o]=l)}),c},e.prototype.getEdgeLength=function(n){var r=0;return n.forEach(function(e,t){0!==t&&(r+=f(e,n[t-1]))}),r},e.prototype.getEdgeBundles=function(){var a=this,t=a.get("data").edges||[],s=a.get("bundleThreshold"),l=a.get("nodeIdMap"),u=(u=a.get("edgeBundles"))||[];return t.forEach(function(e,t){u[t]&&void 0!==u[t]||(u[t]=[])}),t.forEach(function(e,r){var i=l[e.source],o=l[e.target];t.forEach(function(e,t){var n;t<=r||(n=l[e.source],e=l[e.target],a.getBundleScore({source:i,target:o},{source:n,target:e})>=s&&(u[r].push(t),u[t].push(r)))})}),u},e.prototype.getBundleScore=function(e,t){return e.vx=e.target.x-e.source.x,e.vy=e.target.y-e.source.y,t.vx=t.target.x-t.source.x,t.vy=t.target.y-t.source.y,e.length=f({x:e.source.x,y:e.source.y},{x:e.target.x,y:e.target.y}),t.length=f({x:t.source.x,y:t.source.y},{x:t.target.x,y:t.target.y}),this.getAngleScore(e,t)*this.getScaleScore(e,t)*this.getPositionScore(e,t)*this.getVisibilityScore(e,t)},e.prototype.getAngleScore=function(e,t){return n={x:e.vx,y:e.vy},r={x:t.vx,y:t.vy},(n.x*r.x+n.y*r.y)/(e.length*t.length);var n,r},e.prototype.getScaleScore=function(e,t){var n=(e.length+t.length)/2;return 2/(n/Math.min(e.length,t.length)+Math.max(e.length,t.length)/n)},e.prototype.getPositionScore=function(e,t){var n=(e.length+t.length)/2;return n/(n+f({x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2},{x:(t.source.x+t.target.x)/2,y:(t.source.y+t.target.y)/2}))},e.prototype.getVisibilityScore=function(e,t){var n=this.getEdgeVisibility(e,t),t=this.getEdgeVisibility(t,e);return n<t?n:t},e.prototype.getEdgeVisibility=function(e,t){var n=a(t.source,e),t=a(t.target,e),r={x:(n.x+t.x)/2,y:(n.y+t.y)/2},e={x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2};return Math.max(0,1-2*f(r,e)/f(n,t))},e.prototype.getEdgeForces=function(e,t,n,r){for(var i=this.get("edgePoints"),o=this.get("K")/(f(e.source,e.target)*(n+1)),a=[{x:0,y:0}],s=1;s<n;s++){var l={x:0,y:0},u=this.getSpringForce({pre:i[t][s-1],cur:i[t][s],next:i[t][s+1]},o),c=this.getElectrostaticForce(s,t);l.x=r*(u.x+c.x),l.y=r*(u.y+c.y),a.push(l)}return a.push({x:0,y:0}),a},e.prototype.getSpringForce=function(e,t){var n=e.pre.x+e.next.x-2*e.cur.x,e=e.pre.y+e.next.y-2*e.cur.y;return{x:n*=t,y:e*=t}},e.prototype.getElectrostaticForce=function(n,r){var i=this.get("eps"),e=this.get("edgeBundles"),o=this.get("edgePoints"),a={x:0,y:0};return e[r].forEach(function(e){var t={x:o[e][n].x-o[r][n].x,y:o[e][n].y-o[r][n].y};(Math.abs(t.x)>i||Math.abs(t.y)>i)&&(e=1/f(o[e][n],o[r][n]),a.x+=t.x*e,a.y+=t.y*e)}),a},e.prototype.isTicking=function(){return this.get("ticking")},e.prototype.getSimulation=function(){return this.get("forceSimulation")},e.prototype.destroy=function(){this.get("ticking")&&this.getSimulation().stop(),t.prototype.destroy.call(this)},e}(n.default);t.default=n},41239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=n(31834),r=n(48122),n=(n=n(78146))&&n.__esModule?n:{default:n},s=(o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)}),d=r.Util.distance,l={stroke:"#000",strokeOpacity:.8,lineWidth:2,fillOpacity:1,fill:"#fff"},r=function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return o(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{type:"both",trigger:"mousemove",r:60,delegateStyle:(0,a.clone)(l),showLabel:"edge",scaleRBy:"wheel"}},e.prototype.getEvents=function(){var e;switch(this.get("trigger")){case"click":e={click:"filter"};break;case"drag":e={click:"createDelegate"};break;default:e={mousemove:"filter"}}return e},e.prototype.init=function(){var e=this.get("showLabel"),t="edge"===e||"both"===e;this.set("showNodeLabel","node"===e||"both"===e),this.set("showEdgeLabel",t),this.get("shouldShow")||this.set("shouldShow",function(){return!0})},e.prototype.createDelegate=function(e){var t=this,n=t.get("delegate");n&&!n.destroyed||(t.filter(e),(n=t.get("delegate")).on("dragstart",function(e){}),n.on("drag",function(e){t.filter(e)}),"wheel"===this.get("scaleRBy")&&n.on("mousewheel",function(e){t.scaleRByWheel(e)}))},e.prototype.scaleRByWheel=function(e){var t,n,r,i,o;e&&e.originalEvent&&(e.preventDefault&&e.preventDefault(),t=this.get("graph"),(n=this.get("delegate"))?(n.attr("x"),n.attr("y")):t.getPointByClient(e.clientX,e.clientY),n=e.originalEvent.wheelDelta<0?.95:1/.95,r=this.get("maxR"),i=this.get("minR"),((o=this.get("r"))>(r||t.get("height"))&&1<n||o<(i||.05*t.get("height"))&&n<1)&&(n=1),this.set("r",o*=n),this.filter(e))},e.prototype.filter=function(e){var t=this.get("graph"),n=t.getNodes(),i={},o=this.get("r"),a=this.get("type"),s={x:e.x,y:e.y},l=(this.updateDelegate(s,o),this.get("shouldShow")),u=this.get("vShapes"),c=(u&&u.forEach(function(e){e.remove(),e.destroy()}),u=[],n.forEach(function(e){var t=e.getModel(),n=t.x,r=t.y;d({x:n,y:r},s)<o&&(i[t.id]=e)}),[]),r=(t.getEdges().forEach(function(e){var t=e.getModel(),n=t.source,r=t.target;l(t)&&("only-source"===a||"one"===a?i[n]&&!i[r]&&c.push(e):"only-target"===a||"one"===a?i[r]&&!i[n]&&c.push(e):"both"===a&&i[n]&&i[r]&&c.push(e))}),this.get("showNodeLabel")),f=this.get("showEdgelabel"),h=t.get("group");c.forEach(function(e){e.get("group").get("children").forEach(function(e){var t=e.get("type"),e=h.addShape(t,{attrs:e.attr()});u.push(e),r&&"text"===t&&e.set("visible",!0)})}),Object.keys(i).forEach(function(e){e=i[e].get("group").clone();if(h.add(e),u.push(e),f)for(var t=e.get("children"),n=0;n<t.length;n++){var r=t[n];"text"===r.get("type")&&r.set("visible",!0)}}),this.set("vShapes",u)},e.prototype.updateParams=function(e){var t=e.r,n=e.trigger,r=e.minR,i=e.maxR,o=e.scaleRBy,a=e.showLabel,s=e.shouldShow;isNaN(e.r)||this.set("r",t),isNaN(i)||this.set("maxR",i),isNaN(r)||this.set("minR",r),"mousemove"!==n&&"click"!==n||this.set("trigger",n),("wheel"===o||"unset"===o)&&(this.set("scaleRBy",o),this.get("delegate").remove(),this.get("delegate").destroy(),e=this.get("dPercentText"))&&(e.remove(),e.destroy()),"node"!==a&&"both"!==a||this.set("showNodeLabel",!0),"edge"!==a&&"both"!==a||this.set("showEdgeLabel",!0),s&&this.set("shouldShow",s)},e.prototype.updateDelegate=function(e,t){var n,r=this,i=r.get("graph"),o=r.get("delegate");!o||o.destroyed?(i=i.get("group"),n=r.get("delegateStyle")||l,o=i.addShape("circle",{attrs:s({r:t,x:e.x,y:e.y},n),name:"lens-shape",draggable:!0}),"drag"!==this.get("trigger")&&"wheel"===this.get("scaleRBy")&&o.on("mousewheel",function(e){r.scaleRByWheel(e)})):o.attr({x:e.x,y:e.y,r:t}),r.set("delegate",o)},e.prototype.clear=function(){var e=this.get("vShapes"),e=(e&&e.forEach(function(e){e.remove(),e.destroy()}),this.set("vShapes",e=[]),this.get("delegate"));e&&!e.destroyed&&(e.remove(),e.destroy())},e.prototype.destroy=function(){this.clear()},e}(n.default);t.default=r},192:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=n(31834),n=(n=n(78146))&&n.__esModule?n:{default:n},l=(o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)}),u={stroke:"#000",strokeOpacity:.8,lineWidth:2,fillOpacity:.1,fill:"#ccc"},n=function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return o(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{trigger:"mousemove",d:1.5,r:300,delegateStyle:(0,a.clone)(u),showLabel:!1,maxD:5,minD:0,scaleRBy:"unset",scaleDBy:"unset",showDPercent:!0}},e.prototype.getEvents=function(){var e;switch(this.get("trigger")){case"click":e={click:"magnify"};break;case"drag":e={click:"createDelegate"};break;default:e={mousemove:"magnify"}}return e},e.prototype.init=function(){var e=this.get("r"),t=(this.set("cachedMagnifiedModels",[]),this.set("cachedOriginPositions",{}),this.set("r2",e*e),this.get("d"));this.set("molecularParam",(t+1)*e)},e.prototype.createDelegate=function(e){var t=this,n=this,r=n.get("delegate");r&&!r.destroyed||(n.magnify(e),(r=n.get("delegate")).on("dragstart",function(e){n.set("delegateCenterDiff",{x:r.attr("x")-e.x,y:r.attr("y")-e.y})}),r.on("drag",function(e){n.magnify(e)}),"wheel"===this.get("scaleDBy")&&r.on("mousewheel",function(e){t.scaleDByWheel(e)}),"wheel"===this.get("scaleRBy")&&r.on("mousewheel",function(e){n.scaleRByWheel(e)}))},e.prototype.scaleRByWheel=function(e){var t,n,r,i,o,a;e&&e.originalEvent&&(e.preventDefault&&e.preventDefault(),t=this.get("graph"),n=((n=this.get("delegate"))?{x:n.attr("x"),y:n.attr("y")}:void 0)||t.getPointByClient(e.clientX,e.clientY),r=e.originalEvent.wheelDelta<0?.95:1/.95,a=this.get("maxR"),i=this.get("minR"),((o=this.get("r"))>(a||t.get("height"))&&1<r||o<(i||.05*t.get("height"))&&r<1)&&(r=1),this.set("r",o*=r),this.set("r2",o*o),a=this.get("d"),this.set("molecularParam",(a+1)*o),this.set("delegateCenterDiff",void 0),this.magnify(e,n))},e.prototype.scaleRByDrag=function(e){var t,n,r,i,o,a;e&&(r=this.get("dragPrePos"),n=(t=this.get("graph")).getPointByClient(e.clientX,e.clientY),r=e.x-r.x<0?.95:1/.95,a=this.get("maxR"),i=this.get("minR"),((o=this.get("r"))>(a||t.get("height"))&&1<r||o<(i||.05*t.get("height"))&&r<1)&&(r=1),this.set("r",o*=r),this.set("r2",o*o),a=this.get("d"),this.set("molecularParam",(a+1)*o),this.magnify(e,n),this.set("dragPrePos",{x:e.x,y:e.y}))},e.prototype.scaleDByWheel=function(e){var t,n,r;(e||e.originalEvent)&&(e.preventDefault&&e.preventDefault(),r=e.originalEvent.wheelDelta<(r=0)?-.1:.1,r=this.get("d")+r,t=this.get("maxD"),n=this.get("minD"),r<t)&&n<r&&(this.set("d",r),t=this.get("r"),this.set("molecularParam",(r+1)*t),r=(n=this.get("delegate"))?{x:n.attr("x"),y:n.attr("y")}:void 0,this.set("delegateCenterDiff",void 0),this.magnify(e,r))},e.prototype.scaleDByDrag=function(e){var t=this.get("dragPrePos"),t=0<e.x-t.x?.1:-.1,t=this.get("d")+t,n=this.get("maxD"),r=this.get("minD");t<n&&r<t&&(this.set("d",t),n=this.get("r"),this.set("molecularParam",(t+1)*n),this.magnify(e)),this.set("dragPrePos",{x:e.x,y:e.y})},e.prototype.magnify=function(e,t){this.restoreCache();var n=this.get("graph"),r=this.get("cachedMagnifiedModels"),i=this.get("cachedOriginPositions"),o=this.get("showLabel"),a=this.get("r"),s=this.get("r2"),l=this.get("d"),u=this.get("molecularParam"),c=n.getNodes(),f=c.length,h=t?{x:t.x,y:t.y}:{x:e.x,y:e.y},t=(!this.get("dragging")||"mousemove"!==this.get("trigger")&&"click"!==this.get("trigger")||(h=this.get("cacheCenter")),this.get("delegateCenterDiff"));t&&(h.x+=t.x,h.y+=t.y),this.updateDelegate(h,a);for(var d=0;d<f;d++){var p=c[d].getModel(),y=p.x,m=p.y;if(!isNaN(y)&&!isNaN(m)){var g=(y-h.x)*(y-h.x)+(m-h.y)*(m-h.y);if(!isNaN(g)&&g<s&&0!=g){var g=Math.sqrt(g),v=u*g/(l*g+a),b=(y-h.x)/g,_=(m-h.y)/g;if(p.x=b*v+h.x,p.y=_*v+h.y,i[p.id]||(i[p.id]={x:y,y:m,texts:[]}),r.push(p),o&&2*g<a)for(var x=c[d].getContainer().getChildren(),w=x.length,A=0;A<w;A++){var S=x[A];"text"===S.get("type")&&(i[p.id].texts.push({visible:S.get("visible"),shape:S}),S.set("visible",!0))}}}}n.refreshPositions()},e.prototype.restoreCache=function(){for(var e=this.get("cachedMagnifiedModels"),t=this.get("cachedOriginPositions"),n=e.length,r=0;r<n;r++){var i=e[r],o=t[i.id];i.x=o.x,i.y=o.y;for(var a=o.texts.length,s=0;s<a;s++){var l=o.texts[s];l.shape.set("visible",l.visible)}}this.set("cachedMagnifiedModels",[]),this.set("cachedOriginPositions",{})},e.prototype.updateParams=function(e){var t=e.r,n=e.d,r=e.trigger,i=e.minD,o=e.maxD,a=e.minR,s=e.maxR,l=e.scaleDBy,u=e.scaleRBy;isNaN(e.r)||(this.set("r",t),this.set("r2",t*t)),isNaN(n)||this.set("d",n),isNaN(o)||this.set("maxD",o),isNaN(i)||this.set("minD",i),isNaN(s)||this.set("maxR",s),isNaN(a)||this.set("minR",a);var c,e=this.get("d"),t=this.get("r");this.set("molecularParam",(e+1)*t),"mousemove"!==r&&"click"!==r&&"drag"!==r||this.set("trigger",r),("drag"===l||"wheel"===l||"unset"===l)&&(this.set("scaleDBy",l),this.get("delegate").remove(),this.get("delegate").destroy(),c=this.get("dPercentText"))&&(c.remove(),c.destroy()),("drag"===u||"wheel"===u||"unset"===u)&&(this.set("scaleRBy",u),this.get("delegate").remove(),this.get("delegate").destroy(),c=this.get("dPercentText"))&&(c.remove(),c.destroy())},e.prototype.updateDelegate=function(e,t){var n,r,i=this,o=this,a=o.get("graph"),s=o.get("delegate");!s||s.destroyed?(n=a.get("group"),r=o.get("delegateStyle")||u,s=n.addShape("circle",{attrs:l({r:t/1.5,x:e.x,y:e.y},r),name:"lens-shape",draggable:!0}),"drag"!==this.get("trigger")&&("wheel"===this.get("scaleRBy")?s.on("mousewheel",function(e){o.scaleRByWheel(e)}):"drag"===this.get("scaleRBy")&&(s.on("dragstart",function(e){o.set("dragging",!0),o.set("cacheCenter",{x:e.x,y:e.y}),o.set("dragPrePos",{x:e.x,y:e.y})}),s.on("drag",function(e){o.scaleRByDrag(e)}),s.on("dragend",function(e){o.set("dragging",!1)})),"wheel"===this.get("scaleDBy")?s.on("mousewheel",function(e){i.scaleDByWheel(e)}):"drag"===this.get("scaleDBy")&&(s.on("dragstart",function(e){o.set("dragging",!0),o.set("cacheCenter",{x:e.x,y:e.y}),o.set("dragPrePos",{x:e.x,y:e.y})}),s.on("drag",function(e){i.scaleDByDrag(e)}),s.on("dragend",function(e){o.set("dragging",!1)})))):s.attr({x:e.x,y:e.y,r:t/1.5}),o.get("showDPercent")&&(n=Math.round((o.get("d")-o.get("minD"))/(o.get("maxD")-o.get("minD"))*100),r=o.get("dPercentText"),t=e.y+t/1.5+16,!r||r.destroyed?(r=a.get("group").addShape("text",{attrs:{text:"".concat(n,"%"),x:e.x,y:t,fill:"#aaa",stroke:"#fff",lineWidth:1,fontSize:12}}),o.set("dPercentText",r)):r.attr({text:"".concat(n,"%"),x:e.x,y:t})),o.set("delegate",s)},e.prototype.clear=function(){var e=this.get("graph"),e=(this.restoreCache(),e.refreshPositions(),this.get("delegate")),e=(e&&!e.destroyed&&(e.remove(),e.destroy()),this.get("dPercentText"));e&&!e.destroyed&&(e.remove(),e.destroy())},e.prototype.destroy=function(){this.clear()},e}(n.default);t.default=n},90687:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=n(39269),n=(n=n(78146))&&n.__esModule?n:{default:n},s=(o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},"url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAwIDEwIEwgNDAgMTAgTSAxMCAwIEwgMTAgNDAgTSAwIDIwIEwgNDAgMjAgTSAyMCAwIEwgMjAgNDAgTSAwIDMwIEwgNDAgMzAgTSAzMCAwIEwgMzAgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2UwZTBlMCIgb3BhY2l0eT0iMC4yIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=)"),n=function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return o(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{img:s,follow:!0}},e.prototype.init=function(){var e=this.get("graph"),t=e.get("container"),e=e.get("canvas").get("el"),n=this.get("img")||s,r=(n.includes("url(")||(n='url("'.concat(n,'")')),(0,a.createDom)("<div class='g6-grid-container' style=\"position:absolute;overflow:hidden;z-index: -1;\"></div>")),n=(0,a.createDom)("<div\n class='g6-grid'\n style='position:absolute;\n background-image: ".concat(n,";\n user-select: none\n '></div>"));this.set("container",r),this.set("gridContainer",n),this.positionInit(),r.appendChild(n),t.insertBefore(r,e)},e.prototype.positionInit=function(){var e=this.get("graph"),t=e.get("minZoom"),n=e.get("width"),e=e.get("height"),n=((0,a.modifyCSS)(this.get("container"),{width:"".concat(n,"px"),height:"".concat(e,"px")}),80*n/t),e=80*e/t;(0,a.modifyCSS)(this.get("gridContainer"),{width:"".concat(n,"px"),height:"".concat(e,"px"),left:"-".concat(n/2,"px"),top:"-".concat(e/2,"px")})},e.prototype.getEvents=function(){return{viewportchange:"updateGrid"}},e.prototype.updateGrid=function(e){var t=this.get("gridContainer"),e=(e=e.matrix)||[1,0,0,0,1,0,0,0,1],n=this.get("follow"),n="matrix(".concat(e[0],", ").concat(e[1],", ").concat(e[3],", ").concat(e[4],", ").concat(n?e[6]:"0",", ").concat(n?e[7]:"0",")");(0,a.modifyCSS)(t,{transform:n})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.destroy=function(){var e=this.get("graph").get("container"),t=this.get("container");e.removeChild(t)},e}(n.default);t.default=n},11091:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=(r=n(78146))&&r.__esModule?r:{default:r},g=n(31834),v=n(39269),i=n(48122),f=n(43708),h=(o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},i.Util.applyMatrix),n=function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return o(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{container:null,className:"g6-minimap",viewportClassName:"g6-minimap-viewport",width:200,delegateStyle:{fill:"#40a9ff",stroke:"#096dd9"},refresh:!0}},e.prototype.getEvents=function(){return{beforepaint:"updateViewport",beforeanimate:"disableRefresh",afteranimate:"enableRefresh",viewportchange:"disableOneRefresh"}},e.prototype.disableRefresh=function(){this.set("refresh",!1)},e.prototype.enableRefresh=function(){this.set("refresh",!0),this.updateCanvas()},e.prototype.disableOneRefresh=function(){this.set("viewportChange",!0)},e.prototype.initViewport=function(){var e,o,a,s,l,u,c,f,h,d,p,y=this,r=this._cfgs,m=r.graph;this.destroyed||(e=this.get("container"),(0,g.isString)(e)&&(e=document.getElementById(e)),o=(0,v.createDom)("<div class=".concat(r.viewportClassName,"\n style='position:absolute;\n left:0;\n top:0;\n box-sizing:border-box;\n border: 2px solid #1980ff;\n cursor:move'\n </div>")),l=!1,p=d=h=f=c=u=s=a=0,e.addEventListener("mousedown",function(e){var t,n;r.refresh=!1,e.target===o&&(t=o.style,f=parseInt(t.width,10),h=parseInt(t.height,10),t=y.get("width"),n=y.get("height"),t<f||n<h||(p=m.getZoom(),d=y.get("ratio"),l=!0,a=e.clientX,s=e.clientY))},!1),e.addEventListener("mousemove",function(e){var t,n,r,i;!l||(0,g.isNil)(e.clientX)||(0,g.isNil)(e.clientY)||(t=y.get("width"),n=y.get("height"),r=o.style,u=parseInt(r.left,10),c=parseInt(r.top,10),f=parseInt(r.width,10),h=parseInt(r.height,10),r=a-e.clientX,i=s-e.clientY,u-r<0?r=u:t<=u-r+f&&(r=0),c-i<0?i=c:n<=c-i+h&&(i=0),u-=r,c-=i,(0,v.modifyCSS)(o,{left:"".concat(u,"px"),top:"".concat(c,"px")}),m.translate(r*p/d,i*p/d),a=e.clientX,s=e.clientY)},!1),e.addEventListener("mouseleave",function(){l=!1,r.refresh=!0},!1),e.addEventListener("mouseup",function(){l=!1,r.refresh=!0},!1),this.set("viewport",o),e.appendChild(o))},e.prototype.updateViewport=function(){var e,t,n,r,i,o,a,s,l,u,c;this.destroyed||(e=this.get("ratio"),t=this.get("width"),n=this.get("height"),c=(s=(i=this.get("graph")).get("width"))/i.get("height"),o=[((a=(r=i.getGroup()).getCanvasBBox()).minX+a.maxX)/2,(a.minY+a.maxY)/2],u=[a.maxX-a.minX,a.maxY-a.minY],l={centerX:o[0],centerY:o[1],width:0,height:0,minX:0,minY:0},a[0]/a[1]>c?(l.width=u[0],l.height=l.width/c):(l.height=u[1],l.width=l.height*c),l.minX=o[0]-l.width/2,l.minY=o[1]-l.height/2,a=(a=r.getMatrix())||[1,0,0,0,1,0,0,0,1],u=f.mat3.invert([1,0,0,0,1,0,0,0,1],a),c=h({x:l.minX,y:l.minY},u),o=i.getCanvasByPoint(c.x,c.y),(r=this.get("viewport"))||this.initViewport(),c=(a=t*-o.x/l.width)+(i=(u=s/l.width)*t),l=(s=n*-o.y/l.height)+(o=u*n),a<0&&(i+=a,a=0),t<c&&(i-=c-t),s<0&&(o+=s,s=0),n<l&&(o-=l-n),this.set("ratio",e),u="".concat(a,"px"),c="".concat(s,"px"),(0,v.modifyCSS)(r,{left:u,top:c,width:"".concat(i,"px"),height:"".concat(o,"px")}))},e.prototype.init=function(){this.initContainer()},e.prototype.initContainer=function(){var e=this.get("graph"),t=e.get("width"),t=e.get("height")/t,n=this.get("className"),r=this.get("container"),i=this.get("width"),o=this.get("height"),t=((i=i||o?i:200)?this.set("height",o=t*i):this.set("width",i=1/t*o),(0,v.createDom)("<div class='".concat(n,"' style='width: ").concat(i,"px; height: ").concat(o,"px; overflow: hidden; position: relative;'></div>"))),n=(((r=(0,g.isString)(r)?document.getElementById(r):r)||e.get("container")).appendChild(t),this.set("container",t),(0,v.createDom)('<div class="g6-minimap-container" style="position: relative; width: 100%; height: 100%; text-align: center; display: table;"></div>')),i=(t.appendChild(n),(0,v.createDom)('<span style="display: table-cell; vertical-align: middle; "></span>')),o=(n.appendChild(i),this.set("containerDOM",n),this.set("containerSpan",i),(0,v.createDom)('<img alt="" src="'.concat(this.get("graphImg"),'" style="display: inline-block; user-select: none;" draggable="false" />')));this.set("imgDOM",o),this.updateImgSize(),i.appendChild(o),this.updateCanvas()},e.prototype.updateImgSize=function(){var i=this.get("imgDOM"),o=this.get("width"),a=this.get("height");i.onload=function(){(r=i).naturalWidth?(e=r.naturalWidth,t=r.naturalHeight):((n=new Image).src=r.src,n.onload=function(){});var e,t,n,r=[e,t];r[1]<r[0]?i.width=o:i.height=a}},e.prototype.updateCanvas=function(){var e;this.get("refresh")&&!(e=this.get("graph")).get("destroyed")&&(this.get("viewportChange")&&(this.set("viewportChange",!1),this.updateViewport()),e=this.get("width")/e.get("canvas").getCanvasBBox().width,this.set("ratio",e),this.updateViewport())},e.prototype.getViewport=function(){return this.get("viewport")},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateGraphImg=function(e){this.get("imgDOM").remove(),this.set("graphImg",e);var t=(0,v.createDom)('<img alt="" src="'.concat(e,'" style="display: inline-block;" ondragstart="return false;" onselectstart="return false;"/>'));this.set("imgDOM",t),t.src=e,this.updateImgSize(),this.get("containerSpan").appendChild(t),this.updateCanvas()},e.prototype.destroy=function(){var e=this.get("container");e.parentNode.removeChild(e)},e}(r.default);t.default=n},75836:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Annotation",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"Bundling",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"EdgeFilterLens",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Fisheye",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"ImageMinimap",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Legend",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"Menu",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Minimap",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"PluginBase",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"SnapLine",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"TimeBar",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"ToolBar",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return u.default}}),t.default=void 0;var r=g(n(90687)),i=g(n(58042)),o=g(n(29953)),a=g(n(43688)),s=g(n(192)),l=g(n(42875)),u=g(n(61912)),c=g(n(74399)),f=g(n(11091)),h=g(n(41239)),d=g(n(24853)),p=g(n(78146)),y=g(n(20178)),m=g(n(84680));function g(e){return e&&e.__esModule?e:{default:e}}n={PluginBase:p.default,Menu:i.default,Grid:r.default,Minimap:o.default,Bundling:a.default,ToolBar:l.default,Tooltip:u.default,Fisheye:s.default,TimeBar:c.default,ImageMinimap:f.default,EdgeFilterLens:h.default,SnapLine:d.default,Legend:y.default,Annotation:m.default};t.default=n},20178:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=n(39269),r=(r=n(78146))&&r.__esModule?r:{default:r},s=n(31834),m=n(48122),g=n(15873),v=(o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(){return(v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)}),l=["click","mouseenter"],n=function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return o(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{data:{},position:"top",padding:8,margin:8,offsetX:0,offsetY:0,layout:"horizontal",flipPage:!1,containerStyle:{},align:void 0,horiSep:8,vertiSep:8,filter:{enable:!1,trigger:"click"}}},e.prototype.init=function(){this.formatArray("padding"),this.formatArray("margin");var e=this.get("filter")||{},e=(e.multiple&&"mouseenter"===e.trigger&&this.set("multiple",!1),this.get("align")),t=(e||((t=this.get("position").split("-")).includes("left")&&(e="left"),e=t.includes("right")?"right":"center",this.set("align",e)),this.get("graph").get("container")),e=(0,a.createDom)("<div class='g6-legend-container' style=\"position: absolute;\"></div>"),t=(t.appendChild(e),this.set("container",e),this.render());(0,a.modifyCSS)(e,this.getContainerPos(t)),this.bindEvents()},e.prototype.getContainerPos=function(r){void 0===r&&(r=[0,0]);var i=this.get("graph"),e=this.get("offsetX"),t=this.get("offsetY"),o=this.get("margin"),n=this.get("position").split("-"),a={top:0,right:1,bottom:2,left:3},s={left:(i.getWidth()-r[0])/2+0,top:(i.getHeight()-r[1])/2+0};return n.forEach(function(e){var t=o[a[e]],n=e;switch(e){case"top":case"left":t+=0;break;case"bottom":t=i.getHeight()-r[1]-t+0,n="top";break;default:t=i.getWidth()-r[0]-t+0,n="left"}s[n]=t}),s.top+=t+i.getContainer().offsetTop,s.left+=e+i.getContainer().offsetLeft,Object.keys(s).forEach(function(e){s[e]="".concat(s[e],"px")}),s},e.prototype.bindEvents=function(){var e,t=this,n=t.get("filter");n&&n.enable&&(n=n.trigger||"click",l.includes(n)||(console.warn("Trigger for legend filterling must be 'click' or 'mouseenter', 'click' will take effect by default."),n="click"),e=t.get("legendCanvas"),"mouseenter"===n?(e.on("node-container:mouseenter",function(e){return t.filterData(e)}),e.on("node-container:mouseleave",function(e){t.clearFilter(),t.clearActiveLegend()})):(e.on("node-container:click",function(e){return t.filterData(e)}),e.on("click",function(e){e.target&&e.target.isCanvas&&e.target.isCanvas()&&(t.clearFilter(),t.clearActiveLegend())})))},e.prototype.changeData=function(e){this.set("data",e);e=this.render();(0,a.modifyCSS)(this.get("container"),this.getContainerPos(e))},e.prototype.activateLegend=function(e){var t=this.get("filter"),e=(null!=t&&t.multiple||this.clearActiveLegend(),e.get("parent")),e=(e.get("active")?(e.set("active",!1),this.findLegendItemsByState("active").length&&e.set("inactive",!0)):(e.set("inactive",!1),e.set("active",!0)),this.findLegendItemsByState("active").length?this.findLegendItemsByState("active","all",!1).forEach(function(e){e.set("inactive",!0)}):this.clearActiveLegend(),(null==t?void 0:t.legendStateStyles)||{}),n=(null===e?void 0:e.inactive)||{opacity:.5,"text-shape":{opacity:.5}},r=n["text-shape"]||{},i=(this.findLegendItemsByState("inactive").forEach(function(e){var e=e.get("children"),t=e[0],e=e[1];t.attr(v(v({},t.get("oriAttrs")),n)),e.attr(v(v({},e.get("oriAttrs")),r))}),(null===e?void 0:e.active)||{stroke:"#000",lineWidth:2,"text-shape":{fontWeight:"bold"}}),o=i["text-shape"]||{};this.findLegendItemsByState("active").forEach(function(e){var e=e.get("children"),t=e[0],e=e[1];t.attr(v(v({},t.get("oriAttrs")),i)),e.attr(v(v({},e.get("oriAttrs")),o))})},e.prototype.findLegendItemsByState=function(t,e,n){void 0===e&&(e="all"),void 0===n&&(n=!0);var r=this.get("legendCanvas").find(function(e){return"root"===e.get("name")}),i=r.find(function(e){return"node-group"===e.get("name")}),r=r.find(function(e){return"edge-group"===e.get("name")});return"node"===e?i.get("children").filter(function(e){return!!e.get(t)===n}):"edge"===e?r.get("children").filter(function(e){return!!e.get(t)===n}):i.get("children").filter(function(e){return!!e.get(t)===n}).concat(r.get("children").filter(function(e){return!!e.get(t)===n}))},e.prototype.clearActiveLegend=function(){var e=this.get("legendCanvas").find(function(e){return"root"===e.get("name")});[e.find(function(e){return"node-group"===e.get("name")}),e.find(function(e){return"edge-group"===e.get("name")})].forEach(function(e){e.get("children").forEach(function(e){e.set("active",!1),e.set("inactive",!1);var e=e.get("children"),t=e[0],e=e[1];t.attr(t.get("oriAttrs")),e.attr(e.get("oriAttrs"))})})},e.prototype.filterData=function(e){var r,i,o,t,a,s,l,n=this.get("filter"),u=null==n?void 0:n.filterFunctions;n&&u&&(t=this.get("legendCanvas"),r=this.get("graph"),i=n.graphActiveState||"active",o=n.graphInactiveState||"inactive",n=n.multiple,this.clearFilter(),n||this.clearActiveLegend(),this.activateLegend(e.target),e=(n=t.find(function(e){return"root"===e.get("name")})).find(function(e){return"node-group"===e.get("name")}),t=n.find(function(e){return"edge-group"===e.get("name")}),a=e.get("children").filter(function(e){return e.get("active")}),s=t.get("children").filter(function(e){return e.get("active")}),l=0,(n=["getNodes","getEdges"]).forEach(function(e){r[e]().forEach(function(t){var n=!1;("getNodes"===e?a:s).forEach(function(e){e=u[e.get("id")];n=n||e(t.getModel())}),n?(r.setItemState(t,o,!1),r.setItemState(t,i,!0),l++):(r.setItemState(t,i,!1),r.setItemState(t,o,!0))})}),l||n.forEach(function(e){r[e]().forEach(function(e){r.clearItemStates(e,[o])})}))},e.prototype.clearFilter=function(){var t,n,r=this.get("graph"),e=this.get("filter");e&&(t=e.graphActiveState||"active",n=e.graphInactiveState||"inactive",r.getNodes().forEach(function(e){r.clearItemStates(e,[t,n])}),r.getEdges().forEach(function(e){r.clearItemStates(e,[t,n])}))},e.prototype.render=function(){var f=this,e=(this.processData(),this.get("legendCanvas")),t=(e?e.clear():e=new g.Canvas({container:this.get("container"),width:200,height:200}),e.addGroup({name:"root"})),n=t.addGroup({name:"node-group"}),r=t.addGroup({name:"edge-group"}),i=(this.set("legendCanvas",e),this.get("itemsData")),h=[n,r];["nodes","edges"].forEach(function(u,c){i[u].forEach(function(e){var t,n=h[c].addGroup({id:e.id,name:"node-container"}),r=e.type,i=f.getShapeSize(e),o=i.width,a=i.height,s=i.r,i=f.getStyle(u.substr(0,4),e);switch(e.type){case"circle":t={r:s,x:0,y:0};break;case"rect":t={width:o,height:a,x:-o/2,y:-a/2};break;case"ellipse":t={rx:o,ry:a,x:0,y:0},r="ellipse";break;case"line":t={x1:-o/2,y1:0,x2:o/2,y2:0},r="line";break;case"quadratic":t={path:[["M",-o/2,0],["Q",0,o/2,o/2,0]]},r="path";break;case"cubic":t={path:[["M",-o/2,0],["C",-o/6,o/2,o/6,-o/2,o/2,0]]},r="path";break;case"diamond":t={path:[["M",0,-a],["L",o,0],["L",0,a],["L",-o,0],["Z"]]},r="path";break;case"triangle":t={path:[["M",-o,a],["L",0,-a],["L",o,a],["Z"]]},r="path";break;case"star":t={path:m.Util.getStarPath(3*s,1.2*s)},r="path";break;default:t={r:s,x:0,y:0}}var l,i=n.addShape(r,{attrs:v(v({},t),i),name:"".concat(e.type,"-node-keyShape"),oriAttrs:v({opacity:1},i)});e.label&&(i=i.getBBox(),l=(null==(l=e.labelCfg)?void 0:l.style)||{},l=v({textAlign:"begin",fontSize:12,textBaseline:"middle",fill:"#000",opacity:1,fontWeight:"normal"},l),n.addShape("text",{attrs:v({x:i.maxX+4,y:0,text:e.label},l),className:"legend-label",name:"".concat(e.type,"-node-text"),oriAttrs:l}))})});var o=this.get("padding"),a=t.find(function(e){return"title-container"===e.get("name")}),s={height:0,maxY:0,width:0},l=(this.get("title")&&(a=a||t.addGroup({name:"title-container"}),p={fontSize:20,fontFamily:"Arial",fontWeight:300,textBaseline:"top",textAlign:"center",fill:"#000",x:0,y:o[0]},d=this.get("titleConfig")||{},p=Object.assign(p,d.style||{}),p=a.addShape("text",{attrs:v({text:this.get("title")},p)}),s=a.getCanvasBBox(),a.setMatrix([1,0,0,0,1,0,d.offsetX,d.offsetY,1])),this.layoutItems(),t.getCanvasBBox(),n.getCanvasBBox()),u=[1,0,0,0,1,0,l.minX<0?Math.abs(l.minX)+o[3]:o[3],s.maxY<l.minY?Math.abs(s.maxY-l.minY)+o[0]:s.maxY+o[0],1],c=(n.setMatrix(u),[(c=t.getCanvasBBox()).minX+c.width+o[1],c.minY+c.height+o[2]]),s=(p?(d=v({position:"center",offsetX:0,offsetY:0},this.get("titleConfig")),s=a.getCanvasBBox(),y=a.getMatrix()||[1,0,0,0,1,0,0,0,1],"center"===d.position?y[6]=c[0]/2+d.offsetX:"right"===d.position?(y[6]=c[0]-o[3]+d.offsetX,p.attr({textAlign:"right"})):(y[6]=o[3]+d.offsetX,p.attr({textAlign:"left"})),a.setMatrix(y),s=a.getCanvasBBox(),u=[1,0,0,0,1,0,d=l.minX<0?Math.abs(l.minX)+o[3]:o[3],p=l.minY<s.maxY?Math.abs(s.maxY-l.minY)+o[0]:s.maxY+o[0],1],n.setMatrix(u),y=[1,0,0,0,1,0,d,p,1],"vertical"===this.get("layout")?y[6]+=l.maxX+this.get("horiSep"):y[7]+=l.maxY+this.get("vertiSep"),r.setMatrix(y)):(l=n.getCanvasBBox(),a=[1,0,0,0,1,0,0,0,1],"vertical"===this.get("layout")?a[6]+=u[6]+l.maxX+this.get("horiSep"):a[7]+=u[7]+l.maxY+this.get("vertiSep"),r.setMatrix(a)),t.getCanvasBBox(),l=n.getCanvasBBox(),u=n.getMatrix()||[1,0,0,0,1,0,0,0,1],r.getMatrix()||[1,0,0,0,1,0,0,0,1]),d=r.getCanvasBBox(),c=[Math.max(l.width+u[6],d.width+s[6])+o[1],Math.max(l.height+u[7],d.height+s[7])+o[2]],p=(e.changeSize(c[0],c[1]),this.get("containerStyle")),y=t.getMatrix()||[1,0,0,0,1,0,0,0,1],a=m.Util.invertMatrix({x:0,y:0},y);return t.addShape("rect",{attrs:v({x:a.x+(p.lineWidth||1),y:a.y+(p.lineWidth||1),width:c[0]-2*(p.lineWidth||1),height:c[1]-2*(p.lineWidth||1),fill:"#f00",stroke:"#000",lineWidth:1,opacity:.5},p),name:"legend-back-rect",capture:!1}).toBack(),c},e.prototype.layoutItems=function(){var n,e=this.get("legendCanvas"),s=this.get("horiSep"),l=this.get("vertiSep"),u=this.get("layout"),t=this.get("align"),c=[0,0],e=e.find(function(e){return"root"===e.get("name")}),r=e.find(function(e){return"node-group"===e.get("name")}),e=e.find(function(e){return"edge-group"===e.get("name")}),f={min:0,max:-1/0},h=-1/0,i=(r.get("children").forEach(function(e,t){0===t&&(f.min=c[0]);var t=e.get("children")[0],n=e.getCanvasBBox(),t=t.getBBox(),r=t.width,t=t.height,i=0,o=0,a=0,i="vertical"===u?(o=c[1],c[0]=(a=c[0]+r/2)+n.height+l,n.maxX+o+r/2):(a=c[1],c[0]=(o=c[0]+r/2)+n.width+s,n.maxY+a+t/2);f.max<c[0]&&(f.max=c[0]),h<i&&(h=i),e.setMatrix([1,0,0,0,1,0,o,a,1])}),f.max-f.min),a={min:0,max:-1/0},o=r.getCanvasBBox();c[0]=0,c[1]="vertical"===u?o.maxX+s:o.maxY+l,e.get("children").forEach(function(e,t){0===t&&(a.min=c[0]);var t=e.get("children")[0],n=e.getCanvasBBox(),t=t.getBBox(),r=t.width,t=t.height,i=0,o=0;"vertical"===u?(i=c[1],c[0]=(o=c[0])+n.height+l,e.setMatrix([1,0,0,0,1,0,0,o+t/2,1])):(o=c[1],c[0]=(i=c[0])+n.width+s,e.setMatrix([1,0,0,0,1,0,i+r/2,0,1])),a.max<c[0]&&(a.max=c[0])}),t&&""!==t&&"left"!==t&&(o=i-(a.max-a.min),n="center"===t?Math.abs(o)/2:Math.abs(o),(o<0?r:e).get("children").forEach(function(e){var t=e.getMatrix()||[1,0,0,0,1,0,0,0,1];"vertical"===u?t[7]+=n:t[6]+=n,e.setMatrix(t)}))},e.prototype.processData=function(){var e=this.get("data"),i={nodes:[],edges:[]};e.nodes&&(e.nodes.sort(function(e,t){return e.order-t.order}),e.nodes.forEach(function(e){var t=e.size||[(null==(t=e.style)?void 0:t.width)||(null==(t=e.style)?void 0:t.r)||8,(null==(t=e.style)?void 0:t.height)||(null==(t=e.style)?void 0:t.r)||8],n=(null==(n=e.labelCfg)?void 0:n.style)||{};i.nodes.push({id:e.id||(0,s.uniqueId)(),type:e.type||"circle",style:v({},e.style),order:e.order,label:e.label,itemType:"node",size:t,labelCfg:{position:"right",style:v({fontFamily:"Arial"},n)}})})),e.edges&&(e.edges.sort(function(e,t){return e.order-t.order}),e.edges.forEach(function(e){var t=e.type||"line",n=("cubic-horizontal"===e.type&&(t="cubic"),(null==(n=e.labelCfg)?void 0:n.style)||{}),r=e.size||[(null==(r=e.style)?void 0:r.width)||8,1];i.edges.push({id:e.id||(0,s.uniqueId)(),type:t,size:r,style:v({lineWidth:(0,s.isArray)(r)?r[1]:1},e.style),order:e.order,label:e.label,itemType:"edge",labelCfg:{position:"right",style:v({fontFamily:"Arial"},n)}})})),this.set("itemsData",i)},e.prototype.getContainer=function(){return this.get("container")},e.prototype.formatArray=function(e){var t=this.get(e);if((0,s.isNumber)(t))this.set(e,[t,t,t,t]);else if((0,s.isArray)(t))switch(t.length){case 0:this.set(e,[0,0,0,0]);break;case 1:this.set(e,[t[0],t[0],t[0],t[0]]);break;case 2:this.set(e,[t[0],t[1],t[0],t[1]]);break;case 3:this.set(e,[t[0],t[1],t[2],t[1]])}return this.get(e)},e.prototype.getShapeSize=function(e){var t,n,r;return e.size&&((0,s.isArray)(e.size)?(t=e.size[0],n=e.size[1]||e.size[0],r=e.size[0]/2):(0,s.isNumber)(e.size)&&(t=e.size,n=e.size,r=e.size/2)),r=(r=e.style&&(e.style.width&&(t=e.style.width),e.style.height&&(n=e.style.height),e.style.r)?e.style.r:r)||5,{width:t=t||r,height:n=n||r,r:r}},e.prototype.getStyle=function(e,t){return v(v({},"node"===e?{fill:"#ccc",lineWidth:0}:{stroke:"#000",lineWidth:1}),t.style||{})},e.prototype.destroy=function(){var e=this.get("legendCanvas"),e=(null!=e&&e.destroy(),this.get("graph").get("container")),t=this.get("container");e.removeChild(t)},e}(r.default);t.default=n},58042:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var y=n(39269),m=n(31834),r=i(n(28813)),n=i(n(78146));function i(e){return e&&e.__esModule?e:{default:e}}o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};"undefined"!=typeof document&&(0,r.default)("\n .g6-component-contextmenu {\n border: 1px solid #e2e2e2;\n border-radius: 4px;\n font-size: 12px;\n color: #545454;\n background-color: rgba(255, 255, 255, 0.9);\n padding: 10px 8px;\n box-shadow: rgb(174, 174, 174) 0px 0px 10px;\n }\n .g6-contextmenu-ul {\n padding: 0;\n margin: 0;\n list-style: none;\n }\n\n");var o,r=function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return o(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{offsetX:6,offsetY:6,handleMenuClick:void 0,getContent:function(e){return"\n <ul class='g6-contextmenu-ul'>\n <li>菜单项1</li>\n <li>菜单项2</li>\n </ul>\n "},shouldBegin:function(e){return!0},onHide:function(){return!0},itemTypes:["node","edge","combo"],trigger:"contextmenu"}},e.prototype.getEvents=function(){return"click"===this.get("trigger")?{click:"onMenuShow",touchend:"onMenuShow"}:{contextmenu:"onMenuShow"}},e.prototype.init=function(){var e=this.get("className"),e=(0,y.createDom)("<div class=".concat(e||"g6-component-contextmenu","></div>"));(0,y.modifyCSS)(e,{top:"0px",position:"absolute",visibility:"hidden"});var t=(t=this.get("container"))||this.get("graph").get("container");(t=(0,m.isString)(t)?document.getElementById(t):t).appendChild(e),this.set("menu",e)},e.prototype.onMenuShow=function(t){var n,r,e,i,o,a,s,l,u,c,f,h,d=this,p=(t.preventDefault(),this.get("itemTypes"));if(t.item){if(t.item&&t.item.getType&&-1===p.indexOf(t.item.getType()))return void d.onMenuHide()}else if(-1===p.indexOf("canvas"))return void d.onMenuHide();this.get("shouldBegin")(t)&&(p=this.get("menu"),h=this.get("getContent"),n=this.get("graph"),h=h(t,n),(0,m.isString)(h)?p.innerHTML=h:p.innerHTML=h.outerHTML,this.removeMenuEventListener(),(r=this.get("handleMenuClick"))&&(this.set("handleMenuClickWrapper",h=function(e){r(e.target,t.item,n)}),p.addEventListener("click",h)),h=n.get("width"),e=n.get("height"),i=p.getBoundingClientRect(),o=this.get("offsetX")||0,a=this.get("offsetY")||0,s=n.getContainer().offsetTop,l=n.getContainer().offsetLeft,u=t.canvasX+l+o,c=t.canvasY+s+a,u+i.width>h&&(u=t.canvasX-i.width-o+l),c+i.height>e&&(c=t.canvasY-i.height-a+s),(0,y.modifyCSS)(p,{top:"".concat(c,"px"),left:"".concat(u,"px"),visibility:"visible"}),f="click"===this.get("trigger"),h=function(e){f?f=!1:d.onMenuHide()},document.body.addEventListener("click",h),this.set("handler",h))},e.prototype.removeMenuEventListener=function(){var e=this.get("handleMenuClickWrapper"),t=this.get("handler");e&&(this.get("menu").removeEventListener("click",e),this.set("handleMenuClickWrapper",null)),t&&document.body.removeEventListener("click",t)},e.prototype.onMenuHide=function(){var e=this.get("menu");e&&(0,y.modifyCSS)(e,{visibility:"hidden"}),this.removeMenuEventListener()},e.prototype.destroy=function(){var e,t=this.get("menu");this.removeMenuEventListener(),t&&(e=(e=this.get("container"))||this.get("graph").get("container"),(e=(0,m.isString)(e)?document.getElementById(e):e).removeChild(t))},e}(n.default);t.default=r},29953:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=n(15873),s=n(32227),b=n(31834),_=n(39269),r=n(43708),n=(n=n(78146))&&n.__esModule?n:{default:n},l=(o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)}),c=Math.max,f=r.ext.transform,r=function(t){function e(e){var n=t.call(this,e)||this;return n.handleUpdateCanvas=(0,b.debounce)(function(e){var t=n;t.destroyed||t.updateCanvas()},100,!1),n}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return o(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{container:null,className:"g6-minimap",viewportClassName:"g6-minimap-viewport",type:"default",padding:50,size:[200,120],delegateStyle:{fill:"#40a9ff",stroke:"#096dd9"},refresh:!0,hideEdge:!1}},e.prototype.getEvents=function(){return{beforepaint:"updateViewport",beforeanimate:"disableRefresh",afteranimate:"enableRefresh",viewportchange:"disableOneRefresh"}},e.prototype.disableRefresh=function(){this.set("refresh",!1)},e.prototype.enableRefresh=function(){this.set("refresh",!0),this.updateCanvas()},e.prototype.disableOneRefresh=function(){this.set("viewportChange",!0)},e.prototype.initViewport=function(){var e,t,n,i,o,a,s,l,u,c,f,h,d,r,p,y=this,m=this._cfgs,g=m.size,v=m.graph;this.destroyed||(e=this.get("canvas").get("container"),t=-1<navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1<navigator.userAgent.toLowerCase().indexOf("safari"),i=(0,_.createDom)("\n <div\n class=".concat(m.viewportClassName,"\n style='position:absolute;\n left:0;\n top:0;\n box-sizing:border-box;\n outline: 2px solid #1980ff;\n cursor:move'\n draggable=").concat(!n&&!t,"\n </div>")),s=!1,d=h=f=c=u=l=a=o=0,i.addEventListener(n||t?"mousedown":"dragstart",function(t){var e,n;if(t.dataTransfer){var r=new Image;r.src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' %3E%3Cpath /%3E%3C/svg%3E",null!=(n=(e=t.dataTransfer).setDragImage)&&n.call(e,r,0,0);try{t.dataTransfer.setData("text/html","view-port-minimap")}catch(e){t.dataTransfer.setData("text","view-port-minimap")}}m.refresh=!1,t.target===i&&(n=i.style,l=parseInt(n.left,10),u=parseInt(n.top,10),c=parseInt(n.width,10),f=parseInt(n.height,10),c>g[0]||f>g[1]||(d=v.getZoom(),h=y.get("ratio"),s=!0,o=t.clientX,a=t.clientY))},!1),r=function(e){var t,n;!s||(0,b.isNil)(e.clientX)||(0,b.isNil)(e.clientY)||(t=o-e.clientX,n=a-e.clientY,(l-t<0||l-t+c>=g[0])&&(t=0),(u-n<0||u-n+f>=g[1])&&(n=0),l-=t,u-=n,(0,_.modifyCSS)(i,{left:"".concat(l,"px"),top:"".concat(u,"px")}),v.translate(t*d/h,n*d/h),o=e.clientX,a=e.clientY)},n||t||i.addEventListener("drag",r,!1),i.addEventListener(n||t?"mouseup":"dragend",p=function(){s=!1,m.refresh=!0},!1),e.addEventListener("mouseleave",p),e.addEventListener("mouseup",p),(n||t)&&e.addEventListener("mousemove",r,!1),this.set("viewport",i),e.appendChild(i))},e.prototype.updateViewport=function(){var e,t,n,r,i,o,a,s,l;this.destroyed||(e=this.get("ratio"),o=this.get("totaldx"),l=this.get("totaldy"),i=this.get("graph"),t=this.get("size"),r=i.get("canvas").get("el"),n=i.get("width")||r.scrollWidth||500,r=i.get("height")||r.scrollHeight||500,a=i.getPointByCanvas(0,0),i=i.getPointByCanvas(n,r),(n=this.get("viewport"))||this.initViewport(),r=(i.x-a.x)*e,i=(i.y-a.y)*e,s=(o=a.x*e+o)+r,l=(a=a.y*e+l)+i,o<0&&(r+=o,o=0),s>t[0]&&(r-=s-t[0]),a<0&&(i+=a,a=0),l>t[1]&&(i-=l-t[1]),this.set("ratio",e),s="".concat(o,"px"),l="".concat(a,"px"),(0,_.modifyCSS)(n,{left:s,top:l,width:"".concat(r,"px"),height:"".concat(i,"px")}))},e.prototype.updateGraphShapes=function(){var t,e=this._cfgs.graph,n=this.get("canvas"),r=e.get("group");r.destroyed||(n.clear(),this.get("hideEdge")?(t=n.addGroup(),r.get("children").forEach(function(e){e.get("id").includes("-edge")||t.add(e.clone())})):((t=r.clone()).resetMatrix(),n.add(t)),"svg"===e.get("renderer")&&this.updateVisible(t))},e.prototype.updateVisible=function(e){var t,n=this;e.isGroup()||e.get("visible")?(t=e.get("children"))&&t.length&&t.forEach(function(e){e.get("visible")||e.hide(),n.updateVisible(e)}):e.hide()},e.prototype.updateKeyShapes=function(){var t,n=this,e=this._cfgs.graph,r=this.get("canvas"),i=r.get("children")[0]||r.addGroup(),o=(this.get("hideEdge")||(0,b.each)(e.getEdges(),function(e){n.updateOneEdgeKeyShape(e,i)}),(0,b.each)(e.getNodes(),function(e){n.updateOneNodeKeyShape(e,i)}),e.getCombos());o&&o.length&&(t=i.find(function(e){return"comboGroup"===e.get("name")})||i.addGroup({name:"comboGroup"}),setTimeout(function(){n.destroyed||((0,b.each)(o,function(e){n.updateOneComboKeyShape(e,t)}),null!=t&&t.sort(),null!=t&&t.toBack(),n.updateCanvas())},250)),this.clearDestroyedShapes()},e.prototype.updateOneComboKeyShape=function(e,t){var n,r,i,o,a,s;this.destroyed||(r=(n=this.get("itemMap")||{})[e.get("id")],i=e.getBBox(),s=(o=e.get("keyShape").clone()).attr(),a={x:i.centerX,y:i.centerY},r?a=Object.assign(s,a):t.add(r=o),"rect"!==(s=r.get("type"))&&"image"!==s||(a.x=i.minX,a.y=i.minY),r.attr(a),e.isVisible()?r.show():r.hide(),r.exist=!0,t=e.getModel().depth,isNaN(t)||r.set("zIndex",t),n[e.get("id")]=r,this.set("itemMap",n))},e.prototype.updateOneNodeKeyShape=function(e,t){var n=this.get("itemMap")||{},r=n[e.get("id")],i=e.getBBox(),o=e.get("keyShape").clone(),a=o.attr(),s={x:i.centerX,y:i.centerY},a=(r?(s=Object.assign(a,s),r.toFront()):t.add(r=o),r.get("type")),t=("rect"!==a&&"image"!==a||(s.x=i.minX,s.y=i.minY),r.attr(s),e.isVisible()?r.show():r.hide(),r.exist=!0,e.getModel().depth);isNaN(t)||r.set("zIndex",t),n[e.get("id")]=r,this.set("itemMap",n)},e.prototype.updateDelegateShapes=function(){var t,n=this,e=this._cfgs.graph,r=this.get("canvas"),i=r.get("children")[0]||r.addGroup(),o=(this.get("hideEdge")||(0,b.each)(e.getEdges(),function(e){n.updateOneEdgeKeyShape(e,i)}),(0,b.each)(e.getNodes(),function(e){n.updateOneNodeDelegateShape(e,i)}),e.getCombos());o&&o.length&&(t=i.find(function(e){return"comboGroup"===e.get("name")})||i.addGroup({name:"comboGroup"}),setTimeout(function(){n.destroyed||((0,b.each)(o,function(e){n.updateOneComboKeyShape(e,t)}),null!=t&&t.sort(),null!=t&&t.toBack(),n.updateCanvas())},250)),this.clearDestroyedShapes()},e.prototype.clearDestroyedShapes=function(){var e=this.get("itemMap")||{},t=Object.keys(e);if(t&&0!==t.length)for(var n=t.length-1;0<=n;n--){var r=e[t[n]],i=r.exist;r.exist=!1,i||(r.remove(),delete e[t[n]])}},e.prototype.updateOneEdgeKeyShape=function(e,t){var n,r=this.get("itemMap")||{},i=r[e.get("id")];i?(n=e.get("keyShape").attr("path"),i.attr("path",n)):(i=e.get("keyShape").clone(),t.add(i)),e.isVisible()?i.show():i.hide(),i.exist=!0,r[e.get("id")]=i,this.set("itemMap",r)},e.prototype.updateOneNodeDelegateShape=function(e,t){var n,r=this.get("delegateStyle"),i=this.get("itemMap")||{},o=i[e.get("id")],a=e.getBBox();o?(n={x:a.minX,y:a.minY,width:a.width,height:a.height},o.attr(n),o.toFront()):o=t.addShape("rect",{attrs:l({x:a.minX,y:a.minY,width:a.width,height:a.height},r),name:"minimap-node-shape"}),e.isVisible()?o.show():o.hide(),o.exist=!0,i[e.get("id")]=o,this.set("itemMap",i)},e.prototype.init=function(){this.initContainer(),this.get("graph").on("afterupdateitem",this.handleUpdateCanvas),this.get("graph").on("afteritemstatechange",this.handleUpdateCanvas),this.get("graph").on("afteradditem",this.handleUpdateCanvas),this.get("graph").on("afterremoveitem",this.handleUpdateCanvas),this.get("graph").on("afterrender",this.handleUpdateCanvas),this.get("graph").on("afterlayout",this.handleUpdateCanvas)},e.prototype.initContainer=function(){var e=this.get("graph"),t=this.get("size"),n=this.get("className"),r=this.get("container"),n=(0,_.createDom)("<div class='".concat(n,"' style='width: ").concat(t[0],"px; height: ").concat(t[1],"px; overflow: hidden'></div>"));((r=(0,b.isString)(r)?document.getElementById(r):r)||e.get("container")).appendChild(n),this.set("container",n);r=(0,_.createDom)('<div class="g6-minimap-container" style="position: relative;"></div>');n.appendChild(r),r.addEventListener("dragenter",function(e){e.preventDefault()}),r.addEventListener("dragover",function(e){e.preventDefault()}),n=new("svg"===e.get("renderer")?s:a).Canvas({container:r,width:t[0],height:t[1]}),this.set("canvas",n),this.updateCanvas()},e.prototype.updateCanvas=function(){if(!this.destroyed&&this.get("refresh")){var e=this.get("graph");if(!e.get("destroyed")){this.get("viewportChange")&&(this.set("viewportChange",!1),this.updateViewport());var t=this.get("size"),n=this.get("canvas"),r=this.get("type"),i=this.get("padding");if(!n.destroyed){switch(r){case"default":this.updateGraphShapes();break;case"keyShape":this.updateKeyShapes();break;case"delegate":this.updateDelegateShapes()}var o,a,s,l,u,r=n.get("children")[0];r&&(r.resetMatrix(),n=r.getCanvasBBox(),o=e.get("canvas").getCanvasBBox(),e=e.getZoom()||1,l=o.width/e,o=o.height/e,Number.isFinite(n.width)&&(l=c(n.width,l),o=c(n.height,o)),l+=2*i,o+=2*i,e=Math.min(t[0]/l,t[1]/o),u=[1,0,0,0,1,0,0,0,1],s=a=0,Number.isFinite(n.minX)&&(a=-n.minX),Number.isFinite(n.minY)&&(s=-n.minY),n=(t[0]-(l-2*i)*e)/2,l=(t[1]-(o-2*i)*e)/2,u=f(u,[["t",a,s],["s",e,e],["t",n,l]]),r.setMatrix(u),this.set("ratio",e),this.set("totaldx",n+a*e),this.set("totaldy",l+s*e),this.set("dx",n),this.set("dy",l),this.updateViewport())}}}},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.getViewport=function(){return this.get("viewport")},e.prototype.getContainer=function(){return this.get("container")},e.prototype.destroy=function(){null!=(e=this.get("canvas"))&&e.destroy();var e=this.get("container");null!=e&&e.parentNode&&e.parentNode.removeChild(e)},e}(n.default);t.default=r},24853:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,m=n(31834),r=n(48122),n=(n=n(78146))&&n.__esModule?n:{default:n},a=(o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},r.Util.pointLineDistance),s={stroke:"#FA8C16",lineWidth:1},r=function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return o(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{line:s,itemAlignType:"center",tolerance:5,horizontalLines:{},verticalLines:{},alignLines:[]}},e.prototype.init=function(){},e.prototype.getEvents=function(){return{"node:dragstart":"onDragStart","node:drag":"onDrag","node:dragend":"onDragEnd"}},e.prototype.onDragStart=function(){this.initBoxLine()},e.prototype.onDrag=function(e){var e=e.item,t=(e.get("delegateShape")||e).getBBox(),e=e.getModel(),n=e.x-t.x,e=e.y-t.y;this.show({x:t.minX+n,y:t.minY+e},{width:t.width,height:t.height})},e.prototype.onDragEnd=function(){this.destory()},e.prototype.initBoxLine=function(){var e=this._cfgs,r=e.horizontalLines,i=e.verticalLines,o=e.itemAlignType;this.get("graph").getNodes().forEach(function(e){var t=e.getBBox(),n=e.get("id");!0===o||"horizontal"===o?(r["".concat(n,"tltr")]=[t.minX,t.minY,t.maxX,t.minY,e],r["".concat(n,"lcrc")]=[t.minX,t.centerY,t.maxX,t.centerY,e],r["".concat(n,"blbr")]=[t.minX,t.maxY,t.maxX,t.maxY,e]):"center"===o&&(r["".concat(n,"lcrc")]=[t.minX,t.centerY,t.maxX,t.centerY,e]),!0===o||"vertical"===o?(i["".concat(n,"tlbl")]=[t.minX,t.minY,t.minX,t.maxY,e],i["".concat(n,"tcbc")]=[t.centerX,t.minY,t.centerX,t.maxY,e],i["".concat(n,"trbr")]=[t.maxX,t.minY,t.maxX,t.maxY,e]):"center"===o&&(i["".concat(n,"tcbc")]=[t.centerX,t.minY,t.centerX,t.maxY,e])})},e.prototype.show=function(e,t){var n=(0,m.mix)({},e);return this.itemAlign(e,t,n),e},e.prototype.itemAlign=function(e,t,n){var r=this,i=this._cfgs,o=i.horizontalLines,a=i.verticalLines,i=i.tolerance,s={x:n.x+t.width/2,y:n.y},l={x:n.x+t.width/2,y:n.y+t.height/2},u={x:n.x+t.width/2,y:n.y+t.height},c={x:n.x,y:n.y+t.height/2},f={x:n.x+t.width,y:n.y+t.height/2},h=[],d=[],p=null;if(this.clearAlignLine(),(0,m.each)(o,function(e){e[4].isVisible&&(h.push(r.getLineDisObject(e,s)),h.push(r.getLineDisObject(e,l)),h.push(r.getLineDisObject(e,u)))}),(0,m.each)(a,function(e){e[4].isVisible&&(d.push(r.getLineDisObject(e,c)),d.push(r.getLineDisObject(e,l)),d.push(r.getLineDisObject(e,f)))}),h.sort(function(e,t){return e.dis-t.dis}),d.sort(function(e,t){return e.dis-t.dis}),0!==h.length&&h[0].dis<i){e.y=h[0].line[1]-h[0].point.y+n.y;for(var p={type:"item",horizontals:[h[0]]},y=1;y<3;y++)h[0].dis===h[y].dis&&p.horizontals.push(h[y])}if(0!==d.length&&d[0].dis<i)for(e.x=d[0].line[0]-d[0].point.x+n.x,p?p.verticals=[d[0]]:p={type:"item",verticals:[d[0]]},y=1;y<3;y++)d[0].dis===d[y].dis&&p.verticals.push(d[y]);p&&(p.bbox=t,this.addAlignLine(p))},e.prototype.addAlignLine=function(e){var i=e.bbox,t=e.type,n=e.horizontals,e=e.verticals,r=this._cfgs,o=r.line,a=r.alignLines,s=this.get("graph").get("group");"item"===t&&(n&&(0,m.each)(n,function(e){var t=e.line,e=e.point,n=(t[0]+t[2])/2,n=e.x<n?(r=e.x-i.width/2,Math.max(t[0],t[2])):(r=e.x+i.width/2,Math.min(t[0],t[2])),e=(0,m.mix)({x1:r,y1:t[1],x2:n,y2:t[1]},o),r=s.addShape("line",{attrs:e,capture:!1});a.push(r)}),e)&&(0,m.each)(e,function(e){var t=e.line,e=e.point,n=(t[1]+t[3])/2,n=e.y<n?(r=e.y-i.height/2,Math.max(t[1],t[3])):(r=e.y+i.height/2,Math.min(t[1],t[3])),e=(0,m.mix)({x1:t[0],y1:r,x2:t[0],y2:n},o),r=s.addShape("line",{attrs:e,capture:!1});a.push(r)})},e.prototype.getLineDisObject=function(e,t){return{line:e,point:t,dis:a(e,t)}},e.prototype.getContainer=function(){return this.get("container")},e.prototype.clearAlignLine=function(){var e=this._cfgs.alignLines;(0,m.each)(e,function(e){e.remove()}),e.length=0},e.prototype.destory=function(){var e=this._cfgs,t=e.horizontalLines,n=e.verticalLines;this.get("graph").getNodes().forEach(function(e){e=e.get("id");delete t["".concat(e,"tltr")],delete t["".concat(e,"lcrc")],delete t["".concat(e,"blbr")],delete n["".concat(e,"tlbl")],delete n["".concat(e,"tcbc")],delete n["".concat(e,"trbr")]}),this.clearAlignLine()},e}(n.default);t.default=r},41520:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VALUE_CHANGE=t.TIMELINE_START=t.TIMELINE_END=t.TIMEBAR_CONFIG_CHANGE=t.PRE_STEP_BTN=t.PLAY_PAUSE_BTN=t.NEXT_STEP_BTN=void 0,t.TIMELINE_START="timebarstartplay",t.TIMELINE_END="timebarendplay",t.VALUE_CHANGE="valuechange",t.TIMEBAR_CONFIG_CHANGE="timebarConfigChanged",t.PLAY_PAUSE_BTN="playPauseBtn",t.NEXT_STEP_BTN="nextStepBtn",t.PRE_STEP_BTN="preStepBtn"},86627:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TIME_TYPE=void 0;var r=n(31834),i=n(43708),h=(a=n(51515))&&a.__esModule?a:{default:a},d=n(41520),m=function(){return(m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},g=i.ext.transform,p={fill:"#aaa",fillOpacity:.35,stroke:"#aaa"},y={fill:"#fff"},v={fill:"green"},b={pointer:{fill:"#aaa",lineWidth:0},scroller:{stroke:"#aaa",fill:"#aaa",lineWidth:1,lineAppendWidth:5,cursor:"pointer"},text:{fill:"#aaa",textBaseline:"top"}},l={check:{stroke:"green",lineWidth:3},box:{fill:"#fff",stroke:"#aaa",lineWidth:2,radius:3,width:12,height:12},text:{fill:"#aaa",fontSize:12,textBaseline:"top"}},o={speed:1,loop:!1,fill:"#fff",stroke:"#fff",hideTimeTypeController:!1,preBtnStyle:{fill:"#aaa",stroke:"#aaa"},nextBtnStyle:{fill:"#aaa",stroke:"#aaa"},playBtnStyle:{fill:"#aaa",stroke:"#aaa",fillOpacity:.05},speedControllerStyle:b,timeTypeControllerStyle:l},u={SINGLE:"single",RANGE:"range"},a=(t.TIME_TYPE=u,s.prototype.init=function(){this.renderPlayButton()},s.prototype.getNextMarkerPath=function(e,t,n){return[["M",e,t-n],["L",e+n,t],["L",e,t+n],["Z",e,t-n],["M",e,t],["L",e-n,t-n],["L",e-n,t+n],["Z"]]},s.prototype.getPreMarkerPath=function(e,t,n){return[["M",e,t-n],["L",e-n,t],["L",e,t+n],["L",e,t-n],["M",e,t],["L",e+n,t-n],["L",e+n,t+n],["Z"]]},s.prototype.renderPlayButton=function(){var e=this.controllerCfg,t=e.width,n=e.height,r=e.x,i=e.y,o=e.hideTimeTypeController,a=e.fill,a=void 0===a?"#aaa":a,s=e.stroke,s=void 0===s?"green":s,l=e.containerStyle,l=void 0===l?{}:l,u=m(m({},p),e.playBtnStyle||{}),c=m(m({},y),e.preBtnStyle||{}),e=m(m({},v),e.nextBtnStyle||{}),f=n/2-5,i=i+10,r=this.controllerGroup.addShape("rect",{attrs:m({x:r,y:i,width:t,height:n,stroke:s,fill:a},l),name:"container-rect"}),n=(this.playButton?this.playButton.update({x:t/2,y:i,r:f}):this.playButton=new h.default({group:this.controllerGroup,x:t/2,y:i+f+5,r:f,isPlay:this.isPlay,style:u}),c.offsetX||0),s=c.offsetY||0,a=(c.scale||1)*f,l=(this.controllerGroup.addShape("path",{attrs:m({path:this.getPreMarkerPath(t/2-5*f+n,i+f+5+s,.5*a)},c),name:d.PRE_STEP_BTN}),e.offsetX||0),u=e.offsetY||0,n=(e.scale||1)*f,s=(this.controllerGroup.addShape("path",{attrs:m({path:this.getNextMarkerPath(t/2+5*f+l,i+f+5+u,.5*n)},e),name:d.NEXT_STEP_BTN}),r.toBack(),this.renderSpeedBtn(),o||this.renderToggleTime(),this.bindEvent(),this.controllerCfg.scale),a=void 0===s?1:s,c=this.controllerGroup.getCanvasBBox(),t=(c.maxX+c.minX)/2,l=(c.maxY+c.minY)/2,i=g([1,0,0,0,1,0,0,0,1],[["t",-t,-l],["s",a,a],["t",t,l]]);this.controllerGroup.setMatrix(i)},s.prototype.renderSpeedBtn=function(){var e=this.controllerCfg,t=e.y,n=e.width,r=e.hideTimeTypeController,e=m(m({},b),this.controllerCfg.speedControllerStyle||{}),i=e.scroller,o=void 0===i?{}:i,i=e.text,i=void 0===i?{}:i,a=e.pointer,a=void 0===a?{}:a,s=e.scale,s=void 0===s?1:s,l=e.offsetX,l=void 0===l?0:l,e=e.offsetY,e=void 0===e?0:e,u=this.controllerGroup.addGroup({name:"speed-group"}),c=(this.speedGroup=u,[]),f=5;this.speedAxisY=[19,22,26,32,39];for(var h=0;h<5;h++){var d=t+this.speedAxisY[h],p=n-(r?50:110);u.addShape("line",{attrs:m({x1:p,x2:15+p,y1:d,y2:d},o),speed:f,name:"speed-rect"}),this.speedAxisY[h]=d,c.push(f),--f}this.speedText=u.addShape("text",{attrs:m({x:n-(r?50:110)+20,y:this.speedAxisY[0]+4,text:"1.0X",fontFamily:this.fontFamily||"Arial, sans-serif"},i),name:"speed-text"}),this.speedPoint=u.addShape("path",{attrs:m({path:this.getPointerPath(n-(r?50:110),0),matrix:[1,0,0,0,1,0,0,this.speedAxisY[4],1]},a),name:"speed-pointer"});var i=this.speedGroup.getCanvasBBox(),a=(i.maxX+i.minX)/2,i=(i.maxY+i.minY)/2,y=this.speedGroup.getMatrix()||[1,0,0,0,1,0,0,0,1],y=g(y,[["t",-a,-i],["s",s,s],["t",a+l*s,i+e*s]]);this.speedGroup.setMatrix(y)},s.prototype.getPointerPath=function(e,t){return[["M",e,t],["L",e-10,t-4],["L",e-10,t+4],["Z"]]},s.prototype.renderToggleTime=function(){var e=this.controllerCfg,t=e.width,e=e.defaultTimeType,n=m(m({},l),this.controllerCfg.timeTypeControllerStyle||{}),r=n.scale,r=void 0===r?1:r,i=n.offsetX,i=void 0===i?0:i,o=n.offsetY,o=void 0===o?0:o,a=n.box,a=void 0===a?{}:a,s=n.check,s=void 0===s?{}:s,n=n.text,n=void 0===n?{}:n,e=(this.toggleGroup=this.controllerGroup.addGroup({name:"toggle-group"}),e===u.SINGLE),e=(this.toggleGroup.addShape("rect",{attrs:m({x:t-50,y:this.speedAxisY[0]+3.5},a),isChecked:e,name:"toggle-model"}),this.checkedIcon=this.toggleGroup.addShape("path",{attrs:m({path:[["M",t-50+3,this.speedAxisY[1]+6],["L",t-50+7,this.speedAxisY[1]+10],["L",t-50+12,this.speedAxisY[1]+4]]},s),capture:!1,name:"check-icon"}),e||this.checkedIcon.hide(),this.checkedText=this.toggleGroup.addShape("text",{attrs:m({text:e?(null==(a=this.controllerCfg)?void 0:a.timeRangeControllerText)||"时间范围":(null==(s=this.controllerCfg)?void 0:s.timePointControllerText)||"单一时间",x:t-50+15,y:this.speedAxisY[0]+4,fontFamily:"undefined"!=typeof window&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif"},n),name:"checked-text"}),this.toggleGroup.getCanvasBBox()),a=(e.maxX+e.minX)/2,s=(e.maxY+e.minY)/2,t=this.toggleGroup.getMatrix()||[1,0,0,0,1,0,0,0,1],t=g(t,[["t",-a,-s],["s",r,r],["t",a+i*r,s+o*r]]);this.toggleGroup.setMatrix(t)},s.prototype.bindEvent=function(){var o=this;this.speedGroup.on("speed-rect:click",function(e){var e=e.target.attr("y1"),t=o.speedPoint.attr("matrix"),n=o.speedAxisY.indexOf(t[7]||0),e=o.speedAxisY.indexOf(e),n=o.speedAxisY[e]-o.speedAxisY[n],t=g(t,[["t",0,n]]);o.speedPoint.setMatrix(t),o.currentSpeed=o.speedAxisY.length-e,o.speedText.attr("text","".concat(o.currentSpeed,".0X")),o.group.emit(d.TIMEBAR_CONFIG_CHANGE,{speed:o.currentSpeed,type:o.currentType})}),this.speedGroup.on("mousewheel",function(e){e.preventDefault();var n,r=(t=o.speedPoint.attr("matrix")||[1,0,0,0,1,0,0,0,1])[7],i=o.speedAxisY.indexOf(r),e=(-1===i&&(n=1/0,o.speedAxisY.forEach(function(e,t){e=Math.abs(e-r);e<n&&(n=e,i=t)})),i=0<e.originalEvent.deltaY?Math.max(0,i-1):Math.min(o.speedAxisY.length-1,i+1),o.speedAxisY[i]-r),t=g(t,[["t",0,e]]);o.speedPoint.setMatrix(t),o.currentSpeed=o.speedAxisY.length-i,o.speedText.attr("text","".concat(o.currentSpeed,".0X")),o.group.emit(d.TIMEBAR_CONFIG_CHANGE,{speed:o.currentSpeed,type:o.currentType})}),this.toggleGroup&&this.toggleGroup.on("toggle-model:click",function(e){var t,n=e.target.get("isChecked");n?(o.checkedIcon.hide(),o.checkedText.attr("text",(null==(t=o.controllerCfg)?void 0:t.timePointControllerText)||"单一时间"),o.currentType=u.RANGE):(o.checkedIcon.show(),o.checkedText.attr("text",(null==(t=o.controllerCfg)?void 0:t.timeRangeControllerText)||"时间范围"),o.currentType=u.SINGLE),e.target.set("isChecked",!n),o.group.emit(d.TIMEBAR_CONFIG_CHANGE,{type:o.currentType,speed:o.currentSpeed})})},s.prototype.destroy=function(){this.speedGroup.off("speed-rect:click"),this.toggleGroup&&(this.toggleGroup.off("toggle-model:click"),this.toggleGroup.destroy()),this.speedGroup.destroy()},s);function s(e){this.controllerCfg=(0,r.deepMix)({},o,e),this.group=e.group,this.controllerGroup=this.group.addGroup({name:"controller-group"}),this.speedAxisY=[],this.currentSpeed=this.controllerCfg.speed,this.currentType=this.controllerCfg.defaultTimeType||u.RANGE,this.fontFamily=e.fontFamily||"Arial, sans-serif",this.init()}t.default=a},82010:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(31834),l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},u={fill:"#1890ff",stroke:"#1890ff",type:"trend",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#0050b3"},c={fill:"#fff",stroke:"#1890ff",radius:2,opacity:1,cursor:"ew-resize"};function i(e){var t=e.group,n=e.name,r=e.type,i=e.x,i=void 0===i?0:i,o=e.y,o=void 0===o?0:o,a=e.width,a=void 0===a?2:a,s=e.height,s=void 0===s?24:s,e=e.style,e=void 0===e?{}:e;this.group=t,this.name=n,this.handleType=r,this.x=i,this.y=o,this.width=a,this.height=s,"trend"===r?this.style=l(l({},u),e):"simple"===r&&(this.style=l(l({},c),e)),this.renderHandle()}i.prototype.setX=function(e){this.setXY(e,void 0)},i.prototype.setY=function(e){this.setXY(void 0,e)},i.prototype.setXY=function(e,t){(0,r.isNumber)(e)&&(this.x=e),(0,r.isNumber)(t)&&(this.y=t),this.updateXY()},i.prototype.renderHandle=function(){var e=this.width,t=this.height,n=this.style,r=this.name,i=n.fill,o=n.stroke,a=n.radius,s=n.opacity,n=n.cursor;this.handleGroup=this.group.addGroup(),"trend"===this.handleType?(this.verticalLine=this.handleGroup.addShape("rect",{attrs:{x:0,y:0,width:e,height:t,fill:i,stroke:o,radius:a,opacity:s,cursor:n},name:"".concat(r,"-handler")}),this.topCircle=this.handleGroup.addShape("circle",{attrs:{x:e/2,y:0,r:2*e,fill:i,stroke:o,radius:a,opacity:s,cursor:n,lineAppendWidth:12},name:"".concat(r,"-handler")}),this.bottomCircle=this.handleGroup.addShape("circle",{attrs:{x:e/2,y:t,r:2*e,fill:i,stroke:o,radius:a,opacity:s,cursor:n},name:"".concat(r,"-handler")})):"simple"===this.handleType&&(this.topCircle=this.handleGroup.addShape("circle",{attrs:{x:e/2,y:t/2,r:2*e,fill:i,stroke:o,radius:a,opacity:s,cursor:n,lineWidth:2},name:"".concat(r,"-handler")})),this.updateXY(),"trend"===this.handleType?this.bindTrendEvents():"simple"===this.handleType&&this.bindSimpleEvents()},i.prototype.bindSimpleEvents=function(){var t=this,e=this.name;this.handleGroup.on("".concat(e,"-handler:mouseenter"),function(){var e=t.style.highLightFill;t.topCircle.attr("fill",e)}),this.handleGroup.on("".concat(e,"-handler:mouseleave"),function(){var e=t.style.fill;t.topCircle.attr("fill",e)})},i.prototype.bindTrendEvents=function(){var t=this,e=this.name;this.handleGroup.on("".concat(e,"-handler:mouseenter"),function(){var e=t.style.highLightFill;t.verticalLine.attr("fill",e),t.topCircle.attr("fill",e),t.bottomCircle.attr("fill",e)}),this.handleGroup.on("".concat(e,"-handler:mouseleave"),function(){var e=t.style.fill;t.verticalLine.attr("fill",e),t.topCircle.attr("fill",e),t.bottomCircle.attr("fill",e)})},i.prototype.show=function(){this.handleGroup.show()},i.prototype.hide=function(){this.handleGroup.hide()},i.prototype.updateXY=function(){this.handleGroup.setMatrix([1,0,0,0,1,0,this.x,this.y,1])},t.default=i},74399:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(39269),l=n(15873),u=n(32227),c=n(31834),r=i(n(78146)),o=n(41520),w=i(n(90832)),A=i(n(1187));function i(e){return e&&e.__esModule?e:{default:e}}a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};var a,S=function(){return(S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},n=function(r){function e(e){var n=r.call(this,e)||this;return n.afterrenderListener=function(e){return n.filterData({})},n.valueChangeListener=(0,c.throttle)(function(e){return n.filterData(e)},200,{trailing:!0,leading:!0}),n.changeData=function(e){var t=n.get("graph");n.cacheGraphData=t.get("data"),n.filterData({})},n}var t=e,n=r;if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}return a(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i),e.prototype.getDefaultCfgs=function(){return{container:null,className:"g6-component-timebar",padding:10,type:"trend",trend:{data:[],isArea:!1,smooth:!0},controllerCfg:{speed:1,loop:!1},slider:{start:.1,end:.9,minText:"min",maxText:"max"},tick:{start:.1,end:.9,data:[]},textStyle:{},filterEdge:!1,filterItemTypes:["node"],containerCSS:{},putInGraphContainer:!0}},e.prototype.initContainer=function(){var e,t=this.get("graph"),n=this._cfgs,r=n.width,i=n.height,n=n.putInGraphContainer,o=this.get("className")||"g6-component-timebar",a=this.get("container");a?e=a=(0,c.isString)(a)?document.getElementById(a):a:(e=(0,s.createDom)("<div class='".concat(o,"'></div>")),(0,s.modifyCSS)(e,{position:"relative"})),n&&this.get("graph").get("container").appendChild(e),this.set("timeBarContainer",e),a=new("SVG"===t.get("renderer")?u:l).Canvas({container:e,width:r,height:i}),this.get("containerCSS")&&(0,s.modifyCSS)(e,this.get("containerCSS")),this.set("canvas",a)},e.prototype.init=function(){this.initContainer();var e=this.get("canvas").addGroup({name:"timebar-group"}),e=(this.set("timeBarGroup",e),this.renderTrend(),this.initEvent(),"undefined"!=typeof window&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif");this.set("fontFamily",e)},e.prototype.play=function(){this.togglePlay(!0)},e.prototype.pause=function(){this.togglePlay(!1)},e.prototype.togglePlay=function(e){var t=this.get("timebar");t&&(t.isPlay=!!e,t.changePlayStatus())},e.prototype.renderTrend=function(){function t(){var e=r.get("timebar");e.draggingHandler=!1,e.isPlay&&(e.isPlay=!1,e.currentHandler=e.maxHandlerShape,e.changePlayStatus()),document.removeEventListener("mouseup",t)}var n,r=this,e=this._cfgs,i=e.width,o=e.x,a=e.y,s=e.padding,l=e.type,u=e.trend,c=e.slider,f=e.controllerCfg,h=e.textStyle,d=e.tick,p=e.backgroundStyle,e=e.foregroundStyle,y=u.data,u=function(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}(u,["data"]),m=i-2*s,g="trend"===l?26:4,v=this.get("graph"),b=this.get("timeBarGroup"),_=this.get("canvas"),x=null;"trend"===l||"simple"===l?(n=this.get("getValue"),x=new A.default(S(S({graph:v,canvas:_,group:b,type:l,x:o+s,y:"trend"===l?a+s:a+s+15,width:m,height:g,padding:s,backgroundStyle:p,foregroundStyle:e,trendCfg:S(S({},u),{data:y.map(function(e){return(null==n?void 0:n(e))||e.value})})},c),{tick:{ticks:y,tickLabelFormatter:d.tickLabelFormatter,tickLabelStyle:d.tickLabelStyle,tickLineStyle:d.tickLineStyle},handlerStyle:S(S({},c.handlerStyle),{height:c.height||g}),controllerCfg:f,textStyle:h}))):"tick"===l&&(x=new w.default(S({graph:v,canvas:_,group:b,x:o+s,y:a+s,width:i,height:42,padding:2,controllerCfg:f},d)));_.on("mousedown",function(e){"maxHandlerShape-handler"!==e.target.get("name")&&"minHandlerShape-handler"!==e.target.get("name")&&e.target!==x.foregroundShape||document.addEventListener("mouseup",t)}),this.set("timebar",x)},e.prototype.filterData=function(e){var r,i,o,t,a,s,l,u,n,c,f,e=e.value,h=(e||(e=[],(d=this._cfgs.type)&&"trend"!==d&&"simple"!==d?"tick"===d&&(e[0]=this._cfgs.tick.start,e[1]=this._cfgs.tick.end):(e[0]=this._cfgs.slider.start,e[1]=this._cfgs.slider.end)),null),d=this._cfgs.type;"trend"===d||"simple"===d?h=this._cfgs.trend.data:"tick"===d&&(h=this._cfgs.tick.data),h&&0!==h.length?(t=this.get("rangeChange"),r=this.get("graph"),o=Math.round(h.length*e[0]),i=(i=Math.round(h.length*e[1]))>=h.length?h.length-1:i,o=o>=h.length?h.length-1:o,n=(e=null==(e=this._cfgs.tick)?void 0:e.tickLabelFormatter)?e(h[o]):h[o].date,e=e?e(h[i]):h[i].date,"tick"!==d&&this.get("timebar").setText(n,e),t?t(r,n,e):((!this.cacheGraphData||this.cacheGraphData.nodes&&0===this.cacheGraphData.nodes.length)&&(this.cacheGraphData=r.get("data")),d=this.get("filterItemTypes"),t=this.get("changeData"),a=this.get("getDate"),s=this.get("shouldIgnore"),l=h[o].date,u=h[i].date,t||void 0===t?(n=this.cacheGraphData.nodes,e=this.cacheGraphData.edges,c={},f={},r.getNodes().forEach(function(e){return c[e.getID()]=!0}),r.getEdges().forEach(function(e){return f[e.getID()]=!0}),d.includes("node")&&(null!=n&&n.forEach(function(e){var t=+((null==a?void 0:a(e))||e.date),t=l<=t&&t<=u||(null==s?void 0:s("node",e,{min:l,max:u})),n=c[e.id];n&&!t?(r.removeItem(e.id),c[e.id]=!1):!n&&t&&(r.addItem("node",e),c[e.id]=!0)}),null!=e)&&e.forEach(function(e){var t=c[e.source]&&c[e.target]||(null==s?void 0:s("edge",e,{min:l,max:u})),n=!!r.findById(e.id);n&&!t?(r.removeItem(e.id),f[e.id]=!1):!n&&t?(r.addItem("edge",e),f[e.id]=!0):n||(f[e.id]=!1)}),(this.get("filterEdge")||d.includes("edge"))&&null!=e&&e.filter(function(e){var t=+((null==a?void 0:a(e))||e.date),t=l<=t&&t<=u||(null==s?void 0:s("edge",e,{min:l,max:u})),n=c[e.source]&&c[e.target],t=t&&n,n=f[e.id];n&&!t?(f[e.id]=!1,r.removeItem(e.id)):!n&&t&&(f[e.id]=!0,r.addItem("edge",e))})):(d.includes("node")&&r.getNodes().forEach(function(e){var t=e.getModel();null!=s&&s("node",t,{min:l,max:u})||((t=+((null==a?void 0:a(t))||t.date))<l||u<t?r.hideItem(e):r.showItem(e))}),(this.get("filterEdge")||d.includes("edge"))&&r.getEdges().forEach(function(e){var t,n=e.getModel();null!=s&&s("edge",n,{min:h[o].date,max:h[i].date})||((n=+((null==a?void 0:a(n))||n.date))<h[o].date||n>h[i].date?r.hideItem(e):(n=e.getSource().isVisible(),t=e.getTarget().isVisible(),n&&t&&r.showItem(e)))})))):console.warn("请配置 TimeBar 组件的数据")},e.prototype.initEvent=function(){var e=this.get("graph");e.on("afterchangedata",this.changeData),e.on("afterrender",this.afterrenderListener),e.on(o.VALUE_CHANGE,this.valueChangeListener)},e.prototype.destroy=function(){var e,t=this.get("graph"),t=(t.off("afterchangedata",this.changeData),t.off("afterrender",this.afterrenderListener),t.off(o.VALUE_CHANGE,this.valueChangeListener),this.get("timebar")),t=(t&&t.destory&&t.destory(),r.prototype.destroy.call(this),this.get("timeBarContainer"));t&&(e=(e=this.get("container"))||this.get("graph").get("container"),(e=(e=(0,c.isString)(e)?document.getElementById(e):e)===t?e.parentElement:e).removeChild(t))},e}(r.default);t.default=n},51385:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.dataToPath=function(e,n,r,t){void 0===t&&(t=!0);var i=new c.Linear({values:e}),o=new c.Category({values:(0,f.map)(e,function(e,t){return t})}),e=(0,f.map)(e,function(e,t){return[o.scale(t)*n,r-i.scale(e)*r]});return(t?u:l)(e)},t.dataToRectPath=function(e,n,r,t){void 0===t&&(t=5);for(var i=new c.Linear({values:e}),o=new c.Category({values:(0,f.map)(e,function(e,t){return t})}),a=(0,f.map)(e,function(e,t){return[o.scale(t)*n,r-i.scale(e)*r]}),s=[],l=0;l<a.length;l++){var u=a[l],u=d({x:u[0],y:u[1],y0:r,size:t});s.push.apply(s,u)}return p(s)},t.getAreaLineY=h,t.getLinePath=l,t.getRectPath=p,t.getRectPoints=d,t.getSmoothLinePath=u,t.linePathToAreaPath=function(e,t,n,r){e=o([],e,!0),r=h(r,n);return e.push(["L",t,r]),e.push(["L",0,r]),e.push(["Z"]),e};var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(73920)),c=n(91994),f=n(31834);function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}var o=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};function l(e){return(0,f.map)(e,function(e,t){return[0===t?"M":"L",e[0],e[1]]})}function u(e){var t,n,r;return e.length<=2?l(e):(t=[],(0,f.each)(e,function(e){(0,f.isEqual)(e,t.slice(t.length-2))||t.push(e[0],e[1])}),n=i.catmullRom2Bezier(t,!1),r=(e=(0,f.head)(e))[0],e=e[1],n.unshift(["M",r,e]),n)}function h(e,t){var e=new c.Linear({values:e}),n=Math.max(0,e.min);return t-e.scale(n)*t}function d(e){var t,n,r=e.x,i=e.y,o=e.y0,e=e.size,o=(0,f.isArray)(i)?(t=i[0],i[1]):(t=o,i),i=(0,f.isArray)(r)?(n=r[0],r[1]):(n=r-e/2,r+e/2),r=[{x:n,y:t},{x:n,y:o}];return r.push({x:i,y:o},{x:i,y:t}),r}function p(e,t){void 0===t&&(t=!0);var n=[],r=e[0];n.push(["M",r.x,r.y]);for(var i=1,o=e.length;i<o;i++)n.push(["L",e[i].x,e[i].y]);return t&&(n.push(["L",r.x,r.y]),n.push(["z"])),n}},90832:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(43708),A=n(31834),a=i(n(30653)),o=i(n(86627)),u=n(41520);function i(e){return e&&e.__esModule?e:{default:e}}var S=function(){return(S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},C=r.ext.transform,v={fill:"#5B8FF9"},b={fill:"#e6e8e9"};function s(e){this.frameCount=0,this.fontFamily="Arial, sans-serif";var t=e.graph,n=e.canvas,r=e.group,i=e.width,o=e.height,a=e.padding,s=e.data,l=e.start,u=e.end,c=e.x,c=void 0===c?0:c,f=e.y,f=void 0===f?0:f,h=e.tickLabelFormatter,d=e.selectedTickStyle,d=void 0===d?v:d,p=e.unselectedTickStyle,p=void 0===p?b:p,y=e.tooltipBackgroundColor,m=e.tooltipFomatter,g=e.tickLabelStyle,e=e.controllerCfg,e=void 0===e?{speed:1}:e;this.graph=t,this.group=r,this.sliceGroup=r.addGroup({name:"slice-group"}),this.canvas=n,this.width=i,this.height=o,this.padding=a,this.data=s,this.start=l,this.end=u,this.tickLabelFormatter=h,this.tickLabelStyle=g||{},this.selectedTickStyle=d,this.unselectedTickStyle=p,this.controllerCfg=e,this.currentSpeed=e.speed||1,this.x=c,this.y=f,this.tooltipBackgroundColor=y,this.tooltipFomatter=m,this.fontFamily="undefined"!=typeof window&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif",this.renderSlices(),this.initEvent()}s.prototype.renderSlices=function(){var s=this,e=this,l=e.width,t=e.height,u=e.padding,n=e.data,r=e.start,i=e.end,c=e.tickLabelFormatter,f=e.selectedTickStyle,h=e.unselectedTickStyle,d=e.tickLabelStyle,p=t-(3*u+4+10)-2*u,y=n.length,m=(l-2*u-2*(y-1))/y,g=(this.tickWidth=m,this.sliceGroup),v=[],b=[],_=Math.round(y*r),x=Math.round(y*i),w=(this.startTickRectId=_,this.endTickRectId=x,d.rotate),e=(delete d.rotate,n.forEach(function(e,t){var n=g.addShape("rect",{attrs:S({x:u+t*(2+m),y:u,width:m,height:p},_<=t&&t<=x?f:h),draggable:!0,name:"tick-rect-".concat(t)}),r=g.addShape("rect",{attrs:{x:u+t*m+2*(2*t-1)/2,y:u,width:0===t||t===y-1?1+m:2+m,height:p,fill:"#fff",opacity:0},draggable:!0,name:"pick-rect-".concat(t)});r.toFront();var i,o=n.getBBox(),a=(o.minX+o.maxX)/2;v.push({rect:n,pickRect:r,value:e.date,x:a,y:o.minY}),c?(i=c(e),(0,A.isString)(i)||(i=i&&e.date)):t%Math.round(y/10)==0&&(i=e.date),i&&(b.push(i),n=o.maxY+2*u,g.addShape("line",{attrs:{stroke:"#BFBFBF",x1:a,y1:n,x2:a,y2:n+4},name:"tick-line"}),(e=(t=g.addShape("text",{attrs:S({fill:"#8c8c8c",stroke:"#fff",lineWidth:1,x:a,y:r=n+4+u,textAlign:"center",text:i,textBaseline:"top",fontSize:10,fontFamily:s.fontFamily||"Arial, sans-serif"},d),capture:!1,name:"tick-label"})).getBBox()).maxX>l?t.attr("textAlign","right"):e.minX<0&&t.attr("textAlign","left"),(0,A.isNumber)(w)&&10!==b.length&&(o=C([1,0,0,0,1,0,0,0,1],[["t",-a,-r],["r",w],["t",a-5,r+2]]),t.attr({textAlign:"left",matrix:o})),1===b.length?t.attr({textAlign:"left"}):10===b.length&&t.attr({textAlign:"right"}))}),this.tickRects=v,this.group);this.currentSpeed=1,this.controllerBtnGroup=new o.default(S({group:e,x:this.x,y:this.y+t+5,width:l,height:40,hideTimeTypeController:!0,speed:this.currentSpeed,fontFamily:this.fontFamily||"Arial, sans-serif"},this.controllerCfg))},s.prototype.initEvent=function(){var l=this,e=this.sliceGroup,e=(e.on("click",function(e){var t,n,r,e=e.target;"rect"===e.get("type")&&e.get("name")&&(e=parseInt(e.get("name").split("-")[2],10),isNaN(e)||(t=l.tickRects,n=l.unselectedTickStyle,t.forEach(function(e){e.rect.attr(n)}),r=l.selectedTickStyle,t[e].rect.attr(r),l.startTickRectId=e,r=(l.endTickRectId=e)/t.length,l.graph.emit(u.VALUE_CHANGE,{value:[r,r]})))}),e.on("dragstart",function(e){var t=l.tickRects,n=l.unselectedTickStyle,e=(t.forEach(function(e){e.rect.attr(n)}),e.target),e=parseInt(e.get("name").split("-")[2],10),r=l.selectedTickStyle,r=(t[e].rect.attr(r),(l.startTickRectId=e)/t.length);l.graph.emit(u.VALUE_CHANGE,{value:[r,r]}),l.dragging=!0}),e.on("dragover",function(e){if(l.dragging&&"rect"===e.target.get("type")){for(var t=parseInt(e.target.get("name").split("-")[2],10),n=l.startTickRectId,r=l.tickRects,i=l.selectedTickStyle,o=l.unselectedTickStyle,a=0;a<r.length;a++)r[a].rect.attr(n<=a&&a<=t?i:o);var e=r.length,s=(l.endTickRectId=t,n/e);l.graph.emit(u.VALUE_CHANGE,{value:[s,t/e]})}}),e.on("drop",function(e){var t,n,r;l.dragging&&(l.dragging=!1,"rect"===e.target.get("type"))&&(t=l.startTickRectId,(e=parseInt(e.target.get("name").split("-")[2],10))<t||(r=l.selectedTickStyle,(n=l.tickRects)[e].rect.attr(r),l.endTickRectId=e,r=n.length,l.graph.emit(u.VALUE_CHANGE,{value:[t/r,e/r]})))}),this.tooltipBackgroundColor),n=this.tooltipFomatter,r=this.canvas,i=new a.default({container:r.get("container"),backgroundColor:e}),o=this.tickRects,e=(o.forEach(function(e){e=e.pickRect;e.on("mouseenter",function(e){var t,e=e.target;"rect"===e.get("type")&&(e=parseInt(e.get("name").split("-")[2],10),t=r.getClientByPoint(o[e].x,o[e].y),i.show({x:o[e].x,y:o[e].y,clientX:t.x,clientY:t.y,text:n?n(o[e].value):o[e].value}))}),e.on("mouseleave",function(e){i.hide()})}),this.group);e.on("".concat(u.PLAY_PAUSE_BTN,":click"),function(){l.isPlay=!l.isPlay,l.changePlayStatus()}),e.on("".concat(u.NEXT_STEP_BTN,":click"),function(){l.updateStartEnd(1)}),e.on("".concat(u.PRE_STEP_BTN,":click"),function(){l.updateStartEnd(-1)}),e.on(u.TIMEBAR_CONFIG_CHANGE,function(e){e.type;e=e.speed;l.currentSpeed=e})},s.prototype.changePlayStatus=function(e){void 0===e&&(e=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit(u.TIMELINE_START,null)):this.playHandler&&("undefined"!=typeof window&&window.cancelAnimationFrame(this.playHandler),e)&&this.graph.emit(u.TIMELINE_END,null)},s.prototype.startPlay=function(){var t=this;return"undefined"!=typeof window?window.requestAnimationFrame(function(){var e=t.currentSpeed;t.frameCount%(60/e)==0&&(t.frameCount=0,t.updateStartEnd(1)),t.frameCount++,t.isPlay&&(t.playHandler=t.startPlay())}):void 0},s.prototype.updateStartEnd=function(e){var t=this.tickRects,n=t.length,r=this.unselectedTickStyle,i=this.selectedTickStyle,o=this.endTickRectId;if(0<e?this.endTickRectId++:(t[this.endTickRectId].rect.attr(r),this.endTickRectId--),o!==this.startTickRectId)this.endTickRectId<this.startTickRectId&&(this.startTickRectId=this.endTickRectId);else{for(var a=this.startTickRectId;a<=this.endTickRectId-1;a++)t[a].rect.attr(r);this.startTickRectId=this.endTickRectId}t[this.endTickRectId]&&(t[this.endTickRectId].rect.attr(i),e=this.startTickRectId/n,o=this.endTickRectId/n,this.graph.emit(u.VALUE_CHANGE,{value:[e,o]}))},s.prototype.destory=function(){var e=this.sliceGroup;e.off("click"),e.off("dragstart"),e.off("dragover"),e.off("drop"),this.tickRects.forEach(function(e){e=e.pickRect;e.off("mouseenter"),e.off("mouseleave")}),this.tickRects.length=0,e.off("".concat(u.PLAY_PAUSE_BTN,":click")),e.off("".concat(u.NEXT_STEP_BTN,":click")),e.off("".concat(u.PRE_STEP_BTN,":click")),e.off(u.TIMEBAR_CONFIG_CHANGE),this.sliceGroup.destroy()},t.default=s},30653:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TEXT_STYLE=t.BACKGROUND_STYLE=t.ARROW_STYLE=void 0;var l=n(31834),u=n(39269),n=(t.BACKGROUND_STYLE={opacity:.5,fill:"#000"},t.ARROW_STYLE={opacity:.5,fill:"#000",r:5},t.TEXT_STYLE={fill:"#fff",fontSize:12},r.prototype.render=function(){var e=this.className,t=(this.x,this.y,this.backgroundColor),n=this.textColor,r=this.text,i=this.padding,o=this.opacity,a=this.fontSize,s=this.container,e=(0,u.createDom)("<div class='".concat(e,"' style=\"position: absolute; width: fit-content; height: fit-content; opacity: ").concat(o,'"></div>')),o=((s=(0,l.isString)(s)?document.getElementById(s):s).appendChild(e),this.parentHeight=s.offsetHeight,this.parentWidth=s.offsetWidth,(0,u.modifyCSS)(e,{visibility:"hidden",top:0,left:0}),(0,u.createDom)("\n <div style='position: absolute; white-space:nowrap; background-color: ".concat(t,"; font-size: ").concat(a,"px; border-radius: 4px; width: fit-content; height: fit-content; color: ").concat(n,"; padding: ").concat(i[0],"px ").concat(i[1],"px ").concat(i[2],"px ").concat(i[3],"px'></div>"))),s=(o.innerHTML=r,e.appendChild(o),this.backgroundDOM=o,(0,u.createDom)("<div style='position: absolute; width: 0px; height: 0px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 10px solid ".concat(t,"'></div>")));e.appendChild(s),this.arrowDOM=s,this.container=e},r.prototype.show=function(e){var t=e.text,n=e.x,e=(e.y,e.clientX,e.clientY,this.backgroundDOM.innerHTML=t,this.backgroundDOM.offsetWidth),t=this.backgroundDOM.offsetHeight,r=this.arrowDOM.offsetWidth,i=this.arrowDOM.offsetHeight,i=((0,u.modifyCSS)(this.container,{top:"".concat(-t-i,"px"),left:"".concat(n,"px"),visibility:"visible"}),(0,u.modifyCSS)(this.backgroundDOM,{marginLeft:"".concat(-e/2,"px")}),(0,u.modifyCSS)(this.arrowDOM,{marginLeft:"".concat(-r/2,"px"),top:"".concat(t,"px")}),n-e/2),r=n+e/2;i<0?(0,u.modifyCSS)(this.backgroundDOM,{marginLeft:"".concat(-e/2-i,"px")}):r>this.parentWidth&&(0,u.modifyCSS)(this.backgroundDOM,{marginLeft:"".concat(-e/2-r+this.parentWidth+12,"px")})},r.prototype.hide=function(){(0,u.modifyCSS)(this.container,{top:0,left:0,visibility:"hidden"})},r);function r(e){var t=e.x,t=void 0===t?0:t,n=e.y,n=void 0===n?0:n,r=e.container,i=e.text,o=e.padding,o=void 0===o?[4,4,4,4]:o,a=e.className,a=void 0===a?"g6-component-timebar-tooltip":a,s=e.backgroundColor,s=void 0===s?"#000":s,l=e.textColor,l=void 0===l?"#fff":l,u=e.opacity,u=void 0===u?.8:u,e=e.fontSize,e=void 0===e?12:e;this.container=r,this.className=a,this.backgroundColor=s,this.textColor=l,this.x=t,this.y=n,this.text=i,this.padding=o,this.opacity=u,this.fontSize=e,this.render()}t.default=n},51515:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(31834),a=n(41520),s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e){this.config=(0,r.deepMix)({},e),this.init()}i.prototype.update=function(e){this.config=(0,r.deepMix)({},this.config,e),this.updateElement(),this.renderMarker()},i.prototype.init=function(){this.initElement(),this.renderMarker()},i.prototype.initElement=function(){var e=this.config,t=e.group,e=e.style,n=e.scale,n=void 0===n?1:n,r=e.offsetX,i=e.offsetY,r=this.config.x+(void 0===r?0:r),i=this.config.y+(void 0===i?0:i),o=t.addGroup({name:a.PLAY_PAUSE_BTN}),t=(this.startMarkerGroup=o.addGroup({name:a.PLAY_PAUSE_BTN}),this.circle=t.addShape("circle",{attrs:s({x:r,y:i,r:this.config.r*n},e),name:a.PLAY_PAUSE_BTN}),this.startMarker=this.startMarkerGroup.addShape("path",{attrs:{path:this.getStartMarkerPath(r,i,n),fill:e.stroke||"#aaa"},name:"start-marker"}),this.pauseMarkerGroup=o.addGroup({name:a.PLAY_PAUSE_BTN}),.25*this.config.r*n),o=.5*this.config.r*Math.sqrt(3)*n;this.pauseLeftMarker=this.pauseMarkerGroup.addShape("rect",{attrs:{x:r-.375*this.config.r*n,y:i-o/2,width:t,height:o,fill:e.stroke||"#aaa",lineWidth:0}}),this.pauseRightMarker=this.pauseMarkerGroup.addShape("rect",{attrs:{x:r+1/8*this.config.r*n,y:i-o/2,width:t,height:o,fill:e.stroke||"#aaa",lineWidth:0}})},i.prototype.updateElement=function(){var e=this.config.style,t=e.scale,t=void 0===t?1:t,n=e.offsetX,e=e.offsetY,n=this.config.x+(void 0===n?0:n),e=this.config.y+(void 0===e?0:e),r=(this.circle.attr("x",n),this.circle.attr("y",e),this.circle.attr("r",this.config.r*t),this.startMarker.attr("path",this.getStartMarkerPath(n,e,t)),.25*this.config.r*t),i=.5*this.config.r*Math.sqrt(3)*t;this.pauseLeftMarker.attr("x",n-.375*this.config.r*t),this.pauseLeftMarker.attr("y",e-i/2),this.pauseLeftMarker.attr("width",r),this.pauseLeftMarker.attr("height",i),this.pauseRightMarker.attr("x",n+1/8*this.config.r*t),this.pauseRightMarker.attr("y",e-i/2),this.pauseRightMarker.attr("width",r),this.pauseRightMarker.attr("height",i)},i.prototype.renderMarker=function(){this.config.isPlay?(this.startMarkerGroup.hide(),this.pauseMarkerGroup.show()):(this.startMarkerGroup.show(),this.pauseMarkerGroup.hide())},i.prototype.getStartMarkerPath=function(e,t,n){n=.5*this.config.r*Math.sqrt(3)*n;return[["M",e-n/Math.sqrt(3)/2,t-n/2],["L",e+n/Math.sqrt(3),t],["L",e-n/Math.sqrt(3)/2,t+n/2]]},t.default=i},83421:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LINE_STYLE=t.AREA_STYLE=void 0;var c=n(51385),f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},h={stroke:"#C5C5C5",strokeOpacity:.85},d=(t.LINE_STYLE=h,{fill:"#CACED4",opacity:.85}),n=(t.AREA_STYLE=d,r.prototype.renderLine=function(){var e=this,t=e.x,n=e.y,r=e.width,i=e.height,o=(e.barWidth,e.data),a=e.smooth,s=e.isArea,l=e.lineStyle,e=e.areaStyle,u=this.group.addGroup({name:"trend-group"});o&&(a=(0,c.dataToPath)(o,r,i,a),u.addShape("path",{attrs:f({path:a},l),name:"trend-line"}),s)&&(l=(0,c.linePathToAreaPath)(a,r,i,o),u.addShape("path",{attrs:f({path:l},e),name:"trend-area"})),this.intervalConfig&&u.addShape("path",{attrs:f({path:(0,c.dataToRectPath)(this.intervalConfig.data,r,i,this.intervalConfig.style.barWidth)},this.intervalConfig.style),name:"trend-interval"}),u.move(t,n)},r.prototype.destory=function(){this.group.destroy()},r);function r(e){var t=e.x,t=void 0===t?0:t,n=e.y,n=void 0===n?0:n,r=e.width,r=void 0===r?200:r,i=e.height,i=void 0===i?26:i,o=e.smooth,o=void 0===o||o,a=e.isArea,a=void 0!==a&&a,s=e.data,s=void 0===s?[]:s,l=e.lineStyle,u=e.areaStyle,c=e.group,e=e.interval,e=void 0===e?null:e;this.group=c,this.x=t,this.y=n,this.width=r,this.height=i,this.data=s,this.smooth=o,this.isArea=a,this.lineStyle=Object.assign({},h,l),this.areaStyle=Object.assign({},d,u),this.intervalConfig=e,this.renderLine()}t.default=n},1187:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TICK_LINE_STYLE=t.TICK_LABEL_STYLE=t.TEXT_STYLE=t.HANDLER_STYLE=t.FOREGROUND_STYLE=t.DEFAULT_HANDLER_WIDTH=t.BACKGROUND_STYLE=void 0;var x=n(31834),r=n(43708),h=i(n(83421)),d=i(n(82010)),w=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=l(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(86627)),s=n(41520);function l(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(l=function(e){return e?n:t})(e))}function i(e){return e&&e.__esModule?e:{default:e}}var A=function(){return(A=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},p=r.ext.transform,S={fill:"#416180",opacity:.05},C=(t.BACKGROUND_STYLE=S,{fill:"#416180",opacity:.15,radius:5}),O={fill:"#5B8FF9",opacity:.3,cursor:"grab"},E=(t.FOREGROUND_STYLE=O,{width:t.DEFAULT_HANDLER_WIDTH=2,height:24}),M=(t.HANDLER_STYLE=E,{textBaseline:"middle",fill:"#000",opacity:.45}),P=(t.TEXT_STYLE=M,{textAlign:"center",textBaseline:"top",fill:"#607889",opacity:.35}),k=(t.TICK_LABEL_STYLE=P,{lineWidth:1,stroke:"#ccc"}),n=(t.TICK_LINE_STYLE=k,o.prototype.update=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=e.minText,a=e.maxText,s=e.start,e=e.end;this.start=Math.min(1,Math.max(s,0)),this.end=Math.min(1,Math.max(e,0)),(0,x.assign)(this,{x:t,y:n,width:r,height:i,minText:o,maxText:a}),this.updateUI()},o.prototype.setText=function(e,t){this.minTextShape.attr("text",e),this.maxTextShape.attr("text",t)},o.prototype.renderSlider=function(){var i=this,e=this.width,o=this.height,t=this.timeBarType,n=("trend"===t&&(0,x.size)((0,x.get)(this.trendCfg,"data"))&&(n=new h.default(A(A({x:this.x,y:this.y,width:e,height:o},this.trendCfg),{group:this.group})),this.trendComponent=n),this.group.addGroup({name:"slider-group"})),r=(n.addShape("rect",{attrs:A({x:0,y:0,width:e,height:o},this.backgroundStyle),name:"background"}),this.group.addGroup()),r=("trend"===t?(this.minTextShape=r.addShape("text",{attrs:A({x:0,y:o/2+this.y,textAlign:"right",text:this.minText,silent:!1,fontFamily:this.fontFamily||"Arial, sans-serif",stroke:"#fff",lineWidth:5},this.textStyle),capture:!1,name:"min-text-shape"}),this.maxTextShape=r.addShape("text",{attrs:A({y:o/2+this.y,textAlign:"left",text:this.maxText,silent:!1,fontFamily:this.fontFamily||"Arial, sans-serif",stroke:"#fff",lineWidth:5},this.textStyle),capture:!1,name:"max-text-shape"})):(this.minTextShape=r.addShape("text",{attrs:A({x:0,y:this.y-10,textAlign:"center",text:this.minText,silent:!1,fontFamily:this.fontFamily||"Arial, sans-serif",stroke:"#fff",lineWidth:5},this.textStyle),capture:!1,name:"min-text-shape"}),this.maxTextShape=r.addShape("text",{attrs:A({y:this.y-10,textAlign:"center",text:this.maxText,silent:!1,fontFamily:this.fontFamily||"Arial, sans-serif",stroke:"#fff",lineWidth:5},this.textStyle),capture:!1,name:"max-text-shape"})),this.foregroundShape=this.group.addGroup().addShape("rect",{attrs:A({x:0,y:this.y,height:o},this.foregroundStyle),name:"foreground-shape"}),this.foregroundShape.on("mousedown",function(e){e.target.attr("cursor","grabbing")}),this.foregroundShape.on("mouseup",function(e){e.target.attr("cursor",i.foregroundStyle.cursor||"grab")}),(0,x.get)(this.handlerStyle,"width",2)),a=(0,x.get)(this.handlerStyle,"height",24),s=this.group.addGroup({name:"minHandlerShape"}),s=(this.minHandlerShape=new d.default({name:"minHandlerShape",group:s,type:t,x:this.x,y:this.y,width:r,height:a,style:this.handlerStyle}),this.group.addGroup({name:"maxHandlerShape"})),l=(this.maxHandlerShape=new d.default({name:"maxHandlerShape",group:s,type:t,x:this.x,y:this.y,width:r,height:a,style:this.handlerStyle}),this.ticks),u=e/(l.length-1),c=(this.tickPosList=[],this.textList&&this.textList.length&&this.textList.forEach(function(e){e.destroy()}),-1/0),f=this.tickLabelStyle.rotate;delete this.tickLabelStyle.rotate,this.textList=l.map(function(e,t){i.tickPosList.push(i.x+t*u),i.tickLabelFormatter?(r=i.tickLabelFormatter(e),(0,x.isString)(r)||(r=r&&e.date)):r=e.date;var e=i.x+t*u,n=i.y+o+5,r=i.group.addShape("text",{attrs:A({x:e,y:n,text:r,fontFamily:i.fontFamily||"Arial, sans-serif"},i.tickLabelStyle),name:"tick-label"}),n=((0,x.isNumber)(f)&&t!==l.length-1&&(e=p([1,0,0,0,1,0,0,0,1],[["t",-e,-n],["r",f],["t",e-5,n+2]]),r.attr({textAlign:"left",matrix:e})),0===t?r.attr({textAlign:"left"}):t!==l.length-1&&r.attr({textAlign:"right"}),i.group.addShape("line",{attrs:A({x1:i.x+t*u,y1:i.y+o+2,x2:i.x+t*u,y2:i.y+o+6},i.tickLineStyle),name:"tick-line"})),e=(n.toBack(),r.getBBox());return e.minX>c?(r.show(),n.show(),c=e.minX+e.width+10):(r.hide(),n.hide()),r}),this.controllerBtnGroup=new w.default(A({group:this.group,x:this.x,y:this.y+o+25,width:e,height:35},this.controllerCfg)),this.updateStartEnd(0),this.updateUI(),n.move(this.x,this.y),this.bindEvents(),this.currentMode===w.TIME_TYPE.SINGLE&&(this.minHandlerShape.hide(),this.foregroundShape.hide(),this.minTextShape.hide())},o.prototype.bindEvents=function(){var n=this,e=this.group.find(function(e){return"minHandlerShape"===e.get("name")}),e=(e&&(e.on("minHandlerShape-handler:mousedown",this.onMouseDown(this.minHandlerShape)),e.on("minHandlerShape-handler:touchstart",this.onMouseDown(this.minHandlerShape))),this.group.find(function(e){return"maxHandlerShape"===e.get("name")}));e&&(e.on("maxHandlerShape-handler:mousedown",this.onMouseDown(this.maxHandlerShape)),e.on("maxHandlerShape-handler:touchstart",this.onMouseDown(this.maxHandlerShape))),this.foregroundShape.on("mousedown",this.onMouseDown(this.foregroundShape)),this.foregroundShape.on("touchstart",this.onMouseDown(this.foregroundShape)),this.group.on("".concat(s.PLAY_PAUSE_BTN,":click"),function(){n.isPlay=!n.isPlay,n.currentHandler=n.maxHandlerShape,n.changePlayStatus()}),this.group.on("".concat(s.NEXT_STEP_BTN,":click"),function(){n.currentHandler=n.maxHandlerShape,n.updateStartEnd(.01),n.updateUI()}),this.group.on("".concat(s.PRE_STEP_BTN,":click"),function(){n.currentHandler=n.maxHandlerShape,n.updateStartEnd(-.01),n.updateUI()}),this.group.on(s.TIMEBAR_CONFIG_CHANGE,function(e){var t=e.type,e=e.speed;n.currentSpeed=e,(n.currentMode=t)===w.TIME_TYPE.SINGLE?(n.minHandlerShape.hide(),n.foregroundShape.hide(),n.minTextShape.hide()):t===w.TIME_TYPE.RANGE&&(n.minHandlerShape.show(),n.foregroundShape.show(),n.minTextShape.show())})},o.prototype.adjustTickIndex=function(e){for(var t=0;t<this.tickPosList.length-1;t++)if(this.tickPosList[t]<=e&&e<=this.tickPosList[t+1])return Math.abs(this.tickPosList[t]-e)<Math.abs(e-this.tickPosList[t+1])?t:t+1;return 0},o.prototype.adjustOffsetRange=function(e){switch(this.currentHandler){case this.minHandlerShape:var t=0-this.start,n=1-this.start;return Math.min(n,Math.max(t,e));case this.maxHandlerShape:return t=0-this.end,n=1-this.end,Math.min(n,Math.max(t,e));case this.foregroundShape:return t=0-this.start,n=1-this.end,Math.min(n,Math.max(t,e));default:return 0}},o.prototype.updateStartEnd=function(e){var t=this.ticks[this.adjustTickIndex(this.start*this.width)],n=this.ticks[this.adjustTickIndex(this.end*this.width)];if(this.currentHandler)switch(this.currentHandler){case this.minHandlerShape:this.maxText=this.maxTextShape.attr("text"),this.start+=e,this.minText=this.tickLabelFormatter?this.tickLabelFormatter(t):t.date;break;case this.maxHandlerShape:this.minText=this.minTextShape.attr("text"),this.end+=e,this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):n.date;break;case this.foregroundShape:this.start+=e,this.end+=e,this.minText=this.tickLabelFormatter?this.tickLabelFormatter(t):t.date,this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):n.date}else this.minText=this.tickLabelFormatter?this.tickLabelFormatter(t):null==t?void 0:t.date,this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):null==n?void 0:n.date},o.prototype.updateUI=function(){var n=this,e=(this.start<0&&(this.start=0),1<this.start&&(this.start=1),1<this.end&&(this.end=1),this.end<0&&(this.end=0),this.x+this.start*this.width),t=this.x+this.end*this.width,r=(this.foregroundShape.attr("x",e),this.foregroundShape.attr("width",t-e),(0,x.get)(this.handlerStyle,"width",2)),i=(this.setText(this.minText,this.maxText),this.dodgeText([e,t])),o=i[0],i=i[1];this.minHandlerShape.setX(e-r/2),(0,x.each)(o,function(e,t){return n.minTextShape.attr(t,e)}),this.maxHandlerShape.setX(t-r/2),(0,x.each)(i,function(e,t){return n.maxTextShape.attr(t,e)}),this.currentMode===w.TIME_TYPE.RANGE?this.graph.emit(s.VALUE_CHANGE,{value:[this.start,this.end].sort()}):this.currentMode===w.TIME_TYPE.SINGLE&&this.graph.emit(s.VALUE_CHANGE,{value:[this.end,this.end]})},o.prototype.dodgeText=function(e){var t=(0,x.get)(this.handlerStyle,"width",2),n=this.minTextShape,r=this.maxTextShape,i=e[0],e=e[1],o=!1,a=(e<i&&(i=(a=[e,i])[0],e=a[1],n=(a=[r,n])[0],r=a[1],o=!0),n.getBBox()),s=r.getBBox(),l=null,u=null;return"trend"===this.timeBarType?(l=i-a.width<this.x+2?{x:i+t/2+2,textAlign:"left"}:{x:i-t/2-2,textAlign:"right"},u=e+s.width>this.x+this.width?{x:e-t/2-2,textAlign:"right"}:{x:e+t/2+2,textAlign:"left"}):"simple"===this.timeBarType&&(l=n.attr("x")>a.width?{x:i,textAlign:"center"}:{x:i,textAlign:"left"},u=r.attr("x")>this.width-s.width?{x:e,textAlign:"right"}:{x:e,textAlign:"center"}),o?[u,l]:[l,u]},o.prototype.startPlay=function(){var r=this;return"undefined"!=typeof window?window.requestAnimationFrame(function(){var e=r.ticks,t=r.width,n=r.currentSpeed,t=t/e.length/(1e3*(10-n)/60),e=r.adjustOffsetRange(t/r.width);r.updateStartEnd(e),r.updateUI(),r.isPlay&&(r.playHandler=r.startPlay())}):void 0},o.prototype.changePlayStatus=function(e){void 0===e&&(e=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit(s.TIMELINE_START,null)):this.playHandler&&("undefined"!=typeof window&&window.cancelAnimationFrame(this.playHandler),e)&&this.graph.emit(s.TIMELINE_END,null)},o.prototype.destory=function(){this.graph.off(s.VALUE_CHANGE,function(){});var e=this.group,t=e.find(function(e){return"minHandlerShape"===e.get("name")}),t=(t&&(t.off("minHandlerShape-handler:mousedown"),t.off("minHandlerShape-handler:touchstart"),t.destroy()),e.find(function(e){return"maxHandlerShape"===e.get("name")}));t&&(t.off("maxHandlerShape-handler:mousedown"),t.off("maxHandlerShape-handler:touchstart"),t.destroy()),this.foregroundShape.off("mousedown"),this.foregroundShape.off("touchstart"),this.foregroundShape.destroy(),e.off("".concat(s.PLAY_PAUSE_BTN,":click")),e.off("".concat(s.NEXT_STEP_BTN,":click")),e.off("".concat(s.PRE_STEP_BTN,":click")),e.off(s.TIMEBAR_CONFIG_CHANGE),e.destroy(),this.trendComponent&&this.trendComponent.destory()},o);function o(e){var n=this,t=(this.prevX=0,this.onMouseDown=function(t){return function(e){n.currentHandler=t;e=e.originalEvent,e.stopPropagation(),e.preventDefault(),n.prevX=(0,x.get)(e,"touches.0.pageX",e.pageX),e=n.canvas.get("container");e.addEventListener("mousemove",n.onMouseMove),e.addEventListener("mouseup",n.onMouseUp),e.addEventListener("mouseleave",n.onMouseUp),e.addEventListener("touchmove",n.onMouseMove),e.addEventListener("touchend",n.onMouseUp),e.addEventListener("touchcancel",n.onMouseUp)}},this.onMouseMove=function(e){e.stopPropagation(),e.preventDefault();var e=(0,x.get)(e,"touches.0.pageX",e.pageX),t=e-n.prevX,t=n.adjustOffsetRange(t/n.width);n.updateStartEnd(t),n.updateUI(),n.prevX=e},this.onMouseUp=function(){n.currentHandler&&(n.currentHandler=void 0);var e=n.canvas.get("container");e&&(e.removeEventListener("mousemove",n.onMouseMove),e.removeEventListener("mouseup",n.onMouseUp),e.removeEventListener("mouseleave",n.onMouseUp),e.removeEventListener("touchmove",n.onMouseMove),e.removeEventListener("touchend",n.onMouseUp),e.removeEventListener("touchcancel",n.onMouseUp))},e.x),t=void 0===t?0:t,r=e.y,r=void 0===r?0:r,i=e.width,i=void 0===i?100:i,o=e.height,a=e.padding,a=void 0===a?10:a,s=e.trendCfg,l=e.controllerCfg,l=void 0===l?{speed:1}:l,u=e.backgroundStyle,u=void 0===u?{}:u,c=e.foregroundStyle,c=void 0===c?{}:c,f=e.handlerStyle,f=void 0===f?{}:f,h=e.textStyle,h=void 0===h?{}:h,d=e.start,d=void 0===d?0:d,p=e.end,p=void 0===p?1:p,y=e.minText,y=void 0===y?"":y,m=e.maxText,m=void 0===m?"":m,g=e.group,v=e.graph,b=e.canvas,_=e.tick,_=void 0===_?{tickLabelStyle:{},tickLineStyle:{},tickLabelFormatter:function(e){return e},ticks:[]}:_,e=e.type;this.graph=v,this.canvas=b,this.group=g,this.timeBarType=e,this.x=t,this.y=r,this.width=i,this.height=o,this.padding=a,this.ticks=_.ticks,this.trendCfg=s,this.controllerCfg=l,this.currentSpeed=l.speed||1,this.tickLabelFormatter=_.tickLabelFormatter,"trend"===e?this.backgroundStyle=A(A({},S),u):"simple"===e&&(this.backgroundStyle=A(A({},C),u)),this.foregroundStyle=A(A({},O),c),this.handlerStyle=A(A({},E),f),this.textStyle=A(A({},M),h),this.tickLabelStyle=A(A({},P),_.tickLabelStyle),this.tickLineStyle=A(A({},k),_.tickLineStyle),this.currentMode=l.defaultTimeType||w.TIME_TYPE.RANGE,this.start=d,this.end=p,this.minText=y,this.maxText=m,this.fontFamily="undefined"!=typeof window&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif",this.renderSlider()}t.default=n},42875:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(39269),a=n(31834),r=i(n(78146)),n=i(n(28813));function i(e){return e&&e.__esModule?e:{default:e}}s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};"undefined"!=typeof document&&(0,n.default)("\n .g6-component-toolbar {\n position: absolute;\n list-style-type: none;\n padding: 6px;\n left: 0px;\n top: 0px;\n background-color: rgba(255, 255, 255, 0.9);\n border: 1px solid #e2e2e2;\n border-radius: 4px;\n font-size: 12px;\n color: #545454;\n margin: 0;\n }\n .g6-component-toolbar li {\n float: left;\n text-align: center;\n width: 35px;\n height: 24px;\n cursor: pointer;\n\t\tlist-style-type:none;\n list-style: none;\n margin-left: 0px;\n }\n .g6-component-toolbar li .icon {\n opacity: 0.7;\n }\n .g6-component-toolbar li .icon:hover {\n opacity: 1;\n }\n");var s,n=function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return s(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{handleClick:void 0,getContent:function(e){return'\n <ul class=\'g6-component-toolbar\'>\n <li code=\'redo\'>\n <svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24">\n <path d="M256 682.666667c0-102.741333 66.730667-213.333333 213.333333-213.333334 107.008 0 190.762667 56.576 230.570667 125.354667L611.968 682.666667H853.333333v-241.365334l-91.562666 91.562667C704.768 448.469333 601.130667 384 469.333333 384c-196.096 0-298.666667 150.229333-298.666666 298.666667h85.333333z" fill="" p-id="2041"></path>\n </svg>\n </li>\n <li code=\'undo\'>\n <svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24">\n <path d="M170.666667 682.666667h241.365333l-87.936-87.978667C363.904 525.909333 447.658667 469.333333 554.666667 469.333333c146.602667 0 213.333333 110.592 213.333333 213.333334h85.333333c0-148.437333-102.570667-298.666667-298.666666-298.666667-131.797333 0-235.392 64.469333-292.48 148.821333L170.666667 441.301333V682.666667z" fill="" p-id="2764"></path>\n </svg>\n </li>\n <li code=\'zoomOut\'>\n <svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24">\n <path d="M658.432 428.736a33.216 33.216 0 0 1-33.152 33.152H525.824v99.456a33.216 33.216 0 0 1-66.304 0V461.888H360.064a33.152 33.152 0 0 1 0-66.304H459.52V296.128a33.152 33.152 0 0 1 66.304 0V395.52H625.28c18.24 0 33.152 14.848 33.152 33.152z m299.776 521.792a43.328 43.328 0 0 1-60.864-6.912l-189.248-220.992a362.368 362.368 0 0 1-215.36 70.848 364.8 364.8 0 1 1 364.8-364.736 363.072 363.072 0 0 1-86.912 235.968l192.384 224.64a43.392 43.392 0 0 1-4.8 61.184z m-465.536-223.36a298.816 298.816 0 0 0 298.432-298.432 298.816 298.816 0 0 0-298.432-298.432A298.816 298.816 0 0 0 194.24 428.8a298.816 298.816 0 0 0 298.432 298.432z"></path>\n </svg>\n </li>\n <li code=\'zoomIn\'>\n <svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24">\n <path d="M639.936 416a32 32 0 0 1-32 32h-256a32 32 0 0 1 0-64h256a32 32 0 0 1 32 32z m289.28 503.552a41.792 41.792 0 0 1-58.752-6.656l-182.656-213.248A349.76 349.76 0 0 1 480 768 352 352 0 1 1 832 416a350.4 350.4 0 0 1-83.84 227.712l185.664 216.768a41.856 41.856 0 0 1-4.608 59.072zM479.936 704c158.784 0 288-129.216 288-288S638.72 128 479.936 128a288.32 288.32 0 0 0-288 288c0 158.784 129.216 288 288 288z" p-id="3853"></path>\n </svg>\n </li>\n <li code=\'realZoom\'>\n <svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="24">\n <path d="M384 320v384H320V320h64z m256 0v384H576V320h64zM512 576v64H448V576h64z m0-192v64H448V384h64z m355.968 576H92.032A28.16 28.16 0 0 1 64 931.968V28.032C64 12.608 76.608 0 95.168 0h610.368L896 192v739.968a28.16 28.16 0 0 1-28.032 28.032zM704 64v128h128l-128-128z m128 192h-190.464V64H128v832h704V256z"></path>\n </svg>\n </li>\n <li code=\'autoZoom\'>\n <svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="24">\n <path d="M684.288 305.28l0.128-0.64-0.128-0.64V99.712c0-19.84 15.552-35.904 34.496-35.712a35.072 35.072 0 0 1 34.56 35.776v171.008h170.944c19.648 0 35.84 15.488 35.712 34.432a35.072 35.072 0 0 1-35.84 34.496h-204.16l-0.64-0.128a32.768 32.768 0 0 1-20.864-7.552c-1.344-1.024-2.816-1.664-3.968-2.816-0.384-0.32-0.512-0.768-0.832-1.088a33.472 33.472 0 0 1-9.408-22.848zM305.28 64a35.072 35.072 0 0 0-34.56 35.776v171.008H99.776A35.072 35.072 0 0 0 64 305.216c0 18.944 15.872 34.496 35.84 34.496h204.16l0.64-0.128a32.896 32.896 0 0 0 20.864-7.552c1.344-1.024 2.816-1.664 3.904-2.816 0.384-0.32 0.512-0.768 0.768-1.088a33.024 33.024 0 0 0 9.536-22.848l-0.128-0.64 0.128-0.704V99.712A35.008 35.008 0 0 0 305.216 64z m618.944 620.288h-204.16l-0.64 0.128-0.512-0.128c-7.808 0-14.72 3.2-20.48 7.68-1.28 1.024-2.752 1.664-3.84 2.752-0.384 0.32-0.512 0.768-0.832 1.088a33.664 33.664 0 0 0-9.408 22.912l0.128 0.64-0.128 0.704v204.288c0 19.712 15.552 35.904 34.496 35.712a35.072 35.072 0 0 0 34.56-35.776V753.28h170.944c19.648 0 35.84-15.488 35.712-34.432a35.072 35.072 0 0 0-35.84-34.496z m-593.92 11.52c-0.256-0.32-0.384-0.768-0.768-1.088-1.088-1.088-2.56-1.728-3.84-2.688a33.088 33.088 0 0 0-20.48-7.68l-0.512 0.064-0.64-0.128H99.84a35.072 35.072 0 0 0-35.84 34.496 35.072 35.072 0 0 0 35.712 34.432H270.72v171.008c0 19.84 15.552 35.84 34.56 35.776a35.008 35.008 0 0 0 34.432-35.712V720l-0.128-0.64 0.128-0.704a33.344 33.344 0 0 0-9.472-22.848zM512 374.144a137.92 137.92 0 1 0 0.128 275.84A137.92 137.92 0 0 0 512 374.08z"></path>\n </svg>\n </li>\n </ul>\n '},zoomSensitivity:2}},e.prototype.init=function(){var t=this,n=this.get("graph"),e=this.get("getContent")(n),r=e,e=((0,a.isString)(e)&&(r=(0,o.createDom)(e)),this.get("className"));r.setAttribute("class",e||"g6-component-toolbar");var e=(e=this.get("container"))||this.get("graph").get("container"),i=((e=(0,a.isString)(e)?document.getElementById(e):e).appendChild(r),this.set("toolBar",r),this.get("handleClick")),e=(r.addEventListener("click",function(e){var e=function(e){if(!e)return[];if(e.composedPath)return e.composedPath();for(var t=[],n=e.target;n;){if(t.push(n),"HTML"===n.tagName)return t.push(document,window),t;n=n.parentElement}return t}(e).filter(function(e){return"LI"===e.nodeName});0!==e.length&&(e=e[0].getAttribute("code"))&&(i?i(e,n):t.handleDefaultOperator(e))}),this.get("position"));e&&(0,o.modifyCSS)(r,{top:"".concat(e.y,"px"),left:"".concat(e.x,"px")}),this.bindUndoRedo()},e.prototype.bindUndoRedo=function(){var e=this.get("graph"),n=document.querySelector('.g6-component-toolbar li[code="undo"]'),r=document.querySelector('.g6-component-toolbar li[code="undo"] svg'),i=document.querySelector('.g6-component-toolbar li[code="redo"]'),o=document.querySelector('.g6-component-toolbar li[code="redo"] svg');n&&r&&i&&o&&(n.setAttribute("style","cursor: not-allowed"),r.setAttribute("style","opacity: 0.4"),i.setAttribute("style","cursor: not-allowed"),o.setAttribute("style","opacity: 0.4"),e.on("stackchange",function(e){var t=e.undoStack,e=e.redoStack,t=t.length,e=e.length;0===t?(n.setAttribute("style","cursor: not-allowed"),r.setAttribute("style","opacity: 0.4")):(n.removeAttribute("style"),r.removeAttribute("style")),0===e?(i.setAttribute("style","cursor: not-allowed"),o.setAttribute("style","opacity: 0.4")):(i.removeAttribute("style"),o.removeAttribute("style"))}))},e.prototype.undo=function(){var n=this.get("graph"),e=n.getUndoStack();if(e&&0!==e.length){var t=e.pop();if(t){var e=t.action,r=(n.pushStack(e,(0,a.clone)(t.data),"redo"),t.data.before);if(r="add"===e?t.data.after:r)switch(e){case"visible":Object.keys(r).forEach(function(e){e=r[e];e&&e.forEach(function(e){var t=n.findById(e.id);e.visible?n.showItem(t,!1):n.hideItem(t,!1)})});break;case"render":case"update":Object.keys(r).forEach(function(e){e=r[e];e&&e.forEach(function(e){var t=n.findById(e.id);delete e.id,n.updateItem(t,e,!1),"combo"===t.getType()&&n.updateCombo(t)})});break;case"changedata":n.changeData(r,!1);break;case"delete":Object.keys(r).forEach(function(e){e=r[e];e&&e.forEach(function(e){var t=e.itemType;delete e.itemType,n.addItem(t,e,!1)})});break;case"add":Object.keys(r).forEach(function(e){e=r[e];e&&e.forEach(function(e){n.removeItem(e.id,!1)})});break;case"updateComboTree":Object.keys(r).forEach(function(e){e=r[e];e&&e.forEach(function(e){n.updateComboTree(e.id,e.parentId,!1)})});break;case"createCombo":var i=t.data.after.combos,i=i[i.length-1];Object.keys(r).forEach(function(e){e=r[e];e&&e.forEach(function(e){n.updateComboTree(e.id,e.parentId,!1)})}),n.removeItem(i.id,!1);break;case"uncombo":var o=r.combos[r.combos.length-1],i=r.nodes.concat(r.combos).map(function(e){return e.id}).filter(function(e){return e!==o.id});n.createCombo(o,i,!1);break;case"layout":n.updateLayout(r,void 0,void 0,!1)}}}},e.prototype.redo=function(){var n=this.get("graph"),e=n.getRedoStack();if(e&&0!==e.length){var t=e.pop();if(t){var e=t.action,r=t.data.after;if(n.pushStack(e,(0,a.clone)(t.data)),r="delete"===e?t.data.before:r)switch(e){case"visible":Object.keys(r).forEach(function(e){e=r[e];e&&e.forEach(function(e){var t=n.findById(e.id);e.visible?n.showItem(t,!1):n.hideItem(t,!1)})});break;case"render":case"update":Object.keys(r).forEach(function(e){e=r[e];e&&e.forEach(function(e){var t=n.findById(e.id);delete e.id,n.updateItem(t,e,!1),"combo"===t.getType()&&n.updateCombo(t)})});break;case"changedata":n.changeData(r,!1);break;case"delete":r.edges&&r.edges.forEach(function(e){n.removeItem(e.id,!1)}),r.nodes&&r.nodes.forEach(function(e){n.removeItem(e.id,!1)}),r.combos&&r.combos.forEach(function(e){n.removeItem(e.id,!1)});break;case"add":Object.keys(r).forEach(function(e){e=r[e];e&&e.forEach(function(e){var t=e.itemType;delete e.itemType,n.addItem(t,e,!1)})});break;case"updateComboTree":Object.keys(r).forEach(function(e){e=r[e];e&&e.forEach(function(e){n.updateComboTree(e.id,e.parentId,!1)})});break;case"createCombo":var i=r.combos[r.combos.length-1];n.createCombo(i,i.children.map(function(e){return e.id}),!1);break;case"uncombo":i=t.data.before.combos,i=i[i.length-1];n.uncombo(i.id,!1);break;case"layout":n.updateLayout(r,void 0,void 0,!1)}}}},e.prototype.zoomOut=function(){var e=this.get("graph"),t=e.getZoom(),n=1/(1-.05*this.get("zoomSensitivity"));n*t>(this.get("maxZoom")||e.get("maxZoom"))||e.zoomTo(t*n)},e.prototype.zoomIn=function(){var e=this.get("graph"),t=e.getZoom(),n=1-.05*this.get("zoomSensitivity");n*t<(this.get("minZoom")||e.get("minZoom"))||e.zoomTo(t*n)},e.prototype.realZoom=function(){this.get("graph").zoomTo(1)},e.prototype.autoZoom=function(){this.get("graph").fitView([20,20])},e.prototype.handleDefaultOperator=function(e){switch(e){case"redo":this.redo();break;case"undo":this.undo();break;case"zoomOut":this.zoomOut();break;case"zoomIn":this.zoomIn();break;case"realZoom":this.realZoom();break;case"autoZoom":this.autoZoom()}},e.prototype.destroy=function(){var e=this.get("toolBar"),t=(e&&(t=(t=this.get("container"))||this.get("graph").get("container"),(t=(0,a.isString)(t)?document.getElementById(t):t).removeChild(e)),this.get("handleClick"));t&&e.removeEventListener("click",t)},e}(r.default);t.default=n},61912:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=n(39269),c=n(31834),r=i(n(28813)),n=i(n(78146));function i(e){return e&&e.__esModule?e:{default:e}}o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};"undefined"!=typeof document&&(0,r.default)("\n .g6-component-tooltip {\n border: 1px solid #e2e2e2;\n border-radius: 4px;\n font-size: 12px;\n color: #545454;\n background-color: rgba(255, 255, 255, 0.9);\n padding: 10px 8px;\n box-shadow: rgb(174, 174, 174) 0px 0px 10px;\n }\n .tooltip-type {\n padding: 0;\n margin: 0;\n }\n .tooltip-id {\n color: #531dab;\n }\n");var o,r=function(t){function e(e){return t.call(this,e)||this}var n=e,r=t;if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=n}return o(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i),e.prototype.getDefaultCfgs=function(){return{offsetX:6,offsetY:6,getContent:function(e){return"\n <h4 class='tooltip-type'>类型:".concat(e.item.getType(),"</h4>\n <span class='tooltip-id'>ID:").concat(e.item.getID(),"</span>\n ")},shouldBegin:function(e){return!0},itemTypes:["node","edge","combo"],trigger:"mouseenter",fixToNode:void 0}},e.prototype.getEvents=function(){return"click"===this.get("trigger")?{"node:click":"onClick","edge:click":"onClick","combo:click":"onClick","canvas:click":"onMouseLeave",afterremoveitem:"onMouseLeave",contextmenu:"onMouseLeave",drag:"onMouseLeave"}:{"node:mouseenter":"onMouseEnter","node:mouseleave":"onMouseLeave","node:mousemove":"onMouseMove","edge:mouseenter":"onMouseEnter","edge:mouseleave":"onMouseLeave","edge:mousemove":"onMouseMove","combo:mouseenter":"onMouseEnter","combo:mouseleave":"onMouseLeave","combo:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave",contextmenu:"onMouseLeave","node:drag":"onMouseLeave"}},e.prototype.init=function(){var t=this,e=t.get("className")||"g6-component-tooltip",n=(0,u.createDom)("<div class='".concat(e,"'></div>")),e=(e=t.get("container"))||t.get("graph").get("container");(0,c.isString)(e)&&(e=document.getElementById(e)),(0,u.modifyCSS)(n,{position:"absolute",visibility:"hidden",display:"none"}),e.appendChild(n),"click"!==t.get("trigger")&&(n.addEventListener("mouseenter",function(e){(0,u.modifyCSS)(n,{visibility:"visible",display:"unset"})}),n.addEventListener("mouseleave",function(e){t.hideTooltip()})),t.set("tooltip",n)},e.prototype.onClick=function(e){var t,n=this.get("itemTypes");e.item&&e.item.getType&&-1===n.indexOf(e.item.getType())||(n=e.item,t=this.get("graph"),this.currentTarget===n?(this.currentTarget=null,this.hideTooltip(),t.emit("tooltipchange",{item:e.item,action:"hide"})):(this.currentTarget=n,this.showTooltip(e),t.emit("tooltipchange",{item:e.item,action:"show"})))},e.prototype.onMouseEnter=function(e){var t,n=this.get("itemTypes");e.item&&e.item.getType&&-1===n.indexOf(e.item.getType())||(n=e.item,t=this.get("graph"),this.currentTarget=n,this.showTooltip(e),t.emit("tooltipchange",{item:e.item,action:"show"}))},e.prototype.onMouseMove=function(e){var t=this.get("itemTypes");e.item&&e.item.getType&&-1===t.indexOf(e.item.getType())||this.currentTarget&&e.item===this.currentTarget&&this.showTooltip(e)},e.prototype.onMouseLeave=function(){this.hideTooltip(),this.get("graph").emit("tooltipchange",{item:this.currentTarget,action:"hide"}),this.currentTarget=null},e.prototype.clearContainer=function(){var e=this.get("tooltip");e&&(e.innerHTML="")},e.prototype.showTooltip=function(e){var t,n;e.item&&(t=this.get("itemTypes"),e.item.getType&&-1===t.indexOf(e.item.getType())||(t=this.get("tooltip"),n=this.get("getContent")(e),(0,c.isString)(n)?t.innerHTML=n:(this.clearContainer(),t.appendChild(n)),this.updatePosition(e)))},e.prototype.hideTooltip=function(){var e=this.get("tooltip");e&&(0,u.modifyCSS)(e,{visibility:"hidden",display:"none"})},e.prototype.updatePosition=function(e){var t,n,r,i,o,a,s=this.get("shouldBegin"),l=this.get("tooltip");s(e)?(t=(s=this.get("graph")).get("width"),n=s.get("height"),r=this.get("offsetX")||0,i=this.get("offsetY")||0,a=s.getPointByClient(e.clientX,e.clientY),o=this.get("fixToNode"),(e=e.item).getType&&"node"===e.getType()&&o&&(0,c.isArray)(o)&&2<=o.length&&(a={x:(e=e.getBBox()).minX+e.width*o[0],y:e.minY+e.height*o[1]}),o=(e=s.getCanvasByPoint(a.x,a.y)).x,a=e.y,s={x:o+(e=s.getContainer()).offsetLeft+r,y:a+e.offsetTop+i},(0,u.modifyCSS)(l,{visibility:"visible",display:"unset"}),o+(e=l.getBoundingClientRect()).width+r>t&&(s.x-=e.width+r),a+e.height+i>n&&(s.y-=e.height+i,s.y<0)&&(s.y=0),(0,u.modifyCSS)(l,{left:"".concat(s.x,"px"),top:"".concat(s.y,"px")})):(0,u.modifyCSS)(l,{visibility:"hidden",display:"none"})},e.prototype.hide=function(){this.onMouseLeave()},e.prototype.destroy=function(){var e,t=this.get("tooltip");t&&(e=(e=this.get("container"))||this.get("graph").get("container"),(e=(0,c.isString)(e)?document.getElementById(e):e).removeChild(t))},e}(n.default);t.default=r},27996:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var r={version:!0},i=(t.version=t.default=void 0,function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(86431)));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}Object.keys(i).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})}),i.default.version="4.8.17";n=i.default;t.default=n,t.version="4.8.17"},43518:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphEnum=void 0,(t=t.GraphEnum||(t.GraphEnum={})).DEFAULT_EDGE_NAME="\0",t.GRAPH_NODE="\0",t.EDGE_KEY_DELIM=""},24328:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},a=(Object.defineProperty(t,"__esModule",{value:!0}),t.GraphWithEvent=void 0,i=a(n(12325)).default,o(s,i),s.prototype.appendEvent=function(e,t){this.eventPool[e]||(this.eventPool[e]=[]),this.eventPool[e].push(t)},s.prototype.removeEvent=function(e,t){this.eventPool[e]&&-1<(t=this.eventPool[e].indexOf(t))&&this.eventPool[e].splice(t,1)},s.prototype.emitEvent=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.eventPool[e]&&this.eventPool[e].forEach(function(e){e.apply(void 0,t)})},s.prototype.setNode=function(e,t){return i.prototype.setNode.call(this,e,t),this.emitEvent("nodeAdd",e,t),this},s.prototype.removeNode=function(e){return i.prototype.removeNode.call(this,e),this.emitEvent("nodeRemove",e),this},s.prototype.setEdge=function(e,t,n,r){return i.prototype.setEdge.call(this,e,t,n,r),this.emitEvent("edgeAdd",e,t,n,r),this},s.prototype.removeEdge=function(e,t,n){return i.prototype.removeEdge.call(this,e,t,n),this.emitEvent("edgeRemove",e,t,n),this},s);function s(){var e=null!==i&&i.apply(this,arguments)||this;return e.eventPool={},e}t.GraphWithEvent=a},12325:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o=(Object.defineProperty(t,"__esModule",{value:!0}),n(1875)),i=n(43518),s=n(1875),l=n(59264),u={compound:!1,multigraph:!1,directed:!0};function c(e){var a=this,e=(void 0===e&&(e={}),this.directed=!0,this.multigraph=!1,this.compound=!1,this.GRAPH_NODE=i.GraphEnum.GRAPH_NODE,this.nodeCountNum=0,this.edgeCountNum=0,this.defaultNodeLabelFn=function(){},this.defaultEdgeLabelFn=function(){},this.nodesLabelMap=new Map,this.inEdgesMap=new Map,this.outEdgesMap=new Map,this.predecessorsMap=new Map,this.successorsMap=new Map,this.edgesMap=new Map,this.edgesLabelsMap=new Map,this.isDirected=function(){return a.directed},this.isMultigraph=function(){return a.multigraph},this.isCompound=function(){return a.compound},this.setGraph=function(e){return a.label=e,a},this.graph=function(){return a.label},this.setDefaultNodeLabel=function(e){return(0,o.isFunction)(e)?a.defaultNodeLabelFn=e:a.defaultNodeLabelFn=function(){return e},a},this.nodeCount=function(){return a.nodeCountNum},this.node=function(e){return a.nodesLabelMap.get(e)},this.nodes=function(){return Array.from(a.nodesLabelMap.keys())},this.sources=function(){return a.nodes().filter(function(e){return!(null!=(e=a.inEdgesMap.get(e))&&e.size)})},this.sinks=function(){return a.nodes().filter(function(e){return!(null!=(e=a.outEdgesMap.get(e))&&e.size)})},this.setNodes=function(e,t){return e.map(function(e){return a.setNode(e,t)}),a},this.hasNode=function(e){return a.nodesLabelMap.has(e)},this.checkCompound=function(){if(!a.isCompound())throw new Error("Cannot construct parent-children relations in a non-compound graph")},this.parent=function(e){if(a.isCompound()){var t=null==(t=a.parentMap)?void 0:t.get(e);if(t!==a.GRAPH_NODE)return t}},this.removeFromParentsChildList=function(e){var t=a.parentMap.get(e);a.childrenMap.get(t).delete(e)},this.setParent=function(e,t){var n;a.checkCompound();for(var r=void 0===t?a.GRAPH_NODE:t,i=a.parent(r);i;){if(e===i)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");i=a.parent(i)}t&&a.setNode(t),a.setNode(e),a.removeFromParentsChildList(e),null!=(o=a.parentMap)&&o.set(e,r);var o=a.childrenMap.get(r);return o.set(e,!0),null!=(n=a.childrenMap)&&n.set(r,o),a},this.children=function(e){var t,n=void 0===e?a.GRAPH_NODE:e;return a.isCompound()?(t=null==(t=a.childrenMap)?void 0:t.get(n))?Array.from(t.keys()):void 0:n===a.GRAPH_NODE?a.nodes():e&&a.hasNode(e)?[]:void 0},this.predecessors=function(e){e=a.predecessorsMap.get(e);return e?Array.from(e.keys()):void 0},this.successors=function(e){e=a.successorsMap.get(e);return e?Array.from(e.keys()):void 0},this.neighbors=function(e){var t;if(a.hasNode(e))return Array.from(new Set(null==(t=a.predecessors(e))?void 0:t.concat(a.successors(e))))},this.isLeaf=function(e){var t;return a.isDirected()?!(null!=(t=a.successors(e))&&t.length):!(null!=(t=a.neighbors(e))&&t.length)},this.filterNodes=function(t){var e=a.directed,n=a.multigraph,r=a.compound,i=new c({directed:e,multigraph:n,compound:r});return i.setGraph(a.graph()),a.nodes().forEach(function(e){t(e)&&i.setNode(e,a.node(e))}),a.edges().forEach(function(e){i.hasNode(e.v)&&i.hasNode(e.w)&&i.setEdgeObj(e,a.edge(e))}),r&&i.nodes().forEach(function(t){i.setParent(t,function(){for(var e=a.parent(t);void 0!==e&&!i.hasNode(e);)e=a.parent(e);return e}())}),i},this.setDefaultEdgeLabel=function(e){return(0,o.isFunction)(e)?a.defaultEdgeLabelFn=e:a.defaultEdgeLabelFn=function(){return e},a},this.edgeCount=function(){return a.edgeCountNum},this.setEdgeObj=function(e,t){return a.setEdge(e.v,e.w,t,e.name)},this.setPath=function(e,n){return e.reduce(function(e,t){return a.setEdge(e,t,n),t}),a},this.edgeFromArgs=function(e,t,n){return a.edge({v:e,w:t,name:n})},this.edge=function(e){return a.edgesLabelsMap.get((0,s.edgeObjToId)(a.isDirected(),e))},this.hasEdge=function(e,t,n){return a.edgesLabelsMap.has((0,s.edgeObjToId)(a.isDirected(),{v:e,w:t,name:n}))},this.removeEdgeObj=function(e){var t=e.v,n=e.w,e=e.name;return a.removeEdge(t,n,e)},this.edges=function(){return Array.from(a.edgesMap.values())},this.inEdges=function(e,t){e=a.inEdgesMap.get(e);if(e)return Array.from(e.values()).filter(function(e){return!t||e.v===t})},this.outEdges=function(e,t){e=a.outEdgesMap.get(e);if(e)return Array.from(e.values()).filter(function(e){return!t||e.w===t})},this.nodeEdges=function(e,t){var n;return!a.hasNode(e)||null==(n=a.inEdges(e,t))?void 0:n.concat(a.outEdges(e,t))},this.toJSON=function(){return(0,l.write)(a)},this.nodeInDegree=function(e){e=a.inEdgesMap.get(e);return e?e.size:0},this.nodeOutDegree=function(e){e=a.outEdgesMap.get(e);return e?e.size:0},this.nodeDegree=function(e){return a.nodeInDegree(e)+a.nodeOutDegree(e)},this.source=function(e){return e.v},this.target=function(e){return e.w},r(r({},u),e));this.compound=e.compound,this.directed=e.directed,this.multigraph=e.multigraph,this.compound&&(this.parentMap=new Map,this.childrenMap=new Map)}c.prototype.setNode=function(t,e){var n=this.nodesLabelMap,r=this.defaultNodeLabelFn,i=this.isCompound,o=this.parentMap,a=this.childrenMap,s=this.inEdgesMap,l=this.outEdgesMap,u=this.predecessorsMap,c=this.successorsMap;return n.has(t)?void 0!==e&&n.set(t,e):(n.set(t,e||r(t)),i()&&(null!=o&&o.set(t,this.GRAPH_NODE),null!=a&&a.set(t,new Map),null!=a&&a.has(this.GRAPH_NODE)||null==a||a.set(this.GRAPH_NODE,new Map),null!=(n=null==a?void 0:a.get(this.GRAPH_NODE)))&&n.set(t,!0),[s,l,u,c].forEach(function(e){return e.set(t,new Map)}),this.nodeCountNum+=1),this},c.prototype.removeNode=function(e){var t,n,r,i,o,a,s,l,u=this;return this.hasNode(e)&&(t=function(e){u.removeEdge(e.v,e.w,e.name)},n=this.inEdgesMap,r=this.outEdgesMap,i=this.predecessorsMap,o=this.successorsMap,a=this.nodesLabelMap,this.isCompound()&&(this.removeFromParentsChildList(e),null!=(s=this.parentMap)&&s.delete(e),null!=(s=this.children(e))&&s.forEach(function(e){return u.setParent(e)}),null!=(s=this.childrenMap))&&s.delete(e),s=n.get(e),l=r.get(e),Array.from(s.values()).forEach(t),Array.from(l.values()).forEach(t),a.delete(e),n.delete(e),r.delete(e),i.delete(e),o.delete(e),--this.nodeCountNum),this},c.prototype.setEdge=function(e,t,n,r){var e=(0,s.edgeArgsToObj)(this.isDirected(),e,t,r),t=(0,s.edgeObjToId)(this.isDirected(),e),i=e.v,o=e.w;if(this.edgesLabelsMap.has(t))this.edgesLabelsMap.set(t,n);else{if(void 0!==r&&!this.isMultigraph())throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(i),this.setNode(o),this.edgesLabelsMap.set(t,n||this.defaultEdgeLabelFn(i,o,r)),Object.freeze(e),this.edgesMap.set(t,e);var n=this.predecessorsMap.get(o),r=this.successorsMap.get(i);(0,s.incrementOrInitEntry)(n,i),(0,s.incrementOrInitEntry)(r,o),null!=(n=this.inEdgesMap.get(o))&&n.set(t,e),null!=(r=this.outEdgesMap.get(i))&&r.set(t,e),this.edgeCountNum+=1}return this},c.prototype.removeEdge=function(e,t,n){var r,i=(0,o.edgeArgsToId)(this.isDirected(),e,t,n);return this.edgesMap.get(i)&&(t=(e=(0,s.edgeArgsToObj)(this.isDirected(),e,t,n)).v,n=e.w,this.edgesLabelsMap.delete(i),this.edgesMap.delete(i),e=this.predecessorsMap.get(n),r=this.successorsMap.get(t),(0,s.decrementOrRemoveEntry)(e,t),(0,s.decrementOrRemoveEntry)(r,n),this.inEdgesMap.get(n).delete(i),this.outEdgesMap.get(t).delete(i),--this.edgeCountNum),this},c.fromJSON=l.read,t.default=c},59264:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.read=t.write=void 0,r(n(12325)));t.write=function(e){var n,t,e={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:(t=e).nodes().map(function(e){e={id:e,value:t.node(e),parent:t.parent(e)};return void 0===e.value&&delete e.value,void 0===e.parent&&delete e.parent,e}),edges:(n=e).edges().map(function(e){var t=n.edge(e),t={v:e.v,w:e.w,value:t,name:e.name};return void 0===t.name&&delete t.name,void 0===t.value&&delete t.value,t}),value:e.graph()};return void 0===e.value&&delete e.value,e},t.read=function(e){var t=new i.default(e.options);return void 0!==e.value&&t.setGraph(e.value),e.nodes.forEach(function(e){t.setNode(e.id,e.value),e.parent&&t.setParent(e.id,e.parent)}),e.edges.forEach(function(e){t.setEdge(e.v,e.w,e.value,e.name)}),t}},49033:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var a=this;this.arr=[],this.keyIndice=new Map,this.size=function(){return a.arr.length},this.keys=function(){return a.arr.map(function(e){return e.key})},this.has=function(e){return a.keyIndice.has(e)},this.priority=function(e){e=a.keyIndice.get(e);if(void 0!==e)return a.arr[e].priority},this.swap=function(e,t){var n=a.arr,r=a.keyIndice,i=[n[e],n[t]],o=i[0],i=i[1];n[e]=i,n[t]=o,r.set(o.key,t),r.set(i.key,e)},this.innerDecrease=function(e){for(var t,n,r=a.arr,i=r[e].priority,o=e;0!==o&&!((null==(t=r[n=o>>1])?void 0:t.priority)<i);)a.swap(o,n),o=n},this.heapify=function(e){var t=a.arr,n=e<<1,r=1+n,i=e;n<t.length&&(i=t[n].priority<t[i].priority?n:i,(i=r<t.length?t[r].priority<t[i].priority?r:i:i)!==e)&&(a.swap(e,i),a.heapify(i))},this.min=function(){if(0===a.size())throw new Error("Queue underflow");return a.arr[0].key},this.add=function(e,t){var n,r=a.keyIndice,i=a.arr;return!r.has(e)&&(n=i.length,r.set(e,n),i.push({key:e,priority:t}),a.innerDecrease(n),!0)},this.removeMin=function(){a.swap(0,a.arr.length-1);var e=a.arr.pop();return a.keyIndice.delete(e.key),a.heapify(0),e.key},this.decrease=function(e,t){if(!a.has(e))throw new Error("There's no key named ".concat(e));var n=a.keyIndice.get(e);if(t>a.arr[n].priority)throw new Error("New priority is greater than current priority.Key: ".concat(e," Old: + ").concat(a.arr[n].priority," New: ").concat(t));a.arr[n].priority=t,a.innerDecrease(n)}}},9164:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(o){var a=new Set,s=[];return o.nodes().forEach(function(e){for(var t,n=[],r=[e];0<r.length;){var i=r.pop();a.has(i)||(a.add(i),n.push(i),null!=(t=o.successors(i))&&t.forEach(function(e){return r.push(e)}),null==(t=o.predecessors(i)))||t.forEach(function(e){return r.push(e)})}n.length&&s.push(n)}),s}},38825:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t,e,n){function r(e){return t.isDirected()?t.successors(e):t.neighbors(e)}var i=[],o=[];return(Array.isArray(e)?e:[e]).forEach(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);!function t(n,e,r,i,o,a){i.includes(e)||(i.push(e),r||a.push(e),o(e).forEach(function(e){return t(n,e,r,i,o,a)}),r&&a.push(e))}(t,e,"post"===n,o,r,i)}),i}},86684:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(38413)));t.default=function(t,n,r){var i={};return t.nodes().forEach(function(e){return i[String(e)]=(0,o.default)(t,e,n,r),i}),i}},38413:function(e,t,n){"use strict";function i(){return 1}function o(e,n,o,t){function r(e){var t=e.v!==a?e.v:e.w,n=l.get(t),r=o(e),i=s.distance+r;if(r<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+r);i<n.distance&&(n.distance=i,n.predecessor=a,u.decrease(t,i))}var a,s,l=new Map,u=new c.default;for(e.nodes().forEach(function(e){var t=e===n?0:Number.POSITIVE_INFINITY;l.set(e,{distance:t}),u.add(e,t)});0<u.size()&&(a=u.removeMin(),!(s=l.get(a))||s.distance!==Number.POSITIVE_INFINITY);)t(a).forEach(r);var i={};return Array.from(l.entries()).forEach(function(e){var t=e[0],e=e[1];return i[String(t)]=e,i}),i}var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},c=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(49033)));t.default=function(t,e,n,r){return o(t,e,n||i,r||function(e){return t.outEdges(e)})}},2345:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(32175)));t.default=function(t){return(0,i.default)(t).filter(function(e){return 1<e.length||1===e.length&&t.hasEdge(e[0],e[0])})}},19296:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.floydWarshall=void 0;function r(){return 1}function n(t,e,n){return i=e||r,o=n||function(e){return t.outEdges(e)},a={},(s=t.nodes()).forEach(function(n){var r=String(n);a[r]={},a[r][r]={distance:0},s.forEach(function(e){n!==e&&(a[r][String(e)]={distance:Number.POSITIVE_INFINITY})}),o(n).forEach(function(e){var t=e.v===n?e.w:e.v,e=i(e);a[r][String(t)]={distance:e,predecessor:n}})}),s.forEach(function(e){var i=String(e),o=a[i];s.forEach(function(e){var e=String(e),r=a[e];s.forEach(function(e){var e=String(e),t=r[i],n=o[e],e=r[e],t=t.distance+n.distance;t<e.distance&&(e.distance=t,e.predecessor=n.predecessor)})})}),a;var i,o,a,s}t.floydWarshall=n,t.default=n},78877:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.floydWarshall=t.topsort=t.prim=t.preorder=t.postorder=t.isAcyclic=t.tarjan=t.findCycles=t.dijkstraAll=t.dijkstra=t.dfs=t.components=void 0,r(n(55119))),i=(t.prim=i.default,r(n(9164))),i=(t.components=i.default,r(n(38825))),i=(t.dfs=i.default,r(n(38413))),i=(t.dijkstra=i.default,r(n(86684))),i=(t.dijkstraAll=i.default,r(n(2345))),i=(t.findCycles=i.default,r(n(72869))),i=(t.isAcyclic=i.default,r(n(10997))),i=(t.postorder=i.default,r(n(29958))),i=(t.preorder=i.default,r(n(32175))),i=(t.tarjan=i.default,r(n(14437))),i=(t.topsort=i.default,r(n(19296)));t.floydWarshall=i.default},72869:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=(Object.defineProperty(t,"__esModule",{value:!0}),o(n(14437)));t.default=function(e){try{(0,a.default)(e)}catch(e){if(e instanceof a.CycleException)return!1;throw e}return!0}},10997:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(38825)));t.default=function(e,t){return(0,i.default)(e,t,"post")}},29958:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(38825)));t.default=function(e,t){return(0,i.default)(e,t,"pre")}},55119:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},u=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(12325))),c=r(n(49033));t.default=function(e,r){var t,i,n=new u.default,o=new Map,a=new c.default;function s(e){var t=e.v===i?e.w:e.v,n=a.priority(t);void 0!==n&&(e=r(e))<n&&(o.set(t,i),a.decrease(t,e))}if(0!==e.nodeCount()){e.nodes().forEach(function(e){a.add(e,Number.POSITIVE_INFINITY),n.setNode(e)}),a.decrease(e.nodes()[0],0);for(var l=!1;0<a.size();){if(i=a.removeMin(),o.has(i))n.setEdge(i,o.get(i));else{if(l)throw new Error("Input graph is not connected: "+e.graph());l=!0}null!=(t=e.nodeEdges(i))&&t.forEach(s)}}return n}},32175:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(a){var s=0,l=[],u=new Map,c=[];return a.nodes().forEach(function(e){u.has(e)||function r(e){var t,i={onStack:!0,lowlink:s,index:s};if(u.set(e,i),s+=1,l.push(e),null!=(t=a.successors(e))&&t.forEach(function(e){var t,n;u.has(e)?null!=(t=u.get(e))&&t.onStack&&(n=u.get(e),i.lowlink=Math.min(i.lowlink,n.index)):(r(e),n=u.get(e),i.lowlink=Math.min(i.lowlink,n.lowlink))}),i.lowlink===i.index){for(var n,o=[];n=l.pop(),u.get(n).onStack=!1,o.push(n),e!==n;);c.push(o)}}(e)}),c}},14437:function(e,t){"use strict";var r,n,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(Object.defineProperty(t,"__esModule",{value:!0}),t.CycleException=void 0,n=Error,i(o,n),o);function o(){return null!==n&&n.apply(this,arguments)||this}t.CycleException=s,t.default=function(r){var i=new Set,o=new Set,a=[];if(r.sinks().forEach(function e(t){var n;if(o.has(t))throw new s;i.has(t)||(o.add(t),i.add(t),null!=(n=r.predecessors(t))&&n.forEach(e),o.delete(t),a.push(t))}),i.size!==r.nodeCount())throw new s;return a}},72927:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGraphComplement=void 0;var r=n(52402),i=n(94562);t.isGraphComplement=function(e,t){var n;return!(!(0,r.isSimpleGraph)(e)||!(0,r.isSimpleGraph)(t)||!(0,i.containAllSameNodes)(e,t)||(0,i.containSameEdges)(e,t)||(n=e.nodeCount(),e.edgeCount()+t.edgeCount()!==n*(n-1)/2))}},94562:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isGraphContainsAnother=n.isGraphSame=n.containAllSameEdges=n.containAllSameNodes=n.isGraphOptionSame=n.getSameEdges=n.getSameNodes=n.containSameEdges=n.containSameNodes=void 0,n.containSameNodes=function(e,t){for(var n=e.nodes(),r=0;r<n.length;r++){var i=n[r];if(t.hasNode(i))return!0}return!1},n.containSameEdges=function(e,t){for(var n=e.edges(),r=0;r<n.length;r++){var i=n[r];if(t.hasEdge(i.v,i.w,i.name))return!0}return!1},n.getSameNodes=function(e,t){return e.nodes().filter(function(e){return t.hasNode(e)})},n.getSameEdges=function(e,t){return e.edges().filter(function(e){return t.hasEdge(e.v,e.w,e.name)})},n.isGraphOptionSame=function(e,t){return e.isCompound()===t.isCompound()&&e.isDirected()===t.isDirected()&&e.isMultigraph()===t.isMultigraph()},n.containAllSameNodes=function(e,t){return(0,n.getSameNodes)(e,t).length===e.nodes().length},n.containAllSameEdges=function(e,t){return(0,n.getSameEdges)(e,t).length===e.edges().length},n.isGraphSame=function(e,t){return(0,n.isGraphOptionSame)(e,t)&&e.nodeCount()===t.nodeCount()&&(0,n.containAllSameNodes)(e,t)&&e.edgeCount()===t.edgeCount()&&(0,n.containAllSameEdges)(e,t)},n.isGraphContainsAnother=function(e,t){return(0,n.containAllSameNodes)(e,t)&&(0,n.containAllSameEdges)(e,t)}},26382:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGraphContainsAnother=t.isGraphSame=t.getSameNodes=t.getSameEdges=t.isGraphOptionSame=t.isGraphComplement=t.containSameNodes=t.containSameEdges=t.containAllSameNodes=t.containAllSameEdges=void 0;var r=n(94562),i=(Object.defineProperty(t,"containAllSameEdges",{enumerable:!0,get:function(){return r.containAllSameEdges}}),Object.defineProperty(t,"containAllSameNodes",{enumerable:!0,get:function(){return r.containAllSameNodes}}),Object.defineProperty(t,"containSameEdges",{enumerable:!0,get:function(){return r.containSameEdges}}),Object.defineProperty(t,"containSameNodes",{enumerable:!0,get:function(){return r.containSameNodes}}),Object.defineProperty(t,"isGraphOptionSame",{enumerable:!0,get:function(){return r.isGraphOptionSame}}),Object.defineProperty(t,"getSameEdges",{enumerable:!0,get:function(){return r.getSameEdges}}),Object.defineProperty(t,"getSameNodes",{enumerable:!0,get:function(){return r.getSameNodes}}),Object.defineProperty(t,"isGraphSame",{enumerable:!0,get:function(){return r.isGraphSame}}),Object.defineProperty(t,"isGraphContainsAnother",{enumerable:!0,get:function(){return r.isGraphContainsAnother}}),n(72927));Object.defineProperty(t,"isGraphComplement",{enumerable:!0,get:function(){return i.isGraphComplement}})},52402:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.hasSelfLoop=t.isNullGraph=t.isSimpleGraph=t.isGraph=void 0,r(n(12325)));t.isGraph=function(e){return e instanceof i.default},t.isSimpleGraph=function(e){if(e.isMultigraph())return!1;for(var t=e.edges(),n=new Map,r=0;r<t.length;r++){var i=t[r];if(i.v===i.w)return!1;var i=[i.v,i.w].sort(),o=i[0],i=i[1],o="".concat(o,"-").concat(i);if(n.has(o))return!1;n.set(o,!0)}return!0},t.isNullGraph=function(e){return 0===e.nodes().length},t.hasSelfLoop=function(e){for(var t=e.edges(),n=0;n<t.length;n++){var r=t[n];if(r.v===r.w)return!0}return!1}},43504:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},l=(Object.defineProperty(t,"__esModule",{value:!0}),t.getGraphComplement=void 0,n(52402)),u=r(n(12325));t.getGraphComplement=function(e){if(!(0,l.isSimpleGraph)(e))return null;for(var t=e.nodeCount(),n=new u.default({compound:e.isCompound(),directed:e.isDirected(),multigraph:e.isMultigraph()}),r=e.nodes(),i=0;i<t;i++){var o=r[i];n.setNode(o,e.node(o));for(var a=i+1;a<t;a++){var s=r[a];e.hasEdge(o,s)||n.setEdge(o,s)}}return n}},10910:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGraphComplement=void 0;var r=n(43504);Object.defineProperty(t,"getGraphComplement",{enumerable:!0,get:function(){return r.getGraphComplement}})},54917:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},a=(Object.defineProperty(t,"__esModule",{value:!0}),t.generate=t.essence=t.comparision=t.algorithm=t.GraphWithEvent=t.Graph=void 0,a(n(12325))),s=(t.Graph=a.default,n(24328)),a=(Object.defineProperty(t,"GraphWithEvent",{enumerable:!0,get:function(){return s.GraphWithEvent}}),o(n(78877))),a=(t.algorithm=a,o(n(26382))),a=(t.comparision=a,o(n(52402))),a=(t.essence=a,o(n(10910)));t.generate=a},1875:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=t.edgeObjToId=t.edgeArgsToObj=t.edgeArgsToId=t.decrementOrRemoveEntry=t.incrementOrInitEntry=void 0;var i=n(43518);function r(e,t,n,r){t=String(t),n=String(n);return!e&&n<t&&(e=t,t=n,n=e),t+i.GraphEnum.EDGE_KEY_DELIM+n+i.GraphEnum.EDGE_KEY_DELIM+(void 0===r?i.GraphEnum.DEFAULT_EDGE_NAME:r)}t.incrementOrInitEntry=function(e,t){var n=e.get(t)||0;e.set(t,n+1)},t.decrementOrRemoveEntry=function(e,t){var n=e.get(t);void 0!==n&&(0<--n?e.set(t,n):e.delete(t))},t.edgeArgsToId=r,t.edgeArgsToObj=function(e,t,n,r){var i=String(t),o=String(n),t={v:t,w:n};return!e&&o<i&&(n=t.v,t.v=t.w,t.w=n),void 0!==r&&(t.name=r),t},t.edgeObjToId=function(e,t){return r(e,t.v,t.w,t.name)},t.isFunction=function(e){return"function"==typeof e}},6977:function(e,t,n){function s(e){return(s="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})(e)}e=n.nmd(e),n=function(){return n=[function(e,t,n){"use strict";var r=n(3);t.a=function(e){return Array.isArray?Array.isArray(e):Object(r.a)(e,"Array")}},function(e,t,n){"use strict";t.a=function(e){return null!==e&&"function"!=typeof e&&isFinite(e.length)}},function(e,t,n){"use strict";var r=n(3);t.a=function(e){return Object(r.a)(e,"Function")}},function(e,t,n){"use strict";var r={}.toString;t.a=function(e,t){return r.call(e)==="[object "+t+"]"}},function(e,t,n){"use strict";var r=n(3);t.a=function(e){return Object(r.a)(e,"String")}},function(e,t,n){"use strict";var r=n(3);t.a=function(e){return Object(r.a)(e,"Number")}},function(e,t,n){n=n(38).mix;e.exports={assign:n,getHeight:function(e,t,n,r){return void 0===r&&(r="height"),"center"===n?(e[r]+t[r])/2:e.height}}},function(e,t,n){"use strict";t.a=function(e){return null==e}},function(e,t,n){"use strict";var o=n(0),a=n(12);t.a=function(e,t){if(e)if(Object(o.a)(e))for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);else if(Object(a.a)(e))for(var i in e)if(e.hasOwnProperty(i)&&!1===t(e[i],i))break}},function(e,t,n){"use strict";var r=n(7);t.a=function(e){return Object(r.a)(e)?"":e.toString()}},function(e,t,n){"use strict";var r=n(14),i=n(3);t.a=function(e){if(!Object(r.a)(e)||!Object(i.a)(e,"Object"))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},function(e,t,n){var r=n(18);function i(e,t){this.options=t=void 0===t?{}:t,this.rootNode=r(e,t)}i.prototype.execute=function(){throw new Error("please override this method")},e.exports=i},function(e,t,n){"use strict";t.a=function(e){var t=s(e);return null!==e&&"object"===t||"function"===t}},function(e,t,n){"use strict";var r=n(1);t.a=function(e,t){return!!Object(r.a)(e)&&-1<e.indexOf(t)}},function(e,t,n){"use strict";t.a=function(e){return"object"===s(e)&&null!==e}},function(e,t,n){"use strict";var i=n(8),o=n(2),n=Object.values?function(e){return Object.values(e)}:function(n){var r=[];return Object(i.a)(n,function(e,t){Object(o.a)(n)&&"prototype"===t||r.push(e)}),r};t.a=n},function(e,t,n){"use strict";function i(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}t.a=function(e,t,n,r){return t&&i(e,t),n&&i(e,n),r&&i(e,r),e}},function(e,t,n){var o=n(35),a=["LR","RL","TB","BT","H","V"],s=["LR","RL","H"],l=a[0];e.exports=function(e,t,n){var r=t.direction||l;if(t.isHorizontal=-1<s.indexOf(r),r&&-1===a.indexOf(r))throw new TypeError("Invalid direction: "+r);r===a[0]?n(e,t):r===a[1]?(n(e,t),e.right2left()):r===a[2]?n(e,t):r===a[3]?(n(e,t),e.bottom2top()):r!==a[4]&&r!==a[5]||(i=(r=o(e,t)).left,r=r.right,n(i,t),n(r,t),t.isHorizontal?i.right2left():i.bottom2top(),r.translate(i.x-r.x,i.y-r.y),e.x=i.x,e.y=r.y,n=e.getBoundingBox(),t.isHorizontal?n.top<0&&e.translate(0,-n.top):n.left<0&&e.translate(-n.left,0));var i=t.fixedRoot;return(i=void 0===i?!0:i)&&e.translate(-(e.x+e.width/2+e.hgap),-(e.y+e.height/2+e.vgap)),e}},function(e,t,n){var c=n(6),f={getId:function(e){return e.id||e.name},getPreH:function(e){return e.preH||0},getPreV:function(e){return e.preV||0},getHGap:function(e){return e.hgap||18},getVGap:function(e){return e.vgap||18},getChildren:function(e){return e.children},getHeight:function(e){return e.height||36},getWidth:function(e){var t=e.label||" ";return e.width||18*t.split("").length}};function h(e,t){var n=this;if(n.vgap=n.hgap=0,e instanceof h)return e;n.data=e;var r=t.getHGap(e),i=t.getVGap(e);return n.preH=t.getPreH(e),n.preV=t.getPreV(e),n.width=t.getWidth(e),n.height=t.getHeight(e),n.width+=n.preH,n.height+=n.preV,n.id=t.getId(e),n.x=n.y=0,n.depth=0,n.children||(n.children=[]),n.addGap(r,i),n}c.assign(h.prototype,{isRoot:function(){return 0===this.depth},isLeaf:function(){return 0===this.children.length},addGap:function(e,t){this.hgap+=e,this.vgap+=t,this.width+=2*e,this.height+=2*t},eachNode:function(e){for(var t,n=[this];t=n.shift();)e(t),n=t.children.concat(n)},DFTraverse:function(e){this.eachNode(e)},BFTraverse:function(e){for(var t,n=[this];t=n.shift();)e(t),n=n.concat(t.children)},getBoundingBox:function(){var t={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode(function(e){t.left=Math.min(t.left,e.x),t.top=Math.min(t.top,e.y),t.width=Math.max(t.width,e.x+e.width),t.height=Math.max(t.height,e.y+e.height)}),t},translate:function(t,n){void 0===t&&(t=0),void 0===n&&(n=0),this.eachNode(function(e){e.x+=t,e.y+=n,e.x+=e.preH,e.y+=e.preV})},right2left:function(){var t=this.getBoundingBox();this.eachNode(function(e){e.x=e.x-2*(e.x-t.left)-e.width}),this.translate(t.width,0)},bottom2top:function(){var t=this.getBoundingBox();this.eachNode(function(e){e.y=e.y-2*(e.y-t.top)-e.height}),this.translate(0,t.height)}}),e.exports=function(e,t,n){var r,i=new h(e,t=c.assign({},f,t=void 0===t?{}:t)),o=[i];if(!n&&!e.collapsed)for(;r=o.shift();)if(!r.data.collapsed){var a=t.getChildren(r.data),s=a?a.length:0;if(r.children=new Array(s),a&&s)for(var l=0;l<s;l++){var u=new h(a[l],t);r.children[l]=u,o.push(u),u.parent=r,u.depth=r.depth+1}}return i}},function(e,t,n){"use strict";var o=n(1);t.a=function(e,t){if(!Object(o.a)(e))return e;for(var n=[],r=0;r<e.length;r++){var i=e[r];t(i,r)&&n.push(i)}return n}},function(e,t,n){"use strict";var a=n(7),s=n(21);t.a=function(e,t){var n=Object(s.a)(t),r=n.length;if(Object(a.a)(e))return!r;for(var i=0;i<r;i+=1){var o=n[i];if(t[o]!==e[o]||!(o in e))return!1}return!0}},function(e,t,n){"use strict";var i=n(8),o=n(2),n=Object.keys?function(e){return Object.keys(e)}:function(n){var r=[];return Object(i.a)(n,function(e,t){Object(o.a)(n)&&"prototype"===t||r.push(t)}),r};t.a=n},function(e,t,n){"use strict";var r=n(0);t.a=function(e){if(Object(r.a)(e))return e.reduce(function(e,t){return Math.max(e,t)},e[0])}},function(e,t,n){"use strict";var r=n(0);t.a=function(e){if(Object(r.a)(e))return e.reduce(function(e,t){return Math.min(e,t)},e[0])}},function(e,t,n){"use strict";var o=n(1),a=Array.prototype.splice;t.a=function(e,t){if(!Object(o.a)(e))return[];for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];n!==r&&void 0===i||a.call(e,i,1)}return e}},function(e,t,n){"use strict";var i=n(8),o=n(0),a=n(10);t.a=function(e,n,t){var r;return Object(o.a)(e)||Object(a.a)(e)?(r=t,Object(i.a)(e,function(e,t){r=n(r,e,t)}),r):e}},function(e,t,n){"use strict";t.a=function(e,t){void 0===t&&(t=new Map);var n=[];if(Array.isArray(e))for(var r=0,i=e.length;r<i;r++){var o=e[r];t.has(o)||(n.push(o),t.set(o,!0))}return n}},function(e,t,n){"use strict";t.a=function(e,t){var i;return t?(Object(o.a)(t)||(i=Object(r.a)(t)?t:t.replace(/\s+/g,"").split("*"),t=function(e){for(var t="_",n=0,r=i.length;n<r;n++)t+=e[i[n]]&&e[i[n]].toString();return t}),Object(a.a)(e,t)):{0:e}};var r=n(0),o=n(2),a=n(28)},function(e,t,n){"use strict";var s=n(0),l=n(2),u=Object.prototype.hasOwnProperty;t.a=function(e,t){if(!t||!Object(s.a)(e))return{};for(var n={},r=Object(l.a)(t)?t:function(e){return e[t]},i=0;i<e.length;i++){var o=e[i],a=r(o);u.call(n,a)?n[a].push(o):n[a]=[o]}return n}},function(e,t,n){"use strict";t.a=function(e,t){return e.hasOwnProperty(t)}},function(e,t,n){"use strict";var r={}.toString;t.a=function(e){return r.call(e).replace(/^\[object /,"").replace(/]$/,"")}},function(e,t,n){"use strict";var r=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,n){"use strict";var r=n(2);t.a=function(a,s){var e;if(Object(r.a)(a))return(e=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r,i=s?s.apply(this,t):t[0],o=e.cache;return o.has(i)?o.get(i):(r=a.apply(this,t),o.set(i,r),r)}).cache=new Map,e;throw new TypeError("Expected a function")}},function(e,t,n){"use strict";var s=n(14),l=n(1),u=n(4);t.a=function e(t,n){if(t===n)return!0;if(t&&n&&!Object(u.a)(t)&&!Object(u.a)(n)){if(Object(l.a)(t)||Object(l.a)(n)){if(t.length!==n.length)return!1;for(var r=!0,i=0;i<t.length&&(r=e(t[i],n[i]));i++);return r}if(Object(s.a)(t)||Object(s.a)(n)){var o=Object.keys(t),a=Object.keys(n);if(o.length!==a.length)return!1;for(r=!0,i=0;i<o.length&&(r=e(t[o[i]],n[o[i]]));i++);return r}}return!1}},function(e,t,n){"use strict";var a,r=n(116),i=n(15),o=n(32),s=n(4);t.a=Object(o.a)(function(e,t){var n=(t=void 0===t?{}:t).fontSize,r=t.fontFamily,i=t.fontWeight,o=t.fontStyle,t=t.fontVariant;return(a=a||document.createElement("canvas").getContext("2d")).font=[o,t,i,n+"px",r].join(" "),a.measureText(Object(s.a)(e)?e:"").width},function(e,t){return void 0===t&&(t={}),Object(r.a)([e],Object(i.a)(t)).join("")})},function(e,t,n){var u=n(18);e.exports=function(e,t){for(var n=u(e.data,t,!0),r=u(e.data,t,!0),i=e.children.length,o=Math.round(i/2),a=t.getSide||function(e,t){return t<o?"right":"left"},s=0;s<i;s++){var l=e.children[s];("right"===a(l,s)?r:n).children.push(l)}return n.eachNode(function(e){e.isRoot()||(e.side="left")}),r.eachNode(function(e){e.isRoot()||(e.side="right")}),{left:n,right:r}}},function(e,t,n){n={compactBox:n(37),dendrogram:n(120),indented:n(122),mindmap:n(124)};e.exports=n},function(e,t,n){function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var i,o=n(11),a=n(119),s=n(17),l=n(6),u=(n=i=o,(o=f).prototype=Object.create(n.prototype),r(o.prototype.constructor=o,n),f.prototype.execute=function(){return s(this.rootNode,this.options,a)},f),c={};function f(){return i.apply(this,arguments)||this}e.exports=function(e,t){return t=l.assign({},c,t),new u(e,t).execute()}},function(B,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=t(13),r=(t.d(e,"contains",function(){return n.a}),t.d(e,"includes",function(){return n.a}),t(39)),i=(t.d(e,"difference",function(){return r.a}),t(40)),o=(t.d(e,"find",function(){return i.a}),t(41)),a=(t.d(e,"findIndex",function(){return o.a}),t(42)),s=(t.d(e,"firstValue",function(){return a.a}),t(43)),l=(t.d(e,"flatten",function(){return s.a}),t(44)),u=(t.d(e,"flattenDeep",function(){return l.a}),t(45)),c=(t.d(e,"getRange",function(){return u.a}),t(46)),f=(t.d(e,"pull",function(){return c.a}),t(24)),h=(t.d(e,"pullAt",function(){return f.a}),t(25)),d=(t.d(e,"reduce",function(){return h.a}),t(47)),p=(t.d(e,"remove",function(){return d.a}),t(48)),y=(t.d(e,"sortBy",function(){return p.a}),t(49)),m=(t.d(e,"union",function(){return y.a}),t(26)),g=(t.d(e,"uniq",function(){return m.a}),t(50)),v=(t.d(e,"valuesOfKey",function(){return g.a}),t(51)),b=(t.d(e,"head",function(){return v.a}),t(52)),_=(t.d(e,"last",function(){return b.a}),t(53)),x=(t.d(e,"startsWith",function(){return _.a}),t(54)),w=(t.d(e,"endsWith",function(){return x.a}),t(19)),A=(t.d(e,"filter",function(){return w.a}),t(55)),S=(t.d(e,"every",function(){return A.a}),t(56)),C=(t.d(e,"some",function(){return S.a}),t(57)),O=(t.d(e,"group",function(){return C.a}),t(28)),E=(t.d(e,"groupBy",function(){return O.a}),t(27)),M=(t.d(e,"groupToMap",function(){return E.a}),t(58)),P=(t.d(e,"getWrapBehavior",function(){return M.a}),t(59)),k=(t.d(e,"wrapBehavior",function(){return P.a}),t(60)),T=(t.d(e,"number2color",function(){return k.a}),t(61)),I=(t.d(e,"parseRadius",function(){return T.a}),t(62)),L=(t.d(e,"clamp",function(){return I.a}),t(63)),j=(t.d(e,"fixedBase",function(){return L.a}),t(64)),R=(t.d(e,"isDecimal",function(){return j.a}),t(65)),N=(t.d(e,"isEven",function(){return R.a}),t(66)),z=(t.d(e,"isInteger",function(){return N.a}),t(67)),F=(t.d(e,"isNegative",function(){return z.a}),t(68)),V=(t.d(e,"isNumberEqual",function(){return F.a}),t(69)),H=(t.d(e,"isOdd",function(){return V.a}),t(70)),Y=(t.d(e,"isPositive",function(){return H.a}),t(22)),G=(t.d(e,"max",function(){return Y.a}),t(71)),U=(t.d(e,"maxBy",function(){return G.a}),t(23)),Q=(t.d(e,"min",function(){return U.a}),t(72)),W=(t.d(e,"minBy",function(){return Q.a}),t(73)),q=(t.d(e,"mod",function(){return W.a}),t(74)),K=(t.d(e,"toDegree",function(){return q.a}),t(75)),X=(t.d(e,"toInteger",function(){return K.a}),t(76)),J=(t.d(e,"toRadian",function(){return X.a}),t(77)),$=(t.d(e,"forIn",function(){return J.a}),t(29)),Z=(t.d(e,"has",function(){return $.a}),t(78)),ee=(t.d(e,"hasKey",function(){return Z.a}),t(79)),te=(t.d(e,"hasValue",function(){return ee.a}),t(21)),ne=(t.d(e,"keys",function(){return te.a}),t(20)),re=(t.d(e,"isMatch",function(){return ne.a}),t(15)),ie=(t.d(e,"values",function(){return re.a}),t(80)),oe=(t.d(e,"lowerCase",function(){return ie.a}),t(81)),ae=(t.d(e,"lowerFirst",function(){return oe.a}),t(82)),se=(t.d(e,"substitute",function(){return ae.a}),t(83)),le=(t.d(e,"upperCase",function(){return se.a}),t(84)),ue=(t.d(e,"upperFirst",function(){return le.a}),t(30)),ce=(t.d(e,"getType",function(){return ue.a}),t(85)),fe=(t.d(e,"isArguments",function(){return ce.a}),t(0)),he=(t.d(e,"isArray",function(){return fe.a}),t(1)),de=(t.d(e,"isArrayLike",function(){return he.a}),t(86)),pe=(t.d(e,"isBoolean",function(){return de.a}),t(87)),ye=(t.d(e,"isDate",function(){return pe.a}),t(88)),me=(t.d(e,"isError",function(){return ye.a}),t(2)),ge=(t.d(e,"isFunction",function(){return me.a}),t(89)),ve=(t.d(e,"isFinite",function(){return ge.a}),t(7)),be=(t.d(e,"isNil",function(){return ve.a}),t(90)),_e=(t.d(e,"isNull",function(){return be.a}),t(5)),xe=(t.d(e,"isNumber",function(){return _e.a}),t(12)),we=(t.d(e,"isObject",function(){return xe.a}),t(14)),Ae=(t.d(e,"isObjectLike",function(){return we.a}),t(10)),Se=(t.d(e,"isPlainObject",function(){return Ae.a}),t(31)),Ce=(t.d(e,"isPrototype",function(){return Se.a}),t(91)),Oe=(t.d(e,"isRegExp",function(){return Ce.a}),t(4)),Ee=(t.d(e,"isString",function(){return Oe.a}),t(3)),Me=(t.d(e,"isType",function(){return Ee.a}),t(92)),Pe=(t.d(e,"isUndefined",function(){return Me.a}),t(93)),ke=(t.d(e,"isElement",function(){return Pe.a}),t(94)),Te=(t.d(e,"requestAnimationFrame",function(){return ke.a}),t(95)),Ie=(t.d(e,"clearAnimationFrame",function(){return Te.a}),t(96)),Le=(t.d(e,"augment",function(){return Ie.a}),t(97)),je=(t.d(e,"clone",function(){return Le.a}),t(98)),De=(t.d(e,"debounce",function(){return je.a}),t(32)),Be=(t.d(e,"memoize",function(){return De.a}),t(99)),Re=(t.d(e,"deepMix",function(){return Be.a}),t(8)),Ne=(t.d(e,"each",function(){return Re.a}),t(100)),ze=(t.d(e,"extend",function(){return Ne.a}),t(101)),Fe=(t.d(e,"indexOf",function(){return ze.a}),t(102)),Ve=(t.d(e,"isEmpty",function(){return Fe.a}),t(33)),He=(t.d(e,"isEqual",function(){return Ve.a}),t(103)),Ye=(t.d(e,"isEqualWith",function(){return He.a}),t(104)),Ge=(t.d(e,"map",function(){return Ye.a}),t(105)),D=(t.d(e,"mapValues",function(){return Ge.a}),t(16)),Ue=(t.d(e,"mix",function(){return D.a}),t.d(e,"assign",function(){return D.a}),t(106)),Qe=(t.d(e,"get",function(){return Ue.a}),t(107)),We=(t.d(e,"set",function(){return Qe.a}),t(108)),qe=(t.d(e,"pick",function(){return We.a}),t(109)),Ke=(t.d(e,"omit",function(){return qe.a}),t(110)),Xe=(t.d(e,"throttle",function(){return Ke.a}),t(111)),Je=(t.d(e,"toArray",function(){return Xe.a}),t(9)),$e=(t.d(e,"toString",function(){return Je.a}),t(112)),Ze=(t.d(e,"uniqueId",function(){return $e.a}),t(113)),et=(t.d(e,"noop",function(){return Ze.a}),t(114)),tt=(t.d(e,"identity",function(){return et.a}),t(115)),nt=(t.d(e,"size",function(){return tt.a}),t(34)),rt=(t.d(e,"measureTextWidth",function(){return nt.a}),t(117)),it=(t.d(e,"getEllipsisText",function(){return rt.a}),t(118));t.d(e,"Cache",function(){return it.a})},function(e,t,n){"use strict";var r=n(19),i=n(13);t.a=function(e,t){return void 0===t&&(t=[]),Object(r.a)(e,function(e){return!Object(i.a)(t,e)})}},function(e,t,n){"use strict";var i=n(2),o=n(20),a=n(0),s=n(10);t.a=function(e,t){var n;if(Object(a.a)(e)&&(Object(i.a)(t)&&(n=t),n=Object(s.a)(t)?function(e){return Object(o.a)(e,t)}:n))for(var r=0;r<e.length;r+=1)if(n(e[r]))return e[r];return null}},function(e,t,n){"use strict";t.a=function(e,t,n){for(var r=n=void 0===n?0:n;r<e.length;r++)if(t(e[r],r))return r;return-1}},function(e,t,n){"use strict";var o=n(7),a=n(0);t.a=function(e,t){for(var n=null,r=0;r<e.length;r++){var i=e[r][t];if(!Object(o.a)(i)){n=Object(a.a)(i)?i[0]:i;break}}return n}},function(e,t,n){"use strict";var r=n(0);t.a=function(e){if(!Object(r.a)(e))return[];for(var t=[],n=0;n<e.length;n++)t=t.concat(e[n]);return t}},function(e,t,n){"use strict";var i=n(0);t.a=function e(t,n){if(void 0===n&&(n=[]),Object(i.a)(t))for(var r=0;r<t.length;r+=1)e(t[r],n);else n.push(t);return n}},function(e,t,n){"use strict";var o=n(0),a=n(22),s=n(23);t.a=function(e){var t=e.filter(function(e){return!isNaN(e)});if(!t.length)return{min:0,max:0};if(Object(o.a)(e[0])){for(var n=[],r=0;r<e.length;r++)n=n.concat(e[r]);t=n}var i=Object(a.a)(t);return{min:Object(s.a)(t),max:i}}},function(e,t,n){"use strict";var r=Array.prototype,a=r.splice,s=r.indexOf;t.a=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)for(var i,o=t[r];-1<(i=s.call(e,o));)a.call(e,i,1);return e}},function(e,t,n){"use strict";var s=n(1),l=n(24);t.a=function(e,t){var n=[];if(Object(s.a)(e)){for(var r=-1,i=[],o=e.length;++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}Object(l.a)(e,i)}return n}},function(e,t,n){"use strict";var r=n(0),o=n(4),a=n(2);t.a=function(e,n){var i,t=Object(a.a)(n)?function(e,t){return n(e)-n(t)}:(i=[],Object(o.a)(n)?i.push(n):Object(r.a)(n)&&(i=n),function(e,t){for(var n=0;n<i.length;n+=1){var r=i[n];if(e[r]>t[r])return 1;if(e[r]<t[r])return-1}return 0});return e.sort(t),e}},function(e,t,n){"use strict";var r=n(26);t.a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object(r.a)([].concat.apply([],e))}},function(e,t,n){"use strict";var l=n(0),u=n(7);t.a=function(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i][t];if(!Object(u.a)(o)){Object(l.a)(o)||(o=[o]);for(var a=0;a<o.length;a++){var s=o[a];r[s]||(n.push(s),r[s]=!0)}}}return n}},function(e,t,n){"use strict";t.a=function(e){if(Object(r.a)(e))return e[0]};var r=n(1)},function(e,t,n){"use strict";t.a=function(e){if(Object(r.a)(e))return e[e.length-1]};var r=n(1)},function(e,t,n){"use strict";var r=n(0),i=n(4);t.a=function(e,t){return!(!Object(r.a)(e)&&!Object(i.a)(e))&&e[0]===t}},function(e,t,n){"use strict";var r=n(0),i=n(4);t.a=function(e,t){return!(!Object(r.a)(e)&&!Object(i.a)(e))&&e[e.length-1]===t}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=0;n<e.length;n++)if(!t(e[n],n))return!1;return!0}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n))return!0;return!1}},function(e,t,n){"use strict";var o=n(27);t.a=function(e,t){if(!t)return[e];var n,r=Object(o.a)(e,t),i=[];for(n in r)i.push(r[n]);return i}},function(e,t,n){"use strict";t.a=function(e,t){return e["_wrap_"+t]}},function(e,t,n){"use strict";t.a=function(t,n){return t["_wrap_"+n]||(t["_wrap_"+n]=function(e){t[n](e)})}},function(e,t,n){"use strict";var i={};t.a=function(e){var t=i[e];if(!t){for(var n=e.toString(16),r=n.length;r<6;r++)n="0"+n;i[e]=t="#"+n}return t}},function(e,t,n){"use strict";var o=n(0);t.a=function(e){var t=0,n=0,r=0,i=0;return Object(o.a)(e)?1===e.length?t=n=r=i=e[0]:2===e.length?(t=r=e[0],n=i=e[1]):3===e.length?(t=e[0],n=i=e[1],r=e[2]):(t=e[0],n=e[1],r=e[2],i=e[3]):t=n=r=i=e,{r1:t,r2:n,r3:r,r4:i}}},function(e,t,n){"use strict";t.a=function(e,t,n){return e<t?t:n<e?n:e}},function(e,t,n){"use strict";t.a=function(e,t){var t=t.toString(),n=t.indexOf(".");return-1===n?Math.round(e):(20<(t=t.substr(n+1).length)&&(t=20),parseFloat(e.toFixed(t)))}},function(e,t,n){"use strict";var r=n(5);t.a=function(e){return Object(r.a)(e)&&e%1!=0}},function(e,t,n){"use strict";var r=n(5);t.a=function(e){return Object(r.a)(e)&&e%2==0}},function(e,t,n){"use strict";var r=n(5),n=Number.isInteger||function(e){return Object(r.a)(e)&&e%1==0};t.a=n},function(e,t,n){"use strict";var r=n(5);t.a=function(e){return Object(r.a)(e)&&e<0}},function(e,t,n){"use strict";t.a=function(e,t,n){return void 0===n&&(n=r),Math.abs(e-t)<n};var r=1e-5},function(e,t,n){"use strict";var r=n(5);t.a=function(e){return Object(r.a)(e)&&e%2!=0}},function(e,t,n){"use strict";var r=n(5);t.a=function(e){return Object(r.a)(e)&&0<e}},function(e,t,n){"use strict";var s=n(0),l=n(2);t.a=function(e,t){if(Object(s.a)(e)){for(var n,r=-1/0,i=0;i<e.length;i++){var o=e[i],a=Object(l.a)(t)?t(o):o[t];r<a&&(n=o,r=a)}return n}}},function(e,t,n){"use strict";var s=n(0),l=n(2);t.a=function(e,t){if(Object(s.a)(e)){for(var n,r=1/0,i=0;i<e.length;i++){var o=e[i],a=Object(l.a)(t)?t(o):o[t];a<r&&(n=o,r=a)}return n}}},function(e,t,n){"use strict";t.a=function(e,t){return(e%t+t)%t}},function(e,t,n){"use strict";var r=180/Math.PI;t.a=function(e){return r*e}},function(e,t,n){"use strict";t.a=parseInt},function(e,t,n){"use strict";var r=Math.PI/180;t.a=function(e){return r*e}},function(e,t,n){"use strict";n=n(8);t.a=n.a},function(e,t,n){"use strict";n=n(29);t.a=n.a},function(e,t,n){"use strict";var r=n(13),i=n(15);t.a=function(e,t){return Object(r.a)(Object(i.a)(e),t)}},function(e,t,n){"use strict";var r=n(9);t.a=function(e){return Object(r.a)(e).toLowerCase()}},function(e,t,n){"use strict";var r=n(9);t.a=function(e){e=Object(r.a)(e);return e.charAt(0).toLowerCase()+e.substring(1)}},function(e,t,n){"use strict";t.a=function(e,n){return e&&n?e.replace(/\\?\{([^{}]+)\}/g,function(e,t){return"\\"===e.charAt(0)?e.slice(1):void 0===n[t]?"":n[t]}):e}},function(e,t,n){"use strict";var r=n(9);t.a=function(e){return Object(r.a)(e).toUpperCase()}},function(e,t,n){"use strict";var r=n(9);t.a=function(e){e=Object(r.a)(e);return e.charAt(0).toUpperCase()+e.substring(1)}},function(e,t,n){"use strict";var r=n(3);t.a=function(e){return Object(r.a)(e,"Arguments")}},function(e,t,n){"use strict";var r=n(3);t.a=function(e){return Object(r.a)(e,"Boolean")}},function(e,t,n){"use strict";var r=n(3);t.a=function(e){return Object(r.a)(e,"Date")}},function(e,t,n){"use strict";var r=n(3);t.a=function(e){return Object(r.a)(e,"Error")}},function(e,t,n){"use strict";var r=n(5);t.a=function(e){return Object(r.a)(e)&&isFinite(e)}},function(e,t,n){"use strict";t.a=function(e){return null===e}},function(e,t,n){"use strict";var r=n(3);t.a=function(e){return Object(r.a)(e,"RegExp")}},function(e,t,n){"use strict";t.a=function(e){return void 0===e}},function(e,t,n){"use strict";t.a=function(e){return e instanceof Element||e instanceof HTMLDocument}},function(e,t,n){"use strict";t.a=function(e){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16)})(e)}},function(e,t,n){"use strict";t.a=function(e){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(e)}},function(e,t,n){"use strict";var o=n(16),a=n(2);t.a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=1;r<e.length;r++){var i=e[r];Object(a.a)(i)&&(i=i.prototype),Object(o.a)(n.prototype,i)}}},function(e,t,n){"use strict";var a=n(0);t.a=function e(t){if("object"!==s(t)||null===t)return t;if(Object(a.a)(t))for(var n=[],r=0,i=t.length;r<i;r++)"object"===s(t[r])&&null!=t[r]?n[r]=e(t[r]):n[r]=t[r];else for(var o in n={},t)"object"===s(t[o])&&null!=t[o]?n[o]=e(t[o]):n[o]=t[o];return n}},function(e,t,n){"use strict";t.a=function(r,i,o){var a;return function(){var e=this,t=arguments,n=o&&!a;clearTimeout(a),a=setTimeout(function(){a=null,o||r.apply(e,t)},i),n&&r.apply(e,t)}}},function(e,t,n){"use strict";var s=n(0),l=n(10),u=5;t.a=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r+=1)!function e(t,n,r,i){for(var o in r=r||0,i=i||u,n){var a;n.hasOwnProperty(o)&&(null!==(a=n[o])&&Object(l.a)(a)?(Object(l.a)(t[o])||(t[o]={}),r<i?e(t[o],a,r+1,i):t[o]=n[o]):Object(s.a)(a)?(t[o]=[],t[o]=t[o].concat(a)):void 0!==a&&(t[o]=a))}}(e,t[r]);return e}},function(e,t,n){"use strict";var a=n(16),s=n(2);t.a=function(e,t,n,r){Object(s.a)(t)||(n=t,t=e,e=function(){});var i=Object.create?function(e,t){return Object.create(e,{constructor:{value:t}})}:function(e,t){function n(){}n.prototype=e;e=new n;return e.constructor=t,e},o=i(t.prototype,e);return e.prototype=Object(a.a)(o,e.prototype),e.superclass=i(t.prototype,t),Object(a.a)(o,n),Object(a.a)(e,r),e}},function(e,t,n){"use strict";var o=n(1);t.a=function(e,t){if(!Object(o.a)(e))return-1;var n=Array.prototype.indexOf;if(n)return n.call(e,t);for(var r=-1,i=0;i<e.length;i++)if(e[i]===t){r=i;break}return r}},function(e,t,n){"use strict";var r=n(7),i=n(1),o=n(30),a=n(31),s=Object.prototype.hasOwnProperty;t.a=function(e){if(!Object(r.a)(e)){if(Object(i.a)(e))return!e.length;var t,n=Object(o.a)(e);if("Map"===n||"Set"===n)return!e.size;if(Object(a.a)(e))return!Object.keys(e).length;for(t in e)if(s.call(e,t))return!1}return!0}},function(e,t,n){"use strict";var r=n(2),i=n(33);t.a=function(e,t,n){return Object(r.a)(n)?!!n(e,t):Object(i.a)(e,t)}},function(e,t,n){"use strict";var o=n(1);t.a=function(e,t){if(!Object(o.a)(e))return e;for(var n=[],r=0;r<e.length;r++){var i=e[r];n.push(t(i,r))}return n}},function(e,t,n){"use strict";function i(e){return e}var o=n(7),a=n(12);t.a=function(t,n){void 0===n&&(n=i);var r={};return Object(a.a)(t)&&!Object(o.a)(t)&&Object.keys(t).forEach(function(e){r[e]=n(t[e],e)}),r}},function(e,t,n){"use strict";var o=n(4);t.a=function(e,t,n){for(var r=0,i=Object(o.a)(t)?t.split("."):t;e&&r<i.length;)e=e[i[r++]];return void 0===e||r<i.length?n:e}},function(e,t,n){"use strict";var o=n(12),a=n(4),s=n(5);t.a=function(e,t,n){var r=e,i=Object(a.a)(t)?t.split("."):t;return i.forEach(function(e,t){t<i.length-1?(Object(o.a)(r[e])||(r[e]=Object(s.a)(i[t+1])?[]:{}),r=r[e]):r[e]=n}),e}},function(e,t,n){"use strict";var r=n(8),i=n(10),o=Object.prototype.hasOwnProperty;t.a=function(t,e){var n;return null!==t&&Object(i.a)(t)?(n={},Object(r.a)(e,function(e){o.call(t,e)&&(n[e]=t[e])}),n):{}}},function(e,t,n){"use strict";var i=n(25);t.a=function(e,r){return Object(i.a)(e,function(e,t,n){return r.includes(n)||(e[n]=t),e},{})}},function(e,t,n){"use strict";t.a=function(n,r,i){function e(){var e=Date.now(),t=(u||!1!==i.leading||(u=e),r-(e-u));return a=this,s=arguments,t<=0||r<t?(o&&(clearTimeout(o),o=null),u=e,l=n.apply(a,s),o||(a=s=null)):o||!1===i.trailing||(o=setTimeout(c,t)),l}var o,a,s,l,u=0,c=(i=i||{},function(){u=!1===i.leading?0:Date.now(),o=null,l=n.apply(a,s),o||(a=s=null)});return e.cancel=function(){clearTimeout(o),u=0,o=a=s=null},e}},function(e,t,n){"use strict";var r=n(1);t.a=function(e){return Object(r.a)(e)?Array.prototype.slice.call(e):[]}},function(e,t,n){"use strict";var r={};t.a=function(e){return r[e=e||"g"]?r[e]+=1:r[e]=1,e+r[e]}},function(e,t,n){"use strict";t.a=function(){}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";t.a=function(e){return Object(r.a)(e)?0:(Object(i.a)(e)?e:Object.keys(e)).length};var r=n(7),i=n(1)},function(e,t,n){"use strict";t.a=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},Object.create,Object.create},function(e,t,n){"use strict";var c=n(4),f=n(9),h=n(34);t.a=function(e,t,n,r){void 0===r&&(r="...");var i,o,a=Object(h.a)(r,n),s=Object(c.a)(e)?e:Object(f.a)(e),l=t,u=[];if(Object(h.a)(e,n)<=t)return e;for(;i=s.substr(0,16),!((o=Object(h.a)(i,n))+a>l&&l<o);)if(u.push(i),l-=o,!(s=s.substr(16)))return u.join("");for(;i=s.substr(0,1),!((o=Object(h.a)(i,n))+a>l);)if(u.push(i),l-=o,!(s=s.substr(1)))return u.join("");return""+u.join("")+r}},function(e,t,n){"use strict";function r(){this.map={}}r.prototype.has=function(e){return void 0!==this.map[e]},r.prototype.get=function(e,t){e=this.map[e];return void 0===e?t:e},r.prototype.set=function(e,t){this.map[e]=t},r.prototype.clear=function(){this.map={}},r.prototype.delete=function(e){delete this.map[e]},r.prototype.size=function(){return Object.keys(this.map).length},t.a=r},function(e,t){function r(e,t,n,r){void 0===r&&(r=[]);var i=this;i.w=e||0,i.h=t||0,i.y=n||0,i.x=0,i.c=r||[],i.cs=r.length,i.prelim=0,i.mod=0,i.shift=0,i.change=0,i.tl=null,i.tr=null,i.el=null,i.er=null,i.msel=0,i.mser=0}r.fromNode=function(e,t){var n;return e?(n=[],e.children.forEach(function(e){n.push(r.fromNode(e,t))}),t?new r(e.height,e.width,e.x,n):new r(e.width,e.height,e.y,n)):null},e.exports=function(e,t){t=(t=void 0===t?{}:t).isHorizontal;function A(e){0===e.cs?((e.el=e).er=e).msel=e.mser=0:(e.el=e.c[0].el,e.msel=e.c[0].msel,e.er=e.c[e.cs-1].er,e.mser=e.c[e.cs-1].mser)}function S(e){return e.y+e.h}function C(e,t,n){for(;null!==n&&e>=n.low;)n=n.nxt;return{low:e,index:t,nxt:n}}!function t(e,n,r){void 0===r&&(r=0),n?(e.x=r,r+=e.width):(e.y=r,r+=e.height),e.children.forEach(function(e){t(e,n,r)})}(e,t);var n=r.fromNode(e,t);return function e(t){if(0!==t.cs){e(t.c[0]);for(var n=C(S(t.c[0].el),0,null),r=1;r<t.cs;++r){e(t.c[r]);for(var i,o,a,s,l,u=S(t.c[r].er),c=(l=i=o=a=s=g=w=x=_=b=v=m=y=p=d=h=f=c=void 0,t),f=r,h=n,d=c.c[f-1],p=d.mod,y=c.c[f],m=y.mod;null!==d&&null!==y;){S(d)>h.low&&(h=h.nxt);var g,v=p+d.prelim+d.w-(m+y.prelim);if(0<v){m+=v;{b=void 0;_=void 0;x=void 0;w=void 0;g=void 0;var b=c;var _=f;var x=h.index;var w=v;b.c[_].mod+=w,b.c[_].msel+=w,b.c[_].mser+=w;x!==_-1&&(g=_-x,b.c[x+1].shift+=w/g,b.c[_].shift-=w/g,b.c[_].change-=w-w/g)}}v=S(d),x=S(y);v<=x&&null!==(d=0===(b=d).cs?b.tr:b.c[b.cs-1])&&(p+=d.mod),x<=v&&null!==(y=0===(_=y).cs?_.tl:_.c[0])&&(m+=y.mod)}!d&&y?(o=f,a=y,s=m,l=(i=c).c[0].el,s=s-(l.tl=a).mod-i.c[0].msel,l.mod+=s,l.prelim-=s,i.c[0].el=i.c[o].el,i.c[0].msel=i.c[o].msel):d&&!y&&(a=f,l=d,s=p,o=(i=c).c[a].er,s=s-(o.tr=l).mod-i.c[a].mser,o.mod+=s,o.prelim-=s,i.c[a].er=i.c[a-1].er,i.c[a].mser=i.c[a-1].mser),n=C(u,r,n)}t.prelim=(t.c[0].prelim+t.c[0].mod+t.c[t.cs-1].mod+t.c[t.cs-1].prelim+t.c[t.cs-1].w)/2-t.w/2}A(t)}(n),function e(t,n){n+=t.mod,t.x=t.prelim+n;for(var r=t,i=0,o=0,a=0;a<r.cs;a++)o+=(i+=r.c[a].shift)+r.c[a].change,r.c[a].mod+=o;for(var s=0;s<t.cs;s++)e(t.c[s],n)}(n,0),function n(e,r,i){i?r.y=e.x:r.x=e.x,e.c.forEach(function(e,t){n(e,r.children[t],i)})}(n,e,t),function t(e,n,r){r?e.y+=n:e.x+=n,e.children.forEach(function(e){t(e,n,r)})}(e,-function t(e,n){var r=n?e.y:e.x;return e.children.forEach(function(e){r=Math.min(t(e,n),r)}),r}(e,n=t),n),e}},function(e,t,n){function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var i,o=n(11),a=n(121),s=n(17),l=n(6),u=(n=i=o,(o=f).prototype=Object.create(n.prototype),r(o.prototype.constructor=o,n),f.prototype.execute=function(){return this.rootNode.width=0,s(this.rootNode,this.options,a)},f),c={};function f(){return i.apply(this,arguments)||this}e.exports=function(e,t){return t=l.assign({},c,t),new u(e,t).execute()}},function(e,t,n){var i=n(6),a={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};e.exports=function(e,n){void 0===n&&(n={}),n=i.assign({},a,n);var r,o=0,t=function n(e){if(!e)return null;e.width=0,e.depth&&e.depth>o&&(o=e.depth);var t=e.children,r=t.length,i=new function(e,t){void 0===t&&(t=[]);this.x=this.y=0,this.leftChild=this.rightChild=null,this.height=0,this.children=t}(e.height,[]);return t.forEach(function(e,t){e=n(e);i.children.push(e),0===t&&(i.leftChild=e),t===r-1&&(i.rightChild=e)}),i.originNode=e,i.isLeaf=e.isLeaf(),i}(e);return function e(t){var n;return t.isLeaf||0===t.children.length?t.drawingDepth=o:(n=t.children.map(e),n=Math.min.apply(null,n),t.drawingDepth=n-1),t.drawingDepth}(t),function t(e){e.x=e.drawingDepth*n.rankSep,e.isLeaf?(e.y=0,r&&(e.y=r.y+r.height+n.nodeSep,e.originNode.parent!==r.originNode.parent)&&(e.y+=n.subTreeSep),r=e):(e.children.forEach(function(e){t(e)}),e.y=(e.leftChild.y+e.rightChild.y)/2)}(t),function n(e,r,i){i?(r.x=e.x,r.y=e.y):(r.x=e.y,r.y=e.x),e.children.forEach(function(e,t){n(e,r.children[t],i)})}(t,e,n.isHorizontal),e}},function(e,t,n){function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var i,o=n(11),a=n(123),s=n(35),l=n(6),u=["LR","RL","H"],c=u[0],f=(n=i=o,(o=d).prototype=Object.create(n.prototype),r(o.prototype.constructor=o,n),d.prototype.execute=function(){var e=this.options,t=this.rootNode,n=(e.isHorizontal=!0,e.indent),n=void 0===n?20:n,r=e.dropCap,r=void 0===r||r,i=e.direction,i=void 0===i?c:i,o=e.align;if(i&&-1===u.indexOf(i))throw new TypeError("Invalid direction: "+i);return i===u[0]?a(t,n,r,o):i===u[1]?(a(t,n,r,o),t.right2left()):i===u[2]&&(e=(i=s(t,e)).left,i=i.right,a(e,n,r,o),e.right2left(),a(i,n,r,o),n=e.getBoundingBox(),i.translate(n.width,0),t.x=i.x-t.width/2),t},d),h={};function d(){return i.apply(this,arguments)||this}e.exports=function(e,t){return t=l.assign({},h,t),new f(e,t).execute()}},function(e,t,n){var o=n(6);e.exports=function(e,t,n,r){var i=null;e.eachNode(function(e){!function(e,t,n,r,i){var n="function"==typeof n?n(e):n*e.depth;if(!r)try{if(e.id===e.parent.children[0].id)return e.x+=n,e.y=t?t.y:0}catch(e){}e.x+=n,t?(e.y=t.y+o.getHeight(t,e,i),t.parent&&e.parent.id!==t.parent.id&&(n=(r=t.parent).y+o.getHeight(r,e,i),e.y=n>e.y?n:e.y)):e.y=0}(e,i,t,n,r),i=e})}},function(e,t,n){function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var i,o=n(11),a=n(125),s=n(17),l=n(6),u=(n=i=o,(o=f).prototype=Object.create(n.prototype),r(o.prototype.constructor=o,n),f.prototype.execute=function(){return s(this.rootNode,this.options,a)},f),c={};function f(){return i.apply(this,arguments)||this}e.exports=function(e,t){return t=l.assign({},c,t),new u(e,t).execute()}},function(e,t,n){var r=n(6),i={getSubTreeSep:function(){return 0}};e.exports=function(e,t){t=r.assign({},i,t=void 0===t?{}:t),e.parent={x:0,width:0,height:0,y:0},e.BFTraverse(function(e){e.x=e.parent.x+e.parent.width}),e.parent=null,function t(e,n){var r=0;return e.children.length?e.children.forEach(function(e){r+=t(e,n)}):r=e.height,e._subTreeSep=n.getSubTreeSep(e.data),e.totalHeight=Math.max(e.height,r)+2*e._subTreeSep,e.totalHeight}(e,t),e.startY=0,e.y=e.totalHeight/2-e.height/2,e.eachNode(function(e){var t=e.children,n=t.length;if(n){var r=t[0];if(r.startY=e.startY+e._subTreeSep,1===n)r.y=e.y+e.height/2-r.height/2;else{r.y=r.startY+r.totalHeight/2-r.height/2;for(var i=1;i<n;i++){var o=t[i];o.startY=t[i-1].startY+t[i-1].totalHeight,o.y=o.startY+o.totalHeight/2-o.height/2}}}}),function t(e){var n,r,i,o,a=e.children,s=a.length;s&&(a.forEach(function(e){t(e)}),n=a[0],r=(s=a[s-1]).y-n.y+s.height,i=0,a.forEach(function(e){i+=e.totalHeight}),r>e.height?e.y=n.y+r/2-e.height/2:1!==a.length||e.height>i?(o=e.y+(e.height-r)/2-n.y,a.forEach(function(e){e.translate(0,o)})):e.y=(n.y+n.height/2+s.y+s.height/2)/2-e.height/2)}(e)}}],i={},r.m=n,r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=36);function r(e){var t;return(i[e]||(t=i[e]={i:e,l:!1,exports:{}},n[e].call(t.exports,t,t.exports,r),t.l=!0,t)).exports}var n,i},"object"===s(t)&&"object"===s(e)?e.exports=n():void 0!==(t="function"==typeof(n=n)?n.apply(t,[]):n)&&(e.exports=t)},16038:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&("get"in i?t.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.getLayoutByName=t.unRegisterLayout=t.registerLayout=void 0,n(52235));Object.defineProperty(t,"registerLayout",{enumerable:!0,get:function(){return o.registerLayout}}),Object.defineProperty(t,"unRegisterLayout",{enumerable:!0,get:function(){return o.unRegisterLayout}}),Object.defineProperty(t,"getLayoutByName",{enumerable:!0,get:function(){return o.getLayoutByName}}),i(n(71812),t)},9284:function(e,t){"use strict";function n(){this.nodes=[],this.edges=[],this.combos=[],this.comboEdges=[],this.hiddenNodes=[],this.hiddenEdges=[],this.hiddenCombos=[],this.vedges=[],this.positions=[],this.destroyed=!1,this.onLayoutEnd=function(){}}Object.defineProperty(t,"__esModule",{value:!0}),t.Base=void 0,n.prototype.layout=function(e){return this.init(e),this.execute(!0)},n.prototype.init=function(e){this.nodes=e.nodes||[],this.edges=e.edges||[],this.combos=e.combos||[],this.comboEdges=e.comboEdges||[],this.hiddenNodes=e.hiddenNodes||[],this.hiddenEdges=e.hiddenEdges||[],this.hiddenCombos=e.hiddenCombos||[],this.vedges=e.vedges||[]},n.prototype.execute=function(e){},n.prototype.executeWithWorker=function(){},n.prototype.getDefaultCfg=function(){return{}},n.prototype.updateCfg=function(e){e&&Object.assign(this,e)},n.prototype.getType=function(){return"base"},n.prototype.destroy=function(){this.nodes=null,this.edges=null,this.combos=null,this.positions=null,this.destroyed=!0},t.Base=n},64933:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=(Object.defineProperty(t,"__esModule",{value:!0}),t.CircularLayout=void 0,n(9284)),M=n(58652);function a(e,t){e=e.degree,t=t.degree;return e<t?-1:t<e?1:0}s=o.Base,i(l,s),l.prototype.getDefaultCfg=function(){return{radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1}},l.prototype.execute=function(){var e=this.nodes,t=this.edges,n=e.length;if(0!==n){this.width||"undefined"==typeof window||(this.width=window.innerWidth),this.height||"undefined"==typeof window||(this.height=window.innerHeight),this.center||(this.center=[this.width/2,this.height/2]);var r=this.center;if(1===n)return e[0].x=r[0],e[0].y=r[1],void(this.onLayoutEnd&&this.onLayoutEnd());for(var i,o,a,s,l=this.radius,u=this.startRadius,c=this.endRadius,f=this.divisions,h=this.startAngle,d=this.endAngle,p=this.angleRatio,y=this.ordering,m=this.clockwise,g=this.nodeSpacing,v=this.nodeSize,b=(d-h)/n,_={},x=(e.forEach(function(e,t){_[e.id]=t}),this.nodeMap=_,(0,M.getDegree)(e.length,_,t)),w=(this.degrees=x,g?(i=(0,M.getFuncByUnknownType)(10,g),o=(0,M.getFuncByUnknownType)(10,v),a=-1/0,e.forEach(function(e){e=o(e);a<e&&(a=e)}),s=0,e.forEach(function(e,t){s+=0===t?a||10:(i(e)||0)+(a||10)}),l=s/(2*Math.PI)):l||u||c?!u&&c?u=c:u&&!c&&(c=u):l=this.height>this.width?this.width/2:this.height/2,b*p),A=[],A="topology"===y?this.topologyOrdering():"topology-directed"===y?this.topologyOrdering(!0):"degree"===y?this.degreeOrdering():e,S=Math.ceil(n/f),C=0;C<n;++C){var O=l,E=(O=(O=O||null===u||null===c?O:u+C*(c-u)/(n-1))||10+100*C/(n-1),h+C%S*w+2*Math.PI/f*Math.floor(C/S));m||(E=d-C%S*w-2*Math.PI/f*Math.floor(C/S)),A[C].x=r[0]+Math.cos(E)*O,A[C].y=r[1]+Math.sin(E)*O,A[C].weight=x[C].all}return null!=(t=this.onLayoutEnd)&&t.call(this),{nodes:A,edges:this.edges}}this.onLayoutEnd&&this.onLayoutEnd()},l.prototype.topologyOrdering=function(e){void 0===e&&(e=!1);var i,t,o,s=this.degrees,l=this.edges,u=this.nodes,c=(0,M.clone)(u),f=this.nodeMap,h=[c[0]],d=[u[0]],p=[],y=u.length,m=(p[0]=!0,t=l,o=f,e=e,(i=c).forEach(function(e,t){i[t].children=[],i[t].parent=[]}),e?t.forEach(function(e){var t=(0,M.getEdgeTerminal)(e,"source"),e=(0,M.getEdgeTerminal)(e,"target"),n=0,t=(t&&(n=o[t]),0),e=(e&&(t=o[e]),i[n].children),r=i[t].parent;e.push(i[t].id),r.push(i[n].id)}):t.forEach(function(e){var t=(0,M.getEdgeTerminal)(e,"source"),e=(0,M.getEdgeTerminal)(e,"target"),n=0,t=(t&&(n=o[t]),0),e=(e&&(t=o[e]),i[n].children),r=i[t].children;e.push(i[t].id),r.push(i[n].id)}),0);return c.forEach(function(e,t){if(0!==t)if(t!==y-1&&s[t].all===s[t+1].all&&!function(e,t,n){for(var r=n.length,i=0;i<r;i++){var o=(0,M.getEdgeTerminal)(n[i],"source"),a=(0,M.getEdgeTerminal)(n[i],"target");if(e.id===o&&t.id===a||t.id===o&&e.id===a)return 1}}(h[m],e,l)||p[t]){for(var n=h[m].children,r=!1,i=0;i<n.length;i++){var o=f[n[i]];if(s[o].all===s[t].all&&!p[o]){h.push(c[o]),d.push(u[f[c[o].id]]),r=p[o]=!0;break}}for(var a=0;!r&&(p[a]||(h.push(c[a]),d.push(u[f[c[a].id]]),r=p[a]=!0),++a!==y););}else h.push(e),d.push(u[f[e.id]]),p[t]=!0,m++}),d},l.prototype.degreeOrdering=function(){var e=this.nodes,n=[],r=this.degrees;return e.forEach(function(e,t){e.degree=r[t].all,n.push(e)}),n.sort(a),n},l.prototype.getType=function(){return"circular"};var s,n=l;function l(e){var t=s.call(this)||this;return t.radius=null,t.nodeSize=void 0,t.startRadius=null,t.endRadius=null,t.startAngle=0,t.endAngle=2*Math.PI,t.clockwise=!0,t.divisions=1,t.ordering=null,t.angleRatio=1,t.nodes=[],t.edges=[],t.nodeMap={},t.degrees=[],t.width=300,t.height=300,t.updateCfg(e),t}t.CircularLayout=n},99266:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=this&&this.__assign||function(){return(v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},b=(Object.defineProperty(t,"__esModule",{value:!0}),t.ComboCombinedLayout=void 0,n(84587)),a=n(9284),_=n(58652),x=n(71812),n=(i=a.Base,o(s,i),s.prototype.getDefaultCfg=function(){return{}},s.prototype.execute=function(){var e=this.nodes,t=this.center;e&&0!==e.length&&(1===e.length?(e[0].x=t[0],e[0].y=t[1]):(this.initVals(),this.run())),this.onLayoutEnd&&this.onLayoutEnd()},s.prototype.run=function(){var e,t,n,r=this.nodes,i=this.edges,o=this.combos,a=this.comboEdges,s=this.center,l={},u=(r.forEach(function(e){l[e.id]=e}),{}),c=(o.forEach(function(e){u[e.id]=e}),this.getInnerGraphs(l)),f=[],h=[],d={},p=!0,y=(this.comboTrees.forEach(function(t){var e=c[t.id],e=v(v({},t),{x:e.x||u[t.id].x,y:e.y||u[t.id].y,fx:e.fx||u[t.id].fx,fy:e.fy||u[t.id].fy,mass:e.mass||u[t.id].mass,size:e.size});h.push(e),isNaN(e.x)||0===e.x||isNaN(e.y)||0===e.y?(e.x=100*Math.random(),e.y=100*Math.random()):p=!1,f.push(t.id),(0,_.traverseTreeUp)(t,function(e){return e.id!==t.id&&(d[e.id]=t.id),!0})}),r.forEach(function(e){var t;e.comboId&&u[e.comboId]||(t=v({},e),h.push(t),isNaN(t.x)||0===t.x||isNaN(t.y)||0===t.y?(t.x=100*Math.random(),t.y=100*Math.random()):p=!1,f.push(e.id))}),[]);i.concat(a).forEach(function(e){var t=d[e.source]||e.source,e=d[e.target]||e.target;t!==e&&f.includes(t)&&f.includes(e)&&y.push({source:t,target:e})}),null!=h&&h.length&&(1===h.length?(h[0].x=s[0],h[0].y=s[1]):(e={nodes:h,edges:y},n=null==(n=(t=this.outerLayout||new x.GForceLayout({gravity:1,factor:4,linkDistance:function(e,t,n){n=(((null==(t=t.size)?void 0:t[0])||30)+((null==(t=n.size)?void 0:t[0])||30))/2;return Math.min(1.5*n,700)}})).getType)?void 0:n.call(t),t.updateCfg({center:s,kg:5,preventOverlap:!0,animate:!1}),p&&b.FORCE_LAYOUT_TYPE_MAP[n]&&(new(h.length<100?x.MDSLayout:x.GridLayout)).layout(e),t.layout(e)),h.forEach(function(t){var e=c[t.id];e?(e.visited=!0,e.x=t.x,e.y=t.y,e.nodes.forEach(function(e){e.x+=t.x,e.y+=t.y})):(e=l[t.id])&&(e.x=t.x,e.y=t.y)}));for(var m=Object.keys(c),g=m.length-1;0<=g;g--)!function(e){var e=m[e],t=c[e];if(!t)return;t.nodes.forEach(function(e){t.visited||(e.x+=t.x||0,e.y+=t.y||0),l[e.id]&&(l[e.id].x=e.x,l[e.id].y=e.y)}),u[e]&&(u[e].x=t.x,u[e].y=t.y)}(g);return{nodes:r,edges:i,combos:o,comboEdges:a}},s.prototype.getInnerGraphs=function(h){var e=this.comboTrees,d=this.nodeSize,p=this.edges,y=this.comboPadding,t=this.spacing,m={},g=this.innerLayout||new x.ConcentricLayout({type:"concentric",sortBy:"id"});return g.center=[0,0],g.preventOverlap=!0,g.nodeSpacing=t,(e||[]).forEach(function(e){(0,_.traverseTreeUp)(e,function(e){var t,n,r,i,o,a,s,l,u,c,f=(null==y?void 0:y(e))||10;return(0,_.isArray)(f)&&(f=Math.max.apply(Math,f)),null!=(t=e.children)&&t.length?(t=e.children.map(function(e){var t;return"combo"===e.itemType?m[e.id]:(t=h[e.id]||{},v(v({},t),e))}),n=t.map(function(e){return e.id}),u={nodes:t,edges:p.filter(function(e){return n.includes(e.source)&&n.includes(e.target)})},r=1/0,t.forEach(function(e){var t;e.size||(e.size=(null==(t=m[e.id])?void 0:t.size)||(null==d?void 0:d(e))||[30,30]),(0,_.isNumber)(e.size)&&(e.size=[e.size,e.size]),(r=r>e.size[0]?e.size[0]:r)>e.size[1]&&(r=e.size[1])}),g.layout(u),i=(a=(0,_.getLayoutBBox)(t)).minX,o=a.minY,c=a.maxX,a=a.maxY,s=(c+i)/2,l=(a+o)/2,u.nodes.forEach(function(e){e.x-=s,e.y-=l}),u=Math.max(c-i,r)+2*f,c=Math.max(a-o,r)+2*f,m[e.id]={id:e.id,nodes:t,size:[u,c]}):"combo"===e.itemType&&(m[e.id]={id:e.id,nodes:[],size:f?[2*f,2*f]:[30,30]}),!0})}),m},s.prototype.initVals=function(){var t,n,r=this.nodeSize,e=this.spacing,i=(0,_.isNumber)(e)?function(){return e}:(0,_.isFunction)(e)?e:function(){return 0};this.spacing=i,a=r?(0,_.isFunction)(r)?function(e){var t=r(e),n=i(e);return(0,_.isArray)(e.size)?((e.size[0]>e.size[1]?e.size[0]:e.size[1])+n)/2:((t||10)+n)/2}:(0,_.isArray)(r)?(t=(r[0]>r[1]?r[0]:r[1])/2,function(e){return t+i(e)/2}):(n=r/2,function(e){return n+i(e)/2}):function(e){var t=i(e);return e.size?(0,_.isArray)(e.size)?((e.size[0]>e.size[1]?e.size[0]:e.size[1])+t)/2:(0,_.isObject)(e.size)?((e.size.width>e.size.height?e.size.width:e.size.height)+t)/2:(e.size+t)/2:10+t/2},this.nodeSize=a;var o=this.comboPadding,a=(0,_.isNumber)(o)?function(){return o}:(0,_.isArray)(o)?function(){return Math.max.apply(null,o)}:(0,_.isFunction)(o)?o:function(){return 0};this.comboPadding=a},s.prototype.getType=function(){return"comboCombined"},s);function s(e){var t=i.call(this)||this;return t.center=[0,0],t.nodes=[],t.edges=[],t.combos=[],t.comboEdges=[],t.comboPadding=10,t.comboTrees=[],t.updateCfg(e),t}t.ComboCombinedLayout=n},65428:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.ComboForceLayout=void 0,n(9284)),x=n(58652),n=(i=a.Base,o(s,i),s.prototype.getDefaultCfg=function(){return{maxIteration:100,center:[0,0],gravity:10,speed:1,comboGravity:30,preventOverlap:!1,preventComboOverlap:!0,preventNodeOverlap:!0,nodeSpacing:void 0,collideStrength:void 0,nodeCollideStrength:.5,comboCollideStrength:.5,comboSpacing:20,comboPadding:10,edgeStrength:.6,nodeStrength:30,linkDistance:10}},s.prototype.execute=function(){var e=this.nodes,t=this.center;this.comboTree={id:"comboTreeRoot",depth:-1,children:this.comboTrees},e&&0!==e.length&&(1===e.length?(e[0].x=t[0],e[0].y=t[1]):(this.initVals(),this.run())),this.onLayoutEnd&&this.onLayoutEnd()},s.prototype.run=function(){var e=this,t=e.nodes,n=e.previousLayouted?e.maxIteration/5:e.maxIteration,r=(e.width||"undefined"==typeof window||(e.width=window.innerWidth),e.height||"undefined"==typeof window||(e.height=window.innerHeight),e.center),i=e.velocityDecay,o=e.comboMap;e.previousLayouted||e.initPos(o);for(var a=0;a<n;a++)!function(){var n=[];t.forEach(function(e,t){n[t]={x:0,y:0}}),e.applyCalculate(n),e.applyComboCenterForce(n),t.forEach(function(e,t){(0,x.isNumber)(e.x)&&(0,x.isNumber)(e.y)&&(e.x+=n[t].x*i,e.y+=n[t].y*i)}),e.alpha+=(e.alphaTarget-e.alpha)*e.alphaDecay,e.onTick()}();var s=[0,0],l=(t.forEach(function(e){(0,x.isNumber)(e.x)&&(0,x.isNumber)(e.y)&&(s[0]+=e.x,s[1]+=e.y)}),s[0]/=t.length,s[1]/=t.length,[r[0]-s[0],r[1]-s[1]]);t.forEach(function(e,t){(0,x.isNumber)(e.x)&&(0,x.isNumber)(e.y)&&(e.x+=l[0],e.y+=l[1])}),e.combos.forEach(function(e){var t=o[e.id];t&&t.empty&&(e.x=t.cx||e.x,e.y=t.cy||e.y)}),e.previousLayouted=!0},s.prototype.initVals=function(){var e=this.edges,t=this.nodes,n=this.combos,r={},i={},o={},a=(t.forEach(function(e,t){i[e.id]=e,o[e.id]=t}),this.nodeMap=i,this.indexMap=o,{}),t=(n.forEach(function(e){a[e.id]=e}),this.oriComboMap=a,this.comboMap=this.getComboMap(),this.preventOverlap),n=(this.preventComboOverlap=this.preventComboOverlap||t,this.preventNodeOverlap=this.preventNodeOverlap||t,this.collideStrength);n&&(this.comboCollideStrength=n,this.nodeCollideStrength=n),this.comboCollideStrength=this.comboCollideStrength||0,this.nodeCollideStrength=this.nodeCollideStrength||0;for(var s=0;s<e.length;++s){var l=(0,x.getEdgeTerminal)(e[s],"source"),u=(0,x.getEdgeTerminal)(e[s],"target");r[l]?r[l]++:r[l]=1,r[u]?r[u]++:r[u]=1}for(var c=[],s=0;s<e.length;++s)l=(0,x.getEdgeTerminal)(e[s],"source"),u=(0,x.getEdgeTerminal)(e[s],"target"),c[s]=r[l]/(r[l]+r[u]);this.bias=c;var f,h,d=this.nodeSize,p=this.nodeSpacing,t=(0,x.isNumber)(p)?function(){return p}:(0,x.isFunction)(p)?p:function(){return 0};this.nodeSpacing=t,n=d?(0,x.isFunction)(d)?function(e){return d(e)}:(0,x.isArray)(d)?(f=(d[0]>d[1]?d[0]:d[1])/2,function(e){return f}):(h=d/2,function(e){return h}):function(e){return e.size?(0,x.isArray)(e.size)?(e.size[0]>e.size[1]?e.size[0]:e.size[1])/2:(0,x.isObject)(e.size)?(e.size.width>e.size.height?e.size.width:e.size.height)/2:e.size/2:10},this.nodeSize=n;var y=this.comboSpacing,t=(0,x.isNumber)(y)?function(){return y}:(0,x.isFunction)(y)?y:function(){return 0};this.comboSpacing=t;var m=this.comboPadding,n=(0,x.isNumber)(m)?function(){return m}:(0,x.isArray)(m)?function(){return Math.max.apply(null,m)}:(0,x.isFunction)(m)?m:function(){return 0};this.comboPadding=n;var g=(g=this.linkDistance)||10,t=(0,x.isNumber)(g)?function(e){return g}:g;this.linkDistance=t;var v=(v=this.edgeStrength)||1,n=(0,x.isNumber)(v)?function(e){return v}:v;this.edgeStrength=n;var b=(b=this.nodeStrength)||30,t=(0,x.isNumber)(b)?function(e){return b}:b;this.nodeStrength=t},s.prototype.initPos=function(i){this.nodes.forEach(function(e,t){var n=e.comboId,r=i[n];n&&r?(e.x=r.cx+100/(t+1),e.y=r.cy+100/(t+1)):(e.x=100/(t+1),e.y=100/(t+1))})},s.prototype.getComboMap=function(){var i=this,o=i.nodeMap,e=i.comboTrees,a=i.oriComboMap,s={};return(e||[]).forEach(function(e){var r=[];(0,x.traverseTreeUp)(e,function(e){var n,t;return"node"!==e.itemType&&a[e.id]&&(void 0===s[e.id]&&(t={id:e.id,name:e.id,cx:0,cy:0,count:0,depth:i.oriComboMap[e.id].depth||0,children:[]},s[e.id]=t),(t=e.children)&&t.forEach(function(e){if(!s[e.id]&&!o[e.id])return!0;r.push(e)}),(n=s[e.id]).cx=0,(n.cy=0)===r.length&&(n.empty=!0,t=a[e.id],n.cx=t.x,n.cy=t.y),r.forEach(function(e){var t;n.count++,"node"!==e.itemType?(t=s[e.id],(0,x.isNumber)(t.cx)&&(n.cx+=t.cx),(0,x.isNumber)(t.cy)&&(n.cy+=t.cy)):(t=o[e.id])&&((0,x.isNumber)(t.x)&&(n.cx+=t.x),(0,x.isNumber)(t.y))&&(n.cy+=t.y)}),n.cx/=n.count||1,n.cy/=n.count||1,n.children=r),!0})}),s},s.prototype.applyComboCenterForce=function(u){var e=this.gravity,c=this.comboGravity||e,f=this.alpha,e=this.comboTrees,h=this.indexMap,d=this.nodeMap,p=this.comboMap;(e||[]).forEach(function(e){(0,x.traverseTreeUp)(e,function(e){var o,a,s,l;return"node"!==e.itemType&&p[e.id]&&(o=p[e.id],a=(o.depth+1)/10*.5,s=o.cx,l=o.cy,o.cx=0,o.cy=0,o.children.forEach(function(e){var t,n,r,i;"node"!==e.itemType?((t=p[e.id])&&(0,x.isNumber)(t.cx)&&(o.cx+=t.cx),t&&(0,x.isNumber)(t.cy)&&(o.cy+=t.cy)):(e=(t=d[e.id]).x-s||.005,n=t.y-l||.005,r=Math.sqrt(e*e+n*n),i=h[t.id],u[i].x-=e*(e=c*f/r*a),u[i].y-=n*e,(0,x.isNumber)(t.x)&&(o.cx+=t.x),(0,x.isNumber)(t.y)&&(o.cy+=t.y))}),o.cx/=o.count||1,o.cy/=o.count||1),!0})})},s.prototype.applyCalculate=function(e){var t=this.comboMap,n=this.nodes,s={};n.forEach(function(o,a){n.forEach(function(e,t){var n,r,i;a<t||(r=(t=o.x-e.x||.005)*t+(n=o.y-e.y||.005)*n,i=Math.sqrt(r),r<1&&(r=i),s["".concat(o.id,"-").concat(e.id)]={vx:t,vy:n,vl2:r,vl:i},s["".concat(e.id,"-").concat(o.id)]={vl2:r,vl:i,vx:-t,vy:-n})})}),this.updateComboSizes(t),this.calRepulsive(e,s),this.calAttractive(e,s),this.preventComboOverlap&&this.comboNonOverlapping(e,t)},s.prototype.updateComboSizes=function(r){var i=this,e=i.comboTrees,a=i.nodeMap,s=i.nodeSize,l=i.comboSpacing,u=i.comboPadding;(e||[]).forEach(function(e){var n=[];(0,x.traverseTreeUp)(e,function(e){if("node"!==e.itemType){var o=r[e.id];if(!o)return!1;var t=e.children,t=(t&&t.forEach(function(e){(r[e.id]||a[e.id])&&n.push(e)}),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0,n.forEach(function(e){var t,n,r,i;return"node"!==e.itemType||!(e=a[e.id])||(t=s(e),n=e.x-t,r=e.y-t,i=e.x+t,e=e.y+t,o.minX>n&&(o.minX=n),o.minY>r&&(o.minY=r),o.maxX<i&&(o.maxX=i),void(o.maxY<e&&(o.maxY=e)))}),i.oriComboMap[e.id].size||10),e=((0,x.isArray)(t)&&(t=t[0]),Math.max(o.maxX-o.minX,o.maxY-o.minY,t));o.r=e/2+l(o)/2+u(o)}return!0})})},s.prototype.comboNonOverlapping=function(m,g){var e=this.comboTree,v=this.comboCollideStrength,b=this.indexMap,_=this.nodeMap;(0,x.traverseTreeUp)(e,function(e){var t;return!(!g[e.id]&&!_[e.id]&&"comboTreeRoot"!==e.id||((t=e.children)&&1<t.length&&t.forEach(function(d,p){if("node"===d.itemType)return!1;var y=g[d.id];y&&t.forEach(function(e,t){var n,r,i,o,a,s,l,u,c,f,h;return!(p<=t||"node"===e.itemType||!(t=g[e.id]))&&(n=y.cx-t.cx||.005,r=y.cy-t.cy||.005,i=y.r||1,o=(t=t.r||1)*t,a=i*i,(l=n*n+r*r)<(i=i+t)*i?!(!(t=d.children)||0===t.length||!(s=e.children)||0===s.length)&&(e=Math.sqrt(l),u=n*(l=(i-e)/e*v),c=r*l,h=1-(f=o/(a+o)),void t.forEach(function(e){if("node"!==e.itemType)return!1;var t;_[e.id]&&(t=b[e.id],s.forEach(function(e){return"node"===e.itemType&&!!_[e.id]&&(e=b[e.id],m[t].x+=u*f,m[t].y+=c*f,m[e].x-=u*h,void(m[e].y-=c*h))}))})):void 0)})}),0))})},s.prototype.calRepulsive=function(u,c){var i=this,o=i.nodes,f=i.width*i.optimizeRangeFactor,h=i.nodeStrength,d=i.alpha,p=i.nodeCollideStrength,y=i.preventNodeOverlap,m=i.nodeSize,g=i.nodeSpacing,v=i.depthRepulsiveForceScale,a=i.center;o.forEach(function(s,l){var e,t,n,r;s.x&&s.y&&(a&&(e=i.gravity,t=s.x-a[0]||.005,n=s.y-a[1]||.005,r=Math.sqrt(t*t+n*n),u[l].x-=t*e*d/r,u[l].y-=n*e*d/r),o.forEach(function(e,t){var n,r,i,o,a;l!==t&&e.x&&e.y&&(r=(a=c["".concat(s.id,"-").concat(e.id)]).vl2,a=a.vl,f<a||(i=(o=c["".concat(s.id,"-").concat(e.id)]).vx,o=o.vy,n=(n=Math.log(Math.abs(e.depth-s.depth)/10)+1||1)<1?1:n,e.comboId!==s.comboId&&(n+=1),n=n?Math.pow(v,n):1,n=h(e)*d/r*n,u[l].x+=i*n,u[l].y+=o*n,l<t&&y&&r<(e=(n=m(s)+g(s)||1)+(r=m(e)+g(e)||1))*e&&(e=o*(o=(e-a)/a*p),u[l].x+=(a=i*o)*(o=(i=r*r)/(n*n+i)),u[l].y+=e*o,u[t].x-=a*(o=1-o),u[t].y-=e*o)))}))})},s.prototype.calAttractive=function(u,c){var f=this,e=f.edges,h=f.linkDistance,d=f.alpha,p=f.edgeStrength,y=f.bias,m=f.depthAttractiveForceScale;e.forEach(function(e,t){var n,r,i,o,a,s=(0,x.getEdgeTerminal)(e,"source"),l=(0,x.getEdgeTerminal)(e,"target");s&&l&&s!==l&&(n=f.indexMap[s],r=f.indexMap[l],a=f.nodeMap[s],o=f.nodeMap[l],a)&&o&&(i=a.depth===o.depth?0:Math.log(Math.abs(a.depth-o.depth)/10),a.comboId===o.comboId&&(i/=2),i=i?Math.pow(m,i):1,a.comboId!==o.comboId&&1===i?i=m/2:a.comboId===o.comboId&&(i=2),(0,x.isNumber)(o.x))&&(0,x.isNumber)(a.x)&&(0,x.isNumber)(o.y)&&(0,x.isNumber)(a.y)&&(a=(o=c["".concat(l,"-").concat(s)]).vl,l=o.vx,o=o.vy*(s=(a-h(e))/a*d*p(e)*i),a=y[t],u[r].x-=(e=l*s)*a,u[r].y-=o*a,u[n].x+=e*(1-a),u[n].y+=o*(1-a))})},s.prototype.getType=function(){return"comboForce"},s);function s(e){var t=i.call(this)||this;return t.center=[0,0],t.maxIteration=100,t.gravity=10,t.comboGravity=10,t.linkDistance=10,t.alpha=1,t.alphaMin=.001,t.alphaDecay=1-Math.pow(t.alphaMin,1/300),t.alphaTarget=0,t.velocityDecay=.6,t.edgeStrength=.6,t.nodeStrength=30,t.preventOverlap=!1,t.preventNodeOverlap=!1,t.preventComboOverlap=!1,t.collideStrength=void 0,t.nodeCollideStrength=.5,t.comboCollideStrength=.5,t.comboSpacing=20,t.comboPadding=10,t.optimizeRangeFactor=1,t.onTick=function(){},t.onLayoutEnd=function(){},t.depthAttractiveForceScale=1,t.depthRepulsiveForceScale=2,t.nodes=[],t.edges=[],t.combos=[],t.comboTrees=[],t.width=300,t.height=300,t.bias=[],t.nodeMap={},t.oriComboMap={},t.indexMap={},t.comboMap={},t.previousLayouted=!1,t.updateCfg(e),t}t.ComboForceLayout=n},57940:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=(Object.defineProperty(t,"__esModule",{value:!0}),t.ConcentricLayout=void 0,n(58652)),n=(i=n(9284).Base,o(a,i),a.prototype.getDefaultCfg=function(){return{nodeSize:30,minNodeSpacing:10,nodeSpacing:10,preventOverlap:!1,sweep:void 0,equidistant:!1,startAngle:1.5*Math.PI,clockwise:!0,maxLevelDiff:void 0,sortBy:"degree"}},a.prototype.execute=function(){var i=this,e=i.nodes,t=i.edges,n=e.length;if(0!==n){i.width||"undefined"==typeof window||(i.width=window.innerWidth),i.height||"undefined"==typeof window||(i.height=window.innerHeight),i.center||(i.center=[i.width/2,i.height/2]);var o=i.center;if(1===n)return e[0].x=o[0],e[0].y=o[1],void(null!=(n=i.onLayoutEnd)&&n.call(i));var r,n=i.nodeSize,a=i.nodeSpacing,s=[],l=0,u=(0,b.isArray)(n)?Math.max(n[0],n[1]):n,c=((0,b.isArray)(a)?l=Math.max(a[0],a[1]):(0,b.isNumber)(a)&&(l=a),e.forEach(function(e){s.push(e);var t=u;(0,b.isArray)(e.size)?t=Math.max(e.size[0],e.size[1]):(0,b.isNumber)(e.size)?t=e.size:(0,b.isObject)(e.size)&&(t=Math.max(e.size.width,e.size.height)),u=Math.max(u,t),(0,b.isFunction)(a)&&(l=Math.max(a(e),l))}),i.clockwise=void 0!==i.counterclockwise?!i.counterclockwise:i.clockwise,{}),f=(s.forEach(function(e,t){e.id,c[e.id]=t}),"degree"!==i.sortBy&&(0,b.isString)(i.sortBy)&&void 0!==s[0][i.sortBy]||(i.sortBy="degree",(0,b.isNumber)(e[0].degree))||(r=(0,b.getDegree)(e.length,c,t),s.forEach(function(e,t){e.degree=r[t].all})),s.sort(function(e,t){return t[i.sortBy]-e[i.sortBy]}),i.maxValueNode=s[0],i.maxLevelDiff=i.maxLevelDiff||i.maxValueNode[i.sortBy]/4,[[]]),h=f[0],d=(s.forEach(function(e){var t;0<h.length&&(t=Math.abs(h[0][i.sortBy]-e[i.sortBy]),i.maxLevelDiff)&&t>=i.maxLevelDiff&&(h=[],f.push(h)),h.push(e)}),u+(l||i.minNodeSpacing)),p=(i.preventOverlap||(n=0<f.length&&1<f[0].length,n=(Math.min(i.width,i.height)/2-d)/(f.length+(n?1:0)),d=Math.min(d,n)),0);if(f.forEach(function(e){var t,n=i.sweep,n=(void 0===n&&(n=2*Math.PI-2*Math.PI/e.length),e.dTheta=n/Math.max(1,e.length-1));1<e.length&&i.preventOverlap&&(t=Math.cos(n)-Math.cos(0),n=Math.sin(n)-Math.sin(0),t=Math.sqrt(d*d/(t*t+n*n)),p=Math.max(t,p)),e.r=p,p+=d}),i.equidistant){for(var y=0,m=0,g=0;g<f.length;g++)var v=f[g].r-m,y=Math.max(y,v);m=0,f.forEach(function(e,t){0===t&&(m=e.r),e.r=m,m+=y})}return f.forEach(function(e){var n=e.dTheta,r=e.r;e.forEach(function(e,t){t=i.startAngle+(i.clockwise?1:-1)*n*t;e.x=o[0]+r*Math.cos(t),e.y=o[1]+r*Math.sin(t)})}),i.onLayoutEnd&&i.onLayoutEnd(),{nodes:e,edges:t}}null!=(n=i.onLayoutEnd)&&n.call(i)},a.prototype.getType=function(){return"concentric"},a);function a(e){var t=i.call(this)||this;return t.nodeSize=30,t.minNodeSpacing=10,t.nodeSpacing=10,t.preventOverlap=!1,t.equidistant=!1,t.startAngle=1.5*Math.PI,t.clockwise=!0,t.sortBy="degree",t.nodes=[],t.edges=[],t.width=300,t.height=300,t.onLayoutEnd=function(){},t.updateCfg(e),t}t.ConcentricLayout=n},84587:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FORCE_LAYOUT_TYPE_MAP=t.LAYOUT_MESSAGE=void 0,t.LAYOUT_MESSAGE={RUN:"LAYOUT_RUN",END:"LAYOUT_END",ERROR:"LAYOUT_ERROR",TICK:"LAYOUT_TICK",GPURUN:"GPU_LAYOUT_RUN",GPUEND:"GPU_LAYOUT_END"},t.FORCE_LAYOUT_TYPE_MAP={gForce:!0,force2:!0,fruchterman:!0,forceAtlas2:!0,force:!0,"graphin-force":!0}},10813:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},G=(Object.defineProperty(t,"__esModule",{value:!0}),t.DagreLayout=void 0,a(n(46269))),U=n(58652),a=n(9284),Q=n(95317),n=(i=a.Base,o(s,i),s.prototype.getDefaultCfg=function(){return{rankdir:"TB",align:void 0,nodeSize:void 0,nodesepFunc:void 0,ranksepFunc:void 0,nodesep:50,ranksep:50,controlPoints:!1,radial:!1,focusNode:null}},s.prototype.execute=function(){var c,f,o,i,t,B,s,a,l,u,h,n,d,r,p,y,e,R,m,g,v,b,_,x,w,A,S,N,C,O,z,F,V,H,E=this,M=this,P=M.nodes,k=M.nodeSize,T=M.rankdir,I=M.combos,L=M.begin,Y=M.radial,j=M.comboEdges,j=void 0===j?[]:j,D=M.vedges,D=void 0===D?[]:D;if(P)return c=M.edges||[],f=new Q.Graph({multigraph:!0,compound:!0}),M.nodeMap={},o={},P.forEach(function(e){(M.nodeMap[e.id]=e).comboId&&(o[e.comboId]=o[e.comboId]||[],o[e.comboId].push(e.id))}),t=[],B={},null!=(e=M.nodeOrder)&&e.length?(M.nodeOrder.forEach(function(e){B[e]=!0,t.push(M.nodeMap[e])}),P.forEach(function(e){B[e.id]||t.push(e)})):t=P,i=k?(0,U.isArray)(k)?function(){return k}:function(){return[k,k]}:function(e){return e.size?(0,U.isArray)(e.size)?e.size:(0,U.isObject)(e.size)?[e.size.width||40,e.size.height||40]:[e.size,e.size]:[40,40]},s=(0,U.getFunc)(M.ranksep,50,M.ranksepFunc),a=(0,U.getFunc)(M.nodesep,50,M.nodesepFunc),l=a,u=s,"LR"!==T&&"RL"!==T||(l=s,u=a),f.setDefaultEdgeLabel(function(){return{}}),f.setGraph(M),h={},this.sortByCombo&&I&&I.forEach(function(e){var t,n,r;(h[e.id]=e).collapsed&&(r=i(e),t=u(e),n=l(e),n=r[0]+2*n,r=r[1]+2*t,f.setNode(e.id,{width:n,height:r})),e.parentId&&(h[e.parentId]||f.setNode(e.parentId,{}),f.setParent(e.id,e.parentId))}),t.filter(function(e){return!1!==e.layout}).forEach(function(e){var t=i(e),n=u(e),r=l(e),r=t[0]+2*r,t=t[1]+2*n,n=e.layer;(0,U.isNumber)(n)?f.setNode(e.id,{width:r,height:t,layer:n}):f.setNode(e.id,{width:r,height:t}),E.sortByCombo&&e.comboId&&(h[e.comboId]||(h[e.comboId]={id:e.comboId},f.setNode(e.comboId,{})),f.setParent(e.id,e.comboId))}),c.forEach(function(e){var t=(0,U.getEdgeTerminal)(e,"source"),n=(0,U.getEdgeTerminal)(e,"target");E.layoutNode(t)&&E.layoutNode(n)&&f.setEdge(t,n,{weight:e.weight||1})}),n=void(null!=(e=null==j?void 0:j.concat(D||[]))&&e.forEach(function(n){var e=n.source,t=n.target,r=(null==(r=h[e])||!r.collapsed)&&o[e]||[e],i=(null==(e=h[t])||!e.collapsed)&&o[t]||[t];r.forEach(function(t){i.forEach(function(e){f.setEdge(t,e,{weight:n.weight||1})})})})),null!=(j=M.preset)&&j.nodes&&(n=new Q.Graph({multigraph:!0,compound:!0}),M.preset.nodes.forEach(function(e){null!=n&&n.setNode(e.id,e)})),G.default.layout(f,{prevGraph:n,edgeLabelSpace:M.edgeLabelSpace,keepNodeOrder:Boolean(!!M.nodeOrder),nodeOrder:M.nodeOrder}),d=[0,0],L&&(p=r=1/0,f.nodes().forEach(function(e){e=f.node(e);r>e.x&&(r=e.x),p>e.y&&(p=e.y)}),f.edges().forEach(function(e){null!=(e=f.edge(e).points)&&e.forEach(function(e){r>e.x&&(r=e.x),p>e.y&&(p=e.y)})}),d[0]=L[0]-r,d[1]=L[1]-p),y="LR"===T||"RL"===T,Y?(D=this.focusNode,e=this.ranksep,R=this.getRadialPos,j=(0,U.isString)(D)?D:null==D?void 0:D.id,m=j?null==(L=f.node(j))?void 0:L._rank:0,g=[],v=y?"y":"x",b=y?"height":"width",_=1/0,x=-1/0,f.nodes().forEach(function(e){var t,n,r,i=f.node(e);M.nodeMap[e]&&(t=a(M.nodeMap[e]),0===m?(g[i._rank]||(g[i._rank]={nodes:[],totalWidth:0,maxSize:-1/0}),g[i._rank].nodes.push(e),g[i._rank].totalWidth+=2*t+i[b],g[i._rank].maxSize<Math.max(i.width,i.height)&&(g[i._rank].maxSize=Math.max(i.width,i.height))):0==(n=i._rank-m)?(g[n]||(g[n]={nodes:[],totalWidth:0,maxSize:-1/0}),g[n].nodes.push(e),g[n].totalWidth+=2*t+i[b],g[n].maxSize<Math.max(i.width,i.height)&&(g[n].maxSize=Math.max(i.width,i.height))):(r=Math.abs(n),g[r]||(g[r]={left:[],right:[],totalWidth:0,maxSize:-1/0}),g[r].totalWidth+=2*t+i[b],g[r].maxSize<Math.max(i.width,i.height)&&(g[r].maxSize=Math.max(i.width,i.height)),(n<0?g[r].left:g[r].right).push(e)),n=i[v]-i[b]/2-t,r=i[v]+i[b]/2+t,n<_&&(_=n),x<r)&&(x=r)}),w=e||50,A={},N=[.5*(_+x-(S=(x-_)/.9)),.5*(_+x+S)],C=function(e,i,t,o){void 0===o&&(o=[0,1]);var a=t=void 0===t?-1/0:t;return e.forEach(function(e){var t=f.node(e),n=(A[e]=i,R(t[v],N,S,i,o)),r=n.x,n=n.y;M.nodeMap[e]&&(M.nodeMap[e].x=r+d[0],M.nodeMap[e].y=n+d[1],M.nodeMap[e]._order=t._order,r=s(M.nodeMap[e]),a<r)&&(a=r)}),a},O=!0,g.forEach(function(e){if(null!=(n=null==e?void 0:e.nodes)&&n.length||null!=(n=null==e?void 0:e.left)&&n.length||null!=(n=null==e?void 0:e.right)&&n.length){if(O&&1===e.nodes.length)return n=e.nodes[0],M.nodeMap[n]?(M.nodeMap[n].x=d[0],M.nodeMap[n].y=d[1],A[e.nodes[0]]=0,w=s(M.nodeMap[n]),void(O=!1)):void 0;w=Math.max(w,e.totalWidth/(2*Math.PI));var t,n=-1/0;n=0===m||null!=(t=e.nodes)&&t.length?C(e.nodes,w,n,[0,1]):(t=(null==(t=e.left)?void 0:t.length)/((null==(t=e.left)?void 0:t.length)+(null==(t=e.right)?void 0:t.length)),n=C(e.left,w,n,[0,t]),C(e.right,w,n,[.05+t,1])),w+=n,O=!1,e.maxSize}}),f.edges().forEach(function(n){var r,e,i,o,a,s,l,t=f.edge(n),u=c.findIndex(function(e){var t=(0,U.getEdgeTerminal)(e,"source"),e=(0,U.getEdgeTerminal)(e,"target");return t===n.v&&e===n.w});u<=-1||!M.edgeLabelSpace||!M.controlPoints||"loop"===c[u].type||(r="x"===v?"y":"x",e=null==(e=null==t?void 0:t.points)?void 0:e.slice(1,t.points.length-1),i=[],o=null==(t=f.node(n.v))?void 0:t[r],a=o-(null==(t=f.node(n.w))?void 0:t[r]),s=A[n.v],l=s-A[n.w],null!=e&&e.forEach(function(e){var t=(e[r]-o)/a*l+s,e=R(e[v],N,S,t);i.push({x:e.x+d[0],y:e.y+d[1]})}),c[u].controlPoints=i)})):(z=new Set,Y="BT"===T||"RL"===T?function(e,t){return t-e}:function(e,t){return e-t},f.nodes().forEach(function(t){var e,n=f.node(t);n&&(e=(e=E.nodeMap[t])||(null==I?void 0:I.find(function(e){return e.id===t})))&&(e.x=n.x+d[0],e.y=n.y+d[1],e._order=n._order,z.add(y?e.x:e.y))}),F=Array.from(z).sort(Y),V=y?function(e,t){return e.x!==t.x}:function(e,t){return e.y!==t.y},H=y?function(e,t,n){var r=Math.max(t.y,n.y),i=Math.min(t.y,n.y);return e.filter(function(e){return e.y<=r&&e.y>=i})}:function(e,t,n){var r=Math.max(t.x,n.x),i=Math.min(t.x,n.x);return e.filter(function(e){return e.x<=r&&e.x>=i})},f.edges().forEach(function(n){var e,t,r=f.edge(n),i=c.findIndex(function(e){var t=(0,U.getEdgeTerminal)(e,"source"),e=(0,U.getEdgeTerminal)(e,"target");return t===n.v&&e===n.w});i<=-1||!M.edgeLabelSpace||!M.controlPoints||"loop"===c[i].type||(null!=(e=null==r?void 0:r.points)&&e.forEach(function(e){e.x+=d[0],e.y+=d[1]}),e=M.nodeMap[n.v],t=M.nodeMap[n.w],c[i].controlPoints=W(null==r?void 0:r.points,e,t,F,y,V,H))})),M.onLayoutEnd&&M.onLayoutEnd(),{nodes:P,edges:c}},s.prototype.getRadialPos=function(e,t,n,r,i){e=2*((e-t[0])/n*((i=void 0===i?[0,1]:i)[1]-i[0])+i[0])*Math.PI;return{x:Math.cos(e)*r,y:Math.sin(e)*r}},s.prototype.getType=function(){return"dagre"},s);function s(e){var n=i.call(this)||this;return n.rankdir="TB",n.nodesep=50,n.ranksep=50,n.controlPoints=!1,n.sortByCombo=!1,n.edgeLabelSpace=!0,n.radial=!1,n.nodes=[],n.edges=[],n.onLayoutEnd=function(){},n.layoutNode=function(t){var e=n.nodes.find(function(e){return e.id===t});return!e||!1!==e.layout},n.updateCfg(e),n}t.DagreLayout=n;var W=function(e,t,n,r,i,o,a){var s,l,u,c,f,h,d,e=(null==e?void 0:e.slice(1,e.length-1))||[];return t&&n&&(s=t.x,l=t.y,u=n.x,c=n.y,i&&(s=t.y,l=t.x,u=n.y,c=n.x),c!==l)&&s!==u&&(d=r.indexOf(l),(h=r[d+1])&&(f=e[0],h=i?{x:(l+h)/2,y:(null==f?void 0:f.y)||u}:{x:(null==f?void 0:f.x)||u,y:(l+h)/2},f&&!o(f,h)||e.unshift(h)),f=r.indexOf(c),1===(h=Math.abs(f-d))?(e=a(e,t,n)).length||e.push(i?{x:(l+c)/2,y:s}:{x:s,y:(l+c)/2}):1<h&&(d=r[f-1])&&(a=e[e.length-1],t=i?{x:(c+d)/2,y:(null==a?void 0:a.y)||u}:{x:(null==a?void 0:a.x)||s,y:(c+d)/2},a&&!o(a,t)||e.push(t))),e}},91083:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=this&&this.__assign||function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},_=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},a=(Object.defineProperty(t,"__esModule",{value:!0}),t.DagreCompoundLayout=void 0,n(9284)),x=n(94756),w=n(58652),n=(i=a.Base,o(s,i),s.prototype.getDefaultCfg=function(){return{rankdir:"TB",align:void 0,begin:void 0,nodeSize:void 0,nodesep:50,ranksep:50,controlPoints:!0,anchorPoint:!0}},s.prototype.init=function(e){var t=e.hiddenNodes||[],n=e.hiddenEdges||[],r=e.hiddenCombos||[];this.nodes=this.getDataByOrder((e.nodes||[]).concat(t)),this.edges=this.getDataByOrder((e.edges||[]).concat(n)),this.combos=(e.combos||[]).concat(r.map(function(e){return b(b({},e),{collapsed:!0})}))},s.prototype.execute=function(){var e,t,n,r=this.nodes,i=this.edges;if(r)return t=(e=this.getLayoutConfig()).graphDef,n=e.graphOption,e=e.graphSettings,t=(0,x.buildGraph)(t,n,e),n=(0,x.flatGraph)(t,!0),this.updatePosition(n),this.onLayoutEnd&&this.onLayoutEnd(),{nodes:r,edges:i}},s.prototype.getNodePath=function(t){var e=this.nodes,i=this.combos,e=e.find(function(e){return e.id===t});return e&&e.comboId?function e(t,n){void 0===n&&(n=[]);var r=i.find(function(e){return e.id===t});return r&&(n.unshift(t),r.parentId)?e(r.parentId,n):n}(e.comboId,[t]):[t]},s.prototype.getLayoutConfig=function(){var i=this.nodes,e=this.edges,o=this.combos,t=this.nodeSize,n=this.rankdir,r=this.align,a=this.edgesep,s=this.nodesep,l=this.ranksep,u=this.settings,c=(o||[]).reduce(function(e,t){var n=i.filter(function(e){return e.comboId===t.id}).map(function(e){return e.id}),r=(o||[]).filter(function(e){return e.parentId===t.id}).map(function(e){return e.id});return(n.length||r.length)&&(e[t.id]=_(_([],n,!0),r,!0)),e},{}),f=t?(0,w.isArray)(t)?function(){return t}:function(){return[t,t]}:function(e){return e&&e.size?(0,w.isArray)(e.size)?e.size:(0,w.isObject)(e.size)?[e.size.width||40,e.size.height||40]:[e.size,e.size]:[40,40]},h=(h=null==o?void 0:o[0])&&h.size?(0,w.isArray)(h.size)?h.size:[h.size,h.size]:[80,40],d=h[0],h=h[1],p=null==(p=null==(p=this.graphSettings)?void 0:p.subScene)?void 0:p.meta,y=(null==(y=o.find(function(e){return!e.collapsed}))?void 0:y.padding)||[20,20,20,20],m=y[0],g=y[1],v=y[2],y=y[3],c={compound:c,nodes:_([],(i||[]).map(function(e){var t=f(e),n=t[0],t=t[1];return b(b({},e),{width:n,height:t})}),!0),edges:_([],(e||[]).map(function(e){return b(b({},e),{v:e.source,w:e.target})}),!0)},e={expanded:(o||[]).filter(function(e){return!e.collapsed}).map(function(e){return e.id})},r={graph:{meta:{align:r,rankDir:n,nodeSep:s,edgeSep:a,rankSep:l}},subScene:{meta:{paddingTop:m||(null==p?void 0:p.paddingTop)||20,paddingRight:g||(null==p?void 0:p.paddingRight)||20,paddingBottom:v||(null==p?void 0:p.paddingBottom)||20,paddingLeft:y||(null==p?void 0:p.paddingLeft)||20,labelHeight:0}},nodeSize:{meta:{width:d,height:h}}},n=(0,x.mergeConfig)(u,b({},(0,x.mergeConfig)(r,x.LAYOUT_CONFIG)));return{graphDef:c,graphOption:e,graphSettings:this.graphSettings=n}},s.prototype.updatePosition=function(e){var t=e.nodes,e=e.edges;this.updateNodePosition(t,e),this.updateEdgePosition(t,e)},s.prototype.getBegin=function(e,t){var n,r,i=this.begin,o=[0,0];return i&&(r=n=1/0,e.forEach(function(e){n>e.x&&(n=e.x),r>e.y&&(r=e.y)}),t.forEach(function(e){e.points.forEach(function(e){n>e.x&&(n=e.x),r>e.y&&(r=e.y)})}),o[0]=i[0]-n,o[1]=i[1]-r),o},s.prototype.updateNodePosition=function(e,u){var c=this.combos,f=this.nodes,h=this.edges,d=this.anchorPoint,p=this.graphSettings,y=this.getBegin(e,u);e.forEach(function(r){var i,e,t,o=r.x,a=r.y,n=r.id,s=r.type,l=r.coreBox;s===x.HierarchyNodeType.META&&n!==x.ROOT_NAME?(t=c.findIndex(function(e){return e.id===n}),e=null==(e=null==p?void 0:p.subScene)?void 0:e.meta,c[t].offsetX=o+y[0],c[t].offsetY=a+y[1],c[t].fixSize=[l.width,l.height],c[t].fixCollapseSize=[l.width,l.height],r.expanded?c[t].padding=[null==e?void 0:e.paddingTop,null==e?void 0:e.paddingRight,null==e?void 0:e.paddingBottom,null==e?void 0:e.paddingLeft]:c[t].padding=[0,0,0,0]):s===x.HierarchyNodeType.OP&&(t=f.findIndex(function(e){return e.id===n}),f[t].x=o+y[0],f[t].y=a+y[1],d)&&(i=[],l=u.filter(function(e){return e.v===n}),e=u.filter(function(e){return e.w===n}),0<l.length&&l.forEach(function(e){var t=e.points[0],n=(t.x-o)/r.width+.5,t=(t.y-a)/r.height+.5;i.push([n,t]),e.baseEdgeList.forEach(function(t){var e=h.find(function(e){return e.source===t.v&&e.target===t.w});e&&(e.sourceAnchor=i.length-1)})}),0<e.length&&e.forEach(function(e){var t=e.points[e.points.length-1],n=(t.x-o)/r.width+.5,t=(t.y-a)/r.height+.5;i.push([n,t]),e.baseEdgeList.forEach(function(t){var e=h.find(function(e){return e.source===t.v&&e.target===t.w});e&&(e.targetAnchor=i.length-1)})}),f[t].anchorPoints=0<i.length?i:f[t].anchorPoints||[])})},s.prototype.updateEdgePosition=function(u,e){var c=this,f=c.combos,t=c.edges,n=c.controlPoints,h=this.getBegin(u,e);n&&(f.forEach(function(e){e.inEdges=[],e.outEdges=[]}),t.forEach(function(t){var e,n,r,i,o=u.find(function(e){return e.id===t.source}),a=u.find(function(e){return e.id===t.target}),s=[],s=(s=(o&&a?(0,x.getEdges)(null==o?void 0:o.id,null==a?void 0:a.id,u):(e=c.getNodePath(t.source),n=c.getNodePath(t.target),r=e.reverse().slice(o?0:1).find(function(t){return u.find(function(e){return e.id===t})}),i=n.reverse().slice(a?0:1).find(function(t){return u.find(function(e){return e.id===t})}),o=u.find(function(e){return e.id===r}),a=u.find(function(e){return e.id===i}),(0,x.getEdges)(null==o?void 0:o.id,null==a?void 0:a.id,u,{v:t.source,w:t.target}))).reduce(function(e,t){return _(_([],e,!0),t.points.map(function(e){return b(b({},e),{x:e.x+h[0],y:e.y+h[1]})}),!0)},[])).slice(1,-1);if(t.controlPoints=s,(null==a?void 0:a.type)===x.NodeType.META){var l=f.findIndex(function(e){return e.id===(null==a?void 0:a.id)});if(!f[l]||null!=(e=f[l].inEdges)&&e.some(function(e){return e.source===o.id&&e.target===a.id}))return;null!=(n=f[l].inEdges)&&n.push({source:o.id,target:a.id,controlPoints:s})}(null==o?void 0:o.type)===x.NodeType.META&&(l=f.findIndex(function(e){return e.id===(null==o?void 0:o.id)}),!f[l]||null!=(e=f[l].outEdges)&&e.some(function(e){return e.source===o.id&&e.target===a.id})||null!=(n=f[l].outEdges)&&n.push({source:o.id,target:a.id,controlPoints:s}))}))},s.prototype.getType=function(){return"dagreCompound"},s.prototype.getDataByOrder=function(e){return e.every(function(e){return void 0!==e.layoutOrder})||e.forEach(function(e,t){e.layoutOrder=t}),e.sort(function(e,t){return e.layoutOrder-t.layoutOrder})},s);function s(e){var t=i.call(this)||this;return t.rankdir="TB",t.nodesep=50,t.edgesep=5,t.ranksep=50,t.controlPoints=!0,t.anchorPoint=!0,t.nodes=[],t.edges=[],t.combos=[],t.onLayoutEnd=function(){},t.updateCfg(e),t}t.DagreCompoundLayout=n},95317:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.Graph=void 0,i=n(54917).Graph,o(a,i),a);function a(){return null!==i&&i.apply(this,arguments)||this}t.Graph=n},46269:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},r=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(81449))),n=n(656);t.default={layout:r.default,util:{time:n.time,notime:n.notime}}},62051:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(36791)));t.default={run:function(n){var r,i,o,a,t,e="greedy"===n.graph().acyclicer?(0,s.default)(n,(t=n,function(e){return(null==(e=t.edge(e))?void 0:e.weight)||1})):(i=[],o={},a={},(r=n).nodes().forEach(function t(e){var n;a[e]||(o[e]=a[e]=!0,null!=(n=r.outEdges(e))&&n.forEach(function(e){o[e.w]?i.push(e):t(e.w)}),delete o[e])}),i);null!=e&&e.forEach(function(e){var t=n.edge(e);n.removeEdgeObj(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,"rev-".concat(Math.random()))})},undo:function(r){r.edges().forEach(function(e){var t,n=r.edge(e);n.reversed&&(r.removeEdgeObj(e),t=n.forwardName,delete n.reversed,delete n.forwardName,r.setEdge(e.w,e.v,n,t))})}}},81850:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function s(e,t,n,r,i,o){var a=i[t][o-1],n=(0,l.addDummyNode)(e,"border",{rank:o,borderType:t,width:0,height:0},n);i[t][o]=n,e.setParent(n,r),a&&e.setEdge(a,n,{weight:1})}var l=n(656);t.default=function(a){var e;null!=(e=a.children())&&e.forEach(function e(t){var n=a.children(t),r=a.node(t);if(null!=n&&n.length&&n.forEach(e),r.hasOwnProperty("minRank")){r.borderLeft=[],r.borderRight=[];for(var i=r.minRank,o=r.maxRank+1;i<o;i+=1)s(a,"borderLeft","_bl",t,r,i),s(a,"borderRight","_br",t,r,i)}})}},17359:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function i(t){t.nodes().forEach(function(e){n(t.node(e))}),t.edges().forEach(function(e){n(t.edge(e))})}function n(e){var t=e.width;e.width=e.height,e.height=t}function o(e){null!=e&&e.y&&(e.y=-e.y)}function a(e){var t=e.x;e.x=e.y,e.y=t}t.default={adjust:function(e){var t=null==(t=e.graph().rankdir)?void 0:t.toLowerCase();"lr"!==t&&"rl"!==t||i(e)},undo:function(e){var n,r,t=null==(t=e.graph().rankdir)?void 0:t.toLowerCase();"bt"!==t&&"rl"!==t||((r=e).nodes().forEach(function(e){o(r.node(e))}),r.edges().forEach(function(e){var t,e=r.edge(e);null!=(t=e.points)&&t.forEach(o),e.hasOwnProperty("y")&&o(e)})),"lr"!==t&&"rl"!==t||((n=e).nodes().forEach(function(e){a(n.node(e))}),n.edges().forEach(function(e){var t,e=n.edge(e);null!=(t=e.points)&&t.forEach(a),e.hasOwnProperty("x")&&a(e)}),i(e))}}},55272:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function r(e,t){if("next"!==e&&"prev"!==e)return t}function n(e){e.prev.next=e.next,e.next.prev=e.prev,delete e.next,delete e.prev}function i(){var e={};(e.prev=e).next=e.prev,this.shortcut=e}i.prototype.dequeue=function(){var e=this.shortcut,t=e.prev;if(t&&t!==e)return n(t),t},i.prototype.enqueue=function(e){var t=this.shortcut;e.prev&&e.next&&n(e),e.next=t.next,t.next.prev=e,(t.next=e).prev=t},i.prototype.toString=function(){for(var e=[],t=this.shortcut,n=t.prev;n!==t;)e.push(JSON.stringify(n,r)),n=null==n?void 0:n.prev;return"[".concat(e.join(", "),"]")},t.default=i},36791:function(e,t,n){"use strict";function r(){return 1}var i,o,a,s=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},l=(Object.defineProperty(t,"__esModule",{value:!0}),l(n(55272))),n=n(54917),u=(a=l.default,s(p,a),p),c=(o=n.Graph,s(d,o),d),f=function(r,i,o,e,a){var t,s=[];return null!=(t=r.inEdges(e.v))&&t.forEach(function(e){var t=r.edge(e),n=r.node(e.v);a&&s.push({v:e.v,w:e.w,in:0,out:0}),void 0===n.out&&(n.out=0),n.out-=t,h(i,o,n)}),null!=(t=r.outEdges(e.v))&&t.forEach(function(e){var t=r.edge(e),e=e.w,e=r.node(e);void 0===e.in&&(e.in=0),e.in-=t,h(i,o,e)}),r.removeNode(e.v),a?s:void 0},h=function(e,t,n){(n.out?n.in?e[n.out-n.in+t]:e[e.length-1]:e[0]).enqueue(n)};function d(){return null!==o&&o.apply(this,arguments)||this}function p(){return null!==a&&a.apply(this,arguments)||this}t.default=function(t,e){return t.nodeCount()<=1?[]:null==(e=function(e,t,n){for(var r,i=[],o=t[t.length-1],a=t[0];e.nodeCount();){for(;r=a.dequeue();)f(e,t,n,r);for(;r=o.dequeue();)f(e,t,n,r);if(e.nodeCount())for(var s=t.length-2;0<s;--s)if(r=t[s].dequeue()){i=i.concat(f(e,t,n,r,!0));break}}return i}((e=function(e,r){var i=new c,o=0,a=0;e.nodes().forEach(function(e){i.setNode(e,{v:e,in:0,out:0})}),e.edges().forEach(function(e){var t=i.edge(e)||0,n=(null==r?void 0:r(e))||1;i.setEdge(e.v,e.w,t+n),a=Math.max(a,i.node(e.v).out+=n),o=Math.max(o,i.node(e.w).in+=n)});for(var t=[],n=a+o+3,s=0;s<n;s++)t.push(new u);var l=o+1;return i.nodes().forEach(function(e){h(t,l,i.node(e))}),{buckets:t,zeroIdx:l,graph:i}}(t,e||r)).graph,e.buckets,e.zeroIdx).map(function(e){return t.outEdges(e.v,e.w)}))?void 0:e.flat()}},81449:function(r,e,t){"use strict";var a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=(Object.defineProperty(e,"__esModule",{value:!0}),n(t(62051))),l=n(t(2749)),u=n(t(75378)),c=t(656),f=n(t(71745)),h=n(t(83077)),d=n(t(81850)),p=n(t(17359)),y=n(t(74962)),m=n(t(34831)),g=n(t(76590)),v=t(95317),b=["nodesep","edgesep","ranksep","marginx","marginy"],_={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},x=["acyclicer","ranker","rankdir","align"],w=["width","height","layer","fixorder"],A={width:0,height:0},S=["minlen","weight","width","height","labeloffset"],C={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},O=["labelpos"],E=function(n){n.edges().forEach(function(e){var t=n.edge(e);t.width&&t.height&&(t=n.node(e.v),e={e:e,rank:(n.node(e.w).rank-t.rank)/2+t.rank},(0,c.addDummyNode)(n,"edge-proxy",e,"_ep"))})},M=function(n){var r=0;n.nodes().forEach(function(e){var t,e=n.node(e);e.borderTop&&(e.minRank=null==(t=n.node(e.borderTop))?void 0:t.rank,e.maxRank=null==(t=n.node(e.borderBottom))?void 0:t.rank,r=Math.max(r,e.maxRank||-1/0))}),n.graph().maxRank=r},P=function(n){n.nodes().forEach(function(e){var t=n.node(e);"edge-proxy"===t.dummy&&(n.edge(t.e).labelRank=t.rank,n.removeNode(e))})},k=function(n){function t(e){var t,n,r;e&&(t=e.x,n=e.y,r=e.width,e=e.height,isNaN(t)||isNaN(r)||(void 0===i&&(i=t-r/2),i=Math.min(i,t-r/2),a=Math.max(a,t+r/2)),isNaN(n)||isNaN(e)||(void 0===o&&(o=n-e/2),o=Math.min(o,n-e/2),s=Math.max(s,n+e/2)))}var i,o,a=0,s=0,e=n.graph(),r=e.marginx||0,l=e.marginy||0;n.nodes().forEach(function(e){t(n.node(e))}),n.edges().forEach(function(e){e=n.edge(e);null!=e&&e.hasOwnProperty("x")&&t(e)}),i-=r,o-=l,n.nodes().forEach(function(e){e=n.node(e);e&&(e.x-=i,e.y-=o)}),n.edges().forEach(function(e){var t,e=n.edge(e);null!=(t=e.points)&&t.forEach(function(e){e.x-=i,e.y-=o}),e.hasOwnProperty("x")&&(e.x-=i),e.hasOwnProperty("y")&&(e.y-=o)}),e.width=a-i+r,e.height=s-o+l},T=function(o){o.edges().forEach(function(e){var t,n=o.edge(e),r=o.node(e.v),e=o.node(e.w),i=n.points?(t=n.points[0],n.points[n.points.length-1]):(n.points=[],t=e,r);n.points.unshift((0,c.intersectRect)(r,t)),n.points.push((0,c.intersectRect)(e,i))})},I=function(n){n.edges().forEach(function(e){var t=n.edge(e);if(null!=t&&t.hasOwnProperty("x"))switch("l"!==t.labelpos&&"r"!==t.labelpos||(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset}})},L=function(t){t.edges().forEach(function(e){var e=t.edge(e);e.reversed&&null!=(e=e.points)&&e.reverse()})},j=function(o){o.nodes().forEach(function(e){var t,n,r,i;null!=(t=o.children(e))&&t.length&&(t=o.node(e),e=o.node(t.borderTop),n=o.node(t.borderBottom),r=o.node(t.borderLeft[(null==(r=t.borderLeft)?void 0:r.length)-1]),i=o.node(t.borderRight[(null==(i=t.borderRight)?void 0:i.length)-1]),t.width=Math.abs((null==i?void 0:i.x)-(null==r?void 0:r.x))||10,t.height=Math.abs((null==n?void 0:n.y)-(null==e?void 0:e.y))||10,t.x=((null==r?void 0:r.x)||0)+t.width/2,t.y=((null==e?void 0:e.y)||0)+t.height/2)}),o.nodes().forEach(function(e){var t;"border"===(null==(t=o.node(e))?void 0:t.dummy)&&o.removeNode(e)})},D=function(n){n.edges().forEach(function(e){var t;e.v===e.w&&((t=n.node(e.v)).selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:e,label:n.edge(e)}),n.removeEdgeObj(e))})},B=function(i){var e=(0,c.buildLayerMatrix)(i);null!=e&&e.forEach(function(e){var r=0;null!=e&&e.forEach(function(e,t){var n=i.node(e);n.order=t+r,null!=(e=n.selfEdges)&&e.forEach(function(e){(0,c.addDummyNode)(i,"selfedge",{width:e.label.width,height:e.label.height,rank:n.rank,order:t+ ++r,e:e.e,label:e.label},"_se")}),delete n.selfEdges})})},z=function(a){a.nodes().forEach(function(e){var t,n,r,i,o=a.node(e);"selfedge"===o.dummy&&(t=(i=a.node(o.e.v)).x+i.width/2,n=i.y,r=o.x-t,i=i.height/2,a.setEdgeObj(o.e,o.label),a.removeNode(e),o.label.points=[{x:t+2*r/3,y:n-i},{x:t+5*r/6,y:n-i},{y:n,x:t+r},{x:t+5*r/6,y:n+i},{x:t+2*r/3,y:n+i}],o.label.x=o.x,o.label.y=o.y)})},R=function(t,e){var n={};return null!=e&&e.forEach(function(e){void 0!==t[e]&&(n[e]=+t[e])}),n},N=function(t){void 0===t&&(t={});var n={};return Object.keys(t).forEach(function(e){n[e.toLowerCase()]=t[e]}),n};e.default=function(e,i){var r=i&&i.debugTiming?c.time:c.notime;r("layout",function(){i&&!i.keepNodeOrder&&i.prevGraph&&r(" inheritOrder",function(){var n,r;n=e,r=i.prevGraph,n.nodes().forEach(function(e){var t=n.node(e),e=r.node(e);void 0!==e?(t.fixorder=e._order,delete e._order):delete t.fixorder})});var o=r(" buildLayoutGraph",function(){return r=e,i=new v.Graph({multigraph:!0,compound:!0}),t=N(r.graph()),n={},null!=x&&x.forEach(function(e){void 0!==t[e]&&(n[e]=t[e])}),i.setGraph(Object.assign({},_,R(t,b),n)),r.nodes().forEach(function(e){var t=N(r.node(e)),t=a(a({},A),t),t=R(t,w);i.setNode(e,t),i.setParent(e,r.parent(e))}),r.edges().forEach(function(e){var t=N(r.edge(e)),n={};null!=O&&O.forEach(function(e){void 0!==t[e]&&(n[e]=t[e])}),i.setEdgeObj(e,Object.assign({},C,R(t,S),n))}),i;var r,i,t,n});i&&!1===i.edgeLabelSpace||r(" makeSpaceForEdgeLabels",function(){var n,r;(r=(n=o).graph()).ranksep||(r.ranksep=0),r.ranksep/=2,n.nodes().forEach(function(e){e=n.node(e);isNaN(e.layer)||e.layer||(e.layer=0)}),n.edges().forEach(function(e){var t,e=n.edge(e);e.minlen*=2,"c"!==(null==(t=e.labelpos)?void 0:t.toLowerCase())&&("TB"===r.rankdir||"BT"===r.rankdir?e.width+=e.labeloffset:e.height+=e.labeloffset)})});try{r(" runLayout",function(){var e,t,n;e=o,n=i,(t=r)(" removeSelfEdges",function(){D(e)}),t(" acyclic",function(){s.default.run(e)}),t(" nestingGraph.run",function(){h.default.run(e)}),t(" rank",function(){(0,u.default)((0,c.asNonCompoundGraph)(e))}),t(" injectEdgeLabelProxies",function(){E(e)}),t(" removeEmptyRanks",function(){(0,c.removeEmptyRanks)(e)}),t(" nestingGraph.cleanup",function(){h.default.cleanup(e)}),t(" normalizeRanks",function(){(0,c.normalizeRanks)(e)}),t(" assignRankMinMax",function(){M(e)}),t(" removeEdgeLabelProxies",function(){P(e)}),t(" normalize.run",function(){l.default.run(e)}),t(" parentDummyChains",function(){(0,f.default)(e)}),t(" addBorderSegments",function(){(0,d.default)(e)}),n&&n.keepNodeOrder&&t(" initDataOrder",function(){(0,g.default)(e,n.nodeOrder)}),t(" order",function(){(0,y.default)(e,null==n?void 0:n.keepNodeOrder)}),t(" insertSelfEdges",function(){B(e)}),t(" adjustCoordinateSystem",function(){p.default.adjust(e)}),t(" position",function(){(0,m.default)(e)}),t(" positionSelfEdges",function(){z(e)}),t(" removeBorderNodes",function(){j(e)}),t(" normalize.undo",function(){l.default.undo(e)}),t(" fixupEdgeLabelCoords",function(){I(e)}),t(" undoCoordinateSystem",function(){p.default.undo(e)}),t(" translateGraph",function(){k(e)}),t(" assignNodeIntersects",function(){T(e)}),t(" reversePoints",function(){L(e)}),t(" acyclic.undo",function(){s.default.undo(e)})})}catch(e){if("Not possible to find intersection inside of the rectangle"===e.message)return void console.error("The following error may be caused by improper layer setting, please make sure your manual layer setting does not violate the graph's structure:\n",e);throw e}r(" updateInputGraph",function(){var r,i;i=o,(r=e).nodes().forEach(function(e){var t,n=r.node(e);n&&(t=i.node(e),n.x=t.x,n.y=t.y,n._order=t.order,n._rank=t.rank,null!=(e=i.children(e)))&&e.length&&(n.width=t.width,n.height=t.height)}),r.edges().forEach(function(e){var t=r.edge(e),e=i.edge(e);t.points=e?e.points:[],e&&e.hasOwnProperty("x")&&(t.x=e.x,t.y=e.y)}),r.graph().width=i.graph().width,r.graph().height=i.graph().height})})}},83077:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function d(i,o,a,s,l,u,c){var f,h,e,t=i.children(c);null!=t&&t.length?(f=(0,p.addBorderNode)(i,"_bt"),h=(0,p.addBorderNode)(i,"_bb"),e=i.node(c),i.setParent(f,c),e.borderTop=f,i.setParent(h,c),e.borderBottom=h,null!=t&&t.forEach(function(e){d(i,o,a,s,l,u,e);var t=i.node(e),n=t.borderTop||e,e=t.borderBottom||e,t=t.borderTop?s:2*s,r=n!==e?1:l-u[c]+1;i.setEdge(f,n,{minlen:r,weight:t,nestingEdge:!0}),i.setEdge(e,h,{minlen:r,weight:t,nestingEdge:!0})}),i.parent(c)||i.setEdge(o,f,{weight:0,minlen:l+u[c]})):c!==o&&i.setEdge(o,c,{weight:0,minlen:a})}var p=n(656);t.default={run:function(t){var i,o,n,r,a=(0,p.addDummyNode)(t,"root",{},"_root"),s=(o={},null!=(e=(i=t).children())&&e.forEach(function(e){return function t(e,n){var r=i.children(e);null!=r&&r.forEach(function(e){return t(e,n+1)}),o[e]=n}(e,1)}),o),e=Math.max.apply(Math,Object.values(s)),l=(e=Math.abs(e)===1/0?1:e)-1,u=2*l+1,c=(t.graph().nestingRoot=a,t.edges().forEach(function(e){t.edge(e).minlen*=u}),r=0,(n=t).edges().forEach(function(e){r+=n.edge(e).weight}),r+1);null!=(e=t.children())&&e.forEach(function(e){d(t,a,u,c,l,s,e)}),t.graph().nodeRankFactor=u},cleanup:function(t){var e=t.graph();e.nestingRoot&&t.removeNode(e.nestingRoot),delete e.nestingRoot,t.edges().forEach(function(e){t.edge(e).nestingEdge&&t.removeEdgeObj(e)})}}},2749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var p=n(656);t.default={run:function(d){d.graph().dummyChains=[],d.edges().forEach(function(e){var t=d,n=e,r=n.v,i=t.node(r).rank,e=n.w,o=t.node(e).rank,a=n.name,s=t.edge(n),l=s.labelRank;if(o!==i+1){t.removeEdgeObj(n);var u,c,f=t.graph(),h=0;for(++i;i<o;++h,++i)s.points=[],u=(0,p.addDummyNode)(t,"edge",c={edgeLabel:s,width:0,height:0,edgeObj:n,rank:i},"_d"),i===l&&(c.width=s.width,c.height=s.height,c.dummy="edge-label",c.labelpos=s.labelpos),t.setEdge(r,u,{weight:s.weight},a),0===h&&(f.dummyChains||(f.dummyChains=[]),f.dummyChains.push(u)),r=u;t.setEdge(r,e,{weight:s.weight},a)}})},undo:function(o){var e;null!=(e=o.graph().dummyChains)&&e.forEach(function(e){var t,n=o.node(e),r=n.edgeLabel;n.edgeObj&&o.setEdgeObj(n.edgeObj,r);for(var i=e;n.dummy;)t=o.successors(i)[0],o.removeNode(i),r.points.push({x:n.x,y:n.y}),"edge-label"===n.dummy&&(r.x=n.x,r.y=n.y,r.width=n.width,r.height=n.height),n=o.node(i=t)})}}},92059:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(i,o,e){var a,s={};null!=e&&e.forEach(function(e){for(var t,n,r=i.parent(e);r;){if((t=i.parent(r))?(n=s[t],s[t]=r):(n=a,a=r),n&&n!==r)return void o.setEdge(n,r);r=t}})}},16771:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r,e){return e.map(function(e){var n,t=r.inEdges(e);return null!=t&&t.length?(n={sum:0,weight:0},null!=t&&t.forEach(function(e){var t=r.edge(e),e=r.node(e.v);n.sum+=t.weight*e.order,n.weight+=t.weight}),{v:e,barycenter:n.sum/n.weight,weight:n.weight}):{v:e}})}},95053:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(95317);t.default=function(i,n,o){var a=function(e){for(var t;e.hasNode(t="_root".concat(Math.random())););return t}(i),s=new r.Graph({compound:!0}).setGraph({root:a}).setDefaultNodeLabel(function(e){return i.node(e)});return i.nodes().forEach(function(r){var e=i.node(r),t=i.parent(r);(e.rank===n||e.minRank<=n&&n<=e.maxRank)&&(s.setNode(r),s.setParent(r,t||a),null!=(t=i[o](r))&&t.forEach(function(e){var t=e.v===r?e.w:e.v,n=s.edgeFromArgs(t,r),n=void 0!==n?n.weight:0;s.setEdge(t,r,{weight:i.edge(e).weight+n})}),e.hasOwnProperty("minRank"))&&s.setNode(r,{borderLeft:e.borderLeft[n],borderRight:e.borderRight[n]})}),s}},42468:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n(656);t.default=function(e,t){for(var n=0,r=1;r<(null==t?void 0:t.length);r+=1)n+=function(t,e,n){for(var r=(0,l.zipObject)(n,n.map(function(e,t){return t})),e=e.map(function(e){e=null==(e=t.outEdges(e))?void 0:e.map(function(e){return{pos:r[e.w]||0,weight:t.edge(e).weight}});return null==e?void 0:e.sort(function(e,t){return e.pos-t.pos})}).flat().filter(function(e){return void 0!==e}),i=1;i<n.length;)i<<=1;var o=2*i-1,a=(--i,Array(o).fill(0,0,o)),s=0;return null!=e&&e.forEach(function(e){if(e){var t=e.pos+i;a[t]+=e.weight;for(var n=0;0<t;)t%2&&(n+=a[t+1]),a[t=t-1>>1]+=e.weight;s+=e.weight*n}}),s}(e,t[r-1],t[r]);return n}},74962:function(e,t,n){"use strict";function d(t,e,n){return e.map(function(e){return(0,i.default)(t,e,n)})}function p(e,o,a,s){var l=new f.Graph;null!=e&&e.forEach(function(e){for(var t=e.graph().root,n=(0,c.default)(e,t,l,o,a,s),r=0;r<(null==(i=n.vs)?void 0:i.length);r++){var i=e.node(n.vs[r]);i&&(i.order=r)}(0,u.default)(e,l,n.vs)})}function y(n,e){null!=e&&e.forEach(function(e){null!=e&&e.forEach(function(e,t){n.node(e).order=t})})}var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},m=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(59883))),g=r(n(42468)),i=r(n(95053)),u=r(n(92059)),c=r(n(49514)),v=n(58652),f=n(95317),b=n(656);t.default=function(e,t){for(var n=(0,b.maxRank)(e),r=[],i=[],o=1;o<n+1;o++)r.push(o);for(o=n-1;-1<o;o--)i.push(o);var a=d(e,r,"inEdges"),s=d(e,i,"outEdges"),l=(0,m.default)(e);y(e,l);for(var u,c,f=Number.POSITIVE_INFINITY,h=o=0;h<4;++o,++h)p(o%2?a:s,2<=o%4,!1,t),l=(0,b.buildLayerMatrix)(e),(c=(0,g.default)(e,l))<f&&(u=(h=0,v.clone)(l),f=c);for(l=(0,m.default)(e),y(e,l),h=o=0;h<4;++o,++h)p(o%2?a:s,2<=o%4,!0,t),l=(0,b.buildLayerMatrix)(e),(c=(0,g.default)(e,l))<f&&(u=(h=0,v.clone)(l),f=c);y(e,u)}},76590:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n,e){for(var t=n.nodes().filter(function(e){return!(null!=(e=n.children(e))&&e.length)}).map(function(e){return n.node(e).rank}),r=Math.max.apply(Math,t),i=[],o=0;o<r+1;o++)i[o]=[];null!=e&&e.forEach(function(e){var t=n.node(e);!t||null!=t&&t.dummy||isNaN(t.rank)||(t.fixorder=i[t.rank].length,i[t.rank].push(e))})}},59883:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(24258);t.default=function(r){for(var i={},e=r.nodes().filter(function(e){return!(null!=(e=r.children(e))&&e.length)}),t=e.map(function(e){return r.node(e).rank}),n=(0,s.max)(t),o=[],a=0;a<n+1;a++)o.push([]);t=e.sort(function(e,t){return r.node(e).rank-r.node(t).rank}),e=t.filter(function(e){return void 0!==r.node(e).fixorder}).sort(function(e,t){return r.node(e).fixorder-r.node(t).fixorder});return null!=e&&e.forEach(function(e){isNaN(r.node(e).rank)||o[r.node(e).rank].push(e),i[e]=!0}),null!=t&&t.forEach(function e(t){var n;i.hasOwnProperty(t)||(i[t]=!0,n=r.node(t),isNaN(n.rank)||o[n.rank].push(t),null!=(n=r.successors(t))&&n.forEach(e))}),o}},10135:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(t){for(var e,n=[],r=function(){var o=t.pop();n.push(o),null!=(e=o.in.reverse())&&e.forEach(function(e){var t,n,r,i;(e=e).merged||(void 0===e.barycenter||void 0===o.barycenter||e.barycenter>=o.barycenter)&&(e=e,i=r=0,(t=o).weight&&(r+=t.barycenter*t.weight,i+=t.weight),e.weight&&(r+=e.barycenter*e.weight,i+=e.weight),t.vs=null==(n=e.vs)?void 0:n.concat(t.vs),t.barycenter=r/i,t.weight=i,t.i=Math.min(e.i,t.i),e.merged=!0)}),null!=(e=o.out)&&e.forEach(function(e){(e=e).in.push(o),0==--e.indegree&&t.push(e)})};null!=t&&t.length;)r();var i=["vs","i","barycenter","weight"];return n.filter(function(e){return!e.merged}).map(function(t){var n={};return null!=i&&i.forEach(function(e){void 0!==t[e]&&(n[e]=t[e])}),n})}t.default=function(e,t){var r={},e=(null!=e&&e.forEach(function(e,t){r[e.v]={i:t,indegree:0,in:[],out:[],vs:[e.v]};t=r[e.v];void 0!==e.barycenter&&(t.barycenter=e.barycenter,t.weight=e.weight)}),null!=(e=t.edges())&&e.forEach(function(e){var t=r[e.v],n=r[e.w];void 0!==t&&void 0!==n&&(n.indegree++,t.out.push(r[e.w]))}),null==(e=(t=Object.values(r)).filter)?void 0:e.call(t,function(e){return!e.indegree}));return n(e)}},49514:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},h=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(16771))),d=r(n(10135)),p=r(n(10728));t.default=function n(r,e,i,o,t,a){var s,l=r.children(e),e=r.node(e),u=e?e.borderLeft:void 0,c=e?e.borderRight:void 0,f={},e=(u&&(l=null==l?void 0:l.filter(function(e){return e!==u&&e!==c})),(0,h.default)(r,l||[])),l=(null!=e&&e.forEach(function(e){var t;null!=(t=r.children(e.v))&&t.length&&(t=n(r,e.v,i,o,a),(f[e.v]=t).hasOwnProperty("barycenter"))&&(t=t,void 0!==(e=e).barycenter?(e.barycenter=(e.barycenter*e.weight+t.barycenter*t.weight)/(e.weight+t.weight),e.weight+=t.weight):(e.barycenter=t.barycenter,e.weight=t.weight))}),(0,d.default)(e,i)),e=(s=f,null!=(e=l)&&e.forEach(function(e){var t=null==(t=e.vs)?void 0:t.map(function(e){return s[e]?s[e].vs:e});e.vs=t.flat()}),null!=(e=l.filter(function(e){return 0<e.vs.length}))&&e.forEach(function(e){var t=r.node(e.vs[0]);t&&(e.fixorder=t.fixorder,e.order=t.order)}),(0,p.default)(l,o,t,a));return u&&(e.vs=[u,e.vs,c].flat(),null!=(l=r.predecessors(u)))&&l.length&&(l=r.node((null==(t=r.predecessors(u))?void 0:t[0])||""),t=r.node((null==(t=r.predecessors(c))?void 0:t[0])||""),e.hasOwnProperty("barycenter")||(e.barycenter=0,e.weight=0),e.barycenter=(e.barycenter*e.weight+l.order+t.order)/(e.weight+2),e.weight+=2),e}},10728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function h(e,t,n){for(var r,i=n;t.length&&(r=t[t.length-1]).i<=i;)t.pop(),null!=e&&e.push(r.vs),i++;return i}var d=n(656);t.default=function(e,t,n,r){var i,o,e=(0,d.partition)(e,function(e){var t=e.hasOwnProperty("fixorder")&&!isNaN(e.fixorder);return r?!t&&e.hasOwnProperty("barycenter"):t||e.hasOwnProperty("barycenter")}),a=e.lhs,s=e.rhs.sort(function(e,t){return-e.i- -t.i}),l=[],u=0,c=0,f=0,e=(null!=a&&a.sort((i=!!t,o=!!n,function(e,t){if(void 0!==e.fixorder&&void 0!==t.fixorder)return e.fixorder-t.fixorder;if(e.barycenter<t.barycenter)return-1;if(e.barycenter>t.barycenter)return 1;if(o&&void 0!==e.order&&void 0!==t.order){if(e.order<t.order)return-1;if(e.order>t.order)return 1}return i?t.i-e.i:e.i-t.i})),f=h(l,s,f),null!=a&&a.forEach(function(e){var t;f+=null==(t=e.vs)?void 0:t.length,l.push(e.vs),u+=e.barycenter*e.weight,c+=e.weight,f=h(l,s,f)}),{vs:l.flat()});return c&&(e.barycenter=u/c,e.weight=c),e}},71745:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(f){o={},a=0,null!=(e=(i=f).children())&&e.forEach(function e(t){var n,r=a;null!=(n=i.children(t))&&n.forEach(e),o[t]={low:r,lim:a++}});var i,e,o,a,h=o;null!=(e=f.graph().dummyChains)&&e.forEach(function(e){var t,n,r,i=e,o=f.node(i).edgeObj;if(o)for(var e=function(e,t,n,r){for(var i,o=[],a=[],s=Math.min(t[n].low,t[r].low),l=Math.max(t[n].lim,t[r].lim),u=n;u=e.parent(u),o.push(u),u&&(t[u].low>s||l>t[u].lim););for(i=u,u=r;u&&u!==i;)a.push(u),u=e.parent(u);return{lca:i,path:o.concat(a.reverse())}}(f,h,o.v,o.w),a=e.path,s=e.lca,l=0,u=a[l],c=!0;i!==o.w;){if(r=f.node(i),c){for(;u!==s&&(null==(t=f.node(u))?void 0:t.maxRank)<r.rank;)u=a[++l];u===s&&(c=!1)}if(!c){for(;l<a.length-1&&(null==(n=f.node(a[l+1]))?void 0:n.minRank)<=r.rank;)l++;u=a[l]}f.setParent(i,u),i=f.successors(i)[0]}})}},22438:function(e,h,t){"use strict";var r,n,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=(Object.defineProperty(h,"__esModule",{value:!0}),h.width=h.sep=h.positionX=h.balance=h.alignCoordinates=h.findSmallestWidthAlignment=h.buildBlockGraph=h.horizontalCompaction=h.verticalAlignment=h.hasConflict=h.addConflict=h.findOtherInnerSegmentNode=h.findType2Conflicts=h.findType1Conflicts=void 0,t(54917)),c=t(24258),l=t(656),u=(n=o.Graph,i(a,n),a);function a(){return null!==n&&n.apply(this,arguments)||this}function f(a,s){var e=Object.values(s),l=(0,c.min)(e),u=(0,c.max)(e);["u","d"].forEach(function(o){["l","r"].forEach(function(e){var t,n,r=o+e,i=a[r];i!==s&&(n=Object.values(i),t="l"===e?l-(0,c.min)(n):u-(0,c.max)(n))&&(a[r]={},Object.keys(i).forEach(function(e){a[r][e]=i[e]+t}))})})}h.findType1Conflicts=function(u,e){var c={};return null!=e&&e.length&&e.reduce(function(e,r){var o=0,a=0,s=e.length,l=null==r?void 0:r[(null==r?void 0:r.length)-1];return null!=r&&r.forEach(function(e,t){var n=(0,h.findOtherInnerSegmentNode)(u,e),i=n?u.node(n).order:s;!n&&e!==l||(null!=(n=r.slice(a,t+1))&&n.forEach(function(r){var e;null!=(e=u.predecessors(r))&&e.forEach(function(e){var t=u.node(e),n=t.order;!(n<o||i<n)||t.dummy&&null!=(n=u.node(r))&&n.dummy||(0,h.addConflict)(c,e,r)})}),a=t+1,o=i)}),r}),c},h.findType2Conflicts=function(u,e){var l={};function c(e,t){var n=JSON.stringify(e.slice(1));t.get(n)||(function(e,t,n,r,i){for(var o,a,s=t;s<n;s++)a=e[s],null==(o=u.node(a))||!o.dummy||null!=(o=u.predecessors(a))&&o.forEach(function(e){var t=u.node(e);t.dummy&&(t.order<r||t.order>i)&&(0,h.addConflict)(l,e,a)})}.apply(void 0,e),t.set(n,!0))}return null!=e&&e.length&&e.reduce(function(r,i){var o,a=-1,s=0,l=new Map;return null!=i&&i.forEach(function(e,t){var n;"border"===(null==(n=u.node(e))?void 0:n.dummy)&&(n=u.predecessors(e)||[]).length&&(o=u.node(n[0]).order,c([i,s,t,a,o],l),s=t,a=o),c([i,s,i.length,o,r.length],l)}),i}),l},h.findOtherInnerSegmentNode=function(t,e){var n;return null==(n=t.node(e))||!n.dummy||null==(n=t.predecessors(e))?void 0:n.find(function(e){return t.node(e).dummy})},h.addConflict=function(e,t,n){var r,i=n,n=(n<t&&(r=t,t=n,i=r),e[t]);n||(e[t]=n={}),n[i]=!0},h.hasConflict=function(e,t,n){return!!e[n<t?n:t]},h.verticalAlignment=function(e,t,s,l){var u={},c={},f={};return null!=t&&t.forEach(function(e){null!=e&&e.forEach(function(e,t){f[c[u[e]=e]=e]=t})}),null!=t&&t.forEach(function(e){var a=-1;null!=e&&e.forEach(function(e){var t=l(e);if(t.length)for(var n=((t=t.sort(function(e,t){return f[e]-f[t]})).length-1)/2,r=Math.floor(n),i=Math.ceil(n);r<=i;++r){var o=t[r];c[e]===e&&a<f[o]&&!(0,h.hasConflict)(s,e,o)&&(c[o]=e,c[e]=u[e]=u[o],a=f[o])}})}),{root:u,align:c}},h.horizontalCompaction=function(r,e,t,n,i){function o(e,t){for(var n=s.nodes(),r=n.pop(),i={};r;)i[r]?e(r):(i[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()}var a={},s=(0,h.buildBlockGraph)(r,e,t,i),l=i?"borderLeft":"borderRight";return o(function(e){a[e]=(s.inEdges(e)||[]).reduce(function(e,t){return Math.max(e,(a[t.v]||0)+s.edge(t))},0)},s.predecessors.bind(s)),o(function(e){var t=(s.outEdges(e)||[]).reduce(function(e,t){return Math.min(e,(a[t.w]||0)-s.edge(t))},Number.POSITIVE_INFINITY),n=r.node(e);t!==Number.POSITIVE_INFINITY&&n.borderType!==l&&(a[e]=Math.max(a[e],t))},s.successors.bind(s)),null!=(e=Object.values(n))&&e.forEach(function(e){a[e]=a[t[e]]}),a},h.buildBlockGraph=function(o,e,a,t){var s=new u,n=o.graph(),l=(0,h.sep)(n.nodesep,n.edgesep,t);return null!=e&&e.forEach(function(e){var i;null!=e&&e.forEach(function(e){var t,n,r=a[e];s.setNode(r),i&&(t=a[i],n=s.edgeFromArgs(t,r),s.setEdge(t,r,Math.max(l(o,e,i),n||0))),i=e})}),s},h.findSmallestWidthAlignment=function(o,e){return(0,l.minBy)(Object.values(e),function(n){var e,r=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return null!=(e=Object.keys(n))&&e.forEach(function(e){var t=n[e],e=(0,h.width)(o,e)/2;r=Math.max(t+e,r),i=Math.min(t-e,i)}),r-i})},h.alignCoordinates=f,h.balance=function(n,r){var i={};return Object.keys(n.ul).forEach(function(t){var e;r?i[t]=n[r.toLowerCase()][t]:(e=Object.values(n).map(function(e){return e[t]}),i[t]=(e[0]+e[1])/2)}),i},h.positionX=function(i){var o,e=(0,l.buildLayerMatrix)(i),a=Object.assign((0,h.findType1Conflicts)(i,e),(0,h.findType2Conflicts)(i,e)),s={},t=(["u","d"].forEach(function(r){o="u"===r?e:Object.values(e).reverse(),["l","r"].forEach(function(e){"r"===e&&(o=o.map(function(e){return Object.values(e).reverse()}));var t=("u"===r?i.predecessors:i.successors).bind(i),t=(0,h.verticalAlignment)(i,o,a,t),n=(0,h.horizontalCompaction)(i,o,t.root,t.align,"r"===e);"r"===e&&Object.keys(n).forEach(function(e){n[e]=-n[e]}),s[r+e]=n})}),(0,h.findSmallestWidthAlignment)(i,s));return f(s,t),(0,h.balance)(s,i.graph().align)},h.sep=function(a,s,l){return function(e,t,n){var r,i=e.node(t),o=e.node(n),t=0;if(t+=i.width/2,i.hasOwnProperty("labelpos"))switch((i.labelpos||"").toLowerCase()){case"l":r=-i.width/2;break;case"r":r=i.width/2}if(r&&(t+=l?r:-r),r=0,t=(t=(t+=(i.dummy?s:a)/2)+(o.dummy?s:a)/2)+o.width/2,o.labelpos)switch((o.labelpos||"").toLowerCase()){case"l":r=o.width/2;break;case"r":r=-o.width/2}return r&&(t+=l?r:-r),r=0,t}},h.width=function(e,t){return e.node(t).width||0}},34831:function(e,t,n){"use strict";var f=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},h=(Object.defineProperty(t,"__esModule",{value:!0}),n(656)),d=n(22438);t.default=function(e){var r,i,o,a,t,s,l,u,n=(0,h.asNonCompoundGraph)(e),c=(r=n,e=(0,h.buildLayerMatrix)(r),i=r.graph().ranksep,o=0,null!=e&&e.forEach(function(e){var t=e.map(function(e){return r.node(e).height}),n=Math.max.apply(Math,f(f([],t,!1),[0],!1));null!=e&&e.forEach(function(e){r.node(e).y=o+n/2}),o+=n+i}),a=n,t=(0,h.buildLayerMatrix)(a),s=Object.assign((0,d.findType1Conflicts)(a,t),(0,d.findType2Conflicts)(a,t)),l={},u=[],["u","d"].forEach(function(r){u="u"===r?t:Object.values(t).reverse(),["l","r"].forEach(function(e){"r"===e&&(u=u.map(function(e){return Object.values(e).reverse()}));var t=("u"===r?a.predecessors:a.successors).bind(a),t=(0,d.verticalAlignment)(a,u,s,t),n=(0,d.horizontalCompaction)(a,u,t.root,t.align,"r"===e);"r"===e&&Object.keys(n).forEach(function(e){return n[e]=-n[e]}),l[r+e]=n})}),(e=(0,d.findSmallestWidthAlignment)(a,l))&&(0,d.alignCoordinates)(l,e),(0,d.balance)(l,a.graph().align));null!=(e=Object.keys(c))&&e.forEach(function(e){n.node(e).x=c[e]})}},6838:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.feasibleTreeWithLayer=t.feasibleTree=void 0;function r(e){var t,n=new s.Graph({directed:!1}),r=e.nodes()[0],i=e.nodeCount();for(n.setNode(r,{});l(n,e)<i;)t=c(n,e),t=n.hasNode(t.v)?(0,a.slack)(e,t):-(0,a.slack)(e,t),f(n,e,t);return n}function i(t){var e,n=new s.Graph({directed:!1}),r=t.nodes()[0],i=t.nodes().filter(function(e){return!!t.node(e)}).length;for(n.setNode(r,{});u(n,t)<i;)e=c(n,t),e=n.hasNode(e.v)?(0,a.slack)(t,e):-(0,a.slack)(t,e),f(n,t,e);return n}var a=n(28861),o=n(656),s=n(95317),l=(t.feasibleTree=r,function(i,o){return i.nodes().forEach(function n(r){o.nodeEdges(r).forEach(function(e){var t=e.v,t=r===t?e.w:t;i.hasNode(t)||(0,a.slack)(o,e)||(i.setNode(t,{}),i.setEdge(r,t,{}),n(t))})}),i.nodeCount()}),u=(t.feasibleTreeWithLayer=i,function(i,o){return i.nodes().forEach(function n(r){var e;null!=(e=o.nodeEdges(r))&&e.forEach(function(e){var t=e.v,t=r===t?e.w:t;i.hasNode(t)||void 0===o.node(t).layer&&(0,a.slack)(o,e)||(i.setNode(t,{}),i.setEdge(r,t,{}),n(t))})}),i.nodeCount()}),c=function(t,n){return(0,o.minBy)(n.edges(),function(e){return t.hasNode(e.v)!==t.hasNode(e.w)?(0,a.slack)(n,e):1/0})},f=function(e,t,n){e.nodes().forEach(function(e){t.node(e).rank||(t.node(e).rank=0),t.node(e).rank+=n})};t.default={feasibleTree:r,feasibleTreeWithLayer:i}},75378:function(e,t,n){"use strict";function r(e){(0,o.longestPathWithLayer)(e),(0,a.feasibleTreeWithLayer)(e)}var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=(Object.defineProperty(t,"__esModule",{value:!0}),n(28861)),a=n(6838),s=i(n(2035)),l=o.longestPath;t.default=function(e){switch(e.graph().ranker){case"network-simplex":(0,s.default)(e);break;case"tight-tree":r(e);break;case"longest-path":l(e);break;default:r(e)}}},2035:function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exchangeEdges=o.enterEdge=o.leaveEdge=o.initLowLimValues=o.calcCutValue=o.initCutValues=void 0;var a=t(6838),s=t(28861),l=t(656),t=t(54917),n=t.algorithm.preorder,r=t.algorithm.postorder,i=(o.initCutValues=function(t,n){var e=r(t,t.nodes());null!=(e=null==e?void 0:e.slice(0,(null==e?void 0:e.length)-1))&&e.forEach(function(e){i(t,n,e)})},function(e,t,n){var r=e.node(n).parent;e.edgeFromArgs(n,r).cutvalue=(0,o.calcCutValue)(e,t,n)}),u=(o.calcCutValue=function(r,i,o){var a=r.node(o).parent,s=!0,e=i.edgeFromArgs(o,a),l=0;return e||(s=!1,e=i.edgeFromArgs(a,o)),l=e.weight,null!=(e=i.nodeEdges(o))&&e.forEach(function(e){var t=e.v===o,n=t?e.w:e.v;n!==a&&(t=t===s,e=i.edge(e).weight,l+=t?e:-e,f(r,o,n))&&(e=r.edgeFromArgs(o,n).cutvalue,l+=t?-e:e)}),l},o.initLowLimValues=function(e,t){void 0===t&&(t=e.nodes()[0]),u(e,{},1,t)},function t(n,r,e,i,o){var a,s=e,l=e,e=n.node(i);return r[i]=!0,null!=(a=n.neighbors(i))&&a.forEach(function(e){r[e]||(l=t(n,r,l,e,i))}),e.low=s,e.lim=l++,o?e.parent=o:delete e.parent,l}),c=(o.leaveEdge=function(t){return t.edges().find(function(e){return t.edge(e).cutvalue<0})},o.enterEdge=function(t,n,e){var r=e.v,i=e.w,e=(n.hasEdge(r,i)||(r=e.w,i=e.v),t.node(r)),r=t.node(i),o=e,a=!1,i=(e.lim>r.lim&&(o=r,a=!0),n.edges().filter(function(e){return a===h(t,t.node(e.v),o)&&a!==h(t,t.node(e.w),o)}));return(0,l.minBy)(i,function(e){return(0,s.slack)(n,e)})},o.exchangeEdges=function(e,t,n,r){var i=n.v,n=n.w;e.removeEdge(i,n),e.setEdge(r.v,r.w,{}),(0,o.initLowLimValues)(e),(0,o.initCutValues)(e,t),c(e,t)},function(i,o){var e=i.nodes().find(function(e){return!(null!=(e=o.node(e))&&e.parent)}),e=n(i,e);null!=(e=null==e?void 0:e.slice(1))&&e.forEach(function(e){var t=i.node(e).parent,n=o.edgeFromArgs(e,t),r=!1;n||(n=o.edgeFromArgs(t,e),r=!0),o.node(e).rank=o.node(t).rank+(r?n.minlen:-n.minlen)})}),f=function(e,t,n){return e.hasEdge(t,n)},h=function(e,t,n){return n.low<=t.lim&&t.lim<=n.lim};o.default=function(e){var t=(0,l.simplify)(e);(0,s.longestPath)(t);var n,r,i=(0,a.feasibleTree)(t);for((0,o.initLowLimValues)(i),(0,o.initCutValues)(i,t);n=(0,o.leaveEdge)(i);)r=(0,o.enterEdge)(i,t,n),(0,o.exchangeEdges)(i,t,n,r)}},28861:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slack=t.longestPathWithLayer=t.longestPath=void 0;function n(i){var e,o={};null!=(e=i.sources())&&e.forEach(function t(e){var n,r=i.node(e);return r?o[e]?r.rank:(o[e]=!0,null!=(e=i.outEdges(e))&&e.forEach(function(e){e=t(e.w)-i.edge(e).minlen;e&&(void 0===n||e<n)&&(n=e)}),n=n||0,r.rank=n):0})}function r(o){var e,i,a={},s=(null!=(e=o.sources())&&e.forEach(function(e){o.node(e)&&function t(e){var n,r=o.node(e);return r?a[e]?r.rank:(a[e]=!0,null!=(e=o.outEdges(e))&&e.forEach(function(e){e=t(e.w)-o.edge(e).minlen;e&&(void 0===n||e<n)&&(n=e)}),n=n||0,(void 0===i||n<i)&&(i=n),r.rank=n):0}(e)}),void 0===i&&(i=0),{});o.nodes().forEach(function(e){var t=o.node(e);t&&(isNaN(t.layer)?t.rank-=i:function t(e,n){var r=o.node(e),i=isNaN(r.layer)?n:r.layer;(void 0===r.rank||r.rank<i)&&(r.rank=i),s[e]||(s[e]=!0,null==(n=o.outEdges(e)))||n.map(function(e){t(e.w,i+o.edge(e).minlen)})}(e,t.layer))})}function i(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}t.longestPath=n,t.longestPathWithLayer=r;t.slack=i,t.default={longestPath:n,longestPathWithLayer:r,slack:i}},656:function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.minBy=o.notime=o.time=o.partition=o.maxRank=o.addBorderNode=o.removeEmptyRanks=o.normalizeRanks=o.buildLayerMatrix=o.intersectRect=o.predecessorWeights=o.successorWeights=o.zipObject=o.asNonCompoundGraph=o.simplify=o.addDummyNode=void 0;var a=t(58652),s=t(95317);o.addDummyNode=function(e,t,n,r){for(var i;i="".concat(r).concat(Math.random()),e.hasNode(i););return n.dummy=t,e.setNode(i,n),i},o.simplify=function(r){var i=(new s.Graph).setGraph(r.graph());return r.nodes().forEach(function(e){i.setNode(e,r.node(e))}),r.edges().forEach(function(e){var t=i.edgeFromArgs(e.v,e.w)||{weight:0,minlen:1},n=r.edge(e);i.setEdge(e.v,e.w,{weight:t.weight+n.weight,minlen:Math.max(t.minlen,n.minlen)})}),i},o.asNonCompoundGraph=function(n){var r=new s.Graph({multigraph:n.isMultigraph()}).setGraph(n.graph());return n.nodes().forEach(function(e){var t;null!=(t=n.children(e))&&t.length||r.setNode(e,n.node(e))}),n.edges().forEach(function(e){r.setEdgeObj(e,n.edge(e))}),r},o.zipObject=function(e,r){return null==e?void 0:e.reduce(function(e,t,n){return e[t]=r[n],e},{})},o.successorWeights=function(r){var i={};return r.nodes().forEach(function(e){var t,n={};null!=(t=r.outEdges(e))&&t.forEach(function(e){n[e.w]=(n[e.w]||0)+((null==(e=r.edge(e))?void 0:e.weight)||0)}),i[e]=n}),i},o.predecessorWeights=function(n){var e=n.nodes(),t=e.map(function(e){var t={};return null!=(e=n.inEdges(e))&&e.forEach(function(e){t[e.v]=(t[e.v]||0)+n.edge(e).weight}),t});return(0,o.zipObject)(e,t)},o.intersectRect=function(e,t){var n,r=Number(e.x),i=Number(e.y),o=Number(t.x)-r,t=Number(t.y)-i,a=Number(e.width)/2,e=Number(e.height)/2;return o||t?(e=Math.abs(t)*a>Math.abs(o)*e?(n=(e=t<0?-e:e)*o/t,e):(n=a=o<0?-a:a)*t/o,{x:r+n,y:i+e}):{x:0,y:0}},o.buildLayerMatrix=function(n){for(var r=[],e=(0,o.maxRank)(n)+1,t=0;t<e;t++)r.push([]);for(n.nodes().forEach(function(e){var t=n.node(e);t&&void 0!==(t=t.rank)&&r[t]&&r[t].push(e)}),t=0;t<e;t++)r[t]=r[t].sort(function(e,t){e=null==(e=n.node(e))?void 0:e.order,t=null==(t=n.node(t))?void 0:t.order;return Number(e)-Number(t)});return r},o.normalizeRanks=function(t){var e=t.nodes().filter(function(e){return void 0!==(null==(e=t.node(e))?void 0:e.rank)}).map(function(e){return t.node(e).rank}),n=Math.min.apply(Math,e);t.nodes().forEach(function(e){e=t.node(e);e.hasOwnProperty("rank")&&n!==1/0&&(e.rank-=n)})},o.removeEmptyRanks=function(n){var e=n.nodes(),t=e.filter(function(e){return void 0!==(null==(e=n.node(e))?void 0:e.rank)}).map(function(e){return n.node(e).rank}),r=Math.min.apply(Math,t),i=[];e.forEach(function(e){var t=((null==(t=n.node(e))?void 0:t.rank)||0)-r;i[t]||(i[t]=[]),i[t].push(e)});for(var o=0,a=n.graph().nodeRankFactor||0,s=0;s<i.length;s++){var l=i[s];void 0===l?s%a!=0&&--o:!o||null!=l&&l.forEach(function(e){e=n.node(e);e&&(e.rank=e.rank||0,e.rank+=o)})}},o.addBorderNode=function(e,t,n,r){var i={width:0,height:0};return(0,a.isNumber)(n)&&(0,a.isNumber)(r)&&(i.rank=n,i.order=r),(0,o.addDummyNode)(e,"border",i,t)},o.maxRank=function(t){var n;return t.nodes().forEach(function(e){e=null==(e=t.node(e))?void 0:e.rank;void 0!==e&&(void 0===n||n<e)&&(n=e)}),n=n||0},o.partition=function(e,t){var n={lhs:[],rhs:[]};return null!=e&&e.forEach(function(e){(t(e)?n.lhs:n.rhs).push(e)}),n},o.time=function(e,t){var n=Date.now();try{return t()}finally{console.log("".concat(e," time: ").concat(Date.now()-n,"ms"))}},o.notime=function(e,t){return t()},o.minBy=function(e,n){return e.reduce(function(e,t){return n(e)>n(t)?t:e})}},20245:function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&("get"in i?t.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},d=(Object.defineProperty(t,"__esModule",{value:!0}),a(n(56129))),p=s(n(60693)),y=s(n(8528)),m=n(10813);t.default=function(e,s){var r,i,n,l,t,u=e.nodes,c=e.edges,f=s.width,h=s.height;return null!=u&&u.length?(r=[],u.forEach(function(t){var e;1<c.filter(function(e){return e.source===t.id||e.target===t.id}).length&&(delete(e=o({},t)).size,r.push(e))}),i=[],c.forEach(function(t){var e=r.find(function(e){return e.id===t.source}),n=r.find(function(e){return e.id===t.target});e&&n&&i.push(t)}),n=new m.DagreLayout({type:"dagre",ranksep:s.nodeMinGap,nodesep:s.nodeMinGap}).layout({nodes:r,edges:i}).nodes,u.forEach(function(t){var e=(n||[]).find(function(e){return e.id===t.id});t.x=(null==e?void 0:e.x)||f/2,t.y=(null==e?void 0:e.y)||h/2}),l=JSON.parse(JSON.stringify(u)),e=JSON.parse(JSON.stringify(c)),t=d.forceSimulation().nodes(l).force("link",d.forceLink(e).id(function(e){return e.id}).distance(function(t){return i.find(function(e){return e.source===t.source&&e.target===t.target})?30:20})).force("charge",d.forceManyBody()).force("center",d.forceCenter(f/2,h/2)).force("x",d.forceX(f/2)).force("y",d.forceY(h/2)).alpha(.3).alphaDecay(.08).alphaMin(.001),new Promise(function(a){t.on("end",function(){u.forEach(function(t){var e=l.find(function(e){return e.id===t.id});e&&(t.x=e.x,t.y=e.y)});var t=Math.min.apply(Math,u.map(function(e){return e.x})),e=Math.max.apply(Math,u.map(function(e){return e.x})),n=Math.min.apply(Math,u.map(function(e){return e.y})),r=Math.max.apply(Math,u.map(function(e){return e.y})),i=f/(e-t),o=h/(r-n);u.forEach(function(e){void 0!==e.x&&i<1&&(e.x=(e.x-t)*i),void 0!==e.y&&o<1&&(e.y=(e.y-n)*o)}),u.forEach(function(e){e.sizeTemp=e.size,e.size=[10,10]}),(0,y.default)(u,c),u.forEach(function(e){e.size=e.sizeTemp||[],delete e.sizeTemp}),(0,p.default)({nodes:u,edges:c},s),a()})})):Promise.resolve()}},60693:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},m=(Object.defineProperty(t,"__esModule",{value:!0}),r(n(21860)));t.default=function(n,e){if(!n.nodes||0===n.nodes.length)return n;var t=e.width,r=e.height,i=e.nodeMinGap,o=1e4,a=1e4,s=(n.nodes.forEach(function(e){var t=e.size[0]||50,e=e.size[1]||50;o=Math.min(t,o),a=Math.min(e,a)}),new m.default);s.init(t,r,{CELL_H:a,CELL_W:o}),n.nodes.forEach(function(e){var t=s.occupyNearest(e);t&&(t.node={id:e.id,size:e.size},e.x=t.x,e.y=t.y,e.dx=t.dx,e.dy=t.dy)});for(var l=0;l<n.nodes.length;l++){var u=n.nodes[l],c=s.findGridByNodeId(u.id);if(!c)throw new Error("can not find node cell");var f=c.column,h=c.row;if(u.size[0]+i>o){for(var d=y=Math.ceil((u.size[0]+i)/o)-1,p=0;p<y&&-1<s.additionColumn.indexOf(f+p+1)&&!s.cells[f+p+1][h].node;p++)d--;s.insertColumn(f,d)}if(u.size[1]+i>a){for(var y,d=y=Math.ceil((u.size[1]+i)/a)-1,p=0;p<y&&-1<s.additionRow.indexOf(h+p+1)&&!s.cells[f][h+p+1].node;p++)d--;s.insertRow(h,d)}}for(l=0;l<s.columnNum;l++)for(p=0;p<s.rowNum;p++)!function(e){var t=s.cells[l][e];t.node&&(e=n.nodes.find(function(e){return e.id===(null==(e=null==t?void 0:t.node)?void 0:e.id)}))&&(e.x=t.x+e.size[0]/2,e.y=t.y+e.size[1]/2)}(p)}},21860:function(e,t){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(){this.cells=[],this.columnNum=0,this.rowNum=0,this.additionColumn=[],this.additionRow=[]}Object.defineProperty(t,"__esModule",{value:!0}),s.prototype.init=function(e,t,n){this.cells=[],this.CELL_W=n.CELL_W||s.DEFAULT_CELL_W,this.CELL_H=n.CELL_H||s.DEFAULT_CELL_H,this.columnNum=Math.ceil(e/this.CELL_W),this.rowNum=Math.ceil(t/this.CELL_H),s.MIN_DIST=Math.pow(e,2)+Math.pow(t,2);for(var r=0;r<this.columnNum;r++){for(var i=[],o=0;o<this.rowNum;o++){var a={dx:r,dy:o,x:r*this.CELL_W,y:o*this.CELL_H,occupied:!1};i.push(a)}this.cells.push(i)}},s.prototype.findGridByNodeId=function(e){for(var t,n=0;n<this.columnNum;n++)for(var r=0;r<this.rowNum;r++)if(this.cells[n][r].node&&(null==(t=null==(t=this.cells[n][r])?void 0:t.node)?void 0:t.id)===e)return{column:n,row:r};return null},s.prototype.sqdist=function(e,t){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)},s.prototype.occupyNearest=function(e){for(var t,n=s.MIN_DIST,r=null,i=0;i<this.columnNum;i++)for(var o=0;o<this.rowNum;o++)!this.cells[i][o].occupied&&(t=this.sqdist(e,this.cells[i][o]))<n&&(n=t,r=this.cells[i][o]);return r&&(r.occupied=!0),r},s.prototype.insertColumn=function(e,t){if(!(t<=0)){for(var n=0;n<t;n++){this.cells[n+this.columnNum]=[];for(var r=0;r<this.rowNum;r++)this.cells[n+this.columnNum][r]={dx:n,dy:r,x:n*this.CELL_W,y:r*this.CELL_H,occupied:!1,node:null}}for(n=this.columnNum-1;e<n;n--)for(r=0;r<this.rowNum;r++)this.cells[n+t][r]=i(i({},this.cells[n][r]),{x:(n+t)*this.CELL_W,y:r*this.CELL_H}),this.cells[n][r]={x:n*this.CELL_W,y:r*this.CELL_H,occupied:!0,node:null};for(r=0;r<this.additionColumn.length;r++)this.additionColumn[r]>=e&&(this.additionColumn[r]+=t);for(n=0;n<t;n++)this.additionColumn.push(e+n+1);this.columnNum+=t}},s.prototype.insertRow=function(e,t){if(!(t<=0)){for(var n=0;n<t;n++)for(var r=0;r<this.columnNum;r++)this.cells[r][n+this.rowNum]={dx:r,dy:n,x:r*this.CELL_W,y:n*this.CELL_H,occupied:!1,node:null};for(r=0;r<this.columnNum;r++)for(n=this.rowNum-1;e<n;n--)this.cells[r][n+t]=i(i({},this.cells[r][n]),{dx:r,dy:n+t,x:r*this.CELL_W,y:(n+t)*this.CELL_H}),this.cells[r][n]={dx:r,dy:n,x:r*this.CELL_W,y:n*this.CELL_H,occupied:!1,node:null};for(n=0;n<this.additionRow.length;n++)this.additionRow[n]>=e&&(this.additionRow[n]+=t);for(r=0;r<t;r++)this.additionRow.push(e+r+1);this.rowNum+=t}},s.prototype.getNodes=function(){for(var e=[],t=0;t<this.columnNum;t++)for(var n=0;n<this.rowNum;n++)this.cells[t][n].node&&e.push(this.cells[t][n]);return e},s.MIN_DIST=50,s.DEFAULT_CELL_W=80,s.DEFAULT_CELL_H=80,t.default=s},4957:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=(Object.defineProperty(t,"__esModule",{value:!0}),t.ERLayout=void 0,n(9284)),l=a(n(20245)),a=(i=s.Base,o(u,i),u.prototype.getDefaultCfg=function(){return{width:300,height:300,nodeMinGap:50}},u.prototype.execute=function(){var e=this,t=e.nodes,n=e.edges;return null!=t&&t.forEach(function(e){e.size||(e.size=[50,50])}),(0,l.default)({nodes:t,edges:n},{width:this.width,height:this.height,nodeMinGap:this.nodeMinGap}).then(function(){e.onLayoutEnd&&e.onLayoutEnd()})},u.prototype.getType=function(){return"er"},u);function u(e){var t=i.call(this)||this;return t.width=300,t.height=300,t.nodeMinGap=50,t.onLayoutEnd=function(){},e&&t.updateCfg(e),t}t.ERLayout=a},8528:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=1200,a=800,v=1e7,b=10,_=1.5707963267948966,x=new Map,f=.8;function s(e,t){var n=(x.get(e.id)||[]).find(function(e){return e.source===t.id||e.target===t.id}),r=e.size[0]*e.size[1],i=t.size[0]*t.size[1],o=i<r?t:e,i=i<r?e:t,r=o.x-o.size[0]/2,e=o.y-o.size[1]/2,a=o.x+o.size[0]/2,s=o.y+o.size[1]/2,l=i.x-i.size[0]/2,u=i.y-i.size[1]/2,c=i.x+i.size[0]/2,f=i.y+i.size[1]/2,h=o.x,d=o.y,p=i.x,y=i.y,m=0,g=0;return l<=a&&r<=c&&u<=s&&e<=f?(0===(g=Math.sqrt(Math.pow(p-h,2)+Math.pow(y-d,2)))&&(g=1e-7),m=+b/g*100+((a<c?a:c)-(l<r?r:l))*((s<f?s:f)-(u<e?e:u)),m*=v):(p=o.x-o.size[0]/2,h=o.y-o.size[1]/2,y=o.x+o.size[0]/2,d=o.y+o.size[1]/2,a=i.x-i.size[0]/2,c=i.y-i.size[1]/2,r=i.x+i.size[0]/2,l=i.y+i.size[1]/2,s=o.x,f=o.y,e=i.x,u=i.y,e-=s,s=Math.atan2(e,u-f),i=o=f=u=0,_<s?(f=h-l,u=a-y,o=parseFloat((f?f/Math.cos(s):u).toFixed(2)),i=parseFloat((u?u/Math.sin(s):f).toFixed(2))):o=i=0<s&&s<=_?(f=c-d)>(u=a-y)?parseFloat((f?f/Math.cos(s):u).toFixed(2)):parseFloat((u?u/Math.sin(s):f).toFixed(2)):s<-_?(f=h-l)>(u=-(r-p))?parseFloat((f?f/Math.cos(s):u).toFixed(2)):parseFloat((u?u/Math.sin(s):f).toFixed(2)):(f=c-d)>(u=Math.abs(e)>(y-p)/2?p-r:e)?parseFloat((f?f/Math.cos(s):u).toFixed(2)):parseFloat((u&&0!==s?u/Math.sin(s):f).toFixed(2)),parseFloat(s.toFixed(2)),a=!1,h={distance:Math.abs(o<i?o:i),isHoriz:a},(g=h.distance)<=b?m+=0!==g?n?b+ +v/g:b+v*b/g:v:(m+=g,n&&(m+=g*g))),m}function h(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];(r.x<0||r.y<0||r.x>o||r.y>a)&&(t+=1e12);for(var i=n+1;i<e.length;i++)t+=s(r,e[i])}return t}function l(e,t){for(var n,r,i=!1,o=[10,-10,0,0],a=[0,0,10,-10],s=0;s<e.length;++s)for(var l=e[s],u=d(l,e),c=0;c<o.length;c++)!function(t,e,n,r){var i=new Map,o=(n.forEach(function(e,t){i.set(e.id,e)}),[]);(r.filter(function(e){return e.source===t.id||e.target===t.id})||[]).forEach(function(e){e=e.source===t.id?e.target:e.source,e=i.get(e);e&&o.push(e)});for(var a=!0,s=0;s<o.length;s++){var l=o[s],u=180*Math.atan((t.y-l.y)/(l.x-t.y)),c=180*Math.atan((e.y-l.y)/(l.x-e.y));if((u<30||150<u)&&!(c<30||150<c)||u*c<0){a=!1;break}if(70<u&&u<110&&!(70<c&&c<110)||u*c<0){a=!1;break}if((l.x-t.x)*(l.x-e.x)<0){a=!1;break}if((l.y-t.y)*(l.y-e.y)<0){a=!1;break}}return a}(l,{x:l.x+o[c],y:l.y+a[c]},e,t)||(l.x+=o[c],l.y+=a[c],n=d(l,e),r=Math.random(),n<u||r<f&&.1<r?(u=n,i=!0):(l.x-=o[c],l.y-=a[c]));return.1<f&&(f*=.5),i?h(e):0}function d(e,t){var n=0;(e.x<0||e.y<0||e.x+e.size[0]+20>o||e.y+e.size[1]+20>a)&&(n+=1e12);for(var r=0;r<t.length;++r)e.id!==t[r].id&&(n+=s(e,t[r]));return n}t.default=function(e,n){if(0!==e.length){e.forEach(function(t){var e=n.filter(function(e){return e.source===t.id||e.target===t.id});x.set(t,e)}),e.sort(function(e,t){return(null==(e=x.get(e.id))?void 0:e.length)-(null==(e=x.get(t.id))?void 0:e.length)});for(var t=h(e),r=20,i=0,o=0;0<r&&!(50<=++o);){var a=l(e,n),a=(i=0!==a?a:i)-t,t=i;0==a?--r:r=20}e.forEach(function(e){e.x=e.x-e.size[0]/2,e.y=e.y-e.size[1]/2})}return{nodes:e,edges:n}}},52569:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forceNBody=void 0;var s=n(21617);function l(e){var t=0,n=0,r=0;if(e.length){for(var i=0;i<4;i++)(o=e[i])&&o.weight&&(t+=o.weight,n+=o.x*o.weight,r+=o.y*o.weight);e.x=n/t,e.y=r/t,e.weight=t}else{var o=e;e.x=o.data.x,e.y=o.data.y,e.weight=o.data.weight}}t.forceNBody=function(r,o,e,t,i){var a=e/t,e=r.map(function(e,t){var e=o[e.id],n=e.data,r=e.x,i=e.y,e=e.size,n=n.layout.force.nodeStrength;return{x:r,y:i,size:e,index:t,vx:0,vy:0,weight:a*n}}),n=(0,s.quadtree)(e,function(e){return e.x},function(e){return e.y}).visitAfter(l);return e.forEach(function(e){var o;o=e,n.visit(function(e,t,n,r,i){return u(e,t,n,r,i,o)})}),e.map(function(e,t){var n=o[r[t].id].data.layout.force.mass,n=void 0===n?1:n;i[2*t]=e.vx/n,i[2*t+1]=e.vy/n}),i};var u=function(e,t,n,r,i,o){var a,s=o.x-e.x||.1,l=o.y-e.y||.1,r=r-t,t=s*s+l*l,u=Math.sqrt(t)*t;return r*r*.81<t?(a=e.weight/u,o.vx+=s*a,o.vy+=l*a,!0):!e.length&&void(e.data!==o&&(a=e.data.weight/u,o.vx+=s*a,o.vy+=l*a))}},13490:function(e,t,n){"use strict";function f(t,n){return t?(0,C.isNumber)(t)?function(e){return t}:t:function(e){return n||1}}var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=this&&this.__assign||function(){return(p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=(Object.defineProperty(t,"__esModule",{value:!0}),t.Force2Layout=void 0,n(9284)),C=n(58652),s=n(52569),n=(i=a.Base,o(l,i),l.prototype.getCentripetalOptions=function(){function o(e){return"function"==typeof u?u(e):u}var a,s,r,e=this.leafCluster,t=this.clustering,i=this.nodeClusterBy,n=this.nodes,l=this.nodeMap,u=this.clusterNodeStrength,c={},e=(e&&(a=this.getSameTypeLeafMap()||{},s=Array.from(new Set(null==n?void 0:n.map(function(e){return e[i]})))||[],c={single:100,leaf:function(e,t,n){var r=a[e.id]||{},i=r.relativeLeafNodes,r=r.sameTypeLeafNodes;return(null==r?void 0:r.length)===(null==i?void 0:i.length)||1===(null===s?void 0:s.length)?1:o(e)},others:1,center:function(e,t,n){var r,i=((null==(i=e.data)?void 0:i.layout)||{}).degree;return i?(1!==i||1===(e=void 0===(i=(a[e.id]||{}).sameTypeLeafNodes)?[]:i).length?r=void 0:1<e.length&&(r=(0,C.getAvgNodePosition)(e)),{x:null==r?void 0:r.x,y:null==r?void 0:r.y}):{x:100,y:100}}}),t&&(a=a||this.getSameTypeLeafMap(),r={},Array.from(new Set(n.map(function(e,t){return e[i]}))).filter(function(e){return void 0!==e}).forEach(function(t){var e=n.filter(function(e){return e[i]===t}).map(function(e){return l[e.id]});r[t]=(0,C.getAvgNodePosition)(e)}),c={single:o,leaf:o,others:o,center:function(e,t,n){e=r[e[i]];return{x:null==e?void 0:e.x,y:null==e?void 0:e.y}}}),this.centripetalOptions=p(p({},this.centripetalOptions),c),this.centripetalOptions),f=e.leaf,h=e.single,d=e.others;f&&"function"!=typeof f&&(this.centripetalOptions.leaf=function(){return f}),h&&"function"!=typeof h&&(this.centripetalOptions.single=function(){return h}),d&&"function"!=typeof d&&(this.centripetalOptions.others=function(){return d})},l.prototype.updateCfg=function(e){e&&Object.assign(this,e)},l.prototype.getDefaultCfg=function(){return{maxIteration:500,gravity:10,enableTick:!0,animate:!0}},l.prototype.execute=function(){var e,r,t,n,i,o,a,s=this,l=(s.stop(),s.nodes),u=s.edges,c=s.defSpringLen;s.judgingDistance=0,l&&0!==l.length?(s.width||"undefined"==typeof window||(s.width=window.innerWidth),s.height||"undefined"==typeof window||(s.height=window.innerHeight),s.center||(s.center=[s.width/2,s.height/2]),e=s.center,1===l.length?(l[0].x=e[0],l[0].y=e[1],s.onLayoutEnd([p({},l[0])])):(s.degreesMap=(0,C.getDegreeMap)(l,u),s.propsGetMass?s.getMass=s.propsGetMass:s.getMass=function(e){var t=1,e=((0,C.isNumber)(e.mass)&&(t=e.mass),s.degreesMap[e.id].all);return!e||e<5?t:5*e*t},r=s.nodeSize,s.preventOverlap&&(t=s.nodeSpacing,n=(0,C.isNumber)(t)?function(){return t}:(0,C.isFunction)(t)?t:function(){return 0},i=r?(0,C.isArray)(r)?function(e){return Math.max(r[0],r[1])+n(e)}:function(e){return r+n(e)}:function(e){return e.size?(0,C.isArray)(e.size)?Math.max(e.size[0],e.size[1])+n(e):(0,C.isObject)(e.size)?Math.max(e.size.width,e.size.height)+n(e):e.size+n(e):10+n(e)}),s.nodeSize=i,s.linkDistance=f(s.linkDistance,1),s.nodeStrength=f(s.nodeStrength,1),s.edgeStrength=f(s.edgeStrength,1),o={},a={},l.forEach(function(e,t){(0,C.isNumber)(e.x)||(e.x=Math.random()*s.width),(0,C.isNumber)(e.y)||(e.y=Math.random()*s.height);var n=s.degreesMap[e.id];o[e.id]=p(p({},e),{data:p(p({},e.data),{size:s.nodeSize(e)||30,layout:{inDegree:n.in,outDegree:n.out,degree:n.all,tDegree:n.in,sDegree:n.out,force:{mass:s.getMass(e),nodeStrength:s.nodeStrength(e,u)}}})}),a[e.id]=t}),s.nodeMap=o,s.nodeIdxMap=a,s.edgeInfos=[],null!=u&&u.forEach(function(e){var t=o[e.source],n=o[e.target];t&&n?s.edgeInfos.push({edgeStrength:s.edgeStrength(e),linkDistance:c?c(p(p({},e),{source:t,target:n}),t,n):s.linkDistance(e,t,n)||1+(r(t)+r(t)||0)/2}):elf.edgeInfos.push({})}),this.getCentripetalOptions(),s.onLayoutEnd=s.onLayoutEnd||function(){},s.run())):s.onLayoutEnd([])},l.prototype.run=function(){var e=this,t=e.maxIteration,n=e.nodes,r=e.edges,i=e.workerEnabled,o=e.minMovement,a=e.animate,s=e.nodeMap,l=e.height;if(e.currentMinY=0,e.currentMaxY=l,n){var u,c,f=[],h=(n.forEach(function(e,t){f[2*t]=0,f[2*t+1]=0}),this.defSideCoe&&"function"==typeof this.defSideCoe&&(u={},r.forEach(function(e){var t=e.source,n=e.target;u[t]=u[t]||[],u[t].push(e),u[n]=u[n]||[],u[n].push(e)}),this.relatedEdges=u),t);if(i||!a){for(var d=0;(e.judgingDistance>o||d<1)&&d<h;d++)e.runOneStep(d,f);e.onLayoutEnd(Object.values(s))}else"undefined"!=typeof window&&(c=0,this.timeInterval=window.setInterval(function(){n&&(e.runOneStep(c,f),++c>=h||e.judgingDistance<o)&&(e.onLayoutEnd(Object.values(s)),window.clearInterval(e.timeInterval))},0))}},l.prototype.runOneStep=function(e,t){var n,r=this.nodes,i=this.edges,o=(this.nodeMap,this.monitor),a=[];null!=r&&r.length&&(this.calRepulsive(a),i&&this.calAttractive(a),this.calGravity(a),this.attractToSide(a),n=this.interval,this.updateVelocity(a,t,n),this.updatePosition(t,n),null!=(t=this.tick)&&t.call(this),o)&&o({energy:this.calTotalEnergy(a),nodes:r,edges:i,iterations:e})},l.prototype.calTotalEnergy=function(r){var i,e=this.nodes,o=this.nodeMap;return null!=e&&e.length?(i=0,e.forEach(function(e,t){var n=r[2*t],t=r[2*t+1],e=o[e.id].data.layout.force.mass;i+=(void 0===e?1:e)*(n*n+t*t)*.5}),i):0},l.prototype.calRepulsive=function(e){var t=this.nodes,n=this.nodeMap,r=this.factor,i=this.coulombDisScale;this.nodeSize,(0,s.forceNBody)(t,n,r,i*i,e)},l.prototype.calAttractive=function(u){var e=this.edges,c=this.nodeMap,f=this.nodeIdxMap,h=this.edgeInfos;this.nodeSize,e.forEach(function(e,t){var n,r,i,o,a=(0,C.getEdgeTerminal)(e,"source"),e=(0,C.getEdgeTerminal)(e,"target"),s=c[a],l=c[e];s&&l&&(n=l.x-s.x,i=l.y-s.y,n||i||(n=.01*Math.random(),i=.01*Math.random()),r=Math.sqrt(n*n+i*i),o=(t=h[t]||{}).linkDistance,t=t.edgeStrength,s=1/(s.data.layout.force.mass||1),l=1/(l.data.layout.force.mass||1),o=i/r*(i=((void 0===o?200:o)-r)*(void 0===t?200:t)),t=2*f[a],a=2*f[e],u[t]-=(e=n/r*i)*s,u[1+t]-=o*s,u[a]+=e*l,u[1+a]+=o*l)})},l.prototype.calGravity=function(e){var t=this.nodes,n=this.edges,r=void 0===n?[]:n,i=this.nodeMap,o=this.width,a=this.height,s=this.center,l=this.gravity,u=this.degreesMap,c=this.centripetalOptions;if(t)for(var f=t.length,h=0;h<f;h++){var d,p,y=2*h,m=i[t[h].id],g=m.data.layout.force.mass,g=void 0===g?1:g,v=0,b=0,_=l,x=u[m.id],w=x.in,A=x.out,x=x.all,S=null==(S=this.getCenter)?void 0:S.call(this,m,x);S?(d=S[0],p=S[1],S=S[2],v=m.x-d,b=m.y-p,_=S):(v=m.x-s[0],b=m.y-s[1]),_&&(e[y]-=_*v/g,e[1+y]-=_*b/g),c&&(d=c.leaf,p=c.single,S=c.others,b=(_=(null==(v=c.center)?void 0:v(m,t,r,o,a))||{x:0,y:0,centerStrength:0}).x,v=_.y,_=_.centerStrength,(0,C.isNumber)(b))&&(0,C.isNumber)(v)&&(b=(m.x-b)/g,v=(m.y-v)/g,_&&(e[y]-=_*b,e[1+y]-=_*v),0===x?(g=p(m))&&(e[y]-=g*b,e[1+y]-=g*v):0===w||0===A?(_=d(m,t,r))&&(e[y]-=_*b,e[1+y]-=_*v):(x=S(m))&&(e[y]-=x*b,e[1+y]-=x*v))}},l.prototype.attractToSide=function(i){var o=this.defSideCoe,e=(this.height,this.nodes),a=this.relatedEdges,t=this.currentMinY,s=void 0===t?0:t,t=this.currentMaxY,l=void 0===t?this.height:t;o&&"function"==typeof o&&null!=e&&e.length&&e.forEach(function(e,t){var n,r=o(e,a[e.id]||[]);0!==r&&(n=r<0?s:l,r=Math.abs(r),i[2*t+1]-=r*(e.y-n))})},l.prototype.updateVelocity=function(o,a,s){var e=this.nodes,l=this.damping,u=this.maxSpeed;null!=e&&e.length&&e.forEach(function(e,t){var n=(a[2*t]+o[2*t]*s)*l||.01,r=(a[2*t+1]+o[2*t+1]*s)*l||.01,i=Math.sqrt(n*n+r*r);u<i&&(n*=i=u/i,r*=i),a[2*t]=n,a[2*t+1]=r})},l.prototype.updatePosition=function(o,a){var s,l,u,c=this,e=c.nodes,f=c.distanceThresholdMode,h=c.nodeMap;null!=e&&e.length?(s=0,"max"===f?c.judgingDistance=-1/0:"min"===f&&(c.judgingDistance=1/0),l=1/0,u=-1/0,e.forEach(function(e,t){var n=h[e.id];if((0,C.isNumber)(e.fx)&&(0,C.isNumber)(e.fy))e.x=e.fx,e.y=e.fy,n.x=e.x,n.y=e.y;else{var r=o[2*t]*a,t=o[2*t+1]*a,i=(e.x+=r,e.y+=t,n.x=e.x,n.y=e.y,e.y<l&&(l=e.y),e.y>u&&(u=e.y),Math.sqrt(r*r+t*t));switch(f){case"max":c.judgingDistance<i&&(c.judgingDistance=i);break;case"min":c.judgingDistance>i&&(c.judgingDistance=i);break;default:s+=i}}}),this.currentMinY=l,this.currentMaxY=u,f&&"mean"!==f||(c.judgingDistance=s/e.length)):this.judgingDistance=0},l.prototype.stop=function(){this.timeInterval&&"undefined"!=typeof window&&window.clearInterval(this.timeInterval)},l.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},l.prototype.getType=function(){return"force2"},l.prototype.getSameTypeLeafMap=function(){var n,r=this.nodeClusterBy,e=this.nodes,i=this.edges,o=this.nodeMap,a=this.degreesMap;if(null!=e&&e.length)return n={},e.forEach(function(e,t){1===a[e.id].all&&(n[e.id]=(0,C.getCoreNodeAndRelativeLeafNodes)("leaf",e,i,r,a,o))}),n},l);function l(e){var t=i.call(this)||this,n=(t.maxIteration=1e3,t.workerEnabled=!1,t.edgeStrength=200,t.nodeStrength=1e3,t.coulombDisScale=.005,t.damping=.9,t.maxSpeed=500,t.minMovement=.4,t.interval=.02,t.factor=1,t.linkDistance=200,t.gravity=0,t.clusterNodeStrength=20,t.preventOverlap=!0,t.distanceThresholdMode="mean",t.tick=function(){},t.nodes=[],t.edges=[],t.width=300,t.height=300,t.nodeMap={},t.nodeIdxMap={},t.judgingDistance=0,t.centripetalOptions={leaf:2,single:2,others:1,center:function(e){return{x:t.width/2,y:t.height/2}}},e.getMass);return t.propsGetMass=n,t.updateCfg(e),t}t.Force2Layout=n},95454:function(e,t){"use strict";function n(e){this.id=e.id||0,this.rx=e.rx,this.ry=e.ry,this.fx=0,this.fy=0,this.mass=e.mass,this.degree=e.degree,this.g=e.g||0}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.distanceTo=function(e){var t=this.rx-e.rx,e=this.ry-e.ry;return Math.hypot(t,e)},n.prototype.setPos=function(e,t){this.rx=e,this.ry=t},n.prototype.resetForce=function(){this.fx=0,this.fy=0},n.prototype.addForce=function(e){var t=e.rx-this.rx,n=e.ry-this.ry,r=Math.hypot(t,n),e=this.g*(this.degree+1)*(e.degree+1)/(r=r<1e-4?1e-4:r);this.fx+=e*t/r,this.fy+=e*n/r},n.prototype.in=function(e){return e.contains(this.rx,this.ry)},n.prototype.add=function(e){var t=this.mass+e.mass;return new n({rx:(this.rx*this.mass+e.rx*e.mass)/t,ry:(this.ry*this.mass+e.ry*e.mass)/t,mass:t,degree:this.degree+e.degree})},t.default=n},40432:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=(Object.defineProperty(t,"__esModule",{value:!0}),t.ForceAtlas2Layout=void 0,n(9284)),_=n(58652),b=a(n(95454)),v=a(n(69785)),x=a(n(49122)),a=(i=s.Base,o(l,i),l.prototype.getDefaultCfg=function(){return{}},l.prototype.execute=function(){var e=this.nodes,t=this.onLayoutEnd,n=this.prune,r=this.maxIteration;this.width||"undefined"==typeof window||(this.width=window.innerWidth),this.height||"undefined"==typeof window||(this.height=window.innerHeight);for(var i=[],o=e.length,a=0;a<o;a+=1){var s=e[a],l=10,u=10,s=((0,_.isNumber)(s.size)&&(l=s.size,u=s.size),(0,_.isArray)(s.size)?(isNaN(s.size[0])||(l=s.size[0]),isNaN(s.size[1])||(u=s.size[1])):(0,_.isObject)(s.size)&&(l=s.size.width,u=s.size.height),this.getWidth&&!isNaN(this.getWidth(s))&&(u=this.getWidth(s)),this.getHeight&&!isNaN(this.getHeight(s))&&(l=this.getHeight(s)),Math.max(l,u));i.push(s)}void 0===this.barnesHut&&250<o&&(this.barnesHut=!0),void 0===this.prune&&100<o&&(this.prune=!0),0!==this.maxIteration||this.prune?0===this.maxIteration&&n&&(r=100,o<=200&&100<o?r=500:200<o&&(r=950),this.maxIteration=r):(r=250,o<=200&&100<o?r=1e3:200<o&&(r=1200),this.maxIteration=r),this.kr||(this.kr=50,100<o&&o<=500?this.kr=20:500<o&&(this.kr=1)),this.kg||(this.kg=20,100<o&&o<=500?this.kg=10:500<o&&(this.kg=1)),this.nodes=this.updateNodesByForces(i),t()},l.prototype.updateNodesByForces=function(e){for(var t=this.edges,n=this.maxIteration,r=this.nodes,i=t.filter(function(e){return(0,_.getEdgeTerminal)(e,"source")!==(0,_.getEdgeTerminal)(e,"target")}),o=r.length,a=i.length,s=[],l={},u={},c=[],f=0;f<o;f+=1)void(s[l[r[f].id]=f]=0)!==r[f].x&&!isNaN(r[f].x)||(r[f].x=1e3*Math.random()),void 0!==r[f].y&&!isNaN(r[f].y)||(r[f].y=1e3*Math.random()),c.push({x:r[f].x,y:r[f].y});for(f=0;f<a;f+=1){for(var h=void 0,d=void 0,p=0,y=0,m=0;m<o;m+=1){var g=(0,_.getEdgeTerminal)(i[f],"source"),v=(0,_.getEdgeTerminal)(i[f],"target");r[m].id===g?(h=r[m],p=m):r[m].id===v&&(d=r[m],y=m),u[f]={sourceIdx:p,targetIdx:y}}h&&(s[l[h.id]]+=1),d&&(s[l[d.id]]+=1)}r=this.iterate(n,l,u,a,s,e);if(this.prune){for(m=0;m<a;m+=1)s[u[m].sourceIdx]<=1?(r[u[m].sourceIdx].x=r[u[m].targetIdx].x,r[u[m].sourceIdx].y=r[u[m].targetIdx].y):s[u[m].targetIdx]<=1&&(r[u[m].targetIdx].x=r[u[m].sourceIdx].x,r[u[m].targetIdx].y=r[u[m].sourceIdx].y);this.prune=!1,this.barnesHut=!1,r=this.iterate(100,l,u,a,s,e)}return r},l.prototype.iterate=function(e,t,n,r,i,o){for(var a,s=this.nodes,l=this.kr,u=this.preventOverlap,c=this.barnesHut,f=s.length,h=0,d=e,p=[],y=[],m=[],g=0;g<f;g+=1)p[2*g]=0,p[2*g+1]=0,c&&(a={id:g,rx:s[g].x,ry:s[g].y,mass:1,g:l,degree:i[g]},m[g]=new b.default(a));for(;0<d;){for(g=0;g<f;g+=1)y[2*g]=p[2*g],y[2*g+1]=p[2*g+1],p[2*g]=0,p[2*g+1]=0;p=this.getAttrForces(d,50,r,t,n,i,o,p);var p=c&&(u&&50<d||!u)?this.getOptRepGraForces(p,m,i):this.getRepGraForces(d,50,p,100,o,i),v=this.updatePos(p,y,h,i),s=v.nodes,h=v.sg;d--,this.tick&&this.tick()}return s},l.prototype.getAttrForces=function(e,t,n,r,i,o,a,s){for(var l=this.nodes,u=this.preventOverlap,c=this.dissuadeHubs,f=this.mode,h=this.prune,d=0;d<n;d+=1){var p,y,m,g,v=l[i[d].sourceIdx],b=i[d].sourceIdx,_=l[i[d].targetIdx],x=i[d].targetIdx;h&&(o[b]<=1||o[x]<=1)||(p=[_.x-v.x,_.y-v.y],y=(y=Math.hypot(p[0],p[1]))<1e-4?1e-4:y,p[0]=p[0]/y,p[1]=p[1]/y,g=m=y=u&&e<t?y-a[b]-a[x]:y,"linlog"===f&&(g=m=Math.log(1+y)),c&&(m=y/o[b],g=y/o[x]),u&&e<t&&y<=0?g=m=0:u&&e<t&&0<y&&(g=m=y),s[2*r[v.id]]+=m*p[0],s[2*r[_.id]]-=g*p[0],s[2*r[v.id]+1]+=m*p[1],s[2*r[_.id]+1]-=g*p[1])}return s},l.prototype.getRepGraForces=function(e,t,n,r,i,o){for(var a=this.nodes,s=this.preventOverlap,l=this.kr,u=this.kg,c=this.center,f=this.prune,h=a.length,d=0;d<h;d+=1){for(var p,y,m,g=d+1;g<h;g+=1)f&&(o[d]<=1||o[g]<=1)||(p=[a[g].x-a[d].x,a[g].y-a[d].y],y=(y=Math.hypot(p[0],p[1]))<1e-4?1e-4:y,p[0]=p[0]/y,p[1]=p[1]/y,s&&e<t&&(y=y-i[d]-i[g]),m=l*(o[d]+1)*(o[g]+1)/y,s&&e<t&&y<0?m=r*(o[d]+1)*(o[g]+1):s&&e<t&&0===y?m=0:s&&e<t&&0<y&&(m=l*(o[d]+1)*(o[g]+1)/y),n[2*d]-=m*p[0],n[2*g]+=m*p[0],n[2*d+1]-=m*p[1],n[2*g+1]+=m*p[1]);var v=[a[d].x-c[0],a[d].y-c[1]],b=Math.hypot(v[0],v[1]),b=(v[0]=v[0]/b,v[1]=v[1]/b,u*(o[d]+1));n[2*d]-=b*v[0],n[2*d+1]-=b*v[1]}return n},l.prototype.getOptRepGraForces=function(e,t,n){for(var r=this.nodes,i=this.kg,o=this.center,a=this.prune,s=r.length,l=9e10,u=-9e10,c=9e10,f=-9e10,h=0;h<s;h+=1)a&&n[h]<=1||(t[h].setPos(r[h].x,r[h].y),r[h].x>=u&&(u=r[h].x),r[h].x<=l&&(l=r[h].x),r[h].y>=f&&(f=r[h].y),r[h].y<=c&&(c=r[h].y));for(var d,p,y={xmid:(u+l)/2,ymid:(f+c)/2,length:Math.max(u-l,f-c),massCenter:o,mass:s},m=new v.default(y),g=new x.default(m),h=0;h<s;h+=1)a&&n[h]<=1||t[h].in(m)&&g.insert(t[h]);for(h=0;h<s;h+=1)a&&n[h]<=1||(t[h].resetForce(),g.updateForce(t[h]),e[2*h]-=t[h].fx,e[2*h+1]-=t[h].fy,d=[r[h].x-o[0],r[h].y-o[1]],p=Math.hypot(d[0],d[1]),d[0]=d[0]/(p=p<1e-4?1e-4:p),d[1]=d[1]/p,p=i*(n[h]+1),e[2*h]-=p*d[0],e[2*h+1]-=p*d[1]);return e},l.prototype.updatePos=function(e,t,n,r){for(var i,o,a=this.nodes,s=this.ks,l=this.tao,u=this.prune,c=this.ksmax,f=a.length,h=[],d=[],p=0,y=0,m=0;m<f;m+=1)u&&r[m]<=1||(i=[e[2*m]-t[2*m],e[2*m+1]-t[2*m+1]],i=Math.hypot(i[0],i[1]),o=[e[2*m]+t[2*m],e[2*m+1]+t[2*m+1]],o=Math.hypot(o[0],o[1]),h[m]=i,d[m]=o/2,p+=(r[m]+1)*h[m],y+=(r[m]+1)*d[m]);var g,v,b=n;for(n=l*y/p,0!==b&&(n=1.5*b<n?1.5*b:n),m=0;m<f;m+=1)u&&r[m]<=1||(0,_.isNumber)(a[m].fx)&&(0,_.isNumber)(a[m].fy)||(v=s*n/(1+n*Math.sqrt(h[m])),g=(v=(g=c/(g=(g=Math.hypot(e[2*m],e[2*m+1]))<1e-4?1e-4:g))<v?g:v)*e[2*m],v=v*e[2*m+1],a[m].x+=g,a[m].y+=v);return{nodes:a,sg:n}},l);function l(e){var t=i.call(this)||this;return t.center=[0,0],t.width=300,t.height=300,t.nodes=[],t.edges=[],t.kr=5,t.kg=1,t.mode="normal",t.preventOverlap=!1,t.dissuadeHubs=!1,t.barnesHut=void 0,t.maxIteration=0,t.ks=.1,t.ksmax=10,t.tao=.1,t.onLayoutEnd=function(){},t.prune=void 0,t.updateCfg(e),t}t.ForceAtlas2Layout=a},69785:function(e,t){"use strict";function n(e){this.xmid=e.xmid,this.ymid=e.ymid,this.length=e.length,this.massCenter=e.massCenter||[0,0],this.mass=e.mass||1}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.getLength=function(){return this.length},n.prototype.contains=function(e,t){var n=this.length/2;return e<=this.xmid+n&&e>=this.xmid-n&&t<=this.ymid+n&&t>=this.ymid-n},n.prototype.NW=function(){return new n({xmid:this.xmid-this.length/4,ymid:this.ymid+this.length/4,length:this.length/2})},n.prototype.NE=function(){return new n({xmid:this.xmid+this.length/4,ymid:this.ymid+this.length/4,length:this.length/2})},n.prototype.SW=function(){return new n({xmid:this.xmid-this.length/4,ymid:this.ymid-this.length/4,length:this.length/2})},n.prototype.SE=function(){return new n({xmid:this.xmid+this.length/4,ymid:this.ymid-this.length/4,length:this.length/2})},t.default=n},49122:function(e,t){"use strict";function n(e){this.body=null,this.quad=null,this.NW=null,this.NE=null,this.SW=null,this.SE=null,this.theta=.5,null!=e&&(this.quad=e)}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.insert=function(e){null!=this.body?this._isExternal()?(this.quad&&(this.NW=new n(this.quad.NW()),this.NE=new n(this.quad.NE()),this.SW=new n(this.quad.SW()),this.SE=new n(this.quad.SE())),this._putBody(this.body),this._putBody(e),this.body=this.body.add(e)):(this.body=this.body.add(e),this._putBody(e)):this.body=e},n.prototype._putBody=function(e){this.quad&&(e.in(this.quad.NW())&&this.NW?this.NW.insert(e):e.in(this.quad.NE())&&this.NE?this.NE.insert(e):e.in(this.quad.SW())&&this.SW?this.SW.insert(e):e.in(this.quad.SE())&&this.SE&&this.SE.insert(e))},n.prototype._isExternal=function(){return null==this.NW&&null==this.NE&&null==this.SW&&null==this.SE},n.prototype.updateForce=function(e){null!=this.body&&e!==this.body&&(this._isExternal()||(this.quad?this.quad.getLength():0)/this.body.distanceTo(e)<this.theta?e.addForce(this.body):(this.NW&&this.NW.updateForce(e),this.NE&&this.NE.updateForce(e),this.SW&&this.SW.updateForce(e),this.SE&&this.SE.updateForce(e)))},t.default=n},556:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&("get"in i?t.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},w=(Object.defineProperty(t,"__esModule",{value:!0}),o(n(56129))),A=n(58652);t.default=function(){function t(e){return function(){return e}}var u,c=function(e){return e.cluster},f=t(1),h=t(-1),d=t(100),p=t(.1),n=[0,0],y=[],m={},g=[],v=100,b=100,o={none:{x:0,y:0}},_=[],r="force",a=!0,s=.1;function l(e){if(!a)return l;u.tick(),x();for(var t=0,n=y.length,r=void 0,i=e*s;t<n;++t)(r=y[t]).vx+=(o[c(r)].x-r.x)*i,r.vy+=(o[c(r)].y-r.y)*i}function i(){var r;if(y&&(y&&y.length)){if(void 0===c(y[0]))throw Error("Couldnt find the grouping attribute for the nodes. Make sure to set it up with forceInABox.groupBy('clusterAttr') before calling .links()");o=[],a=[],s={},l={},e=[],r={},(t=y).forEach(function(e){e=c(e);r[e]||(r[e]={count:0,sumforceNodeSize:0})}),t.forEach(function(e){var t=c(e),e=f(e),n=r[t];n.count=n.count+1,n.sumforceNodeSize=n.sumforceNodeSize+Math.PI*(e*e)*1.3,r[t]=n}),l=r,n={},i=[],g.forEach(function(e){e=e,t=(0,A.getEdgeTerminal)(e,"source"),e=(0,A.getEdgeTerminal)(e,"target"),t=c(m[t]),e=c(m[e]);var e=t<=e?"".concat(t,"~").concat(e):"".concat(e,"~").concat(t),t=0;void 0!==n[e]&&(t=n[e]),n[e]=t+=1}),Object.entries(n).forEach(function(e){var t=e[0],e=e[1],n=t.split("~")[0],t=t.split("~")[1];void 0!==n&&void 0!==t&&i.push({source:n,target:t,count:e})}),e=i,Object.keys(l).forEach(function(e,t){var n=l[e];o.push({id:e,size:n.count,r:Math.sqrt(n.sumforceNodeSize/Math.PI)}),s[e]=t}),e.forEach(function(e){var t=(0,A.getEdgeTerminal)(e,"source"),n=(0,A.getEdgeTerminal)(e,"target"),t=s[t],n=s[n];void 0!==t&&void 0!==n&&a.push({source:t,target:n,count:e.count})});var n,i,o,a,s,l,e,t={nodes:o,links:a};u=w.forceSimulation(t.nodes).force("x",w.forceX(v).strength(.1)).force("y",w.forceY(b).strength(.1)).force("collide",w.forceCollide(function(e){return e.r}).iterations(4)).force("charge",w.forceManyBody().strength(h)).force("links",w.forceLink(t.nodes.length?t.links:[]).distance(d).strength(p)),_=u.nodes(),x()}}function x(){return o={none:{x:0,y:0}},_.forEach(function(e){o[e.id]={x:e.x-n[0],y:e.y-n[1]}}),o}return l.initialize=function(e){y=e,i()},l.template=function(e){return arguments.length?(r=e,i(),l):r},l.groupBy=function(t){return arguments.length?(c="string"==typeof t?function(e){return e[t]}:t,l):c},l.enableGrouping=function(e){return arguments.length?(a=e,l):a},l.strength=function(e){return arguments.length?(s=e,l):s},l.centerX=function(e){return arguments.length?(v=e,l):v},l.centerY=function(e){return arguments.length?(b=e,l):b},l.nodes=function(e){return arguments.length?(m={},(e||[]).forEach(function(e){m[e.id]=e}),y=e||[],l):y},l.links=function(e){return arguments.length?(g=e||[],i(),l):g},l.nodeSize=l.forceNodeSize=function(e){return arguments.length?(f="function"==typeof e?e:t(+e),i(),l):f},l.forceCharge=function(e){return arguments.length?(h="function"==typeof e?e:t(+e),i(),l):h},l.forceLinkDistance=function(e){return arguments.length?(d="function"==typeof e?e:t(+e),i(),l):d},l.forceLinkStrength=function(e){return arguments.length?(p="function"==typeof e?e:t(+e),i(),l):p},l.offset=function(e){return arguments.length?(n=e,l):n},l.getFocis=x,l}},90461:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&("get"in i?t.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return s(t,e),t},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},g=(Object.defineProperty(t,"__esModule",{value:!0}),t.ForceLayout=void 0,l(n(56129))),v=u(n(556)),c=n(58652),l=n(9284),b=n(84587),u=(i=l.Base,o(f,i),f.prototype.getDefaultCfg=function(){return{center:[0,0],nodeStrength:null,edgeStrength:null,preventOverlap:!1,nodeSize:void 0,nodeSpacing:void 0,linkDistance:50,forceSimulation:null,alphaDecay:.028,alphaMin:.001,alpha:.3,collideStrength:1,clustering:!1,clusterNodeStrength:-1,clusterEdgeStrength:.1,clusterEdgeDistance:100,clusterFociStrength:.8,clusterNodeSize:10,tick:function(){},onLayoutEnd:function(){},workerEnabled:!1}},f.prototype.init=function(e){this.nodes=e.nodes||[];e=e.edges||[];this.edges=e.map(function(t){var n={},r=["targetNode","sourceNode","startPoint","endPoint"];return Object.keys(t).forEach(function(e){-1<r.indexOf(e)||(n[e]=t[e])}),n}),this.ticking=!1},f.prototype.execute=function(e){var t,n,r,i,o=this,a=o.nodes,s=o.edges;if(!o.ticking){var l=o.forceSimulation,u=o.alphaMin,c=o.alphaDecay,f=o.alpha;if(l)e&&(o.clustering&&o.clusterForce&&(o.clusterForce.nodes(a),o.clusterForce.links(s)),l.nodes(a),s&&o.edgeForce?o.edgeForce.links(s):s&&!o.edgeForce&&(d=g.forceLink().id(function(e){return e.id}).links(s),o.edgeStrength&&d.strength(o.edgeStrength),o.linkDistance&&d.distance(o.linkDistance),o.edgeForce=d,l.force("link",d))),o.preventOverlap&&o.overlapProcess(l),l.alpha(f).restart(),this.ticking=!0;else try{var h,d,p=g.forceManyBody();if(o.nodeStrength&&p.strength(o.nodeStrength),l=g.forceSimulation().nodes(a),o.clustering&&((h=(0,v.default)()).centerX(o.center[0]).centerY(o.center[1]).template("force").strength(o.clusterFociStrength),s&&h.links(s),a&&h.nodes(a),h.forceLinkDistance(o.clusterEdgeDistance).forceLinkStrength(o.clusterEdgeStrength).forceCharge(o.clusterNodeStrength).forceNodeSize(o.clusterNodeSize),o.clusterForce=h,l.force("group",h)),l.force("center",g.forceCenter(o.center[0],o.center[1])).force("charge",p).alpha(f).alphaDecay(c).alphaMin(u),o.preventOverlap&&o.overlapProcess(l),s&&(d=g.forceLink().id(function(e){return e.id}).links(s),o.edgeStrength&&d.strength(o.edgeStrength),o.linkDistance&&d.distance(o.linkDistance),o.edgeForce=d,l.force("link",d)),!o.workerEnabled||"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope||(o.workerEnabled=!1,console.warn("workerEnabled option is only supported when running in web worker.")),o.workerEnabled){l.stop();n=(t=l).alphaMin(),r=t.alphaTarget(),i=t.alpha(),n=Math.log((n-r)/(i-r))/Math.log(1-t.alphaDecay());for(var y=Math.ceil(n),m=1;m<=y;m++)l.tick(),postMessage({nodes:a,currentTick:m,totalTicks:y,type:b.LAYOUT_MESSAGE.TICK},void 0);o.ticking=!1}else l.on("tick",function(){o.tick()}).on("end",function(){o.ticking=!1,o.onLayoutEnd&&o.onLayoutEnd()}),o.ticking=!0;o.forceSimulation=l,o.ticking=!0}catch(e){o.ticking=!1,console.warn(e)}}},f.prototype.overlapProcess=function(e){var t,n,r,i=this.nodeSize,o=this.nodeSpacing,a=this.collideStrength,s=(0,c.isNumber)(o)?function(){return o}:(0,c.isFunction)(o)?o:function(){return 0};n=i?(0,c.isFunction)(i)?function(e){return i(e)+s(e)}:(0,c.isArray)(i)?(t=(i[0]>i[1]?i[0]:i[1])/2,function(e){return t+s(e)}):(0,c.isNumber)(i)?(r=i/2,function(e){return r+s(e)}):function(){return 10}:function(e){return e.size?(0,c.isArray)(e.size)?(e.size[0]>e.size[1]?e.size[0]:e.size[1])/2+s(e):(0,c.isObject)(e.size)?(e.size.width>e.size.height?e.size.width:e.size.height)/2+s(e):e.size/2+s(e):10+s(e)},e.force("collisionForce",g.forceCollide(n).strength(a))},f.prototype.updateCfg=function(e){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.forceSimulation=null,Object.assign(this,e)},f.prototype.destroy=function(){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.nodes=null,this.edges=null,this.destroyed=!0},f);function f(e){var t=i.call(this)||this;return t.center=[0,0],t.nodeStrength=null,t.edgeStrength=null,t.preventOverlap=!1,t.clusterNodeStrength=null,t.clusterEdgeStrength=null,t.clusterEdgeDistance=null,t.clusterNodeSize=null,t.clusterFociStrength=null,t.linkDistance=50,t.alphaDecay=.028,t.alphaMin=.001,t.alpha=.3,t.collideStrength=1,t.workerEnabled=!1,t.tick=function(){},t.onLayoutEnd=function(){},t.ticking=void 0,e&&t.updateCfg(e),t}t.ForceLayout=u},1878:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&("get"in i?t.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(90461),t)},66865:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.FruchtermanLayout=void 0,n(9284)),d=n(58652),n=(i=a.Base,o(s,i),s.prototype.getDefaultCfg=function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10,animate:!0}},s.prototype.execute=function(){var e,n,r,i=this,t=this.nodes;if(void 0!==this.timeInterval&&"undefined"!=typeof window&&window.clearInterval(this.timeInterval),t&&0!==t.length)return this.width||"undefined"==typeof window||(this.width=window.innerWidth),this.height||"undefined"==typeof window||(this.height=window.innerHeight),this.center||(this.center=[this.width/2,this.height/2]),e=this.center,1===t.length?(t[0].x=e[0],t[0].y=e[1],void(null!=(e=this.onLayoutEnd)&&e.call(this))):(n={},r={},t.forEach(function(e,t){(0,d.isNumber)(e.x)||(e.x=Math.random()*i.width),(0,d.isNumber)(e.y)||(e.y=Math.random()*i.height),n[e.id]=e,r[e.id]=t}),this.nodeMap=n,this.nodeIdxMap=r,this.run());null!=(e=this.onLayoutEnd)&&e.call(this)},s.prototype.run=function(){var t=this,e=t.nodes;if(e){var n=t.edges,r=t.maxIteration,i=t.workerEnabled,o=t.clustering,a=t.animate,s={};if(o&&e.forEach(function(e){void 0===s[e.cluster]&&(s[e.cluster]={name:e.cluster,cx:0,cy:0,count:0})}),i||!a){for(var l=0;l<r;l++)t.runOneStep(s);null!=(o=t.onLayoutEnd)&&o.call(t)}else{if("undefined"==typeof window)return;var u=0;this.timeInterval=window.setInterval(function(){var e;t.runOneStep(s),++u>=r&&(null!=(e=t.onLayoutEnd)&&e.call(t),window.clearInterval(t.timeInterval))},0)}return{nodes:e,edges:n}}},s.prototype.runOneStep=function(o){var e=this.nodes;if(e){var t=this.edges,r=this.center,i=this.gravity,a=this.speed,n=this.clustering,s=this.height*this.width,l=Math.sqrt(s)/10,s=s/(e.length+1),u=Math.sqrt(s),c=[];if(e.forEach(function(e,t){c[t]={x:0,y:0}}),this.applyCalculate(e,t,c,u,s),n){for(var f in o)o[f].cx=0,o[f].cy=0,o[f].count=0;for(var f in e.forEach(function(e){var t=o[e.cluster];(0,d.isNumber)(e.x)&&(t.cx+=e.x),(0,d.isNumber)(e.y)&&(t.cy+=e.y),t.count++}),o)o[f].cx/=o[f].count,o[f].cy/=o[f].count;var h=this.clusterGravity||i;e.forEach(function(e,t){var n,r,i;(0,d.isNumber)(e.x)&&(0,d.isNumber)(e.y)&&(n=o[e.cluster],r=Math.sqrt((e.x-n.cx)*(e.x-n.cx)+(e.y-n.cy)*(e.y-n.cy)),c[t].x-=(i=u*h)*(e.x-n.cx)/r,c[t].y-=i*(e.y-n.cy)/r)})}e.forEach(function(e,t){var n;(0,d.isNumber)(e.x)&&(0,d.isNumber)(e.y)&&(c[t].x-=(n=.01*u*i)*(e.x-r[0]),c[t].y-=n*(e.y-r[1]))}),e.forEach(function(e,t){var n,r;(0,d.isNumber)(e.fx)&&(0,d.isNumber)(e.fy)?(e.x=e.fx,e.y=e.fy):(0,d.isNumber)(e.x)&&(0,d.isNumber)(e.y)&&0<(n=Math.sqrt(c[t].x*c[t].x+c[t].y*c[t].y))&&(r=Math.min(a/800*l,n),e.x+=c[t].x/n*r,e.y+=c[t].y/n*r)}),null!=(t=this.tick)&&t.call(this)}},s.prototype.applyCalculate=function(e,t,n,r,i){this.calRepulsive(e,n,i),t&&this.calAttractive(t,n,r)},s.prototype.calRepulsive=function(e,a,s){e.forEach(function(i,o){a[o]={x:0,y:0},e.forEach(function(e,t){var n,r;o!==t&&(0,d.isNumber)(i.x)&&(0,d.isNumber)(e.x)&&(0,d.isNumber)(i.y)&&(0,d.isNumber)(e.y)&&(0===(n=(r=i.x-e.x)*r+(e=i.y-e.y)*e)&&(n=1,e=r=.01*(t<o?1:-1)),a[o].x+=r*(t=s/n),a[o].y+=e*t)})})},s.prototype.calAttractive=function(e,a,s){var l=this;e.forEach(function(e){var t,n,r,i,o=(0,d.getEdgeTerminal)(e,"source"),e=(0,d.getEdgeTerminal)(e,"target");o&&e&&(t=l.nodeIdxMap[o])!==(n=l.nodeIdxMap[e])&&(o=l.nodeMap[o],e=l.nodeMap[e],(0,d.isNumber)(e.x))&&(0,d.isNumber)(o.x)&&(0,d.isNumber)(e.y)&&(0,d.isNumber)(o.y)&&(r=e.x-o.x,e=e.y-o.y,o=Math.sqrt(r*r+e*e),a[n].x-=r/o*(i=o*o/s),a[n].y-=e/o*i,a[t].x+=r/o*i,a[t].y+=e/o*i)})},s.prototype.stop=function(){this.timeInterval&&"undefined"!=typeof window&&window.clearInterval(this.timeInterval)},s.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},s.prototype.getType=function(){return"fruchterman"},s);function s(e){var t=i.call(this)||this;return t.maxIteration=1e3,t.workerEnabled=!1,t.gravity=10,t.speed=5,t.clustering=!1,t.clusterGravity=10,t.nodes=[],t.edges=[],t.width=300,t.height=300,t.nodeMap={},t.nodeIdxMap={},t.onLayoutEnd=function(){},t.tick=function(){},t.animate=!0,t.updateCfg(e),t}t.FruchtermanLayout=n},66007:function(e,t,n){"use strict";function u(t,n){return t?(0,m.isNumber)(t)?function(e){return t}:t:function(e){return n||1}}var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.GForceLayout=void 0,n(9284)),m=n(58652),n=(i=a.Base,o(s,i),s.prototype.getDefaultCfg=function(){return{maxIteration:500,gravity:10,enableTick:!0,animate:!0}},s.prototype.execute=function(){var n,r,t,e,i,o,a,s=this,l=s.nodes;void 0!==s.timeInterval&&"undefined"!=typeof window&&window.clearInterval(s.timeInterval),l&&0!==l.length?(s.width||"undefined"==typeof window||(s.width=window.innerWidth),s.height||"undefined"==typeof window||(s.height=window.innerHeight),s.center||(s.center=[s.width/2,s.height/2]),a=s.center,1===l.length?(l[0].x=a[0],l[0].y=a[1],null!=(a=s.onLayoutEnd)&&a.call(s)):(n={},r={},l.forEach(function(e,t){(0,m.isNumber)(e.x)||(e.x=Math.random()*s.width),(0,m.isNumber)(e.y)||(e.y=Math.random()*s.height),n[e.id]=e,r[e.id]=t}),s.nodeMap=n,s.nodeIdxMap=r,s.linkDistance=u(s.linkDistance,1),s.nodeStrength=u(s.nodeStrength,1),s.edgeStrength=u(s.edgeStrength,1),t=s.nodeSize,s.preventOverlap&&(e=s.nodeSpacing,i=(0,m.isNumber)(e)?function(){return e}:(0,m.isFunction)(e)?e:function(){return 0},o=t?(0,m.isArray)(t)?function(e){return Math.max(t[0],t[1])+i(e)}:function(e){return t+i(e)}:function(e){return e.size?(0,m.isArray)(e.size)?Math.max(e.size[0],e.size[1])+i(e):(0,m.isObject)(e.size)?Math.max(e.size.width,e.size.height)+i(e):e.size+i(e):10+i(e)}),s.nodeSize=o,a=s.edges,s.degrees=(0,m.getDegree)(l.length,s.nodeIdxMap,a),s.getMass||(s.getMass=function(e){return e.mass||s.degrees[s.nodeIdxMap[e.id]].all||1}),s.run())):null!=(o=s.onLayoutEnd)&&o.call(s)},s.prototype.run=function(){var t,n=this,r=n.maxIteration,i=n.nodes,e=n.workerEnabled,o=n.minMovement,a=n.animate;if(i)if(e||!a){for(var s=0;s<r;s++){var l=n.runOneStep(s);if(n.reachMoveThreshold(i,l,o))break}null!=(e=n.onLayoutEnd)&&e.call(n)}else"undefined"!=typeof window&&(t=0,this.timeInterval=window.setInterval(function(){var e;i&&(e=n.runOneStep(t)||[],n.reachMoveThreshold(i,e,o)&&(null!=(e=n.onLayoutEnd)&&e.call(n),window.clearInterval(n.timeInterval)),++t>=r)&&(null!=(e=n.onLayoutEnd)&&e.call(n),window.clearInterval(n.timeInterval))},0))},s.prototype.reachMoveThreshold=function(e,r,t){var i=0;return e.forEach(function(e,t){var n=e.x-r[t].x,e=e.y-r[t].y;i+=Math.sqrt(n*n+e*e)}),(i/=e.length)<t},s.prototype.runOneStep=function(e){var t,n=this.nodes,r=this.edges,i=[],o=[];if(n)return n.forEach(function(e,t){i[2*t]=0,o[2*t]=i[2*t+1]=0,o[2*t+1]=0}),this.calRepulsive(i,n),r&&this.calAttractive(i,r),this.calGravity(i,n),r=Math.max(.02,this.interval-.002*e),this.updateVelocity(i,o,r,n),t=[],n.forEach(function(e){t.push({x:e.x,y:e.y})}),this.updatePosition(o,r,n),null!=(e=this.tick)&&e.call(this),t},s.prototype.calRepulsive=function(f,e){var h=this.getMass,d=this.factor,p=this.coulombDisScale,y=this.preventOverlap,t=this.collideStrength,m=void 0===t?1:t,g=this.nodeStrength,v=this.nodeSize;e.forEach(function(l,u){var c=h?h(l):1;e.forEach(function(e,t){var n,r,i,o,a,s;t<=u||(i=l.x-e.x,o=l.y-e.y,0===i&&0===o&&(i=.01*Math.random(),o=.01*Math.random()),n=i*i+o*o,s=((r=Math.sqrt(n))+.1)*p,i=i/r,o=o/r,s=.5*(g(l)+g(e))*d/(s*s),a=h?h(e):1,f[2*u]+=i*s,f[2*u+1]+=o*s,f[2*t]-=i*s,f[2*t+1]-=o*s,y&&(v(l)+v(e))/2>r&&(s=m*(g(l)+g(e))*.5/n,f[2*u]+=i*s/c,f[2*u+1]+=o*s/c,f[2*t]-=i*s/a,f[2*t+1]-=o*s/a))})})},s.prototype.calAttractive=function(u,e){var c=this.nodeMap,f=this.nodeIdxMap,h=this.linkDistance,d=this.edgeStrength,p=this.nodeSize,y=this.getMass;e.forEach(function(e,t){var n=(0,m.getEdgeTerminal)(e,"source"),r=(0,m.getEdgeTerminal)(e,"target"),i=c[n],o=c[r],a=o.x-i.x,s=o.y-i.y,l=(0===a&&0===s&&(a=.01*Math.random(),s=.01*Math.random()),Math.sqrt(a*a+s*s)),a=a/l,s=s/l,l=((h(e,i,o)||1+(p(i)+p(o)||0)/2)-l)*d(e),e=f[n],n=f[r],r=y?y(i):1,i=y?y(o):1;u[2*e]-=a*l/r,u[2*e+1]-=s*l/r,u[2*n]+=a*l/i,u[2*n+1]+=s*l/i})},s.prototype.calGravity=function(e,t){for(var n=this.center,r=this.gravity,i=this.degrees,o=t.length,a=0;a<o;a++){var s,l=t[a],u=l.x-n[0],c=l.y-n[1],f=r;this.getCenter&&(s=this.getCenter(l,i[a].all))&&(0,m.isNumber)(s[0])&&(0,m.isNumber)(s[1])&&(0,m.isNumber)(s[2])&&(u=l.x-s[0],c=l.y-s[1],f=s[2]),f&&(e[2*a]-=f*u,e[2*a+1]-=f*c)}},s.prototype.updateVelocity=function(o,a,e,t){var s=this,l=e*s.damping;t.forEach(function(e,t){var n=o[2*t]*l||.01,r=o[2*t+1]*l||.01,i=Math.sqrt(n*n+r*r);i>s.maxSpeed&&(n*=i=s.maxSpeed/i,r*=i),a[2*t]=n,a[2*t+1]=r})},s.prototype.updatePosition=function(r,i,e){e.forEach(function(e,t){var n;(0,m.isNumber)(e.fx)&&(0,m.isNumber)(e.fy)?(e.x=e.fx,e.y=e.fy):(n=r[2*t]*i,t=r[2*t+1]*i,e.x+=n,e.y+=t)})},s.prototype.stop=function(){this.timeInterval&&"undefined"!=typeof window&&window.clearInterval(this.timeInterval)},s.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},s.prototype.getType=function(){return"gForce"},s);function s(e){var t=i.call(this)||this;return t.maxIteration=500,t.workerEnabled=!1,t.edgeStrength=200,t.nodeStrength=1e3,t.coulombDisScale=.005,t.damping=.9,t.maxSpeed=1e3,t.minMovement=.5,t.interval=.02,t.factor=1,t.linkDistance=1,t.gravity=10,t.preventOverlap=!0,t.collideStrength=1,t.tick=function(){},t.nodes=[],t.edges=[],t.width=300,t.height=300,t.nodeMap={},t.nodeIdxMap={},t.animate=!0,t.updateCfg(e),t}t.GForceLayout=n},69720:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),S=this&&this.__awaiter||function(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{o(l.next(e))}catch(e){t(e)}}function i(e){try{o(l.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}o((l=l.apply(e,a||[])).next())})},C=this&&this.__generator||function(r,i){var o,a,s,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},u={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function e(n){return function(e){var t=[n,e];if(o)throw new TypeError("Generator is already executing.");for(;l=u&&t[u=0]?0:l;)try{if(o=1,a&&(s=2&t[0]?a.return:t[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,t[1])).done)return s;switch(a=0,(t=s?[2&t[0],s.value]:t)[0]){case 0:case 1:s=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,a=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(s=0<(s=l.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3]))l.label=t[1];else if(6===t[0]&&l.label<s[1])l.label=s[1],s=t;else{if(!(s&&l.label<s[2])){s[2]&&l.ops.pop(),l.trys.pop();continue}l.label=s[2],l.ops.push(t)}}t=i.call(r,l)}catch(e){t=[6,e],a=0}finally{o=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},a=(Object.defineProperty(t,"__esModule",{value:!0}),t.FruchtermanGPULayout=void 0,n(9284)),O=n(58652),E=n(66887),M=n(70446),P=n(92444),k=n(84587),n=(i=a.Base,o(s,i),s.prototype.getDefaultCfg=function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10}},s.prototype.execute=function(){return S(this,void 0,void 0,function(){var t,n,r,i,o,a=this;return C(this,function(e){switch(e.label){case 0:return(n=(t=this).nodes)&&0!==n.length?(t.width||"undefined"==typeof window||(t.width=window.innerWidth),t.height||"undefined"==typeof window||(t.height=window.innerHeight),t.center||(t.center=[t.width/2,t.height/2]),r=t.center,1===n.length?(n[0].x=r[0],n[0].y=r[1],t.onLayoutEnd&&t.onLayoutEnd(),[2]):(i={},o={},n.forEach(function(e,t){(0,O.isNumber)(e.x)||(e.x=Math.random()*a.width),(0,O.isNumber)(e.y)||(e.y=Math.random()*a.height),i[e.id]=e,o[e.id]=t}),t.nodeMap=i,t.nodeIdxMap=o,[4,t.run()])):(t.onLayoutEnd&&t.onLayoutEnd(),[2]);case 1:return e.sent(),[2]}})})},s.prototype.executeWithWorker=function(s,l){return S(this,void 0,void 0,function(){var t,n,r,i,o,a=this;return C(this,function(e){switch(e.label){case 0:return n=(t=this).nodes,r=t.center,n&&0!==n.length?1===n.length?(n[0].x=r[0],n[0].y=r[1],[2]):(i={},o={},n.forEach(function(e,t){(0,O.isNumber)(e.x)||(e.x=Math.random()*a.width),(0,O.isNumber)(e.y)||(e.y=Math.random()*a.height),i[e.id]=e,o[e.id]=t}),t.nodeMap=i,t.nodeIdxMap=o,[4,t.run(s,l)]):[2];case 1:return e.sent(),[2]}})})},s.prototype.run=function(w,A){return S(this,void 0,void 0,function(){var t,n,i,r,o,a,s,l,u,c,f,h,d,p,y,m,g,v,b,_,x=this;return C(this,function(e){switch(e.label){case 0:for(n=(t=this).nodes,p=t.edges,i=t.maxIteration,r=t.center,a=t.height*t.width,o=Math.sqrt(a)/10,a=a/(n.length+1),s=Math.sqrt(a),l=t.speed,u=t.clustering,h=(0,M.attributesToTextureData)([t.clusterField],n),c=h.array,f=h.count,n.forEach(function(e,t){var n=0,r=0;(0,O.isNumber)(e.fx)&&(0,O.isNumber)(e.fy)&&(n=e.fx||.001,r=e.fy||.001),c[4*t+1]=n,c[4*t+2]=r}),h=n.length,p=(0,M.buildTextureData)(n,p),d=p.maxEdgePerVetex,p=p.array,y=t.workerEnabled,y=y?E.World.create({canvas:w,engineOptions:{supportCompute:!0}}):E.World.create({engineOptions:{supportCompute:!0}}),m=t.onLayoutEnd,g=[],v=0;v<f;v++)g.push(0,0,0,0);return b=y.createKernel(P.fruchtermanBundle).setDispatch([h,1,1]).setBinding({u_Data:p,u_K:s,u_K2:a,u_Gravity:t.gravity,u_ClusterGravity:t.clusterGravity||t.gravity||1,u_Speed:l,u_MaxDisplace:o,u_Clustering:u?1:0,u_Center:r,u_AttributeArray:c,u_ClusterCenters:g,MAX_EDGE_PER_VERTEX:d,VERTEX_COUNT:h}),u&&(_=y.createKernel(P.clusterBundle).setDispatch([f,1,1]).setBinding({u_Data:p,u_NodeAttributes:c,u_ClusterCenters:g,VERTEX_COUNT:h,CLUSTER_COUNT:f})),[4,S(x,void 0,void 0,function(){var t,r;return C(this,function(e){switch(e.label){case 0:t=0,e.label=1;case 1:return t<i?[4,b.execute()]:[3,6];case 2:return e.sent(),u?(_.setBinding({u_Data:b}),[4,_.execute()]):[3,4];case 3:e.sent(),b.setBinding({u_ClusterCenters:_}),e.label=4;case 4:b.setBinding({u_MaxDisplace:o*=.99}),e.label=5;case 5:return t++,[3,1];case 6:return[4,b.getOutput()];case 7:return r=e.sent(),w?A.postMessage({type:k.LAYOUT_MESSAGE.GPUEND,vertexEdgeData:r}):n.forEach(function(e,t){var n=r[4*t],t=r[4*t+1];e.x=n,e.y=t}),m&&m(),[2]}})})];case 1:return e.sent(),[2]}})})},s.prototype.getType=function(){return"fruchterman-gpu"},s);function s(e){var t=i.call(this)||this;return t.maxIteration=1e3,t.gravity=10,t.speed=1,t.clustering=!1,t.clusterField="cluster",t.clusterGravity=10,t.workerEnabled=!1,t.nodes=[],t.edges=[],t.width=300,t.height=300,t.nodeMap={},t.nodeIdxMap={},t.updateCfg(e),t}t.FruchtermanGPULayout=n},92444:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clusterBundle=t.clusterCode=t.fruchtermanBundle=t.fruchtermanCode=void 0,t.fruchtermanCode="\nimport { globalInvocationID } from 'g-webgpu';\nconst MAX_EDGE_PER_VERTEX;\nconst VERTEX_COUNT;\n@numthreads(1, 1, 1)\nclass Fruchterman {\n @in @out\n u_Data: vec4[];\n @in\n u_K: float;\n @in\n u_K2: float;\n \n @in\n u_Center: vec2;\n @in\n u_Gravity: float;\n @in\n u_ClusterGravity: float;\n @in\n u_Speed: float;\n @in\n u_MaxDisplace: float;\n @in\n u_Clustering: float;\n @in\n u_AttributeArray: vec4[];\n @in\n u_ClusterCenters: vec4[];\n calcRepulsive(i: int, currentNode: vec4): vec2 {\n let dx = 0, dy = 0;\n for (let j = 0; j < VERTEX_COUNT; j++) {\n if (i != j) {\n const nextNode = this.u_Data[j];\n const xDist = currentNode[0] - nextNode[0];\n const yDist = currentNode[1] - nextNode[1];\n const dist = (xDist * xDist + yDist * yDist) + 0.01;\n let param = this.u_K2 / dist;\n \n if (dist > 0.0) {\n dx += param * xDist;\n dy += param * yDist;\n if (xDist == 0 && yDist == 0) {\n const sign = i < j ? 1 : -1;\n dx += param * sign;\n dy += param * sign;\n }\n }\n }\n }\n return [dx, dy];\n }\n calcGravity(currentNode: vec4, nodeAttributes: vec4): vec2 { // \n let dx = 0, dy = 0;\n const vx = currentNode[0] - this.u_Center[0];\n const vy = currentNode[1] - this.u_Center[1];\n const gf = 0.01 * this.u_K * this.u_Gravity;\n dx = gf * vx;\n dy = gf * vy;\n if (this.u_Clustering == 1) {\n const clusterIdx = int(nodeAttributes[0]);\n const center = this.u_ClusterCenters[clusterIdx];\n const cvx = currentNode[0] - center[0];\n const cvy = currentNode[1] - center[1];\n const dist = sqrt(cvx * cvx + cvy * cvy) + 0.01;\n const parma = this.u_K * this.u_ClusterGravity / dist;\n dx += parma * cvx;\n dy += parma * cvy;\n }\n return [dx, dy];\n }\n calcAttractive(i: int, currentNode: vec4): vec2 {\n let dx = 0, dy = 0;\n const arr_offset = int(floor(currentNode[2] + 0.5));\n const length = int(floor(currentNode[3] + 0.5));\n const node_buffer: vec4;\n for (let p = 0; p < MAX_EDGE_PER_VERTEX; p++) {\n if (p >= length) break;\n const arr_idx = arr_offset + p;\n // when arr_idx % 4 == 0 update currentNodedx_buffer\n const buf_offset = arr_idx - arr_idx / 4 * 4;\n if (p == 0 || buf_offset == 0) {\n node_buffer = this.u_Data[int(arr_idx / 4)];\n }\n const float_j = buf_offset == 0 ? node_buffer[0] :\n buf_offset == 1 ? node_buffer[1] :\n buf_offset == 2 ? node_buffer[2] :\n node_buffer[3];\n const nextNode = this.u_Data[int(float_j)];\n const xDist = currentNode[0] - nextNode[0];\n const yDist = currentNode[1] - nextNode[1];\n const dist = sqrt(xDist * xDist + yDist * yDist) + 0.01;\n let attractiveF = dist / this.u_K;\n \n if (dist > 0.0) {\n dx -= xDist * attractiveF;\n dy -= yDist * attractiveF;\n if (xDist == 0 && yDist == 0) {\n const sign = i < int(float_j) ? 1 : -1;\n dx -= sign * attractiveF;\n dy -= sign * attractiveF;\n }\n }\n }\n return [dx, dy];\n }\n @main\n compute() {\n const i = globalInvocationID.x;\n const currentNode = this.u_Data[i];\n let dx = 0, dy = 0;\n if (i >= VERTEX_COUNT) {\n this.u_Data[i] = currentNode;\n return;\n }\n\n // [gravity, fx, fy, 0]\n const nodeAttributes = this.u_AttributeArray[i];\n\n if (nodeAttributes[1] != 0 && nodeAttributes[2] != 0) {\n // the node is fixed\n this.u_Data[i] = [\n nodeAttributes[1],\n nodeAttributes[2],\n currentNode[2],\n currentNode[3]\n ];\n return;\n }\n\n // repulsive\n const repulsive = this.calcRepulsive(i, currentNode);\n dx += repulsive[0];\n dy += repulsive[1];\n // attractive\n const attractive = this.calcAttractive(i, currentNode);\n dx += attractive[0];\n dy += attractive[1];\n // gravity\n const gravity = this.calcGravity(currentNode, nodeAttributes);\n dx -= gravity[0];\n dy -= gravity[1];\n // speed\n dx *= this.u_Speed;\n dy *= this.u_Speed;\n\n // move\n const distLength = sqrt(dx * dx + dy * dy);\n if (distLength > 0.0) {\n const limitedDist = min(this.u_MaxDisplace * this.u_Speed, distLength);\n this.u_Data[i] = [\n currentNode[0] + dx / distLength * limitedDist,\n currentNode[1] + dy / distLength * limitedDist,\n currentNode[2],\n currentNode[3]\n ];\n }\n }\n}\n",t.fruchtermanBundle='{"shaders":{"WGSL":"","GLSL450":"","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_K;\\nuniform float u_K2;\\nuniform vec2 u_Center;\\nuniform float u_Gravity;\\nuniform float u_ClusterGravity;\\nuniform float u_Speed;\\nuniform float u_MaxDisplace;\\nuniform float u_Clustering;\\nuniform sampler2D u_AttributeArray;\\nuniform vec2 u_AttributeArraySize;\\nvec4 getDatau_AttributeArray(vec2 address2D) {\\n return vec4(texture2D(u_AttributeArray, address2D).rgba);\\n}\\nvec4 getDatau_AttributeArray(float address1D) {\\n return getDatau_AttributeArray(addrTranslation_1Dto2D(address1D, u_AttributeArraySize));\\n}\\nvec4 getDatau_AttributeArray(int address1D) {\\n return getDatau_AttributeArray(float(address1D));\\n}\\nuniform sampler2D u_ClusterCenters;\\nuniform vec2 u_ClusterCentersSize;\\nvec4 getDatau_ClusterCenters(vec2 address2D) {\\n return vec4(texture2D(u_ClusterCenters, address2D).rgba);\\n}\\nvec4 getDatau_ClusterCenters(float address1D) {\\n return getDatau_ClusterCenters(addrTranslation_1Dto2D(address1D, u_ClusterCentersSize));\\n}\\nvec4 getDatau_ClusterCenters(int address1D) {\\n return getDatau_ClusterCenters(float(address1D));\\n}\\nvec2 calcRepulsive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = getDatau_Data(j);\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat param = u_K2 / dist;\\nif (dist > 0.0) {dx += param * xDist;\\ndy += param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < j) ? (1.0) : (-1.0);\\ndx += param * sign;\\ndy += param * sign;}}}}\\nreturn vec2(dx, dy);}\\nvec2 calcGravity(vec4 currentNode, vec4 nodeAttributes) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nfloat vx = currentNode.x - u_Center.x;\\nfloat vy = currentNode.y - u_Center.y;\\nfloat gf = (0.01 * u_K) * u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (u_Clustering == 1.0) {int clusterIdx = int(nodeAttributes.x);\\nvec4 center = getDatau_ClusterCenters(clusterIdx);\\nfloat cvx = currentNode.x - center.x;\\nfloat cvy = currentNode.y - center.y;\\nfloat dist = sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nfloat parma = (u_K * u_ClusterGravity) / dist;\\ndx += parma * cvx;\\ndy += parma * cvy;}\\nreturn vec2(dx, dy);}\\nvec2 calcAttractive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nint arr_offset = int(floor(currentNode.z + 0.5));\\nint length = int(floor(currentNode.w + 0.5));\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + int(p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = getDatau_Data(int(arr_idx / 4));}\\nfloat float_j = (buf_offset == 0) ? (node_buffer.x) : ((buf_offset == 1) ? (node_buffer.y) : ((buf_offset == 2) ? (node_buffer.z) : (node_buffer.w)));\\nvec4 nextNode = getDatau_Data(int(float_j));\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat attractiveF = dist / u_K;\\nif (dist > 0.0) {dx -= xDist * attractiveF;\\ndy -= yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < int(float_j)) ? (1.0) : (-1.0);\\ndx -= sign * attractiveF;\\ndy -= sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 currentNode = getDatau_Data(i);\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nif (i >= VERTEX_COUNT) {gl_FragColor = vec4(currentNode);\\nreturn ;}\\nvec4 nodeAttributes = getDatau_AttributeArray(i);\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gl_FragColor = vec4(vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w));\\nreturn ;}\\nvec2 repulsive = calcRepulsive(i, currentNode);\\ndx += repulsive.x;\\ndy += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode);\\ndx += attractive.x;\\ndy += attractive.y;\\nvec2 gravity = calcGravity(currentNode, nodeAttributes);\\ndx -= gravity.x;\\ndy -= gravity.y;\\ndx *= u_Speed;\\ndy *= u_Speed;\\nfloat distLength = sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {float limitedDist = min(u_MaxDisplace * u_Speed, distLength);\\ngl_FragColor = vec4(vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w));}if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"MAX_EDGE_PER_VERTEX","type":"Float","runtime":true},{"name":"VERTEX_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]},{"name":"u_K","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_K2","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Center","type":"vec2<f32>","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Gravity","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterGravity","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Speed","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_MaxDisplace","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Clustering","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AttributeArray","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterCenters","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_Data","size":[1,1],"length":1},"needPingpong":true}}',t.clusterCode="\nimport { globalInvocationID } from 'g-webgpu';\nconst VERTEX_COUNT;\nconst CLUSTER_COUNT;\n@numthreads(1, 1, 1)\nclass CalcCenter {\n @in\n u_Data: vec4[];\n @in\n u_NodeAttributes: vec4[]; // [[clusterIdx, 0, 0, 0], ...]\n @in @out\n u_ClusterCenters: vec4[]; // [[cx, cy, nodeCount, clusterIdx], ...]\n @main\n compute() {\n const i = globalInvocationID.x;\n const center = this.u_ClusterCenters[i];\n let sumx = 0;\n let sumy = 0;\n let count = 0;\n for (let j = 0; j < VERTEX_COUNT; j++) {\n const attributes = this.u_NodeAttributes[j];\n const clusterIdx = int(attributes[0]);\n const vertex = this.u_Data[j];\n if (clusterIdx == i) {\n sumx += vertex.x;\n sumy += vertex.y;\n count += 1;\n }\n }\n this.u_ClusterCenters[i] = [\n sumx / count,\n sumy / count,\n count,\n i\n ];\n }\n}\n",t.clusterBundle='{"shaders":{"WGSL":"","GLSL450":"","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define CLUSTER_COUNT __DefineValuePlaceholder__CLUSTER_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform sampler2D u_NodeAttributes;\\nuniform vec2 u_NodeAttributesSize;\\nvec4 getDatau_NodeAttributes(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributes, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributes(float address1D) {\\n return getDatau_NodeAttributes(addrTranslation_1Dto2D(address1D, u_NodeAttributesSize));\\n}\\nvec4 getDatau_NodeAttributes(int address1D) {\\n return getDatau_NodeAttributes(float(address1D));\\n}\\nuniform sampler2D u_ClusterCenters;\\nuniform vec2 u_ClusterCentersSize;\\nvec4 getDatau_ClusterCenters(vec2 address2D) {\\n return vec4(texture2D(u_ClusterCenters, address2D).rgba);\\n}\\nvec4 getDatau_ClusterCenters(float address1D) {\\n return getDatau_ClusterCenters(addrTranslation_1Dto2D(address1D, u_ClusterCentersSize));\\n}\\nvec4 getDatau_ClusterCenters(int address1D) {\\n return getDatau_ClusterCenters(float(address1D));\\n}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 center = getDatau_ClusterCenters(i);\\nfloat sumx = 0.0;\\nfloat sumy = 0.0;\\nfloat count = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 attributes = getDatau_NodeAttributes(j);\\nint clusterIdx = int(attributes.x);\\nvec4 vertex = getDatau_Data(j);\\nif (clusterIdx == i) {sumx += vertex.x;\\nsumy += vertex.y;\\ncount += 1.0;}}\\ngl_FragColor = vec4(vec4(sumx / count, sumy / count, count, i));if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"VERTEX_COUNT","type":"Float","runtime":true},{"name":"CLUSTER_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributes","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterCenters","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_ClusterCenters","size":[1,1],"length":1},"needPingpong":true}}'},54790:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),E=this&&this.__awaiter||function(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{o(l.next(e))}catch(e){t(e)}}function i(e){try{o(l.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}o((l=l.apply(e,a||[])).next())})},M=this&&this.__generator||function(r,i){var o,a,s,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},u={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function e(n){return function(e){var t=[n,e];if(o)throw new TypeError("Generator is already executing.");for(;l=u&&t[u=0]?0:l;)try{if(o=1,a&&(s=2&t[0]?a.return:t[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,t[1])).done)return s;switch(a=0,(t=s?[2&t[0],s.value]:t)[0]){case 0:case 1:s=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,a=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(s=0<(s=l.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3]))l.label=t[1];else if(6===t[0]&&l.label<s[1])l.label=s[1],s=t;else{if(!(s&&l.label<s[2])){s[2]&&l.ops.pop(),l.trys.pop();continue}l.label=s[2],l.ops.push(t)}}t=i.call(r,l)}catch(e){t=[6,e],a=0}finally{o=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},a=(Object.defineProperty(t,"__esModule",{value:!0}),t.GForceGPULayout=void 0,n(9284)),P=n(58652),k=n(66887),T=n(70446),I=n(23979),L=n(6920),j=n(84587),n=(i=a.Base,o(s,i),s.prototype.getDefaultCfg=function(){return{maxIteration:2e3,gravity:10,clustering:!1,clusterGravity:10}},s.prototype.execute=function(){return E(this,void 0,void 0,function(){var n,t,r,i,o;return M(this,function(e){switch(e.label){case 0:return(t=(n=this).nodes)&&0!==t.length?(n.width||"undefined"==typeof window||(n.width=window.innerWidth),n.height||"undefined"==typeof window||(n.height=window.innerHeight),n.center||(n.center=[n.width/2,n.height/2]),r=n.center,1===t.length?(t[0].x=r[0],t[0].y=r[1],n.onLayoutEnd&&n.onLayoutEnd(),[2]):(i={},o={},t.forEach(function(e,t){(0,P.isNumber)(e.x)||(e.x=Math.random()*n.width),(0,P.isNumber)(e.y)||(e.y=Math.random()*n.height),i[e.id]=e,o[e.id]=t}),n.nodeMap=i,n.nodeIdxMap=o,n.nodeStrength=(0,T.proccessToFunc)(n.nodeStrength,1),n.edgeStrength=(0,T.proccessToFunc)(n.edgeStrength,1),[4,n.run()])):(n.onLayoutEnd&&n.onLayoutEnd(),[2]);case 1:return e.sent(),[2]}})})},s.prototype.executeWithWorker=function(e,t){var n,r,i=this,o=i.nodes,a=i.center;o&&0!==o.length&&(1===o.length?(o[0].x=a[0],o[0].y=a[1]):(n={},r={},o.forEach(function(e,t){(0,P.isNumber)(e.x)||(e.x=Math.random()*i.width),(0,P.isNumber)(e.y)||(e.y=Math.random()*i.height),n[e.id]=e,r[e.id]=t}),i.nodeMap=n,i.nodeIdxMap=r,i.nodeStrength=(0,T.proccessToFunc)(i.nodeStrength,1),i.edgeStrength=(0,T.proccessToFunc)(i.edgeStrength,1),i.run(e,t)))},s.prototype.run=function(C,O){return E(this,void 0,void 0,function(){var i,o,a,t,n,r,s,l,u,c,f,h,d,p,y,m,g,v,b,_,x,w,A,S=this;return M(this,function(e){switch(e.label){case 0:for(o=(i=this).nodes,m=i.edges,a=i.maxIteration,i.width||"undefined"==typeof window||(i.width=window.innerWidth),i.height||"undefined"==typeof window||(i.height=window.innerHeight),t=o.length,i.linkDistance=(0,T.proccessToFunc)(i.linkDistance),i.edgeStrength=(0,T.proccessToFunc)(i.edgeStrength),r=(0,T.buildTextureDataWithTwoEdgeAttr)(o,m,i.linkDistance,i.edgeStrength),n=r.maxEdgePerVetex,r=r.array,i.degrees=(0,I.getDegree)(o.length,i.nodeIdxMap,m).map(function(e){return e.all}),s=[],l=[],u=[],c=[],f=[],h=[],d=[],i.getMass||(i.getMass=function(e){return i.degrees[i.nodeIdxMap[e.id]]||1}),p=i.gravity,y=i.center,o.forEach(function(e,t){s.push(i.getMass(e)),l.push(i.nodeStrength(e)),i.degrees[t]||(i.degrees[t]=0);var n=[y[0],y[1],p];i.getCenter&&(t=i.getCenter(e,i.degrees[t]))&&(0,P.isNumber)(t[0])&&(0,P.isNumber)(t[1])&&(0,P.isNumber)(t[2])&&(n=t),u.push(n[0]),c.push(n[1]),f.push(n[2]),(0,P.isNumber)(e.fx)&&(0,P.isNumber)(e.fy)?(h.push(e.fx||.001),d.push(e.fy||.001)):(h.push(0),d.push(0))}),m=(0,T.arrayToTextureData)([s,i.degrees,l,h]),g=(0,T.arrayToTextureData)([u,c,f,d]),v=i.workerEnabled,v=v?k.World.create({canvas:C,engineOptions:{supportCompute:!0}}):k.World.create({engineOptions:{supportCompute:!0}}),b=i.onLayoutEnd,_=[],r.forEach(function(e){_.push(e)}),x=0;x<4;x++)_.push(0);return w=v.createKernel(L.gForceBundle).setDispatch([t,1,1]).setBinding({u_Data:r,u_damping:i.damping,u_maxSpeed:i.maxSpeed,u_minMovement:i.minMovement,u_coulombDisScale:i.coulombDisScale,u_factor:i.factor,u_NodeAttributeArray1:m,u_NodeAttributeArray2:g,MAX_EDGE_PER_VERTEX:n,VERTEX_COUNT:t,u_AveMovement:_,u_interval:i.interval}),A=v.createKernel(L.aveMovementBundle).setDispatch([1,1,1]).setBinding({u_Data:r,VERTEX_COUNT:t,u_AveMovement:[0,0,0,0]}),[4,E(S,void 0,void 0,function(){var t,n,r;return M(this,function(e){switch(e.label){case 0:t=0,e.label=1;case 1:return t<a?[4,w.execute()]:[3,5];case 2:return e.sent(),A.setBinding({u_Data:w}),[4,A.execute()];case 3:e.sent(),n=Math.max(.02,i.interval-.002*t),w.setBinding({u_interval:n,u_AveMovement:A}),e.label=4;case 4:return t++,[3,1];case 5:return[4,w.getOutput()];case 6:return r=e.sent(),C?O.postMessage({type:j.LAYOUT_MESSAGE.GPUEND,vertexEdgeData:r}):o.forEach(function(e,t){var n=r[4*t],t=r[4*t+1];e.x=n,e.y=t}),b&&b(),[2]}})})];case 1:return e.sent(),[2]}})})},s.prototype.getType=function(){return"gForce-gpu"},s);function s(e){var t=i.call(this)||this;return t.maxIteration=1e3,t.edgeStrength=200,t.nodeStrength=1e3,t.coulombDisScale=.005,t.damping=.9,t.maxSpeed=1e3,t.minMovement=.5,t.interval=.02,t.factor=1,t.linkDistance=1,t.gravity=10,t.workerEnabled=!1,t.nodes=[],t.edges=[],t.width=300,t.height=300,t.nodeMap={},t.nodeIdxMap={},t.updateCfg(e),t}t.GForceGPULayout=n},6920:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aveMovementBundle=t.aveMovementCode=t.gForceBundle=t.gForceCode=void 0,t.gForceCode="\nimport { globalInvocationID } from 'g-webgpu';\n\nconst MAX_EDGE_PER_VERTEX;\nconst VERTEX_COUNT;\nconst SHIFT_20 = 1048576;\n\n@numthreads(1, 1, 1)\nclass GGForce {\n @in @out\n u_Data: vec4[];\n\n @in\n u_damping: float;\n \n @in\n u_maxSpeed: float;\n\n @in\n u_minMovement: float;\n\n @in\n u_AveMovement: vec4[];\n\n @in\n u_coulombDisScale: float;\n\n @in\n u_factor: float;\n\n @in\n u_NodeAttributeArray1: vec4[];\n\n @in\n u_NodeAttributeArray2: vec4[];\n\n @in\n u_interval: float;\n\n unpack_float(packedValue: float): ivec2 {\n const packedIntValue = int(packedValue);\n const v0 = packedIntValue / SHIFT_20;\n return [v0, packedIntValue - v0 * SHIFT_20];\n }\n\n calcRepulsive(i: int, currentNode: vec4): vec2 {\n let ax = 0, ay = 0;\n for (let j: int = 0; j < VERTEX_COUNT; j++) {\n if (i != j) {\n const nextNode = this.u_Data[j];\n const vx = currentNode[0] - nextNode[0];\n const vy = currentNode[1] - nextNode[1];\n const dist = sqrt(vx * vx + vy * vy) + 0.01;\n const n_dist = (dist + 0.1) * this.u_coulombDisScale;\n const direx = vx / dist;\n const direy = vy / dist;\n const attributesi = this.u_NodeAttributeArray1[i];\n const attributesj = this.u_NodeAttributeArray1[j];\n const massi = attributesi[0];\n const nodeStrengthi = attributesi[2];\n const nodeStrengthj = attributesj[2];\n const nodeStrength = (nodeStrengthi + nodeStrengthj) / 2;\n // const param = nodeStrength * this.u_factor / (n_dist * n_dist * massi);\n const param = nodeStrength * this.u_factor / (n_dist * n_dist);\n ax += direx * param;\n ay += direy * param;\n }\n }\n return [ax, ay];\n }\n\n calcGravity(i: int, currentNode: vec4, attributes2: vec4): vec2 {\n // note: attributes2 = [centerX, centerY, gravity, 0]\n\n const vx = currentNode[0] - attributes2[0];\n const vy = currentNode[1] - attributes2[1];\n \n const ax = vx * attributes2[2];\n const ay = vy * attributes2[2];\n \n return [ax, ay];\n }\n\n calcAttractive(i: int, currentNode: vec4, attributes1: vec4): vec2 {\n // note: attributes1 = [mass, degree, nodeSterngth, 0]\n\n const mass = attributes1[0];\n let ax = 0, ay = 0;\n // const arr_offset = int(floor(currentNode[2] + 0.5));\n // const length = int(floor(currentNode[3] + 0.5));\n\n const compressed = this.unpack_float(currentNode[2]);\n const length = compressed[0];\n const arr_offset = compressed[1];\n\n const node_buffer: vec4;\n for (let p: int = 0; p < MAX_EDGE_PER_VERTEX; p++) {\n if (p >= length) break;\n const arr_idx = arr_offset + 4 * p; // i 节点的第 p 条边开始的小格子位置\n const buf_offset = arr_idx - arr_idx / 4 * 4;\n if (p == 0 || buf_offset == 0) {\n node_buffer = this.u_Data[int(arr_idx / 4)]; // 大格子,大格子位置=小个子位置 / 4,\n }\n\n let float_j: float = node_buffer[0];\n\n const nextNode = this.u_Data[int(float_j)];\n const vx = nextNode[0] - currentNode[0];\n const vy = nextNode[1] - currentNode[1];\n const dist = sqrt(vx * vx + vy * vy) + 0.01;\n const direx = vx / dist;\n const direy = vy / dist;\n const edgeLength = node_buffer[1];\n const edgeStrength = node_buffer[2];\n const diff: float = edgeLength - dist;//edgeLength\n // const param = diff * this.u_stiffness / mass; //\n const param = diff * edgeStrength / mass; // \n ax -= direx * param;\n ay -= direy * param;\n }\n return [ax, ay];\n }\n\n @main\n compute() {\n const i = globalInvocationID.x;\n const currentNode = this.u_Data[i];\n const movement = u_AveMovement[0];\n let ax = 0, ay = 0;\n\n if (i >= VERTEX_COUNT || movement.x < u_minMovement) {\n this.u_Data[i] = currentNode;\n return;\n }\n\n // 每个节点属性占两个数组中各一格\n // [mass, degree, nodeStrength, fx]\n const nodeAttributes1 = this.u_NodeAttributeArray1[i];\n // [centerX, centerY, centerGravity, fy]\n const nodeAttributes2 = this.u_NodeAttributeArray2[i];\n\n // repulsive\n const repulsive = this.calcRepulsive(i, currentNode);\n ax += repulsive[0];\n ay += repulsive[1];\n\n // attractive\n const attractive = this.calcAttractive(i, currentNode, nodeAttributes1);\n ax += attractive[0];\n ay += attractive[1];\n\n // gravity\n const gravity = this.calcGravity(i, currentNode, nodeAttributes2);\n ax -= gravity[0];\n ay -= gravity[1];\n\n // speed\n const param = this.u_interval * this.u_damping;\n let vx = ax * param;\n let vy = ay * param;\n const vlength = sqrt(vx * vx + vy * vy) + 0.0001;\n if (vlength > this.u_maxSpeed) {\n const param2 = this.u_maxSpeed / vlength;\n vx = param2 * vx;\n vy = param2 * vy;\n }\n\n // move\n if (nodeAttributes1[3] != 0 && nodeAttributes2[3] != 0) {\n this.u_Data[i] = [\n nodeAttributes1[3],\n nodeAttributes2[3],\n currentNode[2],\n 0\n ];\n } else {\n const distx = vx * this.u_interval;\n const disty = vy * this.u_interval;\n const distLength = sqrt(distx * distx + disty * disty);\n this.u_Data[i] = [\n currentNode[0] + distx,\n currentNode[1] + disty,\n currentNode[2],\n distLength\n ];\n }\n \n // the avarage move distance\n // need to share memory\n \n }\n}\n",t.gForceBundle='{"shaders":{"WGSL":"","GLSL450":"","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define SHIFT_20 1048576.0\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_damping;\\nuniform float u_maxSpeed;\\nuniform float u_minMovement;\\nuniform sampler2D u_AveMovement;\\nuniform vec2 u_AveMovementSize;\\nvec4 getDatau_AveMovement(vec2 address2D) {\\n return vec4(texture2D(u_AveMovement, address2D).rgba);\\n}\\nvec4 getDatau_AveMovement(float address1D) {\\n return getDatau_AveMovement(addrTranslation_1Dto2D(address1D, u_AveMovementSize));\\n}\\nvec4 getDatau_AveMovement(int address1D) {\\n return getDatau_AveMovement(float(address1D));\\n}\\nuniform float u_coulombDisScale;\\nuniform float u_factor;\\nuniform sampler2D u_NodeAttributeArray1;\\nuniform vec2 u_NodeAttributeArray1Size;\\nvec4 getDatau_NodeAttributeArray1(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributeArray1, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributeArray1(float address1D) {\\n return getDatau_NodeAttributeArray1(addrTranslation_1Dto2D(address1D, u_NodeAttributeArray1Size));\\n}\\nvec4 getDatau_NodeAttributeArray1(int address1D) {\\n return getDatau_NodeAttributeArray1(float(address1D));\\n}\\nuniform sampler2D u_NodeAttributeArray2;\\nuniform vec2 u_NodeAttributeArray2Size;\\nvec4 getDatau_NodeAttributeArray2(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributeArray2, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributeArray2(float address1D) {\\n return getDatau_NodeAttributeArray2(addrTranslation_1Dto2D(address1D, u_NodeAttributeArray2Size));\\n}\\nvec4 getDatau_NodeAttributeArray2(int address1D) {\\n return getDatau_NodeAttributeArray2(float(address1D));\\n}\\nuniform float u_interval;\\nivec2 unpack_float(float packedValue) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint packedIntValue = int(packedValue);\\nint v0 = packedIntValue / int(SHIFT_20);\\nreturn ivec2(v0, packedIntValue - (v0 * int(SHIFT_20)));}\\nvec2 calcRepulsive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = getDatau_Data(j);\\nfloat vx = currentNode.x - nextNode.x;\\nfloat vy = currentNode.y - nextNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat n_dist = (dist + 0.1) * u_coulombDisScale;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nvec4 attributesi = getDatau_NodeAttributeArray1(i);\\nvec4 attributesj = getDatau_NodeAttributeArray1(j);\\nfloat massi = attributesi.x;\\nfloat nodeStrengthi = attributesi.z;\\nfloat nodeStrengthj = attributesj.z;\\nfloat nodeStrength = (nodeStrengthi + nodeStrengthj) / 2.0;\\nfloat param = (nodeStrength * u_factor) / (n_dist * n_dist);\\nax += direx * param;\\nay += direy * param;}}\\nreturn vec2(ax, ay);}\\nvec2 calcGravity(int i, vec4 currentNode, vec4 attributes2) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat vx = currentNode.x - attributes2.x;\\nfloat vy = currentNode.y - attributes2.y;\\nfloat ax = vx * attributes2.z;\\nfloat ay = vy * attributes2.z;\\nreturn vec2(ax, ay);}\\nvec2 calcAttractive(int i, vec4 currentNode, vec4 attributes1) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat mass = attributes1.x;\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nivec2 compressed = unpack_float(currentNode.z);\\nint length = compressed.x;\\nint arr_offset = compressed.y;\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + (4 * p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = getDatau_Data(int(arr_idx / 4));}\\nfloat float_j = node_buffer.x;\\nvec4 nextNode = getDatau_Data(int(float_j));\\nfloat vx = nextNode.x - currentNode.x;\\nfloat vy = nextNode.y - currentNode.y;\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\nfloat direx = vx / dist;\\nfloat direy = vy / dist;\\nfloat edgeLength = node_buffer.y;\\nfloat edgeStrength = node_buffer.z;\\nfloat diff = edgeLength - dist;\\nfloat param = (diff * edgeStrength) / mass;\\nax -= direx * param;\\nay -= direy * param;}\\nreturn vec2(ax, ay);}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 currentNode = getDatau_Data(i);\\nvec4 movement = getDatau_AveMovement(0.0);\\nfloat ax = 0.0;\\nfloat ay = 0.0;\\nif ((i >= VERTEX_COUNT) || (movement.x < u_minMovement)) {gl_FragColor = vec4(currentNode);\\nreturn ;}\\nvec4 nodeAttributes1 = getDatau_NodeAttributeArray1(i);\\nvec4 nodeAttributes2 = getDatau_NodeAttributeArray2(i);\\nvec2 repulsive = calcRepulsive(i, currentNode);\\nax += repulsive.x;\\nay += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode, nodeAttributes1);\\nax += attractive.x;\\nay += attractive.y;\\nvec2 gravity = calcGravity(i, currentNode, nodeAttributes2);\\nax -= gravity.x;\\nay -= gravity.y;\\nfloat param = u_interval * u_damping;\\nfloat vx = ax * param;\\nfloat vy = ay * param;\\nfloat vlength = sqrt((vx * vx) + (vy * vy)) + 0.0001;\\nif (vlength > u_maxSpeed) {float param2 = u_maxSpeed / vlength;\\nvx = param2 * vx;\\nvy = param2 * vy;}\\nif ((nodeAttributes1.w != 0.0) && (nodeAttributes2.w != 0.0)) {gl_FragColor = vec4(vec4(nodeAttributes1.w, nodeAttributes2.w, currentNode.z, 0.0));}else {float distx = vx * u_interval;\\nfloat disty = vy * u_interval;\\nfloat distLength = sqrt((distx * distx) + (disty * disty));\\ngl_FragColor = vec4(vec4(currentNode.x + distx, currentNode.y + disty, currentNode.z, distLength));}if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"MAX_EDGE_PER_VERTEX","type":"Float","runtime":true},{"name":"VERTEX_COUNT","type":"Float","runtime":true},{"name":"SHIFT_20","type":"Float","value":1048576,"runtime":false}],"uniforms":[{"name":"u_Data","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]},{"name":"u_damping","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_maxSpeed","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_minMovement","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AveMovement","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_coulombDisScale","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_factor","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributeArray1","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributeArray2","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_interval","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_Data","size":[1,1],"length":1},"needPingpong":true}}',t.aveMovementCode="\nconst VERTEX_COUNT;\n@numthreads(1, 1, 1)\nclass CalcAveMovement {\n @in\n u_Data: vec4[];\n @in\n u_iter: float;\n @in @out\n u_AveMovement: vec4[];\n @main\n compute() {\n let movement = 0;\n for (let j: int = 0; j < VERTEX_COUNT; j++) {\n const vertex = this.u_Data[j];\n movement += vertex[3];\n }\n movement = movement / float(VERTEX_COUNT);\n this.u_AveMovement[0] = [movement, 0, 0, 0];\n }\n}\n",t.aveMovementBundle='{"shaders":{"WGSL":"","GLSL450":"","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_iter;\\nuniform sampler2D u_AveMovement;\\nuniform vec2 u_AveMovementSize;\\nvec4 getDatau_AveMovement(vec2 address2D) {\\n return vec4(texture2D(u_AveMovement, address2D).rgba);\\n}\\nvec4 getDatau_AveMovement(float address1D) {\\n return getDatau_AveMovement(addrTranslation_1Dto2D(address1D, u_AveMovementSize));\\n}\\nvec4 getDatau_AveMovement(int address1D) {\\n return getDatau_AveMovement(float(address1D));\\n}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat movement = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 vertex = getDatau_Data(j);\\nmovement += vertex.w;}\\nmovement = movement / float(VERTEX_COUNT);\\ngl_FragColor = vec4(vec4(movement, 0.0, 0.0, 0.0));if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"VERTEX_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_iter","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AveMovement","type":"vec4<f32>[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_AveMovement","size":[1,1],"length":1},"needPingpong":true}}'},50790:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),S=(Object.defineProperty(t,"__esModule",{value:!0}),t.GridLayout=void 0,n(58652)),n=(i=n(9284).Base,o(a,i),a.prototype.getDefaultCfg=function(){return{begin:[0,0],preventOverlap:!0,preventOverlapPadding:10,condense:!1,rows:void 0,cols:void 0,position:void 0,sortBy:"degree",nodeSize:30}},a.prototype.execute=function(){var r=this,e=r.nodes,t=r.edges,n=r.begin,i=e.length;if(0===i)return r.onLayoutEnd&&r.onLayoutEnd(),{nodes:e,edges:t};if(1===i)return e[0].x=n[0],e[0].y=n[1],r.onLayoutEnd&&r.onLayoutEnd(),{nodes:e,edges:t};var o,a,s,l=r.sortBy,n=r.width,u=r.height,c=r.condense,f=r.preventOverlapPadding,h=r.preventOverlap,d=r.nodeSpacing,p=r.nodeSize,y=[],m=(e.forEach(function(e){y.push(e)}),{}),e=(y.forEach(function(e,t){m[e.id]=t}),"degree"!==l&&(0,S.isString)(l)&&void 0!==y[0][l]||(l="degree",!(0,S.isNaN)(e[0].degree))||(o=(0,S.getDegree)(y.length,m,t),y.forEach(function(e,t){e.degree=o[t].all})),y.sort(function(e,t){return t[l]-e[l]}),n||"undefined"==typeof window||(n=window.innerWidth),u||"undefined"==typeof window||(u=window.innerHeight),r.rows),g=null!=r.cols?r.cols:r.columns;if(r.cells=i,null!=e&&null!=g?(r.rows=e,r.cols=g):null!=e&&null==g?(r.rows=e,r.cols=Math.ceil(r.cells/r.rows)):null==e&&null!=g?(r.cols=g,r.rows=Math.ceil(r.cells/r.cols)):(r.splits=Math.sqrt(r.cells*r.height/r.width),r.rows=Math.round(r.splits),r.cols=Math.round(r.width/r.height*r.splits)),r.rows=Math.max(r.rows,1),r.cols=Math.max(r.cols,1),r.cols*r.rows>r.cells)((b=r.small())-1)*(v=r.large())>=r.cells?r.small(b-1):(v-1)*b>=r.cells&&r.large(v-1);else for(;r.cols*r.rows<r.cells;){var v,b=r.small();((v=r.large())+1)*b>=r.cells?r.large(v+1):r.small(b+1)}r.cellWidth=n/r.cols,r.cellHeight=u/r.rows,c&&(r.cellWidth=0,r.cellHeight=0),(h||d)&&(a=(0,S.getFuncByUnknownType)(10,d),s=(0,S.getFuncByUnknownType)(30,p,!1),y.forEach(function(e){e.x&&e.y||(e.x=0,e.y=0);var t,n=s(e)||30,n=(0,S.isArray)(n)?(t=n[0],n[1]):t=n,e=void 0!==a?a(e):f,n=n+e;r.cellWidth=Math.max(r.cellWidth,t+e),r.cellHeight=Math.max(r.cellHeight,n)})),r.cellUsed={},r.row=0,r.col=0,r.id2manPos={};for(var _=0;_<y.length;_++){var x=y[_],w=void 0;if((w=r.position?r.position(x):w)&&(void 0!==w.row||void 0!==w.col)){var A={row:w.row,col:w.col};if(void 0===A.col)for(A.col=0;r.used(A.row,A.col);)A.col++;else if(void 0===A.row)for(A.row=0;r.used(A.row,A.col);)A.row++;r.id2manPos[x.id]=A,r.use(A.row,A.col)}r.getPos(x)}return r.onLayoutEnd&&r.onLayoutEnd(),{edges:t,nodes:y}},a.prototype.small=function(e){var t,n=this.rows||5,r=this.cols||5;return null==e?t=Math.min(n,r):Math.min(n,r)===this.rows?this.rows=e:this.cols=e,t},a.prototype.large=function(e){var t,n=this.rows||5,r=this.cols||5;return null==e?t=Math.max(n,r):Math.max(n,r)===this.rows?this.rows=e:this.cols=e,t},a.prototype.used=function(e,t){return this.cellUsed["c-".concat(e,"-").concat(t)]||!1},a.prototype.use=function(e,t){this.cellUsed["c-".concat(e,"-").concat(t)]=!0},a.prototype.moveToNextCell=function(){var e=this.cols||5;this.col++,this.col>=e&&(this.col=0,this.row++)},a.prototype.getPos=function(e){var t,n,r=this.begin,i=this.cellWidth,o=this.cellHeight,a=this.id2manPos[e.id];if(a)t=a.col*i+i/2+r[0],n=a.row*o+o/2+r[1];else{for(;this.used(this.row,this.col);)this.moveToNextCell();t=this.col*i+i/2+r[0],n=this.row*o+o/2+r[1],this.use(this.row,this.col),this.moveToNextCell()}e.x=t,e.y=n},a.prototype.getType=function(){return"grid"},a);function a(e){var t=i.call(this)||this;return t.begin=[0,0],t.preventOverlap=!0,t.preventOverlapPadding=10,t.condense=!1,t.sortBy="degree",t.nodes=[],t.edges=[],t.width=300,t.height=300,t.row=0,t.col=0,t.cellWidth=0,t.cellHeight=0,t.cellUsed={},t.id2manPos={},t.onLayoutEnd=function(){},t.updateCfg(e),t}t.GridLayout=n},71812:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&("get"in i?t.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.ERLayout=t.ForceAtlas2Layout=t.ComboCombinedLayout=t.ComboForceLayout=t.GForceGPULayout=t.FruchtermanGPULayout=t.FruchtermanLayout=t.MDSLayout=t.ConcentricLayout=t.RadialLayout=t.DagreCompoundLayout=t.DagreLayout=t.CircularLayout=t.ForceLayout=t.Force2Layout=t.GForceLayout=t.RandomLayout=t.GridLayout=t.Layouts=t.Layout=void 0,n(50790)),a=(Object.defineProperty(t,"GridLayout",{enumerable:!0,get:function(){return o.GridLayout}}),n(83846)),s=(Object.defineProperty(t,"RandomLayout",{enumerable:!0,get:function(){return a.RandomLayout}}),n(66007)),l=(Object.defineProperty(t,"GForceLayout",{enumerable:!0,get:function(){return s.GForceLayout}}),n(13490)),u=(Object.defineProperty(t,"Force2Layout",{enumerable:!0,get:function(){return l.Force2Layout}}),n(1878)),c=(Object.defineProperty(t,"ForceLayout",{enumerable:!0,get:function(){return u.ForceLayout}}),n(64933)),f=(Object.defineProperty(t,"CircularLayout",{enumerable:!0,get:function(){return c.CircularLayout}}),n(10813)),h=(Object.defineProperty(t,"DagreLayout",{enumerable:!0,get:function(){return f.DagreLayout}}),n(91083)),d=(Object.defineProperty(t,"DagreCompoundLayout",{enumerable:!0,get:function(){return h.DagreCompoundLayout}}),n(44318)),p=(Object.defineProperty(t,"RadialLayout",{enumerable:!0,get:function(){return d.RadialLayout}}),n(57940)),y=(Object.defineProperty(t,"ConcentricLayout",{enumerable:!0,get:function(){return p.ConcentricLayout}}),n(15031)),m=(Object.defineProperty(t,"MDSLayout",{enumerable:!0,get:function(){return y.MDSLayout}}),n(66865)),g=(Object.defineProperty(t,"FruchtermanLayout",{enumerable:!0,get:function(){return m.FruchtermanLayout}}),n(69720)),v=(Object.defineProperty(t,"FruchtermanGPULayout",{enumerable:!0,get:function(){return g.FruchtermanGPULayout}}),n(54790)),b=(Object.defineProperty(t,"GForceGPULayout",{enumerable:!0,get:function(){return v.GForceGPULayout}}),n(65428)),_=(Object.defineProperty(t,"ComboForceLayout",{enumerable:!0,get:function(){return b.ComboForceLayout}}),n(99266)),x=(Object.defineProperty(t,"ComboCombinedLayout",{enumerable:!0,get:function(){return _.ComboCombinedLayout}}),n(40432)),w=(Object.defineProperty(t,"ForceAtlas2Layout",{enumerable:!0,get:function(){return x.ForceAtlas2Layout}}),n(4957)),A=(Object.defineProperty(t,"ERLayout",{enumerable:!0,get:function(){return w.ERLayout}}),n(34199));Object.defineProperty(t,"Layout",{enumerable:!0,get:function(){return A.Layout}}),Object.defineProperty(t,"Layouts",{enumerable:!0,get:function(){return A.Layouts}}),i(n(88312),t)},34199:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layouts=t.Layout=void 0;var r=n(52235),i=n(50790),o=n(83846),a=n(13490),s=n(66007),l=n(1878),u=n(64933),c=n(10813),f=n(44318),h=n(57940),d=n(15031),p=n(66865),y=n(69720),m=n(54790),g=n(65428),v=n(99266),b=n(40432),_=n(4957),x=n(91083),w=n(58652);function A(e){var t=(0,r.getLayoutByName)(e.type);this.layoutInstance=new t(e)}A.prototype.layout=function(e){return this.layoutInstance.layout(e)},A.prototype.updateCfg=function(e){this.layoutInstance.updateCfg(e)},A.prototype.init=function(e){this.correctLayers(e.nodes),this.layoutInstance.init(e)},A.prototype.correctLayers=function(e){var t,n,r;null!=e&&e.length&&(t=1/0,n=[],e.forEach(function(e){(0,w.isString)(e.layer)&&(e.layer=parseInt(e.layer,10)),void 0===e.layer||isNaN(e.layer)||(n.push(e),e.layer<t&&(t=e.layer))}),t<=0)&&(r=Math.abs(t)+1,n.forEach(function(e){return e.layer+=r}))},A.prototype.execute=function(){this.layoutInstance.execute()},A.prototype.getDefaultCfg=function(){return this.layoutInstance.getDefaultCfg()},A.prototype.destroy=function(){return this.layoutInstance.destroy()},t.Layout=A,t.Layouts={force:l.ForceLayout,fruchterman:p.FruchtermanLayout,forceAtlas2:b.ForceAtlas2Layout,gForce:s.GForceLayout,force2:a.Force2Layout,dagre:c.DagreLayout,dagreCompound:x.DagreCompoundLayout,circular:u.CircularLayout,radial:f.RadialLayout,concentric:h.ConcentricLayout,grid:i.GridLayout,mds:d.MDSLayout,comboForce:g.ComboForceLayout,comboCombined:v.ComboCombinedLayout,random:o.RandomLayout,"gForce-gpu":m.GForceGPULayout,"fruchterman-gpu":y.FruchtermanGPULayout,er:_.ERLayout}},15031:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=(Object.defineProperty(t,"__esModule",{value:!0}),t.MDSLayout=void 0,n(92686)),s=n(58652),n=(i=n(9284).Base,o(l,i),l.prototype.getDefaultCfg=function(){return{center:[0,0],linkDistance:50}},l.prototype.execute=function(){var e,t,n=this.nodes,r=this.edges,r=void 0===r?[]:r,i=this.center;if(n&&0!==n.length)return 1===n.length?(n[0].x=i[0],n[0].y=i[1],void(this.onLayoutEnd&&this.onLayoutEnd())):(t=this.linkDistance,e=(0,s.getAdjMatrix)({nodes:n,edges:r},!1),e=(0,s.floydWarshall)(e),this.handleInfinity(e),e=(0,s.scaleMatrix)(e,t),this.scaledDistances=e,t=this.runMDS(),(this.positions=t).forEach(function(e,t){n[t].x=e[0]+i[0],n[t].y=e[1]+i[1]}),this.onLayoutEnd&&this.onLayoutEnd(),{nodes:n,edges:r});this.onLayoutEnd&&this.onLayoutEnd()},l.prototype.runMDS=function(){var e=this.scaledDistances,e=a.Matrix.mul(a.Matrix.pow(e,2),-.5),t=e.mean("row"),n=e.mean("column"),r=e.mean(),r=(e.add(r).subRowVector(t).subColumnVector(n),new a.SingularValueDecomposition(e)),i=a.Matrix.sqrt(r.diagonalMatrix).diagonal();return r.leftSingularVectors.toJSON().map(function(e){return a.Matrix.mul([e],[i]).toJSON()[0].splice(0,2)})},l.prototype.handleInfinity=function(r){var i=-999999;r.forEach(function(e){e.forEach(function(e){e!==1/0&&i<e&&(i=e)})}),r.forEach(function(e,n){e.forEach(function(e,t){e===1/0&&(r[n][t]=i)})})},l.prototype.getType=function(){return"mds"},l);function l(e){var t=i.call(this)||this;return t.center=[0,0],t.linkDistance=50,t.nodes=[],t.edges=[],t.onLayoutEnd=function(){},t.updateCfg(e),t}t.MDSLayout=n},44318:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&("get"in i?t.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(30910),t)},7655:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var d=n(92686);function r(e){this.distances=e.distances,this.dimension=e.dimension||2,this.linkDistance=e.linkDistance}r.prototype.layout=function(){var t=this.dimension,e=this.distances,n=this.linkDistance;try{var r=d.Matrix.mul(d.Matrix.pow(e,2),-.5),i=r.mean("row"),o=r.mean("column"),a=r.mean(),s=(r.add(a).subRowVector(i).subColumnVector(o),new d.SingularValueDecomposition(r)),l=d.Matrix.sqrt(s.diagonalMatrix).diagonal();return s.leftSingularVectors.toJSON().map(function(e){return d.Matrix.mul([e],[l]).toJSON()[0].splice(0,t)})}catch(t){for(var u=[],c=0;c<e.length;c++){var f=Math.random()*n,h=Math.random()*n;u.push([f,h])}return u}},t.default=r},30910:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},S=(Object.defineProperty(t,"__esModule",{value:!0}),t.RadialLayout=void 0,n(58652)),a=n(9284),C=o(n(7655)),O=o(n(20632));function p(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}s=a.Base,i(l,s),l.prototype.getDefaultCfg=function(){return{maxIteration:1e3,focusNode:null,unitRadius:null,linkDistance:50,preventOverlap:!1,nodeSize:void 0,nodeSpacing:void 0,strictRadial:!0,maxPreventOverlapIteration:200,sortBy:void 0,sortStrength:10}},l.prototype.execute=function(){var n=this,r=n.nodes,e=n.edges||[];if(r&&0!==r.length){n.width||"undefined"==typeof window||(n.width=window.innerWidth),n.height||"undefined"==typeof window||(n.height=window.innerHeight),n.center||(n.center=[n.width/2,n.height/2]);var i=n.center;if(1===r.length)return r[0].x=i[0],r[0].y=i[1],void(n.onLayoutEnd&&n.onLayoutEnd());var t=n.linkDistance,o=null;if((0,S.isString)(n.focusNode)){for(var a=!1,s=0;s<r.length;s++)r[s].id===n.focusNode&&(o=r[s],n.focusNode=o,a=!0,s=r.length);a||(o=null)}else o=n.focusNode;o||(o=r[0],n.focusNode=o);l=o.id,u=-1,r.forEach(function(e,t){e.id===l&&(u=t)});var l,u,c=u,f=(c<0&&(c=0),n.focusIndex=c,(0,S.getAdjMatrix)({nodes:r,edges:e},!1)),h=(0,S.floydWarshall)(f),d=n.maxToFocus(h,c),d=(n.handleInfinity(h,c,d+1),(n.distances=h)[c]),h=n.width||500,p=n.height||500,y=h-i[0]>i[0]?i[0]:h-i[0],m=p-i[1]>i[1]?i[1]:p-i[1],g=(y=0===y?h/2:y)<(m=0===m?p/2:m)?y:m,v=Math.max.apply(Math,d),b=[],y=(d.forEach(function(e,t){n.unitRadius||(n.unitRadius=g/v),b[t]=e*n.unitRadius}),n.radii=b,n.eIdealDisMatrix()),m=function(e){for(var t=e.length,n=e[0].length,r=[],i=0;i<t;i++){for(var o=[],a=0;a<n;a++)0!==e[i][a]?o.push(1/(e[i][a]*e[i][a])):o.push(0);r.push(o)}return r}(n.eIdealDistances=y),_=(n.weights=m,new C.default({linkDistance:t,distances:y}).layout());_.forEach(function(e){(0,S.isNaN)(e[0])&&(e[0]=Math.random()*t),(0,S.isNaN)(e[1])&&(e[1]=Math.random()*t)}),(n.positions=_).forEach(function(e,t){r[t].x=e[0]+i[0],r[t].y=e[1]+i[1]}),_.forEach(function(e){e[0]-=_[c][0],e[1]-=_[c][1]}),n.run();var x,w,d=n.preventOverlap,A=n.nodeSize,m=n.strictRadial;return d&&(x=n.nodeSpacing,w=(0,S.isNumber)(x)?function(){return x}:(0,S.isFunction)(x)?x:function(){return 0},y=A?(0,S.isArray)(A)?function(e){return(A[0]>A[1]?A[0]:A[1])+w(e)}:function(e){return A+w(e)}:function(e){return e.size?(0,S.isArray)(e.size)?(e.size[0]>e.size[1]?e.size[0]:e.size[1])+w(e):(0,S.isObject)(e.size)?(e.size.width>e.size.height?e.size.width:e.size.height)+w(e):e.size+w(e):10+w(e)},d={nodes:r,nodeSizeFunc:y,adjMatrix:f,positions:_,radii:b,height:p,width:h,strictRadial:m,focusID:c,iterations:n.maxPreventOverlapIteration||200,k:_.length/4.5},_=new O.default(d).layout()),_.forEach(function(e,t){r[t].x=e[0]+i[0],r[t].y=e[1]+i[1]}),n.onLayoutEnd&&n.onLayoutEnd(),{nodes:r,edges:e}}n.onLayoutEnd&&n.onLayoutEnd()},l.prototype.run=function(){for(var e=this.maxIteration,t=this.positions||[],n=this.weights||[],r=this.eIdealDistances||[],i=this.radii||[],o=0;o<=e;o++)this.oneIteration(o/e,t,i,r,n)},l.prototype.oneIteration=function(n,r,u,c,f){var h=1-n,d=this.focusIndex;r.forEach(function(i,o){var a,e,s,l,t=p(i,[0,0]),t=0===t?0:1/t;o!==d&&(s=a=l=0,r.forEach(function(e,t){var n,r;o!==t&&(n=p(i,e),r=c[t][o],s+=f[o][t],l+=f[o][t]*(e[0]+r*(i[0]-e[0])*(n=0===n?0:1/n)),a+=f[o][t]*(e[1]+r*(i[1]-e[1])*n))}),e=0===u[o]?0:1/u[o],s=s*h+n*e*e,l=(l*=h)+n*e*i[0]*t,i[0]=l/s,a=(a*=h)+n*e*i[1]*t,i[1]=a/s)})},l.prototype.eIdealDisMatrix=function(){var e,o,a,s,t,l=this,u=l.nodes;return u?(e=l.distances,o=l.linkDistance,a=l.radii||[],s=l.unitRadius||50,t=[],e&&e.forEach(function(e,r){var i=[];e.forEach(function(e,t){var n;r===t?i.push(0):a[r]===a[t]?"data"===l.sortBy?i.push(e*(Math.abs(r-t)*l.sortStrength)/(a[r]/s)):l.sortBy?(n=u[r][l.sortBy]||0,t=u[t][l.sortBy]||0,(0,S.isString)(n)&&(n=n.charCodeAt(0)),(0,S.isString)(t)&&(t=t.charCodeAt(0)),i.push(e*(Math.abs(n-t)*l.sortStrength)/(a[r]/s))):i.push(e*o/(a[r]/s)):i.push(e*((o+s)/2))}),t.push(i)}),t):[]},l.prototype.handleInfinity=function(e,t,n){for(var r,i=e.length,o=0;o<i;o++)if(e[t][o]===1/0){e[t][o]=n,e[o][t]=n;for(var a=0;a<i;a++)e[o][a]!==1/0&&e[t][a]===1/0&&(e[t][a]=n+e[o][a],e[a][t]=n+e[o][a])}for(o=0;o<i;o++)if(o!==t)for(a=0;a<i;a++)e[o][a]===1/0&&(r=Math.abs(e[t][o]-e[t][a]),e[o][a]=r=0===r?1:r)},l.prototype.maxToFocus=function(e,t){for(var n=0,r=0;r<e[t].length;r++)e[t][r]!==1/0&&(n=e[t][r]>n?e[t][r]:n);return n},l.prototype.getType=function(){return"radial"};var s,o=l;function l(e){var t=s.call(this)||this;return t.maxIteration=1e3,t.focusNode=null,t.unitRadius=null,t.linkDistance=50,t.preventOverlap=!1,t.strictRadial=!0,t.maxPreventOverlapIteration=200,t.sortStrength=10,t.nodes=[],t.edges=[],t.updateCfg(e),t}t.RadialLayout=o},20632:function(e,t){"use strict";function n(e){this.disp=[],this.positions=e.positions,this.adjMatrix=e.adjMatrix,this.focusID=e.focusID,this.radii=e.radii,this.iterations=e.iterations||10,this.height=e.height||10,this.width=e.width||10,this.speed=e.speed||100,this.gravity=e.gravity||10,this.nodeSizeFunc=e.nodeSizeFunc,this.k=e.k||5,this.strictRadial=e.strictRadial,this.nodes=e.nodes}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.layout=function(){var e=this.positions,n=[],t=this.iterations,r=this.width/10;this.maxDisplace=r,this.disp=n;for(var i=0;i<t;i++)e.forEach(function(e,t){n[t]={x:0,y:0}}),this.getRepulsion(),this.updatePositions();return e},n.prototype.getRepulsion=function(){var a=this,e=a.positions,s=a.nodes,l=a.disp,u=a.k,c=a.radii||[];e.forEach(function(i,o){l[o]={x:0,y:0},e.forEach(function(e,t){var n,r;o!==t&&c[o]===c[t]&&(r=i[0]-e[0],e=i[1]-e[1],0===(n=Math.sqrt(r*r+e*e))&&(n=1,e=r=.01*(t<o?1:-1)),n<a.nodeSizeFunc(s[o])/2+a.nodeSizeFunc(s[t])/2)&&(l[o].x+=r/n*(t=u*u/n),l[o].y+=e/n*t)})})},n.prototype.updatePositions=function(){var o=this.positions,a=this.disp,s=this.speed,l=this.strictRadial,u=this.focusID,c=this.maxDisplace||this.width/10,f=(l&&a.forEach(function(e,t){var n=o[t][0]-o[u][0],t=o[t][1]-o[u][1],r=Math.sqrt(n*n+t*t),t=t/r,n=-n/r,r=Math.sqrt(e.x*e.x+e.y*e.y),i=Math.acos((t*e.x+n*e.y)/r),i=(i>Math.PI/2&&(i-=Math.PI/2,t*=-1,n*=-1),Math.cos(i)*r);e.x=t*i,e.y=n*i}),this.radii);o.forEach(function(e,t){var n,r,i;t!==u&&0<(r=Math.sqrt(a[t].x*a[t].x+a[t].y*a[t].y))&&t!==u&&(i=Math.min(c*(s/800),r),e[0]+=a[t].x/r*i,e[1]+=a[t].y/r*i,l)&&(r=e[0]-o[u][0],i=e[1]-o[u][1],r=r/(n=Math.sqrt(r*r+i*i))*f[t],i=i/n*f[t],e[0]=o[u][0]+r,e[1]=o[u][1]+i)})},t.default=n},83846:function(e,t,n){"use strict";var r,i,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.RandomLayout=void 0,i=n(9284).Base,o(a,i),a.prototype.getDefaultCfg=function(){return{center:[0,0],width:300,height:300}},a.prototype.execute=function(){var t=this,e=t.nodes,n=t.center;return t.width||"undefined"==typeof window||(t.width=window.innerWidth),t.height||"undefined"==typeof window||(t.height=window.innerHeight),e&&e.forEach(function(e){e.x=.9*(Math.random()-.5)*t.width+n[0],e.y=.9*(Math.random()-.5)*t.height+n[1]}),t.onLayoutEnd&&t.onLayoutEnd(),{nodes:e,edges:this.edges}},a.prototype.getType=function(){return"random"},a);function a(e){var t=i.call(this)||this;return t.center=[0,0],t.width=300,t.height=300,t.nodes=[],t.edges=[],t.onLayoutEnd=function(){},t.updateCfg(e),t}t.RandomLayout=n},88312:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},52235:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(Object.defineProperty(t,"__esModule",{value:!0}),t.getLayoutByName=t.unRegisterLayout=t.registerLayout=void 0,n(9284)),l=n(58652),u=new Map;t.registerLayout=function(e,o){var a;function t(e){var t,n=t=a.call(this)||this,r={},i=Object.assign({},n.getDefaultCfg(),(null==(i=o.getDefaultCfg)?void 0:i.call(o))||{});return Object.assign(r,i,o,e),Object.keys(r).forEach(function(e){n[e]=r[e]}),t}return u.get(e)&&console.warn("The layout with the name ".concat(e," exists already, it will be overridden")),(0,l.isObject)(o)?(a=s.Base,i(t,a),u.set(e,t)):u.set(e,o),u.get(e)},t.unRegisterLayout=function(e){u.has(e)&&u.delete(e)},t.getLayoutByName=function(e){return u.has(e)?u.get(e):null}},5458:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0,t.isArray=Array.isArray},77102:function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getFuncByUnknownType=i.getFunc=i.isFunction=void 0;var o=t(58652),a=t(58325);i.isFunction=function(e){return"function"==typeof e},i.getFunc=function(e,t,n){return n||((0,a.isNumber)(e)?function(){return e}:function(){return t})},i.getFuncByUnknownType=function(t,n,r){return void 0===r&&(r=!0),n||0===n?(0,i.isFunction)(n)?n:(0,a.isNumber)(n)?function(){return n}:(0,o.isArray)(n)?function(){var e;return r?(e=Math.max.apply(Math,n),isNaN(e)?t:e):n}:(0,o.isObject)(n)?function(){var e;return r?(e=Math.max(n.width,n.height),isNaN(e)?t:e):[n.width,n.height]}:function(){return t}:function(e){return e.size?(0,o.isArray)(e.size)?e.size[0]>e.size[1]?e.size[0]:e.size[1]:(0,o.isObject)(e.size)?e.size.width>e.size.height?e.size.width:e.size.height:e.size:t}}},70446:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayToTextureData=t.attributesToTextureData=t.buildTextureDataWithTwoEdgeAttr=t.buildTextureData=t.proccessToFunc=void 0;var r=n(58652),g=n(23979);t.proccessToFunc=function(e,t){return e?(0,r.isNumber)(e)?function(){return e}:e:function(){return t||1}},t.buildTextureData=function(e,t){for(var n=[],r=[],i={},o=0,o=0;o<e.length;o++){var a=e[o];i[a.id]=o,n.push(a.x),n.push(a.y),n.push(0),n.push(0),r.push([])}for(o=0;o<t.length;o++){var s=t[o],l=(0,g.getEdgeTerminal)(s,"source"),s=(0,g.getEdgeTerminal)(s,"target");isNaN(i[l])||isNaN(i[s])||(r[i[l]].push(i[s]),r[i[s]].push(i[l]))}var u=0;for(o=0;o<e.length;o++){var c=r[o],f=c.length;n[4*o+2]=n.length,n[4*o+3]=f;for(var u=Math.max(u,f),h=0;h<f;++h){var d=c[h];n.push(+d)}}for(;n.length%4!=0;)n.push(0);return{maxEdgePerVetex:u,array:new Float32Array(n)}},t.buildTextureDataWithTwoEdgeAttr=function(e,t,n,r){for(var i=[],o=[],a={},s=0,s=0;s<e.length;s++){var l=e[s];a[l.id]=s,i.push(l.x),i.push(l.y),i.push(0),i.push(0),o.push([])}for(s=0;s<t.length;s++){var u=t[s],c=(0,g.getEdgeTerminal)(u,"source"),f=(0,g.getEdgeTerminal)(u,"target");o[a[c]].push(a[f]),o[a[c]].push(n(u)),o[a[c]].push(r(u)),o[a[c]].push(0),o[a[f]].push(a[c]),o[a[f]].push(n(u)),o[a[f]].push(r(u)),o[a[f]].push(0)}var h=0;for(s=0;s<e.length;s++){var d=o[s],p=d.length;i[4*s+2]=i.length+1048576*p/4,i[4*s+3]=0;for(var h=Math.max(h,p/4),y=0;y<p;++y){var m=d[y];i.push(+m)}}for(;i.length%4!=0;)i.push(0);return{maxEdgePerVetex:h,array:new Float32Array(i)}},t.attributesToTextureData=function(e,t){var r=[],i=e.length,o={};return t.forEach(function(n){e.forEach(function(e,t){if(void 0===o[n[e]]&&(o[n[e]]=Object.keys(o).length),r.push(o[n[e]]),t===i-1)for(;r.length%4!=0;)r.push(0)})}),{array:new Float32Array(r),count:Object.keys(o).length}},t.arrayToTextureData=function(e){for(var r=[],i=e.length,t=e[0].length,n=0;n<t;n++)!function(n){e.forEach(function(e,t){if(r.push(e[n]),t===i-1)for(;r.length%4!=0;)r.push(0)})}(n);return new Float32Array(r)}},58652:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&("get"in i?t.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(66515),t),i(n(5458),t),i(n(58325),t),i(n(23979),t),i(n(74584),t),i(n(77102),t)},23979:function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.getCoreNodeAndRelativeLeafNodes=o.getAvgNodePosition=o.getLayoutBBox=o.traverseTreeUp=o.scaleMatrix=o.getAdjMatrix=o.floydWarshall=o.getDegreeMap=o.getDegree=o.getEdgeTerminal=void 0;function d(e,t,n){return"source"===e?(null==(e=null==n?void 0:n.find(function(e){return e.target===t.id}))?void 0:e.source)||{}:(null==(e=null==n?void 0:n.find(function(e){return e.source===t.id}))?void 0:e.target)||{}}function p(e,t,n){var r=[];switch(e){case"source":r=null==n?void 0:n.filter(function(e){return e.source===t.id}).map(function(e){return e.target});break;case"target":r=null==n?void 0:n.filter(function(e){return e.target===t.id}).map(function(e){return e.source});break;case"both":r=null==n?void 0:n.filter(function(e){return e.source===t.id}).map(function(e){return e.target}).concat(null==n?void 0:n.filter(function(e){return e.target===t.id}).map(function(e){return e.source}))}return e=new Set(r),Array.from(e)}var u=t(5458),c=t(58325),n=t(74584);o.getEdgeTerminal=function(e,t){e=e[t];return(0,n.isObject)(e)?e.cell:e},o.getDegree=function(e,n,t){for(var r=[],i=0;i<e;i++)r[i]={in:0,out:0,all:0};return t&&t.forEach(function(e){var t=(0,o.getEdgeTerminal)(e,"source"),e=(0,o.getEdgeTerminal)(e,"target");t&&r[n[t]]&&(r[n[t]].out+=1,r[n[t]].all+=1),e&&r[n[e]]&&(r[n[e]].in+=1,r[n[e]].all+=1)}),r},o.getDegreeMap=function(e,t){var n={};return e.forEach(function(e){n[e.id]={in:0,out:0,all:0}}),t&&t.forEach(function(e){var t=(0,o.getEdgeTerminal)(e,"source"),e=(0,o.getEdgeTerminal)(e,"target");t&&(n[t].out+=1,n[t].all+=1),e&&(n[e].in+=1,n[e].all+=1)}),n},o.floydWarshall=function(e){for(var t=[],n=e.length,r=0;r<n;r+=1){t[r]=[];for(var i=0;i<n;i+=1)r===i?t[r][i]=0:0!==e[r][i]&&e[r][i]?t[r][i]=e[r][i]:t[r][i]=1/0}for(var o=0;o<n;o+=1)for(r=0;r<n;r+=1)for(i=0;i<n;i+=1)t[r][i]>t[r][o]+t[o][i]&&(t[r][i]=t[r][o]+t[o][i]);return t},o.getAdjMatrix=function(e,n){var t=e.nodes,e=e.edges,r=[],i={};if(t)return t&&t.forEach(function(e,t){i[e.id]=t,r.push([])}),null!=e&&e.forEach(function(e){var t=(0,o.getEdgeTerminal)(e,"source"),e=(0,o.getEdgeTerminal)(e,"target"),t=i[t],e=i[e];void 0!==t&&void 0!==e&&(r[t][e]=1,n||(r[e][t]=1))}),r;throw new Error("invalid nodes data!")},o.scaleMatrix=function(e,n){var r=[];return e.forEach(function(e){var t=[];e.forEach(function(e){t.push(e*n)}),r.push(t)}),r},o.traverseTreeUp=function(e,t){"function"==typeof t&&function e(t,n){if(t&&t.children)for(var r=t.children.length-1;0<=r;r--)if(!e(t.children[r],n))return;return n(t)}(e,t)},o.getLayoutBBox=function(e){var o=1/0,a=1/0,s=-1/0,l=-1/0;return e.forEach(function(e){var t=e.size,t=((0,u.isArray)(t)?1===t.length&&(t=[t[0],t[0]]):(0,c.isNumber)(t)?t=[t,t]:void 0!==t&&!isNaN(t)||(t=[30,30]),[t[0]/2,t[1]/2]),n=e.x-t[0],r=e.x+t[0],i=e.y-t[1],e=e.y+t[1];n<o&&(o=n),i<a&&(a=i),s<r&&(s=r),l<e&&(l=e)}),{minX:o,minY:a,maxX:s,maxY:l}},o.getAvgNodePosition=function(e){var t={x:0,y:0},e=(e.forEach(function(e){t.x+=e.x||0,t.y+=e.y||0}),e.length||1);return{x:t.x/e,y:t.y/e}};o.getCoreNodeAndRelativeLeafNodes=function(e,t,n,r,i,o){var a,s,l,u=i[t.id],c=u.in,u=u.out,f=t,h=[];return 0===c?(f=d("source",t,n),h=p("both",f,n).map(function(e){return o[e]})):0===u&&(f=d("target",t,n),h=p("both",f,n).map(function(e){return o[e]})),{coreNode:f,relativeLeafNodes:h=h.filter(function(e){return i[e.id]&&(0===i[e.id].in||0===i[e.id].out)}),sameTypeLeafNodes:(c=e,u=h,s=i,l=t[a=r]||"",u=(null==u?void 0:u.filter(function(e){return e[a]===l}))||[],u="leaf"===c?u.filter(function(e){var t;return 0===(null==(t=s[e.id])?void 0:t.in)||0===(null==(t=s[e.id])?void 0:t.out)}):u)}}},58325:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.toNumber=n.isNaN=n.isNumber=void 0,n.isNumber=function(e){return"number"==typeof e},n.isNaN=function(e){return Number.isNaN(Number(e))},n.toNumber=function(e){var t=parseFloat(e);return(0,n.isNaN)(t)?e:t}},74584:function(e,r){"use strict";function i(e){return(i="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})(e)}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0}),r.clone=r.isObject=void 0,r.isObject=function(e){return null!==e&&"object"===i(e)},r.clone=function(e){var t,n;return null===e?e:e instanceof Date?new Date(e.getTime()):e instanceof Array?(t=[],e.forEach(function(e){t.push(e)}),t.map(function(e){return(0,r.clone)(e)})):"object"===i(e)&&Object.keys(e).length?(n=o({},e),Object.keys(n).forEach(function(e){n[e]=(0,r.clone)(n[e])}),n):e}},66515:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelize=t.isString=void 0,t.isString=function(e){return"string"==typeof e};var n,r,i=/-(\w)/g;t.camelize=(n=function(e){return e.replace(i,function(e,t){return t?t.toUpperCase():""})},r=Object.create(null),function(e){return r[e]||(r[e]=n(e))})},62974:function(e,t){"use strict";function n(e){e=Math.round(e).toString(16);return 1===e.length?"0"+e:e}Object.defineProperty(t,"__esModule",{value:!0}),t.arr2rgb=t.toHex=void 0,t.toHex=n,t.arr2rgb=function(e){return"#"+n(e[0])+n(e[1])+n(e[2])}},88179:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gradient=void 0;var r=n(97549),a=n(62974),i=n(27915);function s(e,t,n,r){return e[r]+(t[r]-e[r])*n}t.gradient=function(e){var o=("string"==typeof e?e.split("-"):e).map(function(e){return(0,r.rgb2arr)(-1===e.indexOf("#")?(0,i.toRGB)(e):e)});return function(e){return t=o,e=e,e=isNaN(Number(e))||e<0?0:1<e?1:Number(e),n=t.length-1,r=Math.floor(n*e),e=n*e-r,i=t[r],n=r===n?i:t[r+1],(0,a.arr2rgb)([s(i,n,e,0),s(i,n,e,1),s(i,n,e,2)]);var t,n,r,i}}},36045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toCSSGradient=t.toRGB=t.gradient=t.rgb2arr=void 0;var r=n(97549),i=(Object.defineProperty(t,"rgb2arr",{enumerable:!0,get:function(){return r.rgb2arr}}),n(88179)),o=(Object.defineProperty(t,"gradient",{enumerable:!0,get:function(){return i.gradient}}),n(27915)),a=(Object.defineProperty(t,"toRGB",{enumerable:!0,get:function(){return o.toRGB}}),n(63398));Object.defineProperty(t,"toCSSGradient",{enumerable:!0,get:function(){return a.toCSSGradient}})},97549:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgb2arr=void 0,t.rgb2arr=function(e){return[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16)]}},63398:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toCSSGradient=void 0;var a=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,s=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,l=/[\d.]+:(#[^\s]+|[^)]+\))/gi;t.toCSSGradient=function(e){var t,n,r,i,o;return/^[r,R,L,l]{1}[\s]*\(/.test(e)?(n=void 0,"l"===e[0]?(t=+(i=a.exec(e))[1]+90,n=i[2],r="linear-gradient("+t+"deg, "):"r"===e[0]&&(r="radial-gradient(",n=(i=s.exec(e))[4]),(o=n.match(l)).forEach(function(e,t){e=e.split(":");r+=e[1]+" "+100*Number(e[0])+"%",t!==o.length-1&&(r+=", ")}),r+=")"):e}},27915:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toRGB=void 0;var r,i=n(62974),o=/rgba?\(([\s.,0-9]+)\)/;t.toRGB=function(e){var t;return"#"===e[0]&&7===e.length?e:(r||((t=document.createElement("i")).title="Web Colour Picker",t.style.display="none",document.body.appendChild(t),r=t),r.style.color=e,t=document.defaultView.getComputedStyle(r,"").getPropertyValue("color"),e=o.exec(t)[1].split(/\s*,\s*/).map(function(e){return Number(e)}),(0,i.arr2rgb)(e))}},24258:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582);(0,r.__exportStar)(n(36045),t),(0,r.__exportStar)(n(25494),t),(0,r.__exportStar)(n(28775),t),(0,r.__exportStar)(n(92446),t),(0,r.__exportStar)(n(17600),t)},97217:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),o=(0,r.__importDefault)(n(57022)),a=(0,r.__importDefault)(n(94827));t.default=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=1;r<e.length;r++){var i=e[r];(0,a.default)(i)&&(i=i.prototype),(0,o.default)(n.prototype,i)}}},29180:function(e,t){"use strict";function n(){this.map={}}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.has=function(e){return void 0!==this.map[e]},n.prototype.get=function(e,t){e=this.map[e];return void 0===e?t:e},n.prototype.set=function(e,t){this.map[e]=t},n.prototype.clear=function(){this.map={}},n.prototype.delete=function(e){delete this.map[e]},n.prototype.size=function(){return Object.keys(this.map).length},t.default=n},69186:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return e<t?t:n<e?n:e}},88017:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(e)}},61669:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var s=(0,n(97582).__importDefault)(n(42970));t.default=function e(t){if("object"!==a(t)||null===t)return t;if((0,s.default)(t))for(var n=[],r=0,i=t.length;r<i;r++)"object"===a(t[r])&&null!=t[r]?n[r]=e(t[r]):n[r]=t[r];else for(var o in n={},t)"object"===a(t[o])&&null!=t[o]?n[o]=e(t[o]):n[o]=t[o];return n}},78018:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(347));t.default=function(e,t){return!!(0,r.default)(e)&&-1<e.indexOf(t)}},26939:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r,i,o){var a;return function(){var e=this,t=arguments,n=o&&!a;clearTimeout(a),a=setTimeout(function(){a=null,o||r.apply(e,t)},i),n&&r.apply(e,t)}}},56403:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),s=(0,r.__importDefault)(n(42970)),l=(0,r.__importDefault)(n(33104));t.default=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r+=1)!function e(t,n,r,i){for(var o in r=r||0,i=i||5,n){var a;n.hasOwnProperty(o)&&(null!==(a=n[o])&&(0,l.default)(a)?((0,l.default)(t[o])||(t[o]={}),r<i?e(t[o],a,r+1,i):t[o]=n[o]):(0,s.default)(a)?(t[o]=[],t[o]=t[o].concat(a)):void 0!==a&&(t[o]=a))}}(e,t[r]);return e}},76705:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(18227)),o=(0,r.__importDefault)(n(78018));t.default=function(e,t){return void 0===t&&(t=[]),(0,i.default)(e,function(e){return!(0,o.default)(t,e)})}},74748:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),o=(0,r.__importDefault)(n(42970)),a=(0,r.__importDefault)(n(6422));t.default=function(e,t){if(e)if((0,o.default)(e))for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);else if((0,a.default)(e))for(var i in e)if(e.hasOwnProperty(i)&&!1===t(e[i],i))break}},76033:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(42970)),o=(0,r.__importDefault)(n(69565));t.default=function(e,t){return!(!(0,i.default)(e)&&!(0,o.default)(e))&&e[e.length-1]===t}},28390:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=0;n<e.length;n++)if(!t(e[n],n))return!1;return!0}},45:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),a=(0,r.__importDefault)(n(57022)),s=(0,r.__importDefault)(n(94827));t.default=function(e,t,n,r){(0,s.default)(t)||(n=t,t=e,e=function(){});var i=Object.create?function(e,t){return Object.create(e,{constructor:{value:t}})}:function(e,t){function n(){}n.prototype=e;e=new n;return e.constructor=t,e},o=i(t.prototype,e);return e.prototype=(0,a.default)(o,e.prototype),e.superclass=i(t.prototype,t),(0,a.default)(o,n),(0,a.default)(e,r),e}},18227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(0,n(97582).__importDefault)(n(347));t.default=function(e,t){if(!(0,o.default)(e))return e;for(var n=[],r=0;r<e.length;r++){var i=e[r];t(i,r)&&n.push(i)}return n}},62483:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r=n=void 0===n?0:n;r<e.length;r++)if(t(e[r],r))return r;return-1}},47540:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(94827)),o=(0,r.__importDefault)(n(22225)),a=(0,r.__importDefault)(n(42970)),s=(0,r.__importDefault)(n(33104));t.default=function(e,t){var n;if((0,a.default)(e)&&((0,i.default)(t)&&(n=t),n=(0,s.default)(t)?function(e){return(0,o.default)(e,t)}:n))for(var r=0;r<e.length;r+=1)if(n(e[r]))return e[r];return null}},96106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),o=(0,r.__importDefault)(n(81937)),a=(0,r.__importDefault)(n(42970));t.default=function(e,t){for(var n=null,r=0;r<e.length;r++){var i=e[r][t];if(!(0,o.default)(i)){n=(0,a.default)(i)?i[0]:i;break}}return n}},93348:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var t=t.toString(),n=t.indexOf(".");return-1===n?Math.round(e):(20<(t=t.substr(n+1).length)&&(t=20),parseFloat(e.toFixed(t)))}},92559:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(0,n(97582).__importDefault)(n(42970));t.default=function e(t,n){if(void 0===n&&(n=[]),(0,i.default)(t))for(var r=0;r<t.length;r+=1)e(t[r],n);else n.push(t);return n}},61037:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(42970));t.default=function(e){if(!(0,r.default)(e))return[];for(var t=[],n=0;n<e.length;n++)t=t.concat(e[n]);return t}},88177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=(0,n(97582).__importDefault)(n(74748));t.default=n.default},26533:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),o=(0,r.__importDefault)(n(42970)),a=(0,r.__importDefault)(n(15409)),s=(0,r.__importDefault)(n(48291));t.default=function(e){var t=e.filter(function(e){return!isNaN(e)});if(!t.length)return{min:0,max:0};if((0,o.default)(e[0])){for(var n=[],r=0;r<e.length;r++)n=n.concat(e[r]);t=n}var i=(0,a.default)(t);return{min:(0,s.default)(t),max:i}}},35025:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={}.toString;t.default=function(e){return n.call(e).replace(/^\[object /,"").replace(/]$/,"")}},71931:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e["_wrap_"+t]}},47324:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(0,n(97582).__importDefault)(n(69565));t.default=function(e,t,n){for(var r=0,i=(0,o.default)(t)?t.split("."):t;e&&r<i.length;)e=e[i[r++]];return void 0===e||r<i.length?n:e}},25979:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),s=(0,r.__importDefault)(n(42970)),l=(0,r.__importDefault)(n(94827)),u=Object.prototype.hasOwnProperty;t.default=function(e,t){if(!t||!(0,s.default)(e))return{};for(var n={},r=(0,l.default)(t)?t:function(e){return e[t]},i=0;i<e.length;i++){var o=e[i],a=r(o);u.call(n,a)?n[a].push(o):n[a]=[o]}return n}},69004:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),o=(0,r.__importDefault)(n(42970)),a=(0,r.__importDefault)(n(94827)),s=(0,r.__importDefault)(n(25979));t.default=function(e,t){var i;return t?((0,a.default)(t)||(i=(0,o.default)(t)?t:t.replace(/\s+/g,"").split("*"),t=function(e){for(var t="_",n=0,r=i.length;n<r;n++)t+=e[i[n]]&&e[i[n]].toString();return t}),(0,s.default)(e,t)):{0:e}}},20138:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(0,n(97582).__importDefault)(n(69004));t.default=function(e,t){if(!t)return[e];var n,r=(0,o.default)(e,t),i=[];for(n in r)i.push(r[n]);return i}},73759:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=(0,n(97582).__importDefault)(n(48554));t.default=n.default},13982:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(78018)),o=(0,r.__importDefault)(n(6357));t.default=function(e,t){return(0,i.default)((0,o.default)(e),t)}},48554:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.hasOwnProperty(t)}},60349:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(347));t.default=function(e){if((0,r.default)(e))return e[0]}},76888:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},55487:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(0,n(97582).__importDefault)(n(347));t.default=function(e,t){if(!(0,o.default)(e))return-1;var n=Array.prototype.indexOf;if(n)return n.call(e,t);for(var r=-1,i=0;i<e.length;i++)if(e[i]===t){r=i;break}return r}},92446:function(B,e,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},r=(Object.defineProperty(e,"__esModule",{value:!0}),e.has=e.forIn=e.toRadian=e.toInteger=e.toDegree=e.mod=e.minBy=e.min=e.maxBy=e.max=e.isPositive=e.isOdd=e.isNumberEqual=e.isNegative=e.isInteger=e.isEven=e.isDecimal=e.fixedBase=e.clamp=e.parseRadius=e.number2color=e.wrapBehavior=e.getWrapBehavior=e.groupToMap=e.groupBy=e.group=e.some=e.every=e.filter=e.endsWith=e.startsWith=e.last=e.head=e.valuesOfKey=e.uniq=e.union=e.sortBy=e.remove=e.reduce=e.pullAt=e.pull=e.getRange=e.flattenDeep=e.flatten=e.firstValue=e.findIndex=e.find=e.difference=e.includes=e.contains=void 0,e.set=e.get=e.assign=e.mix=e.mapValues=e.map=e.isEqualWith=e.isEqual=e.isEmpty=e.indexOf=e.extend=e.each=e.deepMix=e.memoize=e.debounce=e.clone=e.augment=e.clearAnimationFrame=e.requestAnimationFrame=e.isElement=e.isUndefined=e.isType=e.isString=e.isRegExp=e.isPrototype=e.isPlainObject=e.isObjectLike=e.isObject=e.isNumber=e.isNull=e.isNil=e.isFinite=e.isFunction=e.isError=e.isDate=e.isBoolean=e.isArrayLike=e.isArray=e.isArguments=e.getType=e.upperFirst=e.upperCase=e.substitute=e.lowerFirst=e.lowerCase=e.values=e.isMatch=e.keys=e.hasValue=e.hasKey=void 0,e.Cache=e.size=e.identity=e.noop=e.uniqueId=e.toString=e.toArray=e.throttle=e.omit=e.pick=void 0,t(78018)),i=(Object.defineProperty(e,"contains",{enumerable:!0,get:function(){return n(r).default}}),Object.defineProperty(e,"includes",{enumerable:!0,get:function(){return n(r).default}}),t(76705)),o=(Object.defineProperty(e,"difference",{enumerable:!0,get:function(){return n(i).default}}),t(47540)),a=(Object.defineProperty(e,"find",{enumerable:!0,get:function(){return n(o).default}}),t(62483)),s=(Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return n(a).default}}),t(96106)),l=(Object.defineProperty(e,"firstValue",{enumerable:!0,get:function(){return n(s).default}}),t(61037)),u=(Object.defineProperty(e,"flatten",{enumerable:!0,get:function(){return n(l).default}}),t(92559)),c=(Object.defineProperty(e,"flattenDeep",{enumerable:!0,get:function(){return n(u).default}}),t(26533)),f=(Object.defineProperty(e,"getRange",{enumerable:!0,get:function(){return n(c).default}}),t(35277)),h=(Object.defineProperty(e,"pull",{enumerable:!0,get:function(){return n(f).default}}),t(69226)),d=(Object.defineProperty(e,"pullAt",{enumerable:!0,get:function(){return n(h).default}}),t(98833)),p=(Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return n(d).default}}),t(64111)),y=(Object.defineProperty(e,"remove",{enumerable:!0,get:function(){return n(p).default}}),t(10528)),m=(Object.defineProperty(e,"sortBy",{enumerable:!0,get:function(){return n(y).default}}),t(84306)),g=(Object.defineProperty(e,"union",{enumerable:!0,get:function(){return n(m).default}}),t(55103)),v=(Object.defineProperty(e,"uniq",{enumerable:!0,get:function(){return n(g).default}}),t(84455)),b=(Object.defineProperty(e,"valuesOfKey",{enumerable:!0,get:function(){return n(v).default}}),t(60349)),_=(Object.defineProperty(e,"head",{enumerable:!0,get:function(){return n(b).default}}),t(44553)),x=(Object.defineProperty(e,"last",{enumerable:!0,get:function(){return n(_).default}}),t(58336)),w=(Object.defineProperty(e,"startsWith",{enumerable:!0,get:function(){return n(x).default}}),t(76033)),A=(Object.defineProperty(e,"endsWith",{enumerable:!0,get:function(){return n(w).default}}),t(18227)),S=(Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return n(A).default}}),t(28390)),C=(Object.defineProperty(e,"every",{enumerable:!0,get:function(){return n(S).default}}),t(50657)),O=(Object.defineProperty(e,"some",{enumerable:!0,get:function(){return n(C).default}}),t(20138)),E=(Object.defineProperty(e,"group",{enumerable:!0,get:function(){return n(O).default}}),t(25979)),M=(Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return n(E).default}}),t(69004)),P=(Object.defineProperty(e,"groupToMap",{enumerable:!0,get:function(){return n(M).default}}),t(71931)),k=(Object.defineProperty(e,"getWrapBehavior",{enumerable:!0,get:function(){return n(P).default}}),t(76532)),T=(Object.defineProperty(e,"wrapBehavior",{enumerable:!0,get:function(){return n(k).default}}),t(63389)),I=(Object.defineProperty(e,"number2color",{enumerable:!0,get:function(){return n(T).default}}),t(88397)),L=(Object.defineProperty(e,"parseRadius",{enumerable:!0,get:function(){return n(I).default}}),t(69186)),j=(Object.defineProperty(e,"clamp",{enumerable:!0,get:function(){return n(L).default}}),t(93348)),R=(Object.defineProperty(e,"fixedBase",{enumerable:!0,get:function(){return n(j).default}}),t(32325)),N=(Object.defineProperty(e,"isDecimal",{enumerable:!0,get:function(){return n(R).default}}),t(6289)),z=(Object.defineProperty(e,"isEven",{enumerable:!0,get:function(){return n(N).default}}),t(56671)),F=(Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return n(z).default}}),t(5377)),V=(Object.defineProperty(e,"isNegative",{enumerable:!0,get:function(){return n(F).default}}),t(34426)),H=(Object.defineProperty(e,"isNumberEqual",{enumerable:!0,get:function(){return n(V).default}}),t(16941)),Y=(Object.defineProperty(e,"isOdd",{enumerable:!0,get:function(){return n(H).default}}),t(37192)),G=(Object.defineProperty(e,"isPositive",{enumerable:!0,get:function(){return n(Y).default}}),t(15409)),U=(Object.defineProperty(e,"max",{enumerable:!0,get:function(){return n(G).default}}),t(85118)),Q=(Object.defineProperty(e,"maxBy",{enumerable:!0,get:function(){return n(U).default}}),t(48291)),W=(Object.defineProperty(e,"min",{enumerable:!0,get:function(){return n(Q).default}}),t(68187)),q=(Object.defineProperty(e,"minBy",{enumerable:!0,get:function(){return n(W).default}}),t(38841)),K=(Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return n(q).default}}),t(41092)),X=(Object.defineProperty(e,"toDegree",{enumerable:!0,get:function(){return n(K).default}}),t(61988)),J=(Object.defineProperty(e,"toInteger",{enumerable:!0,get:function(){return n(X).default}}),t(63645)),$=(Object.defineProperty(e,"toRadian",{enumerable:!0,get:function(){return n(J).default}}),t(88177)),Z=(Object.defineProperty(e,"forIn",{enumerable:!0,get:function(){return n($).default}}),t(48554)),ee=(Object.defineProperty(e,"has",{enumerable:!0,get:function(){return n(Z).default}}),t(73759)),te=(Object.defineProperty(e,"hasKey",{enumerable:!0,get:function(){return n(ee).default}}),t(13982)),ne=(Object.defineProperty(e,"hasValue",{enumerable:!0,get:function(){return n(te).default}}),t(31421)),re=(Object.defineProperty(e,"keys",{enumerable:!0,get:function(){return n(ne).default}}),t(22225)),ie=(Object.defineProperty(e,"isMatch",{enumerable:!0,get:function(){return n(re).default}}),t(6357)),oe=(Object.defineProperty(e,"values",{enumerable:!0,get:function(){return n(ie).default}}),t(36579)),ae=(Object.defineProperty(e,"lowerCase",{enumerable:!0,get:function(){return n(oe).default}}),t(27030)),se=(Object.defineProperty(e,"lowerFirst",{enumerable:!0,get:function(){return n(ae).default}}),t(71633)),le=(Object.defineProperty(e,"substitute",{enumerable:!0,get:function(){return n(se).default}}),t(16707)),ue=(Object.defineProperty(e,"upperCase",{enumerable:!0,get:function(){return n(le).default}}),t(82479)),ce=(Object.defineProperty(e,"upperFirst",{enumerable:!0,get:function(){return n(ue).default}}),t(35025)),fe=(Object.defineProperty(e,"getType",{enumerable:!0,get:function(){return n(ce).default}}),t(77636)),he=(Object.defineProperty(e,"isArguments",{enumerable:!0,get:function(){return n(fe).default}}),t(42970)),de=(Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return n(he).default}}),t(347)),pe=(Object.defineProperty(e,"isArrayLike",{enumerable:!0,get:function(){return n(de).default}}),t(26302)),ye=(Object.defineProperty(e,"isBoolean",{enumerable:!0,get:function(){return n(pe).default}}),t(90718)),me=(Object.defineProperty(e,"isDate",{enumerable:!0,get:function(){return n(ye).default}}),t(9619)),ge=(Object.defineProperty(e,"isError",{enumerable:!0,get:function(){return n(me).default}}),t(94827)),ve=(Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return n(ge).default}}),t(778)),be=(Object.defineProperty(e,"isFinite",{enumerable:!0,get:function(){return n(ve).default}}),t(81937)),_e=(Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return n(be).default}}),t(17129)),xe=(Object.defineProperty(e,"isNull",{enumerable:!0,get:function(){return n(_e).default}}),t(76985)),we=(Object.defineProperty(e,"isNumber",{enumerable:!0,get:function(){return n(xe).default}}),t(6422)),Ae=(Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return n(we).default}}),t(50190)),Se=(Object.defineProperty(e,"isObjectLike",{enumerable:!0,get:function(){return n(Ae).default}}),t(33104)),Ce=(Object.defineProperty(e,"isPlainObject",{enumerable:!0,get:function(){return n(Se).default}}),t(51451)),Oe=(Object.defineProperty(e,"isPrototype",{enumerable:!0,get:function(){return n(Ce).default}}),t(64977)),Ee=(Object.defineProperty(e,"isRegExp",{enumerable:!0,get:function(){return n(Oe).default}}),t(69565)),Me=(Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return n(Ee).default}}),t(79201)),Pe=(Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return n(Me).default}}),t(64987)),ke=(Object.defineProperty(e,"isUndefined",{enumerable:!0,get:function(){return n(Pe).default}}),t(51184)),Te=(Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return n(ke).default}}),t(68015)),Ie=(Object.defineProperty(e,"requestAnimationFrame",{enumerable:!0,get:function(){return n(Te).default}}),t(88017)),Le=(Object.defineProperty(e,"clearAnimationFrame",{enumerable:!0,get:function(){return n(Ie).default}}),t(97217)),je=(Object.defineProperty(e,"augment",{enumerable:!0,get:function(){return n(Le).default}}),t(61669)),De=(Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return n(je).default}}),t(26939)),Be=(Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return n(De).default}}),t(91569)),Re=(Object.defineProperty(e,"memoize",{enumerable:!0,get:function(){return n(Be).default}}),t(56403)),Ne=(Object.defineProperty(e,"deepMix",{enumerable:!0,get:function(){return n(Re).default}}),t(74748)),ze=(Object.defineProperty(e,"each",{enumerable:!0,get:function(){return n(Ne).default}}),t(45)),Fe=(Object.defineProperty(e,"extend",{enumerable:!0,get:function(){return n(ze).default}}),t(55487)),Ve=(Object.defineProperty(e,"indexOf",{enumerable:!0,get:function(){return n(Fe).default}}),t(46573)),He=(Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return n(Ve).default}}),t(37987)),Ye=(Object.defineProperty(e,"isEqual",{enumerable:!0,get:function(){return n(He).default}}),t(93299)),Ge=(Object.defineProperty(e,"isEqualWith",{enumerable:!0,get:function(){return n(Ye).default}}),t(12030)),Ue=(Object.defineProperty(e,"map",{enumerable:!0,get:function(){return n(Ge).default}}),t(40169)),D=(Object.defineProperty(e,"mapValues",{enumerable:!0,get:function(){return n(Ue).default}}),t(57022)),Qe=(Object.defineProperty(e,"mix",{enumerable:!0,get:function(){return n(D).default}}),Object.defineProperty(e,"assign",{enumerable:!0,get:function(){return n(D).default}}),t(47324)),We=(Object.defineProperty(e,"get",{enumerable:!0,get:function(){return n(Qe).default}}),t(20897)),qe=(Object.defineProperty(e,"set",{enumerable:!0,get:function(){return n(We).default}}),t(59730)),Ke=(Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return n(qe).default}}),t(82945)),Xe=(Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return n(Ke).default}}),t(29637)),Je=(Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return n(Xe).default}}),t(46780)),$e=(Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return n(Je).default}}),t(57230)),Ze=(Object.defineProperty(e,"toString",{enumerable:!0,get:function(){return n($e).default}}),t(34128)),et=(Object.defineProperty(e,"uniqueId",{enumerable:!0,get:function(){return n(Ze).default}}),t(64802)),tt=(Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return n(et).default}}),t(76888)),nt=(Object.defineProperty(e,"identity",{enumerable:!0,get:function(){return n(tt).default}}),t(93580)),rt=(Object.defineProperty(e,"size",{enumerable:!0,get:function(){return n(nt).default}}),t(29180));Object.defineProperty(e,"Cache",{enumerable:!0,get:function(){return n(rt).default}})},77636:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(79201));t.default=function(e){return(0,r.default)(e,"Arguments")}},347:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e&&"function"!=typeof e&&isFinite(e.length)}},42970:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(79201));t.default=function(e){return Array.isArray?Array.isArray(e):(0,r.default)(e,"Array")}},26302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(79201));t.default=function(e){return(0,r.default)(e,"Boolean")}},90718:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(79201));t.default=function(e){return(0,r.default)(e,"Date")}},32325:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(76985));t.default=function(e){return(0,r.default)(e)&&e%1!=0}},51184:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Element||e instanceof HTMLDocument}},46573:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(81937)),o=(0,r.__importDefault)(n(347)),a=(0,r.__importDefault)(n(35025)),s=(0,r.__importDefault)(n(51451)),l=Object.prototype.hasOwnProperty;t.default=function(e){if(!(0,i.default)(e)){if((0,o.default)(e))return!e.length;var t,n=(0,a.default)(e);if("Map"===n||"Set"===n)return!e.size;if((0,s.default)(e))return!Object.keys(e).length;for(t in e)if(l.call(e,t))return!1}return!0}},93299:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(94827)),o=(0,r.__importDefault)(n(37987));t.default=function(e,t,n){return(0,i.default)(n)?!!n(e,t):(0,o.default)(e,t)}},37987:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),s=(0,r.__importDefault)(n(50190)),l=(0,r.__importDefault)(n(347)),u=(0,r.__importDefault)(n(69565));t.default=function e(t,n){if(t===n)return!0;if(t&&n&&!(0,u.default)(t)&&!(0,u.default)(n)){if((0,l.default)(t)||(0,l.default)(n)){if(t.length!==n.length)return!1;for(var r=!0,i=0;i<t.length&&(r=e(t[i],n[i]));i++);return r}if((0,s.default)(t)||(0,s.default)(n)){var o=Object.keys(t),a=Object.keys(n);if(o.length!==a.length)return!1;for(r=!0,i=0;i<o.length&&(r=e(t[o[i]],n[o[i]]));i++);return r}}return!1}},9619:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(79201));t.default=function(e){return(0,r.default)(e,"Error")}},6289:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(76985));t.default=function(e){return(0,r.default)(e)&&e%2==0}},778:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(76985));t.default=function(e){return(0,r.default)(e)&&isFinite(e)}},94827:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"function"==typeof e}},56671:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(76985)),n=Number.isInteger||function(e){return(0,r.default)(e)&&e%1==0};t.default=n},22225:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),a=(0,r.__importDefault)(n(81937)),s=(0,r.__importDefault)(n(31421));t.default=function(e,t){var n=(0,s.default)(t),r=n.length;if((0,a.default)(e))return!r;for(var i=0;i<r;i+=1){var o=n[i];if(t[o]!==e[o]||!(o in e))return!1}return!0}},5377:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(76985));t.default=function(e){return(0,r.default)(e)&&e<0}},81937:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null==e}},17129:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e}},34426:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)<n}},76985:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(79201));t.default=function(e){return(0,r.default)(e,"Number")}},50190:function(e,t){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"===n(e)&&null!==e}},6422:function(e,t){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=n(e);return null!==e&&"object"===t||"function"===t}},16941:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(76985));t.default=function(e){return(0,r.default)(e)&&e%2!=0}},33104:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(50190)),o=(0,r.__importDefault)(n(79201));t.default=function(e){if(!(0,i.default)(e)||!(0,o.default)(e,"Object"))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},37192:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(76985));t.default=function(e){return(0,r.default)(e)&&0<e}},51451:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.prototype;t.default=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},64977:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(79201));t.default=function(e){return(0,r.default)(e,"RegExp")}},69565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(79201));t.default=function(e){return(0,r.default)(e,"String")}},79201:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={}.toString;t.default=function(e,t){return n.call(e)==="[object "+t+"]"}},64987:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return void 0===e}},31421:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(74748)),o=(0,r.__importDefault)(n(94827)),r=Object.keys?function(e){return Object.keys(e)}:function(n){var r=[];return(0,i.default)(n,function(e,t){(0,o.default)(n)&&"prototype"===t||r.push(t)}),r};t.default=r},44553:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(347));t.default=function(e){if((0,r.default)(e))return e[e.length-1]}},36579:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(57230));t.default=function(e){return(0,r.default)(e).toLowerCase()}},27030:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(57230));t.default=function(e){e=(0,r.default)(e);return e.charAt(0).toLowerCase()+e.substring(1)}},40169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function i(e){return e}var r=n(97582),o=(0,r.__importDefault)(n(81937)),a=(0,r.__importDefault)(n(6422));t.default=function(t,n){void 0===n&&(n=i);var r={};return(0,a.default)(t)&&!(0,o.default)(t)&&Object.keys(t).forEach(function(e){r[e]=n(t[e],e)}),r}},12030:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(0,n(97582).__importDefault)(n(347));t.default=function(e,t){if(!(0,o.default)(e))return e;for(var n=[],r=0;r<e.length;r++){var i=e[r];n.push(t(i,r))}return n}},85118:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),s=(0,r.__importDefault)(n(42970)),l=(0,r.__importDefault)(n(94827));t.default=function(e,t){if((0,s.default)(e)){for(var n,r=-1/0,i=0;i<e.length;i++){var o=e[i],a=(0,l.default)(t)?t(o):o[t];r<a&&(n=o,r=a)}return n}}},15409:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(42970));t.default=function(e){if((0,r.default)(e))return e.reduce(function(e,t){return Math.max(e,t)},e[0])}},91569:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(94827));t.default=function(a,s){var e;if((0,r.default)(a))return(e=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r,i=s?s.apply(this,t):t[0],o=e.cache;return o.has(i)?o.get(i):(r=a.apply(this,t),o.set(i,r),r)}).cache=new Map,e;throw new TypeError("Expected a function")}},68187:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),s=(0,r.__importDefault)(n(42970)),l=(0,r.__importDefault)(n(94827));t.default=function(e,t){if((0,s.default)(e)){for(var n,r=1/0,i=0;i<e.length;i++){var o=e[i],a=(0,l.default)(t)?t(o):o[t];a<r&&(n=o,r=a)}return n}}},48291:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(42970));t.default=function(e){if((0,r.default)(e))return e.reduce(function(e,t){return Math.min(e,t)},e[0])}},57022:function(e,t){"use strict";function i(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){return t&&i(e,t),n&&i(e,n),r&&i(e,r),e}},38841:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e%t+t)%t}},64802:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},63389:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={};t.default=function(e){var t=i[e];if(!t){for(var n=e.toString(16),r=n.length;r<6;r++)n="0"+n;i[e]=t="#"+n}return t}},82945:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(0,n(97582).__importDefault)(n(98833));t.default=function(e,r){return(0,i.default)(e,function(e,t,n){return r.includes(n)||(e[n]=t),e},{})}},88397:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(0,n(97582).__importDefault)(n(42970));t.default=function(e){var t=0,n=0,r=0,i=0;return(0,o.default)(e)?1===e.length?t=n=r=i=e[0]:2===e.length?(t=r=e[0],n=i=e[1]):3===e.length?(t=e[0],n=i=e[1],r=e[2]):(t=e[0],n=e[1],r=e[2],i=e[3]):t=n=r=i=e,{r1:t,r2:n,r3:r,r4:i}}},59730:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(74748)),o=(0,r.__importDefault)(n(33104)),a=Object.prototype.hasOwnProperty;t.default=function(t,e){var n;return null!==t&&(0,o.default)(t)?(n={},(0,i.default)(e,function(e){a.call(t,e)&&(n[e]=t[e])}),n):{}}},69226:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(0,n(97582).__importDefault)(n(347)),a=Array.prototype.splice;t.default=function(e,t){if(!(0,o.default)(e))return[];for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];n!==r&&void 0===i||a.call(e,i,1)}return e}},35277:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Array.prototype,a=n.splice,s=n.indexOf;t.default=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)for(var i,o=t[r];-1<(i=s.call(e,o));)a.call(e,i,1);return e}},98833:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(74748)),o=(0,r.__importDefault)(n(42970)),a=(0,r.__importDefault)(n(33104));t.default=function(e,n,t){var r;return(0,o.default)(e)||(0,a.default)(e)?(r=t,(0,i.default)(e,function(e,t){r=n(r,e,t)}),r):e}},64111:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),s=(0,r.__importDefault)(n(347)),l=(0,r.__importDefault)(n(69226));t.default=function(e,t){var n=[];if((0,s.default)(e)){for(var r=-1,i=[],o=e.length;++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}(0,l.default)(e,i)}return n}},68015:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16)})(e)}},20897:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),o=(0,r.__importDefault)(n(6422)),a=(0,r.__importDefault)(n(69565)),s=(0,r.__importDefault)(n(76985));t.default=function(e,t,n){var r=e,i=(0,a.default)(t)?t.split("."):t;return i.forEach(function(e,t){t<i.length-1?((0,o.default)(r[e])||(r[e]=(0,s.default)(i[t+1])?[]:{}),r=r[e]):r[e]=n}),e}},93580:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(81937)),o=(0,r.__importDefault)(n(347));t.default=function(e){return(0,i.default)(e)?0:((0,o.default)(e)?e:Object.keys(e)).length}},50657:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n))return!0;return!1}},10528:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),o=(0,r.__importDefault)(n(42970)),a=(0,r.__importDefault)(n(69565)),s=(0,r.__importDefault)(n(94827));t.default=function(e,n){var i,t=(0,s.default)(n)?function(e,t){return n(e)-n(t)}:(i=[],(0,a.default)(n)?i.push(n):(0,o.default)(n)&&(i=n),function(e,t){for(var n=0;n<i.length;n+=1){var r=i[n];if(e[r]>t[r])return 1;if(e[r]<t[r])return-1}return 0});return e.sort(t),e}},58336:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(42970)),o=(0,r.__importDefault)(n(69565));t.default=function(e,t){return!(!(0,i.default)(e)&&!(0,o.default)(e))&&e[0]===t}},71633:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,n){return e&&n?e.replace(/\\?\{([^{}]+)\}/g,function(e,t){return"\\"===e.charAt(0)?e.slice(1):void 0===n[t]?"":n[t]}):e}},29637:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n,r,i){function o(){c=!1===i.leading?0:Date.now(),a=null,u=n.apply(s,l),a||(s=l=null)}function e(){var e=Date.now(),t=(c||!1!==i.leading||(c=e),r-(e-c));return s=this,l=arguments,t<=0||r<t?(a&&(clearTimeout(a),a=null),c=e,u=n.apply(s,l),a||(s=l=null)):a||!1===i.trailing||(a=setTimeout(o,t)),u}var a,s,l,u,c=0;i=i||{};return e.cancel=function(){clearTimeout(a),c=0,a=s=l=null},e}},46780:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(347));t.default=function(e){return(0,r.default)(e)?Array.prototype.slice.call(e):[]}},41092:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=180/Math.PI;t.default=function(e){return n*e}},61988:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=parseInt},63645:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Math.PI/180;t.default=function(e){return n*e}},57230:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(81937));t.default=function(e){return(0,r.default)(e)?"":e.toString()}},84306:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(55103));t.default=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,r.default)([].concat.apply([],e))}},55103:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t=new Map);var n=[];if(Array.isArray(e))for(var r=0,i=e.length;r<i;r++){var o=e[r];t.has(o)||(n.push(o),t.set(o,!0))}return n}},34128:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={};t.default=function(e){return n[e=e||"g"]?n[e]+=1:n[e]=1,e+n[e]}},16707:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(57230));t.default=function(e){return(0,r.default)(e).toUpperCase()}},82479:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(97582).__importDefault)(n(57230));t.default=function(e){e=(0,r.default)(e);return e.charAt(0).toUpperCase()+e.substring(1)}},84455:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),l=(0,r.__importDefault)(n(42970)),u=(0,r.__importDefault)(n(81937));t.default=function(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i][t];if(!(0,u.default)(o)){(0,l.default)(o)||(o=[o]);for(var a=0;a<o.length;a++){var s=o[a];r[s]||(n.push(s),r[s]=!0)}}}return n}},6357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=(0,r.__importDefault)(n(74748)),o=(0,r.__importDefault)(n(94827)),r=Object.values?function(e){return Object.values(e)}:function(n){var r=[];return(0,i.default)(n,function(e,t){(0,o.default)(n)&&"prototype"===t||r.push(e)}),r};t.default=r},76532:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t,n){return t["_wrap_"+n]||(t["_wrap_"+n]=function(e){t[n](e)})}},17600:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPolygonsIntersect=t.isPointInPolygon=void 0;var r=n(49442),i=(Object.defineProperty(t,"isPointInPolygon",{enumerable:!0,get:function(){return r.isPointInPolygon}}),n(55542));Object.defineProperty(t,"isPolygonsIntersect",{enumerable:!0,get:function(){return i.isPolygonsIntersect}})},49442:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPointInPolygon=void 0;function f(e){return Math.abs(e)<1e-6?0:e<0?-1:1}t.isPointInPolygon=function(e,t,n){var r=!1,i=e.length;if(i<=2)return!1;for(var o,a,s,l=0;l<i;l++){var u=e[l],c=e[(l+1)%i];if(a=c,((s=[t,n])[0]-(o=u)[0])*(a[1]-o[1])==(a[0]-o[0])*(s[1]-o[1])&&Math.min(o[0],a[0])<=s[0]&&s[0]<=Math.max(o[0],a[0])&&Math.min(o[1],a[1])<=s[1]&&s[1]<=Math.max(o[1],a[1]))return!0;0<f(u[1]-n)!=0<f(c[1]-n)&&f(t-(n-u[1])*(u[0]-c[0])/(u[1]-c[1])-u[0])<0&&(r=!r)}return r}},55542:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPolygonsIntersect=void 0;function f(e,t,n){return t<=e&&e<=n}var s=n(49442);function l(e){for(var t,n,r=[],i=e.length,o=0;o<i-1;o++){var a=e[o],s=e[o+1];r.push({from:{x:a[0],y:a[1]},to:{x:s[0],y:s[1]}})}return 1<r.length&&(t=e[0],n=e[i-1],r.push({from:{x:n[0],y:n[1]},to:{x:t[0],y:t[1]}})),r}function u(e,u){var c=!1;return e.forEach(function(e){if(t=e.from,e=e.to,n=u.from,r=u.to,i=n.x-t.x,o=n.y-t.y,a=e.x-t.x,e=e.y-t.y,s=r.x-n.x,r=r.y-n.y,l=null,l=.001*(a*a+e*e)*(s*s+r*r)<(n=a*r-e*s)*n&&f(r=(i*r-o*s)/n,0,1)&&f((i*e-o*a)/n,0,1)?{x:t.x+r*a,y:t.y+r*e}:l)return!(c=!0);var t,n,r,i,o,a,s,l}),c}function c(e){var t=e.map(function(e){return e[0]}),e=e.map(function(e){return e[1]});return{minX:Math.min.apply(null,t),maxX:Math.max.apply(null,t),minY:Math.min.apply(null,e),maxY:Math.max.apply(null,e)}}t.isPolygonsIntersect=function(t,n){var e,r,i,o,a;return!(t.length<2||n.length<2||(e=c(t),(r=c(n)).minX>e.maxX)||r.maxX<e.minX||r.minY>e.maxY||r.maxY<e.minY)&&(i=!1,n.forEach(function(e){if((0,s.isPointInPolygon)(t,e[0],e[1]))return!(i=!0)}),!!i||(t.forEach(function(e){if((0,s.isPointInPolygon)(n,e[0],e[1]))return!(i=!0)}),!!i)||(o=l(t),a=!1,l(n).forEach(function(e){if(u(o,e))return!(a=!0)}),a))}},25494:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vertical=t.angleTo=t.direction=t.transform=void 0;var p=n(27018);function i(e,t){return e[0]*t[1]-t[0]*e[1]}t.transform=function(e,t){for(var n,r,i,o,a,s,l,u,c=e?[].concat(e):[1,0,0,0,1,0,0,0,1],f=0,h=t.length;f<h;f++){var d=t[f];switch(d[0]){case"t":u=s=c,a=[d[1],d[2]],p.mat3.fromTranslation(l=[0,0,0,0,0,0,0,0,0],a),p.mat3.multiply(s,l,u);break;case"s":s=a=c,l=[d[1],d[2]],u=[0,0,0,0,0,0,0,0,0],p.mat3.fromScaling(u,l),p.mat3.multiply(a,u,s);break;case"r":r=n=c,i=d[1],o=[0,0,0,0,0,0,0,0,0],p.mat3.fromRotation(o,i),p.mat3.multiply(n,o,r);break;case"m":i=d[1],p.mat3.multiply(c,i,c)}}return c},t.direction=i,t.angleTo=function(e,t,n){var r=p.vec2.angle(e,t),e=0<=i(e,t);return n?e?2*Math.PI-r:r:e?r:2*Math.PI-r},t.vertical=function(e,t,n){return n?(e[0]=t[1],e[1]=-1*t[0]):(e[0]=-1*t[1],e[1]=t[0]),e}},67169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.path2Absolute=void 0;var r=n(68248),i=n(77507),o=n(15582);t.path2Absolute=function(e){var a,s,l,u;return(0,i.isAbsoluteArray)(e)?(0,r.clonePath)(e):(u=l=s=a=0,o.parsePathString)(e).map(function(e){var t=e.slice(1).map(Number),e=e[0],n=e.toUpperCase();if("M"===e)return a=t[0],s=t[1],["M",l=a,u=s];if(e!==n)switch(n){case"A":i=[n,t[0],t[1],t[2],t[3],t[4],t[5]+a,t[6]+s];break;case"V":i=[n,t[0]+s];break;case"H":i=[n,t[0]+a];break;default:var r=t.map(function(e,t){return e+(t%2?s:a)}),i=[n].concat(r)}else i=[n].concat(t);var o=i.length;switch(n){case"Z":a=l,s=u;break;case"H":a=i[1];break;case"V":s=i[1];break;default:a=i[o-2],s=i[o-1],"M"===n&&(l=a,u=s)}return i})}},45708:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.path2Curve=void 0;var h=n(97582),d=n(52338),p=n(68248),y=n(37724),m=n(93249),g=n(25036),v=n(2407);t.path2Curve=function(e,t){var n;if(void 0===t&&(t=!1),(0,g.isCurveArray)(e))return n=(0,p.clonePath)(e),t?[n,[]]:n;for(var r,i=(0,m.normalizePath)(e),o=(0,h.__assign)({},d.paramsParser),a=[],s="",l=i.length,u=[],c=0;c<l;c+=1){i[c]&&(s=i[c][0]),a[c]=s;var f=(0,v.segmentToCubic)(i[c],o);i[c]=f,(0,y.fixArc)(i,a,c),l=i.length,"Z"===s&&u.push(c),r=(f=i[c]).length,o.x1=+f[r-2],o.y1=+f[r-1],o.x2=+f[r-4]||o.x1,o.y2=+f[r-3]||o.y1}return t?[i,u]:i}},59138:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.path2String=void 0;var r=n(19492);t.path2String=function(e,t){return(0,r.roundPath)(e,t=void 0===t?"off":t).map(function(e){return e[0]+e.slice(1).join(" ")}).join("")}},28775:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equalizeSegments=t.distanceSquareRoot=t.isPointInStroke=t.getPointAtLength=t.getDrawDirection=t.getPathArea=t.getRotatedCurve=t.getPathBBoxTotalLength=t.getTotalLength=t.getPathBBox=t.arcToCubic=t.reverseCurve=t.normalizePath=t.clonePath=t.path2Absolute=t.path2Curve=t.path2String=void 0;var r=n(97582),i=n(59138),o=(Object.defineProperty(t,"path2String",{enumerable:!0,get:function(){return i.path2String}}),n(45708)),a=(Object.defineProperty(t,"path2Curve",{enumerable:!0,get:function(){return o.path2Curve}}),n(67169)),s=(Object.defineProperty(t,"path2Absolute",{enumerable:!0,get:function(){return a.path2Absolute}}),n(68248)),l=(Object.defineProperty(t,"clonePath",{enumerable:!0,get:function(){return s.clonePath}}),n(93249)),u=(Object.defineProperty(t,"normalizePath",{enumerable:!0,get:function(){return l.normalizePath}}),n(28453)),c=(Object.defineProperty(t,"reverseCurve",{enumerable:!0,get:function(){return u.reverseCurve}}),n(94122)),f=(Object.defineProperty(t,"arcToCubic",{enumerable:!0,get:function(){return c.arcToCubic}}),n(28447)),h=(Object.defineProperty(t,"getPathBBox",{enumerable:!0,get:function(){return f.getPathBBox}}),n(34329)),d=(Object.defineProperty(t,"getTotalLength",{enumerable:!0,get:function(){return h.getTotalLength}}),n(59141)),p=(Object.defineProperty(t,"getPathBBoxTotalLength",{enumerable:!0,get:function(){return d.getPathBBoxTotalLength}}),n(10009)),y=(Object.defineProperty(t,"getRotatedCurve",{enumerable:!0,get:function(){return p.getRotatedCurve}}),n(86114)),m=(Object.defineProperty(t,"getPathArea",{enumerable:!0,get:function(){return y.getPathArea}}),n(97242)),g=(Object.defineProperty(t,"getDrawDirection",{enumerable:!0,get:function(){return m.getDrawDirection}}),n(81830)),v=(Object.defineProperty(t,"getPointAtLength",{enumerable:!0,get:function(){return g.getPointAtLength}}),n(59104)),b=(Object.defineProperty(t,"isPointInStroke",{enumerable:!0,get:function(){return v.isPointInStroke}}),n(94725)),_=(Object.defineProperty(t,"distanceSquareRoot",{enumerable:!0,get:function(){return b.distanceSquareRoot}}),n(67803));Object.defineProperty(t,"equalizeSegments",{enumerable:!0,get:function(){return _.equalizeSegments}}),(0,r.__exportStar)(n(39921),t)},97052:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.finalizeSegment=void 0;var i=n(76899);t.finalizeSegment=function(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=i.paramsCount[n]&&("m"===n&&2<r.length?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,i.paramsCount[n]))),i.paramsCount[n]););}},3766:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArcCommand=void 0,t.isArcCommand=function(e){return 97==(32|e)}},54211:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDigit=t.isDigitStart=void 0,t.isDigitStart=function(e){return 48<=e&&e<=57||43===e||45===e||46===e},t.isDigit=function(e){return 48<=e&&e<=57}},72737:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPathCommand=void 0,t.isPathCommand=function(e){switch(32|e){case 109:case 122:case 108:case 104:case 118:case 99:case 115:case 113:case 116:case 97:return!0;default:return!1}}},39372:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSpace=void 0,t.isSpace=function(e){return 10===e||13===e||8232===e||8233===e||32===e||9===e||11===e||12===e||160===e||5760<=e&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(e)}},76899:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paramsCount=void 0,t.paramsCount={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},52338:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paramsParser=void 0,t.paramsParser={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},15582:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePathString=void 0;var r=n(68248),i=n(47710),o=n(89273),a=n(9363),s=n(7400);t.parsePathString=function(e){if((0,i.isPathArray)(e))return(0,r.clonePath)(e);var t=new s.PathParser(e);for((0,a.skipSpaces)(t);t.index<t.max&&!t.err.length;)(0,o.scanSegment)(t);return t.err||t.segments}},7400:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PathParser=void 0,t.PathParser=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""}},95338:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanFlag=void 0,t.scanFlag=function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);return 48===r?(e.param=0,void(e.index+=1)):49===r?(e.param=1,void(e.index+=1)):void(e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t)}},22357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanParam=void 0;var c=n(54211);t.scanParam=function(e){var t,n,r=e.max,i=e.pathValue,o=e.index,a=o,s=!1,l=!1,u=!1;if(r<=a)e.err="[path-util]: Invalid path value at index "+a+', "pathValue" is missing param';else if(43!==(t=i.charCodeAt(a))&&45!==t||(t=i.charCodeAt(a+=1)),(0,c.isDigit)(t)||46===t){if(46!==t){if(n=48===t,t=i.charCodeAt(a+=1),n&&a<r&&t&&(0,c.isDigit)(t))return void(e.err="[path-util]: Invalid path value at index "+o+', "'+i[o]+'" illegal number');for(;a<r&&(0,c.isDigit)(i.charCodeAt(a));)a+=1,s=!0;t=i.charCodeAt(a)}if(46===t){for(u=!0,a+=1;(0,c.isDigit)(i.charCodeAt(a));)a+=1,l=!0;t=i.charCodeAt(a)}if(101===t||69===t){if(u&&!s&&!l)return void(e.err="[path-util]: Invalid path value at index "+a+', "'+i[a]+'" invalid float exponent');if(43!==(t=i.charCodeAt(a+=1))&&45!==t||(a+=1),!(a<r&&(0,c.isDigit)(i.charCodeAt(a))))return void(e.err="[path-util]: Invalid path value at index "+a+', "'+i[a]+'" invalid integer exponent');for(;a<r&&(0,c.isDigit)(i.charCodeAt(a));)a+=1}e.index=a,e.param=+e.pathValue.slice(o,a)}else e.err="[path-util]: Invalid path value at index "+a+', "'+i[a]+'" is not a number'}},89273:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanSegment=void 0;var s=n(97052),l=n(76899),u=n(95338),c=n(22357),f=n(9363),h=n(72737),d=n(54211),p=n(3766);t.scanSegment=function(e){var t=e.max,n=e.pathValue,r=e.index,i=n.charCodeAt(r),o=l.paramsCount[n[r].toLowerCase()];if(e.segmentStart=r,(0,h.isPathCommand)(i)){if(e.index+=1,(0,f.skipSpaces)(e),e.data=[],o)for(;;){for(var a=o;0<a;--a){if((!(0,p.isArcCommand)(i)||3!==a&&4!==a?(0,c.scanParam):(0,u.scanFlag))(e),e.err.length)return;e.data.push(e.param),(0,f.skipSpaces)(e),e.index<t&&44===n.charCodeAt(e.index)&&(e.index+=1,(0,f.skipSpaces)(e))}if(e.index>=e.max)break;if(!(0,d.isDigitStart)(n.charCodeAt(e.index)))break}(0,s.finalizeSegment)(e)}else e.err='[path-util]: Invalid path value "'+n[r]+'" is not a path command'}},9363:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipSpaces=void 0;var r=n(39372);t.skipSpaces=function(e){for(var t=e.pathValue,n=e.max;e.index<n&&(0,r.isSpace)(t.charCodeAt(e.index));)e.index+=1}},94122:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arcToCubic=void 0;var C=n(75474);t.arcToCubic=function e(t,n,r,i,o,a,s,l,u,c){var f=120*Math.PI/180,h=Math.PI/180*(+o||0),d=[],p=(c?(_=c[0],x=c[1],v=c[2],b=c[3]):(t=(m=(0,C.rotateVector)(t,n,-h)).x,n=m.y,1<(p=(y=(t-(l=(m=(0,C.rotateVector)(l,u,-h)).x))/2)*y/(r*r)+(m=(n-(u=m.y))/2)*m/(i*i))&&(r*=p=Math.sqrt(p),i*=p),p=r*r,g=i*i,v=(a=(a===s?-1:1)*Math.sqrt(Math.abs((p*g-p*m*m-g*y*y)/(p*m*m+g*y*y))))*r*m/i+(t+l)/2,b=a*-i*y/r+(n+u)/2,_=Math.asin(((n-b)/i*Math.pow(10,9)>>0)/Math.pow(10,9)),x=Math.asin(((u-b)/i*Math.pow(10,9)>>0)/Math.pow(10,9)),_=t<v?Math.PI-_:_,x=l<v?Math.PI-x:x,_<0&&(_=2*Math.PI+_),x<0&&(x=2*Math.PI+x),s&&x<_&&(_-=2*Math.PI),!s&&_<x&&(x-=2*Math.PI)),x-_),y=(Math.abs(p)>f&&(g=x,m=l,a=u,x=_+f*(s&&_<x?1:-1),d=e(l=v+r*Math.cos(x),u=b+i*Math.sin(x),r,i,o,0,s,m,a,[x,g,v,b])),p=x-_,Math.cos(_)),f=Math.sin(_),o=Math.cos(x),s=Math.sin(x),m=Math.tan(p/4),a=4/3*r*m,g=4/3*i*m,v=[t,n],b=[t+a*f,n-g*y],_=[l+a*s,u-g*o],x=[l,u];if(b[0]=2*v[0]-b[0],b[1]=2*v[1]-b[1],c)return b.concat(_,x,d);for(var w=[],A=0,S=(d=b.concat(_,x,d)).length;A<S;A+=1)w[A]=A%2?(0,C.rotateVector)(d[A-1],d[A],h).y:(0,C.rotateVector)(d[A],d[A+1],h).x;return w}},68248:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clonePath=void 0,t.clonePath=function(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}},37724:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fixArc=void 0,t.fixArc=function(e,t,n){if(7<e[n].length){e[n].shift();for(var r=e[n],i=n;r.length;)t[n]="A",e.splice(i+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}},69813:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineToCubic=void 0;var l=n(26864),u=n(47321);t.lineToCubic=function(e,t,n,r){var e=[e,t],t=[n,r],i=(0,u.midPoint)(e,t,.5),t=(0,u.midPoint)(t,i,.5),o=(0,u.midPoint)(i,t,.5),a=(0,u.midPoint)(t,o,.5),s=(0,u.midPoint)(o,a,.5),e=(0,l.segmentLineFactory)(e[0],e[1],i[0],i[1],o[0]).point,i=(0,l.segmentLineFactory)(s[0],s[1],a[0],a[1],t[0]).point;return[e.x,e.y,i.x,i.y,n,r]}},93249:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePath=void 0;var a=n(97582),s=n(3501),l=n(52338),u=n(67169),c=n(68248),f=n(87473);t.normalizePath=function(e){if((0,s.isNormalizedArray)(e))return(0,c.clonePath)(e);for(var t=(0,u.path2Absolute)(e),n=(0,a.__assign)({},l.paramsParser),r=0;r<t.length;r+=1){t[r]=(0,f.normalizeSegment)(t[r],n);var i=t[r],o=i.length;n.x1=+i[o-2],n.y1=+i[o-1],n.x2=+i[o-4]||n.x1,n.y2=+i[o-3]||n.y1}return t}},87473:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeSegment=void 0,t.normalizeSegment=function(e,t){var n=e[0],r=t.x1,i=t.y1,o=t.x2,a=t.y2,s=e.slice(1).map(Number),l=e;return"TQ".includes(n)||(t.qx=null,t.qy=null),"H"===n?l=["L",e[1],i]:"V"===n?l=["L",r,e[1]]:"S"===n?(e=2*i-a,l=["C",t.x1=2*r-o,t.y1=e].concat(s)):"T"===n?(a=2*r-t.qx,o=2*i-t.qy,l=["Q",t.qx=a,t.qy=o].concat(s)):"Q"===n&&(e=s[0],r=s[1],t.qx=e,t.qy=r),l}},83017:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.quadToCubic=void 0,t.quadToCubic=function(e,t,n,r,i,o){return[1/3*e+2/3*n,1/3*t+2/3*r,1/3*i+2/3*n,1/3*o+2/3*r,i,o]}},28453:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reverseCurve=void 0,t.reverseCurve=function(r){var e=r.slice(1).map(function(e,t,n){return(t?n[t-1].slice(-2):r[0].slice(1)).concat(e.slice(1))}).map(function(n){return n.map(function(e,t){return n[n.length-t-2*(1-t%2)]})}).reverse();return[["M"].concat(e[0].slice(0,2))].concat(e.map(function(e){return["C"].concat(e.slice(2))}))}},19492:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.roundPath=void 0;var i=n(68248);t.roundPath=function(e,n){var r;return"off"===n?(0,i.clonePath)(e):(r="number"==typeof n&&1<=n?Math.pow(10,n):1,e.map(function(e){var t=e.slice(1).map(Number).map(function(e){return n?Math.round(e*r)/r:Math.round(e)});return[e[0]].concat(t)}))}},2407:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.segmentToCubic=void 0;var f=n(94122),h=n(83017),d=n(69813);t.segmentToCubic=function(e,t){var n,r=e[0],i=e.slice(1).map(Number),o=i[0],a=i[1],s=t.x1,l=t.y1,u=t.x,c=t.y;switch("TQ".includes(r)||(t.qx=null,t.qy=null),r){case"M":return t.x=o,t.y=a,e;case"A":return n=[s,l].concat(i),["C"].concat((0,f.arcToCubic)(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9]));case"Q":return t.qx=o,t.qy=a,n=[s,l].concat(i),["C"].concat((0,h.quadToCubic)(n[0],n[1],n[2],n[3],n[4],n[5]));case"L":return["C"].concat((0,d.lineToCubic)(s,l,o,a));case"Z":return s===u&&l===c?["C",s,l,u,c,u,c]:["C"].concat((0,d.lineToCubic)(s,l,u,c))}return e}},39921:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},94725:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distanceSquareRoot=void 0,t.distanceSquareRoot=function(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}},67803:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equalizeSegments=void 0;var l=n(47321),u=n(41159);function h(e){return e.map(function(e,t,n){var r,i,o,a,n=t&&n[t-1].slice(-2).concat(e.slice(1)),s=t?(0,u.segmentCubicFactory)(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],{bbox:!1}).length:0;return{s:e,ss:t?s?(void 0===r&&(r=.5),n=(t=n).slice(0,2),i=t.slice(2,4),o=t.slice(4,6),t=t.slice(6,8),n=(0,l.midPoint)(n,i,r),i=(0,l.midPoint)(i,o,r),o=(0,l.midPoint)(o,t,r),a=(0,l.midPoint)(n,i,r),i=(0,l.midPoint)(i,o,r),r=(0,l.midPoint)(a,i,r),[["C"].concat(n,a,r),["C"].concat(i,o,t)]):[e,e]:[e],l:s}})}t.equalizeSegments=function e(t,n,r){var i,t=h(t),n=h(n),o=t.length,a=n.length,s=t.filter(function(e){return e.l}).length,l=n.filter(function(e){return e.l}).length,s=t.filter(function(e){return e.l}).reduce(function(e,t){return e+t.l},0)/s||0,l=n.filter(function(e){return e.l}).reduce(function(e,t){return e+t.l},0)/l||0,u=r||Math.max(o,a),c=[s,l],f=[u-o,u-a],r=[t,n].map(function(e,n){return e.l===u?e.map(function(e){return e.s}):e.map(function(e,t){return i=t&&f[n]&&e.l>=c[n],f[n]-=i?1:0,i?e.ss:[e.s]}).flat()});return r[0].length===r[1].length?r:e(r[0],r[1],u)}},97242:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDrawDirection=void 0;var r=n(86114);t.getDrawDirection=function(e){return 0<=(0,r.getPathArea)(e)}},86114:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPathArea=void 0;var r=n(45708);t.getPathArea=function(e){var s,l=0,u=0;return(0,r.path2Curve)(e).map(function(e){var t,n,r,i,o,a;return"M"===e[0]?(l=e[1],u=e[2],0):(a=e.slice(1),t=a[0],n=a[1],r=a[2],i=a[3],o=a[4],a=a[5],s=3*((a-u)*(t+r)-(o-l)*(n+i)+n*(l-r)-t*(u-i)+a*(r+l/3)-o*(i+u/3))/20,n=e.slice(-2),l=n[0],u=n[1],s)}).reduce(function(e,t){return e+t},0)}},59141:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPathBBoxTotalLength=void 0;var a=n(97582),s=n(12983);t.getPathBBoxTotalLength=function(e,t){var n,r,i,o;return e?(t=(e=(0,s.pathLengthFactory)(e,void 0,(0,a.__assign)((0,a.__assign)({},t),{bbox:!0,length:!0}))).length,n=(r=e.min).x,r=r.y,{length:t,width:i=(e=(t=e.max).x)-n,height:o=(t=t.y)-r,x:n,y:r,x2:e,y2:t,cx:n+i/2,cy:r+o/2,cz:Math.max(i,o)+Math.min(i,o)/2}):{length:0,x:0,y:0,width:0,height:0,x2:0,y2:0,cx:0,cy:0,cz:0}}},28447:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPathBBox=void 0;var a=n(97582),s=n(12983);t.getPathBBox=function(e,t){var n,r,i,o;return e?(n=(t=(e=(0,s.pathLengthFactory)(e,void 0,(0,a.__assign)((0,a.__assign)({},t),{length:!1}))).min).x,t=t.y,{width:i=(r=(e=e.max).x)-n,height:o=(e=e.y)-t,x:n,y:t,x2:r,y2:e,cx:n+i/2,cy:t+o/2,cz:Math.max(i,o)+Math.min(i,o)/2}):{x:0,y:0,width:0,height:0,x2:0,y2:0,cx:0,cy:0,cz:0}}},81830:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPointAtLength=void 0;var r=n(97582),i=n(12983);t.getPointAtLength=function(e,t,n){return(0,i.pathLengthFactory)(e,t,(0,r.__assign)((0,r.__assign)({},n),{bbox:!1,length:!0})).point}},52481:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPropertiesAtLength=void 0;var c=n(15582),f=n(34329);t.getPropertiesAtLength=function(e,t){e=(0,c.parsePathString)(e);if("string"==typeof e)throw TypeError(e);var n=e.slice(),r=(0,f.getTotalLength)(n),i=n.length-1,o=0,a=0,s=e[0],l=s.slice(-2),l={x:l[0],y:l[1]};if(i<=0||!t||!Number.isFinite(t))return{segment:s,index:0,length:a,point:l,lengthAtSegment:o};if(r<=t)return n=e.slice(0,-1),a=r-(o=(0,f.getTotalLength)(n)),{segment:e[i],index:i,length:a,lengthAtSegment:o};for(var u=[];0<i;)s=n[i],n=n.slice(0,-1),a=r-(o=(0,f.getTotalLength)(n)),r=o,u.push({segment:s,index:i,length:a,lengthAtSegment:o}),--i;return u.find(function(e){return e.lengthAtSegment<=t})}},64546:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPropertiesAtPoint=void 0;var v=n(15582),b=n(93249),_=n(81830),x=n(52481),w=n(34329);t.getPropertiesAtPoint=function(e,n){for(var t,r,i,o,a,e=(0,v.parsePathString)(e),s=(0,b.normalizePath)(e),l=(0,w.getTotalLength)(e),u=function(e){var t=e.x-n.x,e=e.y-n.y;return t*t+e*e},c=8,f=0,h=1/0,d=0;d<=l;d+=c)(a=u(t=(0,_.getPointAtLength)(s,d)))<h&&(r=t,f=d,h=a);c/=2;for(var p,y,m,g;.5<c;)m=u(i=(0,_.getPointAtLength)(s,p=f-c)),g=u(o=(0,_.getPointAtLength)(s,y=f+c)),0<=p&&m<h?(r=i,f=p,h=m):y<=l&&g<h?(r=o,f=y,h=g):c/=2;e=(0,x.getPropertiesAtLength)(e,f);return{closest:r,distance:Math.sqrt(h),segment:e}}},10009:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRotatedCurve=void 0;var c=n(94725);t.getRotatedCurve=function(r,i){var o,a,s,l=r.length-1,t=[],u=0,e=(a=(o=r).length,s=a-1,o.map(function(e,r){return o.map(function(e,t){var n=r+t;return 0===t||o[n]&&"M"===o[n][0]?(t=o[n],["M"].concat(t.slice(-2))):(a<=n&&(n-=s),o[n])})}));return e.forEach(function(e,n){r.slice(1).forEach(function(e,t){u+=(0,c.distanceSquareRoot)(r[(n+t)%l].slice(-2),i[t%l].slice(-2))}),t[n]=u,u=0}),e[t.indexOf(Math.min.apply(null,t))]}},34329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTotalLength=void 0;var r=n(97582),i=n(12983);t.getTotalLength=function(e,t){return(0,i.pathLengthFactory)(e,void 0,(0,r.__assign)((0,r.__assign)({},t),{bbox:!1,length:!0})).length}},77507:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAbsoluteArray=void 0;var r=n(47710);t.isAbsoluteArray=function(e){return(0,r.isPathArray)(e)&&e.every(function(e){e=e[0];return e===e.toUpperCase()})}},25036:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCurveArray=void 0;var r=n(3501);t.isCurveArray=function(e){return(0,r.isNormalizedArray)(e)&&e.every(function(e){e=e[0];return"MC".includes(e)})}},3501:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNormalizedArray=void 0;var r=n(77507);t.isNormalizedArray=function(e){return(0,r.isAbsoluteArray)(e)&&e.every(function(e){e=e[0];return"ACLMQZ".includes(e)})}},47710:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPathArray=void 0;var r=n(76899);t.isPathArray=function(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.paramsCount[t]===e.length-1&&"achlmqstvz".includes(t)})}},59104:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPointInStroke=void 0;var r=n(64546);t.isPointInStroke=function(e,t){e=(0,r.getPropertiesAtPoint)(e,t).distance;return Math.abs(e)<.001}},47321:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.midPoint=void 0,t.midPoint=function(e,t,n){var r=e[0],e=e[1];return[r+(t[0]-r)*n,e+(t[1]-e)*n]}},12983:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathLengthFactory=void 0;var A=n(93249),S=n(26864),C=n(79807),O=n(41159),E=n(65930);t.pathLengthFactory=function(e,t,n){for(var r,i,o,a=(0,A.normalizePath)(e),s="number"==typeof t,l=[],u=0,c=0,f=0,h=0,d=[],p=[],y=0,m={x:0,y:0},g=m,v=m,b=m,_=0,x=0,w=a.length;x<w;x+=1)l=(r="M"===(i=(o=a[x])[0]))?l:[u,c].concat(o.slice(1)),r?(g=m={x:f=o[1],y:h=o[2]},y=0,s&&t<.001&&(b=m)):"L"===i?(y=(r=(0,S.segmentLineFactory)(l[0],l[1],l[2],l[3],(t||0)-_)).length,m=r.min,g=r.max,v=r.point):"A"===i?(y=(r=(0,C.segmentArcFactory)(l[0],l[1],l[2],l[3],l[4],l[5],l[6],l[7],l[8],(t||0)-_,n||{})).length,m=r.min,g=r.max,v=r.point):"C"===i?(y=(r=(0,O.segmentCubicFactory)(l[0],l[1],l[2],l[3],l[4],l[5],l[6],l[7],(t||0)-_,n||{})).length,m=r.min,g=r.max,v=r.point):"Q"===i?(y=(r=(0,E.segmentQuadFactory)(l[0],l[1],l[2],l[3],l[4],l[5],(t||0)-_,n||{})).length,m=r.min,g=r.max,v=r.point):"Z"===i&&(y=(r=(0,S.segmentLineFactory)((l=[u,c,f,h])[0],l[1],l[2],l[3],(t||0)-_)).length,m=r.min,g=r.max,v=r.point),s&&_<t&&t<=_+y&&(b=v),p.push(g),d.push(m),_+=y,u=(r="Z"!==i?o.slice(-2):[f,h])[0],c=r[1];return{length:_,point:b=s&&_<=t?{x:u,y:c}:b,min:{x:Math.min.apply(null,d.map(function(e){return e.x})),y:Math.min.apply(null,d.map(function(e){return e.y}))},max:{x:Math.max.apply(null,p.map(function(e){return e.x})),y:Math.max.apply(null,p.map(function(e){return e.y}))}}}},75474:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rotateVector=void 0,t.rotateVector=function(e,t,n){return{x:e*Math.cos(n)-t*Math.sin(n),y:e*Math.sin(n)+t*Math.cos(n)}}},79807:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.segmentArcFactory=void 0;var F=n(26864),V=n(94725);function H(e,t){var n=e.x,e=e.y,r=t.x,t=t.y,i=n*r+e*t,o=Math.sqrt((Math.pow(n,2)+Math.pow(e,2))*(Math.pow(r,2)+Math.pow(t,2)));return(n*t-e*r<0?-1:1)*Math.acos(i/o)}t.segmentArcFactory=function(e,t,n,r,i,B,R,o,a,s,l){var u=l.bbox,N=void 0===u||u,u=l.length,z=void 0===u||u,u=l.sampleSize,c=void 0===u?30:u,f="number"==typeof s,h=e,d=t,p=0,y=[h,d,p],m=[h,d],g={x:0,y:0},v=[{x:h,y:d}];f&&s<=0&&(g={x:h,y:d});for(var b,_,x,w,A,S,C,O,E,M,P,k,T,I,L,j,D=0;D<=c;D+=1)b=e,_=t,x=n,w=r,A=i,S=B,C=R,O=o,E=a,M=D/c,k=j=L=I=T=k=P=void 0,k=Math.abs,T=Math.sin,I=Math.cos,L=Math.sqrt,j=Math.PI,x=k(x),k=k(w),w=(A%360+360)%360*(j/180),h=(P=b===O&&_===E?{x:b,y:_}:0===x||0===k?(0,F.segmentLineFactory)(b,_,O,E,M).point:(A=(b-O)/2,P=(_-E)/2,A={x:I(w)*A+T(w)*P,y:-T(w)*A+I(w)*P},1<(P=Math.pow(A.x,2)/Math.pow(x,2)+Math.pow(A.y,2)/Math.pow(k,2))&&(x*=L(P),k*=L(P)),S=(S!==C?1:-1)*L(P=(P=(Math.pow(x,2)*Math.pow(k,2)-Math.pow(x,2)*Math.pow(A.y,2)-Math.pow(k,2)*Math.pow(A.x,2))/(Math.pow(x,2)*Math.pow(A.y,2)+Math.pow(k,2)*Math.pow(A.x,2)))<0?0:P),L=x*A.y/k*S,P=-k*A.x/x*S,S=I(w)*L-T(w)*P+(b+O)/2,b=T(w)*L+I(w)*P+(_+E)/2,_=H({x:1,y:0},O={x:(A.x-L)/x,y:(A.y-P)/k}),E=H(O,{x:(-A.x-L)/x,y:(-A.y-P)/k}),!C&&0<E?E-=2*j:C&&E<0&&(E+=2*j),L=x*I(O=_+(E%=2*j)*M),A=k*T(O),{x:I(w)*L-T(w)*A+S,y:T(w)*L+I(w)*A+b})).x,d=P.y,N&&v.push({x:h,y:d}),z&&(p+=(0,V.distanceSquareRoot)(m,[h,d])),m=[h,d],f&&s<=p&&s>y[2]&&(C=(p-s)/(p-y[2]),g={x:m[0]*(1-C)+y[0]*C,y:m[1]*(1-C)+y[1]*C}),y=[h,d,p];return{length:p,point:g=f&&p<=s?{x:o,y:a}:g,min:{x:Math.min.apply(null,v.map(function(e){return e.x})),y:Math.min.apply(null,v.map(function(e){return e.y}))},max:{x:Math.max.apply(null,v.map(function(e){return e.x})),y:Math.max.apply(null,v.map(function(e){return e.y}))}}}},41159:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.segmentCubicFactory=void 0;var L=n(94725);t.segmentCubicFactory=function(e,t,n,r,i,o,a,s,l,u){var c=u.bbox,f=void 0===c||c,c=u.length,h=void 0===c||c,c=u.sampleSize,d=void 0===c?10:c,p="number"==typeof l,y=e,m=t,g=0,v=[y,m,g],b=[y,m],_={x:0,y:0},x=[{x:y,y:m}];p&&l<=0&&(_={x:y,y:m});for(var w,A,S,C,O,E,M,P,k,T,I=0;I<=d;I+=1)w=e,A=t,S=n,C=r,O=i,E=o,M=a,P=s,T=void 0,T=1-(k=I/d),y=(w={x:Math.pow(T,3)*w+3*Math.pow(T,2)*k*S+3*T*Math.pow(k,2)*O+Math.pow(k,3)*M,y:Math.pow(T,3)*A+3*Math.pow(T,2)*k*C+3*T*Math.pow(k,2)*E+Math.pow(k,3)*P}).x,m=w.y,f&&x.push({x:y,y:m}),h&&(g+=(0,L.distanceSquareRoot)(b,[y,m])),b=[y,m],p&&l<=g&&l>v[2]&&(S=(g-l)/(g-v[2]),_={x:b[0]*(1-S)+v[0]*S,y:b[1]*(1-S)+v[1]*S}),v=[y,m,g];return{length:g,point:_=p&&g<=l?{x:a,y:s}:_,min:{x:Math.min.apply(null,x.map(function(e){return e.x})),y:Math.min.apply(null,x.map(function(e){return e.y}))},max:{x:Math.max.apply(null,x.map(function(e){return e.x})),y:Math.max.apply(null,x.map(function(e){return e.y}))}}}},26864:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.segmentLineFactory=void 0;var s=n(47321),l=n(94725);t.segmentLineFactory=function(e,t,n,r,i){var o=(0,l.distanceSquareRoot)([e,t],[n,r]),a={x:0,y:0};return{length:o,point:a="number"==typeof i?i<=0?{x:e,y:t}:o<=i?{x:n,y:r}:{x:(i=(0,s.midPoint)([e,t],[n,r],i/o))[0],y:i[1]}:a,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}},65930:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.segmentQuadFactory=void 0;var P=n(94725);t.segmentQuadFactory=function(e,t,n,r,i,o,a,s){var l=s.bbox,u=void 0===l||l,l=s.length,c=void 0===l||l,l=s.sampleSize,f=void 0===l?10:l,h="number"==typeof a,d=e,p=t,y=0,m=[d,p,y],g=[d,p],v={x:0,y:0},b=[{x:d,y:p}];h&&a<=0&&(v={x:d,y:p});for(var _,x,w,A,S,C,O,E,M=0;M<=f;M+=1)_=e,x=t,w=n,A=r,S=i,C=o,E=void 0,E=1-(O=M/f),d=(_={x:Math.pow(E,2)*_+2*E*O*w+Math.pow(O,2)*S,y:Math.pow(E,2)*x+2*E*O*A+Math.pow(O,2)*C}).x,p=_.y,u&&b.push({x:d,y:p}),c&&(y+=(0,P.distanceSquareRoot)(g,[d,p])),g=[d,p],h&&a<=y&&a>m[2]&&(w=(y-a)/(y-m[2]),v={x:g[0]*(1-w)+m[0]*w,y:g[1]*(1-w)+m[1]*w}),m=[d,p,y];return{length:y,point:v=h&&y<=a?{x:i,y:o}:v,min:{x:Math.min.apply(null,b.map(function(e){return e.x})),y:Math.min.apply(null,b.map(function(e){return e.y}))},max:{x:Math.max.apply(null,b.map(function(e){return e.x})),y:Math.max.apply(null,b.map(function(e){return e.y}))}}}},47592:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(27018);function l(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return s.mat3.fromTranslation(r,n),s.mat3.multiply(e,r,t)}function u(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return s.mat3.fromRotation(r,n),s.mat3.multiply(e,r,t)}function c(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return s.mat3.fromScaling(r,n),s.mat3.multiply(e,r,t)}function i(e,t){return e[0]*t[1]-t[0]*e[1]}t.leftTranslate=l,t.leftRotate=u,t.leftScale=c,t.transform=function(e,t){for(var n,r=e?[].concat(e):[1,0,0,0,1,0,0,0,1],i=0,o=t.length;i<o;i++){var a=t[i];switch(a[0]){case"t":l(r,r,[a[1],a[2]]);break;case"s":c(r,r,[a[1],a[2]]);break;case"r":u(r,r,a[1]);break;case"m":n=a[1],s.mat3.multiply(r,n,r)}}return r},t.direction=i,t.angleTo=function(e,t,n){var r=s.vec2.angle(e,t),e=0<=i(e,t);return n?e?2*Math.PI-r:r:e?r:2*Math.PI-r},t.vertical=function(e,t,n){return n?(e[0]=t[1],e[1]=-1*t[0]):(e[0]=-1*t[1],e[1]=t[0]),e}},43708:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(27018),r=(t.mat3=r.mat3,t.vec2=r.vec2,t.vec3=r.vec3,n(47592));t.ext=r},84601:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var _=n(56686);t.default=function(e,t,n){void 0===n&&(n=[[0,0],[1,1]]);for(var t=!!(t=void 0===t?!1:t),r=[],i=0,o=e.length;i<o;i+=2)r.push([e[i],e[i+1]]);for(var a,s,l,u=function(e,t,n){var r,i=[],o=!!n;if(o){u=n[0],c=n[1];for(var a=0,s=e.length;a<s;a+=1)var l=e[a],u=_.vec2.min([0,0],u,l),c=_.vec2.max([0,0],c,l)}for(var f,h,d,p,y,m,g,v,a=0,b=e.length;a<b;a+=1)l=e[a],0!==a||t?a!==b-1||t?(m=_.vec2.sub(m=[0,0],h=e[t?(a+1)%b:a+1],f=e[[a?a-1:b-1,a-1][t?0:1]]),m=_.vec2.scale(m,m,.4),0!==(y=(d=_.vec2.distance(l,f))+(p=_.vec2.distance(l,h)))&&(d/=y,p/=y),y=_.vec2.scale([0,0],m,-d),m=_.vec2.scale([0,0],m,p),g=_.vec2.add([0,0],l,y),v=_.vec2.add([0,0],l,m),v=_.vec2.min([0,0],v,_.vec2.max([0,0],h,l)),v=_.vec2.max([0,0],v,_.vec2.min([0,0],h,l)),y=_.vec2.sub([0,0],v,l),y=_.vec2.scale([0,0],y,-d/p),g=_.vec2.add([0,0],l,y),g=_.vec2.min([0,0],g,_.vec2.max([0,0],f,l)),g=_.vec2.max([0,0],g,_.vec2.min([0,0],f,l)),m=_.vec2.sub([0,0],l,g),m=_.vec2.scale([0,0],m,p/d),v=_.vec2.add([0,0],l,m),o&&(g=_.vec2.max([0,0],g,u),g=_.vec2.min([0,0],g,c),v=_.vec2.max([0,0],v,u),v=_.vec2.min([0,0],v,c)),i.push(r),i.push(g),r=v):(g=l,i.push(r),i.push(g)):r=l;return t&&i.push(i.shift()),i}(r,t,n),c=r.length,f=[],i=0;i<c-1;i+=1)a=u[2*i],s=u[2*i+1],f.push(["C",a[0],a[1],s[0],s[1],(l=r[i+1])[0],l[1]]);return t&&(a=u[c],s=u[c+1],f.push(["C",a[0],a[1],s[0],s[1],(l=r[0])[0],l[1]])),f}},99753:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=n(31834);t.default=function(e,t){var n=function(e,t){var n,r=e.length,i=t.length;if(0===r||0===i)return null;for(var o=[],a=0;a<=r;a++)o[a]=[],o[a][0]={min:a};for(var s,l=0;l<=i;l++)o[0][l]={min:l};for(a=1;a<=r;a++)for(n=e[a-1],l=1;l<=i;l++){var u=t[l-1],u=(0,h.isEqual)(n,u)?0:1,c=o[a-1][l].min+1,f=o[a][l-1].min+1,u=o[a-1][l-1].min+u;o[a][l]=(void 0,s=null,(f=f)<(u=u)&&(u=f,s="add"),(f=c)<u&&(u=f,s="del"),{type:s,min:u})}return o}(e,t),r=e.length,i=t.length,o=[],a=1,s=1;if(n[r][i]!==r){for(var l=1;l<=r;l++){for(var u=n[l][l].min,s=l,c=a;c<=i;c++)n[l][c].min<u&&(u=n[l][c].min,s=c);a=s,n[l][a].type&&o.push({index:l-1,type:n[l][a].type})}for(l=o.length-1;0<=l;l--)a=o[l].index,"add"===o[l].type?e.splice(a,0,[].concat(e[a])):e.splice(a,1)}if((r=e.length)<i)for(l=0;l<i-r;l++)"z"===e[r-1][0]||"Z"===e[r-1][0]?e.splice(r-2,0,e[r-2]):e.push(e[r-1]);return e}},98716:function(e,t){"use strict";function u(l,e,u){if(1===u)return[[].concat(l)];var t=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])t=t.concat(function(e,t){var n=[[l[1],l[2]]],r=(t=u||2,[]);"A"===e[0]?(n.push(e[6]),n.push(e[7])):"C"===e[0]?(n.push([e[1],e[2]]),n.push([e[3],e[4]]),n.push([e[5],e[6]])):"S"===e[0]||"Q"===e[0]?(n.push([e[1],e[2]]),n.push([e[3],e[4]])):n.push([e[1],e[2]]);for(var i=n,o=1/t,a=0;a<t-1;a++){var s=function(e,t){var o=[],a=[];return e.length&&function e(t,n){if(1===t.length)o.push(t[0]),a.push(t[0]);else{for(var r=[],i=0;i<t.length-1;i++)0===i&&o.push(t[0]),i===t.length-2&&a.push(t[i+1]),r[i]=[(1-n)*t[i][0]+n*t[i+1][0],(1-n)*t[i][1]+n*t[i+1][1]];e(r,n)}}(e,t),{left:o,right:a.reverse()}}(i,o/(1-o*a));r.push(s.left),i=s.right}return r.push(i),r.map(function(e){var t=[];return 4===e.length&&(t.push("C"),t=t.concat(e[2])),3<=e.length&&(3===e.length&&t.push("Q"),t=t.concat(e[1])),2===e.length&&t.push("L"),t.concat(e[e.length-1])})}(e));else{var n=[].concat(l);"M"===n[0]&&(n[0]="L");for(var r=0;r<=u-1;r++)t.push(n)}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r,e){if(1===r.length)return r;var i=r.length-1,t=e.length-1,n=i/t,o=[];if(1===r.length&&"M"===r[0][0]){for(var a=0;a<t-i;a++)r.push(r[0]);return r}for(a=0;a<t;a++){var s=Math.floor(n*a);o[s]=(o[s]||0)+1}var l=o.reduce(function(e,t,n){return n===i?e.concat(r[i]):e.concat(u(r[n],r[n+1],t))},[]);return l.unshift(r[0]),"Z"!==e[t]&&"z"!==e[t]||l.push("Z"),l}},66720:function(e,t){"use strict";function l(e){var t=[];switch(e[0]){case"M":case"L":t.push([e[1],e[2]]);break;case"A":t.push([e[6],e[7]]);break;case"Q":t.push([e[3],e[4]]),t.push([e[1],e[2]]);break;case"T":t.push([e[1],e[2]]);break;case"C":t.push([e[5],e[6]]),t.push([e[1],e[2]]),t.push([e[3],e[4]]);break;case"S":t.push([e[3],e[4]]),t.push([e[1],e[2]]);break;case"H":case"V":t.push([e[1],e[1]])}return t}function i(e,t,n){for(var r,i=[].concat(e),o=1/(n+1),a=l(t)[0],s=1;s<=n;s++)o*=s,0===(r=Math.floor(e.length*o))?i.unshift([a[0]*o+e[r][0]*(1-o),a[1]*o+e[r][1]*(1-o)]):i.splice(r,0,[a[0]*o+e[r][0]*(1-o),a[1]*o+e[r][1]*(1-o)]);return i}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!(e.length<=1))for(var n,r=0;r<t.length;r++)if(e[r][0]!==t[r][0])switch(n=l(e[r]),t[r][0]){case"M":e[r]=["M"].concat(n[0]);break;case"L":e[r]=["L"].concat(n[0]);break;case"A":e[r]=[].concat(t[r]),e[r][6]=n[0][0],e[r][7]=n[0][1];break;case"Q":if(n.length<2){if(!(0<r)){e[r]=t[r];break}n=i(n,e[r-1],1)}e[r]=["Q"].concat(n.reduce(function(e,t){return e.concat(t)},[]));break;case"T":e[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(0<r)){e[r]=t[r];break}n=i(n,e[r-1],2)}e[r]=["C"].concat(n.reduce(function(e,t){return e.concat(t)},[]));break;case"S":if(n.length<2){if(!(0<r)){e[r]=t[r];break}n=i(n,e[r-1],1)}e[r]=["S"].concat(n.reduce(function(e,t){return e.concat(t)},[]));break;default:e[r]=t[r]}return e}},71697:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSamePoint=void 0;var y=n(31834);function r(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function m(e,t){return r(e)*r(t)?(e[0]*t[0]+e[1]*t[1])/(r(e)*r(t)):1}function g(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(m(e,t))}function v(e,t){return e[0]===t[0]&&e[1]===t[1]}t.isSamePoint=v,t.default=function(e,t){var n=t[1],r=t[2],i=(0,y.mod)((0,y.toRadian)(t[3]),2*Math.PI),o=t[4],a=t[5],s=e[0],l=e[1],u=t[6],t=t[7],c=Math.cos(i)*(s-u)/2+Math.sin(i)*(l-t)/2,f=-1*Math.sin(i)*(s-u)/2+Math.cos(i)*(l-t)/2,h=c*c/(n*n)+f*f/(r*r),h=(1<h&&(n*=Math.sqrt(h),r*=Math.sqrt(h)),n*n*(f*f)+r*r*(c*c)),h=h?Math.sqrt((n*n*(r*r)-h)/h):1,d=(o===a&&(h*=-1),isNaN(h)&&(h=0),r?h*n*f/r:0),h=n?h*-r*c/n:0,s=(s+u)/2+Math.cos(i)*d-Math.sin(i)*h,l=(l+t)/2+Math.sin(i)*d+Math.cos(i)*h,p=[(c-d)/n,(f-h)/r],c=[(-1*c-d)/n,(-1*f-h)/r],d=g([1,0],p),f=g(p,c);return m(p,c)<=-1&&(f=Math.PI),1<=m(p,c)&&(f=0),0===a&&0<f&&(f-=2*Math.PI),1===a&&f<0&&(f+=2*Math.PI),{cx:s,cy:l,rx:v(e,[u,t])?0:n,ry:v(e,[u,t])?0:r,startAngle:d,endAngle:d+f,xRotation:i,arcFlag:o,sweepFlag:a}}},8272:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function u(e,t,n){return t<=e&&e<=n}t.default=function(e,t,n,r){var i=n.x-e.x,o=n.y-e.y,a=t.x-e.x,t=t.y-e.y,s=r.x-n.x,r=r.y-n.y,n=a*r-t*s,l=null;return l=.001*(a*a+t*t)*(s*s+r*r)<n*n&&u(r=(i*r-o*s)/n,0,1)&&u((i*t-o*a)/n,0,1)?{x:e.x+r*a,y:e.y+r*t}:l}},73920:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPointInPolygon=t.isPolygonsIntersect=t.getLineIntersect=t.path2Segments=t.getArcParams=t.reactPath=t.path2Absolute=t.path2Curve=t.parsePathString=t.parsePathArray=t.pathIntersection=t.formatPath=t.fillPathByDiff=t.fillPath=t.catmullRom2Bezier=t.parsePath=void 0;var r=n(74851),i=(Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r.default}}),n(84601)),o=(Object.defineProperty(t,"catmullRom2Bezier",{enumerable:!0,get:function(){return i.default}}),n(98716)),a=(Object.defineProperty(t,"fillPath",{enumerable:!0,get:function(){return o.default}}),n(99753)),s=(Object.defineProperty(t,"fillPathByDiff",{enumerable:!0,get:function(){return a.default}}),n(66720)),l=(Object.defineProperty(t,"formatPath",{enumerable:!0,get:function(){return s.default}}),n(14672)),u=(Object.defineProperty(t,"pathIntersection",{enumerable:!0,get:function(){return l.default}}),n(92851)),c=(Object.defineProperty(t,"parsePathArray",{enumerable:!0,get:function(){return u.default}}),n(3376)),f=(Object.defineProperty(t,"parsePathString",{enumerable:!0,get:function(){return c.default}}),n(13482)),h=(Object.defineProperty(t,"path2Curve",{enumerable:!0,get:function(){return f.default}}),n(18057)),d=(Object.defineProperty(t,"path2Absolute",{enumerable:!0,get:function(){return h.default}}),n(11183)),p=(Object.defineProperty(t,"reactPath",{enumerable:!0,get:function(){return d.default}}),n(71697)),y=(Object.defineProperty(t,"getArcParams",{enumerable:!0,get:function(){return p.default}}),n(10691)),m=(Object.defineProperty(t,"path2Segments",{enumerable:!0,get:function(){return y.default}}),n(8272)),g=(Object.defineProperty(t,"getLineIntersect",{enumerable:!0,get:function(){return m.default}}),n(36841)),v=(Object.defineProperty(t,"isPolygonsIntersect",{enumerable:!0,get:function(){return g.default}}),n(53563));Object.defineProperty(t,"isPointInPolygon",{enumerable:!0,get:function(){return v.default}})},36841:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(53563),l=n(8272),u=n(31834);function c(e){for(var t,n,r=[],i=e.length,o=0;o<i-1;o++){var a=e[o],s=e[o+1];r.push({from:{x:a[0],y:a[1]},to:{x:s[0],y:s[1]}})}return 1<r.length&&(t=e[0],n=e[i-1],r.push({from:{x:n[0],y:n[1]},to:{x:t[0],y:t[1]}})),r}function f(e){var t=e.map(function(e){return e[0]}),e=e.map(function(e){return e[1]});return{minX:Math.min.apply(null,t),maxX:Math.max.apply(null,t),minY:Math.min.apply(null,e),maxY:Math.max.apply(null,e)}}t.default=function(t,n){var e,r,i,o,a;return!(t.length<2||n.length<2||(e=f(t),(o=f(n)).minX>e.maxX)||o.maxX<e.minX||o.minY>e.maxY||o.maxY<e.minY)&&((r=!1,u.each)(n,function(e){if((0,s.default)(t,e[0],e[1]))return!(r=!0)}),!!r||((0,u.each)(t,function(e){if((0,s.default)(n,e[0],e[1]))return!(r=!0)}),!!r)||(i=c(t),o=c(n),(a=!1,u.each)(o,function(e){if(t=e,(n=!1,u.each)(i,function(e){if((0,l.default)(e.from,e.to,t.from,t.to))return!(n=!0)}),n)return!(a=!0);var t,n}),a))}},92851:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=/,?([a-z]),?/gi;t.default=function(e){return e.join(",").replace(n,"$1")}},3376:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(31834),n="\t\n\v\f\r \u2028\u2029",i=new RegExp("([a-z])["+n+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+n+"]*,?["+n+"]*)+)","ig"),s=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+n+"]*,?["+n+"]*","ig");t.default=function(e){var o,a;return e?(0,r.isArray)(e)?e:(o={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},a=[],String(e).replace(i,function(e,t,n){var r=[],i=t.toLowerCase();if(n.replace(s,function(e,t){t&&r.push(+t)}),"m"===i&&2<r.length&&(a.push([t].concat(r.splice(0,2))),i="l",t="m"===t?"l":"L"),"o"===i&&1===r.length&&a.push([t,r[0]]),"r"===i)a.push([t].concat(r));else for(;o[i]<=r.length&&(a.push([t].concat(r.splice(0,o[i]))),o[i]););return""}),a):null}},74851:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(31834),o=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,a=/[^\s\,]+/gi;t.default=function(e){var r=e||[];return(0,i.isArray)(r)?r:(0,i.isString)(r)?(r=r.match(o),(0,i.each)(r,function(n,e){var t;1<(n=n.match(a))[0].length&&(t=n[0].charAt(0),n.splice(1,0,n[0].substr(1)),n[0]=t),(0,i.each)(n,function(e,t){isNaN(e)||(n[t]=+e)}),r[e]=n}),r):void 0}},18057:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var _=n(3376),x=/[a-z]/;function w(e,t){return[t[0]+(t[0]-e[0]),t[1]+(t[1]-e[1])]}t.default=function(e){var t=(0,_.default)(e);if(!t||!t.length)return[["M",0,0]];for(var n=!1,r=0;r<t.length;r++){var i=t[r][0];if(x.test(i)||0<=["V","H","T","S"].indexOf(i)){n=!0;break}}if(!n)return t;var o=[],a=0,s=0,l=0,u=0,e=0,c=t[0];"M"!==c[0]&&"m"!==c[0]||(l=a=+c[1],u=s=+c[2],e++,o[0]=["M",a,s]);for(var r=e,f=t.length;r<f;r++){var h=t[r],d=o[r-1],p=[],y=(i=h[0]).toUpperCase();if(i!==y)switch(p[0]=y,y){case"A":p[1]=h[1],p[2]=h[2],p[3]=h[3],p[4]=h[4],p[5]=h[5],p[6]=+h[6]+a,p[7]=+h[7]+s;break;case"V":p[1]=+h[1]+s;break;case"H":p[1]=+h[1]+a;break;case"M":l=+h[1]+a,u=+h[2]+s,p[1]=l,p[2]=u;break;default:for(var m=1,g=h.length;m<g;m++)p[m]=+h[m]+(m%2?a:s)}else p=t[r];switch(y){case"Z":a=+l,s=+u;break;case"H":p=["L",a=p[1],s];break;case"V":p=["L",a,s=p[1]];break;case"T":var a=p[1],s=p[2],v=w([d[1],d[2]],[d[3],d[4]]),p=["Q",v[0],v[1],a,s];break;case"S":a=p[p.length-2],s=p[p.length-1];var v=d.length,b=w([d[v-4],d[v-3]],[d[v-2],d[v-1]]);p=["C",b[0],b[1],p[1],p[2],a,s];break;case"M":l=p[p.length-2],u=p[p.length-1];break;default:a=p[p.length-2],s=p[p.length-1]}o.push(p)}return o}},13482:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var m=n(18057),g=n(75879);t.default=function(e,t){void 0===t&&(t=!1);for(var n,r,i=(0,m.default)(e),o={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null},a=[],s="",l=i.length,u=[],c=0;c<l;c+=1){i[c]&&(s=i[c][0]),a[c]=s,i[c]=(0,g.segmentToCubic)(i[c],o);{f=void 0;h=void 0;d=void 0;p=void 0;y=void 0;var f=i;var h=a;var d=c;if(7<f[d].length){f[d].shift();for(var p=f[d],y=d;p.length;)h[d]="A",f.splice(y+=1,0,["C"].concat(p.splice(0,6)));f.splice(d,1)}}l=i.length,"Z"===s&&u.push(c),r=(n=i[c]).length,o.x1=+n[r-2],o.y1=+n[r-1],o.x2=+n[r-4]||o.x1,o.y2=+n[r-3]||o.y1}return t?[i,u]:i}},10691:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var O=n(71697),E=n(71697),M=n(74851);function P(e,t){return[t[0]+(t[0]-e[0]),t[1]+(t[1]-e[1])]}t.default=function(e){for(var t=[],n=null,r=null,i=null,o=0,a=(e=(0,M.default)(e)).length,s=0;s<a;s++){var l=e[s],r=e[s+1],u=l[0],c={command:u,prePoint:n,params:l,startTangent:null,endTangent:null};switch(u){case"M":i=[l[1],l[2]],o=s;break;case"A":var f=(0,O.default)(n,l);c.arcParams=f}"Z"===u?(n=i,r=e[o+1]):n=[l[(S=l.length)-2],l[S-1]],r&&"Z"===r[0]&&(r=e[o],t[o])&&(t[o].prePoint=n),c.currentPoint=n,t[o]&&(0,E.isSamePoint)(n,t[o].currentPoint)&&(t[o].prePoint=c.prePoint);var h,d,p,y,m,g,v,b,_,x,w,A,S=r?[r[r.length-2],r[r.length-1]]:null,C=(c.nextPoint=S,c.prePoint);["L","H","V"].includes(u)?(c.startTangent=[C[0]-n[0],C[1]-n[1]],c.endTangent=[n[0]-C[0],n[1]-C[1]]):"Q"===u?(h=[l[1],l[2]],c.startTangent=[C[0]-h[0],C[1]-h[1]],c.endTangent=[n[0]-h[0],n[1]-h[1]]):"T"===u?(h=P((d=t[s-1]).currentPoint,C),"Q"===d.command?(c.command="Q",c.startTangent=[C[0]-h[0],C[1]-h[1]],c.endTangent=[n[0]-h[0],n[1]-h[1]]):(c.command="TL",c.startTangent=[C[0]-n[0],C[1]-n[1]],c.endTangent=[n[0]-C[0],n[1]-C[1]])):"C"===u?(p=[l[1],l[2]],y=[l[3],l[4]],c.startTangent=[C[0]-p[0],C[1]-p[1]],c.endTangent=[n[0]-y[0],n[1]-y[1]],0===c.startTangent[0]&&0===c.startTangent[1]&&(c.startTangent=[p[0]-y[0],p[1]-y[1]]),0===c.endTangent[0]&&0===c.endTangent[1]&&(c.endTangent=[y[0]-p[0],y[1]-p[1]])):"S"===u?(p=P((d=t[s-1]).currentPoint,C),y=[l[1],l[2]],"C"===d.command?(c.command="C",c.startTangent=[C[0]-p[0],C[1]-p[1]]):(c.command="SQ",c.startTangent=[C[0]-y[0],C[1]-y[1]]),c.endTangent=[n[0]-y[0],n[1]-y[1]]):"A"===u&&(u=.001,m=void 0===(m=(x=c.arcParams||{}).cx)?0:m,g=void 0===(g=x.cy)?0:g,w=x.rx,v=void 0===(v=x.ry)?0:v,b=x.sweepFlag,_=void 0===(_=x.startAngle)?0:_,x=void 0===(x=x.endAngle)?0:x,0===(void 0===b?0:b)&&(u*=-1),w=(b=void 0===w?0:w)*Math.cos(_-u)+m,A=v*Math.sin(_-u)+g,c.startTangent=[w-i[0],A-i[1]],w=b*Math.cos(_+x+u)+m,A=v*Math.sin(_+x-u)+g,c.endTangent=[C[0]-w,C[1]-A]),t.push(c)}return t}},14672:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function m(e,t,n,r,i){return e*(e*(-3*t+9*n-9*r+3*i)+6*t-12*n+6*r)-3*t+3*n}function r(e,t,n){var r,i,o,a,s,l,u,c;e=(0,A.default)(e),t=(0,A.default)(t);for(var f=n?0:[],h=0,d=e.length;h<d;h++){var p=e[h];if("M"===p[0])r=o=p[1],y=a=p[2];else for(var y="C"===p[0]?(r=(u=[r,y].concat(p.slice(1)))[6],u[7]):(u=[r,y,r,y,o,a,o,a],r=o,a),m=0,g=t.length;m<g;m++){var v=t[m];if("M"===v[0])i=s=v[1],b=l=v[2];else{var b="C"===v[0]?(i=(c=[i,b].concat(v.slice(1)))[6],c[7]):(c=[i,b,i,b,s,l,s,l],i=s,l),_=function(e,t,n){if(r=M(e),i=M(t),r=E(r),i=E(i),!(O(i,r.x,r.y)||O(i,r.x2,r.y)||O(i,r.x,r.y2)||O(i,r.x2,r.y2)||O(r,i.x,i.y)||O(r,i.x2,i.y)||O(r,i.x,i.y2)||O(r,i.x2,i.y2)||(r.x<i.x2&&r.x>i.x||i.x<r.x2&&i.x>r.x)&&(r.y<i.y2&&r.y>i.y||i.y<r.y2&&i.y>r.y)))return n?0:[];for(var r,i,o=~~(S.apply(0,e)/8),a=~~(S.apply(0,t)/8),s=[],l=[],u={},c=n?0:[],f=0;f<1+o;f++){var h=P.apply(0,e.concat(f/o));s.push({x:h.x,y:h.y,t:f/o})}for(f=0;f<1+a;f++)h=P.apply(0,t.concat(f/a)),l.push({x:h.x,y:h.y,t:f/a});for(f=0;f<o;f++)for(var d=0;d<a;d++){var p=s[f],y=s[f+1],m=l[d],g=l[d+1],v=Math.abs(y.x-p.x)<.001?"y":"x",b=Math.abs(g.x-m.x)<.001?"y":"x",_=C(p.x,p.y,y.x,y.y,m.x,m.y,g.x,g.y);_&&u[_.x.toFixed(4)]!==_.y.toFixed(4)&&(u[_.x.toFixed(4)]=_.y.toFixed(4),v=p.t+Math.abs((_[v]-p[v])/(y[v]-p[v]))*(y.t-p.t),y=m.t+Math.abs((_[b]-m[b])/(g[b]-m[b]))*(g.t-m.t),0<=v)&&v<=1&&0<=y&&y<=1&&(n?c++:c.push({x:_.x,y:_.y,t1:v,t2:y}))}return c}(u,c,n);if(n)f+=_;else{for(var x=0,w=_.length;x<w;x++)_[x].segment1=h,_[x].segment2=m,_[x].bez1=u,_[x].bez2=c;f=f.concat(_)}}}}return f}var l=n(31834),i=n(11183),A=n(13482),S=function(e,t,n,r,i,o,a,s,l){for(var u=(l=1<(l=null===l?1:l)?1:l<0?0:l)/2,c=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,d=0;d<12;d++){var p=u*c[d]+u,y=m(p,e,n,i,a),p=m(p,t,r,o,s);h+=f[d]*Math.sqrt(y*y+p*p)}return u*h},C=function(e,t,n,r,i,o,a,s){if(!(Math.max(e,n)<Math.min(i,a)||Math.min(e,n)>Math.max(i,a)||Math.max(t,r)<Math.min(o,s)||Math.min(t,r)>Math.max(o,s))){var l=(e-n)*(o-s)-(t-r)*(i-a);if(l){var u=((e*r-t*n)*(i-a)-(e-n)*(i*s-o*a))/l,l=((e*r-t*n)*(o-s)-(t-r)*(i*s-o*a))/l,c=+u.toFixed(2),f=+l.toFixed(2);if(!(c<+Math.min(e,n).toFixed(2)||c>+Math.max(e,n).toFixed(2)||c<+Math.min(i,a).toFixed(2)||c>+Math.max(i,a).toFixed(2)||f<+Math.min(t,r).toFixed(2)||f>+Math.max(t,r).toFixed(2)||f<+Math.min(o,s).toFixed(2)||f>+Math.max(o,s).toFixed(2)))return{x:u,y:l}}}},O=function(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height},E=function(e,t,n,r){return null===e&&(e=t=n=r=0),null===t&&(t=e.y,n=e.width,r=e.height,e=e.x),{x:e,y:t,width:n,w:n,height:r,h:r,x2:e+n,y2:t+r,cx:e+n/2,cy:t+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:(0,i.default)(e,t,n,r),vb:[e,t,n,r].join(" ")}},M=function(e,t,n,r,i,o,a,s){(0,l.isArray)(e)||(e=[e,t,n,r,i,o,a,s]);t=function(e,t,n,r,i,o,a,s){for(var l,u,c,f=[],h=[[],[]],d=0;d<2;++d)if(p=0===d?(u=6*e-12*n+6*i,l=-3*e+9*n-9*i+3*a,3*n-3*e):(u=6*t-12*r+6*o,l=-3*t+9*r-9*o+3*s,3*r-3*t),Math.abs(l)<1e-12){if(Math.abs(u)<1e-12)continue;0<(c=-p/u)&&c<1&&f.push(c)}else{var p=u*u-4*p*l,y=Math.sqrt(p);p<0||(0<(p=(-u+y)/(2*l))&&p<1&&f.push(p),0<(p=(-u-y)/(2*l))&&p<1&&f.push(p))}for(var m,g=f.length,v=g;g--;)m=1-(c=f[g]),h[0][g]=m*m*m*e+3*m*m*c*n+3*m*c*c*i+c*c*c*a,h[1][g]=m*m*m*t+3*m*m*c*r+3*m*c*c*o+c*c*c*s;return h[0][v]=e,h[1][v]=t,h[0][v+1]=a,h[1][v+1]=s,h[0].length=h[1].length=v+2,{min:{x:Math.min.apply(0,h[0]),y:Math.min.apply(0,h[1])},max:{x:Math.max.apply(0,h[0]),y:Math.max.apply(0,h[1])}}}.apply(null,e);return E(t.min.x,t.min.y,t.max.x-t.min.x,t.max.y-t.min.y)},P=function(e,t,n,r,i,o,a,s,l){var u=1-l,c=Math.pow(u,3),f=Math.pow(u,2),h=l*l,d=h*l,p=e+2*l*(n-e)+h*(i-2*n+e),y=t+2*l*(r-t)+h*(o-2*r+t),m=n+2*l*(i-n)+h*(a-2*i+n),h=r+2*l*(o-r)+h*(s-2*o+r);return{x:c*e+3*f*l*n+3*u*l*l*i+d*a,y:c*t+3*f*l*r+3*u*l*l*o+d*s,m:{x:p,y:y},n:{x:m,y:h},start:{x:u*e+l*n,y:u*t+l*r},end:{x:u*i+l*a,y:u*o+l*s},alpha:90-180*Math.atan2(p-m,y-h)/Math.PI}};t.default=function(e,t){return r(e,t)}},53563:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function f(e){return Math.abs(e)<1e-6?0:e<0?-1:1}t.default=function(e,t,n){var r=!1,i=e.length;if(i<=2)return!1;for(var o,a,s,l=0;l<i;l++){var u=e[l],c=e[(l+1)%i];if(a=c,((s=[t,n])[0]-(o=u)[0])*(a[1]-o[1])==(a[0]-o[0])*(s[1]-o[1])&&Math.min(o[0],a[0])<=s[0]&&s[0]<=Math.max(o[0],a[0])&&Math.min(o[1],a[1])<=s[1]&&s[1]<=Math.max(o[1],a[1]))return!0;0<f(u[1]-n)!=0<f(c[1]-n)&&f(t-(n-u[1])*(u[0]-c[0])/(u[1]-c[1])-u[0])<0&&(r=!r)}return r}},99626:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arcToCubic=void 0;function j(e,t,n,r,i,o,a){var s=e.x,e=e.y;return{x:r*(s*=t)-i*(e*=n)+o,y:i*s+r*e+a}}function D(e,t,n,r){var i=e*n+t*r;return(i=1<i?1:i)<-1&&(i=-1),(e*r-t*n<0?-1:1)*Math.acos(i)}function u(e){var t=e.px,n=e.py,r=e.cx,i=e.cy,o=e.rx,a=e.ry,s=void 0===(s=e.xAxisRotation)?0:s,l=void 0===(l=e.largeArcFlag)?0:l,e=void 0===(e=e.sweepFlag)?0:e,u=[];if(0===o||0===a)return[{x1:0,y1:0,x2:0,y2:0,x:r,y:i}];var c=Math.sin(s*B/360),f=Math.cos(s*B/360),h=-c*(t-r)/2+f*(n-i)/2;if(0==(s=f*(t-r)/2+c*(n-i)/2)&&0==h)return[{x1:0,y1:0,x2:0,y2:0,x:r,y:i}];var d,p,y,m,g,v,b,_,o=Math.abs(o),a=Math.abs(a),x=Math.pow(s,2)/Math.pow(o,2)+Math.pow(h,2)/Math.pow(a,2);1<x&&(o*=Math.sqrt(x),a*=Math.sqrt(x)),x=t,t=n,n=r,r=i,i=o,d=a,l=l,e=e,p=c,y=f,s=s,h=h,m=Math.pow(i,2),g=Math.pow(d,2),v=Math.pow(s,2),b=Math.pow(h,2),(_=m*g-m*b-g*v)<0&&(_=0),_/=m*b+g*v,m=(_=Math.sqrt(_)*(l===e?-1:1))*i/d*h,g=y*m-p*(b=_*-d/i*s)+(x+n)/2,v=p*m+y*b+(t+r)/2,x=(-s-m)/i,n=(-h-b)/d,p=D(1,0,l=(s-m)/i,_=(h-b)/d),y=D(l,_,x,n),0===e&&0<y&&(y-=B),1===e&&y<0&&(y+=B);var w=(t=[g,v,p,y])[0],A=t[1],S=t[2],C=t[3],r=Math.abs(C)/(B/4),O=(Math.abs(1-r)<1e-7&&(r=1),Math.max(Math.ceil(r),1));C/=O;for(var E,M,P,k,T,I,L=0;L<O;L++)u.push((E=S,I=T=k=P=void 0,P=1.5707963267948966===(M=C)?.551915024494:-1.5707963267948966===M?-.551915024494:4/3*Math.tan(M/4),k=Math.cos(E),T=Math.sin(E),I=Math.cos(E+M),E=Math.sin(E+M),[{x:k-T*P,y:T+k*P},{x:I+E*P,y:E-I*P},{x:I,y:E}])),S+=C;return u.map(function(e){var t=j(e[0],o,a,f,c,w,A),n=t.x,t=t.y,r=j(e[1],o,a,f,c,w,A),i=r.x,r=r.y,e=j(e[2],o,a,f,c,w,A);return{x1:n,y1:t,x2:i,y2:r,x:e.x,y:e.y}})}var B=2*Math.PI;t.arcToCubic=function(e,t,n,r,i,o,a,s,l){return u({px:e,py:t,cx:s,cy:l,rx:n,ry:r,xAxisRotation:i,largeArcFlag:o,sweepFlag:a}).reduce(function(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.x,t=t.y;return e.push(n,r,i,o,a,t),e},[])}},63786:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineToCubic=void 0,t.lineToCubic=function(e,t,n,r){return[e,t,n,r,n,r]}},94973:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.quadToCubic=void 0,t.quadToCubic=function(e,t,n,r,i,o){return[1/3*e+2/3*n,1/3*t+2/3*r,1/3*i+2/3*n,1/3*o+2/3*r,i,o]}},75879:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.segmentToCubic=void 0;var o=n(99626),a=n(94973),s=n(63786);t.segmentToCubic=function(e,t){"TQ".indexOf(e[0])<0&&(t.qx=null,t.qy=null);var n=e.slice(1),r=n[0],i=n[1];switch(e[0]){case"M":return t.x=r,t.y=i,e;case"A":return["C"].concat(o.arcToCubic.apply(0,[t.x1,t.y1].concat(e.slice(1))));case"Q":return t.qx=r,t.qy=i,["C"].concat(a.quadToCubic.apply(0,[t.x1,t.y1].concat(e.slice(1))));case"L":return["C"].concat((0,s.lineToCubic)(t.x1,t.y1,e[1],e[2]));case"H":return["C"].concat((0,s.lineToCubic)(t.x1,t.y1,e[1],t.y1));case"V":return["C"].concat((0,s.lineToCubic)(t.x1,t.y1,t.x1,e[1]));case"Z":return["C"].concat((0,s.lineToCubic)(t.x1,t.y1,t.x,t.y))}return e}},11183:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){return i?[["M",+e+ +i,t],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:[["M",e,t],["l",n,0],["l",0,r],["l",-n,0],["z"]]}},19690:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vertical=t.angleTo=t.direction=t.transform=t.leftScale=t.leftRotate=t.leftTranslate=void 0;var s=n(27018);function l(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return s.mat3.fromTranslation(r,n),s.mat3.multiply(e,r,t)}function u(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return s.mat3.fromRotation(r,n),s.mat3.multiply(e,r,t)}function c(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return s.mat3.fromScaling(r,n),s.mat3.multiply(e,r,t)}function i(e,t){return e[0]*t[1]-t[0]*e[1]}t.leftTranslate=l,t.leftRotate=u,t.leftScale=c,t.transform=function(e,t){for(var n,r=e?[].concat(e):[1,0,0,0,1,0,0,0,1],i=0,o=t.length;i<o;i++){var a=t[i];switch(a[0]){case"t":l(r,r,[a[1],a[2]]);break;case"s":c(r,r,[a[1],a[2]]);break;case"r":u(r,r,a[1]);break;case"m":n=a[1],s.mat3.multiply(r,n,r)}}return r},t.direction=i,t.angleTo=function(e,t,n){var r=s.vec2.angle(e,t),e=0<=i(e,t);return n?e?2*Math.PI-r:r:e?r:2*Math.PI-r},t.vertical=function(e,t,n){return n?(e[0]=t[1],e[1]=-1*t[0]):(e[0]=-1*t[1],e[1]=t[0]),e}},56686:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ext=t.vec3=t.vec2=t.mat3=void 0;var r=n(27018),n=(Object.defineProperty(t,"mat3",{enumerable:!0,get:function(){return r.mat3}}),Object.defineProperty(t,"vec2",{enumerable:!0,get:function(){return r.vec2}}),Object.defineProperty(t,"vec3",{enumerable:!0,get:function(){return r.vec3}}),n(19690));t.ext=n},67872:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(31834),i=n(94528);function o(e){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=e,this.initCfg(),this.init()}o.prototype.translate=function(e){return e},o.prototype.change=function(e){r.assign(this.__cfg__,e),this.init()},o.prototype.clone=function(){return this.constructor(this.__cfg__)},o.prototype.getTicks=function(){var n=this;return r.map(this.ticks,function(e,t){return r.isObject(e)?e:{text:n.getText(e,t),tickValue:e,value:n.scale(e)}})},o.prototype.getText=function(e,t){var n=this.formatter,n=n?n(e,t):e;return r.isNil(n)||!r.isFunction(n.toString)?"":n.toString()},o.prototype.getConfig=function(e){return this.__cfg__[e]},o.prototype.init=function(){r.assign(this,this.__cfg__),this.setDomain(),r.isEmpty(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},o.prototype.initCfg=function(){},o.prototype.setDomain=function(){},o.prototype.calculateTicks=function(){var e=this.tickMethod,t=[];if(r.isString(e)){var n=i.getTickMethod(e);if(!n)throw new Error("There is no method to to calculate ticks!");t=n(this)}else r.isFunction(e)&&(t=e(this));return t},o.prototype.rangeMin=function(){return this.range[0]},o.prototype.rangeMax=function(){return this.range[1]},o.prototype.calcPercent=function(e,t,n){return r.isNumber(e)?(e-t)/(n-t):NaN},o.prototype.calcValue=function(e,t,n){return t+e*(n-t)},t.default=o},634:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(97582),a=n(31834),n=(i=n(67872).default,o.__extends(r,i),r.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var e=0;e<this.values.length;e++)this.translateIndexMap.set(this.values[e],e)}},r.prototype.translate=function(e){this.buildIndexMap();var t=this.translateIndexMap.get(e);return t=void 0===t?a.isNumber(e)?e:NaN:t},r.prototype.scale=function(e){e=this.translate(e),e=this.calcPercent(e,this.min,this.max);return this.calcValue(e,this.rangeMin(),this.rangeMax())},r.prototype.invert=function(e){var t=this.max-this.min,e=this.calcPercent(e,this.rangeMin(),this.rangeMax()),t=Math.round(t*e)+this.min;return t<this.min||t>this.max?NaN:this.values[t]},r.prototype.getText=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=e;return a.isNumber(e)&&!this.values.includes(e)&&(r=this.values[r]),i.prototype.getText.apply(this,o.__spreadArrays([r],t))},r.prototype.initCfg=function(){this.tickMethod="cat"},r.prototype.setDomain=function(){var e;a.isNil(this.getConfig("min"))&&(this.min=0),a.isNil(this.getConfig("max"))&&(e=this.values.length,this.max=1<e?e-1:e),this.translateIndexMap&&(this.translateIndexMap=void 0)},r);function r(){var e=null!==i&&i.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}t.default=n},38186:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(31834),a=n(52938),n=(r=n(634).default,i.__extends(s,r),s.prototype.translate=function(e){e=a.toTimeStamp(e);var t=this.values.indexOf(e);return t=-1===t?o.isNumber(e)&&e<this.values.length?e:NaN:t},s.prototype.getText=function(e,t){var n,r=this.translate(e);return-1<r?(r=this.values[r],(n=this.formatter)?n(r,t):a.timeFormat(r,this.mask)):e},s.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},s.prototype.setDomain=function(){var n=this.values;o.each(n,function(e,t){n[t]=a.toTimeStamp(e)}),n.sort(function(e,t){return e-t}),r.prototype.setDomain.call(this)},s);function s(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="timeCat",e}t.default=n},52318:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(31834),n=(r=n(67872).default,i.__extends(a,r),a.prototype.scale=function(e){var t,n;return o.isNil(e)?NaN:(t=this.rangeMin(),n=this.rangeMax(),this.max===this.min?t:t+this.getScalePercent(e)*(n-t))},a.prototype.init=function(){r.prototype.init.call(this);var e=this.ticks,t=o.head(e),e=o.last(e);t<this.min&&(this.min=t),e>this.max&&(this.max=e),o.isNil(this.minLimit)||(this.min=t),o.isNil(this.maxLimit)||(this.max=e)},a.prototype.setDomain=function(){var e=o.getRange(this.values),t=e.min,e=e.max;o.isNil(this.min)&&(this.min=t),o.isNil(this.max)&&(this.max=e),this.min>this.max&&(this.min=t,this.max=e)},a.prototype.calculateTicks=function(){var t=this,e=r.prototype.calculateTicks.call(this);return e=this.nice?e:o.filter(e,function(e){return e>=t.min&&e<=t.max})},a.prototype.getScalePercent=function(e){var t=this.max,n=this.min;return(e-n)/(t-n)},a.prototype.getInvertPercent=function(e){return(e-this.rangeMin())/(this.rangeMax()-this.rangeMin())},a);function a(){var e=null!==r&&r.apply(this,arguments)||this;return e.isContinuous=!0,e}t.default=n},80910:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),n=(r=n(52318).default,i.__extends(o,r),o.prototype.invert=function(e){e=this.getInvertPercent(e);return this.min+e*(this.max-this.min)},o.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},o);function o(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}t.default=n},9349:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),l=n(94841),n=(r=n(52318).default,i.__extends(o,r),o.prototype.invert=function(e){var t,n=this.base,r=l.log(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,a=this.positiveMin;if(a){if(0===e)return 0;var s=1/(r-(t=l.log(n,a/n)))*o;if(e<s)return e/s*a}else t=l.log(n,this.min);return Math.pow(n,(e-i)/o*(r-t)+t)},o.prototype.initCfg=function(){this.tickMethod="log",this.base=10,this.tickCount=6,this.nice=!0},o.prototype.setDomain=function(){r.prototype.setDomain.call(this);var e=this.min;if(e<0)throw new Error("When you use log scale, the minimum value must be greater than zero!");0===e&&(this.positiveMin=l.getLogPositiveMin(this.values,this.base,this.max))},o.prototype.getScalePercent=function(e){var t,n,r=this.max,i=this.min;return r===i||e<=0?0:(t=this.base,(n=this.positiveMin)&&(i=+n/t),e<n?e/n/(l.log(t,r)-l.log(t,i)):(l.log(t,e)-l.log(t,i))/(l.log(t,r)-l.log(t,i)))},o);function o(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="log",e}t.default=n},21133:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(94841),n=(r=n(52318).default,i.__extends(a,r),a.prototype.invert=function(e){var e=this.getInvertPercent(e),t=this.exponent,n=o.calBase(t,this.max),r=o.calBase(t,this.min),e=e*(n-r)+r,n=0<=e?1:-1;return Math.pow(e,t)*n},a.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},a.prototype.getScalePercent=function(e){var t,n=this.max,r=this.min;return n===r?0:(t=this.exponent,(o.calBase(t,e)-o.calBase(t,r))/(o.calBase(t,n)-o.calBase(t,r)))},a);function a(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="pow",e}t.default=n},22816:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),n=(r=n(52034).default,i.__extends(o,r),o.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},o);function o(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="quantile",e}t.default=n},52034:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(31834),n=(r=n(52318).default,i.__extends(a,r),a.prototype.invert=function(e){var t,n=this.ticks,r=n.length,e=this.getInvertPercent(e),i=Math.floor(e*(r-1));return r-1<=i?o.last(n):i<0?o.head(n):(t=n[i])+(e-(e=i/(r-1)))/((i+1)/(r-1)-e)*(n[i+1]-t)},a.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},a.prototype.calculateTicks=function(){var e=r.prototype.calculateTicks.call(this);return this.nice||(o.last(e)!==this.max&&e.push(this.max),o.head(e)!==this.min&&e.unshift(this.min)),e},a.prototype.getScalePercent=function(n){var r,e=this.ticks;return n<o.head(e)?0:n>o.last(e)?1:(r=0,o.each(e,function(e,t){if(!(e<=n))return!1;r=t}),r/(e.length-1))},a);function a(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="quantize",e}t.default=n},516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),s=n(31834),l=n(52938),n=(r=n(80910).default,i.__extends(o,r),o.prototype.getText=function(e,t){var e=this.translate(e),n=this.formatter;return n?n(e,t):l.timeFormat(e,this.mask)},o.prototype.scale=function(e){return(s.isString(e)||s.isDate(e))&&(e=this.translate(e)),r.prototype.scale.call(this,e)},o.prototype.translate=function(e){return l.toTimeStamp(e)},o.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},o.prototype.setDomain=function(){var n,r,i,o,e=this.values,t=this.getConfig("min"),a=this.getConfig("max");s.isNil(t)&&s.isNumber(t)||(this.min=this.translate(this.min)),s.isNil(a)&&s.isNumber(a)||(this.max=this.translate(this.max)),e&&e.length&&(n=[],i=r=1/0,o=0,s.each(e,function(e){var t=l.toTimeStamp(e);if(isNaN(t))throw new TypeError("Invalid Time: "+e+" in time scale!");t<r?(i=r,r=t):t<i&&(i=t),o<t&&(o=t),n.push(t)}),1<e.length&&(this.minTickInterval=i-r),s.isNil(t)&&(this.min=r),s.isNil(a))&&(this.max=o)},o);function o(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="time",e}t.default=n},66200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerScale=t.getScale=t.Scale=void 0;var n=n(67872),r=(t.Scale=n.default,{});function i(e){return r[e]}t.getScale=i,t.registerScale=function(e,t){if(i(e))throw new Error("type '"+e+"' existed.");r[e]=t}},93753:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(97582),o=n(31834),n=(r=n(67872).default,i.__extends(a,r),a.prototype.calculateTicks=function(){return this.values},a.prototype.scale=function(e){return this.values[0]!==e&&o.isNumber(e)?e:this.range[0]},a.prototype.invert=function(e){var t=this.range;return e<t[0]||e>t[1]?NaN:this.values[0]},a);function a(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}t.default=n},91994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerTickMethod=t.getTickMethod=t.registerScale=t.getScale=t.Scale=t.Quantize=t.Quantile=t.TimeCat=t.Time=t.Pow=t.Log=t.Linear=t.Identity=t.Category=void 0;var r=n(67872),r=(t.Scale=r.default,n(634)),i=(t.Category=r.default,n(38186)),o=(t.TimeCat=i.default,n(80910)),a=(t.Linear=o.default,n(9349)),s=(t.Log=a.default,n(21133)),l=(t.Pow=s.default,n(516)),u=(t.Time=l.default,n(52034)),c=(t.Quantize=u.default,n(22816)),f=(t.Quantile=c.default,n(66200)),h=(Object.defineProperty(t,"getScale",{enumerable:!0,get:function(){return f.getScale}}),Object.defineProperty(t,"registerScale",{enumerable:!0,get:function(){return f.registerScale}}),n(93753)),d=(t.Identity=h.default,n(25927));Object.defineProperty(t,"getTickMethod",{enumerable:!0,get:function(){return d.getTickMethod}}),Object.defineProperty(t,"registerTickMethod",{enumerable:!0,get:function(){return d.registerTickMethod}}),f.registerScale("cat",r.default),f.registerScale("category",r.default),f.registerScale("identity",h.default),f.registerScale("linear",o.default),f.registerScale("log",a.default),f.registerScale("pow",s.default),f.registerScale("time",l.default),f.registerScale("timeCat",i.default),f.registerScale("quantize",u.default),f.registerScale("quantile",c.default)},14091:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var d=n(31834);t.default=function(e){var t,n=e.values,r=e.tickInterval,i=e.tickCount,o=e.showLast;if(d.isNumber(r))return t=d.filter(n,function(e,t){return t%r==0}),a=d.last(n),o&&d.last(t)!==a&&t.push(a),t;var a=n.length,s=e.min,l=e.max;if(d.isNil(s)&&(s=0),d.isNil(l)&&(l=n.length-1),!d.isNumber(i)||a<=i)return n.slice(s,l+1);if(i<=0||l<=0)return[];for(var u=1===i?a:Math.floor(a/(i-1)),c=[],f=s,h=0;h<i&&!(l<=f);h++)f=Math.min(s+h*u,l),c.push(h===i-1&&o?n[l]:n[f]);return c}},99164:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(31834),l=n(76951),u=n(66189),c=n(50273);t.default=function(e){var t=e.min,n=e.max,r=e.tickInterval,i=e.minLimit,o=e.maxLimit,a=l.default(e);return s.isNil(i)&&s.isNil(o)?r?u.default(t,n,r).ticks:a:c.default(e,s.head(a),s.last(a))}},25927:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerTickMethod=t.getTickMethod=void 0;var r=n(14091),i=n(99164),o=n(87159),a=n(57795),s=n(98323),l=n(85809),u=n(79821),c=n(94528),t=(Object.defineProperty(t,"getTickMethod",{enumerable:!0,get:function(){return c.getTickMethod}}),Object.defineProperty(t,"registerTickMethod",{enumerable:!0,get:function(){return c.registerTickMethod}}),n(69137)),f=n(65744),n=n(18228);c.registerTickMethod("cat",r.default),c.registerTickMethod("time-cat",f.default),c.registerTickMethod("wilkinson-extended",o.default),c.registerTickMethod("r-pretty",u.default),c.registerTickMethod("time",t.default),c.registerTickMethod("time-pretty",n.default),c.registerTickMethod("log",a.default),c.registerTickMethod("pow",s.default),c.registerTickMethod("quantile",l.default),c.registerTickMethod("d3-linear",i.default)},87159:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n(31834),u=n(36068),c=n(66189),f=n(50273);t.default=function(e){var t=e.min,n=e.max,r=e.tickCount,i=e.nice,o=e.tickInterval,a=e.minLimit,s=e.maxLimit,r=u.default(t,n,r,i).ticks;return l.isNil(a)&&l.isNil(s)?o?c.default(t,n,o).ticks:r:f.default(e,l.head(r),l.last(r))}},57795:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=n(94841);t.default=function(e){var t=e.base,n=e.tickCount,r=e.min,i=e.max,e=e.values,o=u.log(t,i);i=0<r?Math.floor(u.log(t,r)):(e=u.getLogPositiveMin(e,t,i),Math.floor(u.log(t,e)));for(var a=Math.ceil((o-i)/n),s=[],l=i;l<o+a;l+=a)s.push(Math.pow(t,l));return r<=0&&s.unshift(0),s}},98323:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(94841),o=n(12710);t.default=function(e){var n=e.exponent,t=e.tickCount,r=Math.ceil(i.calBase(n,e.max)),e=Math.floor(i.calBase(n,e.min));return o.default(e,r,t).ticks.map(function(e){var t=0<=e?1:-1;return Math.pow(e,n)*t})}},85809:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.tickCount,e=e.values;if(!e||!e.length)return[];for(var n,r,i,o=e.slice().sort(function(e,t){return e-t}),a=[],s=0;s<t;s++)a.push((r=s/(t-1),i=void 0,i=(n=o).length*r,1===r?n[n.length-1]:0===r?n[0]:i%1!=0?n[Math.ceil(i)-1]:n.length%2==0?(n[i-1]+n[i])/2:n[i]));return a}},79821:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(31834),l=n(66189),u=n(12710),c=n(50273);t.default=function(e){var t=e.min,n=e.max,r=e.tickCount,i=e.tickInterval,o=e.minLimit,a=e.maxLimit,r=u.default(t,n,r).ticks;return s.isNil(o)&&s.isNil(a)?i?l.default(t,n,i).ticks:r:c.default(e,s.head(r),s.last(r))}},94528:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerTickMethod=t.getTickMethod=void 0;var n={};t.getTickMethod=function(e){return n[e]},t.registerTickMethod=function(e,t){n[e]=t}},65744:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),i=n(14091);t.default=function(e){return i.default(r.__assign({showLast:!0},e))}},18228:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var P=n(52938);function k(e){return new Date(e).getFullYear()}function T(e){return new Date(e).getMonth()}t.default=function(e){var t,n=e.min,r=e.max,i=e.minTickInterval,o=e.tickCount,e=e.tickInterval,a=[],s=(e||(e=(r-n)/o,i&&e<i&&(e=i)),e=Math.max(Math.floor((r-n)/(Math.pow(2,12)-1)),e),k(n));if(e>P.YEAR)for(var l=k(r),u=Math.ceil(e/P.YEAR),c=s;c<=l+u;c+=u)a.push(new Date(c,0,1).getTime());else if(e>P.MONTH)for(var f=Math.ceil(e/P.MONTH),h=T(n),d=(o=r,t=k(i=n),C=k(o),i=T(i),12*(C-t)+(T(o)-i)%12),c=0;c<=d+f;c+=f)a.push(new Date(s,c+h,1).getTime());else if(e>P.DAY){var p=(b=new Date(n)).getFullYear(),y=b.getMonth(),m=b.getDate(),g=Math.ceil(e/P.DAY),v=Math.ceil((r-n)/P.DAY);for(c=0;c<v+g;c+=g)a.push(new Date(p,y,m+c).getTime())}else if(e>P.HOUR){var b,p=(b=new Date(n)).getFullYear(),y=b.getMonth(),g=b.getDate(),_=b.getHours(),x=Math.ceil(e/P.HOUR),w=Math.ceil((r-n)/P.HOUR);for(c=0;c<=w+x;c+=x)a.push(new Date(p,y,g,_+c).getTime())}else if(e>P.MINUTE){var A=Math.ceil((r-n)/6e4),S=Math.ceil(e/P.MINUTE);for(c=0;c<=A+S;c+=S)a.push(n+c*P.MINUTE)}else{var C=e,O=(C<P.SECOND&&(C=P.SECOND),Math.floor(n/P.SECOND)*P.SECOND),E=Math.ceil((r-n)/P.SECOND),M=Math.ceil(C/P.SECOND);for(c=0;c<E+M;c+=M)a.push(O+c*P.SECOND)}return 512<=a.length&&console.warn("Notice: current ticks length("+a.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+e+") is too small, increase the value to solve the problem!"),a}},69137:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(52938);t.default=function(e){var t=e.min,n=e.max,r=e.minTickInterval,i=e.tickInterval,e=e.tickCount;i?e=Math.ceil((n-t)/i):(1<(e=(n-t)/(i=s.getTickInterval(t,n,e)[1])/e)&&(i*=Math.ceil(e)),r&&i<r&&(i=r));for(var i=Math.max(Math.floor((n-t)/(Math.pow(2,12)-1)),i),o=[],a=t;a<n+i;a+=i)o.push(a);return o}},47023:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n(31834);t.default=function(s){return function(e,t,n,r){for(var i=l.isNil(n)?0:n,o=l.isNil(r)?e.length:r;i<o;){var a=i+o>>>1;s(e[a])>t?o=a:i=1+a}return i}}},76951:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.D3Linear=void 0,t.default=function(e){var t=e.min,n=e.max,r=e.nice,e=e.tickCount,i=new a;return i.domain([t,n]),r&&i.nice(e),i.ticks(e)};var r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2),a=(n.prototype.domain=function(e){return e?(this._domain=Array.from(e,Number),this):this._domain.slice()},n.prototype.nice=function(e){void 0===e&&(e=5);var t,n=this._domain.slice(),r=0,i=this._domain.length-1,o=this._domain[r],a=this._domain[i];return a<o&&(o=(t=[a,o])[0],a=t[1],r=(t=[i,r])[0],i=t[1]),0<(t=l(o,a,e))?t=l(o=Math.floor(o/t)*t,a=Math.ceil(a/t)*t,e):t<0&&(t=l(o=Math.ceil(o*t)/t,a=Math.floor(a*t)/t,e)),0<t?(n[r]=Math.floor(o/t)*t,n[i]=Math.ceil(a/t)*t,this.domain(n)):t<0&&(n[r]=Math.ceil(o*t)/t,n[i]=Math.floor(a*t)/t,this.domain(n)),this},n.prototype.ticks=function(e){void 0===e&&(e=5);var t,n,r,i=this._domain[0],o=this._domain[this._domain.length-1],a=void 0,s=-1;if(a=+(e||5),(i=+i)==(o=+o)&&0<a)return[i];if((e=o<i)&&(t=i,i=o,o=t),0===(r=l(i,o,a))||!isFinite(r))return[];if(0<r)for(i=Math.ceil(i/r),o=Math.floor(o/r),n=new Array(t=Math.ceil(o-i+1));++s<t;)n[s]=(i+s)*r;else for(i=Math.floor(i*r),o=Math.ceil(o*r),n=new Array(t=Math.ceil(i-o+1));++s<t;)n[s]=(i-s)/r;return e&&n.reverse(),n},n);function n(){this._domain=[0,1]}function l(e,t,n){t=(t-e)/Math.max(0,n),e=Math.floor(Math.log(t)/Math.LN10),n=t/Math.pow(10,e);return 0<=e?(r<=n?10:i<=n?5:o<=n?2:1)*Math.pow(10,e):-Math.pow(10,-e)/(r<=n?10:i<=n?5:o<=n?2:1)}t.D3Linear=a},36068:function(e,Y,t){"use strict";Object.defineProperty(Y,"__esModule",{value:!0}),Y.ALL_Q=Y.DEFAULT_Q=void 0;var G=t(31834),U=t(3878),Q=(Y.DEFAULT_Q=[1,5,2,2.5,4,3],Y.ALL_Q=[1,5,2,2.5,4,3,1.5,7,6,8,9],100*Number.EPSILON);Y.default=function(n,e,t,r,i,o){void 0===r&&(r=!0),void 0===i&&(i=Y.DEFAULT_Q),void 0===o&&(o=[.25,.2,.5,.05]);var a,s=(t=void 0===t?5:t)<0?0:Math.round(t);if(Number.isNaN(n)||Number.isNaN(e)||"number"!=typeof n||"number"!=typeof e||!s)return{min:0,max:0,ticks:[]};if(e-n<1e-15||1===s)return{min:n,max:e,ticks:[n]};if(1e148<e-n)return a=(e-n)/(E=t||5),{min:n,max:e,ticks:Array(E).fill(null).map(function(e,t){return U.prettyNumber(n+a*t)})};for(var l,u,c,f,h,B,d,R,p,y={score:-2,lmin:0,lmax:0,lstep:0},m=1;m<1/0;){for(var g=0;g<i.length;g+=1){var v=i[g],b=(B=v,d=i,R=m,p=void 0,p=G.size(d),1-G.indexOf(d,B)/(p-1)-R+1);if(o[0]*b+o[1]+o[2]+o[3]<y.score){m=1/0;break}for(var _=2;_<1/0;){var N=(h=s)<=(x=_)?2-(x-1)/(h-1):1;if(o[0]*b+o[1]+o[2]*N+o[3]<y.score)break;for(var x=(e-n)/(_+1)/m/v,w=Math.ceil(Math.log10(x));w<1/0;){var A=m*v*Math.pow(10,w),S=(O=e,(O-=n)<(S=A*(_-1))?1-Math.pow((S-O)/2,2)/Math.pow(.1*O,2):1);if(o[0]*b+o[1]*S+o[2]*N+o[3]<y.score)break;var C=Math.floor(e/A)*m-(_-1)*m,O=Math.ceil(n/A)*m;if(C<=O)for(var E=O-C,M=0;M<=E;M+=1){var P=(C+M)*(A/m),k=P+A*(_-1),z=A,T=(l=v,T=i,j=m,u=P,c=k,f=z,I=L=void 0,L=G.size(T),T=G.indexOf(T,l),l=0,1-T/(L-1)-j+(l=((I=(u%f+f)%f)<Q||f-I<Q)&&u<=0&&0<=c?1:l)),I=(L=P,j=void 0,j=e-(f=n),1-.5*(Math.pow(e-k,2)+Math.pow(f-L,2))/Math.pow(.1*j,2)),L=(u=n,c=((c=_)-1)/(k-(l=P)),f=((f=s)-1)/(Math.max(k,e)-Math.min(u,l)),2-Math.max(c/f,f/c)),j=o[0]*T+o[1]*I+o[2]*L+ +o[3];y.score<j&&(!r||P<=n&&e<=k)&&(y.lmin=P,y.lmax=k,y.lstep=z,y.score=j)}w+=1}_+=1}}m+=1}var t=U.prettyNumber(y.lmax),F=U.prettyNumber(y.lmin),V=U.prettyNumber(y.lstep),H=Math.floor(Math.round((t-F)/V*1e12)/1e12)+1,D=new Array(H);for(D[0]=U.prettyNumber(F),g=1;g<H;g++)D[g]=U.prettyNumber(D[g-1]+V);return{min:Math.min(n,G.head(D)),max:Math.max(e,G.last(D)),ticks:D}}},66189:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n(31834);function u(e,t,n){return("ceil"===n?Math.ceil(e/t):"floor"===n?Math.floor(e/t):Math.round(e/t))*t}t.default=function(e,t,n){for(var e=u(e,n,"floor"),r=u(t,n,"ceil"),e=l.fixedBase(e,n),r=l.fixedBase(r,n),i=[],o=Math.max((r-e)/(Math.pow(2,12)-1),n),a=e;a<=r;a+=o){var s=l.fixedBase(a,o);i.push(s)}return{min:e,max:r,ticks:i}}},94841:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.precisionAdd=t.getLogPositiveMin=t.log=t.calBase=void 0;var i=n(31834);function o(e){e=e.toString().split(/[eE]/),e=(e[0].split(".")[1]||"").length-+(e[1]||0);return 0<e?e:0}t.calBase=function(e,t){var n=Math.E;return 0<=t?Math.pow(n,Math.log(t)/e):-1*Math.pow(n,Math.log(-t)/e)},t.log=function(e,t){return 1===e?1:Math.log(t)/Math.log(e)},t.getLogPositiveMin=function(e,t,n){var r=n=i.isNil(n)?Math.max.apply(null,e):n;return i.each(e,function(e){0<e&&e<r&&(r=e)}),r=1<(r=r===n?n/t:r)?1:r},t.precisionAdd=function(e,t){var n=o(e),r=o(t),n=Math.pow(10,Math.max(n,r));return(e*n+t*n)/n}},3878:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prettyNumber=void 0,t.prettyNumber=function(e){return Math.abs(e)<1e-15?e:parseFloat(e.toFixed(15))}},12710:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=n(3878);t.default=function(e,t,n){if(e===t)return{max:t,min:e,ticks:[e]};n=(n=void 0===n?5:n)<0?0:Math.round(n);if(0===n)return{max:t,min:e,ticks:[]};var n=(t-e)/n,r=Math.pow(10,Math.floor(Math.log10(n))),i=r;2*r-n<1.5*(n-i)&&5*r-n<2.75*(n-(i=2*r))&&10*r-n<1.5*(n-(i=5*r))&&(i=10*r);for(var n=Math.ceil(t/i),r=Math.floor(e/i),n=Math.max(n*i,t),o=Math.min(r*i,e),a=Math.floor((n-o)/i)+1,s=new Array(a),l=0;l<a;l++)s[l]=u.prettyNumber(o+l*i);return{min:o,max:n,ticks:s}}},50273:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=n(31834);t.default=function(e,t,n){var r=e.minLimit,i=e.maxLimit,o=e.min,a=e.max,e=e.tickCount,s=void 0===e?5:e,l=h.isNil(r)?h.isNil(t)?o:t:r,e=h.isNil(i)?h.isNil(n)?a:n:i;if(e<l&&(e=(o=[l,e])[0],l=o[1]),s<=2)return[l,e];for(var u=(e-l)/(s-1),c=[],f=0;f<s;f++)c.push(l+u*f);return c}},52938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTickInterval=t.YEAR=t.MONTH=t.DAY=t.HOUR=t.MINUTE=t.SECOND=t.toTimeStamp=t.timeFormat=void 0;var r=n(31834),i=n(95676),o=n(95676),a=n(47023),s=(t.timeFormat=function(e,t){return(o.format||i.default.format)(e,t)},t.toTimeStamp=function(e){return r.isString(e)&&(e=(0<e.indexOf("T")?new Date(e):new Date(e.replace(/-/gi,"/"))).getTime()),e=r.isDate(e)?e.getTime():e},t.SECOND=1e3,t.MINUTE=6e4,t.HOUR=36e5,t.DAY=864e5,t.MONTH=26784e5,t.YEAR=31536e6,[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",36e5],["HH",216e5],["HH",432e5],["YYYY-MM-DD",864e5],["YYYY-MM-DD",3456e5],["YYYY-WW",6048e5],["YYYY-MM",26784e5],["YYYY-MM",107136e5],["YYYY-MM",160704e5],["YYYY",32832e6]]);t.getTickInterval=function(e,t,n){t=(t-e)/n,e=a.default(function(e){return e[1]})(s,t)-1,n=s[e];return e<0?n=s[0]:s.length<=e&&(n=r.last(s)),n}},8178:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10014),a=n(33259);t.default=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=1;r<e.length;r++){var i=e[r];a.default(i)&&(i=i.prototype),o.default(n.prototype,i)}}},69855:function(e,t){"use strict";function n(){this.map={}}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.has=function(e){return void 0!==this.map[e]},n.prototype.get=function(e,t){e=this.map[e];return void 0===e?t:e},n.prototype.set=function(e,t){this.map[e]=t},n.prototype.clear=function(){this.map={}},n.prototype.delete=function(e){delete this.map[e]},n.prototype.size=function(){return Object.keys(this.map).length},t.default=n},50076:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return e<t?t:n<e?n:e}},27866:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(e)}},37441:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var s=n(29021);t.default=function e(t){if("object"!==a(t)||null===t)return t;if(s.default(t))for(var n=[],r=0,i=t.length;r<i;r++)"object"===a(t[r])&&null!=t[r]?n[r]=e(t[r]):n[r]=t[r];else for(var o in n={},t)"object"===a(t[o])&&null!=t[o]?n[o]=e(t[o]):n[o]=t[o];return n}},79114:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(69104);t.default=function(e,t){return!!r.default(e)&&-1<e.indexOf(t)}},95323:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r,i,o){var a;return function(){var e=this,t=arguments,n=o&&!a;clearTimeout(a),a=setTimeout(function(){a=null,o||r.apply(e,t)},i),n&&r.apply(e,t)}}},5441:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(29021),l=n(18942);t.default=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r+=1)!function e(t,n,r,i){for(var o in r=r||0,i=i||5,n){var a;n.hasOwnProperty(o)&&(null!==(a=n[o])&&l.default(a)?(l.default(t[o])||(t[o]={}),r<i?e(t[o],a,r+1,i):t[o]=n[o]):s.default(a)?(t[o]=[],t[o]=t[o].concat(a)):void 0!==a&&(t[o]=a))}}(e,t[r]);return e}},79627:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(22330),i=n(79114);t.default=function(e,t){return void 0===t&&(t=[]),r.default(e,function(e){return!i.default(t,e)})}},9070:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(29021),a=n(72886);t.default=function(e,t){if(e)if(o.default(e))for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);else if(a.default(e))for(var i in e)if(e.hasOwnProperty(i)&&!1===t(e[i],i))break}},44168:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29021),i=n(99034);t.default=function(e,t){return!(!r.default(e)&&!i.default(e))&&e[e.length-1]===t}},93744:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=0;n<e.length;n++)if(!t(e[n],n))return!1;return!0}},60865:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(10014),s=n(33259);t.default=function(e,t,n,r){s.default(t)||(n=t,t=e,e=function(){});var i=Object.create?function(e,t){return Object.create(e,{constructor:{value:t}})}:function(e,t){function n(){}n.prototype=e;e=new n;return e.constructor=t,e},o=i(t.prototype,e);return e.prototype=a.default(o,e.prototype),e.superclass=i(t.prototype,t),a.default(o,n),a.default(e,r),e}},22330:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(69104);t.default=function(e,t){if(!o.default(e))return e;for(var n=[],r=0;r<e.length;r++){var i=e[r];t(i,r)&&n.push(i)}return n}},82301:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r=n=void 0===n?0:n;r<e.length;r++)if(t(e[r],r))return r;return-1}},19776:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(33259),o=n(63893),a=n(29021),s=n(18942);t.default=function(e,t){var n;if(a.default(e)&&(i.default(t)&&(n=t),n=s.default(t)?function(e){return o.default(e,t)}:n))for(var r=0;r<e.length;r+=1)if(n(e[r]))return e[r];return null}},31490:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(54184),a=n(29021);t.default=function(e,t){for(var n=null,r=0;r<e.length;r++){var i=e[r][t];if(!o.default(i)){n=a.default(i)?i[0]:i;break}}return n}},38026:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var t=t.toString(),n=t.indexOf(".");return-1===n?Math.round(e):(20<(t=t.substr(n+1).length)&&(t=20),parseFloat(e.toFixed(t)))}},60089:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(29021);t.default=function e(t,n){if(void 0===n&&(n=[]),i.default(t))for(var r=0;r<t.length;r+=1)e(t[r],n);else n.push(t);return n}},17513:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29021);t.default=function(e){if(!r.default(e))return[];for(var t=[],n=0;n<e.length;n++)t=t.concat(e[n]);return t}},38117:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=n(9070);t.default=n.default},79070:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=n(99034),f=n(90344),h=n(47696);t.default=function(e,t,n,r){var i,o,a=h.default(r=void 0===r?"...":r,n),s=c.default(e)?e:f.default(e),l=t,u=[];if(h.default(e,n)<=t)return e;for(;i=s.substr(0,16),!((o=h.default(i,n))+a>l&&l<o);)if(u.push(i),l-=o,!(s=s.substr(16)))return u.join("");for(;i=s.substr(0,1),!((o=h.default(i,n))+a>l);)if(u.push(i),l-=o,!(s=s.substr(1)))return u.join("");return""+u.join("")+r}},18008:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(29021),a=n(59625),s=n(95667);t.default=function(e){var t=e.filter(function(e){return!isNaN(e)});if(!t.length)return{min:0,max:0};if(o.default(e[0])){for(var n=[],r=0;r<e.length;r++)n=n.concat(e[r]);t=n}var i=a.default(t);return{min:s.default(t),max:i}}},64618:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={}.toString;t.default=function(e){return n.call(e).replace(/^\[object /,"").replace(/]$/,"")}},7441:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e["_wrap_"+t]}},66908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(99034);t.default=function(e,t,n){for(var r=0,i=o.default(t)?t.split("."):t;e&&r<i.length;)e=e[i[r++]];return void 0===e||r<i.length?n:e}},81154:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(29021),l=n(33259),u=Object.prototype.hasOwnProperty;t.default=function(e,t){if(!t||!s.default(e))return{};for(var n={},r=l.default(t)?t:function(e){return e[t]},i=0;i<e.length;i++){var o=e[i],a=r(o);u.call(n,a)?n[a].push(o):n[a]=[o]}return n}},34135:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29021),o=n(33259),a=n(81154);t.default=function(e,t){var i;return t?(o.default(t)||(i=r.default(t)?t:t.replace(/\s+/g,"").split("*"),t=function(e){for(var t="_",n=0,r=i.length;n<r;n++)t+=e[i[n]]&&e[i[n]].toString();return t}),a.default(e,t)):{0:e}}},48347:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(34135);t.default=function(e,t){if(!t)return[e];var n,r=o.default(e,t),i=[];for(n in r)i.push(r[n]);return i}},70396:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=n(76942);t.default=n.default},41074:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(79114),i=n(26659);t.default=function(e,t){return r.default(i.default(e),t)}},76942:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.hasOwnProperty(t)}},62848:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(69104);t.default=function(e){if(r.default(e))return e[0]}},50151:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},48418:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(69104);t.default=function(e,t){if(!o.default(e))return-1;var n=Array.prototype.indexOf;if(n)return n.call(e,t);for(var r=-1,i=0;i<e.length;i++)if(e[i]===t){r=i;break}return r}},31834:function(B,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=t(79114),r=(Object.defineProperty(e,"contains",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"includes",{enumerable:!0,get:function(){return n.default}}),t(79627)),i=(Object.defineProperty(e,"difference",{enumerable:!0,get:function(){return r.default}}),t(19776)),o=(Object.defineProperty(e,"find",{enumerable:!0,get:function(){return i.default}}),t(82301)),a=(Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return o.default}}),t(31490)),s=(Object.defineProperty(e,"firstValue",{enumerable:!0,get:function(){return a.default}}),t(17513)),l=(Object.defineProperty(e,"flatten",{enumerable:!0,get:function(){return s.default}}),t(60089)),u=(Object.defineProperty(e,"flattenDeep",{enumerable:!0,get:function(){return l.default}}),t(18008)),c=(Object.defineProperty(e,"getRange",{enumerable:!0,get:function(){return u.default}}),t(36710)),f=(Object.defineProperty(e,"pull",{enumerable:!0,get:function(){return c.default}}),t(97683)),h=(Object.defineProperty(e,"pullAt",{enumerable:!0,get:function(){return f.default}}),t(36237)),d=(Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return h.default}}),t(86790)),p=(Object.defineProperty(e,"remove",{enumerable:!0,get:function(){return d.default}}),t(74241)),y=(Object.defineProperty(e,"sortBy",{enumerable:!0,get:function(){return p.default}}),t(26622)),m=(Object.defineProperty(e,"union",{enumerable:!0,get:function(){return y.default}}),t(67919)),g=(Object.defineProperty(e,"uniq",{enumerable:!0,get:function(){return m.default}}),t(47328)),v=(Object.defineProperty(e,"valuesOfKey",{enumerable:!0,get:function(){return g.default}}),t(62848)),b=(Object.defineProperty(e,"head",{enumerable:!0,get:function(){return v.default}}),t(71049)),_=(Object.defineProperty(e,"last",{enumerable:!0,get:function(){return b.default}}),t(1828)),x=(Object.defineProperty(e,"startsWith",{enumerable:!0,get:function(){return _.default}}),t(44168)),w=(Object.defineProperty(e,"endsWith",{enumerable:!0,get:function(){return x.default}}),t(22330)),A=(Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return w.default}}),t(93744)),S=(Object.defineProperty(e,"every",{enumerable:!0,get:function(){return A.default}}),t(18830)),C=(Object.defineProperty(e,"some",{enumerable:!0,get:function(){return S.default}}),t(48347)),O=(Object.defineProperty(e,"group",{enumerable:!0,get:function(){return C.default}}),t(81154)),E=(Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return O.default}}),t(34135)),M=(Object.defineProperty(e,"groupToMap",{enumerable:!0,get:function(){return E.default}}),t(7441)),P=(Object.defineProperty(e,"getWrapBehavior",{enumerable:!0,get:function(){return M.default}}),t(14635)),k=(Object.defineProperty(e,"wrapBehavior",{enumerable:!0,get:function(){return P.default}}),t(25651)),T=(Object.defineProperty(e,"number2color",{enumerable:!0,get:function(){return k.default}}),t(18359)),I=(Object.defineProperty(e,"parseRadius",{enumerable:!0,get:function(){return T.default}}),t(50076)),L=(Object.defineProperty(e,"clamp",{enumerable:!0,get:function(){return I.default}}),t(38026)),j=(Object.defineProperty(e,"fixedBase",{enumerable:!0,get:function(){return L.default}}),t(63574)),R=(Object.defineProperty(e,"isDecimal",{enumerable:!0,get:function(){return j.default}}),t(17037)),N=(Object.defineProperty(e,"isEven",{enumerable:!0,get:function(){return R.default}}),t(45168)),z=(Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return N.default}}),t(78474)),F=(Object.defineProperty(e,"isNegative",{enumerable:!0,get:function(){return z.default}}),t(36373)),V=(Object.defineProperty(e,"isNumberEqual",{enumerable:!0,get:function(){return F.default}}),t(5345)),H=(Object.defineProperty(e,"isOdd",{enumerable:!0,get:function(){return V.default}}),t(68092)),Y=(Object.defineProperty(e,"isPositive",{enumerable:!0,get:function(){return H.default}}),t(59625)),G=(Object.defineProperty(e,"max",{enumerable:!0,get:function(){return Y.default}}),t(87787)),U=(Object.defineProperty(e,"maxBy",{enumerable:!0,get:function(){return G.default}}),t(95667)),Q=(Object.defineProperty(e,"min",{enumerable:!0,get:function(){return U.default}}),t(72283)),W=(Object.defineProperty(e,"minBy",{enumerable:!0,get:function(){return Q.default}}),t(25645)),q=(Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return W.default}}),t(6514)),K=(Object.defineProperty(e,"toDegree",{enumerable:!0,get:function(){return q.default}}),t(389)),X=(Object.defineProperty(e,"toInteger",{enumerable:!0,get:function(){return K.default}}),t(76227)),J=(Object.defineProperty(e,"toRadian",{enumerable:!0,get:function(){return X.default}}),t(38117)),$=(Object.defineProperty(e,"forIn",{enumerable:!0,get:function(){return J.default}}),t(76942)),Z=(Object.defineProperty(e,"has",{enumerable:!0,get:function(){return $.default}}),t(70396)),ee=(Object.defineProperty(e,"hasKey",{enumerable:!0,get:function(){return Z.default}}),t(41074)),te=(Object.defineProperty(e,"hasValue",{enumerable:!0,get:function(){return ee.default}}),t(95439)),ne=(Object.defineProperty(e,"keys",{enumerable:!0,get:function(){return te.default}}),t(63893)),re=(Object.defineProperty(e,"isMatch",{enumerable:!0,get:function(){return ne.default}}),t(26659)),ie=(Object.defineProperty(e,"values",{enumerable:!0,get:function(){return re.default}}),t(63026)),oe=(Object.defineProperty(e,"lowerCase",{enumerable:!0,get:function(){return ie.default}}),t(23863)),ae=(Object.defineProperty(e,"lowerFirst",{enumerable:!0,get:function(){return oe.default}}),t(57956)),se=(Object.defineProperty(e,"substitute",{enumerable:!0,get:function(){return ae.default}}),t(46981)),le=(Object.defineProperty(e,"upperCase",{enumerable:!0,get:function(){return se.default}}),t(57880)),ue=(Object.defineProperty(e,"upperFirst",{enumerable:!0,get:function(){return le.default}}),t(64618)),ce=(Object.defineProperty(e,"getType",{enumerable:!0,get:function(){return ue.default}}),t(72692)),fe=(Object.defineProperty(e,"isArguments",{enumerable:!0,get:function(){return ce.default}}),t(29021)),he=(Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return fe.default}}),t(69104)),de=(Object.defineProperty(e,"isArrayLike",{enumerable:!0,get:function(){return he.default}}),t(12646)),pe=(Object.defineProperty(e,"isBoolean",{enumerable:!0,get:function(){return de.default}}),t(29449)),ye=(Object.defineProperty(e,"isDate",{enumerable:!0,get:function(){return pe.default}}),t(79558)),me=(Object.defineProperty(e,"isError",{enumerable:!0,get:function(){return ye.default}}),t(33259)),ge=(Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return me.default}}),t(88355)),ve=(Object.defineProperty(e,"isFinite",{enumerable:!0,get:function(){return ge.default}}),t(54184)),be=(Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return ve.default}}),t(93698)),_e=(Object.defineProperty(e,"isNull",{enumerable:!0,get:function(){return be.default}}),t(82579)),xe=(Object.defineProperty(e,"isNumber",{enumerable:!0,get:function(){return _e.default}}),t(72886)),we=(Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return xe.default}}),t(4418)),Ae=(Object.defineProperty(e,"isObjectLike",{enumerable:!0,get:function(){return we.default}}),t(18942)),Se=(Object.defineProperty(e,"isPlainObject",{enumerable:!0,get:function(){return Ae.default}}),t(52242)),Ce=(Object.defineProperty(e,"isPrototype",{enumerable:!0,get:function(){return Se.default}}),t(96308)),Oe=(Object.defineProperty(e,"isRegExp",{enumerable:!0,get:function(){return Ce.default}}),t(99034)),Ee=(Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return Oe.default}}),t(9145)),Me=(Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return Ee.default}}),t(72491)),Pe=(Object.defineProperty(e,"isUndefined",{enumerable:!0,get:function(){return Me.default}}),t(10119)),ke=(Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return Pe.default}}),t(59908)),Te=(Object.defineProperty(e,"requestAnimationFrame",{enumerable:!0,get:function(){return ke.default}}),t(27866)),Ie=(Object.defineProperty(e,"clearAnimationFrame",{enumerable:!0,get:function(){return Te.default}}),t(8178)),Le=(Object.defineProperty(e,"augment",{enumerable:!0,get:function(){return Ie.default}}),t(37441)),je=(Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return Le.default}}),t(95323)),De=(Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return je.default}}),t(98887)),Be=(Object.defineProperty(e,"memoize",{enumerable:!0,get:function(){return De.default}}),t(5441)),Re=(Object.defineProperty(e,"deepMix",{enumerable:!0,get:function(){return Be.default}}),t(9070)),Ne=(Object.defineProperty(e,"each",{enumerable:!0,get:function(){return Re.default}}),t(60865)),ze=(Object.defineProperty(e,"extend",{enumerable:!0,get:function(){return Ne.default}}),t(48418)),Fe=(Object.defineProperty(e,"indexOf",{enumerable:!0,get:function(){return ze.default}}),t(725)),Ve=(Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return Fe.default}}),t(38570)),He=(Object.defineProperty(e,"isEqual",{enumerable:!0,get:function(){return Ve.default}}),t(75567)),Ye=(Object.defineProperty(e,"isEqualWith",{enumerable:!0,get:function(){return He.default}}),t(60453)),Ge=(Object.defineProperty(e,"map",{enumerable:!0,get:function(){return Ye.default}}),t(54921)),D=(Object.defineProperty(e,"mapValues",{enumerable:!0,get:function(){return Ge.default}}),t(10014)),Ue=(Object.defineProperty(e,"mix",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"assign",{enumerable:!0,get:function(){return D.default}}),t(66908)),Qe=(Object.defineProperty(e,"get",{enumerable:!0,get:function(){return Ue.default}}),t(13272)),We=(Object.defineProperty(e,"set",{enumerable:!0,get:function(){return Qe.default}}),t(38733)),qe=(Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return We.default}}),t(22254)),Ke=(Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return qe.default}}),t(57024)),Xe=(Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return Ke.default}}),t(63317)),Je=(Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return Xe.default}}),t(90344)),$e=(Object.defineProperty(e,"toString",{enumerable:!0,get:function(){return Je.default}}),t(80174)),Ze=(Object.defineProperty(e,"uniqueId",{enumerable:!0,get:function(){return $e.default}}),t(53589)),et=(Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return Ze.default}}),t(50151)),tt=(Object.defineProperty(e,"identity",{enumerable:!0,get:function(){return et.default}}),t(54750)),nt=(Object.defineProperty(e,"size",{enumerable:!0,get:function(){return tt.default}}),t(47696)),rt=(Object.defineProperty(e,"measureTextWidth",{enumerable:!0,get:function(){return nt.default}}),t(79070)),it=(Object.defineProperty(e,"getEllipsisText",{enumerable:!0,get:function(){return rt.default}}),t(69855));Object.defineProperty(e,"Cache",{enumerable:!0,get:function(){return it.default}})},72692:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9145);t.default=function(e){return r.default(e,"Arguments")}},69104:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e&&"function"!=typeof e&&isFinite(e.length)}},29021:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9145);t.default=function(e){return Array.isArray?Array.isArray(e):r.default(e,"Array")}},12646:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9145);t.default=function(e){return r.default(e,"Boolean")}},29449:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9145);t.default=function(e){return r.default(e,"Date")}},63574:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82579);t.default=function(e){return r.default(e)&&e%1!=0}},10119:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Element||e instanceof HTMLDocument}},725:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(54184),i=n(69104),o=n(64618),a=n(52242),s=Object.prototype.hasOwnProperty;t.default=function(e){if(!r.default(e)){if(i.default(e))return!e.length;var t,n=o.default(e);if("Map"===n||"Set"===n)return!e.size;if(a.default(e))return!Object.keys(e).length;for(t in e)if(s.call(e,t))return!1}return!0}},75567:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(33259),i=n(38570);t.default=function(e,t,n){return r.default(n)?!!n(e,t):i.default(e,t)}},38570:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(4418),l=n(69104),u=n(99034);t.default=function e(t,n){if(t===n)return!0;if(t&&n&&!u.default(t)&&!u.default(n)){if(l.default(t)||l.default(n)){if(t.length!==n.length)return!1;for(var r=!0,i=0;i<t.length&&(r=e(t[i],n[i]));i++);return r}if(s.default(t)||s.default(n)){var o=Object.keys(t),a=Object.keys(n);if(o.length!==a.length)return!1;for(r=!0,i=0;i<o.length&&(r=e(t[o[i]],n[o[i]]));i++);return r}}return!1}},79558:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9145);t.default=function(e){return r.default(e,"Error")}},17037:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82579);t.default=function(e){return r.default(e)&&e%2==0}},88355:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82579);t.default=function(e){return r.default(e)&&isFinite(e)}},33259:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9145);t.default=function(e){return r.default(e,"Function")}},45168:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82579),n=Number.isInteger||function(e){return r.default(e)&&e%1==0};t.default=n},63893:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(54184),s=n(95439);t.default=function(e,t){var n=s.default(t),r=n.length;if(a.default(e))return!r;for(var i=0;i<r;i+=1){var o=n[i];if(t[o]!==e[o]||!(o in e))return!1}return!0}},78474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82579);t.default=function(e){return r.default(e)&&e<0}},54184:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null==e}},93698:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e}},36373:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)<n}},82579:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9145);t.default=function(e){return r.default(e,"Number")}},4418:function(e,t){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"===n(e)&&null!==e}},72886:function(e,t){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=n(e);return null!==e&&"object"===t||"function"===t}},5345:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82579);t.default=function(e){return r.default(e)&&e%2!=0}},18942:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4418),i=n(9145);t.default=function(e){if(!r.default(e)||!i.default(e,"Object"))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},68092:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82579);t.default=function(e){return r.default(e)&&0<e}},52242:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.prototype;t.default=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},96308:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9145);t.default=function(e){return r.default(e,"RegExp")}},99034:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9145);t.default=function(e){return r.default(e,"String")}},9145:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={}.toString;t.default=function(e,t){return n.call(e)==="[object "+t+"]"}},72491:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return void 0===e}},95439:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9070),o=n(33259),n=Object.keys?function(e){return Object.keys(e)}:function(n){var r=[];return i.default(n,function(e,t){o.default(n)&&"prototype"===t||r.push(t)}),r};t.default=n},71049:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(69104);t.default=function(e){if(r.default(e))return e[e.length-1]}},63026:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(90344);t.default=function(e){return r.default(e).toLowerCase()}},23863:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(90344);t.default=function(e){e=r.default(e);return e.charAt(0).toLowerCase()+e.substring(1)}},54921:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function i(e){return e}var o=n(54184),a=n(72886);t.default=function(t,n){void 0===n&&(n=i);var r={};return a.default(t)&&!o.default(t)&&Object.keys(t).forEach(function(e){r[e]=n(t[e],e)}),r}},60453:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(69104);t.default=function(e,t){if(!o.default(e))return e;for(var n=[],r=0;r<e.length;r++){var i=e[r];n.push(t(i,r))}return n}},87787:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(29021),l=n(33259);t.default=function(e,t){if(s.default(e)){for(var n,r=-1/0,i=0;i<e.length;i++){var o=e[i],a=l.default(t)?t(o):o[t];r<a&&(n=o,r=a)}return n}}},59625:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29021);t.default=function(e){if(r.default(e))return e.reduce(function(e,t){return Math.max(e,t)},e[0])}},47696:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(97582),i=n(26659),o=n(98887),s=n(99034);t.default=o.default(function(e,t){var n=(t=void 0===t?{}:t).fontSize,r=t.fontFamily,i=t.fontWeight,o=t.fontStyle,t=t.fontVariant;return(a=a||document.createElement("canvas").getContext("2d")).font=[o,t,i,n+"px",r].join(" "),a.measureText(s.default(e)?e:"").width},function(e,t){return r.__spreadArrays([e],i.default(t=void 0===t?{}:t)).join("")})},98887:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(33259);t.default=function(a,s){var e;if(r.default(a))return(e=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r,i=s?s.apply(this,t):t[0],o=e.cache;return o.has(i)?o.get(i):(r=a.apply(this,t),o.set(i,r),r)}).cache=new Map,e;throw new TypeError("Expected a function")}},72283:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(29021),l=n(33259);t.default=function(e,t){if(s.default(e)){for(var n,r=1/0,i=0;i<e.length;i++){var o=e[i],a=l.default(t)?t(o):o[t];a<r&&(n=o,r=a)}return n}}},95667:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29021);t.default=function(e){if(r.default(e))return e.reduce(function(e,t){return Math.min(e,t)},e[0])}},10014:function(e,t){"use strict";function i(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){return t&&i(e,t),n&&i(e,n),r&&i(e,r),e}},25645:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e%t+t)%t}},53589:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},25651:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={};t.default=function(e){var t=i[e];if(!t){for(var n=e.toString(16),r=n.length;r<6;r++)n="0"+n;i[e]=t="#"+n}return t}},22254:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(36237);t.default=function(e,r){return i.default(e,function(e,t,n){return r.includes(n)||(e[n]=t),e},{})}},18359:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(29021);t.default=function(e){var t=0,n=0,r=0,i=0;return o.default(e)?1===e.length?t=n=r=i=e[0]:2===e.length?(t=r=e[0],n=i=e[1]):3===e.length?(t=e[0],n=i=e[1],r=e[2]):(t=e[0],n=e[1],r=e[2],i=e[3]):t=n=r=i=e,{r1:t,r2:n,r3:r,r4:i}}},38733:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9070),i=n(18942),o=Object.prototype.hasOwnProperty;t.default=function(t,e){var n;return null!==t&&i.default(t)?(n={},r.default(e,function(e){o.call(t,e)&&(n[e]=t[e])}),n):{}}},97683:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(69104),a=Array.prototype.splice;t.default=function(e,t){if(!o.default(e))return[];for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];n!==r&&void 0===i||a.call(e,i,1)}return e}},36710:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Array.prototype,a=n.splice,s=n.indexOf;t.default=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)for(var i,o=t[r];-1<(i=s.call(e,o));)a.call(e,i,1);return e}},36237:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9070),o=n(29021),a=n(18942);t.default=function(e,n,t){var r;return o.default(e)||a.default(e)?(r=t,i.default(e,function(e,t){r=n(r,e,t)}),r):e}},86790:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(69104),l=n(97683);t.default=function(e,t){var n=[];if(s.default(e)){for(var r=-1,i=[],o=e.length;++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}l.default(e,i)}return n}},59908:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16)})(e)}},13272:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(72886),a=n(99034),s=n(82579);t.default=function(e,t,n){var r=e,i=a.default(t)?t.split("."):t;return i.forEach(function(e,t){t<i.length-1?(o.default(r[e])||(r[e]=s.default(i[t+1])?[]:{}),r=r[e]):r[e]=n}),e}},54750:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(54184),i=n(69104);t.default=function(e){return r.default(e)?0:(i.default(e)?e:Object.keys(e)).length}},18830:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n))return!0;return!1}},74241:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29021),o=n(99034),a=n(33259);t.default=function(e,n){var i,t=a.default(n)?function(e,t){return n(e)-n(t)}:(i=[],o.default(n)?i.push(n):r.default(n)&&(i=n),function(e,t){for(var n=0;n<i.length;n+=1){var r=i[n];if(e[r]>t[r])return 1;if(e[r]<t[r])return-1}return 0});return e.sort(t),e}},1828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29021),i=n(99034);t.default=function(e,t){return!(!r.default(e)&&!i.default(e))&&e[0]===t}},57956:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,n){return e&&n?e.replace(/\\?\{([^{}]+)\}/g,function(e,t){return"\\"===e.charAt(0)?e.slice(1):void 0===n[t]?"":n[t]}):e}},57024:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n,r,i){function o(){c=!1===i.leading?0:Date.now(),a=null,u=n.apply(s,l),a||(s=l=null)}function e(){var e=Date.now(),t=(c||!1!==i.leading||(c=e),r-(e-c));return s=this,l=arguments,t<=0||r<t?(a&&(clearTimeout(a),a=null),c=e,u=n.apply(s,l),a||(s=l=null)):a||!1===i.trailing||(a=setTimeout(o,t)),u}var a,s,l,u,c=0;i=i||{};return e.cancel=function(){clearTimeout(a),c=0,a=s=l=null},e}},63317:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(69104);t.default=function(e){return r.default(e)?Array.prototype.slice.call(e):[]}},6514:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=180/Math.PI;t.default=function(e){return n*e}},389:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=parseInt},76227:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Math.PI/180;t.default=function(e){return n*e}},90344:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(54184);t.default=function(e){return r.default(e)?"":e.toString()}},26622:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67919);t.default=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.default([].concat.apply([],e))}},67919:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t=new Map);var n=[];if(Array.isArray(e))for(var r=0,i=e.length;r<i;r++){var o=e[r];t.has(o)||(n.push(o),t.set(o,!0))}return n}},80174:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={};t.default=function(e){return n[e=e||"g"]?n[e]+=1:n[e]=1,e+n[e]}},46981:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(90344);t.default=function(e){return r.default(e).toUpperCase()}},57880:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(90344);t.default=function(e){e=r.default(e);return e.charAt(0).toUpperCase()+e.substring(1)}},47328:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n(29021),u=n(54184);t.default=function(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i][t];if(!u.default(o)){l.default(o)||(o=[o]);for(var a=0;a<o.length;a++){var s=o[a];r[s]||(n.push(s),r[s]=!0)}}}return n}},26659:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9070),o=n(33259),n=Object.values?function(e){return Object.values(e)}:function(n){var r=[];return i.default(n,function(e,t){o.default(n)&&"prototype"===t||r.push(e)}),r};t.default=n},14635:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t,n){return t["_wrap_"+n]||(t["_wrap_"+n]=function(e){t[n](e)})}},48211:function(e,t,n){var r,s=n(67380),l={};for(r in s)s.hasOwnProperty(r)&&(l[s[r]]=r);var i,o=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(i in o)if(o.hasOwnProperty(i)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);var a=o[i].channels,u=o[i].labels;delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:a}),Object.defineProperty(o[i],"labels",{value:u})}o.rgb.hsl=function(e){var t,n=e[0]/255,r=e[1]/255,e=e[2]/255,i=Math.min(n,r,e),o=Math.max(n,r,e),a=o-i;return o===i?t=0:n===o?t=(r-e)/a:r===o?t=2+(e-n)/a:e===o&&(t=4+(n-r)/a),(t=Math.min(60*t,360))<0&&(t+=360),e=(i+o)/2,[t,100*(o===i?0:e<=.5?a/(o+i):a/(2-o-i)),100*e]},o.rgb.hsv=function(e){function t(e){return(u-e)/6/c+.5}var n,r,i,o,a,s=e[0]/255,l=e[1]/255,e=e[2]/255,u=Math.max(s,l,e),c=u-Math.min(s,l,e);return 0==c?o=a=0:(a=c/u,n=t(s),r=t(l),i=t(e),s===u?o=i-r:l===u?o=1/3+n-i:e===u&&(o=2/3+r-n),o<0?o+=1:1<o&&--o),[360*o,100*a,100*u]},o.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[o.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(1-1/255*Math.max(t,Math.max(n,r)))]},o.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,e=e[2]/255;return[100*((1-t-(t=Math.min(1-t,1-n,1-e)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-e-t)/(1-t)||0),100*t]},o.rgb.keyword=function(e){var t=l[e];if(t)return t;var n,r,i,o,a=1/0;for(i in s)s.hasOwnProperty(i)&&(o=e,r=s[i],(o=Math.pow(o[0]-r[0],2)+Math.pow(o[1]-r[1],2)+Math.pow(o[2]-r[2],2))<a)&&(a=o,n=i);return n},o.keyword.rgb=function(e){return s[e]},o.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,e=e[2]/255;return[100*(.4124*(t=.04045<t?Math.pow((.055+t)/1.055,2.4):t/12.92)+.3576*(n=.04045<n?Math.pow((.055+n)/1.055,2.4):n/12.92)+.1805*(e=.04045<e?Math.pow((.055+e)/1.055,2.4):e/12.92)),100*(.2126*t+.7152*n+.0722*e),100*(.0193*t+.1192*n+.9505*e)]},o.rgb.lab=function(e){var e=o.rgb.xyz(e),t=e[0],n=e[1],e=e[2];return n/=100,e/=108.883,t=.008856<(t/=95.047)?Math.pow(t,1/3):7.787*t+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(.008856<e?Math.pow(e,1/3):7.787*e+16/116))]},o.hsl.rgb=function(e){var t,n,r,i=e[0]/360,o=e[1]/100,e=e[2]/100;if(0==o)return[r=255*e,r,r];for(var a=2*e-(t=e<.5?e*(1+o):e+o-e*o),s=[0,0,0],l=0;l<3;l++)(n=i+1/3*-(l-1))<0&&n++,1<n&&n--,s[l]=255*(r=6*n<1?a+6*(t-a)*n:2*n<1?t:3*n<2?a+(t-a)*(2/3-n)*6:a);return s},o.hsl.hsv=function(e){var t=e[0],n=e[1]/100,e=e[2]/100,r=n,i=Math.max(e,.01);return n*=(e*=2)<=1?e:2-e,r*=i<=1?i:2-i,[t,100*(0==e?2*r/(i+r):2*n/(e+n)),(e+n)/2*100]},o.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,e=Math.floor(t)%6,t=t-Math.floor(t),i=255*r*(1-n),o=255*r*(1-n*t),a=255*r*(1-n*(1-t));switch(r*=255,e){case 0:return[r,a,i];case 1:return[o,r,i];case 2:return[i,r,a];case 3:return[i,o,r];case 4:return[a,i,r];case 5:return[r,i,o]}},o.hsv.hsl=function(e){var t=e[0],n=e[1]/100,e=e[2]/100,r=Math.max(e,.01),e=(2-n)*e;return[t,100*(n*r/((t=(2-n)*r)<=1?t:2-t)||0),100*(e/=2)]},o.hwb.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,e=e[2]/100,l=s+e;switch(1<l&&(s/=l,e/=l),t=1-e,e=6*a-(l=Math.floor(6*a)),n=s+(e=0!=(1&l)?1-e:e)*(t-s),l){default:case 6:case 0:r=t,i=n,o=s;break;case 1:r=n,i=t,o=s;break;case 2:r=s,i=t,o=n;break;case 3:r=s,i=n,o=t;break;case 4:r=n,i=s,o=t;break;case 5:r=t,i=s,o=n}return[255*r,255*i,255*o]},o.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,e=e[3]/100;return[255*(1-Math.min(1,t*(1-e)+e)),255*(1-Math.min(1,n*(1-e)+e)),255*(1-Math.min(1,r*(1-e)+e))]},o.xyz.rgb=function(e){var t=e[0]/100,n=e[1]/100,e=e[2]/100,r=-.9689*t+1.8758*n+.0415*e,i=.0557*t+-.204*n+1.057*e,t=.0031308<(t=3.2406*t+-1.5372*n+-.4986*e)?1.055*Math.pow(t,1/2.4)-.055:12.92*t;return r=.0031308<r?1.055*Math.pow(r,1/2.4)-.055:12.92*r,i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*Math.min(Math.max(0,t),1),255*Math.min(Math.max(0,r),1),255*Math.min(Math.max(0,i),1)]},o.xyz.lab=function(e){var t=e[0],n=e[1],e=e[2];return n/=100,e/=108.883,t=.008856<(t/=95.047)?Math.pow(t,1/3):7.787*t+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(.008856<e?Math.pow(e,1/3):7.787*e+16/116))]},o.lab.xyz=function(e){var t=e[0],n=e[1]/500+(t=(t+16)/116),e=t-e[2]/200,r=Math.pow(t,3),i=Math.pow(n,3),o=Math.pow(e,3),t=.008856<r?r:(t-16/116)/7.787;return n=.008856<i?i:(n-16/116)/7.787,e=.008856<o?o:(e-16/116)/7.787,[n*=95.047,t*=100,e*=108.883]},o.lab.lch=function(e){var t,n=e[0],r=e[1],e=e[2];return(t=360*Math.atan2(e,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+e*e),t]},o.lch.lab=function(e){var t=e[0],n=e[1],e=e[2]/360*2*Math.PI;return[t,n*Math.cos(e),n*Math.sin(e)]},o.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];return 0===(i=Math.round(i/50))?30:(r=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255)),2===i&&(r+=60),r)},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){var t=e[0],n=e[1],e=e[2];return t===n&&n===e?t<8?16:248<t?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(e/255*5)},o.ansi16.rgb=function(e){var t=e%10;return 0===t||7===t?(50<e&&(t+=3.5),[t=t/10.5*255,t,t]):[(1&t)*(e=.5*(1+~~(50<e)))*255,(t>>1&1)*e*255,(t>>2&1)*e*255]},o.ansi256.rgb=function(e){var t;return 232<=e?[t=10*(e-232)+8,t,t]:(e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255])},o.rgb.hex=function(e){e=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},o.hex.rgb=function(e){var t,e=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);return e?(t=e[0],3===e[0].length&&(t=t.split("").map(function(e){return e+e}).join("")),[(e=parseInt(t,16))>>16&255,e>>8&255,255&e]):[0,0,0]},o.rgb.hcg=function(e){var t=e[0]/255,n=e[1]/255,e=e[2]/255,r=Math.max(Math.max(t,n),e),i=Math.min(Math.min(t,n),e),o=r-i;return[360*((o<=0?0:r===t?(n-e)/o%6:r===n?2+(e-t)/o:4+(t-n)/o+4)/6%1),100*o,100*(o<1?i/(1-o):0)]},o.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=0;return(t=n<.5?2*t*n:2*t*(1-n))<1&&(r=(n-.5*t)/(1-t)),[e[0],100*t,100*r]},o.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,t=t*n,n=t<1?(n-t)/(1-t):0;return[e[0],100*t,100*n]},o.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,e=e[2]/100;if(0==n)return[255*e,255*e,255*e];var r=[0,0,0],t=t%1*6,i=t%1,o=1-i;switch(Math.floor(t)){case 0:r[0]=1,r[1]=i,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=i;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=i,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return[255*(n*r[0]+(t=(1-n)*e)),255*(n*r[1]+t),255*(n*r[2]+t)]},o.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),t=0<n?t/n:0;return[e[0],100*t,100*n]},o.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return 0<n&&n<.5?r=t/(2*n):.5<=n&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},o.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},o.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,t=n-t,n=t<1?(n-t)/(1-t):0;return[e[0],100*t,100*n]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]},o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){e=255&Math.round(e[0]/100*255),e=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(e.length)+e},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},98556:function(e,t,n){function l(e){return(l="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})(e)}var r=n(48211),i=n(44257),u={};Object.keys(r).forEach(function(a){u[a]={},Object.defineProperty(u[a],"channels",{value:r[a].channels}),Object.defineProperty(u[a],"labels",{value:r[a].labels});var s=i(a);Object.keys(s).forEach(function(e){var t,i,n=s[e];function r(e){return null==e?e:(1<arguments.length&&(e=Array.prototype.slice.call(arguments)),t(e))}function o(e){if(null==e)return e;1<arguments.length&&(e=Array.prototype.slice.call(arguments));var t=i(e);if("object"===l(t))for(var n=t.length,r=0;r<n;r++)t[r]=Math.round(t[r]);return t}u[a][e]=("conversion"in(i=n)&&(o.conversion=i.conversion),o),u[a][e].raw=("conversion"in(t=n)&&(r.conversion=t.conversion),r)})}),e.exports=u},44257:function(e,t,n){var u=n(48211);function s(e,t){for(var n=[t[e].parent,e],r=u[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=function(t,n){return function(e){return n(t(e))}}(u[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}e.exports=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(u),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(u[r]),o=i.length,a=0;a<o;a++){var s=i[a],l=t[s];-1===l.distance&&(l.distance=t[r].distance+1,l.parent=r,n.unshift(s))}return t}(e),n={},r=Object.keys(t),i=r.length,o=0;o<i;o++){var a=r[o];null!==t[a].parent&&(n[a]=s(a,t))}return n}},67380:function(e){"use strict";e.exports={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,134,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,250,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,221],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:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],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,50]}},19289:function(e,t,n){var r,a=n(67380),i=n(5515),s=Object.hasOwnProperty,o=Object.create(null);for(r in a)s.call(a,r)&&(o[a[r]]=r);var l=e.exports={to:{},get:{}};function u(e,t,n){return Math.min(Math.max(t,e),n)}function c(e){e=Math.round(e).toString(16).toUpperCase();return e.length<2?"0"+e:e}l.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),n="hsl";break;case"hwb":t=l.get.hwb(e),n="hwb";break;default:t=l.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,n,r,i=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(r=t[2],t=t[1],n=0;n<3;n++){var o=2*n;i[n]=parseInt(t.slice(o,2+o),16)}r&&(i[3]=parseInt(r,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(r=(t=t[1])[3],n=0;n<3;n++)i[n]=parseInt(t[n]+t[n],16);r&&(i[3]=parseInt(r+r,16)/255)}else{if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/))for(n=0;n<3;n++)i[n]=parseInt(t[n+1],0);else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:s.call(a,t[1])?((i=a[t[1]])[3]=1,i):null:null;for(n=0;n<3;n++)i[n]=Math.round(2.55*parseFloat(t[n+1]))}t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}for(n=0;n<3;n++)i[n]=u(i[n],0,255);return i[3]=u(i[3],0,1),i},l.get.hsl=function(e){var t;return(e=e&&e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/))?(t=parseFloat(e[4]),[(parseFloat(e[1])%360+360)%360,u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(t)?1:t,0,1)]):null},l.get.hwb=function(e){var t;return(e=e&&e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/))?(t=parseFloat(e[4]),[(parseFloat(e[1])%360+360)%360,u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(t)?1:t,0,1)]):null},l.to.hex=function(){var e=i(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},l.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=i(arguments),t="";return 4<=e.length&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return o[e.slice(0,3)]}},69630:function(e,t,n){"use strict";function a(e){return(a="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})(e)}var l=n(19289),u=n(98556),c=[].slice,f=["keyword","gray","hex"],h={},d=(Object.keys(u).forEach(function(e){h[c.call(u[e].labels).sort().join("")]=e}),{});function p(e,t){if(!(this instanceof p))return new p(e,t);if((t=t&&t in f?null:t)&&!(t in u))throw new Error("Unknown model: "+t);if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof p)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var n=l.get(e);if(null===n)throw new Error("Unable to parse color from string: "+e);this.model=n.model,r=u[this.model].channels,this.color=n.value.slice(0,r),this.valpha="number"==typeof n.value[r]?n.value[r]:1}else if(e.length){this.model=t||"rgb";var r=u[this.model].channels,n=c.call(e,0,r);this.color=y(n,r),this.valpha="number"==typeof e[r]?e[r]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;t=Object.keys(e),n=("alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0),t.sort().join(""));if(!(n in h))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=h[n];for(var i=u[this.model].labels,o=[],a=0;a<i.length;a++)o.push(e[i[a]]);this.color=y(o)}if(d[this.model])for(r=u[this.model].channels,a=0;a<r;a++){var s=d[this.model][a];s&&(this.color[a]=s(this.color[a]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function r(n,r,i){return(n=Array.isArray(n)?n:[n]).forEach(function(e){(d[e]||(d[e]=[]))[r]=i}),n=n[0],function(e){var t;return arguments.length?(i&&(e=i(e)),(t=this[n]()).color[r]=e):(t=this[n]().color[r],i&&(t=i(t))),t}}function i(t){return function(e){return Math.max(0,Math.min(t,e))}}function y(e,t){for(var n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}p.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var t=this.model in l.to?this:this.rgb(),e=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:t.color.concat(this.valpha);return l.to[t.model](e)},percentString:function(e){e=this.rgb().round("number"==typeof e?e:1),e=1===e.valpha?e.color:e.color.concat(this.valpha);return l.to.rgb.percent(e)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var e={},t=u[this.model].channels,n=u[this.model].labels,r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray:function(){var e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject:function(){var e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round:function(e){return e=Math.max(e||0,0),new p(this.color.map((t=e,function(e){return Number(e.toFixed(t))})).concat(this.valpha),this.model);var t},alpha:function(e){return arguments.length?new p(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:r("rgb",0,i(255)),green:r("rgb",1,i(255)),blue:r("rgb",2,i(255)),hue:r(["hsl","hsv","hsl","hwb","hcg"],0,function(e){return(e%360+360)%360}),saturationl:r("hsl",1,i(100)),lightness:r("hsl",2,i(100)),saturationv:r("hsv",1,i(100)),value:r("hsv",2,i(100)),chroma:r("hcg",1,i(100)),gray:r("hcg",2,i(100)),white:r("hwb",1,i(100)),wblack:r("hwb",2,i(100)),cyan:r("cmyk",0,i(100)),magenta:r("cmyk",1,i(100)),yellow:r("cmyk",2,i(100)),black:r("cmyk",3,i(100)),x:r("xyz",0,i(100)),y:r("xyz",1,i(100)),z:r("xyz",2,i(100)),l:r("lab",0,i(100)),a:r("lab",1),b:r("lab",2),keyword:function(e){return arguments.length?new p(e):u[this.model].keyword(this.color)},hex:function(e){return arguments.length?new p(e):l.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity:function(){for(var e=this.rgb().color,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((.055+r)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),e=e.luminosity();return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)},level:function(e){e=this.contrast(e);return 7.1<=e?"AAA":4.5<=e?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,e=.3*e[0]+.59*e[1]+.11*e[2];return p.rgb(e,e,e)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),e=(e=(t.color[0]+e)%360)<0?360+e:e;return t.color[0]=e,t},mix:function(e,t){var n,r,i,o;if(e&&e.rgb)return n=e.rgb(),r=this.rgb(),o=1-(i=(1+((i=2*(t=void 0===t?.5:t)-1)*(o=n.alpha()-r.alpha())==-1?i:(i+o)/(1+i*o)))/2),p.rgb(i*n.red()+o*r.red(),i*n.green()+o*r.green(),i*n.blue()+o*r.blue(),n.alpha()*t+r.alpha()*(1-t));throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+a(e))}},Object.keys(u).forEach(function(n){var r;-1===f.indexOf(n)&&(r=u[n].channels,p.prototype[n]=function(){var e,t;return this.model===n?new p(this):arguments.length?new p(arguments,n):(t="number"==typeof arguments[r]?r:this.valpha,new p((e=u[this.model][n].raw(this.color),(Array.isArray(e)?e:[e]).concat(t)),n))},p[n]=function(e){return new p(e="number"==typeof e?y(c.call(arguments),r):e,n)})}),e.exports=p},15128:function(e,t){var n;function r(e){return(r="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})(e)}n=function(e){"use strict";var o={value:function(){}};function t(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new i(r)}function i(e){this._=e}function l(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=o,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}i.prototype=t.prototype={constructor:i,on:function(e,t){var n,r,i=this._,o=(r=i,(e+"").trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");if(0<=n&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a<s;)if(n=(e=o[a]).type)i[n]=l(i[n],e.name,t);else if(null==t)for(n in i)i[n]=l(i[n],e.name,null);return this}for(;++a<s;)if(n=(n=(e=o[a]).type)&&function(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}(i[n],e.name))return n},copy:function(){var e,t={},n=this._;for(e in n)t[e]=n[e].slice();return new i(t)},call:function(e,t){if(0<(n=arguments.length-2))for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}},e.dispatch=t,Object.defineProperty(e,"__esModule",{value:!0})},"object"===r(t)?n(t):void 0!==(t="function"==typeof(n=n)?n.apply(t,[t]):n)&&(e.exports=t)},3301:function(e,t){var n;function r(e){return(r="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})(e)}n=function(e){"use strict";function t(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function n(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var r=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),i=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),o=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),a=Math.PI,s=a/2;function l(e){return(1-Math.cos(a*e))/2}function u(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function c(e){return((e*=2)<=1?u(1-e):2-u(e-1))/2}function f(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var h=7.5625;function d(e){return(e=+e)<4/11?h*e*e:e<8/11?h*(e-=6/11)*e+.75:e<10/11?h*(e-=9/11)*e+.9375:h*(e-=21/22)*e+63/64}var p=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(1.70158),y=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(1.70158),m=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(1.70158),g=2*Math.PI,v=function t(n,r){var i=Math.asin(1/(n=Math.max(1,n)))*(r/=g);function e(e){return n*u(- --e)*Math.sin((i-e)/r)}return e.amplitude=function(e){return t(e,r*g)},e.period=function(e){return t(n,e)},e}(1,.3),b=function t(n,r){var i=Math.asin(1/(n=Math.max(1,n)))*(r/=g);function e(e){return 1-n*u(e=+e)*Math.sin((e+i)/r)}return e.amplitude=function(e){return t(e,r*g)},e.period=function(e){return t(n,e)},e}(1,.3),_=function t(n,r){var i=Math.asin(1/(n=Math.max(1,n)))*(r/=g);function e(e){return((e=2*e-1)<0?n*u(-e)*Math.sin((i-e)/r):2-n*u(e)*Math.sin((i+e)/r))/2}return e.amplitude=function(e){return t(e,r*g)},e.period=function(e){return t(n,e)},e}(1,.3);e.easeBack=m,e.easeBackIn=p,e.easeBackInOut=m,e.easeBackOut=y,e.easeBounce=d,e.easeBounceIn=function(e){return 1-d(1-e)},e.easeBounceInOut=function(e){return((e*=2)<=1?1-d(1-e):d(e-1)+1)/2},e.easeBounceOut=d,e.easeCircle=f,e.easeCircleIn=function(e){return 1-Math.sqrt(1-e*e)},e.easeCircleInOut=f,e.easeCircleOut=function(e){return Math.sqrt(1- --e*e)},e.easeCubic=n,e.easeCubicIn=function(e){return e*e*e},e.easeCubicInOut=n,e.easeCubicOut=function(e){return--e*e*e+1},e.easeElastic=b,e.easeElasticIn=v,e.easeElasticInOut=_,e.easeElasticOut=b,e.easeExp=c,e.easeExpIn=function(e){return u(1-+e)},e.easeExpInOut=c,e.easeExpOut=function(e){return 1-u(e)},e.easeLinear=function(e){return+e},e.easePoly=o,e.easePolyIn=r,e.easePolyInOut=o,e.easePolyOut=i,e.easeQuad=t,e.easeQuadIn=function(e){return e*e},e.easeQuadInOut=t,e.easeQuadOut=function(e){return e*(2-e)},e.easeSin=l,e.easeSinIn=function(e){return 1==+e?1:1-Math.cos(e*s)},e.easeSinInOut=l,e.easeSinOut=function(e){return Math.sin(e*s)},Object.defineProperty(e,"__esModule",{value:!0})},"object"===r(t)?n(t):void 0!==(t="function"==typeof(n=n)?n.apply(t,[t]):n)&&(e.exports=t)},56129:function(e,t,n){var r;function O(e){return(O="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})(e)}r=function(e,m,g,v){"use strict";function b(e){return function(){return e}}function _(e){return 1e-6*(e()-.5)}function x(e){return e.x+e.vx}function w(e){return e.y+e.vy}function A(e){return e.index}function S(e,t){e=e.get(t);if(e)return e;throw new Error("node not found: "+t)}function s(e){return e.x}function y(e){return e.y}var C=Math.PI*(3-Math.sqrt(5));e.forceCenter=function(o,a){var s,l=1;function t(){for(var e,t=s.length,n=0,r=0,i=0;i<t;++i)n+=(e=s[i]).x,r+=e.y;for(n=(n/t-o)*l,r=(r/t-a)*l,i=0;i<t;++i)(e=s[i]).x-=n,e.y-=r}return null==o&&(o=0),null==a&&(a=0),t.initialize=function(e){s=e},t.x=function(e){return arguments.length?(o=+e,t):o},t.y=function(e){return arguments.length?(a=+e,t):a},t.strength=function(e){return arguments.length?(l=+e,t):l},t},e.forceCollide=function(r){var o,a,h,d=1,p=1;function t(){for(var e,t,s,l,u,c,f,n=o.length,r=0;r<p;++r)for(t=m.quadtree(o,x,w).visitAfter(y),e=0;e<n;++e)s=o[e],c=a[s.index],f=c*c,l=s.x+s.vx,u=s.y+s.vy,t.visit(i);function i(e,t,n,r,i){var o=e.data,e=e.r,a=c+e;if(!o)return l+a<t||r<l-a||u+a<n||i<u-a;o.index>s.index&&(n=(t=l-o.x-o.vx)*t+(r=u-o.y-o.vy)*r)<a*a&&(0===t&&(n+=(t=_(h))*t),0===r&&(n+=(r=_(h))*r),n=(a-(n=Math.sqrt(n)))/n*d,s.vx+=(t*=n)*(a=(e*=e)/(f+e)),s.vy+=(r*=n)*a,o.vx-=t*(a=1-a),o.vy-=r*a)}}function y(e){if(e.data)return e.r=a[e.data.index];for(var t=e.r=0;t<4;++t)e[t]&&e[t].r>e.r&&(e.r=e[t].r)}function n(){if(o){var e,t,n=o.length;for(a=new Array(n),e=0;e<n;++e)t=o[e],a[t.index]=+r(t,e,o)}}return"function"!=typeof r&&(r=b(null==r?1:+r)),t.initialize=function(e,t){o=e,h=t,n()},t.iterations=function(e){return arguments.length?(p=+e,t):p},t.strength=function(e){return arguments.length?(d=+e,t):d},t.radius=function(e){return arguments.length?(r="function"==typeof e?e:b(+e),n(),t):r},t},e.forceLink=function(u){var c,f,o,a,h,d,s=A,n=function(e){return 1/Math.min(a[e.source.index],a[e.target.index])},r=b(30),p=1;function t(e){for(var t=0,n=u.length;t<p;++t)for(var r,i,o,a,s,l=0;l<n;++l)r=(i=u[l]).source,o=(i=i.target).x+i.vx-r.x-r.vx||_(d),a=i.y+i.vy-r.y-r.vy||_(d),o*=s=((s=Math.sqrt(o*o+a*a))-f[l])/s*e*c[l],a*=s,i.vx-=o*(s=h[l]),i.vy-=a*s,r.vx+=o*(s=1-s),r.vy+=a*s}function i(){if(o){var e,t=o.length,n=u.length,r=new Map(o.map(function(e,t){return[s(e,t,o),e]})),i=0;for(a=new Array(t);i<n;++i)(e=u[i]).index=i,"object"!==O(e.source)&&(e.source=S(r,e.source)),"object"!==O(e.target)&&(e.target=S(r,e.target)),a[e.source.index]=(a[e.source.index]||0)+1,a[e.target.index]=(a[e.target.index]||0)+1;for(i=0,h=new Array(n);i<n;++i)e=u[i],h[i]=a[e.source.index]/(a[e.source.index]+a[e.target.index]);c=new Array(n),l(),f=new Array(n),y()}}function l(){if(o)for(var e=0,t=u.length;e<t;++e)c[e]=+n(u[e],e,u)}function y(){if(o)for(var e=0,t=u.length;e<t;++e)f[e]=+r(u[e],e,u)}return null==u&&(u=[]),t.initialize=function(e,t){o=e,d=t,i()},t.links=function(e){return arguments.length?(u=e,i(),t):u},t.id=function(e){return arguments.length?(s=e,t):s},t.iterations=function(e){return arguments.length?(p=+e,t):p},t.strength=function(e){return arguments.length?(n="function"==typeof e?e:b(+e),l(),t):n},t.distance=function(e){return arguments.length?(r="function"==typeof e?e:b(+e),y(),t):r},t},e.forceManyBody=function(){var i,l,u,c,f,r=b(-30),h=1,d=1/0,p=.81;function t(e){var t,n=i.length,r=m.quadtree(i,s,y).visitAfter(o);for(c=e,t=0;t<n;++t)l=i[t],r.visit(a)}function n(){if(i){var e,t,n=i.length;for(f=new Array(n),e=0;e<n;++e)t=i[e],f[t.index]=+r(t,e,i)}}function o(e){var t,n,r,i,o,a=0,s=0;if(e.length){for(r=i=o=0;o<4;++o)(t=e[o])&&(n=Math.abs(t.value))&&(a+=t.value,s+=n,r+=n*t.x,i+=n*t.y);e.x=r/s,e.y=i/s}else for((t=e).x=t.data.x,t.y=t.data.y;a+=f[t.data.index],t=t.next;);e.value=a}function a(e,t,n,r){if(!e.value)return!0;var i=e.x-l.x,o=e.y-l.y,a=r-t,s=i*i+o*o;if(a*a/p<s)return s<d&&(0===i&&(s+=(i=_(u))*i),0===o&&(s+=(o=_(u))*o),s<h&&(s=Math.sqrt(h*s)),l.vx+=i*e.value*c/s,l.vy+=o*e.value*c/s),!0;if(!(e.length||d<=s))for((e.data!==l||e.next)&&(0===i&&(s+=(i=_(u))*i),0===o&&(s+=(o=_(u))*o),s<h)&&(s=Math.sqrt(h*s));e.data!==l&&(a=f[e.data.index]*c/s,l.vx+=i*a,l.vy+=o*a),e=e.next;);}return t.initialize=function(e,t){i=e,u=t,n()},t.strength=function(e){return arguments.length?(r="function"==typeof e?e:b(+e),n(),t):r},t.distanceMin=function(e){return arguments.length?(h=e*e,t):Math.sqrt(h)},t.distanceMax=function(e){return arguments.length?(d=e*e,t):Math.sqrt(d)},t.theta=function(e){return arguments.length?(p=e*e,t):Math.sqrt(p)},t},e.forceRadial=function(n,s,l){var u,c,f,r=b(.1);function t(e){for(var t=0,n=u.length;t<n;++t){var r=u[t],i=r.x-s||1e-6,o=r.y-l||1e-6,a=Math.sqrt(i*i+o*o),a=(f[t]-a)*c[t]*e/a;r.vx+=i*a,r.vy+=o*a}}function i(){if(u){var e,t=u.length;for(c=new Array(t),f=new Array(t),e=0;e<t;++e)f[e]=+n(u[e],e,u),c[e]=isNaN(f[e])?0:+r(u[e],e,u)}}return"function"!=typeof n&&(n=b(+n)),null==s&&(s=0),null==l&&(l=0),t.initialize=function(e){u=e,i()},t.strength=function(e){return arguments.length?(r="function"==typeof e?e:b(+e),i(),t):r},t.radius=function(e){return arguments.length?(n="function"==typeof e?e:b(+e),i(),t):n},t.x=function(e){return arguments.length?(s=+e,t):s},t.y=function(e){return arguments.length?(l=+e,t):l},t},e.forceSimulation=function(l){var o,e,a=1,t=.001,s=1-Math.pow(t,1/300),u=0,c=.6,f=new Map,n=v.timer(h),r=g.dispatch("tick","end"),i=(e=1,function(){return(e=(1664525*e+1013904223)%4294967296)/4294967296});function h(){d(),r.call("tick",o),a<t&&(n.stop(),r.call("end",o))}function d(e){var t,n,r=l.length;void 0===e&&(e=1);for(var i=0;i<e;++i)for(a+=(u-a)*s,f.forEach(function(e){e(a)}),t=0;t<r;++t)null==(n=l[t]).fx?n.x+=n.vx*=c:(n.x=n.fx,n.vx=0),null==n.fy?n.y+=n.vy*=c:(n.y=n.fy,n.vy=0);return o}function p(){for(var e,t,n,r=0,i=l.length;r<i;++r)(e=l[r]).index=r,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),(isNaN(e.x)||isNaN(e.y))&&(t=10*Math.sqrt(.5+r),n=r*C,e.x=t*Math.cos(n),e.y=t*Math.sin(n)),(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}function y(e){return e.initialize&&e.initialize(l,i),e}return null==l&&(l=[]),p(),o={tick:d,restart:function(){return n.restart(h),o},stop:function(){return n.stop(),o},nodes:function(e){return arguments.length?(l=e,p(),f.forEach(y),o):l},alpha:function(e){return arguments.length?(a=+e,o):a},alphaMin:function(e){return arguments.length?(t=+e,o):t},alphaDecay:function(e){return arguments.length?(s=+e,o):+s},alphaTarget:function(e){return arguments.length?(u=+e,o):u},velocityDecay:function(e){return arguments.length?(c=1-e,o):1-c},randomSource:function(e){return arguments.length?(i=e,f.forEach(y),o):i},force:function(e,t){return 1<arguments.length?(null==t?f.delete(e):f.set(e,y(t)),o):f.get(e)},find:function(e,t,n){var r,i,o,a=0,s=l.length;for(null==n?n=1/0:n*=n,a=0;a<s;++a)(r=(r=e-(i=l[a]).x)*r+(r=t-i.y)*r)<n&&(o=i,n=r);return o},on:function(e,t){return 1<arguments.length?(r.on(e,t),o):r.on(e)}}},e.forceX=function(n){var i,o,a,r=b(.1);function t(e){for(var t,n=0,r=i.length;n<r;++n)(t=i[n]).vx+=(a[n]-t.x)*o[n]*e}function s(){if(i){var e,t=i.length;for(o=new Array(t),a=new Array(t),e=0;e<t;++e)o[e]=isNaN(a[e]=+n(i[e],e,i))?0:+r(i[e],e,i)}}return"function"!=typeof n&&(n=b(null==n?0:+n)),t.initialize=function(e){i=e,s()},t.strength=function(e){return arguments.length?(r="function"==typeof e?e:b(+e),s(),t):r},t.x=function(e){return arguments.length?(n="function"==typeof e?e:b(+e),s(),t):n},t},e.forceY=function(n){var i,o,a,r=b(.1);function t(e){for(var t,n=0,r=i.length;n<r;++n)(t=i[n]).vy+=(a[n]-t.y)*o[n]*e}function s(){if(i){var e,t=i.length;for(o=new Array(t),a=new Array(t),e=0;e<t;++e)o[e]=isNaN(a[e]=+n(i[e],e,i))?0:+r(i[e],e,i)}}return"function"!=typeof n&&(n=b(null==n?0:+n)),t.initialize=function(e){i=e,s()},t.strength=function(e){return arguments.length?(r="function"==typeof e?e:b(+e),s(),t):r},t.y=function(e){return arguments.length?(n="function"==typeof e?e:b(+e),s(),t):n},t},Object.defineProperty(e,"__esModule",{value:!0})},"object"===O(t)?r(t,n(21617),n(15128),n(42433)):(n=[t,n(21617),n(15128),n(42433)],void 0!==(t="function"==typeof(r=r)?r.apply(t,n):r)&&(e.exports=t))},21617:function(e,t){var n;function r(e){return(r="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})(e)}n=function(e){"use strict";function f(e,t,n,r){if(!isNaN(t)&&!isNaN(n)){var i,o,a,s,l,u,c,f,h,d=e._root,p={data:r},y=e._x0,m=e._y0,g=e._x1,v=e._y1;if(d){for(;d.length;)if((u=t>=(o=(y+g)/2))?y=o:g=o,(c=n>=(a=(m+v)/2))?m=a:v=a,!(d=(i=d)[f=c<<1|u]))return i[f]=p,e;if(s=+e._x.call(null,d.data),l=+e._y.call(null,d.data),t===s&&n===l)p.next=d,i?i[f]=p:e._root=p;else{for(;i=i?i[f]=new Array(4):e._root=new Array(4),(u=t>=(o=(y+g)/2))?y=o:g=o,(c=n>=(a=(m+v)/2))?m=a:v=a,(f=c<<1|u)==(h=(a<=l)<<1|o<=s););i[h]=d,i[f]=p}}else e._root=p}return e}function g(e,t,n,r,i){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=i}function r(e){return e[0]}function i(e){return e[1]}function t(e,t,n){t=new o(null==t?r:t,null==n?i:n,NaN,NaN,NaN,NaN);return null==e?t:t.addAll(e)}function o(e,t,n,r,i,o){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function a(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var n=t.prototype=o.prototype;n.copy=function(){var e,t,n=new o(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(r)if(r.length)for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var i=0;i<4;++i)(t=r.source[i])&&(t.length?e.push({source:t,target:r.target[i]=new Array(4)}):r.target[i]=a(t));else n._root=a(r);return n},n.add=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return f(this.cover(t,n),t,n,e)},n.addAll=function(e){for(var t,n,r=e.length,i=new Array(r),o=new Array(r),a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<r;++c)isNaN(t=+this._x.call(null,n=e[c]))||isNaN(n=+this._y.call(null,n))||((i[c]=t)<a&&(a=t),l<t&&(l=t),(o[c]=n)<s&&(s=n),u<n&&(u=n));if(!(l<a||u<s))for(this.cover(a,s).cover(l,u),c=0;c<r;++c)f(this,i[c],o[c],e[c]);return this},n.cover=function(e,t){if(!isNaN(e=+e)&&!isNaN(t=+t)){var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(e))+1,o=(r=Math.floor(t))+1;else{for(var a,s,l=i-n||1,u=this._root;e<n||i<=e||t<r||o<=t;)switch(s=(t<r)<<1|e<n,(a=new Array(4))[s]=u,u=a,l*=2,s){case 0:i=n+l,o=r+l;break;case 1:n=i-l,o=r+l;break;case 2:i=n+l,r=o-l;break;case 3:n=i-l,r=o-l}this._root&&this._root.length&&(this._root=u)}this._x0=n,this._y0=r,this._x1=i,this._y1=o}return this},n.data=function(){var t=[];return this.visit(function(e){if(!e.length)for(;t.push(e.data),e=e.next;);}),t},n.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},n.find=function(e,t,n){var r,i,o,a,s,l,u,c,f=this._x0,h=this._y0,d=this._x1,p=this._y1,y=[],m=this._root;for(m&&y.push(new g(m,f,h,d,p)),null==n?n=1/0:(f=e-n,h=t-n,d=e+n,p=t+n,n*=n);r=y.pop();)!(m=r.node)||(s=r.x0)>d||(l=r.y0)>p||(a=r.x1)<f||(i=r.y1)<h||(m.length?(y.push(new g(m[3],o=(s+a)/2,u=(l+i)/2,a,i),new g(m[2],s,u,o,i),new g(m[1],o,l,a,u),new g(m[0],s,l,o,u)),(i=(u<=t)<<1|o<=e)&&(r=y[y.length-1],y[y.length-1]=y[y.length-1-i],y[y.length-1-i]=r)):(l=(a=e-+this._x.call(null,m.data))*a+(s=t-+this._y.call(null,m.data))*s)<n&&(f=e-(u=Math.sqrt(n=l)),h=t-u,d=e+u,p=t+u,c=m.data));return c},n.remove=function(e){if(!isNaN(o=+this._x.call(null,e))&&!isNaN(a=+this._y.call(null,e))){var t,n,r,i,o,a,s,l,u,c,f,h=this._root,d=this._x0,p=this._y0,y=this._x1,m=this._y1;if(h){if(h.length)for(;;){if((l=o>=(s=(d+y)/2))?d=s:y=s,(u=a>=(s=(p+m)/2))?p=s:m=s,!(h=(t=h)[c=u<<1|l]))return this;if(!h.length)break;(t[c+1&3]||t[c+2&3]||t[c+3&3])&&(n=t,f=c)}for(;h.data!==e;)if(!(h=(r=h).next))return this;(i=h.next)&&delete h.next,r?i?r.next=i:delete r.next:t?(i?t[c]=i:delete t[c],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[f]=h:this._root=h)):this._root=i}}return this},n.removeAll=function(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this},n.root=function(){return this._root},n.size=function(){var t=0;return this.visit(function(e){if(!e.length)for(;++t,e=e.next;);}),t},n.visit=function(e){var t,n,r,i,o,a,s,l=[],u=this._root;for(u&&l.push(new g(u,this._x0,this._y0,this._x1,this._y1));o=l.pop();)!e(u=o.node,n=o.x0,r=o.y0,i=o.x1,o=o.y1)&&u.length&&(a=(n+i)/2,s=(r+o)/2,(t=u[3])&&l.push(new g(t,a,s,i,o)),(t=u[2])&&l.push(new g(t,n,s,a,o)),(t=u[1])&&l.push(new g(t,a,r,i,s)),t=u[0])&&l.push(new g(t,n,r,a,s));return this},n.visitAfter=function(e){var t,n=[],r=[];for(this._root&&n.push(new g(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var i,o,a,s,l,u,c,f=t.node;f.length&&(o=t.x0,a=t.y0,u=(o+(s=t.x1))/2,c=(a+(l=t.y1))/2,(i=f[0])&&n.push(new g(i,o,a,u,c)),(i=f[1])&&n.push(new g(i,u,a,s,c)),(i=f[2])&&n.push(new g(i,o,c,u,l)),i=f[3])&&n.push(new g(i,u,c,s,l)),r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},n.x=function(e){return arguments.length?(this._x=e,this):this._x},n.y=function(e){return arguments.length?(this._y=e,this):this._y},e.quadtree=t,Object.defineProperty(e,"__esModule",{value:!0})},"object"===r(t)?n(t):void 0!==(t="function"==typeof(n=n)?n.apply(t,[t]):n)&&(e.exports=t)},42433:function(e,t){var n;function _(e){return(_="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})(e)}n=function(e){"use strict";var i,o,a=0,s=0,t=0,n=1e3,l=0,u=0,c=0,f="object"===("undefined"==typeof performance?"undefined":_(performance))&&performance.now?performance:Date,r="object"===("undefined"==typeof window?"undefined":_(window))&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function h(){return u||(r(d),u=f.now()+c)}function d(){u=0}function p(){this._call=this._time=this._next=null}function y(e,t,n){var r=new p;return r.restart(e,t,n),r}function m(){h(),++a;for(var e,t=i;t;)0<=(e=u-t._time)&&t._call.call(null,e),t=t._next;--a}function g(){u=(l=f.now())+c,a=s=0;try{m()}finally{for(var e,t,n=i,r=1/(a=0);n;)n=n._call?(r>n._time&&(r=n._time),(e=n)._next):(t=n._next,n._next=null,e?e._next=t:i=t);o=e,b(r),u=0}}function v(){var e=f.now(),t=e-l;n<t&&(c-=t,l=e)}function b(e){a||(s=s&&clearTimeout(s),24<e-u?(e<1/0&&(s=setTimeout(g,e-f.now()-c)),t=t&&clearInterval(t)):(t||(l=f.now(),t=setInterval(v,n)),a=1,r(g)))}p.prototype=y.prototype={constructor:p,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?h():+n)+(null==t?0:+t),this._next||o===this||(o?o._next=this:i=this,o=this),this._call=e,this._time=n,b()},stop:function(){this._call&&(this._call=null,this._time=1/0,b())}},e.interval=function(n,r,i){var o=new p,a=r;return null==r?o.restart(n,r,i):(r=+r,i=null==i?h():+i,o.restart(function e(t){t+=a,o.restart(e,a+=r,i),n(t)},r,i)),o},e.now=h,e.timeout=function(t,n,e){var r=new p;return n=null==n?0:+n,r.restart(function(e){r.stop(),t(e+n)},n,e),r},e.timer=y,e.timerFlush=m,Object.defineProperty(e,"__esModule",{value:!0})},"object"===_(t)?n(t):void 0!==(t="function"==typeof(n=n)?n.apply(t,[t]):n)&&(e.exports=t)},94756:function(e,t,bo){var n;function _o(e,t){var n,r,i,o,a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return i=!(r=!0),{s:function(){a=a.call(e)},n:function(){var e=a.next();return r=e.done,e},e:function(e){i=!0,n=e},f:function(){try{r||null==a.return||a.return()}finally{if(i)throw n}}};if(Array.isArray(e)||(a=s(e))||t&&e&&"number"==typeof e.length)return a&&(e=a),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xo(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}()||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wo(e,t){return(wo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ao(n){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t=i(n),t=(e=r?(e=i(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Eo(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function So(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){var n;if(e)return"string"==typeof e?r(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Co(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Oo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eo(e){return(Eo="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})(e)}n=function(w){"use strict";var B={graph:{meta:{rankDir:"TB",nodeSep:50,rankSep:50,edgeSep:5,align:void 0}},subScene:{meta:{paddingTop:20,paddingBottom:20,paddingLeft:20,paddingRight:20,labelHeight:20}},nodeSize:{meta:{width:100,maxLabelWidth:0,height:20},node:{width:80,height:20,labelOffset:10,maxLabelWidth:40},bridge:{width:5,height:5,radius:2,labelOffset:0}}};function R(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(1<arguments.length&&void 0!==arguments[1]?arguments[1]:B)),n=(null==(n=null==e?void 0:e.graph)?void 0:n.meta)||{},r=(null==(r=null==e?void 0:e.subScene)?void 0:r.meta)||{},i=(null==(i=null==e?void 0:e.nodeSize)?void 0:i.meta)||{},e=(null==(e=null==e?void 0:e.nodeSize)?void 0:e.node)||{},o=t.nodeSize.bridge;return{graph:{meta:Object.assign(t.graph.meta,n)},subScene:{meta:Object.assign(t.subScene.meta,r)},nodeSize:{meta:Object.assign(t.nodeSize.meta,i),node:Object.assign(t.nodeSize.node,e),bridge:o}}}function N(e){return"◬".concat(e,"◬")}var l=N("ROOT"),z=N("BRIDGE_GRAPH"),e=((e=w.NodeType||(w.NodeType={}))[e.META=0]="META",e[e.NODE=1]="NODE",e[e.BRIDGE=2]="BRIDGE",(e=w.InclusionType||(w.InclusionType={}))[e.INCLUDE=0]="INCLUDE",e[e.EXCLUDE=1]="EXCLUDE",e[e.UNSPECIFIED=2]="UNSPECIFIED",(e=w.GraphType||(w.GraphType={}))[e.META=0]="META",e[e.CORE=1]="CORE",e[e.BRIDGE=2]="BRIDGE",(e=w.HierarchyNodeType||(w.HierarchyNodeType={}))[e.META=0]="META",e[e.OP=1]="OP",e[e.SERIES=2]="SERIES","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==bo.g?bo.g:"undefined"!=typeof self?self:{});function F(e,t){return e(t={exports:{}},t.exports),t.exports}function V(e,t){for(var n=e.length;n--;)if(b(e[n][0],t))return n;return-1}var b=function(e,t){return e===t||e!=e&&t!=t},H=Array.prototype.splice;function t(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}t.prototype.clear=function(){this.__data__=[],this.size=0},t.prototype.delete=function(e){var t=this.__data__,e=V(t,e);return!(e<0||(e==t.length-1?t.pop():H.call(t,e,1),--this.size,0))},t.prototype.get=function(e){var t=this.__data__,e=V(t,e);return e<0?void 0:t[e][1]},t.prototype.has=function(e){return-1<V(this.__data__,e)},t.prototype.set=function(e,t){var n=this.__data__,r=V(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function n(e,t){return e=null==e?void 0:e[t],!A(t=e)||J&&J in t||!(X(t)?ee:Z).test(o(t))?void 0:e}var Y=t,G="object"==Eo(e)&&e&&e.Object===Object&&e,e="object"==("undefined"==typeof self?"undefined":Eo(self))&&self&&self.Object===Object&&self,i=G||e||Function("return this")(),e=i.Symbol,r=Object.prototype,U=r.hasOwnProperty,Q=r.toString,W=e?e.toStringTag:void 0,q=Object.prototype.toString,K=e?e.toStringTag:void 0,x=function(e){{if(null==e)return void 0===e?"[object Undefined]":"[object Null]";if(K&&K in Object(e)){var t=e,n=U.call(t,W),r=t[W];try{var i=!(t[W]=void 0)}catch(t){}var o=Q.call(t);return i&&(n?t[W]=r:delete t[W]),o}return q.call(e)}},A=function(e){var t=Eo(e);return null!=e&&("object"==t||"function"==t)},X=function(e){return!!A(e)&&("[object Function]"==(e=x(e))||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e)},r=i["__core-js_shared__"],J=(r=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",$=Function.prototype.toString,o=function(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Z=/^\[object .+?Constructor\]$/,r=Function.prototype,a=Object.prototype,r=r.toString,a=a.hasOwnProperty,ee=RegExp("^"+r.call(a).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=n(i,"Map"),ne=n(Object,"create"),re=Object.prototype.hasOwnProperty,ie=Object.prototype.hasOwnProperty;function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=function(){this.__data__=ne?ne(null):{},this.size=0},s.prototype.delete=function(e){e=this.has(e)&&delete this.__data__[e];return this.size-=e?1:0,e},s.prototype.get=function(e){var t,n=this.__data__;return ne?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:re.call(n,e)?n[e]:void 0},s.prototype.has=function(e){var t=this.__data__;return ne?void 0!==t[e]:ie.call(t,e)},s.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ne&&void 0===t?"__lodash_hash_undefined__":t,this};function oe(e,t){var n,r,e=e.__data__;return("string"==(r=Eo(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?e["string"==typeof t?"string":"hash"]:e.map}var ae=s;function se(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}se.prototype.clear=function(){this.size=0,this.__data__={hash:new ae,map:new(te||Y),string:new ae}},se.prototype.delete=function(e){e=oe(this,e).delete(e);return this.size-=e?1:0,e},se.prototype.get=function(e){return oe(this,e).get(e)},se.prototype.has=function(e){return oe(this,e).has(e)},se.prototype.set=function(e,t){var n=oe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var le=se;function ue(e){e=this.__data__=new Y(e);this.size=e.size}ue.prototype.clear=function(){this.__data__=new Y,this.size=0},ue.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e},ue.prototype.get=function(e){return this.__data__.get(e)},ue.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Y){var r=n.__data__;if(!te||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new le(r)}return n.set(e,t),this.size=n.size,this};function ce(e,t,n,r){var i=!n;n=n||{};for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),(i?we:Se)(n,s,l)}return n}function fe(e){return S(e)&&"[object Arguments]"==x(e)}function he(){return!1}function de(t){return function(e){return t(e)}}function pe(t,n){return function(e){return t(n(e))}}function ye(e,t){var n=-1,r=e.length;for(t=t||Array(r);++n<r;)t[n]=e[n];return t}function me(){return[]}function ge(e){return Ke(e,m,Ue)}function ve(e){return"function"!=typeof e.constructor||De(e)?{}:pt(We(e))}var be=ue,_e=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},xe=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),we=function(e,t,n){"__proto__"==t&&xe?xe(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Ae=Object.prototype.hasOwnProperty,Se=function(e,t,n){var r=e[t];Ae.call(e,t)&&b(r,n)&&(void 0!==n||t in e)||we(e,t,n)},S=function(e){return null!=e&&"object"==Eo(e)},r=Object.prototype,Ce=r.hasOwnProperty,Oe=r.propertyIsEnumerable,Ee=fe(function(){return arguments}())?fe:function(e){return S(e)&&Ce.call(e,"callee")&&!Oe.call(e,"callee")},C=Array.isArray,O=F(function(e,t){var t=t&&!t.nodeType&&t,n=t&&e&&!e.nodeType&&e,n=n&&n.exports===t?i.Buffer:void 0,t=(n?n.isBuffer:void 0)||he;e.exports=t}),Me=/^(?:0|[1-9]\d*)$/,Pe=function(e,t){var n=Eo(e);return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Me.test(e))&&-1<e&&e%1==0&&e<t},ke=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991},u={},a=(u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,F(function(e,t){var t=t&&!t.nodeType&&t,n=t&&e&&!e.nodeType&&e,r=n&&n.exports===t&&G.process,t=function(){try{return n&&n.require&&n.require("util").types||r&&r.binding&&r.binding("util")}catch(e){}}();e.exports=t})),r=a&&a.isTypedArray,Te=r?de(r):function(e){return S(e)&&ke(e.length)&&!!u[x(e)]},Ie=Object.prototype.hasOwnProperty,Le=function(e,t){var n,r=C(e),i=!r&&Ee(e),o=!r&&!i&&O(e),a=!r&&!i&&!o&&Te(e),s=r||i||o||a,l=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=l.length;for(n in e)!t&&!Ie.call(e,n)||s&&("length"==n||o&&("offset"==n||"parent"==n)||a&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Pe(n,u))||l.push(n);return l},je=Object.prototype,De=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||je)},Be=pe(Object.keys,Object),Re=Object.prototype.hasOwnProperty,Ne=function(e){if(!De(e))return Be(e);var t,n=[];for(t in Object(e))Re.call(e,t)&&"constructor"!=t&&n.push(t);return n},c=function(e){return null!=e&&ke(e.length)&&!X(e)},m=function(e){return(c(e)?Le:Ne)(e)},ze=Object.prototype.hasOwnProperty,Fe=function(e){if(A(e)){var t,n=De(e),r=[];for(t in e)("constructor"!=t||!n&&ze.call(e,t))&&r.push(t);return r}var i=[];if(null!=e)for(var o in Object(e))i.push(o);return i},E=function(e){return c(e)?Le(e,!0):Fe(e)},Ve=F(function(e,t){var t=t&&!t.nodeType&&t,n=t&&e&&!e.nodeType&&e,n=n&&n.exports===t?i.Buffer:void 0,r=n?n.allocUnsafe:void 0;e.exports=function(e,t){return t?e.slice():(t=e.length,t=r?r(t):new e.constructor(t),e.copy(t),t)}}),He=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o},Ye=Object.prototype.propertyIsEnumerable,Ge=Object.getOwnPropertySymbols,Ue=Ge?function(t){return null==t?[]:(t=Object(t),He(Ge(t),function(e){return Ye.call(t,e)}))}:me,Qe=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},We=pe(Object.getPrototypeOf,Object),qe=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Qe(t,Ue(e)),e=We(e);return t}:me,Ke=function(e,t,n){t=t(e);return C(e)?t:Qe(t,n(e))},r=n(i,"DataView"),f=n(i,"Promise"),Xe=n(i,"Set"),h=n(i,"WeakMap"),Je="[object Map]",$e="[object Promise]",Ze="[object Set]",et="[object WeakMap]",tt="[object DataView]",nt=o(r),rt=o(te),it=o(f),ot=o(Xe),at=o(h),d=x,_=d=r&&d(new r(new ArrayBuffer(1)))!=tt||te&&d(new te)!=Je||f&&d(f.resolve())!=$e||Xe&&d(new Xe)!=Ze||h&&d(new h)!=et?function(e){var t=x(e),e="[object Object]"==t?e.constructor:void 0,e=e?o(e):"";if(e)switch(e){case nt:return tt;case rt:return Je;case it:return $e;case ot:return Ze;case at:return et}return t}:d,st=Object.prototype.hasOwnProperty,lt=i.Uint8Array,ut=function(e){var t=new e.constructor(e.byteLength);return new lt(t).set(new lt(e)),t},ct=/\w*$/,r=e?e.prototype:void 0,ft=r?r.valueOf:void 0,ht=function(e,t){t=t?ut(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)},dt=Object.create,pt=function(e){if(!A(e))return{};if(dt)return dt(e);_t.prototype=e;e=new _t;return _t.prototype=void 0,e},f=a&&a.isMap,yt=f?de(f):function(e){return S(e)&&"[object Map]"==_(e)},h=a&&a.isSet,mt=h?de(h):function(e){return S(e)&&"[object Set]"==_(e)},gt="[object Arguments]",vt="[object Function]",bt="[object Object]",g={};function _t(){}g[gt]=g["[object Array]"]=g["[object ArrayBuffer]"]=g["[object DataView]"]=g["[object Boolean]"]=g["[object Date]"]=g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Map]"]=g["[object Number]"]=g[bt]=g["[object RegExp]"]=g["[object Set]"]=g["[object String]"]=g["[object Symbol]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0,g["[object Error]"]=g[vt]=g["[object WeakMap]"]=!1;function xt(n,r,i,e,t,o){var a,s=1&r,l=2&r,u=4&r;if(void 0===(a=i?t?i(n,e,t,o):i(n):a)){if(!A(n))return n;var c,f,e=C(n);if(e){if(h=(d=n).length,f=new d.constructor(h),h&&"string"==typeof d[0]&&st.call(d,"index")&&(f.index=d.index,f.input=d.input),a=f,!s)return ye(n,a)}else{var h=_(n),d=h==vt||"[object GeneratorFunction]"==h;if(O(n))return Ve(n,s);if(h==bt||h==gt||d&&!t){if(a=l||d?{}:ve(n),!s)return l?(f=n,c=(c=a)&&ce(n,E(n),c),ce(f,qe(f),c)):(c=n,p=(p=a)&&ce(n,m(n),p),ce(c,Ue(c),p))}else{if(!g[h])return t?n:{};a=function(e,t,n){var r,i,o=e.constructor;switch(t){case"[object ArrayBuffer]":return ut(e);case"[object Boolean]":case"[object Date]":return new o(+e);case"[object DataView]":return r=e,i=n?ut(r.buffer):r.buffer,new r.constructor(i,r.byteOffset,r.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ht(e,n);case"[object Map]":return new o;case"[object Number]":case"[object String]":return new o(e);case"[object RegExp]":return(r=new(i=e).constructor(i.source,ct.exec(i))).lastIndex=i.lastIndex,r;case"[object Set]":return new o;case"[object Symbol]":return ft?Object(ft.call(e)):{}}}(n,h,s)}}var p=(o=o||new be).get(n);if(p)return p;o.set(n,a),mt(n)?n.forEach(function(e){a.add(xt(e,r,i,e,n,o))}):yt(n)&&n.forEach(function(e,t){a.set(t,xt(e,r,i,t,n,o))});var y=e?void 0:(u?l?function(e){return Ke(e,E,qe)}:ge:l?E:m)(n);_e(y||n,function(e,t){y&&(e=n[t=e]),Se(a,t,xt(e,r,i,t,n,o))})}return a}function wt(e){return function(){return e}}function At(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e}function St(e){return"function"==typeof e?e:p}function Ct(e,t){return(C(e)?_e:Mt)(e,St(t))}var Ot,Et=function(e,t){return e&&At(e,t,m)},Mt=(Ot=Et,function(e,t){if(null!=e){if(!c(e))return Ot(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););}return e}),p=function(e){return e},d=Ct;function Pt(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new le;++t<n;)this.add(e[t])}Pt.prototype.add=Pt.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Pt.prototype.has=function(e){return this.__data__.has(e)};function kt(e,t){return e.has(t)}function Tt(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&s<l))return!1;var l=o.get(e),u=o.get(t);if(l&&u)return l==t&&u==e;var c=-1,f=!0,h=2&n?new Nt:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var d,p=e[c],y=t[c];if(void 0!==(d=r?a?r(y,p,c,t,e,o):r(p,y,c,e,t,o):d)){if(d)continue;f=!1;break}if(h){if(!function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}(t,function(e,t){return!kt(h,t)&&(p===e||i(p,e,n,r,o))&&h.push(t)})){f=!1;break}}else if(p!==y&&!i(p,y,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function It(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function Lt(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function jt(e,t,n,r,i,o){var a=C(e),s=C(t),l=a?Ht:_(e),s=s?Ht:_(t),u=(l=l==Vt?Yt:l)==Yt,c=(s=s==Vt?Yt:s)==Yt;if((s=l==s)&&O(e)){if(!O(t))return!1;u=!(a=!0)}if(s&&!u){o=o||new be;if(a||Te(e))return Tt(e,t,n,r,i,o);else{var f=e;var h=t;a=l;var d=n;var p=r;var y=i;var m=o;switch(a){case"[object DataView]":if(f.byteLength!=h.byteLength||f.byteOffset!=h.byteOffset)return!1;f=f.buffer,h=h.buffer;case"[object ArrayBuffer]":return!(f.byteLength!=h.byteLength||!y(new lt(f),new lt(h)));case"[object Boolean]":case"[object Date]":case"[object Number]":return b(+f,+h);case"[object Error]":return f.name==h.name&&f.message==h.message;case"[object RegExp]":case"[object String]":return f==h+"";case"[object Map]":var g=It;case"[object Set]":g=g||Lt;if(f.size!=h.size&&!(1&d))return!1;var v=m.get(f);if(v)return v==h;d|=2,m.set(f,h);v=Tt(g(f),g(h),d,p,y,m);return m.delete(f),v;case"[object Symbol]":if(zt)return zt.call(f)==zt.call(h)}return!1;return}}if(!(1&n)){l=u&&Gt.call(e,"__wrapped__"),a=c&&Gt.call(t,"__wrapped__");if(l||a)return i(l?e.value():e,a?t.value():t,n,r,o=o||new be)}return!!s&&function(e,t,n,r,i,o){var a=1&n,s=ge(e),l=s.length;if(l!=ge(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:Ft.call(t,c)))return!1}var f=o.get(e),h=o.get(t);if(f&&h)return f==t&&h==e;var d=!0;o.set(e,t),o.set(t,e);for(var p=a;++u<l;){var y,m=e[c=s[u]],g=t[c];if(!(void 0===(y=r?a?r(g,m,c,t,e,o):r(m,g,c,e,t,o):y)?m===g||i(m,g,n,r,o):y)){d=!1;break}p=p||"constructor"==c}return d&&!p&&(f=e.constructor)!=(h=t.constructor)&&"constructor"in e&&"constructor"in t&&!("function"==typeof f&&f instanceof f&&"function"==typeof h&&h instanceof h)&&(d=!1),o.delete(e),o.delete(t),d}(e,t,n,r,i,o=o||new be)}function Dt(e,t,n,r,i){return e===t||(null==e||null==t||!S(e)&&!S(t)?e!=e&&t!=t:jt(e,t,n,r,Dt,i))}function Bt(e){return e==e&&!A(e)}function Rt(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}var Nt=Pt,r=e?e.prototype:void 0,zt=r?r.valueOf:void 0,Ft=Object.prototype.hasOwnProperty,Vt="[object Arguments]",Ht="[object Array]",Yt="[object Object]",Gt=Object.prototype.hasOwnProperty,Ut=function(e){var t=function(e){for(var t=m(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Bt(i)]}return t}(e);return 1==t.length&&t[0][2]?Rt(t[0][0],t[0][1]):function(c){return c===e||function(e,t,n){var r=t.length,i=r;if(null==c)return!i;for(e=Object(c);r--;){var o=t[r];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++r<i;){var a=(o=t[r])[0],s=e[a],l=o[1];if(o[2]){if(void 0===s&&!(a in e))return!1}else{var u,a=new be;if(!(void 0===u?Dt(l,s,3,n,a):u))return!1}}return!0}(0,t)}},y=function(e){return"symbol"==Eo(e)||S(e)&&"[object Symbol]"==x(e)},Qt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wt=/^\w*$/,qt=function(e,t){var n;return!C(e)&&(!("number"!=(n=Eo(e))&&"symbol"!=n&&"boolean"!=n&&null!=e&&!y(e))||Wt.test(e)||!Qt.test(e)||null!=t&&e in Object(t))};function Kt(r,i){if("function"!=typeof r||null!=i&&"function"!=typeof i)throw new TypeError("Expected a function");function o(){var e=arguments,t=i?i.apply(this,e):e[0],n=o.cache;return n.has(t)?n.get(t):(e=r.apply(this,e),o.cache=n.set(t,e)||n,e)}return o.cache=new(Kt.Cache||le),o}Kt.Cache=le;function Xt(e,t){for(var n=0,r=(t=En(t,e)).length;null!=e&&n<r;)e=e[Mn(t[n++])];return n&&n==r?e:void 0}function Jt(e,t){return null!=e&&kn(e,t,Pn)}function $t(t){return function(e){return null==e?void 0:e[t]}}function v(e){return"function"==typeof e?e:null==e?p:"object"==Eo(e)?C(e)?Tn(e[0],e[1]):Ut(e):In(e)}function Zt(e,t){return(C(e)?He:function(e,r){var i=[];return Mt(e,function(e,t,n){r(e,t,n)&&i.push(e)}),i})(e,v(t))}function en(e,t){return null!=e&&Ln.call(e,t)}function tn(e,t){return null!=e&&kn(e,t,en)}function nn(e){return void 0===e}function rn(e,t){return(C(e)?Sn:Dn)(e,v(t))}function on(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function an(e,r,i,o,t){return t(e,function(e,t,n){i=o?(o=!1,e):r(i,e,t,n)}),i}function sn(e,t,n){var r=C(e)?on:an,i=arguments.length<3;return r(e,v(t),n,i,Mt)}function ln(e){return C(e)||Ee(e)||!!(Vn&&e&&e[Vn])}function un(e,t,n,r,i){var o=-1,a=e.length;for(n=n||ln,i=i||[];++o<a;){var s=e[o];0<t&&n(s)?1<t?un(s,t-1,n,r,i):Qe(i,s):r||(i[i.length]=s)}return i}function cn(l,u,c){return u=Hn(void 0===u?l.length-1:u,0),function(){for(var e=arguments,t=-1,n=Hn(e.length-u,0),r=Array(n);++t<n;)r[t]=e[u+t];for(var t=-1,i=Array(u+1);++t<u;)i[t]=e[t];i[u]=c(r);var o=l,a=this,s=i;switch(s.length){case 0:return o.call(a);case 1:return o.call(a,s[0]);case 2:return o.call(a,s[0],s[1]);case 3:return o.call(a,s[0],s[1],s[2])}return o.apply(a,s)}}function fn(e,t){return Gn(cn(e,t,p),e+"")}function hn(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function dn(e){return e!=e}function pn(e,t){return!(null==e||!e.length)&&-1<function(e,t){if(t!=t)return hn(e,dn,0);for(var n=e,r=t,i=-1,o=n.length;++i<o;)if(n[i]===r)return i;return-1}(e,t)}function yn(e){return S(e)&&c(e)}function mn(e){return null==e?[]:(e=m(t=e),Sn(e,function(e){return t[e]}));var t}var gn,vn,bn,_n,xn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wn=/\\(\\)?/g,An=(_n=(f=Kt(function(e){var i=[];return 46===e.charCodeAt(0)&&i.push(""),e.replace(xn,function(e,t,n,r){i.push(n?r.replace(wn,"$1"):t||e)}),i},function(e){return 500===_n.size&&_n.clear(),e})).cache,f),Sn=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},a=e?e.prototype:void 0,Cn=a?a.toString:void 0,On=function(e){return null==e?"":function e(t){var n;return"string"==typeof t?t:C(t)?Sn(t,e)+"":y(t)?Cn?Cn.call(t):"":"0"==(n=t+"")&&1/t==-1/0?"-0":n}(e)},En=function(e,t){return C(e)?e:qt(e,t)?[e]:An(On(e))},Mn=function(e){var t;return"string"==typeof e||y(e)?e:"0"==(t=e+"")&&1/e==-1/0?"-0":t},Pn=function(e,t){return null!=e&&t in Object(e)},kn=function(e,t,n){for(var r=-1,i=(t=En(t,e)).length,o=!1;++r<i;){var a=Mn(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&ke(i)&&Pe(a,i)&&(C(e)||Ee(e))},Tn=function(n,r){return qt(n)&&Bt(r)?Rt(Mn(n),r):function(e){var t=void 0===(t=null==e?void 0:Xt(e,n))?void 0:t;return void 0===t&&t===r?Jt(e,n):Dt(r,t,3)}},In=function(e){return qt(e)?$t(Mn(e)):(t=e,function(e){return Xt(e,t)});var t},Ln=Object.prototype.hasOwnProperty,jn=Object.prototype.hasOwnProperty,Dn=function(e,r){var i=-1,o=c(e)?Array(e.length):[];return Mt(e,function(e,t,n){o[++i]=r(e,t,n)}),o},Bn=$t("length"),Rn=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),h="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",f="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",Nn="[\\ud800-\\udbff][\\udc00-\\udfff]",M="(?:"+h+"|"+r+")?",zn="[\\ufe0e\\ufe0f]?",zn=zn+M+"(?:\\u200d(?:"+[f,a,Nn].join("|")+")"+zn+M+")*",M="(?:"+[f+h+"?",h,a,Nn,"[\\ud800-\\udfff]"].join("|")+")",Fn=RegExp(r+"(?="+r+")|"+M+zn,"g"),Vn=e?e.isConcatSpreadable:void 0,Hn=Math.max,f=xe?function(e,t){return xe(e,"toString",{configurable:!0,enumerable:!1,value:wt(t),writable:!0})}:p,Yn=Date.now,Gn=(gn=f,bn=vn=0,function(){var e=Yn(),t=16-(e-bn);if(bn=e,0<t){if(800<=++vn)return arguments[0]}else vn=0;return gn.apply(void 0,arguments)}),Un=Xe&&1/Lt(new Xe([,-0]))[1]==1/0?function(e){return new Xe(e)}:function(){},h=fn(function(e){var t=un(e,1,yn,!0),n=-1,r=pn,i=t.length,o=!0,a=[],s=a;if(200<=i){e=Un(t);if(e)return Lt(e);o=!1,r=kt,s=new Nt}else s=a;e:for(;++n<i;){var l=u=t[n],u=0!==u?u:0;if(o&&l==l){for(var c=s.length;c--;)if(s[c]===l)continue e;a.push(u)}else r(s,l,void 0)||(s!==a&&s.push(l),a.push(u))}return a});try{br={clone:function(e){return xt(e,4)},constant:wt,each:d,filter:Zt,has:tn,isArray:C,isEmpty:function(e){if(null!=e){if(c(e)&&(C(e)||"string"==typeof e||"function"==typeof e.splice||O(e)||Te(e)||Ee(e)))return!e.length;var t,n=_(e);if("[object Map]"==n||"[object Set]"==n)return!e.size;if(De(e))return!Ne(e).length;for(t in e)if(jn.call(e,t))return!1}return!0},isFunction:X,isUndefined:nn,keys:m,map:rn,reduce:sn,size:function(e){var t;return null==e?0:c(e)?"string"==typeof(t=e)||!C(t)&&S(t)&&"[object String]"==x(t)?(t=e,(Rn.test(t)?function(e){for(var t=Fn.lastIndex=0;Fn.test(e);)++t;return t}:Bn)(t)):e.length:"[object Map]"==(t=_(e))||"[object Set]"==t?e.size:Ne(e).length},transform:function(e,r,i){var t,n=C(e),o=n||O(e)||Te(e);return r=v(r),null==i&&(t=e&&e.constructor,i=o?n?new t:[]:A(e)&&X(t)?pt(We(e)):{}),(o?_e:Et)(e,function(e,t,n){return r(i,e,t,n)}),i},union:h,values:mn}}catch(w){}var P=br=br||window._,Qn=k;function k(e){this._isDirected=!P.has(e,"directed")||e.directed,this._isMultigraph=!!P.has(e,"multigraph")&&e.multigraph,this._isCompound=!!P.has(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=P.constant(void 0),this._defaultEdgeLabelFn=P.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function Wn(e,t){e[t]?e[t]++:e[t]=1}function qn(e,t){--e[t]||delete e[t]}function Kn(e,t,n,r){t=""+t,n=""+n;return!e&&n<t&&(e=t,t=n,n=e),t+""+n+""+(P.isUndefined(r)?"\0":r)}function Xn(e,t){return Kn(e,t.v,t.w,t.name)}k.prototype._nodeCount=0,k.prototype._edgeCount=0,k.prototype.isDirected=function(){return this._isDirected},k.prototype.isMultigraph=function(){return this._isMultigraph},k.prototype.isCompound=function(){return this._isCompound},k.prototype.setGraph=function(e){return this._label=e,this},k.prototype.graph=function(){return this._label},k.prototype.setDefaultNodeLabel=function(e){return P.isFunction(e)||(e=P.constant(e)),this._defaultNodeLabelFn=e,this},k.prototype.nodeCount=function(){return this._nodeCount},k.prototype.nodes=function(){return P.keys(this._nodes)},k.prototype.sources=function(){var t=this;return P.filter(this.nodes(),function(e){return P.isEmpty(t._in[e])})},k.prototype.sinks=function(){var t=this;return P.filter(this.nodes(),function(e){return P.isEmpty(t._out[e])})},k.prototype.setNodes=function(e,t){var n=arguments,r=this;return P.each(e,function(e){1<n.length?r.setNode(e,t):r.setNode(e)}),this},k.prototype.setNode=function(e,t){return P.has(this._nodes,e)?1<arguments.length&&(this._nodes[e]=t):(this._nodes[e]=1<arguments.length?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount),this},k.prototype.node=function(e){return this._nodes[e]},k.prototype.hasNode=function(e){return P.has(this._nodes,e)},k.prototype.removeNode=function(e){var t,n=this;return P.has(this._nodes,e)&&(t=function(e){n.removeEdge(n._edgeObjs[e])},delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],P.each(this.children(e),function(e){n.setParent(e)}),delete this._children[e]),P.each(P.keys(this._in[e]),t),delete this._in[e],delete this._preds[e],P.each(P.keys(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount),this},k.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(P.isUndefined(t))t="\0";else{for(var n=t+="";!P.isUndefined(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},k.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},k.prototype.parent=function(e){if(this._isCompound){e=this._parent[e];if("\0"!==e)return e}},k.prototype.children=function(e){var t;return P.isUndefined(e)&&(e="\0"),this._isCompound?(t=this._children[e])?P.keys(t):void 0:"\0"===e?this.nodes():this.hasNode(e)?[]:void 0},k.prototype.predecessors=function(e){e=this._preds[e];if(e)return P.keys(e)},k.prototype.successors=function(e){e=this._sucs[e];if(e)return P.keys(e)},k.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return P.union(t,this.successors(e))},k.prototype.isLeaf=function(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length},k.prototype.filterNodes=function(n){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound}),i=(r.setGraph(this.graph()),this),o=(P.each(this._nodes,function(e,t){n(t)&&r.setNode(t,e)}),P.each(this._edgeObjs,function(e){r.hasNode(e.v)&&r.hasNode(e.w)&&r.setEdge(e,i.edge(e))}),{});return this._isCompound&&P.each(r.nodes(),function(e){r.setParent(e,function e(t){var n=i.parent(t);return void 0===n||r.hasNode(n)?o[t]=n:n in o?o[n]:e(n)}(e))}),r},k.prototype.setDefaultEdgeLabel=function(e){return P.isFunction(e)||(e=P.constant(e)),this._defaultEdgeLabelFn=e,this},k.prototype.edgeCount=function(){return this._edgeCount},k.prototype.edges=function(){return P.values(this._edgeObjs)},k.prototype.setPath=function(e,n){var r=this,i=arguments;return P.reduce(e,function(e,t){return 1<i.length?r.setEdge(e,t,n):r.setEdge(e,t),t}),this},k.prototype.setEdge=function(){var e,t=!1,n=arguments[0],n=("object"==Eo(n)&&null!==n&&"v"in n?(o=n.v,a=n.w,e=n.name,2===arguments.length&&(r=arguments[1],t=!0)):(o=n,a=arguments[1],e=arguments[3],2<arguments.length&&(r=arguments[2],t=!0)),o=""+o,a=""+a,P.isUndefined(e)||(e=""+e),Kn(this._isDirected,o,a,e));if(P.has(this._edgeLabels,n))t&&(this._edgeLabels[n]=r);else{if(!P.isUndefined(e)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(o),this.setNode(a),this._edgeLabels[n]=t?r:this._defaultEdgeLabelFn(o,a,e);t=this._isDirected,r=""+o,i=""+a,!t&&i<r&&(t=r,r=i,i=t),t={v:r,w:i},(i=e)&&(t.name=i);var r,i=t,o=i.v,a=i.w;Object.freeze(i),this._edgeObjs[n]=i,Wn(this._preds[a],o),Wn(this._sucs[o],a),this._in[a][n]=i,this._out[o][n]=i,this._edgeCount++}return this},k.prototype.edge=function(e,t,n){e=1===arguments.length?Xn(this._isDirected,e):Kn(this._isDirected,e,t,n);return this._edgeLabels[e]},k.prototype.hasEdge=function(e,t,n){e=1===arguments.length?Xn(this._isDirected,e):Kn(this._isDirected,e,t,n);return P.has(this._edgeLabels,e)},k.prototype.removeEdge=function(e,t,n){var n=1===arguments.length?Xn(this._isDirected,arguments[0]):Kn(this._isDirected,e,t,n),r=this._edgeObjs[n];return r&&(e=r.v,t=r.w,delete this._edgeLabels[n],delete this._edgeObjs[n],qn(this._preds[t],e),qn(this._sucs[e],t),delete this._in[t][n],delete this._out[e][n],this._edgeCount--),this},k.prototype.inEdges=function(e,t){var e=this._in[e];if(e)return e=P.values(e),t?P.filter(e,function(e){return e.v===t}):e},k.prototype.outEdges=function(e,t){var e=this._out[e];if(e)return e=P.values(e),t?P.filter(e,function(e){return e.w===t}):e},k.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))};var a={Graph:Qn,version:"2.1.8"},Nn={write:function(e){var r,i,t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:(i=e,P.map(i.nodes(),function(e){var t=i.node(e),n=i.parent(e),e={v:e};return P.isUndefined(t)||(e.value=t),P.isUndefined(n)||(e.parent=n),e})),edges:(r=e,P.map(r.edges(),function(e){var t=r.edge(e),n={v:e.v,w:e.w};return P.isUndefined(e.name)||(n.name=e.name),P.isUndefined(t)||(n.value=t),n}))};return P.isUndefined(e.graph())||(t.value=P.clone(e.graph())),t},read:function(e){var t=new Qn(e.options).setGraph(e.value);return P.each(e.nodes,function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)}),P.each(e.edges,function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)}),t}},Jn=T;function T(){this._arr=[],this._keyIndices={}}T.prototype.size=function(){return this._arr.length},T.prototype.keys=function(){return this._arr.map(function(e){return e.key})},T.prototype.has=function(e){return P.has(this._keyIndices,e)},T.prototype.priority=function(e){e=this._keyIndices[e];if(void 0!==e)return this._arr[e].priority},T.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},T.prototype.add=function(e,t){var n,r,i=this._keyIndices;return e=String(e),!P.has(i,e)&&(r=(n=this._arr).length,i[e]=r,n.push({key:e,priority:t}),this._decrease(r),!0)},T.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},T.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},T.prototype._heapify=function(e){var t=this._arr,n=2*e,r=1+n,i=e;n<t.length&&(i=t[n].priority<t[i].priority?n:i,(i=r<t.length?t[r].priority<t[i].priority?r:i:i)!==e)&&(this._swap(e,i),this._heapify(i))},T.prototype._decrease=function(e){for(var t,n=this._arr,r=n[e].priority;0!==e&&!(n[t=e>>1].priority<r);)this._swap(e,t),e=t},T.prototype._swap=function(e,t){var n=this._arr,r=this._keyIndices,i=n[e],o=n[t];n[e]=o,n[t]=i,r[o.key]=e,r[i.key]=t};function $n(t,e,n,r){var i=t,o=String(e),a=n||er,s=r||function(e){return t.outEdges(e)};function l(e){var t=e.v!==u?e.v:e.w,n=f[t],r=a(e),i=c.distance+r;if(r<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+r);i<n.distance&&(n.distance=i,n.predecessor=u,h.decrease(t,i))}var u,c,f={},h=new Jn;for(i.nodes().forEach(function(e){var t=e===o?0:Number.POSITIVE_INFINITY;f[e]={distance:t},h.add(e,t)});0<h.size()&&(u=h.removeMin(),(c=f[u]).distance!==Number.POSITIVE_INFINITY);)s(u).forEach(l);return f}function Zn(o){var a=0,s=[],l={},u=[];return o.nodes().forEach(function(e){P.has(l,e)||function t(e){var n=l[e]={onStack:!0,lowlink:a,index:a++};if(s.push(e),o.successors(e).forEach(function(e){P.has(l,e)?l[e].onStack&&(n.lowlink=Math.min(n.lowlink,l[e].index)):(t(e),n.lowlink=Math.min(n.lowlink,l[e].lowlink))}),n.lowlink===n.index){for(var r,i=[];r=s.pop(),l[r].onStack=!1,i.push(r),e!==r;);u.push(i)}}(e)}),u}var er=P.constant(1),tr=P.constant(1),nr=rr;function rr(n){var r={},i={},o=[];if(P.each(n.sinks(),function e(t){if(P.has(i,t))throw new ir;P.has(r,t)||(i[t]=!0,r[t]=!0,P.each(n.predecessors(t),e),delete i[t],o.push(t))}),P.size(r)!==n.nodeCount())throw new ir;return o}function ir(){}(rr.CycleException=ir).prototype=new Error;function or(t,e,n){P.isArray(e)||(e=[e]);var r=(t.isDirected()?t.successors:t.neighbors).bind(t),i=[],o={};return P.each(e,function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);!function t(n,e,r,i,o,a){P.has(i,e)||(i[e]=!0,r||a.push(e),P.each(o(e),function(e){t(n,e,r,i,o,a)}),r&&a.push(e))}(t,e,"post"===n,o,r,i)}),i}r={Graph:a.Graph,json:Nn,alg:{components:function(t){var n,r={},i=[];function o(e){P.has(r,e)||(r[e]=!0,n.push(e),P.each(t.successors(e),o),P.each(t.predecessors(e),o))}return P.each(t.nodes(),function(e){n=[],o(e),n.length&&i.push(n)}),i},dijkstra:$n,dijkstraAll:function(n,r,i){return P.transform(n.nodes(),function(e,t){e[t]=$n(n,t,r,i)},{})},findCycles:function(t){return P.filter(Zn(t),function(e){return 1<e.length||1===e.length&&t.hasEdge(e[0],e[0])})},floydWarshall:function(t,e,n){return r=e||tr,i=n||function(e){return t.outEdges(e)},a={},(s=t.nodes()).forEach(function(n){a[n]={},a[n][n]={distance:0},s.forEach(function(e){n!==e&&(a[n][e]={distance:Number.POSITIVE_INFINITY})}),i(n).forEach(function(e){var t=e.v===n?e.w:e.v,e=r(e);a[n][t]={distance:e,predecessor:n}})}),s.forEach(function(i){var o=a[i];s.forEach(function(e){var r=a[e];s.forEach(function(e){var t=r[i],n=o[e],e=r[e],t=t.distance+n.distance;t<e.distance&&(e.distance=t,e.predecessor=n.predecessor)})})}),a;var r,i,a,s},isAcyclic:function(e){try{nr(e)}catch(e){if(e instanceof nr.CycleException)return!1;throw e}return!0},postorder:function(e,t){return or(e,t,"post")},preorder:function(e,t){return or(e,t,"pre")},prim:function(e,r){var i,t=new Qn,o={},a=new Jn;function n(e){var t=e.v===i?e.w:e.v,n=a.priority(t);void 0!==n&&(e=r(e))<n&&(o[t]=i,a.decrease(t,e))}if(0!==e.nodeCount()){P.each(e.nodes(),function(e){a.add(e,Number.POSITIVE_INFINITY),t.setNode(e)}),a.decrease(e.nodes()[0],0);for(var s=!1;0<a.size();){if(i=a.removeMin(),P.has(o,i))t.setEdge(i,o[i]);else{if(s)throw new Error("Input graph is not connected: "+e);s=!0}e.nodeEdges(i).forEach(n)}}return t},tarjan:Zn,topsort:nr},version:a.version};try{vr=r}catch(w){}function ar(e,t,n){var r;return!!A(n)&&!!("number"==(r=Eo(t))?c(n)&&Pe(t,n.length):"string"==r&&t in n)&&b(n[t],e)}function sr(e){return e?(e=function(e){if("number"==typeof e)return e;if(y(e))return NaN;if(A(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=A(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=e.replace(Ar,"");var t=Cr.test(e);return t||Or.test(e)?Er(e.slice(2),t?2:8):Sr.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function lr(e,t,n){var r,i,o,a,s=Object(e);return c(e)||(r=v(t),e=m(e),t=function(e){return r(s[e],e,s)}),t=t,n=n,-1<(n=(o=null==(i=e)?0:i.length)?((a=null!=n&&(n=sr(n),a=n%1,n==n)?a?n-a:n:0)<0&&(a=Mr(o+a,0)),hn(i,v(t),a)):-1)?s[r?e[n]:n]:void 0}function ur(e){return null!=e&&e.length?un(e,1):[]}function cr(e,t,n){for(var r=-1,i=e.length;++r<i;){var o,a,s=e[r],l=t(s);null!=l&&(void 0===o?l==l&&!y(l):n(l,o))&&(o=l,a=s)}return a}function fr(e,t){return t<e}function hr(e,t,n){(void 0===n||b(e[t],n))&&(void 0!==n||t in e)||we(e,t,n)}function dr(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function pr(e,t){return e<t}function yr(e,t){for(var n=e,r=t,i=-1,o=r.length,a={};++i<o;){var s=r[i],l=Xt(n,s);Jt(e,s)&&function(e,t,n,r){if(A(e))for(var i=-1,o=(t=En(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l,u=Mn(t[i]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return;i!=a&&(l=s[u],void 0===(c=r?r(l,u,s):void 0))&&(c=A(l)?l:Pe(t[i+1])?[]:{}),Se(s,u,c),s=s[u]}}(a,En(s,n),l)}return a}function mr(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=y(e),a=void 0!==t,s=null===t,l=t==t,u=y(t);if(!s&&!u&&!o&&t<e||o&&a&&l&&!s&&!u||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!u&&e<t||u&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0}function gr(e,r,f){r=r.length?Sn(r,function(t){return C(t)?function(e){return Xt(e,1===t.length?t[0]:t)}:t}):[p];var i=-1,t=(r=Sn(r,de(v)),Dn(e,function(t,e,n){return{criteria:Sn(r,function(e){return e(t)}),index:++i,value:t}})),n=t.length;for(t.sort(function(e,t){for(var n=e,r=t,i=f,o=-1,a=n.criteria,s=r.criteria,l=a.length,u=i.length;++o<l;){var c=mr(a[o],s[o]);if(c)return o>=u?c:c*("desc"==i[o]?-1:1)}return n.index-r.index});n--;)t[n]=t[n].value;return t}var vr,br,_r,M=vr=vr||window.graphlib,xr=Object.prototype,wr=xr.hasOwnProperty,zn=fn(function(e,t){e=Object(e);var n=-1,r=t.length,i=2<r?t[2]:void 0;for(i&&ar(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=E(o),s=-1,l=a.length;++s<l;){var u=a[s],c=e[u];(void 0===c||b(c,xr[u])&&!wr.call(e,u))&&(e[u]=o[u])}return e}),Ar=/^\s+|\s+$/g,Sr=/^[-+]0x[0-9a-f]+$/i,Cr=/^0b[01]+$/i,Or=/^0o[0-7]+$/i,Er=parseInt,Mr=Math.max,e=Function.prototype,f=Object.prototype,Pr=e.toString,kr=f.hasOwnProperty,Tr=Pr.call(Object),h=(_r=function(e,t,n){!function y(m,g,v,b,_){m!==g&&At(g,function(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p;_=_||new be,A(e)?(r=g,o=v,a=y,s=b,l=_,h=dr(n=m,i=t),d=dr(r,i),(p=l.get(d))?hr(n,i,p):((r=void 0===(p=s?s(h,d,i+"",n,r,l):void 0))&&(c=!(u=C(d))&&O(d),f=!u&&!c&&Te(d),p=d,u||c||f?p=C(h)?h:yn(h)?ye(h):c?Ve(d,!(r=!1)):f?ht(d,!(r=!1)):[]:function(e){if(S(e)&&"[object Object]"==x(e))return null===(e=We(e))||"function"==typeof(e=kr.call(e,"constructor")&&e.constructor)&&e instanceof e&&Pr.call(e)==Tr}(d)||Ee(d)?Ee(p=h)?p=ce(h,E(h)):A(h)&&!X(h)||(p=ve(d)):r=!1),r&&(l.set(d,p),a(p,d,o,s,l),l.delete(d)),hr(n,i,p))):(u=b?b(dr(m,t),e,t+"",m,g,_):void 0,hr(m,t,u=void 0===u?e:u))},E)}(e,t,n)},fn(function(e,t){var n=-1,r=t.length,i=1<r?t[r-1]:void 0,o=2<r?t[2]:void 0,i=3<_r.length&&"function"==typeof i?(r--,i):void 0;for(o&&ar(t[0],t[1],o)&&(r=1),e=Object(e);++n<r;){var a=t[n];a&&_r(e,a,n)}return e})),Nn=Gn(cn(br=function(e,t){return null==e?{}:yr(e,t)},void 0,ur),br+""),Ir=Math.ceil,Lr=Math.max,a=fn(function(e,t){var n;return null==e?[]:(1<(n=t.length)&&ar(e,t[0],t[1])?t=[]:2<n&&ar(t[0],t[1],t[2])&&(t=[t[0]]),gr(e,un(t,1),[]))}),jr=0;try{Dr={cloneDeep:function(e){return xt(e,5)},constant:wt,defaults:zn,each:d,filter:Zt,find:lr,flatten:ur,forEach:Ct,forIn:function(e,t){return null==e?e:At(e,St(t),E)},has:tn,isUndefined:nn,last:function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},map:rn,mapValues:function(e,r){var i={};return r=v(r),Et(e,function(e,t,n){we(i,t,r(e,t,n))}),i},max:function(e){return e&&e.length?cr(e,p,fr):void 0},merge:h,min:function(e){return e&&e.length?cr(e,p,pr):void 0},minBy:function(e,t){return e&&e.length?cr(e,v(t),pr):void 0},now:function(){return i.Date.now()},pick:Nn,range:function(e,t,n){n&&"number"!=typeof n&&ar(e,t,n)&&(t=n=void 0),e=sr(e),void 0===t?(t=e,e=0):t=sr(t);for(var r=e,i=t,o=n=void 0===n?e<t?1:-1:sr(n),a=-1,s=Lr(Ir((i-r)/(o||1)),0),l=Array(s);s--;)l[++a]=r,r+=o;return l},reduce:sn,sortBy:a,uniqueId:function(e){var t=++jr;return On(e)+t},values:mn,zipObject:function(e,t){for(var n=e||[],r=t||[],i=Se,o=-1,a=n.length,s=r.length,l={};++o<a;){var u=o<s?r[o]:void 0;i(l,n[o],u)}return l}}}catch(w){}var Dr,I=Dr=Dr||window._,Br=Rr;function Rr(){var e={};e._next=e._prev=e,this._sentinel=e}function Nr(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function zr(e,t){if("_next"!==e&&"_prev"!==e)return t}Rr.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return Nr(t),t},Rr.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&Nr(e),e._next=t._next,t._next._prev=e,(t._next=e)._prev=t},Rr.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,zr)),n=n._prev;return"["+e.join(", ")+"]"};var Fr=M.Graph,Vr=I.constant(1);function Hr(r,i,o,e,a){var s=a?[]:void 0;return I.forEach(r.inEdges(e.v),function(e){var t=r.edge(e),n=r.node(e.v);a&&s.push({v:e.v,w:e.w}),n.out-=t,Yr(i,o,n)}),I.forEach(r.outEdges(e.v),function(e){var t=r.edge(e),e=e.w,e=r.node(e);e.in-=t,Yr(i,o,e)}),r.removeNode(e.v),s}function Yr(e,t,n){(n.out?n.in?e[n.out-n.in+t]:e[e.length-1]:e[0]).enqueue(n)}var Gr=M.Graph,L={addDummyNode:Ur,simplify:function(r){var i=(new Gr).setGraph(r.graph());return I.forEach(r.nodes(),function(e){i.setNode(e,r.node(e))}),I.forEach(r.edges(),function(e){var t=i.edge(e.v,e.w)||{weight:0,minlen:1},n=r.edge(e);i.setEdge(e.v,e.w,{weight:t.weight+n.weight,minlen:Math.max(t.minlen,n.minlen)})}),i},asNonCompoundGraph:function(t){var n=new Gr({multigraph:t.isMultigraph()}).setGraph(t.graph());return I.forEach(t.nodes(),function(e){t.children(e).length||n.setNode(e,t.node(e))}),I.forEach(t.edges(),function(e){n.setEdge(e,t.edge(e))}),n},successorWeights:function(n){var e=I.map(n.nodes(),function(e){var t={};return I.forEach(n.outEdges(e),function(e){t[e.w]=(t[e.w]||0)+n.edge(e).weight}),t});return I.zipObject(n.nodes(),e)},predecessorWeights:function(n){var e=I.map(n.nodes(),function(e){var t={};return I.forEach(n.inEdges(e),function(e){t[e.v]=(t[e.v]||0)+n.edge(e).weight}),t});return I.zipObject(n.nodes(),e)},intersectRect:function(e,t){var n,r=e.x,i=e.y,o=t.x-r,t=t.y-i,a=e.width/2,e=e.height/2;if(o||t)return e=Math.abs(t)*a>Math.abs(o)*e?(n=(e=t<0?-e:e)*o/t,e):(n=a=o<0?-a:a)*t/o,{x:r+n,y:i+e};throw new Error("Not possible to find intersection inside of the rectangle")},buildLayerMatrix:function(r){var i=I.map(I.range(Qr(r)+1),function(){return[]});return I.forEach(r.nodes(),function(e){var t=r.node(e),n=t.rank;I.isUndefined(n)||(i[n][t.order]=e)}),i},normalizeRanks:function(t){var n=I.min(I.map(t.nodes(),function(e){return t.node(e).rank}));I.forEach(t.nodes(),function(e){e=t.node(e);I.has(e,"rank")&&(e.rank-=n)})},removeEmptyRanks:function(n){var r=I.min(I.map(n.nodes(),function(e){return n.node(e).rank})),i=[],o=(I.forEach(n.nodes(),function(e){var t=n.node(e).rank-r;i[t]||(i[t]=[]),i[t].push(e)}),0),a=n.graph().nodeRankFactor;I.forEach(i,function(e,t){I.isUndefined(e)&&t%a!=0?--o:o&&I.forEach(e,function(e){n.node(e).rank+=o})})},addBorderNode:function(e,t,n,r){var i={width:0,height:0};return 4<=arguments.length&&(i.rank=n,i.order=r),Ur(e,"border",i,t)},maxRank:Qr,partition:function(e,t){var n={lhs:[],rhs:[]};return I.forEach(e,function(e){(t(e)?n.lhs:n.rhs).push(e)}),n},time:function(e,t){var n=I.now();try{return t()}finally{console.log(e+" time: "+(I.now()-n)+"ms")}},notime:function(e,t){return t()}};function Ur(e,t,n,r){for(var i;i=I.uniqueId(r),e.hasNode(i););return n.dummy=t,e.setNode(i,n),i}function Qr(t){return I.max(I.map(t.nodes(),function(e){e=t.node(e).rank;if(!I.isUndefined(e))return e}))}function Wr(h){h.graph().dummyChains=[],I.forEach(h.edges(),function(e){var t,n,r,i=h,o=e,a=o.v,s=i.node(a).rank,e=o.w,l=i.node(e).rank,u=o.name,c=i.edge(o),f=c.labelRank;if(l!==s+1){for(i.removeEdge(o),r=0,++s;s<l;++r,++s)c.points=[],t=L.addDummyNode(i,"edge",n={width:0,height:0,edgeLabel:c,edgeObj:o,rank:s},"_d"),s===f&&(n.width=c.width,n.height=c.height,n.dummy="edge-label",n.labelpos=c.labelpos),i.setEdge(a,t,{weight:c.weight},u),0===r&&i.graph().dummyChains.push(t),a=t;i.setEdge(a,e,{weight:c.weight},u)}})}function qr(r){var i={};I.forEach(r.sources(),function t(e){var n=r.node(e);if(I.has(i,e))return n.rank;i[e]=!0;e=I.min(I.map(r.outEdges(e),function(e){return t(e.w)-r.edge(e).minlen}));return e!==Number.POSITIVE_INFINITY&&null!=e||(e=0),n.rank=e})}function Kr(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}function Xr(e){var t,n=new Jr({directed:!1}),r=e.nodes()[0],i=e.nodeCount();for(n.setNode(r,{});function(i,o){return I.forEach(i.nodes(),function n(r){I.forEach(o.nodeEdges(r),function(e){var t=e.v,t=r===t?e.w:t;i.hasNode(t)||$r(o,e)||(i.setNode(t,{}),i.setEdge(r,t,{}),n(t))})}),i.nodeCount()}(n,e)<i;)t=function(t,n){return I.minBy(n.edges(),function(e){if(t.hasNode(e.v)!==t.hasNode(e.w))return $r(n,e)})}(n,e),function(e,t,n){I.forEach(e.nodes(),function(e){t.node(e).rank+=n})}(n,e,n.hasNode(t.v)?$r(e,t):-$r(e,t));return n}var Jr=M.Graph,$r=Kr;var Zr=Kr,ei=qr,ti=M.alg.preorder,ni=M.alg.postorder,ri=L.simplify,ii=j;function j(e){e=ri(e),ei(e);var t,n=Xr(e);for(si(n),oi(n,e);t=li(n);)ci(n,e,t,ui(n,e,t))}function oi(i,o){var e=(e=ni(i,i.nodes())).slice(0,e.length-1);I.forEach(e,function(e){var t,n,r;n=o,e=e,r=(t=i).node(e).parent,t.edge(e,r).cutvalue=ai(t,n,e)})}function ai(r,i,o){var a=r.node(o).parent,s=!0,e=i.edge(o,a),l=0;return e||(s=!1,e=i.edge(a,o)),l=e.weight,I.forEach(i.nodeEdges(o),function(e){var t=e.v===o,n=t?e.w:e.v;n!==a&&(t=t===s,e=i.edge(e).weight,l+=t?e:-e,r.hasEdge(o,n))&&(e=r.edge(o,n).cutvalue,l+=t?-e:e)}),l}function si(e,t){arguments.length<2&&(t=e.nodes()[0]),function t(n,r,i,o,e){var a=i,s=n.node(o);return r[o]=!0,I.forEach(n.neighbors(o),function(e){I.has(r,e)||(i=t(n,r,i,e,o))}),s.low=a,s.lim=i++,e?s.parent=e:delete s.parent,i}(e,{},1,t)}function li(t){return I.find(t.edges(),function(e){return t.edge(e).cutvalue<0})}function ui(t,n,e){var r=e.v,i=e.w,e=(n.hasEdge(r,i)||(r=e.w,i=e.v),t.node(r)),r=t.node(i),o=e,a=!1,i=(e.lim>r.lim&&(o=r,a=!0),I.filter(n.edges(),function(e){return a===fi(0,t.node(e.v),o)&&a!==fi(0,t.node(e.w),o)}));return I.minBy(i,function(e){return Zr(n,e)})}function ci(e,t,n,r){var i,o,a=n.v,n=n.w;e.removeEdge(a,n),e.setEdge(r.v,r.w,{}),si(e),oi(e,t),i=e,o=t,a=I.find(i.nodes(),function(e){return!o.node(e).parent}),a=(a=ti(i,a)).slice(1),I.forEach(a,function(e){var t=i.node(e).parent,n=o.edge(e,t),r=!1;n||(n=o.edge(t,e),r=!0),o.node(e).rank=o.node(t).rank+(r?n.minlen:-n.minlen)})}function fi(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}j.initLowLimValues=si,j.initCutValues=oi,j.calcCutValue=ai,j.leaveEdge=li,j.enterEdge=ui,j.exchangeEdges=ci;var hi=qr,di=hi;function pi(e){ii(e)}function yi(t){var i,o,n,r=L.addDummyNode(t,"root",{},"_root"),a=(i=t,o={},I.forEach(i.children(),function(e){!function t(e,n){var r=i.children(e);r&&r.length&&I.forEach(r,function(e){t(e,n+1)}),o[e]=n}(e,1)}),o),s=I.max(I.values(a))-1,l=2*s+1,u=(t.graph().nestingRoot=r,I.forEach(t.edges(),function(e){t.edge(e).minlen*=l}),n=t,I.reduce(n.edges(),function(e,t){return e+n.edge(t).weight},0)+1);I.forEach(t.children(),function(e){!function i(o,a,s,l,u,c,f){var h,d,e,t=o.children(f);t.length?(h=L.addBorderNode(o,"_bt"),d=L.addBorderNode(o,"_bb"),e=o.node(f),o.setParent(h,f),e.borderTop=h,o.setParent(d,f),e.borderBottom=d,I.forEach(t,function(e){i(o,a,s,l,u,c,e);var t=o.node(e),n=t.borderTop||e,e=t.borderBottom||e,t=t.borderTop?l:2*l,r=n!==e?1:u-c[f]+1;o.setEdge(h,n,{weight:t,minlen:r,nestingEdge:!0}),o.setEdge(e,d,{weight:t,minlen:r,nestingEdge:!0})}),o.parent(f)||o.setEdge(a,h,{weight:0,minlen:u+c[f]})):f!==a&&o.setEdge(a,f,{weight:0,minlen:s})}(t,r,l,u,s,a,e)}),t.graph().nodeRankFactor=l}function mi(e,t,n,r,i,o){var a=i[t][o-1],n=L.addDummyNode(e,"border",{width:0,height:0,rank:o,borderType:t},n);i[t][o]=n,e.setParent(n,r),a&&e.setEdge(a,n,{weight:1})}function gi(t){I.forEach(t.nodes(),function(e){vi(t.node(e))}),I.forEach(t.edges(),function(e){vi(t.edge(e))})}function vi(e){var t=e.width;e.width=e.height,e.height=t}function bi(e){e.y=-e.y}function _i(e){var t=e.x;e.x=e.y,e.y=t}function xi(e,t){for(var n=0,r=1;r<t.length;++r)n+=function(t,e,n){for(var r=I.zipObject(n,I.map(n,function(e,t){return t})),e=I.flatten(I.map(e,function(e){return I.sortBy(I.map(t.outEdges(e),function(e){return{pos:r[e.w],weight:t.edge(e).weight}}),"pos")}),!0),i=1;i<n.length;)i<<=1;var o=2*i-1,a=(--i,I.map(new Array(o),function(){return 0})),s=0;return I.forEach(e.forEach(function(e){var t=e.pos+i;a[t]+=e.weight;for(var n=0;0<t;)t%2&&(n+=a[t+1]),a[t=t-1>>1]+=e.weight;s+=e.weight*n})),s}(e,t[r-1],t[r]);return n}function wi(e,t,n){for(var r;t.length&&(r=I.last(t)).i<=n;)t.pop(),e.push(r.vs),n++;return n}function Ai(e){var r,i,t,o,n=L.maxRank(e),a=Pi(e,I.range(1,n+1),"inEdges"),s=Pi(e,I.range(n-1,-1,-1),"outEdges");r=e,i={},n=I.filter(r.nodes(),function(e){return!r.children(e).length}),t=I.max(I.map(n,function(e){return r.node(e).rank})),o=I.map(I.range(t+1),function(){return[]}),t=I.sortBy(n,function(e){return r.node(e).rank}),I.forEach(t,function e(t){var n;I.has(i,t)||(i[t]=!0,n=r.node(t),o[n.rank].push(t),I.forEach(r.successors(t),e))}),ki(e,o);for(var l,u=Number.POSITIVE_INFINITY,c=0,f=0;f<4;++c,++f){(function(e,t){var r=new Mi;I.forEach(e,function(n){var e=n.graph().root,e=Si(n,e,r,t);I.forEach(e.vs,function(e,t){n.node(e).order=t}),Ei(n,r,e.vs)})})(c%2?a:s,2<=c%4);var h=L.buildLayerMatrix(e),d=xi(e,h);d<u&&(f=0,l=I.cloneDeep(h),u=d)}ki(e,l)}var Si=function n(r,e,i,o){var a,t,s,l,u,c,f,h,d,p=r.children(e),e=r.node(e),y=e?e.borderLeft:void 0,m=e?e.borderRight:void 0,g={},v=(y&&(p=I.filter(p,function(e){return e!==y&&e!==m})),a=r,e=p,I.map(e,function(e){var t=a.inEdges(e);return t.length?{v:e,barycenter:(t=I.reduce(t,function(e,t){var n=a.edge(t),t=a.node(t.v);return{sum:e.sum+n.weight*t.order,weight:e.weight+n.weight}},{sum:0,weight:0})).sum/t.weight,weight:t.weight}:{v:e}})),p=(I.forEach(v,function(e){var t;r.children(e.v).length&&(t=n(r,e.v,i,o),g[e.v]=t,I.has(t,"barycenter"))&&(t=t,I.isUndefined((e=e).barycenter)?(e.barycenter=t.barycenter,e.weight=t.weight):(e.barycenter=(e.barycenter*e.weight+t.barycenter*t.weight)/(e.weight+t.weight),e.weight+=t.weight))}),function(e){var r={},n=(I.forEach(v,function(e,t){t=r[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};I.isUndefined(e.barycenter)||(t.barycenter=e.barycenter,t.weight=e.weight)}),I.forEach(e.edges(),function(e){var t=r[e.v],n=r[e.w];I.isUndefined(t)||I.isUndefined(n)||(n.indegree++,t.out.push(r[e.w]))}),I.filter(r,function(e){return!e.indegree})),t=[];function i(i){return function(e){var t,n,r;e.merged||(I.isUndefined(e.barycenter)||I.isUndefined(i.barycenter)||e.barycenter>=i.barycenter)&&(e=e,r=n=0,(t=i).weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=n/r,t.weight=r,t.i=Math.min(e.i,t.i),e.merged=!0)}}for(;n.length;){var o=n.pop();t.push(o),I.forEach(o.in.reverse(),i(o)),I.forEach(o.out,function(t){return function(e){e.in.push(t),0==--e.indegree&&n.push(e)}}(o))}return I.map(I.filter(t,function(e){return!e.merged}),function(e){return I.pick(e,["vs","i","barycenter","weight"])})}(i)),e=(t=g,I.forEach(p,function(e){e.vs=I.flatten(e.vs.map(function(e){return t[e]?t[e].vs:e}),!0)}),e=o,p=L.partition(p,function(e){return I.has(e,"barycenter")}),d=p.lhs,l=I.sortBy(p.rhs,function(e){return-e.i}),u=[],h=f=c=0,d.sort((s=!!e,function(e,t){return e.barycenter<t.barycenter?-1:e.barycenter>t.barycenter?1:s?t.i-e.i:e.i-t.i})),h=wi(u,l,h),I.forEach(d,function(e){h+=e.vs.length,u.push(e.vs),c+=e.barycenter*e.weight,f+=e.weight,h=wi(u,l,h)}),p={vs:I.flatten(u,!0)},f&&(p.barycenter=c/f,p.weight=f),p);return y&&(e.vs=I.flatten([y,e.vs,m],!0),r.predecessors(y).length)&&(d=r.node(r.predecessors(y)[0]),p=r.node(r.predecessors(m)[0]),I.has(e,"barycenter")||(e.barycenter=0,e.weight=0),e.barycenter=(e.barycenter*e.weight+d.order+p.order)/(e.weight+2),e.weight+=2),e},Ci=M.Graph,Oi=function(i,n,o){var a=function(e){for(var t;e.hasNode(t=I.uniqueId("_root")););return t}(i),s=new Ci({compound:!0}).setGraph({root:a}).setDefaultNodeLabel(function(e){return i.node(e)});return I.forEach(i.nodes(),function(r){var e=i.node(r),t=i.parent(r);(e.rank===n||e.minRank<=n&&n<=e.maxRank)&&(s.setNode(r),s.setParent(r,t||a),I.forEach(i[o](r),function(e){var t=e.v===r?e.w:e.v,n=s.edge(t,r),n=I.isUndefined(n)?0:n.weight;s.setEdge(t,r,{weight:i.edge(e).weight+n})}),I.has(e,"minRank"))&&s.setNode(r,{borderLeft:e.borderLeft[n],borderRight:e.borderRight[n]})}),s},Ei=function(i,o,e){var a,s={};I.forEach(e,function(e){for(var t,n,r=i.parent(e);r;){if((t=i.parent(r))?(n=s[t],s[t]=r):(n=a,a=r),n&&n!==r)return void o.setEdge(n,r);r=t}})},Mi=M.Graph;function Pi(t,e,n){return I.map(e,function(e){return Oi(t,e,n)})}function ki(n,e){I.forEach(e,function(e){I.forEach(e,function(e,t){n.node(e).order=t})})}var Ti=M.Graph;function Ii(e,t,n){n<t&&(r=t,t=n,n=r);var r=e[t];r||(e[t]=r={}),r[n]=!0}function Li(C){var O,s,a,u,c,e=L.buildLayerMatrix(C),E=I.merge((u=C,c={},I.reduce(e,function(e,r){var o=0,a=0,s=e.length,l=I.last(r);return I.forEach(r,function(e,t){var n=function(t,e){if(t.node(e).dummy)return I.find(t.predecessors(e),function(e){return t.node(e).dummy})}(u,e),i=n?u.node(n).order:s;!n&&e!==l||(I.forEach(r.slice(a,t+1),function(r){I.forEach(u.predecessors(r),function(e){var t=u.node(e),n=t.order;!(n<o||i<n)||t.dummy&&u.node(r).dummy||Ii(c,e,r)})}),a=t+1,o=i)}),r}),c),(s=C,a={},I.reduce(e,function(n,r){var i,o=-1,a=0;return I.forEach(r,function(e,t){"border"===s.node(e).dummy&&(e=s.predecessors(e)).length&&(i=s.node(e[0]).order,l(r,a,t,o,i),a=t,o=i),l(r,a,r.length,i,n.length)}),r}),a)),M={};function l(t,e,n,r,i){var o;I.forEach(I.range(e,n),function(e){o=t[e],s.node(o).dummy&&I.forEach(s.predecessors(o),function(e){var t=s.node(e);t.dummy&&(t.order<r||t.order>i)&&Ii(a,e,o)})})}I.forEach(["u","d"],function(S){O="u"===S?e:I.values(e).reverse(),I.forEach(["l","r"],function(e){"r"===e&&(O=I.map(O,function(e){return I.values(e).reverse()}));var r,t,n,o,a,i,s,l,u,c,f,h,d,p,y,m,g,v,b,_,x=("u"===S?C.predecessors:C.successors).bind(C),x=(y=O,m=E,g=x,v={},b={},_={},I.forEach(y,function(e){I.forEach(e,function(e,t){_[b[v[e]=e]=e]=t})}),I.forEach(y,function(e){var u=-1;I.forEach(e,function(e){var t,n,r,i=g(e);if(i.length)for(var o=((i=I.sortBy(i,function(e){return _[e]})).length-1)/2,a=Math.floor(o),s=Math.ceil(o);a<=s;++a){var l=i[a];b[e]===e&&u<_[l]&&(r=void 0,(n=l)<(t=e)&&(r=t,t=n,n=r),!I.has(m[t],n))&&(b[l]=e,b[e]=v[e]=v[l],u=_[l])}})}),{root:v,align:b}),w=(r=C,y=O,n=x.align,h={},o=r,y=y,a=t=x.root,i=x="r"===e,c=new Ti,w=o.graph(),s=w.nodesep,l=w.edgesep,u=i,f=function(e,t,n){var r,i=e.node(t),o=e.node(n),t=0;if(t+=i.width/2,I.has(i,"labelpos"))switch(i.labelpos.toLowerCase()){case"l":r=-i.width/2;break;case"r":r=i.width/2}if(r&&(t+=u?r:-r),r=0,t=(t=(t+=(i.dummy?l:s)/2)+(o.dummy?l:s)/2)+o.width/2,I.has(o,"labelpos"))switch(o.labelpos.toLowerCase()){case"l":r=o.width/2;break;case"r":r=-o.width/2}return r&&(t+=u?r:-r),r=0,t},I.forEach(y,function(e){var i;I.forEach(e,function(e){var t,n,r=a[e];c.setNode(r),i&&(t=a[i],n=c.edge(t,r),c.setEdge(t,r,Math.max(f(o,e,i),n||0))),i=e})}),p=x?"borderLeft":"borderRight",A(function(e){h[e]=d.inEdges(e).reduce(function(e,t){return Math.max(e,h[t.v]+d.edge(t))},0)},(d=c).predecessors.bind(d)),A(function(e){var t=d.outEdges(e).reduce(function(e,t){return Math.min(e,h[t.w]-d.edge(t))},Number.POSITIVE_INFINITY),n=r.node(e);t!==Number.POSITIVE_INFINITY&&n.borderType!==p&&(h[e]=Math.max(h[e],t))},d.successors.bind(d)),I.forEach(n,function(e){h[e]=h[t[e]]}),h);function A(e,t){for(var n=d.nodes(),r=n.pop(),i={};r;)i[r]?e(r):(i[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()}"r"===e&&(w=I.mapValues(w,function(e){return-e})),M[S+e]=w})}),i=C;var i,n,r,f,h,d,p,t=I.minBy(I.values(M),function(e){var n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;return I.forIn(e,function(e,t){t=i.node(t).width/2;n=Math.max(e+t,n),r=Math.min(e-t,r)}),n-r});return f=M,h=t,t=I.values(h),d=I.min(t),p=I.max(t),I.forEach(["u","d"],function(o){I.forEach(["l","r"],function(e){var t,n,r=o+e,i=f[r];i!==h&&(n=I.values(i),t="l"===e?d-I.min(n):p-I.max(n))&&(f[r]=I.mapValues(i,function(e){return e+t}))})}),n=M,r=C.graph().align,I.mapValues(n.ul,function(e,t){return r?n[r.toLowerCase()][t]:((t=I.sortBy(I.map(n,t)))[1]+t[2])/2})}var ji=L.normalizeRanks,Di=L.removeEmptyRanks,D=L,Bi=M.Graph,Ri=["nodesep","edgesep","ranksep","marginx","marginy"],Ni={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},zi=["acyclicer","ranker","rankdir","align"],Fi=["width","height"],Vi={width:0,height:0},Hi=["minlen","weight","width","height","labeloffset"],Yi={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Gi=["labelpos"];function Ui(e,t){return I.mapValues(I.pick(e,t),Number)}function Qi(e){var n={};return I.forEach(e,function(e,t){n[t.toLowerCase()]=e}),n}var Wi=M.Graph,r={graphlib:M,layout:function(o,e){var n=e&&e.debugTiming?D.time:D.notime;n("layout",function(){var t=n(" buildLayoutGraph",function(){return n=o,r=new Bi({multigraph:!0,compound:!0}),e=Qi(n.graph()),r.setGraph(I.merge({},Ni,Ui(e,Ri),I.pick(e,zi))),I.forEach(n.nodes(),function(e){var t=Qi(n.node(e));r.setNode(e,I.defaults(Ui(t,Fi),Vi)),r.setParent(e,n.parent(e))}),I.forEach(n.edges(),function(e){var t=Qi(n.edge(e));r.setEdge(e,I.merge({},Yi,Ui(t,Hi),I.pick(t,Gi)))}),r;var n,r,e});n(" runLayout",function(){var y,e;y=t,(e=n)(" makeSpaceForEdgeLabels",function(){var t,n;(n=(t=y).graph()).ranksep/=2,I.forEach(t.edges(),function(e){e=t.edge(e);e.minlen*=2,"c"!==e.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?e.width+=e.labeloffset:e.height+=e.labeloffset)})}),e(" removeSelfEdges",function(){var n;n=y,I.forEach(n.edges(),function(e){var t;e.v===e.w&&((t=n.node(e.v)).selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:e,label:n.edge(e)}),n.removeEdge(e))})}),e(" acyclic",function(){var n,r,i,o,a,t,e,s,l,u,c,f,h,d,p;p="greedy"===(n=y).graph().acyclicer?(d=t=n,p=function(e){return d.edge(e).weight},t.nodeCount()<=1?[]:(e=t,s=p||Vr,l=new Fr,c=u=0,I.forEach(e.nodes(),function(e){l.setNode(e,{v:e,in:0,out:0})}),I.forEach(e.edges(),function(e){var t=l.edge(e.v,e.w)||0,n=s(e);l.setEdge(e.v,e.w,t+n),c=Math.max(c,l.node(e.v).out+=n),u=Math.max(u,l.node(e.w).in+=n)}),f=I.range(c+u+3).map(function(){return new Br}),h=u+1,I.forEach(l.nodes(),function(e){Yr(f,h,l.node(e))}),e=function(e,t,n){for(var r,i=[],o=t[t.length-1],a=t[0];e.nodeCount();){for(;r=a.dequeue();)Hr(e,t,n,r);for(;r=o.dequeue();)Hr(e,t,n,r);if(e.nodeCount())for(var s=t.length-2;0<s;--s)if(r=t[s].dequeue()){i=i.concat(Hr(e,t,n,r,!0));break}}return i}((p={graph:l,buckets:f,zeroIdx:h}).graph,p.buckets,p.zeroIdx),I.flatten(I.map(e,function(e){return t.outEdges(e.v,e.w)}),!0))):(r=n,i=[],o={},a={},I.forEach(r.nodes(),function t(e){I.has(a,e)||(a[e]=!0,o[e]=!0,I.forEach(r.outEdges(e),function(e){I.has(o,e.w)?i.push(e):t(e.w)}),delete o[e])}),i),I.forEach(p,function(e){var t=n.edge(e);n.removeEdge(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,I.uniqueId("rev"))})}),e(" nestingGraph.run",function(){yi(y)}),e(" rank",function(){var e,t=D.asNonCompoundGraph(y);switch(t.graph().ranker){case"network-simplex":pi(t);break;case"tight-tree":hi(e=t),Xr(e);break;case"longest-path":di(t);break;default:pi(t)}}),e(" injectEdgeLabelProxies",function(){var n;n=y,I.forEach(n.edges(),function(e){var t=n.edge(e);t.width&&t.height&&(t=n.node(e.v),t={rank:(n.node(e.w).rank-t.rank)/2+t.rank,e:e},D.addDummyNode(n,"edge-proxy",t,"_ep"))})}),e(" removeEmptyRanks",function(){Di(y)}),e(" nestingGraph.cleanup",function(){var t,e;e=(t=y).graph(),t.removeNode(e.nestingRoot),delete e.nestingRoot,I.forEach(t.edges(),function(e){t.edge(e).nestingEdge&&t.removeEdge(e)})}),e(" normalizeRanks",function(){ji(y)}),e(" assignRankMinMax",function(){var t,n;t=y,n=0,I.forEach(t.nodes(),function(e){e=t.node(e);e.borderTop&&(e.minRank=t.node(e.borderTop).rank,e.maxRank=t.node(e.borderBottom).rank,n=I.max(n,e.maxRank))}),t.graph().maxRank=n}),e(" removeEdgeLabelProxies",function(){var n;n=y,I.forEach(n.nodes(),function(e){var t=n.node(e);"edge-proxy"===t.dummy&&(n.edge(t.e).labelRank=t.rank,n.removeNode(e))})}),e(" normalize.run",function(){Wr(y)}),e(" parentDummyChains",function(){var u,r,i,o,c;r=u=y,i={},o=0,I.forEach(r.children(),function e(t){var n=o;I.forEach(r.children(t),e),i[t]={low:n,lim:o++}}),c=i,I.forEach(u.graph().dummyChains,function(e){for(var t,n=u.node(e).edgeObj,r=function(e,t,n,r){for(var i,o=[],a=[],s=Math.min(t[n].low,t[r].low),l=Math.max(t[n].lim,t[r].lim),u=n;u=e.parent(u),o.push(u),u&&(t[u].low>s||l>t[u].lim););for(i=u,u=r;(u=e.parent(u))!==i;)a.push(u);return{path:o.concat(a.reverse()),lca:i}}(u,c,n.v,n.w),i=r.path,o=r.lca,a=0,s=i[a],l=!0;e!==n.w;){if(t=u.node(e),l){for(;(s=i[a])!==o&&u.node(s).maxRank<t.rank;)a++;s===o&&(l=!1)}if(!l){for(;a<i.length-1&&u.node(s=i[a+1]).minRank<=t.rank;)a++;s=i[a]}u.setParent(e,s),e=u.successors(e)[0]}})}),e(" addBorderSegments",function(){var a;a=y,I.forEach(a.children(),function e(t){var n=a.children(t),r=a.node(t);if(n.length&&I.forEach(n,e),I.has(r,"minRank")){r.borderLeft=[],r.borderRight=[];for(var i=r.minRank,o=r.maxRank+1;i<o;++i)mi(a,"borderLeft","_bl",t,r,i),mi(a,"borderRight","_br",t,r,i)}})}),e(" order",function(){Ai(y)}),e(" insertSelfEdges",function(){var i,e;i=y,e=D.buildLayerMatrix(i),I.forEach(e,function(e){var r=0;I.forEach(e,function(e,t){var n=i.node(e);n.order=t+r,I.forEach(n.selfEdges,function(e){D.addDummyNode(i,"selfedge",{width:e.label.width,height:e.label.height,rank:n.rank,order:t+ ++r,e:e.e,label:e.label},"_se")}),delete n.selfEdges})})}),e(" adjustCoordinateSystem",function(){var e,t;"lr"!==(t=(e=y).graph().rankdir.toLowerCase())&&"rl"!==t||gi(e)}),e(" position",function(){var n,r,e,i,o;n=y,r=n=L.asNonCompoundGraph(n),e=L.buildLayerMatrix(r),i=r.graph().ranksep,o=0,I.forEach(e,function(e){var t=I.max(I.map(e,function(e){return r.node(e).height}));I.forEach(e,function(e){r.node(e).y=o+t/2}),o+=t+i}),I.forEach(Li(n),function(e,t){n.node(t).x=e})}),e(" positionSelfEdges",function(){var a;a=y,I.forEach(a.nodes(),function(e){var t,n,r,i,o=a.node(e);"selfedge"===o.dummy&&(t=(i=a.node(o.e.v)).x+i.width/2,n=i.y,r=o.x-t,i=i.height/2,a.setEdge(o.e,o.label),a.removeNode(e),o.label.points=[{x:t+2*r/3,y:n-i},{x:t+5*r/6,y:n-i},{x:t+r,y:n},{x:t+5*r/6,y:n+i},{x:t+2*r/3,y:n+i}],o.label.x=o.x,o.label.y=o.y)})}),e(" removeBorderNodes",function(){var o;o=y,I.forEach(o.nodes(),function(e){var t,n,r,i;o.children(e).length&&(e=o.node(e),t=o.node(e.borderTop),n=o.node(e.borderBottom),r=o.node(I.last(e.borderLeft)),i=o.node(I.last(e.borderRight)),e.width=Math.abs(i.x-r.x),e.height=Math.abs(n.y-t.y),e.x=r.x+e.width/2,e.y=t.y+e.height/2)}),I.forEach(o.nodes(),function(e){"border"===o.node(e).dummy&&o.removeNode(e)})}),e(" normalize.undo",function(){var i;i=y,I.forEach(i.graph().dummyChains,function(e){var t,n=i.node(e),r=n.edgeLabel;for(i.setEdge(n.edgeObj,r);n.dummy;)t=i.successors(e)[0],i.removeNode(e),r.points.push({x:n.x,y:n.y}),"edge-label"===n.dummy&&(r.x=n.x,r.y=n.y,r.width=n.width,r.height=n.height),n=i.node(e=t)})}),e(" fixupEdgeLabelCoords",function(){var n;n=y,I.forEach(n.edges(),function(e){var t=n.edge(e);if(I.has(t,"x"))switch("l"!==t.labelpos&&"r"!==t.labelpos||(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset}})}),e(" undoCoordinateSystem",function(){var e,t,n,r;"bt"!==(r=(e=y).graph().rankdir.toLowerCase())&&"rl"!==r||(n=e,I.forEach(n.nodes(),function(e){bi(n.node(e))}),I.forEach(n.edges(),function(e){e=n.edge(e);I.forEach(e.points,bi),I.has(e,"y")&&bi(e)})),"lr"!==r&&"rl"!==r||(t=e,I.forEach(t.nodes(),function(e){_i(t.node(e))}),I.forEach(t.edges(),function(e){e=t.edge(e);I.forEach(e.points,_i),I.has(e,"x")&&_i(e)}),gi(e))}),e(" translateGraph",function(){function t(e){var t=e.x,n=e.y,r=e.width,e=e.height;i=Math.min(i,t-r/2),o=Math.max(o,t+r/2),a=Math.min(a,n-e/2),s=Math.max(s,n+e/2)}var n,i,o,a,s,e,r,l;n=y,i=Number.POSITIVE_INFINITY,o=0,a=Number.POSITIVE_INFINITY,s=0,e=n.graph(),r=e.marginx||0,l=e.marginy||0,I.forEach(n.nodes(),function(e){t(n.node(e))}),I.forEach(n.edges(),function(e){e=n.edge(e);I.has(e,"x")&&t(e)}),i-=r,a-=l,I.forEach(n.nodes(),function(e){e=n.node(e);e.x-=i,e.y-=a}),I.forEach(n.edges(),function(e){e=n.edge(e);I.forEach(e.points,function(e){e.x-=i,e.y-=a}),I.has(e,"x")&&(e.x-=i),I.has(e,"y")&&(e.y-=a)}),e.width=o-i+r,e.height=s-a+l}),e(" assignNodeIntersects",function(){var o;o=y,I.forEach(o.edges(),function(e){var t,n=o.edge(e),r=o.node(e.v),e=o.node(e.w),i=n.points?(t=n.points[0],n.points[n.points.length-1]):(n.points=[],t=e,r);n.points.unshift(D.intersectRect(r,t)),n.points.push(D.intersectRect(e,i))})}),e(" reversePoints",function(){var t;t=y,I.forEach(t.edges(),function(e){e=t.edge(e);e.reversed&&e.points.reverse()})}),e(" acyclic.undo",function(){var r;r=y,I.forEach(r.edges(),function(e){var t,n=r.edge(e);n.reversed&&(r.removeEdge(e),t=n.forwardName,delete n.reversed,delete n.forwardName,r.setEdge(e.w,e.v,n,t))})})}),n(" updateInputGraph",function(){var r,i;r=o,i=t,I.forEach(r.nodes(),function(e){var t=r.node(e),n=i.node(e);t&&(t.x=n.x,t.y=n.y,i.children(e).length)&&(t.width=n.width,t.height=n.height)}),I.forEach(r.edges(),function(e){var t=r.edge(e),e=i.edge(e);t.points=e.points,I.has(e,"x")&&(t.x=e.x,t.y=e.y)}),r.graph().width=i.graph().width,r.graph().height=i.graph().height})})},debug:{debugOrdering:function(t){var e=L.buildLayerMatrix(t),n=new Wi({compound:!0,multigraph:!0}).setGraph({});return I.forEach(t.nodes(),function(e){n.setNode(e,{label:e}),n.setParent(e,"layer"+t.node(e).rank)}),I.forEach(t.edges(),function(e){n.setEdge(e.v,e.w,{},e.name)}),I.forEach(e,function(e,t){n.setNode("layer"+t,{rank:"same"}),I.reduce(e,function(e,t){return n.setEdge(e,t,{style:"invis"}),t})}),n}},util:{time:L.time,notime:L.notime},version:"0.8.5"},qi=r.graphlib,Ki=r.layout,Xi=Co(function e(t){Oo(this,e),this.cardinality=1,this.include=w.InclusionType.UNSPECIFIED,this.isGroupNode=!1,this.parentNode=null,this.type=w.NodeType.NODE,this.name=t.name,this.attr=t.attr||{},this.inputs=t.inputs,this.path=t.path||[],this.width=t.width,this.height=t.height}),Ji=Co(function e(){Oo(this,e),this.nodes={},this.edges=[],this.nodes={},this.edges=[]}),$i=(Co(to,[{key:"getFirstChild",value:function(){return this.metaGraph.node(this.metaGraph.nodes()[0])}},{key:"getChildren",value:function(){var t=this;return this.metaGraph.nodes().map(function(e){return t.metaGraph.node(e)})}},{key:"leaves",value:function(){for(var t,e=[],n=[this];n.length;){var r=n.shift();r.isGroupNode?(t=r.metaGraph).nodes().forEach(function(e){return n.push(t.node(e))}):e.push(r.name)}return e}}]),to),Zi=(Co(eo,[{key:"addBaseEdge",value:function(e,t){this.baseEdgeList.push(e)}}]),eo);function eo(e,t){Oo(this,eo),this.v=e,this.w=t,this.baseEdgeList=[],this.inbound=null,this.name=null}function to(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};Oo(this,to),this.attr=null,this.bridgeGraph=null,this.cardinality=0,this.depth=1,this.include=w.InclusionType.UNSPECIFIED,this.isGroupNode=!0,this.parentNode=null,this.type=w.NodeType.META,this.path=[],this.name=e,this.metaGraph=io(e,w.GraphType.META,t)}function no(e,t){return new $i(e,1<arguments.length&&void 0!==t?t:{})}function ro(e,t){return new Zi(e,t)}function io(e,t,n){var n=n||{},r=new qi.Graph(n);return r.setGraph({name:e,rankdir:n.rankdir,type:t,align:n.align}),r}Co(ao,[{key:"getNodeMap",value:function(){return this.index}},{key:"node",value:function(e){return this.index[e]}},{key:"setNode",value:function(e,t){this.index[e]=t}},{key:"getBridgeGraph",value:function(o){var a,e,s=this,t=this.index[o];if(t)return"metaGraph"in t?(e=t).bridgeGraph||(a=io(z,w.GraphType.BRIDGE,this.graphOptions),e.bridgeGraph=a,t.parentNode&&"metaGraph"in t.parentNode&&[(e=t.parentNode).metaGraph,this.getBridgeGraph(e.name)].forEach(function(e){e.edges().filter(function(e){return e.v===o||e.w===o}).forEach(function(r){var i=r.w===o;e.edge(r).baseEdgeList.forEach(function(e){var t=So(i?[e.w,r.v]:[e.v,r.w],2),n=t[0],t=t[1],n=s.getChildName(o,n),n={v:i?t:n,w:i?n:t},t=a.edge(n);t||((t=ro(n.v,n.w)).inbound=i,a.setEdge(n.v,n.w,t)),t.addBaseEdge(e,s)})})}),a):null;throw Error("Could not find node in hierarchy: "+o)}},{key:"getChildName",value:function(e,t){for(var n=this.index[t];n;){if(n.parentNode&&n.parentNode.name===e)return n.name;n=n.parentNode}throw Error("Could not find immediate child for descendant: "+t)}},{key:"getPredecessors",value:function(e){var t=this.index[e];if(t)return this.getOneWayEdges(t,!0);throw Error("Could not find node with name: "+e)}},{key:"getSuccessors",value:function(e){var t=this.index[e];if(t)return this.getOneWayEdges(t,!1);throw Error("Could not find node with name: "+e)}},{key:"getOneWayEdges",value:function(e,t){var n,r,i=[];return e.parentNode&&e.parentNode.isGroupNode&&(n=(r=e.parentNode).metaGraph,r=this.getBridgeGraph(r.name),so(n,e,t,i),so(r,e,t,i)),i}}]);var oo=ao;function ao(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Oo(this,ao),this.graphOptions=e,this.index={},this.graphOptions.compound=!0,this.root=no(l,this.graphOptions),this.index[l]=this.root}function so(t,e,n,r){(n?t.inEdges(e.name):t.outEdges(e.name)).forEach(function(e){e=t.edge(e);r.push(e)})}Co(ho,[{key:"getRenderInfoNodes",value:function(){return Object.values(this.index)}},{key:"getSubHierarchy",value:function(){return this.hasSubHierarchy}},{key:"buildSubHierarchy",value:function(c){var e,f,h,d,p,y,m,g=this;c in this.hasSubHierarchy||(this.hasSubHierarchy[c]=!0,(e=this.index[c]).node.type===w.NodeType.META&&(f=(e=e).node.metaGraph,h=e.coreGraph,f.nodes().forEach(function(e){var t=g.getOrCreateRenderNodeByName(e);h.setNode(e,t)}),f.edges().forEach(function(e){var t=f.edge(e),t=new co(t);h.setEdge(e.v,e.w,t)}),d=e.node.parentNode)&&(p=this.getRenderNodeByName(d.name),y=function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.concat([e?"IN":"OUT"]).join("~~")},(m=this.hierarchy.getBridgeGraph(c)).edges().forEach(function(e){function t(e){return p.coreGraph.edge(i?{v:e,w:c}:{v:c,w:e})}var n,r=m.edge(e),i=!!f.node(e.w),e=So(i?[e.w,e.v]:[e.v,e.w],2),o=e[0],e=e[1],a=(a=t(e))||t(y(i,e,d.name)),s=y(i,c),e=y(i,e,c),l=h.node(e),u=(l||((n=h.node(s))||(u={name:s,type:w.NodeType.BRIDGE,isGroupNode:!1,cardinality:0,parentNode:null,include:w.InclusionType.UNSPECIFIED,inbound:i,attr:{}},n=new uo(u),g.index[s]=n,h.setNode(s,n)),u={name:e,type:w.NodeType.BRIDGE,isGroupNode:!1,cardinality:1,parentNode:null,include:w.InclusionType.UNSPECIFIED,inbound:i,attr:{}},l=new uo(u),g.index[e]=l,h.setNode(e,l),h.setParent(e,s),n.node.cardinality++),new co(r));u.adjoiningMetaEdge=a,i?h.setEdge(e,o,u):h.setEdge(o,e,u)})))}},{key:"getOrCreateRenderNodeByName",value:function(e){var t;return e?e in this.index?this.index[e]:(t=this.getNodeByName(e))?(this.index[e]=t.isGroupNode?new fo(t,this.hierarchy.graphOptions):new uo(t),this.index[e]):null:null}},{key:"getRenderNodeByName",value:function(e){return this.index[e]}},{key:"getNodeByName",value:function(e){return this.hierarchy.node(e)}}]);var lo=ho,uo=Co(function e(t){Oo(this,e),this.node=t,this.expanded=!1,this.x=0,this.y=0,this.coreBox={width:0,height:0},this.outboxWidth=0,this.labelOffset=0,this.radius=0,this.labelHeight=0,this.paddingTop=0,this.paddingLeft=0,this.paddingRight=0,this.paddingBottom=0,this.width=t.width||0,this.height=t.height||0,this.displayName=t.name,this.attr=t.attr}),co=Co(function e(t){Oo(this,e),this.metaEdge=t,this.adjoiningMetaEdge=null,this.weight=1,this.points=[]}),fo=function(){var e=i,t=uo;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wo(e,t);var r=Ao(i);function i(e,t){Oo(this,i),n=r.call(this,e);var n,e=e.metaGraph.graph();return t.compound=!0,n.coreGraph=io(e.name,w.GraphType.CORE,t),n}return Co(i)}();function ho(e){Oo(this,ho),this.hierarchy=e,this.index={},this.hasSubHierarchy={},this.root=new fo(this.hierarchy.root,this.hierarchy.graphOptions),this.index[e.root.name]=this.root,this.buildSubHierarchy(e.root.name),this.root.expanded=!0}function po(e,t){var n=t.x-e.x,t=t.y-e.y;return 180*Math.atan(t/n)/Math.PI}function yo(e){return e.expanded?e.x:e.x-e.width/2+0+e.coreBox.width/2}function mo(e,t){var n,r=t.expanded?t.x:yo(t),i=t.y,o=e.x-r,e=e.y-i,a=(t.expanded?t:t.coreBox).width,t=(t.expanded?t:t.coreBox).height,t=Math.abs(e)*a/2>Math.abs(o)*t/2?(e<0&&(t=-t),n=0==e?0:t/2*o/e,t/2):(n=(a=o<0?-a:a)/2,0==o?0:a/2*e/o);return{x:r+n,y:i+t}}function go(t){var l,e=t.coreGraph.nodes().map(function(e){return t.coreGraph.node(e)});return Object.assign(Object.assign({},vo(t)),{expanded:t.expanded,nodes:t.expanded?e.map(function(e){return(e.node.type===w.NodeType.META?go:vo)(e)}):[],edges:t.expanded?(l=t).coreGraph.edges().map(function(e){return{renderInfoEdge:l.coreGraph.edge(e),edge:e}}).filter(function(e){return e.renderInfoEdge.metaEdge}).map(function(e){var t,n,r,i,o,a=e.edge,e=e.renderInfoEdge,s=(t=l,o=(n=e).points.map(function(e){return Object.assign({},e)}),n.adjoiningMetaEdge&&(r=n.adjoiningMetaEdge.points,r=(n=n.metaEdge.inbound)?r[r.length-1]:r[0],n=o[n?0:o.length-1],s=t.x-t.width/2,i=t.y-t.height/2,s=r.x-s,r=r.y-i,i=-t.paddingLeft,t=-(t.paddingTop+t.labelHeight),n.x=s+i,n.y=r+t),o);return{adjoiningEdge:e.adjoiningMetaEdge?{w:e.adjoiningMetaEdge.metaEdge.w,v:e.adjoiningMetaEdge.metaEdge.v}:null,inbound:e.metaEdge.inbound,w:a.w,v:a.v,points:s,weight:e.weight,baseEdgeList:e.metaEdge.baseEdgeList,parentNodeName:l.node.name}}):[]})}function vo(e){return{id:e.node.name,name:e.node.name,type:e.node.type,cardinality:e.node.cardinality,attr:e.attr,parentNodeName:e.node.parentNode?e.node.parentNode.name:null,coreBox:Object.assign({},e.coreBox),x:e.x,y:e.y,width:e.width,height:e.height,radius:e.radius,labelHeight:e.labelHeight,labelOffset:e.labelOffset,outboxWidth:e.outboxWidth,paddingLeft:e.paddingLeft,paddingTop:e.paddingTop,paddingRight:e.paddingRight,paddingBottom:e.paddingBottom,path:e.node.path}}w.BRIDGE_GRAPH_NAME=z,w.LAYOUT_CONFIG=B,w.ROOT_NAME=l,w.buildGraph=function(e,t,n){var r=e.nodes.filter(function(t,e,n){return n.findIndex(function(e){return e.id===t.id})!==e}).map(function(e){return e.id});if(r.length)throw new Error("Duplicated ids found: ".concat(r.join(", ")));y={nodes:[]},m=(p=e).compound,g=Object.keys(m||{}),v=new Map,p.nodes.forEach(function(e){var t,n=e.id,r=[].concat(xo(x(n)),[n]),i=(t=n,p.edges.filter(function(e){return e.w===t}).map(function(e){return{name:e.v}}));y.nodes.push({name:n,path:r,inputs:i,width:e.width,height:e.height,attr:Object.assign({},e)})});var i,s,l,u,c,f,h,d,o,a,p,y,m,g,v,b,r=y,e=(e=e.compound||{},a=(null==t?void 0:t.expanded)||[],function e(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];if(0===Object.keys(t).length)return xo(new Set(n));var r,i=new Map(Object.keys(t).map(function(e){return[e,t[e]]})),o={},a=_o(i);try{for(a.s();!(r=a.n()).done;){var s=So(r.value,2),l=s[0],u=s[1];!function(e,t){var n,r=_o(t.values());try{for(r.s();!(n=r.n()).done;)if(n.value.includes(e))return!0}catch(e){r.e(e)}finally{r.f()}return!1}(l,i)?n=n.concat(l,u):o[l]=u}}catch(e){a.e(e)}finally{a.f()}return e(o,n)}(e).filter(function(e){return a.includes(e)})),r=(i={rankDirection:(null==(i=null==(i=null==n?void 0:n.graph)?void 0:i.meta)?void 0:i.rankDir)||(null==t?void 0:t.rankDirection)||B.graph.meta.rankDir,align:(null==(t=null==(i=null==n?void 0:n.graph)?void 0:i.meta)?void 0:t.align)||B.graph.meta.align},t=r,o=new Ji,t.nodes.map(function(e){return new Xi(e)}).forEach(function(r){(o.nodes[r.name]=r).inputs.forEach(function(e){var t,n;t=o,n=r,(e=e).name!==n.name&&t.edges.push(Object.assign(Object.assign({},e.attr),{v:e.name,w:n.name}))})}),t=o,i=new oo({rankdir:i.rankDirection,align:i.align}),h=i,d=t,Object.keys(d.nodes).forEach(function(e){var t=d.nodes[e],n=t.path,r=h.root;r.depth=Math.max(n.length,r.depth);for(var i=0;i<n.length&&(r.depth=Math.max(r.depth,n.length-i),r.cardinality+=t.cardinality,i!==n.length-1);i++){var o=n[i],a=h.node(o);a||((a=no(o,h.graphOptions)).path=t.path.slice(0,i+1),a.parentNode=r,h.setNode(o,a),r.metaGraph.setNode(o,a)),r=a}h.setNode(t.name,t),(t.parentNode=r).metaGraph.setNode(t.name,t)}),l=t,f=(s=i).getNodeMap(),l.edges.forEach(function(e){u=[],c=[];for(var t=_(l.nodes[e.v],u),n=_(l.nodes[e.w],c);u[t]===c[n];)if(n--,--t<0||n<0)throw Error("No difference found between ancestor paths.");var r=f[u[t+1]],i=u[t],o=c[n],a=r.metaGraph.edge(i,o);a||(a=ro(i,o),r.metaGraph.setEdge(i,o,a)),a.addBaseEdge(e,s)}),new lo(i));function _(e,t){for(var n=0;e;)t[n++]=e.name,e=e.parentNode;return n-1}function x(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];if(v.has(e))return v.get(e);for(var n=0;n<g.length;n++){var r=g[n];if(m&&-1!==m[r].indexOf(e))return t.unshift(r),x(r,t)}return 0===t.length&&v.set(e,t),t}return b=r,e.forEach(function(t){var e=b.getRenderInfoNodes().find(function(e){return e.displayName===t}),e=e&&e.node&&e.node.name||"",n=b.getRenderNodeByName(e);if(!n)throw new Error("No nodes found: ".concat(e));n.expanded=!0,b.buildSubHierarchy(e)}),function o(e,t){var n,c,r,a,s;e.node.isGroupNode&&(r=e,s=R(a=t),r.coreGraph.nodes().map(function(e){return r.coreGraph.node(e)}).forEach(function(e){var t,n,r=e.height,i=e.width;switch(e.node.type){case w.NodeType.NODE:Object.assign(e,s.nodeSize.node),e.height=r||s.nodeSize.node.height,e.width=i||s.nodeSize.node.width;break;case w.NodeType.BRIDGE:Object.assign(e,s.nodeSize.bridge);break;case w.NodeType.META:e.expanded?o(e,a):(Object.assign(e,s.nodeSize.meta),e.height=s.nodeSize.meta.height,e.width=s.nodeSize.meta.width);break;default:throw Error("Unrecognized node type: "+e.node.type)}e.expanded||(n=e.attr,function(e,t){t=1<arguments.length&&void 0!==t&&t;e.coreBox.width=e.width,e.coreBox.height=e.height,t||(t="".concat(e.displayName).length,e.width=Math.max(e.coreBox.width,3*t))}(e,a&&(0===e.node.type&&!(null==(t=null==(t=null==a?void 0:a.nodeSize)?void 0:t.meta)||!t.width)||1===e.node.type&&(!(null==(t=null==(t=null==a?void 0:a.nodeSize)?void 0:t.node)||!t.width)||!!n.width)||2===e.node.type&&!(null==(n=null==(t=null==a?void 0:a.nodeSize)?void 0:t.bridge)||!n.width))))})),e.node.type===w.NodeType.META&&(t=R(t),n=t.subScene.meta,Object.assign(e,n),t=t.graph.meta,c={nodesep:t.nodeSep,ranksep:t.rankSep,edgesep:t.edgeSep,align:t.align},Object.assign(e.coreBox,function(i){var e=c.ranksep,t=c.nodesep,n=c.edgesep,r=c.align,o=(Object.assign(i.graph(),{ranksep:e,nodesep:t,edgesep:n,align:r}),[]);if(i.nodes().forEach(function(e){i.node(e).node.type!==w.NodeType.BRIDGE&&o.push(e)}),!o.length)return{width:0,height:0};Ki(i);var a=1/0,s=1/0,l=-1/0,u=-1/0;return o.forEach(function(e){var t=.5*(e=i.node(e)).width,n=e.x-t,t=e.x+t,n=(a=n<a?n:a,l=l<t?t:l,.5*e.height),t=e.y-n,e=e.y+n;s=t<s?t:s,u=u<e?e:u}),i.edges().forEach(function(e){var e=i.edge(e),t=i.node(e.metaEdge.v),n=i.node(e.metaEdge.w),r=(3===e.points.length&&function(e){for(var t=po(e[0],e[1]),n=1;n<e.length-1;n++){var r=po(e[n],e[n+1]);if(1<Math.abs(r-t))return;t=r}return 1}(e.points)&&(null!=t&&(r=t.expanded?t.x:yo(t),e.points[0].x=r),null!=n&&(r=n.expanded?n.x:yo(n),e.points[2].x=r),e.points=[e.points[0],e.points[1]]),e.points[e.points.length-2]),r=(null!=n&&(e.points[e.points.length-1]=mo(r,n)),e.points[1]);null!=t&&(e.points[0]=mo(r,t)),e.points.forEach(function(e){a=e.x<a?e.x:a,l=e.x>l?e.x:l,s=e.y<s?e.y:s,u=e.y>u?e.y:u})}),i.nodes().forEach(function(e){(e=i.node(e)).x-=a,e.y-=s}),i.edges().forEach(function(e){i.edge(e).points.forEach(function(e){e.x-=a,e.y-=s})}),{width:l-a,height:u-s}}(e.coreGraph)),(t=0)<e.coreGraph.nodeCount()&&t++,t=t<=1?0:t,e.coreBox.width+=t+t,e.coreBox.height=n.labelHeight+e.coreBox.height,e.width=e.coreBox.width+n.paddingLeft+n.paddingRight,e.height=e.paddingTop+e.coreBox.height+e.paddingBottom)}(r.root,n),go(r.root)},w.flatGraph=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],e=JSON.parse(JSON.stringify(e)),i={nodes:[e],edges:xo(e.edges)};return e.nodes.forEach(function e(t){0!==t.type&&1!==t.type||i.nodes.push(t),0===t.type&&(i.edges=i.edges.concat(t.edges)),Array.isArray(t.nodes)&&t.nodes.forEach(e)}),t&&i.nodes.forEach(function(t){var e,n,r=i.nodes.find(function(e){return e.id===t.parentNodeName});r&&(e=r.x-r.width/2+r.paddingLeft,n=r.y-r.height/2+r.labelHeight+r.paddingTop,r.id!==l&&(t.x+=e,t.y+=n),0===t.type)&&t.edges.forEach(function(e){e.points.forEach(function(e){e.x+=t.x-t.width/2+t.paddingLeft,e.y+=t.y-t.height/2+t.labelHeight+t.paddingTop})})}),i},w.getEdges=function(n,r,i,o){var a=[],e=(null==(e=i.find(function(e){return e.id===n}))?void 0:e.path)||[],t=(null==(t=i.find(function(e){return e.id===r}))?void 0:t.path)||[],s=[l].concat(xo(e)).slice(0,e.length).reverse(),e=[l].concat(xo(t)).slice(0,t.length);return s.forEach(function(t){var e=i.find(function(e){return e.id===t});a=a.concat(e.edges.filter(function(e){return e.baseEdgeList.some(function(e){return e.v===((null==o?void 0:o.v)||n)&&e.w===((null==o?void 0:o.w)||r)})}))}),e.filter(function(e){return!s.includes(e)}).forEach(function(t){var e=i.find(function(e){return e.id===t});a=a.concat(e.edges.filter(function(e){return e.baseEdgeList.some(function(e){return e.v===((null==o?void 0:o.v)||n)&&e.w===((null==o?void 0:o.w)||r)})}))}),a},w.mergeConfig=R,Object.defineProperty(w,"__esModule",{value:!0})},"object"==Eo(t)?n(t):void 0!==(t="function"==typeof(n=n)?n.apply(t,[t]):n)&&(e.exports=t)},81758:function(e,t){"use strict";var i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeVersion=t.detectOS=t.parseUserAgent=t.browserName=t.detect=t.ReactNativeInfo=t.BotInfo=t.SearchBotDeviceInfo=t.NodeInfo=t.BrowserInfo=void 0,function(e,t,n){this.name=e,this.version=t,this.os=n,this.type="browser"}),n=(t.BrowserInfo=o,function(e){this.version=e,this.type="node",this.name="node",this.os=m.platform}),a=(t.NodeInfo=n,function(e,t,n,r){this.name=e,this.version=t,this.os=n,this.bot=r,this.type="bot-device"}),s=(t.SearchBotDeviceInfo=a,function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}),r=(t.BotInfo=s,function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}),l=(t.ReactNativeInfo=r,/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/),u=3,c=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],f=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function h(r){return""!==r&&c.reduce(function(e,t){var n=t[0],t=t[1];return e||!!(e=t.exec(r))&&[n,e]},!1)}function d(e){var t,n,r=h(e);return r?(t=r[0],r=r[1],"searchbot"===t?new s:((r=r[1]&&r[1].split(".").join("_").split("_").slice(0,3))?r.length<u&&(r=i(i([],r,!0),function(e){for(var t=[],n=0;n<e;n++)t.push("0");return t}(u-r.length),!0)):r=[],r=r.join("."),n=p(e),(e=l.exec(e))&&e[1]?new a(t,r,n,e[1]):new o(t,r,n))):null}function p(e){for(var t=0,n=f.length;t<n;t++){var r=f[t],i=r[0];if(r[1].exec(e))return i}return null}function y(){return void 0!==m&&m.version?new n(m.version.slice(1)):null}t.detect=function(e){return e?d(e):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new r:"undefined"!=typeof navigator?d(navigator.userAgent):y()},t.browserName=function(e){e=h(e);return e?e[0]:null},t.parseUserAgent=d,t.detectOS=p,t.getNodeVersion=y},95676:function(e,t){var n;function r(e){return(r="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})(e)}n=function(e){"use strict";var m=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,t="[^\\s]+",g=/\[([^]*?)\]/gm;function n(e,t){for(var n=[],r=0,i=e.length;r<i;r++)n.push(e[r].substr(0,t));return n}function r(n){return function(e,t){t=t[n].map(function(e){return e.toLowerCase()}).indexOf(e.toLowerCase());return-1<t?t:null}}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o,a=i[r];for(o in a)e[o]=a[o]}return e}function i(e){return _=v(_,e)}function b(e){return e.replace(/[|\\{()[^$+*?.-]/g,"\\$&")}function o(e,t){for(void 0===t&&(t=2),e=String(e);e.length<t;)e="0"+e;return e}function a(e){return+e-1}function s(e){return v(w,e)}function l(t,e,n){if(void 0===e&&(e=w.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");var r=[],i=(e=(e=w[e]||e).replace(g,function(e,t){return r.push(t),"@@@"}),v(v({},_),n));return(e=e.replace(m,function(e){return h[e](t,i)})).replace(/@@@/g,function(){return r.shift()})}var u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],c=["January","February","March","April","May","June","July","August","September","October","November","December"],f=n(c,3),u={dayNamesShort:n(u,3),dayNames:u,monthNamesShort:f,monthNames:c,amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][3<e%10?0:(e-e%10!=10?1:0)*e%10]}},_=v({},u),h={D:function(e){return String(e.getDate())},DD:function(e){return o(e.getDate())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return String(e.getDay())},dd:function(e){return o(e.getDay())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return String(e.getMonth()+1)},MM:function(e){return o(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},YY:function(e){return o(String(e.getFullYear()),4).substr(2)},YYYY:function(e){return o(e.getFullYear(),4)},h:function(e){return String(e.getHours()%12||12)},hh:function(e){return o(e.getHours()%12||12)},H:function(e){return String(e.getHours())},HH:function(e){return o(e.getHours())},m:function(e){return String(e.getMinutes())},mm:function(e){return o(e.getMinutes())},s:function(e){return String(e.getSeconds())},ss:function(e){return o(e.getSeconds())},S:function(e){return String(Math.round(e.getMilliseconds()/100))},SS:function(e){return o(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return o(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return(e.getHours()<12?t.amPm[0]:t.amPm[1]).toUpperCase()},ZZ:function(e){e=e.getTimezoneOffset();return(0<e?"-":"+")+o(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(e){e=e.getTimezoneOffset();return(0<e?"-":"+")+o(Math.floor(Math.abs(e)/60),2)+":"+o(Math.abs(e)%60,2)}},f=[null,"\\d\\d?"],c=[null,t],d=["isPm",t,function(e,t){e=e.toLowerCase();return e===t.amPm[0]?0:e===t.amPm[1]?1:null}],p=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(e){var t,e=(e+"").match(/([+-]|\d\d)/gi);return e?(t=60*+e[1]+parseInt(e[2],10),"+"===e[0]?t:-t):0}],x={D:["day","\\d\\d?"],DD:["day","\\d\\d"],Do:["day","\\d\\d?"+t,function(e){return parseInt(e,10)}],M:["month","\\d\\d?",a],MM:["month","\\d\\d",a],YY:["year","\\d\\d",function(e){var t=+(""+(new Date).getFullYear()).substr(0,2);return+(""+(68<+e?t-1:t)+e)}],h:["hour","\\d\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","\\d\\d?"],HH:["hour","\\d\\d"],m:["minute","\\d\\d?"],mm:["minute","\\d\\d"],s:["second","\\d\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(e){return 100*+e}],SS:["millisecond","\\d\\d",function(e){return 10*+e}],SSS:["millisecond","\\d{3}"],d:f,dd:f,ddd:c,dddd:c,MMM:["month",t,r("monthNamesShort")],MMMM:["month",t,r("monthNames")],a:d,A:d,ZZ:p,Z:p},w={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"};function y(e,t,n){if(void 0===n&&(n={}),"string"!=typeof t)throw new Error("Invalid format in fecha parse");if(t=w[t]||t,1e3<e.length)return null;var r={year:(new Date).getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],o=[],t=t.replace(g,function(e,t){return o.push(b(t)),"@@@"}),a={},s={},t=b(t).replace(m,function(e){var e=x[e],t=e[0],n=e[1],r=e[3];if(a[t])throw new Error("Invalid format. "+t+" specified twice in format");return a[t]=!0,r&&(s[r]=!0),i.push(e),"("+n+")"}),l=(Object.keys(s).forEach(function(e){if(!a[e])throw new Error("Invalid format. "+e+" is required in specified format")}),t=t.replace(/@@@/g,function(){return o.shift()}),e.match(new RegExp(t,"i")));if(!l)return null;for(var u=v(v({},_),n),c=1;c<l.length;c++){var f=i[c-1],h=f[0],f=f[2],f=f?f(l[c],u):+l[c];if(null==f)return null;r[h]=f}if(1===r.isPm&&null!=r.hour&&12!=+r.hour?r.hour=+r.hour+12:0===r.isPm&&12==+r.hour&&(r.hour=0),null==r.timezoneOffset){for(var d=new Date(r.year,r.month,r.day,r.hour,r.minute,r.second,r.millisecond),p=[["month","getMonth"],["day","getDate"],["hour","getHours"],["minute","getMinutes"],["second","getSeconds"]],y=(c=0,p.length);c<y;c++)if(a[p[c][0]]&&r[p[c][0]]!==d[p[c][1]]())return null}else if(d=new Date(Date.UTC(r.year,r.month,r.day,r.hour,r.minute-r.timezoneOffset,r.second,r.millisecond)),11<r.month||r.month<0||31<r.day||r.day<1||23<r.hour||r.hour<0||59<r.minute||r.minute<0||59<r.second||r.second<0)return null;return d}f={format:l,parse:y,defaultI18n:u,setGlobalDateI18n:i,setGlobalDateMasks:s};e.assign=v,e.default=f,e.format=l,e.parse=y,e.defaultI18n=u,e.setGlobalDateI18n=i,e.setGlobalDateMasks=s,Object.defineProperty(e,"__esModule",{value:!0})},"object"===r(t)?n(t):void 0!==(t="function"==typeof(n=n)?n.apply(t,[t]):n)&&(e.exports=t)},95937:function(m){!function(e){"use strict";var l,n,r,i,o;function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function s(e){return e="string"!=typeof e?String(e):e}function u(t){this.map={},t instanceof u?t.forEach(function(e,t){this.append(t,e)},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function c(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function t(e){var t=new FileReader;return t.readAsArrayBuffer(e),f(t)}function h(){return this.bodyUsed=!1,this._initBody=function(e,t){if("string"==typeof(this._bodyInit=e))this._bodyText=e;else if(l&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(n&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!r||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},l?(this.blob=function(){var e=c(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(t)},this.text=function(){var e,t,n,r=c(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=this._options,e=new FileReader,t=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",t=r.type.match(n=/charset\=[0-9a-zA-Z\-\_]*;?/)||t.match(n),n=[r],t&&n.push(t[0].replace(/^charset\=/,"").replace(/;$/,"")),e.readAsText.apply(e,n),f(e);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){return c(this)||Promise.resolve(this._bodyText)},n&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function d(e,t){var n,r=(t=t||{}).body;if(d.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,r||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new u(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<i.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r,t)}function p(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function y(e,t){this._initBody(e,t=t||{}),this.type="default",this.status=t.status,this.ok=200<=this.status&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof u?t.headers:new u(t.headers),this.url=t.url||""}!e.__disableNativeFetch&&e.fetch||(u.prototype.append=function(e,t){e=a(e),t=s(t);var n=this.map[e];n||(this.map[e]=n=[]),n.push(t)},u.prototype.delete=function(e){delete this.map[a(e)]},u.prototype.get=function(e){e=this.map[a(e)];return e?e[0]:null},u.prototype.getAll=function(e){return this.map[a(e)]||[]},u.prototype.has=function(e){return this.map.hasOwnProperty(a(e))},u.prototype.set=function(e,t){this.map[a(e)]=[s(t)]},u.prototype.forEach=function(n,r){Object.getOwnPropertyNames(this.map).forEach(function(t){this.map[t].forEach(function(e){n.call(r,e,t,this)},this)},this)},l="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),n="FormData"in e,r="ArrayBuffer"in e,i=["DELETE","GET","HEAD","OPTIONS","POST","PUT"],d.prototype.clone=function(){return new d(this)},h.call(d.prototype),h.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e},o=[301,302,303,307,308],y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=u,e.Request=d,e.Response=y,e.fetch=function(n,s){return new Promise(function(r,i){var e=d.prototype.isPrototypeOf(n)&&!s?n:new d(n,s),o=new XMLHttpRequest,a=!1;function t(){if(4===o.readyState){var e=1223===o.status?204:o.status;if(e<100||599<e)return a?void 0:(a=!0,void i(new TypeError("Network request failed")));var e={status:e,statusText:o.statusText,headers:(e=o,n=new u,e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var e=e.trim().split(":"),t=e.shift().trim(),e=e.join(":").trim();n.append(t,e)}),n),url:"responseURL"in o?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):void 0},t="response"in o?o.response:o.responseText;a||(a=!0,r(new y(t,e)))}var n}o.onreadystatechange=t,o.onload=t,o.onerror=function(){a||(a=!0,i(new TypeError("Network request failed")))},o.open(e.method,e.url,!0);try{"include"===e.credentials&&("withCredentials"in o?o.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in o&&l&&(o.responseType="blob"),e.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===e._bodyInit?null:e._bodyInit)})},e.fetch.polyfill=!0,m.exports&&(m.exports=e.fetch))}("undefined"!=typeof self?self:this)},54238:function(e,t){var n;void 0!==(t="function"==typeof(n=function(e,t){"use strict";var n=5e3,r="callback";function f(t){try{delete window[t]}catch(e){window[t]=void 0}}function h(e){e=document.getElementById(e);e&&document.getElementsByTagName("head")[0].removeChild(e)}t.exports=function(o){var a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=o,l=a.timeout||n,u=a.jsonpCallback||r,c=void 0;return new Promise(function(t,e){var n=a.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),r=u+"_"+n,i=(window[n]=function(e){t({ok:!0,json:function(){return Promise.resolve(e)}}),c&&clearTimeout(c),h(r),f(n)},s+=-1===s.indexOf("?")?"?":"&",document.createElement("script"));i.setAttribute("src",""+s+u+"="+n),a.charset&&i.setAttribute("charset",a.charset),i.id=r,document.getElementsByTagName("head")[0].appendChild(i),c=setTimeout(function(){e(new Error("JSONP request to "+o+" timed out")),f(n),h(r),window[n]=function(){f(n)}},l),i.onerror=function(){e(new Error("JSONP request to "+o+" failed")),f(n),h(r),c&&clearTimeout(c)}})}})?n.apply(t,[t,e]):n)&&(e.exports=t)},64634:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Builder=void 0;var i=n(51603),l=n(1083);function o(e){this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null,this.bb=i.ByteBuffer.allocate(e=e||1024),this.space=e}o.prototype.clear=function(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null},o.prototype.forceDefaults=function(e){this.force_defaults=e},o.prototype.dataBuffer=function(){return this.bb},o.prototype.asUint8Array=function(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())},o.prototype.prep=function(e,t){e>this.minalign&&(this.minalign=e);for(var n=1+~(this.bb.capacity()-this.space+t)&e-1;this.space<n+e+t;){var r=this.bb.capacity();this.bb=o.growByteBuffer(this.bb),this.space+=this.bb.capacity()-r}this.pad(n)},o.prototype.pad=function(e){for(var t=0;t<e;t++)this.bb.writeInt8(--this.space,0)},o.prototype.writeInt8=function(e){this.bb.writeInt8(--this.space,e)},o.prototype.writeInt16=function(e){this.bb.writeInt16(this.space-=2,e)},o.prototype.writeInt32=function(e){this.bb.writeInt32(this.space-=4,e)},o.prototype.writeInt64=function(e){this.bb.writeInt64(this.space-=8,e)},o.prototype.writeFloat32=function(e){this.bb.writeFloat32(this.space-=4,e)},o.prototype.writeFloat64=function(e){this.bb.writeFloat64(this.space-=8,e)},o.prototype.addInt8=function(e){this.prep(1,0),this.writeInt8(e)},o.prototype.addInt16=function(e){this.prep(2,0),this.writeInt16(e)},o.prototype.addInt32=function(e){this.prep(4,0),this.writeInt32(e)},o.prototype.addInt64=function(e){this.prep(8,0),this.writeInt64(e)},o.prototype.addFloat32=function(e){this.prep(4,0),this.writeFloat32(e)},o.prototype.addFloat64=function(e){this.prep(8,0),this.writeFloat64(e)},o.prototype.addFieldInt8=function(e,t,n){!this.force_defaults&&t==n||(this.addInt8(t),this.slot(e))},o.prototype.addFieldInt16=function(e,t,n){!this.force_defaults&&t==n||(this.addInt16(t),this.slot(e))},o.prototype.addFieldInt32=function(e,t,n){!this.force_defaults&&t==n||(this.addInt32(t),this.slot(e))},o.prototype.addFieldInt64=function(e,t,n){!this.force_defaults&&t===n||(this.addInt64(t),this.slot(e))},o.prototype.addFieldFloat32=function(e,t,n){!this.force_defaults&&t==n||(this.addFloat32(t),this.slot(e))},o.prototype.addFieldFloat64=function(e,t,n){!this.force_defaults&&t==n||(this.addFloat64(t),this.slot(e))},o.prototype.addFieldOffset=function(e,t,n){!this.force_defaults&&t==n||(this.addOffset(t),this.slot(e))},o.prototype.addFieldStruct=function(e,t,n){t!=n&&(this.nested(t),this.slot(e))},o.prototype.nested=function(e){if(e!=this.offset())throw new Error("FlatBuffers: struct must be serialized inline.")},o.prototype.notNested=function(){if(this.isNested)throw new Error("FlatBuffers: object serialization must not be nested.")},o.prototype.slot=function(e){null!==this.vtable&&(this.vtable[e]=this.offset())},o.prototype.offset=function(){return this.bb.capacity()-this.space},o.growByteBuffer=function(e){var t=e.capacity();if(3221225472&t)throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");var n=t<<1,r=i.ByteBuffer.allocate(n);return r.setPosition(n-t),r.bytes().set(e.bytes(),n-t),r},o.prototype.addOffset=function(e){this.prep(l.SIZEOF_INT,0),this.writeInt32(this.offset()-e+l.SIZEOF_INT)},o.prototype.startObject=function(e){this.notNested(),null==this.vtable&&(this.vtable=[]),this.vtable_in_use=e;for(var t=0;t<e;t++)this.vtable[t]=0;this.isNested=!0,this.object_start=this.offset()},o.prototype.endObject=function(){if(null==this.vtable||!this.isNested)throw new Error("FlatBuffers: endObject called without startObject");this.addInt32(0);for(var e=this.offset(),t=this.vtable_in_use-1;0<=t&&0==this.vtable[t];t--);for(var n=t+1;0<=t;t--)this.addInt16(0!=this.vtable[t]?e-this.vtable[t]:0);this.addInt16(e-this.object_start);var r=(n+2)*l.SIZEOF_SHORT,i=(this.addInt16(r),0),o=this.space;e:for(t=0;t<this.vtables.length;t++){var a=this.bb.capacity()-this.vtables[t];if(r==this.bb.readInt16(a)){for(var s=l.SIZEOF_SHORT;s<r;s+=l.SIZEOF_SHORT)if(this.bb.readInt16(o+s)!=this.bb.readInt16(a+s))continue e;i=this.vtables[t];break}}return i?(this.space=this.bb.capacity()-e,this.bb.writeInt32(this.space,i-e)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-e,this.offset()-e)),this.isNested=!1,e},o.prototype.finish=function(e,t,n){n=n?l.SIZE_PREFIX_LENGTH:0;if(t){var r=t;if(this.prep(this.minalign,l.SIZEOF_INT+l.FILE_IDENTIFIER_LENGTH+n),r.length!=l.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+l.FILE_IDENTIFIER_LENGTH);for(var i=l.FILE_IDENTIFIER_LENGTH-1;0<=i;i--)this.writeInt8(r.charCodeAt(i))}this.prep(this.minalign,l.SIZEOF_INT+n),this.addOffset(e),n&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)},o.prototype.finishSizePrefixed=function(e,t){this.finish(e,t,!0)},o.prototype.requiredField=function(e,t){e=this.bb.capacity()-e,e-=this.bb.readInt32(e);if(0==this.bb.readInt16(e+t))throw new Error("FlatBuffers: field "+t+" must be set")},o.prototype.startVector=function(e,t,n){this.notNested(),this.vector_num_elems=t,this.prep(l.SIZEOF_INT,e*t),this.prep(n,e*t)},o.prototype.endVector=function(){return this.writeInt32(this.vector_num_elems),this.offset()},o.prototype.createSharedString=function(e){var t;return e?(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e)?this.string_maps.get(e):(t=this.createString(e),this.string_maps.set(e,t),t)):0},o.prototype.createString=function(e){if(null==e)return 0;if(e instanceof Uint8Array)t=e;else for(var t=[],n=0;n<e.length;){var r=void 0,i=e.charCodeAt(n++);(r=i<55296||56320<=i?i:(i<<10)+e.charCodeAt(n++)+-56613888)<128?t.push(r):(r<2048?t.push(r>>6&31|192):(r<65536?t.push(r>>12&15|224):t.push(r>>18&7|240,r>>12&63|128),t.push(r>>6&63|128)),t.push(63&r|128))}this.addInt8(0),this.startVector(1,t.length,1),this.bb.setPosition(this.space-=t.length);for(var n=0,o=this.space,a=this.bb.bytes();n<t.length;n++)a[o++]=t[n];return this.endVector()},o.prototype.createObjectOffset=function(e){return null===e?0:"string"==typeof e?this.createString(e):e.pack(this)},o.prototype.createObjectOffsetList=function(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];if(null===r)throw new Error("FlatBuffers: Argument for createObjectOffsetList cannot contain null.");t.push(this.createObjectOffset(r))}return t},o.prototype.createStructOffsetList=function(e,t){return t(this,e.length),this.createObjectOffsetList(e),this.endVector()},t.Builder=o},51603:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ByteBuffer=void 0;var u=n(1083),r=n(28700),c=n(31958);function i(e){this.bytes_=e,this.position_=0}i.allocate=function(e){return new i(new Uint8Array(e))},i.prototype.clear=function(){this.position_=0},i.prototype.bytes=function(){return this.bytes_},i.prototype.position=function(){return this.position_},i.prototype.setPosition=function(e){this.position_=e},i.prototype.capacity=function(){return this.bytes_.length},i.prototype.readInt8=function(e){return this.readUint8(e)<<24>>24},i.prototype.readUint8=function(e){return this.bytes_[e]},i.prototype.readInt16=function(e){return this.readUint16(e)<<16>>16},i.prototype.readUint16=function(e){return this.bytes_[e]|this.bytes_[e+1]<<8},i.prototype.readInt32=function(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24},i.prototype.readUint32=function(e){return this.readInt32(e)>>>0},i.prototype.readInt64=function(e){return BigInt.asIntN(64,BigInt(this.readUint32(e))+(BigInt(this.readUint32(e+4))<<BigInt(32)))},i.prototype.readUint64=function(e){return BigInt.asUintN(64,BigInt(this.readUint32(e))+(BigInt(this.readUint32(e+4))<<BigInt(32)))},i.prototype.readFloat32=function(e){return r.int32[0]=this.readInt32(e),r.float32[0]},i.prototype.readFloat64=function(e){return r.int32[r.isLittleEndian?0:1]=this.readInt32(e),r.int32[r.isLittleEndian?1:0]=this.readInt32(e+4),r.float64[0]},i.prototype.writeInt8=function(e,t){this.bytes_[e]=t},i.prototype.writeUint8=function(e,t){this.bytes_[e]=t},i.prototype.writeInt16=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8},i.prototype.writeUint16=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8},i.prototype.writeInt32=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8,this.bytes_[e+2]=t>>16,this.bytes_[e+3]=t>>24},i.prototype.writeUint32=function(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8,this.bytes_[e+2]=t>>16,this.bytes_[e+3]=t>>24},i.prototype.writeInt64=function(e,t){this.writeInt32(e,Number(BigInt.asIntN(32,t))),this.writeInt32(e+4,Number(BigInt.asIntN(32,t>>BigInt(32))))},i.prototype.writeUint64=function(e,t){this.writeUint32(e,Number(BigInt.asUintN(32,t))),this.writeUint32(e+4,Number(BigInt.asUintN(32,t>>BigInt(32))))},i.prototype.writeFloat32=function(e,t){r.float32[0]=t,this.writeInt32(e,r.int32[0])},i.prototype.writeFloat64=function(e,t){r.float64[0]=t,this.writeInt32(e,r.int32[r.isLittleEndian?0:1]),this.writeInt32(e+4,r.int32[r.isLittleEndian?1:0])},i.prototype.getBufferIdentifier=function(){if(this.bytes_.length<this.position_+u.SIZEOF_INT+u.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: ByteBuffer is too short to contain an identifier.");for(var e="",t=0;t<u.FILE_IDENTIFIER_LENGTH;t++)e+=String.fromCharCode(this.readInt8(this.position_+u.SIZEOF_INT+t));return e},i.prototype.__offset=function(e,t){e-=this.readInt32(e);return t<this.readInt16(e)?this.readInt16(e+t):0},i.prototype.__union=function(e,t){return e.bb_pos=t+this.readInt32(t),e.bb=this,e},i.prototype.__string=function(e,t){e+=this.readInt32(e);var n=this.readInt32(e),r="",i=0;if(e+=u.SIZEOF_INT,t===c.Encoding.UTF8_BYTES)return this.bytes_.subarray(e,e+n);for(;i<n;){var o,a,s=void 0,l=this.readUint8(e+i++);(s=l<192?l:(o=this.readUint8(e+i++),l<224?(31&l)<<6|63&o:(a=this.readUint8(e+i++),l<240?(15&l)<<12|(63&o)<<6|63&a:(7&l)<<18|(63&o)<<12|(63&a)<<6|63&this.readUint8(e+i++))))<65536?r+=String.fromCharCode(s):(s-=65536,r+=String.fromCharCode(55296+(s>>10),56320+(1023&s)))}return r},i.prototype.__union_with_string=function(e,t){return"string"==typeof e?this.__string(t):this.__union(e,t)},i.prototype.__indirect=function(e){return e+this.readInt32(e)},i.prototype.__vector=function(e){return e+this.readInt32(e)+u.SIZEOF_INT},i.prototype.__vector_len=function(e){return this.readInt32(e+this.readInt32(e))},i.prototype.__has_identifier=function(e){if(e.length!=u.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+u.FILE_IDENTIFIER_LENGTH);for(var t=0;t<u.FILE_IDENTIFIER_LENGTH;t++)if(e.charCodeAt(t)!=this.readInt8(this.position()+u.SIZEOF_INT+t))return!1;return!0},i.prototype.createScalarList=function(e,t){for(var n=[],r=0;r<t;++r)null!==e(r)&&n.push(e(r));return n},i.prototype.createObjList=function(e,t){for(var n=[],r=0;r<t;++r){var i=e(r);null!==i&&n.push(i.unpack())}return n},t.ByteBuffer=i},1083:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SIZE_PREFIX_LENGTH=t.FILE_IDENTIFIER_LENGTH=t.SIZEOF_INT=t.SIZEOF_SHORT=void 0,t.SIZEOF_SHORT=2,t.SIZEOF_INT=4,t.FILE_IDENTIFIER_LENGTH=4,t.SIZE_PREFIX_LENGTH=4},31958:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Encoding=void 0,(t=t.Encoding||(t.Encoding={}))[t.UTF8_BYTES=1]="UTF8_BYTES",t[t.UTF16_STRING=2]="UTF16_STRING"},61095:function(e,t,n){"use strict";t.cZ=t.XU=void 0;n(1083),n(1083),n(1083);var r=n(1083),i=(Object.defineProperty(t,"XU",{enumerable:!0,get:function(){return r.SIZE_PREFIX_LENGTH}}),n(28700),n(31958),n(64634),n(51603));Object.defineProperty(t,"cZ",{enumerable:!0,get:function(){return i.ByteBuffer}})},28700:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLittleEndian=t.float64=t.float32=t.int32=void 0,t.int32=new Int32Array(2),t.float32=new Float32Array(t.int32.buffer),t.float64=new Float64Array(t.int32.buffer),t.isLittleEndian=1===new Uint16Array(new Uint8Array([1,0]).buffer)[0]},52105:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setMatrixArrayType=function(e){t.ARRAY_TYPE=r=e},t.toRadian=function(e){return e*o},t.equals=function(e,t){return Math.abs(e-t)<=n*Math.max(1,Math.abs(e),Math.abs(t))},t.RANDOM=t.ARRAY_TYPE=t.EPSILON=void 0;var n=1e-6,r=(t.EPSILON=n,"undefined"!=typeof Float32Array?Float32Array:Array),i=(t.ARRAY_TYPE=r,Math.random),o=(t.RANDOM=i,Math.PI/180);Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)})},27018:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.vec4=t.vec3=t.vec2=t.quat2=t.quat=t.mat4=t.mat3=t.mat2d=t.mat2=t.glMatrix=void 0;var r=i(n(52105)),r=(t.glMatrix=r,i(n(75352))),r=(t.mat2=r,i(n(21967))),r=(t.mat2d=r,i(n(96081))),r=(t.mat3=r,i(n(92956))),r=(t.mat4=r,i(n(2774))),r=(t.quat=r,i(n(73195))),r=(t.quat2=r,i(n(49679))),r=(t.vec2=r,i(n(7157))),r=(t.vec3=r,i(n(21020)));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};t=s(t);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}t.vec4=r},75352:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.create=function(){var e=new l.ARRAY_TYPE(4);return l.ARRAY_TYPE!=Float32Array&&(e[1]=0,e[2]=0),e[0]=1,e[3]=1,e},t.clone=function(e){var t=new l.ARRAY_TYPE(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},t.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},t.identity=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e},t.fromValues=function(e,t,n,r){var i=new l.ARRAY_TYPE(4);return i[0]=e,i[1]=t,i[2]=n,i[3]=r,i},t.set=function(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e},t.transpose=function(e,t){var n;return e===t?(n=t[1],e[1]=t[2],e[2]=n):(e[0]=t[0],e[1]=t[2],e[2]=t[1],e[3]=t[3]),e},t.invert=function(e,t){var n=t[0],r=t[1],i=t[2],t=t[3],o=n*t-i*r;return o?(e[0]=t*(o=1/o),e[1]=-r*o,e[2]=-i*o,e[3]=n*o,e):null},t.adjoint=function(e,t){var n=t[0];return e[0]=t[3],e[1]=-t[1],e[2]=-t[2],e[3]=n,e},t.determinant=function(e){return e[0]*e[3]-e[2]*e[1]},t.multiply=r,t.rotate=function(e,t,n){var r=t[0],i=t[1],o=t[2],t=t[3],a=Math.sin(n),n=Math.cos(n);return e[0]=r*n+o*a,e[1]=i*n+t*a,e[2]=r*-a+o*n,e[3]=i*-a+t*n,e},t.scale=function(e,t,n){var r=t[0],i=t[1],o=t[2],t=t[3],a=n[0],n=n[1];return e[0]=r*a,e[1]=i*a,e[2]=o*n,e[3]=t*n,e},t.fromRotation=function(e,t){var n=Math.sin(t),t=Math.cos(t);return e[0]=t,e[1]=n,e[2]=-n,e[3]=t,e},t.fromScaling=function(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=t[1],e},t.str=function(e){return"mat2("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},t.frob=function(e){return Math.hypot(e[0],e[1],e[2],e[3])},t.LDU=function(e,t,n,r){return e[2]=r[2]/r[0],n[0]=r[0],n[1]=r[1],n[3]=r[3]-e[2]*n[1],[e,t,n]},t.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e},t.subtract=i,t.exactEquals=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]},t.equals=function(e,t){var n=e[0],r=e[1],i=e[2],e=e[3],o=t[0],a=t[1],s=t[2],t=t[3];return Math.abs(n-o)<=l.EPSILON*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=l.EPSILON*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-s)<=l.EPSILON*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(e-t)<=l.EPSILON*Math.max(1,Math.abs(e),Math.abs(t))},t.multiplyScalar=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e},t.multiplyScalarAndAdd=function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e},t.sub=t.mul=void 0;var l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(52105));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}function r(e,t,n){var r=t[0],i=t[1],o=t[2],t=t[3],a=n[0],s=n[1],l=n[2],n=n[3];return e[0]=r*a+o*s,e[1]=i*a+t*s,e[2]=r*l+o*n,e[3]=i*l+t*n,e}function i(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}t.mul=r;n=i;t.sub=n},21967:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.create=function(){var e=new h.ARRAY_TYPE(6);return h.ARRAY_TYPE!=Float32Array&&(e[1]=0,e[2]=0,e[4]=0,e[5]=0),e[0]=1,e[3]=1,e},t.clone=function(e){var t=new h.ARRAY_TYPE(6);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t},t.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},t.identity=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e},t.fromValues=function(e,t,n,r,i,o){var a=new h.ARRAY_TYPE(6);return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=i,a[5]=o,a},t.set=function(e,t,n,r,i,o,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=o,e[5]=a,e},t.invert=function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],t=t[5],s=n*o-r*i;return s?(e[0]=o*(s=1/s),e[1]=-r*s,e[2]=-i*s,e[3]=n*s,e[4]=(i*t-o*a)*s,e[5]=(r*a-n*t)*s,e):null},t.determinant=function(e){return e[0]*e[3]-e[1]*e[2]},t.multiply=r,t.rotate=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],t=t[5],l=Math.sin(n),n=Math.cos(n);return e[0]=r*n+o*l,e[1]=i*n+a*l,e[2]=r*-l+o*n,e[3]=i*-l+a*n,e[4]=s,e[5]=t,e},t.scale=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],t=t[5],l=n[0],n=n[1];return e[0]=r*l,e[1]=i*l,e[2]=o*n,e[3]=a*n,e[4]=s,e[5]=t,e},t.translate=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],t=t[5],l=n[0],n=n[1];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=r*l+o*n+s,e[5]=i*l+a*n+t,e},t.fromRotation=function(e,t){var n=Math.sin(t),t=Math.cos(t);return e[0]=t,e[1]=n,e[2]=-n,e[3]=t,e[4]=0,e[5]=0,e},t.fromScaling=function(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=t[1],e[4]=0,e[5]=0,e},t.fromTranslation=function(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=t[0],e[5]=t[1],e},t.str=function(e){return"mat2d("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+")"},t.frob=function(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],1)},t.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e},t.subtract=i,t.multiplyScalar=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e},t.multiplyScalarAndAdd=function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e},t.exactEquals=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]},t.equals=function(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],e=e[5],s=t[0],l=t[1],u=t[2],c=t[3],f=t[4],t=t[5];return Math.abs(n-s)<=h.EPSILON*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-l)<=h.EPSILON*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(i-u)<=h.EPSILON*Math.max(1,Math.abs(i),Math.abs(u))&&Math.abs(o-c)<=h.EPSILON*Math.max(1,Math.abs(o),Math.abs(c))&&Math.abs(a-f)<=h.EPSILON*Math.max(1,Math.abs(a),Math.abs(f))&&Math.abs(e-t)<=h.EPSILON*Math.max(1,Math.abs(e),Math.abs(t))},t.sub=t.mul=void 0;var h=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(52105));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}function r(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],t=t[5],l=n[0],u=n[1],c=n[2],f=n[3],h=n[4],n=n[5];return e[0]=r*l+o*u,e[1]=i*l+a*u,e[2]=r*c+o*f,e[3]=i*c+a*f,e[4]=r*h+o*n+s,e[5]=i*h+a*n+t,e}function i(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e}t.mul=r;n=i;t.sub=n},96081:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.create=function(){var e=new v.ARRAY_TYPE(9);return v.ARRAY_TYPE!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e},t.fromMat4=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e},t.clone=function(e){var t=new v.ARRAY_TYPE(9);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},t.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e},t.fromValues=function(e,t,n,r,i,o,a,s,l){var u=new v.ARRAY_TYPE(9);return u[0]=e,u[1]=t,u[2]=n,u[3]=r,u[4]=i,u[5]=o,u[6]=a,u[7]=s,u[8]=l,u},t.set=function(e,t,n,r,i,o,a,s,l,u){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=o,e[5]=a,e[6]=s,e[7]=l,e[8]=u,e},t.identity=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},t.transpose=function(e,t){var n,r,i;return e===t?(n=t[1],r=t[2],i=t[5],e[1]=t[3],e[2]=t[6],e[3]=n,e[5]=t[7],e[6]=r,e[7]=i):(e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8]),e},t.invert=function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],t=t[8],c=t*a-s*u,f=-t*o+s*l,h=u*o-a*l,d=n*c+r*f+i*h;return d?(e[0]=c*(d=1/d),e[1]=(-t*r+i*u)*d,e[2]=(s*r-i*a)*d,e[3]=f*d,e[4]=(t*n-i*l)*d,e[5]=(-s*n+i*o)*d,e[6]=h*d,e[7]=(-u*n+r*l)*d,e[8]=(a*n-r*o)*d,e):null},t.adjoint=function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],t=t[8];return e[0]=a*t-s*u,e[1]=i*u-r*t,e[2]=r*s-i*a,e[3]=s*l-o*t,e[4]=n*t-i*l,e[5]=i*o-n*s,e[6]=o*u-a*l,e[7]=r*l-n*u,e[8]=n*a-r*o,e},t.determinant=function(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],s=e[6],l=e[7],e=e[8];return t*(e*o-a*l)+n*(-e*i+a*s)+r*(l*i-o*s)},t.multiply=r,t.translate=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],t=t[8],f=n[0],n=n[1];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e[6]=f*r+n*a+u,e[7]=f*i+n*s+c,e[8]=f*o+n*l+t,e},t.rotate=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],t=t[8],f=Math.sin(n),n=Math.cos(n);return e[0]=n*r+f*a,e[1]=n*i+f*s,e[2]=n*o+f*l,e[3]=n*a-f*r,e[4]=n*s-f*i,e[5]=n*l-f*o,e[6]=u,e[7]=c,e[8]=t,e},t.scale=function(e,t,n){var r=n[0],n=n[1];return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=n*t[3],e[4]=n*t[4],e[5]=n*t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e},t.fromTranslation=function(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=t[0],e[7]=t[1],e[8]=1,e},t.fromRotation=function(e,t){var n=Math.sin(t),t=Math.cos(t);return e[0]=t,e[1]=n,e[2]=0,e[3]=-n,e[4]=t,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},t.fromScaling=function(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=t[1],e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},t.fromMat2d=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=0,e[3]=t[2],e[4]=t[3],e[5]=0,e[6]=t[4],e[7]=t[5],e[8]=1,e},t.fromQuat=function(e,t){var n=t[0],r=t[1],i=t[2],t=t[3],o=n+n,a=r+r,s=i+i,n=n*o,l=r*o,r=r*a,u=i*o,c=i*a,i=i*s,o=t*o,a=t*a,t=t*s;return e[0]=1-r-i,e[3]=l-t,e[6]=u+a,e[1]=l+t,e[4]=1-n-i,e[7]=c-o,e[2]=u-a,e[5]=c+o,e[8]=1-n-r,e},t.normalFromMat4=function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],c=t[8],f=t[9],h=t[10],d=t[11],p=t[12],y=t[13],m=t[14],t=t[15],g=n*s-r*a,v=n*l-i*a,b=n*u-o*a,_=r*l-i*s,x=r*u-o*s,w=i*u-o*l,A=c*y-f*p,S=c*m-h*p,c=c*t-d*p,C=f*m-h*y,f=f*t-d*y,h=h*t-d*m,d=g*h-v*f+b*C+_*c-x*S+w*A;return d?(e[0]=(s*h-l*f+u*C)*(d=1/d),e[1]=(l*c-a*h-u*S)*d,e[2]=(a*f-s*c+u*A)*d,e[3]=(i*f-r*h-o*C)*d,e[4]=(n*h-i*c+o*S)*d,e[5]=(r*c-n*f-o*A)*d,e[6]=(y*w-m*x+t*_)*d,e[7]=(m*b-p*w-t*v)*d,e[8]=(p*x-y*b+t*g)*d,e):null},t.projection=function(e,t,n){return e[0]=2/t,e[1]=0,e[2]=0,e[3]=0,e[4]=-2/n,e[5]=0,e[6]=-1,e[7]=1,e[8]=1,e},t.str=function(e){return"mat3("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+")"},t.frob=function(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},t.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e},t.subtract=i,t.multiplyScalar=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e},t.multiplyScalarAndAdd=function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e},t.exactEquals=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]},t.equals=function(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],e=e[8],c=t[0],f=t[1],h=t[2],d=t[3],p=t[4],y=t[5],m=t[6],g=t[7],t=t[8];return Math.abs(n-c)<=v.EPSILON*Math.max(1,Math.abs(n),Math.abs(c))&&Math.abs(r-f)<=v.EPSILON*Math.max(1,Math.abs(r),Math.abs(f))&&Math.abs(i-h)<=v.EPSILON*Math.max(1,Math.abs(i),Math.abs(h))&&Math.abs(o-d)<=v.EPSILON*Math.max(1,Math.abs(o),Math.abs(d))&&Math.abs(a-p)<=v.EPSILON*Math.max(1,Math.abs(a),Math.abs(p))&&Math.abs(s-y)<=v.EPSILON*Math.max(1,Math.abs(s),Math.abs(y))&&Math.abs(l-m)<=v.EPSILON*Math.max(1,Math.abs(l),Math.abs(m))&&Math.abs(u-g)<=v.EPSILON*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(e-t)<=v.EPSILON*Math.max(1,Math.abs(e),Math.abs(t))},t.sub=t.mul=void 0;var v=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(52105));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}function r(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],t=t[8],f=n[0],h=n[1],d=n[2],p=n[3],y=n[4],m=n[5],g=n[6],v=n[7],n=n[8];return e[0]=f*r+h*a+d*u,e[1]=f*i+h*s+d*c,e[2]=f*o+h*l+d*t,e[3]=p*r+y*a+m*u,e[4]=p*i+y*s+m*c,e[5]=p*o+y*l+m*t,e[6]=g*r+v*a+n*u,e[7]=g*i+v*s+n*c,e[8]=g*o+v*l+n*t,e}function i(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e}t.mul=r;n=i;t.sub=n},92956:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.create=function(){var e=new I.ARRAY_TYPE(16);return I.ARRAY_TYPE!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e},t.clone=function(e){var t=new I.ARRAY_TYPE(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},t.fromValues=function(e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y){var m=new I.ARRAY_TYPE(16);return m[0]=e,m[1]=t,m[2]=n,m[3]=r,m[4]=i,m[5]=o,m[6]=a,m[7]=s,m[8]=l,m[9]=u,m[10]=c,m[11]=f,m[12]=h,m[13]=d,m[14]=p,m[15]=y,m},t.set=function(e,t,n,r,i,o,a,s,l,u,c,f,h,d,p,y,m){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=o,e[5]=a,e[6]=s,e[7]=l,e[8]=u,e[9]=c,e[10]=f,e[11]=h,e[12]=d,e[13]=p,e[14]=y,e[15]=m,e},t.identity=p,t.transpose=function(e,t){var n,r,i,o,a,s;return e===t?(n=t[1],r=t[2],i=t[3],o=t[6],a=t[7],s=t[11],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=n,e[6]=t[9],e[7]=t[13],e[8]=r,e[9]=o,e[11]=t[14],e[12]=i,e[13]=a,e[14]=s):(e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15]),e},t.invert=function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],c=t[8],f=t[9],h=t[10],d=t[11],p=t[12],y=t[13],m=t[14],t=t[15],g=n*s-r*a,v=n*l-i*a,b=n*u-o*a,_=r*l-i*s,x=r*u-o*s,w=i*u-o*l,A=c*y-f*p,S=c*m-h*p,C=c*t-d*p,O=f*m-h*y,E=f*t-d*y,M=h*t-d*m,P=g*M-v*E+b*O+_*C-x*S+w*A;return P?(e[0]=(s*M-l*E+u*O)*(P=1/P),e[1]=(i*E-r*M-o*O)*P,e[2]=(y*w-m*x+t*_)*P,e[3]=(h*x-f*w-d*_)*P,e[4]=(l*C-a*M-u*S)*P,e[5]=(n*M-i*C+o*S)*P,e[6]=(m*b-p*w-t*v)*P,e[7]=(c*w-h*b+d*v)*P,e[8]=(a*E-s*C+u*A)*P,e[9]=(r*C-n*E-o*A)*P,e[10]=(p*x-y*b+t*g)*P,e[11]=(f*b-c*x-d*g)*P,e[12]=(s*S-a*O-l*A)*P,e[13]=(n*O-r*S+i*A)*P,e[14]=(y*v-p*_-m*g)*P,e[15]=(c*_-f*v+h*g)*P,e):null},t.adjoint=function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],u=t[7],c=t[8],f=t[9],h=t[10],d=t[11],p=t[12],y=t[13],m=t[14],t=t[15];return e[0]=s*(h*t-d*m)-f*(l*t-u*m)+y*(l*d-u*h),e[1]=-(r*(h*t-d*m)-f*(i*t-o*m)+y*(i*d-o*h)),e[2]=r*(l*t-u*m)-s*(i*t-o*m)+y*(i*u-o*l),e[3]=-(r*(l*d-u*h)-s*(i*d-o*h)+f*(i*u-o*l)),e[4]=-(a*(h*t-d*m)-c*(l*t-u*m)+p*(l*d-u*h)),e[5]=n*(h*t-d*m)-c*(i*t-o*m)+p*(i*d-o*h),e[6]=-(n*(l*t-u*m)-a*(i*t-o*m)+p*(i*u-o*l)),e[7]=n*(l*d-u*h)-a*(i*d-o*h)+c*(i*u-o*l),e[8]=a*(f*t-d*y)-c*(s*t-u*y)+p*(s*d-u*f),e[9]=-(n*(f*t-d*y)-c*(r*t-o*y)+p*(r*d-o*f)),e[10]=n*(s*t-u*y)-a*(r*t-o*y)+p*(r*u-o*s),e[11]=-(n*(s*d-u*f)-a*(r*d-o*f)+c*(r*u-o*s)),e[12]=-(a*(f*m-h*y)-c*(s*m-l*y)+p*(s*h-l*f)),e[13]=n*(f*m-h*y)-c*(r*m-i*y)+p*(r*h-i*f),e[14]=-(n*(s*m-l*y)-a*(r*m-i*y)+p*(r*l-i*s)),e[15]=n*(s*h-l*f)-a*(r*h-i*f)+c*(r*l-i*s),e},t.determinant=function(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],s=e[6],l=e[7],u=e[8],c=e[9],f=e[10],h=e[11],d=e[12],p=e[13],y=e[14],e=e[15];return(t*a-n*o)*(f*e-h*y)-(t*s-r*o)*(c*e-h*p)+(t*l-i*o)*(c*y-f*p)+(n*s-r*a)*(u*e-h*d)-(n*l-i*a)*(u*y-f*d)+(r*l-i*s)*(u*p-c*d)},t.multiply=r,t.translate=function(e,t,n){var r,i,o,a,s,l,u,c,f,h,d,p,y=n[0],m=n[1],n=n[2];return t===e?(e[12]=t[0]*y+t[4]*m+t[8]*n+t[12],e[13]=t[1]*y+t[5]*m+t[9]*n+t[13],e[14]=t[2]*y+t[6]*m+t[10]*n+t[14],e[15]=t[3]*y+t[7]*m+t[11]*n+t[15]):(r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=t[8],h=t[9],d=t[10],p=t[11],e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e[6]=u,e[7]=c,e[8]=f,e[9]=h,e[10]=d,e[11]=p,e[12]=r*y+s*m+f*n+t[12],e[13]=i*y+l*m+h*n+t[13],e[14]=o*y+u*m+d*n+t[14],e[15]=a*y+c*m+p*n+t[15]),e},t.scale=function(e,t,n){var r=n[0],i=n[1],n=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*n,e[9]=t[9]*n,e[10]=t[10]*n,e[11]=t[11]*n,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},t.rotate=function(e,t,n,r){var i,o,a,s,l,u,c,f,h,d,p,y,m,g,v,b,_,x,w,A,S=r[0],C=r[1],r=r[2],O=Math.hypot(S,C,r);return O<I.EPSILON?null:(S*=O=1/O,C*=O,r*=O,O=Math.sin(n),n=Math.cos(n),o=t[0],a=t[1],s=t[2],l=t[3],u=t[4],c=t[5],f=t[6],h=t[7],d=t[8],p=t[9],y=t[10],m=t[11],v=S*C*(i=1-n)-r*O,b=C*C*i+n,_=r*C*i+S*O,x=S*r*i+C*O,w=C*r*i-S*O,A=r*r*i+n,e[0]=o*(n=S*S*i+n)+u*(g=C*S*i+r*O)+d*(r=r*S*i-C*O),e[1]=a*n+c*g+p*r,e[2]=s*n+f*g+y*r,e[3]=l*n+h*g+m*r,e[4]=o*v+u*b+d*_,e[5]=a*v+c*b+p*_,e[6]=s*v+f*b+y*_,e[7]=l*v+h*b+m*_,e[8]=o*x+u*w+d*A,e[9]=a*x+c*w+p*A,e[10]=s*x+f*w+y*A,e[11]=l*x+h*w+m*A,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)},t.rotateX=function(e,t,n){var r=Math.sin(n),n=Math.cos(n),i=t[4],o=t[5],a=t[6],s=t[7],l=t[8],u=t[9],c=t[10],f=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=i*n+l*r,e[5]=o*n+u*r,e[6]=a*n+c*r,e[7]=s*n+f*r,e[8]=l*n-i*r,e[9]=u*n-o*r,e[10]=c*n-a*r,e[11]=f*n-s*r,e},t.rotateY=function(e,t,n){var r=Math.sin(n),n=Math.cos(n),i=t[0],o=t[1],a=t[2],s=t[3],l=t[8],u=t[9],c=t[10],f=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=i*n-l*r,e[1]=o*n-u*r,e[2]=a*n-c*r,e[3]=s*n-f*r,e[8]=i*r+l*n,e[9]=o*r+u*n,e[10]=a*r+c*n,e[11]=s*r+f*n,e},t.rotateZ=function(e,t,n){var r=Math.sin(n),n=Math.cos(n),i=t[0],o=t[1],a=t[2],s=t[3],l=t[4],u=t[5],c=t[6],f=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=i*n+l*r,e[1]=o*n+u*r,e[2]=a*n+c*r,e[3]=s*n+f*r,e[4]=l*n-i*r,e[5]=u*n-o*r,e[6]=c*n-a*r,e[7]=f*n-s*r,e},t.fromTranslation=function(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e},t.fromScaling=function(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},t.fromRotation=function(e,t,n){var r,i=n[0],o=n[1],n=n[2],a=Math.hypot(i,o,n);return a<I.EPSILON?null:(i*=a=1/a,o*=a,n*=a,a=Math.sin(t),t=Math.cos(t),e[0]=i*i*(r=1-t)+t,e[1]=o*i*r+n*a,e[2]=n*i*r-o*a,e[3]=0,e[4]=i*o*r-n*a,e[5]=o*o*r+t,e[6]=n*o*r+i*a,e[7]=0,e[8]=i*n*r+o*a,e[9]=o*n*r-i*a,e[10]=n*n*r+t,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)},t.fromXRotation=function(e,t){var n=Math.sin(t),t=Math.cos(t);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t,e[6]=n,e[7]=0,e[8]=0,e[9]=-n,e[10]=t,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},t.fromYRotation=function(e,t){var n=Math.sin(t),t=Math.cos(t);return e[0]=t,e[1]=0,e[2]=-n,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=n,e[9]=0,e[10]=t,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},t.fromZRotation=function(e,t){var n=Math.sin(t),t=Math.cos(t);return e[0]=t,e[1]=n,e[2]=0,e[3]=0,e[4]=-n,e[5]=t,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},t.fromRotationTranslation=h,t.fromQuat2=function(e,t){var n=new I.ARRAY_TYPE(3),r=-t[0],i=-t[1],o=-t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=r*r+i*i+o*o+a*a;return 0<f?(n[0]=2*(s*a+c*r+l*o-u*i)/f,n[1]=2*(l*a+c*i+u*r-s*o)/f,n[2]=2*(u*a+c*o+s*i-l*r)/f):(n[0]=2*(s*a+c*r+l*o-u*i),n[1]=2*(l*a+c*i+u*r-s*o),n[2]=2*(u*a+c*o+s*i-l*r)),h(e,t,n),e},t.getTranslation=function(e,t){return e[0]=t[12],e[1]=t[13],e[2]=t[14],e},t.getScaling=d,t.getRotation=function(e,t){var n=new I.ARRAY_TYPE(3),r=(d(n,t),1/n[0]),i=1/n[1],n=1/n[2],o=t[0]*r,a=t[1]*i,s=t[2]*n,l=t[4]*r,u=t[5]*i,c=t[6]*n,r=t[8]*r,i=t[9]*i,t=t[10]*n,n=o+u+t,f=0;return 0<n?(f=2*Math.sqrt(1+n),e[3]=.25*f,e[0]=(c-i)/f,e[1]=(r-s)/f,e[2]=(a-l)/f):u<o&&t<o?(f=2*Math.sqrt(1+o-u-t),e[3]=(c-i)/f,e[0]=.25*f,e[1]=(a+l)/f,e[2]=(r+s)/f):t<u?(f=2*Math.sqrt(1+u-o-t),e[3]=(r-s)/f,e[0]=(a+l)/f,e[1]=.25*f,e[2]=(c+i)/f):(f=2*Math.sqrt(1+t-o-u),e[3]=(a-l)/f,e[0]=(r+s)/f,e[1]=(c+i)/f,e[2]=.25*f),e},t.fromRotationTranslationScale=function(e,t,n,r){var i=t[0],o=t[1],a=t[2],t=t[3],s=i+i,l=o+o,u=a+a,c=i*s,f=i*l,i=i*u,h=o*l,o=o*u,a=a*u,s=t*s,l=t*l,t=t*u,u=r[0],d=r[1],r=r[2];return e[0]=(1-(h+a))*u,e[1]=(f+t)*u,e[2]=(i-l)*u,e[3]=0,e[4]=(f-t)*d,e[5]=(1-(c+a))*d,e[6]=(o+s)*d,e[7]=0,e[8]=(i+l)*r,e[9]=(o-s)*r,e[10]=(1-(c+h))*r,e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e},t.fromRotationTranslationScaleOrigin=function(e,t,n,r,i){var o=t[0],a=t[1],s=t[2],t=t[3],l=o+o,u=a+a,c=s+s,f=o*l,h=o*u,o=o*c,d=a*u,a=a*c,s=s*c,l=t*l,u=t*u,t=t*c,c=r[0],p=r[1],r=r[2],y=i[0],m=i[1],i=i[2],g=(1-(d+s))*c,v=(h+t)*c,c=(o-u)*c,h=(h-t)*p,t=(1-(f+s))*p,s=(a+l)*p,p=(o+u)*r,o=(a-l)*r,u=(1-(f+d))*r;return e[0]=g,e[1]=v,e[2]=c,e[3]=0,e[4]=h,e[5]=t,e[6]=s,e[7]=0,e[8]=p,e[9]=o,e[10]=u,e[11]=0,e[12]=n[0]+y-(g*y+h*m+p*i),e[13]=n[1]+m-(v*y+t*m+o*i),e[14]=n[2]+i-(c*y+s*m+u*i),e[15]=1,e},t.fromQuat=function(e,t){var n=t[0],r=t[1],i=t[2],t=t[3],o=n+n,a=r+r,s=i+i,n=n*o,l=r*o,r=r*a,u=i*o,c=i*a,i=i*s,o=t*o,a=t*a,t=t*s;return e[0]=1-r-i,e[1]=l+t,e[2]=u-a,e[3]=0,e[4]=l-t,e[5]=1-n-i,e[6]=c+o,e[7]=0,e[8]=u+a,e[9]=c-o,e[10]=1-n-r,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},t.frustum=function(e,t,n,r,i,o,a){var s=1/(n-t),l=1/(i-r),u=1/(o-a);return e[0]=2*o*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*o*l,e[6]=0,e[7]=0,e[8]=(n+t)*s,e[9]=(i+r)*l,e[10]=(a+o)*u,e[11]=-1,e[12]=0,e[13]=0,e[14]=a*o*2*u,e[15]=0,e},t.perspectiveNO=i,t.perspectiveZO=function(e,t,n,r,i){t=1/Math.tan(t/2);return e[0]=t/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0?(e[10]=i*(n=1/(r-i)),e[14]=i*r*n):(e[10]=-1,e[14]=-r),e},t.perspectiveFromFieldOfView=function(e,t,n,r){var i=Math.tan(t.upDegrees*Math.PI/180),o=Math.tan(t.downDegrees*Math.PI/180),a=Math.tan(t.leftDegrees*Math.PI/180),t=Math.tan(t.rightDegrees*Math.PI/180),s=2/(a+t),l=2/(i+o);return e[0]=s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=l,e[6]=0,e[7]=0,e[8]=-(a-t)*s*.5,e[9]=(i-o)*l*.5,e[10]=r/(n-r),e[11]=-1,e[12]=0,e[13]=0,e[14]=r*n/(n-r),e[15]=0,e},t.orthoNO=o,t.orthoZO=function(e,t,n,r,i,o,a){var s=1/(t-n),l=1/(r-i),a=1/(o-a);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=a,e[11]=0,e[12]=(t+n)*s,e[13]=(i+r)*l,e[14]=o*a,e[15]=1,e},t.lookAt=function(e,t,n,r){var i,o,a,s,l=t[0],u=t[1],t=t[2],c=r[0],f=r[1],r=r[2],h=n[0],d=n[1],n=n[2];return Math.abs(l-h)<I.EPSILON&&Math.abs(u-d)<I.EPSILON&&Math.abs(t-n)<I.EPSILON?p(e):(h=l-h,d=u-d,n=t-n,i=f*(n*=s=1/Math.hypot(h,d,n))-r*(d*=s),r=r*(h*=s)-c*n,c=c*d-f*h,(s=Math.hypot(i,r,c))?(i*=s=1/s,r*=s,c*=s):c=r=i=0,f=d*c-n*r,o=n*i-h*c,a=h*r-d*i,(s=Math.hypot(f,o,a))?(f*=s=1/s,o*=s,a*=s):a=o=f=0,e[0]=i,e[1]=f,e[2]=h,e[3]=0,e[4]=r,e[5]=o,e[6]=d,e[7]=0,e[8]=c,e[9]=a,e[10]=n,e[11]=0,e[12]=-(i*l+r*u+c*t),e[13]=-(f*l+o*u+a*t),e[14]=-(h*l+d*u+n*t),e[15]=1,e)},t.targetTo=function(e,t,n,r){var i=t[0],o=t[1],t=t[2],a=r[0],s=r[1],r=r[2],l=i-n[0],u=o-n[1],n=t-n[2],c=l*l+u*u+n*n,f=(0<c&&(l*=c=1/Math.sqrt(c),u*=c,n*=c),s*n-r*u),r=r*l-a*n,a=a*u-s*l;return 0<(c=f*f+r*r+a*a)&&(f*=c=1/Math.sqrt(c),r*=c,a*=c),e[0]=f,e[1]=r,e[2]=a,e[3]=0,e[4]=u*a-n*r,e[5]=n*f-l*a,e[6]=l*r-u*f,e[7]=0,e[8]=l,e[9]=u,e[10]=n,e[11]=0,e[12]=i,e[13]=o,e[14]=t,e[15]=1,e},t.str=function(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"},t.frob=function(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])},t.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e[9]=t[9]+n[9],e[10]=t[10]+n[10],e[11]=t[11]+n[11],e[12]=t[12]+n[12],e[13]=t[13]+n[13],e[14]=t[14]+n[14],e[15]=t[15]+n[15],e},t.subtract=l,t.multiplyScalar=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e[9]=t[9]*n,e[10]=t[10]*n,e[11]=t[11]*n,e[12]=t[12]*n,e[13]=t[13]*n,e[14]=t[14]*n,e[15]=t[15]*n,e},t.multiplyScalarAndAdd=function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e[9]=t[9]+n[9]*r,e[10]=t[10]+n[10]*r,e[11]=t[11]+n[11]*r,e[12]=t[12]+n[12]*r,e[13]=t[13]+n[13]*r,e[14]=t[14]+n[14]*r,e[15]=t[15]+n[15]*r,e},t.exactEquals=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]&&e[9]===t[9]&&e[10]===t[10]&&e[11]===t[11]&&e[12]===t[12]&&e[13]===t[13]&&e[14]===t[14]&&e[15]===t[15]},t.equals=function(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],f=e[9],h=e[10],d=e[11],p=e[12],y=e[13],m=e[14],e=e[15],g=t[0],v=t[1],b=t[2],_=t[3],x=t[4],w=t[5],A=t[6],S=t[7],C=t[8],O=t[9],E=t[10],M=t[11],P=t[12],k=t[13],T=t[14],t=t[15];return Math.abs(n-g)<=I.EPSILON*Math.max(1,Math.abs(n),Math.abs(g))&&Math.abs(r-v)<=I.EPSILON*Math.max(1,Math.abs(r),Math.abs(v))&&Math.abs(i-b)<=I.EPSILON*Math.max(1,Math.abs(i),Math.abs(b))&&Math.abs(o-_)<=I.EPSILON*Math.max(1,Math.abs(o),Math.abs(_))&&Math.abs(a-x)<=I.EPSILON*Math.max(1,Math.abs(a),Math.abs(x))&&Math.abs(s-w)<=I.EPSILON*Math.max(1,Math.abs(s),Math.abs(w))&&Math.abs(l-A)<=I.EPSILON*Math.max(1,Math.abs(l),Math.abs(A))&&Math.abs(u-S)<=I.EPSILON*Math.max(1,Math.abs(u),Math.abs(S))&&Math.abs(c-C)<=I.EPSILON*Math.max(1,Math.abs(c),Math.abs(C))&&Math.abs(f-O)<=I.EPSILON*Math.max(1,Math.abs(f),Math.abs(O))&&Math.abs(h-E)<=I.EPSILON*Math.max(1,Math.abs(h),Math.abs(E))&&Math.abs(d-M)<=I.EPSILON*Math.max(1,Math.abs(d),Math.abs(M))&&Math.abs(p-P)<=I.EPSILON*Math.max(1,Math.abs(p),Math.abs(P))&&Math.abs(y-k)<=I.EPSILON*Math.max(1,Math.abs(y),Math.abs(k))&&Math.abs(m-T)<=I.EPSILON*Math.max(1,Math.abs(m),Math.abs(T))&&Math.abs(e-t)<=I.EPSILON*Math.max(1,Math.abs(e),Math.abs(t))},t.sub=t.mul=t.ortho=t.perspective=void 0;var I=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(52105));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}function p(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function r(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=t[8],h=t[9],d=t[10],p=t[11],y=t[12],m=t[13],g=t[14],t=t[15],v=n[0],b=n[1],_=n[2],x=n[3];return e[0]=v*r+b*s+_*f+x*y,e[1]=v*i+b*l+_*h+x*m,e[2]=v*o+b*u+_*d+x*g,e[3]=v*a+b*c+_*p+x*t,v=n[4],b=n[5],_=n[6],x=n[7],e[4]=v*r+b*s+_*f+x*y,e[5]=v*i+b*l+_*h+x*m,e[6]=v*o+b*u+_*d+x*g,e[7]=v*a+b*c+_*p+x*t,v=n[8],b=n[9],_=n[10],x=n[11],e[8]=v*r+b*s+_*f+x*y,e[9]=v*i+b*l+_*h+x*m,e[10]=v*o+b*u+_*d+x*g,e[11]=v*a+b*c+_*p+x*t,v=n[12],b=n[13],_=n[14],x=n[15],e[12]=v*r+b*s+_*f+x*y,e[13]=v*i+b*l+_*h+x*m,e[14]=v*o+b*u+_*d+x*g,e[15]=v*a+b*c+_*p+x*t,e}function h(e,t,n){var r=t[0],i=t[1],o=t[2],t=t[3],a=r+r,s=i+i,l=o+o,u=r*a,c=r*s,r=r*l,f=i*s,i=i*l,o=o*l,a=t*a,s=t*s,t=t*l;return e[0]=1-(f+o),e[1]=c+t,e[2]=r-s,e[3]=0,e[4]=c-t,e[5]=1-(u+o),e[6]=i+a,e[7]=0,e[8]=r+s,e[9]=i-a,e[10]=1-(u+f),e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}function d(e,t){var n=t[0],r=t[1],i=t[2],o=t[4],a=t[5],s=t[6],l=t[8],u=t[9],t=t[10];return e[0]=Math.hypot(n,r,i),e[1]=Math.hypot(o,a,s),e[2]=Math.hypot(l,u,t),e}function i(e,t,n,r,i){t=1/Math.tan(t/2);return e[0]=t/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0?(e[10]=(i+r)*(n=1/(r-i)),e[14]=2*i*r*n):(e[10]=-1,e[14]=-2*r),e}function o(e,t,n,r,i,o,a){var s=1/(t-n),l=1/(r-i),u=1/(o-a);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(t+n)*s,e[13]=(i+r)*l,e[14]=(a+o)*u,e[15]=1,e}function l(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e[9]=t[9]-n[9],e[10]=t[10]-n[10],e[11]=t[11]-n[11],e[12]=t[12]-n[12],e[13]=t[13]-n[13],e[14]=t[14]-n[14],e[15]=t[15]-n[15],e}t.perspective=i,t.ortho=o;t.mul=r;n=l;t.sub=n},2774:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.create=l,t.identity=function(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e},t.setAxisAngle=u,t.getAxisAngle=function(e,t){var n=2*Math.acos(t[3]),r=Math.sin(n/2);return r>d.EPSILON?(e[0]=t[0]/r,e[1]=t[1]/r,e[2]=t[2]/r):(e[0]=1,e[1]=0,e[2]=0),n},t.getAngle=function(e,t){e=v(e,t);return Math.acos(2*e*e-1)},t.multiply=c,t.rotateX=function(e,t,n){n*=.5;var r=t[0],i=t[1],o=t[2],t=t[3],a=Math.sin(n),n=Math.cos(n);return e[0]=r*n+t*a,e[1]=i*n+o*a,e[2]=o*n-i*a,e[3]=t*n-r*a,e},t.rotateY=function(e,t,n){n*=.5;var r=t[0],i=t[1],o=t[2],t=t[3],a=Math.sin(n),n=Math.cos(n);return e[0]=r*n-o*a,e[1]=i*n+t*a,e[2]=o*n+r*a,e[3]=t*n-i*a,e},t.rotateZ=function(e,t,n){n*=.5;var r=t[0],i=t[1],o=t[2],t=t[3],a=Math.sin(n),n=Math.cos(n);return e[0]=r*n+i*a,e[1]=i*n-r*a,e[2]=o*n+t*a,e[3]=t*n-o*a,e},t.calculateW=function(e,t){var n=t[0],r=t[1],t=t[2];return e[0]=n,e[1]=r,e[2]=t,e[3]=Math.sqrt(Math.abs(1-n*n-r*r-t*t)),e},t.exp=f,t.ln=h,t.pow=function(e,t,n){return h(e,t),g(e,e,n),f(e,e),e},t.slerp=p,t.random=function(e){var t=d.RANDOM(),n=d.RANDOM(),r=d.RANDOM(),i=Math.sqrt(1-t),t=Math.sqrt(t);return e[0]=i*Math.sin(2*Math.PI*n),e[1]=i*Math.cos(2*Math.PI*n),e[2]=t*Math.sin(2*Math.PI*r),e[3]=t*Math.cos(2*Math.PI*r),e},t.invert=function(e,t){var n=t[0],r=t[1],i=t[2],t=t[3],o=n*n+r*r+i*i+t*t,o=o?1/o:0;return e[0]=-n*o,e[1]=-r*o,e[2]=-i*o,e[3]=t*o,e},t.conjugate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e},t.fromMat3=y,t.fromEuler=function(e,t,n,r){var i=.5*Math.PI/180,i=(t*=i,n*=i,r*=i,Math.sin(t)),t=Math.cos(t),o=Math.sin(n),n=Math.cos(n),a=Math.sin(r),r=Math.cos(r);return e[0]=i*n*r-t*o*a,e[1]=t*o*r+i*n*a,e[2]=t*n*a-i*o*r,e[3]=t*n*r+i*o*a,e},t.str=function(e){return"quat("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},t.setAxes=t.sqlerp=t.rotationTo=t.equals=t.exactEquals=t.normalize=t.sqrLen=t.squaredLength=t.len=t.length=t.lerp=t.dot=t.scale=t.mul=t.add=t.set=t.copy=t.fromValues=t.clone=void 0;var d=o(n(52105)),r=o(n(96081)),i=o(n(7157)),n=o(n(21020));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};t=s(t);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}function l(){var e=new d.ARRAY_TYPE(4);return d.ARRAY_TYPE!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}function u(e,t,n){n*=.5;var r=Math.sin(n);return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=Math.cos(n),e}function c(e,t,n){var r=t[0],i=t[1],o=t[2],t=t[3],a=n[0],s=n[1],l=n[2],n=n[3];return e[0]=r*n+t*a+i*l-o*s,e[1]=i*n+t*s+o*a-r*l,e[2]=o*n+t*l+r*s-i*a,e[3]=t*n-r*a-i*s-o*l,e}function f(e,t){var n=t[0],r=t[1],i=t[2],t=t[3],o=Math.sqrt(n*n+r*r+i*i),t=Math.exp(t),a=0<o?t*Math.sin(o)/o:0;return e[0]=n*a,e[1]=r*a,e[2]=i*a,e[3]=t*Math.cos(o),e}function h(e,t){var n=t[0],r=t[1],i=t[2],t=t[3],o=Math.sqrt(n*n+r*r+i*i),o=0<o?Math.atan2(o,t)/o:0;return e[0]=n*o,e[1]=r*o,e[2]=i*o,e[3]=.5*Math.log(n*n+r*r+i*i+t*t),e}function p(e,t,n,r){var i,o,a,s=t[0],l=t[1],u=t[2],t=t[3],c=n[0],f=n[1],h=n[2],n=n[3];return(a=s*c+l*f+u*h+t*n)<0&&(a=-a,c=-c,f=-f,h=-h,n=-n),a=1-a>d.EPSILON?(a=Math.acos(a),i=Math.sin(a),o=Math.sin((1-r)*a)/i,Math.sin(r*a)/i):(o=1-r,r),e[0]=o*s+a*c,e[1]=o*l+a*f,e[2]=o*u+a*h,e[3]=o*t+a*n,e}function y(e,t){var n,r,i,o=t[0]+t[4]+t[8];return 0<o?(i=Math.sqrt(o+1),e[3]=.5*i,e[0]=(t[5]-t[7])*(i=.5/i),e[1]=(t[6]-t[2])*i,e[2]=(t[1]-t[3])*i):(t[4]>t[o=0]&&(o=1),n=((o=t[8]>t[3*o+o]?2:o)+1)%3,r=(o+2)%3,i=Math.sqrt(t[3*o+o]-t[3*n+n]-t[3*r+r]+1),e[o]=.5*i,e[3]=(t[3*n+r]-t[3*r+n])*(i=.5/i),e[n]=(t[3*n+o]+t[3*o+n])*i,e[r]=(t[3*r+o]+t[3*o+r])*i),e}var m=n.clone,m=(t.clone=m,n.fromValues),m=(t.fromValues=m,n.copy),m=(t.copy=m,n.set),m=(t.set=m,n.add),m=(t.add=m,c),g=(t.mul=m,n.scale),v=(t.scale=g,n.dot),m=(t.dot=v,n.lerp),m=(t.lerp=m,n.length),m=t.length=m,m=(t.len=m,n.squaredLength),m=t.squaredLength=m,b=(t.sqrLen=m,n.normalize),m=(t.normalize=b,n.exactEquals),m=(t.exactEquals=m,n.equals);t.equals=m;var _,x,w;_=i.create(),x=i.fromValues(1,0,0),w=i.fromValues(0,1,0);t.rotationTo=function(e,t,n){var r=i.dot(t,n);return r<-.999999?(i.cross(_,x,t),i.len(_)<1e-6&&i.cross(_,w,t),i.normalize(_,_),u(e,_,Math.PI),e):.999999<r?(e[0]=0,e[1]=0,e[2]=0,e[3]=1,e):(i.cross(_,t,n),e[0]=_[0],e[1]=_[1],e[2]=_[2],e[3]=1+r,b(e,e))};var A,S;A=l(),S=l();t.sqlerp=function(e,t,n,r,i,o){return p(A,t,i,o),p(S,n,r,o),p(e,A,S,2*o*(1-o)),e};var C;C=r.create();t.setAxes=function(e,t,n,r){return C[0]=n[0],C[3]=n[1],C[6]=n[2],C[1]=r[0],C[4]=r[1],C[7]=r[2],C[2]=-t[0],C[5]=-t[1],C[8]=-t[2],b(e,y(e,C))}},73195:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.create=function(){var e=new m.ARRAY_TYPE(8);return m.ARRAY_TYPE!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[4]=0,e[5]=0,e[6]=0,e[7]=0),e[3]=1,e},t.clone=function(e){var t=new m.ARRAY_TYPE(8);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t},t.fromValues=function(e,t,n,r,i,o,a,s){var l=new m.ARRAY_TYPE(8);return l[0]=e,l[1]=t,l[2]=n,l[3]=r,l[4]=i,l[5]=o,l[6]=a,l[7]=s,l},t.fromRotationTranslationValues=function(e,t,n,r,i,o,a){var s=new m.ARRAY_TYPE(8),i=(s[0]=e,s[1]=t,s[2]=n,s[3]=r,.5*i),o=.5*o,a=.5*a;return s[4]=i*r+o*n-a*t,s[5]=o*r+a*e-i*n,s[6]=a*r+i*t-o*e,s[7]=-i*e-o*t-a*n,s},t.fromRotationTranslation=o,t.fromTranslation=function(e,t){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e[4]=.5*t[0],e[5]=.5*t[1],e[6]=.5*t[2],e[7]=0,e},t.fromRotation=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=0,e[5]=0,e[6]=0,e[7]=0,e},t.fromMat4=function(e,t){var n=p.create(),r=(i.getRotation(n,t),new m.ARRAY_TYPE(3));return i.getTranslation(r,t),o(e,n,r),e},t.copy=c,t.identity=function(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e[6]=0,e[7]=0,e},t.set=function(e,t,n,r,i,o,a,s,l){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=o,e[5]=a,e[6]=s,e[7]=l,e},t.getDual=function(e,t){return e[0]=t[4],e[1]=t[5],e[2]=t[6],e[3]=t[7],e},t.setDual=function(e,t){return e[4]=t[0],e[5]=t[1],e[6]=t[2],e[7]=t[3],e},t.getTranslation=function(e,t){var n=t[4],r=t[5],i=t[6],o=t[7],a=-t[0],s=-t[1],l=-t[2],t=t[3];return e[0]=2*(n*t+o*a+r*l-i*s),e[1]=2*(r*t+o*s+i*a-n*l),e[2]=2*(i*t+o*l+n*s-r*a),e},t.translate=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=.5*n[0],l=.5*n[1],n=.5*n[2],u=t[4],c=t[5],f=t[6],t=t[7];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=a*s+i*n-o*l+u,e[5]=a*l+o*s-r*n+c,e[6]=a*n+r*l-i*s+f,e[7]=-r*s-i*l-o*n+t,e},t.rotateX=function(e,t,n){var r=-t[0],i=-t[1],o=-t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=s*a+c*r+l*o-u*i,h=l*a+c*i+u*r-s*o,d=u*a+c*o+s*i-l*r,c=c*a-s*r-l*i-u*o;return p.rotateX(e,t,n),r=e[0],i=e[1],o=e[2],a=e[3],e[4]=f*a+c*r+h*o-d*i,e[5]=h*a+c*i+d*r-f*o,e[6]=d*a+c*o+f*i-h*r,e[7]=c*a-f*r-h*i-d*o,e},t.rotateY=function(e,t,n){var r=-t[0],i=-t[1],o=-t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=s*a+c*r+l*o-u*i,h=l*a+c*i+u*r-s*o,d=u*a+c*o+s*i-l*r,c=c*a-s*r-l*i-u*o;return p.rotateY(e,t,n),r=e[0],i=e[1],o=e[2],a=e[3],e[4]=f*a+c*r+h*o-d*i,e[5]=h*a+c*i+d*r-f*o,e[6]=d*a+c*o+f*i-h*r,e[7]=c*a-f*r-h*i-d*o,e},t.rotateZ=function(e,t,n){var r=-t[0],i=-t[1],o=-t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=s*a+c*r+l*o-u*i,h=l*a+c*i+u*r-s*o,d=u*a+c*o+s*i-l*r,c=c*a-s*r-l*i-u*o;return p.rotateZ(e,t,n),r=e[0],i=e[1],o=e[2],a=e[3],e[4]=f*a+c*r+h*o-d*i,e[5]=h*a+c*i+d*r-f*o,e[6]=d*a+c*o+f*i-h*r,e[7]=c*a-f*r-h*i-d*o,e},t.rotateByQuatAppend=function(e,t,n){var r=n[0],i=n[1],o=n[2],n=n[3],a=t[0],s=t[1],l=t[2],u=t[3];return e[0]=a*n+u*r+s*o-l*i,e[1]=s*n+u*i+l*r-a*o,e[2]=l*n+u*o+a*i-s*r,e[3]=u*n-a*r-s*i-l*o,a=t[4],s=t[5],l=t[6],u=t[7],e[4]=a*n+u*r+s*o-l*i,e[5]=s*n+u*i+l*r-a*o,e[6]=l*n+u*o+a*i-s*r,e[7]=u*n-a*r-s*i-l*o,e},t.rotateByQuatPrepend=function(e,t,n){var r=t[0],i=t[1],o=t[2],t=t[3],a=n[0],s=n[1],l=n[2],u=n[3];return e[0]=r*u+t*a+i*l-o*s,e[1]=i*u+t*s+o*a-r*l,e[2]=o*u+t*l+r*s-i*a,e[3]=t*u-r*a-i*s-o*l,a=n[4],s=n[5],l=n[6],u=n[7],e[4]=r*u+t*a+i*l-o*s,e[5]=i*u+t*s+o*a-r*l,e[6]=o*u+t*l+r*s-i*a,e[7]=t*u-r*a-i*s-o*l,e},t.rotateAroundAxis=function(e,t,n,r){var i,o,a,s,l,u;return Math.abs(r)<m.EPSILON?c(e,t):(l=Math.hypot(n[0],n[1],n[2]),r*=.5,i=(a=Math.sin(r))*n[0]/l,o=a*n[1]/l,a=a*n[2]/l,n=Math.cos(r),l=t[0],r=t[1],u=t[2],s=t[3],e[0]=l*n+s*i+r*a-u*o,e[1]=r*n+s*o+u*i-l*a,e[2]=u*n+s*a+l*o-r*i,e[3]=s*n-l*i-r*o-u*a,s=t[4],l=t[5],r=t[6],u=t[7],e[4]=s*n+u*i+l*a-r*o,e[5]=l*n+u*o+r*i-s*a,e[6]=r*n+u*a+s*o-l*i,e[7]=u*n-s*i-l*o-r*a,e)},t.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e},t.multiply=l,t.scale=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e},t.lerp=function(e,t,n,r){var i=1-r;return u(t,n)<0&&(r=-r),e[0]=t[0]*i+n[0]*r,e[1]=t[1]*i+n[1]*r,e[2]=t[2]*i+n[2]*r,e[3]=t[3]*i+n[3]*r,e[4]=t[4]*i+n[4]*r,e[5]=t[5]*i+n[5]*r,e[6]=t[6]*i+n[6]*r,e[7]=t[7]*i+n[7]*r,e},t.invert=function(e,t){var n=f(t);return e[0]=-t[0]/n,e[1]=-t[1]/n,e[2]=-t[2]/n,e[3]=t[3]/n,e[4]=-t[4]/n,e[5]=-t[5]/n,e[6]=-t[6]/n,e[7]=t[7]/n,e},t.conjugate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e[4]=-t[4],e[5]=-t[5],e[6]=-t[6],e[7]=t[7],e},t.normalize=function(e,t){var n,r,i,o,a,s,l,u,c=f(t);return 0<c&&(c=Math.sqrt(c),n=t[0]/c,r=t[1]/c,i=t[2]/c,o=t[3]/c,u=n*(a=t[4])+r*(s=t[5])+i*(l=t[6])+o*(t=t[7]),e[0]=n,e[1]=r,e[2]=i,e[3]=o,e[4]=(a-n*u)/c,e[5]=(s-r*u)/c,e[6]=(l-i*u)/c,e[7]=(t-o*u)/c),e},t.str=function(e){return"quat2("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+")"},t.exactEquals=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]},t.equals=function(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],e=e[7],u=t[0],c=t[1],f=t[2],h=t[3],d=t[4],p=t[5],y=t[6],t=t[7];return Math.abs(n-u)<=m.EPSILON*Math.max(1,Math.abs(n),Math.abs(u))&&Math.abs(r-c)<=m.EPSILON*Math.max(1,Math.abs(r),Math.abs(c))&&Math.abs(i-f)<=m.EPSILON*Math.max(1,Math.abs(i),Math.abs(f))&&Math.abs(o-h)<=m.EPSILON*Math.max(1,Math.abs(o),Math.abs(h))&&Math.abs(a-d)<=m.EPSILON*Math.max(1,Math.abs(a),Math.abs(d))&&Math.abs(s-p)<=m.EPSILON*Math.max(1,Math.abs(s),Math.abs(p))&&Math.abs(l-y)<=m.EPSILON*Math.max(1,Math.abs(l),Math.abs(y))&&Math.abs(e-t)<=m.EPSILON*Math.max(1,Math.abs(e),Math.abs(t))},t.sqrLen=t.squaredLength=t.len=t.length=t.dot=t.mul=t.setReal=t.getReal=void 0;var m=r(n(52105)),p=r(n(2774)),i=r(n(92956));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}function r(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};t=s(t);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}function o(e,t,n){var r=.5*n[0],i=.5*n[1],n=.5*n[2],o=t[0],a=t[1],s=t[2],t=t[3];return e[0]=o,e[1]=a,e[2]=s,e[3]=t,e[4]=r*t+i*s-n*a,e[5]=i*t+n*o-r*s,e[6]=n*t+r*a-i*o,e[7]=-r*o-i*a-n*s,e}function c(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e}n=p.copy,t.getReal=n,n=p.copy;function l(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=n[4],l=n[5],u=n[6],c=n[7],f=t[4],h=t[5],d=t[6],t=t[7],p=n[0],y=n[1],m=n[2],n=n[3];return e[0]=r*n+a*p+i*m-o*y,e[1]=i*n+a*y+o*p-r*m,e[2]=o*n+a*m+r*y-i*p,e[3]=a*n-r*p-i*y-o*m,e[4]=r*c+a*s+i*u-o*l+f*n+t*p+h*m-d*y,e[5]=i*c+a*l+o*s-r*u+h*n+t*y+d*p-f*m,e[6]=o*c+a*u+r*l-i*s+d*n+t*m+f*y-h*p,e[7]=a*c-r*s-i*l-o*u+t*n-f*p-h*y-d*m,e}t.setReal=n;t.mul=l;var u=p.dot,n=(t.dot=u,p.length),n=t.length=n,f=(t.len=n,p.squaredLength),n=t.squaredLength=f;t.sqrLen=n},49679:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.create=r,t.clone=function(e){var t=new i.ARRAY_TYPE(2);return t[0]=e[0],t[1]=e[1],t},t.fromValues=function(e,t){var n=new i.ARRAY_TYPE(2);return n[0]=e,n[1]=t,n},t.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e},t.set=function(e,t,n){return e[0]=t,e[1]=n,e},t.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e},t.subtract=o,t.multiply=l,t.divide=u,t.ceil=function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e},t.floor=function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e},t.min=function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e},t.max=function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e},t.round=function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e},t.scale=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e},t.scaleAndAdd=function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e},t.distance=c,t.squaredDistance=f,t.length=h,t.squaredLength=d,t.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e},t.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e},t.normalize=function(e,t){var n=t[0],r=t[1],n=n*n+r*r;return 0<n&&(n=1/Math.sqrt(n)),e[0]=t[0]*n,e[1]=t[1]*n,e},t.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]},t.cross=function(e,t,n){t=t[0]*n[1]-t[1]*n[0];return e[0]=e[1]=0,e[2]=t,e},t.lerp=function(e,t,n,r){var i=t[0],t=t[1];return e[0]=i+r*(n[0]-i),e[1]=t+r*(n[1]-t),e},t.random=function(e,t){t=t||1;var n=2*i.RANDOM()*Math.PI;return e[0]=Math.cos(n)*t,e[1]=Math.sin(n)*t,e},t.transformMat2=function(e,t,n){var r=t[0],t=t[1];return e[0]=n[0]*r+n[2]*t,e[1]=n[1]*r+n[3]*t,e},t.transformMat2d=function(e,t,n){var r=t[0],t=t[1];return e[0]=n[0]*r+n[2]*t+n[4],e[1]=n[1]*r+n[3]*t+n[5],e},t.transformMat3=function(e,t,n){var r=t[0],t=t[1];return e[0]=n[0]*r+n[3]*t+n[6],e[1]=n[1]*r+n[4]*t+n[7],e},t.transformMat4=function(e,t,n){var r=t[0],t=t[1];return e[0]=n[0]*r+n[4]*t+n[12],e[1]=n[1]*r+n[5]*t+n[13],e},t.rotate=function(e,t,n,r){var i=t[0]-n[0],t=t[1]-n[1],o=Math.sin(r),r=Math.cos(r);return e[0]=i*r-t*o+n[0],e[1]=i*o+t*r+n[1],e},t.angle=function(e,t){var n=e[0],e=e[1],r=t[0],t=t[1],i=Math.sqrt(n*n+e*e)*Math.sqrt(r*r+t*t);return Math.acos(Math.min(Math.max(i&&(n*r+e*t)/i,-1),1))},t.zero=function(e){return e[0]=0,e[1]=0,e},t.str=function(e){return"vec2("+e[0]+", "+e[1]+")"},t.exactEquals=function(e,t){return e[0]===t[0]&&e[1]===t[1]},t.equals=function(e,t){var n=e[0],e=e[1],r=t[0],t=t[1];return Math.abs(n-r)<=i.EPSILON*Math.max(1,Math.abs(n),Math.abs(r))&&Math.abs(e-t)<=i.EPSILON*Math.max(1,Math.abs(e),Math.abs(t))},t.forEach=t.sqrLen=t.sqrDist=t.dist=t.div=t.mul=t.sub=t.len=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(52105));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}function r(){var e=new i.ARRAY_TYPE(2);return i.ARRAY_TYPE!=Float32Array&&(e[0]=0,e[1]=0),e}function o(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function l(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function u(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function c(e,t){var n=t[0]-e[0],t=t[1]-e[1];return Math.hypot(n,t)}function f(e,t){var n=t[0]-e[0],t=t[1]-e[1];return n*n+t*t}function h(e){var t=e[0],e=e[1];return Math.hypot(t,e)}function d(e){var t=e[0],e=e[1];return t*t+e*e}t.len=h;n=o,t.sub=n,n=l,t.mul=n,n=u,t.div=n,n=c,t.dist=n,n=f,t.sqrDist=n,n=d;t.sqrLen=n;var p;p=r();t.forEach=function(e,t,n,r,i,o){var a,s;for(t=t||2,n=n||0,s=r?Math.min(r*t+n,e.length):e.length,a=n;a<s;a+=t)p[0]=e[a],p[1]=e[a+1],i(p,p,o),e[a]=p[0],e[a+1]=p[1];return e}},7157:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.create=r,t.clone=function(e){var t=new s.ARRAY_TYPE(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},t.length=i,t.fromValues=function(e,t,n){var r=new s.ARRAY_TYPE(3);return r[0]=e,r[1]=t,r[2]=n,r},t.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},t.set=function(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e},t.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e},t.subtract=o,t.multiply=u,t.divide=c,t.ceil=function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},t.floor=function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},t.min=function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e},t.max=function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e},t.round=function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},t.scale=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e},t.scaleAndAdd=function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e},t.distance=f,t.squaredDistance=h,t.squaredLength=d,t.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e},t.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e},t.normalize=function(e,t){var n=t[0],r=t[1],i=t[2],n=n*n+r*r+i*i;return 0<n&&(n=1/Math.sqrt(n)),e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e},t.dot=p,t.cross=function(e,t,n){var r=t[0],i=t[1],t=t[2],o=n[0],a=n[1],n=n[2];return e[0]=i*n-t*a,e[1]=t*o-r*n,e[2]=r*a-i*o,e},t.lerp=function(e,t,n,r){var i=t[0],o=t[1],t=t[2];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=t+r*(n[2]-t),e},t.hermite=function(e,t,n,r,i,o){var a=o*o,s=a*(2*o-3)+1,l=a*(o-2)+o,u=a*(o-1),a=a*(3-2*o);return e[0]=t[0]*s+n[0]*l+r[0]*u+i[0]*a,e[1]=t[1]*s+n[1]*l+r[1]*u+i[1]*a,e[2]=t[2]*s+n[2]*l+r[2]*u+i[2]*a,e},t.bezier=function(e,t,n,r,i,o){var a=1-o,s=a*a,l=o*o,u=s*a,s=3*o*s,a=3*l*a,l=l*o;return e[0]=t[0]*u+n[0]*s+r[0]*a+i[0]*l,e[1]=t[1]*u+n[1]*s+r[1]*a+i[1]*l,e[2]=t[2]*u+n[2]*s+r[2]*a+i[2]*l,e},t.random=function(e,t){t=t||1;var n=2*s.RANDOM()*Math.PI,r=2*s.RANDOM()-1,i=Math.sqrt(1-r*r)*t;return e[0]=Math.cos(n)*i,e[1]=Math.sin(n)*i,e[2]=r*t,e},t.transformMat4=function(e,t,n){var r=t[0],i=t[1],t=t[2],o=n[3]*r+n[7]*i+n[11]*t+n[15];return e[0]=(n[0]*r+n[4]*i+n[8]*t+n[12])/(o=o||1),e[1]=(n[1]*r+n[5]*i+n[9]*t+n[13])/o,e[2]=(n[2]*r+n[6]*i+n[10]*t+n[14])/o,e},t.transformMat3=function(e,t,n){var r=t[0],i=t[1],t=t[2];return e[0]=r*n[0]+i*n[3]+t*n[6],e[1]=r*n[1]+i*n[4]+t*n[7],e[2]=r*n[2]+i*n[5]+t*n[8],e},t.transformQuat=function(e,t,n){var r=n[0],i=n[1],o=n[2],n=n[3],a=t[0],s=t[1],t=t[2],l=i*t-o*s,u=o*a-r*t,c=r*s-i*a,f=i*c-o*u,o=o*l-r*c,r=r*u-i*l,i=2*n;return u*=i,c*=i,o*=2,r*=2,e[0]=a+(l*=i)+(f*=2),e[1]=s+u+o,e[2]=t+c+r,e},t.rotateX=function(e,t,n,r){var i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},t.rotateY=function(e,t,n,r){var i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},t.rotateZ=function(e,t,n,r){var i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},t.angle=function(e,t){var n=e[0],r=e[1],i=e[2],o=t[0],a=t[1],s=t[2],n=Math.sqrt(n*n+r*r+i*i)*Math.sqrt(o*o+a*a+s*s),r=n&&p(e,t)/n;return Math.acos(Math.min(Math.max(r,-1),1))},t.zero=function(e){return e[0]=0,e[1]=0,e[2]=0,e},t.str=function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},t.exactEquals=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]},t.equals=function(e,t){var n=e[0],r=e[1],e=e[2],i=t[0],o=t[1],t=t[2];return Math.abs(n-i)<=s.EPSILON*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-o)<=s.EPSILON*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(e-t)<=s.EPSILON*Math.max(1,Math.abs(e),Math.abs(t))},t.forEach=t.sqrLen=t.len=t.sqrDist=t.dist=t.div=t.mul=t.sub=void 0;var s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=l(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(52105));function l(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(l=function(e){return e?n:t})(e))}function r(){var e=new s.ARRAY_TYPE(3);return s.ARRAY_TYPE!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function i(e){var t=e[0],n=e[1],e=e[2];return Math.hypot(t,n,e)}function o(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function u(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function c(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function f(e,t){var n=t[0]-e[0],r=t[1]-e[1],t=t[2]-e[2];return Math.hypot(n,r,t)}function h(e,t){var n=t[0]-e[0],r=t[1]-e[1],t=t[2]-e[2];return n*n+r*r+t*t}function d(e){var t=e[0],n=e[1],e=e[2];return t*t+n*n+e*e}function p(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}t.sub=o;n=u,t.mul=n,n=c,t.div=n,n=f,t.dist=n,n=h,t.sqrDist=n,n=i,t.len=n,n=d;t.sqrLen=n;var y;y=r();t.forEach=function(e,t,n,r,i,o){var a,s;for(t=t||3,n=n||0,s=r?Math.min(r*t+n,e.length):e.length,a=n;a<s;a+=t)y[0]=e[a],y[1]=e[a+1],y[2]=e[a+2],i(y,y,o),e[a]=y[0],e[a+1]=y[1],e[a+2]=y[2];return e}},21020:function(e,t,n){"use strict";function a(e){return(a="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.create=r,t.clone=function(e){var t=new u.ARRAY_TYPE(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},t.fromValues=function(e,t,n,r){var i=new u.ARRAY_TYPE(4);return i[0]=e,i[1]=t,i[2]=n,i[3]=r,i},t.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},t.set=function(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e},t.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e},t.subtract=i,t.multiply=o,t.divide=l,t.ceil=function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},t.floor=function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},t.min=function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e},t.max=function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e},t.round=function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e},t.scale=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e},t.scaleAndAdd=function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e},t.distance=c,t.squaredDistance=f,t.length=h,t.squaredLength=d,t.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},t.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},t.normalize=function(e,t){var n=t[0],r=t[1],i=t[2],t=t[3],o=n*n+r*r+i*i+t*t;return 0<o&&(o=1/Math.sqrt(o)),e[0]=n*o,e[1]=r*o,e[2]=i*o,e[3]=t*o,e},t.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},t.cross=function(e,t,n,r){var i=n[0]*r[1]-n[1]*r[0],o=n[0]*r[2]-n[2]*r[0],a=n[0]*r[3]-n[3]*r[0],s=n[1]*r[2]-n[2]*r[1],l=n[1]*r[3]-n[3]*r[1],n=n[2]*r[3]-n[3]*r[2],r=t[0],u=t[1],c=t[2],t=t[3];return e[0]=u*n-c*l+t*s,e[1]=-r*n+c*a-t*o,e[2]=r*l-u*a+t*i,e[3]=-r*s+u*o-c*i,e},t.lerp=function(e,t,n,r){var i=t[0],o=t[1],a=t[2],t=t[3];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=a+r*(n[2]-a),e[3]=t+r*(n[3]-t),e},t.random=function(e,t){var n,r,i,o,a,s;for(t=t||1;1<=(a=(n=2*u.RANDOM()-1)*n+(r=2*u.RANDOM()-1)*r););for(;1<=(s=(i=2*u.RANDOM()-1)*i+(o=2*u.RANDOM()-1)*o););var l=Math.sqrt((1-a)/s);return e[0]=t*n,e[1]=t*r,e[2]=t*i*l,e[3]=t*o*l,e},t.transformMat4=function(e,t,n){var r=t[0],i=t[1],o=t[2],t=t[3];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*t,e[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*t,e[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*t,e[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*t,e},t.transformQuat=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=n[0],s=n[1],l=n[2],n=n[3],u=n*r+s*o-l*i,c=n*i+l*r-a*o,f=n*o+a*i-s*r,r=-a*r-s*i-l*o;return e[0]=u*n+r*-a+c*-l-f*-s,e[1]=c*n+r*-s+f*-a-u*-l,e[2]=f*n+r*-l+u*-s-c*-a,e[3]=t[3],e},t.zero=function(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e},t.str=function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},t.exactEquals=function(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]},t.equals=function(e,t){var n=e[0],r=e[1],i=e[2],e=e[3],o=t[0],a=t[1],s=t[2],t=t[3];return Math.abs(n-o)<=u.EPSILON*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=u.EPSILON*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-s)<=u.EPSILON*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(e-t)<=u.EPSILON*Math.max(1,Math.abs(e),Math.abs(t))},t.forEach=t.sqrLen=t.len=t.sqrDist=t.dist=t.div=t.mul=t.sub=void 0;var u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s(void 0);if(t&&t.has(e))return t.get(e);var n,r,i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((r=o?Object.getOwnPropertyDescriptor(e,n):null)&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=e[n]);return i.default=e,t&&t.set(e,i),i}(n(52105));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}function r(){var e=new u.ARRAY_TYPE(4);return u.ARRAY_TYPE!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[3]=0),e}function i(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function o(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e}function l(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e}function c(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2],t=t[3]-e[3];return Math.hypot(n,r,i,t)}function f(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2],t=t[3]-e[3];return n*n+r*r+i*i+t*t}function h(e){var t=e[0],n=e[1],r=e[2],e=e[3];return Math.hypot(t,n,r,e)}function d(e){var t=e[0],n=e[1],r=e[2],e=e[3];return t*t+n*n+r*r+e*e}t.sub=i;n=o,t.mul=n,n=l,t.div=n,n=c,t.dist=n,n=f,t.sqrDist=n,n=h,t.len=n,n=d;t.sqrLen=n;var p;p=r();t.forEach=function(e,t,n,r,i,o){var a,s;for(t=t||4,n=n||0,s=r?Math.min(r*t+n,e.length):e.length,a=n;a<s;a+=t)p[0]=e[a],p[1]=e[a+1],p[2]=e[a+2],p[3]=e[a+3],i(p,p,o),e[a]=p[0],e[a+1]=p[1],e[a+2]=p[2],e[a+3]=p[3];return e}},28813:function(e){var o=[],a=[];function t(e,t){if(t=t||{},void 0===e)throw new Error("insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).");var n,r=!0===t.prepend?"prepend":"append",t=void 0!==t.container?t.container:document.querySelector("head"),i=o.indexOf(t);return-1===i&&(i=o.push(t)-1,a[i]={}),void 0!==a[i]&&void 0!==a[i][r]?n=a[i][r]:(n=a[i][r]=((i=document.createElement("style")).setAttribute("type","text/css"),i),"prepend"==r?t.insertBefore(n,t.childNodes[0]):t.appendChild(n)),65279===e.charCodeAt(0)&&(e=e.substr(1,e.length)),n.styleSheet?n.styleSheet.cssText+=e:n.textContent+=e,n}e.exports=t,e.exports.insertCss=t},88370:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAnyArray=void 0;var n=Object.prototype.toString;t.isAnyArray=function(e){e=n.call(e);return e.endsWith("Array]")&&!e.includes("Big")}},56730:function(e){e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||0<=e.length&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},42138:function(e,t,n){function c(e){return(c="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})(e)}e=n.nmd(e);var x="__lodash_hash_undefined__",w=9007199254740991,S="[object Arguments]",z="[object Boolean]",F="[object Date]",C="[object Function]",V="[object GeneratorFunction]",O="[object Map]",H="[object Number]",E="[object Object]",Y="[object RegExp]",M="[object Set]",G="[object String]",U="[object Symbol]",Q="[object ArrayBuffer]",P="[object DataView]",W="[object Float32Array]",q="[object Float64Array]",K="[object Int8Array]",X="[object Int16Array]",J="[object Int32Array]",$="[object Uint8Array]",Z="[object Uint8ClampedArray]",ee="[object Uint16Array]",te="[object Uint32Array]",ne=/\w*$/,A=/^\[object .+?Constructor\]$/,re=/^(?:0|[1-9]\d*)$/,k={},n=(k[S]=k["[object Array]"]=k[Q]=k[P]=k[z]=k[F]=k[W]=k[q]=k[K]=k[X]=k[J]=k[O]=k[H]=k[E]=k[Y]=k[M]=k[G]=k[U]=k[$]=k[Z]=k[ee]=k[te]=!0,k["[object Error]"]=k[C]=k["[object WeakMap]"]=!1,"object"==(void 0===n.g?"undefined":c(n.g))&&n.g&&n.g.Object===Object&&n.g),r="object"==("undefined"==typeof self?"undefined":c(self))&&self&&self.Object===Object&&self,n=n||r||Function("return this")(),r="object"==c(t)&&t&&!t.nodeType&&t,t=r&&"object"==c(e)&&e&&!e.nodeType&&e,t=t&&t.exports===r;function ie(e,t){return e.set(t[0],t[1]),e}function oe(e,t){return e.add(t),e}function ae(e,t,n,r){var i=-1,o=e?e.length:0;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function se(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function le(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function i(t,n){return function(e){return t(n(e))}}function ue(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var r=Array.prototype,o=Function.prototype,a=Object.prototype,s=n["__core-js_shared__"],ce=(s=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"",fe=o.toString,T=a.hasOwnProperty,f=a.toString,he=RegExp("^"+fe.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),s=t?n.Buffer:void 0,o=n.Symbol,de=n.Uint8Array,pe=i(Object.getPrototypeOf,Object),ye=Object.create,me=a.propertyIsEnumerable,ge=r.splice,t=Object.getOwnPropertySymbols,r=s?s.isBuffer:void 0,ve=i(Object.keys,Object),s=b(n,"DataView"),l=b(n,"Map"),u=b(n,"Promise"),h=b(n,"Set"),n=b(n,"WeakMap"),d=b(Object,"create"),be=_(s),_e=_(l),xe=_(u),we=_(h),Ae=_(n),o=o?o.prototype:void 0,Se=o?o.valueOf:void 0;function p(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function m(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function I(e){this.__data__=new y(e)}function Ce(e,t){var n,r,i,o,a,s=B(e)||(r=n=e)&&"object"==c(r)&&Te(r)&&T.call(n,"callee")&&(!me.call(n,"callee")||f.call(n)==S)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length,u=!!l;for(i in e)!t&&!T.call(e,i)||u&&("length"==i||(o=i,a=l,(a=null==a?w:a)&&("number"==typeof o||re.test(o))&&-1<o&&o%1==0&&o<a))||s.push(i);return s}function Oe(e,t,n){var r=e[t];T.call(e,t)&&ke(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function g(e,t){for(var n=e.length;n--;)if(ke(e[n][0],t))return n;return-1}function L(l,e,t,n,r,i,o){var a;if(void 0===(a=n?i?n(l,r,i,o):n(l):a)){if(!R(l))return l;var s,u,c,r=B(l);if(r){if(m=(u=l).length,c=u.constructor(m),m&&"string"==typeof u[0]&&T.call(u,"index")&&(c.index=u.index,c.input=u.input),a=c,!e){var f=l;var h=a;var d=-1,p=f.length;for(h=h||Array(p);++d<p;)h[d]=f[d];return h;return}}else{var y=D(l),m=y==C||y==V;if(Ie(l))return u=l,e?u.slice():(c=new u.constructor(u.length),u.copy(c),c);if(y==E||y==S||m&&!i){if(se(l))return i?l:{};if(a="function"==typeof(v=m?{}:l).constructor&&!Pe(v)&&R(v=pe(v))?ye(v):{},!e)return v=l,s=(s=a)&&Ee(l,N(l),s),Ee(v,Me(v),s)}else{if(!k[y])return i?l:{};a=function(e,t,n){var r,i,o,a,s=e.constructor;switch(y){case Q:return j(e);case z:case F:return new s(+e);case P:return r=e,i=n?j(r.buffer):r.buffer,new r.constructor(i,r.byteOffset,r.byteLength);case W:case q:case K:case X:case J:case $:case Z:case ee:case te:return i=e,r=n?j(i.buffer):i.buffer,new i.constructor(r,i.byteOffset,i.length);case O:return o=e,ae(n?t(le(o),!0):le(o),ie,new o.constructor);case H:case G:return new s(e);case Y:return(a=new(o=e).constructor(o.source,ne.exec(o))).lastIndex=o.lastIndex,a;case M:return a=e,ae(n?t(ue(a),!0):ue(a),oe,new a.constructor);case U:return Se?Object(Se.call(e)):{}}}(l,L,e)}}var g,v=(o=o||new I).get(l);if(v)return v;o.set(l,a);for(var b,_,x=(g=r?g:t?function(){var e=l,t=Me,n=N(e);if(B(e))return n;for(var r=n,i=t(e),o=-1,a=i.length,s=r.length;++o<a;)r[s+o]=i[o];return r}():N(l))||l,w=-1,A=x?x.length:0;++w<A&&!1!==(b=x[w],_=w,g&&(b=l[_=b]),void Oe(a,_,L(b,e,t,n,_,l,o))););}return a}function j(e){var t=new e.constructor(e.byteLength);return new de(t).set(new de(e)),t}function Ee(e,t,n,r){n=n||{};for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;Oe(n,a,void 0===s?e[a]:s)}return n}function v(e,t){var n,r,e=e.__data__;return("string"==(r=c(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?e["string"==typeof t?"string":"hash"]:e.map}function b(e,t){e=null==e?void 0:e[t];return!R(t=e)||ce&&ce in t||!(Le(t)||se(t)?he:A).test(_(t))?void 0:e}p.prototype.clear=function(){this.__data__=d?d(null):{}},p.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},p.prototype.get=function(e){var t,n=this.__data__;return d?(t=n[e])===x?void 0:t:T.call(n,e)?n[e]:void 0},p.prototype.has=function(e){var t=this.__data__;return d?void 0!==t[e]:T.call(t,e)},p.prototype.set=function(e,t){return this.__data__[e]=d&&void 0===t?x:t,this},y.prototype.clear=function(){this.__data__=[]},y.prototype.delete=function(e){var t=this.__data__,e=g(t,e);return!(e<0||(e==t.length-1?t.pop():ge.call(t,e,1),0))},y.prototype.get=function(e){var t=this.__data__,e=g(t,e);return e<0?void 0:t[e][1]},y.prototype.has=function(e){return-1<g(this.__data__,e)},y.prototype.set=function(e,t){var n=this.__data__,r=g(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},m.prototype.clear=function(){this.__data__={hash:new p,map:new(l||y),string:new p}},m.prototype.delete=function(e){return v(this,e).delete(e)},m.prototype.get=function(e){return v(this,e).get(e)},m.prototype.has=function(e){return v(this,e).has(e)},m.prototype.set=function(e,t){return v(this,e).set(e,t),this},I.prototype.clear=function(){this.__data__=new y},I.prototype.delete=function(e){return this.__data__.delete(e)},I.prototype.get=function(e){return this.__data__.get(e)},I.prototype.has=function(e){return this.__data__.has(e)},I.prototype.set=function(e,t){var n=this.__data__;if(n instanceof y){var r=n.__data__;if(!l||r.length<199)return r.push([e,t]),this;n=this.__data__=new m(r)}return n.set(e,t),this};var Me=t?i(t,Object):function(){return[]},D=function(e){return f.call(e)};function Pe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||a)}function _(e){if(null!=e){try{return fe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ke(e,t){return e===t||e!=e&&t!=t}(s&&D(new s(new ArrayBuffer(1)))!=P||l&&D(new l)!=O||u&&"[object Promise]"!=D(u.resolve())||h&&D(new h)!=M||n&&"[object WeakMap]"!=D(new n))&&(D=function(e){var t=f.call(e),e=t==E?e.constructor:void 0,e=e?_(e):void 0;if(e)switch(e){case be:return P;case _e:return O;case xe:return"[object Promise]";case we:return M;case Ae:return"[object WeakMap]"}return t});var B=Array.isArray;function Te(e){return null!=e&&"number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=w&&!Le(e);var t}var Ie=r||function(){return!1};function Le(e){e=R(e)?f.call(e):"";return e==C||e==V}function R(e){var t=c(e);return e&&("object"==t||"function"==t)}function N(e){return(Te(e)?Ce:function(e){if(!Pe(e))return ve(e);var t,n=[];for(t in Object(e))T.call(e,t)&&"constructor"!=t&&n.push(t);return n})(e)}e.exports=function(e){return L(e,!0,!0)}},77820:function(e,B,t){function c(e){return(c="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})(e)}var f=9007199254740991,h="[object Arguments]",n="[object Function]",r="[object GeneratorFunction]",s="[object Map]",l="[object Set]",i=/^\[object .+?Constructor\]$/,d=/^(?:0|[1-9]\d*)$/,t="object"==(void 0===t.g?"undefined":c(t.g))&&t.g&&t.g.Object===Object&&t.g,o="object"==("undefined"==typeof self?"undefined":c(self))&&self&&self.Object===Object&&self,t=t||o||Function("return this")();function u(e,t){for(var n,r=t,i=-1,o=r?r.length:0,a=Array(o);++i<o;)a[i]=[n=r[i],e[n]];return a}var a,p,o=Function.prototype,y=Object.prototype,m=t["__core-js_shared__"],g=(m=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",v=o.toString,b=y.hasOwnProperty,_=y.toString,x=RegExp("^"+v.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=y.propertyIsEnumerable,A=(a=Object.keys,p=Object,function(e){return a(p(e))}),m=P(t,"DataView"),o=P(t,"Map"),S=P(t,"Promise"),C=P(t,"Set"),t=P(t,"WeakMap"),O=T(m),E=T(o),M=T(S),R=T(C),N=T(t);function z(e,t){var n,r,i,o,a,s=F(e)||(r=n=e)&&"object"==c(r)&&I(r)&&b.call(n,"callee")&&(!w.call(n,"callee")||_.call(n)==h)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length,u=!!l;for(i in e)!t&&!b.call(e,i)||u&&("length"==i||(o=i,a=l,(a=null==a?f:a)&&("number"==typeof o||d.test(o))&&-1<o&&o%1==0&&o<a))||s.push(i);return s}function P(e,t){e=null==e?void 0:e[t];return!j(t=e)||g&&g in t||!(L(t)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(t)?x:i).test(T(t))?void 0:e}var k=function(e){return _.call(e)};function T(e){if(null!=e){try{return v.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(m&&"[object DataView]"!=k(new m(new ArrayBuffer(1)))||o&&k(new o)!=s||S&&"[object Promise]"!=k(S.resolve())||C&&k(new C)!=l||t&&"[object WeakMap]"!=k(new t))&&(k=function(e){var t=_.call(e),e="[object Object]"==t?e.constructor:void 0,e=e?T(e):void 0;if(e)switch(e){case O:return"[object DataView]";case E:return s;case M:return"[object Promise]";case R:return l;case N:return"[object WeakMap]"}return t});var F=Array.isArray;function I(e){return null!=e&&"number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=f&&!L(e);var t}function L(e){e=j(e)?_.call(e):"";return e==n||e==r}function j(e){var t=c(e);return e&&("object"==t||"function"==t)}var D;D=function(e){return(I(e)?z:function(e){if(e!==("function"==typeof(t=e&&e.constructor)&&t.prototype||y))return A(e);var t,n,r=[];for(n in Object(e))b.call(e,n)&&"constructor"!=n&&r.push(n);return r})(e)};e.exports=function(e){var n,r,t,i,o,a=k(e);return a==s?(t=e,n=-1,r=Array(t.size),t.forEach(function(e,t){r[++n]=[t,e]}),r):a==l?(t=e,i=-1,o=Array(t.size),t.forEach(function(e){o[++i]=[e,e]}),o):u(e,D(e))}},29819:function(e,t,n){function s(e){return(s="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})(e)}e=n.nmd(e);var C="__lodash_hash_undefined__",E=1,M=2,O=1/0,N=9007199254740991,P="[object Arguments]",z="[object Array]",F="[object Boolean]",V="[object Date]",H="[object Error]",Y="[object Function]",G="[object GeneratorFunction]",k="[object Map]",U="[object Number]",T="[object Object]",Q="[object RegExp]",I="[object Set]",W="[object String]",q="[object Symbol]",K="[object ArrayBuffer]",L="[object DataView]",X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,$=/^\./,Z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ee=/\\(\\)?/g,te=/^\[object .+?Constructor\]$/,ne=/^(?:0|[1-9]\d*)$/,r={},n=(r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r[P]=r[z]=r[K]=r[F]=r[L]=r[V]=r[H]=r[Y]=r[k]=r[U]=r[T]=r[Q]=r[I]=r[W]=r["[object WeakMap]"]=!1,"object"==(void 0===n.g?"undefined":s(n.g))&&n.g&&n.g.Object===Object&&n.g),i="object"==("undefined"==typeof self?"undefined":s(self))&&self&&self.Object===Object&&self,i=n||i||Function("return this")(),t="object"==s(t)&&t&&!t.nodeType&&t,o=t&&"object"==s(e)&&e&&!e.nodeType&&e,re=o&&o.exports===t&&n.process,o=function(){try{return re&&re.binding("util")}catch(e){}}(),t=o&&o.isTypedArray;function ie(e,t){return!(!e||!e.length)&&-1<function(e,t){if(t!=t){for(var n=e,r=oe,i=n.length,o=-1;++o<i;)if(r(n[o],o,n))return o}else for(var a=-1,s=e.length;++a<s;)if(e[a]===t)return a;return-1}(e,t)}function oe(e){return e!=e}function ae(e,t){return e.has(t)}function se(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function le(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function ue(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var ce,fe,n=Array.prototype,o=Function.prototype,a=Object.prototype,l=i["__core-js_shared__"],he=(l=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",de=o.toString,j=a.hasOwnProperty,u=a.toString,pe=RegExp("^"+de.call(j).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),l=i.Symbol,ye=i.Uint8Array,me=a.propertyIsEnumerable,ge=n.splice,ve=(ce=Object.keys,fe=Object,function(e){return ce(fe(e))}),o=b(i,"DataView"),c=b(i,"Map"),n=b(i,"Promise"),f=b(i,"Set"),i=b(i,"WeakMap"),h=b(Object,"create"),be=w(o),_e=w(c),xe=w(n),we=w(f),Ae=w(i),l=l?l.prototype:void 0,Se=l?l.valueOf:void 0,Ce=l?l.toString:void 0;function d(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function p(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function m(e){var t=-1,n=e?e.length:0;for(this.__data__=new y;++t<n;)this.add(e[t])}function D(e){this.__data__=new p(e)}function g(e,t){for(var n=e.length;n--;)if(Ne(e[n][0],t))return n;return-1}function Oe(e,t){for(var n=0,r=(t=_(t,e)?[t]:ke(t)).length;null!=e&&n<r;)e=e[x(t[n++])];return n&&n==r?e:void 0}function Ee(e,t){return null!=e&&t in Object(e)}function Me(e,t,n,r,i){return e===t||(null==e||null==t||!A(e)&&!S(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var a=R(e),s=R(t),l=z,u=z,s=(a||(l=(l=B(e))==P?T:l),s||(u=(u=B(t))==P?T:u),l==T&&!se(e)),c=u==T&&!se(t),u=l==u;if(u&&!s)return o=o||new D,(a||Ue(e)?Ie:function(e,t,n,r,i,o){switch(l){case L:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case K:return!(e.byteLength!=t.byteLength||!n(new ye(e),new ye(t)));case F:case V:case U:return Ne(+e,+t);case H:return e.name==t.name&&e.message==t.message;case Q:case W:return e==t+"";case k:var a=le;case I:a=a||ue;if(e.size!=t.size&&!(i&M))return!1;var s=o.get(e);if(s)return s==t;i|=E,o.set(e,t);s=Ie(a(e),a(t),n,r,i,o);return o.delete(e),s;case q:if(Se)return Se.call(e)==Se.call(t)}return!1})(e,t,n,r,i,o);if(!(i&M)){a=s&&j.call(e,"__wrapped__"),s=c&&j.call(t,"__wrapped__");if(a||s)return n(a?e.value():e,s?t.value():t,r,i,o=o||new D)}if(u){o=o||new D;var f=e,h=t,d=n,p=r,y=i,m=o,g=y&M,v=Qe(f),b=v.length;if(b!=Qe(h).length&&!g)return!1;for(var _=b;_--;){var x=v[_];if(!(g?x in h:j.call(h,x)))return!1}c=m.get(f);if(c&&m.get(h))return c==h;var w=!0;m.set(f,h),m.set(h,f);for(var A=g;++_<b;){var S,C=f[x=v[_]],O=h[x];if(!(void 0===(S=p?g?p(O,C,x,h,f,m):p(C,O,x,f,h,m):S)?C===O||d(C,O,p,y,m):S)){w=!1;break}A=A||"constructor"==x}return w&&!A&&(c=f.constructor)!=(a=h.constructor)&&"constructor"in f&&"constructor"in h&&!("function"==typeof c&&c instanceof c&&"function"==typeof a&&a instanceof a)&&(w=!1),m.delete(f),m.delete(h),w}return!1}(e,t,Me,n,r,i))}function Pe(e){return"function"==typeof e?e:null==e?We:"object"==s(e)?R(e)?(i=e[0],o=e[1],_(i)&&je(o)?De(x(i),o):function(e){var t=void 0===(t=null==e?void 0:Oe(e,i))?void 0:t;return void 0===t&&t===o?null!=e&&function(e,t,n){for(var r,i=-1,o=(t=_(t,e)?[t]:ke(t)).length;++i<o;){var a=x(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||!!(o=e?e.length:0)&&He(o)&&Le(a,o)&&(R(e)||ze(e))}(e,i,Ee):Me(o,t,void 0,E|M)}):1==(r=function(e){for(var t=Qe(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,je(i)]}return t}(n=e)).length&&r[0][2]?De(r[0][0],r[0][1]):function(c){return c===n||function(e,t,n){var r=t.length,i=r;if(null==c)return!i;for(e=Object(c);r--;){var o=t[r];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++r<i;){var a=(o=t[r])[0],s=e[a],l=o[1];if(o[2]){if(void 0===s&&!(a in e))return!1}else{var u,a=new D;if(!(void 0===u?Me(l,s,n,E|M,a):u))return!1}}return!0}(0,r)}:_(e=e)?(a=x(e),function(e){return null==e?void 0:e[a]}):(t=e,function(e){return Oe(e,t)});var t,n,r,i,o,a}function ke(e){return R(e)?e:Be(e)}d.prototype.clear=function(){this.__data__=h?h(null):{}},d.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},d.prototype.get=function(e){var t,n=this.__data__;return h?(t=n[e])===C?void 0:t:j.call(n,e)?n[e]:void 0},d.prototype.has=function(e){var t=this.__data__;return h?void 0!==t[e]:j.call(t,e)},d.prototype.set=function(e,t){return this.__data__[e]=h&&void 0===t?C:t,this},p.prototype.clear=function(){this.__data__=[]},p.prototype.delete=function(e){var t=this.__data__,e=g(t,e);return!(e<0||(e==t.length-1?t.pop():ge.call(t,e,1),0))},p.prototype.get=function(e){var t=this.__data__,e=g(t,e);return e<0?void 0:t[e][1]},p.prototype.has=function(e){return-1<g(this.__data__,e)},p.prototype.set=function(e,t){var n=this.__data__,r=g(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},y.prototype.clear=function(){this.__data__={hash:new d,map:new(c||p),string:new d}},y.prototype.delete=function(e){return v(this,e).delete(e)},y.prototype.get=function(e){return v(this,e).get(e)},y.prototype.has=function(e){return v(this,e).has(e)},y.prototype.set=function(e,t){return v(this,e).set(e,t),this},m.prototype.add=m.prototype.push=function(e){return this.__data__.set(e,C),this},m.prototype.has=function(e){return this.__data__.has(e)},D.prototype.clear=function(){this.__data__=new p},D.prototype.delete=function(e){return this.__data__.delete(e)},D.prototype.get=function(e){return this.__data__.get(e)},D.prototype.has=function(e){return this.__data__.has(e)},D.prototype.set=function(e,t){var n=this.__data__;if(n instanceof p){var r=n.__data__;if(!c||r.length<199)return r.push([e,t]),this;n=this.__data__=new y(r)}return n.set(e,t),this};var Te=f&&1/ue(new f([,-0]))[1]==O?function(e){return new f(e)}:function(){};function Ie(e,t,n,r,i,o){var a=i&M,s=e.length,l=t.length;if(s!=l&&!(a&&s<l))return!1;l=o.get(e);if(l&&o.get(t))return l==t;var u=-1,c=!0,f=i&E?new m:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var h,d=e[u],p=t[u];if(void 0!==(h=r?a?r(p,d,u,t,e,o):r(d,p,u,e,t,o):h)){if(h)continue;c=!1;break}if(f){if(!function(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return 1}(t,function(e,t){return!f.has(t)&&(d===e||n(d,e,r,i,o))&&f.add(t)})){c=!1;break}}else if(d!==p&&!n(d,p,r,i,o)){c=!1;break}}return o.delete(e),o.delete(t),c}function v(e,t){var n,r,e=e.__data__;return("string"==(r=s(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?e["string"==typeof t?"string":"hash"]:e.map}function b(e,t){e=null==e?void 0:e[t];return!A(t=e)||he&&he in t||!(Ve(t)||se(t)?pe:te).test(w(t))?void 0:e}var B=function(e){return u.call(e)};function Le(e,t){return!!(t=null==t?N:t)&&("number"==typeof e||ne.test(e))&&-1<e&&e%1==0&&e<t}function _(e,t){var n;if(!R(e))return"number"==(n=s(e))||"symbol"==n||"boolean"==n||null==e||Ye(e)||J.test(e)||!X.test(e)||null!=t&&e in Object(t)}function je(e){return e==e&&!A(e)}function De(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}(o&&B(new o(new ArrayBuffer(1)))!=L||c&&B(new c)!=k||n&&"[object Promise]"!=B(n.resolve())||f&&B(new f)!=I||i&&"[object WeakMap]"!=B(new i))&&(B=function(e){var t=u.call(e),e=t==T?e.constructor:void 0,e=e?w(e):void 0;if(e)switch(e){case be:return L;case _e:return k;case xe:return"[object Promise]";case we:return I;case Ae:return"[object WeakMap]"}return t});var Be=Re(function(e){e=null==e?"":"string"==typeof(t=e)?t:Ye(t)?Ce?Ce.call(t):"":"0"==(n=t+"")&&1/t==-O?"-0":n;var t,n,i=[];return $.test(e)&&i.push(""),e.replace(Z,function(e,t,n,r){i.push(n?r.replace(ee,"$1"):t||e)}),i});function x(e){var t;return"string"==typeof e||Ye(e)?e:"0"==(t=e+"")&&1/e==-O?"-0":t}function w(e){if(null!=e){try{return de.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Re(r,i){if("function"!=typeof r||i&&"function"!=typeof i)throw new TypeError("Expected a function");function o(){var e=arguments,t=i?i.apply(this,e):e[0],n=o.cache;return n.has(t)?n.get(t):(e=r.apply(this,e),o.cache=n.set(t,e),e)}return o.cache=new(Re.Cache||y),o}function Ne(e,t){return e===t||e!=e&&t!=t}function ze(e){return S(t=e)&&Fe(t)&&j.call(e,"callee")&&(!me.call(e,"callee")||u.call(e)==P);var t}Re.Cache=y;var R=Array.isArray;function Fe(e){return null!=e&&He(e.length)&&!Ve(e)}function Ve(e){e=A(e)?u.call(e):"";return e==Y||e==G}function He(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=N}function A(e){var t=s(e);return e&&("object"==t||"function"==t)}function S(e){return!!e&&"object"==s(e)}function Ye(e){return"symbol"==s(e)||S(e)&&u.call(e)==q}var Ge,Ue=t?(Ge=t,function(e){return Ge(e)}):function(e){return S(e)&&He(e.length)&&!!r[u.call(e)]};function Qe(e){return(Fe(e)?function(e,t){var n,r=R(e)||ze(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=r.length,o=!!i;for(n in e)!t&&!j.call(e,n)||o&&("length"==n||Le(n,i))||r.push(n);return r}:function(e){if(e!==("function"==typeof(t=e&&e.constructor)&&t.prototype||a))return ve(e);var t,n,r=[];for(n in Object(e))j.call(e,n)&&"constructor"!=n&&r.push(n);return r})(e)}function We(e){return e}e.exports=function(e,t){if(e&&e.length){var n=e,r=Pe(t),i=-1,o=ie,a=n.length,s=!0,l=[],u=l;if(200<=a){e=r?null:Te(n);if(e)return ue(e);s=!1,o=ae,u=new m}else u=r?[]:l;e:for(;++i<a;){var c=n[i],f=r?r(c):c,c=0!==c?c:0;if(s&&f==f){for(var h=u.length;h--;)if(u[h]===f)continue e;r&&u.push(f),l.push(c)}else o(u,f,void 0)||(u!==l&&u.push(f),l.push(c))}return l}return[]}},80442:function(e,t,n){n=n(91203).Symbol;e.exports=n},15244:function(e,t,n){var r=n(80442),i=n(64384),o=n(49671),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(a&&a in Object(e)?i:o)(e)}},14323:function(e,t,n){var r=n(15244),i=n(80501),o=n(88223),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},19679:function(e){e.exports=function(t){return function(e){return t(e)}}},59747:function(e,t,n){function r(e){return(r="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})(e)}n="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g;e.exports=n},72264:function(e,t,n){n=n(71182)(Object.getPrototypeOf,Object);e.exports=n},64384:function(e,t,n){var n=n(80442),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{var r=!(e[s]=void 0)}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},35684:function(e,t,n){function r(e){return(r="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})(e)}e=n.nmd(e);var n=n(59747),t="object"==r(t)&&t&&!t.nodeType&&t,i=t&&"object"==r(e)&&e&&!e.nodeType&&e,o=i&&i.exports===t&&n.process,t=function(){try{return i&&i.require&&i.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=t},49671:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},71182:function(e){e.exports=function(t,n){return function(e){return t(n(e))}}},91203:function(e,t,n){function r(e){return(r="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})(e)}var n=n(59747),i="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,n=n||i||Function("return this")();e.exports=n},43936:function(e){var t=Array.isArray;e.exports=t},80501:function(e){e.exports=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},39505:function(e,t,n){var r=n(15244),i=n(88223);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},88223:function(e){function t(e){return(t="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})(e)}e.exports=function(e){return null!=e&&"object"==t(e)}},4361:function(e,t,n){var r=n(15244),i=n(72264),o=n(88223),n=Function.prototype,a=Object.prototype,s=n.toString,l=a.hasOwnProperty,u=s.call(Object);e.exports=function(e){return!(!o(e)||"[object Object]"!=r(e))&&(null===(e=i(e))||"function"==typeof(e=l.call(e,"constructor")&&e.constructor)&&e instanceof e&&s.call(e)==u)}},34587:function(e,t,n){var r=n(14323),i=n(19679),n=n(35684),n=n&&n.isTypedArray,i=n?i(n):r;e.exports=i},49860:function(e,t,n){"use strict";var a=n(88370);e.exports=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!a.isAnyArray(e))throw new TypeError("input must be an array");if(0===e.length)throw new TypeError("input must not be empty");var n=t.fromIndex,n=void 0===n?0:n,t=t.toIndex,r=void 0===t?e.length:t;if(n<0||n>=e.length||!Number.isInteger(n))throw new Error("fromIndex must be a positive integer smaller than length");if(r<=n||r>e.length||!Number.isInteger(r))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var i=e[n],o=n+1;o<r;o++)e[o]>i&&(i=e[o]);return i}},10617:function(e,t,n){"use strict";var a=n(88370);e.exports=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!a.isAnyArray(e))throw new TypeError("input must be an array");if(0===e.length)throw new TypeError("input must not be empty");var n=t.fromIndex,n=void 0===n?0:n,t=t.toIndex,r=void 0===t?e.length:t;if(n<0||n>=e.length||!Number.isInteger(n))throw new Error("fromIndex must be a positive integer smaller than length");if(r<=n||r>e.length||!Number.isInteger(r))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var i=e[n],o=n+1;o<r;o++)e[o]<i&&(i=e[o]);return i}},94202:function(e,t,n){"use strict";function r(e){return(r="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})(e)}var u=n(88370),i=n(49860),n=n(10617);function o(e){return e&&"object"===r(e)&&"default"in e?e:{default:e}}var c=o(i),f=o(n);e.exports=function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!u.isAnyArray(e))throw new TypeError("input must be an array");if(0===e.length)throw new TypeError("input must not be empty");if(void 0!==n.output){if(!u.isAnyArray(n.output))throw new TypeError("output option must be an array if specified");t=n.output}else t=new Array(e.length);var r=f.default(e),i=c.default(e);if(r===i)throw new RangeError("minimum and maximum input values are equal. Cannot rescale a constant array");var o=n.min,a=void 0===o?n.autoMinMax?r:0:o,o=n.max,n=void 0===o?n.autoMinMax?i:1:o;if(n<=a)throw new RangeError("min option must be smaller than max option");for(var s=(n-a)/(i-r),l=0;l<e.length;l++)t[l]=(e[l]-r)*s+a;return t}},92686:function(k,e,t){"use strict";function n(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}function T(e,t){return(T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function r(n){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t=L(n);return I(this,r?(e=L(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))}}function I(e,t){if(t&&("object"===N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");t=e;if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&j(e.prototype,t),n&&j(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function N(e){return(N="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})(e)}Object.defineProperty(e,"__esModule",{value:!0});var z=t(88370),D=(t=t(94202))&&"object"===N(t)&&"default"in t?t:{default:t},o=" ".repeat(2),B=" ".repeat(4);function R(e,t){var t=1<arguments.length&&void 0!==t?t:{},n=t.maxRows,n=void 0===n?15:n,r=t.maxColumns,r=void 0===r?10:r,i=t.maxNumSize,i=void 0===i?8:i,t=t.padMinus,t=void 0===t?"auto":t;return"".concat(e.constructor.name," {\n").concat(o,"[\n").concat(B).concat(function(e,t,n,r,i){var o=e.rows,a=e.columns,s=Math.min(o,t),l=Math.min(a,n),u=[];if("auto"===i){i=!1;e:for(var c=0;c<s;c++)for(var f=0;f<l;f++)if(e.get(c,f)<0){i=!0;break e}}for(var h,d,p,y=0;y<s;y++){for(var m=[],g=0;g<l;g++)m.push((h=e.get(y,g),d=r,p=i,(0<=h&&p?" ".concat(F(h,d-1)):F(h,d)).padEnd(d)));u.push("".concat(m.join(" ")))}return l!==a&&(u[u.length-1]+=" ... ".concat(a-n," more columns")),s!==o&&u.push("... ".concat(o-t," more rows")),u.join("\n".concat(B))}(e,n,r,i,t),"\n").concat(o,"]\n").concat(o,"rows: ").concat(e.rows,"\n").concat(o,"columns: ").concat(e.columns,"\n}")}function F(e,t){var n=e.toString();return n.length<=t||(n=(n=e.toFixed(t)).length>t?e.toFixed(Math.max(0,t-(n.length-t))):n).length<=t&&!n.startsWith("0.000")&&!n.startsWith("-0.000")?n:(n=(n=e.toExponential(t)).length>t?e.toExponential(Math.max(0,t-(n.length-t))):n).slice(0)}function a(e,t,n){n=n?e.rows:e.rows-1;if(t<0||n<t)throw new RangeError("Row index out of range")}function s(e,t,n){n=n?e.columns:e.columns-1;if(t<0||n<t)throw new RangeError("Column index out of range")}function l(e,t){if((t=t.to1DArray?t.to1DArray():t).length!==e.columns)throw new RangeError("vector size must be the same as the number of columns");return t}function u(e,t){if((t=t.to1DArray?t.to1DArray():t).length!==e.rows)throw new RangeError("vector size must be the same as the number of rows");return t}function V(e,t){if(!z.isAnyArray(t))throw new TypeError("row indices must be an array");for(var n=0;n<t.length;n++)if(t[n]<0||t[n]>=e.rows)throw new RangeError("row indices are out of range")}function H(e,t){if(!z.isAnyArray(t))throw new TypeError("column indices must be an array");for(var n=0;n<t.length;n++)if(t[n]<0||t[n]>=e.columns)throw new RangeError("column indices are out of range")}function Y(e,t,n,r,i){if(5!==arguments.length)throw new RangeError("expected 4 arguments");if(c("startRow",t),c("endRow",n),c("startColumn",r),c("endColumn",i),n<t||i<r||t<0||t>=e.rows||n<0||n>=e.rows||r<0||r>=e.columns||i<0||i>=e.columns)throw new RangeError("Submatrix indices are out of range")}function d(e,t){for(var n=1<arguments.length&&void 0!==t?t:0,r=[],i=0;i<e;i++)r.push(n);return r}function c(e,t){if("number"!=typeof t)throw new TypeError("".concat(e," must be a number"))}function f(e){if(e.isEmpty())throw new Error("Empty matrix has no elements to index")}i(b,[{key:"size",get:function(){return this.rows*this.columns}},{key:"apply",value:function(e){if("function"!=typeof e)throw new TypeError("callback must be a function");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)e.call(this,t,n);return this}},{key:"to1DArray",value:function(){for(var e=[],t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)e.push(this.get(t,n));return e}},{key:"to2DArray",value:function(){for(var e=[],t=0;t<this.rows;t++){e.push([]);for(var n=0;n<this.columns;n++)e[t].push(this.get(t,n))}return e}},{key:"toJSON",value:function(){return this.to2DArray()}},{key:"isRowVector",value:function(){return 1===this.rows}},{key:"isColumnVector",value:function(){return 1===this.columns}},{key:"isVector",value:function(){return 1===this.rows||1===this.columns}},{key:"isSquare",value:function(){return this.rows===this.columns}},{key:"isEmpty",value:function(){return 0===this.rows||0===this.columns}},{key:"isSymmetric",value:function(){if(this.isSquare()){for(var e=0;e<this.rows;e++)for(var t=0;t<=e;t++)if(this.get(e,t)!==this.get(t,e))return!1;return!0}return!1}},{key:"isEchelonForm",value:function(){for(var e=0,t=0,n=-1,r=!0,i=!1;e<this.rows&&r;){for(t=0,i=!1;t<this.columns&&!1===i;)0===this.get(e,t)?t++:1===this.get(e,t)&&n<t?(i=!0,n=t):i=!(r=!1);e++}return r}},{key:"isReducedEchelonForm",value:function(){for(var e=0,t=0,n=-1,r=!0,i=!1;e<this.rows&&r;){for(t=0,i=!1;t<this.columns&&!1===i;)0===this.get(e,t)?t++:1===this.get(e,t)&&n<t?(i=!0,n=t):i=!(r=!1);for(var o=t+1;o<this.rows;o++)0!==this.get(e,o)&&(r=!1);e++}return r}},{key:"echelonForm",value:function(){for(var e=this.clone(),t=0,n=0;t<e.rows&&n<e.columns;){for(var r=t,i=t;i<e.rows;i++)e.get(i,n)>e.get(r,n)&&(r=i);if(0!==e.get(r,n)){e.swapRows(t,r);for(var o=e.get(t,n),a=n;a<e.columns;a++)e.set(t,a,e.get(t,a)/o);for(var s=t+1;s<e.rows;s++){var l=e.get(s,n)/e.get(t,n);e.set(s,n,0);for(var u=n+1;u<e.columns;u++)e.set(s,u,e.get(s,u)-e.get(t,u)*l)}t++}n++}return e}},{key:"reducedEchelonForm",value:function(){for(var e=this.echelonForm(),t=e.columns,n=e.rows,r=n-1;0<=r;){if(0!==e.maxRow(r)){for(var i=0,o=!1;i<n&&!1===o;)1===e.get(r,i)?o=!0:i++;for(var a=0;a<r;a++)for(var s=e.get(a,i),l=i;l<t;l++){var u=e.get(a,l)-s*e.get(r,l);e.set(a,l,u)}}r--}return e}},{key:"set",value:function(){throw new Error("set method is unimplemented")}},{key:"get",value:function(){throw new Error("get method is unimplemented")}},{key:"repeat",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if("object"!==N(e))throw new TypeError("options must be an object");var t=e.rows,n=void 0===t?1:t,t=e.columns,r=void 0===t?1:t;if(!Number.isInteger(n)||n<=0)throw new TypeError("rows must be a positive integer");if(!Number.isInteger(r)||r<=0)throw new TypeError("columns must be a positive integer");for(var i=new ze(this.rows*n,this.columns*r),o=0;o<n;o++)for(var a=0;a<r;a++)i.setSubMatrix(this,this.rows*o,this.columns*a);return i}},{key:"fill",value:function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,e);return this}},{key:"neg",value:function(){return this.mulS(-1)}},{key:"getRow",value:function(e){a(this,e);for(var t=[],n=0;n<this.columns;n++)t.push(this.get(e,n));return t}},{key:"getRowVector",value:function(e){return ze.rowVector(this.getRow(e))}},{key:"setRow",value:function(e,t){a(this,e),t=l(this,t);for(var n=0;n<this.columns;n++)this.set(e,n,t[n]);return this}},{key:"swapRows",value:function(e,t){a(this,e),a(this,t);for(var n=0;n<this.columns;n++){var r=this.get(e,n);this.set(e,n,this.get(t,n)),this.set(t,n,r)}return this}},{key:"getColumn",value:function(e){s(this,e);for(var t=[],n=0;n<this.rows;n++)t.push(this.get(n,e));return t}},{key:"getColumnVector",value:function(e){return ze.columnVector(this.getColumn(e))}},{key:"setColumn",value:function(e,t){s(this,e),t=u(this,t);for(var n=0;n<this.rows;n++)this.set(n,e,t[n]);return this}},{key:"swapColumns",value:function(e,t){s(this,e),s(this,t);for(var n=0;n<this.rows;n++){var r=this.get(n,e);this.set(n,e,this.get(n,t)),this.set(n,t,r)}return this}},{key:"addRowVector",value:function(e){e=l(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e[n]);return this}},{key:"subRowVector",value:function(e){e=l(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e[n]);return this}},{key:"mulRowVector",value:function(e){e=l(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e[n]);return this}},{key:"divRowVector",value:function(e){e=l(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e[n]);return this}},{key:"addColumnVector",value:function(e){e=u(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e[t]);return this}},{key:"subColumnVector",value:function(e){e=u(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e[t]);return this}},{key:"mulColumnVector",value:function(e){e=u(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e[t]);return this}},{key:"divColumnVector",value:function(e){e=u(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e[t]);return this}},{key:"mulRow",value:function(e,t){a(this,e);for(var n=0;n<this.columns;n++)this.set(e,n,this.get(e,n)*t);return this}},{key:"mulColumn",value:function(e,t){s(this,e);for(var n=0;n<this.rows;n++)this.set(n,e,this.get(n,e)*t);return this}},{key:"max",value:function(e){if(this.isEmpty())return NaN;switch(e){case"row":for(var t=new Array(this.rows).fill(Number.NEGATIVE_INFINITY),n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.get(n,r)>t[n]&&(t[n]=this.get(n,r));return t;case"column":for(var i=new Array(this.columns).fill(Number.NEGATIVE_INFINITY),o=0;o<this.rows;o++)for(var a=0;a<this.columns;a++)this.get(o,a)>i[a]&&(i[a]=this.get(o,a));return i;case void 0:for(var s=this.get(0,0),l=0;l<this.rows;l++)for(var u=0;u<this.columns;u++)this.get(l,u)>s&&(s=this.get(l,u));return s;default:throw new Error("invalid option: ".concat(e))}}},{key:"maxIndex",value:function(){f(this);for(var e=this.get(0,0),t=[0,0],n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.get(n,r)>e&&(e=this.get(n,r),t[0]=n,t[1]=r);return t}},{key:"min",value:function(e){if(this.isEmpty())return NaN;switch(e){case"row":for(var t=new Array(this.rows).fill(Number.POSITIVE_INFINITY),n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.get(n,r)<t[n]&&(t[n]=this.get(n,r));return t;case"column":for(var i=new Array(this.columns).fill(Number.POSITIVE_INFINITY),o=0;o<this.rows;o++)for(var a=0;a<this.columns;a++)this.get(o,a)<i[a]&&(i[a]=this.get(o,a));return i;case void 0:for(var s=this.get(0,0),l=0;l<this.rows;l++)for(var u=0;u<this.columns;u++)this.get(l,u)<s&&(s=this.get(l,u));return s;default:throw new Error("invalid option: ".concat(e))}}},{key:"minIndex",value:function(){f(this);for(var e=this.get(0,0),t=[0,0],n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.get(n,r)<e&&(e=this.get(n,r),t[0]=n,t[1]=r);return t}},{key:"maxRow",value:function(e){if(a(this,e),this.isEmpty())return NaN;for(var t=this.get(e,0),n=1;n<this.columns;n++)this.get(e,n)>t&&(t=this.get(e,n));return t}},{key:"maxRowIndex",value:function(e){a(this,e),f(this);for(var t=this.get(e,0),n=[e,0],r=1;r<this.columns;r++)this.get(e,r)>t&&(t=this.get(e,r),n[1]=r);return n}},{key:"minRow",value:function(e){if(a(this,e),this.isEmpty())return NaN;for(var t=this.get(e,0),n=1;n<this.columns;n++)this.get(e,n)<t&&(t=this.get(e,n));return t}},{key:"minRowIndex",value:function(e){a(this,e),f(this);for(var t=this.get(e,0),n=[e,0],r=1;r<this.columns;r++)this.get(e,r)<t&&(t=this.get(e,r),n[1]=r);return n}},{key:"maxColumn",value:function(e){if(s(this,e),this.isEmpty())return NaN;for(var t=this.get(0,e),n=1;n<this.rows;n++)this.get(n,e)>t&&(t=this.get(n,e));return t}},{key:"maxColumnIndex",value:function(e){s(this,e),f(this);for(var t=this.get(0,e),n=[0,e],r=1;r<this.rows;r++)this.get(r,e)>t&&(t=this.get(r,e),n[0]=r);return n}},{key:"minColumn",value:function(e){if(s(this,e),this.isEmpty())return NaN;for(var t=this.get(0,e),n=1;n<this.rows;n++)this.get(n,e)<t&&(t=this.get(n,e));return t}},{key:"minColumnIndex",value:function(e){s(this,e),f(this);for(var t=this.get(0,e),n=[0,e],r=1;r<this.rows;r++)this.get(r,e)<t&&(t=this.get(r,e),n[0]=r);return n}},{key:"diag",value:function(){for(var e=Math.min(this.rows,this.columns),t=[],n=0;n<e;n++)t.push(this.get(n,n));return t}},{key:"norm",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"frobenius",t=0;if("max"===e)return this.max();if("frobenius"!==e)throw new RangeError("unknown norm type: ".concat(e));for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)t+=this.get(n,r)*this.get(n,r);return Math.sqrt(t)}},{key:"cumulativeSum",value:function(){for(var e=0,t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)e+=this.get(t,n),this.set(t,n,e);return this}},{key:"dot",value:function(e){b.isMatrix(e)&&(e=e.to1DArray());var t=this.to1DArray();if(t.length!==e.length)throw new RangeError("vectors do not have the same size");for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}},{key:"mmul",value:function(e){e=ze.checkMatrix(e);for(var t=this.rows,n=this.columns,r=e.columns,i=new ze(t,r),o=new Float64Array(n),a=0;a<r;a++){for(var s=0;s<n;s++)o[s]=e.get(s,a);for(var l=0;l<t;l++){for(var u=0,c=0;c<n;c++)u+=this.get(l,c)*o[c];i.set(l,a,u)}}return i}},{key:"strassen2x2",value:function(e){e=ze.checkMatrix(e);var t=new ze(2,2),n=this.get(0,0),r=e.get(0,0),i=this.get(0,1),o=e.get(0,1),a=this.get(1,0),s=e.get(1,0),l=this.get(1,1),e=e.get(1,1),u=(n+l)*(r+e),c=(a+l)*r,f=n*(o-e),h=l*(s-r),d=(n+i)*e,p=f+d,y=c+h,c=u-c+f+(a-n)*(r+o);return t.set(0,0,u+h-d+(i-l)*(s+e)),t.set(0,1,p),t.set(1,0,y),t.set(1,1,c),t}},{key:"strassen3x3",value:function(e){e=ze.checkMatrix(e);var t=new ze(3,3),n=this.get(0,0),r=this.get(0,1),i=this.get(0,2),o=this.get(1,0),a=this.get(1,1),s=this.get(1,2),l=this.get(2,0),u=this.get(2,1),c=this.get(2,2),f=e.get(0,0),h=e.get(0,1),d=e.get(0,2),p=e.get(1,0),y=e.get(1,1),m=e.get(1,2),g=e.get(2,0),v=e.get(2,1),e=e.get(2,2),b=(n-o)*(-h+y),_=(-n+o+a)*(f-h+y),x=(o+a)*(-f+h),w=n*f,A=(-n+l+u)*(f-d+m),S=(-n+l)*(d-m),C=(l+u)*(-f+d),O=(-i+u+c)*(y+g-v),E=(i-c)*(y-v),M=i*g,P=(u+c)*(-g+v),k=(-i+a+s)*(m+g-e),T=(i-s)*(m-e),I=(a+s)*(-g+e),L=(n+r+i-o-a-u-c)*y+_+x+w+O+M+P,n=w+A+C+(n+r+i-a-s-l-u)*m+M+k+I,i=b+a*(-f+h+p-y-m-g+e)+_+w+M+k+T,a=b+_+x+w+s*v,b=M+k+T+I+o*d,_=w+A+S+u*(-f+d+p-y-m-g+v)+O+E+M,x=O+E+M+P+l*h,s=w+A+S+C+c*e;return t.set(0,0,w+M+r*p),t.set(0,1,L),t.set(0,2,n),t.set(1,0,i),t.set(1,1,a),t.set(1,2,b),t.set(2,0,_),t.set(2,1,x),t.set(2,2,s),t}},{key:"mmulStrassen",value:function(e){e=ze.checkMatrix(e);var t=this.clone(),n=t.rows,r=t.columns,i=e.rows,o=e.columns;function v(e,t,n){var r=e.rows,i=e.columns;return r===t&&i===n?e:b.zeros(t,n).setSubMatrix(e,0,0)}r!==i&&console.warn("Multiplying ".concat(n," x ").concat(r," and ").concat(i," x ").concat(o," matrix: dimensions do not match."));n=Math.max(n,i),i=Math.max(r,o);return function e(t,n,r,i){if(r<=512||i<=512)return t.mmul(n);r%2==1&&i%2==1?(t=v(t,r+1,i+1),n=v(n,r+1,i+1)):r%2==1?(t=v(t,r+1,i),n=v(n,r+1,i)):i%2==1&&(t=v(t,r,i+1),n=v(n,r,i+1));var o=parseInt(t.rows/2,10),a=parseInt(t.columns/2,10),s=t.subMatrix(0,o-1,0,a-1),l=n.subMatrix(0,o-1,0,a-1),u=t.subMatrix(0,o-1,a,t.columns-1),c=n.subMatrix(0,o-1,a,n.columns-1),f=t.subMatrix(o,t.rows-1,0,a-1),h=n.subMatrix(o,n.rows-1,0,a-1),t=t.subMatrix(o,t.rows-1,a,t.columns-1),n=n.subMatrix(o,n.rows-1,a,n.columns-1),d=e(b.add(s,t),b.add(l,n),o,a),p=e(b.add(f,t),l,o,a),y=e(s,b.sub(c,n),o,a),m=e(t,b.sub(h,l),o,a),g=e(b.add(s,u),n,o,a),f=e(b.sub(f,s),b.add(l,c),o,a),s=e(b.sub(u,t),b.add(h,n),o,a),l=b.add(d,m),c=(l.sub(g),l.add(s),b.add(y,g)),u=b.add(p,m),t=b.sub(d,p);return t.add(y),t.add(f),b.zeros(2*l.rows,2*l.columns).setSubMatrix(l,0,0).setSubMatrix(c,l.rows,0).setSubMatrix(u,0,l.columns).setSubMatrix(t,l.rows,l.columns).subMatrix(0,r-1,0,i-1)}(v(t,n,i),e=v(e,n,i),n,i)}},{key:"scaleRows",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if("object"!==N(e))throw new TypeError("options must be an object");var t=e.min,n=void 0===t?0:t,t=e.max,r=void 0===t?1:t;if(!Number.isFinite(n))throw new TypeError("min must be a number");if(!Number.isFinite(r))throw new TypeError("max must be a number");if(r<=n)throw new RangeError("min must be smaller than max");for(var i=new ze(this.rows,this.columns),o=0;o<this.rows;o++){var a=this.getRow(o);0<a.length&&D.default(a,{min:n,max:r,output:a}),i.setRow(o,a)}return i}},{key:"scaleColumns",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if("object"!==N(e))throw new TypeError("options must be an object");var t=e.min,n=void 0===t?0:t,t=e.max,r=void 0===t?1:t;if(!Number.isFinite(n))throw new TypeError("min must be a number");if(!Number.isFinite(r))throw new TypeError("max must be a number");if(r<=n)throw new RangeError("min must be smaller than max");for(var i=new ze(this.rows,this.columns),o=0;o<this.columns;o++){var a=this.getColumn(o);a.length&&D.default(a,{min:n,max:r,output:a}),i.setColumn(o,a)}return i}},{key:"flipRows",value:function(){for(var e=Math.ceil(this.columns/2),t=0;t<this.rows;t++)for(var n=0;n<e;n++){var r=this.get(t,n),i=this.get(t,this.columns-1-n);this.set(t,n,i),this.set(t,this.columns-1-n,r)}return this}},{key:"flipColumns",value:function(){for(var e=Math.ceil(this.rows/2),t=0;t<this.columns;t++)for(var n=0;n<e;n++){var r=this.get(n,t),i=this.get(this.rows-1-n,t);this.set(n,t,i),this.set(this.rows-1-n,t,r)}return this}},{key:"kroneckerProduct",value:function(e){e=ze.checkMatrix(e);for(var t=this.rows,n=this.columns,r=e.rows,i=e.columns,o=new ze(t*r,n*i),a=0;a<t;a++)for(var s=0;s<n;s++)for(var l=0;l<r;l++)for(var u=0;u<i;u++)o.set(r*a+l,i*s+u,this.get(a,s)*e.get(l,u));return o}},{key:"kroneckerSum",value:function(e){var t,n;if(e=ze.checkMatrix(e),this.isSquare()&&e.isSquare())return n=this.rows,t=e.rows,t=this.kroneckerProduct(ze.eye(t,t)),n=ze.eye(n,n).kroneckerProduct(e),t.add(n);throw new Error("Kronecker Sum needs two Square Matrices")}},{key:"transpose",value:function(){for(var e=new ze(this.columns,this.rows),t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)e.set(n,t,this.get(t,n));return e}},{key:"sortRows",value:function(){for(var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:G,t=0;t<this.rows;t++)this.setRow(t,this.getRow(t).sort(e));return this}},{key:"sortColumns",value:function(){for(var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:G,t=0;t<this.columns;t++)this.setColumn(t,this.getColumn(t).sort(e));return this}},{key:"subMatrix",value:function(e,t,n,r){Y(this,e,t,n,r);for(var i=new ze(t-e+1,r-n+1),o=e;o<=t;o++)for(var a=n;a<=r;a++)i.set(o-e,a-n,this.get(o,a));return i}},{key:"subMatrixRow",value:function(e,t,n){if((n=void 0===n?this.columns-1:n)<(t=void 0===t?0:t)||t<0||t>=this.columns||n<0||n>=this.columns)throw new RangeError("Argument out of range");for(var r=new ze(e.length,n-t+1),i=0;i<e.length;i++)for(var o=t;o<=n;o++){if(e[i]<0||e[i]>=this.rows)throw new RangeError("Row index out of range: ".concat(e[i]));r.set(i,o-t,this.get(e[i],o))}return r}},{key:"subMatrixColumn",value:function(e,t,n){if((n=void 0===n?this.rows-1:n)<(t=void 0===t?0:t)||t<0||t>=this.rows||n<0||n>=this.rows)throw new RangeError("Argument out of range");for(var r=new ze(n-t+1,e.length),i=0;i<e.length;i++)for(var o=t;o<=n;o++){if(e[i]<0||e[i]>=this.columns)throw new RangeError("Column index out of range: ".concat(e[i]));r.set(o-t,i,this.get(o,e[i]))}return r}},{key:"setSubMatrix",value:function(e,t,n){if(!(e=ze.checkMatrix(e)).isEmpty()){Y(this,t,t+e.rows-1,n,n+e.columns-1);for(var r=0;r<e.rows;r++)for(var i=0;i<e.columns;i++)this.set(t+r,n+i,e.get(r,i))}return this}},{key:"selection",value:function(e,t){V(this,e),H(this,t);for(var n=new ze(e.length,t.length),r=0;r<e.length;r++)for(var i=e[r],o=0;o<t.length;o++){var a=t[o];n.set(r,o,this.get(i,a))}return n}},{key:"trace",value:function(){for(var e=Math.min(this.rows,this.columns),t=0,n=0;n<e;n++)t+=this.get(n,n);return t}},{key:"clone",value:function(){for(var e=new ze(this.rows,this.columns),t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)e.set(t,n,this.get(t,n));return e}},{key:"sum",value:function(e){switch(e){case"row":for(var t=this,n=d(t.rows),r=0;r<t.rows;++r)for(var i=0;i<t.columns;++i)n[r]+=t.get(r,i);return n;case"column":for(var o=this,a=d(o.columns),s=0;s<o.rows;++s)for(var l=0;l<o.columns;++l)a[l]+=o.get(s,l);return a;case void 0:for(var u=this,c=0,f=0;f<u.rows;f++)for(var h=0;h<u.columns;h++)c+=u.get(f,h);return c;default:throw new Error("invalid option: ".concat(e))}}},{key:"product",value:function(e){switch(e){case"row":for(var t=this,n=d(t.rows,1),r=0;r<t.rows;++r)for(var i=0;i<t.columns;++i)n[r]*=t.get(r,i);return n;case"column":for(var o=this,a=d(o.columns,1),s=0;s<o.rows;++s)for(var l=0;l<o.columns;++l)a[l]*=o.get(s,l);return a;case void 0:for(var u=this,c=1,f=0;f<u.rows;f++)for(var h=0;h<u.columns;h++)c*=u.get(f,h);return c;default:throw new Error("invalid option: ".concat(e))}}},{key:"mean",value:function(e){var t=this.sum(e);switch(e){case"row":for(var n=0;n<this.rows;n++)t[n]/=this.columns;return t;case"column":for(var r=0;r<this.columns;r++)t[r]/=this.rows;return t;case void 0:return t/this.size;default:throw new Error("invalid option: ".concat(e))}}},{key:"variance",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if("object"===N(e)&&(t=e,e=void 0),"object"!==N(t))throw new TypeError("options must be an object");var n=t.unbiased,r=void 0===n||n,n=t.mean,i=void 0===n?this.mean(e):n;if("boolean"!=typeof r)throw new TypeError("unbiased must be a boolean");switch(e){case"row":if(z.isAnyArray(i)){for(var o=this,a=r,s=i,l=o.rows,u=o.columns,c=[],f=0;f<l;f++){for(var h,d=0,p=0,y=0;y<u;y++)d+=h=o.get(f,y)-s[f],p+=h*h;c.push(a?(p-d*d/u)/(u-1):(p-d*d/u)/u)}return c}throw new TypeError("mean must be an array");case"column":if(z.isAnyArray(i)){for(var m=this,g=r,v=i,b=m.rows,D=m.columns,_=[],x=0;x<D;x++){for(var w,A=0,S=0,C=0;C<b;C++)A+=w=m.get(C,x)-v[x],S+=w*w;_.push(g?(S-A*A/b)/(b-1):(S-A*A/b)/b)}return _}throw new TypeError("mean must be an array");case void 0:if("number"!=typeof i)throw new TypeError("mean must be a number");for(var O,E=this,B=r,R=i,M=E.rows,P=E.columns,k=M*P,T=0,I=0,L=0;L<M;L++)for(var j=0;j<P;j++)T+=O=E.get(L,j)-R,I+=O*O;return B?(I-T*T/k)/(k-1):(I-T*T/k)/k;default:throw new Error("invalid option: ".concat(e))}}},{key:"standardDeviation",value:function(e,t){"object"===N(e)&&(t=e,e=void 0);var n=this.variance(e,t);if(void 0===e)return Math.sqrt(n);for(var r=0;r<n.length;r++)n[r]=Math.sqrt(n[r]);return n}},{key:"center",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if("object"===N(e)&&(t=e,e=void 0),"object"!==N(t))throw new TypeError("options must be an object");var t=t.center,n=void 0===t?this.mean(e):t;switch(e){case"row":if(z.isAnyArray(n)){for(var r=this,i=n,o=0;o<r.rows;o++)for(var a=0;a<r.columns;a++)r.set(o,a,r.get(o,a)-i[o]);return this}throw new TypeError("center must be an array");case"column":if(z.isAnyArray(n)){for(var s=this,l=n,u=0;u<s.rows;u++)for(var c=0;c<s.columns;c++)s.set(u,c,s.get(u,c)-l[c]);return this}throw new TypeError("center must be an array");case void 0:if("number"!=typeof n)throw new TypeError("center must be a number");for(var f=this,h=n,d=0;d<f.rows;d++)for(var p=0;p<f.columns;p++)f.set(d,p,f.get(d,p)-h);return this;default:throw new Error("invalid option: ".concat(e))}}},{key:"scale",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if("object"===N(e)&&(t=e,e=void 0),"object"!==N(t))throw new TypeError("options must be an object");var n=t.scale;switch(e){case"row":if(void 0===n)n=function(e){for(var t=[],n=0;n<e.rows;n++){for(var r=0,i=0;i<e.columns;i++)r+=Math.pow(e.get(n,i),2)/(e.columns-1);t.push(Math.sqrt(r))}return t}(this);else if(!z.isAnyArray(n))throw new TypeError("scale must be an array");for(var r=this,i=n,o=0;o<r.rows;o++)for(var a=0;a<r.columns;a++)r.set(o,a,r.get(o,a)/i[o]);return this;case"column":if(void 0===n)n=function(e){for(var t=[],n=0;n<e.columns;n++){for(var r=0,i=0;i<e.rows;i++)r+=Math.pow(e.get(i,n),2)/(e.rows-1);t.push(Math.sqrt(r))}return t}(this);else if(!z.isAnyArray(n))throw new TypeError("scale must be an array");for(var s=this,l=n,u=0;u<s.rows;u++)for(var c=0;c<s.columns;c++)s.set(u,c,s.get(u,c)/l[c]);return this;case void 0:if(void 0===n)n=function(e){for(var t=e.size-1,n=0,r=0;r<e.columns;r++)for(var i=0;i<e.rows;i++)n+=Math.pow(e.get(i,r),2)/t;return Math.sqrt(n)}(this);else if("number"!=typeof n)throw new TypeError("scale must be a number");for(var f=this,h=n,d=0;d<f.rows;d++)for(var p=0;p<f.columns;p++)f.set(d,p,f.get(d,p)/h);return this;default:throw new Error("invalid option: ".concat(e))}}},{key:"toString",value:function(e){return R(this,e)}}],[{key:"from1DArray",value:function(e,t,n){if(e*t!==n.length)throw new RangeError("data length does not match given dimensions");for(var r=new ze(e,t),i=0;i<e;i++)for(var o=0;o<t;o++)r.set(i,o,n[i*t+o]);return r}},{key:"rowVector",value:function(e){for(var t=new ze(1,e.length),n=0;n<e.length;n++)t.set(0,n,e[n]);return t}},{key:"columnVector",value:function(e){for(var t=new ze(e.length,1),n=0;n<e.length;n++)t.set(n,0,e[n]);return t}},{key:"zeros",value:function(e,t){return new ze(e,t)}},{key:"ones",value:function(e,t){return new ze(e,t).fill(1)}},{key:"rand",value:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if("object"!==N(n))throw new TypeError("options must be an object");for(var n=n.random,r=void 0===n?Math.random:n,i=new ze(e,t),o=0;o<e;o++)for(var a=0;a<t;a++)i.set(o,a,r());return i}},{key:"randInt",value:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if("object"!==N(n))throw new TypeError("options must be an object");var r=n.min,i=void 0===r?0:r,r=n.max,r=void 0===r?1e3:r,n=n.random,o=void 0===n?Math.random:n;if(!Number.isInteger(i))throw new TypeError("min must be an integer");if(!Number.isInteger(r))throw new TypeError("max must be an integer");if(r<=i)throw new RangeError("min must be smaller than max");for(var a=r-i,s=new ze(e,t),l=0;l<e;l++)for(var u=0;u<t;u++){var c=i+Math.round(o()*a);s.set(l,u,c)}return s}},{key:"eye",value:function(e,t,n){void 0===t&&(t=e),void 0===n&&(n=1);for(var r=Math.min(e,t),i=this.zeros(e,t),o=0;o<r;o++)i.set(o,o,n);return i}},{key:"diag",value:function(e,t,n){var r=e.length;void 0===t&&(t=r),void 0===n&&(n=t);for(var i=Math.min(r,t,n),o=this.zeros(t,n),a=0;a<i;a++)o.set(a,a,e[a]);return o}},{key:"min",value:function(e,t){e=this.checkMatrix(e),t=this.checkMatrix(t);for(var n=e.rows,r=e.columns,i=new ze(n,r),o=0;o<n;o++)for(var a=0;a<r;a++)i.set(o,a,Math.min(e.get(o,a),t.get(o,a)));return i}},{key:"max",value:function(e,t){e=this.checkMatrix(e),t=this.checkMatrix(t);for(var n=e.rows,r=e.columns,i=new this(n,r),o=0;o<n;o++)for(var a=0;a<r;a++)i.set(o,a,Math.max(e.get(o,a),t.get(o,a)));return i}},{key:"checkMatrix",value:function(e){return b.isMatrix(e)?e:new ze(e)}},{key:"isMatrix",value:function(e){return null!=e&&"Matrix"===e.klass}}]);t=b;function b(){Ne(this,b)}function G(e,t){return e-t}t.prototype.klass="Matrix","undefined"!=typeof Symbol&&(t.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return R(this)}),t.random=t.rand,t.randomInt=t.randInt,t.diagonal=t.diag,t.prototype.diagonal=t.prototype.diag,t.identity=t.eye,t.prototype.negate=t.prototype.neg,t.prototype.tensorProduct=t.prototype.kroneckerProduct;n(p,t),U=r(p),i(p,[{key:"set",value:function(e,t,n){return this.data[e][t]=n,this}},{key:"get",value:function(e,t){return this.data[e][t]}},{key:"removeRow",value:function(e){return a(this,e),this.data.splice(e,1),--this.rows,this}},{key:"addRow",value:function(e,t){return void 0===t&&(t=e,e=this.rows),a(this,e,!0),t=Float64Array.from(l(this,t)),this.data.splice(e,0,t),this.rows+=1,this}},{key:"removeColumn",value:function(e){s(this,e);for(var t=0;t<this.rows;t++){for(var n=new Float64Array(this.columns-1),r=0;r<e;r++)n[r]=this.data[t][r];for(var i=e+1;i<this.columns;i++)n[i-1]=this.data[t][i];this.data[t]=n}return--this.columns,this}},{key:"addColumn",value:function(e,t){void 0===t&&(t=e,e=this.columns),s(this,e,!0),t=u(this,t);for(var n=0;n<this.rows;n++){for(var r=new Float64Array(this.columns+1),i=0;i<e;i++)r[i]=this.data[n][i];for(r[i++]=t[n];i<this.columns+1;i++)r[i]=this.data[n][i-1];this.data[n]=r}return this.columns+=1,this}}]);var U,h,ze=p;function p(e,t){var n;if(Ne(this,p),n=U.call(this),p.isMatrix(e))return I(n,e.clone());if(Number.isInteger(e)&&0<=e){if(n.data=[],!(Number.isInteger(t)&&0<=t))throw new TypeError("nColumns must be a positive integer");for(var r=0;r<e;r++)n.data.push(new Float64Array(t))}else{if(!z.isAnyArray(e))throw new TypeError("First argument must be a positive number or an array");var i=e;if("number"!=typeof(t=(e=i.length)?i[0].length:0))throw new TypeError("Data must be a 2D array with at least one element");n.data=[];for(var o=0;o<e;o++){if(i[o].length!==t)throw new RangeError("Inconsistent array dimensions");if(!i[o].every(function(e){return"number"==typeof e}))throw new TypeError("Input data contains non-numeric values");n.data.push(Float64Array.from(i[o]))}}return n.rows=e,n.columns=t,n}h=ze,(y=t).prototype.add=function(e){return"number"==typeof e?this.addS(e):this.addM(e)},y.prototype.addS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e);return this},y.prototype.addM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e.get(t,n));return this},y.add=function(e,t){return new h(e).add(t)},y.prototype.sub=function(e){return"number"==typeof e?this.subS(e):this.subM(e)},y.prototype.subS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e);return this},y.prototype.subM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e.get(t,n));return this},y.sub=function(e,t){return new h(e).sub(t)},y.prototype.subtract=y.prototype.sub,y.prototype.subtractS=y.prototype.subS,y.prototype.subtractM=y.prototype.subM,y.subtract=y.sub,y.prototype.mul=function(e){return"number"==typeof e?this.mulS(e):this.mulM(e)},y.prototype.mulS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e);return this},y.prototype.mulM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e.get(t,n));return this},y.mul=function(e,t){return new h(e).mul(t)},y.prototype.multiply=y.prototype.mul,y.prototype.multiplyS=y.prototype.mulS,y.prototype.multiplyM=y.prototype.mulM,y.multiply=y.mul,y.prototype.div=function(e){return"number"==typeof e?this.divS(e):this.divM(e)},y.prototype.divS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e);return this},y.prototype.divM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e.get(t,n));return this},y.div=function(e,t){return new h(e).div(t)},y.prototype.divide=y.prototype.div,y.prototype.divideS=y.prototype.divS,y.prototype.divideM=y.prototype.divM,y.divide=y.div,y.prototype.mod=function(e){return"number"==typeof e?this.modS(e):this.modM(e)},y.prototype.modS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)%e);return this},y.prototype.modM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)%e.get(t,n));return this},y.mod=function(e,t){return new h(e).mod(t)},y.prototype.modulus=y.prototype.mod,y.prototype.modulusS=y.prototype.modS,y.prototype.modulusM=y.prototype.modM,y.modulus=y.mod,y.prototype.and=function(e){return"number"==typeof e?this.andS(e):this.andM(e)},y.prototype.andS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)&e);return this},y.prototype.andM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)&e.get(t,n));return this},y.and=function(e,t){return new h(e).and(t)},y.prototype.or=function(e){return"number"==typeof e?this.orS(e):this.orM(e)},y.prototype.orS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)|e);return this},y.prototype.orM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)|e.get(t,n));return this},y.or=function(e,t){return new h(e).or(t)},y.prototype.xor=function(e){return"number"==typeof e?this.xorS(e):this.xorM(e)},y.prototype.xorS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)^e);return this},y.prototype.xorM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)^e.get(t,n));return this},y.xor=function(e,t){return new h(e).xor(t)},y.prototype.leftShift=function(e){return"number"==typeof e?this.leftShiftS(e):this.leftShiftM(e)},y.prototype.leftShiftS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)<<e);return this},y.prototype.leftShiftM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)<<e.get(t,n));return this},y.leftShift=function(e,t){return new h(e).leftShift(t)},y.prototype.signPropagatingRightShift=function(e){return"number"==typeof e?this.signPropagatingRightShiftS(e):this.signPropagatingRightShiftM(e)},y.prototype.signPropagatingRightShiftS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)>>e);return this},y.prototype.signPropagatingRightShiftM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)>>e.get(t,n));return this},y.signPropagatingRightShift=function(e,t){return new h(e).signPropagatingRightShift(t)},y.prototype.rightShift=function(e){return"number"==typeof e?this.rightShiftS(e):this.rightShiftM(e)},y.prototype.rightShiftS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)>>>e);return this},y.prototype.rightShiftM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)>>>e.get(t,n));return this},y.rightShift=function(e,t){return new h(e).rightShift(t)},y.prototype.zeroFillRightShift=y.prototype.rightShift,y.prototype.zeroFillRightShiftS=y.prototype.rightShiftS,y.prototype.zeroFillRightShiftM=y.prototype.rightShiftM,y.zeroFillRightShift=y.rightShift,y.prototype.not=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,~this.get(e,t));return this},y.not=function(e){return new h(e).not()},y.prototype.abs=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.abs(this.get(e,t)));return this},y.abs=function(e){return new h(e).abs()},y.prototype.acos=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.acos(this.get(e,t)));return this},y.acos=function(e){return new h(e).acos()},y.prototype.acosh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.acosh(this.get(e,t)));return this},y.acosh=function(e){return new h(e).acosh()},y.prototype.asin=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.asin(this.get(e,t)));return this},y.asin=function(e){return new h(e).asin()},y.prototype.asinh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.asinh(this.get(e,t)));return this},y.asinh=function(e){return new h(e).asinh()},y.prototype.atan=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.atan(this.get(e,t)));return this},y.atan=function(e){return new h(e).atan()},y.prototype.atanh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.atanh(this.get(e,t)));return this},y.atanh=function(e){return new h(e).atanh()},y.prototype.cbrt=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.cbrt(this.get(e,t)));return this},y.cbrt=function(e){return new h(e).cbrt()},y.prototype.ceil=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.ceil(this.get(e,t)));return this},y.ceil=function(e){return new h(e).ceil()},y.prototype.clz32=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.clz32(this.get(e,t)));return this},y.clz32=function(e){return new h(e).clz32()},y.prototype.cos=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.cos(this.get(e,t)));return this},y.cos=function(e){return new h(e).cos()},y.prototype.cosh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.cosh(this.get(e,t)));return this},y.cosh=function(e){return new h(e).cosh()},y.prototype.exp=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.exp(this.get(e,t)));return this},y.exp=function(e){return new h(e).exp()},y.prototype.expm1=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.expm1(this.get(e,t)));return this},y.expm1=function(e){return new h(e).expm1()},y.prototype.floor=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.floor(this.get(e,t)));return this},y.floor=function(e){return new h(e).floor()},y.prototype.fround=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.fround(this.get(e,t)));return this},y.fround=function(e){return new h(e).fround()},y.prototype.log=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.log(this.get(e,t)));return this},y.log=function(e){return new h(e).log()},y.prototype.log1p=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.log1p(this.get(e,t)));return this},y.log1p=function(e){return new h(e).log1p()},y.prototype.log10=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.log10(this.get(e,t)));return this},y.log10=function(e){return new h(e).log10()},y.prototype.log2=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.log2(this.get(e,t)));return this},y.log2=function(e){return new h(e).log2()},y.prototype.round=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.round(this.get(e,t)));return this},y.round=function(e){return new h(e).round()},y.prototype.sign=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.sign(this.get(e,t)));return this},y.sign=function(e){return new h(e).sign()},y.prototype.sin=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.sin(this.get(e,t)));return this},y.sin=function(e){return new h(e).sin()},y.prototype.sinh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.sinh(this.get(e,t)));return this},y.sinh=function(e){return new h(e).sinh()},y.prototype.sqrt=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.sqrt(this.get(e,t)));return this},y.sqrt=function(e){return new h(e).sqrt()},y.prototype.tan=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.tan(this.get(e,t)));return this},y.tan=function(e){return new h(e).tan()},y.prototype.tanh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.tanh(this.get(e,t)));return this},y.tanh=function(e){return new h(e).tanh()},y.prototype.trunc=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.trunc(this.get(e,t)));return this},y.trunc=function(e){return new h(e).trunc()},y.pow=function(e,t){return new h(e).pow(t)},y.prototype.pow=function(e){return"number"==typeof e?this.powS(e):this.powM(e)},y.prototype.powS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,Math.pow(this.get(t,n),e));return this},y.prototype.powM=function(e){if(e=h.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError("Matrices dimensions must be equal");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,Math.pow(this.get(t,n),e.get(t,n)));return this};n(he,t),re=r(he);var Q,W,q,K,X,J,$,Z,ee,te,ne,re,y=i(he),ie=(n(M,y),ne=r(M),i(M,[{key:"set",value:function(e,t,n){return this.matrix.set(e,this.column,n),this}},{key:"get",value:function(e){return this.matrix.get(e,this.column)}}]),M),oe=(n(E,y),te=r(E),i(E,[{key:"set",value:function(e,t,n){return this.matrix.set(e,this.columnIndices[t],n),this}},{key:"get",value:function(e,t){return this.matrix.get(e,this.columnIndices[t])}}]),E),ae=(n(O,y),ee=r(O),i(O,[{key:"set",value:function(e,t,n){return this.matrix.set(e,this.columns-t-1,n),this}},{key:"get",value:function(e,t){return this.matrix.get(e,this.columns-t-1)}}]),O),se=(n(C,y),Z=r(C),i(C,[{key:"set",value:function(e,t,n){return this.matrix.set(this.rows-e-1,t,n),this}},{key:"get",value:function(e,t){return this.matrix.get(this.rows-e-1,t)}}]),C),le=(n(S,y),$=r(S),i(S,[{key:"set",value:function(e,t,n){return this.matrix.set(this.row,t,n),this}},{key:"get",value:function(e,t){return this.matrix.get(this.row,t)}}]),S),ue=(n(A,y),J=r(A),i(A,[{key:"set",value:function(e,t,n){return this.matrix.set(this.rowIndices[e],t,n),this}},{key:"get",value:function(e,t){return this.matrix.get(this.rowIndices[e],t)}}]),A),m=(n(w,y),X=r(w),i(w,[{key:"set",value:function(e,t,n){return this.matrix.set(this.rowIndices[e],this.columnIndices[t],n),this}},{key:"get",value:function(e,t){return this.matrix.get(this.rowIndices[e],this.columnIndices[t])}}]),w),ce=(n(x,y),K=r(x),i(x,[{key:"set",value:function(e,t,n){return this.matrix.set(this.startRow+e,this.startColumn+t,n),this}},{key:"get",value:function(e,t){return this.matrix.get(this.startRow+e,this.startColumn+t)}}]),x),y=(n(_,y),q=r(_),i(_,[{key:"set",value:function(e,t,n){return this.matrix.set(t,e,n),this}},{key:"get",value:function(e,t){return this.matrix.get(t,e)}}]),_),fe=(n(v,t),W=r(v),i(v,[{key:"set",value:function(e,t,n){e=this._calculateIndex(e,t);return this.data[e]=n,this}},{key:"get",value:function(e,t){e=this._calculateIndex(e,t);return this.data[e]}},{key:"_calculateIndex",value:function(e,t){return e*this.columns+t}}]),v),Fe=(n(g,t),Q=r(g),i(g,[{key:"set",value:function(e,t,n){return this.data[e][t]=n,this}},{key:"get",value:function(e,t){return this.data[e][t]}}]),g);function g(e){var t;return Ne(this,g),(t=Q.call(this)).data=e,t.rows=e.length,t.columns=e[0].length,t}function v(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=(Ne(this,v),n.rows),n=void 0===n?1:n;if(e.length%n!=0)throw new Error("the data length is not divisible by the number of rows");return(t=W.call(this)).rows=n,t.columns=e.length/n,t.data=e,t}function _(e){return Ne(this,_),q.call(this,e,e.columns,e.rows)}function x(e,t,n,r,i){return Ne(this,x),Y(e,t,n,r,i),(e=K.call(this,e,n-t+1,i-r+1)).startRow=t,e.startColumn=r,e}function w(e,t,n){return Ne(this,w),V(e,t),H(e,n),(e=X.call(this,e,t.length,n.length)).rowIndices=t,e.columnIndices=n,e}function A(e,t){return Ne(this,A),V(e,t),(e=J.call(this,e,t.length,e.columns)).rowIndices=t,e}function S(e,t){return Ne(this,S),a(e,t),(e=$.call(this,e,1,e.columns)).row=t,e}function C(e){return Ne(this,C),Z.call(this,e,e.rows,e.columns)}function O(e){return Ne(this,O),ee.call(this,e,e.rows,e.columns)}function E(e,t){return Ne(this,E),H(e,t),(e=te.call(this,e,e.rows,t.length)).columnIndices=t,e}function M(e,t){return Ne(this,M),s(e,t),(e=ne.call(this,e,e.rows,1)).column=t,e}function he(e,t,n){var r;return Ne(this,he),(r=re.call(this)).matrix=e,r.rows=t,r.columns=n,r}i(pe,[{key:"isSingular",value:function(){for(var e=this.LU,t=e.columns,n=0;n<t;n++)if(0===e.get(n,n))return!0;return!1}},{key:"solve",value:function(e){e=ze.checkMatrix(e);var t=this.LU;if(t.rows!==e.rows)throw new Error("Invalid matrix dimensions");if(this.isSingular())throw new Error("LU matrix is singular");for(var n,r,i=e.columns,o=e.subMatrixRow(this.pivotVector,0,i-1),a=t.columns,s=0;s<a;s++)for(n=s+1;n<a;n++)for(r=0;r<i;r++)o.set(n,r,o.get(n,r)-o.get(s,r)*t.get(n,s));for(s=a-1;0<=s;s--){for(r=0;r<i;r++)o.set(s,r,o.get(s,r)/t.get(s,s));for(n=0;n<s;n++)for(r=0;r<i;r++)o.set(n,r,o.get(n,r)-o.get(s,r)*t.get(n,s))}return o}},{key:"determinant",get:function(){var e=this.LU;if(!e.isSquare())throw new Error("Matrix must be square");for(var t=this.pivotSign,n=e.columns,r=0;r<n;r++)t*=e.get(r,r);return t}},{key:"lowerTriangularMatrix",get:function(){for(var e=this.LU,t=e.rows,n=e.columns,r=new ze(t,n),i=0;i<t;i++)for(var o=0;o<n;o++)o<i?r.set(i,o,e.get(i,o)):i===o?r.set(i,o,1):r.set(i,o,0);return r}},{key:"upperTriangularMatrix",get:function(){for(var e=this.LU,t=e.rows,n=e.columns,r=new ze(t,n),i=0;i<t;i++)for(var o=0;o<n;o++)i<=o?r.set(i,o,e.get(i,o)):r.set(i,o,0);return r}},{key:"pivotPermutationVector",get:function(){return Array.from(this.pivotVector)}}]);var de=pe;function pe(e){Ne(this,pe);for(var t,n,r,i,o,a,s,l,u=(e=Fe.checkMatrix(e)).clone(),c=u.rows,f=u.columns,h=new Float64Array(c),d=1,p=0;p<c;p++)h[p]=p;for(s=new Float64Array(c),t=0;t<f;t++){for(p=0;p<c;p++)s[p]=u.get(p,t);for(p=0;p<c;p++){for(l=Math.min(p,t),n=i=0;n<l;n++)i+=u.get(p,n)*s[n];s[p]-=i,u.set(p,t,s[p])}for(p=(r=t)+1;p<c;p++)Math.abs(s[p])>Math.abs(s[r])&&(r=p);if(r!==t){for(n=0;n<f;n++)o=u.get(r,n),u.set(r,n,u.get(t,n)),u.set(t,n,o);a=h[r],h[r]=h[t],h[t]=a,d=-d}if(t<c&&0!==u.get(t,t))for(p=t+1;p<c;p++)u.set(p,t,u.get(p,t)/u.get(t,t))}this.LU=u,this.pivotVector=h,this.pivotSign=d}function Ve(e,t){var n=0;return Math.abs(e)>Math.abs(t)?(n=t/e,Math.abs(e)*Math.sqrt(1+n*n)):0!==t?(n=e/t,Math.abs(t)*Math.sqrt(1+n*n)):0}i(me,[{key:"solve",value:function(e){e=ze.checkMatrix(e);var t=this.QR,n=t.rows;if(e.rows!==n)throw new Error("Matrix row dimensions must agree");if(!this.isFullRank())throw new Error("Matrix is rank deficient");for(var r,i,o,a=e.columns,s=e.clone(),l=t.columns,u=0;u<l;u++)for(i=0;i<a;i++){for(o=0,r=u;r<n;r++)o+=t.get(r,u)*s.get(r,i);for(o=-o/t.get(u,u),r=u;r<n;r++)s.set(r,i,s.get(r,i)+o*t.get(r,u))}for(u=l-1;0<=u;u--){for(i=0;i<a;i++)s.set(u,i,s.get(u,i)/this.Rdiag[u]);for(r=0;r<u;r++)for(i=0;i<a;i++)s.set(r,i,s.get(r,i)-s.get(u,i)*t.get(r,u))}return s.subMatrix(0,l-1,0,a-1)}},{key:"isFullRank",value:function(){for(var e=this.QR.columns,t=0;t<e;t++)if(0===this.Rdiag[t])return!1;return!0}},{key:"upperTriangularMatrix",get:function(){for(var e,t=this.QR,n=t.columns,r=new ze(n,n),i=0;i<n;i++)for(e=0;e<n;e++)i<e?r.set(i,e,t.get(i,e)):i===e?r.set(i,e,this.Rdiag[i]):r.set(i,e,0);return r}},{key:"orthogonalMatrix",get:function(){for(var e,t,n,r=this.QR,i=r.rows,o=r.columns,a=new ze(i,o),s=o-1;0<=s;s--){for(e=0;e<i;e++)a.set(e,s,0);for(a.set(s,s,1),t=s;t<o;t++)if(0!==r.get(s,s)){for(n=0,e=s;e<i;e++)n+=r.get(e,s)*a.get(e,t);for(n=-n/r.get(s,s),e=s;e<i;e++)a.set(e,t,a.get(e,t)+n*r.get(e,s))}}return a}}]);var ye=me,P=(i(He,[{key:"solve",value:function(e){for(var t=this.threshold,n=this.s.length,r=ze.zeros(n,n),i=0;i<n;i++)Math.abs(this.s[i])<=t?r.set(i,i,0):r.set(i,i,1/this.s[i]);for(var o=this.U,a=this.rightSingularVectors,s=a.mmul(r),l=a.rows,u=o.rows,c=ze.zeros(l,u),f=0;f<l;f++)for(var h=0;h<u;h++){for(var d=0,p=0;p<n;p++)d+=s.get(f,p)*o.get(h,p);c.set(f,h,d)}return c.mmul(e)}},{key:"solveForDiagonal",value:function(e){return this.solve(ze.diag(e))}},{key:"inverse",value:function(){for(var e=this.V,t=this.threshold,n=e.rows,r=e.columns,i=new ze(n,this.s.length),o=0;o<n;o++)for(var a=0;a<r;a++)Math.abs(this.s[a])>t&&i.set(o,a,e.get(o,a)/this.s[a]);for(var s=this.U,l=s.rows,u=s.columns,c=new ze(n,l),f=0;f<n;f++)for(var h=0;h<l;h++){for(var d=0,p=0;p<u;p++)d+=i.get(f,p)*s.get(h,p);c.set(f,h,d)}return c}},{key:"condition",get:function(){return this.s[0]/this.s[Math.min(this.m,this.n)-1]}},{key:"norm2",get:function(){return this.s[0]}},{key:"rank",get:function(){for(var e=Math.max(this.m,this.n)*this.s[0]*Number.EPSILON,t=0,n=this.s,r=0,i=n.length;r<i;r++)n[r]>e&&t++;return t}},{key:"diagonal",get:function(){return Array.from(this.s)}},{key:"threshold",get:function(){return Number.EPSILON/2*Math.max(this.m,this.n)*this.s[0]}},{key:"leftSingularVectors",get:function(){return this.U}},{key:"rightSingularVectors",get:function(){return this.V}},{key:"diagonalMatrix",get:function(){return ze.diag(this.s)}}]),He);function He(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(Ne(this,He),(e=Fe.checkMatrix(e)).isEmpty())throw new Error("Matrix must be non-empty");var n,r=e.rows,i=e.columns,B=t.computeLeftSingularVectors,R=t.computeRightSingularVectors,R=void 0===R||R,t=t.autoTranspose,t=void 0!==t&&t,o=Boolean(void 0===B||B),a=Boolean(R),B=!1;r<i?t?(r=(n=e.transpose()).rows,i=n.columns,B=!0,R=o,o=a,a=R):(n=e.clone(),console.warn("Computing SVD on a matrix with more columns than rows. Consider enabling autoTranspose")):n=e.clone();for(var N=Math.min(r,i),z=Math.min(r+1,i),s=new Float64Array(z),l=new ze(r,N),u=new ze(i,i),c=new Float64Array(i),F=new Float64Array(r),V=new Float64Array(z),H=0;H<z;H++)V[H]=H;for(var f=Math.min(r-1,i),h=Math.max(0,Math.min(i-2,r)),Y=Math.max(f,h),d=0;d<Y;d++){if(d<f){s[d]=0;for(var G=d;G<r;G++)s[d]=Ve(s[d],n.get(G,d));if(0!==s[d]){n.get(d,d)<0&&(s[d]=-s[d]);for(var U=d;U<r;U++)n.set(U,d,n.get(U,d)/s[d]);n.set(d,d,n.get(d,d)+1)}s[d]=-s[d]}for(var p=d+1;p<i;p++){if(d<f&&0!==s[d]){for(var Q=0,W=d;W<r;W++)Q+=n.get(W,d)*n.get(W,p);for(var Q=-Q/n.get(d,d),q=d;q<r;q++)n.set(q,p,n.get(q,p)+Q*n.get(q,d))}c[p]=n.get(d,p)}if(o&&d<f)for(var K=d;K<r;K++)l.set(K,d,n.get(K,d));if(d<h){c[d]=0;for(var X=d+1;X<i;X++)c[d]=Ve(c[d],c[X]);if(0!==c[d]){c[d+1]<0&&(c[d]=0-c[d]);for(var J=d+1;J<i;J++)c[J]/=c[d];c[d+1]+=1}if(c[d]=-c[d],d+1<r&&0!==c[d]){for(var $=d+1;$<r;$++)F[$]=0;for(var Z=d+1;Z<r;Z++)for(var ee=d+1;ee<i;ee++)F[Z]+=c[ee]*n.get(Z,ee);for(var te=d+1;te<i;te++)for(var ne=-c[te]/c[d+1],re=d+1;re<r;re++)n.set(re,te,n.get(re,te)+ne*F[re])}if(a)for(var ie=d+1;ie<i;ie++)u.set(ie,d,c[ie])}}var y=Math.min(i,r+1);if(f<i&&(s[f]=n.get(f,f)),r<y&&(s[y-1]=0),h+1<y&&(c[h]=n.get(h,y-1)),c[y-1]=0,o){for(var oe=f;oe<N;oe++){for(var ae=0;ae<r;ae++)l.set(ae,oe,0);l.set(oe,oe,1)}for(var m=f-1;0<=m;m--)if(0!==s[m]){for(var se=m+1;se<N;se++){for(var le=0,ue=m;ue<r;ue++)le+=l.get(ue,m)*l.get(ue,se);for(var le=-le/l.get(m,m),ce=m;ce<r;ce++)l.set(ce,se,l.get(ce,se)+le*l.get(ce,m))}for(var fe=m;fe<r;fe++)l.set(fe,m,-l.get(fe,m));l.set(m,m,1+l.get(m,m));for(var he=0;he<m-1;he++)l.set(he,m,0)}else{for(var de=0;de<r;de++)l.set(de,m,0);l.set(m,m,1)}}if(a)for(var g=i-1;0<=g;g--){if(g<h&&0!==c[g])for(var pe=g+1;pe<i;pe++){for(var ye=0,me=g+1;me<i;me++)ye+=u.get(me,g)*u.get(me,pe);for(var ye=-ye/u.get(g+1,g),ge=g+1;ge<i;ge++)u.set(ge,pe,u.get(ge,pe)+ye*u.get(ge,g))}for(var ve=0;ve<i;ve++)u.set(ve,g,0);u.set(g,g,1)}for(var be=y-1,_e=Number.EPSILON;0<y;){for(var v=void 0,xe=void 0,v=y-2;-1<=v&&-1!==v;v--){var we=Number.MIN_VALUE+_e*Math.abs(s[v]+Math.abs(s[v+1]));if(Math.abs(c[v])<=we||Number.isNaN(c[v])){c[v]=0;break}}if(v===y-2)xe=4;else{for(var b=void 0,b=y-1;v<=b&&b!==v;b--){var Ae=(b!==y?Math.abs(c[b]):0)+(b!==v+1?Math.abs(c[b-1]):0);if(Math.abs(s[b])<=_e*Ae){s[b]=0;break}}b===v?xe=3:b===y-1?xe=1:(xe=2,v=b)}switch(v++,xe){case 1:var Se=c[y-2];c[y-2]=0;for(var _=y-2;v<=_;_--){var Ce=Ve(s[_],Se),Oe=s[_]/Ce,Ee=Se/Ce;if(s[_]=Ce,_!==v&&(Se=-Ee*c[_-1],c[_-1]=Oe*c[_-1]),a)for(var x=0;x<i;x++)Ce=Oe*u.get(x,_)+Ee*u.get(x,y-1),u.set(x,y-1,-Ee*u.get(x,_)+Oe*u.get(x,y-1)),u.set(x,_,Ce)}break;case 2:var Me=c[v-1];c[v-1]=0;for(var w=v;w<y;w++){var Pe=Ve(s[w],Me),ke=s[w]/Pe,Te=Me/Pe;if(s[w]=Pe,Me=-Te*c[w],c[w]=ke*c[w],o)for(var A=0;A<r;A++)Pe=ke*l.get(A,w)+Te*l.get(A,v-1),l.set(A,v-1,-Te*l.get(A,w)+ke*l.get(A,v-1)),l.set(A,w,Pe)}break;case 3:for(var S=Math.max(Math.abs(s[y-1]),Math.abs(s[y-2]),Math.abs(c[y-2]),Math.abs(s[v]),Math.abs(c[v])),C=s[y-1]/S,O=s[y-2]/S,E=c[y-2]/S,Ie=s[v]/S,S=c[v]/S,O=((O+C)*(O-C)+E*E)/2,E=C*E*(C*E),Le=0,M=(Ie+C)*(Ie-C)+(Le=0==O&&0==E?Le:E/(O+(O<0?0-Math.sqrt(O*O+E):Math.sqrt(O*O+E)))),P=Ie*S,k=v;k<y-1;k++){var T=Ve(M,P),I=M/(T=0===T?Number.MIN_VALUE:T),L=P/T;if(k!==v&&(c[k-1]=T),M=I*s[k]+L*c[k],c[k]=I*c[k]-L*s[k],P=L*s[k+1],s[k+1]=I*s[k+1],a)for(var j=0;j<i;j++)T=I*u.get(j,k)+L*u.get(j,k+1),u.set(j,k+1,-L*u.get(j,k)+I*u.get(j,k+1)),u.set(j,k,T);if(I=M/(T=0===(T=Ve(M,P))?Number.MIN_VALUE:T),L=P/T,s[k]=T,M=I*c[k]+L*s[k+1],s[k+1]=-L*c[k]+I*s[k+1],P=L*c[k+1],c[k+1]=I*c[k+1],o&&k<r-1)for(var D=0;D<r;D++)T=I*l.get(D,k)+L*l.get(D,k+1),l.set(D,k+1,-L*l.get(D,k)+I*l.get(D,k+1)),l.set(D,k,T)}c[y-2]=M;break;case 4:if(s[v]<=0&&(s[v]=s[v]<0?-s[v]:0,a))for(var je=0;je<=be;je++)u.set(je,v,-u.get(je,v));for(;v<be&&!(s[v]>=s[v+1]);){var De=s[v];if(s[v]=s[v+1],s[v+1]=De,a&&v<i-1)for(var Be=0;Be<i;Be++)De=u.get(Be,v+1),u.set(Be,v+1,u.get(Be,v)),u.set(Be,v,De);if(o&&v<r-1)for(var Re=0;Re<r;Re++)De=l.get(Re,v+1),l.set(Re,v+1,l.get(Re,v)),l.set(Re,v,De);v++}y--}}B&&(t=u,u=l,l=t),this.m=r,this.n=i,this.s=s,this.U=l,this.V=u}function me(e){Ne(this,me);for(var t,n,r=(e=Fe.checkMatrix(e)).clone(),i=e.rows,o=e.columns,a=new Float64Array(o),s=0;s<o;s++){for(var l=0,u=s;u<i;u++)l=Ve(l,r.get(u,s));if(0!==l){for(r.get(s,s)<0&&(l=-l),u=s;u<i;u++)r.set(u,s,r.get(u,s)/l);for(r.set(s,s,r.get(s,s)+1),t=s+1;t<o;t++){for(n=0,u=s;u<i;u++)n+=r.get(u,s)*r.get(u,t);for(n=-n/r.get(s,s),u=s;u<i;u++)r.set(u,t,r.get(u,t)+n*r.get(u,s))}}a[s]=-l}this.QR=r,this.Rdiag=a}function ge(e,t){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];return e=Fe.checkMatrix(e),t=Fe.checkMatrix(t),new(n?P:e.isSquare()?de:ye)(e).solve(t)}i(je,[{key:"realEigenvalues",get:function(){return Array.from(this.d)}},{key:"imaginaryEigenvalues",get:function(){return Array.from(this.e)}},{key:"eigenvectorMatrix",get:function(){return this.V}},{key:"diagonalMatrix",get:function(){for(var e,t=this.n,n=this.e,r=this.d,i=new ze(t,t),o=0;o<t;o++){for(e=0;e<t;e++)i.set(o,e,0);i.set(o,o,r[o]),0<n[o]?i.set(o,o+1,n[o]):n[o]<0&&i.set(o,o-1,n[o])}return i}}]);var ve=je;function je(B){var R=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},R=(Ne(this,je),R.assumeSymmetric),R=void 0!==R&&R;if(!(B=Fe.checkMatrix(B)).isSquare())throw new Error("Matrix is not a square matrix");if(B.isEmpty())throw new Error("Matrix must be non-empty");var N,e=B.columns,z=new ze(e,e),F=new Float64Array(e),V=new Float64Array(e),H=B;if(R||B.isSymmetric()){for(N=0;N<e;N++)for(he=0;he<e;he++)z.set(N,he,H.get(N,he));for(var t,n,Y,r,i,G,U,Q=e,W=V,o=F,a=z,s=0;s<Q;s++)o[s]=a.get(Q-1,s);for(r=Q-1;0<r;r--){for(i=Y=U=0;i<r;i++)U+=Math.abs(o[i]);if(0===U)for(W[r]=o[r-1],s=0;s<r;s++)o[s]=a.get(r-1,s),a.set(r,s,0),a.set(s,r,0);else{for(i=0;i<r;i++)o[i]/=U,Y+=o[i]*o[i];for(t=o[r-1],n=Math.sqrt(Y),W[r]=U*(n=0<t?-n:n),Y-=t*n,o[r-1]=t-n,s=0;s<r;s++)W[s]=0;for(s=0;s<r;s++){for(t=o[s],a.set(s,r,t),n=W[s]+a.get(s,s)*t,i=s+1;i<=r-1;i++)n+=a.get(i,s)*o[i],W[i]+=a.get(i,s)*t;W[s]=n}for(s=t=0;s<r;s++)W[s]/=Y,t+=W[s]*o[s];for(G=t/(Y+Y),s=0;s<r;s++)W[s]-=G*o[s];for(s=0;s<r;s++){for(t=o[s],n=W[s],i=s;i<=r-1;i++)a.set(i,s,a.get(i,s)-(t*W[i]+n*o[i]));o[s]=a.get(r-1,s),a.set(r,s,0)}}o[r]=Y}for(r=0;r<Q-1;r++){if(a.set(Q-1,r,a.get(r,r)),a.set(r,r,1),0!==(Y=o[r+1])){for(i=0;i<=r;i++)o[i]=a.get(i,r+1)/Y;for(s=0;s<=r;s++){for(i=n=0;i<=r;i++)n+=a.get(i,r+1)*a.get(i,s);for(i=0;i<=r;i++)a.set(i,s,a.get(i,s)-n*o[i])}}for(i=0;i<=r;i++)a.set(i,r+1,0)}for(s=0;s<Q;s++)o[s]=a.get(Q-1,s),a.set(Q-1,s,0);a.set(Q-1,Q-1,1),W[0]=0;for(var q,K,X,l,J,u,$,Z,ee,te,ne,re,ie,oe,ae=e,c=V,f=F,se=z,h=1;h<ae;h++)c[h-1]=c[h];for(var le=c[ae-1]=0,ue=0,ce=Number.EPSILON,d=0;d<ae;d++){for(ue=Math.max(ue,Math.abs(f[d])+Math.abs(c[d])),J=d;J<ae&&!(Math.abs(c[J])<=ce*ue);)J++;if(d<J)do{for(q=f[d],$=Ve(u=(f[d+1]-q)/(2*c[d]),1),f[d]=c[d]/(u+($=u<0?-$:$)),f[d+1]=c[d]*(u+$),Z=f[d+1],K=q-f[d],h=d+2;h<ae;h++)f[h]-=K;for(le+=K,u=f[J],te=ee=1,ne=ee,re=c[d+1],oe=ie=0,h=J-1;d<=h;h--)for(ne=te,oe=ie,q=(te=ee)*c[h],K=ee*u,$=Ve(u,c[h]),c[h+1]=ie*$,ie=c[h]/$,u=(ee=u/$)*f[h]-ie*q,f[h+1]=K+ie*(ee*q+ie*f[h]),l=0;l<ae;l++)K=se.get(l,h+1),se.set(l,h+1,ie*se.get(l,h)+ee*K),se.set(l,h,ee*se.get(l,h)-ie*K)}while(u=-ie*oe*ne*re*c[d]/Z,c[d]=ie*u,f[d]=ee*u,Math.abs(c[d])>ce*ue);f[d]=f[d]+le,c[d]=0}for(h=0;h<ae-1;h++){for(u=f[l=h],X=h+1;X<ae;X++)f[X]<u&&(u=f[l=X]);if(l!==h)for(f[l]=f[h],f[h]=u,X=0;X<ae;X++)u=se.get(X,h),se.set(X,h,se.get(X,l)),se.set(X,l,u)}}else{for(var fe=new ze(e,e),R=new Float64Array(e),he=0;he<e;he++)for(N=0;N<e;N++)fe.set(N,he,H.get(N,he));for(var de,pe,ye,p,y,me,ge=e,ve=fe,m=R,be=z,_e=ge-1,g=1;g<=_e-1;g++){for(me=0,p=g;p<=_e;p++)me+=Math.abs(ve.get(p,g-1));if(0!==me){for(ye=0,p=_e;g<=p;p--)m[p]=ve.get(p,g-1)/me,ye+=m[p]*m[p];for(pe=Math.sqrt(ye),0<m[g]&&(pe=-pe),ye-=m[g]*pe,m[g]=m[g]-pe,y=g;y<ge;y++){for(de=0,p=_e;g<=p;p--)de+=m[p]*ve.get(p,y);for(de/=ye,p=g;p<=_e;p++)ve.set(p,y,ve.get(p,y)-de*m[p])}for(p=0;p<=_e;p++){for(de=0,y=_e;g<=y;y--)de+=m[y]*ve.get(p,y);for(de/=ye,y=g;y<=_e;y++)ve.set(p,y,ve.get(p,y)-de*m[y])}m[g]=me*m[g],ve.set(g,g-1,me*pe)}}for(p=0;p<ge;p++)for(y=0;y<ge;y++)be.set(p,y,p===y?1:0);for(g=_e-1;1<=g;g--)if(0!==ve.get(g,g-1)){for(p=g+1;p<=_e;p++)m[p]=ve.get(p,g-1);for(y=g;y<=_e;y++){for(pe=0,p=g;p<=_e;p++)pe+=m[p]*be.get(p,y);for(pe=pe/m[g]/ve.get(g,g-1),p=g;p<=_e;p++)be.set(p,y,be.get(p,y)+pe*m[p])}}for(var v,b,_,x,xe,w,A,S,we,Ae,Se,Ce,Oe,Ee,Me=e,C=V,O=F,E=z,M=fe,P=Me-1,Pe=Me-1,ke=Number.EPSILON,Te=0,Ie=0,k=0,T=0,I=0,L=0,j=0,Le=0,D=0;D<Me;D++)for((D<0||Pe<D)&&(O[D]=M.get(D,D),C[D]=0),v=Math.max(D-1,0);v<Me;v++)Ie+=Math.abs(M.get(D,v));for(;0<=P;){for(_=P;0<_&&(0===(L=Math.abs(M.get(_-1,_-1))+Math.abs(M.get(_,_)))&&(L=Ie),!(Math.abs(M.get(_,_-1))<ke*L));)_--;if(_===P)M.set(P,P,M.get(P,P)+Te),O[P]=M.get(P,P),C[P]=0,P--,Le=0;else if(_===P-1){if(w=M.get(P,P-1)*M.get(P-1,P),T=(k=(M.get(P-1,P-1)-M.get(P,P))/2)*k+w,j=Math.sqrt(Math.abs(T)),M.set(P,P,M.get(P,P)+Te),M.set(P-1,P-1,M.get(P-1,P-1)+Te),A=M.get(P,P),0<=T){for(O[P-1]=A+(j=0<=k?k+j:k-j),O[P]=O[P-1],0!==j&&(O[P]=A-w/j),C[P-1]=0,C[P]=0,k=(A=M.get(P,P-1))/(L=Math.abs(A)+Math.abs(j)),T=j/L,k/=I=Math.sqrt(k*k+T*T),T/=I,v=P-1;v<Me;v++)j=M.get(P-1,v),M.set(P-1,v,T*j+k*M.get(P,v)),M.set(P,v,T*M.get(P,v)-k*j);for(D=0;D<=P;D++)j=M.get(D,P-1),M.set(D,P-1,T*j+k*M.get(D,P)),M.set(D,P,T*M.get(D,P)-k*j);for(D=0;D<=Pe;D++)j=E.get(D,P-1),E.set(D,P-1,T*j+k*E.get(D,P)),E.set(D,P,T*E.get(D,P)-k*j)}else O[P-1]=A+k,O[P]=A+k,C[P-1]=j,C[P]=-j;P-=2,Le=0}else{if(A=M.get(P,P),w=S=0,_<P&&(S=M.get(P-1,P-1),w=M.get(P,P-1)*M.get(P-1,P)),10===Le){for(Te+=A,D=0;D<=P;D++)M.set(D,D,M.get(D,D)-A);A=S=.75*(L=Math.abs(M.get(P,P-1))+Math.abs(M.get(P-1,P-2))),w=-.4375*L*L}if(30===Le&&0<(L=(L=(S-A)/2)*L+w)){for(L=Math.sqrt(L),L=A-w/((S-A)/2+(L=S<A?-L:L)),D=0;D<=P;D++)M.set(D,D,M.get(D,D)-L);Te+=L,A=S=w=.964}for(Le+=1,x=P-2;_<=x&&(k=((I=A-(j=M.get(x,x)))*(L=S-j)-w)/M.get(x+1,x)+M.get(x,x+1),T=M.get(x+1,x+1)-j-I-L,I=M.get(x+2,x+1),k/=L=Math.abs(k)+Math.abs(T)+Math.abs(I),T/=L,I/=L,x!==_)&&!(Math.abs(M.get(x,x-1))*(Math.abs(T)+Math.abs(I))<ke*(Math.abs(k)*(Math.abs(M.get(x-1,x-1))+Math.abs(j)+Math.abs(M.get(x+1,x+1)))));)x--;for(D=x+2;D<=P;D++)M.set(D,D-2,0),x+2<D&&M.set(D,D-3,0);for(b=x;b<=P-1&&(Oe=b!==P-1,b!==x&&(k=M.get(b,b-1),T=M.get(b+1,b-1),I=Oe?M.get(b+2,b-1):0,0!==(A=Math.abs(k)+Math.abs(T)+Math.abs(I)))&&(k/=A,T/=A,I/=A),0!==A);b++)if(L=Math.sqrt(k*k+T*T+I*I),0!==(L=k<0?-L:L)){for(b!==x?M.set(b,b-1,-L*A):_!==x&&M.set(b,b-1,-M.get(b,b-1)),A=(k+=L)/L,S=T/L,j=I/L,T/=k,I/=k,v=b;v<Me;v++)k=M.get(b,v)+T*M.get(b+1,v),Oe&&(k+=I*M.get(b+2,v),M.set(b+2,v,M.get(b+2,v)-k*j)),M.set(b,v,M.get(b,v)-k*A),M.set(b+1,v,M.get(b+1,v)-k*S);for(D=0;D<=Math.min(P,b+3);D++)k=A*M.get(D,b)+S*M.get(D,b+1),Oe&&(k+=j*M.get(D,b+2),M.set(D,b+2,M.get(D,b+2)-k*I)),M.set(D,b,M.get(D,b)-k),M.set(D,b+1,M.get(D,b+1)-k*T);for(D=0;D<=Pe;D++)k=A*E.get(D,b)+S*E.get(D,b+1),Oe&&(k+=j*E.get(D,b+2),E.set(D,b+2,E.get(D,b+2)-k*I)),E.set(D,b,E.get(D,b)-k),E.set(D,b+1,E.get(D,b+1)-k*T)}}}if(0!==Ie){for(P=Me-1;0<=P;P--)if(k=O[P],0===(T=C[P]))for(_=P,M.set(P,P,1),D=P-1;0<=D;D--){for(w=M.get(D,D)-k,I=0,v=_;v<=P;v++)I+=M.get(D,v)*M.get(v,P);if(C[D]<0)j=w,L=I;else if(0===C[_=D]?M.set(D,P,0!==w?-I/w:-I/(ke*Ie)):(A=M.get(D,D+1),S=M.get(D+1,D),T=(O[D]-k)*(O[D]-k)+C[D]*C[D],M.set(D,P,xe=(A*L-j*I)/T),M.set(D+1,P,Math.abs(A)>Math.abs(j)?(-I-w*xe)/A:(-L-S*xe)/j)),1<ke*(xe=Math.abs(M.get(D,P)))*xe)for(v=D;v<=P;v++)M.set(v,P,M.get(v,P)/xe)}else if(T<0)for(_=P-1,Math.abs(M.get(P,P-1))>Math.abs(M.get(P-1,P))?(M.set(P-1,P-1,T/M.get(P,P-1)),M.set(P-1,P,-(M.get(P,P)-k)/M.get(P,P-1))):(Ee=De(0,-M.get(P-1,P),M.get(P-1,P-1)-k,T),M.set(P-1,P-1,Ee[0]),M.set(P-1,P,Ee[1])),M.set(P,P-1,0),M.set(P,P,1),D=P-2;0<=D;D--){for(Ae=we=0,v=_;v<=P;v++)we+=M.get(D,v)*M.get(v,P-1),Ae+=M.get(D,v)*M.get(v,P);if(w=M.get(D,D)-k,C[D]<0)j=w,I=we,L=Ae;else if(0===C[_=D]?(Ee=De(-we,-Ae,w,T),M.set(D,P-1,Ee[0]),M.set(D,P,Ee[1])):(A=M.get(D,D+1),S=M.get(D+1,D),Se=(O[D]-k)*(O[D]-k)+C[D]*C[D]-T*T,Ce=2*(O[D]-k)*T,Ee=De(A*I-j*we+T*Ae,A*L-j*Ae-T*we,Se=0===Se&&0==Ce?ke*Ie*(Math.abs(w)+Math.abs(T)+Math.abs(A)+Math.abs(S)+Math.abs(j)):Se,Ce),M.set(D,P-1,Ee[0]),M.set(D,P,Ee[1]),Math.abs(A)>Math.abs(j)+Math.abs(T)?(M.set(D+1,P-1,(-we-w*M.get(D,P-1)+T*M.get(D,P))/A),M.set(D+1,P,(-Ae-w*M.get(D,P)-T*M.get(D,P-1))/A)):(Ee=De(-I-S*M.get(D,P-1),-L-S*M.get(D,P),j,T),M.set(D+1,P-1,Ee[0]),M.set(D+1,P,Ee[1]))),1<ke*(xe=Math.max(Math.abs(M.get(D,P-1)),Math.abs(M.get(D,P))))*xe)for(v=D;v<=P;v++)M.set(v,P-1,M.get(v,P-1)/xe),M.set(v,P,M.get(v,P)/xe)}for(D=0;D<Me;D++)if(D<0||Pe<D)for(v=D;v<Me;v++)E.set(D,v,M.get(D,v));for(v=Me-1;0<=v;v--)for(D=0;D<=Pe;D++){for(b=j=0;b<=Math.min(v,Pe);b++)j+=E.get(D,b)*M.get(b,v);E.set(D,v,j)}}}this.n=e,this.e=V,this.d=F,this.V=z}function De(e,t,n,r){var i,o;return Math.abs(n)>Math.abs(r)?[(e+(i=r/n)*t)/(o=n+i*r),(t-i*e)/o]:[((i=n/r)*e+t)/(o=r+i*n),(i*t-e)/o]}i(xe,[{key:"isPositiveDefinite",value:function(){return this.positiveDefinite}},{key:"solve",value:function(e){e=Fe.checkMatrix(e);var t=this.L,n=t.rows;if(e.rows!==n)throw new Error("Matrix dimensions do not match");if(!1===this.isPositiveDefinite())throw new Error("Matrix is not positive definite");for(var r,i,o=e.columns,a=e.clone(),s=0;s<n;s++)for(i=0;i<o;i++){for(r=0;r<s;r++)a.set(s,i,a.get(s,i)-a.get(r,i)*t.get(s,r));a.set(s,i,a.get(s,i)/t.get(s,s))}for(s=n-1;0<=s;s--)for(i=0;i<o;i++){for(r=s+1;r<n;r++)a.set(s,i,a.get(s,i)-a.get(r,i)*t.get(r,s));a.set(s,i,a.get(s,i)/t.get(s,s))}return a}},{key:"lowerTriangularMatrix",get:function(){return this.L}}]);var be=xe,_e=i(function e(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};Ne(this,e),t=Fe.checkMatrix(t);var r,i=n.Y,o=n.scaleScores,o=void 0!==o&&o,a=n.maxIterations,s=void 0===a?1e3:a,a=n.terminationCriteria,l=void 0===a?1e-10:a;if(i){if((i=z.isAnyArray(i)&&"number"==typeof i[0]?ze.columnVector(i):Fe.checkMatrix(i)).rows!==t.rows)throw new Error("Y should have the same number of rows as X");r=i.getColumnVector(0)}else r=t.getColumnVector(0);for(var u,c,f,h,d,p,y=1,m=0;m<s&&l<y;m++)f=(f=t.transpose().mmul(r).div(r.transpose().mmul(r).get(0,0))).div(f.norm()),u=t.mmul(f).div(f.transpose().mmul(f).get(0,0)),0<m&&(y=u.clone().sub(h).pow(2).sum()),h=u.clone(),r=i?(c=(c=i.transpose().mmul(u).div(u.transpose().mmul(u).get(0,0))).div(c.norm()),i.mmul(c).div(c.transpose().mmul(c).get(0,0))):u;i?(n=(n=t.transpose().mmul(u).div(u.transpose().mmul(u).get(0,0))).div(n.norm()),a=t.clone().sub(u.clone().mmul(n.transpose())),d=r.transpose().mmul(u).div(u.transpose().mmul(u).get(0,0)),p=i.clone().sub(u.clone().mulS(d.get(0,0)).mmul(c.transpose())),this.t=u,this.p=n.transpose(),this.w=f.transpose(),this.q=c,this.u=r,this.s=u.transpose().mmul(u),this.xResidual=a,this.yResidual=p,this.betas=d):(this.w=f.transpose(),this.s=u.transpose().mmul(u).sqrt(),this.t=o?u.clone().div(this.s.get(0,0)):u,this.xResidual=t.sub(u.mmul(f.transpose())))});function xe(e){if(Ne(this,xe),!(e=Fe.checkMatrix(e)).isSymmetric())throw new Error("Matrix is not symmetric");for(var t=e,n=t.rows,r=new ze(n,n),i=!0,o=0;o<n;o++){for(var a=0,s=0;s<o;s++){for(var l=0,u=0;u<s;u++)l+=r.get(s,u)*r.get(o,u);l=(t.get(o,s)-l)/r.get(s,s),r.set(o,s,l),a+=l*l}for(i&=0<(a=t.get(o,o)-a),r.set(o,o,Math.sqrt(Math.max(a,0))),s=o+1;s<n;s++)r.set(o,s,0)}this.L=r,this.positiveDefinite=Boolean(i)}e.AbstractMatrix=t,e.CHO=be,e.CholeskyDecomposition=be,e.EVD=ve,e.EigenvalueDecomposition=ve,e.LU=de,e.LuDecomposition=de,e.Matrix=ze,e.MatrixColumnSelectionView=oe,e.MatrixColumnView=ie,e.MatrixFlipColumnView=ae,e.MatrixFlipRowView=se,e.MatrixRowSelectionView=ue,e.MatrixRowView=le,e.MatrixSelectionView=m,e.MatrixSubView=ce,e.MatrixTransposeView=y,e.NIPALS=_e,e.Nipals=_e,e.QR=ye,e.QrDecomposition=ye,e.SVD=P,e.SingularValueDecomposition=P,e.WrapperMatrix1D=fe,e.WrapperMatrix2D=Fe,e.correlation=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:e,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=(e=new ze(e),!1);if("object"!==N(t)||ze.isMatrix(t)||z.isAnyArray(t)?t=new ze(t):(n=t,t=e,r=!0),e.rows!==t.rows)throw new TypeError("Both matrices must have the same number of rows");var i=n.center,n=n.scale,n=void 0===n||n;void 0!==i&&!i||(e.center("column"),r)||t.center("column"),n&&(e.scale("column"),r||t.scale("column"));for(var o=e.standardDeviation("column",{unbiased:!0}),a=r?o:t.standardDeviation("column",{unbiased:!0}),s=e.transpose().mmul(t),l=0;l<s.rows;l++)for(var u=0;u<s.columns;u++)s.set(l,u,s.get(l,u)*(1/(o[l]*a[u]))*(1/(e.rows-1)));return s},e.covariance=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:e,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=(e=new ze(e),!1);if("object"!==N(t)||ze.isMatrix(t)||z.isAnyArray(t)?t=new ze(t):(n=t,t=e,r=!0),e.rows!==t.rows)throw new TypeError("Both matrices must have the same number of rows");n=n.center;void 0!==n&&!n||(e=e.center("column"),r)||(t=t.center("column"));for(var i=e.transpose().mmul(t),o=0;o<i.rows;o++)for(var a=0;a<i.columns;a++)i.set(o,a,i.get(o,a)*(1/(e.rows-1)));return i},e.default=ze,e.determinant=function e(t){if((t=ze.checkMatrix(t)).isSquare())return 0===t.columns?1:2===t.columns?(n=t.get(0,0),r=t.get(0,1),i=t.get(1,0),n*t.get(1,1)-r*i):3===t.columns?(o=new m(t,[1,2],[1,2]),a=new m(t,[1,2],[0,2]),s=new m(t,[1,2],[0,1]),n=t.get(0,0),r=t.get(0,1),i=t.get(0,2),n*e(o)-r*e(a)+i*e(s)):new de(t).determinant;throw Error("determinant can only be calculated for a square matrix");var n,r,i,o,a,s},e.inverse=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return e=Fe.checkMatrix(e),t?new P(e).inverse():ge(e,ze.eye(e.rows))},e.linearDependencies=function(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.thresholdValue,r=void 0===n?1e-9:n,n=t.thresholdError,i=void 0===n?1e-9:n,o=(e=ze.checkMatrix(e)).rows,a=new ze(o,o),s=0;s<o;s++){var l=ze.columnVector(e.getRow(s)),u=e.subMatrixRow(function(e,t){for(var n=[],r=0;r<e;r++)r!==t&&n.push(r);return n}(o,s)).transpose(),c=new P(u).solve(l),l=ze.sub(l,u.mmul(c)).abs().max();a.setRow(s,function(e,t,n,r,i){var o=3<arguments.length&&void 0!==r?r:1e-9;if((4<arguments.length&&void 0!==i?i:1e-9)<e)return new Array(t.rows+1).fill(0);for(var a=t.addRow(n,[0]),s=0;s<a.rows;s++)Math.abs(a.get(s,0))<o&&a.set(s,0,0);return a.to1DArray()}(l,c,s,r,i))}return a},e.pseudoInverse=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Number.EPSILON;if((e=ze.checkMatrix(e)).isEmpty())return e.transpose();for(var e=new P(e,{autoTranspose:!0}),n=e.leftSingularVectors,r=e.rightSingularVectors,i=e.diagonal,o=0;o<i.length;o++)Math.abs(i[o])>t?i[o]=1/i[o]:i[o]=0;return r.mmul(ze.diag(i).mmul(n.transpose()))},e.solve=ge,e.wrap=function(e,t){if(z.isAnyArray(e))return e[0]&&z.isAnyArray(e[0])?new Fe(e):new fe(e,t);throw new Error("the argument is not an array")}},19957:function(e,t,h){var n;function d(e){return(d="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})(e)}n=function(){"use strict";function e(t){var n=this.constructor;return this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){return n.reject(e)})})}function t(n){return new this(function(i,e){if(!n||void 0===n.length)return e(new TypeError(d(n)+" "+n+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var o=Array.prototype.slice.call(n);if(0===o.length)return i([]);var a=o.length;for(var t=0;t<o.length;t++)!function t(n,e){if(e&&("object"===d(e)||"function"==typeof e)){var r=e.then;if("function"==typeof r)return r.call(e,function(e){t(n,e)},function(e){o[n]={status:"rejected",reason:e},0==--a&&i(o)})}o[n]={status:"fulfilled",value:e},0==--a&&i(o)}(t,o[t])})}var n=setTimeout;function l(e){return Boolean(e&&void 0!==e.length)}function i(){}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(e,this)}function a(n,r){for(;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,o._immediateFn(function(){var e,t=1===n._state?r.onFulfilled:r.onRejected;if(null!==t){try{e=t(n._value)}catch(e){return void u(r.promise,e)}s(r.promise,e)}else(1===n._state?s:u)(r.promise,n._value)})):n._deferreds.push(r)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===d(t)||"function"==typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,c(e);if("function"==typeof n)return f((r=n,i=t,function(){r.apply(i,arguments)}),e)}e._state=1,e._value=t,c(e)}catch(t){u(e,t)}var r,i}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)a(e,e._deferreds[t]);e._deferreds=null}function f(e,t){var n=!1;try{e(function(e){n||(n=!0,s(t,e))},function(e){n||(n=!0,u(t,e))})}catch(e){n||(n=!0,u(t,e))}}o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(r,e){var t=new this.constructor(i);return a(this,new function(e,t,n){this.onFulfilled="function"==typeof r?r:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(0,e,t)),t},o.prototype.finally=e,o.all=function(t){return new o(function(i,o){if(!l(t))return o(new TypeError("Promise.all accepts an array"));var a=Array.prototype.slice.call(t);if(0===a.length)return i([]);var s=a.length;for(var e=0;e<a.length;e++)!function t(n,e){try{if(e&&("object"===d(e)||"function"==typeof e)){var r=e.then;if("function"==typeof r)return r.call(e,function(e){t(n,e)},o)}a[n]=e,0==--s&&i(a)}catch(n){o(n)}}(e,a[e])})},o.allSettled=t,o.resolve=function(t){return t&&"object"===d(t)&&t.constructor===o?t:new o(function(e){e(t)})},o.reject=function(n){return new o(function(e,t){t(n)})},o.race=function(i){return new o(function(e,t){if(!l(i))return t(new TypeError("Promise.race accepts an array"));for(var n=0,r=i.length;n<r;n++)o.resolve(i[n]).then(e,t)})},o._immediateFn="function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){n(e,0)},o._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var r=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==h.g)return h.g;throw new Error("unable to locate global object")}();"function"!=typeof r.Promise?r.Promise=o:(r.Promise.prototype.finally||(r.Promise.prototype.finally=e),r.Promise.allSettled||(r.Promise.allSettled=t))},"object"===d(t)?n():void 0!==(t="function"==typeof(n=n)?n.call(t,h,t,e):n)&&(e.exports=t)},21441:function(e,t,n){var r;function i(e){return(i="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})(e)}r=function(){"use strict";function d(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function o(e,t){return e<t?-1:t<e?1:0}return function(e,t,n,r,i){!function e(t,n,r,i,o){for(;r<i;){600<i-r&&(a=i-r+1,s=n-r+1,u=Math.log(a),l=.5*Math.exp(2*u/3),u=.5*Math.sqrt(u*l*(a-l)/a)*(s-a/2<0?-1:1),e(t,n,Math.max(r,Math.floor(n-s*l/a+u)),Math.min(i,Math.floor(n+(a-s)*l/a+u)),o));var a,s,l,u,c=t[n],f=r,h=i;for(d(t,r,n),0<o(t[i],c)&&d(t,r,i);f<h;){for(d(t,f,h),f++,h--;o(t[f],c)<0;)f++;for(;0<o(t[h],c);)h--}0===o(t[r],c)?d(t,r,h):d(t,++h,i),h<=n&&(r=h+1),n<=h&&(i=h-1)}}(e,t,n||0,r||e.length-1,i||o)}},"object"===i(t)?e.exports=r():void 0!==(n="function"==typeof(r=r)?r.call(t,n,t,e):r)&&(e.exports=n)},43861:function(e,t,n){"use strict";e.exports=r,e.exports.default=r;var s=n(21441);function r(e,t){if(!(this instanceof r))return new r(e,t);this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&this._initFormat(t),this.clear()}function d(e,t){p(e,0,e.children.length,t,e)}function p(e,t,n,r,i){(i=i||m(null)).minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var o,a=t;a<n;a++)o=e.children[a],c(i,e.leaf?r(o):o);return i}function c(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function o(e,t){return e.minX-t.minX}function a(e,t){return e.minY-t.minY}function y(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function f(e){return e.maxX-e.minX+(e.maxY-e.minY)}function h(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function u(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function m(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function g(e,t,n,r,i){for(var o,a=[t,n];a.length;)(n=a.pop())-(t=a.pop())<=r||(o=t+Math.ceil((n-t)/r/2)*r,s(e,o,t,n,i),a.push(t,o,o,n))}r.prototype={all:function(){return this._all(this.data,[])},search:function(e){var t=this.data,n=[],r=this.toBBox;if(u(e,t))for(var i,o,a,s,l=[];t;){for(i=0,o=t.children.length;i<o;i++)a=t.children[i],u(e,s=t.leaf?r(a):a)&&(t.leaf?n.push(a):h(e,s)?this._all(a,n):l.push(a));t=l.pop()}return n},collides:function(e){var t=this.data,n=this.toBBox;if(u(e,t))for(var r,i,o,a,s=[];t;){for(r=0,i=t.children.length;r<i;r++)if(o=t.children[r],u(e,a=t.leaf?n(o):o)){if(t.leaf||h(e,a))return!0;s.push(o)}t=s.pop()}return!1},load:function(e){if(e&&e.length)if(e.length<this._minEntries)for(var t=0,n=e.length;t<n;t++)this.insert(e[t]);else{var r,i=this._build(e.slice(),0,e.length-1,0);this.data.children.length?this.data.height===i.height?this._splitRoot(this.data,i):(this.data.height<i.height&&(r=this.data,this.data=i,i=r),this._insert(i,this.data.height-i.height-1,!0)):this.data=i}return this},insert:function(e){return e&&this._insert(e,this.data.height-1),this},clear:function(){return this.data=m([]),this},remove:function(e,t){if(e)for(var n,r,i,o,a=this.data,s=this.toBBox(e),l=[],u=[];a||l.length;){if(a||(a=l.pop(),r=l[l.length-1],n=u.pop(),o=!0),a.leaf&&-1!==(i=function(e,t,n){if(!n)return t.indexOf(e);for(var r=0;r<t.length;r++)if(n(e,t[r]))return r;return-1}(e,a.children,t)))return a.children.splice(i,1),l.push(a),this._condense(l),this;o||a.leaf||!h(a,s)?r?(n++,a=r.children[n],o=!1):a=null:(l.push(a),u.push(n),a=(r=a).children[n=0])}return this},toBBox:function(e){return e},compareMinX:o,compareMinY:a,toJSON:function(){return this.data},fromJSON:function(e){return this.data=e,this},_all:function(e,t){for(var n=[];e;)e.leaf?t.push.apply(t,e.children):n.push.apply(n,e.children),e=n.pop();return t},_build:function(e,t,n,r){var i,o=n-t+1,a=this._maxEntries;if(o<=a)d(i=m(e.slice(t,n+1)),this.toBBox);else{r||(r=Math.ceil(Math.log(o)/Math.log(a)),a=Math.ceil(o/Math.pow(a,r-1))),(i=m([])).leaf=!1,i.height=r;var s,l,u,c,f=Math.ceil(o/a),h=f*Math.ceil(Math.sqrt(a));for(g(e,t,n,h,this.compareMinX),s=t;s<=n;s+=h)for(g(e,s,u=Math.min(s+h-1,n),f,this.compareMinY),l=s;l<=u;l+=f)c=Math.min(l+f-1,u),i.children.push(this._build(e,l,c,r-1));d(i,this.toBBox)}return i},_chooseSubtree:function(e,t,n,r){for(var i,o,a,s,l,u,c,f,h;r.push(t),!t.leaf&&r.length-1!==n;){for(u=c=1/0,i=0,o=t.children.length;i<o;i++)l=y(a=t.children[i]),f=e,h=a,(h=(Math.max(h.maxX,f.maxX)-Math.min(h.minX,f.minX))*(Math.max(h.maxY,f.maxY)-Math.min(h.minY,f.minY))-l)<c?(c=h,u=l<u?l:u,s=a):h===c&&l<u&&(u=l,s=a);t=s||t.children[0]}return t},_insert:function(e,t,n){var r=this.toBBox,n=n?e:r(e),i=[],r=this._chooseSubtree(n,this.data,t,i);for(r.children.push(e),c(r,n);0<=t&&i[t].children.length>this._maxEntries;)this._split(i,t),t--;this._adjustParentBBoxes(n,i,t)},_split:function(e,t){var n=e[t],r=n.children.length,i=this._minEntries,i=(this._chooseSplitAxis(n,i,r),this._chooseSplitIndex(n,i,r)),r=m(n.children.splice(i,n.children.length-i));r.height=n.height,r.leaf=n.leaf,d(n,this.toBBox),d(r,this.toBBox),t?e[t-1].children.push(r):this._splitRoot(n,r)},_splitRoot:function(e,t){this.data=m([e,t]),this.data.height=e.height+1,this.data.leaf=!1,d(this.data,this.toBBox)},_chooseSplitIndex:function(e,t,n){for(var r,i,o,a,s,l,u,c,f,h=o=1/0,d=t;d<=n-t;d++)f=r=p(e,0,d,this.toBBox),s=i=p(e,d,n,this.toBBox),l=Math.max(f.minX,s.minX),u=Math.max(f.minY,s.minY),c=Math.min(f.maxX,s.maxX),f=Math.min(f.maxY,s.maxY),s=Math.max(0,c-l)*Math.max(0,f-u),c=y(r)+y(i),s<h?(h=s,a=d,o=c<o?c:o):s===h&&c<o&&(o=c,a=d);return a},_chooseSplitAxis:function(e,t,n){var r=e.leaf?this.compareMinX:o,i=e.leaf?this.compareMinY:a;this._allDistMargin(e,t,n,r)<this._allDistMargin(e,t,n,i)&&e.children.sort(r)},_allDistMargin:function(e,t,n,r){e.children.sort(r);for(var i,o=this.toBBox,a=p(e,0,t,o),s=p(e,n-t,n,o),l=f(a)+f(s),u=t;u<n-t;u++)i=e.children[u],c(a,e.leaf?o(i):i),l+=f(a);for(u=n-t-1;t<=u;u--)i=e.children[u],c(s,e.leaf?o(i):i),l+=f(s);return l},_adjustParentBBoxes:function(e,t,n){for(var r=n;0<=r;r--)c(t[r],e)},_condense:function(e){for(var t,n=e.length-1;0<=n;n--)0===e[n].children.length?0<n?(t=e[n-1].children).splice(t.indexOf(e[n]),1):this.clear():d(e[n],this.toBBox)},_initFormat:function(e){var t=["return a"," - b",";"];this.compareMinX=new Function("a","b",t.join(e[0])),this.compareMinY=new Function("a","b",t.join(e[1])),this.toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}},44934:function(e,t,n){var r;function Bn(e){return(Bn="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})(e)}r=function(){"use strict";function At(e,t){for(var n=Object.keys(t),r=0;r<n.length;++r)e[n[r]]=t[n[r]];return e}var St=function(e){return e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Float32Array||e instanceof Float64Array||e instanceof Uint8ClampedArray};function r(e){e=new Error("(regl) "+e);throw console.error(e),e}function p(e,t){e||r(t)}function i(e){return e?": "+e:""}function s(e,t){switch(t){case"number":return"number"==typeof e;case"object":return"object"===Bn(e);case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"function":return"function"==typeof e;case"undefined":return void 0===e;case"symbol":return"symbol"===Bn(e)}}function c(e,t,n){t.indexOf(e)<0&&r("invalid value"+i(n)+". must be one of: "+t)}var t=["gl","canvas","container","attributes","pixelRatio","extensions","optionalExtensions","profile","onDone"];function l(e,t){for(e+="";e.length<t;)e=" "+e;return e}function h(){this.name="unknown",this.lines=[],this.index={},this.hasErrors=!1}function d(e,t){this.number=e,this.line=t,this.errors=[]}function y(e,t,n){this.file=e,this.line=t,this.message=n}function f(){var e=new Error,e=(e.stack||e).toString(),t=/compileProcedure.*\n\s*at.*\((.*)\)/.exec(e);return(t=t||/compileProcedure.*\n\s*at\s+(.*)(\n|$)/.exec(e))?t[1]:"unknown"}function m(){var e=new Error,e=(e.stack||e).toString(),t=/at REGLCommand.*\n\s+at.*\((.*)\)/.exec(e);return(t=t||/at REGLCommand.*\n\s+at\s+(.*)\n/.exec(e))?t[1]:"unknown"}function g(e,t){var n,r=e.split("\n"),i=1,o=0,a={unknown:new h,0:new h};a.unknown.name=a[0].name=t||f(),a.unknown.lines.push(new d(0,""));for(var s=0;s<r.length;++s){var l=r[s],u=/^\s*#\s*(\w+)\s+(.+)\s*$/.exec(l);if(u)switch(u[1]){case"line":var c=/(\d+)(\s+\d+)?/.exec(u[2]);c&&(i=0|c[1],c[2])&&((o=0|c[2])in a||(a[o]=new h));break;case"define":c=/SHADER_NAME(_B64)?\s+(.*)$/.exec(u[2]);c&&(a[o].name=c[1]?(n=c[2],"undefined"!=typeof atob?atob(n):"base64:"+n):c[2])}a[o].lines.push(new d(i++,l))}return Object.keys(a).forEach(function(e){var t=a[e];t.lines.forEach(function(e){t.index[e.number]=e})}),a}function v(e){e._commandRef=f()}function b(e,t){var n=m();r(e+" in command "+(t||f())+("unknown"===n?"":" called from "+n))}function _(e,t,n,r){s(e,t)||b("invalid parameter type"+i(n)+". expected "+t+", got "+Bn(e),r||f())}var n={};function x(e,t){return 32820===e||32819===e||33635===e?2:34042===e?4:n[e]*t}function w(e){return!(e&e-1||!e)}n[5120]=n[5121]=1,n[5122]=n[5123]=n[36193]=n[33635]=n[32819]=n[32820]=2,n[5124]=n[5125]=n[5126]=n[34042]=4;var Ct=At(p,{optional:function(e){e()},raise:r,commandRaise:b,command:function(e,t,n){e||b(t,n||f())},parameter:function(e,t,n){e in t||r("unknown parameter ("+e+")"+i(n)+". possible values: "+Object.keys(t).join())},commandParameter:function(e,t,n,r){e in t||b("unknown parameter ("+e+")"+i(n)+". possible values: "+Object.keys(t).join(),r||f())},constructor:function(e){Object.keys(e).forEach(function(e){t.indexOf(e)<0&&r('invalid regl constructor argument "'+e+'". must be one of '+t)})},type:function(e,t,n){s(e,t)||r("invalid parameter type"+i(n)+". expected "+t+", got "+Bn(e))},commandType:_,isTypedArray:function(e,t){St(e)||r("invalid parameter type"+i(t)+". must be a typed array")},nni:function(e,t){0<=e&&(0|e)===e||r("invalid parameter type, ("+e+")"+i(t)+". must be a nonnegative integer")},oneOf:c,shaderError:function(e,t,n,r,i){var a,o,s;e.getShaderParameter(t,e.COMPILE_STATUS)||(t=e.getShaderInfoLog(t),_(n,"string",(r=r===e.FRAGMENT_SHADER?"fragment":"vertex")+" shader source must be a string",i),a=g(n,i),s=[],t.split("\n").forEach(function(e){var t;e.length<5||((t=/^ERROR:\s+(\d+):(\d+):\s*(.*)$/.exec(e))?s.push(new y(0|t[1],0|t[2],t[3].trim())):0<e.length&&s.push(new y("unknown",0,e)))}),o=a,s.forEach(function(e){var t=o[e.file];if(t){var n=t.index[e.line];if(n)return n.errors.push(e),void(t.hasErrors=!0)}o.unknown.hasErrors=!0,o.unknown.lines[0].errors.push(e)}),Object.keys(a).forEach(function(e){var n,r,t=a[e];function o(e,t){n.push(e),r.push(t||"")}t.hasErrors&&(n=[""],r=[""],o("file number "+e+": "+t.name+"\n","color:red;text-decoration:underline;font-weight:bold"),t.lines.forEach(function(r){var i;0<r.errors.length?(o(l(r.number,4)+"| ","background-color:yellow; font-weight:bold"),o(r.line+"\n","color:red; background-color:yellow; font-weight:bold"),i=0,r.errors.forEach(function(e){var t,e=e.message,n=/^\s*'(.*)'\s*:\s*(.*)$/.exec(e);i=n?(t=n[1],"assign"===(e=n[2],t)&&(t="="),Math.max(r.line.indexOf(t,i),0)):0,o(l("| ",6)),o(l("^^^",i+3)+"\n","font-weight:bold"),o(l("| ",6)),o(e+"\n","font-weight:bold")}),o(l("| ",6)+"\n")):(o(l(r.number,4)+"| "),o(r.line+"\n","color:red"))}),"undefined"==typeof document||window.chrome?console.log(n.join("")):(r[0]=n.join("%c"),console.log.apply(console,r)))}),p.raise("Error compiling "+r+" shader, "+a[0].name))},linkError:function(e,t,n,r,i){e.getProgramParameter(t,e.LINK_STATUS)||(e=e.getProgramInfoLog(t),t=g(n,i),n='Error linking program with vertex shader, "'+g(r,i)[0].name+'", and fragment shader "'+t[0].name+'"',"undefined"!=typeof document?console.log("%c"+n+"\n%c"+e,"color:red;text-decoration:underline;font-weight:bold","color:red"):console.log(n+"\n"+e),p.raise(n))},callSite:m,saveCommandRef:v,saveDrawInfo:function(e,t,n,r){function i(e){return e?r.id(e):0}function o(t,e){Object.keys(e).forEach(function(e){t[r.id(e)]=!0})}v(e),e._fragId=i(e.static.frag),e._vertId=i(e.static.vert);var a=e._uniformSet={},a=(o(a,t.static),o(a,t.dynamic),e._attributeSet={});o(a,n.static),o(a,n.dynamic),e._hasCount="count"in e.static||"count"in e.dynamic||"elements"in e.static||"elements"in e.dynamic},framebufferFormat:function(e,t,n){e.texture?c(e.texture._texture.internalformat,t,"unsupported texture format for attachment"):c(e.renderbuffer._renderbuffer.format,n,"unsupported renderbuffer format for attachment")},guessCommand:f,texture2D:function(e,t,n){for(var r,i,o,a=t.width,s=t.height,l=t.channels,u=(p(0<a&&a<=n.maxTextureSize&&0<s&&s<=n.maxTextureSize,"invalid texture shape"),33071===e.wrapS&&33071===e.wrapT||p(w(a)&&w(s),"incompatible wrap mode for texture, both width and height must be power of 2"),1===t.mipmask?1!==a&&1!==s&&p(9984!==e.minFilter&&9986!==e.minFilter&&9985!==e.minFilter&&9987!==e.minFilter,"min filter requires mipmap"):(p(w(a)&&w(s),"texture must be a square power of 2 to support mipmapping"),p(t.mipmask===(a<<1)-1,"missing or incomplete mipmap data")),5126===t.type&&(n.extensions.indexOf("oes_texture_float_linear")<0&&p(9728===e.minFilter&&9728===e.magFilter,"filter not supported, must enable oes_texture_float_linear"),p(!e.genMipmaps,"mipmap generation not supported with float textures")),t.images),c=0;c<16;++c)u[c]?(o=a>>c,r=s>>c,p(t.mipmask&1<<c,"missing mipmap data"),i=u[c],p(i.width===o&&i.height===r,"invalid shape for mip images"),p(i.format===t.format&&i.internalformat===t.internalformat&&i.type===t.type,"incompatible type for mip image"),i.compressed||(i.data?(o=Math.ceil(x(i.type,l)*o/i.unpackAlignment)*i.unpackAlignment,p(i.data.byteLength===o*r,"invalid data for image, buffer size is inconsistent with image format")):i.element||i.copy)):e.genMipmaps||p(0==(t.mipmask&1<<c),"extra mipmap data");t.compressed&&p(!e.genMipmaps,"mipmap generation for compressed images not supported")},textureCube:function(e,t,n,r){var i=e.width,o=e.height,a=e.channels;p(0<i&&i<=r.maxTextureSize&&0<o&&o<=r.maxTextureSize,"invalid texture shape"),p(i===o,"cube map must be square"),p(33071===t.wrapS&&33071===t.wrapT,"wrap mode not supported by cube map");for(var s=0;s<n.length;++s){var l=n[s];p(l.width===i&&l.height===o,"inconsistent cube map face shape"),t.genMipmaps&&(p(!l.compressed,"can not generate mipmap for compressed textures"),p(1===l.mipmask,"can not specify mipmaps and generate mipmaps"));for(var u=l.images,c=0;c<16;++c){var f,h,d=u[c];d&&(f=i>>c,h=o>>c,p(l.mipmask&1<<c,"missing mipmap data"),p(d.width===f&&d.height===h,"invalid shape for mip images"),p(d.format===e.format&&d.internalformat===e.internalformat&&d.type===e.type,"incompatible type for mip image"),d.compressed||(d.data?p(d.data.byteLength===f*h*Math.max(x(d.type,a),d.unpackAlignment),"invalid data for image, buffer size is inconsistent with image format"):d.element||d.copy))}}}}),A=0;function o(e,t){this.id=A++,this.type=e,this.data=t}function S(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function C(e){return"["+function e(t){if(0===t.length)return[];var n=t.charAt(0),r=t.charAt(t.length-1);if(1<t.length&&n===r&&('"'===n||"'"===n))return['"'+S(t.substr(1,t.length-2))+'"'];r=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(t);if(r)return e(t.substr(0,r.index)).concat(e(r[1])).concat(e(t.substr(r.index+r[0].length)));var i=t.split(".");if(1===i.length)return['"'+S(t)+'"'];for(var o=[],a=0;a<i.length;++a)o=o.concat(e(i[a]));return o}(e).join("][")+"]"}var Ot={DynamicVariable:o,define:function(e,t){return new o(e,C(t+""))},isDynamic:function(e){return"function"==typeof e&&!e._reglType||e instanceof o},unbox:function n(e,r){return"function"==typeof e?new o(0,e):"number"==typeof e||"boolean"==typeof e?new o(5,e):Array.isArray(e)?new o(6,e.map(function(e,t){return n(e,r+"["+t+"]")})):e instanceof o?e:void Ct(!1,"invalid option type in uniform "+r)},accessor:C},jt={next:"function"==typeof requestAnimationFrame?function(e){return requestAnimationFrame(e)}:function(e){return setTimeout(e,16)},cancel:"function"==typeof cancelAnimationFrame?function(e){return cancelAnimationFrame(e)}:clearTimeout},Dt="undefined"!=typeof performance&&performance.now?function(){return performance.now()}:function(){return+new Date};function Bt(e){return"string"==typeof e?e.split():(Ct(Array.isArray(e),"invalid extension array"),e)}function Rt(e){return"string"==typeof e?(Ct("undefined"!=typeof document,"not supported outside of DOM"),document.querySelector(e)):e}function Xe(e,t){for(var n=Array(e),r=0;r<e;++r)n[r]=t(r);return n}function O(e){var t,n=(65535<e)<<4;return(n|=t=(255<(e>>>=n))<<3)|(t=(15<(e>>>=t))<<2)|(t=(3<(e>>>=t))<<1)|e>>>t>>1}function e(){var n=Xe(8,function(){return[]});function r(e){var e=function(e){for(var t=16;t<=1<<28;t*=16)if(e<=t)return t;return 0}(e),t=n[O(e)>>2];return 0<t.length?t.pop():new ArrayBuffer(e)}function t(e){n[O(e.byteLength)>>2].push(e)}return{alloc:r,free:t,allocType:function(e,t){var n=null;switch(e){case 5120:n=new Int8Array(r(t),0,t);break;case 5121:n=new Uint8Array(r(t),0,t);break;case 5122:n=new Int16Array(r(2*t),0,t);break;case 5123:n=new Uint16Array(r(2*t),0,t);break;case 5124:n=new Int32Array(r(4*t),0,t);break;case 5125:n=new Uint32Array(r(4*t),0,t);break;case 5126:n=new Float32Array(r(4*t),0,t);break;default:return null}return n.length!==t?n.subarray(0,t):n},freeType:function(e){t(e.buffer)}}}var Et=e();Et.zero=e();function Mt(e){return!!e&&"object"===Bn(e)&&Array.isArray(e.shape)&&Array.isArray(e.stride)&&"number"==typeof e.offset&&e.shape.length===e.stride.length&&(Array.isArray(e.data)||St(e.data))}function Pt(t){return Object.keys(t).map(function(e){return t[e]})}var Z=function(e){for(var t=[],n=e;n.length;n=n[0])t.push(n.length);return t},ee=function(e,t,n,r){var i=1;if(t.length)for(var o=0;o<t.length;++o)i*=t[o];else i=0;var a=r||Et.allocType(n,i);switch(t.length){case 0:break;case 1:for(var s=e,l=t[0],u=a,c=0;c<l;++c)u[c]=s[c];break;case 2:for(var f=e,h=t[0],d=t[1],p=a,y=0,m=0;m<h;++m)for(var g=f[m],v=0;v<d;++v)p[y++]=g[v];break;case 3:E(e,t[0],t[1],t[2],a,0);break;default:!function e(t,n,r,i,o){for(var a=1,s=r+1;s<n.length;++s)a*=n[s];var l=n[r];if(n.length-r==4)for(var u=n[r+1],c=n[r+2],f=n[r+3],s=0;s<l;++s)E(t[s],u,c,f,i,o),o+=a;else for(s=0;s<l;++s)e(t[s],n,r+1,i,o),o+=a}(e,t,0,a,0)}return a};function E(e,t,n,r,i,o){for(var a=o,s=0;s<t;++s)for(var l=e[s],u=0;u<n;++u)for(var c=l[u],f=0;f<r;++f)i[a++]=c[f]}var M={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121},kt={int8:5120,int16:5122,int32:5124,uint8:5121,uint16:5123,uint32:5125,float:5126,float32:5126},Nt={dynamic:35048,stream:35040,static:35044},zt=ee,Ft=Z,Tt=[];function Vt(e){return 0|M[Object.prototype.toString.call(e)]}function Ht(e,t){for(var n=0;n<t.length;++n)e[n]=t[n]}function Yt(e,t,n,r,i,o,a){for(var s=0,l=0;l<n;++l)for(var u=0;u<r;++u)e[s++]=t[i*l+o*u+a]}Tt[5120]=1,Tt[5122]=2,Tt[5124]=4,Tt[5121]=1,Tt[5123]=2,Tt[5125]=4;var Gt={points:0,point:0,lines:1,line:1,triangles:Tt[5126]=4,triangle:4,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},P=new Float32Array(1),k=new Uint32Array(P.buffer),T=5123;function te(e){for(var t,n,r,i=Et.allocType(T,e.length),o=0;o<e.length;++o)isNaN(e[o])?i[o]=65535:e[o]===1/0?i[o]=31744:e[o]===-1/0?i[o]=64512:(P[0]=e[o],t=(n=k[0])>>>31<<15,r=n>>13&1023,i[o]=(n=(n<<1>>>24)-127)<-24?t:n<-14?t+(1024+r>>-14-n):15<n?31744+t:t+(15+n<<10)+r);return i}function Je(e){return Array.isArray(e)||St(e)}function ne(e){return!(e&e-1||!e)}var X=3553,re=36193,ie=5126,oe=[9984,9986,9985,9987],ae=[0,6409,6410,6407,6408],J={};function I(e){return"[object "+e+"]"}J[6409]=J[6406]=J[6402]=1,J[34041]=J[6410]=2,J[6407]=J[35904]=3,J[6408]=J[35906]=4;var L=I("HTMLCanvasElement"),j=I("OffscreenCanvas"),se=I("CanvasRenderingContext2D"),le=I("ImageBitmap"),ue=I("HTMLImageElement"),ce=I("HTMLVideoElement"),D=Object.keys(M).concat([L,j,se,le,ue,ce]),B=[],u=(B[5121]=1,B[ie]=4,B[re]=2,B[5123]=2,B[5125]=4,[]);function fe(e){return Array.isArray(e)&&(0===e.length||"number"==typeof e[0])}function he(e){return!!Array.isArray(e)&&!(0===e.length||!Je(e[0]))}function $(e){return Object.prototype.toString.call(e)}function de(e){return $(e)===L}function pe(e){return $(e)===j}function ye(e){var t;if(e)return t=$(e),0<=D.indexOf(t)||fe(e)||he(e)||Mt(e)}function me(e){return 0|M[Object.prototype.toString.call(e)]}function ge(e,t){return Et.allocType(e.type===re?ie:e.type,t)}function ve(e,t){e.type===re?(e.data=te(t),Et.freeType(t)):e.data=t}function be(e,t,n,r,i,o){var a=void 0!==u[e]?u[e]:J[e]*B[t];if(o&&(a*=6),i){for(var s=0,l=n;1<=l;)s+=a*l*l,l/=2;return s}return a*n*r}function Ut(p,a,P,y,k,u,d){var s={"don't care":4352,"dont care":4352,nice:4354,fast:4353},l={repeat:10497,clamp:33071,mirror:33648},c={nearest:9728,linear:9729},f=At({mipmap:9987,"nearest mipmap nearest":9984,"linear mipmap nearest":9985,"nearest mipmap linear":9986,"linear mipmap linear":9987},c),h={none:0,browser:37444},m={uint8:5121,rgba4:32819,rgb565:33635,"rgb5 a1":32820},g={alpha:6406,luminance:6409,"luminance alpha":6410,rgb:6407,rgba:6408,rgba4:32854,"rgb5 a1":32855,rgb565:36194},v={},o=(a.ext_srgb&&(g.srgb=35904,g.srgba=35906),a.oes_texture_float&&(m.float32=m.float=ie),a.oes_texture_half_float&&(m.float16=m["half float"]=re),a.webgl_depth_texture&&(At(g,{depth:6402,"depth stencil":34041}),At(m,{uint16:5123,uint32:5125,"depth stencil":34042})),a.webgl_compressed_texture_s3tc&&At(v,{"rgb s3tc dxt1":33776,"rgba s3tc dxt1":33777,"rgba s3tc dxt3":33778,"rgba s3tc dxt5":33779}),a.webgl_compressed_texture_atc&&At(v,{"rgb atc":35986,"rgba atc explicit alpha":35987,"rgba atc interpolated alpha":34798}),a.webgl_compressed_texture_pvrtc&&At(v,{"rgb pvrtc 4bppv1":35840,"rgb pvrtc 2bppv1":35841,"rgba pvrtc 4bppv1":35842,"rgba pvrtc 2bppv1":35843}),a.webgl_compressed_texture_etc1&&(v["rgb etc1"]=36196),Array.prototype.slice.call(p.getParameter(34467))),e=(Object.keys(v).forEach(function(e){var t=v[e];0<=o.indexOf(t)&&(g[e]=t)}),Object.keys(g)),b=(P.textureFormats=e,[]),_=(Object.keys(g).forEach(function(e){var t=g[e];b[t]=e}),[]),x=(Object.keys(m).forEach(function(e){var t=m[e];_[t]=e}),[]),w=(Object.keys(c).forEach(function(e){var t=c[e];x[t]=e}),[]),A=(Object.keys(f).forEach(function(e){var t=f[e];w[t]=e}),[]),z=(Object.keys(l).forEach(function(e){var t=l[e];A[t]=e}),e.reduce(function(e,t){var n=g[t];return 6409===n||6406===n||6409===n||6410===n||6402===n||34041===n||a.ext_srgb&&(35904===n||35906===n)?e[n]=n:32855===n||0<=t.indexOf("rgba")?e[n]=6408:e[n]=6407,e},{}));function n(){this.internalformat=6408,this.format=6408,this.type=5121,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=37444,this.width=0,this.height=0,this.channels=0}function S(e,t){e.internalformat=t.internalformat,e.format=t.format,e.type=t.type,e.compressed=t.compressed,e.premultiplyAlpha=t.premultiplyAlpha,e.flipY=t.flipY,e.unpackAlignment=t.unpackAlignment,e.colorSpace=t.colorSpace,e.width=t.width,e.height=t.height,e.channels=t.channels}function T(e,t){var n,r,i,o;"object"===Bn(t)&&t&&("premultiplyAlpha"in t&&(Ct.type(t.premultiplyAlpha,"boolean","invalid premultiplyAlpha"),e.premultiplyAlpha=t.premultiplyAlpha),"flipY"in t&&(Ct.type(t.flipY,"boolean","invalid texture flip"),e.flipY=t.flipY),"alignment"in t&&(Ct.oneOf(t.alignment,[1,2,4,8],"invalid texture unpack alignment"),e.unpackAlignment=t.alignment),"colorSpace"in t&&(Ct.parameter(t.colorSpace,h,"invalid colorSpace"),e.colorSpace=h[t.colorSpace]),"type"in t&&(r=t.type,Ct(a.oes_texture_float||!("float"===r||"float32"===r),"you must enable the OES_texture_float extension in order to use floating point textures."),Ct(a.oes_texture_half_float||!("half float"===r||"float16"===r),"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures."),Ct(a.webgl_depth_texture||!("uint16"===r||"uint32"===r||"depth stencil"===r),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),Ct.parameter(r,m,"invalid texture type"),e.type=m[r]),r=e.width,i=e.height,o=e.channels,n=!1,"shape"in t?(Ct(Array.isArray(t.shape)&&2<=t.shape.length,"shape must be an array"),r=t.shape[0],i=t.shape[1],3===t.shape.length&&(o=t.shape[2],Ct(0<o&&o<=4,"invalid number of channels"),n=!0),Ct(0<=r&&r<=P.maxTextureSize,"invalid width"),Ct(0<=i&&i<=P.maxTextureSize,"invalid height")):("radius"in t&&(r=i=t.radius,Ct(0<=r&&r<=P.maxTextureSize,"invalid radius")),"width"in t&&(r=t.width,Ct(0<=r&&r<=P.maxTextureSize,"invalid width")),"height"in t&&(i=t.height,Ct(0<=i&&i<=P.maxTextureSize,"invalid height")),"channels"in t&&(o=t.channels,Ct(0<o&&o<=4,"invalid number of channels"),n=!0)),e.width=0|r,e.height=0|i,e.channels=0|o,r=!1,"format"in t&&(i=t.format,Ct(a.webgl_depth_texture||!("depth"===i||"depth stencil"===i),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),Ct.parameter(i,g,"invalid texture format"),o=e.internalformat=g[i],e.format=z[o],i in m&&("type"in t||(e.type=m[i])),i in v&&(e.compressed=!0),r=!0),!n&&r?e.channels=J[e.format]:n&&!r?e.channels!==ae[e.format]&&(e.format=e.internalformat=ae[e.channels]):r&&n&&Ct(e.channels===J[e.format],"number of channels inconsistent with specified format"))}function F(e){p.pixelStorei(37440,e.flipY),p.pixelStorei(37441,e.premultiplyAlpha),p.pixelStorei(37443,e.colorSpace),p.pixelStorei(3317,e.unpackAlignment)}function t(){n.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function C(e,t){var n=null;if(ye(t)?n=t:t&&(Ct.type(t,"object","invalid pixel data type"),T(e,t),"x"in t&&(e.xOffset=0|t.x),"y"in t&&(e.yOffset=0|t.y),ye(t.data))&&(n=t.data),Ct(!e.compressed||n instanceof Uint8Array,"compressed texture data must be stored in a uint8array"),t.copy){Ct(!n,"can not specify copy and data field for the same texture");var r=k.viewportWidth,i=k.viewportHeight;e.width=e.width||r-e.xOffset,e.height=e.height||i-e.yOffset,e.needsCopy=!0,Ct(0<=e.xOffset&&e.xOffset<r&&0<=e.yOffset&&e.yOffset<i&&0<e.width&&e.width<=r&&0<e.height&&e.height<=i,"copy texture read out of bounds")}else if(n){if(St(n))e.channels=e.channels||4,e.data=n,"type"in t||5121!==e.type||(e.type=me(n));else if(fe(n)){e.channels=e.channels||4;{var o=e;var a=n;var s=a.length;switch(o.type){case 5121:case 5123:case 5125:case ie:var l=Et.allocType(o.type,s);l.set(a),o.data=l;break;case re:o.data=te(a);break;default:Ct.raise("unsupported texture type, must specify a typed array")}}e.alignment=1,e.needsFree=!0}else if(Mt(n)){r=n.data;Array.isArray(r)||5121!==e.type||(e.type=me(r));var i=n.shape,t=n.stride,u=3===i.length?(C=i[2],t[2]):(Ct(2===i.length,"invalid ndarray pixel data, must be 2 or 3D"),C=1),c=i[0],i=i[1],f=t[0],t=t[1];e.alignment=1,e.width=c,e.height=i,e.channels=C,e.format=e.internalformat=ae[C],e.needsFree=!0;for(var c=e,h=r,d=f,p=t,y=u,m=n.offset,g=c.width,v=c.height,b=c.channels,_=ge(c,g*v*b),x=0,w=0;w<v;++w)for(var A=0;A<g;++A)for(var S=0;S<b;++S)_[x++]=h[d*A+p*w+y*S+m];ve(c,_)}else if(de(n)||pe(n)||$(n)===se)de(n)||pe(n)?e.element=n:e.element=n.canvas,e.width=e.element.width,e.height=e.element.height,e.channels=4;else if($(n)===le)e.element=n,e.width=n.width,e.height=n.height,e.channels=4;else if($(n)===ue)e.element=n,e.width=n.naturalWidth,e.height=n.naturalHeight,e.channels=4;else if($(n)===ce)e.element=n,e.width=n.videoWidth,e.height=n.videoHeight,e.channels=4;else if(he(n)){for(var i=e.width||n[0].length,C=e.height||n.length,r=e.channels,r=Je(n[0][0])?r||n[0][0].length:r||1,O=Z(n),E=1,M=0;M<O.length;++M)E*=O[M];f=ge(e,E);ee(n,O,"",f),ve(e,f),e.alignment=1,e.width=i,e.height=C,e.channels=r,e.format=e.internalformat=ae[r],e.needsFree=!0}}else e.width=e.width||1,e.height=e.height||1,e.channels=e.channels||4;e.type===ie?Ct(0<=P.extensions.indexOf("oes_texture_float"),"oes_texture_float extension not enabled"):e.type===re&&Ct(0<=P.extensions.indexOf("oes_texture_half_float"),"oes_texture_half_float extension not enabled")}function V(e,t,n,r,i){var o=e.element,a=e.data,s=e.internalformat,l=e.format,u=e.type,c=e.width,f=e.height;F(e),o?p.texSubImage2D(t,i,n,r,l,u,o):e.compressed?p.compressedTexSubImage2D(t,i,n,r,s,c,f,a):e.needsCopy?(y(),p.copyTexSubImage2D(t,i,n,r,e.xOffset,e.yOffset,c,f)):p.texSubImage2D(t,i,n,r,c,f,l,u,a)}var H=[];function O(){return H.pop()||new t}function E(e){e.needsFree&&Et.freeType(e.data),t.call(e),H.push(e)}function M(e,t,n){var r=e.images[0]=O();e.mipmask=1,r.width=e.width=t,r.height=e.height=n,r.channels=e.channels=4}function I(e,t){var n=null;if(ye(t))S(n=e.images[0]=O(),e),C(n,t),e.mipmask=1;else if(T(e,t),Array.isArray(t.mipmap))for(var r=t.mipmap,i=0;i<r.length;++i)S(n=e.images[i]=O(),e),n.width>>=i,n.height>>=i,C(n,r[i]),e.mipmask|=1<<i;else S(n=e.images[0]=O(),e),C(n,t),e.mipmask=1;S(e,e.images[0]),!e.compressed||33776!==e.internalformat&&33777!==e.internalformat&&33778!==e.internalformat&&33779!==e.internalformat||Ct(e.width%4==0&&e.height%4==0,"for compressed texture formats, mipmap level 0 must have width and height that are a multiple of 4")}function Y(e,t){for(var n,r,i,o,a,s,l,u,c,f,h=e.images,d=0;d<h.length;++d){if(!h[d])return;n=h[d],r=t,i=d,f=c=u=l=s=a=o=void 0,o=n.element,a=n.data,s=n.internalformat,l=n.format,u=n.type,c=n.width,f=n.height,F(n),o?p.texImage2D(r,i,l,l,u,o):n.compressed?p.compressedTexImage2D(r,i,s,c,f,0,a):n.needsCopy?(y(),p.copyTexImage2D(r,i,l,n.xOffset,n.yOffset,c,f,0)):p.texImage2D(r,i,l,c,f,0,l,u,a||null)}}var G=[];function U(){var e=G.pop()||new function(){n.call(this),this.genMipmaps=!1,this.mipmapHint=4352,this.mipmask=0,this.images=Array(16)};n.call(e);for(var t=e.mipmask=0;t<16;++t)e.images[t]=null;return e}function Q(e){for(var t=e.images,n=0;n<t.length;++n)t[n]&&E(t[n]),t[n]=null;G.push(e)}function L(){this.minFilter=9728,this.magFilter=9728,this.wrapS=33071,this.wrapT=33071,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=4352}function W(e,t){"min"in t&&(r=t.min,Ct.parameter(r,f),e.minFilter=f[r],0<=oe.indexOf(e.minFilter))&&!("faces"in t)&&(e.genMipmaps=!0),"mag"in t&&(r=t.mag,Ct.parameter(r,c),e.magFilter=c[r]);var n,r=e.wrapS,i=e.wrapT;if("wrap"in t?"string"==typeof(n=t.wrap)?(Ct.parameter(n,l),r=i=l[n]):Array.isArray(n)&&(Ct.parameter(n[0],l),Ct.parameter(n[1],l),r=l[n[0]],i=l[n[1]]):("wrapS"in t&&(n=t.wrapS,Ct.parameter(n,l),r=l[n]),"wrapT"in t&&(n=t.wrapT,Ct.parameter(n,l),i=l[n])),e.wrapS=r,e.wrapT=i,"anisotropic"in t&&(n=t.anisotropic,Ct("number"==typeof n&&1<=n&&n<=P.maxAnisotropic,"aniso samples must be between 1 and "),e.anisotropic=t.anisotropic),"mipmap"in t){var o=!1;switch(Bn(t.mipmap)){case"string":Ct.parameter(t.mipmap,s,"invalid mipmap hint"),e.mipmapHint=s[t.mipmap],o=e.genMipmaps=!0;break;case"boolean":o=e.genMipmaps=t.mipmap;break;case"object":Ct(Array.isArray(t.mipmap),"invalid mipmap type"),o=!(e.genMipmaps=!1);break;default:Ct.raise("invalid mipmap type")}!o||"min"in t||(e.minFilter=9984)}}function j(e,t){p.texParameteri(t,10241,e.minFilter),p.texParameteri(t,10240,e.magFilter),p.texParameteri(t,10242,e.wrapS),p.texParameteri(t,10243,e.wrapT),a.ext_texture_filter_anisotropic&&p.texParameteri(t,34046,e.anisotropic),e.genMipmaps&&(p.hint(33170,e.mipmapHint),p.generateMipmap(t))}var q=0,D={},r=P.maxTextureUnits,i=Array(r).map(function(){return null});function B(e){n.call(this),this.mipmask=0,this.internalformat=6408,this.id=q++,this.refCount=1,this.target=e,this.texture=p.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new L,d.profile&&(this.stats={size:0})}function R(e){p.activeTexture(33984),p.bindTexture(e.target,e.texture)}function N(){var e=i[0];e?p.bindTexture(e.target,e.texture):p.bindTexture(X,null)}function K(e){var t=e.texture,n=(Ct(t,"must not double destroy texture"),e.unit),r=e.target;0<=n&&(p.activeTexture(33984+n),p.bindTexture(r,null),i[n]=null),p.deleteTexture(t),e.texture=null,e.params=null,e.pixels=null,e.refCount=0,delete D[e.id],u.textureCount--}return At(B.prototype,{bind:function(){this.bindCount+=1;var e=this.unit;if(e<0){for(var t=0;t<r;++t){var n=i[t];if(n){if(0<n.bindCount)continue;n.unit=-1}i[t]=this,e=t;break}r<=e&&Ct.raise("insufficient number of texture units"),d.profile&&u.maxTextureUnits<e+1&&(u.maxTextureUnits=e+1),this.unit=e,p.activeTexture(33984+e),p.bindTexture(this.target,this.texture)}return e},unbind:function(){--this.bindCount},decRef:function(){--this.refCount<=0&&K(this)}}),d.profile&&(u.getTotalTextureSize=function(){var t=0;return Object.keys(D).forEach(function(e){t+=D[e].stats.size}),t}),{create2D:function(e,t){var s=new B(X);function l(e,t){var n=s.texInfo,r=(L.call(n),U());return"number"==typeof e?M(r,0|e,"number"==typeof t?0|t:0|e):e?(Ct.type(e,"object","invalid arguments to regl.texture"),W(n,e),I(r,e)):M(r,1,1),n.genMipmaps&&(r.mipmask=(r.width<<1)-1),s.mipmask=r.mipmask,S(s,r),Ct.texture2D(n,r,P),s.internalformat=r.internalformat,l.width=r.width,l.height=r.height,R(s),Y(r,X),j(n,X),N(),Q(r),d.profile&&(s.stats.size=be(s.internalformat,s.type,r.width,r.height,n.genMipmaps,!1)),l.format=b[s.internalformat],l.type=_[s.type],l.mag=x[n.magFilter],l.min=w[n.minFilter],l.wrapS=A[n.wrapS],l.wrapT=A[n.wrapT],l}return D[s.id]=s,u.textureCount++,l(e,t),l.subimage=function(e,t,n,r){Ct(!!e,"must specify image data");var t=0|t,n=0|n,r=0|r,i=O();return S(i,s),i.width=0,i.height=0,C(i,e),i.width=i.width||(s.width>>r)-t,i.height=i.height||(s.height>>r)-n,Ct(s.type===i.type&&s.format===i.format&&s.internalformat===i.internalformat,"incompatible format for texture.subimage"),Ct(0<=t&&0<=n&&t+i.width<=s.width&&n+i.height<=s.height,"texture.subimage write out of bounds"),Ct(s.mipmask&1<<r,"missing mipmap data"),Ct(i.data||i.element||i.needsCopy,"missing image data"),R(s),V(i,X,t,n,r),N(),E(i),l},l.resize=function(e,t){var n=0|e,r=0|t||n;if(n!==s.width||r!==s.height){l.width=s.width=n,l.height=s.height=r,R(s);for(var i=0;s.mipmask>>i;++i){var o=n>>i,a=r>>i;if(!o||!a)break;p.texImage2D(X,i,s.format,o,a,0,s.format,s.type,null)}N(),d.profile&&(s.stats.size=be(s.internalformat,s.type,n,r,!1,!1))}return l},l._reglType="texture2d",l._texture=s,d.profile&&(l.stats=s.stats),l.destroy=function(){s.decRef()},l},createCube:function(e,t,n,r,i,o){var c=new B(34067),f=(D[c.id]=c,u.cubeCount++,new Array(6));function h(e,t,n,r,i,o){var a=c.texInfo;for(L.call(a),u=0;u<6;++u)f[u]=U();if("number"!=typeof e&&e)if("object"===Bn(e))if(t)I(f[0],e),I(f[1],t),I(f[2],n),I(f[3],r),I(f[4],i),I(f[5],o);else if(W(a,e),T(c,e),"faces"in e){var s=e.faces;for(Ct(Array.isArray(s)&&6===s.length,"cube faces must be a length 6 array"),u=0;u<6;++u)Ct("object"===Bn(s[u])&&!!s[u],"invalid input for cube map face"),S(f[u],c),I(f[u],s[u])}else for(u=0;u<6;++u)I(f[u],e);else Ct.raise("invalid arguments to cube map");else for(var l=0|e||1,u=0;u<6;++u)M(f[u],l,l);for(S(c,f[0]),P.npotTextureCube||Ct(ne(c.width)&&ne(c.height),"your browser does not support non power or two texture dimensions"),a.genMipmaps?c.mipmask=(f[0].width<<1)-1:c.mipmask=f[0].mipmask,Ct.textureCube(c,a,f,P),c.internalformat=f[0].internalformat,h.width=f[0].width,h.height=f[0].height,R(c),u=0;u<6;++u)Y(f[u],34069+u);for(j(a,34067),N(),d.profile&&(c.stats.size=be(c.internalformat,c.type,h.width,h.height,a.genMipmaps,!0)),h.format=b[c.internalformat],h.type=_[c.type],h.mag=x[a.magFilter],h.min=w[a.minFilter],h.wrapS=A[a.wrapS],h.wrapT=A[a.wrapT],u=0;u<6;++u)Q(f[u]);return h}return h(e,t,n,r,i,o),h.subimage=function(e,t,n,r,i){Ct(!!t,"must specify image data"),Ct("number"==typeof e&&e===(0|e)&&0<=e&&e<6,"invalid face");var n=0|n,r=0|r,i=0|i,o=O();return S(o,c),o.width=0,o.height=0,C(o,t),o.width=o.width||(c.width>>i)-n,o.height=o.height||(c.height>>i)-r,Ct(c.type===o.type&&c.format===o.format&&c.internalformat===o.internalformat,"incompatible format for texture.subimage"),Ct(0<=n&&0<=r&&n+o.width<=c.width&&r+o.height<=c.height,"texture.subimage write out of bounds"),Ct(c.mipmask&1<<i,"missing mipmap data"),Ct(o.data||o.element||o.needsCopy,"missing image data"),R(c),V(o,34069+e,n,r,i),N(),E(o),h},h.resize=function(e){var t=0|e;if(t!==c.width){h.width=c.width=t,h.height=c.height=t,R(c);for(var n=0;n<6;++n)for(var r=0;c.mipmask>>r;++r)p.texImage2D(34069+n,r,c.format,t>>r,t>>r,0,c.format,c.type,null);return N(),d.profile&&(c.stats.size=be(c.internalformat,c.type,h.width,h.height,!1,!0)),h}},h._reglType="textureCube",h._texture=c,d.profile&&(h.stats=c.stats),h.destroy=function(){c.decRef()},h},clear:function(){for(var e=0;e<r;++e)p.activeTexture(33984+e),p.bindTexture(X,null),i[e]=null;Pt(D).forEach(K),u.cubeCount=0,u.textureCount=0},getTexture:function(e){return null},restore:function(){for(var e=0;e<r;++e){var t=i[e];t&&(t.bindCount=0,t.unit=-1,i[e]=null)}Pt(D).forEach(function(e){e.texture=p.createTexture(),p.bindTexture(e.target,e.texture);for(var t=0;t<32;++t)if(0!=(e.mipmask&1<<t))if(e.target===X)p.texImage2D(X,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);else for(var n=0;n<6;++n)p.texImage2D(34069+n,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);j(e.texInfo,e.target)})},refresh:function(){for(var e=0;e<r;++e){var t=i[e];t&&(t.bindCount=0,t.unit=-1,i[e]=null),p.activeTexture(33984+e),p.bindTexture(X,null),p.bindTexture(34067,null)}}}}u[32854]=2,u[32855]=2,u[36194]=2,u[34041]=4,u[33776]=.5,u[33777]=.5,u[33778]=1,u[33779]=1,u[35986]=.5,u[35987]=1,u[34798]=1,u[35840]=.5,u[35841]=.25,u[35842]=.5,u[35843]=.25,u[36196]=.5;var It=36161,a=[];function Qt(e,t,n){return a[e]*t*n}a[32854]=2,a[32855]=2,a[36194]=2,a[33189]=2,a[36168]=1,a[34041]=4,a[35907]=4,a[34836]=16,a[34842]=8,a[34843]=6;var Lt=36160,Wt=[6407,6408],qt=[],Kt=(qt[6408]=4,qt[6407]=3,[]),Xt=(Kt[5121]=1,Kt[5126]=4,Kt[36193]=2,[32854,32855,36194,35907,34842,34843,34836]),Jt={36053:"complete",36054:"incomplete attachment",36057:"incomplete dimensions",36055:"incomplete, missing attachment",36061:"unsupported"};function $t(){this.state=0,this.x=0,this.y=0,this.z=0,this.w=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.offset=0,this.stride=0,this.divisor=0}function Zt(s,l,u,c,f,h,d){function r(e){null===l.next?(Ct(f.preserveDrawingBuffer,'you must create a webgl context with "preserveDrawingBuffer":true in order to read pixels from the drawing buffer'),t=5121):(Ct(null!==l.next.colorAttachments[0].texture,"You cannot read from a renderbuffer"),t=l.next.colorAttachments[0].texture._texture.type,h.oes_texture_float?(Ct(5121===t||5126===t,"Reading from a framebuffer is only allowed for the types 'uint8' and 'float'"),5126===t&&Ct(d.readFloat,"Reading 'float' values is not permitted in your browser. For a fallback, please see: https://www.npmjs.com/package/glsl-read-float")):Ct(5121===t,"Reading from a framebuffer is only allowed for the type 'uint8'"));var t,n=0,r=0,i=c.framebufferWidth,o=c.framebufferHeight,a=null,e=(St(e)?a=e:e&&(Ct.type(e,"object","invalid arguments to regl.read()"),n=0|e.x,r=0|e.y,Ct(0<=n&&n<c.framebufferWidth,"invalid x offset for regl.read"),Ct(0<=r&&r<c.framebufferHeight,"invalid y offset for regl.read"),i=0|(e.width||c.framebufferWidth-n),o=0|(e.height||c.framebufferHeight-r),a=e.data||null),a&&(5121===t?Ct(a instanceof Uint8Array,"buffer must be 'Uint8Array' when reading from a framebuffer of type 'uint8'"):5126===t&&Ct(a instanceof Float32Array,"buffer must be 'Float32Array' when reading from a framebuffer of type 'float'")),Ct(0<i&&i+n<=c.framebufferWidth,"invalid width for read pixels"),Ct(0<o&&o+r<=c.framebufferHeight,"invalid height for read pixels"),u(),i*o*4);return a||(5121===t?a=new Uint8Array(e):5126===t&&(a=a||new Float32Array(e))),Ct.isTypedArray(a,"data buffer for regl.read() must be a typedarray"),Ct(a.byteLength>=e,"data buffer for regl.read() too small"),s.pixelStorei(3333,4),s.readPixels(n,r,i,o,6408,t,a),a}return function(e){return e&&"framebuffer"in e?(t=e,l.setFBO({framebuffer:t.framebuffer},function(){n=r(t)}),n):r(e);var t,n}}function R(e){return Array.prototype.slice.call(e)}function N(e){return R(e).join("")}var ut="xyzw".split(""),z=0,F=1,V=2,H=3,Y=4,G=5,U=6,ct="blend.enable",ft="blend.color",ht="blend.equation",dt="blend.func",pt="depth.enable",yt="depth.func",mt="depth.range",gt="depth.mask",vt="colorMask",bt="cull.enable",_t="frontFace",xt="lineWidth",wt="polygonOffset.enable",en="polygonOffset.offset",tn="sample.alpha",nn="sample.enable",rn="sample.coverage",on="stencil.enable",an="stencil.mask",sn="stencil.func",ln="stencil.opFront",un="stencil.opBack",cn="scissor.enable",fn="scissor.box",$e="viewport",hn="profile",Ze="framebuffer",dn="vert",pn="frag",et="elements",tt="primitive",nt="count",yn="offset",mn="instances",gn=Ze+"Width",vn=Ze+"Height",bn=$e+"Width",_n=$e+"Height",xn="drawingBufferWidth",wn="drawingBufferHeight",An=[dt,ht,sn,ln,un,rn,$e,fn,en],Sn=34962,rt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},Cn=["constant color, constant alpha","one minus constant color, constant alpha","constant color, one minus constant alpha","one minus constant color, one minus constant alpha","constant alpha, constant color","constant alpha, one minus constant color","one minus constant alpha, constant color","one minus constant alpha, one minus constant color"],On={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},it={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},En={frag:35632,vert:35633},Mn={cw:2304,ccw:2305};function Pn(e){return Array.isArray(e)||St(e)||Mt(e)}function kn(e){return e.sort(function(e,t){return e===$e||t!==$e&&e<t?-1:1})}function ot(e,t,n,r){this.thisDep=e,this.contextDep=t,this.propDep=n,this.append=r}function at(e){return e&&!(e.thisDep||e.contextDep||e.propDep)}function st(e){return new ot(!1,!1,!1,e)}function lt(e,t){var n,r=e.type;if(r===z)return new ot(!0,1<=(n=e.data.length),2<=n,t);if(r===Y)return new ot((n=e.data).thisDep,n.contextDep,n.propDep,t);if(r===G)return new ot(!1,!1,!1,t);if(r!==U)return new ot(r===H,r===V,r===F,t);for(var i=!1,o=!1,a=!1,s=0;s<e.data.length;++s){var l,u=e.data[s];u.type===F?a=!0:u.type===V?o=!0:u.type===H?i=!0:u.type===z?(i=!0,1<=(l=u.data)&&(o=!0),2<=l&&(a=!0)):u.type===Y&&(i=i||u.data.thisDep,o=o||u.data.contextDep,a=a||u.data.propDep)}return new ot(i,o,a,t)}var Q=new ot(!1,!1,!1,function(){});function Tn(e,Oe,Ee,Me,Pe,ke,r,Te,o,Ie,Le,a,s,m,l){var je=Ie.Record,De={add:32774,subtract:32778,"reverse subtract":32779},Be=(Ee.ext_blend_minmax&&(De.min=32775,De.max=32776),Ee.angle_instanced_arrays),u=Ee.webgl_draw_buffers,g={dirty:!0,profile:l.profile},i={},Re=[],d={},v={};function Ne(e){return e.replace(".","_")}function t(e,t,n){var r=Ne(e);Re.push(e),i[r]=g[r]=!!n,d[r]=t}function n(e,t,n){var r=Ne(e);Re.push(e),Array.isArray(n)?(g[r]=n.slice(),i[r]=n.slice()):g[r]=i[r]=n,v[r]=t}t("dither",3024),t(ct,3042),n(ft,"blendColor",[0,0,0,0]),n(ht,"blendEquationSeparate",[32774,32774]),n(dt,"blendFuncSeparate",[1,0,1,0]),t(pt,2929,!0),n(yt,"depthFunc",513),n(mt,"depthRange",[0,1]),n(gt,"depthMask",!0),n(vt,vt,[!0,!0,!0,!0]),t(bt,2884),n("cull.face","cullFace",1029),n(_t,_t,2305),n(xt,xt,1),t(wt,32823),n(en,"polygonOffset",[0,0]),t(tn,32926),t(nn,32928),n(rn,"sampleCoverage",[1,!1]),t(on,2960),n(an,"stencilMask",-1),n(sn,"stencilFunc",[519,0,-1]),n(ln,"stencilOpSeparate",[1028,7680,7680,7680]),n(un,"stencilOpSeparate",[1029,7680,7680,7680]),t(cn,3089),n(fn,"scissor",[0,0,e.drawingBufferWidth,e.drawingBufferHeight]),n($e,$e,[0,0,e.drawingBufferWidth,e.drawingBufferHeight]);var b={gl:e,context:s,strings:Oe,next:i,current:g,draw:a,elements:ke,buffer:Pe,shader:Le,attributes:Ie.state,vao:Ie,uniforms:o,framebuffer:Te,extensions:Ee,timer:m,isBufferArgs:Pn},_={primTypes:Gt,compareFuncs:On,blendFuncs:rt,blendEquations:De,stencilOps:it,glTypes:kt,orientationType:Mn},x=(Ct.optional(function(){b.isArrayLike=Je}),u&&(_.backBuffer=[1029],_.drawBuffer=Xe(Me.maxDrawbuffers,function(e){return 0===e?[0]:Xe(e,function(e){return 36064+e})})),0);function ze(){r=0,i=[],o=[],n=u(),s={};var r,i,o,n,s,a={global:n,link:function(e){for(var t=0;t<o.length;++t)if(o[t]===e)return i[t];var n="g"+r++;return i.push(n),o.push(e),n},block:u,proc:function(e,t){var n=[];function r(){var e="a"+n.length;return n.push(e),e}t=t||0;for(var i=0;i<t;++i)r();var o=c(),a=o.toString;return s[e]=At(o,{arg:r,toString:function(){return N(["function(",n.join(),"){",a(),"}"])}})},scope:c,cond:function(){var t=N(arguments),e=c(),n=c(),r=e.toString,i=n.toString;return At(e,{then:function(){return e.apply(e,R(arguments)),this},else:function(){return n.apply(n,R(arguments)),this},toString:function(){var e=(e=i())&&"else{"+e+"}";return N(["if(",t,"){",r(),"}",e])}})},compile:function(){var t=['"use strict";',n,"return {"],e=(Object.keys(s).forEach(function(e){t.push('"',e,'":',s[e].toString(),",")}),t.push("}"),N(t).replace(/;/g,";\n").replace(/}/g,"}\n").replace(/{/g,"{\n"));return Function.apply(null,i.concat(e)).apply(null,o)}},l=a.link,t=a.global;function u(){var t=[],n=[];return At(function(){t.push.apply(t,R(arguments))},{def:function(){var e="v"+r++;return n.push(e),0<arguments.length&&(t.push(e,"="),t.push.apply(t,R(arguments)),t.push(";")),e},toString:function(){return N([0<n.length?"var "+n.join(",")+";":"",N(t)])}})}function c(){var r=u(),n=u(),e=r.toString,t=n.toString;function i(e,t){n(e,t,"=",r.def(e,t),";")}return At(function(){r.apply(r,R(arguments))},{def:r.def,entry:r,exit:n,save:i,set:function(e,t,n){i(e,t),r(e,t,"=",n,";")},toString:function(){return e()+t()}})}a.id=x++,a.batchId="0";var f=l(b),h=a.shared={props:"a0"},d=(Object.keys(b).forEach(function(e){h[e]=t.def(f,".",e)}),Ct.optional(function(){a.CHECK=l(Ct),a.commandStr=Ct.guessCommand(),a.command=l(a.commandStr),a.assert=function(e,t,n){e("if(!(",t,"))",this.CHECK,".commandRaise(",l(n),",",this.command,");")},_.invalidBlendCombinations=Cn}),a.next={}),p=a.current={},y=(Object.keys(v).forEach(function(e){Array.isArray(g[e])&&(d[e]=t.def(h.next,".",e),p[e]=t.def(h.current,".",e))}),a.constants={}),m=(Object.keys(_).forEach(function(e){y[e]=t.def(JSON.stringify(_[e]))}),a.invoke=function(t,e){switch(e.type){case z:var n=["this",h.context,h.props,a.batchId];return t.def(l(e.data),".call(",n.slice(0,Math.max(e.data.length+1,4)),")");case F:return t.def(h.props,e.data);case V:return t.def(h.context,e.data);case H:return t.def("this",e.data);case Y:return e.data.append(a,t),e.data.ref;case G:return e.data.toString();case U:return e.data.map(function(e){return a.invoke(t,e)})}},a.attribCache={},{});return a.scopeAttrib=function(e){var t,e=Oe.id(e);return e in m?m[e]:(t=(t=Ie.scope[e])||(Ie.scope[e]=new je),m[e]=l(t))},a}function Fe(n,r,i){var o=n.shared.context,a=n.scope();Object.keys(i).forEach(function(e){r.save(o,"."+e);var t=i[e].append(n,r);Array.isArray(t)?a(o,".",e,"=[",t.join(),"];"):a(o,".",e,"=",t,";")}),r(a)}function Ve(e,t,n,r){var i,o=e.shared,a=o.gl,s=o.framebuffer;u&&(i=t.def(o.extensions,".webgl_draw_buffers"));var o=e.constants,l=o.drawBuffer,o=o.backBuffer,n=n?n.append(e,t):t.def(s,".next");r||t("if(",n,"!==",s,".cur){"),t("if(",n,"){",a,".bindFramebuffer(",36160,",",n,".framebuffer);"),u&&t(i,".drawBuffersWEBGL(",l,"[",n,".colorAttachments.length]);"),t("}else{",a,".bindFramebuffer(",36160,",null);"),u&&t(i,".drawBuffersWEBGL(",o,");"),t("}",s,".cur=",n,";"),r||t("}")}function He(i,e,o){var t=i.shared,a=t.gl,s=i.current,l=i.next,u=t.current,c=t.next,f=i.cond(u,".dirty");Re.forEach(function(e){var t,n,r,e=Ne(e);e in o.state||(e in l?(t=l[e],n=s[e],r=Xe(g[e].length,function(e){return f.def(t,"[",e,"]")}),f(i.cond(r.map(function(e,t){return e+"!=="+n+"["+t+"]"}).join("||")).then(a,".",v[e],"(",r,");",r.map(function(e,t){return n+"["+t+"]="+e}).join(";"),";"))):(t=f.def(c,".",e),r=i.cond(t,"!==",u,".",e),f(r),e in d?r(i.cond(t).then(a,".enable(",d[e],");").else(a,".disable(",d[e],");"),u,".",e,"=",t,";"):r(a,".",v[e],"(",t,");",u,".",e,"=",t,";")))}),0===Object.keys(o.state).length&&f(u,".dirty=false;"),e(f)}function Ye(o,a,s,l){var e=o.shared,u=o.current,c=e.current,f=e.gl;kn(Object.keys(s)).forEach(function(e){var t,n,r,i=s[e];l&&!l(i)||(t=i.append(o,a),d[e]?(n=d[e],at(i)?a(f,t?".enable(":".disable(",n,");"):a(o.cond(t).then(f,".enable(",n,");").else(f,".disable(",n,");")),a(c,".",e,"=",t,";")):Je(t)?(r=u[e],a(f,".",v[e],"(",t,");",t.map(function(e,t){return r+"["+t+"]="+e}).join(";"),";")):a(f,".",v[e],"(",t,");",c,".",e,"=",t,";"))})}function Ge(e,t){Be&&(e.instancing=t.def(e.shared.extensions,".angle_instanced_arrays"))}function Ue(e,n,t,r,i){var o,a,s,l=e.shared,u=e.stats,c=l.current,f=l.timer,l=t.profile;function h(){return"undefined"==typeof performance?"Date.now()":"performance.now()"}function d(e){e(o=n.def(),"=",h(),";"),"string"==typeof i?e(u,".count+=",i,";"):e(u,".count++;"),m&&(r?e(a=n.def(),"=",f,".getNumPendingQueries();"):e(f,".beginQuery(",u,");"))}function p(e){e(u,".cpuTime+=",h(),"-",o,";"),m&&(r?e(f,".pushScopeStats(",a,",",f,".getNumPendingQueries(),",u,");"):e(f,".endQuery();"))}function y(e){var t=n.def(c,".profile");n(c,".profile=",e,";"),n.exit(c,".profile=",t,";")}if(l){if(at(l))return l.enable?(d(n),p(n.exit),y("true")):y("false");y(s=l.append(e,n))}else s=n.def(c,".profile");t=e.block(),d(t),n("if(",s,"){",t,"}"),l=e.block();p(l),n.exit("if(",s,"){",l,"}")}function f(y,m,g,e,v){var b=y.shared;e.forEach(function(e){var t,n,r,i,o,a,s,l,u,c=e.name,f=g.attributes[c];if(f){if(!v(f))return;t=f.append(y,m)}else{if(!v(Q))return;var h=y.scopeAttrib(c);Ct.optional(function(){y.assert(m,h+".state","missing attribute "+c)}),t={},Object.keys(new je).forEach(function(e){t[e]=m.def(h,".",e)})}function d(){m("if(!",a,".buffer){",i,".enableVertexAttribArray(",o,");}");var e=r.type,t=r.size?m.def(r.size,"||",n):n;m("if(",a,".type!==",e,"||",a,".size!==",t,"||",u.map(function(e){return a+"."+e+"!=="+r[e]}).join("||"),"){",i,".bindBuffer(",Sn,",",s,".buffer);",i,".vertexAttribPointer(",[o,t,e,r.normalized,r.stride,r.offset],");",a,".type=",e,";",a,".size=",t,";",u.map(function(e){return a+"."+e+"="+r[e]+";"}).join(""),"}"),Be&&(e=r.divisor,m("if(",a,".divisor!==",e,"){",y.instancing,".vertexAttribDivisorANGLE(",[o,e],");",a,".divisor=",e,";}"))}function p(){m("if(",a,".buffer){",i,".disableVertexAttribArray(",o,");",a,".buffer=null;","}if(",ut.map(function(e,t){return a+"."+e+"!=="+l[t]}).join("||"),"){",i,".vertexAttrib4f(",o,",",l,");",ut.map(function(e,t){return a+"."+e+"="+l[t]+";"}).join(""),"}")}f=y.link(e),n=function(){switch(e.info.type){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(),r=t,i=b.gl,o=m.def(f,".location"),a=m.def(b.attributes,"[",o,"]"),f=r.state,s=r.buffer,l=[r.x,r.y,r.z,r.w],u=["buffer","normalized","offset","stride"],1===f?d():2===f?p():(m("if(",f,"===",1,"){"),d(),m("}else{"),p(),m("}"))})}function h(i,o,e,t,n){for(var r,a=i.shared,s=a.gl,l=0;l<t.length;++l){var u,c=t[l],f=c.name,h=c.info.type,d=e.uniforms[f],p=i.link(c)+".location";if(d){if(!n(d))continue;if(at(d)){var y=d.value;if(Ct.command(null!=y,'missing uniform "'+f+'"',i.commandStr),35678===h||35680===h){Ct.command("function"==typeof y&&(35678===h&&("texture2d"===y._reglType||"framebuffer"===y._reglType)||35680===h&&("textureCube"===y._reglType||"framebufferCube"===y._reglType)),"invalid texture for uniform "+f,i.commandStr);c=i.link(y._texture||y.color[0]._texture);o(s,".uniform1i(",p,",",c+".bind());"),o.exit(c,".unbind();")}else if(35674===h||35675===h||35676===h){Ct.optional(function(){Ct.command(Je(y),"invalid matrix for uniform "+f,i.commandStr),Ct.command(35674===h&&4===y.length||35675===h&&9===y.length||35676===h&&16===y.length,"invalid length for matrix uniform "+f,i.commandStr)});var c=i.global.def("new Float32Array(["+Array.prototype.slice.call(y)+"])"),m=2;35675===h?m=3:35676===h&&(m=4),o(s,".uniformMatrix",m,"fv(",p,",false,",c,");")}else{switch(h){case 5126:Ct.commandType(y,"number","uniform "+f,i.commandStr),r="1f";break;case 35664:Ct.command(Je(y)&&2===y.length,"uniform "+f,i.commandStr),r="2f";break;case 35665:Ct.command(Je(y)&&3===y.length,"uniform "+f,i.commandStr),r="3f";break;case 35666:Ct.command(Je(y)&&4===y.length,"uniform "+f,i.commandStr),r="4f";break;case 35670:Ct.commandType(y,"boolean","uniform "+f,i.commandStr),r="1i";break;case 5124:Ct.commandType(y,"number","uniform "+f,i.commandStr),r="1i";break;case 35671:case 35667:Ct.command(Je(y)&&2===y.length,"uniform "+f,i.commandStr),r="2i";break;case 35672:case 35668:Ct.command(Je(y)&&3===y.length,"uniform "+f,i.commandStr),r="3i";break;case 35673:case 35669:Ct.command(Je(y)&&4===y.length,"uniform "+f,i.commandStr),r="4i"}o(s,".uniform",r,"(",p,",",Je(y)?Array.prototype.slice.call(y):y,");")}continue}u=d.append(i,o)}else{if(!n(Q))continue;u=o.def(a.uniforms,"[",Oe.id(f),"]")}35678===h?(Ct(!Array.isArray(u),"must specify a scalar prop for textures"),o("if(",u,"&&",u,'._reglType==="framebuffer"){',u,"=",u,".color[0];","}")):35680===h&&(Ct(!Array.isArray(u),"must specify a scalar prop for cube maps"),o("if(",u,"&&",u,'._reglType==="framebufferCube"){',u,"=",u,".color[0];","}")),Ct.optional(function(){function t(e,t){i.assert(o,e,'bad data or missing for uniform "'+f+'". '+t)}function e(e){Ct(!Array.isArray(u),"must not specify an array type for uniform"),t("typeof "+u+'==="'+e+'"',"invalid type, expected "+e)}function n(e){Array.isArray(u)?Ct(u.length===e,"must have length "+e):t(a.isArrayLike+"("+u+")&&"+u+".length==="+e,"invalid vector, should have length "+e,i.commandStr)}function r(e){Ct(!Array.isArray(u),"must not specify a value type"),t("typeof "+u+'==="function"&&'+u+'._reglType==="texture'+(3553===e?"2d":"Cube")+'"',"invalid texture type",i.commandStr)}switch(h){case 5124:e("number");break;case 35667:n(2);break;case 35668:n(3);break;case 35669:n(4);break;case 5126:e("number");break;case 35664:n(2);break;case 35665:n(3);break;case 35666:n(4);break;case 35670:e("boolean");break;case 35671:n(2);break;case 35672:n(3);break;case 35673:case 35674:n(4);break;case 35675:n(9);break;case 35676:n(16);break;case 35678:r(3553);break;case 35680:r(34067)}});var g,v=1;switch(h){case 35678:case 35680:var b=o.def(u,"._texture");o(s,".uniform1i(",p,",",b,".bind());"),o.exit(b,".unbind();");continue;case 5124:case 35670:r="1i";break;case 35667:case 35671:r="2i",v=2;break;case 35668:case 35672:r="3i",v=3;break;case 35669:case 35673:r="4i",v=4;break;case 5126:r="1f";break;case 35664:r="2f",v=2;break;case 35665:r="3f",v=3;break;case 35666:r="4f",v=4;break;case 35674:r="Matrix2fv";break;case 35675:r="Matrix3fv";break;case 35676:r="Matrix4fv"}o(s,".uniform",r,"(",p,","),"M"===r.charAt(0)?(m=Math.pow(h-35674+2,2),g=i.global.def("new Float32Array(",m,")"),Array.isArray(u)?o("false,(",Xe(m,function(e){return g+"["+e+"]="+u[e]}),",",g,")"):o("false,(Array.isArray(",u,")||",u," instanceof Float32Array)?",u,":(",Xe(m,function(e){return g+"["+e+"]="+u+"["+e+"]"}),",",g,")")):1<v?o(Xe(v,function(e){return Array.isArray(u)?u[e]:u+"["+e+"]"})):(Ct(!Array.isArray(u),"uniform value must not be an array"),o(u)),o(");")}}function p(n,r,i,o){var e,t=n.shared,a=t.gl,s=t.draw,l=o.draw,u=(t=l.elements,e=r,(t=t?((t.contextDep&&o.contextDynamic||t.propDep)&&(e=i),t.append(n,e)):e.def(s,".",et))&&e("if("+t+")"+a+".bindBuffer(34963,"+t+".buffer.buffer);"),t);function c(e){var t=l[e];return t?t.contextDep&&o.contextDynamic||t.propDep?t.append(n,i):t.append(n,r):r.def(s,".",e)}var f,h,d,p,y,m=c(tt),g=c(yn),v=(p=l.count,y=r,p?((p.contextDep&&o.contextDynamic||p.propDep)&&(y=i),d=p.append(n,y),Ct.optional(function(){p.MISSING&&n.assert(r,"false","missing vertex count"),p.DYNAMIC&&n.assert(y,d+">=0","missing vertex count")})):(d=y.def(s,".",nt),Ct.optional(function(){n.assert(y,d+">=0","missing vertex count")})),d);if("number"==typeof v){if(0===v)return}else i("if(",v,"){"),i.exit("}");Be&&(f=c(mn),h=n.instancing);var b=u+".type",_=l.elements&&at(l.elements);function x(){function e(){i(h,".drawElementsInstancedANGLE(",[m,v,b,g+"<<(("+b+"-5121)>>1)",f],");")}function t(){i(h,".drawArraysInstancedANGLE(",[m,g,v,f],");")}u?_?e():(i("if(",u,"){"),e(),i("}else{"),t(),i("}")):t()}function w(){function e(){i(a+".drawElements("+[m,v,b,g+"<<(("+b+"-5121)>>1)"]+");")}function t(){i(a+".drawArrays("+[m,g,v]+");")}u?_?e():(i("if(",u,"){"),e(),i("}else{"),t(),i("}")):t()}Be&&("number"!=typeof f||0<=f)?"string"==typeof f?(i("if(",f,">0){"),x(),i("}else if(",f,"<0){"),w(),i("}")):x():w()}function Qe(e,t,n,r,i){var o=ze(),i=o.proc("body",i);return Ct.optional(function(){o.commandStr=t.commandStr,o.command=o.link(t.commandStr)}),Be&&(o.instancing=i.def(o.shared.extensions,".angle_instanced_arrays")),e(o,i,n,r),o.compile().body}function qe(e,t,n,r){Ge(e,t),n.useVAO?n.drawVAO?t(e.shared.vao,".setVAO(",n.drawVAO.append(e,t),");"):t(e.shared.vao,".setVAO(",e.shared.vao,".targetVAO);"):(t(e.shared.vao,".setVAO(null);"),f(e,t,n,r.attributes,function(){return 1})),h(e,t,n,r.uniforms,function(){return 1}),p(e,t,t,n)}function y(e,t,n,r){function i(){return!0}e.batchId="a1",Ge(e,t),f(e,t,n,r.attributes,i),h(e,t,n,r.uniforms,i),p(e,t,t,n)}function We(t,e,n,r){Ge(t,e);var i=n.contextDep,o=e.def(),a=e.def(),s=(t.shared.props=a,t.batchId=o,t.scope()),l=t.scope();function u(e){return e.contextDep&&i||e.propDep}function c(e){return!u(e)}e(s.entry,"for(",o,"=0;",o,"<","a1",";++",o,"){",a,"=","a0","[",o,"];",l,"}",s.exit),n.needsContext&&Fe(t,l,n.context),n.needsFramebuffer&&Ve(t,l,n.framebuffer),Ye(t,l,n.state,u),n.profile&&u(n.profile)&&Ue(t,l,n,!1,!0),r?(n.useVAO?n.drawVAO?u(n.drawVAO)?l(t.shared.vao,".setVAO(",n.drawVAO.append(t,l),");"):s(t.shared.vao,".setVAO(",n.drawVAO.append(t,s),");"):s(t.shared.vao,".setVAO(",t.shared.vao,".targetVAO);"):(s(t.shared.vao,".setVAO(null);"),f(t,s,n,r.attributes,c),f(t,l,n,r.attributes,u)),h(t,s,n,r.uniforms,c),h(t,l,n,r.uniforms,u),p(t,s,l,n)):(e=t.global.def("{}"),a=n.shader.progVar.append(t,l),r=l.def(a,".id"),s=l.def(e,"[",r,"]"),l(t.shared.gl,".useProgram(",a,".program);","if(!",s,"){",s,"=",e,"[",r,"]=",t.link(function(e){return Qe(y,t,n,e,2)}),"(",a,");}",s,".call(this,a0[",o,"],",o,");"))}function Ke(r,e,t){var i,o,a,s,l,u,c=e.static[t];c&&function(e){if("object"===Bn(e)&&!Je(e))for(var t=Object.keys(e),n=0;n<t.length;++n)if(Ot.isDynamic(e[t[n]]))return 1}(c)&&(i=r.global,o=Object.keys(c),l=s=a=!1,u=r.global.def("{}"),o.forEach(function(e){var t=c[e];if(Ot.isDynamic(t)){var n=lt(t="function"==typeof t?c[e]=Ot.unbox(t):t,null);a=a||n.thisDep,l=l||n.propDep,s=s||n.contextDep}else{switch(i(u,".",e,"="),Bn(t)){case"number":i(t);break;case"string":i('"',t,'"');break;case"object":Array.isArray(t)&&i("[",t.join(),"]");break;default:i(r.link(t))}i(";")}}),e.dynamic[t]=new Ot.DynamicVariable(Y,{thisDep:a,contextDep:s,propDep:l,ref:u,append:function(n,r){o.forEach(function(e){var t=c[e];Ot.isDynamic(t)&&(t=n.invoke(r,t),r(u,".",e,"=",t,";"))})}}),delete e.static[t])}return{next:i,current:g,procs:function(){var a=ze(),s=a.proc("poll"),l=a.proc("refresh"),u=a.block();s(u),l(u);var e,t=a.shared,c=t.gl,f=t.next,h=t.current;u(h,".dirty=false;"),Ve(a,s),Ve(a,l,null,!0),Be&&(e=a.link(Be)),Ee.oes_vertex_array_object&&l(a.link(Ee.oes_vertex_array_object),".bindVertexArrayOES(null);");for(var n=0;n<Me.maxAttributes;++n){var r=l.def(t.attributes,"[",n,"]"),i=a.cond(r,".buffer");i.then(c,".enableVertexAttribArray(",n,");",c,".bindBuffer(",Sn,",",r,".buffer.buffer);",c,".vertexAttribPointer(",n,",",r,".size,",r,".type,",r,".normalized,",r,".stride,",r,".offset);").else(c,".disableVertexAttribArray(",n,");",c,".vertexAttrib4f(",n,",",r,".x,",r,".y,",r,".z,",r,".w);",r,".buffer=null;"),l(i),Be&&l(e,".vertexAttribDivisorANGLE(",n,",",r,".divisor);")}return l(a.shared.vao,".currentVAO=null;",a.shared.vao,".setVAO(",a.shared.vao,".targetVAO);"),Object.keys(d).forEach(function(e){var t=d[e],n=u.def(f,".",e),r=a.block();r("if(",n,"){",c,".enable(",t,")}else{",c,".disable(",t,")}",h,".",e,"=",n,";"),l(r),s("if(",n,"!==",h,".",e,"){",r,"}")}),Object.keys(v).forEach(function(e){var t,n,r=v[e],i=g[e],o=a.block();o(c,".",r,"("),Je(i)?(r=i.length,t=a.global.def(f,".",e),n=a.global.def(h,".",e),o(Xe(r,function(e){return t+"["+e+"]"}),");",Xe(r,function(e){return n+"["+e+"]="+t+"["+e+"];"}).join("")),s("if(",Xe(r,function(e){return t+"["+e+"]!=="+n+"["+e+"]"}).join("||"),"){",o,"}")):(t=u.def(f,".",e),n=u.def(h,".",e),o(t,");",h,".",e,"=",t,";"),s("if(",t,"!==",n,"){",o,"}")),l(o)}),a.compile()}(),compile:function(B,R,e,t,n){var a,r,i,N,z,o,s,l,c,F,V,f,u,h,H,d,p,y,Y,G,U,Q,W,q,m,g,K,X,J,$,v,Z,ee,te,ne,re,ie,oe,b,ae,se,le,ue,ce,fe,he,_,de,pe,ye,x,me,ge,ve,w,A,S,C,O,E,M,P,k,T,I,L,j,D=ze(),be=(D.stats=D.link(n),Object.keys(R.static).forEach(function(e){Ke(D,R,e)}),An.forEach(function(e){Ke(D,B,e)}),r=R,n=e,e=t,i=D,ee=(a=B).static,te=a.dynamic,Ct.optional(function(){var t=[Ze,dn,pn,et,tt,yn,nt,mn,hn,"vao"].concat(Re);function e(e){Object.keys(e).forEach(function(e){Ct.command(0<=t.indexOf(e),'unknown parameter "'+e+'"',i.commandStr)})}e(ee),e(te)}),t=function(e){var t=a.static;if("string"==typeof t.frag&&"string"==typeof t.vert){if(0<Object.keys(e.dynamic).length)return null;var n=e.static,r=Object.keys(n);if(0<r.length&&"number"==typeof n[r[0]]){for(var i=[],o=0;o<r.length;++o)Ct("number"==typeof n[r[o]],"must specify all vertex attribute locations when using vaos"),i.push([0|n[r[o]],r[o]]);return i}}return null}(r),S=a.static,j=a.dynamic,S=Ze in S?(v=S[Ze])?(v=Te.getFramebuffer(v),Ct.command(v,"invalid framebuffer object"),st(function(e,t){var n=e.link(v),e=e.shared,e=(t.set(e.framebuffer,".next",n),e.context);return t.set(e,"."+gn,n+".width"),t.set(e,"."+vn,n+".height"),n})):st(function(e,t){e=e.shared,t.set(e.framebuffer,".next","null"),e=e.context;return t.set(e,"."+gn,e+"."+xn),t.set(e,"."+vn,e+"."+wn),"null"}):Ze in j?lt(Z=j[Ze],function(e,t){var n=e.invoke(t,Z),r=e.shared,i=r.framebuffer,o=t.def(i,".getFramebuffer(",n,")"),i=(Ct.optional(function(){e.assert(t,"!"+n+"||"+o,"invalid framebuffer object")}),t.set(i,".next",o),r.context);return t.set(i,"."+gn,o+"?"+o+".width:"+i+"."+xn),t.set(i,"."+vn,o+"?"+o+".height:"+i+"."+wn),o}):null,g=S,K=i,X=a.static,J=a.dynamic,ne={viewport:j=(j=we($e))?new ot(($=j).thisDep,j.contextDep,j.propDep,function(e,t){var n=$.append(e,t),e=e.shared.context;return t.set(e,"."+bn,n[2]),t.set(e,"."+_n,n[3]),n}):j,scissor_box:we(fn)},u=i,d=a.static,p=a.dynamic,y=et in d?(Pn(h=d[et])?h=ke.getElements(ke.create(h,!0)):h&&(h=ke.getElements(h),Ct.command(h,"invalid elements",u.commandStr)),(m=st(function(e,t){var n;return h?(n=e.link(h),e.ELEMENTS=n):e.ELEMENTS=null})).value=h,m):et in p?lt(H=p[et],function(e,t){var n=e.shared,r=n.isBufferArgs,n=n.elements,i=e.invoke(t,H),o=t.def("null"),r=t.def(r,"(",i,")"),a=e.cond(r).then(o,"=",n,".createStream(",i,");").else(o,"=",n,".getElements(",i,");");return Ct.optional(function(){e.assert(a.else,"!"+i+"||"+o,"invalid elements")}),t.entry(a),t.exit(e.cond(r).then(n,".destroyStream(",o,");")),e.ELEMENTS=o}):null,m=xe(yn,!0),j={elements:y,primitive:tt in d?(W=d[tt],Ct.commandParameter(W,Gt,"invalid primitve",u.commandStr),st(function(e,t){return Gt[W]})):tt in p?lt(q=p[tt],function(e,t){var n=e.constants.primTypes,r=e.invoke(t,q);return Ct.optional(function(){e.assert(t,r+" in "+n,"invalid primitive, must be one of "+Object.keys(Gt))}),t.def(n,"[",r,"]")}):y?at(y)?y.value?st(function(e,t){return t.def(e.ELEMENTS,".primType")}):st(function(){return 4}):new ot(y.thisDep,y.contextDep,y.propDep,function(e,t){e=e.ELEMENTS;return t.def(e,"?",e,".primType:",4)}):null,count:nt in d?(Y=0|d[nt],Ct.command("number"==typeof Y&&0<=Y,"invalid vertex count",u.commandStr),st(function(){return Y})):nt in p?lt(G=p[nt],function(e,t){var n=e.invoke(t,G);return Ct.optional(function(){e.assert(t,"typeof "+n+'==="number"&&'+n+">=0&&"+n+"===("+n+"|0)","invalid vertex count")}),n}):y?at(y)?y?m?new ot(m.thisDep,m.contextDep,m.propDep,function(e,t){var n=t.def(e.ELEMENTS,".vertCount-",e.OFFSET);return Ct.optional(function(){e.assert(t,n+">=0","invalid vertex offset/element buffer too small")}),n}):st(function(e,t){return t.def(e.ELEMENTS,".vertCount")}):(U=st(function(){return-1}),Ct.optional(function(){U.MISSING=!0}),U):(Q=new ot(y.thisDep||m.thisDep,y.contextDep||m.contextDep,y.propDep||m.propDep,function(e,t){var n=e.ELEMENTS;return e.OFFSET?t.def(n,"?",n,".vertCount-",e.OFFSET,":-1"):t.def(n,"?",n,".vertCount:-1")}),Ct.optional(function(){Q.DYNAMIC=!0}),Q):null,instances:xe(mn,!1),offset:m},c=i,F=a.static,V=a.dynamic,f={},Re.forEach(function(u){var i=Ne(u);function e(e,n){var t,r;u in F?(t=e(F[u]),f[i]=st(function(){return t})):u in V&&(r=V[u],f[i]=lt(r,function(e,t){return n(e,t,e.invoke(t,r))}))}switch(u){case bt:case ct:case"dither":case on:case pt:case cn:case wt:case tn:case nn:case gt:return e(function(e){return Ct.commandType(e,"boolean",u,c.commandStr),e},function(e,t,n){return Ct.optional(function(){e.assert(t,"typeof "+n+'==="boolean"',"invalid flag "+u,e.commandStr)}),n});case yt:return e(function(e){return Ct.commandParameter(e,On,"invalid "+u,c.commandStr),On[e]},function(e,t,n){var r=e.constants.compareFuncs;return Ct.optional(function(){e.assert(t,n+" in "+r,"invalid "+u+", must be one of "+Object.keys(On))}),t.def(r,"[",n,"]")});case mt:return e(function(e){return Ct.command(Je(e)&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]&&e[0]<=e[1],"depth range is 2d array",c.commandStr),e},function(e,t,n){return Ct.optional(function(){e.assert(t,e.shared.isArrayLike+"("+n+")&&"+n+".length===2&&typeof "+n+'[0]==="number"&&typeof '+n+'[1]==="number"&&'+n+"[0]<="+n+"[1]","depth range must be a 2d array")}),[t.def("+",n,"[0]"),t.def("+",n,"[1]")]});case dt:return e(function(e){Ct.commandType(e,"object","blend.func",c.commandStr);var t="srcRGB"in e?e.srcRGB:e.src,n="srcAlpha"in e?e.srcAlpha:e.src,r="dstRGB"in e?e.dstRGB:e.dst,e="dstAlpha"in e?e.dstAlpha:e.dst;return Ct.commandParameter(t,rt,i+".srcRGB",c.commandStr),Ct.commandParameter(n,rt,i+".srcAlpha",c.commandStr),Ct.commandParameter(r,rt,i+".dstRGB",c.commandStr),Ct.commandParameter(e,rt,i+".dstAlpha",c.commandStr),Ct.command(-1===Cn.indexOf(t+", "+r),"unallowed blending combination (srcRGB, dstRGB) = ("+t+", "+r+")",c.commandStr),[rt[t],rt[r],rt[n],rt[e]]},function(r,i,o){var a=r.constants.blendFuncs;function e(e,t){var n=i.def('"',e,t,'" in ',o,"?",o,".",e,t,":",o,".",e);return Ct.optional(function(){r.assert(i,n+" in "+a,"invalid "+u+"."+e+t+", must be one of "+Object.keys(rt))}),n}Ct.optional(function(){r.assert(i,o+"&&typeof "+o+'==="object"',"invalid blend func, must be an object")});var t=e("src","RGB"),n=e("dst","RGB"),s=(Ct.optional(function(){var e=r.constants.invalidBlendCombinations;r.assert(i,e+".indexOf("+t+'+", "+'+n+") === -1 ","unallowed blending combination for (srcRGB, dstRGB)")}),i.def(a,"[",t,"]")),l=i.def(a,"[",e("src","Alpha"),"]");return[s,i.def(a,"[",n,"]"),l,i.def(a,"[",e("dst","Alpha"),"]")]});case ht:return e(function(e){return"string"==typeof e?(Ct.commandParameter(e,De,"invalid "+u,c.commandStr),[De[e],De[e]]):"object"===Bn(e)?(Ct.commandParameter(e.rgb,De,u+".rgb",c.commandStr),Ct.commandParameter(e.alpha,De,u+".alpha",c.commandStr),[De[e.rgb],De[e.alpha]]):void Ct.commandRaise("invalid blend.equation",c.commandStr)},function(r,e,t){var i=r.constants.blendEquations,n=e.def(),o=e.def(),a=r.cond("typeof ",t,'==="string"');return Ct.optional(function(){function e(e,t,n){r.assert(e,n+" in "+i,"invalid "+t+", must be one of "+Object.keys(De))}e(a.then,u,t),r.assert(a.else,t+"&&typeof "+t+'==="object"',"invalid "+u),e(a.else,u+".rgb",t+".rgb"),e(a.else,u+".alpha",t+".alpha")}),a.then(n,"=",o,"=",i,"[",t,"];"),a.else(n,"=",i,"[",t,".rgb];",o,"=",i,"[",t,".alpha];"),e(a),[n,o]});case ft:return e(function(t){return Ct.command(Je(t)&&4===t.length,"blend.color must be a 4d array",c.commandStr),Xe(4,function(e){return+t[e]})},function(e,t,n){return Ct.optional(function(){e.assert(t,e.shared.isArrayLike+"("+n+")&&"+n+".length===4","blend.color must be a 4d array")}),Xe(4,function(e){return t.def("+",n,"[",e,"]")})});case an:return e(function(e){return Ct.commandType(e,"number",i,c.commandStr),0|e},function(e,t,n){return Ct.optional(function(){e.assert(t,"typeof "+n+'==="number"',"invalid stencil.mask")}),t.def(n,"|0")});case sn:return e(function(e){Ct.commandType(e,"object",i,c.commandStr);var t=e.cmp||"keep",n=e.ref||0,e="mask"in e?e.mask:-1;return Ct.commandParameter(t,On,u+".cmp",c.commandStr),Ct.commandType(n,"number",u+".ref",c.commandStr),Ct.commandType(e,"number",u+".mask",c.commandStr),[On[t],n,e]},function(t,n,r){var i=t.constants.compareFuncs;return Ct.optional(function(){function e(){t.assert(n,Array.prototype.join.call(arguments,""),"invalid stencil.func")}e(r+"&&typeof ",r,'==="object"'),e('!("cmp" in ',r,")||(",r,".cmp in ",i,")")}),[n.def('"cmp" in ',r,"?",i,"[",r,".cmp]",":",7680),n.def(r,".ref|0"),n.def('"mask" in ',r,"?",r,".mask|0:-1")]});case ln:case un:return e(function(e){Ct.commandType(e,"object",i,c.commandStr);var t=e.fail||"keep",n=e.zfail||"keep",e=e.zpass||"keep";return Ct.commandParameter(t,it,u+".fail",c.commandStr),Ct.commandParameter(n,it,u+".zfail",c.commandStr),Ct.commandParameter(e,it,u+".zpass",c.commandStr),[u===un?1029:1028,it[t],it[n],it[e]]},function(t,n,r){var i=t.constants.stencilOps;function e(e){return Ct.optional(function(){t.assert(n,'!("'+e+'" in '+r+")||("+r+"."+e+" in "+i+")","invalid "+u+"."+e+", must be one of "+Object.keys(it))}),n.def('"',e,'" in ',r,"?",i,"[",r,".",e,"]:",7680)}return Ct.optional(function(){t.assert(n,r+"&&typeof "+r+'==="object"',"invalid "+u)}),[u===un?1029:1028,e("fail"),e("zfail"),e("zpass")]});case en:return e(function(e){Ct.commandType(e,"object",i,c.commandStr);var t=0|e.factor,e=0|e.units;return Ct.commandType(t,"number",i+".factor",c.commandStr),Ct.commandType(e,"number",i+".units",c.commandStr),[t,e]},function(e,t,n){return Ct.optional(function(){e.assert(t,n+"&&typeof "+n+'==="object"',"invalid "+u)}),[t.def(n,".factor|0"),t.def(n,".units|0")]});case"cull.face":return e(function(e){var t=0;return"front"===e?t=1028:"back"===e&&(t=1029),Ct.command(!!t,i,c.commandStr),t},function(e,t,n){return Ct.optional(function(){e.assert(t,n+'==="front"||'+n+'==="back"',"invalid cull.face")}),t.def(n,'==="front"?',1028,":",1029)});case xt:return e(function(e){return Ct.command("number"==typeof e&&e>=Me.lineWidthDims[0]&&e<=Me.lineWidthDims[1],"invalid line width, must be a positive number between "+Me.lineWidthDims[0]+" and "+Me.lineWidthDims[1],c.commandStr),e},function(e,t,n){return Ct.optional(function(){e.assert(t,"typeof "+n+'==="number"&&'+n+">="+Me.lineWidthDims[0]+"&&"+n+"<="+Me.lineWidthDims[1],"invalid line width")}),n});case _t:return e(function(e){return Ct.commandParameter(e,Mn,i,c.commandStr),Mn[e]},function(e,t,n){return Ct.optional(function(){e.assert(t,n+'==="cw"||'+n+'==="ccw"',"invalid frontFace, must be one of cw,ccw")}),t.def(n+'==="cw"?2304:2305')});case vt:return e(function(e){return Ct.command(Je(e)&&4===e.length,"color.mask must be length 4 array",c.commandStr),e.map(function(e){return!!e})},function(e,t,n){return Ct.optional(function(){e.assert(t,e.shared.isArrayLike+"("+n+")&&"+n+".length===4","invalid color.mask")}),Xe(4,function(e){return"!!"+n+"["+e+"]"})});case rn:return e(function(e){Ct.command("object"===Bn(e)&&e,i,c.commandStr);var t="value"in e?e.value:1,e=!!e.invert;return Ct.command("number"==typeof t&&0<=t&&t<=1,"sample.coverage.value must be a number between 0 and 1",c.commandStr),[t,e]},function(e,t,n){return Ct.optional(function(){e.assert(t,n+"&&typeof "+n+'==="object"',"invalid sample.coverage")}),[t.def('"value" in ',n,"?+",n,".value:1"),t.def("!!",n,".invert")]})}}),re=f,L=t,N=a.static,z=a.dynamic,o=_e(pn),s=_e(dn),l=null,L=at(o)&&at(s)?(l=Le.program(s.id,o.id,null,L),st(function(e,t){return e.link(l)})):new ot(o&&o.thisDep||s&&s.thisDep,o&&o.contextDep||s&&s.contextDep,o&&o.propDep||s&&s.propDep,function(e,t){var n=e.shared.shader,r=o?o.append(e,t):t.def(n,".",pn),i=n+".program("+(s?s.append(e,t):t.def(n,".",dn))+","+r;return Ct.optional(function(){i+=","+e.command}),t.def(i+")")}),L={frag:o,vert:s,progVar:L,program:l},Ae($e),Ae(Ne(fn)),I=0<Object.keys(re).length,(S={framebuffer:S,draw:j,shader:L,state:re,dirty:I,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}}).profile=(j=a.static,I=a.dynamic,hn in j?(fe=!!j[hn],(_=st(function(e,t){return fe})).enable=fe):hn in I&&(_=lt(he=I[hn],function(e,t){return e.invoke(t,he)})),_),S.uniforms=(se=i,le=n.static,ue=n.dynamic,ce={},Object.keys(le).forEach(function(n){var e,t,r=le[n];"number"==typeof r||"boolean"==typeof r?e=st(function(){return r}):"function"==typeof r?"texture2d"===(t=r._reglType)||"textureCube"===t?e=st(function(e){return e.link(r)}):"framebuffer"===t||"framebufferCube"===t?(Ct.command(0<r.color.length,'missing color attachment for framebuffer sent to uniform "'+n+'"',se.commandStr),e=st(function(e){return e.link(r.color[0])})):Ct.commandRaise('invalid data for uniform "'+n+'"',se.commandStr):Je(r)?e=st(function(t){return t.global.def("[",Xe(r.length,function(e){return Ct.command("number"==typeof r[e]||"boolean"==typeof r[e],"invalid uniform "+n,t.commandStr),r[e]}),"]")}):Ct.commandRaise('invalid or missing data for uniform "'+n+'"',se.commandStr),e.value=r,ce[n]=e}),Object.keys(ue).forEach(function(e){var n=ue[e];ce[e]=lt(n,function(e,t){return e.invoke(t,n)})}),ce),S.drawVAO=S.scopeVAO=(j=a.static,I=a.dynamic,"vao"in j?(null!==(b=j.vao)&&null===Ie.getVAO(b)&&(b=Ie.createVAO(b)),st(function(e){return e.link(Ie.getVAO(b))})):"vao"in I?lt(ae=I.vao,function(e,t){var n=e.invoke(t,ae);return t.def(e.shared.vao+".getVAO("+n+")")}):null),!S.drawVAO&&L.program&&!t&&Ee.angle_instanced_arrays&&(ie=!0,_=L.program.attributes.map(function(e){e=r.static[e];return ie=ie&&!!e,e}),ie)&&0<_.length&&(oe=Ie.getVAO(Ie.createVAO(_)),S.drawVAO=new ot(null,null,null,function(e,t){return e.link(oe)}),S.useVAO=!0),t?S.useVAO=!0:S.attributes=(x=i,me=r.static,ge=r.dynamic,ve={},Object.keys(me).forEach(function(r){var e,n,t,i,o,a,s,l,u=me[r],c=Oe.id(r),f=new je;Pn(u)?(f.state=1,f.buffer=Pe.getBuffer(Pe.create(u,Sn,!1,!0)),f.type=0):(e=Pe.getBuffer(u))?(f.state=1,f.buffer=e,f.type=0):(Ct.command("object"===Bn(u)&&u,"invalid data for attribute "+r,x.commandStr),"constant"in u?(n=u.constant,f.buffer="null",f.state=2,"number"==typeof n?f.x=n:(Ct.command(Je(n)&&0<n.length&&n.length<=4,"invalid constant for attribute "+r,x.commandStr),ut.forEach(function(e,t){t<n.length&&(f[e]=n[t])}))):(e=Pn(u.buffer)?Pe.getBuffer(Pe.create(u.buffer,Sn,!1,!0)):Pe.getBuffer(u.buffer),Ct.command(!!e,'missing buffer for attribute "'+r+'"',x.commandStr),t=0|u.offset,Ct.command(0<=t,'invalid offset for attribute "'+r+'"',x.commandStr),i=0|u.stride,Ct.command(0<=i&&i<256,'invalid stride for attribute "'+r+'", must be integer betweeen [0, 255]',x.commandStr),o=0|u.size,Ct.command(!("size"in u)||0<o&&o<=4,'invalid size for attribute "'+r+'", must be 1,2,3,4',x.commandStr),a=!!u.normalized,s=0,"type"in u&&(Ct.commandParameter(u.type,kt,"invalid type for attribute "+r,x.commandStr),s=kt[u.type]),l=0|u.divisor,"divisor"in u&&(Ct.command(0==l||Be,'cannot specify divisor for attribute "'+r+'", instancing not supported',x.commandStr),Ct.command(0<=l,'invalid divisor for attribute "'+r+'"',x.commandStr)),Ct.optional(function(){var t=x.commandStr,n=["buffer","offset","divisor","normalized","type","size","stride"];Object.keys(u).forEach(function(e){Ct.command(0<=n.indexOf(e),'unknown parameter "'+e+'" for attribute pointer "'+r+'" (valid parameters are '+n+")",t)})}),f.buffer=e,f.state=1,f.size=o,f.normalized=a,f.type=s||e.dtype,f.offset=t,f.stride=i,f.divisor=l)),ve[r]=st(function(e,t){var n,r=e.attribCache;return c in r?r[c]:(n={isStream:!1},Object.keys(f).forEach(function(e){n[e]=f[e]}),f.buffer&&(n.buffer=e.link(f.buffer),n.type=n.type||n.buffer+".dtype"),r[c]=n)})}),Object.keys(ge).forEach(function(h){var d=ge[h];ve[h]=lt(d,function(e,t){var n=e.invoke(t,d),r=e.shared,i=e.constants,o=r.isBufferArgs,a=r.buffer,s=(Ct.optional(function(){e.assert(t,n+"&&(typeof "+n+'==="object"||typeof '+n+'==="function")&&('+o+"("+n+")||"+a+".getBuffer("+n+")||"+a+".getBuffer("+n+".buffer)||"+o+"("+n+'.buffer)||("constant" in '+n+"&&(typeof "+n+'.constant==="number"||'+r.isArrayLike+"("+n+".constant))))",'invalid dynamic attribute "'+h+'"')}),{isStream:t.def(!1)}),l=new je,u=(l.state=1,Object.keys(l).forEach(function(e){s[e]=t.def(""+l[e])}),s.buffer),c=s.type;function f(e){t(s[e],"=",n,".",e,"|0;")}return t("if(",o,"(",n,")){",s.isStream,"=true;",u,"=",a,".createStream(",Sn,",",n,");",c,"=",u,".dtype;","}else{",u,"=",a,".getBuffer(",n,");","if(",u,"){",c,"=",u,".dtype;",'}else if("constant" in ',n,"){",s.state,"=",2,";","if(typeof "+n+'.constant === "number"){',s[ut[0]],"=",n,".constant;",ut.slice(1).map(function(e){return s[e]}).join("="),"=0;","}else{",ut.map(function(e,t){return s[e]+"="+n+".constant.length>"+t+"?"+n+".constant["+t+"]:0;"}).join(""),"}}else{","if(",o,"(",n,".buffer)){",u,"=",a,".createStream(",Sn,",",n,".buffer);","}else{",u,"=",a,".getBuffer(",n,".buffer);","}",c,'="type" in ',n,"?",i.glTypes,"[",n,".type]:",u,".dtype;",s.normalized,"=!!",n,".normalized;"),f("size"),f("offset"),f("stride"),f("divisor"),t("}}"),t.exit("if(",s.isStream,"){",a,".destroyStream(",u,");","}"),s})}),ve),S.context=(de=e.static,pe=e.dynamic,ye={},Object.keys(de).forEach(function(e){var n=de[e];ye[e]=st(function(e,t){return"number"==typeof n||"boolean"==typeof n?""+n:e.link(n)})}),Object.keys(pe).forEach(function(e){var n=pe[e];ye[e]=lt(n,function(e,t){return e.invoke(t,n)})}),ye),S);function _e(i){var e,t,o;return i in N?(e=Oe.id(N[i]),Ct.optional(function(){Le.shader(En[i],e,Ct.guessCommand())}),(t=st(function(){return e})).id=e,t):i in z?lt(o=z[i],function(e,t){var n=e.invoke(t,o),r=t.def(e.shared.strings,".id(",n,")");return Ct.optional(function(){t(e.shared.shader,".shader(",En[i],",",r,",",e.command,");")}),r}):null}function xe(r,i){var n,o;return r in d?(n=0|d[r],Ct.command(!i||0<=n,"invalid "+r,u.commandStr),st(function(e,t){return i&&(e.OFFSET=n),n})):r in p?lt(o=p[r],function(e,t){var n=e.invoke(t,o);return i&&(e.OFFSET=n,Ct.optional(function(){e.assert(t,n+">=0","invalid "+r)})),n}):i&&y?st(function(e,t){return e.OFFSET="0",0}):null}function we(l){var i,o,a,s,u,c,e;return l in X?(i=X[l],Ct.commandType(i,"object","invalid "+l,K.commandStr),e=!0,s=0|i.x,u=0|i.y,"width"in i?(o=0|i.width,Ct.command(0<=o,"invalid "+l,K.commandStr)):e=!1,"height"in i?(a=0|i.height,Ct.command(0<=a,"invalid "+l,K.commandStr)):e=!1,new ot(!e&&g&&g.thisDep,!e&&g&&g.contextDep,!e&&g&&g.propDep,function(e,t){var e=e.shared.context,n=o,r=("width"in i||(n=t.def(e,".",gn,"-",s)),a);return"height"in i||(r=t.def(e,".",vn,"-",u)),[s,u,n,r]})):l in J?(e=lt(c=J[l],function(e,t){var n=e.invoke(t,c),r=(Ct.optional(function(){e.assert(t,n+"&&typeof "+n+'==="object"',"invalid "+l)}),e.shared.context),i=t.def(n,".x|0"),o=t.def(n,".y|0"),a=t.def('"width" in ',n,"?",n,".width|0:","(",r,".",gn,"-",i,")"),s=t.def('"height" in ',n,"?",n,".height|0:","(",r,".",vn,"-",o,")");return Ct.optional(function(){e.assert(t,a+">=0&&"+s+">=0","invalid "+l)}),[i,o,a,s]}),g&&(e.thisDep=e.thisDep||g.thisDep,e.contextDep=e.contextDep||g.contextDep,e.propDep=e.propDep||g.propDep),e):g?new ot(g.thisDep,g.contextDep,g.propDep,function(e,t){e=e.shared.context;return[0,0,t.def(e,".",gn),t.def(e,".",vn)]}):null}function Ae(e){var t=ne[e];t&&(re[e]=t)}return T=be,n=(k=D).proc("draw",1),Ge(k,n),Fe(k,n,T.context),Ve(k,n,T.framebuffer),He(k,n,T),Ye(k,n,T.state),Ue(k,n,T,!1,!0),j=T.shader.progVar.append(k,n),n(k.shared.gl,".useProgram(",j,".program);"),T.shader.program?qe(k,n,T,T.shader.program):(n(k.shared.vao,".setVAO(null);"),I=k.global.def("{}"),L=n.def(j,".id"),t=n.def(I,"[",L,"]"),n(k.cond(t).then(t,".call(this,a0);").else(t,"=",I,"[",L,"]=",k.link(function(e){return Qe(qe,k,T,e,1)}),"(",j,");",t,".call(this,a0);"))),0<Object.keys(T.state).length&&n(k.shared.current,".dirty=true;"),E=be,M=(O=D).proc("scope",3),O.batchId="a2",P=O.shared,e=P.current,Fe(O,M,E.context),E.framebuffer&&E.framebuffer.append(O,M),kn(Object.keys(E.state)).forEach(function(n){var e=E.state[n].append(O,M);Je(e)?e.forEach(function(e,t){M.set(O.next[n],"["+t+"]",e)}):M.set(P.next,"."+n,e)}),Ue(O,M,E,!0,!0),[et,yn,nt,mn,tt].forEach(function(e){var t=E.draw[e];t&&M.set(P.draw,"."+e,""+t.append(O,M))}),Object.keys(E.uniforms).forEach(function(e){var t=E.uniforms[e].append(O,M);Array.isArray(t)&&(t="["+t.join()+"]"),M.set(P.uniforms,"["+Oe.id(e)+"]",t)}),Object.keys(E.attributes).forEach(function(e){var t=E.attributes[e].append(O,M),n=O.scopeAttrib(e);Object.keys(new je).forEach(function(e){M.set(n,"."+e,t[e])})}),E.scopeVAO&&M.set(P.vao,".targetVAO",E.scopeVAO.append(O,M)),Ce(dn),Ce(pn),0<Object.keys(E.state).length&&(M(e,".dirty=true;"),M.exit(e,".dirty=true;")),M("a1(",O.shared.context,",a0,",O.batchId,");"),A=be,S=(w=D).proc("batch",2),w.batchId="0",Ge(w,S),I=!(C=!1),Object.keys(A.context).forEach(function(e){C=C||A.context[e].propDep}),C||(Fe(w,S,A.context),I=!1),L=A.framebuffer,j=!1,L?(L.propDep?C=j=!0:L.contextDep&&C&&(j=!0),j||Ve(w,S,L)):Ve(w,S,null),A.state.viewport&&A.state.viewport.propDep&&(C=!0),He(w,S,A),Ye(w,S,A.state,function(e){return!Se(e)}),A.profile&&Se(A.profile)||Ue(w,S,A,!1,"a1"),A.contextDep=C,A.needsContext=I,A.needsFramebuffer=j,(L=A.shader.progVar).contextDep&&C||L.propDep?We(w,S,A,null):(I=L.append(w,S),S(w.shared.gl,".useProgram(",I,".program);"),A.shader.program?We(w,S,A,A.shader.program):(S(w.shared.vao,".setVAO(null);"),j=w.global.def("{}"),L=S.def(I,".id"),t=S.def(j,"[",L,"]"),S(w.cond(t).then(t,".call(this,a0,a1);").else(t,"=",j,"[",L,"]=",w.link(function(e){return Qe(We,w,A,e,2)}),"(",I,");",t,".call(this,a0,a1);")))),0<Object.keys(A.state).length&&S(w.shared.current,".dirty=true;"),At(D.compile(),{destroy:function(){be.shader.program.destroy()}});function Se(e){return e.contextDep&&C||e.propDep}function Ce(e){var t=E.shader[e];t&&M.set(P.shader,"."+e,t.append(O,M))}}}}function In(e,l){var u,c,f,h,d,p;return l.ext_disjoint_timer_query?(u=[],c=[],f=[],h=[],d=[],p=[],{beginQuery:function(e){var t=u.pop()||l.ext_disjoint_timer_query.createQueryEXT();l.ext_disjoint_timer_query.beginQueryEXT(35007,t),c.push(t),n(c.length-1,c.length,e)},endQuery:function(){l.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:n,update:function(){var e=c.length;if(0!==e){p.length=Math.max(p.length,e+1),d.length=Math.max(d.length,e+1);for(var t=p[d[0]=0]=0,n=0,r=0;r<c.length;++r){var i=c[r];l.ext_disjoint_timer_query.getQueryObjectEXT(i,34919)?(t+=l.ext_disjoint_timer_query.getQueryObjectEXT(i,34918),u.push(i)):c[n++]=i,d[r+1]=t,p[r+1]=n}for(c.length=n,r=n=0;r<h.length;++r){var o=h[r],a=o.startQueryIndex,s=o.endQueryIndex,a=(o.sum+=d[s]-d[a],p[a]),s=p[s];s===a?(o.stats.gpuTime+=o.sum/1e6,f.push(o)):(o.startQueryIndex=a,o.endQueryIndex=s,h[n++]=o)}h.length=n}},getNumPendingQueries:function(){return c.length},clear:function(){u.push.apply(u,c);for(var e=0;e<u.length;e++)l.ext_disjoint_timer_query.deleteQueryEXT(u[e]);u.length=c.length=0},restore:function(){u.length=c.length=0}}):null;function n(e,t,n){var r=f.pop()||new function(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null};r.startQueryIndex=e,r.endQueryIndex=t,r.sum=0,r.stats=n,h.push(r)}}var Ln="webglcontextlost",jn="webglcontextrestored";function Dn(e,t){for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}return function(e){e=(e=e)||{},x={},M=[],g=[],v="undefined"==typeof window?1:window.devicePixelRatio,Ae=!1,_=function(e){e&&Ct.raise(e)},b=function(){},"string"==typeof e?(Ct("undefined"!=typeof document,"selector queries only supported in DOM enviroments"),t=document.querySelector(e),Ct(t,"invalid query string for element")):"object"===Bn(e)?"string"==typeof e.nodeName&&"function"==typeof e.appendChild&&"function"==typeof e.getBoundingClientRect?t=e:"function"!=typeof e.drawArrays&&"function"!=typeof e.drawElements?(Ct.constructor(e),"gl"in e?S=e.gl:"canvas"in e?C=Rt(e.canvas):"container"in e&&(E=Rt(e.container)),"attributes"in e&&(x=e.attributes,Ct.type(x,"object","invalid context attributes")),"extensions"in e&&(M=Bt(e.extensions)),"optionalExtensions"in e&&(g=Bt(e.optionalExtensions)),"onDone"in e&&(Ct.type(e.onDone,"function","invalid or missing onDone callback"),_=e.onDone),"profile"in e&&(Ae=!!e.profile),"pixelRatio"in e&&(v=+e.pixelRatio,Ct(0<v,"invalid pixel ratio"))):C=(S=e).canvas:Ct.raise("invalid arguments to regl"),t&&("canvas"===t.nodeName.toLowerCase()?C=t:E=t),S||(C||(Ct("undefined"!=typeof document,"must manually specify webgl context outside of DOM environments"),r=E||document.body,N=v,i=document.createElement("canvas"),At(i.style,{border:0,margin:0,padding:0,top:0,left:0}),r.appendChild(i),r===document.body&&(i.style.position="absolute",At(r.style,{margin:0,padding:0})),r!==document.body&&"function"==typeof ResizeObserver?(z=new ResizeObserver(function(){setTimeout(V)})).observe(r):window.addEventListener("resize",V,!1),V(),C=(e={canvas:i,onDestroy:function(){z?z.disconnect():window.removeEventListener("resize",V),r.removeChild(i)}}).canvas,b=e.onDestroy),void 0===x.premultipliedAlpha&&(x.premultipliedAlpha=!0),B=C,R=x,S=F("webgl")||F("experimental-webgl")||F("webgl-experimental"));var B,R,r,N,z,i,t=S?{gl:S,canvas:C,container:E,extensions:M,optionalExtensions:g,pixelRatio:v,profile:Ae,onDone:_,onDestroy:b}:(b(),_("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null);function F(e){try{return B.getContext(e,R)}catch(e){return null}}function V(){var e,t=window.innerWidth,n=window.innerHeight;r!==document.body&&(t=(e=r.getBoundingClientRect()).right-e.left,n=e.bottom-e.top),i.width=N*t,i.height=N*n,At(i.style,{width:t+"px",height:n+"px"})}if(!t)return null;var o=t.gl,e=o.getContextAttributes(),H=o.isContextLost(),Y=function(n,e){var r={};function t(e){Ct.type(e,"string","extension name must be string");var t,e=e.toLowerCase();try{t=r[e]=n.getExtension(e)}catch(e){}return!!t}for(var i=0;i<e.extensions.length;++i){var o=e.extensions[i];if(!t(o))return e.onDestroy(),e.onDone('"'+o+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return e.optionalExtensions.forEach(t),{extensions:r,restore:function(){Object.keys(r).forEach(function(e){if(r[e]&&!t(e))throw new Error("(regl): error restoring extension "+e)})}}}(o,t);if(!Y)return null;G={"":0},U=[""];var G,U,a,w,Q,W,q,K,A,X,J,$,Z,ee,u,te,ne,re,c,ie,oe,n,y,m,ae,se,s,l,f,h,le,ue,ce,fe,he,de,pe,ye,me,d,ge,ve,be,_e,p,xe,g,we,v,Ae,b,_,Se,x={id:function(e){var t;return G[e]||(t=G[e]=U.length,U.push(e),t)},str:function(e){return U[e]}},S={vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0},C=Y.extensions,O=In(0,C),Ce=Dt(),E=o.drawingBufferWidth,M=o.drawingBufferHeight,P={tick:0,time:0,viewportWidth:E,viewportHeight:M,framebufferWidth:E,framebufferHeight:M,drawingBufferWidth:E,drawingBufferHeight:M,pixelRatio:t.pixelRatio},k=(g=o,v=1,(we=C).ext_texture_filter_anisotropic&&(v=g.getParameter(34047)),b=Ae=1,we.webgl_draw_buffers&&(Ae=g.getParameter(34852),b=g.getParameter(36063)),(_=!!we.oes_texture_float)&&(D=g.createTexture(),g.bindTexture(3553,D),g.texImage2D(3553,0,6408,1,1,0,6408,5126,null),Se=g.createFramebuffer(),g.bindFramebuffer(36160,Se),g.framebufferTexture2D(36160,36064,3553,D,0),g.bindTexture(3553,null),36053!==g.checkFramebufferStatus(36160)?_=!1:(g.viewport(0,0,1,1),g.clearColor(1,0,0,1),g.clear(16384),L=Et.allocType(5126,4),g.readPixels(0,0,1,1,6408,5126,L),_=!g.getError()&&(g.deleteFramebuffer(Se),g.deleteTexture(D),1===L[0]),Et.freeType(L))),Se=!0,"undefined"!=typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent))||(D=g.createTexture(),L=Et.allocType(5121,36),g.activeTexture(33984),g.bindTexture(34067,D),g.texImage2D(34069,0,6408,3,3,0,6408,5121,L),Et.freeType(L),g.bindTexture(34067,null),g.deleteTexture(D),Se=!g.getError()),{colorBits:[g.getParameter(3410),g.getParameter(3411),g.getParameter(3412),g.getParameter(3413)],depthBits:g.getParameter(3414),stencilBits:g.getParameter(3415),subpixelBits:g.getParameter(3408),extensions:Object.keys(we).filter(function(e){return!!we[e]}),maxAnisotropic:v,maxDrawbuffers:Ae,maxColorAttachments:b,pointSizeDims:g.getParameter(33901),lineWidthDims:g.getParameter(33902),maxViewportDims:g.getParameter(3386),maxCombinedTextureUnits:g.getParameter(35661),maxCubeMapSize:g.getParameter(34076),maxRenderbufferSize:g.getParameter(34024),maxTextureUnits:g.getParameter(34930),maxTextureSize:g.getParameter(3379),maxAttributes:g.getParameter(34921),maxVertexUniforms:g.getParameter(36347),maxVertexTextureUnits:g.getParameter(35660),maxVaryingVectors:g.getParameter(36348),maxFragmentUniforms:g.getParameter(36349),glsl:g.getParameter(35724),renderer:g.getParameter(7937),vendor:g.getParameter(7936),version:g.getParameter(7938),readFloat:_,npotTextureCube:Se}),Oe=(d=o,ge=S,ve=t,be=function(e){Ee.destroyBuffer(e)},_e=0,p={},at.prototype.bind=function(){d.bindBuffer(this.type,this.buffer)},at.prototype.destroy=function(){ut(this)},xe=[],ve.profile&&(ge.getTotalBufferSize=function(){var t=0;return Object.keys(p).forEach(function(e){t+=p[e].stats.size}),t}),{create:function(e,t,n,a){ge.bufferCount++;var l=new at(t);function u(e){var t=35044,n=null,r=0,i=0,o=1;return Array.isArray(e)||St(e)||Mt(e)||e instanceof ArrayBuffer?n=e:"number"==typeof e?r=0|e:e&&(Ct.type(e,"object","buffer arguments must be an object, a number or an array"),"data"in e&&(Ct(null===n||Array.isArray(n)||St(n)||Mt(n),"invalid data for buffer"),n=e.data),"usage"in e&&(Ct.parameter(e.usage,Nt,"invalid buffer usage"),t=Nt[e.usage]),"type"in e&&(Ct.parameter(e.type,kt,"invalid buffer type"),i=kt[e.type]),"dimension"in e&&(Ct.type(e.dimension,"number","invalid dimension"),o=0|e.dimension),"length"in e)&&(Ct.nni(r,"buffer length must be a nonnegative integer"),r=0|e.length),l.bind(),n?lt(l,n,t,i,o,a):(r&&d.bufferData(l.type,r,t),l.dtype=i||5121,l.usage=t,l.dimension=o,l.byteLength=r),ve.profile&&(l.stats.size=l.byteLength*Tt[l.dtype]),u}function c(e,t){Ct(t+e.byteLength<=l.byteLength,"invalid buffer subdata call, buffer is too small. Can't write data of size "+e.byteLength+" starting from offset "+t+" to a buffer of size "+l.byteLength),d.bufferSubData(l.type,t,e)}return p[l.id]=l,n||u(e),u._reglType="buffer",u._buffer=l,u.subdata=function(e,t){var n,r,i,o,a,s,t=0|(t||0);return l.bind(),St(e)||e instanceof ArrayBuffer?c(e,t):Array.isArray(e)?0<e.length&&("number"==typeof e[0]?(Ht(s=Et.allocType(l.dtype,e.length),e),c(s,t),Et.freeType(s)):Array.isArray(e[0])||St(e[0])?(a=Ft(e),c(s=zt(e,a,l.dtype),t),Et.freeType(s)):Ct.raise("invalid buffer data")):Mt(e)?(a=e.shape,s=e.stride,o=i=r=n=0,1===a.length?(n=a[0],r=1,i=s[0],o=0):2===a.length?(n=a[0],r=a[1],i=s[0],o=s[1]):Ct.raise("invalid shape"),a=Array.isArray(e.data)?l.dtype:Vt(e.data),Yt(s=Et.allocType(a,n*r),e.data,n,r,i,o,e.offset),c(s,t),Et.freeType(s)):Ct.raise("invalid data for buffer subdata"),u},ve.profile&&(u.stats=l.stats),u.destroy=function(){ut(l)},u},createStream:function(e,t){var n=xe.pop();return(n=n||new at(e)).bind(),lt(n,t,35040,0,1,!1),n},destroyStream:function(e){xe.push(e)},clear:function(){Pt(p).forEach(ut),xe.forEach(ut)},getBuffer:function(e){return e&&e._buffer instanceof at?e._buffer:null},restore:function(){Pt(p).forEach(function(e){e.buffer=d.createBuffer(),d.bindBuffer(e.type,e.buffer),d.bufferData(e.type,e.persistentData||e.byteLength,e.usage)})},_initBuffer:lt}),Ee=function(o,f,t,h){for(var d=k.maxAttributes,i=new Array(d),e=0;e<d;++e)i[e]=new $t;var n=0,r={},a={Record:$t,scope:{},state:i,currentVAO:null,targetVAO:null,restore:s()?function(){s()&&Pt(r).forEach(function(e){e.refresh()})}:function(){},createVAO:function(e){var u=new p;function c(e){Ct(Array.isArray(e),"arguments to vertex array constructor must be an array"),Ct(e.length<d,"too many attributes"),Ct(0<e.length,"must specify at least one attribute");var t={},n=u.attributes;n.length=e.length;for(var r=0;r<e.length;++r){var i,o=e[r],a=n[r]=new $t,s=o.data||o;Array.isArray(s)||St(s)||Mt(s)?(u.buffers[r]&&(i=u.buffers[r],St(s)&&i._buffer.byteLength>=s.byteLength?i.subdata(s):(i.destroy(),u.buffers[r]=null)),u.buffers[r]||(i=u.buffers[r]=h.create(o,34962,!1,!0)),a.buffer=h.getBuffer(i),a.size=0|a.buffer.dimension,a.normalized=!1,a.type=a.buffer.dtype,a.offset=0,a.stride=0,a.divisor=0,a.state=1,t[r]=1):h.getBuffer(o)?(a.buffer=h.getBuffer(o),a.size=0|a.buffer.dimension,a.normalized=!1,a.type=a.buffer.dtype,a.offset=0,a.stride=0,a.divisor=0,a.state=1):h.getBuffer(o.buffer)?(a.buffer=h.getBuffer(o.buffer),a.size=0|(+o.size||a.buffer.dimension),a.normalized=!!o.normalized||!1,"type"in o?(Ct.parameter(o.type,kt,"invalid buffer type"),a.type=kt[o.type]):a.type=a.buffer.dtype,a.offset=0|(o.offset||0),a.stride=0|(o.stride||0),a.divisor=0|(o.divisor||0),a.state=1,Ct(1<=a.size&&a.size<=4,"size must be between 1 and 4"),Ct(0<=a.offset,"invalid offset"),Ct(0<=a.stride&&a.stride<=255,"stride must be between 0 and 255"),Ct(0<=a.divisor,"divisor must be positive"),Ct(!a.divisor||!!f.angle_instanced_arrays,"ANGLE_instanced_arrays must be enabled to use divisor")):"x"in o?(Ct(0<r,"first attribute must not be a constant"),a.x=+o.x||0,a.y=+o.y||0,a.z=+o.z||0,a.w=+o.w||0,a.state=2):Ct(!1,"invalid attribute spec for location "+r)}for(var l=0;l<u.buffers.length;++l)!t[l]&&u.buffers[l]&&(u.buffers[l].destroy(),u.buffers[l]=null);return u.refresh(),c}return t.vaoCount+=1,c.destroy=function(){for(var e=0;e<u.buffers.length;++e)u.buffers[e]&&u.buffers[e].destroy();u.buffers.length=0,u.destroy()},c._vao=u,c._reglType="vao",c(e)},getVAO:function(e){return"function"==typeof e&&e._vao?e._vao:null},destroyBuffer:function(e){for(var t=0;t<i.length;++t){var n=i[t];n.buffer===e&&(o.disableVertexAttribArray(t),n.buffer=null)}},setVAO:s()?function(e){var t;e!==a.currentVAO&&(t=s(),e?t.bindVertexArrayOES(e.vao):t.bindVertexArrayOES(null),a.currentVAO=e)}:function(e){if(e!==a.currentVAO){if(e)e.bindAttrs();else for(var t=l(),n=0;n<i.length;++n){var r=i[n];r.buffer?(o.enableVertexAttribArray(n),o.vertexAttribPointer(n,r.size,r.type,r.normalized,r.stride,r.offfset),t&&r.divisor&&t.vertexAttribDivisorANGLE(n,r.divisor)):(o.disableVertexAttribArray(n),o.vertexAttrib4f(n,r.x,r.y,r.z,r.w))}a.currentVAO=e}},clear:s()?function(){Pt(r).forEach(function(e){e.destroy()})}:function(){}};function s(){return f.oes_vertex_array_object}function l(){return f.angle_instanced_arrays}function p(){this.id=++n,this.attributes=[];var e=s();this.vao=e?e.createVertexArrayOES():null,(r[this.id]=this).buffers=[]}return p.prototype.bindAttrs=function(){for(var e=l(),t=this.attributes,n=0;n<t.length;++n){var r=t[n];r.buffer?(o.enableVertexAttribArray(n),o.bindBuffer(34962,r.buffer.buffer),o.vertexAttribPointer(n,r.size,r.type,r.normalized,r.stride,r.offset),e&&r.divisor&&e.vertexAttribDivisorANGLE(n,r.divisor)):(o.disableVertexAttribArray(n),o.vertexAttrib4f(n,r.x,r.y,r.z,r.w))}for(var i=t.length;i<d;++i)o.disableVertexAttribArray(i)},p.prototype.refresh=function(){var e=s();e&&(e.bindVertexArrayOES(this.vao),this.bindAttrs(),a.currentVAO=this)},p.prototype.destroy=function(){var e;this.vao&&(e=s(),this===a.currentVAO&&(a.currentVAO=null,e.bindVertexArrayOES(null)),e.deleteVertexArrayOES(this.vao),this.vao=null),r[this.id]&&(delete r[this.id],--t.vaoCount)},a}(o,C,S,Oe),Me=(ue=o,fe=Oe,he=S,de={},pe=0,ye={uint8:5121,uint16:5123},(ce=C).oes_element_index_uint&&(ye.uint32=5125),rt.prototype.bind=function(){this.buffer.bind()},me=[],{create:function(e,t){var s=fe.create(null,34963,!0),l=new rt(s._buffer);function u(e){var t,n,r,i,o,a;return e?"number"==typeof e?(s(e),l.primType=4,l.vertCount=0|e,l.type=5121):(t=null,n=35044,i=r=-1,a=o=0,Array.isArray(e)||St(e)||Mt(e)?t=e:(Ct.type(e,"object","invalid arguments for elements"),"data"in e&&(t=e.data,Ct(Array.isArray(t)||St(t)||Mt(t),"invalid data for element buffer")),"usage"in e&&(Ct.parameter(e.usage,Nt,"invalid element buffer usage"),n=Nt[e.usage]),"primitive"in e&&(Ct.parameter(e.primitive,Gt,"invalid element buffer primitive"),r=Gt[e.primitive]),"count"in e&&(Ct("number"==typeof e.count&&0<=e.count,"invalid vertex count for elements"),i=0|e.count),"type"in e&&(Ct.parameter(e.type,ye,"invalid buffer type"),a=ye[e.type]),"length"in e?o=0|e.length:(o=i,5123===a||5122===a?o*=2:5125!==a&&5124!==a||(o*=4))),it(l,t,n,r,i,o,a)):(s(),l.primType=4,l.vertCount=0,l.type=5121),u}return he.elementsCount++,u(e),u._reglType="elements",u._elements=l,u.subdata=function(e,t){return s.subdata(e,t),u},u.destroy=function(){ot(l)},u},createStream:function(e){var t=me.pop();return it(t=t||new rt(fe.create(null,34963,!0,!1)._buffer),e,35040,-1,-1,0,0),t},destroyStream:function(e){me.push(e)},getElements:function(e){return"function"==typeof e&&e._elements instanceof rt?e._elements:null},clear:function(){Pt(de).forEach(ot)}}),Pe=(y=o,m=x,ae=S,s={},l={},f={},h=[],le=0,(se=t).profile&&(ae.getMaxUniformsCount=function(){var t=0;return h.forEach(function(e){e.stats.uniformsCount>t&&(t=e.stats.uniformsCount)}),t},ae.getMaxAttributesCount=function(){var t=0;return h.forEach(function(e){e.stats.attributesCount>t&&(t=e.stats.attributesCount)}),t}),{clear:function(){var e=y.deleteShader.bind(y);Pt(s).forEach(e),s={},Pt(l).forEach(e),l={},h.forEach(function(e){y.deleteProgram(e.program)}),h.length=0,f={},ae.shaderCount=0},program:function(e,t,n,r){Ct.command(0<=e,"missing vertex shader",n),Ct.command(0<=t,"missing fragment shader",n);var i,o=f[t],a=(o=o||(f[t]={}))[e];return a&&(a.refCount++,!r)?a:(i=new function(e,t){this.id=le++,this.fragId=e,this.vertId=t,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,se.profile&&(this.stats={uniformsCount:0,attributesCount:0})}(t,e),ae.shaderCount++,nt(i,n,r),a||(o[e]=i),h.push(i),At(i,{destroy:function(){var e;i.refCount--,i.refCount<=0&&(y.deleteProgram(i.program),e=h.indexOf(i),h.splice(e,1),ae.shaderCount--),o[i.vertId].refCount<=0&&(y.deleteShader(l[i.vertId]),delete l[i.vertId],delete f[i.fragId][i.vertId]),Object.keys(f[i.fragId]).length||(y.deleteShader(s[i.fragId]),delete s[i.fragId],delete f[i.fragId])}}))},restore:function(){s={},l={};for(var e=0;e<h.length;++e)nt(h[e],null,h[e].attributes.map(function(e){return[e.location,e.name]}))},shader:tt,frag:-1,vert:-1}),ke=Ut(o,C,k,function(){I.procs.poll()},P,S,t),Te=(u=o,te=k,ne=S,re=t,c={rgba4:32854,rgb565:36194,"rgb5 a1":32855,depth:33189,stencil:36168,"depth stencil":34041},(M=C).ext_srgb&&(c.srgba=35907),M.ext_color_buffer_half_float&&(c.rgba16f=34842,c.rgb16f=34843),M.webgl_color_buffer_float&&(c.rgba32f=34836),ie=[],Object.keys(c).forEach(function(e){ie[c[e]]=e}),oe=0,n={},Je.prototype.decRef=function(){--this.refCount<=0&&$e(this)},re.profile&&(ne.getTotalRenderbufferSize=function(){var t=0;return Object.keys(n).forEach(function(e){t+=n[e].stats.size}),t}),{create:function(e,t){var s=new Je(u.createRenderbuffer());function l(e,t){var n,r,i=0,o=0,a=32854;if("object"===Bn(e)&&e?("shape"in(n=e)?(r=n.shape,Ct(Array.isArray(r)&&2<=r.length,"invalid renderbuffer shape"),i=0|r[0],o=0|r[1]):("radius"in n&&(i=o=0|n.radius),"width"in n&&(i=0|n.width),"height"in n&&(o=0|n.height)),"format"in n&&(Ct.parameter(n.format,c,"invalid renderbuffer format"),a=c[n.format])):"number"==typeof e?(i=0|e,o="number"==typeof t?0|t:i):e?Ct.raise("invalid arguments to renderbuffer constructor"):i=o=1,Ct(0<i&&0<o&&i<=te.maxRenderbufferSize&&o<=te.maxRenderbufferSize,"invalid renderbuffer size"),i!==s.width||o!==s.height||a!==s.format)return l.width=s.width=i,l.height=s.height=o,s.format=a,u.bindRenderbuffer(It,s.renderbuffer),u.renderbufferStorage(It,a,i,o),Ct(0===u.getError(),"invalid render buffer format"),re.profile&&(s.stats.size=Qt(s.format,s.width,s.height)),l.format=ie[s.format],l}return n[s.id]=s,ne.renderbufferCount++,l(e,t),l.resize=function(e,t){e|=0,t=0|t||e;return e===s.width&&t===s.height||(Ct(0<e&&0<t&&e<=te.maxRenderbufferSize&&t<=te.maxRenderbufferSize,"invalid renderbuffer size"),l.width=s.width=e,l.height=s.height=t,u.bindRenderbuffer(It,s.renderbuffer),u.renderbufferStorage(It,s.format,e,t),Ct(0===u.getError(),"invalid render buffer format"),re.profile&&(s.stats.size=Qt(s.format,s.width,s.height))),l},l._reglType="renderbuffer",l._renderbuffer=s,re.profile&&(l.stats=s.stats),l.destroy=function(){s.decRef()},l},clear:function(){Pt(n).forEach($e)},restore:function(){Pt(n).forEach(function(e){e.renderbuffer=u.createRenderbuffer(),u.bindRenderbuffer(It,e.renderbuffer),u.renderbufferStorage(It,e.format,e.width,e.height)}),u.bindRenderbuffer(It,null)}}),T=(a=o,Q=k,W=ke,q=Te,K=S,A={cur:null,next:null,dirty:!1,setFBO:null},X=["rgba"],J=["rgba4","rgb565","rgb5 a1"],(w=C).ext_srgb&&J.push("srgba"),w.ext_color_buffer_half_float&&J.push("rgba16f","rgb16f"),w.webgl_color_buffer_float&&J.push("rgba32f"),$=["uint8"],w.oes_texture_half_float&&$.push("half float","float16"),w.oes_texture_float&&$.push("float","float32"),Z=0,ee={},At(A,{getFramebuffer:function(e){if("function"==typeof e&&"framebuffer"===e._reglType){e=e._framebuffer;if(e instanceof Qe)return e}return null},create:Xe,createCube:function(e){var d=Array(6);function p(e){Ct(d.indexOf(A.next)<0,"can not update framebuffer which is currently in use");var t,n={color:null},r=0,i=null,o="rgba",a="uint8",s=1;if("number"==typeof e?r=0|e:e?(Ct.type(e,"object","invalid arguments for framebuffer"),"shape"in(e=e)?(t=e.shape,Ct(Array.isArray(t)&&2<=t.length,"invalid shape for framebuffer"),Ct(t[0]===t[1],"cube framebuffer must be square"),r=t[0]):("radius"in e&&(r=0|e.radius),"width"in e?(r=0|e.width,"height"in e&&Ct(e.height===r,"must be square")):"height"in e&&(r=0|e.height)),("color"in e||"colors"in e)&&(i=e.color||e.colors,Array.isArray(i))&&Ct(1===i.length||w.webgl_draw_buffers,"multiple render targets not supported"),i||("colorCount"in e&&(s=0|e.colorCount,Ct(0<s,"invalid color buffer count")),"colorType"in e&&(Ct.oneOf(e.colorType,$,"invalid color type"),a=e.colorType),"colorFormat"in e&&(o=e.colorFormat,Ct.oneOf(e.colorFormat,X,"invalid color format for texture"))),"depth"in e&&(n.depth=e.depth),"stencil"in e&&(n.stencil=e.stencil),"depthStencil"in e&&(n.depthStencil=e.depthStencil)):r=1,i)if(Array.isArray(i))for(l=[],c=0;c<i.length;++c)l[c]=i[c];else l=[i];else for(var l=Array(s),u={radius:r,format:o,type:a},c=0;c<s;++c)l[c]=W.createCube(u);for(n.color=Array(l.length),c=0;c<l.length;++c){var f=l[c];Ct("function"==typeof f&&"textureCube"===f._reglType,"invalid cube map"),r=r||f.width,Ct(f.width===r&&f.height===r,"invalid cube map shape"),n.color[c]={target:34069,data:l[c]}}for(c=0;c<6;++c){for(var h=0;h<l.length;++h)n.color[h].target=34069+c;0<c&&(n.depth=d[0].depth,n.stencil=d[0].stencil,n.depthStencil=d[0].depthStencil),d[c]?d[c](n):d[c]=Xe(n)}return At(p,{width:r,height:r,color:l})}return p(e),At(p,{faces:d,resize:function(e){var t=0|e;if(Ct(0<t&&t<=Q.maxCubeMapSize,"invalid radius for cube fbo"),t!==p.width){for(var n=p.color,r=0;r<n.length;++r)n[r].resize(t);for(r=0;r<6;++r)d[r].resize(t);p.width=p.height=t}return p},_reglType:"framebufferCube",destroy:function(){d.forEach(function(e){e.destroy()})}})},clear:function(){Pt(ee).forEach(qe)},restore:function(){A.cur=null,A.next=null,A.dirty=!0,Pt(ee).forEach(function(e){e.framebuffer=a.createFramebuffer(),Ke(e)})}})),I=Tn(o,x,C,k,Oe,Me,0,T,{},Ee,Pe,{elements:null,primitive:4,count:-1,offset:0,instances:-1},P,O,t),L=Zt(o,T,I.procs.poll,P,e,C,k),Ie=I.next,Le=o.canvas,j=[],je=[],De=[],Be=[t.onDestroy],Re=null;function Ne(e,t,n){this.target=e,this.texture=t,this.renderbuffer=n;var e=0,r=0;t?(e=t.width,r=t.height):n&&(e=n.width,r=n.height),this.width=e,this.height=r}function ze(e){e&&(e.texture&&e.texture._texture.decRef(),e.renderbuffer)&&e.renderbuffer._renderbuffer.decRef()}function Fe(e,t,n){var r,i,o;e&&(e.texture?(r=e.texture._texture,o=Math.max(1,r.width),i=Math.max(1,r.height),Ct(o===t&&i===n,"inconsistent width/height for supplied texture"),r.refCount+=1):(o=e.renderbuffer._renderbuffer,Ct(o.width===t&&o.height===n,"inconsistent width/height for renderbuffer"),o.refCount+=1))}function Ve(e,t){t&&(t.texture?a.framebufferTexture2D(Lt,e,t.target,t.texture._texture.texture,0):a.framebufferRenderbuffer(Lt,e,36161,t.renderbuffer._renderbuffer.renderbuffer))}function He(e){var t=3553,n=null,r=null,i=e,e=("object"===Bn(e)&&(i=e.data,"target"in e)&&(t=0|e.target),Ct.type(i,"function","invalid attachment data"),i._reglType);return"texture2d"===e?(n=i,Ct(3553===t)):"textureCube"===e?(n=i,Ct(34069<=t&&t<34075,"invalid cube map target")):"renderbuffer"===e?(r=i,t=36161):Ct.raise("invalid regl object for attachment"),new Ne(t,n,r)}function Ye(e,t,n,r,i){return n?((n=W.create2D({width:e,height:t,format:r,type:i}))._texture.refCount=0,new Ne(3553,n,null)):((i=q.create({width:e,height:t,format:r}))._renderbuffer.refCount=0,new Ne(36161,null,i))}function Ge(e){return e&&(e.texture||e.renderbuffer)}function Ue(e,t,n){e&&(e.texture?e.texture.resize(t,n):e.renderbuffer&&e.renderbuffer.resize(t,n),e.width=t,e.height=n)}function Qe(){this.id=Z++,(ee[this.id]=this).framebuffer=a.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function We(e){e.colorAttachments.forEach(ze),ze(e.depthAttachment),ze(e.stencilAttachment),ze(e.depthStencilAttachment)}function qe(e){var t=e.framebuffer;Ct(t,"must not double destroy framebuffer"),a.deleteFramebuffer(t),e.framebuffer=null,K.framebufferCount--,delete ee[e.id]}function Ke(e){a.bindFramebuffer(Lt,e.framebuffer);for(var t=e.colorAttachments,n=0;n<t.length;++n)Ve(36064+n,t[n]);for(n=t.length;n<Q.maxColorAttachments;++n)a.framebufferTexture2D(Lt,36064+n,3553,null,0);a.framebufferTexture2D(Lt,33306,3553,null,0),a.framebufferTexture2D(Lt,36096,3553,null,0),a.framebufferTexture2D(Lt,36128,3553,null,0),Ve(36096,e.depthAttachment),Ve(36128,e.stencilAttachment),Ve(33306,e.depthStencilAttachment);e=a.checkFramebufferStatus(Lt);a.isContextLost()||36053===e||Ct.raise("framebuffer configuration not supported, status = "+Jt[e]),a.bindFramebuffer(Lt,A.next?A.next.framebuffer:null),A.cur=A.next,a.getError()}function Xe(e,t){var _=new Qe;function x(e,t){Ct(A.next!==_,"can not update framebuffer which is currently in use");var n=0,r=0,i=!0,o=!0,a=null,s=!0,l="rgba",u="uint8",c=1,f=null,h=null,d=null,p=!1,y=("number"==typeof e?(n=0|e,r=0|t||n):e?(Ct.type(e,"object","invalid arguments for framebuffer"),"shape"in(t=e)?(e=t.shape,Ct(Array.isArray(e)&&2<=e.length,"invalid shape for framebuffer"),n=e[0],r=e[1]):("radius"in t&&(n=r=t.radius),"width"in t&&(n=t.width),"height"in t&&(r=t.height)),("color"in t||"colors"in t)&&(a=t.color||t.colors,Array.isArray(a))&&Ct(1===a.length||w.webgl_draw_buffers,"multiple render targets not supported"),a||("colorCount"in t&&(c=0|t.colorCount,Ct(0<c,"invalid color buffer count")),"colorTexture"in t&&(s=!!t.colorTexture,l="rgba4"),"colorType"in t&&(u=t.colorType,s?(Ct(w.oes_texture_float||!("float"===u||"float32"===u),"you must enable OES_texture_float in order to use floating point framebuffer objects"),Ct(w.oes_texture_half_float||!("half float"===u||"float16"===u),"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects")):"half float"===u||"float16"===u?(Ct(w.ext_color_buffer_half_float,"you must enable EXT_color_buffer_half_float to use 16-bit render buffers"),l="rgba16f"):"float"!==u&&"float32"!==u||(Ct(w.webgl_color_buffer_float,"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers"),l="rgba32f"),Ct.oneOf(u,$,"invalid color type")),"colorFormat"in t&&(l=t.colorFormat,0<=X.indexOf(l)?s=!0:0<=J.indexOf(l)?s=!1:s?Ct.oneOf(t.colorFormat,X,"invalid color format for texture"):Ct.oneOf(t.colorFormat,J,"invalid color format for renderbuffer"))),("depthTexture"in t||"depthStencilTexture"in t)&&(p=!(!t.depthTexture&&!t.depthStencilTexture),Ct(!p||w.webgl_depth_texture,"webgl_depth_texture extension not supported")),"depth"in t&&("boolean"==typeof t.depth?i=t.depth:(f=t.depth,o=!1)),"stencil"in t&&("boolean"==typeof t.stencil?o=t.stencil:(h=t.stencil,i=!1)),"depthStencil"in t&&("boolean"==typeof t.depthStencil?i=o=t.depthStencil:(d=t.depthStencil,o=i=!1))):n=r=1,null),e=null,t=null,m=null;if(Array.isArray(a))y=a.map(He);else if(a)y=[He(a)];else for(y=new Array(c),b=0;b<c;++b)y[b]=Ye(n,r,s,l,u);Ct(w.webgl_draw_buffers||y.length<=1,"you must enable the WEBGL_draw_buffers extension in order to use multiple color buffers."),Ct(y.length<=Q.maxColorAttachments,"too many color attachments, not supported"),n=n||y[0].width,r=r||y[0].height,f?e=He(f):i&&!o&&(e=Ye(n,r,p,"depth","uint32")),h?t=He(h):o&&!i&&(t=Ye(n,r,!1,"stencil","uint8")),d?m=He(d):!f&&!h&&o&&i&&(m=Ye(n,r,p,"depth stencil","depth stencil")),Ct(!!f+!!h+!!d<=1,"invalid framebuffer configuration, can specify exactly one depth/stencil attachment");for(var g,v=null,b=0;b<y.length;++b)Fe(y[b],n,r),Ct(!y[b]||y[b].texture&&0<=Wt.indexOf(y[b].texture._texture.format)||y[b].renderbuffer&&0<=Xt.indexOf(y[b].renderbuffer._renderbuffer.format),"framebuffer color attachment "+b+" is invalid"),y[b]&&y[b].texture&&(g=qt[y[b].texture._texture.format]*Kt[y[b].texture._texture.type],null===v?v=g:Ct(v===g,"all color attachments much have the same number of bits per pixel."));return Fe(e,n,r),Ct(!e||e.texture&&6402===e.texture._texture.format||e.renderbuffer&&33189===e.renderbuffer._renderbuffer.format,"invalid depth attachment for framebuffer object"),Fe(t,n,r),Ct(!t||t.renderbuffer&&36168===t.renderbuffer._renderbuffer.format,"invalid stencil attachment for framebuffer object"),Fe(m,n,r),Ct(!m||m.texture&&34041===m.texture._texture.format||m.renderbuffer&&34041===m.renderbuffer._renderbuffer.format,"invalid depth-stencil attachment for framebuffer object"),We(_),_.width=n,_.height=r,_.colorAttachments=y,_.depthAttachment=e,_.stencilAttachment=t,_.depthStencilAttachment=m,x.color=y.map(Ge),x.depth=Ge(e),x.stencil=Ge(t),x.depthStencil=Ge(m),x.width=_.width,x.height=_.height,Ke(_),x}return K.framebufferCount++,x(e,t),At(x,{resize:function(e,t){Ct(A.next!==_,"can not resize a framebuffer which is currently in use");var n=Math.max(0|e,1),r=Math.max(0|t||n,1);if(n!==_.width||r!==_.height){for(var i=_.colorAttachments,o=0;o<i.length;++o)Ue(i[o],n,r);Ue(_.depthAttachment,n,r),Ue(_.stencilAttachment,n,r),Ue(_.depthStencilAttachment,n,r),_.width=x.width=n,_.height=x.height=r,Ke(_)}return x},_reglType:"framebuffer",_framebuffer:_,destroy:function(){qe(_),We(_)},use:function(e){A.setFBO({framebuffer:x},e)}})}function Je(e){this.id=oe++,this.refCount=1,this.renderbuffer=e,this.format=32854,this.width=0,this.height=0,re.profile&&(this.stats={size:0})}function $e(e){var t=e.renderbuffer;Ct(t,"must not double destroy renderbuffer"),u.bindRenderbuffer(It,null),u.deleteRenderbuffer(t),e.renderbuffer=null,e.refCount=0,delete n[e.id],ne.renderbufferCount--}function Ze(e,t,n,r){this.name=e,this.id=t,this.location=n,this.info=r}function et(e,t){for(var n=0;n<e.length;++n)if(e[n].id===t.id)return e[n].location=t.location;e.push(t)}function tt(e,t,n){var r,i=35632===e?s:l,o=i[t];return o||(r=m.str(t),o=y.createShader(e),y.shaderSource(o,r),y.compileShader(o),Ct.shaderError(y,o,r,e,n),i[t]=o),o}function nt(e,t,n){var r,i=tt(35632,e.fragId),o=tt(35633,e.vertId),a=e.program=y.createProgram();if(y.attachShader(a,i),y.attachShader(a,o),n)for(c=0;c<n.length;++c){var s=n[c];y.bindAttribLocation(a,s[0],s[1])}y.linkProgram(a),Ct.linkError(y,a,m.str(e.fragId),m.str(e.vertId),t);for(var l=y.getProgramParameter(a,35718),u=(se.profile&&(e.stats.uniformsCount=l),e.uniforms),c=0;c<l;++c)if(r=y.getActiveUniform(a,c))if(1<r.size)for(var f=0;f<r.size;++f){var h=r.name.replace("[0]","["+f+"]");et(u,new Ze(h,m.id(h),y.getUniformLocation(a,h),r))}else et(u,new Ze(r.name,m.id(r.name),y.getUniformLocation(a,r.name),r));var d=y.getProgramParameter(a,35721),p=(se.profile&&(e.stats.attributesCount=d),e.attributes);for(c=0;c<d;++c)(r=y.getActiveAttrib(a,c))&&et(p,new Ze(r.name,m.id(r.name),y.getAttribLocation(a,r.name),r))}function rt(e){this.id=pe++,(de[this.id]=this).buffer=e,this.primType=4,this.vertCount=0,this.type=0}function it(e,t,n,r,i,o,a){var s;if(e.buffer.bind(),t?((l=a)||St(t)&&(!Mt(t)||St(t.data))||(l=ce.oes_element_index_uint?5125:5123),fe._initBuffer(e.buffer,t,n,l,3)):(ue.bufferData(34963,o,n),e.buffer.dtype=s||5121,e.buffer.usage=n,e.buffer.dimension=3,e.buffer.byteLength=o),!(s=a)){switch(e.buffer.dtype){case 5121:case 5120:s=5121;break;case 5123:case 5122:s=5123;break;case 5125:case 5124:s=5125;break;default:Ct.raise("unsupported type for element array")}e.buffer.dtype=s}e.type=s,Ct(5125!==s||!!ce.oes_element_index_uint,"32 bit element buffers not supported, enable oes_element_index_uint first");var t=i,l=(t<0&&(t=e.buffer.byteLength,5123===s?t>>=1:5125===s&&(t>>=2)),e.vertCount=t,r);r<0&&(l=4,1===(n=e.buffer.dimension)&&(l=0),2===n&&(l=1),3===n)&&(l=4),e.primType=l}function ot(e){he.elementsCount--,Ct(null!==e.buffer,"must not double destroy elements"),delete de[e.id],e.buffer.destroy(),e.buffer=null}function at(e){this.id=_e++,this.buffer=d.createBuffer(),this.type=e,this.usage=35044,this.byteLength=0,this.dimension=1,this.dtype=5121,this.persistentData=null,ve.profile&&(this.stats={size:0})}function st(e,t,n){e.byteLength=t.byteLength,d.bufferData(e.type,t,n)}function lt(e,t,n,r,i,o){var a,s,l,u,c,f;if(e.usage=n,Array.isArray(t)){if(e.dtype=r||5126,0<t.length)if(Array.isArray(t[0])){for(var h=Ft(t),d=1,p=1;p<h.length;++p)d*=h[p];e.dimension=d,st(e,a=zt(t,h,e.dtype),n),o?e.persistentData=a:Et.freeType(a)}else"number"==typeof t[0]?(e.dimension=i,Ht(f=Et.allocType(e.dtype,t.length),t),st(e,f,n),o?e.persistentData=f:Et.freeType(f)):St(t[0])?(e.dimension=t[0].length,e.dtype=r||Vt(t[0])||5126,st(e,a=zt(t,[t.length,t[0].length],e.dtype),n),o?e.persistentData=a:Et.freeType(a)):Ct.raise("invalid buffer data")}else St(t)?(e.dtype=r||Vt(t),e.dimension=i,st(e,t,n),o&&(e.persistentData=new Uint8Array(new Uint8Array(t.buffer)))):Mt(t)?(h=t.shape,f=t.stride,a=t.offset,c=u=l=s=0,1===h.length?(s=h[0],l=1,u=f[0],c=0):2===h.length?(s=h[0],l=h[1],u=f[0],c=f[1]):Ct.raise("invalid shape"),e.dtype=r||Vt(t.data)||5126,e.dimension=l,Yt(f=Et.allocType(e.dtype,s*l),t.data,s,l,u,c,a),st(e,f,n),o?e.persistentData=f:Et.freeType(f)):t instanceof ArrayBuffer?(e.dtype=5121,e.dimension=i,st(e,t,n),o&&(e.persistentData=new Uint8Array(new Uint8Array(t)))):Ct.raise("invalid buffer data")}function ut(e){ge.bufferCount--,be(e);var t=e.buffer;Ct(t,"buffer must not be deleted already"),d.deleteBuffer(t),e.buffer=null,delete p[e.id]}function ct(){if(0===j.length)O&&O.update(),Re=null;else{Re=jt.next(ct),_t();for(var e=j.length-1;0<=e;--e){var t=j[e];t&&t(P,null,0)}o.flush(),O&&O.update()}}function ft(){!Re&&0<j.length&&(Re=jt.next(ct))}function ht(){Re&&(jt.cancel(ct),Re=null)}function dt(e){e.preventDefault(),H=!0,ht(),je.forEach(function(e){e()})}function pt(e){o.getError(),H=!1,Y.restore(),Pe.restore(),Oe.restore(),ke.restore(),Te.restore(),T.restore(),Ee.restore(),O&&O.restore(),I.procs.refresh(),ft(),De.forEach(function(e){e()})}function yt(e){function t(r,i){var o={},a={};return Object.keys(r).forEach(function(e){var t=r[e];if(Ot.isDynamic(t))a[e]=Ot.unbox(t,e);else{if(i&&Array.isArray(t))for(var n=0;n<t.length;++n)if(Ot.isDynamic(t[n]))return void(a[e]=Ot.unbox(t,e));o[e]=t}}),{dynamic:a,static:o}}Ct(!!e,"invalid args to regl({...})"),Ct.type(e,"object","invalid args to regl({...})");var r,n=t(e.context||{},!0),i=t(e.uniforms||{},!0),o=t(e.attributes||{},!1),e=t((delete(r=At({},e=e)).uniforms,delete r.attributes,delete r.context,delete r.vao,"stencil"in r&&r.stencil.op&&(r.stencil.opBack=r.stencil.opFront=r.stencil.op,delete r.stencil.op),h("blend"),h("depth"),h("cull"),h("stencil"),h("polygonOffset"),h("scissor"),h("sample"),"vao"in e&&(r.vao=e.vao),r),!1),a={gpuTime:0,cpuTime:0,count:0},s=I.compile(e,o,i,n,a),l=s.draw,u=s.batch,c=s.scope,f=[];function h(t){var n;t in r&&(n=r[t],delete r[t],Object.keys(n).forEach(function(e){r[t+"."+e]=n[e]}))}return At(function(e,t){var n;if(H&&Ct.raise("context lost"),"function"==typeof e)return c.call(this,null,e,0);if("function"!=typeof t)return"number"!=typeof e?Array.isArray(e)?e.length?u.call(this,e,e.length):void 0:l.call(this,e):0<e?u.call(this,function(e){for(;f.length<e;)f.push(null);return f}(0|e),0|e):void 0;if("number"==typeof e)for(n=0;n<e;++n)c.call(this,null,t,n);else{if(!Array.isArray(e))return c.call(this,e,t,0);for(n=0;n<e.length;++n)c.call(this,e[n],t,n)}},{stats:a,destroy:function(){s.destroy()}})}Le&&(Le.addEventListener(Ln,dt,!1),Le.addEventListener(jn,pt,!1));var mt=T.setFBO=yt({framebuffer:Ot.define.call(null,1,"framebuffer")});function gt(e,t){var n=0,r=(I.procs.poll(),t.color);r&&(o.clearColor(+r[0]||0,+r[1]||0,+r[2]||0,+r[3]||0),n|=16384),"depth"in t&&(o.clearDepth(+t.depth),n|=256),"stencil"in t&&(o.clearStencil(0|t.stencil),n|=1024),Ct(!!n,"called regl.clear with no buffer specified"),o.clear(n)}function vt(t){return Ct.type(t,"function","regl.frame() callback must be a function"),j.push(t),ft(),{cancel:function(){var e=Dn(j,t);Ct(0<=e,"cannot cancel a frame twice"),j[e]=function e(){var t=Dn(j,e);j[t]=j[j.length-1],--j.length,j.length<=0&&ht()}}}}function bt(){var e=Ie.viewport,t=Ie.scissor_box;e[0]=e[1]=t[0]=t[1]=0,P.viewportWidth=P.framebufferWidth=P.drawingBufferWidth=e[2]=t[2]=o.drawingBufferWidth,P.viewportHeight=P.framebufferHeight=P.drawingBufferHeight=e[3]=t[3]=o.drawingBufferHeight}function _t(){P.tick+=1,P.time=wt(),bt(),I.procs.poll()}function xt(){ke.refresh(),bt(),I.procs.refresh(),O&&O.update()}function wt(){return(Dt()-Ce)/1e3}xt();var D=At(yt,{clear:function(e){if(Ct("object"===Bn(e)&&e,"regl.clear() takes an object as input"),"framebuffer"in e)if(e.framebuffer&&"framebufferCube"===e.framebuffer_reglType)for(var t=0;t<6;++t)mt(At({framebuffer:e.framebuffer.faces[t]},e),gt);else mt(e,gt);else gt(0,e)},prop:Ot.define.bind(null,1),context:Ot.define.bind(null,2),this:Ot.define.bind(null,3),draw:yt({}),buffer:function(e){return Oe.create(e,34962,!1,!1)},elements:function(e){return Me.create(e,!1)},texture:ke.create2D,cube:ke.createCube,renderbuffer:Te.create,framebuffer:T.create,framebufferCube:T.createCube,vao:Ee.createVAO,attributes:e,frame:vt,on:function(e,t){var n;switch(Ct.type(t,"function","listener callback must be a function"),e){case"frame":return vt(t);case"lost":n=je;break;case"restore":n=De;break;case"destroy":n=Be;break;default:Ct.raise("invalid event, must be one of frame,lost,restore,destroy")}return n.push(t),{cancel:function(){for(var e=0;e<n.length;++e)if(n[e]===t)return n[e]=n[n.length-1],void n.pop()}}},limits:k,hasExtension:function(e){return 0<=k.extensions.indexOf(e.toLowerCase())},read:L,destroy:function(){j.length=0,ht(),Le&&(Le.removeEventListener(Ln,dt),Le.removeEventListener(jn,pt)),Pe.clear(),T.clear(),Te.clear(),ke.clear(),Me.clear(),Oe.clear(),Ee.clear(),O&&O.clear(),Be.forEach(function(e){e()})},_gl:o,_refresh:xt,poll:function(){_t(),O&&O.update()},now:wt,stats:S});return t.onDone(null,D),D}},"object"===Bn(t)?e.exports=r():void 0!==(n="function"==typeof(r=r)?r.call(t,n,t,e):r)&&(e.exports=n)},5515:function(e,t,n){"use strict";var o=n(56730),a=Array.prototype.concat,s=Array.prototype.slice,r=e.exports=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];o(i)?t=a.call(t,s.call(i)):t.push(i)}return t};r.wrap=function(e){return function(){return e(r(arguments))}}},43425:function(e,t,n){var r;function i(e){return(i="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})(e)}r=function(){"use strict";var a=new Uint8Array(0);function t(e){this._source=e,this._array=a,this._index=0}return t.prototype.read=function(){var r=this,i=r._array.subarray(r._index);return r._source.read().then(function(e){return r._array=a,r._index=0,e.done?0<i.length?{done:!1,value:i}:{done:!0,value:void 0}:{done:!1,value:(t=i,e=e.value,t.length?e.length?((n=new Uint8Array(t.length+e.length)).set(t),n.set(e,t.length),n):t:e)};var t,n})},t.prototype.slice=function(n){if((n|=0)<0)throw new Error("invalid length");var r,i=this,o=this._array.length-this._index;return this._index+n<=this._array.length?Promise.resolve(this._array.subarray(this._index,this._index+=n)):((r=new Uint8Array(n)).set(this._array.subarray(this._index)),function t(){return i._source.read().then(function(e){return e.done?(i._array=a,(i._index=0)<o?r.subarray(0,o):null):o+e.value.length>=n?(i._array=e.value,i._index=n-o,r.set(e.value.subarray(0,n-o),o),r):(r.set(e.value,o),o+=e.value.length,t())})}())},t.prototype.cancel=function(){return this._source.cancel()},function(e){return"function"==typeof e.slice?e:new t("function"==typeof e.read?e:e.getReader())}},"object"===i(t)?e.exports=r():void 0!==(n="function"==typeof(r=r)?r.call(t,n,t,e):r)&&(e.exports=n)},52174:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},77574:function(e,t,n){var r=n(52174);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},81121:function(e){function l(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}e.exports=function(s){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){l(r,t,n,i,o,"next",e)}function o(e){l(r,t,n,i,o,"throw",e)}i(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},46834:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},43083:function(e,t,n){var i=n(90597);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},75650:function(e,t,n){var r=n(90597);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},28860:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},26791:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},82015:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},83342:function(S,e,t){var C=t(60549).default;function n(){"use strict";S.exports=function(){return a},S.exports.__esModule=!0,S.exports.default=S.exports;var a={},e=Object.prototype,l=e.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(e){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof h?t:h,t=Object.create(t.prototype),r=new x(r||[]);return u(t,"_invoke",{value:(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return A()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=n.method,i=t.iterator[r];if(void 0===i)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;r=c(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;i=r.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}(n,a);if(n){if(n===f)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=c(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===f)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}})}),t}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var f={};function h(){}function d(){}function p(){}var t={},y=(o(t,r,function(){return this}),Object.getPrototypeOf),y=y&&y(y(w([]))),m=(y&&y!==e&&l.call(y,r)&&(t=y),p.prototype=h.prototype=Object.create(t));function g(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function v(a,s){var t;u(this,"_invoke",{value:function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=c(a[e],a,n);return"throw"!==e.type?(n=(o=e.arg).value)&&"object"==C(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)}):void i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}})}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function w(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:A}}function A(){return{value:void 0,done:!0}}return u(m,"constructor",{value:d.prototype=p,configurable:!0}),u(p,"constructor",{value:d,configurable:!0}),d.displayName=o(p,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,o(e,i,"GeneratorFunction")),e.prototype=Object.create(m),e},a.awrap=function(e){return{__await:e}},g(v.prototype),o(v.prototype,n,function(){return this}),a.AsyncIterator=v,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new v(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},g(m),o(m,i,"Generator"),o(m,r,function(){return this}),o(m,"toString",function(){return"[object Generator]"}),a.keys=function(e){var t,n=Object(e),r=[];for(t in n)r.push(t);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=w,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,_(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:w(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},a}S.exports=n,S.exports.__esModule=!0,S.exports.default=S.exports},7637:function(e,t,n){var r=n(77574),i=n(26791),o=n(77630),a=n(82015);e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},51285:function(e,t,n){var r=n(60549).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")},e.exports.__esModule=!0,e.exports.default=e.exports},90597:function(e,t,n){var r=n(60549).default,i=n(51285);e.exports=function(e){e=i(e,"string");return"symbol"===r(e)?e:String(e)},e.exports.__esModule=!0,e.exports.default=e.exports},60549:function(t){function n(e){return t.exports=n="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},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},77630:function(e,t,n){var r=n(52174);e.exports=function(e,t){var n;if(e)return"string"==typeof e?r(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0},e.exports.__esModule=!0,e.exports.default=e.exports},31364:function(e,t,n){function r(e){return(r="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})(e)}n=n(83342)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},41351:function(e,t){"use strict";var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)};function p(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{o(l.next(e))}catch(e){t(e)}}function i(e){try{o(l.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}o((l=l.apply(e,a||[])).next())})}function y(r,i){var o,a,s,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(n){return function(e){var t=[n,e];if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,a&&(s=2&t[0]?a.return:t[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,t[1])).done)return s;switch(a=0,(t=s?[2&t[0],s.value]:t)[0]){case 0:case 1:s=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,a=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(s=0<(s=l.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3]))l.label=t[1];else if(6===t[0]&&l.label<s[1])l.label=s[1],s=t;else{if(!(s&&l.label<s[2])){s[2]&&l.ops.pop(),l.trys.pop();continue}l.label=s[2],l.ops.push(t)}}t=i.call(r,l)}catch(e){t=[6,e],a=0}finally{o=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function d(e){return this instanceof d?(this.v=e,this):new d(e)}r=Error,n(i=c,o=r),i.prototype=null===o?Object.create(o):(f.prototype=o.prototype,new f);var r,i,o,u=c;Object.defineProperty(l.prototype,"empty",{get:function(){return 0===this._q.length},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"full",{get:function(){return this._q.length>=this._c},enumerable:!1,configurable:!0}),l.prototype.add=function(e){if(this.full)throw new Error("Buffer full");this._q.push(e)},l.prototype.remove=function(){if(this.empty)throw new Error("Buffer empty");return this._q.shift()},Object.defineProperty(s.prototype,"empty",{get:function(){return 0===this._q.length},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"full",{get:function(){return!1},enumerable:!1,configurable:!0}),s.prototype.add=function(e){for(;this._q.length>=this._c;)this._q.shift();this._q.push(e)},s.prototype.remove=function(){if(this.empty)throw new Error("Buffer empty");return this._q.shift()},Object.defineProperty(a.prototype,"empty",{get:function(){return 0===this._q.length},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"full",{get:function(){return!1},enumerable:!1,configurable:!0}),a.prototype.add=function(e){this._q.length<this._c&&this._q.push(e)},a.prototype.remove=function(){if(this.empty)throw new Error("Buffer empty");return this._q.shift()};function a(e){if(e<1)throw new RangeError("Capacity may not be less than 1");this._c=e,this._q=[]}function s(e){if(e<1)throw new RangeError("Capacity may not be less than 1");this._c=e,this._q=[]}function l(e){if(e<0)throw new RangeError("Capacity may not be less than 0");this._c=e,this._q=[]}function c(e){e=r.call(this,e)||this;return Object.defineProperty(e,"name",{value:"RepeaterOverflowError",enumerable:!1}),"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(e,e.constructor.prototype):e.__proto__=e.constructor.prototype,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(e,e.constructor),e}function f(){this.constructor=i}function h(e){null!=e&&"function"==typeof e.then&&e.then(g,g)}function g(){}var v=2,b=3,_=4;function x(e){var t=e.err,n=Promise.resolve(e.execution).then(function(e){if(null!=t)throw t;return e});return e.err=void 0,e.execution=n.then(function(){},function(){}),void 0===e.pending?n:e.pending.then(function(){return n})}function w(t,e){var n=t.state>=b;return Promise.resolve(e).then(function(e){return!n&&t.state>=_?x(t).then(function(e){return{value:e,done:!0}}):{value:e,done:n}})}function A(e,t){var n,r;if(!(e.state>=v))if(e.state=v,e.onnext(),e.onstop(),null==e.err&&(e.err=t),0!==e.pushes.length||void 0!==e.buffer&&!e.buffer.empty)try{for(var i=m(e.pushes),o=i.next();!o.done;o=i.next())o.value.resolve()}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}else S(e)}function S(e){var t,n;if(!(e.state>=b)){e.state<v&&A(e),e.state=b,e.buffer=void 0;try{for(var r=m(e.nexts),i=r.next();!i.done;i=r.next()){var o=i.value,a=void 0===e.pending?x(e):e.pending.then(function(){return x(e)});o.resolve(w(e,a))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}e.pushes=[],e.nexts=[]}}function C(e){e.state>=_||(e.state<b&&S(e),e.state=_)}var O=new WeakMap,E=(M.prototype.next=function(t){h(t);var e,n,r,i,o,a,s,l=O.get(this);if(void 0===l)throw new Error("WeakMap error");if(1024<=l.nexts.length)throw new u("No more than 1024 pending calls to next are allowed on a single repeater.");return l.state<=0&&(1<=(n=l).state||(n.state=1,r=function(t,e){if(h(e),1024<=t.pushes.length)throw new u("No more than 1024 pending calls to push are allowed on a single repeater.");var n,r,i,o,a;return t.state>=v?Promise.resolve(void 0):(n=(n=void 0===t.pending?Promise.resolve(e):t.pending.then(function(){return e})).catch(function(e){t.state<v&&(t.err=e),C(t)}),r=t.nexts.length?(t.nexts.shift().resolve(w(t,n)),t.nexts.length?Promise.resolve(t.nexts[0].value):new Promise(function(e){return t.onnext=e})):void 0===t.buffer||t.buffer.full?new Promise(function(e){return t.pushes.push({resolve:e,value:n})}):(t.buffer.add(n),Promise.resolve(void 0)),i=!0,o={},a=r.catch(function(e){if(i)throw e}),o.then=function(e,t){return i=!1,Promise.prototype.then.call(r,e,t)},o.catch=function(e){return i=!1,Promise.prototype.catch.call(r,e)},o.finally=r.finally.bind(r),t.pending=n.then(function(){return a}).catch(function(e){t.err=e,C(t)}),o)}.bind(null,n),o=n,a=A.bind(null,o),s=new Promise(function(e){return o.onstop=e}),a.then=s.then.bind(s),a.catch=s.catch.bind(s),a.finally=s.finally.bind(s),i=a,n.execution=new Promise(function(e){return e(n.executor(r,i))}),n.execution.catch(function(){return A(n)}))),l.onnext(t),void 0===l.buffer||l.buffer.empty?l.pushes.length?(s=l.pushes.shift(),l.onnext=s.resolve,w(l,s.value)):l.state>=v?(S(l),w(l,x(l))):new Promise(function(e){return l.nexts.push({resolve:e,value:t})}):(a=w(l,l.buffer.remove()),l.pushes.length&&(e=l.pushes.shift(),l.buffer.add(e.value),l.onnext=e.resolve),a)},M.prototype.return=function(e){h(e);var t=O.get(this);if(void 0===t)throw new Error("WeakMap error");return S(t),t.execution=Promise.resolve(t.execution).then(function(){return e}),w(t,x(t))},M.prototype.throw=function(e){var t=O.get(this);if(void 0===t)throw new Error("WeakMap error");return t.state<=0||t.state>=v||void 0!==t.buffer&&!t.buffer.empty?(S(t),null==t.err&&(t.err=e),w(t,x(t))):this.next(Promise.reject(e))},M.prototype[Symbol.asyncIterator]=function(){return this},M.race=k,M.merge=T,M.zip=I,M.latest=L,M);function M(e,t){O.set(this,{executor:e,buffer:t,err:void 0,state:0,pushes:[],nexts:[],pending:void 0,execution:void 0,onnext:g,onstop:g})}function P(e,h){function t(f){null!=f&&"function"==typeof f[Symbol.asyncIterator]?i.push(f[Symbol.asyncIterator]()):null!=f&&"function"==typeof f[Symbol.iterator]?i.push(f[Symbol.iterator]()):i.push(function(){var i,o,e,t=this,n=arguments,r=function(){return y(this,function(e){switch(e.label){case 0:return h.yieldValues?[4,d(f)]:[3,3];case 1:return[4,e.sent()];case 2:e.sent(),e.label=3;case 3:return h.returnValues?[4,d(f)]:[3,5];case 4:return[2,e.sent()];case 5:return[2]}})};if(Symbol.asyncIterator)return i=r.apply(t,n||[]),o=[],e={},a("next"),a("throw"),a("return"),e[Symbol.asyncIterator]=function(){return this},e;throw new TypeError("Symbol.asyncIterator is not defined.");function a(r){i[r]&&(e[r]=function(n){return new Promise(function(e,t){1<o.push([r,n,e,t])||s(r,n)})})}function s(e,t){try{(n=i[e](t)).value instanceof d?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}())}var n,r,i=[];try{for(var o=m(e),a=o.next();!a.done;a=o.next())t(a.value)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}function k(e){var t=this,d=P(e,{returnValues:!0});return new E(function(f,h){return p(t,void 0,void 0,function(){var s,t,l,u,c,n;return y(this,function(e){switch(e.label){case 0:if(!d.length)return h(),[2];t=!1,h.then(function(){s(),t=!0}),e.label=1;case 1:e.trys.push([1,,5,7]),u=void 0,c=0,n=function(){var t,n,r,i,o,a;return y(this,function(e){switch(e.label){case 0:t=c;try{for(o=void 0,n=m(d),r=n.next();!r.done;r=n.next())i=r.value,Promise.resolve(i.next()).then(function(e){e.done?(h(),void 0===l&&(l=e)):c===t&&(c++,s(e))},function(e){return h(e)})}catch(e){o={error:e}}finally{try{r&&!r.done&&(a=n.return)&&a.call(n)}finally{if(o)throw o.error}}return[4,new Promise(function(e){return s=e})];case 1:return void 0===(u=e.sent())?[3,3]:[4,f(u.value)];case 2:e.sent(),e.label=3;case 3:return[2]}})},e.label=2;case 2:return t?[3,4]:[5,n()];case 3:return e.sent(),[3,2];case 4:return[2,l&&l.value];case 5:return h(),[4,Promise.race(d.map(function(e){return e.return&&e.return()}))];case 6:return e.sent(),[7];case 7:return[2]}})})})}function T(e){var t=this,n=P(e,{yieldValues:!0});return new E(function(s,l){return p(t,void 0,void 0,function(){var i,o,a,t=this;return y(this,function(e){switch(e.label){case 0:if(!n.length)return l(),[2];o=!(i=[]),l.then(function(){var t,e;o=!0;try{for(var n=m(i),r=n.next();!r.done;r=n.next())(0,r.value)()}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}),e.label=1;case 1:return e.trys.push([1,,3,4]),[4,Promise.all(n.map(function(n,r){return p(t,void 0,void 0,function(){var t;return y(this,function(e){switch(e.label){case 0:e.trys.push([0,,6,9]),e.label=1;case 1:return o?[3,5]:(Promise.resolve(n.next()).then(function(e){return i[r](e)},function(e){return l(e)}),[4,new Promise(function(e){i[r]=e})]);case 2:return void 0===(t=e.sent())?[3,4]:t.done?(a=t,[2]):[4,s(t.value)];case 3:e.sent(),e.label=4;case 4:return[3,1];case 5:return[3,9];case 6:return n.return?[4,n.return()]:[3,8];case 7:e.sent(),e.label=8;case 8:return[7];case 9:return[2]}})})}))];case 2:return e.sent(),[2,a&&a.value];case 3:return l(),[7];case 4:return[2]}})})})}function I(e){var t=this,s=P(e,{returnValues:!0});return new E(function(o,a){return p(t,void 0,void 0,function(){var t,n,r,i;return y(this,function(e){switch(e.label){case 0:if(!s.length)return a(),[2,[]];n=!1,a.then(function(){t(),n=!0}),e.label=1;case 1:e.trys.push([1,,6,8]),e.label=2;case 2:return n?[3,5]:(Promise.all(s.map(function(e){return e.next()})).then(function(e){return t(e)},function(e){return a(e)}),[4,new Promise(function(e){return t=e})]);case 3:return void 0===(r=e.sent())?[2]:(i=r.map(function(e){return e.value}),r.some(function(e){return e.done})?[2,i]:[4,o(i)]);case 4:return e.sent(),[3,2];case 5:return[3,8];case 6:return a(),[4,Promise.all(s.map(function(e){return e.return&&e.return()}))];case 7:return e.sent(),[7];case 8:return[2]}})})})}function L(e){var t=this,n=P(e,{yieldValues:!0,returnValues:!0});return new E(function(u,c){return p(t,void 0,void 0,function(){var i,o,a,s,l,t=this;return y(this,function(e){switch(e.label){case 0:if(!n.length)return c(),[2,[]];a=!(o=[]),c.then(function(){var t,e;i();try{for(var n=m(o),r=n.next();!r.done;r=n.next())(0,r.value)()}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}a=!0}),e.label=1;case 1:return e.trys.push([1,,5,7]),Promise.all(n.map(function(e){return e.next()})).then(function(e){return i(e)},function(e){return c(e)}),[4,new Promise(function(e){return i=e})];case 2:return void 0===(s=e.sent())?[2]:(l=s.map(function(e){return e.value}),s.every(function(e){return e.done})?[2,l]:[4,u(l.slice())]);case 3:return e.sent(),[4,Promise.all(n.map(function(n,r){return p(t,void 0,void 0,function(){var t;return y(this,function(e){switch(e.label){case 0:if(s[r].done)return[2,s[r].value];e.label=1;case 1:return a?[3,4]:(Promise.resolve(n.next()).then(function(e){return o[r](e)},function(e){return c(e)}),[4,new Promise(function(e){return o[r]=e})]);case 2:return void 0===(t=e.sent())?[2,s[r].value]:t.done?[2,t.value]:(l[r]=t.value,[4,u(l.slice())]);case 3:return e.sent(),[3,1];case 4:return[2]}})})}))];case 4:return[2,e.sent()];case 5:return c(),[4,Promise.all(n.map(function(e){return e.return&&e.return()}))];case 6:return e.sent(),[7];case 7:return[2]}})})})}t.ZN=E},65064:function(e,t,n){var r;function i(e){return(i="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})(e)}r=function(){"use strict";function v(e){return(v="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})(e)}var b=/^\s+/,_=/\s+$/;function x(e,t){var n,r,i,o,a,s,l,u,c,f,h,d,p,y,m;return t=t||{},(e=e||"")instanceof x?e:this instanceof x?(h={r:0,g:0,b:0},p=null,m=y=!(d=1),d=A(d="object"==v(n="string"==typeof(n=e)?function(e){e=e.replace(b,"").replace(_,"").toLowerCase();var t,n=!1;if(w[e])e=w[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=L.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=L.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=L.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=L.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=L.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=L.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=L.hex8.exec(e))?{r:C(t[1]),g:C(t[2]),b:C(t[3]),a:P(t[4]),format:n?"name":"hex8"}:(t=L.hex6.exec(e))?{r:C(t[1]),g:C(t[2]),b:C(t[3]),format:n?"name":"hex"}:(t=L.hex4.exec(e))?{r:C(t[1]+""+t[1]),g:C(t[2]+""+t[2]),b:C(t[3]+""+t[3]),a:P(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=L.hex3.exec(e))&&{r:C(t[1]+""+t[1]),g:C(t[2]+""+t[2]),b:C(t[3]+""+t[3]),format:n?"name":"hex"}}(n):n)&&(j(n.r)&&j(n.g)&&j(n.b)?(u=n.r,c=n.g,f=n.b,h={r:255*S(u,255),g:255*S(c,255),b:255*S(f,255)},y=!0,m="%"===String(n.r).substr(-1)?"prgb":"rgb"):j(n.h)&&j(n.s)&&j(n.v)?(p=E(n.s),u=E(n.v),c=n.h,f=p,u=u,c=6*S(c,360),f=S(f,100),u=S(u,100),a=Math.floor(c),h={r:255*[u,l=u*(1-(c-=a)*f),s=u*(1-f),s,c=u*(1-(1-c)*f),u][f=a%6],g:255*[c,u,u,l,s,s][f],b:255*[s,s,c,u,u,l][f]},y=!0,m="hsv"):j(n.h)&&j(n.s)&&j(n.l)&&(p=E(n.s),a=E(n.l),s=n.h,c=p,u=a,s=S(s,360),c=S(c,100),u=S(u,100),0===c?r=i=o=u:(r=g(c=2*u-(u=u<.5?u*(1+c):u+c-u*c),u,s+1/3),i=g(c,u,s),o=g(c,u,s-1/3)),h={r:255*r,g:255*i,b:255*o},y=!0,m="hsl"),n.hasOwnProperty("a"))?n.a:d),l={ok:y,format:n.format||m,r:Math.min(255,Math.max(h.r,0)),g:Math.min(255,Math.max(h.g,0)),b:Math.min(255,Math.max(h.b,0)),a:d},this._originalInput=e,this._r=l.r,this._g=l.g,this._b=l.b,this._a=l.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||l.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),void(this._ok=l.ok)):new x(e,t);function g(e,t,n){return n<0&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}}function r(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,i=Math.max(e,t,n),o=Math.min(e,t,n),a=(i+o)/2;if(i==o)r=l=0;else{var s=i-o,l=.5<a?s/(2-i-o):s/(i+o);switch(i){case e:r=(t-n)/s+(t<n?6:0);break;case t:r=(n-e)/s+2;break;case n:r=(e-t)/s+4}r/=6}return{h:r,s:l,l:a}}function i(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,i=Math.max(e,t,n),o=Math.min(e,t,n),a=i,s=i-o,l=0===i?0:s/i;if(i==o)r=0;else{switch(i){case e:r=(t-n)/s+(t<n?6:0);break;case t:r=(n-e)/s+2;break;case n:r=(e-t)/s+4}r/=6}return{h:r,s:l,v:a}}function t(e,t,n,r){e=[O(Math.round(e).toString(16)),O(Math.round(t).toString(16)),O(Math.round(n).toString(16))];return r&&e[0].charAt(0)==e[0].charAt(1)&&e[1].charAt(0)==e[1].charAt(1)&&e[2].charAt(0)==e[2].charAt(1)?e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0):e.join("")}function o(e,t,n,r){return[O(M(r)),O(Math.round(e).toString(16)),O(Math.round(t).toString(16)),O(Math.round(n).toString(16))].join("")}function e(e,t){t=0===t?0:t||10;e=x(e).toHsl();return e.s-=t/100,e.s=g(e.s),x(e)}function n(e,t){t=0===t?0:t||10;e=x(e).toHsl();return e.s+=t/100,e.s=g(e.s),x(e)}function a(e){return x(e).desaturate(100)}function s(e,t){t=0===t?0:t||10;e=x(e).toHsl();return e.l+=t/100,e.l=g(e.l),x(e)}function l(e,t){t=0===t?0:t||10;e=x(e).toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(-t/100*255))),e.g=Math.max(0,Math.min(255,e.g-Math.round(-t/100*255))),e.b=Math.max(0,Math.min(255,e.b-Math.round(-t/100*255))),x(e)}function u(e,t){t=0===t?0:t||10;e=x(e).toHsl();return e.l-=t/100,e.l=g(e.l),x(e)}function c(e,t){e=x(e).toHsl(),t=(e.h+t)%360;return e.h=t<0?360+t:t,x(e)}function f(e){e=x(e).toHsl();return e.h=(e.h+180)%360,x(e)}function h(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=x(e).toHsl(),r=[x(e)],i=360/t,o=1;o<t;o++)r.push(x({h:(n.h+o*i)%360,s:n.s,l:n.l}));return r}function d(e){var t=x(e).toHsl(),n=t.h;return[x(e),x({h:(n+72)%360,s:t.s,l:t.l}),x({h:(n+216)%360,s:t.s,l:t.l})]}function p(e,t,n){t=t||6,n=n||30;var r=x(e).toHsl(),i=360/n,o=[x(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(x(r));return o}function y(e,t){t=t||6;for(var e=x(e).toHsv(),n=e.h,r=e.s,i=e.v,o=[],a=1/t;t--;)o.push(x({h:n,s:r,v:i})),i=(i+a)%1;return o}x.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,e=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((.055+t)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((.055+n)/1.055,2.4))+.0722*(e<=.03928?e/12.92:Math.pow((.055+e)/1.055,2.4))},setAlpha:function(e){return this._a=A(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=i(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=i(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),e=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+e+"%)":"hsva("+t+", "+n+"%, "+e+"%, "+this._roundA+")"},toHsl:function(){var e=r(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=r(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),e=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+e+"%)":"hsla("+t+", "+n+"%, "+e+"%, "+this._roundA+")"},toHex:function(e){return t(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){var t=this._r,n=this._g,r=this._b,i=this._a;return t=[O(Math.round(t).toString(16)),O(Math.round(n).toString(16)),O(Math.round(r).toString(16)),O(M(i))],e&&t[0].charAt(0)==t[0].charAt(1)&&t[1].charAt(0)==t[1].charAt(1)&&t[2].charAt(0)==t[2].charAt(1)&&t[3].charAt(0)==t[3].charAt(1)?t[0].charAt(0)+t[1].charAt(0)+t[2].charAt(0)+t[3].charAt(0):t.join("")},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*S(this._r,255))+"%",g:Math.round(100*S(this._g,255))+"%",b:Math.round(100*S(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*S(this._r,255))+"%, "+Math.round(100*S(this._g,255))+"%, "+Math.round(100*S(this._b,255))+"%)":"rgba("+Math.round(100*S(this._r,255))+"%, "+Math.round(100*S(this._g,255))+"%, "+Math.round(100*S(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(m[t(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+o(this._r,this._g,this._b,this._a),n=t;return"progid:DXImageTransform.Microsoft.gradient("+(this._gradientType?"GradientType = 1, ":"")+"startColorstr="+t+",endColorstr="+(n=e?"#"+o((t=x(e))._r,t._g,t._b,t._a):n)+")"},toString:function(e){var t=!!e,n=(e=e||this._format,!1),r=this._a<1&&0<=this._a;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),(n="hsv"===e?this.toHsvString():n)||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return x(this.toString())},_applyModification:function(e,t){e=e.apply(null,[this].concat([].slice.call(t)));return this._r=e._r,this._g=e._g,this._b=e._b,this.setAlpha(e._a),this},lighten:function(){return this._applyModification(s,arguments)},brighten:function(){return this._applyModification(l,arguments)},darken:function(){return this._applyModification(u,arguments)},desaturate:function(){return this._applyModification(e,arguments)},saturate:function(){return this._applyModification(n,arguments)},greyscale:function(){return this._applyModification(a,arguments)},spin:function(){return this._applyModification(c,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(p,arguments)},complement:function(){return this._applyCombination(f,arguments)},monochromatic:function(){return this._applyCombination(y,arguments)},splitcomplement:function(){return this._applyCombination(d,arguments)},triad:function(){return this._applyCombination(h,[3])},tetrad:function(){return this._applyCombination(h,[4])}},x.fromRatio=function(e,t){if("object"==v(e)){var n,r={};for(n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:E(e[n]));e=r}return x(e,t)},x.equals=function(e,t){return!(!e||!t)&&x(e).toRgbString()==x(t).toRgbString()},x.random=function(){return x.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},x.mix=function(e,t,n){n=0===n?0:n||50;e=x(e).toRgb(),t=x(t).toRgb(),n/=100;return x({r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b,a:(t.a-e.a)*n+e.a})},x.readability=function(e,t){e=x(e),t=x(t);return(Math.max(e.getLuminance(),t.getLuminance())+.05)/(Math.min(e.getLuminance(),t.getLuminance())+.05)},x.isReadable=function(e,t,n){var r=x.readability(e,t),i=!1;switch(t=((e=(e=n)||{level:"AA",size:"small"}).level||"AA").toUpperCase(),e=(e.size||"small").toLowerCase(),(n={level:t="AA"!==t&&"AAA"!==t?"AA":t,size:e="small"!==e&&"large"!==e?"small":e}).level+n.size){case"AAsmall":case"AAAlarge":i=4.5<=r;break;case"AAlarge":i=3<=r;break;case"AAAsmall":i=7<=r}return i},x.mostReadable=function(e,t,n){for(var r,i=null,o=0,a=(n=n||{}).includeFallbackColors,s=n.level,l=n.size,u=0;u<t.length;u++)(r=x.readability(e,t[u]))>o&&(o=r,i=x(t[u]));return x.isReadable(e,i,{level:s,size:l})||!a?i:(n.includeFallbackColors=!1,x.mostReadable(e,["#fff","#000"],n))};var w=x.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},m=x.hexNames=function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}(w);function A(e){return e=parseFloat(e),e=isNaN(e)||e<0||1<e?1:e}function S(e,t){var n="string"==typeof(e="string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)?"100%":e)&&-1!=e.indexOf("%");return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function g(e){return Math.min(1,Math.max(0,e))}function C(e){return parseInt(e,16)}function O(e){return 1==e.length?"0"+e:""+e}function E(e){return e=e<=1?100*e+"%":e}function M(e){return Math.round(255*parseFloat(e)).toString(16)}function P(e){return C(e)/255}T="[\\s|\\(]+("+(k="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+k+")[,|\\s]+("+k+")\\s*\\)?",I="[\\s|\\(]+("+k+")[,|\\s]+("+k+")[,|\\s]+("+k+")[,|\\s]+("+k+")\\s*\\)?";var k,T,I,L={CSS_UNIT:new RegExp(k),rgb:new RegExp("rgb"+T),rgba:new RegExp("rgba"+I),hsl:new RegExp("hsl"+T),hsla:new RegExp("hsla"+I),hsv:new RegExp("hsv"+T),hsva:new RegExp("hsva"+I),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function j(e){return L.CSS_UNIT.exec(e)}return x},"object"===i(t)?e.exports=r():void 0!==(n="function"==typeof(r=r)?r.call(t,n,t,e):r)&&(e.exports=n)},4644:function(B,e,t){"use strict";function n(e,t,n){(e.prototype=t.prototype=n).constructor=e}function r(e,t){var n,r=Object.create(e.prototype);for(n in t)r[n]=t[n];return r}function u(){}t.r(e),t.d(e,{interpolate:function(){return E},interpolateArray:function(){return le},interpolateBasis:function(){return ee},interpolateBasisClosed:function(){return te},interpolateCubehelix:function(){return Je},interpolateCubehelixLong:function(){return $e},interpolateDate:function(){return ce},interpolateDiscrete:function(){return pe},interpolateHcl:function(){return Ye},interpolateHclLong:function(){return Ge},interpolateHsl:function(){return Oe},interpolateHslLong:function(){return Ee},interpolateHue:function(){return ye},interpolateLab:function(){return Ve},interpolateNumber:function(){return A},interpolateNumberArray:function(){return w},interpolateObject:function(){return fe},interpolateRgb:function(){return x},interpolateRgbBasis:function(){return oe},interpolateRgbBasisClosed:function(){return ae},interpolateRound:function(){return me},interpolateString:function(){return he},interpolateTransformCss:function(){return xe},interpolateTransformSvg:function(){return we},interpolateZoom:function(){return Se},piecewise:function(){return Ze},quantize:function(){return et}});var t="\\s*([+-]?\\d+)\\s*",e="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",i="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",R=/^#([0-9a-f]{3,8})$/,N=new RegExp("^rgb\\(".concat(t,",").concat(t,",").concat(t,"\\)$")),z=new RegExp("^rgb\\(".concat(i,",").concat(i,",").concat(i,"\\)$")),F=new RegExp("^rgba\\(".concat(t,",").concat(t,",").concat(t,",").concat(e,"\\)$")),V=new RegExp("^rgba\\(".concat(i,",").concat(i,",").concat(i,",").concat(e,"\\)$")),H=new RegExp("^hsl\\(".concat(e,",").concat(i,",").concat(i,"\\)$")),Y=new RegExp("^hsla\\(".concat(e,",").concat(i,",").concat(i,",").concat(e,"\\)$")),G={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function U(){return this.rgb().formatHex()}function Q(){return this.rgb().formatRgb()}function c(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=R.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?W(t):3===n?new h(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?o(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?o(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=N.exec(e))?new h(t[1],t[2],t[3],1):(t=z.exec(e))?new h(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=F.exec(e))?o(t[1],t[2],t[3],t[4]):(t=V.exec(e))?o(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=H.exec(e))?X(t[1],t[2]/100,t[3]/100,1):(t=Y.exec(e))?X(t[1],t[2]/100,t[3]/100,t[4]):G.hasOwnProperty(e)?W(G[e]):"transparent"===e?new h(NaN,NaN,NaN,0):null}function W(e){return new h(e>>16&255,e>>8&255,255&e,1)}function o(e,t,n,r){return new h(e=r<=0?t=n=NaN:e,t,n,r)}function f(e){return(e=e instanceof u?e:c(e))?new h((e=e.rgb()).r,e.g,e.b,e.opacity):new h}function l(e,t,n,r){return 1===arguments.length?f(e):new h(e,t,n,null==r?1:r)}function h(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function q(){return"#".concat(d(this.r)).concat(d(this.g)).concat(d(this.b))}function K(){var e=a(this.opacity);return"".concat(1===e?"rgb(":"rgba(").concat(s(this.r),", ").concat(s(this.g),", ").concat(s(this.b)).concat(1===e?")":", ".concat(e,")"))}function a(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function s(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function d(e){return((e=s(e))<16?"0":"")+e.toString(16)}function X(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||1<=n?e=t=NaN:t<=0&&(e=NaN),new y(e,t,n,r)}function J(e){var t,n,r,i,o,a,s,l;return e instanceof y?new y(e.h,e.s,e.l,e.opacity):(e=e instanceof u?e:c(e))?e instanceof y?e:(t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=NaN,l=((o=Math.max(t,n,r))+i)/2,(s=o-i)?(a=t===o?(n-r)/s+6*(n<r):n===o?(r-t)/s+2:(t-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=0<l&&l<1?0:a,new y(a,s,l,e.opacity)):new y}function p(e,t,n,r){return 1===arguments.length?J(e):new y(e,t,n,null==r?1:r)}function y(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function $(e){return(e=(e||0)%360)<0?e+360:e}function m(e){return Math.max(0,Math.min(1,e||0))}function g(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Z(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}function ee(a){var s=a.length-1;return function(e){var t=e<=0?e=0:1<=e?s-(e=1):Math.floor(e*s),n=a[t],r=a[t+1],i=0<t?a[t-1]:2*n-r,o=t<s-1?a[t+2]:2*r-n;return Z((e-t/s)*s,i,n,r,o)}}function te(a){var s=a.length;return function(e){var t=Math.floor(((e%=1)<0?++e:e)*s),n=a[(t+s-1)%s],r=a[t%s],i=a[(t+1)%s],o=a[(t+2)%s];return Z((e-t/s)*s,n,r,i,o)}}n(u,c,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:U,formatHex:U,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return J(this).formatHsl()},formatRgb:Q,toString:Q}),n(h,l,r(u,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new h(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new h(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},clamp:function(){return new h(s(this.r),s(this.g),s(this.b),a(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:q,formatHex:q,formatHex8:function(){return"#".concat(d(this.r)).concat(d(this.g)).concat(d(this.b)).concat(d(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:K,toString:K})),n(y,p,r(u,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new y(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new y(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,t=n+(n<.5?n:1-n)*t,n=2*n-t;return new h(g(240<=e?e-240:120+e,n,t),g(e,n,t),g(e<120?240+e:e-120,n,t),this.opacity)},clamp:function(){return new y($(this.h),m(this.s),m(this.l),a(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=a(this.opacity);return"".concat(1===e?"hsl(":"hsla(").concat($(this.h),", ").concat(100*m(this.s),"%, ").concat(100*m(this.l),"%").concat(1===e?")":", ".concat(e,")"))}}));var v=function(e){return function(){return e}};function ne(t,n){return function(e){return t+e*n}}function b(e,t){var n=t-e;return n?ne(e,180<n||n<-180?n-360*Math.round(n/360):n):v(isNaN(e)?t:e)}function re(o){return 1==(o=+o)?_:function(e,t){return t-e?(r=t,i=o,n=Math.pow(e,i),r=Math.pow(r,i)-n,i=1/i,function(e){return Math.pow(n+e*r,i)}):v(isNaN(e)?t:e);var n,r,i}}function _(e,t){var n=t-e;return n?ne(e,n):v(isNaN(e)?t:e)}var x=function e(t){var a=re(t);function n(t,e){var n=a((t=l(t)).r,(e=l(e)).r),r=a(t.g,e.g),i=a(t.b,e.b),o=_(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=r(e),t.b=i(e),t.opacity=o(e),t+""}}return n.gamma=e,n}(1);function ie(s){return function(e){for(var t,n=e.length,r=new Array(n),i=new Array(n),o=new Array(n),a=0;a<n;++a)t=l(e[a]),r[a]=t.r||0,i[a]=t.g||0,o[a]=t.b||0;return r=s(r),i=s(i),o=s(o),t.opacity=1,function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t+""}}}var oe=ie(ee),ae=ie(te);function w(t,n){n=n||[];var r,i=t?Math.min(n.length,t.length):0,o=n.slice();return function(e){for(r=0;r<i;++r)o[r]=t[r]*(1-e)+n[r]*e;return o}}function se(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function le(e,t){return(se(t)?w:ue)(e,t)}function ue(e,t){for(var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=new Array(r),o=new Array(n),a=0;a<r;++a)i[a]=E(e[a],t[a]);for(;a<n;++a)o[a]=t[a];return function(e){for(a=0;a<r;++a)o[a]=i[a](e);return o}}function ce(t,n){var r=new Date;return t=+t,n=+n,function(e){return r.setTime(t*(1-e)+n*e),r}}function A(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function S(e){return(S="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})(e)}function fe(e,t){var n,r={},i={};for(n in null!==e&&"object"===S(e)||(e={}),t=null!==t&&"object"===S(t)?t:{})n in e?r[n]=E(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var C=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,O=new RegExp(C.source,"g");function he(e,r){var t,n,i,o,a,s=C.lastIndex=O.lastIndex=0,l=-1,u=[],c=[];for(e+="",r+="";(t=C.exec(e))&&(n=O.exec(r));)(i=n.index)>s&&(i=r.slice(s,i),u[l]?u[l]+=i:u[++l]=i),(t=t[0])===(n=n[0])?u[l]?u[l]+=n:u[++l]=n:(u[++l]=null,c.push({i:l,x:A(t,n)})),s=O.lastIndex;return s<r.length&&(i=r.slice(s),u[l]?u[l]+=i:u[++l]=i),u.length<2?c[0]?(a=c[0].x,function(e){return a(e)+""}):(o=r,function(){return o}):(r=c.length,function(e){for(var t,n=0;n<r;++n)u[(t=c[n]).i]=t.x(e);return u.join("")})}function de(e){return(de="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})(e)}function E(e,t){var n=de(t);return null==t||"boolean"===n?v(t):("number"===n?A:"string"===n?(n=c(t))?(t=n,x):he:t instanceof c?x:t instanceof Date?ce:se(t)?w:Array.isArray(t)?ue:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?fe:A)(e,t)}function pe(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}function ye(e,t){var n=b(+e,+t);return function(e){e=n(e);return e-360*Math.floor(e/360)}}function me(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}var M,ge=180/Math.PI,ve={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function be(e,t,n,r,i,o){var a,s,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r<t*n&&(e=-e,t=-t,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*ge,skewX:Math.atan(l)*ge,scaleX:a,scaleY:s}}function _e(f,h,d,p){function y(e){return e.length?e.pop()+" ":""}return function(e,t){var n,r,i,o,a,s,l,u=[],c=[];return e=f(e),t=f(t),n=e.translateX,r=e.translateY,i=t.translateX,o=t.translateY,a=u,s=c,n!==i||r!==o?(l=a.push("translate(",null,h,null,d),s.push({i:l-4,x:A(n,i)},{i:l-2,x:A(r,o)})):(i||o)&&a.push("translate("+i+h+o+d),s=e.rotate,n=t.rotate,l=u,s!==n?(180<s-n?n+=360:180<n-s&&(s+=360),c.push({i:l.push(y(l)+"rotate(",null,p)-2,x:A(s,n)})):n&&l.push(y(l)+"rotate("+n+p),r=e.skewX,a=t.skewX,i=u,r!==a?c.push({i:i.push(y(i)+"skewX(",null,p)-2,x:A(r,a)}):a&&i.push(y(i)+"skewX("+a+p),o=e.scaleX,s=e.scaleY,n=t.scaleX,r=t.scaleY,i=u,a=c,o!==n||s!==r?(e=i.push(y(i)+"scale(",null,",",null,")"),a.push({i:e-4,x:A(o,n)},{i:e-2,x:A(s,r)})):1===n&&1===r||i.push(y(i)+"scale("+n+","+r+")"),function(e){for(var t,n=-1,r=c.length;++n<r;)u[(t=c[n]).i]=t.x(e);return u.join("")}}}var xe=_e(function(e){e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return e.isIdentity?ve:be(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),we=_e(function(e){return null!=e&&((M=M||document.createElementNS("http://www.w3.org/2000/svg","g")).setAttribute("transform",e),e=M.transform.baseVal.consolidate())?be((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):ve},", ",")",")");function Ae(e){return((e=Math.exp(e))+1/e)/2}var Se=function n(f,h,d){function e(e,t){var r,i,o,a=e[0],s=e[1],l=e[2],e=t[0],n=t[1],t=t[2],u=e-a,c=n-s,e=u*u+c*c;return(t=e<1e-12?(o=Math.log(t/l)/f,function(e){return[a+e*u,s+e*c,l*Math.exp(f*e*o)]}):(r=Math.sqrt(e),n=(t*t-l*l+d*e)/(2*l*h*r),e=(t*t-l*l-d*e)/(2*t*h*r),i=Math.log(Math.sqrt(n*n+1)-n),o=(Math.log(Math.sqrt(e*e+1)-e)-i)/f,function(e){var e=e*o,t=Ae(i),n=l/(h*r)*(t*(((n=Math.exp(2*(f*e+i)))-1)/(n+1))-((n=Math.exp(i))-1/n)/2);return[a+n*u,s+n*c,l*t/Ae(f*e+i)]})).duration=1e3*o*f/Math.SQRT2,t}return e.rho=function(e){var e=Math.max(.001,+e),t=e*e;return n(e,t,t*t)},e}(Math.SQRT2,2,4);function Ce(a){return function(t,e){var n=a((t=p(t)).h,(e=p(e)).h),r=_(t.s,e.s),i=_(t.l,e.l),o=_(t.opacity,e.opacity);return function(e){return t.h=n(e),t.s=r(e),t.l=i(e),t.opacity=o(e),t+""}}}var Oe=Ce(b),Ee=Ce(_),Me=Math.PI/180,Pe=180/Math.PI,ke=.96422,Te=1,Ie=.82521,Le=4/29,je=6/29*3*(6/29),De=6/29*(6/29)*(6/29);function Be(e){var t,n,r,i,o,a;return e instanceof k?new k(e.l,e.a,e.b,e.opacity):e instanceof L?Fe(e):(a=T((.2225045*(r=Ne((e=e instanceof h?e:f(e)).r))+.7168786*(i=Ne(e.g))+.0606169*(o=Ne(e.b)))/Te),r===i&&i===o?t=n=a:(t=T((.4360747*r+.3850649*i+.1430804*o)/ke),n=T((.0139322*r+.0971045*i+.7141733*o)/Ie)),new k(116*a-16,500*(t-a),200*(a-n),e.opacity))}function P(e,t,n,r){return 1===arguments.length?Be(e):new k(e,t,n,null==r?1:r)}function k(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function T(e){return De<e?Math.pow(e,1/3):e/je+Le}function I(e){return 6/29<e?e*e*e:je*(e-Le)}function Re(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Ne(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function ze(e,t,n,r){return 1===arguments.length?(i=e)instanceof L?new L(i.h,i.c,i.l,i.opacity):0===(i=i instanceof k?i:Be(i)).a&&0===i.b?new L(NaN,0<i.l&&i.l<100?0:NaN,i.l,i.opacity):new L((o=Math.atan2(i.b,i.a)*Pe)<0?360+o:o,Math.sqrt(i.a*i.a+i.b*i.b),i.l,i.opacity):new L(e,t,n,null==r?1:r);var i,o}function L(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function Fe(e){var t;return isNaN(e.h)?new k(e.l,0,0,e.opacity):(t=e.h*Me,new k(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity))}function Ve(t,e){var n=_((t=P(t)).l,(e=P(e)).l),r=_(t.a,e.a),i=_(t.b,e.b),o=_(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=o(e),t+""}}function He(a){return function(t,e){var n=a((t=ze(t)).h,(e=ze(e)).h),r=_(t.c,e.c),i=_(t.l,e.l),o=_(t.opacity,e.opacity);return function(e){return t.h=n(e),t.c=r(e),t.l=i(e),t.opacity=o(e),t+""}}}n(k,P,r(u,{brighter:function(e){return new k(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new k(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new h(Re(3.1338561*(t=ke*I(t))-1.6168667*(e=Te*I(e))-.4906146*(n=Ie*I(n))),Re(-.9787684*t+1.9161415*e+.033454*n),Re(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),n(L,ze,r(u,{brighter:function(e){return new L(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new L(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return Fe(this).rgb()}}));var Ye=He(b),Ge=He(_),Ue=-.90649,j=1.97294,Qe=j*Ue,We=1.78277*j,qe=-.6557636667999999;function Ke(e,t,n,r){return 1===arguments.length?(i=e)instanceof D?new D(i.h,i.s,i.l,i.opacity):(o=(i=i instanceof h?i:f(i)).r/255,a=i.g/255,l=i.b/255,l=(j*(a-(o=(qe*l+Qe*o-We*a)/(qe+Qe-We)))- -.29227*(a=l-o))/Ue,new D((l=(s=Math.sqrt(l*l+a*a)/(j*o*(1-o)))?Math.atan2(l,a)*Pe-120:NaN)<0?l+360:l,s,o,i.opacity)):new D(e,t,n,null==r?1:r);var i,o,a,s,l}function D(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Xe(s){return function e(a){function t(t,e){var n=s((t=Ke(t)).h,(e=Ke(e)).h),r=_(t.s,e.s),i=_(t.l,e.l),o=_(t.opacity,e.opacity);return function(e){return t.h=n(e),t.s=r(e),t.l=i(Math.pow(e,a)),t.opacity=o(e),t+""}}return a=+a,t.gamma=e,t}(1)}n(D,Ke,r(u,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new D(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new D(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Me,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),e=Math.sin(e);return new h(255*(t+n*(-.14861*r+1.78277*e)),255*(t+n*(-.29227*r+Ue*e)),255*(t+j*r*n),this.opacity)}}));var Je=Xe(b),$e=Xe(_);function Ze(e,t){void 0===t&&(t=e,e=E);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return o[t](e-t)}}function et(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e(r/(t-1));return n}},97582:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return o},__asyncDelegator:function(){return C},__asyncGenerator:function(){return S},__asyncValues:function(){return O},__await:function(){return A},__awaiter:function(){return p},__classPrivateFieldGet:function(){return T},__classPrivateFieldIn:function(){return L},__classPrivateFieldSet:function(){return I},__createBinding:function(){return m},__decorate:function(){return s},__esDecorate:function(){return u},__exportStar:function(){return g},__extends:function(){return i},__generator:function(){return y},__importDefault:function(){return k},__importStar:function(){return P},__makeTemplateObject:function(){return E},__metadata:function(){return d},__param:function(){return l},__propKey:function(){return f},__read:function(){return b},__rest:function(){return a},__runInitializers:function(){return c},__setFunctionName:function(){return h},__spread:function(){return _},__spreadArray:function(){return w},__spreadArrays:function(){return x},__values:function(){return v}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}function l(n,r){return function(e,t){r(e,t,n)}}function u(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",e=!t&&e?r.static?e:e.prototype:null,c=t||(e?Object.getOwnPropertyDescriptor(e,r.name):{}),f=!1,h=n.length-1;0<=h;h--){var d,p={};for(d in r)p[d]="access"===d?{}:r[d];for(d in r.access)p.access[d]=r.access[d];p.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var y=(0,n[h])("accessor"===l?{get:c.get,set:c.set}:c[u],p);if("accessor"===l){if(void 0!==y){if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(s=a(y.get))&&(c.get=s),(s=a(y.set))&&(c.set=s),(s=a(y.init))&&i.unshift(s)}}else(s=a(y))&&("field"===l?i.unshift(s):c[u]=s)}e&&Object.defineProperty(e,r.name,c),f=!0}function c(e,t,n){for(var r=2<arguments.length,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function h(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function d(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,a,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{o(l.next(e))}catch(e){t(e)}}function i(e){try{o(l.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}o((l=l.apply(e,a||[])).next())})}function y(r,i){var o,a,s,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},u={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function e(n){return function(e){var t=[n,e];if(o)throw new TypeError("Generator is already executing.");for(;l=u&&t[u=0]?0:l;)try{if(o=1,a&&(s=2&t[0]?a.return:t[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,t[1])).done)return s;switch(a=0,(t=s?[2&t[0],s.value]:t)[0]){case 0:case 1:s=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,a=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(s=0<(s=l.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3]))l.label=t[1];else if(6===t[0]&&l.label<s[1])l.label=s[1],s=t;else{if(!(s&&l.label<s[2])){s[2]&&l.ops.pop(),l.trys.pop();continue}l.label=s[2],l.ops.push(t)}}t=i.call(r,l)}catch(e){t=[6,e],a=0}finally{o=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}var m=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&("get"in i?t.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]};function g(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||m(t,e,n)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function _(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function x(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function w(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function A(e){return this instanceof A?(this.v=e,this):new A(e)}function S(e,t,n){var i,o,a;if(Symbol.asyncIterator)return i=n.apply(e,t||[]),o=[],a={},r("next"),r("throw"),r("return"),a[Symbol.asyncIterator]=function(){return this},a;throw new TypeError("Symbol.asyncIterator is not defined.");function r(r){i[r]&&(a[r]=function(n){return new Promise(function(e,t){1<o.push([r,n,e,t])||s(r,n)})})}function s(e,t){try{(n=i[e](t)).value instanceof A?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function C(r){var i,e={};return t("next"),t("throw",function(e){throw e}),t("return"),e[Symbol.iterator]=function(){return this},e;function t(t,n){e[t]=r[t]?function(e){return(i=!i)?{value:A(r[t](e)),done:!1}:n?n(e):e}:n}}function O(a){var e,t;if(Symbol.asyncIterator)return(t=a[Symbol.asyncIterator])?t.call(a):(a=v(a),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);throw new TypeError("Symbol.asyncIterator is not defined.");function n(o){e[o]=a[o]&&function(i){return new Promise(function(e,t){var n,r;n=e,e=t,r=(i=a[o](i)).done,t=i.value,Promise.resolve(t).then(function(e){n({value:e,done:r})},e)})}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var M=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function P(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&m(t,e,n);return M(t,e),t}function k(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e===t&&r:t.has(e))return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e);throw new TypeError("Cannot read private member from an object whose class did not declare it")}function I(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e===t&&i:t.has(e))return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n;throw new TypeError("Cannot write private member to an object whose class did not declare it")}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__metadata:d,__awaiter:p,__generator:y,__createBinding:m,__exportStar:g,__values:v,__read:b,__spread:_,__spreadArrays:x,__spreadArray:w,__await:A,__asyncGenerator:S,__asyncDelegator:C,__asyncValues:O,__makeTemplateObject:E,__importStar:P,__importDefault:k,__classPrivateFieldGet:T,__classPrivateFieldSet:I,__classPrivateFieldIn:L}}},r={},qT.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return qT.d(t,{a:t}),t},qT.d=function(e,t){for(var n in t)qT.o(t,n)&&!qT.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},qT.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),qT.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},qT.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},qT.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){"use strict";var B=mapboxgl,u=qT.n(B);function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}u().Map.prototype.overlayLayersManager={},void 0===u().Map.prototype.addLayerBak&&(u().Map.prototype.addLayerBak=u().Map.prototype.addLayer,u().Map.prototype.addLayer=function(e,t){return e.source||"custom"===e.type||"background"===e.type?(this.addLayerBak(e,t),e.overlay&&!this.overlayLayersManager[e.id]&&(this.overlayLayersManager[e.id]=e),this):this.overlayLayersManager[e.id]||this.style._layers[e.id]?void this.fire("error",{error:new Error("A layer with this id already exists.")}):(t=this,(n=e).onAdd&&n.onAdd(t),this.overlayLayersManager[e.id]=e,this);var n}),u().Map.prototype.getLayer=function(e){return this.overlayLayersManager[e]||this.style.getLayer(e)},u().Map.prototype.moveLayer=function(e,t){return this.overlayLayersManager[e]?(this.overlayLayersManager[e].moveLayer?this.overlayLayersManager[e].moveLayer(e,t):(n=t,i=document.getElementById(e),n&&!(r=document.getElementById(n))&&u().Evented.prototype.fire("error",{error:new Error('Layer with id "'.concat(n,'" does not exist on this document.'))}),i&&r?r.parentNode.insertBefore(i,r):i.parentNode.appendChild(i)),this):this.style._layers[e]?(this.style.moveLayer(e,t),this._update(!0),this):void 0;var n,r,i},u().Map.prototype.removeLayer=function(e){return this.overlayLayersManager[e]&&delete this.overlayLayersManager[e],this.style.removeLayer(e),this._update(!0),this},u().Map.prototype.setLayoutProperty=function(e,t,n){return this.overlayLayersManager[e]?"visibility"===t&&(i=n="visible"===n,(r=this.overlayLayersManager[e]).setVisibility&&r.setVisibility(i),this.style.fire("data",{dataType:"style"})):(this.style.setLayoutProperty(e,t,n),this._update(!0)),this;var r,i},u().Map.prototype.updateTransform=function(e,n,r,t,i,o,a){this.transform.units=e;var s=this.mercatorZfromAltitude;u().MercatorCoordinate.fromLngLat=function(e,t){t=t||0;e=u().LngLat.convert(e);return new(u().MercatorCoordinate)((e.lng-n)/o,(r-e.lat)/a,s(t,e.lat))},u().MercatorCoordinate.prototype.toLngLat=function(){return new(u().LngLat)(this.x*o+n,r-this.y*a)},this.customConvertPoint=window.URL.createObjectURL(new Blob(["customConvertPoint = {projectX:function(x){return (x - "+t+") / "+o+" + 0.5},projectY:function(y){y = 0.5 - ((y - "+i+") / "+a+");return y < 0 ? 0 : y > 1 ? 1 : y;},toY:function(y){return (0.5-y)*"+a+"+"+i+";}}"],{type:"text/javascript"}))};R((B=N).prototype,[{key:"onAdd",value:function(e){this._map=e,this._container=document.createElement("div"),this._container.className="mapboxgl-ctrl iclient-logo",this._container.style.marginTop=0,this._container.style.marginBottom=0,this._container.style.marginLeft=0,this._container.style.marginRight=0;var t,e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozYWZlOGIwMi01MWE3LTRiZjYtYWVkYS05MGQ2ZTQ4YjZiMmUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODg0NkFBQUE3RjEzMTFFNzhFRjJFQkY4RjcxQjc1NjIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODg0NkFBQTk3RjEzMTFFNzhFRjJFQkY4RjcxQjc1NjIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4MWI3NzdhNC1lZmEyLTQ1MzUtOGQzNi03MmRjNDkyODMzN2UiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDpjYTYzODVjMi1jNDQ1LTExN2EtYTc0ZC1lM2I5MzJlMGE4Y2QiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5q1HM0AAAF/ElEQVR42tSabYhUVRjHZ7W01C1uaCRW4F3oi9SXCUnwQ9gsGUFvOEtQH1bLu5VS9sbYh5KicjYt29qiGQwVg2xWWKgocob91AvC+CWsoJqB3qHMSdTMpZyeU/+Df07n3pk7997Z6cBv99z7nHvOvf/z/pxJNZvNVI/jCKXmv6EquAmVkxPSlvtp2GItr0/96fFQForChJAWDiVYTkMYMu4XBFcYjLOwWS3sNwmn8NGzZ0h4Flv/zwIdchAnh/slCGmmKUNIBzYPaXOUr0vPuEjD71JAPh7l61embzinhV3V8nnCGmGT8LwlzSL8/yUh4Tfjo9T/CgnCIYNKycA2Qq21AcHU/VHE80Idoo3Qs0W6p0UtUnkZvEMDeVcCyqxEafF7hL8Qf0oYsIj+lfC9cH1CwhchWAGCtZO+AooQOkdC1Km1VtCb63StW73uFSzgKFUkNwBbmZGGmqowhvg8ZNpH9oXChcIcYRdeNomgxLkaH+S1SGubAxyIpFv+Zp+0DYjrAS00j/dem2VGEl6FJ4Qa4quEu8j2hTCJ+GJhe4JjfQMf6JCYPPbysMPxBlp0BUKOogEF9Rg9/heNvNKYfM0KsZUZaYxX4STGrzJa+zbhPeFH2DcK10KItcI+pI0rVElwXl1ULaKnIJhDw0oRQpTQc1zcbwRU8ATy4DR6yMlTzwkqMziEWHvubJ4Nk4ZtHdnqwvwY17xq3Z4FjrG+z2Kdrdf2ZSGD+xlLPh6t1R0jP9fI22ZzKI92yvQl7EbmBxI4S7Y+vIAOL87QZqsc5uNnssxZIcfYjXT9snCR7jjobidp+FkxA2v+Cq1QervMDmp4P7Xs3YZtE9kOC3P/By6JGaETl8ElwueYTNTDq4UDsKnd7YfCNbT239LF1udS72xYJt1UWxNfN4IIP4bWuTpEja01JtMFZFsm/AHbtHBlDE6yasA4moYTrUbvdBTXHqUrAH4uSadbyzF+vbBM2IsNkS3MNa5305JxqfA02T4TnkX8XOH1mPw8ruVejpxbI9hZD2Cz1U7LdrrUvjP/WfZinNZhr6V27hP+FPZh9aLvLxVO4DllX0G2OcKnlO/DCblxaz6uXBtmi+8mBaP3/SP8IuEIiTRoPPQm2TaEmEyXo0JU+F0YiPFD0hhOsiE/vqeEVwyTgF8L51OilcIZ2I4Ll5NttvAJPfukUeB2sk0ZPSbKIUUJpCII7+DasWy08uhNNazT0wGHI7mAtB7KqMKm38HhDdAUibTVKGicbB8YAqrJ9DRsp43JdB4qUof1HQrPE6XTQWu3Ce/inVzjXhXpMiTwUYugNVQ+p80jrUsV5EH0POKeuXO9QjhFq5GryNYvfEMCDhsftYVsB9ETtG0V9ZjfhCURhbcJFpfwVZ9jvhxsLHwTYtp2svlWQw3vXL8UnqHVSIG8l8ex+tHhBXgjddgqHEZ8ufAA2aaEnYgrF/KrPXrEmMUqZ9THLW06xhoBaVueQpkug+ewOUphE3Qv2Q5gGamXYa+QbVq4O+DQ5FHyZqrjxNt7UHh9uuRa0F7HjCF8o9PCTOGnscM7g2u1Hl9C9oeEnxC/1ajZg8JLiM9Hj9GHJseMShwL2DO0G5yEWn3Zh1QUods5CPkIoqlwAZxhXMsb6HrcEPBxchhdJ6wj29vCW4hfLOzo8J3rltYX50nXQAATSf/K4DEaGlTLvplsk/QCpoD60EQ7gLYZc8H9wq+I3yncEOEcNhuz6HWf3XEiwU/4Y8YEqVp2P10rt+8REvBGw026i4aDcbL9jF8r8Blmf4fCOzhViiscskygXRdehf3CO4hfigmTBXyQrl8TFtD1IzQX3CbcQrY3hPcRv4z8OmHPXwchVNln2MmE7BX6VwIFi/he6uxvb6JM3m0fdqvx/ATidxg2JeC7VDErAw5NzGfvwRJVheEIQ8Mg/pdwIM+UOmi9Q8ivCsrIy0tF+wVbEcLrd3Pb2XisEb4Tdlhsi4WP4RBbaLGrHfC3PrvMIezy9rTpGm5lz9LOMG15xvFxD/j5gjzjjDbMOzk+9zzt3v5bgAEAibzFeFHVgYkAAAAASUVORK5CYII=",n=(this.imageUrl&&(e=this.imageUrl),this.alt),r="width:94px;height:29px;",i=(this.imageUrl&&(r="width:"+(i=this.width)+";height:"+(t=this.height)+";",i&&t||(r="")),this.link);return this._container.innerHTML="<a href='"+i+"' target='_blank'><img src="+e+" alt='"+n+"' style='"+r+"margin-bottom: 2px'></a>",this._createStyleSheet(),this._container}},{key:"_createStyleSheet",value:function(){var e=document.createElement("style");e.type="text/css",e.innerHTML=".iclient-logo{margin:0 !important;}.iclient-logo a{border: none;display: block;height:31px;}.iclient-logo img{border: none;white-space: nowrap}",document.getElementsByTagName("head")[0].appendChild(e)}},{key:"_extend",value:function(e){for(var t=0;t<Object.getOwnPropertyNames(arguments).length;t++){var n=Object.getOwnPropertyNames(arguments)[t];if("caller"!=n&&"callee"!=n&&"length"!=n&&"arguments"!=n){var r=arguments[n];if(r)for(var i=0;i<Object.getOwnPropertyNames(r).length;i++){var o=Object.getOwnPropertyNames(r)[i];"caller"!=n&&"callee"!=n&&"length"!=n&&"arguments"!=n&&(e[o]=r[o])}}}return e}}]),Object.defineProperty(B,"prototype",{writable:!1});B=N;function N(e){if(!(this instanceof N))throw new TypeError("Cannot call a class as a function");this.imageUrl=null,this.link=null,this.width=null,this.height=null,this.alt="SuperMap iClient",this._extend(this,e)}function z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}z((K=V).prototype,[{key:"toString",value:function(){return"w="+this.w+",h="+this.h}},{key:"clone",value:function(){return new V(this.w,this.h)}},{key:"equals",value:function(e){var t=!1;return t=null!=e?this.w===e.w&&this.h===e.h||isNaN(this.w)&&isNaN(this.h)&&isNaN(e.w)&&isNaN(e.h):t}},{key:"destroy",value:function(){this.w=null,this.h=null}}]),Object.defineProperty(K,"prototype",{writable:!1});var F=V;function V(e,t){if(!(this instanceof V))throw new TypeError("Cannot call a class as a function");this.w=e?parseFloat(e):0,this.h=e?parseFloat(t):0,this.CLASS_NAME="SuperMap.Size"}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}H((K=G).prototype,[{key:"toString",value:function(){return"x="+this.x+",y="+this.y}},{key:"clone",value:function(){return new G(this.x,this.y,this.mode)}},{key:"equals",value:function(e){var t=!1;return t=null!=e?this.x==e.x&&this.y==e.y||isNaN(this.x)&&isNaN(this.y)&&isNaN(e.x)&&isNaN(e.y):t}},{key:"distanceTo",value:function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}},{key:"add",value:function(e,t){if(null==e||null==t)throw new TypeError("Pixel.add cannot receive null values");return new G(this.x+e,this.y+t)}},{key:"offset",value:function(e){var t=this.clone();return t=e?this.add(e.x,e.y):t}},{key:"destroy",value:function(){this.x=null,this.y=null,this.mode=null}}]),Object.defineProperty(K,"prototype",{writable:!1});var Y=G;function G(e,t,n){if(!(this instanceof G))throw new TypeError("Cannot call a class as a function");this.x=e?parseFloat(e):0,this.y=t?parseFloat(t):0,this.mode=n,this.CLASS_NAME="SuperMap.Pixel"}Y.Mode={LeftTop:"lefttop",RightTop:"righttop",RightBottom:"rightbottom",LeftBottom:"leftbottom"};function U(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];n=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");for(var n=0;n<r.length;n++)s(this,new r[n](t))},Object.defineProperty(n,"prototype",{writable:!1});for(var n,i=n,o=0;o<r.length;o++){var a=r[o];s(i,a),s(i.prototype,a.prototype),s(i.prototype,new a)}return i;function s(e,t){var n=Object.getOwnPropertyNames(t);Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t)));for(var r=0;r<n.length;r++){var i,o=n[r];"constructor"!==o&&"prototype"!==o&&"name"!==o&&"length"!==o&&(i=Object.getOwnPropertyDescriptor(t,o),window.ActiveXObject?Object.defineProperty(e,o,i||{}):Object.defineProperty(e,o,i))}}}var Q={startsWith:function(e,t){return 0==e.indexOf(t)},contains:function(e,t){return-1!=e.indexOf(t)},trim:function(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},camelize:function(e){for(var t=e.split("-"),n=t[0],r=1,i=t.length;r<i;r++){var o=t[r];n+=o.charAt(0).toUpperCase()+o.substring(1)}return n},format:function(e,o,a){return o=o||window,e.replace(Q.tokenRegEx,function(e,t){for(var n,r=t.split(/\.+/),i=0;i<r.length;i++)n=(n=0==i?o:n)[r[i]];return void 0===(n="function"==typeof n?a?n.apply(null,a):n():n)?"undefined":n})},tokenRegEx:/\$\{([\w.]+?)\}/g,numberRegEx:/^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$/,isNumeric:function(e){return Q.numberRegEx.test(e)},numericIf:function(e){return Q.isNumeric(e)?parseFloat(e):e}},W={decimalSeparator:".",thousandsSeparator:",",limitSigDigs:function(e,t){var n=0;return n=0<t?parseFloat(e.toPrecision(t)):n},format:function(e,t,n,r){n=void 0!==n?n:W.thousandsSeparator,r=void 0!==r?r:W.decimalSeparator;e=(e=null!=(t=void 0!==t?t:0)?parseFloat(e.toFixed(t)):e).toString().split(".");1===e.length&&null==t&&(t=0);var i=e[0];if(n)for(var o=/(-?[0-9]+)([0-9]{3})/;o.test(i);)i=i.replace(o,"$1"+n+"$2");return 0==t?i:(e=1<e.length?e[1]:"0",null!=t&&(e+=new Array(t-e.length+1).join("0")),i+r+e)}},q=(Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return W.limitSigDigs(this,e)}),{bind:function(t,n){var r=Array.prototype.slice.apply(arguments,[2]);return function(){var e=r.concat(Array.prototype.slice.apply(arguments,[0]));return t.apply(n,e)}},bindAsEventListener:function(t,n){return function(e){return t.call(n,e||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}}),K={filter:function(e,t,n){var r=[];if(Array.prototype.filter)r=e.filter(t,n);else{var i=e.length;if("function"!=typeof t)throw new TypeError;for(var o,a=0;a<i;a++)a in e&&(o=e[a],t.call(n,o,a,e))&&r.push(o)}return r}};function X(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}X((e=$).prototype,[{key:"destroy",value:function(){this.id=null,this.bounds=null,this.SRID=null}},{key:"clone",value:function(){return new $}},{key:"setBounds",value:function(e){e&&(this.bounds=e.clone())}},{key:"clearBounds",value:function(){this.bounds=null,this.parent&&this.parent.clearBounds()}},{key:"extendBounds",value:function(e){this.getBounds()?this.bounds.extend(e):this.setBounds(e)}},{key:"getBounds",value:function(){return null==this.bounds&&this.calculateBounds(),this.bounds}},{key:"calculateBounds",value:function(){}},{key:"getVertices",value:function(e){}},{key:"getArea",value:function(){return 0}}]),Object.defineProperty(e,"prototype",{writable:!1});var J=$;function $(){if(!(this instanceof $))throw new TypeError("Cannot call a class as a function");this.CLASS_NAME="SuperMap.Geometry",this.id=D.createUniqueID(this.CLASS_NAME+"_"),this.parent=null,this.bounds=null,this.SRID=null}function Z(e){return(Z="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})(e)}i=e="",te="pc",-1<(n=navigator.userAgent.toLowerCase()).indexOf("msie")||-1<n.indexOf("trident")&&-1<n.indexOf("rv")?(e="msie",t=n.match(/msie ([\d.]+)/)||n.match(/rv:([\d.]+)/)):-1<n.indexOf("chrome")?(e="chrome",t=n.match(/chrome\/([\d.]+)/)):-1<n.indexOf("firefox")?(e="firefox",t=n.match(/firefox\/([\d.]+)/)):-1<n.indexOf("opera")?(e="opera",t=n.match(/version\/([\d.]+)/)):-1<n.indexOf("safari")&&(e="safari",t=n.match(/version\/([\d.]+)/)),i=t?t[1]:"",-1<n.indexOf("ipad")||-1<n.indexOf("ipod")||-1<n.indexOf("iphone")?te="apple":-1<n.indexOf("android")&&(i=(t=n.match(/version\/([\d.]+)/))?t[1]:"",te="android");var ee={name:e,version:i,device:te},e=(n=!0,t=ee,n=!document.createElement("canvas").getContext||("firefox"===t.name&&parseFloat(t.version)<5&&(n=!1),"safari"===t.name&&parseFloat(t.version)<4&&(n=!1),"opera"===t.name&&parseFloat(t.version)<10&&(n=!1),"msie"===t.name&&parseFloat(t.version)<9)?!1:n),te=-1===(i=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==i.indexOf("gecko"),D={assign:function(e){for(var t=0;t<Object.getOwnPropertyNames(arguments).length;t++){var n=Object.getOwnPropertyNames(arguments)[t];if("caller"!=n&&"callee"!=n&&"length"!=n&&"arguments"!=n){var r=arguments[n];if(r)for(var i=0;i<Object.getOwnPropertyNames(r).length;i++){var o=Object.getOwnPropertyNames(r)[i];"caller"!=n&&"callee"!=n&&"length"!=n&&"arguments"!=n&&(e[o]=r[o])}}}return e},extend:function(e,t){if(e=e||{},t){for(var n in t){var r=t[n];void 0!==r&&(e[n]=r)}"function"==typeof window.Event&&t instanceof window.Event||!t.hasOwnProperty||!t.hasOwnProperty("toString")||(e.toString=t.toString)}return e},copy:function(e,t){var n;if(e=e||{},t)for(var r in e)void 0!==(n=t[r])&&(e[r]=n)},reset:function(e){for(var t in e=e||{})if(e.hasOwnProperty(t)){if("object"===Z(e[t])&&e[t]instanceof Array){for(var n in e[t])e[t][n].destroy&&e[t][n].destroy();e[t].length=0}else"object"===Z(e[t])&&e[t]instanceof Object&&e[t].destroy&&e[t].destroy();e[t]=null}},getElement:function(){for(var e=[],t=0,n=arguments.length;t<n;t++){var r=arguments[t];if("string"==typeof r&&(r=document.getElementById(r)),1===arguments.length)return r;e.push(r)}return e},isElement:function(e){return!(!e||1!==e.nodeType)},isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},removeItem:function(e,t){for(var n=e.length-1;0<=n;n--)e[n]===t&&e.splice(n,1);return e},indexOf:function(e,t){if(null!=e){if("function"==typeof e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1},modifyDOMElement:function(e,t,n,r,i,o,a,s){t&&(e.id=t),n&&(e.style.left=n.x+"px",e.style.top=n.y+"px"),r&&(e.style.width=r.w+"px",e.style.height=r.h+"px"),i&&(e.style.position=i),o&&(e.style.border=o),a&&(e.style.overflow=a),0<=parseFloat(s)&&parseFloat(s)<1?(e.style.filter="alpha(opacity="+100*s+")",e.style.opacity=s):1===parseFloat(s)&&(e.style.filter="",e.style.opacity="")},applyDefaults:function(e,t){e=e||{};var n,r="function"==typeof window.Event&&t instanceof window.Event;for(n in t)(void 0===e[n]||!r&&t.hasOwnProperty&&t.hasOwnProperty(n)&&!e.hasOwnProperty(n))&&(e[n]=t[n]);return!r&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},getParameterString:function(e){var t,n=[];for(t in e){var r=e[t];null!=r&&"function"!=typeof r&&(r=Array.isArray(r)||"[object Object]"===r.toString()?encodeURIComponent(JSON.stringify(r)):encodeURIComponent(r),n.push(encodeURIComponent(t)+"="+r))}return n.join("&")},urlAppend:function(e,t){var n=e;return t&&(0===t.indexOf("?")&&(t=t.substring(1)),n+=" "===(e=(e+" ").split(/[?&]/)).pop()?t:e.length?"&"+t:"?"+t),n},urlPathAppend:function(e,t){var n=e;if(!t)return n;0===t.indexOf("/")&&(t=t.substring(1));n=e.split("?");return n[0].indexOf("/",n[0].length-1)<0&&(n[0]+="/"),"".concat(n[0]).concat(t).concat(1<n.length?"?".concat(n[1]):"")},DEFAULT_PRECISION:14,toFloat:function(e,t){return null==t&&(t=D.DEFAULT_PRECISION),"number"!=typeof e&&(e=parseFloat(e)),0===t?e:parseFloat(e.toPrecision(t))},rad:function(e){return e*Math.PI/180},getParameters:function(e){e=null==e?window.location.href:e;var t,n,r="";Q.contains(e,"?")&&(t=e.indexOf("?")+1,n=Q.contains(e,"#")?e.indexOf("#"):e.length,r=e.substring(t,n));for(var i={},o=r.split(/[&;]/),a=0,s=o.length;a<s;++a){var l=o[a].split("=");if(l[0]){var u=l[0];try{u=decodeURIComponent(u)}catch(e){u=unescape(u)}l=(l[1]||"").replace(/\+/g," ");try{l=decodeURIComponent(l)}catch(e){l=unescape(l)}1==(l=l.split(",")).length&&(l=l[0]),i[u]=l}}return i},lastSeqID:0,createUniqueID:function(e){return null==e&&(e="id_"),D.lastSeqID+=1,e+D.lastSeqID},normalizeScale:function(e){return 1<e?1/e:e},getResolutionFromScale:function(e,t){var n;return e&&(null==t&&(t="degrees"),n=1/(D.normalizeScale(e)*r[t]*96)),n},getScaleFromResolution:function(e,t){return e*r[t=null==t?"degrees":t]*96},getBrowser:function(){return ee},isSupportCanvas:e,supportCanvas:function(){return D.isSupportCanvas},isInTheSameDomain:function(e){var t,n,r,i,o,a,s;return!e||(o=e.indexOf("//"),s=(r=document.location.toString()).indexOf("//"),-1===o)||(n=t=e.substring(0,o),s=(r=r.substring(s+2)).indexOf("/"),i=r.indexOf(":"),r=r.substring(0,s),s=document.location.protocol,-1===i&&(r+=":"+("http:"===s.toLowerCase()?80:443)),s.toLowerCase()===n.toLowerCase()&&(i=(n=e.substring(o+2)).indexOf(":"),o=n.indexOf("/"),s=n.substring(0,o),-1!==i?a=n.substring(0,i):(a=n.substring(0,o),s+=":"+("http:"===t.toLowerCase()?80:443)),a===document.domain)&&s===r)},calculateDpi:function(e,t,n,r,i){var o,a;if(e&&t&&n)return o=e.getWidth(),e=e.getHeight(),a=t.w,t=t.h,i=i||6378137,"degree"===(r=r||"degrees").toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/((r=e/t)<(e=o/a)?e:r)/n/(2*Math.PI*i/360)/1e4:254/(o/a)/n/1e4},toJSON:function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var n="",r=0,i=t.length;r<i;r++)n+=D.toJSON(t[r]),r!==t.length-1&&(n+=",");return"["+n+"]";case Number:return isFinite(t)?String(t):null;case Boolean:return String(t);case Date:return"{'__type':\"System.DateTime\",'Year':"+t.getFullYear()+",'Month':"+(t.getMonth()+1)+",'Day':"+t.getDate()+",'Hour':"+t.getHours()+",'Minute':"+t.getMinutes()+",'Second':"+t.getSeconds()+",'Millisecond':"+t.getMilliseconds()+",'TimezoneOffset':"+t.getTimezoneOffset()+"}";default:if(null!=t.toJSON&&"function"==typeof t.toJSON)return t.toJSON();if("object"!==Z(t))return t.toString();if(t.length){for(var o=[],a=0,s=t.length;a<s;a++)o.push(D.toJSON(t[a]));return"["+o.join(",")+"]"}var l,u=[];for(l in t)"function"!=typeof t[l]&&"CLASS_NAME"!==l&&"parent"!==l&&u.push("'"+l+"':"+D.toJSON(t[l]));return 0<u.length?"{"+u.join(",")+"}":"{}"}},getResolutionFromScaleDpi:function(e,t,n,r){return r=r||6378137,n=n||"",0<e&&0<t?(e=D.normalizeScale(e),"degree"===n.toLowerCase()||"degrees"===n.toLowerCase()||"dd"===n.toLowerCase()?254/t/e/(2*Math.PI*r/360)/1e4:254/t/e/1e4):-1},getScaleFromResolutionDpi:function(e,t,n,r){return r=r||6378137,n=n||"",0<e&&0<t?"degree"===n.toLowerCase()||"degrees"===n.toLowerCase()||"dd"===n.toLowerCase()?254/t/e/(2*Math.PI*r/360)/1e4:254/t/e/1e4:-1},transformResult:function(e){return e=e.responseText&&"string"==typeof e.responseText?JSON.parse(e.responseText):e},copyAttributes:function(e,t){if(e=e||{},t)for(var n in t){var r=t[n];void 0!==r&&"CLASS_NAME"!==n&&"function"!=typeof r&&(e[n]=r)}return e},copyAttributesWithClip:function(e,t,n){if(e=e||{},t)for(var r in t){var i,o=!1;if(n&&n.length)for(var a=0,s=n.length;a<s;a++)if(r===n[a]){o=!0;break}!0!==o&&void 0!==(i=t[r])&&"CLASS_NAME"!==r&&"function"!=typeof i&&(e[r]=i)}return e},cloneObject:function(e){if(null===e||"object"!==Z(e))return e;var t;if(e instanceof Date)return(t=new Date).setTime(e.getTime()),t;if(e instanceof Array)return e.slice(0);if(e instanceof Object){var n,r={};for(n in e)e.hasOwnProperty(n)&&(r[n]=D.cloneObject(e[n]));return r}throw new Error("Unable to copy obj! Its type isn't supported.")},lineIntersection:function(e,t,n,r){var i,o=(r.x-n.x)*(e.y-n.y)-(r.y-n.y)*(e.x-n.x),a=(t.x-e.x)*(e.y-n.y)-(t.y-e.y)*(e.x-n.x),s=(r.y-n.y)*(t.x-e.x)-(r.x-n.x)*(t.y-e.y);return 0!=s?(i=a/s,0<=(s=o/s)&&i<=1&&s<=1&&0<=i?new J.Point(e.x+s*(t.x-e.x),e.y+s*(t.y-e.y)):"No Intersection"):0==o&&0==a&&(i=Math.max(e.y,t.y),s=Math.min(e.y,t.y),o=Math.max(e.x,t.x),a=Math.min(e.x,t.x),(n.y>=s&&n.y<=i||r.y>=s&&r.y<=i)&&n.x>=a&&n.x<=o||r.x>=a&&r.x<=o)?"Coincident":"Parallel"},getTextBounds:function(e,t,n){document.body.appendChild(n),n.style.width="auto",n.style.height="auto",e.fontSize&&(n.style.fontSize=e.fontSize),e.fontFamily&&(n.style.fontFamily=e.fontFamily),e.fontWeight&&(n.style.fontWeight=e.fontWeight),n.style.position="relative",n.style.visibility="hidden",n.style.display="inline-block",n.innerHTML=t;e=n.clientWidth,t=n.clientHeight;return document.body.removeChild(n),{textWidth:e,textHeight:t}},convertPath:function(e,n){return n?e.replace(/\{([\w-\.]+)\}/g,function(e,t){t=n.hasOwnProperty(t)?null==(t=n[t])?"":t instanceof Date?t.toJSON():function(e){if("string"==typeof e||"object"===Z(e))try{var t=e.toString();return"[object Object]"===t||"[object Array]"===t}catch(e){}}(t)?JSON.stringify(t):t.toString():e;return encodeURIComponent(t)}):e}},r={inches:1,ft:12,mi:63360,m:39.3701,km:39370.1,dd:4374754,yd:36};r.in=r.inches,r.degrees=r.dd,r.nmi=1852*r.m;function ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}D.extend(r,{Inch:r.inches,Meter:39.37,Foot:12,IFoot:11.999976,ClarkeFoot:11.999868327581488,SearsFoot:11.999955194477684,GoldCoastFoot:11.999964589846002,IInch:.9999979999999999,MicroInch:999998e-9,Mil:9.99998e-7,Centimeter:.3937,Kilometer:39370,Yard:36,SearsYard:35.99986558343306,IndianYard:35.99987015540864,IndianYd37:35.999740205100004,IndianYd62:35.999880755999996,IndianYd75:35.999868945,IndianFoot:11.9999567087,IndianFt37:11.9999134017,IndianFt62:11.999960252000001,IndianFt75:11.999956315,Mile:63360,IYard:35.999928,IMile:63359.87328,NautM:72913.24,"Lat-66":4367838.370169282,"Lat-83":4367954.152606599,Decimeter:3.9370000000000003,Millimeter:.03937,Dekameter:393.7,Decameter:393.7,Hectometer:3937,GermanMeter:39.370535294205006,CaGrid:39.359685060000004,ClarkeChain:791.991309620512,GunterChain:792.0000000000001,BenoitChain:791.9977268035781,SearsChain:791.9970428354235,ClarkeLink:7.91991309620512,GunterLink:7.920000000000001,BenoitLink:7.919977268035781,SearsLink:7.919970428354236,Rod:198.00000000000014,IntnlChain:791.998416,IntnlLink:7.91998416,Perch:198.00000000000014,Pole:198.00000000000014,Furlong:7919.999999999997,Rood:148.75036777426,CapeFoot:11.999868185255002,Brealey:14763.75,ModAmFt:12.000458400000001,Fathom:71.999856,"NautM-UK":72959.85408,"50kilometers":1968500,"150kilometers":5905500}),D.extend(r,{mm:r.Meter/1e3,cm:r.Meter/100,dm:100*r.Meter,km:1e3*r.Meter,kmi:r.nmi,fath:r.Fathom,ch:r.IntnlChain,link:r.IntnlLink,"us-in":r.inches,"us-ft":r.Foot,"us-yd":r.Yard,"us-ch":r.GunterChain,"us-mi":r.Mile,"ind-yd":r.IndianYd37,"ind-ft":r.IndianFt37,"ind-ch":791.9942845122}),r.degree=r.dd,r.meter=r.m,r.foot=r.ft,r.inch=r.inches,r.mile=r.mi,r.kilometer=r.km,r.yard=r.yd;t=[{key:"fromString",value:function(e){e=e.split(",");return new ie(e[0],e[1])}},{key:"fromArray",value:function(e){var t=D.isArray(e);return new ie(t&&e[0],t&&e[1])}}],ne((n=ie).prototype,[{key:"toString",value:function(){return"lon="+this.lon+",lat="+this.lat}},{key:"toShortString",value:function(){return this.lon+","+this.lat}},{key:"clone",value:function(){return new ie(this.lon,this.lat)}},{key:"add",value:function(e,t){if(null==e||null==t)throw new TypeError("LonLat.add cannot receive null values");return new ie(this.lon+D.toFloat(e),this.lat+D.toFloat(t))}},{key:"equals",value:function(e){var t=!1;return t=null!=e?this.lon===e.lon&&this.lat===e.lat||isNaN(this.lon)&&isNaN(this.lat)&&isNaN(e.lon)&&isNaN(e.lat):t}},{key:"wrapDateLine",value:function(e){var t=this.clone();if(e){for(;t.lon<e.left;)t.lon+=e.getWidth();for(;t.lon>e.right;)t.lon-=e.getWidth()}return t}},{key:"destroy",value:function(){this.lon=null,this.lat=null}}]),ne(n,t),Object.defineProperty(n,"prototype",{writable:!1});var t,re=ie;function ie(e,t){if(!(this instanceof ie))throw new TypeError("Cannot call a class as a function");D.isArray(e)&&(t=e[1],e=e[0]),this.lon=e?D.toFloat(e):0,this.lat=t?D.toFloat(t):0,this.CLASS_NAME="SuperMap.LonLat"}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}i=[{key:"fromString",value:function(e,t){e=e.split(",");return ae.fromArray(e,t)}},{key:"fromArray",value:function(e,t){return!0===t?new ae(e[1],e[0],e[3],e[2]):new ae(e[0],e[1],e[2],e[3])}},{key:"fromSize",value:function(e){return new ae(0,e.h,e.w,0)}},{key:"oppositeQuadrant",value:function(e){var t="";return(t+="t"===e.charAt(0)?"b":"t")+("l"===e.charAt(1)?"r":"l")}}],oe((e=ae).prototype,[{key:"clone",value:function(){return new ae(this.left,this.bottom,this.right,this.top)}},{key:"equals",value:function(e){var t=!1;return t=null!=e?this.left===e.left&&this.right===e.right&&this.top===e.top&&this.bottom===e.bottom:t}},{key:"toString",value:function(){return[this.left,this.bottom,this.right,this.top].join(",")}},{key:"toArray",value:function(e){return!0===e?[this.bottom,this.left,this.top,this.right]:[this.left,this.bottom,this.right,this.top]}},{key:"toBBOX",value:function(e,t){null==e&&(e=6);var e=Math.pow(10,e),n=Math.round(this.left*e)/e,r=Math.round(this.bottom*e)/e,i=Math.round(this.right*e)/e,e=Math.round(this.top*e)/e;return!0===t?r+","+n+","+e+","+i:n+","+r+","+i+","+e}},{key:"getWidth",value:function(){return this.right-this.left}},{key:"getHeight",value:function(){return this.top-this.bottom}},{key:"getSize",value:function(){return new F(this.getWidth(),this.getHeight())}},{key:"getCenterPixel",value:function(){return new Y((this.left+this.right)/2,(this.bottom+this.top)/2)}},{key:"getCenterLonLat",value:function(){return this.centerLonLat||(this.centerLonLat=new re((this.left+this.right)/2,(this.bottom+this.top)/2)),this.centerLonLat}},{key:"scale",value:function(e,t){var n;return e=e||1,t="SuperMap.LonLat"===(t=null==t?this.getCenterLonLat():t).CLASS_NAME?(n=t.lon,t.lat):(n=t.x,t.y),new ae((this.left-n)*e+n,(this.bottom-t)*e+t,(this.right-n)*e+n,(this.top-t)*e+t)}},{key:"add",value:function(e,t){if(null==e||null==t)throw new TypeError("Bounds.add cannot receive null values");return new ae(this.left+e,this.bottom+t,this.right+e,this.top+t)}},{key:"extend",value:function(e){var t=null;if(e){switch(e.CLASS_NAME){case"SuperMap.LonLat":t=new ae(e.lon,e.lat,e.lon,e.lat);break;case"SuperMap.Geometry.Point":t=new ae(e.x,e.y,e.x,e.y);break;case"SuperMap.Bounds":t=e}t&&(((this.centerLonLat=null)==this.left||t.left<this.left)&&(this.left=t.left),(null==this.bottom||t.bottom<this.bottom)&&(this.bottom=t.bottom),(null==this.right||t.right>this.right)&&(this.right=t.right),null==this.top||t.top>this.top)&&(this.top=t.top)}}},{key:"containsLonLat",value:function(e,t){var n,r=this.contains(e.lon,e.lat,(t=(t="boolean"==typeof t?{inclusive:t}:t)||{}).inclusive),i=t.worldBounds;return i&&!r&&(n=i.getWidth(),i=(i.left+i.right)/2,i=Math.round((e.lon-i)/n),r=this.containsLonLat({lon:e.lon-i*n,lat:e.lat},{inclusive:t.inclusive})),r}},{key:"containsPixel",value:function(e,t){return this.contains(e.x,e.y,t)}},{key:"contains",value:function(e,t,n){return null==n&&(n=!0),null!=e&&null!=t&&(n?e>=this.left&&e<=this.right&&t>=this.bottom&&t<=this.top:e>this.left&&e<this.right&&t>this.bottom&&t<this.top)}},{key:"intersectsBounds",value:function(e,t){(t=(t="boolean"==typeof t?{inclusive:t}:t)||{}).worldBounds?(n=this.wrapDateLine(t.worldBounds),e=e.wrapDateLine(t.worldBounds)):n=this,null==t.inclusive&&(t.inclusive=!0);var n,r,i,o,a=!1,s=n.left===e.right||n.right===e.left||n.top===e.bottom||n.bottom===e.top;return!t.inclusive&&s||(s=e.bottom>=n.bottom&&e.bottom<=n.top||n.bottom>=e.bottom&&n.bottom<=e.top,r=e.top>=n.bottom&&e.top<=n.top||n.top>e.bottom&&n.top<e.top,i=e.left>=n.left&&e.left<=n.right||n.left>=e.left&&n.left<=e.right,o=e.right>=n.left&&e.right<=n.right||n.right>=e.left&&n.right<=e.right,a=(s||r)&&(i||o)),t.worldBounds&&!a&&(r=(s=t.worldBounds).getWidth(),i=!s.containsBounds(n),o=!s.containsBounds(e),i&&!o?(e=e.add(-r,0),a=n.intersectsBounds(e,{inclusive:t.inclusive})):o&&!i&&(n=n.add(-r,0),a=e.intersectsBounds(n,{inclusive:t.inclusive}))),a}},{key:"containsBounds",value:function(e,t,n){null==t&&(t=!1);var r=this.contains(e.left,e.bottom,n=null==n?!0:n),i=this.contains(e.right,e.bottom,n),o=this.contains(e.left,e.top,n),e=this.contains(e.right,e.top,n);return t?r||i||o||e:r&&i&&o&&e}},{key:"determineQuadrant",value:function(e){var t="",n=this.getCenterLonLat();return(t+=e.lat<n.lat?"b":"t")+(e.lon<n.lon?"l":"r")}},{key:"wrapDateLine",value:function(e,t){var n=(t=t||{}).leftTolerance||0,r=t.rightTolerance||0,i=this.clone();if(e){for(var o=e.getWidth();i.left<e.left&&i.right-r<=e.left;)i=i.add(o,0);for(;i.left+n>=e.right&&i.right>e.right;)i=i.add(-o,0);t=i.left+n;t<e.right&&t>e.left&&i.right-r>e.right&&(i=i.add(-o,0))}return i}},{key:"toServerJSONObject",value:function(){return{rightTop:{x:this.right,y:this.top},leftBottom:{x:this.left,y:this.bottom},left:this.left,right:this.right,top:this.top,bottom:this.bottom}}},{key:"destroy",value:function(){this.left=null,this.right=null,this.top=null,this.bottom=null,this.centerLonLat=null}}]),oe(e,i),Object.defineProperty(e,"prototype",{writable:!1});var S=ae;function ae(e,t,n,r){if(!(this instanceof ae))throw new TypeError("Cannot call a class as a function");D.isArray(e)&&(r=e[3],n=e[2],t=e[1],e=e[0]),this.left=null!=e?D.toFloat(e):this.left,this.bottom=null!=t?D.toFloat(t):this.bottom,this.right=null!=n?D.toFloat(n):this.right,this.top=null!=r?D.toFloat(r):this.top,this.centerLonLat=null,this.CLASS_NAME="SuperMap.Bounds"}function se(e){return(se="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})(e)}function le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ue(){return(ue="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=fe(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ce(e,t){return(ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P=function(){var e=a,t=J;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ce(e,t);n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,o=function(){var e,t=fe(n),t=(e=r?(e=fe(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==se(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function a(e,t,n,r){var i;if(this instanceof a)return(i=o.call(this,e,t,n,r)).x=parseFloat(e),i.y=parseFloat(t),i.tag=r||0==r?parseFloat(r):null,i.type=n||"Point",i.CLASS_NAME="SuperMap.Geometry.Point",i.geometryType="Point",i;throw new TypeError("Cannot call a class as a function")}return le((e=a).prototype,[{key:"clone",value:function(e){return null==e&&(e=new a(this.x,this.y)),D.applyDefaults(e,this),e}},{key:"calculateBounds",value:function(){this.bounds=new S(this.x,this.y,this.x,this.y)}},{key:"equals",value:function(e){var t=!1;return t=null!=e?this.x===e.x&&this.y===e.y||isNaN(this.x)&&isNaN(this.y)&&isNaN(e.x)&&isNaN(e.y):t}},{key:"move",value:function(e,t){this.x=this.x+e,this.y=this.y+t,this.clearBounds()}},{key:"toShortString",value:function(){return this.x+", "+this.y}},{key:"destroy",value:function(){this.x=null,this.y=null,this.tag=null,ue(fe(a.prototype),"destroy",this).call(this)}},{key:"getVertices",value:function(){return[this]}}]),Object.defineProperty(e,"prototype",{writable:!1}),a}();function he(e){return(he="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})(e)}function de(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pe(){return(pe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=me(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ye(e,t){return(ye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function me(e){return(me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ge=function(){var e=o,t=J;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ye(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=me(n),t=(e=r?(e=me(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==he(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return(t=i.call(this)).components=[],(t.componentTypes=null)!=e&&t.addComponents(e),t.CLASS_NAME="SuperMap.Geometry.Collection",t.geometryType="Collection",t;throw new TypeError("Cannot call a class as a function")}return de((e=o).prototype,[{key:"destroy",value:function(){this.components.length=0,this.components=null,pe(me(o.prototype),"destroy",this).call(this)}},{key:"clone",value:function(){for(var e=new o,t=0,n=this.components.length;t<n;t++)e.addComponent(this.components[t].clone());return D.applyDefaults(e,this),e}},{key:"getComponentsString",value:function(){for(var e=[],t=0,n=this.components.length;t<n;t++)e.push(this.components[t].toShortString());return e.join(",")}},{key:"calculateBounds",value:function(){this.bounds=null;var e=new S,t=this.components;if(t)for(var n=0,r=t.length;n<r;n++)e.extend(t[n].getBounds());null!=e.left&&null!=e.bottom&&null!=e.right&&null!=e.top&&this.setBounds(e)}},{key:"addComponents",value:function(e){for(var t=0,n=(e=D.isArray(e)?e:[e]).length;t<n;t++)this.addComponent(e[t])}},{key:"addComponent",value:function(e,t){var n,r=!1;return e&&(null==this.componentTypes||-1<D.indexOf(this.componentTypes,e.CLASS_NAME))&&(null!=t&&t<this.components.length?(n=this.components.slice(0,t),t=this.components.slice(t,this.components.length),n.push(e),this.components=n.concat(t)):this.components.push(e),(e.parent=this).clearBounds(),r=!0),r}},{key:"removeComponents",value:function(e){for(var t=!1,n=(e=D.isArray(e)?e:[e]).length-1;0<=n;--n)t=this.removeComponent(e[n])||t;return t}},{key:"removeComponent",value:function(e){return D.removeItem(this.components,e),this.clearBounds(),!0}},{key:"getArea",value:function(){for(var e=0,t=0,n=this.components.length;t<n;t++)e+=this.components[t].getArea();return e}},{key:"equals",value:function(e){var t=!0;if(e&&e.CLASS_NAME&&this.CLASS_NAME===e.CLASS_NAME)if(D.isArray(e.components)&&e.components.length===this.components.length){for(var n=0,r=this.components.length;n<r;++n)if(!this.components[n].equals(e.components[n])){t=!1;break}}else t=!1;else t=!1;return t}},{key:"getVertices",value:function(e){for(var t=[],n=0,r=this.components.length;n<r;++n)Array.prototype.push.apply(t,this.components[n].getVertices(e));return t}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ve(e){return(ve="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})(e)}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _e(e,t){return(_e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var we=function(){var e=o,t=ge;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_e(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=xe(n),t=(e=r?(e=xe(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==ve(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).componentTypes=["SuperMap.Geometry.Point"],e.CLASS_NAME="SuperMap.Geometry.MultiPoint",e.geometryType="MultiPoint",e;throw new TypeError("Cannot call a class as a function")}return be((e=o).prototype,[{key:"addPoint",value:function(e,t){this.addComponent(e,t)}},{key:"removePoint",value:function(e){this.removeComponent(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Ae(e){return(Ae="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})(e)}function Se(e,t){return(Se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oe=function(){var e=o,t=we;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Se(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ce(n),t=(e=r?(e=Ce(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Ae(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).componentTypes=["SuperMap.Geometry.Point","SuperMap.PointWithMeasure"],e.CLASS_NAME="SuperMap.Geometry.Curve",e.geometryType="Curve",e;throw new TypeError("Cannot call a class as a function")}return e=o,Object.defineProperty(e,"prototype",{writable:!1}),e}();function Ee(e){return(Ee="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})(e)}function Me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(){return(Pe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Te(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ke(e,t){return(ke=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ie=function(){var e=s,t=Oe;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ke(e,t);n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Te(n),t=(e=r?(e=Te(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Ee(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function s(e){if(this instanceof s)return(e=i.call(this,e)).CLASS_NAME="SuperMap.Geometry.LineString",e.geometryType="LineString",e;throw new TypeError("Cannot call a class as a function")}return e=[{key:"calculateCircle",value:function(e){if(e.length<3)return e;var t,n={},r=e[0],i=e[1],e=e[2],o=!0,a=0,s=[],l=(e.y-r.y)/(e.x-r.x),u=e.y-l*e.x;if(e.x!=r.x&&e.y!=r.y&&i.y==l*i.x+u||e.x==r.x&&i.x==r.x||e.y==r.y&&i.y==r.y||e.x==r.x&&e.y==r.y||e.x==i.x&&e.y==i.y||r.x==i.x&&r.y==i.y)s.push(r),s.push(i);else{var c=(i.x*i.x+i.y*i.y-(r.x*r.x+r.y*r.y))*(2*(e.y-r.y))-(e.x*e.x+e.y*e.y-(r.x*r.x+r.y*r.y))*(2*(i.y-r.y)),f=2*(i.x-r.x)*(e.x*e.x+e.y*e.y-(r.x*r.x+r.y*r.y))-2*(e.x-r.x)*(i.x*i.x+i.y*i.y-(r.x*r.x+r.y*r.y)),h=4*((i.x-r.x)*(e.y-r.y)-(e.x-r.x)*(i.y-r.y));n.x=c/h,n.y=f/h;var c=(c=1<=(c=(2*(t=Math.sqrt((r.x-n.x)*(r.x-n.x)+(r.y-n.y)*(r.y-n.y)))*t-((r.x-e.x)*(r.x-e.x)+(r.y-e.y)*(r.y-e.y)))/(2*t*t))?1:c)<=-1?-1:c,f=180*Math.acos(c)/Math.PI,d=(e.x==r.x?n.x>r.x&&i.x>r.x||n.x<r.x&&i.x<r.x?360-f:f:l*n.x+u<n.y&&i.y>l*i.x+u||n.y<l*n.x+u&&i.y<l*i.x+u?360-f:f)/72,p=(e.y!=r.y?e.x==r.x?e.y>r.y?i.x<r.x&&(o=!1):i.x>r.x&&(o=!1):e.x<r.x?i.y<l*i.x+u&&(o=!1):i.y>l*i.x+u&&(o=!1):e.x>r.x?i.y>r.y&&(o=!1):i.y<r.y&&(o=!1),(r.y-n.y)/(r.x-n.x)),y=0<=p?180*Math.atan(p)/Math.PI:Math.abs(180*Math.atan(p)/Math.PI)+90,h=Math.abs(n.y),m=(r.y==h&&h==e.y&&r.x<e.x&&(y+=180),r.y-n.y);s.push(r);for(var g=1;g<72;g++){v=d*g,a=y,o?0<=m?0<=p?a+=v:a=180-(a-90)+v:a=0<p?a-180+v:90-a+v:0<=m?0<=p?a-=v:a=180-(a-90)-v:a=0<=p?a-180-v:90-a-v;var a=a*Math.PI/180,v=n.x+t*Math.cos(a),b=n.y+t*Math.sin(a);s.push(new P(v,b))}}return s.push(e),s}},{key:"createLineEPS",value:function(e){var t=[],n=e.length;if(n<2)return e;for(var r,i=0;i<n;)"LTypeArc"==e[i].type?(t=(r=s.createLineArc(t,i,n,e))[0],i=r[1]):(t.push(e[i]),i++);return t}},{key:"createLineArc",value:function(e,t,n,r){var i;return 0==t?(i=s.addPointEPS(r,t,n,"LTypeArc"),Array.prototype.push.apply(e,i[0]),t=i[1]+1):t==n-1?(i=[r[t-1],r[t]],i=s.calculateCircle(i),Array.prototype.push.apply(e,i),t++):(i=s.addPointEPS(r,t,n,"LTypeArc"),e.pop(),Array.prototype.push.apply(e,i[0]),t=i[1]+1),[e,t]}},{key:"addPointEPS",value:function(e,t,n,r){var i,o=[],a=t+1;return 0==t?Array.prototype.push.apply(o,[e[t],e[t+1]]):t==n-1?Array.prototype.push.apply(o,[e[t-1],e[t]]):Array.prototype.push.apply(o,[e[t-1],e[t],e[t+1]]),"LTypeCurve"==r?i=s.calculatePointsFBZN(o):"LTypeArc"==r&&(i=s.calculateCircle(o)),[i,a]}}],Me((t=s).prototype,[{key:"removeComponent",value:function(e){var t=this.components&&2<this.components.length;return t&&Pe(Te(s.prototype),"removeComponent",this).apply(this,arguments),t}},{key:"getSortedSegments",value:function(){for(var e,t,n=this.components.length-1,r=new Array(n),i=0;i<n;++i)e=this.components[i],t=this.components[i+1],e.x<t.x?r[i]={x1:e.x,y1:e.y,x2:t.x,y2:t.y}:r[i]={x1:t.x,y1:t.y,x2:e.x,y2:e.y};return r.sort(function(e,t){return e.x1-t.x1})}},{key:"getVertices",value:function(e){return!0===e?[this.components[0],this.components[this.components.length-1]]:!1===e?this.components.slice(1,this.components.length-1):this.components.slice()}}]),Me(t,e),Object.defineProperty(t,"prototype",{writable:!1}),s}();function Le(e){return(Le="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})(e)}function je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function De(){return(De="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Re(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Be(e,t){return(Be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Re(e){return(Re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ne=function(){var e=o,t=Ie;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Be(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Re(n),t=(e=r?(e=Re(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Le(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).componentTypes=["SuperMap.Geometry.Point"],e.CLASS_NAME="SuperMap.Geometry.LinearRing",e.geometryType="LinearRing",e;throw new TypeError("Cannot call a class as a function")}return je((e=o).prototype,[{key:"addComponent",value:function(e,t){var n=!1,r=this.components.pop(),t=(null==t&&e.equals(r)||(n=De(Re(o.prototype),"addComponent",this).apply(this,arguments)),this.components[0]);return De(Re(o.prototype),"addComponent",this).apply(this,[t]),n}},{key:"removeComponent",value:function(e){var t,n=this.components&&3<this.components.length;return n&&(this.components.pop(),De(Re(o.prototype),"removeComponent",this).apply(this,arguments),t=this.components[0],De(Re(o.prototype),"addComponent",this).apply(this,[t])),n}},{key:"getArea",value:function(){var e=0;if(this.components&&2<this.components.length){for(var t=0,n=0,r=this.components.length;n<r-1;n++){var i=this.components[n],o=this.components[n+1];t+=(i.x+o.x)*(o.y-i.y)}e=-t/2}return e}},{key:"getVertices",value:function(e){return!0===e?[]:this.components.slice(0,this.components.length-1)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ze(e){return(ze="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})(e)}function Fe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ve(e,t){return(Ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ye=function(){var e=o,t=ge;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ve(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=He(n),t=(e=r?(e=He(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==ze(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).componentTypes=["SuperMap.Geometry.LinearRing"],e.CLASS_NAME="SuperMap.Geometry.Polygon",e.geometryType="Polygon",e;throw new TypeError("Cannot call a class as a function")}return Fe((e=o).prototype,[{key:"getArea",value:function(){var e=0;if(this.components&&0<this.components.length){e+=Math.abs(this.components[0].getArea());for(var t=1,n=this.components.length;t<n;t++)e-=Math.abs(this.components[t].getArea())}return e}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ge((n=Qe).prototype,[{key:"destroy",value:function(){this.id=null,this.lonlat=null,this.data=null}}]),Object.defineProperty(n,"prototype",{writable:!1});var Ue=Qe;function Qe(e,t,n){if(!(this instanceof Qe))throw new TypeError("Cannot call a class as a function");this.CLASS_NAME="SuperMap.Feature",this.layer=e,this.id=D.createUniqueID(this.CLASS_NAME+"_"),this.lonlat=t,this.data=null!=n?n:{}}function We(e){return(We="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})(e)}function qe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ke(){return(Ke="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Je(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Xe(e,t){return(Xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Je(e){return(Je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $e="Unknown",Ze="Delete",et=function(){var e=o,t=Ue;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Xe(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Je(n),t=(e=r?(e=Je(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==We(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t,n){var r;if(this instanceof o)return(r=i.call(this,null,null,t)).fid=null,r.geometry=e||null,r.attributes={},t&&(r.attributes=D.extend(r.attributes,t)),r.bounds=null,r.state=null,r.style=n||null,r.url=null,r.lonlat=null,r.CLASS_NAME="SuperMap.Feature.Vector",o.style={default:{fillColor:"#ee9900",fillOpacity:.4,hoverFillColor:"white",hoverFillOpacity:.8,strokeColor:"#ee9900",strokeOpacity:1,strokeWidth:1,strokeLinecap:"round",strokeDashstyle:"solid",hoverStrokeColor:"red",hoverStrokeOpacity:1,hoverStrokeWidth:.2,pointRadius:6,hoverPointRadius:1,hoverPointUnit:"%",pointerEvents:"visiblePainted",cursor:"inherit",fontColor:"#000000",labelAlign:"cm",labelOutlineColor:"white",labelOutlineWidth:3},select:{fillColor:"blue",fillOpacity:.4,hoverFillColor:"white",hoverFillOpacity:.8,strokeColor:"blue",strokeOpacity:1,strokeWidth:2,strokeLinecap:"round",strokeDashstyle:"solid",hoverStrokeColor:"red",hoverStrokeOpacity:1,hoverStrokeWidth:.2,pointRadius:6,hoverPointRadius:1,hoverPointUnit:"%",pointerEvents:"visiblePainted",cursor:"pointer",fontColor:"#000000",labelAlign:"cm",labelOutlineColor:"white",labelOutlineWidth:3},temporary:{fillColor:"#66cccc",fillOpacity:.2,hoverFillColor:"white",hoverFillOpacity:.8,strokeColor:"#66cccc",strokeOpacity:1,strokeLinecap:"round",strokeWidth:2,strokeDashstyle:"solid",hoverStrokeColor:"red",hoverStrokeOpacity:1,hoverStrokeWidth:.2,pointRadius:6,hoverPointRadius:1,hoverPointUnit:"%",pointerEvents:"visiblePainted",cursor:"default",fontColor:"#000000",labelAlign:"cm",labelOutlineColor:"white",labelOutlineWidth:3},delete:{display:"none"}},r;throw new TypeError("Cannot call a class as a function")}return qe((e=o).prototype,[{key:"destroy",value:function(){this.layer&&(this.layer.removeFeatures(this),this.layer=null),this.geometry=null,Ke(Je(o.prototype),"destroy",this).call(this)}},{key:"clone",value:function(){return new o(this.geometry?this.geometry.clone():null,this.attributes,this.style)}},{key:"toState",value:function(e){if("Update"===e)switch(this.state){case $e:case Ze:this.state=e}else if("Insert"===e)this.state!==$e&&(this.state=e);else if(e===Ze)switch(this.state){case"Insert":case Ze:break;case $e:case"Update":this.state=e}else e===$e&&(this.state=e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function tt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}tt((i=rt).prototype,[{key:"destroy",value:function(){}},{key:"read",value:function(e){}},{key:"write",value:function(e){}}]),Object.defineProperty(i,"prototype",{writable:!1});var nt=rt;function rt(e){if(!(this instanceof rt))throw new TypeError("Cannot call a class as a function");this.data=null,this.keepData=!1,D.extend(this,e),this.options=e,this.CLASS_NAME="SuperMap.Format"}function it(e){return(it="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})(e)}function ot(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function at(e,t){return(at=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var lt=function(){var e=o,t=nt;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),at(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=st(n),t=(e=r?(e=st(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==it(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).indent=" ",e.space=" ",e.newline="\n",e.level=0,e.pretty=!1,e.nativeJSON=!(!window.JSON||"function"!=typeof JSON.parse||"function"!=typeof JSON.stringify),e.CLASS_NAME="SuperMap.Format.JSON",e.serialize={object:function(e){if(null==e)return"null";if(e.constructor===Date)return this.serialize.date.apply(this,[e]);if(e.constructor===Array)return this.serialize.array.apply(this,[e]);var t,n,r,i=["{"],o=(this.level+=1,!1);for(t in e)e.hasOwnProperty(t)&&(n=this.write.apply(this,[t,this.pretty]),r=this.write.apply(this,[e[t],this.pretty]),null!=n)&&null!=r&&(o&&i.push(","),i.push(this.writeNewline(),this.writeIndent(),n,":",this.writeSpace(),r),o=!0);return--this.level,i.push(this.writeNewline(),this.writeIndent(),"}"),i.join("")},array:function(e){var t,n=["["];this.level+=1;for(var r=0,i=e.length;r<i;++r)null!=(t=this.write.apply(this,[e[r],this.pretty]))&&(0<r&&n.push(","),n.push(this.writeNewline(),this.writeIndent(),t));return--this.level,n.push(this.writeNewline(),this.writeIndent(),"]"),n.join("")},string:function(e){var n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,t){return n[t]||(t=t.charCodeAt(),"\\u00"+Math.floor(t/16).toString(16)+(t%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}},e;throw new TypeError("Cannot call a class as a function")}return ot((e=o).prototype,[{key:"read",value:function(e,t){var n;if(this.nativeJSON)try{n=JSON.parse(e,t)}catch(t){return{data:e}}return this.keepData&&(this.data=n),n}},{key:"write",value:function(e,t){this.pretty=!!t;var t=null,n=it(e);if(this.serialize[n])try{t=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[n].apply(this,[e])}catch(e){}return t}},{key:"writeIndent",value:function(){var e=[];if(this.pretty)for(var t=0;t<this.level;++t)e.push(this.indent);return e.join("")}},{key:"writeNewline",value:function(){return this.pretty?this.newline:""}},{key:"writeSpace",value:function(){return this.pretty?this.space:""}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ut(e){return(ut="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})(e)}function ct(e,t){return(ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ft(e){return(ft=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ht=function(){var e=o,t=ge;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ct(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ft(n),t=(e=r?(e=ft(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==ut(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).componentTypes=["SuperMap.Geometry.LineString"],e.CLASS_NAME="SuperMap.Geometry.MultiLineString",e.geometryType="MultiLineString",e;throw new TypeError("Cannot call a class as a function")}return e=o,Object.defineProperty(e,"prototype",{writable:!1}),e}();function dt(e){return(dt="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})(e)}function pt(e,t){return(pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var mt=function(){var e=o,t=ge;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pt(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=yt(n),t=(e=r?(e=yt(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==dt(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).componentTypes=["SuperMap.Geometry.Polygon"],e.CLASS_NAME="SuperMap.Geometry.MultiPolygon",e.geometryType="MultiPolygon",e;throw new TypeError("Cannot call a class as a function")}return e=o,Object.defineProperty(e,"prototype",{writable:!1}),e}();function gt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e=[{key:"fromJson",value:function(e){var t,n;if(e)return t=new vt,n=255,null!==e.red&&(n=Number(e.red)),t.red=n,n=0,null!==e.green&&(n=Number(e.green)),t.green=n,n=0,null!==e.blue&&(n=Number(e.blue)),t.blue=n,t}}],gt((n=vt).prototype,[{key:"destroy",value:function(){this.red=null,this.green=null,this.blue=null}}]),gt(n,e),Object.defineProperty(n,"prototype",{writable:!1});var l=vt;function vt(e,t,n){if(!(this instanceof vt))throw new TypeError("Cannot call a class as a function");this.red=e||0==e?e:255,this.green=t||0,this.blue=n||0,this.CLASS_NAME="SuperMap.ServerColor"}function bt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}i=[{key:"fromJson",value:function(e){if(e)return new _t({fillBackColor:l.fromJson(e.fillBackColor),fillBackOpaque:e.fillBackOpaque,fillForeColor:l.fromJson(e.fillForeColor),fillGradientMode:e.fillGradientMode,fillGradientAngle:e.fillGradientAngle,fillGradientOffsetRatioX:e.fillGradientOffsetRatioX,fillGradientOffsetRatioY:e.fillGradientOffsetRatioY,fillOpaqueRate:e.fillOpaqueRate,fillSymbolID:e.fillSymbolID,lineColor:l.fromJson(e.lineColor),lineSymbolID:e.lineSymbolID,lineWidth:e.lineWidth,markerAngle:e.markerAngle,markerSize:e.markerSize,markerSymbolID:e.markerSymbolID})}}],bt((e=_t).prototype,[{key:"destroy",value:function(){var e=this;e.fillBackColor&&(e.fillBackColor.destroy(),e.fillBackColor=null),e.fillBackOpaque=null,e.fillForeColor&&(e.fillForeColor.destroy(),e.fillForeColor=null),e.fillGradientMode=null,e.fillGradientAngle=null,e.fillGradientOffsetRatioX=null,e.fillGradientOffsetRatioY=null,e.fillOpaqueRate=null,e.fillSymbolID=null,e.lineColor&&(e.lineColor.destroy(),e.lineColor=null),e.lineSymbolID=null,e.lineWidth=null,e.markerAngle=null,e.markerSize=null,e.markerSymbolID=null}},{key:"toServerJSONObject",value:function(){return D.copyAttributes({},this)}}]),bt(e,i),Object.defineProperty(e,"prototype",{writable:!1});var c=_t;function _t(e){if(!(this instanceof _t))throw new TypeError("Cannot call a class as a function");this.fillBackColor=new l(255,255,255),this.fillBackOpaque=!1,this.fillForeColor=new l(255,0,0),this.fillGradientMode=null,this.fillGradientAngle=0,this.fillGradientOffsetRatioX=0,this.fillGradientOffsetRatioY=0,this.fillOpaqueRate=100,this.fillSymbolID=0,this.lineColor=new l(0,0,0),this.lineSymbolID=0,this.lineWidth=1,this.markerAngle=0,this.markerSize=1,this.markerSymbolID=-1,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ServerStyle"}function xt(e){return(xt="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})(e)}function wt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function At(e,t){return(At=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function St(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ct(e){return(Ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ot=function(){var e=o,t=P;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&At(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ct(n),t=(e=r?(e=Ct(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===xt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return St(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).measure=null,e&&D.extend(St(t),e),t.CLASS_NAME="SuperMap.PointWithMeasure",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"fromJson",value:function(e){if(e)return new o({x:e.x,y:e.y,measure:e.measure})}}],wt((t=o).prototype,[{key:"equals",value:function(e){var t,n,r=!1;return null!=e&&(t=this.x===e.x&&this.y===e.y&&this.measure===e.measure,n=isNaN(this.x)&&isNaN(this.y)&&isNaN(this.measure),e=isNaN(e.x)&&isNaN(e.y)&&isNaN(e.measure),r=t||n&&e),r}},{key:"toJson",value:function(){var e="{";return null!=this.measure&&null!=this.measure&&(e+='"measure":'+this.measure+","),(e=(e+='"x":'+this.x+",")+('"y":'+this.y))+"}"}},{key:"destroy",value:function(){this.measure=null,this.x=null,this.y=null}}]),wt(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function Et(e){return(Et="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})(e)}function Mt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pt(e,t){return(Pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function kt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tt(e){return(Tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var It=function(){var e=u,t=ge;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pt(e,t);n=u,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Tt(n),t=(e=r?(e=Tt(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Et(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return kt(t)};function u(e,t){if(this instanceof u)return(e=i.call(this,e,t)).id=null,e.center=null,e.style=null,e.length=null,e.maxM=null,e.minM=null,e.parts=null,e.points=null,e.type=null,e.componentTypes=["SuperMap.Geometry.LinearRing","SuperMap.Geometry.LineString"],t&&D.extend(kt(e),t),e.CLASS_NAME="SuperMap.Route",e.geometryType="LINEM",e;throw new TypeError("Cannot call a class as a function")}return e=[{key:"fromJson",value:function(e){if(e){var t=e.parts||[],n=e.points||[],r=t.length,i=[];if(!(0<r))return null;for(var o=0,a=0,s=[];o<r;o++){for(var l=0;l<t[o];l++)s.push(Ot.fromJson(n[a+l]));a+=t[o],s[0].equals(s[t[o]-1])?i.push(new Ne(s)):i.push(new Ie(s)),s=[]}return new u(i,{id:e.id,center:e.center,style:e.style,length:e.length,maxM:e.maxM,minM:e.minM,type:e.type,parts:e.parts})}}}],Mt((t=u).prototype,[{key:"toJson",value:function(){var e="{";if(null!=this.id&&null!=this.id&&(e+='"id":'+this.id+","),null!=this.center&&null!=this.center&&(e+='"center":'+this.center+","),null!=this.style&&null!=this.style&&(e+='"style":'+this.style+","),null!=this.length&&null!=this.length&&(e+='"length":'+this.length+","),null!=this.maxM&&null!=this.maxM&&(e+='"maxM":'+this.maxM+","),null!=this.minM&&null!=this.minM&&(e+='"minM":'+this.minM+","),null!=this.type&&null!=this.type&&(e+='"type":"'+this.type+'",'),null!=this.parts&&null!=this.parts){e+='"parts":['+this.parts[0];for(var t=1;t<this.parts.length;t++)e+=","+this.parts[t];e+="],"}if(null!=this.components&&0<this.components.length){e+='"points":[';for(var n=0,r=this.components.length;n<r;n++)for(var i=0,o=this.components[n].components.length;i<o;i++)e+=this.components[n].components[i].toJson()+",";e=e.replace(/,$/g,""),e+="]"}return(e=e.replace(/,$/g,""))+"}"}},{key:"destroy",value:function(){var e=this;e.id=null,e.center=null,e.style=null,e.length=null,e.maxM=null,e.minM=null,e.type=null,e.parts=null,e.components.length=0,e.components=null,e.componentTypes=null}}]),Mt(t,e),Object.defineProperty(t,"prototype",{writable:!1}),u}(),a={GEOJSON:"GEOJSON",ISERVER:"ISERVER",FGB:"FGB"},Lt={ISERVER:"ISERVER",IPORTAL:"IPORTAL",ONLINE:"ONLINE"},jt={LINE:"LINE",LINEM:"LINEM",POINT:"POINT",REGION:"REGION",POINTEPS:"POINTEPS",LINEEPS:"LINEEPS",REGIONEPS:"REGIONEPS",ELLIPSE:"ELLIPSE",CIRCLE:"CIRCLE",TEXT:"TEXT",RECTANGLE:"RECTANGLE",UNKNOWN:"UNKNOWN",GEOCOMPOUND:"GEOCOMPOUND"},Dt={ATTRIBUTE:"ATTRIBUTE",ATTRIBUTEANDGEOMETRY:"ATTRIBUTEANDGEOMETRY",GEOMETRY:"GEOMETRY"},Bt={CONTAIN:"CONTAIN",CROSS:"CROSS",DISJOINT:"DISJOINT",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",NONE:"NONE",OVERLAP:"OVERLAP",TOUCH:"TOUCH",WITHIN:"WITHIN"},Rt={DISTANCE:"DISTANCE",AREA:"AREA"},Nt={METER:"METER",KILOMETER:"KILOMETER",MILE:"MILE",YARD:"YARD",DEGREE:"DEGREE",MILLIMETER:"MILLIMETER",CENTIMETER:"CENTIMETER",INCH:"INCH",DECIMETER:"DECIMETER",FOOT:"FOOT",SECOND:"SECOND",MINUTE:"MINUTE",RADIAN:"RADIAN"},zt={CENTIMETER:"CENTIMETER",DECIMETER:"DECIMETER",FOOT:"FOOT",INCH:"INCH",KILOMETER:"KILOMETER",METER:"METER",MILE:"MILE",MILLIMETER:"MILLIMETER",YARD:"YARD"},Ft={CAPTION:"CAPTION",CAPTION_PERCENT:"CAPTION_PERCENT",CAPTION_VALUE:"CAPTION_VALUE",PERCENT:"PERCENT",VALUE:"VALUE"},Vt={AREA:"AREA",BAR:"BAR",BAR3D:"BAR3D",LINE:"LINE",PIE:"PIE",PIE3D:"PIE3D",POINT:"POINT",RING:"RING",ROSE:"ROSE",ROSE3D:"ROSE3D",STACK_BAR:"STACK_BAR",STACK_BAR3D:"STACK_BAR3D",STEP:"STEP"},Ht={ALL:"ALL",NONE:"NONE",YAXES:"YAXES"},Yt={CONSTANT:"CONSTANT",LOGARITHM:"LOGARITHM",SQUAREROOT:"SQUAREROOT"},Gt={CUSTOMINTERVAL:"CUSTOMINTERVAL",EQUALINTERVAL:"EQUALINTERVAL",LOGARITHM:"LOGARITHM",QUANTILE:"QUANTILE",SQUAREROOT:"SQUAREROOT",STDDEVIATION:"STDDEVIATION"},Ut={BLACK_WHITE:"BLACKWHITE",BLUE_BLACK:"BLUEBLACK",BLUE_RED:"BLUERED",BLUE_WHITE:"BLUEWHITE",CYAN_BLACK:"CYANBLACK",CYAN_BLUE:"CYANBLUE",CYAN_GREEN:"CYANGREEN",CYAN_WHITE:"CYANWHITE",GREEN_BLACK:"GREENBLACK",GREEN_BLUE:"GREENBLUE",GREEN_ORANGE_VIOLET:"GREENORANGEVIOLET",GREEN_RED:"GREENRED",GREEN_WHITE:"GREENWHITE",PINK_BLACK:"PINKBLACK",PINK_BLUE:"PINKBLUE",PINK_RED:"PINKRED",PINK_WHITE:"PINKWHITE",RAIN_BOW:"RAINBOW",RED_BLACK:"REDBLACK",RED_WHITE:"REDWHITE",SPECTRUM:"SPECTRUM",TERRAIN:"TERRAIN",YELLOW_BLACK:"YELLOWBLACK",YELLOW_BLUE:"YELLOWBLUE",YELLOW_GREEN:"YELLOWGREEN",YELLOW_RED:"YELLOWRED",YELLOW_WHITE:"YELLOWWHITE"},Qt={TOPLEFT:"TOPLEFT",TOPCENTER:"TOPCENTER",TOPRIGHT:"TOPRIGHT",BASELINELEFT:"BASELINELEFT",BASELINECENTER:"BASELINECENTER",BASELINERIGHT:"BASELINERIGHT",BOTTOMLEFT:"BOTTOMLEFT",BOTTOMCENTER:"BOTTOMCENTER",BOTTOMRIGHT:"BOTTOMRIGHT",MIDDLELEFT:"MIDDLELEFT",MIDDLECENTER:"MIDDLECENTER",MIDDLERIGHT:"MIDDLERIGHT"},Wt={NORMAL:"ALONG_LINE_NORMAL",LB_TO_RT:"LEFT_BOTTOM_TO_RIGHT_TOP",LT_TO_RB:"LEFT_TOP_TO_RIGHT_BOTTOM",RB_TO_LT:"RIGHT_BOTTOM_TO_LEFT_TOP",RT_TO_LB:"RIGHT_TOP_TO_LEFT_BOTTOM"},qt={DIAMOND:"DIAMOND",ELLIPSE:"ELLIPSE",MARKER:"MARKER",NONE:"NONE",RECT:"RECT",ROUNDRECT:"ROUNDRECT",TRIANGLE:"TRIANGLE"},Kt={NEWLINE:"NEWLINE",NONE:"NONE",OMIT:"OMIT"},Xt={FLAT:"FLAT",ROUND:"ROUND"},Jt={CLIP:"CLIP",ERASE:"ERASE",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",UNION:"UNION",UPDATE:"UPDATE",XOR:"XOR"},$t={INDEXEDHDFS:"INDEXEDHDFS",UDB:"UDB",MONGODB:"MONGODB",PG:"PG"},Zt={BSPLINE:"BSPLINE",POLISH:"POLISH"},en={ISOLINE:"ISOLINE",ISOREGION:"ISOREGION"},tn={DATASET_AND_RECORDSET:"DATASET_AND_RECORDSET",DATASET_ONLY:"DATASET_ONLY",RECORDSET_ONLY:"RECORDSET_ONLY"},nn={ADD:"add",UPDATE:"update",DELETE:"delete"},rn={LESS_TIME:"LESS_TIME",LESS_TRANSFER:"LESS_TRANSFER",LESS_WALK:"LESS_WALK",MIN_DISTANCE:"MIN_DISTANCE"},on={BUS:"BUS",SUBWAY:"SUBWAY",NO_SUBWAY:"NO_SUBWAY",NONE:"NONE"},an={EXPONENTIAL:"EXPONENTIAL",GAUSSIAN:"GAUSSIAN",SPHERICAL:"SPHERICAL"},sn={EXP1:"EXP1",EXP2:"EXP2"},ln={IP:"IP",REFERER:"Referer",REQUESTIP:"RequestIP",NONE:"NONE",SERVER:"SERVER",WEB:"WEB"},un={CLIP:"clip",INTERSECT:"intersect"},cn={SQUAREMETER:"SquareMeter",SQUAREKILOMETER:"SquareKiloMeter",HECTARE:"Hectare",ARE:"Are",ACRE:"Acre",SQUAREFOOT:"SquareFoot",SQUAREYARD:"SquareYard",SQUAREMILE:"SquareMile"},fn={METER:"Meter",KILOMETER:"Kilometer",YARD:"Yard",FOOT:"Foot",MILE:"Mile"},hn={MAX:"max",MIN:"min",AVERAGE:"average",SUM:"sum",VARIANCE:"variance",STDDEVIATION:"stdDeviation"},dn={SUMMARYMESH:"SUMMARYMESH",SUMMARYREGION:"SUMMARYREGION"},pn={REGIONNOOVERLAP:"REGIONNOOVERLAP",REGIONNOOVERLAPWITH:"REGIONNOOVERLAPWITH",REGIONCONTAINEDBYREGION:"REGIONCONTAINEDBYREGION",REGIONCOVEREDBYREGION:"REGIONCOVEREDBYREGION",LINENOOVERLAP:"LINENOOVERLAP",LINENOOVERLAPWITH:"LINENOOVERLAPWITH",POINTNOIDENTICAL:"POINTNOIDENTICAL"},yn={GEOHASH_GRID:"geohash_grid"},mn={AVG:"avg",MAX:"max",MIN:"min",SUM:"sum"},gn={NDVI:"NDVI",HILLSHADE:"HILLSHADE"};function vn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n=[{key:"fromJson",value:function(e){if(e)return new bn({id:e.id,style:c.fromJson(e.style),parts:e.parts,partTopo:e.partTopo,points:e.points,center:e.center,length:e.length,maxM:e.maxM,minM:e.minM,type:e.type})}},{key:"fromGeometry",value:function(e){if(e){var t=0,n=[],r=[],i=null,o=e.components,a=e.CLASS_NAME,s={epsgCode:e.SRID};if(isNaN(e.id)||(t=e.id),"SuperMap.Geometry.LinearRing"!=a&&"SuperMap.Geometry.LineString"!=a&&(e instanceof we||e instanceof ht)){for(var l=o.length,u=0;u<l;u++){var c=o[u].getVertices(),f=c.length;n.push(f);for(var h=0;h<f;h++)r.push(new P(c[h].x,c[h].y))}i="SuperMap.Geometry.MultiPoint"==a?jt.POINT:jt.LINE}else if(e instanceof mt){for(var d=o.length,p=0;p<d;p++)for(var y=o[p].components,m=y.length,g=0;g<m;g++){var v=y[g].getVertices(),b=v.length+1;n.push(b);for(var _=0;_<b-1;_++)r.push(new P(v[_].x,v[_].y));r.push(new P(v[0].x,v[0].y))}i=jt.REGION}else if(e instanceof Ye){for(var x=o.length,w=0;w<x;w++){var A=o[w].getVertices(),S=A.length+1;n.push(S);for(var C=0;C<S-1;C++)r.push(new P(A[C].x,A[C].y));r.push(new P(A[0].x,A[0].y))}i=jt.REGION}else{for(var O=e.getVertices(),E=O.length,M=0;M<E;M++)r.push(new P(O[M].x,O[M].y));e instanceof Ne&&(r.push(new P(O[0].x,O[0].y)),E++),n.push(E),i=e instanceof P?jt.POINT:jt.LINE}return new bn({id:t,style:null,parts:n,points:r,type:i,prjCoordSys:s})}}},{key:"IsClockWise",value:function(e){var t=e.length;if(t<3)return 0;var n=e[0].y*(e[t-1].x-e[1].x);e.push(e[0]);for(var r=1;r<t;r++)n+=e[r].y*(e[r-1].x-e[r+1].x);return.5*n}},{key:"bubbleSort",value:function(e,t,n,r){for(var i,o=0;o<e.length;o++)for(var a=0;a<e.length;a++)e[o]>e[a]&&(i=e[a],e[a]=e[o],e[o]=i,i=t[a],t[a]=t[o],t[o]=i,n&&0<n.length&&(i=n[a],n[a]=n[o],n[o]=i),r)&&0<r.length&&(i=r[a],r[a]=r[o],r[o]=i)}}],vn((i=bn).prototype,[{key:"destroy",value:function(){this.id=null,this.style=null,this.parts=null,this.partTopo=null,this.points=null,this.type=null,this.prjCoordSys=null}},{key:"toGeometry",value:function(){switch(this.type.toUpperCase()){case jt.POINT:return this.toGeoPoint();case jt.LINE:return this.toGeoLine();case jt.LINEM:return this.toGeoLinem();case jt.REGION:return this.toGeoRegion();case jt.POINTEPS:return this.toGeoPoint();case jt.LINEEPS:return this.toGeoLineEPS();case jt.REGIONEPS:return this.toGeoRegionEPS();case jt.GEOCOMPOUND:return this.transformGeoCompound()}}},{key:"toGeoPoint",value:function(){var e=this.parts||[],t=this.points||[],n=e.length;if(0<n){if(1===n)return new P(t[0].x,t[0].y);for(var r=[],i=0;i<n;i++)r.push(new P(t[i].x,t[i].y));return new we(r)}return null}},{key:"toGeoLine",value:function(){var e=this.parts||[],t=this.points||[],n=e.length;if(0<n){if(1===n){for(var r=[],i=0;i<e[0];i++)r.push(new P(t[i].x,t[i].y));return new(r[0].equals(r[e[0]-1])?Ne:Ie)(r)}for(var o=[],a=0;a<n;a++){for(var s=[],l=0;l<e[a];l++)s.push(new P(t[l].x,t[l].y));o.push(new Ie(s)),t.splice(0,e[a])}return new ht(o)}return null}},{key:"toGeoLineEPS",value:function(){var e,t,n,r,i,o=this.parts||[],a=this.points||[],s=o.length;if(0<s){if(1===s){for(e=0,n=[];e<o[0];e++)n.push(new P(a[e].x,a[e].y,a[e].type));return new(n[0].equals(n[o[0]-1])?(i=Ie.createLineEPS(n),Ne):(i=Ie.createLineEPS(n),Ie))(i)}for(e=0,r=[];e<s;e++){for(t=0,n=[];t<o[e];t++)n.push(new P(a[t].x,a[t].y));i=Ie.createLineEPS(n),r.push(new Ie(i)),a.splice(0,o[e])}return new ht(r)}return null}},{key:"toGeoLinem",value:function(){return It.fromJson(this)}},{key:"toGeoRegion",value:function(){var e=this.parts||[],t=this.partTopo||[],n=this.points||[],r=e.length;if(r<=0)return null;var i=[],o=[];if(1==r){for(var a=0;a<n.length;a++)o.push(new P(n[a].x,n[a].y));i.push(new Ye([new Ne(o)]))}else{for(var s=[],l=[],u=[],c=[],f=[],h=0,d=0;h<r;h++){for(var p=0;p<e[h];p++)o.push(new P(n[d+p].x,n[d+p].y));d+=e[h];var y=new Ye([new Ne(o)]),o=[];u.push(y),0===t.length&&c.push(y.getBounds()),f.push(1),l.push(y.getArea())}if(0===t.length){bn.bubbleSort(l,u,t,c);for(var m=[],g=1;g<u.length;g++)for(var v=g-1;0<=v;v--)if(m[g]=-1,c[v].containsBounds(c[g])){f[g]=-1*f[v],f[g]<0&&(m[g]=v);break}for(var b=0;b<u.length;b++)0<f[b]?i.push(u[b]):(i[m[b]].components=i[m[b]].components.concat(u[b].components),i.push(""))}else for(var i=new Array,_=0;_<u.length;_++)if(t[_]&&-1==t[_]?s=s.concat(u[_].components):(0<s.length&&0<i.length&&(i[i.length-1].components=i[i.length-1].components.concat(s),s=[]),i.push(u[_])),_==r-1){var x=i.length;if(x)i[x-1].components=i[x-1].components.concat(s);else for(var w=0,A=s.length;w<A;w++)i.push(new Ye(s))}}return new mt(i)}},{key:"toGeoRegionEPS",value:function(){var e=this.parts||[],t=this.partTopo||[],n=this.points||[],r=e.length;if(r<=0)return null;var i=[],o=[];if(1==r){for(var a=0;a<n.length;a++)o.push(new P(n[a].x,n[a].y));y=Ie.createLineEPS(o),i.push(new Ye([new Ne(y)]))}else{for(var s=[],l=[],u=[],c=[],f=[],h=0,d=0;h<r;h++){for(var p=0;p<e[h];p++)o.push(new P(n[d+p].x,n[d+p].y));d+=e[h];var y=Ie.createLineEPS(o),m=new Ye([new Ne(y)]),o=[];u.push(m),0===t.length&&c.push(m.getBounds()),f.push(1),l.push(m.getArea())}if(0===t.length){bn.bubbleSort(l,u,t,c);for(var g=[],v=1;v<u.length;v++)for(var b=v-1;0<=b;b--)if(g[v]=-1,c[b].containsBounds(c[v])){f[v]=-1*f[b],f[v]<0&&(g[v]=b);break}for(var _=0;_<u.length;_++)0<f[_]?i.push(u[_]):(i[g[_]].components=i[g[_]].components.concat(u[_].components),i.push(""))}else for(var i=new Array,x=0;x<u.length;x++)if(t[x]&&-1==t[x]?s=s.concat(u[x].components):(0<s.length&&0<i.length&&(i[i.length-1].components=i[i.length-1].components.concat(s),s=[]),i.push(u[x])),x==r-1){var w=i.length;if(w)i[w-1].components=i[w-1].components.concat(s);else for(var A=0,S=s.length;A<S;A++)i.push(new Ye(s))}}return new mt(i)}},{key:"transformGeoCompound",value:function(){var e=this.geoParts||[],t=e.length;if(t<=0)return null;for(var n=[],r=0;r<t;r++){var i=e[r];n.push(new bn(i).toGeometry())}return new ge(n)}}]),vn(i,n),Object.defineProperty(i,"prototype",{writable:!1});var s=bn;function bn(e){if(!(this instanceof bn))throw new TypeError("Cannot call a class as a function");this.id=0,this.style=null,this.parts=null,this.points=null,this.type=null,this.prjCoordSys=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ServerGeometry"}function _n(e){return(_n="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})(e)}function xn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wn(){return(wn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Sn(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function An(e,t){return(An=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Sn(e){return(Sn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Cn(e){return"[object Array]"==Object.prototype.toString.call(e)}function On(e){return"string"==typeof e&&e.constructor===String}var En=function(){var e=l,t=lt;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&An(e,t);n=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Sn(n),t=(e=r?(e=Sn(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==_n(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function l(e){if(this instanceof l)return(e=i.call(this,e)).ignoreExtraDims=!0,e.CLASS_NAME="SuperMap.Format.GeoJSON",e.parseCoords={point:function(e){if(!1===this.ignoreExtraDims&&2!=e.length)throw"Only 2D points are supported: "+e;return new P(e[0],e[1])},multipoint:function(e){for(var t=[],n=null,r=0,i=e.length;r<i;++r){try{n=this.parseCoords.point.apply(this,[e[r]])}catch(e){throw e}t.push(n)}return new we(t)},linestring:function(e){for(var t=[],n=null,r=0,i=e.length;r<i;++r){try{n=this.parseCoords.point.apply(this,[e[r]])}catch(e){throw e}t.push(n)}return new Ie(t)},multilinestring:function(e){for(var t=[],n=null,r=0,i=e.length;r<i;++r){try{n=this.parseCoords.linestring.apply(this,[e[r]])}catch(e){throw e}t.push(n)}return new ht(t)},polygon:function(e){for(var t,n,r=[],i=0,o=e.length;i<o;++i){try{n=this.parseCoords.linestring.apply(this,[e[i]])}catch(e){throw e}t=new Ne(n.components),r.push(t)}return new Ye(r)},multipolygon:function(e){for(var t=[],n=null,r=0,i=e.length;r<i;++r){try{n=this.parseCoords.polygon.apply(this,[e[r]])}catch(e){throw e}t.push(n)}return new mt(t)},box:function(e){if(2!=e.length)throw"GeoJSON box coordinates must have 2 elements";return new Ye([new Ne([new P(e[0][0],e[0][1]),new P(e[1][0],e[0][1]),new P(e[1][0],e[1][1]),new P(e[0][0],e[1][1]),new P(e[0][0],e[0][1])])])}},e.extract={feature:function(e){var t=this.extract.geometry.apply(this,[e.geometry]),t={type:"Feature",properties:this.createAttributes(e),geometry:t};return e.geometry&&"TEXT"===e.geometry.type&&(t.properties.texts=e.geometry.texts,t.properties.textStyle=e.geometry.textStyle),e.fid&&(t.id=e.fid),e.ID&&(t.id=e.ID),t},geometry:function(e){if(null==e)return null;!e.parts&&e.points&&(e.parts=[e.points.length]);var e=!e.hasOwnProperty("geometryType")&&new s(e).toGeometry()||e,t=e.geometryType||e.type,e=this.extract[(t="LINEM"===(t="LinearRing"===t?"LineString":t)?"MultiLineString":t).toLowerCase()].apply(this,[e]);return"Collection"===(t="TEXT"===t?"Point":t)?{type:"GeometryCollection",geometries:e}:{type:t,coordinates:e}},point:function(e){var t,n=[e.x,e.y];for(t in e)"x"===t||"y"===t||null===e[t]||isNaN(e[t])||n.push(e[t]);return n},text:function(e){return[e.points[0].x,e.points[0].y]},multipoint:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push(this.extract.point.apply(this,[e.components[n]]));return t},linestring:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push(this.extract.point.apply(this,[e.components[n]]));return t},multilinestring:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push(this.extract.linestring.apply(this,[e.components[n]]));return t},polygon:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push(this.extract.linestring.apply(this,[e.components[n]]));return t},multipolygon:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push(this.extract.polygon.apply(this,[e.components[n]]));return t},collection:function(e){for(var t=e.components.length,n=new Array(t),r=0;r<t;++r)n[r]=this.extract.geometry.apply(this,[e.components[r]]);return n}},e;throw new TypeError("Cannot call a class as a function")}return xn((e=l).prototype,[{key:"read",value:function(e,t,n){t=t||"FeatureCollection";var r,i=null;if((r="string"==typeof e?wn(Sn(l.prototype),"read",this).call(this,e,n):e)&&"string"==typeof r.type&&this.isValidType(r,t))switch(t){case"Geometry":try{i=this.parseGeometry(r)}catch(e){}break;case"Feature":try{(i=this.parseFeature(r)).type="Feature"}catch(e){}break;case"FeatureCollection":switch(i=[],r.type){case"Feature":try{i.push(this.parseFeature(r))}catch(e){i=null}break;case"FeatureCollection":for(var o=0,a=r.features.length;o<a;++o)try{i.push(this.parseFeature(r.features[o]))}catch(e){i=null}break;default:try{var s=this.parseGeometry(r);i.push(new et(s))}catch(e){i=null}}}return i}},{key:"write",value:function(e,t){return wn(Sn(l.prototype),"write",this).call(this,this.toGeoJSON(e),t)}},{key:"fromGeoJSON",value:function(e,t,n){var r=this,e=this.read(e,t,n);return D.isArray(e)?e.map(function(e){return r._toiSevrerFeature(e)}):this._toiSevrerFeature(e)}},{key:"toGeoJSON",value:function(e){var t,n={type:null};if(D.isArray(e)){n.type="FeatureCollection";var r=e.length;n.features=new Array(r);for(var i=0;i<r;++i){var o,a=e[i];s(a)?((o={}).geometry=a,n.features[i]=this.extract.feature.apply(this,[o])):n.features[i]=this.extract.feature.apply(this,[a])}}else n=s(e)?((t={}).geometry=e,this.extract.feature.apply(this,[t])):this.extract.feature.apply(this,[e]);function s(e){return e.hasOwnProperty("parts")&&e.hasOwnProperty("points")||e.hasOwnProperty("geoParts")}return n}},{key:"isValidType",value:function(e,t){var n=!1;switch(t){case"Geometry":-1!=D.indexOf(["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon","Box","GeometryCollection"],e.type)&&(n=!0);break;case"FeatureCollection":n=!0;break;default:e.type==t&&(n=!0)}return n}},{key:"parseFeature",value:function(e){var t,n=e.properties||{},r=e.geometry&&e.geometry.bbox||e.bbox;try{t=this.parseGeometry(e.geometry)}catch(e){throw e}return t=new et(t,n),r&&(t.bounds=S.fromArray(r)),e.id&&(t.geometry.id=e.id,t.fid=e.id),t}},{key:"parseGeometry",value:function(e){if(null==e)return null;var t;if("GeometryCollection"==e.type){if(!D.isArray(e.geometries))throw"GeometryCollection must have geometries array: "+e;for(var n=e.geometries.length,r=new Array(n),i=0;i<n;++i)r[i]=this.parseGeometry.apply(this,[e.geometries[i]]);t=new ge(r)}else{if(!D.isArray(e.coordinates))throw"Geometry must have coordinates array: "+e;if(!this.parseCoords[e.type.toLowerCase()])throw"Unsupported geometry type: "+e.type;try{t=this.parseCoords[e.type.toLowerCase()].apply(this,[e.coordinates])}catch(e){throw e}}return t}},{key:"createCRSObject",value:function(e){var e=e.layer.projection.toString(),t={};return t=e.match(/epsg:/i)?4326==(e=parseInt(e.substring(e.indexOf(":")+1)))?{type:"name",properties:{name:"urn:ogc:def:crs:OGC:1.3:CRS84"}}:{type:"name",properties:{name:"EPSG:"+e}}:t}},{key:"_toiSevrerFeature",value:function(e){var t,n=e.attributes,r=[],i=[];for(t in n)r.push(t),i.push(n[t]);var o={fieldNames:r,fieldValues:i,geometry:s.fromGeometry(e.geometry)};return o.geometry.id=e.fid,o}},{key:"createAttributes",value:function(e){if(!e)return null;var t={},n=e,r=t;if(n.hasOwnProperty("fieldNames")&&n.hasOwnProperty("fieldValues")){var i,o=n.fieldNames,a=n.fieldValues;for(i in o)r[o[i]]=a[i]}var s,l=["fieldNames","fieldValues","geometry","stringID","ID"];for(s in e)-1<l.indexOf(s)||(t[s]=e[s]);return t}}]),Object.defineProperty(e,"prototype",{writable:!1}),l}(),x={toSuperMapGeometry:function(e){if(e&&e.type)return(new En).read(e,"FeatureCollection")[0].geometry},toSuperMapBounds:function(e){return Cn(e)?new S(e[0],e[1],e[2],e[3]):new S(e.getWest(),e.getSouth(),e.getEast(),e.getNorth())},toSuperMapPoint:function(e){return Cn(e)?new P(e[0],e[1]):e.lng&&e.lat?new P(e.lng,e.lat):new P(e.geometry.coordinates[0],e.geometry.coordinates[1])},toSuperMapPolygon:function(e){var t=e.getWest(),n=e.getEast(),r=e.getSouth(),e=e.getNorth();return new Ye([new Ne([new P(t,r),new P(n,r),new P(n,e),new P(t,e)])])},isArray:Cn,toGeoJSON:function(e){if(e)return(new En).toGeoJSON(e)},toProcessingParam:function(e){var t={};if(e.length<1)t="";else{for(var n=[],r=0;r<e.length;r++){var i={};i.x=e[r][0],i.y=e[r][1],n.push(i)}t.type="REGION",t.points=n}return t},extend:function(e){for(var t=0;t<Object.getOwnPropertyNames(arguments).length;t++){var n=Object.getOwnPropertyNames(arguments)[t];if("caller"!=n&&"callee"!=n&&"length"!=n&&"arguments"!=n){var r=arguments[n];if(r)for(var i=0;i<Object.getOwnPropertyNames(r).length;i++){var o=Object.getOwnPropertyNames(r)[i];"caller"!=n&&"callee"!=n&&"length"!=n&&"arguments"!=n&&(e[o]=r[o])}}}return e},isNumber:function(e){return""!==e&&(0===(e=Number(e))||!isNaN(e))},isString:On,newGuid:function(e){for(var t=e||32,n="",r=1;r<t;r++)n+=Math.floor(16*Math.random()).toString(16);return n},hexToRgba:function(e,t){var n=[],r=[];if(3==(e=e.replace(/#/,"")).length){for(var i=[],o=0;o<3;o++)i.push(e.charAt(o)+e.charAt(o));e=i.join("")}for(var a=0;a<6;a+=2)n[a]="0x"+e.substr(a,2),r.push(parseInt(Number(n[a])));return r.push(t),"rgba("+r.join(",")+")"},isMatchAdministrativeName:function(e,t){var n;return!!On(t)&&("张家"===(n=e.substr(0,2))&&(n=e.substr(0,3)),!!t.match(new RegExp(n)))}};function Mn(e){return(Mn="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})(e)}function Pn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kn(){return(kn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=In(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Tn(e,t){return(Tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function In(e){return(In=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ln=function(){var e=o,t=J;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tn(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=In(n),t=(e=r?(e=In(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Mn(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t,n){var r;if(this instanceof o)return(r=i.call(this,e,t,n)).x=parseFloat(e),r.y=parseFloat(t),r.text=n.toString(),r.bsInfo={h:null,w:null},r.element=document.createElement("span"),r.CLASS_NAME="SuperMap.Geometry.GeoText",r.geometryType="GeoText",r;throw new TypeError("Cannot call a class as a function")}return Pn((e=o).prototype,[{key:"destroy",value:function(){kn(In(o.prototype),"destroy",this).call(this),this.x=null,this.y=null,this.text=null}},{key:"getCentroid",value:function(){return new P(this.x,this.y)}},{key:"clone",value:function(e){return null==e&&(e=new o(this.x,this.y,this.text)),D.applyDefaults(e,this),e}},{key:"calculateBounds",value:function(){this.bounds=new S(this.x,this.y,this.x,this.y)}},{key:"getLabelPxBoundsByLabel",value:function(e,t,n,r){var i,o,a=D.cloneObject(e),e=(r.label||this.text).split("\n").length;if(t=parseFloat(t),n=parseFloat(n),1<e&&(n=parseFloat(n)*e),r.labelAlign&&"cm"!==r.labelAlign)switch(r.labelAlign){case"lt":a.x+=t/2,a.y+=n/2;break;case"lm":a.x+=t/2;break;case"lb":a.x+=t/2,a.y-=n/2;break;case"ct":a.y+=n/2;break;case"cb":a.y-=n/2;break;case"rt":a.x-=t/2,a.y+=n/2;break;case"rm":a.x-=t/2;break;case"rb":a.x-=t/2,a.y-=n/2}return this.bsInfo.h=n,this.bsInfo.w=t,e=a.x-parseFloat(t)/2,r=a.y+parseFloat(n)/2,o=a.x+parseFloat(t)/2,i=a.y-parseFloat(n)/2,new S(e,r,o,i)}},{key:"getLabelPxBoundsByText",value:function(e,t){var n,r,i=this.getLabelPxSize(t),o=D.cloneObject(e);if(t.labelAlign&&"cm"!==t.labelAlign)switch(t.labelAlign){case"lt":o.x+=i.w/2,o.y+=i.h/2;break;case"lm":o.x+=i.w/2;break;case"lb":o.x+=i.w/2,o.y-=i.h/2;break;case"ct":o.y+=i.h/2;break;case"cb":o.y-=i.h/2;break;case"rt":o.x-=i.w/2,o.y+=i.h/2;break;case"rm":o.x-=i.w/2;break;case"rb":o.x-=i.w/2,o.y-=i.h/2}return this.bsInfo.h=i.h,this.bsInfo.w=i.w,e=o.x-i.w/2,n=o.y+i.h/2,t=t.fontStyle&&"italic"===t.fontStyle?o.x+i.w/2+parseInt(parseFloat(t.fontSize)/2):o.x+i.w/2,r=o.y-i.h/2,new S(e,n,t,r)}},{key:"getLabelPxSize",value:function(e){var t=parseFloat(e.strokeWidth),n=e.label||this.text,r=e.fontSize?parseFloat(e.fontSize):parseFloat("12px"),i=n.split("\n"),o=i.length,n=1<o?r*o+o+t+.2*r:r+t+.2*r+1,a=0;this.labelWTmp&&a<this.labelWTmp&&(a=this.labelWTmp);for(var s=0;s<o;s++){var l=this.getTextCount(i[s]),l=this.labelWTmp=D.getTextBounds(e,i[s],this.element).textWidth+ +l.textC+t;a<l&&(a=l)}r=new Object;return r.h=n,r.w=a,r}},{key:"getTextCount",value:function(e){for(var t={},n=0,r=0,i=0;i<e.length;i++)255<e.charCodeAt(i)?n++:r++;return t.cnC=n,t.enC=r,t.textC=e.length,t}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function jn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}jn((e=Bn).prototype,[{key:"destroy",value:function(){this.data=null,this.id=null,this.lonlat=null,this.location=null,this.shapes=null,this.layer=null}},{key:"getLocalXY",value:function(e){var t=this.layer.map.getResolution(),n=this.layer.map.getExtent();return e instanceof P||e instanceof Ln?[e.x/t+-n.left/t,n.top/t-e.y/t]:e instanceof re?[e.lon/t+-n.left/t,n.top/t-e.lat/t]:null}}]),Object.defineProperty(e,"prototype",{writable:!1});var Dn=Bn;function Bn(e,t){if(!(this instanceof Bn))throw new TypeError("Cannot call a class as a function");e&&t&&t.map&&t.renderer&&(this.id=D.createUniqueID(this.CLASS_NAME+"_"),this.lonlat=null,this.location=[],this.data=e,this.shapes=[],this.layer=t,this.CLASS_NAME="SuperMap.Feature.Theme")}function Rn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Rn((n=zn).prototype,[{key:"toFeature",value:function(){var e=x.toSuperMapGeometry(this.geometry),t=[];return this.geometry instanceof u().LngLat?t=[this.geometry.lng,this.geometry.lat]:this.geometry instanceof u().Point?t=[this.geometry.x,this.geometry.y]:3===this.geometry.length&&(e=new Ln(this.geometry[0],this.geometry[1],this.geometry[2])),1<t.length&&(e=new P(t[0],t[1])),new et(e,this.attributes)}}]),Object.defineProperty(n,"prototype",{writable:!1});var Nn=zn;function zn(e,t){if(!(this instanceof zn))throw new TypeError("Cannot call a class as a function");this.geometry=e,this.attributes=t}function Fn(e){return(Fn="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})(e)}function Vn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Vn((i=Yn).prototype,[{key:"clone",value:function(e){var t=this.BUILTIN_OBJECT;if("object"!=Fn(e)||null===e)return e;var n=e;if(e instanceof Array)for(var n=[],r=0,i=e.length;r<i;r++)n[r]=this.clone(e[r]);else if(!t[Object.prototype.toString.call(e)])for(var o in n={},e)e.hasOwnProperty(o)&&(n[o]=this.clone(e[o]));return n}},{key:"mergeItem",value:function(e,t,n,r){var i=this.BUILTIN_OBJECT;t.hasOwnProperty(n)&&("object"!=Fn(e[n])||i[Object.prototype.toString.call(e[n])]?!r&&n in e||(e[n]=t[n]):this.merge(e[n],t[n],r))}},{key:"merge",value:function(e,t,n){for(var r in t)this.mergeItem(e,t,r,n);return e}},{key:"getContext",value:function(){return this._ctx||(this._ctx=document.createElement("canvas").getContext("2d")),this._ctx}},{key:"getPixelContext",value:function(){return this._pixelCtx||(this._canvas=document.createElement("canvas"),this._width=this._canvas.width,this._height=this._canvas.height,this._pixelCtx=this._canvas.getContext("2d")),this._pixelCtx}},{key:"adjustCanvasSize",value:function(e,t){var n,r=this._canvas,i=this._pixelCtx,o=this._width,a=this._height,s=this._offsetX,l=this._offsetY;o<e+s&&(r.width=o=e+s+100,n=!0),a<t+l&&(r.height=a=t+l+100,n=!0),e<-s&&(o+=s=100*Math.ceil(-e/100),r.width=o,n=!0),t<-l&&(a+=l=100*Math.ceil(-t/100),r.height=a,n=!0),n&&i.translate(s,l)}},{key:"getPixelOffset",value:function(){return{x:this._offsetX,y:this._offsetY}}},{key:"indexOf",value:function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}},{key:"inherits",value:function(e,t){var n,r=e.prototype;function i(){}for(n in i.prototype=t.prototype,e.prototype=new i,r)e.prototype[n]=r[n];e.constructor=e}}]),Object.defineProperty(i,"prototype",{writable:!1});var Hn=Yn;function Yn(){if(!(this instanceof Yn))throw new TypeError("Cannot call a class as a function");this.BUILTIN_OBJECT={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1},this._ctx=null,this._canvas=null,this._pixelCtx=null,this._width=null,this._height=null,this._offsetX=0,this._offsetY=0,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Util"}function Gn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Gn((e=Qn).prototype,[{key:"destroy",value:function(){this._handlers=null}},{key:"one",value:function(e,t,n){var r=this._handlers;return t&&e&&(r[e]||(r[e]=[]),r[e].push({h:t,one:!0,ctx:n||this})),this}},{key:"bind",value:function(e,t,n){var r=this._handlers;return t&&e&&(r[e]||(r[e]=[]),r[e].push({h:t,one:!1,ctx:n||this})),this}},{key:"unbind",value:function(e,t){var n=this._handlers;if(e)if(t){if(n[e]){for(var r=[],i=0,o=n[e].length;i<o;i++)n[e][i].h!=t&&r.push(n[e][i]);n[e]=r}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];else this._handlers={};return this}},{key:"dispatch",value:function(e){if(this._handlers[e]){var t=arguments,n=t.length;3<n&&(t=Array.prototype.slice.call(t,1));for(var r=this._handlers[e],i=r.length,o=0;o<i;){switch(n){case 1:r[o].h.call(r[o].ctx);break;case 2:r[o].h.call(r[o].ctx,t[1]);break;case 3:r[o].h.call(r[o].ctx,t[1],t[2]);break;default:r[o].h.apply(r[o].ctx,t)}r[o].one?(r.splice(o,1),i--):o++}}return this}},{key:"dispatchWithContext",value:function(e){if(this._handlers[e])for(var t=arguments,n=t.length,r=(t=4<n?Array.prototype.slice.call(t,1,t.length-1):t)[t.length-1],i=this._handlers[e],o=i.length,a=0;a<o;){switch(n){case 1:i[a].h.call(r);break;case 2:i[a].h.call(r,t[1]);break;case 3:i[a].h.call(r,t[1],t[2]);break;default:i[a].h.apply(r,t)}i[a].one?(i.splice(a,1),o--):a++}return this}}]),Object.defineProperty(e,"prototype",{writable:!1});var Un=Qn;function Qn(){if(!(this instanceof Qn))throw new TypeError("Cannot call a class as a function");this._handlers={},this.CLASS_NAME="SuperMap.LevelRenderer.Eventful"}function Wn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Wn((n=Kn).prototype,[{key:"create",value:function(e,t){var n=new this.ArrayCtor(2);return n[0]=e||0,n[1]=t||0,n}},{key:"copy",value:function(e,t){return e[0]=t[0],e[1]=t[1],e}},{key:"set",value:function(e,t,n){return e[0]=t,e[1]=n,e}},{key:"add",value:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}},{key:"scaleAndAdd",value:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}},{key:"sub",value:function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}},{key:"len",value:function(e){return Math.sqrt(this.lenSquare(e))}},{key:"lenSquare",value:function(e){return e[0]*e[0]+e[1]*e[1]}},{key:"mul",value:function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}},{key:"div",value:function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}},{key:"dot",value:function(e,t){return e[0]*t[0]+e[1]*t[1]}},{key:"scale",value:function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}},{key:"normalize",value:function(e,t){var n=this.len(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}},{key:"distance",value:function(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}},{key:"distanceSquare",value:function(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}},{key:"negate",value:function(e,t){return e[0]=-t[0],e[1]=-t[1],e}},{key:"lerp",value:function(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}},{key:"applyTransform",value:function(e,t,n){var r=t[0],t=t[1];return e[0]=n[0]*r+n[2]*t+n[4],e[1]=n[1]*r+n[3]*t+n[5],e}},{key:"min",value:function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}},{key:"max",value:function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}},{key:"length",value:function(e){return this.len(e)}},{key:"lengthSquare",value:function(e){return this.lenSquare(e)}},{key:"dist",value:function(e,t){return this.distance(e,t)}},{key:"distSquare",value:function(e,t){return this.distanceSquare(e,t)}}]),Object.defineProperty(n,"prototype",{writable:!1});var qn=Kn;function Kn(){if(!(this instanceof Kn))throw new TypeError("Cannot call a class as a function");this.ArrayCtor="undefined"==typeof Float32Array?Array:Float32Array,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Vector"}function Xn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Xn((i=$n).prototype,[{key:"isAroundZero",value:function(e){return e>-this.EPSILON&&e<this.EPSILON}},{key:"isNotAroundZero",value:function(e){return e>this.EPSILON||e<-this.EPSILON}},{key:"cubicAt",value:function(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}},{key:"cubicDerivativeAt",value:function(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}},{key:"cubicRootAt",value:function(e,t,n,r,i,o){var a,r=r+3*(t-n)-e,n=3*(n-2*t+e),t=3*(t-e),e=e-i,i=n*n-3*r*t,s=n*t-9*r*e,e=t*t-3*n*e,l=0;return this.isAroundZero(i)&&this.isAroundZero(s)?this.isAroundZero(n)?o[0]=0:0<=(t=-t/n)&&t<=1&&(o[l++]=t):this.isAroundZero(t=s*s-4*i*e)?(a=-(e=s/i)/2,0<=(e=-n/r+e)&&e<=1&&(o[l++]=e),0<=a&&a<=1&&(o[l++]=a)):0<t?(a=i*n+1.5*r*(-s-(e=Math.sqrt(t))),0<=(e=(-n-((t=(t=i*n+1.5*r*(-s+e))<0?-Math.pow(-t,this.ONE_THIRD):Math.pow(t,this.ONE_THIRD))+(a=a<0?-Math.pow(-a,this.ONE_THIRD):Math.pow(a,this.ONE_THIRD))))/(3*r))&&e<=1&&(o[l++]=e)):(t=(2*i*n-3*r*s)/(2*Math.sqrt(i*i*i)),a=Math.acos(t)/3,t=(-n-2*(e=Math.sqrt(i))*(s=Math.cos(a)))/(3*r),i=(-n+e*(s+this.THREE_SQRT*Math.sin(a)))/(3*r),n=(-n+e*(s-this.THREE_SQRT*Math.sin(a)))/(3*r),0<=t&&t<=1&&(o[l++]=t),0<=i&&i<=1&&(o[l++]=i),0<=n&&n<=1&&(o[l++]=n)),l}},{key:"cubicExtrema",value:function(e,t,n,r,i){var o=6*n-12*t+6*e,r=9*t+3*r-3*e-9*n,n=3*t-3*e,t=0;return this.isAroundZero(r)?this.isNotAroundZero(o)&&0<=(e=-n/o)&&e<=1&&(i[t++]=e):this.isAroundZero(e=o*o-4*r*n)?i[0]=-o/(2*r):0<e&&(e=(-o-(n=Math.sqrt(e)))/(2*r),0<=(o=(-o+n)/(2*r))&&o<=1&&(i[t++]=o),0<=e)&&e<=1&&(i[t++]=e),t}},{key:"cubicSubdivide",value:function(e,t,n,r,i,o){var a=(t-e)*i+e,t=(n-t)*i+t,n=(r-n)*i+n,s=(t-a)*i+a,t=(n-t)*i+t,i=(t-s)*i+s;o[0]=e,o[1]=a,o[2]=s,o[3]=i,o[4]=i,o[5]=t,o[6]=n,o[7]=r}},{key:"cubicProjectPoint",value:function(e,t,n,r,i,o,a,s,l,u,c){var f,h=this.vector.create(),d=this.vector.create(),p=this.vector.create(),y=.005,m=1/0;h[0]=l,h[1]=u;for(var g=0;g<1;g+=.05){d[0]=this.cubicAt(e,n,i,a,g),d[1]=this.cubicAt(t,r,o,s,g);var v=this.vector.distSquare(h,d);v<m&&(f=g,m=v)}for(var m=1/0,b=0;b<32&&!(y<this.EPSILON);b++){var _=f-y,x=f+y,w=(d[0]=this.cubicAt(e,n,i,a,_),d[1]=this.cubicAt(t,r,o,s,_),this.vector.distSquare(d,h));0<=_&&w<m?(f=_,m=w):(p[0]=this.cubicAt(e,n,i,a,x),p[1]=this.cubicAt(t,r,o,s,x),_=this.vector.distSquare(p,h),x<=1&&_<m?(f=x,m=_):y*=.5)}return c&&(c[0]=this.cubicAt(e,n,i,a,f),c[1]=this.cubicAt(t,r,o,s,f)),Math.sqrt(m)}},{key:"quadraticAt",value:function(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}},{key:"quadraticDerivativeAt",value:function(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}},{key:"quadraticRootAt",value:function(e,t,n,r,i){var o,n=e-2*t+n,t=2*(t-e),e=e-r,r=0;return this.isAroundZero(n)?this.isNotAroundZero(t)&&0<=(o=-e/t)&&o<=1&&(i[r++]=o):this.isAroundZero(o=t*t-4*n*e)?0<=(e=-t/(2*n))&&e<=1&&(i[r++]=e):0<o&&(o=(-t-(e=Math.sqrt(o)))/(2*n),0<=(t=(-t+e)/(2*n))&&t<=1&&(i[r++]=t),0<=o)&&o<=1&&(i[r++]=o),r}},{key:"quadraticExtremum",value:function(e,t,n){n=e+n-2*t;return 0==n?.5:(e-t)/n}},{key:"quadraticProjectPoint",value:function(e,t,n,r,i,o,a,s,l){var u,c=this.vector.create(),f=this.vector.create(),h=this.vector.create(),d=.005,p=1/0;c[0]=a,c[1]=s;for(var y=0;y<1;y+=.05){f[0]=this.quadraticAt(e,n,i,y),f[1]=this.quadraticAt(t,r,o,y);var m=this.vector.distSquare(c,f);m<p&&(u=y,p=m)}for(var p=1/0,g=0;g<32&&!(d<this.EPSILON);g++){var v=u-d,b=u+d,_=(f[0]=this.quadraticAt(e,n,i,v),f[1]=this.quadraticAt(t,r,o,v),this.vector.distSquare(f,c));0<=v&&_<p?(u=v,p=_):(h[0]=this.quadraticAt(e,n,i,b),h[1]=this.quadraticAt(t,r,o,b),v=this.vector.distSquare(h,c),b<=1&&v<p?(u=b,p=v):d*=.5)}return l&&(l[0]=this.quadraticAt(e,n,i,u),l[1]=this.quadraticAt(t,r,o,u)),Math.sqrt(p)}}]),Object.defineProperty(i,"prototype",{writable:!1});var Jn=$n;function $n(){if(!(this instanceof $n))throw new TypeError("Cannot call a class as a function");this.vector=new qn,this.EPSILON=1e-4,this.THREE_SQRT=Math.sqrt(3),this.ONE_THIRD=1/3,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Curve"}function Zn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Zn((e=er).prototype,[{key:"normalizeRadian",value:function(e){return(e%=this.PI2)<0&&(e+=this.PI2),e}},{key:"isInside",value:function(e,t,n,r){if(!t||!e)return!1;var i=e.type,o=(this._ctx=this._ctx||this.util.getContext(),this._mathMethod(e,t,n,r));if(void 0!==o)return o;if(e.buildPath&&this._ctx.isPointInPath)return this._buildPathMethod(e,this._ctx,t,n,r);switch(i){case"ellipse":case"smicellipse":return!0;case"trochoid":var a="out"==t.location?t.r1+t.r2+t.d:t.r1-t.r2+t.d;return this.isInsideCircle(t,n,r,a);case"rose":return this.isInsideCircle(t,n,r,t.maxr);default:return!1}}},{key:"_mathMethod",value:function(e,t,n,r){switch(e.type){case"bezier-curve":return void 0===t.cpX2?this.isInsideQuadraticStroke(t.xStart,t.yStart,t.cpX1,t.cpY1,t.xEnd,t.yEnd,t.lineWidth,n,r):this.isInsideCubicStroke(t.xStart,t.yStart,t.cpX1,t.cpY1,t.cpX2,t.cpY2,t.xEnd,t.yEnd,t.lineWidth,n,r);case"line":return this.isInsideLine(t.xStart,t.yStart,t.xEnd,t.yEnd,t.lineWidth,n,r);case"broken-line":return this.isInsideBrokenLine(t.pointList,t.lineWidth,n,r);case"smicbroken-line":var i=n,o=r;return e.refOriginalPosition&&(i=n-e.refOriginalPosition[0],o=r-e.refOriginalPosition[1]),this.isInsideBrokenLine(t.pointList,t.lineWidth,i,o);case"ring":return this.isInsideRing(t.x,t.y,t.r0,t.r,n,r);case"smicring":i=t.x,o=t.y;return e.refOriginalPosition&&(i=t.x+e.refOriginalPosition[0],o=t.y+e.refOriginalPosition[1]),this.isInsideRing(i,o,t.r0,t.r,n,r);case"circle":return this.isInsideCircle(t.x,t.y,t.r,n,r);case"smicpoint":i=n,o=r;return e.refOriginalPosition&&(i=n-e.refOriginalPosition[0],o=r-e.refOriginalPosition[1]),this.isInsideCircle(t.x,t.y,t.r,i,o);case"sector":i=t.startAngle*Math.PI/180,o=t.endAngle*Math.PI/180;return t.clockWise||(i=-i,o=-o),this.isInsideSector(t.x,t.y,t.r0,t.r,i,o,!t.clockWise,n,r);case"smicsector":var i=t.startAngle*Math.PI/180,o=t.endAngle*Math.PI/180,a=(t.clockWise||(i=-i,o=-o),t.x),s=t.y;return e.refOriginalPosition&&(a=t.x+e.refOriginalPosition[0],s=t.y+e.refOriginalPosition[1]),this.isInsideSector(a,s,t.r0,t.r,i,o,!t.clockWise,n,r);case"path":return this.isInsidePath(t.pathArray,Math.max(t.lineWidth,5),t.brushType,n,r);case"polygon":case"star":case"smicstar":case"isogon":case"smicisogon":return this.isInsidePolygon(t.pointList,n,r);case"smicpolygon":var l=n,u=r;if(e.refOriginalPosition&&(l=n-e.refOriginalPosition[0],u=r-e.refOriginalPosition[1]),e.holePolygonPointLists&&0<e.holePolygonPointLists.length){for(var a=this.isInsidePolygon(t.pointList,l,u),c=e.holePolygonPointLists,f=!1,h=0,d=c.length;h<d;h++){var p=c[h];!0===this.isInsidePolygon(p,l,u)&&(f=!0)}return!0===a&&!1===f}return this.isInsidePolygon(t.pointList,l,u);case"text":s=t.__rect||e.getRect(t);return this.isInsideRect(s.x,s.y,s.width,s.height,n,r);case"smictext":i=e.getTextBackground(t);return this.isInsidePolygon(i,n,r);case"rectangle":case"image":return this.isInsideRect(t.x,t.y,t.width,t.height,n,r);case"smicimage":o=t.x,a=t.y;return e.refOriginalPosition&&(o=t.x+e.refOriginalPosition[0],a=t.y+e.refOriginalPosition[1]),this.isInsideRect(o,a,t.width,t.height,n,r)}}},{key:"_buildPathMethod",value:function(e,t,n,r,i){return t.beginPath(),e.buildPath(t,n),t.closePath(),t.isPointInPath(r,i)}},{key:"isOutside",value:function(e,t,n,r){return!this.isInside(e,t,n,r)}},{key:"isInsideLine",value:function(e,t,n,r,i,o,a){var s;return 0!==i&&(s=0,!(t+(i=Math.max(i,5))<a&&r+i<a||a<t-i&&a<r-i||e+i<o&&n+i<o||o<e-i&&o<n-i))&&(e===n?Math.abs(o-e)<=i/2:(o=(s=(t-r)/(e-n))*o-a+(e*r-n*t)/(e-n))*o/(s*s+1)<=i/2*i/2)}},{key:"isInsideCubicStroke",value:function(e,t,n,r,i,o,a,s,l,u,c){return 0!==l&&!(t+(l=Math.max(l,5))<c&&r+l<c&&o+l<c&&s+l<c||c<t-l&&c<r-l&&c<o-l&&c<s-l||e+l<u&&n+l<u&&i+l<u&&a+l<u||u<e-l&&u<n-l&&u<i-l&&u<a-l)&&this.curve.cubicProjectPoint(e,t,n,r,i,o,a,s,u,c,null)<=l/2}},{key:"isInsideQuadraticStroke",value:function(e,t,n,r,i,o,a,s,l){return 0!==a&&!(t+(a=Math.max(a,5))<l&&r+a<l&&o+a<l||l<t-a&&l<r-a&&l<o-a||e+a<s&&n+a<s&&i+a<s||s<e-a&&s<n-a&&s<i-a)&&this.curve.quadraticProjectPoint(e,t,n,r,i,o,s,l,null)<=a/2}},{key:"isInsideArcStroke",value:function(e,t,n,r,i,o,a,s,l){var u=this.PI2;if(0===a)return!1;a=Math.max(a,5),s-=e,l-=t,e=Math.sqrt(s*s+l*l);if(n<e-a||e+a<n)return!1;if(Math.abs(r-i)>=u)return!0;(i=o?(t=r,r=this.normalizeRadian(i),this.normalizeRadian(t)):(r=this.normalizeRadian(r),this.normalizeRadian(i)))<r&&(i+=u);e=Math.atan2(l,s);return e<0&&(e+=u),r<=e&&e<=i||r<=e+u&&e+u<=i}},{key:"isInsideBrokenLine",value:function(e,t,n,r){for(var i=Math.max(t,10),o=0,a=e.length-1;o<a;o++){var s=e[o][0],l=e[o][1],u=e[o+1][0],c=e[o+1][1];if(this.isInsideLine(s,l,u,c,i,n,r))return!0}return!1}},{key:"isInsideRing",value:function(e,t,n,r,i,o){i=(i-e)*(i-e)+(o-t)*(o-t);return i<r*r&&n*n<i}},{key:"isInsideRect",value:function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r}},{key:"isInsideCircle",value:function(e,t,n,r,i){return(r-e)*(r-e)+(i-t)*(i-t)<n*n}},{key:"isInsideSector",value:function(e,t,n,r,i,o,a,s,l){return this.isInsideArcStroke(e,t,(n+r)/2,i,o,a,r-n,s,l)}},{key:"isInsidePolygon",value:function(e,t,n){for(var r=e.length,i=0,o=0,a=r-1;o<r;o++){var s=e[a][0],l=e[a][1],u=e[o][0],c=e[o][1];i+=this.windingLine(s,l,u,c,t,n),a=o}return 0!==i}},{key:"windingLine",value:function(e,t,n,r,i,o){return!(t<o&&r<o||o<t&&o<r)&&r!=t&&i<(o-t)/(r-t)*(n-e)+e?r<t?1:-1:0}},{key:"swapExtrema",value:function(){var e=this.extrema[0];this.extrema[0]=this.extrema[1],this.extrema[1]=e}},{key:"windingCubic",value:function(e,t,n,r,i,o,a,s,l,u){var c=this.curve,f=this.roots,h=this.extrema;if(t<u&&r<u&&o<u&&s<u||u<t&&u<r&&u<o&&u<s)return 0;var d=c.cubicRootAt(t,r,o,s,u,f);if(0===d)return 0;for(var p,y,m=0,g=-1,v=0;v<d;v++){var b=f[v];c.cubicAt(e,n,i,a,b)<l||(g<0&&(g=c.cubicExtrema(t,r,o,s,h),h[1]<h[0]&&1<g&&this.swapExtrema(),p=c.cubicAt(t,r,o,s,h[0]),1<g)&&(y=c.cubicAt(t,r,o,s,h[1])),2==g?b<h[0]?m+=p<t?1:-1:b<h[1]?m+=y<p?1:-1:m+=s<y?1:-1:b<h[0]?m+=p<t?1:-1:m+=s<p?1:-1)}return m}},{key:"windingQuadratic",value:function(e,t,n,r,i,o,a,s){var l=this.curve,u=this.roots;if(t<s&&r<s&&o<s||s<t&&s<r&&s<o)return 0;var c=l.quadraticRootAt(t,r,o,s,u);if(0===c)return 0;var f=l.quadraticExtremum(t,r,o);if(0<=f&&f<=1){for(var h=0,d=l.quadraticAt(t,r,o,f),p=0;p<c;p++)l.quadraticAt(e,n,i,u[p])>a||(u[p]<f?h+=d<t?1:-1:h+=o<d?1:-1);return h}return l.quadraticAt(e,n,i,u[0])>a?0:o<t?1:-1}},{key:"windingArc",value:function(e,t,n,r,i,o,a,s){var l=this.roots,u=this.PI2;if((s-=t)>n||s<-n)return 0;t=Math.sqrt(n*n-s*s);if(l[0]=-t,l[1]=t,Math.abs(r-i)>=u)return i=u,a>=l[r=0]+e&&a<=l[1]+e?o?1:-1:0;(i=o?(n=r,r=this.normalizeRadian(i),this.normalizeRadian(n)):(r=this.normalizeRadian(r),this.normalizeRadian(i)))<r&&(i+=u);for(var c=0,f=0;f<2;f++){var h,d=l[f];a<d+e&&(h=o?1:-1,r<=(d=(d=Math.atan2(s,d))<0?u+d:d)&&d<=i||r<=d+u&&d+u<=i)&&(c+=h=d>Math.PI/2&&d<1.5*Math.PI?-h:h)}return c}},{key:"isInsidePath",value:function(e,t,n,r,i){for(var o=0,a=0,s=0,l=0,u=0,c=!0,f=!0,h="stroke"===(n=n||"fill")||"both"===n,d="fill"===n||"both"===n,p=0;p<e.length;p++){var y=e[p],m=y.points;if(c||"M"===y.command){if(0<p&&(d&&(o+=this.windingLine(a,s,l,u,r,i)),0!==o))return!0;l=m[m.length-2],u=m[m.length-1],c=!1,f&&"A"!==y.command&&(f=!1,a=l,s=u)}switch(y.command){case"M":a=m[0],s=m[1];break;case"L":if(h&&this.isInsideLine(a,s,m[0],m[1],t,r,i))return!0;d&&(o+=this.windingLine(a,s,m[0],m[1],r,i)),a=m[0],s=m[1];break;case"C":if(h&&this.isInsideCubicStroke(a,s,m[0],m[1],m[2],m[3],m[4],m[5],t,r,i))return!0;d&&(o+=this.windingCubic(a,s,m[0],m[1],m[2],m[3],m[4],m[5],r,i)),a=m[4],s=m[5];break;case"Q":if(h&&this.isInsideQuadraticStroke(a,s,m[0],m[1],m[2],m[3],t,r,i))return!0;d&&(o+=this.windingQuadratic(a,s,m[0],m[1],m[2],m[3],r,i)),a=m[2],s=m[3];break;case"A":var g=m[0],v=m[1],b=m[2],_=m[3],x=m[4],w=m[5],A=Math.cos(x)*b+g,S=Math.sin(x)*_+v,A=(f?(f=!1,l=A,u=S):o+=this.windingLine(a,s,A,S),(r-g)*_/b+g);if(h&&this.isInsideArcStroke(g,v,_,x,x+w,1-m[7],t,A,i))return!0;d&&(o+=this.windingArc(g,v,_,x,x+w,1-m[7],A,i)),a=Math.cos(x+w)*b+g,s=Math.sin(x+w)*_+v;break;case"z":if(h&&this.isInsideLine(a,s,l,u,t,r,i))return!0;c=!0}}return d&&(o+=this.windingLine(a,s,l,u,r,i)),0!==o}},{key:"getTextWidth",value:function(e,t){var n=e+":"+t;if(this._textWidthCache[n])return this._textWidthCache[n];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t);for(var r=0,i=0,o=(e=(e+"").split("\n")).length;i<o;i++)r=Math.max(this._ctx.measureText(e[i]).width,r);return this._ctx.restore(),this._textWidthCache[n]=r,++this._textWidthCacheCounter>this.TEXT_CACHE_MAX&&(this._textWidthCacheCounter=0,this._textWidthCache={}),r}},{key:"getTextHeight",value:function(e,t){var n=e+":"+t;if(this._textHeightCache[n])return this._textHeightCache[n];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t),e=(e+"").split("\n");t=(this._ctx.measureText("ZH").width+2)*e.length;return this._ctx.restore(),this._textHeightCache[n]=t,++this._textHeightCacheCounter>this.TEXT_CACHE_MAX&&(this._textHeightCacheCounter=0,this._textHeightCache={}),t}}]),Object.defineProperty(e,"prototype",{writable:!1});var n=er;function er(){if(!(this instanceof er))throw new TypeError("Cannot call a class as a function");this.util=new Hn,this.curve=new Jn,this._ctx=null,this._textWidthCache={},this._textHeightCache={},this._textWidthCacheCounter=0,this._textHeightCacheCounter=0,this.TEXT_CACHE_MAX=5e3,this.PI2=2*Math.PI,this.roots=[-1,-1,-1],this.extrema=[-1,-1],this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Area"}function tr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}tr((i=rr).prototype,[{key:"customPalette",value:function(e){this.palette=e}},{key:"resetPalette",value:function(){this.palette=this._palette}},{key:"getColor",value:function(e,t){return(t=t||this.palette)[(e|=0)%t.length]}},{key:"customHighlight",value:function(e){this.highlightColor=e}},{key:"resetHighlight",value:function(){this.highlightColor=this._highlightColor}},{key:"getHighlightColor",value:function(){return this.highlightColor}},{key:"getRadialGradient",value:function(e,t,n,r,i,o,a){var s=this.util;this._ctx||(this._ctx=s.getContext());for(var l=this._ctx.createRadialGradient(e,t,n,r,i,o),u=0,c=a.length;u<c;u++)l.addColorStop(a[u][0],a[u][1]);return l.__nonRecursion=!0,l}},{key:"getLinearGradient",value:function(e,t,n,r,i){var o=this.util;this._ctx||(this._ctx=o.getContext());for(var a=this._ctx.createLinearGradient(e,t,n,r),s=0,l=i.length;s<l;s++)a.addColorStop(i[s][0],i[s][1]);return a.__nonRecursion=!0,a}},{key:"getStepColors",value:function(e,t,n){e=this.toRGBA(e),t=this.toRGBA(t),e=this.getData(e);for(var r=[],i=((t=this.getData(t))[0]-e[0])/n,o=(t[1]-e[1])/n,a=(t[2]-e[2])/n,s=(t[3]-e[3])/n,l=0,u=e[0],c=e[1],f=e[2],h=e[3];l<n;l++)r[l]=this.toColor([this.adjust(Math.floor(u),[0,255]),this.adjust(Math.floor(c),[0,255]),this.adjust(Math.floor(f),[0,255]),+h.toFixed(4)],"rgba"),u+=i,c+=o,f+=a,h+=s;return u=t[0],c=t[1],f=t[2],h=t[3],r[l]=this.toColor([u,c,f,h],"rgba"),r}},{key:"getGradientColors",value:function(e,t){var n=[],r=e.length;if(void 0===t&&(t=20),1===r)n=this.getStepColors(e[0],e[0],t);else if(1<r)for(var i=0,o=r-1;i<o;i++){var a=this.getStepColors(e[i],e[i+1],t);i<o-1&&a.pop(),n=n.concat(a)}return n}},{key:"toColor",value:function(e,t){var n;if(t=t||"rgb",e&&(3===e.length||4===e.length))return e=this.map(e,function(e){return 1<e?Math.ceil(e):e}),-1<t.indexOf("hex")?"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1):(-1<t.indexOf("hs")&&(n=this.map(e.slice(1,3),function(e){return e+"%"}),e[1]=n[0],e[2]=n[1]),-1<t.indexOf("a")?(3===e.length&&e.push(1),e[3]=this.adjust(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")")}},{key:"toArray",value:function(e){(e=this.trim(e)).indexOf("rgba")<0&&(e=this.toRGBA(e));var t=[],n=0;return e.replace(/[\d.]+/g,function(e){n<3?e|=0:e=+e,t[n++]=e}),t}},{key:"convert",value:function(e,t){var n,r;return this.isCalculableColor(e)?(void 0===(r=(n=this.getData(e))[3])&&(r=1),-1<e.indexOf("hsb")?n=this._HSV_2_RGB(n):-1<e.indexOf("hsl")&&(n=this._HSL_2_RGB(n)),-1<t.indexOf("hsb")||-1<t.indexOf("hsv")?n=this._RGB_2_HSB(n):-1<t.indexOf("hsl")&&(n=this._RGB_2_HSL(n)),n[3]=r,this.toColor(n,t)):e}},{key:"toRGBA",value:function(e){return this.convert(e,"rgba")}},{key:"toRGB",value:function(e){return this.convert(e,"rgb")}},{key:"toHex",value:function(e){return this.convert(e,"hex")}},{key:"toHSVA",value:function(e){return this.convert(e,"hsva")}},{key:"toHSV",value:function(e){return this.convert(e,"hsv")}},{key:"toHSBA",value:function(e){return this.convert(e,"hsba")}},{key:"toHSB",value:function(e){return this.convert(e,"hsb")}},{key:"toHSLA",value:function(e){return this.convert(e,"hsla")}},{key:"toHSL",value:function(e){return this.convert(e,"hsl")}},{key:"toName",value:function(e){for(var t in this._nameColors)if(this.toHex(this._nameColors[t])===this.toHex(e))return t;return null}},{key:"trim",value:function(e){return String(e).replace(/\s+/g,"")}},{key:"normalize",value:function(e){var t;return this._nameColors[e]&&(e=this._nameColors[e]),e=(e=this.trim(e)).replace(/hsv/i,"hsb"),e=/^#[\da-f]{3}$/i.test(e)?"#"+((1<<24)+((t=(3840&(e=parseInt(e.slice(1),16)))<<8)<<4)+t+((t=(240&e)<<4)<<4)+t+((t=15&e)<<4)+t).toString(16).slice(1):e}},{key:"lift",value:function(e,t){if(!this.isCalculableColor(e))return e;var n=0<t?1:-1;void 0===t&&(t=0),t=1<Math.abs(t)?1:Math.abs(t),e=this.toRGB(e);for(var r=this.getData(e),i=0;i<3;i++)r[i]=1==n?r[i]*(1-t)|0:(255-r[i])*t+r[i]|0;return"rgb("+r.join(",")+")"}},{key:"reverse",value:function(e){var t;return this.isCalculableColor(e)?(t=this.getData(this.toRGBA(e)),t=this.map(t,function(e){return 255-e}),this.toColor(t,"rgb")):e}},{key:"mix",value:function(e,t,n){if(!this.isCalculableColor(e)||!this.isCalculableColor(t))return e;for(var r=2*(n=1-this.adjust(n=void 0===n?.5:n,[0,1]))-1,i=this.getData(this.toRGBA(e)),o=this.getData(this.toRGBA(t)),e=i[3]-o[3],a=(1+(r*e==-1?r:(r+e)/(1+r*e)))/2,s=1-a,l=[],u=0;u<3;u++)l[u]=i[u]*a+o[u]*s;t=i[3]*n+o[3]*(1-n),t=Math.max(0,Math.min(1,t));return 1===i[3]&&1===o[3]?this.toColor(l,"rgb"):(l[3]=t,this.toColor(l,"rgba"))}},{key:"random",value:function(){return"#"+Math.random().toString(16).slice(2,8)}},{key:"getData",value:function(e){e=(e=this.normalize(e)).match(this.colorRegExp);if(null===e)throw new Error("The color format error");var t,n,r,i,o=[];return e[2]?(r=[(r=e[2].replace("#","").split(""))[0]+r[1],r[2]+r[3],r[4]+r[5]],o=this.map(r,function(e){return rr.prototype.adjust.call(this,parseInt(e,16),[0,255])})):e[4]?(t=(n=e[4].split(","))[3],r=n.slice(0,3),o=this.map(r,function(e){return e=Math.floor(0<e.indexOf("%")?2.55*parseInt(e,0):e),rr.prototype.adjust.call(this,e,[0,255])}),void 0!==t&&o.push(this.adjust(parseFloat(t),[0,1]))):(e[5]||e[6])&&(n=(e[5]||e[6]).split(","),r=parseInt(n[0],0)/360,e=n[1],i=n[2],t=n[3],(o=this.map([e,i],function(e){return rr.prototype.adjust.call(this,parseFloat(e)/100,[0,1])})).unshift(r),void 0!==t)&&o.push(this.adjust(parseFloat(t),[0,1])),o}},{key:"alpha",value:function(e,t){if(!this.isCalculableColor(e))return e;null===t&&(t=1);e=this.getData(this.toRGBA(e));return e[3]=this.adjust(Number(t).toFixed(4),[0,1]),this.toColor(e,"rgba")}},{key:"map",value:function(e,t){if("function"!=typeof t)throw new TypeError;for(var n=e?e.length:0,r=0;r<n;r++)e[r]=t(e[r]);return e}},{key:"adjust",value:function(e,t){return e<=t[0]?e=t[0]:e>=t[1]&&(e=t[1]),e}},{key:"isCalculableColor",value:function(e){return e instanceof Array||"string"==typeof e}},{key:"_HSV_2_RGB",value:function(e){var t,n,r,i,o,a,s,l=e[0],u=e[1],e=e[2];return s=0===u?a=o=255*e:(s=0|(l=6===(l=6*l)?0:l),t=e*(1-u),n=e*(1-u*(l-s)),u=e*(1-u*(1-(l-s))),i=(i=r=l=0)==s?(l=e,r=u,t):1==s?(l=n,r=e,t):2==s?(l=t,r=e,u):3==s?(l=t,r=n,e):4==s?(l=u,r=t,e):(l=e,r=t,n),o=255*l,a=255*r,255*i),[o,a,s]}},{key:"_HSL_2_RGB",value:function(e){var t,n,r=e[0],i=e[1],e=e[2];return e=0===i?n=t=255*e:(e=2*e-(i=e<.5?e*(1+i):e+i-i*e),t=255*this._HUE_2_RGB(e,i,r+1/3),n=255*this._HUE_2_RGB(e,i,r),255*this._HUE_2_RGB(e,i,r-1/3)),[t,n,e]}},{key:"_HUE_2_RGB",value:function(e,t,n){return n<0&&(n+=1),1<n&&--n,6*n<1?e+6*(t-e)*n:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}},{key:"_RGB_2_HSB",value:function(e){var t,n,r,i,o=e[0]/255,a=e[1]/255,e=e[2]/255,s=Math.min(o,a,e),l=Math.max(o,a,e),s=l-s,u=l;return 0==s?n=t=0:(n=s/l,r=((l-o)/6+s/2)/s,i=((l-a)/6+s/2)/s,s=((l-e)/6+s/2)/s,o===l?t=s-i:a===l?t=1/3+r-s:e===l&&(t=2/3+i-r),t<0&&(t+=1),1<t&&--t),[t*=360,n*=100,u*=100]}},{key:"_RGB_2_HSL",value:function(e){var t,n,r,i=e[0]/255,o=e[1]/255,e=e[2]/255,a=Math.min(i,o,e),s=Math.max(i,o,e),l=s-a,u=(s+a)/2;return 0==l?n=t=0:(n=u<.5?l/(s+a):l/(2-s-a),a=((s-i)/6+l/2)/l,r=((s-o)/6+l/2)/l,l=((s-e)/6+l/2)/l,i===s?t=l-r:o===s?t=1/3+a-l:e===s&&(t=2/3+r-a),t<0&&(t+=1),1<t&&--t),[t*=360,n*=100,u*=100]}}]),Object.defineProperty(i,"prototype",{writable:!1});var nr=rr;function rr(){if(!(this instanceof rr))throw new TypeError("Cannot call a class as a function");this.util=new Hn,this._ctx=null,this.palette=["#ff9277"," #dddd00"," #ffc877"," #bbe3ff"," #d5ffbb","#bbbbff"," #ddb000"," #b0dd00"," #e2bbff"," #ffbbe3","#ff7777"," #ff9900"," #83dd00"," #77e3ff"," #778fff","#c877ff"," #ff77ab"," #ff6600"," #aa8800"," #77c7ff","#ad77ff"," #ff77ff"," #dd0083"," #777700"," #00aa00","#0088aa"," #8400dd"," #aa0088"," #dd0000"," #772e00"],this._palette=this.palette,this.highlightColor="rgba(0,0,255,1)",this._highlightColor=this.highlightColor,this.colorRegExp=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i,this._nameColors={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#789",lightslategrey:"#789",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#f0f",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"},this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Color"}function ir(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}ir((e=or).prototype,[{key:"computeBoundingBox",value:function(e,t,n){if(0!==e.length){for(var r=e[0][0],i=e[0][0],o=e[0][1],a=e[0][1],s=1;s<e.length;s++){var l=e[s];l[0]<r&&(r=l[0]),l[0]>i&&(i=l[0]),l[1]<o&&(o=l[1]),l[1]>a&&(a=l[1])}t[0]=r,t[1]=o,n[0]=i,n[1]=a}}},{key:"cubeBezier",value:function(e,t,n,r,i,o){var a=new Jn,s=[];a.cubicExtrema(e[0],t[0],n[0],r[0],s);for(var l=0;l<s.length;l++)s[l]=a.cubicAt(e[0],t[0],n[0],r[0],s[l]);var u=[];a.cubicExtrema(e[1],t[1],n[1],r[1],u);for(var c=0;c<u.length;c++)u[c]=a.cubicAt(e[1],t[1],n[1],r[1],u[c]);s.push(e[0],r[0]),u.push(e[1],r[1]);var f=Math.min.apply(null,s),h=Math.max.apply(null,s),d=Math.min.apply(null,u),p=Math.max.apply(null,u);i[0]=f,i[1]=d,o[0]=h,o[1]=p}},{key:"quadraticBezier",value:function(e,t,n,r,i){var o=new Jn,a=o.quadraticExtremum(e[0],t[0],n[0]),o=o.quadraticExtremum(e[1],t[1],n[1]),s=1-(a=Math.max(Math.min(a,1),0)),l=1-(o=Math.max(Math.min(o,1),0)),u=s*s*e[0]+2*s*a*t[0]+a*a*n[0],s=s*s*e[1]+2*s*a*t[1]+a*a*n[1],a=l*l*e[0]+2*l*o*t[0]+o*o*n[0],l=l*l*e[1]+2*l*o*t[1]+o*o*n[1];r[0]=Math.min(e[0],n[0],u,a),r[1]=Math.min(e[1],n[1],s,l),i[0]=Math.max(e[0],n[0],u,a),i[1]=Math.max(e[1],n[1],s,l)}},{key:"arc",value:function(e,t,n,r,i,o,a,s){var l=new qn,u=l.create(),c=l.create(),f=l.create();u[0]=Math.cos(r)*n+e,u[1]=Math.sin(r)*n+t,c[0]=Math.cos(i)*n+e,c[1]=Math.sin(i)*n+t,l.min(a,u,c),l.max(s,u,c),(r%=2*Math.PI)<0&&(r+=2*Math.PI),(i%=2*Math.PI)<0&&(i+=2*Math.PI),i<r&&!o?i+=2*Math.PI:r<i&&o&&(r+=2*Math.PI),o&&(u=i,i=r,r=u);for(var h=0;h<i;h+=Math.PI/2)r<h&&(f[0]=Math.cos(h)*n+e,f[1]=Math.sin(h)*n+t,l.min(a,f,a),l.max(s,f,s))}}]),Object.defineProperty(e,"prototype",{writable:!1});var i=or;function or(){var e=this;if(!(e instanceof or))throw new TypeError("Cannot call a class as a function");3===arguments.length&&this.computeBoundingBox(arguments),this.CLASS_NAME="SuperMap.LevelRenderer.Tool.ComputeBoundingBox"}function ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}ar((e=sr).prototype,[{key:"destory",value:function(){return!0}}]),Object.defineProperty(e,"prototype",{writable:!1});e=sr;function sr(){if(!(this instanceof sr))throw new TypeError("Cannot call a class as a function");this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Env";var e=navigator.userAgent,t=this.os={},n=this.browser={},r=e.match(/Web[kK]it[\/]{0,1}([\d.]+)/),i=e.match(/(Android);?[\s\/]+([\d.]+)?/),o=e.match(/(iPad).*OS\s([\d_]+)/),a=e.match(/(iPod)(.*OS\s([\d_]+))?/),s=!o&&e.match(/(iPhone\sOS)\s([\d_]+)/),l=e.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),u=l&&e.match(/TouchPad/),c=e.match(/Kindle\/([\d.]+)/),f=e.match(/Silk\/([\d._]+)/),h=e.match(/(BlackBerry).*Version\/([\d.]+)/),d=e.match(/(BB10).*Version\/([\d.]+)/),p=e.match(/(RIM\sTablet\sOS)\s([\d.]+)/),y=e.match(/PlayBook/),m=e.match(/Chrome\/([\d.]+)/)||e.match(/CriOS\/([\d.]+)/),g=e.match(/Firefox\/([\d.]+)/),v=e.match(/MSIE ([\d.]+)/),b=r&&e.match(/Mobile\//)&&!m,_=e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/)&&!m;return(n.webkit=!!r)&&(n.version=r[1]),i&&(t.android=!0,t.version=i[2]),s&&!a&&(t.ios=t.iphone=!0,t.version=s[2].replace(/_/g,".")),o&&(t.ios=t.ipad=!0,t.version=o[2].replace(/_/g,".")),a&&(t.ios=t.ipod=!0,t.version=a[3]?a[3].replace(/_/g,"."):null),l&&(t.webos=!0,t.version=l[2]),u&&(t.touchpad=!0),h&&(t.blackberry=!0,t.version=h[2]),d&&(t.bb10=!0,t.version=d[2]),p&&(t.rimtabletos=!0,t.version=p[2]),y&&(n.playbook=!0),c&&(t.kindle=!0,t.version=c[1]),f&&(n.silk=!0,n.version=f[1]),!f&&t.android&&e.match(/Kindle Fire/)&&(n.silk=!0),m&&(n.chrome=!0,n.version=m[1]),g&&(n.firefox=!0,n.version=g[1]),v&&(n.ie=!0,n.version=v[1]),b&&(e.match(/Safari/)||t.ios)&&(n.safari=!0),_&&(n.webview=!0),v&&(n.ie=!0,n.version=v[1]),t.tablet=!!(o||y||i&&!e.match(/Mobile/)||g&&e.match(/Tablet/)||v&&!e.match(/Phone/)&&e.match(/Touch/)),t.phone=!(t.tablet||t.ipod||!(i||s||l||h||d||m&&e.match(/Android/)||m&&e.match(/CriOS\/([\d.]+)/)||g&&e.match(/Mobile/)||v&&e.match(/Touch/))),{browser:n,os:t,canvasSupported:!!document.createElement("canvas").getContext}}function lr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}lr((ur=cr).prototype,[{key:"getX",value:function(e){return void 0!==e.zrenderX&&e.zrenderX||void 0!==e.offsetX&&e.offsetX||void 0!==e.layerX&&e.layerX||void 0!==e.clientX&&e.clientX}},{key:"getY",value:function(e){return void 0!==e.zrenderY&&e.zrenderY||void 0!==e.offsetY&&e.offsetY||void 0!==e.layerY&&e.layerY||void 0!==e.clientY&&e.clientY}},{key:"getDelta",value:function(e){return void 0!==e.zrenderDelta&&e.zrenderDelta||void 0!==e.wheelDelta&&e.wheelDelta||void 0!==e.detail&&-e.detail}}]),Object.defineProperty(ur,"prototype",{writable:!1});var ur=cr;function cr(){if(!(this instanceof cr))throw new TypeError("Cannot call a class as a function");this.stop="function"==typeof window.addEventListener?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0},this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Event"}function fr(e){return(fr="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})(e)}function hr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}hr((dr=pr).prototype,[{key:"get",value:function(e,t,n){"object"===fr(e)&&(e=(r=e).url,t=r.onsuccess,n=r.onerror);var r,i=window.XMLHttpRequest?new XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");i.open("GET",e,!0),i.onreadystatechange=function(){4==i.readyState&&(200<=i.status&&i.status<300||304===i.status?t&&t(i.responseText):n&&n(),i.onreadystatechange=new Function,i=null)},i.send(null)}}]),Object.defineProperty(dr,"prototype",{writable:!1});var dr=pr;function pr(){if(!(this instanceof pr))throw new TypeError("Cannot call a class as a function");this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Http"}mr=function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function")},Object.defineProperty(mr,"prototype",{writable:!1});var p=mr;function yr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}p.EVENT={RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},p.catchBrushException=!1,p.debugMode=0;yr((mr=gr).prototype,[{key:"destory",value:function(){return!0}}]),Object.defineProperty(mr,"prototype",{writable:!1});var mr=gr;function gr(){if(this instanceof gr)return this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Log",function(){if(0!=+p.debugMode)if(1==+p.debugMode)for(var e in arguments)throw new Error(arguments[e]);else if(1<+p.debugMode)for(var t in arguments)console.log(arguments[t])};throw new TypeError("Cannot call a class as a function")}function vr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}vr((br=_r).prototype,[{key:"sin",value:function(e,t){return window.Math.sin(t?e*this._radians:e)}},{key:"cos",value:function(e,t){return window.Math.cos(t?e*this._radians:e)}},{key:"degreeToRadian",value:function(e){return e*this._radians}},{key:"radianToDegree",value:function(e){return e/this._radians}}]),Object.defineProperty(br,"prototype",{writable:!1});var br=_r;function _r(){if(!(this instanceof _r))throw new TypeError("Cannot call a class as a function");this._radians=window.Math.PI/180,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Math"}function xr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}xr((wr=Ar).prototype,[{key:"create",value:function(){var e=new this.ArrayCtor(6);return this.identity(e),e}},{key:"identity",value:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}},{key:"copy",value:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}},{key:"mul",value:function(e,t,n){return e[0]=t[0]*n[0]+t[2]*n[1],e[1]=t[1]*n[0]+t[3]*n[1],e[2]=t[0]*n[2]+t[2]*n[3],e[3]=t[1]*n[2]+t[3]*n[3],e[4]=t[0]*n[4]+t[2]*n[5]+t[4],e[5]=t[1]*n[4]+t[3]*n[5]+t[5],e}},{key:"translate",value:function(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}},{key:"rotate",value:function(e,t,n){var r=t[0],i=t[2],o=t[4],a=t[1],s=t[3],t=t[5],l=Math.sin(n),n=Math.cos(n);return e[0]=r*n+a*l,e[1]=-r*l+a*n,e[2]=i*n+s*l,e[3]=-i*l+n*s,e[4]=n*o+l*t,e[5]=n*t-l*o,e}},{key:"scale",value:function(e,t,n){var r=n[0],n=n[1];return e[0]=t[0]*r,e[1]=t[1]*n,e[2]=t[2]*r,e[3]=t[3]*n,e[4]=t[4]*r,e[5]=t[5]*n,e}},{key:"invert",value:function(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],t=t[5],s=n*a-o*r;return s?(e[0]=a*(s=1/s),e[1]=-o*s,e[2]=-r*s,e[3]=n*s,e[4]=(r*t-a*i)*s,e[5]=(o*i-n*t)*s,e):null}},{key:"mulVector",value:function(e,t,n){var r=t[0],i=t[2],o=t[4],a=t[1],s=t[3],t=t[5];return e[0]=n[0]*r+n[1]*i+o,e[1]=n[0]*a+n[1]*s+t,e}}]),Object.defineProperty(wr,"prototype",{writable:!1});var wr=Ar;function Ar(){if(!(this instanceof Ar))throw new TypeError("Cannot call a class as a function");this.ArrayCtor="undefined"==typeof Float32Array?Array:Float32Array,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Matrix"}function Sr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}kl=Cr,Os=[{key:"SUtil_smoothBezier",value:function(e,t,n,r,i){var o=i=i&&2===i.length?i:[0,0],a=[],s=[],l=[],u=[],c=!!r;if(c){for(var f=[1/0,1/0],h=[-1/0,-1/0],d=e.length,p=0;p<d;p++)Cr.Util_vector.min(f,f,[e[p][0]+o[0],e[p][1]+o[1]]),Cr.Util_vector.max(h,h,[e[p][0]+o[0],e[p][1]+o[1]]);Cr.Util_vector.min(f,f,r[0]),Cr.Util_vector.max(h,h,r[1])}for(var y=e.length,m=0;m<y;m++){var g=[e[m][0]+o[0],e[m][1]+o[1]],v=void 0,b=void 0;if(n)v=[e[m?m-1:y-1][0]+o[0],e[m?m-1:y-1][1]+o[1]],b=[e[(m+1)%y][0]+o[0],e[(m+1)%y][1]+o[1]];else{if(0===m||m===y-1){a.push([e[m][0]+o[0],e[m][1]+o[1]]);continue}v=[e[m-1][0]+o[0],e[m-1][1]+o[1]],b=[e[m+1][0]+o[0],e[m+1][1]+o[1]]}Cr.Util_vector.sub(s,b,v),Cr.Util_vector.scale(s,s,t);var v=Cr.Util_vector.distance(g,v),b=Cr.Util_vector.distance(g,b),_=v+b,_=(0!==_&&(v/=_,b/=_),Cr.Util_vector.scale(l,s,-v),Cr.Util_vector.scale(u,s,b),Cr.Util_vector.add([],g,l)),v=Cr.Util_vector.add([],g,u);c&&(Cr.Util_vector.max(_,_,f),Cr.Util_vector.min(_,_,h),Cr.Util_vector.max(v,v,f),Cr.Util_vector.min(v,v,h)),a.push(_),a.push(v)}return n&&a.push(a.shift()),a}},{key:"SUtil_smoothSpline",value:function(e,t,n,r){for(var i=r=r&&2===r.length?r:[0,0],o=e.length,a=[],s=0,l=1;l<o;l++)s+=Cr.Util_vector.distance([e[l-1][0]+i[0],e[l-1][1]+i[1]],[e[l][0]+i[0],e[l][1]+i[1]]);for(var u=(u=s/5)<o?o:u,c=0;c<u;c++){var f=c/(u-1)*(t?o:o-1),h=Math.floor(f),f=f-h,d=void 0,p=[e[h%o][0]+i[0],e[h%o][1]+i[1]],y=void 0,m=void 0,m=t?(d=[e[(h-1+o)%o][0]+i[0],e[(h-1+o)%o][1]+i[1]],y=[e[(h+1)%o][0]+i[0],e[(h+1)%o][1]+i[1]],[e[(h+2)%o][0]+i[0],e[(h+2)%o][1]+i[1]]):(d=[e[0===h?h:h-1][0]+i[0],e[0===h?h:h-1][1]+i[1]],y=[e[o-2<h?o-1:h+1][0]+i[0],e[o-2<h?o-1:h+1][1]+i[1]],[e[o-3<h?o-1:h+2][0]+i[0],e[o-3<h?o-1:h+2][1]+i[1]]),h=f*f,g=f*h;a.push([v(d[0],p[0],y[0],m[0],f,h,g),v(d[1],p[1],y[1],m[1],f,h,g)])}return a;function v(e,t,n,r,i,o,a){e=.5*(n-e),r=.5*(r-t);return(2*(t-n)+e+r)*a+(-3*(t-n)-2*e-r)*o+e*i+t}}},{key:"SUtil_dashedLineTo",value:function(e,t,n,r,i,o,a){var s=[5,5];if(o="number"!=typeof o?5:o,e.setLineDash)s[0]=o,s[1]=o,a&&a instanceof Array?e.setLineDash(a):e.setLineDash(s),e.moveTo(t,n);else{var l=r-t,u=i-n,c=Math.floor(Math.sqrt(l*l+u*u)/o);l/=c,u/=c;for(var f=!0,h=0;h<c;++h)f?e.moveTo(t,n):e.lineTo(t,n),f=!f,t+=l,n+=u}e.lineTo(r,i)}}],null&&Sr(kl.prototype,null),Sr(kl,Os),Object.defineProperty(kl,"prototype",{writable:!1});var M=Cr;function Cr(){if(!(this instanceof Cr))throw new TypeError("Cannot call a class as a function")}function Or(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}M.Util_area=new n,M.Util_color=new nr,M.Util_computeBoundingBox=new i,M.Util_curve=new Jn,M.Util_env=new e,M.Util_event=new ur,M.Util_http=new dr,M.Util_log=new mr,M.Util_math=new br,M.Util_matrix=new wr,M.Util=new Hn,M.Util_vector=new qn;Or((Os=Mr).prototype,[{key:"destroy",value:function(){this.position=null,this.rotation=null,this.scale=null,this.needLocalTransform=null,this.needTransform=null}},{key:"updateNeedTransform",value:function(){function e(e){return 5e-5<e||e<-5e-5}this.needLocalTransform=e(this.rotation[0])||e(this.position[0])||e(this.position[1])||e(this.scale[0]-1)||e(this.scale[1]-1)}},{key:"updateTransform",value:function(){var e,t,n;function r(e){return 5e-5<e||e<-5e-5}this.updateNeedTransform(),this.parent?this.needTransform=this.needLocalTransform||this.parent.needTransform:this.needTransform=this.needLocalTransform,this.needTransform&&(e=[0,0],t=this.transform||M.Util_matrix.create(),M.Util_matrix.identity(t),this.needLocalTransform&&((r(this.scale[0])||r(this.scale[1]))&&(e[0]=-this.scale[2]||0,e[1]=-this.scale[3]||0,(n=r(e[0])||r(e[1]))&&M.Util_matrix.translate(t,t,e),M.Util_matrix.scale(t,t,this.scale),n)&&(e[0]=-e[0],e[1]=-e[1],M.Util_matrix.translate(t,t,e)),this.rotation instanceof Array?0!==this.rotation[0]&&(e[0]=-this.rotation[1]||0,e[1]=-this.rotation[2]||0,(n=r(e[0])||r(e[1]))&&M.Util_matrix.translate(t,t,e),M.Util_matrix.rotate(t,t,this.rotation[0]),n)&&(e[0]=-e[0],e[1]=-e[1],M.Util_matrix.translate(t,t,e)):0!=+this.rotation&&M.Util_matrix.rotate(t,t,this.rotation),r(this.position[0])||r(this.position[1]))&&M.Util_matrix.translate(t,t,this.position),this.transform=t,this.parent)&&this.parent.needTransform&&(this.needLocalTransform?M.Util_matrix.mul(this.transform,this.parent.transform,this.transform):M.Util_matrix.copy(this.transform,this.parent.transform))}},{key:"setTransform",value:function(e){var t;this.needTransform&&(t=this.transform,e.transform(t[0],t[1],t[2],t[3],t[4],t[5]))}},{key:"decomposeTransform",value:function(){var e,t,n,r,i,o;function a(e){return 5e-5<e||e<-5e-5}this.transform&&(t=(e=this.transform)[0]*e[0]+e[1]*e[1],n=this.position,r=this.scale,i=this.rotation,a(t-1)&&(t=Math.sqrt(t)),a((o=e[2]*e[2]+e[3]*e[3])-1)&&(o=Math.sqrt(o)),n[0]=e[4],n[1]=e[5],r[0]=t,r[1]=o,i[r[2]=r[3]=0]=Math.atan2(-e[1]/o,e[0]/t),i[1]=i[2]=0)}}]),Object.defineProperty(Os,"prototype",{writable:!1});var Er=Mr;function Mr(){var r;if(!(this instanceof Mr))throw new TypeError("Cannot call a class as a function");this.position=[0,0],this.rotation=[0,0,0],this.scale=[1,1,0,0],this.needLocalTransform=!1,this.needTransform=!1,this.CLASS_NAME="SuperMap.LevelRenderer.Transformable",this.lookAt=(r=M.Util_vector.create(),function(e){this.transform||(this.transform=M.Util_matrix.create());var t=this.transform;function n(e){return-5e-5<e&&e<5e-5}M.Util_vector.sub(r,e,this.position),n(r[0])&&n(r[1])||(M.Util_vector.normalize(r,r),t[2]=r[0]*this.scale[1],t[3]=r[1]*this.scale[1],t[0]=r[1]*this.scale[0],t[1]=-r[0]*this.scale[0],t[4]=this.position[0],t[5]=this.position[1],this.decomposeTransform())})}function Pr(e){return(Pr="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})(e)}function kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tr(){return(Tr="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=jr(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Ir(e,t){return(Ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Lr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jr(e){return(jr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Dr=function(){var e=o,t=U(Un,Er);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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ir(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=jr(n),t=(e=r?(e=jr(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Pr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Lr(t)};function o(e){var t;if(this instanceof o)return t=i.call(this,e),e=e||{},t.id=null,t.type="group",t.clipShape=null,t._children=[],t._storage=null,t.__dirty=!0,t.ignore=!1,D.extend(Lr(t),e),t.id=t.id||D.createUniqueID("smShapeGroup_"),t.CLASS_NAME="SuperMap.LevelRenderer.Group",t;throw new TypeError("Cannot call a class as a function")}return kr((e=o).prototype,[{key:"destroy",value:function(){this.id=null,this.type=null,this.clipShape=null,this._children=null,this._storage=null,this.__dirty=null,this.ignore=null,Tr(jr(o.prototype),"destroy",this).call(this)}},{key:"children",value:function(){return this._children.slice()}},{key:"childAt",value:function(e){return this._children[e]}},{key:"addChild",value:function(e){e!=this&&e.parent!=this&&(e.parent&&e.parent.removeChild(e),this._children.push(e),(e.parent=this)._storage)&&this._storage!==e._storage&&(this._storage.addToMap(e),e instanceof o)&&e.addChildrenToStorage(this._storage)}},{key:"removeChild",value:function(e){var t=D.indexOf(this._children,e);this._children.splice(t,1),e.parent=null,this._storage&&(this._storage.delFromMap(e.id),e instanceof o)&&e.delChildrenFromStorage(this._storage)}},{key:"eachChild",value:function(e,t){for(var n=!!t,r=0;r<this._children.length;r++){var i=this._children[r];n?e.call(t,i):e(i)}}},{key:"traverse",value:function(e,t){for(var n=!!t,r=0;r<this._children.length;r++){var i=this._children[r];n?e.call(t,i):e(i),"group"===i.type&&i.traverse(e,t)}}},{key:"addChildrenToStorage",value:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.addToMap(n),"group"===n.type&&n.addChildrenToStorage(e)}}},{key:"delChildrenFromStorage",value:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.delFromMap(n.id),"group"===n.type&&n.delChildrenFromStorage(e)}}},{key:"modSelf",value:function(){this.__dirty=!0}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Br(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}kl=[{key:"shapeCompareFunc",value:function(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}}],Br((n=Nr).prototype,[{key:"destroy",value:function(){this.dispose(),this._shapeList=null,this._shapeListOffset=null}},{key:"iterShape",value:function(e,t){if((t=t||{hover:!1,normal:"down",update:!1}).hover)for(var n=0,r=this._hoverElements.length;n<r;n++){var i=this._hoverElements[n];if(i.updateTransform(),e(i))return this}if("down"===(t.update&&this.updateShapeList(),t.normal)){for(var o=this._shapeList.length;o--;)if(e(this._shapeList[o]))return this}else for(var a=0,s=this._shapeList.length;a<s;a++)if(e(this._shapeList[a]))return this;return this}},{key:"getHoverShapes",value:function(e){for(var t=[],n=this._hoverElements.length,r=0;r<n;r++){t.push(this._hoverElements[r]);var i=this._hoverElements[r].hoverConnect;if(i)for(var o,a=0,s=(i=i instanceof Array?i:[i]).length;a<s;a++)(o=i[a].id?i[a]:this.get(i[a]))&&t.push(o)}if(t.sort(Nr.shapeCompareFunc),e)for(var l=0,u=t.length;l<u;l++)t[l].updateTransform();return t}},{key:"getShapeList",value:function(e){return e&&this.updateShapeList(),this._shapeList}},{key:"updateShapeList",value:function(){this._shapeListOffset=0;for(var e=this._roots.length,t=0;t<e;t++){var n=this._roots[t];this._updateAndAddShape(n)}this._shapeList.length=this._shapeListOffset;for(var r=this._shapeList.length,i=0;i<r;i++)this._shapeList[i].__renderidx=i;this._shapeList.sort(Nr.shapeCompareFunc)}},{key:"_updateAndAddShape",value:function(e,t){if(!e.ignore)if(e.updateTransform(),"group"==e.type){e.clipShape&&((e.clipShape.parent=e).clipShape.updateTransform(),t?(t=t.slice()).push(e.clipShape):t=[e.clipShape]);for(var n=0;n<e._children.length;n++){var r=e._children[n];r.__dirty=e.__dirty||r.__dirty,this._updateAndAddShape(r,t)}e.__dirty=!1}else e.__clipShapes=t,this._shapeList[this._shapeListOffset++]=e}},{key:"mod",value:function(e,t){e=this._elements[e];if(e&&(e.modSelf(),t))if(t.parent||t._storage||t.__startClip){var n,r={};for(n in t)"parent"!=n&&"_storage"!=n&&"__startClip"!=n&&t.hasOwnProperty(n)&&(r[n]=t[n]);(new Hn).merge(e,r,!0)}else(new Hn).merge(e,t,!0);return this}},{key:"drift",value:function(e,t,n){e=this._elements[e];return e&&(e.needTransform=!0,"horizontal"===e.draggable?n=0:"vertical"===e.draggable&&(t=0),!e.ondrift||e.ondrift&&!e.ondrift(t,n))&&e.drift(t,n),this}},{key:"addHover",value:function(e){return e.updateNeedTransform(),this._hoverElements.push(e),this}},{key:"delHover",value:function(){return this._hoverElements=[],this}},{key:"hasHoverShape",value:function(){return 0<this._hoverElements.length}},{key:"addRoot",value:function(e){e instanceof Dr&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e)}},{key:"delRoot",value:function(e){if(void 0===e){for(var t=0;t<this._roots.length;t++){var n=this._roots[t];n instanceof Dr&&n.delChildrenFromStorage(this)}this._elements={},this._hoverElements=[],this._roots=[]}else if(e instanceof Array)for(var r=e.length,i=0;i<r;i++)this.delRoot(e[i]);else{var o="string"==typeof e?this._elements[e]:e,a=(new Hn).indexOf(this._roots,o);0<=a&&(this.delFromMap(o.id),this._roots.splice(a,1),o instanceof Dr)&&o.delChildrenFromStorage(this)}}},{key:"addToMap",value:function(e){return e instanceof Dr&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this}},{key:"get",value:function(e){return this._elements[e]}},{key:"delFromMap",value:function(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof Dr)&&(t._storage=null),this}},{key:"dispose",value:function(){this._elements=null,this._roots=null,this._hoverElements=null}}]),Br(n,kl),Object.defineProperty(n,"prototype",{writable:!1});var Rr=Nr;function Nr(){if(!(this instanceof Nr))throw new TypeError("Cannot call a class as a function");this._elements={},this._hoverElements=[],this._roots=[],this._shapeList=[],this._shapeListOffset=0,this.CLASS_NAME="SuperMap.LevelRenderer.Storage"}function zr(e){return(zr="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})(e)}function Fr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vr(e,t){return(Vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Hr(e){return(Hr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Yr=function(){var e=a,t=J;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vr(e,t);n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,o=function(){var e,t=Hr(n),t=(e=r?(e=Hr(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==zr(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function a(e,t,n,r){var i;if(this instanceof a)return(i=o.call(this,e,t,n,r)).x=e,i.y=t,i.width=n,i.height=r,i.CLASS_NAME="SuperMap.Geometry.Rectangle",i.geometryType="Rectangle",i;throw new TypeError("Cannot call a class as a function")}return Fr((e=a).prototype,[{key:"calculateBounds",value:function(){this.bounds=new S(this.x,this.y,this.x+this.width,this.y+this.height)}},{key:"getArea",value:function(){return this.width*this.height}}]),Object.defineProperty(e,"prototype",{writable:!1}),a}();function Gr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Gr((i=Qr).prototype,[{key:"getUrlParameters",value:function(){return this.name+"="+this.value}},{key:"getValue",value:function(){return this.value}},{key:"destroy",value:function(){this.value=null,this.name=null}}]),Object.defineProperty(i,"prototype",{writable:!1});var Ur=Qr;function Qr(e,t){if(!(this instanceof Qr))throw new TypeError("Cannot call a class as a function");this.value=e||"",this.name=t||"token",this.CLASS_NAME="SuperMap.Credential"}Ur.CREDENTIAL=null;var Wr,e={toISOString:"toISOString"in Date.prototype?function(e){return e.toISOString()}:(Wr=function(e,t){for(var n=e+"";n.length<t;)n="0"+n;return n},function(e){return isNaN(e.getTime())?"Invalid Date":e.getUTCFullYear()+"-"+Wr(e.getUTCMonth()+1,2)+"-"+Wr(e.getUTCDate(),2)+"T"+Wr(e.getUTCHours(),2)+":"+Wr(e.getUTCMinutes(),2)+":"+Wr(e.getUTCSeconds(),2)+"."+Wr(e.getUTCMilliseconds(),3)+"Z"}),parse:function(e){var t,n,r,i,o,a,e=e.match(/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:(?:T(\d{1,2}):(\d{2}):(\d{2}(?:\.\d+)?)(Z|(?:[+-]\d{1,2}(?::(\d{2}))?)))|Z)?$/);return e&&(e[1]||e[7])?(a=parseInt(e[1],10)||0,t=parseInt(e[2],10)-1||0,o=parseInt(e[3],10)||1,a=new Date(Date.UTC(a,t,o)),(t=e[7])&&(o=parseInt(e[4],10),n=parseInt(e[5],10),r=0|(i=parseFloat(e[6])),i=Math.round(1e3*(i-r)),a.setUTCHours(o,n,r,i),"Z"!==t)&&(o=-1e3*(60*parseInt(t,10)*60+60*(parseInt(e[8],10)||0)),a=new Date(a.getTime()+o))):a=new Date("invalid"),a}},f={observers:!1,KEY_SPACE:32,KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,element:function(e){return e.target||e.srcElement},isSingleTouch:function(e){return e.touches&&1===e.touches.length},isMultiTouch:function(e){return e.touches&&1<e.touches.length},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var n=f.element(e);n.parentNode&&(!n.tagName||n.tagName.toUpperCase()!=t.toUpperCase());)n=n.parentNode;return n},observe:function(e,t,n,r){var e=D.getElement(e),i=(r=r||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||e.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),e._eventCacheID||(i="eventCacheID_",e.id&&(i=e.id+"_"+i),e._eventCacheID=D.createUniqueID(i)),e._eventCacheID);this.observers[i]||(this.observers[i]=[]),this.observers[i].push({element:e,name:t,observer:n,useCapture:r}),e.addEventListener?"mousewheel"===t?e.addEventListener(t,n,{useCapture:r,passive:!1}):e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on"+t,n)},stopObservingElement:function(e){e=D.getElement(e)._eventCacheID;this._removeElementObservers(f.observers[e])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;0<=t;t--){var n=e[t],n=new Array(n.element,n.name,n.observer,n.useCapture);f.stopObserving.apply(this,n)}},stopObserving:function(e,t,n,r){r=r||!1;var e=D.getElement(e),i=e._eventCacheID,o=("keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||e.detachEvent)&&(t="keydown"),!1),a=f.observers[i];if(a)for(var s=0;!o&&s<a.length;){var l=a[s];if(l.name===t&&l.observer===n&&l.useCapture===r){a.splice(s,1),0==a.length&&delete f.observers[i],o=!0;break}s++}return o&&(e.removeEventListener?e.removeEventListener(t,n,r):e&&e.detachEvent&&e.detachEvent("on"+t,n)),o},unloadCache:function(){if(f&&f.observers){for(var e in f.observers){e=f.observers[e];f._removeElementObservers.apply(this,[e])}f.observers=!1}},CLASS_NAME:"SuperMap.Event"};function qr(e){return(qr="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})(e)}function Kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}f.observe(window,"resize",f.unloadCache,!1);Kr((ur=Jr).prototype,[{key:"destroy",value:function(){for(var e in this.extensions)"boolean"!=typeof this.extensions[e]&&this.extensions[e].destroy();this.extensions=null,this.element&&(f.stopObservingElement(this.element),this.element.hasScrollEvent)&&f.stopObserving(window,"scroll",this.clearMouseListener),this.element=null,this.listeners=null,this.object=null,this.eventTypes=null,this.fallThrough=null,this.eventHandler=null}},{key:"addEventType",value:function(e){this.listeners[e]||(this.eventTypes.push(e),this.listeners[e]=[])}},{key:"attachToElement",value:function(e){this.element?f.stopObservingElement(this.element):(this.eventHandler=q.bindAsEventListener(this.handleBrowserEvent,this),this.clearMouseListener=q.bind(this.clearMouseCache,this)),this.element=e;for(var t=0,n=this.BROWSER_EVENTS.length;t<n;t++){var r=this.BROWSER_EVENTS[t];this.addEventType(r),f.observe(e,r,this.eventHandler)}f.observe(e,"dragstart",f.stop)}},{key:"on",value:function(e){for(var t in e)"scope"!==t&&e.hasOwnProperty(t)&&this.register(t,e.scope,e[t])}},{key:"register",value:function(e,t,n,r){var i;e in Jr&&!this.extensions[e]&&(this.extensions[e]=new Jr[e](this)),null!=n&&-1!==D.indexOf(this.eventTypes,e)&&(null==t&&(t=this.object),(i=this.listeners[e])||(this.listeners[e]=i=[],this.extensionCount[e]=0),t={obj:t,func:n},r?(i.splice(this.extensionCount[e],0,t),"object"===qr(r)&&r.extension&&this.extensionCount[e]++):i.push(t))}},{key:"registerPriority",value:function(e,t,n){this.register(e,t,n,!0)}},{key:"un",value:function(e){for(var t in e)"scope"!==t&&e.hasOwnProperty(t)&&this.unregister(t,e.scope,e[t])}},{key:"unregister",value:function(e,t,n){null==t&&(t=this.object);var r=this.listeners[e];if(null!=r)for(var i=0,o=r.length;i<o;i++)if(r[i].obj===t&&r[i].func===n){r.splice(i,1);break}}},{key:"remove",value:function(e){null!=this.listeners[e]&&(this.listeners[e]=[])}},{key:"triggerEvent",value:function(e,t){var n,r=this.listeners[e];if(r&&0!=r.length){(t=null==t?{}:t).object=this.object,t.element=this.element,t.type||(t.type=e);for(var i=0,o=(r=r.slice()).length;i<o;i++){var a=r[i];if(null!=(n=a.func.apply(a.obj,[t]))&&!1===n)break}return this.fallThrough||f.stop(t,!0),n}}},{key:"handleBrowserEvent",value:function(e){var t=e.type,n=this.listeners[t];if(n&&0!=n.length){var r=e.touches;if(r&&r[0]){for(var i,o=0,a=0,s=r.length,l=0;l<s;++l)o+=(i=r[l]).clientX,a+=i.clientY;e.clientX=o/s,e.clientY=a/s}this.includeXY&&(e.xy=this.getMousePosition(e)),this.triggerEvent(t,e)}}},{key:"clearMouseCache",value:function(){this.element.scrolls=null,this.element.lefttop=null;var e=document.body;e&&(0==e.scrollTop&&0==e.scrollLeft||!navigator.userAgent.match(/iPhone/i))&&(this.element.offsets=null)}},{key:"getMousePosition",value:function(e){var t;return this.includeXY?this.element.hasScrollEvent||(f.observe(window,"scroll",this.clearMouseListener),this.element.hasScrollEvent=!0):this.clearMouseCache(),this.element.scrolls||(t=D.getViewportElement(),this.element.scrolls=[t.scrollLeft,t.scrollTop]),this.element.lefttop||(this.element.lefttop=[document.documentElement.clientLeft||0,document.documentElement.clientTop||0]),this.element.offsets||(this.element.offsets=D.pagePosition(this.element)),new Y(e.clientX+this.element.scrolls[0]-this.element.offsets[0]-this.element.lefttop[0],e.clientY+this.element.scrolls[1]-this.element.offsets[1]-this.element.lefttop[1])}}]),Object.defineProperty(ur,"prototype",{writable:!1});var Xr=Jr;function Jr(e,t,n,r,i){if(!(this instanceof Jr))throw new TypeError("Cannot call a class as a function");if(this.BROWSER_EVENTS=["mouseover","mouseout","mousedown","mouseup","mousemove","click","dblclick","rightclick","dblrightclick","resize","focus","blur","touchstart","touchmove","touchend","keydown","MSPointerDown","MSPointerUp","pointerdown","pointerup","MSGestureStart","MSGestureChange","MSGestureEnd","contextmenu"],this.listeners={},this.object=e,this.element=null,this.eventTypes=[],this.eventHandler=null,this.fallThrough=r,this.includeXY=!1,this.extensions={},this.extensionCount={},this.clearMouseListener=null,D.extend(this,i),null!=n)for(var o=0,a=n.length;o<a;o++)this.addEventType(n[o]);null!=t&&this.attachToElement(t),this.CLASS_NAME="SuperMap.Events"}function $r(e){return($r="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})(e)}function Zr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ei(){return(ei="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ri(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ti(e,t){return(ti=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ni(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ri(e){return(ri=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Xr.prototype.BROWSER_EVENTS=["mouseover","mouseout","mousedown","mouseup","mousemove","click","dblclick","rightclick","dblrightclick","resize","focus","blur","touchstart","touchmove","touchend","keydown","MSPointerDown","MSPointerUp","pointerdown","pointerup","MSGestureStart","MSGestureChange","MSGestureEnd","contextmenu"];var ii=function(){var e=g,t=U(Un,Er);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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ti(e,t);n=g,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ri(n),t=(e=r?(e=ri(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===$r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ni(t)};function g(e){var t,r;if(this instanceof g)return t=i.call(this,e),e=e||{},t.id=null,t.style={},t.highlightStyle=null,t.parent=null,t.__dirty=!0,t.__clipShapes=[],t.invisible=!1,t.ignore=!1,t.zlevel=0,t.draggable=!1,t.clickable=!1,t.hoverable=!0,t.z=0,t.refOriginalPosition=[0,0],t.refDataID=null,t.isHoverByRefDataID=!1,t.refDataHoverGroup=null,t.dataInfo=null,D.extend(ni(t),e),t.id=t.id||D.createUniqueID("smShape_"),t.CLASS_NAME="SuperMap.LevelRenderer.Shape",t.getTansform=(r=[],function(e,t){var n=[e,t];return this.needTransform&&this.transform&&(M.Util_matrix.invert(r,this.transform),M.Util_matrix.mulVector(n,r,[e,t,1]),e==n[0])&&t==n[1]&&this.updateNeedTransform(),n}),t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"_fillText",value:function(e,t,n,r,i,o,a){i&&(e.font=i),e.textAlign=o,e.textBaseline=a;var s=g._getTextRect(t,n,r,i,o,a),l=(t=(t+"").split("\n"),M.Util_area.getTextHeight("ZH",i));switch(a){case"top":r=s.y;break;case"bottom":r=s.y+l;break;default:r=s.y+l/2}for(var u=0,c=t.length;u<c;u++)e.fillText(t[u],n,r),r+=l}},{key:"_getTextRect",value:function(e,t,n,r,i,o){var a=M.Util_area.getTextWidth(e,r),s=M.Util_area.getTextHeight("ZH",r);switch(e=(e+"").split("\n"),i){case"end":case"right":t-=a;break;case"center":t-=a/2}switch(o){case"top":break;case"bottom":n-=s*e.length;break;default:n-=s*e.length/2}return{x:t,y:n,width:a,height:s*e.length}}}],Zr((t=g).prototype,[{key:"destroy",value:function(){this.id=null,this.style=null,this.highlightStyle=null,this.parent=null,this.__dirty=null,this.__clipShapes=null,this.invisible=null,this.ignore=null,this.zlevel=null,this.draggable=null,this.clickable=null,this.hoverable=null,this.z=null,this.refOriginalPosition=null,this.refDataID=null,this.refDataHoverGroup=null,this.isHoverByRefDataID=null,this.dataInfo=null,ei(ri(g.prototype),"destroy",this).call(this)}},{key:"brush",value:function(e,t){var n=this.beforeBrush(e,t);switch(e.beginPath(),this.buildPath(e,n),n.brushType){case"both":this.setCtxGlobalAlpha(e,"fill",n),e.fill(),0<n.lineWidth&&(this.setCtxGlobalAlpha(e,"stroke",n),e.stroke()),this.setCtxGlobalAlpha(e,"reset",n);break;case"stroke":this.setCtxGlobalAlpha(e,"stroke",n),0<n.lineWidth&&e.stroke(),this.setCtxGlobalAlpha(e,"reset",n);break;default:this.setCtxGlobalAlpha(e,"fill",n),e.fill(),this.setCtxGlobalAlpha(e,"reset",n)}this.drawText(e,n,this.style),this.afterBrush(e)}},{key:"beforeBrush",value:function(e,t){var n=this.style;return this.brushTypeOnly&&(n.brushType=this.brushTypeOnly),t&&(n=this.getHighlightStyle(n,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(n.strokeColor=n.strokeColor||n.color),e.save(),this.doClip(e),this.setContext(e,n),this.setTransform(e),n}},{key:"afterBrush",value:function(e){e.restore()}},{key:"setContext",value:function(e,t){for(var n=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]],r=0,i=n.length;r<i;r++){var o=t[n[r][0]],a=n[r][1];void 0!==o&&(e[a]=o)}}},{key:"doClip",value:function(e){var t=M.Util_matrix.create();if(this.__clipShapes)for(var n=0;n<this.__clipShapes.length;n++){var r,i=this.__clipShapes[n];i.needTransform&&(r=i.transform,M.Util_matrix.invert(t,r),e.transform(r[0],r[1],r[2],r[3],r[4],r[5])),e.beginPath(),i.buildPath(e,i.style),e.clip(),i.needTransform&&e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}}},{key:"getHighlightStyle",value:function(e,t,n){var r,i={};for(r in e)i[r]=e[r];var o,a=M.Util_color.getHighlightColor();for(o in"stroke"!=e.brushType?(i.strokeColor=a,i.lineWidth=e.lineWidth||1,i.brushType="both"):"stroke"!=n?(i.strokeColor=a,i.lineWidth=e.lineWidth||1):i.strokeColor=t.strokeColor||M.Util_color.mix(e.strokeColor,M.Util_color.toRGB(a)),t)void 0!==t[o]&&(i[o]=t[o]);return i}},{key:"getHighlightZoom",value:function(){return"text"!=this.type?6:2}},{key:"drift",value:function(e,t){this.position[0]+=e,this.position[1]+=t}},{key:"buildPath",value:function(e,t){M.Util_log("buildPath not implemented in "+this.type)}},{key:"getRect",value:function(e){M.Util_log("getRect not implemented in "+this.type)}},{key:"isCover",value:function(e,t){var n=this.getTansform(e,t),n=(e=n[0],t=n[1],this.style.__rect);return e>=(n=n||(this.style.__rect=this.getRect(this.style))).x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height&&M.Util_area.isInside(this,this.style,e,t)}},{key:"drawText",value:function(e,t,n){if(void 0!==t.text&&!1!==t.text){var r=t.textColor||t.color||t.strokeColor;e.fillStyle=r;var i,o,a,s,l=t.textPosition||this.textPosition||"top",u=this.refOriginalPosition&&2===this.refOriginalPosition.length?this.refOriginalPosition:[0,0];switch(l){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var c=(n||t).__rect||this.getRect(n||t);switch(l){case"inside":a=c.x+c.width/2,s=c.y+c.height/2,i="center",o="middle","stroke"!=t.brushType&&r==t.color&&(e.fillStyle="#fff");break;case"left":a=c.x-10,s=c.y+c.height/2,i="end",o="middle";break;case"right":a=c.x+c.width+10,s=c.y+c.height/2,i="start",o="middle";break;case"top":a=c.x+c.width/2,s=c.y-10,i="center",o="bottom";break;case"bottom":a=c.x+c.width/2,s=c.y+c.height+10,i="center",o="top"}}break;case"start":case"end":var f=0,h=0,d=0,p=0;if(void 0!==t.pointList){var y=t.pointList;if(y.length<2)return;var m=y.length;switch(l){case"start":f=y[0][0]+u[0],h=y[1][0]+u[0],d=y[0][1]+u[1],p=y[1][1]+u[1];break;case"end":f=y[m-2][0]+u[0],h=y[m-1][0]+u[0],d=y[m-2][1]+u[1],p=y[m-1][1]+u[1]}}else f=t.xStart+u[0]||0,h=t.xEnd+u[0]||0,d=t.yStart+u[1]||0,p=t.yEnd+u[1]||0;switch(l){case"start":i=f<h?"end":"start",o=d<p?"bottom":"top",a=f,s=d;break;case"end":i=f<h?"start":"end",o=d<p?"top":"bottom",a=h,s=p}f&&h&&f!=h?a-="end"==i?6:-6:i="center",d!=p?s-="bottom"==o?6:-6:o="middle";break;case"specific":a=t.textX||0,s=t.textY||0,i="start",o="middle"}t.labelXOffset&&!isNaN(t.labelXOffset)&&(a+=t.labelXOffset),t.labelYOffset&&!isNaN(t.labelYOffset)&&(s+=t.labelYOffset),null!=a&&null!=s&&g._fillText(e,t.text,a,s,t.textFont,t.textAlign||i,t.textBaseline||o)}}},{key:"modSelf",value:function(){this.__dirty=!0,this.style&&(this.style.__rect=null),this.highlightStyle&&(this.highlightStyle.__rect=null)}},{key:"isSilent",value:function(){return!(this.hoverable||this.draggable||this.clickable||this.onmousemove||this.onmouseover||this.onmouseout||this.onmousedown||this.onmouseup||this.onclick||this.ondragenter||this.ondragover||this.ondragleave||this.ondrop)}},{key:"setCtxGlobalAlpha",value:function(e,t,n){e.globalAlpha="fill"===t?void 0===n.fillOpacity?void 0===n.opacity?1:n.opacity:n.fillOpacity:"stroke"!==t||void 0===n.strokeOpacity?void 0===n.opacity?1:n.opacity:n.strokeOpacity}}]),Zr(t,e),Object.defineProperty(t,"prototype",{writable:!1}),g}();function oi(e){return(oi="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})(e)}function ai(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function si(){return(si="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ui(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function li(e,t){return(li=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ui(e){return(ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ci=function(){var e=h,t=ii;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&li(e,t);n=h,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ui(n),t=(e=r?(e=ui(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==oi(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function h(e){if(this instanceof h)return(e=i.call(this,e)).type="smicimage",e._imageCache={},e.refOriginalPosition&&2===e.refOriginalPosition.length||(e.refOriginalPosition=[0,0]),e.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicImage",e;throw new TypeError("Cannot call a class as a function")}return ai((e=h).prototype,[{key:"destroy",value:function(){this.type=null,this._imageCache=null,si(ui(h.prototype),"destroy",this).call(this)}},{key:"brush",value:function(e,t,n){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition,i=this.style||{},o=(i=t?this.getHighlightStyle(i,this.highlightStyle||{}):i).image,a=this;if("string"==typeof o&&(t=o,this._imageCache[t]?o=this._imageCache[t]:((o=new Image).onload=function(){o.onload=null,clearTimeout(h._refreshTimeout),h._needsRefresh.push(a),h._refreshTimeout=setTimeout(function(){n&&n(h._needsRefresh),h._needsRefresh=[]},10)},o.src=t,this._imageCache[t]=o)),o){if("IMG"==o.nodeName.toUpperCase())if(window.ActiveXObject){if("complete"!=o.readyState)return}else if(!o.complete)return;var s,l,t=i.width||o.width,u=i.height||o.height,c=i.x+r[0],f=i.y+r[1];o.width&&o.height&&(e.save(),this.doClip(e),this.setContext(e,i),this.setTransform(e),i.sWidth&&i.sHeight?(s=i.sx+r[0]||0,l=i.sy+r[1]||0,e.drawImage(o,s,l,i.sWidth,i.sHeight,c,f,t,u)):i.sx&&i.sy?(s=i.sx+r[0],l=i.sy+r[1],e.drawImage(o,s,l,t-s,u-l,c,f,t,u)):e.drawImage(o,c,f,t,u),i.width||(i.width=t),i.height||(i.height=u),this.style.width||(this.style.width=t),this.style.height||(this.style.height=u),this.drawText(e,i,this.style),e.restore())}}},{key:"getRect",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t=this.refOriginalPosition;return{x:e.x+t[0],y:e.y+t[1],width:e.width,height:e.height}}},{key:"clearCache",value:function(){this._imageCache={}}}]),Object.defineProperty(e,"prototype",{writable:!1}),h}();function fi(e){return(fi="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})(e)}function hi(e,t){return(hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function di(e){return(di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mi(e,t,n){t&&yi(e.prototype,t),n&&yi(e,n),Object.defineProperty(e,"prototype",{writable:!1})}ci._needsRefresh=[],ci._refreshTimeout=null;mi(vi,[{key:"destroy",value:function(){this.dispose(),this._zlevelList=null,this._layerConfig=null,this._bgDom=null,this.shapeToImage=null}},{key:"render",value:function(e){return this.refresh(e,!0),this}},{key:"refresh",value:function(e,t){var n=this.storage.getShapeList(!0);return this._paintList(n,t),"function"==typeof e&&e(),this}},{key:"_paintList",value:function(e,t){var n,r,i,o;for(o in void 0===t&&(t=!1),this._updateLayerStatus(e),this._layers)"hover"!==o&&(this._layers[o].unusedCount++,this._layers[o].updateTransform());for(var a,s,l=[],u=0,c=e.length;u<c;u++){var f,h,d=e[u];if(r!==d.zlevel&&(n&&n.needTransform&&i.restore(),i=(n=this.getLayer(d.zlevel)).ctx,r=d.zlevel,n.unusedCount=0,(n.dirty||t)&&n.clear(),n.needTransform)&&(i.save(),n.setTransform(i)),i&&d.__startClip&&(f=d.__startClip,i.save(),f.needTransform&&(h=f.transform,M.Util_matrix.invert(l,h),i.transform(h[0],h[1],h[2],h[3],h[4],h[5])),i.beginPath(),f.buildPath(i,f.style),i.clip(),f.needTransform)&&i.transform(l[0],l[1],l[2],l[3],l[4],l[5]),(n&&n.dirty||t)&&!d.invisible&&(!d.onbrush||d.onbrush&&!d.onbrush(i,!1)))if(p.catchBrushException)try{d.brush(i,!1,this.updatePainter)}catch(e){M.Util_log(e,"brush error of "+d.type,d)}else d.brush(i,!1,this.updatePainter);i&&d.__stopClip&&i.restore(),d.__dirty=!1}for(a in i&&n&&n.needTransform&&i.restore(),this._layers)"hover"!==a&&((s=this._layers[a]).dirty=!1,1==s.unusedCount)&&s.clear()}},{key:"getLayer",value:function(e){if(!(i=this._layers[e])){var t=this._zlevelList.length,n=null,r=-1;if(0<t&&e>this._zlevelList[0]){for(r=0;r<t-1&&!(this._zlevelList[r]<e&&this._zlevelList[r+1]>e);r++);n=this._layers[this._zlevelList[r]]}this._zlevelList.splice(r+1,0,e);var i=new gi(D.createUniqueID("_levelLayer_"+e),this),n=n?n.dom:this._bgDom;n.nextSibling?n.parentNode.insertBefore(i.dom,n.nextSibling):n.parentNode.appendChild(i.dom),i.initContext(),this._layers[e]=i,this._layerConfig[e]&&(new Hn).merge(i,this._layerConfig[e],!0),i.updateTransform()}return i}},{key:"getLayers",value:function(){return this._layers}},{key:"_updateLayerStatus",value:function(e){var t,n=this._layers,r={};for(t in n)"hover"!==t&&(r[t]=n[t].elCount,n[t].elCount=0);for(var i,o=0;o<e.length;o++){var a=e[o],s=n[a.zlevel];s&&(s.elCount++,s.dirty||(s.dirty=a.__dirty))}for(i in n)"hover"!==i&&r[i]!==n[i].elCount&&(n[i].dirty=!0)}},{key:"refreshShapes",value:function(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];this.storage.mod(i.id)}return this.refresh(t),this}},{key:"clear",value:function(){for(var e in this._layers)"hover"!=e&&this._layers[e].clear();return this}},{key:"modLayer",value:function(e,t){t&&(this._layerConfig[e]?(new Hn).merge(this._layerConfig[e],t,!0):this._layerConfig[e]=t,t=this._layers[e])&&(new Hn).merge(t,this._layerConfig[e],!0)}},{key:"delLayer",value:function(e){var t=this._layers[e];t&&(this.modLayer(e,{position:t.position,rotation:t.rotation,scale:t.scale}),t.dom.parentNode.removeChild(t.dom),delete this._layers[e],this._zlevelList.splice((new Hn).indexOf(this._zlevelList,e),1))}},{key:"refreshHover",value:function(){this.clearHover();for(var e=this.storage.getHoverShapes(!0),t=0,n=e.length;t<n;t++)this._brushHover(e[t]);return this.storage.delHover(),this}},{key:"clearHover",value:function(){var e=this._layers.hover;return e&&e.clear(),this}},{key:"resize",value:function(){var e=this._domRoot,t=(e.style.display="none",this._getWidth()),n=this._getHeight();if(e.style.display="",this._width!=t||n!=this._height){for(var r in this._width=t,this._height=n,e.style.width=t+"px",e.style.height=n+"px",this._layers)this._layers[r].resize(t,n);this.refresh(null,!0)}return this}},{key:"clearLayer",value:function(e){e=this._layers[e];e&&e.clear()}},{key:"dispose",value:function(){this.root.innerHTML="",this.root=null,this.storage=null,this._domRoot=null,this._layers=null}},{key:"getDomHover",value:function(){return this._layers.hover.dom}},{key:"toDataURL",value:function(e,t,n){var r=vi.createDom(D.createUniqueID("SuperMap.Theme.image_"),"canvas",this),i=(this._bgDom.appendChild(r),r.getContext("2d")),o=(1!=vi.devicePixelRatio&&i.scale(vi.devicePixelRatio,vi.devicePixelRatio),i.fillStyle=t||"#fff",i.rect(0,0,this._width*vi.devicePixelRatio,this._height*vi.devicePixelRatio),i.fill(),this),t=(this.storage.iterShape(function(t){if(!t.invisible&&(!t.onbrush||t.onbrush&&!t.onbrush(i,!1)))if(p.catchBrushException)try{t.brush(i,!1,o.updatePainter)}catch(e){M.Util_log(e,"brush error of "+t.type,t)}else t.brush(i,!1,o.updatePainter)},{normal:"up",update:!0}),r.toDataURL(e,n)),i=null;return this._bgDom.removeChild(r),t}},{key:"getWidth",value:function(){return this._width}},{key:"getHeight",value:function(){return this._height}},{key:"_getWidth",value:function(){var e=this.root,t=e.currentStyle||document.defaultView.getComputedStyle(e);return+((e.clientWidth||parseInt(t.width,10))-parseInt(t.paddingLeft,10)-parseInt(t.paddingRight,10)).toFixed(0)}},{key:"_getHeight",value:function(){var e=this.root,t=e.currentStyle||document.defaultView.getComputedStyle(e);return+((e.clientHeight||parseInt(t.height,10))-parseInt(t.paddingTop,10)-parseInt(t.paddingBottom,10)).toFixed(0)}},{key:"_brushHover",value:function(e){var t=this._layers.hover.ctx;if(!e.onbrush||e.onbrush&&!e.onbrush(t,!0)){var n=this.getLayer(e.zlevel);if(n.needTransform&&(t.save(),n.setTransform(t)),p.catchBrushException)try{e.brush(t,!0,this.updatePainter)}catch(t){M.Util_log(t,"hoverBrush error of "+e.type,e)}else e.brush(t,!0,this.updatePainter);n.needTransform&&t.restore()}}},{key:"_shapeToImage",value:function(e,t,n,r,i){var o=document.createElement("canvas"),a=o.getContext("2d"),i=i||window.devicePixelRatio||1,n=(o.style.width=n+"px",o.style.height=r+"px",o.setAttribute("width",n*i),o.setAttribute("height",r*i),a.clearRect(0,0,n*i,r*i),{position:t.position,rotation:t.rotation,scale:t.scale}),r=(t.position=[0,0,0],t.rotation=0,t.scale=[1,1],t&&t.brush(a,!1),new ci({id:e,style:{x:0,y:0,image:o}}));return null!=n.position&&(r.position=t.position=n.position),null!=n.rotation&&(r.rotation=t.rotation=n.rotation),null!=n.scale&&(r.scale=t.scale=n.scale),r}},{key:"_createShapeToImageProcessor",value:function(){var i=this;return function(e,t,n,r){return i._shapeToImage(e,t,n,r,vi.devicePixelRatio)}}},{key:"updateHoverLayer",value:function(e){if(!(e instanceof Array))return this;this.clearHover(),this.storage.delHover();for(var t=0;t<e.length;t++)this.storage.addHover(e[t]),this._brushHover(e[t])}}],[{key:"createDom",value:function(e,t,n){var t=document.createElement(t),r=n._width,n=n._height;return t.style.position="absolute",t.style.left=0,t.style.top=0,t.style.width=r+"px",t.style.height=n+"px",t.setAttribute("width",r*vi.devicePixelRatio),t.setAttribute("height",n*vi.devicePixelRatio),t.setAttribute("id",e),t}}]);var h=vi,gi=function(){var e=o,t=Er;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hi(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=di(n),t=(e=r?(e=di(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==fi(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;return pi(this,o),(n=i.call(this,e,t)).dom=null,n.domBack=null,n.ctxBack=null,n.painter=t,n.unusedCount=0,n.config=null,n.dirty=!0,n.elCount=0,n.clearColor=0,n.motionBlur=!1,n.lastFrameAlpha=.7,n.zoomable=!1,n.panable=!1,n.maxZoom=1/0,n.minZoom=0,n.ctx=null,n.dom=h.createDom(D.createUniqueID("SuperMap.Theme"+e),"canvas",t),n.dom.onselectstart=function(){return!1},n.dom.style["-webkit-user-select"]="none",n.dom.style["user-select"]="none",n.dom.style["-webkit-touch-callout"]="none",n.CLASS_NAME="SuperMap.LevelRenderer.Painter.Layer",n}return mi(o,[{key:"destroy",value:function(){this.dom=null,this.domBack=null,this.ctxBack=null,this.painter=null,this.unusedCount=null,this.config=null,this.dirty=null,this.elCount=null,this.clearColor=null,this.motionBlur=null,this.lastFrameAlpha=null,this.zoomable=null,this.panable=null,this.maxZoom=null,this.minZoom=null,this.ctx=null,Er.destroy.apply(this,arguments)}},{key:"initContext",value:function(){this.ctx=this.dom.getContext("2d"),1!=h.devicePixelRatio&&this.ctx.scale(h.devicePixelRatio,h.devicePixelRatio)}},{key:"createBackBuffer",value:function(){this.domBack=h.createDom(D.createUniqueID("SuperMap.Theme.back-"+this.id),"canvas",this.painter),this.ctxBack=this.domBack.getContext("2d"),1!=h.devicePixelRatio&&this.ctxBack.scale(h.devicePixelRatio,h.devicePixelRatio)}},{key:"resize",value:function(e,t){this.dom.style.width=e+"px",this.dom.style.height=t+"px",this.dom.setAttribute("width",e*h.devicePixelRatio),this.dom.setAttribute("height",t*h.devicePixelRatio),1!=h.devicePixelRatio&&this.ctx.scale(h.devicePixelRatio,h.devicePixelRatio),this.domBack&&(this.domBack.setAttribute("width",e*h.devicePixelRatio),this.domBack.setAttribute("height",t*h.devicePixelRatio),1!=h.devicePixelRatio)&&this.ctxBack.scale(h.devicePixelRatio,h.devicePixelRatio)}},{key:"clear",value:function(){var e=this.dom,t=this.ctx,n=e.width,r=e.height,i=this.clearColor,o=this.motionBlur,a=this.lastFrameAlpha;o&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(e,0,0,n/h.devicePixelRatio,r/h.devicePixelRatio)),i?(t.save(),t.fillStyle=this.config.clearColor,t.fillRect(0,0,n/h.devicePixelRatio,r/h.devicePixelRatio),t.restore()):t.clearRect(0,0,n/h.devicePixelRatio,r/h.devicePixelRatio),o&&(e=this.domBack,t.save(),t.globalAlpha=a,t.drawImage(e,0,0,n/h.devicePixelRatio,r/h.devicePixelRatio),t.restore())}}]),o}();function vi(e,t){pi(this,vi),this.root=e,this.storage=t,this._domRoot=null,this._layers={},this._zlevelList=[],this._layerConfig={},this._bgDom=null,this.shapeToImage=null,vi.devicePixelRatio=Math.max(window.devicePixelRatio||1,1),this.CLASS_NAME="SuperMap.LevelRenderer.Painter",this.root.innerHTML="",this._width=this._getWidth(),this._height=this._getHeight();var e=document.createElement("div"),t=((this._domRoot=e).style.position="relative",e.style.overflow="hidden",e.style.width=this._width+"px",e.style.height=this._height+"px",this.root.appendChild(e),this.shapeToImage=this._createShapeToImageProcessor(),this._bgDom=vi.createDom(D.createUniqueID("SuperMap.Theme_background_"),"div",this),e.appendChild(this._bgDom),this._bgDom.onselectstart=r,this._bgDom.style["-webkit-user-select"]="none",this._bgDom.style["user-select"]="none",this._bgDom.style["-webkit-touch-callout"]="none",new gi(D.createUniqueID("_highLightLayer_"),this)),n=(this._layers.hover=t,e.appendChild(t.dom),t.initContext(),t.dom.onselectstart=r,t.dom.style["-webkit-user-select"]="none",t.dom.style["user-select"]="none",t.dom.style["-webkit-touch-callout"]="none",this);function r(){return!1}this.updatePainter=function(e,t){n.refreshShapes(e,t)}}function bi(e){return(bi="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})(e)}function _i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xi(e,t){return(xi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function wi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ai(e){return(Ai=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Si=function(){var e=h,t=Un;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xi(e,t);n=h,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,f=function(){var e,t=Ai(n),t=(e=r?(e=Ai(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===bi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return wi(t)};function h(e,t,n){var r,i,o;if(!(this instanceof h))throw new TypeError("Cannot call a class as a function");(r=f.call(this,e,t,n)).root=e,r.storage=t,r.painter=n,r._lastX=0,r._lastY=0,r._mouseX=0,r._mouseY=0,r._findHover=null,r._domHover=null,r._findHover=(i=function(e,t,n){var r=this;if(!(r._draggingTarget&&r._draggingTarget.id==e.id||e.isSilent())){var i=r._event;if(e.isCover(t,n)){if(e.hoverable)if(e.isHoverByRefDataID&&!0===e.isHoverByRefDataID){if(e.refDataID){var o=e.refDataID,a=null;e.refDataHoverGroup&&(a=e.refDataHoverGroup);for(var s=r.storage._shapeList,l=0,u=s.length;l<u;l++){var c=s[l];c.refDataID&&o===c.refDataID&&(!a||c.refDataHoverGroup&&a===c.refDataHoverGroup)&&r.storage.addHover(c)}}}else r.storage.addHover(e);for(var f=e.parent;f;){if(f.clipShape&&!f.clipShape.isCover(r._mouseX,r._mouseY))return!1;f=f.parent}return r._lastHover!=e&&(r._processOutShape(i),r._processDragLeave(i),r._lastHover=e,r._processDragEnter(i)),r._processOverShape(i),r._processDragOver(i),r._hasfound=1,!0}}return!1},o=wi(r),function(e,t,n){return i.call(o,e,t,n)}),r._domHover=n.getDomHover(),r.CLASS_NAME="SuperMap.LevelRenderer.Handler";var a={resize:function(e){e=e||window.event,this._lastHover=null,this._isMouseDown=0,this.dispatch(p.EVENT.RESIZE,e)},click:function(e){e=this._zrenderEventFixed(e);var t=this._lastHover;(t&&t.clickable||!t)&&this._clickThreshold<10&&this._dispatchAgency(t,p.EVENT.CLICK,e),this._mousemoveHandler(e)},dblclick:function(e){e=e||window.event,e=this._zrenderEventFixed(e);var t=this._lastHover;(t&&t.clickable||!t)&&this._clickThreshold<5&&this._dispatchAgency(t,p.EVENT.DBLCLICK,e),this._mousemoveHandler(e)},mousewheel:function(e){var t,n,r,i,o=0<((e=this._zrenderEventFixed(e)).wheelDelta||-e.detail)?1.1:1/1.1,a=this.painter.getLayers(),s=!1;for(t in a)"hover"!==t&&(r=(n=a[t]).position,n.zoomable)&&(n.__zoom=n.__zoom||1,i=n.__zoom,i*=o,o=(i=Math.max(Math.min(n.maxZoom,i),n.minZoom))/n.__zoom,n.__zoom=i,r[0]-=(this._mouseX-r[0])*(o-1),r[1]-=(this._mouseY-r[1])*(o-1),n.scale[0]*=o,n.scale[1]*=o,s=n.dirty=!0);s&&this.painter.refresh(),this._dispatchAgency(this._lastHover,p.EVENT.MOUSEWHEEL,e),this._mousemoveHandler(e)},mousemove:function(e){this._clickThreshold++,e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=M.Util_event.getX(e),this._mouseY=M.Util_event.getY(e);var t=this._mouseX-this._lastX,n=this._mouseY-this._lastY,r=(this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover()),"");if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,t,n),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget);else if(this._isMouseDown){var i,o,a=this.painter.getLayers(),s=!1;for(i in a)"hover"!==i&&(o=a[i]).panable&&(r="move",o.position[0]+=t,o.position[1]+=n,o.dirty=s=!0);s&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?r="move":this._hasfound&&this._lastHover.clickable&&(r="pointer"),this.root.style.cursor=r,this._dispatchAgency(this._lastHover,p.EVENT.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()},mouseout:function(e){var t=(e=this._zrenderEventFixed(e)).toElement||e.relatedTarget;if(t!=this.root)for(;t&&9!=t.nodeType;){if(t==this.root)return void this._mousemoveHandler(e);t=t.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.refreshHover(),this.dispatch(p.EVENT.GLOBALOUT,e)},mousedown:function(e){this._clickThreshold=0,2==this._lastDownButton?(this._lastDownButton=e.button,this._mouseDownTarget=null):(this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,p.EVENT.MOUSEDOWN,e),this._lastDownButton=e.button)},mouseup:function(e){e=this._zrenderEventFixed(e),this.root.style.cursor="",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,p.EVENT.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e)},touchstart:function(e){e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobildFindFixed(e),this._mousedownHandler(e)},touchmove:function(e){e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&M.Util_event.stop(e)},touchend:function(e){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var t=new Date;t-this._lastTouchMoment<p.EVENT.touchClickDelay&&(this._mobildFindFixed(e),this._clickHandler(e),t-this._lastClickMoment<p.EVENT.touchClickDelay/2&&(this._dblclickHandler(e),this._lastHover)&&this._lastHover.clickable&&M.Util_event.stop(e),this._lastClickMoment=t),this.painter.clearHover()}};for(var s=wi(r),l=["resize","click","dblclick","mousewheel","mousemove","mouseout","mouseup","mousedown","touchstart","touchend","touchmove"],u=l.length;u--;){var c=l[u];s["_"+c+"Handler"]=function(t,n){return function(e){return t.call(n,e)}}(a[c],s)}return window.addEventListener?(window.addEventListener("resize",r._resizeHandler),M.Util_env.os.tablet||M.Util_env.os.phone?(e.addEventListener("touchstart",r._touchstartHandler),e.addEventListener("touchmove",r._touchmoveHandler),e.addEventListener("touchend",r._touchendHandler)):(e.addEventListener("click",r._clickHandler),e.addEventListener("dblclick",r._dblclickHandler),e.addEventListener("mousewheel",r._mousewheelHandler),e.addEventListener("mousemove",r._mousemoveHandler),e.addEventListener("mousedown",r._mousedownHandler),e.addEventListener("mouseup",r._mouseupHandler)),e.addEventListener("DOMMouseScroll",r._mousewheelHandler),e.addEventListener("mouseout",r._mouseoutHandler)):(window.attachEvent("onresize",r._resizeHandler),e.attachEvent("onclick",r._clickHandler),e.ondblclick=r._dblclickHandler,e.attachEvent("onmousewheel",r._mousewheelHandler),e.attachEvent("onmousemove",r._mousemoveHandler),e.attachEvent("onmouseout",r._mouseoutHandler),e.attachEvent("onmousedown",r._mousedownHandler),e.attachEvent("onmouseup",r._mouseupHandler)),r}return _i((e=h).prototype,[{key:"destroy",value:function(){this.dispose(),this._lastX=null,this._lastY=null,this._mouseX=null,this._mouseY=null,this._findHover=null,Un.prototype.destroy.apply(this,arguments)}},{key:"on",value:function(e,t){return this.bind(e,t),this}},{key:"un",value:function(e,t){return this.unbind(e,t),this}},{key:"trigger",value:function(e,t){var n=p.EVENT;switch(e){case n.RESIZE:case n.CLICK:case n.DBLCLICK:case n.MOUSEWHEEL:case n.MOUSEMOVE:case n.MOUSEDOWN:case n.MOUSEUP:case n.MOUSEOUT:this["_"+e+"Handler"](t)}}},{key:"dispose",value:function(){var e=this.root;window.removeEventListener?(window.removeEventListener("resize",this._resizeHandler),M.Util_env.os.tablet||M.Util_env.os.phone?(e.removeEventListener("touchstart",this._touchstartHandler),e.removeEventListener("touchmove",this._touchmoveHandler),e.removeEventListener("touchend",this._touchendHandler)):(e.removeEventListener("click",this._clickHandler),e.removeEventListener("dblclick",this._dblclickHandler),e.removeEventListener("mousewheel",this._mousewheelHandler),e.removeEventListener("mousemove",this._mousemoveHandler),e.removeEventListener("mousedown",this._mousedownHandler),e.removeEventListener("mouseup",this._mouseupHandler)),e.removeEventListener("DOMMouseScroll",this._mousewheelHandler),e.removeEventListener("mouseout",this._mouseoutHandler)):(window.detachEvent("onresize",this._resizeHandler),e.detachEvent("onclick",this._clickHandler),e.detachEvent("dblclick",this._dblclickHandler),e.detachEvent("onmousewheel",this._mousewheelHandler),e.detachEvent("onmousemove",this._mousemoveHandler),e.detachEvent("onmouseout",this._mouseoutHandler),e.detachEvent("onmousedown",this._mousedownHandler),e.detachEvent("onmouseup",this._mouseupHandler)),this.root=null,this._domHover=null,this.storage=null,this.painter=null,this.un()}},{key:"_processDragStart",value:function(e){var t=this._lastHover;this._isMouseDown&&t&&t.draggable&&!this._draggingTarget&&this._mouseDownTarget==t&&(t.dragEnableTime&&new Date-this._lastMouseDownMoment<t.dragEnableTime||(this._draggingTarget=t=t,this._isDragging=1,t.invisible=!0,this.storage.mod(t.id),this._dispatchAgency(t,p.EVENT.DRAGSTART,e),this.painter.refresh()))}},{key:"_processDragEnter",value:function(e){this._draggingTarget&&this._dispatchAgency(this._lastHover,p.EVENT.DRAGENTER,e,this._draggingTarget)}},{key:"_processDragOver",value:function(e){this._draggingTarget&&this._dispatchAgency(this._lastHover,p.EVENT.DRAGOVER,e,this._draggingTarget)}},{key:"_processDragLeave",value:function(e){this._draggingTarget&&this._dispatchAgency(this._lastHover,p.EVENT.DRAGLEAVE,e,this._draggingTarget)}},{key:"_processDrop",value:function(e){this._draggingTarget&&(this._draggingTarget.invisible=!1,this.storage.mod(this._draggingTarget.id),this.painter.refresh(),this._dispatchAgency(this._lastHover,p.EVENT.DROP,e,this._draggingTarget))}},{key:"_processDragEnd",value:function(e){this._draggingTarget&&(this._dispatchAgency(this._draggingTarget,p.EVENT.DRAGEND,e),this._lastHover=null),this._isDragging=0,this._draggingTarget=null}},{key:"_processOverShape",value:function(e){this._dispatchAgency(this._lastHover,p.EVENT.MOUSEOVER,e)}},{key:"_processOutShape",value:function(e){this._dispatchAgency(this._lastHover,p.EVENT.MOUSEOUT,e)}},{key:"_dispatchAgency",value:function(e,t,n,r){var i="on"+t,o={type:t,event:n,target:e,cancelBubble:!1},a=e;for(r&&(o.dragged=r);a&&(a[i]&&(o.cancelBubble=a[i](o)),a.dispatch(t,o),a=a.parent,!o.cancelBubble););e?o.cancelBubble||this.dispatch(t,o):r||this.dispatch(t,{type:t,event:n})}},{key:"_iterateAndFindHover",value:function(){for(var e,t=M.Util_matrix.create(),n=this.storage.getShapeList(),r=[0,0],i=n.length-1;0<=i;i--){var o=n[i];if(void 0!==o.zlevel&&(e=this.painter.getLayer(o.zlevel,e),r[0]=this._mouseX,r[1]=this._mouseY,e.needTransform)&&(M.Util_matrix.invert(t,e.transform),M.Util_vector.applyTransform(r,r,t)),this._findHover(o,r[0],r[1]))break}}},{key:"_mobildFindFixed",value:function(e){var t=[{x:10},{x:-20},{x:10,y:10},{y:-20}];this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var n=0;!this._lastHover&&n<t.length;n++){var r=t[n];r.x&&(this._mouseX+=r.x),r.y&&(this._mouseX+=r.y),this._iterateAndFindHover()}this._lastHover&&(e.zrenderX=this._mouseX,e.zrenderY=this._mouseY)}},{key:"_zrenderEventFixed",value:function(e,t){var n;return e.zrenderFixed||(t?(t=("touchend"!=e.type?e.targetTouches:e.changedTouches)[0])&&(n=this.root.getBoundingClientRect(),e.zrenderX=t.clientX-n.left,e.zrenderY=t.clientY-n.top):(t=(e=e||window.event).toElement||e.relatedTarget||e.srcElement||e.target)&&t!=this._domHover&&(e.zrenderX=(void 0!==e.offsetX?e.offsetX:e.layerX)+t.offsetLeft,e.zrenderY=(void 0!==e.offsetY?e.offsetY:e.layerY)+t.offsetTop),e.zrenderFixed=1),e}},{key:"getLastHoverOne",value:function(){return this._lastHover||null}}]),Object.defineProperty(e,"prototype",{writable:!1}),h}();function Ci(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ci((dr=Ei).prototype,[{key:"destroy",value:function(){}},{key:"Linear",value:function(e){return e}},{key:"QuadraticIn",value:function(e){return e*e}},{key:"QuadraticOut",value:function(e){return e*(2-e)}},{key:"QuadraticInOut",value:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)}},{key:"CubicIn",value:function(e){return e*e*e}},{key:"CubicOut",value:function(e){return--e*e*e+1}},{key:"CubicInOut",value:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}},{key:"QuarticIn",value:function(e){return e*e*e*e}},{key:"QuarticOut",value:function(e){return 1- --e*e*e*e}},{key:"QuarticInOut",value:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)}},{key:"QuinticIn",value:function(e){return e*e*e*e*e}},{key:"QuinticOut",value:function(e){return--e*e*e*e*e+1}},{key:"QuinticInOut",value:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)}},{key:"SinusoidalIn",value:function(e){return 1-Math.cos(e*Math.PI/2)}},{key:"SinusoidalOut",value:function(e){return Math.sin(e*Math.PI/2)}},{key:"SinusoidalInOut",value:function(e){return.5*(1-Math.cos(Math.PI*e))}},{key:"ExponentialIn",value:function(e){return 0===e?0:Math.pow(1024,e-1)}},{key:"ExponentialOut",value:function(e){return 1===e?1:1-Math.pow(2,-10*e)}},{key:"ExponentialInOut",value:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))}},{key:"CircularIn",value:function(e){return 1-Math.sqrt(1-e*e)}},{key:"CircularOut",value:function(e){return Math.sqrt(1- --e*e)}},{key:"CircularInOut",value:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}},{key:"ElasticIn",value:function(e){var t,n=.1;return 0===e?0:1===e?1:(t=n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*--e)*Math.sin((e-t)*(2*Math.PI)/.4))}},{key:"ElasticOut",value:function(e){var t,n=.1;return 0===e?0:1===e?1:(t=n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/.4)+1)}},{key:"ElasticInOut",value:function(e){var t,n=.1;return 0===e?0:1===e?1:(t=n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*--e)*Math.sin((e-t)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*--e)*Math.sin((e-t)*(2*Math.PI)/.4)*.5+1)}},{key:"BackIn",value:function(e){return e*e*(2.70158*e-1.70158)}},{key:"BackOut",value:function(e){return--e*e*(2.70158*e+1.70158)+1}},{key:"BackInOut",value:function(e){var t=2.5949095;return(e*=2)<1?e*e*((1+t)*e-t)*.5:.5*((e-=2)*e*((1+t)*e+t)+2)}},{key:"BounceIn",value:function(e){return 1-this.BounceOut(1-e)}},{key:"BounceOut",value:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}},{key:"BounceInOut",value:function(e){return e<.5?.5*this.BounceIn(2*e):.5*this.BounceOut(2*e-1)+.5}}]),Object.defineProperty(dr,"prototype",{writable:!1});var Oi=Ei;function Ei(){if(!(this instanceof Ei))throw new TypeError("Cannot call a class as a function");this.CLASS_NAME="SuperMap.LevelRenderer.Animation.easing"}function Mi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Mi((mr=ki).prototype,[{key:"destroy",value:function(){}},{key:"step",value:function(e){var t=new Oi,e=(e-this._startTime)/this._life;if(!(e<0))return e=Math.min(e,1),t="function"==typeof(t="string"==typeof this.easing?t[this.easing]:this.easing)?t(e):e,this.fire("frame",t),1==e?this.loop?(this.restart(),"restart"):(this._needsRemove=!0,"destroy"):null}},{key:"restart",value:function(){var e=((new Date).getTime()-this._startTime)%this._life;this._startTime=(new Date).getTime()-e+this.gap}},{key:"fire",value:function(e,t){for(var n=0,r=this._targetPool.length;n<r;n++)this["on"+e]&&this["on"+e](this._targetPool[n],t)}}]),Object.defineProperty(mr,"prototype",{writable:!1});var Pi=ki;function ki(e){if(!(this instanceof ki))throw new TypeError("Cannot call a class as a function");this._targetPool=e.target||{},this._targetPool instanceof Array||(this._targetPool=[this._targetPool]),this._life=e.life||1e3,this._delay=e.delay||0,this._startTime=(new Date).getTime()+this._delay,this._endTime=this._startTime+1e3*this._life,this.loop=void 0!==e.loop&&e.loop,this.gap=e.gap||0,this.easing=e.easing||"Linear",this.onframe=e.onframe,this.ondestroy=e.ondestroy,this.onrestart=e.onrestart,this.CLASS_NAME="SuperMap.LevelRenderer.Animation.Clip"}function Ti(e){return(Ti="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})(e)}function Ii(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Li(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ji(e,t,n){t&&Li(e.prototype,t),n&&Li(e,n),Object.defineProperty(e,"prototype",{writable:!1})}function Di(e,t){return(Di=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Bi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ri(e){return(Ri=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ni=function(){var e=p,t=Un;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Di(e,t);n=p,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ri(n),t=(e=r?(e=Ri(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Ti(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Bi(t)};function p(e){var t;return Ii(this,p),t=i.call(this,e),e=e||{},t.stage={},t.onframe=function(){},t._clips=[],t._running=!1,t._time=0,D.extend(Bi(t),e),t.CLASS_NAME="SuperMap.LevelRenderer.Animation",t}return ji(p,[{key:"add",value:function(e){this._clips.push(e)}},{key:"remove",value:function(e){e=(new Hn).indexOf(this._clips,e);0<=e&&this._clips.splice(e,1)}},{key:"_update",value:function(){for(var e=(new Date).getTime(),t=e-this._time,n=this._clips,r=n.length,i=[],o=[],a=0;a<r;a++){var s=n[a],l=s.step(e);l&&(i.push(l),o.push(s))}this.stage.update&&this.stage.update();for(var u=0;u<r;)n[u]._needsRemove?(n[u]=n[r-1],n.pop(),r--):u++;for(var r=i.length,c=0;c<r;c++)o[c].fire(i[c]);this._time=e,this.onframe(t),this.dispatch("frame",t)}},{key:"start",value:function(){var t=window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){setTimeout(e,16)},n=this;this._running=!0,this._time=(new Date).getTime(),t(function e(){n._running&&(n._update(),t(e))})}},{key:"stop",value:function(){this._running=!1}},{key:"clear",value:function(){this._clips=[]}},{key:"animate",value:function(e,t){e=new zi(e,(t=t||{}).loop,t.getter,t.setter);return e.animation=this,e}}],[{key:"_interpolateNumber",value:function(e,t,n){return(t-e)*n+e}},{key:"_interpolateArray",value:function(e,t,n,r,i){var o=e.length;if(1==i)for(var a=0;a<o;a++)r[a]=p._interpolateNumber(e[a],t[a],n);else for(var s=e[0].length,l=0;l<o;l++)for(var u=0;u<s;u++)r[l][u]=p._interpolateNumber(e[l][u],t[l][u],n)}},{key:"_isArrayLike",value:function(e){switch(Ti(e)){case"undefined":case"string":return!1}return void 0!==e.length}},{key:"_catmullRomInterpolateArray",value:function(e,t,n,r,i,o,a,s,l){var u=e.length;if(1==l)for(var c=0;c<u;c++)s[c]=p._catmullRomInterpolate(e[c],t[c],n[c],r[c],i,o,a);else for(var f=e[0].length,h=0;h<u;h++)for(var d=0;d<f;d++)s[h][d]=p._catmullRomInterpolate(e[h][d],t[h][d],n[h][d],r[h][d],i,o,a)}},{key:"_catmullRomInterpolate",value:function(e,t,n,r,i,o,a){e=.5*(n-e),r=.5*(r-t);return(2*(t-n)+e+r)*a+(-3*(t-n)-2*e-r)*o+e*i+t}},{key:"_cloneValue",value:function(e){var t=Array.prototype.slice;if(p._isArrayLike(e)){var n=e.length;if(p._isArrayLike(e[0])){for(var r=[],i=0;i<n;i++)r.push(t.call(e[i]));return r}return t.call(e)}return e}},{key:"rgba2String",value:function(e){return e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.floor(e[2]),"rgba("+e.join(",")+")"}}]),p}(),zi=(ji(Fi,[{key:"when",value:function(e,t){for(var n in t)this._tracks[n]||(this._tracks[n]=[],0!==e&&this._tracks[n].push({time:0,value:Ni._cloneValue(this._getter(this._target,n))})),this._tracks[n].push({time:parseInt(e,10),value:t[n]});return this}},{key:"during",value:function(e){return this._onframeList.push(e),this}},{key:"start",value:function(x){function w(){if(A._clipCount--,0===A._clipCount){A._tracks={};for(var e=A._doneList.length,t=0;t<e;t++)A._doneList[t].call(A)}}var e,A=this,S=this._setter,C=this._getter,O=A._onframeList.length,E="spline"===x;for(e in this._tracks)!function(e,r){var i=e.length;if(i){var t=e[0].value,o=Ni._isArrayLike(t),a=!1,s=o&&Ni._isArrayLike(t[0])?2:1;e.sort(function(e,t){return e.time-t.time});for(var n=e[i-1].time,l=[],u=[],c=0;c<i;c++){l.push(e[c].time/n);var f=e[c].value;"string"==typeof f&&(0===(f=M.Util_color.toArray(f)).length&&(f[0]=f[1]=f[2]=0,f[3]=1),a=!0),u.push(f)}var h,d,p,y,m,g,v,b=0,_=0,t=(a&&(v=[0,0,0,0]),new Pi({target:A._target,life:n,loop:A._loop,delay:A._delay,onframe:function(e,t){if(t<_){for(d=Math.min(b+1,i-1),h=d;0<=h&&!(l[h]<=t);h--);h=Math.min(h,i-2)}else{for(h=b;h<i&&!(t<l[h]);h++);h=Math.min(h-1,i-2)}_=t;var n=l[(b=h)+1]-l[h];if(0!=n)for(d=(t-l[h])/n,E?(y=u[h],p=u[0===h?h:h-1],m=u[i-2<h?i-1:h+1],g=u[i-3<h?i-1:h+2],o?Ni._catmullRomInterpolateArray(p,y,m,g,d,d*d,d*d*d,C(e,r),s):(n=a?Ni.rgba2String(v):Ni._catmullRomInterpolate(p,y,m,g,d,d*d,d*d*d),S(e,r,n))):o?Ni._interpolateArray(u[h],u[h+1],d,C(e,r),s):(n=a?(Ni._interpolateArray(u[h],u[h+1],d,v,1),Ni.rgba2String(v)):Ni._interpolateNumber(u[h],u[h+1],d),S(e,r,n)),h=0;h<O;h++)A._onframeList[h](e,t)},ondestroy:w}));x&&"spline"!==x&&(t.easing=x),A._clipList.push(t),A._clipCount++,A.animation.add(t)}}(this._tracks[e],e);return this}},{key:"stop",value:function(){for(var e=0;e<this._clipList.length;e++){var t=this._clipList[e];this.animation.remove(t)}this._clipList=[]}},{key:"delay",value:function(e){return this._delay=e,this}},{key:"done",value:function(e){return e&&this._doneList.push(e),this}}]),Fi);function Fi(e,t,n,r){Ii(this,Fi),this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||function(e,t){return e[t]},this._setter=r||function(e,t,n){e[t]=n},this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[],this.CLASS_NAME="SuperMap.LevelRenderer.Animation.Animator"}function Vi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}br=[{key:"getFrameCallback",value:function(r){return function(){var e=r.animatingElements;if(e instanceof Array){for(var t=0,n=e.length;t<n;t++)r.storage.mod(e[t].id);(e.length||r._needsRefreshNextFrame)&&r.refresh()}}}}],Vi((wr=Yi).prototype,[{key:"destroy",value:function(){this.id=null,this.storage=null,this.painter=null,this.handler=null,this.animatingElements=null,this.animation=null,this._needsRefreshNextFrame=null}},{key:"getId",value:function(){return this.id}},{key:"addShape",value:function(e){return this.storage.addRoot(e),this}},{key:"addGroup",value:function(e){return this.storage.addRoot(e),this}},{key:"delShape",value:function(e){return this.storage.delRoot(e),this}},{key:"delGroup",value:function(e){return this.storage.delRoot(e),this}},{key:"modShape",value:function(e,t){return this.storage.mod(e,t),this}},{key:"modGroup",value:function(e,t){return this.storage.mod(e,t),this}},{key:"modLayer",value:function(e,t){return this.painter.modLayer(e,t),this}},{key:"addHoverShape",value:function(e){return this.storage.addHover(e),this}},{key:"render",value:function(e){return this.painter.render(e),this._needsRefreshNextFrame=!1,this}},{key:"refresh",value:function(e){return this.painter.refresh(e),this._needsRefreshNextFrame=!1,this}},{key:"refreshNextFrame",value:function(){return this._needsRefreshNextFrame=!0,this}},{key:"refreshHover",value:function(e){return this.painter.refreshHover(e),this}},{key:"refreshShapes",value:function(e,t){return this.painter.refreshShapes(e,t),this}},{key:"resize",value:function(){return this.painter.resize(),this}},{key:"animate",value:function(t,e,n){if(t="string"==typeof t?this.storage.get(t):t){var r,i;if(e){for(var o=e.split("."),a=t,s=0,l=o.length;s<l;s++)a=a&&a[o[s]];a&&(r=a)}else r=t;return r?(i=this.animatingElements,void 0===t.__aniCount&&(t.__aniCount=0),0===t.__aniCount&&i.push(t),t.__aniCount++,this.animation.animate(r,{loop:n}).done(function(){var e;t.__aniCount--,0===t.__aniCount&&(e=(new Hn).indexOf(i,t),i.splice(e,1))})):void M.Util_log('Property "'+e+'" is not existed in element '+t.id)}M.Util_log("Element not existed")}},{key:"clearAnimation",value:function(){this.animation.clear()}},{key:"getWidth",value:function(){return this.painter.getWidth()}},{key:"getHeight",value:function(){return this.painter.getHeight()}},{key:"toDataURL",value:function(e,t,n){return this.painter.toDataURL(e,t,n)}},{key:"shapeToImage",value:function(e,t,n){var r=D.createUniqueID("SuperMap.LevelRenderer.ToImage_");return this.painter.shapeToImage(r,e,t,n)}},{key:"on",value:function(e,t){return this.handler.on(e,t),this}},{key:"un",value:function(e,t){return this.handler.un(e,t),this}},{key:"trigger",value:function(e,t){return this.handler.trigger(e,t),this.handler.dispatch(e,t),this}},{key:"clear",value:function(){return this.storage.delRoot(),this.painter.clear(),this}},{key:"dispose",value:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=null,this.animatingElements=null,this.storage=null,this.painter=null,this.handler=null}},{key:"updateHoverShapes",value:function(e){return this.painter.updateHoverLayer(e),this}},{key:"getAllShapes",value:function(){return this.storage._shapeList}},{key:"clearAll",value:function(){return this.clear(),this.painter.clearHover(),this}},{key:"getHoverOne",value:function(){return this.handler.getLastHoverOne()}}]),Vi(wr,br),Object.defineProperty(wr,"prototype",{writable:!1});var Hi=Yi;function Yi(e,t){if(!(this instanceof Yi))throw new TypeError("Cannot call a class as a function");this.id=e,this.storage=new Rr,this.painter=new h(t,this.storage),this.handler=new Si(t,this.storage,this.painter),this.animatingElements=[],this.animation=new Ni({stage:{update:Yi.getFrameCallback(this)}}),this._needsRefreshNextFrame=!1,this.animation.start(),this.CLASS_NAME="SuperMap.LevelRenderer.Render"}function Gi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Gi((Os=Qi).prototype,[{key:"destroy",value:function(){this.dispose(),this.version=null}},{key:"init",value:function(e){e=new Hi(D.createUniqueID("LRenderer_"),e);return Qi._instances[e.id]=e}},{key:"dispose",value:function(e){if(e)e.dispose(),this.delInstance(e.id);else{for(var t in Qi._instances)Qi._instances[t].dispose();Qi._instances={}}return this}},{key:"getInstance",value:function(e){return Qi._instances[e]}},{key:"delInstance",value:function(e){return delete Qi._instances[e],this}}]),Object.defineProperty(Os,"prototype",{writable:!1});var Ui=Qi;function Qi(){if(!(this instanceof Qi))throw new TypeError("Cannot call a class as a function");Qi._instances={},Qi.Tool={},this.version="2.0.4",this.CLASS_NAME="SuperMap.LevelRenderer"}function Wi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}kl=[{key:"fromJson",value:function(e){var t=null;if(e)return t=(t=e.geometry)&&s.fromJson(t),new Ki({fieldNames:e.fieldNames,fieldValues:e.fieldValues,geometry:t})}}],Wi((n=Ki).prototype,[{key:"destroy",value:function(){this.fieldNames=null,this.fieldValues=null,this.geometry&&(this.geometry.destroy(),this.geometry=null)}},{key:"toFeature",value:function(){var e,t,n={},r=this.fieldNames,i=this.fieldValues;for(t in r)n[r[t]]=i[t];return this.geometry&&(e=this.geometry.toGeometry()),e=new et(e,n),this.geometry&&this.geometry.id&&(e.fid=this.geometry.id),e}}]),Wi(n,kl),Object.defineProperty(n,"prototype",{writable:!1});var qi=Ki;function Ki(e){if(!(this instanceof Ki))throw new TypeError("Cannot call a class as a function");this.fieldNames=null,this.fieldValues=null,this.geometry=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ServerFeature"}function Xi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Xi((i=$i).prototype,[{key:"onAdd",value:function(e){this.map=e,this._createCanvasContainer(),this.addTFEvents(),this.map.on("resize",this.resizeEvent.bind(this)),this.map.on("zoomstart",this.zoomStartEvent.bind(this)),this.map.on("zoomend",this.zoomEndEvent.bind(this)),this.map.on("rotatestart",this.rotateStartEvent.bind(this)),this.map.on("rotate",this.rotateEvent.bind(this)),this.map.on("rotateend",this.rotateEndEvent.bind(this)),this.map.on("dragend",this.dragEndEvent.bind(this)),this.map.on("movestart",this.moveStartEvent.bind(this)),this.map.on("move",this.moveEvent.bind(this)),this.map.on("moveend",this.moveEndEvent.bind(this)),this.map.on("remove",this.removeFromMap.bind(this)),this.refresh()}},{key:"refresh",value:function(){0!==this.features.length&&this.map&&this.redrawThematicFeatures(this.map.getBounds())}},{key:"_createCanvasContainer",value:function(){this.movingOffset=[0,0],this.mapContainer=this.map.getCanvasContainer(),this.div=document.createElement("div"),this.div.id=this.id,this.div.style.position="absolute";var e=this.map.getCanvasContainer(),t=this.map.getCanvas();this.mapContainer.style.perspective=this.map.transform.cameraToCenterDistance+"px",this.div.style.width=t.style.width,this.div.style.height=t.style.height,this.div.className="themeLayer",this.div.width=parseInt(t.width),this.div.height=parseInt(t.height),e.appendChild(this.div),this.setOpacity(this.opacity),this.levelRenderer=new Ui,this.renderer=this.levelRenderer.init(this.div),this.renderer.clear()}},{key:"destroyFeatures",value:function(e){if(e=void 0===e?this.features:e){this.removeFeatures(e);for(var t=(e=Array.isArray(e)?e:[e]).length-1;0<=t;t--)e[t].destroy()}}},{key:"setVisibility",value:function(e){e!==this.visibility&&(this.visibility=e,this.display(e),this.redrawThematicFeatures(this.map.getBounds()))}},{key:"display",value:function(e){this.div.style.display=e?"block":"none"}},{key:"setOpacity",value:function(e){var t;e!==this.opacity&&(this.opacity=e,t=this.div,D.modifyDOMElement(t,null,null,null,null,null,null,e),null!==this.map)&&u().Evented.prototype.fire("changelayer",{layer:this,property:"opacity"})}},{key:"addFeatures",value:function(e){}},{key:"removeFeatures",value:function(e){if(e){if(e===this.features)return this.removeAllFeatures();D.isArray(e)||"function"==typeof e||(e=[e]);for(var t=[],n=0;n<this.features.length;n++){var r=this.features[n];e&&"function"==typeof e?e(r)&&this.features.splice(n--,1):-1===D.indexOf(e,r)?t.push(r):this.features.splice(n--,1)}for(var i=[],o=0,a=this.features.length;o<a;o++)r=this.features[o],i.push(r);this.features=[],this.addFeatures(i),this.renderer&&this.redrawThematicFeatures(this.map.getBounds());var s=0==t.length;u().Evented.prototype.fire("featuresremoved",{features:t,succeed:s})}}},{key:"removeAllFeatures",value:function(){this.renderer&&this.renderer.clear(),this.features=[],u().Evented.prototype.fire("featuresremoved",{features:[],succeed:!0})}},{key:"getFeatures",value:function(e){for(var t=this.features.length,n=[],r=0;r<t;++r)(!e||"function"==typeof e&&e(this.features[r]))&&n.push(this.features[r]);return n}},{key:"getFeatureBy",value:function(e,t){var n,r=null;for(n in this.features)if(this.features[n][e]===t){r=this.features[n];break}return r}},{key:"getFeatureById",value:function(e){return this.getFeatureBy("id",e)}},{key:"getFeaturesByAttribute",value:function(e,t){var n,r,i=[];for(r in this.features)(n=this.features[r])&&n.attributes&&n.attributes[e]===t&&i.push(n);return i}},{key:"redrawThematicFeatures",value:function(e){}},{key:"on",value:function(e,t,n){return(this.renderer||this.map).on(e,t),this}},{key:"off",value:function(e,t,n){return this.renderer?this.renderer.un(e,t):this.map.off(e,t),this}},{key:"addTFEvents",value:function(){for(var e=this.TFEvents,t=e.length,n=0;n<t;n++)this.renderer.on(e[n][0],e[n][1])}},{key:"getLocalXY",value:function(e){var t,n=this.map;return(e instanceof P||e instanceof Ln)&&(t=[(t=n.project(new(u().LngLat)(e.x,e.y))).x,t.y]),t=e instanceof re?[(n=n.project(new(u().LngLat)(e.lon,e.lat))).x,n.y]:t}},{key:"toiClientFeature",value:function(e){D.isArray(e)||(e=[e]);for(var t=[],n=0;n<e.length;n++)if(e[n]instanceof Nn)t.push(e[n].toFeature());else if(e[n]instanceof et)t.push(e[n]);else if(-1!=["FeatureCollection","Feature","Geometry"].indexOf(e[n].type))var r=new En,t=t.concat(r.read(e[n]));else{if(!e[n].geometry||!e[n].geometry.parts)throw new Error("features's type is not be supported.");t.push(qi.fromJson(e[n]).toFeature())}return t}},{key:"toFeature",value:function(e){return this.toiClientFeature(e)}},{key:"moveEndEvent",value:function(){!this.loadWhileAnimating&&this.visibility&&(this.div.style.transform="",this.redrawThematicFeatures(this.map.getBounds()),this._show())}},{key:"moveStartEvent",value:function(){var e;!this.loadWhileAnimating&&this.visibility&&(this.startPitch=this.map.getPitch(),this.startBearing=this.map.getBearing(),e=this.map.project(new(u().LngLat)(0,0)),this.startMoveX=e.x,this.startMoveY=e.y)}},{key:"moveEvent",value:function(){var e,t,n,r;!this.loadWhileAnimating&&this.visibility?this.rotating||this.zooming||(0!==this.map.getPitch()&&this._hide(),this.mapContainer.style.perspective=this.map.transform.cameraToCenterDistance+"px",e=this.map.getPitch()-this.startPitch,t=-this.map.getBearing()+this.startBearing,n=(r=this.map.project(new(u().LngLat)(0,0))).x-this.startMoveX,r=r.y-this.startMoveY,this.div.style.transform="rotateX("+e+"deg) rotateZ("+t+"deg) translate3d("+n+"px, "+r+"px, 0px)"):this.redrawThematicFeatures(this.map.getBounds())}},{key:"zoomStartEvent",value:function(){!this.loadWhileAnimating&&this.visibility&&(this.zooming=!0,this._hide())}},{key:"zoomEndEvent",value:function(){!this.loadWhileAnimating&&this.visibility&&(this.zooming=!1,this._show())}},{key:"rotateStartEvent",value:function(){!this.loadWhileAnimating&&this.visibility&&(this.rotating=!0)}},{key:"rotateEvent",value:function(){var e,t;!this.loadWhileAnimating&&this.visibility&&(0!==this.map.getPitch()&&this._hide(),this.mapContainer.style.perspective=this.map.transform.cameraToCenterDistance+"px",e=this.map.getPitch()-this.startPitch,t=-this.map.getBearing()+this.startBearing,this.div.style.transform="rotateX("+e+"deg) rotateZ("+t+"deg)")}},{key:"rotateEndEvent",value:function(){!this.loadWhileAnimating&&this.visibility&&(this.rotating=!1,this._show())}},{key:"dragEndEvent",value:function(){!this.loadWhileAnimating&&this.visibility&&this._hide()}},{key:"resizeEvent",value:function(){this.mapContainer.style.perspective=this.map.transform.cameraToCenterDistance+"px";var e=this.map.getCanvas();this.div.style.width=e.style.width,this.div.style.height=e.style.height,this.div.width=parseInt(e.width),this.div.height=parseInt(e.height),this.renderer.resize()}},{key:"removeFromMap",value:function(){this.mapContainer.removeChild(this.div),this.removeAllFeatures()}},{key:"moveTo",value:function(e,t){var n=document.getElementById(this.div.id);(t=void 0===t||t)?(t=document.getElementById(e),n&&t&&t.parentNode.insertBefore(n,t)):(t=document.getElementById(e),n&&(t.nextSibling?t.parentNode.insertBefore(n,t.nextSibling):t.parentNode.appendChild(n)))}},{key:"_hide",value:function(){this.renderer.painter.root.style.display="none"}},{key:"_show",value:function(){this.renderer.painter.root.style.display="block"}}]),Object.defineProperty(i,"prototype",{writable:!1});var Ji=$i;function $i(e,t){if(!(this instanceof $i))throw new TypeError("Cannot call a class as a function");t=t||{};this.name=e,this.id=t.id||D.createUniqueID("themeLayer_"),this.opacity=t.opacity||1,this.visibility=!0,this.loadWhileAnimating=void 0===t.loadWhileAnimating||t.loadWhileAnimating,this.map=t.map||null,this.features=[],this.TFEvents=[],this.map&&this.map.addLayer(this)}function Zi(e){return(Zi="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})(e)}function eo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function to(){return(to="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ro(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function no(e,t){return(no=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ro(e){return(ro=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var io=function(){var e=o,t=Ji;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&no(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ro(n),t=(e=r?(e=ro(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Zi(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t,n){if(this instanceof o)return(e=i.call(this,e,n)).chartsSetting=n.chartsSetting||{},e.themeFields=n.themeFields||null,e.overlayWeightField=n.overlayWeightField||null,e.isOverLay=void 0===n.isOverLay||n.isOverLay,e.charts=n.charts||[],e.cache=n.cache||{},e.chartsType=t,e;throw new TypeError("Cannot call a class as a function")}return eo((e=o).prototype,[{key:"setChartsType",value:function(e){this.chartsType=e,this.redraw()}},{key:"addFeatures",value:function(e){!1!==u().Evented.prototype.fire("beforefeaturesadded",{features:e})&&(this.features=this.toiClientFeature(e),this.renderer)&&this.redrawThematicFeatures(this.map.getBounds())}},{key:"redrawThematicFeatures",value:function(){this.clearCache(),this.renderer.clearAll();for(var e=this.features,t=0,n=e.length;t<n;t++){var r=e[t],i=this.cache,o=r.id;i[o]||(i[o]=o,(i=this.createThematicFeature(r))&&this.overlayWeightField&&r.attributes[this.overlayWeightField]&&!isNaN(r.attributes[this.overlayWeightField])&&(i.__overlayWeight=r.attributes[this.overlayWeightField]),i&&this.charts.push(i))}this.drawCharts()}},{key:"createThematicFeature",value:function(e){var t;return!!(t=Dn[this.chartsType]&&this.themeFields&&this.chartsSetting?new Dn[this.chartsType](e,this,this.themeFields,this.chartsSetting):t)&&(t.assembleShapes(),t)}},{key:"drawCharts",value:function(){if(this.renderer){var e=this.charts;if(this.overlayWeightField&&e.sort(function(e,t){return void 0===e.__overlayWeight&&void 0===t.__overlayWeight?0:void 0!==e.__overlayWeight&&void 0===t.__overlayWeight?-1:void 0===e.__overlayWeight&&void 0!==t.__overlayWeight?1:void 0!==e.__overlayWeight&&void 0!==t.__overlayWeight?parseFloat(e.__overlayWeight)<parseFloat(t.__overlayWeight)?1:-1:0}),this.isOverLay)for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n],o=i.resetLocation(),a=i.chartBounds,s=[{x:a.left,y:a.top},{x:a.left,y:a.bottom},{x:a.right,y:a.bottom},{x:a.right,y:a.top},{x:a.left,y:a.top}],l=!1;if(0!==n)for(var u=0;u<t.length;u++)if(this.isQuadrilateralOverLap(s,t[u])){l=!0;break}if(!l){t.push(s);for(var c=i.shapes,f=0,h=c.length;f<h;f++)c[f].refOriginalPosition=o,this.renderer.addShape(c[f])}}else for(var d=0,p=e.length;d<p;d++)for(var y=e[d],m=y.resetLocation(),g=y.shapes,v=0,b=g.length;v<b;v++)g[v].refOriginalPosition=m,this.renderer.addShape(g[v]);this.renderer.render()}}},{key:"getShapesByFeatureID",value:function(e){var t=[],n=this.renderer.getAllShapes();if(!e)return n;for(var r=0,i=n.length;r<i;r++){var o=n[r];o.refDataID&&e===o.refDataID&&t.push(o)}return t}},{key:"isQuadrilateralOverLap",value:function(e,t){var n=e.length,r=t.length;if(5!==n||5!==r)return null;for(var i=!1,o=0;o<n;o++)if(this.isPointInPoly(e[o],t)){i=!0;break}for(var a=0;a<r;a++)if(this.isPointInPoly(t[a],e)){i=!0;break}for(var s=0;s<n-1&&!i;s++)for(var l=0;l<r-1;l++)if("SuperMap.Geometry.Point"===D.lineIntersection(e[s],e[s+1],t[l],t[l+1]).CLASS_NAME){i=!0;break}return i}},{key:"isPointInPoly",value:function(e,t){for(var n=!1,r=-1,i=t.length,o=i-1;++r<i;o=r)(t[r].y<=e.y&&e.y<t[o].y||t[o].y<=e.y&&e.y<t[r].y)&&e.x<(t[o].x-t[r].x)*(e.y-t[r].y)/(t[o].y-t[r].y)+t[r].x&&(n=!n);return n}},{key:"isChartInMap",value:function(e,t){for(var n=e,r=!1,i=0,o=t.length;i<o;i++){var a=t[i];if(a.x>=n.left&&a.x<=n.right&&a.y>=n.top&&a.y<=n.bottom){r=!0;break}}return r}},{key:"clearCache",value:function(){this.cache={},this.charts=[]}},{key:"removeFeatures",value:function(e){this.clearCache(),to(ro(o.prototype),"removeFeatures",this).call(this,e)}},{key:"removeAllFeatures",value:function(){this.clearCache(),to(ro(o.prototype),"removeAllFeatures",this).call(this)}},{key:"redraw",value:function(){return this.clearCache(),!!this.renderer&&(this.redrawThematicFeatures(this.map.getBounds()),!0)}},{key:"clear",value:function(){this.renderer&&(this.renderer.clearAll(),this.renderer.refresh()),this.removeAllFeatures(),this.clearCache()}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function oo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}oo((ur=so).prototype,[{key:"destroy",value:function(){this.refOriginalPosition=null,this.refDataID=null,this.isHoverByRefDataID=null,this.refDataHoverGroup=null,this.dataInfo=null,this.clickable=null,this.hoverable=null,this.style=null,this.highlightStyle=null}}]),Object.defineProperty(ur,"prototype",{writable:!1});var ao=so;function so(){if(!(this instanceof so))throw new TypeError("Cannot call a class as a function");this.refOriginalPosition=[0,0],this.refDataID=null,this.isHoverByRefDataID=!1,this.refDataHoverGroup=null,this.dataInfo=null,this.clickable=!0,this.hoverable=!0,this.style=null,this.highlightStyle={},this.CLASS_NAME="SuperMap.Feature.ShapeParameters"}function lo(e){return(lo="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})(e)}function uo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function co(){return(co="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ho(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function fo(e,t){return(fo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ho(e){return(ho=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var po=function(){var e=o,t=ao;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),fo(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ho(n),t=(e=r?(e=ho(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==lo(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t)).x=isNaN(e)?0:e,n.y=isNaN(t)?0:t,n.r=6,n.CLASS_NAME="SuperMap.Feature.ShapeParameters.Point",n;throw new TypeError("Cannot call a class as a function")}return uo((e=o).prototype,[{key:"destroy",value:function(){this.x=null,this.y=null,this.r=null,co(ho(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function yo(e){return(yo="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})(e)}function mo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function go(){return(go="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=bo(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function vo(e,t){return(vo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function bo(e){return(bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _o=function(){var e=o,t=ao;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),vo(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=bo(n),t=(e=r?(e=bo(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==yo(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).pointList=e,t.CLASS_NAME="SuperMap.Feature.ShapeParameters.Line",t;throw new TypeError("Cannot call a class as a function")}return mo((e=o).prototype,[{key:"destroy",value:function(){this.pointList=null,go(bo(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function xo(e){return(xo="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})(e)}function wo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ao(){return(Ao="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Co(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function So(e,t){return(So=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Co(e){return(Co=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oo=function(){var e=o,t=ao;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),So(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Co(n),t=(e=r?(e=Co(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==xo(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).pointList=e,t.holePolygonPointLists=null,t.CLASS_NAME="SuperMap.Feature.ShapeParameters.Polygon",t;throw new TypeError("Cannot call a class as a function")}return wo((e=o).prototype,[{key:"destroy",value:function(){this.pointList=null,this.holePolygonPointLists=null,Ao(Co(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Eo(e){return(Eo="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})(e)}function Mo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Po(){return(Po="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=To(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ko(e,t){return(ko=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function To(e){return(To=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Io=function(){var e=a,t=ao;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),ko(e,t);n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,o=function(){var e,t=To(n),t=(e=r?(e=To(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Eo(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function a(e,t,n,r){var i;if(this instanceof a)return(i=o.call(this,e,t,n,r)).x=isNaN(e)?0:e,i.y=isNaN(e)?0:t,i.width=isNaN(n)?0:n,i.height=isNaN(r)?0:r,i.CLASS_NAME="SuperMap.Feature.ShapeParameters.Rectangle",i;throw new TypeError("Cannot call a class as a function")}return Mo((e=a).prototype,[{key:"destroy",value:function(){this.x=null,this.y=null,this.width=null,this.height=null,Po(To(a.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),a}();function Lo(e){return(Lo="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})(e)}function jo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Do(){return(Do="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ro(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Bo(e,t){return(Bo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ro(e){return(Ro=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var No=function(){var e=u,t=ao;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Bo(e,t);n=u,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,l=function(){var e,t=Ro(n),t=(e=r?(e=Ro(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Lo(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function u(e,t,n,r,i,o,a){var s;if(this instanceof u)return(s=l.call(this,e,t,n,r,i,o,a)).x=isNaN(e)?0:e,s.y=isNaN(t)?0:t,s.r=isNaN(n)?0:n,s.startAngle=isNaN(r)?0:r,s.endAngle=isNaN(i)?0:i,s.r0=isNaN(o)?0:o,s.clockWise=a,s.CLASS_NAME="SuperMap.Feature.ShapeParameters.Sector",s;throw new TypeError("Cannot call a class as a function")}return jo((e=u).prototype,[{key:"destroy",value:function(){this.x=null,this.y=null,this.r=null,this.startAngle=null,this.endAngle=null,this.r0=null,this.clockWise=null,Do(Ro(u.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),u}();function zo(e){return(zo="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})(e)}function Fo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vo(){return(Vo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Yo(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Ho(e,t){return(Ho=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Yo(e){return(Yo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Go=function(){var e=o,t=ao;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Ho(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Yo(n),t=(e=r?(e=Yo(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==zo(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t,n){var r;if(this instanceof o)return(r=i.call(this,e,t,n)).x=e,r.y=t,r.text=n,r.CLASS_NAME="SuperMap.Feature.ShapeParameters.Label",r;throw new TypeError("Cannot call a class as a function")}return Fo((e=o).prototype,[{key:"destroy",value:function(){this.x=null,this.y=null,this.text=null,Vo(Yo(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Uo(e){return(Uo="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})(e)}function Qo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wo(){return(Wo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ko(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function qo(e,t){return(qo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ko(e){return(Ko=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xo=function(){var e=f,t=ao;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),qo(e,t);n=f,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,c=function(){var e,t=Ko(n),t=(e=r?(e=Ko(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Uo(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function f(e,t,n,r,i,o,a,s,l){var u;if(this instanceof f)return(u=c.call(this,e,t,n,r,i,o,a,s,l)).x=e,u.y=t,u.image=n,u.width=r,u.height=i,u.sx=o,u.sy=a,u.sWidth=s,u.sHeight=l,u.CLASS_NAME="SuperMap.Feature.ShapeParameters.Image",u;throw new TypeError("Cannot call a class as a function")}return Qo((e=f).prototype,[{key:"destroy",value:function(){this.x=null,this.y=null,this.image=null,this.width=null,this.height=null,this.sx=null,this.sy=null,this.sWidth=null,this.sHeight=null,Wo(Ko(f.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),f}();function Jo(e){return(Jo="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})(e)}function $o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zo(){return(Zo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ta(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ea(e,t){return(ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ta(e){return(ta=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var na=function(){var e=o,t=ao;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),ea(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ta(n),t=(e=r?(e=ta(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Jo(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t,n){var r;if(this instanceof o)return(r=i.call(this,e,t,n)).x=isNaN(e)?0:e,r.y=isNaN(t)?0:t,r.r=isNaN(n)?0:n,r.CLASS_NAME="SuperMap.Feature.ShapeParameters.Circle",r;throw new TypeError("Cannot call a class as a function")}return $o((e=o).prototype,[{key:"destroy",value:function(){this.x=null,this.y=null,this.r=null,Zo(ta(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ra(e){return(ra="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})(e)}function ia(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oa(){return(oa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=sa(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function aa(e,t){return(aa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function sa(e){return(sa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var la=function(){var e=o,t=ii;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&aa(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=sa(n),t=(e=r?(e=sa(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==ra(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).type="smicpoint",e.refOriginalPosition&&2===e.refOriginalPosition.length||(e.refOriginalPosition=[0,0]),e.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicPoint",e;throw new TypeError("Cannot call a class as a function")}return ia((e=o).prototype,[{key:"destroy",value:function(){this.type=null,oa(sa(o.prototype),"destroy",this).call(this)}},{key:"buildPath",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var n=this.refOriginalPosition;e.arc(t.x+n[0],t.y+n[1],t.r,0,2*Math.PI,!0)}},{key:"getRect",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,n=this.refOriginalPosition;return e.__rect||(t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x+n[0]-e.r-t/2),y:Math.round(e.y+n[1]-e.r-t/2),width:2*e.r+t,height:2*e.r+t},e.__rect)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ua(e){return(ua="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})(e)}function ca(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fa(){return(fa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=da(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ha(e,t){return(ha=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function da(e){return(da=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var pa=function(){var e=o,t=ii;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ha(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=da(n),t=(e=r?(e=da(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==ua(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).type="smictext",e.refOriginalPosition&&2===e.refOriginalPosition.length||(e.refOriginalPosition=[0,0]),e.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicText",e;throw new TypeError("Cannot call a class as a function")}return ca((e=o).prototype,[{key:"destroy",value:function(){this.type=null,fa(da(o.prototype),"destroy",this).call(this)}},{key:"brush",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var n=this.refOriginalPosition,r=this.style;if(void 0!==(r=t?this.getHighlightStyle(r,this.highlightStyle||{}):r).text&&!1!==r.text){e.save(),this.doClip(e),this.setContext(e,r),this.setTransform(e),r.textFont&&(e.font=r.textFont),e.textAlign=r.textAlign||"start",e.textBaseline=r.textBaseline||"middle";for(var i=(r.text+"").split("\n"),o=M.Util_area.getTextHeight("ZH",r.textFont),a=this.getRectNoRotation(r),s=r.x+n[0],l="top"==r.textBaseline?a.y:"bottom"==r.textBaseline?a.y+o:a.y+o/2,u=r.x+n[0],c=r.y+n[1],f=0,h=i.length;f<h;f++){switch(r.labelRect&&(e.fillRect(a.x-2,a.y,a.width+4,a.height),e.fillStyle=r.strokeColor,e.strokeRect(a.x-2,a.y,a.width+4,a.height),e.fillStyle=r.textColor),r.brushType){case"stroke":this.setCtxGlobalAlpha(e,"stroke",r),r.textRotation&&0!==r.textRotation?(e.save(),e.translate(u,c),e.rotate(r.textRotation*Math.PI/180),"top"==r.textBaseline?r.maxWidth?e.strokeText(i[f],0,o*f,r.maxWidth):e.strokeText(i[f],0,o*f):"bottom"==r.textBaseline?r.maxWidth?e.strokeText(i[f],0,o*(f+1)-a.height,r.maxWidth):e.strokeText(i[f],0,o*(f+1)-a.height):r.maxWidth?e.strokeText(i[f],0,o*(f+1)-a.height/2-o/2,r.maxWidth):e.strokeText(i[f],0,o*(f+1)-a.height/2-o/2),e.restore()):r.maxWidth?e.strokeText(i[f],s,l,r.maxWidth):e.strokeText(i[f],s,l),this.setCtxGlobalAlpha(e,"reset",r);break;case"both":r.textRotation&&0!==r.textRotation?(e.save(),e.translate(u,c),e.rotate(r.textRotation*Math.PI/180),"top"==r.textBaseline?r.maxWidth?(this.setCtxGlobalAlpha(e,"fill",r),e.fillText(i[f],0,o*f,r.maxWidth),this.setCtxGlobalAlpha(e,"reset",r),this.setCtxGlobalAlpha(e,"stroke",r),e.strokeText(i[f],0,o*f,r.maxWidth)):(this.setCtxGlobalAlpha(e,"fill",r),e.fillText(i[f],0,o*f),this.setCtxGlobalAlpha(e,"reset",r),this.setCtxGlobalAlpha(e,"stroke",r),e.strokeText(i[f],0,o*f)):"bottom"==r.textBaseline?r.maxWidth?(this.setCtxGlobalAlpha(e,"fill",r),e.fillText(i[f],0,o*(f+1)-a.height,r.maxWidth),this.setCtxGlobalAlpha(e,"reset",r),this.setCtxGlobalAlpha(e,"stroke",r),e.strokeText(i[f],0,o*(f+1)-a.height,r.maxWidth)):(this.setCtxGlobalAlpha(e,"fill",r),e.fillText(i[f],0,o*(f+1)-a.height),this.setCtxGlobalAlpha(e,"reset",r),this.setCtxGlobalAlpha(e,"stroke",r),e.strokeText(i[f],0,o*(f+1)-a.height)):r.maxWidth?(this.setCtxGlobalAlpha(e,"fill",r),e.fillText(i[f],0,o*(f+1)-a.height/2-o/2,r.maxWidth),this.setCtxGlobalAlpha(e,"reset",r),this.setCtxGlobalAlpha(e,"stroke",r),e.strokeText(i[f],0,o*(f+1)-a.height/2-o/2,r.maxWidth)):(this.setCtxGlobalAlpha(e,"fill",r),e.fillText(i[f],0,o*(f+1)-a.height/2-o/2),this.setCtxGlobalAlpha(e,"reset",r),this.setCtxGlobalAlpha(e,"stroke",r),e.strokeText(i[f],0,o*(f+1)-a.height/2-o/2)),this.setCtxGlobalAlpha(e,"reset",r),e.restore()):(r.maxWidth?(this.setCtxGlobalAlpha(e,"fill",r),e.fillText(i[f],s,l,r.maxWidth),this.setCtxGlobalAlpha(e,"reset",r),this.setCtxGlobalAlpha(e,"stroke",r),e.strokeText(i[f],s,l,r.maxWidth)):(this.setCtxGlobalAlpha(e,"fill",r),e.fillText(i[f],s,l),this.setCtxGlobalAlpha(e,"reset",r),this.setCtxGlobalAlpha(e,"stroke",r),e.strokeText(i[f],s,l)),this.setCtxGlobalAlpha(e,"reset",r));break;default:this.setCtxGlobalAlpha(e,"fill",r),r.textRotation&&0!==r.textRotation?(e.save(),e.translate(u,c),e.rotate(r.textRotation*Math.PI/180),"top"==r.textBaseline?r.maxWidth?e.fillText(i[f],0,o*f,r.maxWidth):e.fillText(i[f],0,o*f):"bottom"==r.textBaseline?r.maxWidth?e.fillText(i[f],0,o*(f+1)-a.height,r.maxWidth):e.fillText(i[f],0,o*(f+1)-a.height):r.maxWidth?e.fillText(i[f],0,o*(f+1)-a.height/2-o/2,r.maxWidth):e.fillText(i[f],0,o*(f+1)-a.height/2-o/2),e.restore()):r.maxWidth?e.fillText(i[f],s,l,r.maxWidth):e.fillText(i[f],s,l),this.setCtxGlobalAlpha(e,"reset",r)}l+=o}e.restore()}}},{key:"getRect",value:function(e){if(!e.__rect){for(var t,n,r,i,o=this.getTextBackground(e,!0),a=0,s=o.length;a<s;a++){var l=o[a];0==a?(t=l[0],r=l[0],n=l[1],i=l[1]):(l[0]<t&&(t=l[0]),l[0]>r&&(r=l[0]),l[1]<n&&(n=l[1]),l[1]>i&&(i=l[1]))}e.__rect={x:t,y:n,width:r-t,height:i-n}}return e.__rect}},{key:"getRectNoRotation",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,n,r=this.refOriginalPosition,i=M.Util_area.getTextHeight("ZH",e.textFont),o=M.Util_area.getTextWidth(e.text,e.textFont),a=M.Util_area.getTextHeight(e.text,e.textFont),s=e.x+r[0],l=("end"==e.textAlign||"right"==e.textAlign?s-=o:"center"==e.textAlign&&(s-=o/2),"top"==e.textBaseline?e.y+r[1]:"bottom"==e.textBaseline?e.y+r[1]-a:e.y+r[1]-a/2),u=!1;return e.maxWidth&&((n=parseInt(e.maxWidth))<o&&(t=o,u=!0,o=n),s=e.x+r[0],"end"==e.textAlign||"right"==e.textAlign?s-=o:"center"==e.textAlign&&(s-=o/2)),e.textFont&&-1<e.textFont.toLowerCase().indexOf("italic")&&(o+=!0===u?i/3*(o/t):i/3),{x:s,y:l,width:o,height:a}}},{key:"getTextBackground",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var n,r,i,o,a,s,l=this.refOriginalPosition;return!t&&e.__textBackground||(t=this.getRectNoRotation(e),i=e.x+l[0],l=e.y+l[1],n=[],e.textRotation&&0!==e.textRotation?(o=e.textRotation,a=this.getRotatedLocation(t.x,t.y,i,l,o),s=this.getRotatedLocation(t.x+t.width,t.y,i,l,o),r=this.getRotatedLocation(t.x+t.width,t.y+t.height,i,l,o),i=this.getRotatedLocation(t.x,t.y+t.height,i,l,o),n.push(a),n.push(s),n.push(r),n.push(i)):(l=[t.x,t.y],o=[t.x+t.width,t.y],a=[t.x+t.width,t.y+t.height],s=[t.x,t.y+t.height],n.push(l),n.push(o),n.push(a),n.push(s)),e.__textBackground=n),e.__textBackground}},{key:"getRotatedLocation",value:function(e,t,n,r,i){var o,a=new Array;return t=-t,r=-r,i=-i,o=(e-n)*Math.cos(i/180*Math.PI)-(t-r)*Math.sin(i/180*Math.PI)+n,e=(e-n)*Math.sin(i/180*Math.PI)+(t-r)*Math.cos(i/180*Math.PI)+r,a[0]=o,a[1]=-e,a}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ya(e){return(ya="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})(e)}function ma(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ga(){return(ga="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ba(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function va(e,t){return(va=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ba(e){return(ba=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _a=function(){var e=o,t=ii;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&va(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ba(n),t=(e=r?(e=ba(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==ya(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).type="smiccircle",e.refOriginalPosition&&2===e.refOriginalPosition.length||(e.refOriginalPosition=[0,0]),e.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicCircle",e;throw new TypeError("Cannot call a class as a function")}return ma((e=o).prototype,[{key:"destroy",value:function(){this.type=null,ga(ba(o.prototype),"destroy",this).call(this)}},{key:"buildPath",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var n=this.refOriginalPosition,r=t.x+n[0],n=t.y+n[1];return e.moveTo(r+t.r,n),e.arc(r,n,t.r,0,2*Math.PI,!0),!0}},{key:"getRect",value:function(e){var t,n,r,i;return e.__rect||(this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),n=this.refOriginalPosition,t=e.x+n[0],n=e.y+n[1],r=e.r,i="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(t-r-i/2),y:Math.round(n-r-i/2),width:2*r+i,height:2*r+i}),e.__rect}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function xa(e){return(xa="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})(e)}function wa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Aa(){return(Aa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ca(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Sa(e,t){return(Sa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ca(e){return(Ca=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oa=function(){var e=o,t=ii;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sa(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ca(n),t=(e=r?(e=Ca(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==xa(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).type="smicpolygon",e.holePolygonPointLists=null,e.refOriginalPosition&&2===e.refOriginalPosition.length||(e.refOriginalPosition=[0,0]),e.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicPolygon",e;throw new TypeError("Cannot call a class as a function")}return wa((e=o).prototype,[{key:"destroy",value:function(){this.type=null,this.holePolygonPointLists=null,Aa(Ca(o.prototype),"destroy",this).call(this)}},{key:"brush",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var n=this.style,r=(t&&(n=this.getHighlightStyle(n,this.highlightStyle||{})),e.save(),this.setContext(e,n),this.setTransform(e),!1),i=("fill"!=n.brushType&&"both"!=n.brushType&&void 0!==n.brushType||(e.beginPath(),"dashed"==n.lineType||"dotted"==n.lineType||"dot"==n.lineType||"dash"==n.lineType||"dashdot"==n.lineType||"longdash"==n.lineType||"longdashdot"==n.lineType?this.buildPath(e,{lineType:"solid",lineWidth:n.lineWidth,pointList:n.pointList}):(this.buildPath(e,n),r=!0),e.closePath(),this.setCtxGlobalAlpha(e,"fill",n),e.fill(),this.setCtxGlobalAlpha(e,"reset",n)),0<n.lineWidth&&("stroke"==n.brushType||"both"==n.brushType)&&(r||(e.beginPath(),this.buildPath(e,n)),this.setCtxGlobalAlpha(e,"stroke",n),e.stroke(),this.setCtxGlobalAlpha(e,"reset",n)),this.drawText(e,n,this.style),D.cloneObject(n));if(i.pointList&&this.holePolygonPointLists&&0<this.holePolygonPointLists.length)for(var o=this.holePolygonPointLists,a=o.length,s=0;s<a;s++){var l=o[s];i.pointList=l,r=!(e.globalCompositeOperation="destination-out"),"fill"!=i.brushType&&"both"!=i.brushType&&void 0!==i.brushType||(e.beginPath(),"dashed"==i.lineType||"dotted"==i.lineType||"dot"==i.lineType||"dash"==i.lineType||"dashdot"==i.lineType||"longdash"==i.lineType||"longdashdot"==i.lineType?this.buildPath(e,{lineType:"solid",lineWidth:i.lineWidth,pointList:i.pointList}):(this.buildPath(e,i),r=!0),e.closePath(),this.setCtxGlobalAlpha(e,"fill",i),e.fill(),this.setCtxGlobalAlpha(e,"reset",i)),0<i.lineWidth&&("stroke"==i.brushType||"both"==i.brushType)?(r||(e.beginPath(),this.buildPath(e,i)),e.globalCompositeOperation="source-over",this.setCtxGlobalAlpha(e,"stroke",i),e.stroke(),this.setCtxGlobalAlpha(e,"reset",i)):e.globalCompositeOperation="source-over"}e.restore()}},{key:"buildPath",value:function(e,t){t.showShadow&&(e.shadowBlur=t.shadowBlur,e.shadowColor=t.shadowColor,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY),this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var n=this.refOriginalPosition,r=t.pointList;if(!(r.length<2))if(t.smooth&&"spline"!==t.smooth){var i,o,a,s=M.SUtil_smoothBezier(r,t.smooth,!0,t.smoothConstraint,n);e.moveTo(r[0][0]+n[0],r[0][1]+n[1]);for(var l=r.length,u=0;u<l;u++)i=s[2*u],o=s[2*u+1],a=[r[(u+1)%l][0]+n[0],r[(u+1)%l][1]+n[1]],e.bezierCurveTo(i[0],i[1],o[0],o[1],a[0],a[1])}else if("spline"===t.smooth&&(r=M.SUtil_smoothSpline(r,!0,null,n)),t.lineType&&"solid"!=t.lineType){if("dashed"===t.lineType||"dotted"===t.lineType||"dot"===t.lineType||"dash"===t.lineType||"longdash"===t.lineType){var c=t._dashLength||(t.lineWidth||1)*("dashed"==t.lineType?5:1),f=(t._dashLength=c,t.lineWidth||1),h=f,d=f;"dashed"===t.lineType&&(h*=5,d*=5,t.lineCap)&&"butt"!==t.lineCap&&(h-=f,d+=f),"dotted"===t.lineType&&t.lineCap&&"butt"!==t.lineCap&&(h=1,d+=f),"dot"===t.lineType&&(d*=4,t.lineCap)&&"butt"!==t.lineCap&&(h=1,d+=f),"dash"===t.lineType&&(h*=4,d*=4,t.lineCap)&&"butt"!==t.lineCap&&(h-=f,d+=f),"longdash"===t.lineType&&(h*=8,d*=4,t.lineCap)&&"butt"!==t.lineCap&&(h-=f,d+=f),e.moveTo(r[0][0]+n[0],r[0][1]+n[1]);for(var p=1;p<r.length;p++)M.SUtil_dashedLineTo(e,r[p-1][0]+n[0],r[p-1][1]+n[1],r[p][0]+n[0],r[p][1]+n[1],f,[h,d]);M.SUtil_dashedLineTo(e,r[r.length-1][0]+n[0],r[r.length-1][1]+n[1],r[0][0]+n[0],r[0][1]+n[1],f,[h,d])}else if("dashdot"===t.lineType||"longdashdot"===t.lineType){var c=t._dashLength||(t.lineWidth||1)*("dashed"==t.lineType?5:1),y=(t._dashLength=c,t.lineWidth||1),m=y,g=y,v=y,b=y;"dashdot"===t.lineType&&(m*=4,g*=4,b*=4,t.lineCap)&&"butt"!==t.lineCap&&(m-=y,g+=y,v=1,b+=y),"longdashdot"===t.lineType&&(m*=8,g*=4,b*=4,t.lineCap)&&"butt"!==t.lineCap&&(m-=y,g+=y,v=1,b+=y),e.moveTo(r[0][0]+n[0],r[0][1]+n[1]);for(var _=1;_<r.length;_++)M.SUtil_dashedLineTo(e,r[_-1][0]+n[0],r[_-1][1]+n[1],r[_][0]+n[0],r[_][1]+n[1],y,[m,g,v,b]);M.SUtil_dashedLineTo(e,r[r.length-1][0]+n[0],r[r.length-1][1]+n[1],r[0][0]+n[0],r[0][1]+n[1],y,[m,g,v,b])}}else{e.moveTo(r[0][0]+n[0],r[0][1]+n[1]);for(var x=1;x<r.length;x++)e.lineTo(r[x][0]+n[0],r[x][1]+n[1]);e.lineTo(r[0][0]+n[0],r[0][1]+n[1])}}},{key:"getRect",value:function(e,t){var n=t||(this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.refOriginalPosition);if(!e.__rect){for(var r=Number.MAX_VALUE,i=Number.MIN_VALUE,o=Number.MAX_VALUE,a=Number.MIN_VALUE,s=e.pointList,l=0,u=s.length;l<u;l++)s[l][0]+n[0]<r&&(r=s[l][0]+n[0]),s[l][0]+n[0]>i&&(i=s[l][0]+n[0]),s[l][1]+n[1]<o&&(o=s[l][1]+n[1]),s[l][1]+n[1]>a&&(a=s[l][1]+n[1]);t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(r-t/2),y:Math.round(o-t/2),width:i-r+t,height:a-o+t}}return e.__rect}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Ea(e){return(Ea="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})(e)}function Ma(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pa(){return(Pa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ta(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ka(e,t){return(ka=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ta(e){return(Ta=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ia=function(){var e=o,t=ii;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ka(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ta(n),t=(e=r?(e=Ta(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Ea(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).brushTypeOnly="stroke",e.textPosition="end",e.type="smicbroken-line",e.refOriginalPosition&&2===e.refOriginalPosition.length||(e.refOriginalPosition=[0,0]),e.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicBrokenLine",e;throw new TypeError("Cannot call a class as a function")}return Ma((e=o).prototype,[{key:"destroy",value:function(){this.brushTypeOnly=null,this.textPosition=null,this.type=null,Pa(Ta(o.prototype),"destroy",this).call(this)}},{key:"buildPath",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var n=this.refOriginalPosition,r=t.pointList;if(!(r.length<2)){var i=Math.min(t.pointList.length,Math.round(t.pointListLength||t.pointList.length));if(t.smooth&&"spline"!==t.smooth){var o,a,s,l=M.SUtil_smoothBezier(r,t.smooth,!1,t.smoothConstraint,n);e.moveTo(r[0][0]+n[0],r[0][1]+n[1]);for(var u=0;u<i-1;u++)o=l[2*u],a=l[2*u+1],s=[r[u+1][0]+n[0],r[u+1][1]+n[1]],e.bezierCurveTo(o[0],o[1],a[0],a[1],s[0],s[1])}else if("spline"===t.smooth&&(i=(r=M.SUtil_smoothSpline(r,null,null,n)).length),t.lineType&&"solid"!==t.lineType){if("dashed"===t.lineType||"dotted"===t.lineType||"dot"===t.lineType||"dash"===t.lineType||"longdash"===t.lineType){var c=t.lineWidth||1,f=c,h=c;"dashed"===t.lineType&&(f*=5,h*=5,t.lineCap)&&"butt"!==t.lineCap&&(f-=c,h+=c),"dotted"===t.lineType&&t.lineCap&&"butt"!==t.lineCap&&(f=1,h+=c),"dot"===t.lineType&&(h*=4,t.lineCap)&&"butt"!==t.lineCap&&(f=1,h+=c),"dash"===t.lineType&&(f*=4,h*=4,t.lineCap)&&"butt"!==t.lineCap&&(f-=c,h+=c),"longdash"===t.lineType&&(f*=8,h*=4,t.lineCap)&&"butt"!==t.lineCap&&(f-=c,h+=c),e.moveTo(r[0][0]+n[0],r[0][1]+n[1]);for(var d=1;d<i;d++)M.SUtil_dashedLineTo(e,r[d-1][0]+n[0],r[d-1][1]+n[1],r[d][0]+n[0],r[d][1]+n[1],c,[f,h])}else if("dashdot"===t.lineType||"longdashdot"===t.lineType){var p=t.lineWidth||1,y=p,m=p,g=p,v=p;"dashdot"===t.lineType&&(y*=4,m*=4,v*=4,t.lineCap)&&"butt"!==t.lineCap&&(y-=p,m+=p,g=1,v+=p),"longdashdot"===t.lineType&&(y*=8,m*=4,v*=4,t.lineCap)&&"butt"!==t.lineCap&&(y-=p,m+=p,g=1,v+=p),p=(t.lineWidth||1)*("dashed"===t.lineType?5:1),e.moveTo(r[0][0]+n[0],r[0][1]+n[1]);for(var b=1;b<i;b++)M.SUtil_dashedLineTo(e,r[b-1][0]+n[0],r[b-1][1]+n[1],r[b][0]+n[0],r[b][1]+n[1],p,[y,m,g,v])}}else{e.moveTo(r[0][0]+n[0],r[0][1]+n[1]);for(var _=1;_<i;_++)e.lineTo(r[_][0]+n[0],r[_][1]+n[1])}}}},{key:"getRect",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t=this.refOriginalPosition;return Oa.prototype.getRect.apply(this,[e,t])}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function La(e){return(La="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})(e)}function ja(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Da(){return(Da="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ra(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Ba(e,t){return(Ba=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ra(e){return(Ra=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Na=function(){var e=o,t=ii;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ba(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ra(n),t=(e=r?(e=Ra(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==La(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).type="smicrectangle",e.refOriginalPosition&&2===e.refOriginalPosition.length||(e.refOriginalPosition=[0,0]),e.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicRectangle",e;throw new TypeError("Cannot call a class as a function")}return ja((e=o).prototype,[{key:"destroy",value:function(){this.type=null,Da(Ra(o.prototype),"destroy",this).call(this)}},{key:"_buildRadiusPath",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var n,r,i,o,a,s=this.refOriginalPosition,l=t.x+s[0],s=t.y+s[1],u=t.width,c=t.height,t=t.radius;"number"==typeof t?n=r=i=o=t:t instanceof Array?1===t.length?n=r=i=o=t[0]:2===t.length?(n=i=t[0],r=o=t[1]):3===t.length?(n=t[0],r=o=t[1],i=t[2]):(n=t[0],r=t[1],i=t[2],o=t[3]):n=r=i=o=0,u<n+r&&(n*=u/(a=n+r),r*=u/a),u<i+o&&(i*=u/(a=i+o),o*=u/a),c<r+i&&(r*=c/(a=r+i),i*=c/a),c<n+o&&(n*=c/(a=n+o),o*=c/a),e.moveTo(l+n,s),e.lineTo(l+u-r,s),0!==r&&e.quadraticCurveTo(l+u,s,l+u,s+r),e.lineTo(l+u,s+c-i),0!==i&&e.quadraticCurveTo(l+u,s+c,l+u-i,s+c),e.lineTo(l+o,s+c),0!==o&&e.quadraticCurveTo(l,s+c,l,s+c-o),e.lineTo(l,s+n),0!==n&&e.quadraticCurveTo(l,s,l+n,s)}},{key:"buildPath",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var n=this.refOriginalPosition;t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x+n[0],t.y+n[1]),e.lineTo(t.x+n[0]+t.width,t.y+n[1]),e.lineTo(t.x+n[0]+t.width,t.y+n[1]+t.height),e.lineTo(t.x+n[0],t.y+n[1]+t.height),e.lineTo(t.x+n[0],t.y+n[1])),e.closePath()}},{key:"getRect",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,n=this.refOriginalPosition;return e.__rect||(t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x+n[0]-t/2),y:Math.round(e.y+n[1]-t/2),width:e.width+t,height:e.height+t},e.__rect)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function za(e){return(za="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})(e)}function Fa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Va(){return(Va="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ya(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Ha(e,t){return(Ha=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ya(e){return(Ya=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ga=function(){var e=o,t=ii;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ha(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ya(n),t=(e=r?(e=Ya(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==za(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).type="smicsector",e.refOriginalPosition&&2===e.refOriginalPosition.length||(e.refOriginalPosition=[0,0]),e.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicSector",e;throw new TypeError("Cannot call a class as a function")}return Fa((e=o).prototype,[{key:"destroy",value:function(){this.type=null,Va(Ya(o.prototype),"destroy",this).call(this)}},{key:"buildPath",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var n=this.refOriginalPosition,r=t.x+n[0],n=t.y+n[1],i=t.r0||0,o=t.r,a=t.startAngle,s=t.endAngle,t=t.clockWise||!1,a=M.Util_math.degreeToRadian(a),s=M.Util_math.degreeToRadian(s),l=(t||(a=-a,s=-s),M.Util_math.cos(a)),u=M.Util_math.sin(a);e.moveTo(l*i+r,u*i+n),e.lineTo(l*o+r,u*o+n),e.arc(r,n,o,a,s,!t),e.lineTo(M.Util_math.cos(s)*i+r,M.Util_math.sin(s)*i+n),0!==i&&e.arc(r,n,i,s,a,t),e.closePath()}},{key:"getRect",value:function(e){var t,n,r,i,o,a,s,l,u,c,f;return e.__rect||(this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),a=this.refOriginalPosition,t=M.Util_vector.create(),n=M.Util_vector.create(),r=M.Util_vector.create(),i=M.Util_vector.create(),o=e.x+a[0],a=e.y+a[1],s=e.r0||0,l=e.r,u=M.Util_math.degreeToRadian(e.startAngle),c=M.Util_math.degreeToRadian(e.endAngle),(f=e.clockWise)||(u=-u,c=-c),1<s?M.Util_computeBoundingBox.arc(o,a,s,u,c,!f,t,r):(t[0]=r[0]=o,t[1]=r[1]=a),M.Util_computeBoundingBox.arc(o,a,l,u,c,!f,n,i),M.Util_vector.min(t,t,n),M.Util_vector.max(r,r,i),e.__rect={x:t[0],y:t[1],width:r[0]-t[0],height:r[1]-t[1]}),e.__rect}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Ua(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}dr=[{key:"transformStyle",value:function(e){var t,n={},r=["normal","normal","normal","12","arial,sans-serif"],i=[!0,!1];for(t in e)switch(t){case"fill":i[0]=e[t];break;case"fillColor":n.color=e[t];break;case"stroke":i[1]=e[t];break;case"strokeWidth":n.lineWidth=e[t];break;case"strokeLinecap":n.lineCap=e[t];break;case"strokeLineJoin":n.lineJoin=e[t];break;case"strokeDashstyle":n.lineType=e[t];break;case"pointRadius":n.r=e[t];break;case"label":n.text=e[t];break;case"labelRect":n.labelRect=e[t];break;case"fontColor":n.textColor=e[t];break;case"fontStyle":r[0]=e[t];break;case"fontVariant":r[1]=e[t];break;case"fontWeight":r[2]=e[t];break;case"fontSize":var o="";e[t]&&e[t].toString().indexOf("px")<0&&(o="px"),r[3]=e[t]+o;break;case"fontFamily":r[4]=e[t];break;case"fontOpacity":n.opacity=e[t];break;case"labelPosition":n.textPosition=e[t];break;case"labelAlign":n.textAlign=e[t];break;case"labelBaseline":n.textBaseline=e[t];break;case"labelRotation":n.textRotation=e[t];break;default:n[t]=e[t]}return n.textFont=r.join(" "),n.brushType=!0===i[0]&&!1===i[1]?"fill":!1===i[0]&&!0===i[1]?"stroke":!0===i[0]&&!0===i[1]?"both":"fill",null==n.lineWidth&&(n.lineWidth=1),n}},{key:"Background",value:function(e,t,n){n=n||{},t=new Io(t[0],t[3],Math.abs(t[2]-t[0]),Math.abs(t[3]-t[1]));return t.style={fillColor:"#f3f3f3"},n.backgroundStyle&&D.copyAttributesWithClip(t.style,n.backgroundStyle),n.backgroundRadius&&(t.style.radius=n.backgroundRadius),t.clickable=!1,t.hoverable=!1,e.createShape(t)}},{key:"GraphAxis",value:function(e,t,n,r){var i=t,o=n||{},a=[],t=[],s=!!o.useXReferenceLine&&o.useXReferenceLine,l=o.axisYTick&&!isNaN(o.axisYTick)?o.axisYTick:0,n=[],u=[];if(0==l)u.push([i[0],i[3]-5]),u.push([i[0],i[1]]),o.axis3DParameter&&!isNaN(o.axis3DParameter)&&15<=o.axis3DParameter&&(p=parseInt(o.axis3DParameter),p=[i[0]-p,i[1]+p],o.axisUseArrow&&(n.push([p[0]+1.5,p[1]-7.5]),n.push([p[0]-1,p[1]+1]),n.push([p[0]+7.5,p[1]-1.5])),u.push([p[0],p[1]]),u.push([i[0],i[1]]));else{var c=Math.abs(i[1]-i[3])/l,f=i[3];u.push([i[0],f-5]);for(var h,d=0;d<l;d++)u.push([i[0],f]),u.push([i[0]-5,f]),u.push([i[0],f]),s&&((h=new _o([[i[0],f],[i[2],f]])).style={strokeColor:"#cfcfcf",strokeLinecap:"butt",strokeLineJoin:"round",strokeWidth:1},h.clickable=!1,h.hoverable=!1,o.xReferenceLineStyle&&D.copyAttributesWithClip(h.style,o.xReferenceLineStyle),a.push(e.createShape(h))),f+=c;u.push([i[0],i[1]]),o.axis3DParameter&&!isNaN(o.axis3DParameter)&&15<=o.axis3DParameter&&(p=parseInt(o.axis3DParameter),p=[i[0]-p,i[1]+p],o.axisUseArrow&&(n.push([p[0]+1.5,p[1]-7.5]),n.push([p[0]-1,p[1]+1]),n.push([p[0]+7.5,p[1]-1.5])),u.push([p[0],p[1]]),u.push([i[0],i[1]]))}u.push([i[2]+5,i[1]]),o.axisUseArrow&&(p=[[i[2]+5,i[1]+4],[i[2]+13,i[1]],[i[2]+5,i[1]-4]],b=[[i[0]-4,i[3]-5],[i[0],i[3]-13],[i[0]+4,i[3]-5]],(p=new Oo(p)).style={fillColor:"#008acd"},D.copyAttributesWithClip(p.style,o.axisStyle),t.push(e.createShape(p)),(p=new Oo(b)).style={fillColor:"#008acd"},D.copyAttributesWithClip(p.style,o.axisStyle),t.push(e.createShape(p)),o.axis3DParameter)&&!isNaN(o.axis3DParameter)&&15<=o.axis3DParameter&&((b=new Oo(n)).style={fillColor:"#008acd"},D.copyAttributesWithClip(b.style,o.axisStyle),t.push(e.createShape(b)));var p=new _o(u),n=(p.style={strokeLinecap:"butt",strokeLineJoin:"round",strokeColor:"#008acd",strokeWidth:1},o.axisStyle&&D.copyAttributesWithClip(p.style,o.axisStyle),p.clickable=!1,p.hoverable=!1,[e.createShape(p)]),y=[];if(o.axisYLabels&&o.axisYLabels.length&&0<o.axisYLabels.length){var m=o.axisYLabels,g=m.length,v=[0,0];if(o.axisYLabelsOffset&&o.axisYLabelsOffset.length&&(v=o.axisYLabelsOffset),1==g){var b=new Go(i[0]-5+v[0],i[3]+v[1],m[0]);b.style={labelAlign:"right"},o.axisYLabelsStyle&&D.copyAttributesWithClip(b.style,o.axisYLabelsStyle),b.clickable=!1,b.hoverable=!1,y.push(e.createShape(b))}else for(var _=i[3],x=Math.abs(i[1]-i[3])/(g-1),w=0;w<g;w++){var A=new Go(i[0]-5+v[0],_+v[1],m[w]);A.style={labelAlign:"right"},o.axisYLabelsStyle&&D.copyAttributesWithClip(A.style,o.axisYLabelsStyle),A.clickable=!1,A.hoverable=!1,y.push(e.createShape(A)),_+=x}}var S=[];if(o.axisXLabels&&o.axisXLabels.length&&0<o.axisXLabels.length){var C=o.axisXLabels,O=C.length,E=[0,0];if(o.axisXLabelsOffset&&o.axisXLabelsOffset.length&&(E=o.axisXLabelsOffset),r&&r.xPositions&&r.xPositions.length&&r.xPositions.length==O)for(var M=r.xPositions,P=0;P<O;P++){var k=new Go(M[P]+E[0],i[1]+E[1],C[P]);k.style={labelAlign:"center",labelBaseline:"top"},o.axisXLabelsStyle&&D.copyAttributesWithClip(k.style,o.axisXLabelsStyle),k.clickable=!1,k.hoverable=!1,S.push(e.createShape(k))}else if(1==O){p=new Go(i[0]-5+E[0],i[1]+E[0],C[0]);p.style={labelAlign:"center",labelBaseline:"top"},o.axisXLabelsStyle&&D.copyAttributesWithClip(p.style,o.axisXLabelsStyle),p.clickable=!1,p.hoverable=!1,S.push(e.createShape(p))}else for(var T=i[0],I=Math.abs(i[2]-i[0])/(O-1),L=0;L<O;L++){var j=new Go(T+E[0],i[1]+E[1],C[L]);j.style={labelAlign:"center",labelBaseline:"top"},o.axisXLabelsStyle&&D.copyAttributesWithClip(j.style,o.axisXLabelsStyle),j.clickable=!1,j.hoverable=!1,S.push(e.createShape(j)),T+=I}}return a.concat(n).concat(y).concat(S).concat(t)}},{key:"ShapeStyleTool",value:function(e,t,n,r,i,o){var a=e||{};if(t&&D.copyAttributesWithClip(a,t),n&&n.length&&void 0!==i&&!isNaN(i)&&0<=i&&n[i]&&D.copyAttributesWithClip(a,n[i]),r&&r.length&&void 0!==o)for(var s=r,l=s.length,u=parseFloat(o),c=0;c<l;c++)if(s[c].start<=u&&u<s[c].end){D.copyAttributesWithClip(a,s[c].style);break}return a}}],Ua((mr=Qa).prototype,[{key:"destroy",value:function(){this.shapeParameters=null}},{key:"createShape",value:function(e){var t,n;return e&&(this.shapeParameters=e),this.shapeParameters?(e=this.shapeParameters)instanceof po?((t=new Object).x=e.x,t.y=e.y,t.r=e.r,t=D.copyAttributesWithClip(t,e.style,["x","y"]),(n=new la).style=Qa.transformStyle(t),n.highlightStyle=Qa.transformStyle(e.highlightStyle),D.copyAttributesWithClip(n,e,["x","y","style","highlightStyle"]),n):e instanceof _o?e.pointList?((t=new Object).pointList=e.pointList,t=D.copyAttributesWithClip(t,e.style,["pointList"]),(n=new Ia).style=Qa.transformStyle(t),n.highlightStyle=Qa.transformStyle(e.highlightStyle),D.copyAttributesWithClip(n,e,["pointList","style","highlightStyle"]),n):null:e instanceof Oo?e.pointList?((t=new Object).pointList=e.pointList,t=D.copyAttributesWithClip(t,e.style,["pointList"]),(n=new Oa).style=Qa.transformStyle(t),n.highlightStyle=Qa.transformStyle(e.highlightStyle),D.copyAttributesWithClip(n,e,["pointList","style","highlightStyle"]),n):null:e instanceof Io?!e.x&&!e.y&!e.width&!e.height?null:((t=new Object).x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t=D.copyAttributesWithClip(t,e.style,["x","y","width","height"]),(n=new Na).style=Qa.transformStyle(t),n.highlightStyle=Qa.transformStyle(e.highlightStyle),D.copyAttributesWithClip(n,e,["x","y","width","height","style","highlightStyle"]),n):e instanceof No?((t=new Object).x=e.x,t.y=e.y,t.r=e.r,t.startAngle=e.startAngle,t.endAngle=e.endAngle,e.r0&&(t.r0=e.r0),e.clockWise&&(t.clockWise=e.clockWise),t=D.copyAttributesWithClip(t,e.style,["x","y","r","startAngle","endAngle","r0","endAngle"]),(n=new Ga).style=Qa.transformStyle(t),n.highlightStyle=Qa.transformStyle(e.highlightStyle),D.copyAttributesWithClip(n,e,["x","y","r","startAngle","endAngle","r0","endAngle","style","highlightStyle"]),n):e instanceof Go?((t=new Object).x=e.x,t.y=e.y,t.text=e.text,t=D.copyAttributesWithClip(t,e.style,["x","y","text"]),(n=new pa).style=Qa.transformStyle(t),n.highlightStyle=Qa.transformStyle(e.highlightStyle),D.copyAttributesWithClip(n,e,["x","y","text","style","highlightStyle"]),n):e instanceof Xo?((t=new Object).x=e.x,t.y=e.y,e.image&&(t.image=e.image),e.width&&(t.width=e.width),e.height&&(t.height=e.height),e.sx&&(t.sx=e.sx),e.sy&&(t.sy=e.sy),e.sWidth&&(t.sWidth=e.sWidth),e.sHeight&&(t.sHeight=e.sHeight),t=D.copyAttributesWithClip(t,e.style,["x","y","image","width","height","sx","sy","sWidth","sHeight"]),(n=new ci).style=Qa.transformStyle(t),n.highlightStyle=Qa.transformStyle(e.highlightStyle),D.copyAttributesWithClip(n,e,["x","y","image","width","height","style","highlightStyle"]),n):e instanceof na?((t=new Object).x=e.x,t.r=e.r,t.y=e.y,t=D.copyAttributesWithClip(t,e.style,["x","y","r"]),(n=new _a).style=Qa.transformStyle(t),n.highlightStyle=Qa.transformStyle(e.highlightStyle),D.copyAttributesWithClip(n,e,["x","y","r","style","highlightStyle","lineWidth","text","textPosition"]),n):null:null}}]),Ua(mr,dr),Object.defineProperty(mr,"prototype",{writable:!1});var g=Qa;function Qa(e){if(!(this instanceof Qa))throw new TypeError("Cannot call a class as a function");this.shapeParameters=e,this.CLASS_NAME="SuperMap.Feature.ShapeFactory"}function Wa(e){return(Wa="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})(e)}function qa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ka(){return(Ka="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Za(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Xa(e,t){return(Xa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ja(e,t){if(t&&("object"===Wa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $a(e)}function $a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Za(e){return(Za=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var es=function(){var e=a,t=Dn;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xa(e,t);n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,o=function(){var e,t=Za(n);return Ja(this,r?(e=Za(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))};function a(e,t,n,r,i){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");if(t=o.call(this,e,t),!e.geometry)return Ja(t);if(!(e.geometry instanceof J))return Ja(t);t.dataBounds=e.geometry.getBounds(),t.nodesClipPixel=2,t.isHoverAble=!0,t.isMultiHover=!0,t.isClickAble=!0,t.highlightStyle=null,t.shapeOptions={},t.style=n||{},t.CLASS_NAME="SuperMap.Feature.Theme.Vector",t.style=n||{},r&&D.copyAttributesWithClip($a(t),r,["shapeOptions","dataBounds"]),i&&D.copyAttributesWithClip(t.shapeOptions,i);n=e.geometry;return t.lonlat=t.dataBounds.getCenterLonLat(),t.location=t.getLocalXY(t.lonlat),n instanceof Ne||n instanceof Ie?t.lineToTF(n):n instanceof Oe||(n instanceof we?t.multiPointToTF(n):n instanceof ht?t.multiLineStringToTF(n):n instanceof mt?t.multiPolygonToTF(n):n instanceof Ye?t.polygonToTF(n):n instanceof ge||(n instanceof P?t.pointToTF(n):n instanceof Yr?t.rectangleToTF(n):n instanceof Ln&&t.geoTextToTF(n))),t}return qa((e=a).prototype,[{key:"destroy",value:function(){this.style=null,this.dataBounds=null,this.nodesClipPixel=null,this.isHoverAble=null,this.isMultiHover=null,this.isClickAble=null,this.highlightStyle=null,this.shapeOptions=null,Ka(Za(a.prototype),"destroy",this).call(this)}},{key:"lineToTF",value:function(e){for(var t=e.components,n=[],r=this.location,i=[],o=this.nodesClipPixel,a=0;a<t.length;a++){var s=t[a],n=[],s=this.getLocalXY(s);if(n[0]=s[0]-r[0],n[1]=s[1]-r[1],0<i.length){s=i[i.length-1];if(Math.abs(s[0]-n[0])<=o&&Math.abs(s[1]-n[1])<=o)continue}i.push(n)}if(i.length<2)return null;e=new Object,(e=D.copyAttributesWithClip(e,this.style,["pointList"])).pointList=i,e=new Ia({style:e,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(e.highlightStyle=this.highlightStyle),e.refOriginalPosition=this.location,e.refDataID=this.data.id,e.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&D.copyAttributesWithClip(e,this.shapeOptions),this.shapes.push(e)}},{key:"multiPointToTF",value:function(e){for(var t=e.components,n=[],r=this.location,i=[],o=this.nodesClipPixel,a=0;a<t.length;a++){var s=t[a],n=[],s=this.getLocalXY(s);if(n[0]=s[0]-r[0],n[1]=s[1]-r[1],0<i.length){s=i[i.length-1];if(Math.abs(s[0]-n[0])<=o&&Math.abs(s[1]-n[1])<=o)continue}i.push(n);s=new Object,s=(s.r=6,(s=D.copyAttributesWithClip(s,this.style)).x=n[0],s.y=n[1],new la({style:s,clickable:this.isClickAble,hoverable:this.isHoverAble}));this.highlightStyle&&(s.highlightStyle=this.highlightStyle),s.refOriginalPosition=r,s.refDataID=this.data.id,s.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&D.copyAttributesWithClip(s,this.shapeOptions),this.shapes.push(s)}}},{key:"multiLineStringToTF",value:function(e){for(var t=e.components,n=0;n<t.length;n++){var r=t[n];this.lineToTF(r)}}},{key:"multiPolygonToTF",value:function(e){for(var t=e.components,n=0;n<t.length;n++){var r=t[n];this.polygonToTF(r)}}},{key:"pointToTF",value:function(e){var t=this.location,e=this.getLocalXY(e),n=new Object,e=(n.r=6,(n=D.copyAttributesWithClip(n,this.style)).x=e[0]-t[0],n.y=e[1]-t[1],new la({style:n,clickable:this.isClickAble,hoverable:this.isHoverAble}));this.highlightStyle&&(e.highlightStyle=this.highlightStyle),e.refOriginalPosition=t,e.refDataID=this.data.id,e.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&D.copyAttributesWithClip(e,this.shapeOptions),this.shapes.push(e)}},{key:"polygonToTF",value:function(e){for(var t=e.components,n=[],r=[],i=this.location,o=[],a=[],s=[],l=this.nodesClipPixel,u=0;u<t.length;u++){var c=t[u].components;if(0===u)for(var o=[],f=0;f<c.length;f++){if(r=[],n=this.getLocalXY(c[f]),r[0]=n[0]-i[0],r[1]=n[1]-i[1],0<o.length){var h=o[o.length-1];if(Math.abs(h[0]-r[0])<=l&&Math.abs(h[1]-r[1])<=l)continue}o.push(r)}else for(var a=[],d=0;d<c.length;d++){if(r=[],n=this.getLocalXY(c[d]),r[0]=n[0]-i[0],r[1]=n[1]-i[1],0<a.length){var p=a[a.length-1];if(Math.abs(p[0]-r[0])<=l&&Math.abs(p[1]-r[1])<=l)continue}a.push(r)}a.length<2||s.push(a)}o.length<2||((e=D.copyAttributesWithClip(e={},this.style,["pointList"])).pointList=o,e=new Oa({style:e,clickable:this.isClickAble,hoverable:this.isHoverAble}),this.highlightStyle&&(e.highlightStyle=this.highlightStyle),e.refOriginalPosition=this.location,e.refDataID=this.data.id,e.isHoverByRefDataID=this.isMultiHover,0<s.length&&(e.holePolygonPointLists=s),this.shapeOptions&&D.copyAttributesWithClip(e,this.shapeOptions),this.shapes.push(e))}},{key:"rectangleToTF",value:function(e){var t=this.location,n=new re(e.x,e.y),r=this.layer.map.getResolution(),n=this.getLocalXY(n),i=new Object,n=(i.r=6,(i=D.copyAttributesWithClip(i,this.style)).x=n[0]-t[0],i.y=n[1]-t[1]-2*e.width/r,i.width=e.width/r,i.height=e.height/r,new Na({style:i,clickable:this.isClickAble,hoverable:this.isHoverAble}));this.highlightStyle&&(n.highlightStyle=this.highlightStyle),n.refOriginalPosition=t,n.refDataID=this.data.id,n.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&D.copyAttributesWithClip(n,this.shapeOptions),this.shapes.push(n)}},{key:"geoTextToTF",value:function(e){var t=this.location,n=this.getLocalXY(e),r=new Object,n=(r.r=6,(r=D.copyAttributesWithClip(r,this.style,["x","y","text"])).x=n[0]-t[0],r.y=n[1]-t[1],r.text=e.text,new pa({style:r,clickable:this.isClickAble,hoverable:this.isHoverAble}));this.highlightStyle&&(n.highlightStyle=this.highlightStyle),n.refOriginalPosition=t,n.refDataID=this.data.id,n.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&D.copyAttributesWithClip(n,this.shapeOptions),this.shapes.push(n)}},{key:"updateAndAddShapes",value:function(){var e=this.getLocalXY(this.lonlat);this.location=e;for(var t=this.layer.renderer,n=0,r=this.shapes.length;n<r;n++){var i=this.shapes[n];i.refOriginalPosition=e,t.addShape(i)}}},{key:"getShapesCount",value:function(){return this.shapes.length}},{key:"getLocalXY",value:function(e){return this.layer.getLocalXY(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),a}();function ts(e){return(ts="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})(e)}function ns(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rs(e,t){return(rs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function is(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function os(e){return(os=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var as=function(){var e=o,t=Ji;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rs(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=os(n),t=(e=r?(e=os(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===ts(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return is(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).name=null,e.style=null,e.highlightStyle=null,e.nodesClipPixel=2,e.isHoverAble=!1,e.isMultiHover=!1,e.isClickAble=!0,e.isAllowFeatureStyle=!1,D.extend(is(e),t),e.cache=t.cache||{},e.cacheFields=t.cacheFields||[],e.maxCacheCount=t.maxCacheCount||0,e.isCustomSetMaxCacheCount=void 0!==t.isCustomSetMaxCacheCount&&t.isCustomSetMaxCacheCount,e;throw new TypeError("Cannot call a class as a function")}return ns((e=o).prototype,[{key:"addFeatures",value:function(e){u().Evented.prototype.fire("beforefeaturesadded",{features:e}),this.features=this.toiClientFeature(e),this.isCustomSetMaxCacheCount||(this.maxCacheCount=5*this.features.length),this.renderer&&this.redrawThematicFeatures(this.map.getBounds())}},{key:"removeFeatures",value:function(e){this.clearCache(),Ji.prototype.removeFeatures.call(this,e)}},{key:"removeAllFeatures",value:function(){this.clearCache(),Ji.prototype.removeAllFeatures.apply(this,arguments)}},{key:"redrawThematicFeatures",value:function(e){this.clearCache();var t=this.renderer.getHoverOne(),n=null;t&&t.refDataID&&(n=t.refDataID),this.renderer.clearAll();for(var r=this.features,i=this.cache,o=this.cacheFields,a=this.map.getZoom(),s=this.maxCacheCount,l=0,u=r.length;l<u;l++){var c,f=r[l].id+"_zoom_"+a.toString();i[f]?i[f].updateAndAddShapes():(c=this.createThematicFeature(r[l])).getShapesCount()<1||(i[f]=c,o.push(f),o.length>s&&(c=o[0],o.splice(0,1),delete i[c]))}this.renderer.render(),n&&this.isHoverAble&&this.isMultiHover&&(t=this.getShapesByFeatureID(n),this.renderer.updateHoverShapes(t))}},{key:"createThematicFeature",value:function(e){var t=D.copyAttributesWithClip(this.style),n=(e.style&&!0===this.isAllowFeatureStyle&&(t=D.copyAttributesWithClip(e.style)),{});n.nodesClipPixel=this.nodesClipPixel,n.isHoverAble=this.isHoverAble,n.isMultiHover=this.isMultiHover,n.isClickAble=this.isClickAble,n.highlightStyle=g.transformStyle(this.highlightStyle);for(var r=new es(e,this,g.transformStyle(t),n),i=0;i<r.shapes.length;i++)this.renderer.addShape(r.shapes[i]);return r}},{key:"clearCache",value:function(){this.cache={},this.cacheFields=[]}},{key:"clear",value:function(){this.renderer.clearAll(),this.renderer.refresh(),this.removeAllFeatures(),this.clearCache()}},{key:"getCacheCount",value:function(){return this.cacheFields.length}},{key:"setMaxCacheCount",value:function(e){isNaN(e)||(this.maxCacheCount=e,this.isCustomSetMaxCacheCount=!0)}},{key:"getShapesByFeatureID",value:function(e){var t=[],n=this.renderer.getAllShapes();if(!e)return n;for(var r=0,i=n.length;r<i;r++){var o=n[r];o.refDataID&&e===o.refDataID&&t.push(o)}return t}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ss(e){return(ss="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})(e)}function ls(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function us(){return(us="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=hs(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function cs(e,t){return(cs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function fs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hs(e){return(hs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var br=function(){var e=o,t=as;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cs(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=hs(n),t=(e=r?(e=hs(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===ss(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return fs(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).isOverLay=!0,e.isAvoid=!0,e.themeField=null,e.styleGroups=null,D.extend(fs(e),t),e.defaultStyle={fontColor:"#000000",fontOpacity:1,fontSize:"12px",fontStyle:"normal",fontWeight:"normal",labelAlign:"cm",labelXOffset:0,labelYOffset:0,labelRotation:0,fill:!1,fillColor:"#ee9900",fillOpacity:.4,stroke:!1,strokeColor:"#ee9900",strokeOpacity:1,strokeWidth:1,strokeLinecap:"round",strokeDashstyle:"solid",labelRect:!0,labelSelect:!0,_isGeoTextStrategyStyle:!0},e.getPxBoundsMode=0,e.labelFeatures=[],e;throw new TypeError("Cannot call a class as a function")}return ls((e=o).prototype,[{key:"redrawThematicFeatures",value:function(e){if(0<this.features.length&&0==this.labelFeatures.length)for(var t=this.setLabelsStyle(this.features),n=0,r=t.length;n<r;n++)this.labelFeatures.push(t[n]);this.features=this.getDrawnLabels(this.labelFeatures),us(hs(o.prototype),"redrawThematicFeatures",this).call(this,e)}},{key:"removeFeatures",value:function(e){this.labelFeatures=[],us(hs(o.prototype),"removeFeatures",this).call(this,e)}},{key:"removeAllFeatures",value:function(){this.labelFeatures=[],us(hs(o.prototype),"removeAllFeatures",this).call(this,arguments)}},{key:"createThematicFeature",value:function(e){var t=this.getStyleByData(e),n={};n.nodesClipPixel=this.nodesClipPixel,n.isHoverAble=this.isHoverAble,n.isMultiHover=this.isMultiHover,n.isClickAble=this.isClickAble,n.highlightStyle=g.transformStyle(this.highlightStyle);for(var r=new es(e,this,g.transformStyle(t),n),i=0;i<r.shapes.length;i++)this.renderer.addShape(r.shapes[i]);return r}},{key:"getDrawnLabels",value:function(e){for(var t,n=[],r=[],i={labelAlign:"cm",labelXOffset:0,labelYOffset:0},o=this.map,a=o.getZoom(),s=o.getCanvas(),l={x:parseFloat(s.style.width),y:parseFloat(s.style.height)},u=0,c=e.length;u<c;u++){!(t=e[u]).isStyleChange&&void 0!==t.isStyleChange||(t=this.setStyle(t));var f=this.getLabelPxLocation(t);if(0<=f.x&&f.x<=l.x&&0<=f.y&&f.y<=l.y&&!(-1<t.style.minZoomLevel&&a<=t.style.minZoomLevel||-1<t.style.maxZoomLevel&&a>t.style.maxZoomLevel)){var h=null,h=t.isStyleChange?(t.isStyleChange=null,this.calculateLabelBounds(t,f)):t.geometry.bsInfo.w&&t.geometry.bsInfo.h?this.calculateLabelBounds2(t,f):this.calculateLabelBounds(t,f),f=new S(0,l.y,l.x,0),d=h.length;if(this.isAvoid){var p=this.getAvoidInfo(f,h);if(p){if("left"===p.aspectW){t.style.labelXOffset+=p.offsetX;for(var y=0;y<d;y++)h[y].x+=p.offsetX}else if("right"===p.aspectW){t.style.labelXOffset+=-p.offsetX;for(var m=0;m<d;m++)h[m].x+=-p.offsetX}if("top"===p.aspectH){t.style.labelYOffset+=p.offsetY;for(var g=0;g<d;g++)h[g].y+=p.offsetY}else if("bottom"===p.aspectH){t.style.labelYOffset+=-p.offsetY;for(var v=0;v<d;v++)h[v].y+=-p.offsetY}t.isStyleChange=!0}}if(this.isOverLay){var b=!1;if(0!=u)for(var _=0;_<r.length;_++)if(this.isQuadrilateralOverLap(h,r[_])){b=!0;break}if(b)continue;r.push(h)}for(var x=[],w=0;w<d-1;w++)x.push(o.unproject(h[w]));var f=x[3],A=x[1],f=new S(f.lng,f.lat,A.lng,A.lat).getCenterLonLat(),A=new Ln(f.lon,f.lat,t.attributes[this.themeField]);A.calculateBounds(),f=D.cloneObject(t.style),f=D.cloneObject(D.copyAttributes(f,i)),(A=new et(A,t.attributes,f)).id=t.id,A.fid=t.fid,n.push(A)}}return n}},{key:"getStyleByData",value:function(e){var t=e;if(t.style=D.copyAttributes(t.style,this.defaultStyle),this.style&&this.style.fontSize&&parseFloat(this.style.fontSize)<12&&(this.style.fontSize="12px"),t.style=D.copyAttributes(t.style,this.style),this.themeField&&this.styleGroups&&t.attributes){var n,r,i=this.themeField,o=t.attributes,a=this.styleGroups,s=!1,l=null;for(n in o)if(i===n){s=!0,l=o[n];break}if(s)for(var u=0,c=a.length;u<c;u++)l>=a[u].start&&l<a[u].end&&((r=a[u].style)&&r.fontSize&&parseFloat(r.fontSize)<12&&(r.fontSize="12px"),t.style=D.copyAttributes(t.style,r));t.style.label=t.attributes[this.themeField]}return t.style}},{key:"setLabelsStyle",value:function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];if("SuperMap.Geometry.GeoText"!==i.geometry.CLASS_NAME)return e;(i.geometry.bsInfo.w||i.geometry.bsInfo.h)&&(i.geometry.bsInfo.w=null,i.geometry.bsInfo.h=null,i.geometry.labelWTmp=null),(i=this.setStyle(i)).layer=this.layer,t.push(i)}return t}},{key:"setStyle",value:function(e){var t=e;if(t.style=D.copyAttributes(t.style,this.defaultStyle),this.style&&this.style.fontSize&&parseFloat(this.style.fontSize)<12&&(this.style.fontSize="12px"),t.style=D.copyAttributes(t.style,this.style),this.groupField&&this.styleGroups&&t.attributes){var n,r,i=this.groupField,o=t.attributes,a=this.styleGroups,s=!1,l=null;for(n in o)if(i===n){s=!0,l=o[n];break}if(s)for(var u=0,c=a.length;u<c;u++)l>=a[u].start&&l<a[u].end&&((r=a[u].style)&&r.fontSize&&parseFloat(r.fontSize)<12&&(r.fontSize="12px"),t.style=D.copyAttributes(t.style,r))}return t.style.label=t.geometry.text,t}},{key:"getLabelPxLocation",value:function(e){var t,n=e.geometry,e=e.style,n=n.getCentroid(),n=this.map.project(new(u().LngLat)(n.x,n.y)),n=new(u().Point)(n.x,n.y);return e.labelXOffset||e.labelYOffset?(t=isNaN(e.labelXOffset)?0:e.labelXOffset,e=isNaN(e.labelYOffset)?0:e.labelYOffset,t=n.add(new(u().Point)(t,-e)),new(u().Point)(t.x,t.y)):new(u().Point)(n.x,n.y)}},{key:"calculateLabelBounds",value:function(e,t){var n=e.geometry,r=null;if(0==this.getPxBoundsMode)r=n.getLabelPxBoundsByText(t,e.style);else{if(1!==this.getPxBoundsMode)return null;i=this.getLabelInfo(e.geometry.getCentroid(),e.style),r=n.getLabelPxBoundsByLabel(t,i.w,i.h,e.style)}var i=e.style.labelRotation%180==0?[{x:r.left,y:r.top},{x:r.right,y:r.top},{x:r.right,y:r.bottom},{x:r.left,y:r.bottom},{x:r.left,y:r.top}]:this.rotationBounds(r,t,e.style.labelRotation);return n.bounds=new S(i[1].x,i[3].y,i[2].x,i[4].y),i}},{key:"calculateLabelBounds2",value:function(e,t){var n=e.geometry.bsInfo,r=e.style,i=D.cloneObject(t);if(r.labelAlign&&"cm"!==r.labelAlign)switch(r.labelAlign){case"lt":i.x+=n.w/2,i.y+=n.h/2;break;case"lm":i.x+=n.w/2;break;case"lb":i.x+=n.w/2,i.y-=n.h/2;break;case"ct":i.y+=n.h/2;break;case"cb":i.y-=n.h/2;break;case"rt":i.x-=n.w/2,i.y+=n.h/2;break;case"rm":i.x-=n.w/2;break;case"rb":i.x-=n.w/2,i.y-=n.h/2}var o=i.x-n.w/2,a=i.y+n.h/2,s=r.fontStyle&&"italic"===r.fontStyle?i.x+n.w/2+parseInt(parseFloat(r.fontSize)/2):i.x+n.w/2,l=i.y-n.h/2,o=new S(o,a,s,l),a=r.labelRotation%180==0?[{x:o.left,y:o.top},{x:o.right,y:o.top},{x:o.right,y:o.bottom},{x:o.left,y:o.bottom},{x:o.left,y:o.top}]:this.rotationBounds(o,t,r.labelRotation);return e.geometry.bounds=new S(a[1].x,a[3].y,a[2].x,a[4].y),a}},{key:"getLabelInfo",value:function(e,t){var n={l:"left",r:"right",t:"top",b:"bottom"},r={l:0,r:-1,t:0,b:-1},e=(t=D.extend({fontColor:"#000000",labelAlign:"cm"},t),this.getLocalXY(e)),i=0,o=((t.labelXOffset||t.labelYOffset)&&(o=isNaN(t.labelXOffset)?0:t.labelXOffset,c=isNaN(t.labelYOffset)?0:t.labelYOffset,e[0]+=o,e[1]-=c),document.createElement("canvas")),a=(o.globalAlpha=0,o.lineWidth=1,o.getContext("2d"));a.fillStyle=t.fontColor,a.globalAlpha=t.fontOpacity||1;var s,l,u,c=[t.fontStyle||"normal","normal",t.fontWeight||"normal",t.fontSize||"1em",t.fontFamily||"sans-serif"].join(" "),f=t.label.split("\n"),h=f.length;if(a.fillText){a.font=c,a.textAlign=n[t.labelAlign[0]]||"center",a.textBaseline=n[t.labelAlign[1]]||"middle",null==(s=r[t.labelAlign[1]])&&(s=-.5),l=a.measureText("Mg").height||a.measureText("xx").width,e[1]+=l*s*(h-1);for(var d=0;d<h;d++)i<(u=a.measureText(f[d]).width)&&(i=u)}else if(a.mozDrawText){a.mozTextStyle=c,null==(s=r[t.labelAlign[1]])&&(s=-.5),l=a.mozMeasureText("xx"),e[1]+=l*(1+s*h);for(var p=0;p<h;p++)i<(u=a.measureText(f[p]).width)&&(i=u)}o={};return i?(o.w=i,o.h=t.fontSize,o.rows=f.length,o):null}},{key:"rotationBounds",value:function(e,t,n){var r=new(u().Point)(e.left,e.top),i=new(u().Point)(e.right,e.top),o=new(u().Point)(e.right,e.bottom),e=new(u().Point)(e.left,e.bottom),a=[];a.push(this.getRotatedLocation(r.x,r.y,t.x,t.y,n)),a.push(this.getRotatedLocation(i.x,i.y,t.x,t.y,n)),a.push(this.getRotatedLocation(o.x,o.y,t.x,t.y,n)),a.push(this.getRotatedLocation(e.x,e.y,t.x,t.y,n));for(var s=[],l=0;l<a.length;l++)s.push({x:a[l].x,y:a[l].y});return s.push({x:a[0].x,y:a[0].y}),s}},{key:"getRotatedLocation",value:function(e,t,n,r,i){var o,a={};return t=-t,r=-r,i=-i,o=(e-n)*Math.cos(i/180*Math.PI)-(t-r)*Math.sin(i/180*Math.PI)+n,e=(e-n)*Math.sin(i/180*Math.PI)+(t-r)*Math.cos(i/180*Math.PI)+r,a.x=o,a.y=-e,a}},{key:"getAvoidInfo",value:function(n,e){if(5!==e.length)return null;for(var t=[{x:n.left,y:n.top},{x:n.right,y:n.top},{x:n.right,y:n.bottom},{x:n.left,y:n.bottom},{x:n.left,y:n.top}],r=!1,i=t.length,o=e.length,a=0,s=0,l="",u="",c=0;c<i-1;c++)for(var f=0;f<o-1;f++)"SuperMap.Geometry.Point"===D.lineIntersection(t[c],t[c+1],e[f],e[f+1]).CLASS_NAME&&(h(e[f]),h(e[f+1]),r=!0);return r?{aspectW:u,aspectH:l,offsetX:a,offsetY:s}:null;function h(e){var t;n.contains(e.x,e.y)||(e.y<n.top&&(t=Math.abs(n.top-e.y),s<t)&&(s=t,l="top"),e.y>n.bottom&&(t=Math.abs(e.y-n.bottom),s<t)&&(s=t,l="bottom"),e.x<n.left&&(t=Math.abs(n.left-e.x),a<t)&&(a=t,u="left"),e.x>n.right&&(t=Math.abs(e.x-n.right),a<t)&&(a=t,u="right"))}}},{key:"isQuadrilateralOverLap",value:function(e,t){var n=e.length,r=t.length;if(5!==n||5!==r)return null;for(var i=!1,o=0;o<n;o++)if(this.isPointInPoly(e[o],t)){i=!0;break}for(var a=0;a<r;a++)if(this.isPointInPoly(t[a],e)){i=!0;break}for(var s=0;s<n-1&&!i;s++)for(var l=0;l<r-1;l++)if("SuperMap.Geometry.Point"===D.lineIntersection(e[s],e[s+1],t[l],t[l+1]).CLASS_NAME){i=!0;break}return i}},{key:"isPointInPoly",value:function(e,t){for(var n=!1,r=-1,i=t.length,o=i-1;++r<i;o=r)(t[r].y<=e.y&&e.y<t[o].y||t[o].y<=e.y&&e.y<t[r].y)&&e.x<(t[o].x-t[r].x)*(e.y-t[r].y)/(t[o].y-t[r].y)+t[r].x&&(n=!n);return n}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}(),ds=function(){try{return mapv}catch(e){return{}}}();function ps(e){return(ps="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})(e)}function ys(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ms(){return(ms="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_s(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function gs(e,t){return(gs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function vs(e,t){if(t&&("object"===ps(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return bs(e)}function bs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _s(e){return(_s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xs=ds.baiduMapLayer?ds.baiduMapLayer.__proto__:Function,ws=function(){var e=a,t=xs;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gs(e,t);n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,o=function(){var e,t=_s(n);return vs(this,r?(e=_s(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))};function a(e,t,n,r,i){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");if(e=o.call(this,e,t,n),!xs)return vs(e);e.options=n||{},e.transferCoordinate=r.transferCoordinate,e.getCenterPixel=r.getCenterPixel,e.getResolution=r.getResolution,e.validZoom=r.validZoom;t=i.mapElement,r=i.targetElement,i=i.id;return e.targetElement=r,e.canvas=e._createCanvas(i,t),e.canvasLayer={canvas:e.canvas,devicePixelRatio:e.devicePixelRatio},e.init(n),e.argCheck(n),e.stopAniamation=!1,e.animation=n.animation,e.clickEvent=e.clickEvent.bind(bs(e)),e.mousemoveEvent=e.mousemoveEvent.bind(bs(e)),e._canvasUpdate(),e.targetElement.appendChild(e.canvas),e._expectShow=!0,e.isShow=!0,e}return ys((e=a).prototype,[{key:"clickEvent",value:function(e){var t=e.point;ms(_s(a.prototype),"clickEvent",this).call(this,t,e)}},{key:"mousemoveEvent",value:function(e){var t=e.point;ms(_s(a.prototype),"mousemoveEvent",this).call(this,t,e)}},{key:"getContext",value:function(){return this.canvas.getContext(this.context)}},{key:"addData",value:function(e,t){var n=e;e&&e.get&&(n=e.get()),this.dataSet.add(n),this.update({options:t})}},{key:"update",value:function(e){var e=e||{},t=e.data;null!=(t=t&&t.get?t.get():t)&&this.dataSet.set(t),ms(_s(a.prototype),"update",this).call(this,{options:e.options})}},{key:"getData",value:function(){return this.dataSet}},{key:"removeData",value:function(t){var e;this.dataSet&&(e=this.dataSet.get({filter:function(e){return null==t||"function"!=typeof t||!t(e)}}),this.dataSet.set(e),this.update({options:null}))}},{key:"clearData",value:function(){this.dataSet&&this.dataSet.clear(),this.update({options:null})}},{key:"updateData",value:function(e,t){e&&e.get&&this.dataSet.set(e.get()),this.update({options:t})}},{key:"_createCanvas",value:function(e,t){var t=t.style,n=t.width,t=t.height,r=document.createElement("canvas"),e=(r.style.position="absolute",r.style.top="0px",r.style.left="0px",r.id=e,"undefined"==typeof window?{}:window),e=this.devicePixelRatio=e.devicePixelRatio||1;return r.width=parseInt(n)*e,r.height=parseInt(t)*e,this.options.context&&"2d"!=this.options.context||r.getContext("2d").scale(e,e),r.style.width=n,r.style.height=t,r}},{key:"_canvasUpdate",value:function(n){if(!this.stopAniamation){var e,t,r=this.options.animation,i=this.getContext();if(this.isEnabledTime()){if(void 0===n)return void this.clear(i);"2d"===this.context&&(i.save(),i.globalCompositeOperation="destination-out",i.fillStyle="rgba(0, 0, 0, .1)",i.fillRect(0,0,i.canvas.width,i.canvas.height),i.restore())}else this.clear(i);if("2d"===this.context)for(var o in this.options)i[o]=this.options[o];else i.clear(i.COLOR_BUFFER_BIT);this.validZoom()&&(e={transferCoordinate:this.transferCoordinate()},t=this.getResolution(),void 0!==n&&(e.filter=function(e){var t=r.trails||10;return n&&e.time>n-t&&e.time<n}),e=this.dataSet.get(e),this.processData(e),"m"===this.options.unit?(this.options.size&&(this.options._size=this.options.size/t),this.options.width&&(this.options._width=this.options.width/t),this.options.height&&(this.options._height=this.options.height/t)):(this.options._size=this.options.size,this.options._height=this.options.height,this.options._width=this.options.width),t=this.getCenterPixel(),this.drawContext(i,e,this.options,t),this.options.updateCallback)&&this.options.updateCallback(n)}}},{key:"init",value:function(e){this.options=e,this.initDataRange(e),this.context=this.options.context||"2d",this.options.zIndex&&this.setZIndex(this.options.zIndex),this.initAnimator()}},{key:"destroy",value:function(){this.targetElement.removeChild(this.canvas),this.clearData(),this.animator&&this.animator.stop(),this.animator=null}},{key:"addAnimatorEvent",value:function(){}},{key:"moveEndEvent",value:function(){this.stopAniamation=!1,this._canvasUpdate()}},{key:"draw",value:function(){this._canvasUpdate()}},{key:"visible",value:function(){return this.isShow}},{key:"hide",value:function(){this.isShow=!1,this.canvas.style.display="none"}},{key:"show",value:function(){this.isShow=!0,this.canvas.style.display="block"}},{key:"setZIndex",value:function(e){this.canvas.style.zIndex=e}},{key:"clear",value:function(e){e&&e.clearRect&&e.clearRect(0,0,parseInt(this.map.getCanvas().style.width),parseInt(this.map.getCanvas().style.height))}}]),Object.defineProperty(e,"prototype",{writable:!1}),a}();function As(e,t,n,r){var t=!(1<arguments.length&&void 0!==t)||t,n=!(2<arguments.length&&void 0!==n)||n,r=3<arguments.length&&void 0!==r?r:[-180,180],i=r[1],r=r[0],o=i-r;return e===i&&t||e===r&&n?e:0==((e-r)%o+o)%o&&t?i:((e-r)%o+o)%o+r}function Ss(e){var t=parseInt(e),n=parseInt(60*(e-t)),e=parseInt(60*(60*(e-t)-n)),n=0===parseInt(n/10)?"0".concat(n):n,e=0===parseInt(e/10)?"0".concat(e):e;return"".concat(t,"°").concat(n,"'").concat(e)}function Cs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Cs((wr=Es).prototype,[{key:"onAdd",value:function(e){this.map=e,this.mapContainer=e.getCanvasContainer(),this.renderer=new ws(e,this.dataSet,this.mapVOptions,{transferCoordinate:this._transferCoordinate,getCenterPixel:this._getCenterPixel,getResolution:this._getResolution,validZoom:this._validZoom.bind(this)},{mapElement:this.map.getCanvas(),targetElement:this.mapContainer,id:this.id}),this.mapContainer.style.perspective=this.map.transform.cameraToCenterDistance+"px",this.bindEvent()}},{key:"onRemove",value:function(){this.renderer.destroy(),this.unbindEvent()}},{key:"render",value:function(){this.renderer&&this.renderer.draw()}},{key:"_transferCoordinate",value:function(){var n=this.map,e=n.getBounds(),t=e.getEast()-e.getWest(),e=e.getNorth()-e.getSouth(),r=n.getCanvas().getBoundingClientRect(),i=t/r.width,o=e/r.height,a=n.getCenter(),s=n.project(a),l=this;return function(e){var t;return n.transform.rotationMatrix||"2d"===l.context?[(t=n.project(new(u().LngLat)(e[0],e[1]))).x,t.y]:[(t=[(e[0]-a.lng)/i,(a.lat-e[1])/o])[0]+s.x,t[1]+s.y]}}},{key:"_validZoom",value:function(){return!(this.mapVOptions.minZoom&&this.map.getZoom()<this.mapVOptions.minZoom||this.mapVOptions.maxZoom&&this.map.getZoom()>this.mapVOptions.maxZoom)}},{key:"_getResolution",value:function(){var e=this.map.getBounds(),e=(e.getEast()-e.getWest())/this.map.getCanvas().getBoundingClientRect().width;return function(e){var t;if(e===Nt.METER)t=1;else if(e===Nt.DEGREE)t=2*Math.PI*6378137/360;else if(e===Nt.KILOMETER)t=.001;else if(e===Nt.INCH)t=1/.025399999918;else{if(e!==Nt.FOOT)return t;t=.3048}return t}("DEGREE")*e}},{key:"_getCenterPixel",value:function(){return this.map.project(new(u().LngLat)(0,0))}},{key:"addData",value:function(e,t){this.renderer.addData(e,t)}},{key:"update",value:function(e){this.renderer.update(e)}},{key:"getData",value:function(){return this.renderer&&(this.dataSet=this.renderer.getData()),this.dataSet}},{key:"removeData",value:function(e){this.renderer&&this.renderer.removeData(e)}},{key:"clearData",value:function(){this.renderer.clearData()}},{key:"show",value:function(){return this.renderer&&this.renderer.show(),this}},{key:"hide",value:function(){return this.renderer&&this.renderer.hide(),this}},{key:"getTopLeft",value:function(){var e,t=this.map;return e=t?t.getBounds().getNorthWest():e}},{key:"bindEvent",value:function(){var e=this.map;this.mapVOptions.methods&&(this.mapVOptions.methods.click&&e.on("click",this.renderer.clickEvent),this.mapVOptions.methods.mousemove)&&e.on("mousemove",this.renderer.mousemoveEvent)}},{key:"unbindEvent",value:function(){var e=this.map;this.mapvOptions.methods&&(this.mapvOptions.methods.click&&e.off("click",this.clickEvent),this.mapvOptions.methods.mousemove)&&e.off("mousemove",this.mousemoveEvent)}},{key:"setVisibility",value:function(e){e!==this.visibility&&((this.visibility=e)?this.show():this.hide())}},{key:"setZIndex",value:function(e){this.renderer.setZIndex(e)}}]),Object.defineProperty(wr,"prototype",{writable:!1});var Os=Es;function Es(e,t,n){var r=this;if(!(r instanceof Es))throw new TypeError("Cannot call a class as a function");3===arguments.length?(this.map=e,delete n.layerID,this.mapVOptions=n,this.dataSet=t):(this.dataSet=e,delete t.layerID,this.mapVOptions=t),this.id=this.mapVOptions.layerID||D.createUniqueID("mapvLayer_"),this.type="custom",this.visibility=!0,this.renderingMode="3d",this.overlay=!0,this.context=this.mapVOptions.context||"2d",this.map&&this.map.addLayer(this)}function Ms(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ms((kl=ks).prototype,[{key:"setLayerOptions",value:function(e){return this._extend(this,e),this}},{key:"setHighlightStyleOptions",value:function(e){return this._extend(this.highlight,e),this}},{key:"setData",value:function(e,t){var n=this;return n.data=e,null!=t&&(n.parseNumber=t),n.parseNumber&&n.data&&n.data.features&&n.data.features.map(function(e){return n.baseHeightField&&e.properties[n.baseHeightField]&&(e.properties[n.baseHeightField]=parseFloat(e.properties[n.baseHeightField])),n.heightField&&e.properties[n.heightField]&&(e.properties[n.heightField]=parseFloat(e.properties[n.heightField])),e}),this}},{key:"getData",value:function(){return this.data}},{key:"addTo",value:function(e){return this.map=e,this.map&&this.show(),this}},{key:"show",value:function(e){return this._extend(this,e),this._addLayer(),this.enableHighlight&&this._addHighLightLayer(),this.showLegend&&(this.legend||(this.legend=this._createLegendControl()),this.map.addControl(this.legend,this.legendPosition)),this}},{key:"remove",value:function(){var e;return this.map&&(e=this.id||"theme3DLayer",this.map.getLayer(e)&&(this.map.off("mousemove",e,this._onMouseMove.bind(this)),this.map.on("mouseout",e,this._onMouseMove.bind(this)),this.map.removeLayer(e)),this.map.getLayer(this._highlightLayerId)&&(this._selectFeatureId=null,this.map.removeLayer(this._highlightLayerId)),this.legend)&&this.map.removeControl(this.legend),this}},{key:"getLayerStyleOptions",value:function(){}},{key:"getHighlightStyleOptions",value:function(){}},{key:"_createLegendControl",value:function(n){var r=this;function e(){}return e.prototype.onAdd=function(e){this._map=e,this._container=document.createElement("div");var e="legend-light",t=("dark"===r.legendTheme&&(e="legend-dark")," legend-horizontal");return"vertical"===r.legendOrientation&&(t=" legend-vertical"),this._container.className="mapboxgl-ctrl legend "+e+t,n?this._container.innerHTML=n:(e=" <div class='legend-title'>"+(r.legendTitle||"")+"</div>",t="<div class='legend-content'>"+(r._createLegendElement.call(r)||"")+"</div>",this._container.innerHTML=e+t),r._appendLegendCSSStyle(),this._container},e.prototype.onRemove=function(){this._container.parentNode.removeChild(this._container),this._map=void 0},new e}},{key:"_createLegendElement",value:function(){}},{key:"_addLayer",value:function(){var e=this.getLayerStyleOptions(),t=this.id||"theme3DLayer",n=this.sourceId=t+"Source";this.map.getSource(n)&&this.map.removeSource(n),this.map.addSource(n,{type:"geojson",data:this.data}),this.map.addLayer({id:t,type:"fill-extrusion",source:n,paint:e}),this.map.moveLayer(t)}},{key:"_addHighLightLayer",value:function(){var e;this.map&&((e=this.map).addLayer({id:this._highlightLayerId,type:"fill-extrusion",source:this.sourceId,paint:this.getHighlightStyleOptions(),filter:["in","$id",""]}),this._selectFeatureId=null,e.on("mousemove",this.id,this._onMouseMove.bind(this)),e.on("mouseout",this.id,this._onMouseMove.bind(this)))}},{key:"_onMouseMove",value:function(e){var t=this,n=this.map,r=n.queryRenderedFeatures(e.point,{layers:[t.id]});t.highlight&&t.highlight.callback&&t.highlight.callback(r,e),!r||r.length<1?(t._clearHighlight.call(t),t._selectFeatureId=null):(e=r[0].id,t._selectFeatureId!==e&&(t._selectFeatureId=e,n.setFilter(t._highlightLayerId,["==","$id",t._selectFeatureId])))}},{key:"_clearHighlight",value:function(){this.map&&this.map.setFilter(this._highlightLayerId,["in","$id",""])}},{key:"_appendLegendCSSStyle",value:function(){var e=document.createElement("style");e.type="text/css",e.innerHTML="\n .legend {\n display: inline-block;\n border-radius: 2px;\n -moz-border-radius: 2px;\n -webkit-border-radius: 2px;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.8);\n background-color: rgb(255, 255, 255);\n }\n .legend-light {\n color: rgba(0, 0, 0, 0.8);\n background-color: rgb(255, 255, 255);\n box-shadow: 0px 0px 6px #bbbbbb;\n -moz-box-shadow: 0px 6px 10px #bbbbbb;\n -webkit-box-shadow: 0px 0px 6px #bbbbbb;\n }\n .legend-dark {\n color: rgba(255, 255, 255, 0.8);\n background-color: rgb(64, 64, 64);\n }\n .legend .legend-title {\n min-height: 14px;\n max-width: 500px;\n padding:6px 10px;\n }\n .legend-light .legend-title {\n color: rgba(0, 0, 0, 0.8);\n }\n .legend-dark .legend-title {\n color: rgba(255, 255, 255, 0.8);\n }\n .legend-content{\n padding:6px 10px;\n }\n "+this._legendCSSStyle(),document.getElementsByTagName("head")[0].appendChild(e)}},{key:"_legendCSSStyle",value:function(){return"\n .legend ul {\n padding: 0;\n margin: 0 16px;\n height: 100%;\n display: block;\n list-style: none;\n }\n\n .legend li {\n vertical-align: middle;\n }\n\n .legend li span:first-child {\n vertical-align: middle;\n }\n\n .legend li span:last-child {\n line-height: 28px;\n max-width: 200px;\n vertical-align: middle;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n -ms-text-overflow: ellipsis;\n }\n\n .legend-vertical li {\n height: 28px;\n }\n\n .legend-vertical li span:first-child {\n display: inline-block;\n width: 60px;\n height: 100%;\n }\n\n .legend-vertical li span:last-child {\n display: inline-block;\n margin-left: 16px;\n height: 100%;\n }\n\n .legend-horizontal li {\n height: 56px;\n float: left;\n }\n\n .legend-horizontal li span:first-child {\n display: block;\n width: 100%;\n height: 50%;\n }\n\n .legend-horizontal li span:last-child {\n display: block;\n vertical-align: middle;\n width: 60px;\n height: 50%;\n text-align: center;\n }\n "}},{key:"_extend",value:function(e){for(var t=0;t<Object.getOwnPropertyNames(arguments).length;t++){var n=Object.getOwnPropertyNames(arguments)[t];if("caller"!=n&&"callee"!=n&&"length"!=n&&"arguments"!=n){var r=arguments[n];if(r)for(var i=0;i<Object.getOwnPropertyNames(r).length;i++){var o=Object.getOwnPropertyNames(r)[i];"caller"!=n&&"callee"!=n&&"length"!=n&&"arguments"!=n&&(e[o]=r[o])}}}return e}}]),Object.defineProperty(kl,"prototype",{writable:!1});var Ps=ks;function ks(e,t){if(!(this instanceof ks))throw new TypeError("Cannot call a class as a function");this.id=e,this.map=null,this.opacity=1,this.parseNumber=!1,this.enableHighlight=!1,this.highlight={color:"#ADA91E"},this.baseHeightField=null,this.height=null,this.heightField="height",this.themeField=this.heightField,this.showLegend=!0,this.legendTitle=null,this.legendTheme="light",this.legendOrientation="horizontal",this.legendPosition="bottom-right",this._highlightLayerId="".concat(this.id,"-highlightLayer"),this._extend(this,t)}function Ts(e){return(Ts="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})(e)}function Is(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ls(e,t){return(Ls=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function js(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ds(e){return(Ds=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n=function(){var e=o,t=Ps;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Ls(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ds(n),t=(e=r?(e=Ds(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Ts(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return js(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).heightStops=null,e.colorStops=null,e.base=null,e.legendRatio=1,e._extend(js(e),t),e;throw new TypeError("Cannot call a class as a function")}return Is((e=o).prototype,[{key:"getLayerStyleOptions",value:function(){var e=null==this.opacity?1:this.opacity,e=isNaN(parseFloat(e))?1:parseFloat(e),t=/^[0-9]+.?[0-9]*$/,e={"fill-extrusion-color":{stops:this.colorStops,property:this.themeField||this.heightField,type:"interval",base:t.test(this.base)?this.base:1},"fill-extrusion-opacity":e};return this.heightStops?e["fill-extrusion-height"]={stops:this.heightStops,property:this.heightField||"height",base:t.test(this.base)?this.base:1}:this.height?e["fill-extrusion-height"]=this.height:e["fill-extrusion-height"]={property:this.heightField||"height",type:"identity"},this.baseHeightField&&(e["fill-extrusion-base"]={property:this.baseHeightField,type:"identity"}),e}},{key:"getHighlightStyleOptions",value:function(){return{"fill-extrusion-color":this.highlight&&null!=this.highlight.color?this.highlight.color:"#ADA91E","fill-extrusion-height":{stops:this.heightStops,property:this.heightField},"fill-extrusion-opacity":this.highlight&&this.highlight.opacity||.6}}},{key:"_createLegendElement",value:function(){for(var e=this.colorStops&&this.colorStops.length||0,t="<ul>",n=0;n<e;n++){var r=this.colorStops[n][0],r=this._getWrapperText(r),r=n===e-1?"> "+r:r+"-"+this._getWrapperText(this.colorStops[n+1][0]);t+="<li><span style='background-color:"+this.colorStops[n][1]+";'></span><span>"+r+"</span></li>"}return t+"</ul>"}},{key:"_getWrapperText",value:function(e){e*=null==this.legendRatio?1:parseFloat(this.legendRatio),e=parseFloat(e);return e%1e6<=1e6?e.toString():parseInt(e/1e3)+"k"}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Bs(e){return(Bs="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})(e)}function Rs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ns(e,t){return(Ns=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function zs(e){return(zs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}i=function(){var e=o,t=as;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ns(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=zs(n),t=(e=r?(e=zs(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Bs(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).style=t.style,e.isHoverAble=t.isHoverAble,e.highlightStyle=t.highlightStyle,e.themeField=t.themeField,e.styleGroups=t.styleGroups,e;throw new TypeError("Cannot call a class as a function")}return Rs((e=o).prototype,[{key:"createThematicFeature",value:function(e){var t=this.getStyleByData(e),n={};n.nodesClipPixel=this.nodesClipPixel,n.isHoverAble=this.isHoverAble,n.isMultiHover=this.isMultiHover,n.isClickAble=this.isClickAble,n.highlightStyle=g.transformStyle(this.highlightStyle);for(var r=new es(e,this,g.transformStyle(t),n),i=0;i<r.shapes.length;i++)this.renderer.addShape(r.shapes[i]);return r}},{key:"getStyleByData",value:function(e){var t={};if(t=D.copyAttributesWithClip(t,this.style),this.themeField&&this.styleGroups&&0<this.styleGroups.length&&e.attributes){var n,r,i=this.themeField,o=e.attributes,a=this.styleGroups,s=!1,l=null;for(n in o)if(i===n){s=!0,l=o[n];break}if(s)for(var u=0,c=a.length;u<c;u++)l>=a[u].start&&l<a[u].end&&(r=a[u].style,t=D.copyAttributesWithClip(t,r))}return t=e.style&&!0===this.isAllowFeatureStyle?D.copyAttributesWithClip(e.style):t}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Fs(e){return(Fs="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})(e)}function Vs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hs(e,t){return(Hs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ys(e){return(Ys=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ur=function(){var e=o,t=io;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hs(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ys(n),t=(e=r?(e=Ys(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Fs(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t,n){if(this instanceof o)return(e=i.call(this,e,t,n)).symbolType=t,e.symbolSetting=n.symbolSetting,e.themeField=n.themeField,e;throw new TypeError("Cannot call a class as a function")}return Vs((e=o).prototype,[{key:"setSymbolType",value:function(e){this.symbolType=e,this.redraw()}},{key:"createThematicFeature",value:function(e){var t;return!!(t=Dn[this.symbolType]&&this.themeField&&this.symbolSetting?new Dn[this.symbolType](e,this,[this.themeField],this.symbolSetting):t)&&(t.assembleShapes(),t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Gs(e){return(Gs="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})(e)}function Us(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qs(e,t){return(Qs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ws(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qs(e){return(qs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}dr=function(){var e=o,t=Ps;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Qs(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=qs(n),t=(e=r?(e=qs(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Gs(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Ws(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).colorStops=null,e._extend(Ws(e),t),e;throw new TypeError("Cannot call a class as a function")}return Us((e=o).prototype,[{key:"getLayerStyleOptions",value:function(){var e=null==this.opacity?1:this.opacity,e=isNaN(parseFloat(e))?1:parseFloat(e),e={"fill-extrusion-color":{stops:this.colorStops,property:this.themeField,type:"categorical"},"fill-extrusion-opacity":e};return null!=this.height?e["fill-extrusion-height"]=this.height:e["fill-extrusion-height"]={property:this.heightField||"height",type:"categorical"},this.baseHeightField&&(e["fill-extrusion-base"]={property:this.baseHeightField,type:"identity"}),e}},{key:"getHighlightStyleOptions",value:function(){var e={"fill-extrusion-color":this.highlight&&null!=this.highlight.color?this.highlight.color:"#ADA91E","fill-extrusion-height":{stops:this.heightStops,property:this.heightField,type:"categorical"},"fill-extrusion-opacity":this.highlight&&this.highlight.opacity||.6};return null!=this.height&&(e["fill-extrusion-height"]=this.height||0),e}},{key:"_createLegendElement",value:function(){for(var e="<ul>",t=this.colorStops&&this.colorStops.length||0,n=0;n<t;n++){var r=this.colorStops[n][0];e+="<li><span style='background-color:"+this.colorStops[n][1]+";'></span><span>"+r+"</span></li>"}return e+"</ul>"}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Ks(e){return(Ks="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})(e)}function Xs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Js(e,t){return(Js=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $s(e){return($s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}mr=function(){var e=o,t=as;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Js(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=$s(n),t=(e=r?(e=$s(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Ks(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).themeField=t.themeField,e.style=t.style,e.styleGroups=t.styleGroups,e.isHoverAble=t.isHoverAble,e.highlightStyle=t.highlightStyle,e;throw new TypeError("Cannot call a class as a function")}return Xs((e=o).prototype,[{key:"createThematicFeature",value:function(e){var t=this.getStyleByData(e),n={};n.nodesClipPixel=this.nodesClipPixel,n.isHoverAble=this.isHoverAble,n.isMultiHover=this.isMultiHover,n.isClickAble=this.isClickAble,n.highlightStyle=g.transformStyle(this.highlightStyle);for(var r=new es(e,this,g.transformStyle(t),n),i=0;i<r.shapes.length;i++)this.renderer.addShape(r.shapes[i]);return r}},{key:"getStyleByData",value:function(e){var t={};if(t=D.copyAttributesWithClip(t,this.style),this.themeField&&this.styleGroups&&0<this.styleGroups.length&&e.attributes){var n,r,i=this.themeField,o=e.attributes,a=this.styleGroups,s=!1,l=null;for(n in o)if(i===n){s=!0,l=o[n];break}if(s)for(var u=0,c=a.length;u<c;u++)l.toString()===a[u].value.toString()&&(r=a[u].style,t=D.copyAttributesWithClip(t,r))}return t=e.style&&!0===this.isAllowFeatureStyle?D.copyAttributesWithClip(e.style):t}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Zs(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function el(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var tl={color:[0,0,0,255],opacity:.8,radius:10,radiusScale:1,radiusMinPixels:0,radiusMaxPixels:Number.MAX_SAFE_INTEGER,strokeWidth:1,outline:!1},nl=(el((wr=rl).prototype,[{key:"init",value:function(){this.canvas&&this.mapOptions.targetElement.appendChild(this.canvas),this._initContainer();var e,t=this.getState(),n=t.data,r=t.color,i=t.radius,o=t.opacity,a=t.highlightColor,s=t.radiusScale,l=t.radiusMinPixels,u=t.radiusMaxPixels,c=t.strokeWidth,f=t.outline,h=this,n={id:"scatter-plot",data:n,pickable:Boolean(this.onClick)||Boolean(this.onHover),autoHighlight:!0,color:r,opacity:o,radius:i,radiusScale:s,highlightColor:a,radiusMinPixels:l,radiusMaxPixels:u,strokeWidth:c,outline:f,isGeographicCoordinateSystem:this.isGeographicCoordinateSystem,coordinateSystem:this.coordinateSystem,getPosition:function(e){return e?(e=e.getLngLat())&&[e.lng,e.lat,0]:[0,0,0]},getColor:function(e){e=e&&e.getStyle();return e&&e.color||h.color},getRadius:function(e){e=e&&e.getStyle();return e&&e.radius||h.radius},updateTriggers:{getColor:[r],getRadius:[i]}},d=(this.onClick&&(n.onClick=this.onClick),this.onHover&&(n.onHover=this.onHover),this.layer=new window.DeckGL.ScatterplotLayer(n),{});for(e in t)d[e]=t[e];o=parseInt(this.canvas.style.width),s=parseInt(this.canvas.style.height);d.width=o,d.height=s,d.layers=[this.layer],d.canvas=this.canvas,this.deckGL=new window.DeckGL.experimental.DeckGLJS(d),this.draw()}},{key:"setStyle",value:function(e){var t={color:this.color,radius:this.radius,opacity:this.opacity,highlightColor:this.highlightColor,radiusScale:this.radiusScale,radiusMinPixels:this.radiusMinPixels,radiusMaxPixels:this.radiusMaxPixels,strokeWidth:this.strokeWidth,outline:this.outline};D.assign(this,t,e),this.update()}},{key:"setGraphics",value:function(e){this.graphics=this.graphics||[],this.graphics.length=0;var t=D.isArray(e)?[].concat(e):[e];this.layer.props.data||(this.layer.props.data=[]);for(var n=this.layer.props.data.length=0;n<t.length;n++)this.layer.props.data.push(t[n]);this.update()}},{key:"addGraphics",value:function(e){this.graphics=this.graphics||[];var t=D.isArray(e)?[].concat(e):[e];this.layer.props.data||(this.layer.props.data=[]);for(var n=0;n<t.length;n++)this.layer.props.data.push(t[n]);this.update()}},{key:"getGraphicBy",value:function(e,t){var n,r=null;for(n in this.graphics)if(this.graphics[n][e]===t){r=this.graphics[n];break}return r}},{key:"getGraphicById",value:function(e){return this.getGraphicBy("id",e)}},{key:"getGraphicsByAttribute",value:function(e,t){var n,r,i=[];for(r in this.graphics)(n=this.graphics[r])&&n.attributes&&n.attributes[e]===t&&i.push(n);return i}},{key:"removeGraphics",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;if(e&&0!==e.length&&e!==this.graphics)for(var t=(e=D.isArray(e)?e:[e]).length-1;0<=t;t--){var n=e[t],n=D.indexOf(this.graphics,n);-1!==n&&this.graphics.splice(n,1)}else this.graphics.length=0,this.layer.props.data&&(this.layer.props.data.length=0);this.update()}},{key:"update",value:function(){var e,t,n;"Awaiting state"!==this.layer.lifecycle&&(this.layer.setChangeFlags({dataChanged:!0,propsChanged:!0,viewportChanged:!0,updateTriggersChanged:!0}),e=this.getState(),t=parseInt(this.canvas.style.width),n=parseInt(this.canvas.style.height),e.width=t,e.height=n,this.layer.setState(e))}},{key:"clear",value:function(){this.removeGraphics(),this.deckGL.finalize()}},{key:"remove",value:function(){this.mapOptions.targetElement.removeChild(this.canvas)}},{key:"destroy",value:function(){this.remove(),this.clear()}},{key:"moveTo",value:function(e,t){var n=document.getElementById(this.id);(t=void 0===t||t)?(t=document.getElementById(e),n&&t&&t.parentNode.insertBefore(n,t)):(t=document.getElementById(e),n&&(t.nextSibling?t.parentNode.insertBefore(n,t.nextSibling):t.parentNode.appendChild(n)))}},{key:"setVisibility",value:function(e){this.canvas&&e!==this.visibility&&(this.visibility=e,this.canvas.style.display=e?"block":"none")}},{key:"draw",value:function(){var e,t=this.getState(),n={};for(e in t)n[e]=t[e];var r=parseInt(this.canvas.style.width),i=parseInt(this.canvas.style.height);n.width=r,n.height=i,n.layers=[this.layer],n.canvas=this.canvas,this.deckGL.setProps(n)}},{key:"_initContainer",value:function(){this.canvas=this._createCanvas(this.mapOptions.mapElement),this.mapOptions.targetElement.appendChild(this.canvas)}},{key:"_createCanvas",value:function(e){var t=document.createElement("canvas");return this.id&&(t.id=this.id),t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.cursor="",t.width=parseInt(e.style.width),t.height=parseInt(e.style.height),t.style.width=e.style.width,t.style.height=e.style.height,t}},{key:"getState",value:function(){var e=this.functions.getMapState();return function(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Zs(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):Zs(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}({data:this.graphics,color:this.color,radius:this.radius,opacity:this.opacity,highlightColor:this.highlightColor,radiusScale:this.radiusScale,radiusMinPixels:this.radiusMinPixels,radiusMaxPixels:this.radiusMaxPixels,strokeWidth:this.strokeWidth,outline:this.outline},e)}}]),Object.defineProperty(wr,"prototype",{writable:!1}),rl);function rl(e,t,n,r){if(!(this instanceof rl))throw new TypeError("Cannot call a class as a function");t=D.assign(this,tl,t);this.id=e,this.graphics=[].concat(t.graphics),this.mapOptions=r,this.functions=n,this.visibility=!0,this.init()}function il(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}il((kl=al).prototype,[{key:"addTo",value:function(e){return this.onAdd(e),this}},{key:"onAdd",value:function(e){this.map=e,this.renderer=new nl(this.id,this.options,{getMapState:this.getMapState.bind(this)},{targetElement:this.map.getCanvasContainer(),mapElement:this.map.getCanvas()})}},{key:"onRemove",value:function(){this.remove(),this.clear()}},{key:"render",value:function(){this.renderer.draw()}},{key:"setStyle",value:function(e){this.renderer&&this.renderer.setStyle(e)}},{key:"setGraphics",value:function(e){this.renderer&&this.renderer.setGraphics(e)}},{key:"addGraphics",value:function(e){this.renderer&&this.renderer.addGraphics(e)}},{key:"getGraphicBy",value:function(e,t){return this.renderer&&this.renderer.getGraphicBy(e,t)}},{key:"getGraphicById",value:function(e){return this.getGraphicBy("id",e)}},{key:"getGraphicsByAttribute",value:function(e,t){return this.renderer&&this.renderer.getGraphicsByAttribute(e,t)}},{key:"removeGraphics",value:function(){this.renderer&&this.renderer.removeGraphics(0<arguments.length&&void 0!==arguments[0]?arguments[0]:null)}},{key:"clear",value:function(){this.renderer&&this.renderer.clear()}},{key:"remove",value:function(){this.renderer&&this.renderer.remove()}},{key:"moveTo",value:function(e,t){this.renderer.moveTo(e,t)}},{key:"setVisibility",value:function(e){this.renderer.setVisibility(e)}},{key:"getState",value:function(){return this.renderer.getState()}},{key:"getMapState",value:function(){var e,t={},n=this.map.getCenter(),r={longitude:n.lng,latitude:n.lat,zoom:this.map.getZoom(),maxZoom:this.map.getMaxZoom(),pitch:this.map.getPitch(),bearing:this.map.getBearing()};for(e in r)t[e]=r[e];return this.map.getCRS&&this.map.getCRS()!==u().CRS.EPSG3857&&(t.coordinateSystem=this.coordinateSystem,t.isGeographicCoordinateSystem=this.isGeographicCoordinateSystem),t}}]),Object.defineProperty(kl,"prototype",{writable:!1});var wr=al,ol=function(){try{return THREE}catch(e){return{}}}();function al(e,t){if(!(this instanceof al))throw new TypeError("Cannot call a class as a function");this.options=t,this.id=e||D.createUniqueID("graphicLayer_"),this.type="custom",this.renderingMode="3d",this.overlay=!0}function sl(e,t,n){return e===n||e===t?e:((e-t)%(e=n-t)+e)%e+t}function ll(e){return e*Math.PI/180}var ul={matrix:[1,-1,0,0],projection:{R:6378137,minZoom:0,maxZoom:22,nativeMaxZoom:19,RAD:Math.PI/180,METERS_PER_DEGREE:6378137*Math.PI/180,MAX_LATITUDE:85.0511287798,project:function(e){var t=this.RAD,n=this.METERS_PER_DEGREE,r=this.MAX_LATITUDE,e=e instanceof Array?{lng:e[0],lat:e[1]}:{lng:e.lng,lat:e.lat},i=e.lng,e=Math.max(Math.min(r,e.lat),-r);return{x:i*n,y:(0===e?0:Math.log(Math.tan((90+e)*t/2))/t)*n}},unproject:function(e){var t=e.x,e=e.y,n=this.RAD,r=this.METERS_PER_DEGREE,i=0===e?0:(i=e/r,(2*Math.atan(Math.exp(i*n))-Math.PI/2)/n);return{lng:sl(t/r,-180,180),lat:sl(i,-this.MAX_LATITUDE,this.MAX_LATITUDE)}},locate:function(e,t,n){var r,i;return e?(n=n||0,(t=t||0)||n?(r=e.lng,0!==t&&(t=Math.abs(t),i=ll(e.lng),r=sl(180*(i+=2*Math.sqrt(Math.pow(Math.sin(t/(2*this.R)),2)/Math.pow(Math.cos(i),2))*(0<t?1:-1))/Math.PI,-180,180)),t=e.lat,0!==n&&(i=Math.abs(n),n=ll(e.lat),t=sl(180*(n+=2*Math.sin(i/(2*this.R))*(0<i?1:-1))/Math.PI,-90,90)),{lng:r,lat:t}):e):null},getResolution:function(e){if(!this.resolutions){for(var t=[],n=12756274*Math.PI,r=0;r<=this.maxZoom;r++)t[r]=n/(256*Math.pow(2,r));this.resolutions=t}var i=0|e,o=this.resolutions.length,a=this.resolutions[i=i<0?0:o-1<i?o-1:i];return(0|e)!==e&&i!=o-1?a+(this.resolutions[1+i]-a)*(e-i):a}},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},lngLatToPoint:function(e,t){e=this.project(e);return this.transform(e,this.projection.getResolution(t))},locate:function(e,t,n){return this.projection.locate(e,t,n)},transform:function(e,t){return{x:this.matrix[0]*(e.x-this.matrix[2])/t,y:this.matrix[1]*(e.y-this.matrix[3])/t}}};function cl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var fl=ul.projection,hl=ol.Color,dl=ol.Scene,pl=ol.WebGLRenderer,yl=ol.PerspectiveCamera,ml=ol.Vector3,gl=ol.Shape,vl=ol.Mesh,bl=ol.ExtrudeGeometry,_l=Math.PI/180,xl=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,wl=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame,Al=(cl((kl=Sl).prototype,[{key:"setMap",value:function(e){this.map=e}},{key:"render",value:function(){this._layer&&(this.prepare(),this._layer.fire("initialized"),this._layer&&this._layer.draw(this.context,this.scene,this.camera),this._layer.fire("draw"),this.renderScene())}},{key:"update",value:function(){this.remove(),this.render()}},{key:"renderScene",value:function(){this.locationCamera(),this.animationFrame=this.renderFrame(function(){this.animationFrame=null,this.context&&this.context.render(this.scene,this.camera)}.bind(this))}},{key:"renderFrame",value:function(e){return xl(function(){e&&"function"==typeof e&&e()})}},{key:"resize",value:function(){this._resetElementSize(this.container),this._resetElementSize(this.canvas);var e=this.canvas.width,t=this.canvas.height,n=this.getMapSize();this.camera.aspect=e/t,this.camera.updateProjectionMatrix(),this.context.setSize(n.width,n.height),this.renderScene()}},{key:"prepare",value:function(){if(!this.map)return new Error("map object is necessary");this.canvas?this.clear(this.context):(this._initContainer(),this._initThreeRenderer(),this._layer.fire("rendererinitialized"))}},{key:"getMapSize",value:function(){var e=this.map.getContainer();return{width:e.clientWidth,height:e.clientHeight}}},{key:"cancelFrame",value:function(){null!=this.animationFrame&&wl(this.animationFrame)}},{key:"remove",value:function(){null!=this.animationFrame&&wl(this.animationFrame),this.container.removeChild(this.canvas),this.container.parentNode.removeChild(this.container),this.context=null,this.canvas=null,this.container=null}},{key:"clear",value:function(e){e&&e.clear&&e.clear(),e&&e.clearRect&&e.clearRect(0,0,e.canvas.width,e.canvas.height)}},{key:"getScale",value:function(e){var t=this.map,t=null==e?t.getZoom():e,e=fl.getResolution(fl.nativeMaxZoom);return fl.getResolution(t)/e}},{key:"getCanvasContainer",value:function(){return this.container}},{key:"getCanvas",value:function(){return this.canvas}},{key:"locationCamera",value:function(){var e=this.map,t=this.getMapSize(),n=e.transform.zoomScale(fl.nativeMaxZoom-e.getZoom()-1),r=Math.tan(e.transform.fov/2*_l),i=this.camera,o=e.getPitch()*_l,n=-n*t.height/2/r,t=(i.position.z=n*Math.cos(o),ul.lngLatToPoint(e.getCenter(),fl.nativeMaxZoom)),r=Math.sin(o)*n,o=e.getBearing()*_l;i.position.x=t.x+r*Math.sin(o),i.position.y=t.y-r*Math.cos(o),i.up.set(Math.sin(o),-Math.cos(o),0),i.lookAt(new ol.Vector3(t.x,t.y,0)),i.updateProjectionMatrix()}},{key:"toThreeShape",value:function(e){var t,n,r=this;return e?(n=this.getCoordinatesCenter(e),t=this.lngLatToPosition(n),n=e.map(function(e){return r.lngLatToPosition({lng:e[0],lat:e[1]}).sub(t)}),new gl(n)):null}},{key:"toThreeMesh",value:function(e,t,n,r){var i;return e?(i=e,r&&(i=this.removeDuplicatedCoordinates(e)),r=this.distanceToThreeVector3(t,t).x,e=this.toThreeShape(i),t=new bl(e,{amount:r,bevelEnabled:!0}),e=new vl(t,n),t=this.lngLatToPosition(this.getCoordinatesCenter(i)),e.position.set(t.x,t.y,-r),e):null}},{key:"addObject",value:function(e,t){t&&e&&this.setPosition(e,t),this.scene.add(e)}},{key:"clearMesh",value:function(){var e=this.scene;if(e)for(var t=e.children.length-1;0<=t;t--)e.children[t]instanceof ol.Mesh&&e.remove(e.children[t]);return this}},{key:"clearAll",value:function(e){var t=this.scene;if(t)for(var n=t.children.length-1;0<=n;n--)!e&&t.children[n]instanceof ol.Camera||t.remove(t.children[n]);return this}},{key:"setPosition",value:function(e,t){return e&&t&&(t=this.lngLatToPosition(t),e.position.set(t.x,t.y,t.z)),this}},{key:"lngLatToPosition",value:function(e){var t=ul.projection.nativeMaxZoom,e=ul.lngLatToPoint(e,t);return new ml(e.x,e.y,-0)}},{key:"distanceToThreeVector3",value:function(e,t,n){var r=this.map,n=n||r.getCenter(),r=ul.projection.nativeMaxZoom,i=ul.locate(n,e,t),n=ul.lngLatToPoint(n,r),i=ul.lngLatToPoint(i,r),r=Math.abs(i.x-n.x)*Math.sign(e),e=Math.abs(i.y-n.y)*Math.sign(t);return new ml(r,e,0)}},{key:"removeDuplicatedCoordinates",value:function(e){function t(e,t){return e[0]===t[0]&&e[1]===t[1]}for(var n=[].concat(e),r=n.length-1;1<=r;r--)t(n[r],n[r-1])&&n.splice(r,1);return t(n[0],n[n.length-1])&&n.splice(n.length-1,1),n}},{key:"getCoordinatesCenter",value:function(e){for(var t=0,n=0,r=0,i=0,o=e.length;i<o;i++)e[i]&&(t+=e[i][0],n+=e[i][1],r++);return{lng:t/r,lat:n/r}}},{key:"_initContainer",value:function(){var e=this._createCanvas(),t=this.container=document.createElement("div");t.id=this._layer.id,t.className="threejs-wrapper",t.style.position="absolute",t.style.left="0px",t.style.top="0px",t.style.overflow="hidden",this._resetElementSize(t),t.appendChild(e),this.map.getCanvasContainer().appendChild(t)}},{key:"_createCanvas",value:function(){var e;if(!this.canvas)return(e=this.canvas=document.createElement("canvas")).className="threejs-overlay",e.style.outline="none",this._resetElementSize(e),e}},{key:"_resetElementSize",value:function(e){var t,n,r;e&&(t=this.getMapSize(),n=(r=window.devicePixelRatio||1)*t.width,r=r*t.height,e.width=n,e.height=r,e.style.width=t.width+"px",e.style.height=t.height+"px")}},{key:"_initThreeRenderer",value:function(){var e=this.map,t=this.getMapSize(),n=("gl"===(this.renderer||"gl")&&((n=new pl({canvas:this.canvas,alpha:!0,antialias:!0,preserveDrawingBuffer:!0},this.options)).autoClear=!0,n.clear()),n.setClearColor(new hl(1,1,1),0),n.canvas=this.canvas,this.context=n,e.transform.fov),e=Math.tan(n/2*_l),e=this.getScale(fl.minZoom)/this.getScale(fl.nativeMaxZoom)*t.height/2/e;this.camera=new yl(n,t.width/t.height,1,e),this.scene=new dl,this.scene.add(this.camera)}}]),Object.defineProperty(kl,"prototype",{writable:!1}),Sl);function Sl(e,t,n){if(!(this instanceof Sl))throw new TypeError("Cannot call a class as a function");this._layer=e,this.renderer=t||"gl",this.options=n}function Cl(e){return(Cl="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})(e)}function Ol(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function El(e,t){return(El=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ml(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pl(e){return(Pl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var kl=function(){var e=o,t=u().Evented;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&El(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Pl(n),t=(e=r?(e=Pl(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Cl(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Ml(t)};function o(e,t,n){var r;if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");(r=i.call(this)).id=e,r.type="custom",r.renderingMode="3d",r.overlay=!0;e=(r.options=n)&&n.threeOptions;return r.renderer=new Al(Ml(r),t,e),r}return Ol((e=o).prototype,[{key:"onAdd",value:function(e){return this._map=e,this.renderer.setMap(e),this.renderer.render(),this.on("render",function(){this.context&&this.context.render(this.scene,this.camera)}.bind(this.renderer)),this}},{key:"addTo",value:function(e){return e.addLayer(this),this}},{key:"toThreeShape",value:function(e){return this.renderer.toThreeShape(e)}},{key:"toThreeMesh",value:function(e,t,n,r){return this.renderer.toThreeMesh(e,t,n,r)}},{key:"addObject",value:function(e,t){this.renderer&&this.renderer.addObject(e,t)}},{key:"getScene",value:function(){return this.renderer.scene}},{key:"getCamera",value:function(){return this.renderer.camera}},{key:"getThreeRenderer",value:function(){return this.renderer.context}},{key:"clearMesh",value:function(){return this.renderer.clearMesh(),this}},{key:"clearAll",value:function(e){return this.renderer.clearAll(e),this}},{key:"setPosition",value:function(e,t){return this.renderer.setPosition(e,t)}},{key:"lngLatToPosition",value:function(e){return this.renderer.lngLatToPosition(e)}},{key:"distanceToThreeVector3",value:function(e,t,n){var r=this._map,n=n||r.getCenter();return this.renderer.distanceToThreeVector3(e,t,n)}},{key:"removeDuplicatedCoordinates",value:function(e){this.renderer.removeDuplicatedCoordinates(e)}},{key:"getCoordinatesCenter",value:function(e){return this.renderer.getCoordinatesCenter(e)}},{key:"render",value:function(){this._update()}},{key:"getCanvasContainer",value:function(){return this.renderer.getCanvasContainer()}},{key:"getCanvas",value:function(){return this.renderer.getCanvas()}},{key:"remove",value:function(){this.renderer.remove(),this._map=null}},{key:"draw",value:function(){return this}},{key:"renderScene",value:function(){return this.renderer.renderScene(),this.fire("renderscene"),this}},{key:"_update",value:function(){return this.renderScene(),this.fire("render"),this}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Tl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Tl((Fl=Ll).prototype,[{key:"addFeatures",value:function(e){this.features=this.toiClientFeature(e),this.refresh()}},{key:"refresh",value:function(){0!==this.features.length&&this.updateHeatPoints(this.extent)}},{key:"setOpacity",value:function(e){e!==this.opacity&&(this.opacity=e,D.modifyDOMElement(this.rootCanvas,null,null,null,null,null,null,e))}},{key:"updateHeatPoints",value:function(e){this.features&&0<this.features.length?this.convertFastToPixelPoints(e):this.canvasContext.clearRect(0,0,this.maxWidth,this.maxWidth)}},{key:"convertFastToPixelPoints",value:function(e){var t,n,r,i=[],o=e.getEast()-e.getWest(),e=e.getNorth()-e.getSouth(),a=this.mapElement,o=o/a.width>e/a.height?o/a.width:e/a.height;this.useRadius=this.useGeoUnit?parseInt(this.radius/o):this.radius;for(var s=0;s<this.features.length;s++){var l=this.features[s],u=l.geometry,u=this.getPixelXY(new re(u.x,u.y));this.featureWeight?(u.weight=l.attributes[this.featureWeight],this.maxWeight||(n=n||u.weight,r=r||u.weight,n=Math.max(n,u.weight),r=Math.min(r,u.weight))):u.weight=1,l=Math.floor(u.x),t=Math.floor(u.y),u=u.weight,i.push([l,t,u])}this.maxWeight?this.draw(i,this.maxWeight):this.draw(i,n&&r?(n+r)/2:1)}},{key:"draw",value:function(e,t){if(!(0<this.maxHeight&&0<this.maxWidth))return!1;var n=this.canvasContext;n.setTransform(1,0,0,1,0,0),this.canvasContext.clearRect(0,0,this.maxWidth,this.maxHeight),this.drawCircle(this.useRadius),this.createGradient();for(var r=0;r<e.length;r++){var i=e[r];this.canvasContext.globalAlpha=Math.max(i[2]/t,.05),this.canvasContext.drawImage(this.circle,i[0]-this.useRadius,i[1]-this.useRadius)}var o=n.getImageData(0,0,this.maxWidth,this.maxHeight);this.colorize(o.data,this.grad),n.putImageData(o,0,0)}},{key:"colorize",value:function(e,t){for(var n,r=0;r<e.length;r+=4)(n=4*e[r+3])&&(e[r]=t[n],e[r+1]=t[1+n],e[r+2]=t[2+n])}},{key:"drawCircle",value:function(e){var t=e/2,n=this.circle=document.createElement("canvas"),r=n.getContext("2d");n.height=2*e,n.width=2*e,r.shadowOffsetX=r.shadowOffsetY=2*e,r.shadowBlur=t,r.shadowColor="#000000",r.beginPath(),r.arc(-e,-e,e/2,0,2*Math.PI,!0),r.closePath(),r.fill()}},{key:"createGradient",value:function(){var e=this.colors,t=document.createElement("canvas"),n=t.getContext("2d"),r=n.createLinearGradient(0,0,0,256);t.height=256;for(var i=t.width=1,o=0,a=e.length;o<a;o++)r.addColorStop(i/a,e[o]),i++;n.fillStyle=r,n.fillRect(0,0,1,256),this.grad=n.getImageData(0,0,1,256).data}},{key:"getPixelXY",value:function(e){var t;return(e instanceof P||e instanceof Ln)&&(t=this.options.convertLatlonToPixel({lon:e.x,lat:e.y}),t={x:parseInt(t.x),y:parseInt(t.y)}),e instanceof re&&(e=this.options.convertLatlonToPixel(e),t={x:parseInt(e.x),y:parseInt(e.y)}),t}},{key:"_createCanvasContainer",value:function(e){this.rootCanvas=document.createElement("canvas"),this.rootCanvas.id=this.options.id,this.rootCanvas.width=this.maxWidth=parseInt(this.mapElement.style.width),this.rootCanvas.height=this.maxHeight=parseInt(this.mapElement.style.height),this.canvasContext=this.rootCanvas.getContext("2d");var t=window.devicePixelRatio||1;1!==t&&this.canvasContext&&this.canvasContext.scale(t,t),D.modifyDOMElement(this.rootCanvas,null,{x:0,y:0},{w:this.maxWidth,h:this.maxHeight},"absolute",null,null,this.opacity),e.appendChild(this.rootCanvas)}},{key:"toiClientFeature",value:function(e){D.isArray(e)||(e=[e]);for(var t=[],n=0;n<e.length;n++)if(e[n]instanceof et)t.push(e[n]);else if(-1!=["FeatureCollection","Feature","Geometry"].indexOf(e[n].type))var r=new En,t=t.concat(r.read(e[n]));else{if(!e[n].geometry||!e[n].geometry.parts)throw new Error("Features[".concat(n,"]'s type does not match, please check."));t.push(qi.fromJson(e[n]).toFeature())}return t}},{key:"removeFeatures",value:function(e){if(e&&0!==e.length&&this.features&&0!==this.features.length){if(e===this.features)return this.removeAllFeatures();for(var t,n,r=[],i=0,o=(e=D.isArray(e)?e:[e]).length;i<o;i++)t=e[i],-1!==(n=D.indexOf(this.features,t))?this.features.splice(n,1):r.push(t);var a=0==r.length;return this.refresh(),{succeed:a,heatPointsFailedRemoved:r}}}},{key:"removeAllFeatures",value:function(){this.features=[],this.refresh()}},{key:"removeFromMap",value:function(){this.removeAllFeatures(),this.options.targetElement.removeChild(this.rootCanvas)}},{key:"setVisibility",value:function(e){this.rootCanvas&&e!==this.visibility&&(this.visibility=e,this.rootCanvas.style.display=e?"block":"none")}},{key:"setExtent",value:function(e){this.extent=e}},{key:"_hide",value:function(){this.rootCanvas.style.display="none"}},{key:"_show",value:function(){this.rootCanvas.style.display="block"}}]),Object.defineProperty(Fl,"prototype",{writable:!1});var Il=Ll;function Ll(e){if(!(this instanceof Ll))throw new TypeError("Cannot call a class as a function");this.options=e,this.rootCanvas=null,this.features=[],this.visibility=!0,this.opacity=e.opacity||1,this.colors=e.colors||["blue","cyan","lime","yellow","red"],this.useGeoUnit=!!e.useGeoUnit&&e.useGeoUnit,this.radius=e.radius||50,this.featureWeight=e.featureWeight||null,this.maxWeight=null,this.minWeight=null,this.canvasContext=null,this.maxWidth=null,this.maxHeight=null,this.extent={},this.mapElement=e.mapElement,this._createCanvasContainer(e.targetElement,e.size)}function jl(e){return(jl="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})(e)}function Dl(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Bl(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Dl(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):Dl(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}function Rl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Nl(e,t){return(Nl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function zl(e){return(zl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Fl=function(){var e=o,t=u().Evented;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nl(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=zl(n),t=(e=r?(e=zl(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==jl(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return t=t||{},(n=i.call(this)).options=t,n.name=e,n.id=t.id||D.createUniqueID("HeatMapLayer_"),n.loadWhileAnimating=void 0===t.loadWhileAnimating||t.loadWhileAnimating,n.features={},n.EVENT_TYPES=["featuresadded","featuresremoved","featuresdrawcompleted"],n.type="custom",n.renderingMode="3d",n.overlay=!0,n;throw new TypeError("Cannot call a class as a function")}return Rl((e=o).prototype,[{key:"onAdd",value:function(e){this.map=e;var e=this.map.getCanvasContainer(),t=this.map.getCanvas();this.renderer=new Il(Bl(Bl({id:this.id},this.options),{},{convertLatlonToPixel:this._convertLatlonToPixel.bind(this),targetElement:e,mapElement:t})),this.features.features&&this.features.features.length&&(this.renderer.setExtent(this.map.getBounds()),this.renderer.addFeatures(this.features))}},{key:"onRemove",value:function(){this.removeAllFeatures(),this.renderer.removeFromMap(),this.features={},this.renderer=null}},{key:"render",value:function(){this.refresh()}},{key:"addFeatures",value:function(e){this.renderer?this.renderer.addFeatures(e):this.features=e,this.fire(this.EVENT_TYPES[0],{features:e,succeed:!0})}},{key:"refresh",value:function(){this.map&&(this.renderer.setExtent(this.map.getBounds()),this.renderer.refresh())}},{key:"setOpacity",value:function(e){e!==this.opacity&&(this.renderer.setOpacity(e),null!==this.map)&&this.fire("changelayer",{layer:this,property:"opacity"})}},{key:"updateHeatPoints",value:function(e){this.renderer.updateHeatPoints(e)}},{key:"getPixelXY",value:function(e){return this.renderer.getPixelXY(e)}},{key:"removeFeatures",value:function(e){var t,e=this.renderer.removeFeatures(e);e&&(t=e.heatPointsFailedRemoved,e=e.succeed,this.fire(this.EVENT_TYPES[1],{features:t,succeed:e}))}},{key:"removeAllFeatures",value:function(){this.renderer.removeAllFeatures()}},{key:"moveTo",value:function(e,t){var n=document.getElementById(this.renderer.rootCanvas.id);(t=void 0===t||t)?(t=document.getElementById(e),n&&t&&t.parentNode.insertBefore(n,t)):(t=document.getElementById(e),n&&(t.nextSibling?t.parentNode.insertBefore(n,t.nextSibling):t.parentNode.appendChild(n)))}},{key:"setVisibility",value:function(e){this.renderer.setVisibility(e)}},{key:"_convertLatlonToPixel",value:function(e){return this.map.project(new(u().LngLat)(e.lon,e.lat))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Vl(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Hl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Hl((Kl=Gl).prototype,[{key:"onAdd",value:function(){}},{key:"render",value:function(){}},{key:"setStyle",value:function(e){D.extend(this.props,e),this._createLayerByLayerTypeID(),this.update()}},{key:"setData",value:function(e){this.data=this.data||[],this.data.length=0;var t=D.isArray(e)?[].concat(e):[e];this.layer.props.data||(this.layer.props.data=[]);for(var n=this.layer.props.data.length=0;n<t.length;n++)this.layer.props.data.push(t[n]);this.data=this.layer.props.data,this.update()}},{key:"addData",value:function(e){this.data=this.data||[];var t=D.isArray(e)?[].concat(e):[e];this.layer.props.data||(this.layer.props.data=[]);for(var n=0;n<t.length;n++)this.layer.props.data.push(t[n]);this.update()}},{key:"update",value:function(){"Awaiting state"!==this.layer.lifecycle&&this.layer.setChangeFlags({dataChanged:!0,propsChanged:!0,viewportChanged:!0,updateTriggersChanged:!0}),this._draw()}},{key:"clear",value:function(){this.removeData(),this.deckGL.finalize()}},{key:"removeData",value:function(){this.data.length=0,this.layer.props.data&&(this.layer.props.data.length=0),this.update()}},{key:"moveTo",value:function(e,t){var n=document.getElementById(this.id);(t=void 0===t||t)?(t=document.getElementById(e),n&&t&&t.parentNode.insertBefore(n,t)):(t=document.getElementById(e),n&&(t.nextSibling?t.parentNode.insertBefore(n,t.nextSibling):t.parentNode.appendChild(n)))}},{key:"setVisibility",value:function(e){this.canvas&&e!==this.visibility&&(this.visibility=e,this.canvas.style.display=e?"block":"none")}},{key:"_draw",value:function(){var e=this._getState();e.layers=[this.layer],e.canvas=this.canvas,this.deckGL.setProps(e)}},{key:"_getState",value:function(){var e,t,n=function(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Vl(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):Vl(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}({width:parseInt(this.canvas.style.width),height:parseInt(this.canvas.style.height)},this.getMapInfo()),r={};for(e in n)r[e]=n[e];for(t in this.props)r[t]=this.props[t];return this._isEPSG3857&&this._isEPSG3857()?(r.coordinateSystem=this.coordinateSystem,r.isGeographicCoordinateSystem=this.isGeographicCoordinateSystem):(r.coordinateSystem=1,r.isGeographicCoordinateSystem=!1),r.data=this.data,r}},{key:"_createLayerByLayerTypeID",value:function(){if(this.props.data=this.data,this.props.isGeographicCoordinateSystem=this.isGeographicCoordinateSystem,this.props.coordinateSystem=this.coordinateSystem,this.props.pickable=Boolean(this.props.onClick)||Boolean(this.props.onHover),"scatter-plot"===this.layerTypeID)this.props.id="scatter-plot",this._createScatterPlotLayer();else if("path-layer"===this.layerTypeID)this.props.id="path-layer",this._createPathLayer();else if("polygon-layer"===this.layerTypeID)this.props.id="polygon-layer",this._createPolygonLayer();else if("arc-layer"===this.layerTypeID)this.props.id="arc-layer",this._createArcLineLayer();else{if("hexagon-layer"!==this.layerTypeID)throw new Error(this.layerTypeID+" does not support");this.props.id="hexagon-layer",this._createHexagonLayer()}}},{key:"_createScatterPlotLayer",value:function(){var t=this;this.props.getPosition=this.callback.getPosition||function(e){return e?(e=e.getLngLat())&&[e.lng,e.lat,0]:[0,0,0]},this.callback.getColor&&(this.props.getColor=this.callback.getColor||function(e){e=e&&e.getStyle();return e&&e.color||t.props.color}),this.callback.getRadius&&(this.props.getRadius=this.callback.getRadius||function(e){e=e&&e.getStyle();return e&&e.radius||t.props.radius}),(this.props.color||this.props.radius)&&(this.props.updateTriggers={},this.props.radius&&(this.props.updateTriggers.getRadius=[this.props.radius]),this.props.color)&&(this.props.updateTriggers.getColor=[this.props.color]),this.layer=new window.DeckGL.ScatterplotLayer(this.props)}},{key:"_createPathLayer",value:function(){this.props.getPath=this.callback.getPath||function(e){return e.geometry.coordinates},this.callback.getColor&&(this.props.getColor=this.callback.getColor),this.callback.getWidth&&(this.props.getWidth=this.callback.getWidth),this.callback.getDashArray&&(this.props.getDashArray=this.callback.getDashArray),this.layer=new window.DeckGL.PathLayer(this.props)}},{key:"_createPolygonLayer",value:function(){this.props.getPolygon=this.callback.getPolygon||function(e){return e.geometry.coordinates},this.callback.getElevation&&(this.props.getElevation=this.callback.getElevation),this.callback.getFillColor&&(this.props.getFillColor=this.callback.getFillColor),this.callback.getLineColor&&(this.props.getLineColor=this.callback.getLineColor),this.callback.getLineWidth&&(this.props.getLineWidth=this.callback.getLineWidth),this.props.updateTriggers={},this.props.updateTriggers.getColor=this.props.color||[0,0,128,128],this.layer=new window.DeckGL.PolygonLayer(this.props)}},{key:"_createArcLineLayer",value:function(){this.props.getSourcePosition=this.callback.getSourcePosition||function(e){return e?e.geometry.coordinates[0]:[0,0,0]},this.props.getTargetPosition=this.callback.getTargetPosition||function(e){return e?e.geometry.coordinates[1]:[0,0,0]},this.callback.getStrokeWidth&&(this.props.getStrokeWidth=this.callback.getStrokeWidth),this.callback.getSourceColor&&(this.props.getSourceColor=this.callback.getSourceColor),this.callback.getTargetColor&&(this.props.getTargetColor=this.callback.getTargetColor),this.layer=new window.DeckGL.ArcLayer(this.props)}},{key:"_createHexagonLayer",value:function(){this.props.getPosition=this.callback.getPosition||function(e){return e?e.geometry.coordinates:[0,0,0]},this.callback.getColorValue&&(this.props.getColorValue=this.callback.getColorValue),this.callback.getElevationValue&&(this.props.getElevationValue=this.callback.getElevationValue),this.layer=new window.DeckGL.HexagonLayer(this.props)}},{key:"_initContainer",value:function(e,t){var t=t.style,n=t.width,t=t.height;this.canvas=this._createCanvas(n,t),e.appendChild(this.canvas)}},{key:"_createCanvas",value:function(e,t){var n=document.createElement("canvas");return n.id=this.id,n.style.position="absolute",n.style.top="0px",n.style.left="0px",n.style.cursor="",n.width=parseInt(e),n.height=parseInt(t),n.style.width=e,n.style.height=t,n}}]),Object.defineProperty(Kl,"prototype",{writable:!1});var Yl=Gl;function Gl(e,t){if(!(this instanceof Gl))throw new TypeError("Cannot call a class as a function");this.layerTypeID=e,this.data=[].concat(t.data),this.props=t.props||{},this.callback=t.callback||{},this.id=t.layerId||D.createUniqueID("graphicLayer_"+this.layerTypeID+"_")}function Ul(e){return(Ul="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})(e)}function Ql(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wl(e,t){return(Wl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ql(e){return(ql=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Kl=function(){var e=o,t=Yl;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Wl(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ql(n),t=(e=r?(e=ql(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Ul(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).type="custom",e.renderingMode="3d",e.overlay=!0,e;throw new TypeError("Cannot call a class as a function")}return Ql((e=o).prototype,[{key:"onAdd",value:function(e){if(this.map=e,this.canvas)this.mapContainer=this.map.getCanvasContainer();else{this._isEPSG3857()?(this.coordinateSystem=3,this.isGeographicCoordinateSystem=!0):(this.coordinateSystem=1,this.isGeographicCoordinateSystem=!1),this._initContainer(this.map.getCanvasContainer(),this.map.getCanvas()),this._createLayerByLayerTypeID();var t,n=this._getState(),r={};for(t in n)r[t]=n[t];r.layers=[this.layer],r.canvas=this.canvas,this.deckGL=new window.DeckGL.experimental.DeckGLJS(r),this._draw()}return this}},{key:"onRemove",value:function(){this.map.getCanvasContainer().removeChild(this.canvas),this.clear()}},{key:"getMapInfo",value:function(){var e=this.map.getCenter();return{center:e,zoom:this.map.getZoom(),maxZoom:this.map.getMaxZoom(),pitch:this.map.getPitch(),bearing:this.map.getBearing(),longitude:e.lng,latitude:e.lat}}},{key:"render",value:function(){this._draw()}},{key:"_isEPSG3857",value:function(){return this.map.getCRS&&this.map.getCRS()!==u().CRS.EPSG3857}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Xl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var $l={textSize:"12px",textFont:["12px Calibri","sans-serif"],textAnchor:"bottom",textColor:"rgba(0,0,0,1)",textHaloColor:"rgba(255,255,255,1)",textHaloWidth:1},Zl={lineColor:"red",lineCap:"round",lineJoin:"round",lindDasharray:[.4,5],lineDashOffset:0,lineWidth:1},eu={showLabel:!0,opacity:1,visible:!0,interval:10,extent:null,minZoom:0,maxZoom:50,wrapX:!0,strokeStyle:Zl,lngLabelFormatter:null,latLabelFormatter:null,lngLabelStyle:$l,latLabelStyle:$l},tu=(Jl((hu=nu).prototype,[{key:"init",value:function(){this._initialize(),this._createCanvas(),this._drawCanvas(),this.setVisibility(),this._drawLabel()}},{key:"onRemove",value:function(){this.targetElement.removeChild(this.canvas),this.canvas=null}},{key:"setMinZoom",value:function(e){this.options.minZoom=e,this.setVisibility()}},{key:"setMaxZoom",value:function(e){this.options.maxZoom=e,this.setVisibility()}},{key:"setShowLabel",value:function(e){this.options.showLabel=e,this._drawLabel()}},{key:"setExtent",value:function(e){this.options.extent=this.getDefaultExtent(e),this.features=this._getGraticuleFeatures(),this.updateGraticuleLayer(),this._drawLabel()}},{key:"setLngLabelStyle",value:function(e){this.options.lngLabelStyle=e,this._drawLabel()}},{key:"setLatLabelStyle",value:function(e){this.options.latLabelStyle=e,this._drawLabel()}},{key:"setIntervals",value:function(e){this.options.interval=e,this._calcInterval(),this.features=this._getGraticuleFeatures(),this.updateGraticuleLayer(),this._drawLabel()}},{key:"draw",value:function(){this._reset()}},{key:"_initialize",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.options;(e=e||{}).strokeStyle=Object.assign({},Zl,e.strokeStyle||{}),e.lngLabelStyle=Object.assign({},$l,e.lngLabelStyle||{}),e.latLabelStyle=Object.assign({},$l,e.latLabelStyle||{}),this.options=Object.assign({},eu,e,{extent:this.getDefaultExtent(e.extent),wrapX:e.wrapX}),this.oldExtent=this.options.extent,this._calcInterval(),this.isRotate=!1,this.visible=!0,this.features=this._getGraticuleFeatures()}},{key:"_createCanvas",value:function(){var e,t;this.canvas||(e=this.mapElement,this.canvas=document.createElement("canvas"),this.canvas.id=this.canvasId,this.canvas.style.position="absolute",this.canvas.style.top="0px",this.canvas.style.left="0px",t=("undefined"==typeof window?{}:window).devicePixelRatio||1,this.canvas.width=parseInt(e.style.width)*t,this.canvas.height=parseInt(e.style.height)*t,this.canvas.style.width=e.style.width,this.canvas.style.height=e.style.height,this.canvas.globalAlpha=this.options.opacity,this.targetElement.appendChild(this.canvas))}},{key:"_drawCanvas",value:function(){this.canvas||this._createCanvas(),this.setVisibility(),this._reset()}},{key:"_resizeCallback",value:function(){this.targetElement&&this.targetElement.removeChild(this.canvas),this.canvas=null,this._drawCanvas()}},{key:"_reset",value:function(){this._updateRotate(),this._updateExtent(),this._calcInterval(),this._drawLabel()}},{key:"_updateRotate",value:function(){var e=this.getMapStateByKey("getBearing");this.isRotate=-180<e&&e<=-90||90<=e&&e<180}},{key:"_updateExtent",value:function(){var e,t;this.options.wrapX&&!this.oldExtent&&(e=(t=this.getMapStateByKey("getBounds"))._ne,t=t._sw,this.options.extent=[t.lng,t.lat,e.lng,e.lat])}},{key:"_calcInterval",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.options.interval;"function"==typeof e&&(e=e(this.map)),this._currLngInterval=e,this._currLatInterval=e}},{key:"_formatLat",value:function(e){return this.options.latFormatTickLabel?this.options.latLabelFormatter(e):e<0?Ss(-1*e)+"S":0<e?Ss(e)+"N":""+Ss(e)}},{key:"_formatLng",value:function(e){return this.options.lngLabelFormatter?this.options.lngLabelFormatter(e):0<(e=As(e))&&e<=180?Ss(e)+"E":e<0&&-180<=e?Ss(-1*e)+"W":""+Ss(e)}},{key:"_parsePxToInt",value:function(e){2<e.length&&"p"===e.charAt(e.length-2)&&(e=e.substr(0,e.length-2));try{return parseInt(e,10)}catch(e){console.log(e)}return 0}},{key:"_drawLabel",value:function(){var t,n,e,r=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.visible,o=this.canvas,a=o.getContext("2d");i&&this.options.showLabel?this.mapElement&&(this._currLngInterval&&this._currLatInterval||this._calcInterval(),a.clearRect(0,0,o.width,o.height),i=this.options,t=i.lngLabelStyle,n=i.latLabelStyle,e=(i=this._getGridiculePoints()).lngPoints,i=i.latPonits,e.forEach(function(e){r._drawLng(a,e[0],e[1],e[2],t)}),i.forEach(function(e){r._drawLat(a,e[0],e[1],e[2],n)})):a.clearRect(0,0,o.width,o.height)}},{key:"_drawLat",value:function(e,t,n,r,i){e=this._setLabelStyle(e,i);var i=this.canvas.width,o=12;try{var a=e.font.split(" ")[0],o=this._parsePxToInt(a)}catch(e){console.log(e)}r||(a=t,t=n,n=this.getMapStateByKey("project",[a,t]));a=this._formatLat(t),t=e.measureText(a).width;e.strokeText(a,(r?i:n.x)-t,(r?n:n.y)+o/2),e.fillText(a,(r?i:n.x)-t,(r?n:n.y)+o/2)}},{key:"_drawLng",value:function(e,t,n,r,i){e=this._setLabelStyle(e,i);var i=this.canvas.height,o=(r||(o=n,n=this.getMapStateByKey("project",[t,o])),this._formatLng(t)),t=e.measureText(o).width;e.strokeText(o,(r?n:n.x)-t/2,r?i:n.y),e.fillText(o,(r?n:n.x)-t/2,r?i:n.y)}},{key:"_getLatPoints",value:function(){var n,r=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[-180,180],o=1<arguments.length?arguments[1]:void 0,a=2<arguments.length?arguments[2]:void 0,e=3<arguments.length&&void 0!==arguments[3]?arguments[3]:this.features;if(e)return this.options.wrapX&&-180===i[0]&&180===i[1]?[]:(n=[],e.forEach(function(e){var t=e.geometry.coordinates[0][1];e.geometry.coordinates[1][1]===t&&(e="number"==typeof a?a:i[1],r.isRotate&&(e="number"==typeof o?o:i[0]),(n=r.options.wrapX?n.concat(r._getWrapPoints(e,t,[e,e])):n).push([e,t]))}),n)}},{key:"_getLngPoints",value:function(){var n,r,i=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[-90,90],t=1<arguments.length?arguments[1]:void 0,o=2<arguments.length?arguments[2]:void 0,a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:this.features;if(a)return n="number"==typeof t?t:e[0],this.isRotate&&(n="number"==typeof o?o:e[1]),r=[],a.forEach(function(e){var t=e.geometry.coordinates[0][0];e.geometry.coordinates[1][0]===t&&(r.push([t,n]),i.options.wrapX)&&(r=r.concat(i._getWrapPoints(t,n)))}),r}},{key:"_getWrapPoints",value:function(e,t){for(var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.oldExtent,r=[],i=this.getMapStateByKey("getBounds"),o=i._ne,a=i._sw,s=2<n.length?n[2]:n[1];e>=a.lng;){var l=As(e,180===s,-180===n[0]);(!n||l>=n[0]&&l<=s)&&r.push([e,t]),e-=360}for(;e<=o.lng;){var u=As(e,180===s,-180===n[0]);(!n||u>=n[0]&&u<=s)&&r.push([e,t]),e+=360}return r}},{key:"_getGridiculePoints",value:function(){var e=this._getEdgeLat(),t=this._getEdgeLng(),n=this._getRange(),r=n.latRange,i=n.lngRange,o=n.firstLat,a=n.firstLng,s=n.lastLat,n=n.lastLng;return{latPonits:this._getUniquePoint(this._getLatPoints(i,a,n),e,1),lngPoints:this._getUniquePoint(this._getLngPoints(r,o,s),t,0)}}},{key:"_getEdgeLat",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this._currLatInterval,t=[],n=[],r=this.canvas.width,i=this.canvas.height,o=this._getRange().extent,a=this.getMapStateByKey("getBounds")._ne;if(this.options.wrapX&&As(a.lng)>o[2])return[];for(var s=this._countDecimals(e),l=0;l<=i;l++){var u=this.getMapStateByKey("unproject",[r,l]),c=As(u.lng);(this.options.wrapX?c>=o[0]&&c<=o[2]:u.lng>=o[0]&&u.lng<=o[2])&&u.lat>=o[1]&&u.lat<=o[3]&&(t.push([u.lat,l]),n.push(u.lat),void 0===p)&&u.lat.toFixed(s)%e==0&&(p=Number(u.lat.toFixed(s)))}var a=this._getIntersectRange(p,n,t,e),f=a.first,h=a.last,d=a.coordinates,a=a.points,p=Math.min(Math.max(f,-90),90),f=Math.max(Math.min(Math.round(h),90),-90);return-90!==p||-90!==f?this._getClosestCoordinate(p,f,d,a,e):[]}},{key:"_getEdgeLng",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this._currLngInterval,t=[],n=[],r=this.canvas.width,i=this.canvas.height,o=this.options.extent,a=this._countDecimals(e),s=this.getMapStateByKey("getBounds")._sw;if(this.options.wrapX&&As(s.lat)>o[3])return[];for(var l=0;l<=r;l++){var u=this.getMapStateByKey("unproject",[l,i]),c=As(u.lng);(this.options.wrapX?c>=o[0]&&c<=o[2]:u.lng>=o[0]&&u.lng<=o[2])&&u.lat>=o[1]&&u.lat<=o[3]&&(t.push([u.lng,l]),n.push(u.lng),void 0===p)&&u.lng.toFixed(a)%e==0&&(p=Number(u.lng.toFixed(a)))}var s=this._getIntersectRange(p,n,t,e),f=s.first,h=s.last,d=s.coordinates,s=s.points,p=f;return this._getClosestCoordinate(p,h,d,s,e)}},{key:"_getIntersectRange",value:function(e,t,n,r){var i=t[t.length-1];if(i<e){i=e,t.reverse(),n.reverse();for(var o=this._countDecimals(r),a=0;a<=t.length;a++){var s=t[a];if(s.toFixed(o)%r==0){e=Number(s.toFixed(o));break}}}return{first:e,last:i,coordinates:t,points:n}}},{key:"_getClosestCoordinate",value:function(e,t,n,r,i){for(var o=[],a=e;a<=t;){var s=this._getClosestNumberIndex(a,n),l=r[s];o.push([Math.round(l[0]),l[1],!0]),a+=i,n=n.slice(s),r=r.slice(s)}return o}},{key:"_getClosestNumberIndex",value:function(e,t){for(var n=0,r=Number.MAX_VALUE,i=0;i<t.length;i++){var o=Math.abs(t[i]-e);o<=r&&(o===r&&t[i]<t[n]||(n=i,r=o))}return n}},{key:"_getUniquePoint",value:function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0;if(this.options.wrapX)return t.concat(e);if(!e||0===e.length)return t;var r,i=e,o=this.canvas.width,a=this.canvas.height;for(r in t){var s=this.getMapStateByKey("project",t[r]),l=i.findIndex(function(e){return e[0]===t[r][n]});l<=-1?i.push(t[r]):s&&0<=s.x&&s.x<=o&&0<=s.y&&s.y<=a&&(i[l]=t[r])}return i}},{key:"_countDecimals",value:function(e){return Math.floor(e)!==e&&e.toString().split(".")[1].length||0}},{key:"_getGraticuleFeatures",value:function(){var e=this._currLngInterval||10,t=this._currLatInterval||10,n=[],r=this._getRange(),i=r.latRange,o=r.lngRange,a=r.firstLat,s=r.firstLng,l=r.lastLat,u=r.lastLng;this.options.wrapX&&!this.oldExtent&&(i=[-90,90],o=[-180,180],a=s=l=u=null),"number"==typeof s&&n.unshift(this._makeLineFeature(this._makeLineCoords(s,i,a,l))),"number"==typeof u&&n.unshift(this._makeLineFeature(this._makeLineCoords(u,i,a,l)));for(var c=o[0];c<=o[1];c+=e)n.unshift(this._makeLineFeature(this._makeLineCoords(c,i,a,l)));"number"==typeof a&&n.unshift(this._makeLineFeature(this._makeLineCoords(a,o,s,u,"lat"))),"number"==typeof l&&n.unshift(this._makeLineFeature(this._makeLineCoords(l,o,s,u,"lat")));for(var f=i[0];f<=i[1];f+=t)n.unshift(this._makeLineFeature(this._makeLineCoords(f,o,s,u,"lat")));return n}},{key:"_getRange",value:function(){var e,t,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.options.extent&&(function(e){if(Array.isArray(e))return Xl(e)}(e=this.options.extent)||function(){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}()||function(e){var t;if(e)return"string"==typeof e?Xl(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Xl(e,void 0):void 0}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r={};return(n=(n=n&&0!==n.length?n:this.getDefaultExtent()).map(function(e){return Number(e.toFixed(6))}))[1]%this._currLatInterval!=0&&(r.firstLat=n[1],t=Math.ceil(n[1]/this._currLatInterval),n[1]=t*this._currLatInterval),n[3]%this._currLatInterval!=0&&(r.lastLat=n[3],t=Math.floor(n[3]/this._currLatInterval),n[3]=t*this._currLatInterval),n[0]%this._currLngInterval!=0&&(r.firstLng=n[0],t=Math.ceil(n[0]/this._currLngInterval),n[0]=t*this._currLngInterval),n[2]%this._currLngInterval!=0&&(r.lastLng=n[2],t=Math.floor(n[2]/this._currLngInterval),n[2]=t*this._currLngInterval),Object.assign({latRange:[n[1],n[3]],lngRange:[n[0],n[2]],extent:n},r)}},{key:"_makeLineCoords",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[-90,90],n=2<arguments.length?arguments[2]:void 0,r=3<arguments.length?arguments[3]:void 0,i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:"lng";e="lng"===i?this._lngFix(e):e;for(var n="number"==typeof n?n:t[0],r="number"==typeof r?r:t[1],o=Math.abs(n-r),a=[],s=n;s<=r;s+=o)a.push("lng"===i?[e,s]:[s,e]);return a}},{key:"_makeLineFeature",value:function(e){return{type:"Feature",geometry:{type:1<arguments.length&&void 0!==arguments[1]?arguments[1]:"LineString",coordinates:e}}}},{key:"_lngFix",value:function(e){return 180<=e?180:e<=-180?-180:e}},{key:"_transformStrokeStyle",value:function(){var e,t,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.options.strokeStyle;return n&&"string"!=typeof n?(e={visibility:this.visible?"visible":"none","line-join":n.lineJoin||"round","line-cap":n.lineCap||"round"},t={"line-color":n.lineColor||"rgba(0,0,0,0.2)","line-width":n.lineWidth||1,"line-offset":n.lineDashOffset||0,"line-translate-anchor":"viewport"},n.lineWidth&&("function"==typeof n.lineWidth?t["line-width"]=n.lineWidth(this.map):t["line-width"]=n.lineWidth),n.lindDasharray&&("function"==typeof n.lindDasharray?t["line-dasharray"]=n.lindDasharray(this.map):t["line-dasharray"]=n.lindDasharray),{layout:e,paint:t}):{paint:{"line-color":n||"rgba(0,0,0,0.2)"}}}},{key:"_setLabelStyle",value:function(e,t){return t.textColor&&(e.fillStyle=t.textColor),t.textSize&&(e.font=t.textSize+" "+(t.textFont||["Calibri","sans-serif"]).join(",")),t.textHaloColor&&(e.strokeStyle=t.textHaloColor,e.lineWidth=t.textHaloWidth||1),t.textAnchor&&(e.textBaseline=this._getTxetBaseline(t.textAnchor),e.textAligin=this._getTxetAlign(t.textAligin)),e}},{key:"_getTxetBaseline",value:function(e){return!e||(e=e.split("-")).includes("bottom")?"bottom":e.includes("top")?"top":e.includes("center")?"middle":void 0}},{key:"_getTxetAlign",value:function(e){return e?(e=e.split("-")).includes("left")?"left":e.includes("right")?"right":e.includes("center")?"center":void 0:"center"}}]),Object.defineProperty(hu,"prototype",{writable:!1}),nu);function nu(e,t,n,r){if(!(this instanceof nu))throw new TypeError("Cannot call a class as a function");this.map=e,this.id=r&&r.id,this.sourceId=this.id+"_line",this.canvasId=this.id,this.options=t,this.mapElement=r.mapElement,this.targetElement=r.targetElement,this.getMapStateByKey=n.getMapStateByKey,this.getDefaultExtent=n.getDefaultExtent,this.setVisibility=n.setVisibility,this.updateGraticuleLayer=n.updateGraticuleLayer,this.init()}function ru(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iu(){return null!=au?au:window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest}function ou(){return su||45e3}var au,su,lu,uu={textSize:"12px",textFont:["12px Calibri","sans-serif"],textAnchor:"bottom",textColor:"rgba(0,0,0,1)",textHaloColor:"rgba(255,255,255,1)",textHaloWidth:1},cu={lineColor:"red",lineCap:"round",lineJoin:"round",lindDasharray:[.4,5],lineDashOffset:0,lineWidth:1},fu={showLabel:!0,opacity:1,visible:!0,interval:10,extent:null,minZoom:0,maxZoom:50,wrapX:!0,strokeStyle:cu,lngLabelFormatter:null,latLabelFormatter:null,lngLabelStyle:uu,latLabelStyle:uu},hu=(ru((hu=mu).prototype,[{key:"onAdd",value:function(e){this.map=e,this.renderer=new tu(this.map,this.options,{getMapStateByKey:this.getMapStateByKey,getDefaultExtent:this.getDefaultExtent,updateGraticuleLayer:this.updateGraticuleLayer.bind(this),setVisibility:this.setVisibility.bind(this)},{mapElement:this.map.getCanvas(),targetElement:this.map.getCanvasContainer(),id:this.id}),this.addGraticuleLayer(),this.resizeEvent=this.renderer._resizeCallback.bind(this.renderer),this.zoomendEvent=this.setVisibility.bind(this),this._bindEvent()}},{key:"onRemove",value:function(){this.renderer.onRemove(),this._unbindEvent()}},{key:"render",value:function(){this.renderer.draw()}},{key:"getMapStateByKey",value:function(e,t){return"getBearing"===e?this.map.getBearing():"getBounds"===e?this.map.getBounds():"project"===e?this.map.project(t):"unproject"===e?this.map.unproject(t):void 0}},{key:"setVisibility",value:function(e){var t=this.map&&this.map.getZoom();this.options.visible="boolean"==typeof e?e:this.options.visible,this.visible="boolean"==typeof e?e:this.options.visible&&t>=this.options.minZoom&&t<=this.options.maxZoom,this.renderer&&(this.renderer.visible=this.visible),this.map.getLayer(this.sourceId)&&this.map.setLayoutProperty(this.sourceId,"visibility",this.visible?"visible":"none"),this.renderer&&this.renderer._drawLabel()}},{key:"setMinZoom",value:function(e){this.options.minZoom=e,this.setVisibility()}},{key:"setMaxZoom",value:function(e){this.options.maxZoom=e,this.setVisibility()}},{key:"setShowLabel",value:function(e){this.options.showLabel=e,this.renderer._drawLabel()}},{key:"setExtent",value:function(e){this.options.extent=this.getDefaultExtent(e,this.map),this.updateGraticuleLayer(),this.renderer._drawLabel()}},{key:"setStrokeStyle",value:function(e){if(this.map&&this.map.getLayer(this.sourceId)){this.options.strokeStyle=e;var t,n,e=this.renderer._transformStrokeStyle(e),r=e.layout,i=e.paint;for(t in r)this.map.setLayoutProperty(this.sourceId,t,r[t]);for(n in i)this.map.setPaintProperty(this.sourceId,n,i[n])}}},{key:"setLngLabelStyle",value:function(e){this.options.lngLabelStyle=e,this.renderer._drawLabel()}},{key:"setLatLabelStyle",value:function(e){this.options.latLabelStyle=e,this.renderer._drawLabel()}},{key:"setIntervals",value:function(e){this.renderer&&this.renderer.setIntervals(e)}},{key:"getDefaultExtent",value:function(e){var t,n,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.map,r=(r=(r.getCRS&&r.getCRS()||{}).extent)||[-180,-85.05119,180,85.05119];return e&&0!==e.length?(t=(n=u().LngLatBounds.convert(e))._sw,n=n._ne,e=[t.lng,t.lat,n.lng,n.lat],[Math.max(r[0],e[0]),Math.max(r[1],e[1]),Math.min(r[2],e[2]),Math.min(r[3],e[3])]):r}},{key:"addGraticuleLayer",value:function(){var e;this.map.getSource(this.sourceId)||(e={type:"geojson",data:{type:"FeatureCollection",features:this.renderer.features}},this.map.addSource(this.sourceId,e)),this.map.getLayer(this.sourceId)||(e=Object.assign({id:this.sourceId,type:"line",source:this.sourceId},this.renderer._transformStrokeStyle()),this.map.addLayer(e))}},{key:"_getLatPoints",value:function(e,t,n,r){return this.renderer._getLatPoints(e,t,n,r)}},{key:"_bindEvent",value:function(){this.map.on("styledata",this.styleDataEevent),this.map.on("resize",this.resizeEvent),this.map.on("zoomend",this.zoomendEvent)}},{key:"_unbindEvent",value:function(){this.map.off("styledata",this.styleDataEevent),this.map.off("resize",this.resizeEvent),this.map.off("zoomend",this.zoomendEvent)}},{key:"_setLayerTop",value:function(){var e,t=this,n=this.map;n&&(e=n.getStyle&&n.getStyle().layers)&&e.length&&e.findIndex(function(e){return e.id===t.sourceId})!==e.length-1&&n.getLayer(this.sourceId)&&(n.removeLayer(this.sourceId),this.addGraticuleLayer())}},{key:"updateGraticuleLayer",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.features;this.map.getSource(this.sourceId)&&(e={type:"FeatureCollection",features:e},this.map.getSource(this.sourceId).setData(e)),this.addGraticuleLayer()}}]),Object.defineProperty(hu,"prototype",{writable:!1}),mu),o=(qT(19957),qT(95937),qT(54238)),du=qT.n(o),pu=window.fetch,yu={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=D.toJSON(e[t]));t=encodeURIComponent(e[t]);this.queryValues.push(t)}},issue:function(e){for(var t=this,n=t.getUid(),r=e.url,i=[],o=r,a=0,s=t.queryKeys?t.queryKeys.length:0,l=0;l<s;l++)if(o.length+t.queryKeys[l].length+2>=t.limitLength){if(0==a)return!1;i.push(o),o=r,a=0,l--}else if(o.length+t.queryKeys[l].length+2+t.queryValues[l].length>t.limitLength)for(var u=t.queryValues[l];0<u.length;){var c=t.limitLength-o.length-t.queryKeys[l].length-2,f=(-1<o.indexOf("?")?o+="&":o+="?",u.substring(0,c));"%"===f.substring(c-1,c)?(--c,f=u.substring(0,c)):"%"===f.substring(c-2,c-1)&&(c-=2,f=u.substring(0,c)),o+=t.queryKeys[l]+"="+f,u=u.substring(c),0<f.length&&(i.push(o),o=r,a=0)}else a++,-1<o.indexOf("?")?o+="&":o+="?",o+=t.queryKeys[l]+"="+t.queryValues[l];return i.push(o),t.send(i,"SuperMapJSONPCallbacks_"+n,e&&e.proxy)},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(i,o,a){var s=i.length;if(0<s)return new Promise(function(t){for(var e=(new Date).getTime(),n=0;n<s;n++){var r=i[n];-1<r.indexOf("?")?r+="&":r+="?",r=(r+="sectionCount="+s)+("§ionIndex="+n)+("&jsonpUserID="+e),a&&(r=decodeURIComponent(r),r=a+encodeURIComponent(r)),du()(r,{jsonpCallbackFunction:o,timeout:3e4}).then(function(e){t(e.json())})}})},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}},d={commit:function(e,t,n,r){switch(e=e&&e.toUpperCase()){case"GET":return this.get(t,n,r);case"POST":return this.post(t,n,r);case"PUT":return this.put(t,n,r);case"DELETE":return this.delete(t,n,r);default:return this.get(t,n,r)}},supportDirectRequest:function(e,t){return!!D.isInTheSameDomain(e)||(null!=t.crossOrigin?t.crossOrigin:iu()||t.proxy)},get:function(e,t,n){return n=n||{},e=D.urlAppend(e,this._getParameterString(t||{})),e=this._processUrl(e,n),this.supportDirectRequest(e,n)?this.urlIsLong(e)?this._postSimulatie("GET",e.substring(0,e.indexOf("?")),t,n):this._fetch(e,t,n,"GET"):(n={url:e=e.replace(".json",".jsonp"),data:t},yu.GET(n))},delete:function(e,t,n){return n=n||{},e=D.urlAppend(e,this._getParameterString(t||{})),e=this._processUrl(e,n),this.supportDirectRequest(e,n)?this.urlIsLong(e)?this._postSimulatie("DELETE",e.substring(0,e.indexOf("?")),t,n):this._fetch(e,t,n,"DELETE"):(e=e.replace(".json",".jsonp"),n={url:e+="&_method=DELETE",data:t},yu.DELETE(n))},post:function(e,t,n){return e=this._processUrl(e,n=n||{}),this.supportDirectRequest(e,n)?this._fetch(e,t,n,"POST"):(e=e.replace(".json",".jsonp"),n={url:D.urlAppend(e,"_method=POST"),data:t},yu.POST(n))},put:function(e,t,n){return e=this._processUrl(e,n=n||{}),this.supportDirectRequest(e,n)?this._fetch(e,t,n,"PUT"):(e=e.replace(".json",".jsonp"),n={url:e+="&_method=PUT",data:t},yu.PUT(n))},urlIsLong:function(e){for(var t,n=0,r=0,i=e.length;r<i;r++)(t=e.charCodeAt(r))<127?n++:128<=t&&t<=2047?n+=2:2048<=t&&t<=65535&&(n+=3);return!(n<2e3)},_postSimulatie:function(e,t,n,r){return t+=(-1<t.indexOf("?")?"&":"?")+"_method="+e,"string"!=typeof n&&(n=JSON.stringify(n)),this.post(t,n,r)},_processUrl:function(e,t){var n;return this._isMVTRequest(e)||(-1!==e.indexOf(".json")||t.withoutFormatSuffix||(e.indexOf("?")<0?e+=".json":2===(n=e.split("?")).length&&(e=n[0]+".json?"+n[1])),t&&t.proxy&&(e="function"==typeof t.proxy?t.proxy(e):(e=decodeURIComponent(e),t.proxy+encodeURIComponent(e)))),e},_fetch:function(e,t,n,r){return(n=n||{}).headers=n.headers||{},n.headers["Content-Type"]||FormData.prototype.isPrototypeOf(t)||(n.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),n.timeout?this._timeout(n.timeout,pu(e,{method:r,headers:n.headers,body:"PUT"===r||"POST"===r?t:void 0,credentials:this._getWithCredentials(n),mode:"cors",timeout:ou()}).then(function(e){return e})):pu(e,{method:r,body:"PUT"===r||"POST"===r?t:void 0,headers:n.headers,credentials:this._getWithCredentials(n),mode:"cors",timeout:ou()}).then(function(e){return e})},_getWithCredentials:function(e){return!0===e.withCredentials?"include":!1===e.withCredentials?"omit":"same-origin"},_fetchJsonp:function(e,t){return t=t||{},du()(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(n,r){return new Promise(function(e,t){setTimeout(function(){t(new Error("timeout"))},n),r.then(e,t)})},_getParameterString:function(e){var t,n=[];for(t in e){var r=e[t];null!=r&&"function"!=typeof r&&(r=Array.isArray(r)||"[object Object]"===r.toString()?encodeURIComponent(JSON.stringify(r)):encodeURIComponent(r),n.push(encodeURIComponent(t)+"="+r))}return n.join("&")},_isMVTRequest:function(e){return-1<e.indexOf(".mvt")||-1<e.indexOf(".pbf")}};function mu(e){if(!(this instanceof mu))throw new TypeError("Cannot call a class as a function");this.id=e&&e.layerID?e.layerID:D.createUniqueID("graticuleLayer_"),this.sourceId=this.id+"_line",(e=e||{}).strokeStyle=Object.assign({},cu,e.strokeStyle||{}),e.lngLabelStyle=Object.assign({},uu,e.lngLabelStyle||{}),e.latLabelStyle=Object.assign({},uu,e.latLabelStyle||{}),this.options=Object.assign({},fu,e),this.type="custom",this.renderingMode="3d",this.overlay=!0,this.styleDataEevent=this._setLayerTop.bind(this)}(o=lu=lu||{})[o.Unknown=0]="Unknown",o[o.Point=1]="Point",o[o.LineString=2]="LineString",o[o.Polygon=3]="Polygon",o[o.MultiPoint=4]="MultiPoint",o[o.MultiLineString=5]="MultiLineString",o[o.MultiPolygon=6]="MultiPolygon",o[o.GeometryCollection=7]="GeometryCollection",o[o.CircularString=8]="CircularString",o[o.CompoundCurve=9]="CompoundCurve",o[o.CurvePolygon=10]="CurvePolygon",o[o.MultiCurve=11]="MultiCurve",o[o.MultiSurface=12]="MultiSurface",o[o.Curve=13]="Curve",o[o.Surface=14]="Surface",o[o.PolyhedralSurface=15]="PolyhedralSurface",o[o.TIN=16]="TIN",o[o.Triangle=17]="Triangle";var gu=qT(61095);function vu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}o=[{key:"getRootAsGeometry",value:function(e,t){return(t||new xu).__init(e.readInt32(e.position())+e.position(),e)}},{key:"getSizePrefixedRootAsGeometry",value:function(e,t){return e.setPosition(e.position()+gu.XU),(t||new xu).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startGeometry",value:function(e){e.startObject(8)}},{key:"addEnds",value:function(e,t){e.addFieldOffset(0,t,0)}},{key:"createEndsVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;0<=n;n--)e.addInt32(t[n]);return e.endVector()}},{key:"startEndsVector",value:function(e,t){e.startVector(4,t,4)}},{key:"addXy",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"createXyVector",value:function(e,t){e.startVector(8,t.length,8);for(var n=t.length-1;0<=n;n--)e.addFloat64(t[n]);return e.endVector()}},{key:"startXyVector",value:function(e,t){e.startVector(8,t,8)}},{key:"addZ",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"createZVector",value:function(e,t){e.startVector(8,t.length,8);for(var n=t.length-1;0<=n;n--)e.addFloat64(t[n]);return e.endVector()}},{key:"startZVector",value:function(e,t){e.startVector(8,t,8)}},{key:"addM",value:function(e,t){e.addFieldOffset(3,t,0)}},{key:"createMVector",value:function(e,t){e.startVector(8,t.length,8);for(var n=t.length-1;0<=n;n--)e.addFloat64(t[n]);return e.endVector()}},{key:"startMVector",value:function(e,t){e.startVector(8,t,8)}},{key:"addT",value:function(e,t){e.addFieldOffset(4,t,0)}},{key:"createTVector",value:function(e,t){e.startVector(8,t.length,8);for(var n=t.length-1;0<=n;n--)e.addFloat64(t[n]);return e.endVector()}},{key:"startTVector",value:function(e,t){e.startVector(8,t,8)}},{key:"addTm",value:function(e,t){e.addFieldOffset(5,t,0)}},{key:"createTmVector",value:function(e,t){e.startVector(8,t.length,8);for(var n=t.length-1;0<=n;n--)e.addInt64(t[n]);return e.endVector()}},{key:"startTmVector",value:function(e,t){e.startVector(8,t,8)}},{key:"addType",value:function(e,t){e.addFieldInt8(6,t,lu.Unknown)}},{key:"addParts",value:function(e,t){e.addFieldOffset(7,t,0)}},{key:"createPartsVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;0<=n;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startPartsVector",value:function(e,t){e.startVector(4,t,4)}},{key:"endGeometry",value:function(e){return e.endObject()}},{key:"createGeometry",value:function(e,t,n,r,i,o,a,s,l){return xu.startGeometry(e),xu.addEnds(e,t),xu.addXy(e,n),xu.addZ(e,r),xu.addM(e,i),xu.addT(e,o),xu.addTm(e,a),xu.addType(e,s),xu.addParts(e,l),xu.endGeometry(e)}}],vu((y=xu).prototype,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"ends",value:function(e){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readUint32(this.bb.__vector(this.bb_pos+t)+4*e):0}},{key:"endsLength",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"endsArray",value:function(){var e=this.bb.__offset(this.bb_pos,4);return e?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+e),this.bb.__vector_len(this.bb_pos+e)):null}},{key:"xy",value:function(e){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readFloat64(this.bb.__vector(this.bb_pos+t)+8*e):0}},{key:"xyLength",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"xyArray",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?new Float64Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+e),this.bb.__vector_len(this.bb_pos+e)):null}},{key:"z",value:function(e){var t=this.bb.__offset(this.bb_pos,8);return t?this.bb.readFloat64(this.bb.__vector(this.bb_pos+t)+8*e):0}},{key:"zLength",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"zArray",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?new Float64Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+e),this.bb.__vector_len(this.bb_pos+e)):null}},{key:"m",value:function(e){var t=this.bb.__offset(this.bb_pos,10);return t?this.bb.readFloat64(this.bb.__vector(this.bb_pos+t)+8*e):0}},{key:"mLength",value:function(){var e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"mArray",value:function(){var e=this.bb.__offset(this.bb_pos,10);return e?new Float64Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+e),this.bb.__vector_len(this.bb_pos+e)):null}},{key:"t",value:function(e){var t=this.bb.__offset(this.bb_pos,12);return t?this.bb.readFloat64(this.bb.__vector(this.bb_pos+t)+8*e):0}},{key:"tLength",value:function(){var e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"tArray",value:function(){var e=this.bb.__offset(this.bb_pos,12);return e?new Float64Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+e),this.bb.__vector_len(this.bb_pos+e)):null}},{key:"tm",value:function(e){var t=this.bb.__offset(this.bb_pos,14);return t?this.bb.readUint64(this.bb.__vector(this.bb_pos+t)+8*e):BigInt(0)}},{key:"tmLength",value:function(){var e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"type",value:function(){var e=this.bb.__offset(this.bb_pos,16);return e?this.bb.readUint8(this.bb_pos+e):lu.Unknown}},{key:"parts",value:function(e,t){var n=this.bb.__offset(this.bb_pos,18);return n?(t||new xu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4*e),this.bb):null}},{key:"partsLength",value:function(){var e=this.bb.__offset(this.bb_pos,18);return e?this.bb.__vector_len(this.bb_pos+e):0}}]),vu(y,o),Object.defineProperty(y,"prototype",{writable:!1});var bu,_u=xu;function xu(){if(!(this instanceof xu))throw new TypeError("Cannot call a class as a function");this.bb=null,this.bb_pos=0}function wu(e,t){for(var n=[],r=0;r<e.length;r+=2){var i=[e[r],e[r+1]];t&&i.push(t[r>>1]),n.push(i)}return n}function Au(e,t){if((t=t===lu.Unknown?e.type():t)===lu.GeometryCollection){for(var n=[],r=0;r<e.partsLength();r++){var i=e.parts(r),o=i.type();n.push(Au(i,o))}return{type:lu[t],geometries:n}}if(t===lu.MultiPolygon){for(var a=[],s=0;s<e.partsLength();s++)a.push(Au(e.parts(s),lu.Polygon));return{type:lu[t],coordinates:a.map(function(e){return e.coordinates})}}var l=function(e,t){var n,r,i,o,a,s=e.xyArray(),l=e.zArray();switch(t){case lu.Point:var u=Array.from(s);return l&&u.push(l[0]),u;case lu.MultiPoint:case lu.LineString:return wu(s,l);case lu.MultiLineString:case lu.Polygon:return n=s,r=l,(u=e.endsArray())&&0!==u.length?(o=0,a=Array.from(u).map(function(e){return n.slice(o,o=e<<1)}),r&&(o=0,i=Array.from(u).map(function(e){return r.slice(o,o=e)})),a.map(function(e,t){return wu(e,i?i[t]:void 0)})):[wu(n,r)]}}(e,t);return{type:lu[t],coordinates:l}}function Su(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(o=bu=bu||{})[o.Byte=0]="Byte",o[o.UByte=1]="UByte",o[o.Bool=2]="Bool",o[o.Short=3]="Short",o[o.UShort=4]="UShort",o[o.Int=5]="Int",o[o.UInt=6]="UInt",o[o.Long=7]="Long",o[o.ULong=8]="ULong",o[o.Float=9]="Float",o[o.Double=10]="Double",o[o.String=11]="String",o[o.Json=12]="Json",o[o.DateTime=13]="DateTime",o[o.Binary=14]="Binary";y=[{key:"getRootAsColumn",value:function(e,t){return(t||new Ou).__init(e.readInt32(e.position())+e.position(),e)}},{key:"getSizePrefixedRootAsColumn",value:function(e,t){return e.setPosition(e.position()+gu.XU),(t||new Ou).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startColumn",value:function(e){e.startObject(11)}},{key:"addName",value:function(e,t){e.addFieldOffset(0,t,0)}},{key:"addType",value:function(e,t){e.addFieldInt8(1,t,bu.Byte)}},{key:"addTitle",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"addDescription",value:function(e,t){e.addFieldOffset(3,t,0)}},{key:"addWidth",value:function(e,t){e.addFieldInt32(4,t,-1)}},{key:"addPrecision",value:function(e,t){e.addFieldInt32(5,t,-1)}},{key:"addScale",value:function(e,t){e.addFieldInt32(6,t,-1)}},{key:"addNullable",value:function(e,t){e.addFieldInt8(7,+t,1)}},{key:"addUnique",value:function(e,t){e.addFieldInt8(8,+t,0)}},{key:"addPrimaryKey",value:function(e,t){e.addFieldInt8(9,+t,0)}},{key:"addMetadata",value:function(e,t){e.addFieldOffset(10,t,0)}},{key:"endColumn",value:function(e){var t=e.endObject();return e.requiredField(t,4),t}},{key:"createColumn",value:function(e,t,n,r,i,o,a,s,l,u,c,f){return Ou.startColumn(e),Ou.addName(e,t),Ou.addType(e,n),Ou.addTitle(e,r),Ou.addDescription(e,i),Ou.addWidth(e,o),Ou.addPrecision(e,a),Ou.addScale(e,s),Ou.addNullable(e,l),Ou.addUnique(e,u),Ou.addPrimaryKey(e,c),Ou.addMetadata(e,f),Ou.endColumn(e)}}],Su((o=Ou).prototype,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"name",value:function(e){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"type",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):bu.Byte}},{key:"title",value:function(e){var t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"description",value:function(e){var t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"width",value:function(){var e=this.bb.__offset(this.bb_pos,12);return e?this.bb.readInt32(this.bb_pos+e):-1}},{key:"precision",value:function(){var e=this.bb.__offset(this.bb_pos,14);return e?this.bb.readInt32(this.bb_pos+e):-1}},{key:"scale",value:function(){var e=this.bb.__offset(this.bb_pos,16);return e?this.bb.readInt32(this.bb_pos+e):-1}},{key:"nullable",value:function(){var e=this.bb.__offset(this.bb_pos,18);return!e||!!this.bb.readInt8(this.bb_pos+e)}},{key:"unique",value:function(){var e=this.bb.__offset(this.bb_pos,20);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}},{key:"primaryKey",value:function(){var e=this.bb.__offset(this.bb_pos,22);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}},{key:"metadata",value:function(e){var t=this.bb.__offset(this.bb_pos,24);return t?this.bb.__string(this.bb_pos+t,e):null}}]),Su(o,y),Object.defineProperty(o,"prototype",{writable:!1});var Cu=Ou;function Ou(){if(!(this instanceof Ou))throw new TypeError("Cannot call a class as a function");this.bb=null,this.bb_pos=0}function Eu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}y=[{key:"getRootAsFeature",value:function(e,t){return(t||new ku).__init(e.readInt32(e.position())+e.position(),e)}},{key:"getSizePrefixedRootAsFeature",value:function(e,t){return e.setPosition(e.position()+gu.XU),(t||new ku).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startFeature",value:function(e){e.startObject(3)}},{key:"addGeometry",value:function(e,t){e.addFieldOffset(0,t,0)}},{key:"addProperties",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"createPropertiesVector",value:function(e,t){e.startVector(1,t.length,1);for(var n=t.length-1;0<=n;n--)e.addInt8(t[n]);return e.endVector()}},{key:"startPropertiesVector",value:function(e,t){e.startVector(1,t,1)}},{key:"addColumns",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"createColumnsVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;0<=n;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startColumnsVector",value:function(e,t){e.startVector(4,t,4)}},{key:"endFeature",value:function(e){return e.endObject()}},{key:"finishFeatureBuffer",value:function(e,t){e.finish(t)}},{key:"finishSizePrefixedFeatureBuffer",value:function(e,t){e.finish(t,void 0,!0)}},{key:"createFeature",value:function(e,t,n,r){return ku.startFeature(e),ku.addGeometry(e,t),ku.addProperties(e,n),ku.addColumns(e,r),ku.endFeature(e)}}],Eu((o=ku).prototype,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"geometry",value:function(e){var t=this.bb.__offset(this.bb_pos,4);return t?(e||new _u).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}},{key:"properties",value:function(e){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readUint8(this.bb.__vector(this.bb_pos+t)+e):0}},{key:"propertiesLength",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"propertiesArray",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?new Uint8Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+e),this.bb.__vector_len(this.bb_pos+e)):null}},{key:"columns",value:function(e,t){var n=this.bb.__offset(this.bb_pos,8);return n?(t||new Cu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4*e),this.bb):null}},{key:"columnsLength",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}}]),Eu(o,y),Object.defineProperty(o,"prototype",{writable:!1});var Mu=ku,Pu=(new TextEncoder,new TextDecoder);function ku(){if(!(this instanceof ku))throw new TypeError("Cannot call a class as a function");this.bb=null,this.bb_pos=0}function Tu(e,t){var n=t.columns;return{type:"Feature",geometry:Au(e.geometry(),t.geometryType),properties:function(e,t){var n={};if(t&&0!==t.length){var r=e.propertiesArray();if(r)for(var i=new DataView(r.buffer,r.byteOffset),o=e.propertiesLength(),a=0;a<o;){var s=i.getUint16(a,!0),l=(a+=2,t[s]),u=l.name;switch(l.type){case bu.Bool:n[u]=!!i.getUint8(a),a+=1;break;case bu.Byte:n[u]=i.getInt8(a),a+=1;break;case bu.UByte:n[u]=i.getUint8(a),a+=1;break;case bu.Short:n[u]=i.getInt16(a,!0),a+=2;break;case bu.UShort:n[u]=i.getUint16(a,!0),a+=2;break;case bu.Int:n[u]=i.getInt32(a,!0),a+=4;break;case bu.UInt:n[u]=i.getUint32(a,!0),a+=4;break;case bu.Long:n[u]=Number(i.getBigInt64(a,!0)),a+=8;break;case bu.ULong:n[u]=Number(i.getBigUint64(a,!0)),a+=8;break;case bu.Float:n[u]=i.getFloat32(a,!0),a+=4;break;case bu.Double:n[u]=i.getFloat64(a,!0),a+=8;break;case bu.DateTime:case bu.String:var c=i.getUint32(a,!0);a+=4,n[u]=Pu.decode(r.subarray(a,a+c)),a+=c;break;case bu.Json:var c=i.getUint32(a,!0),f=(a+=4,Pu.decode(r.subarray(a,a+c)));n[u]=JSON.parse(f),a+=c;break;default:throw new Error("Unknown type "+l.type)}}}return n}(e,n)}}var Iu=qT(43425);function Lu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}y=[{key:"getRootAsCrs",value:function(e,t){return(t||new Du).__init(e.readInt32(e.position())+e.position(),e)}},{key:"getSizePrefixedRootAsCrs",value:function(e,t){return e.setPosition(e.position()+gu.XU),(t||new Du).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startCrs",value:function(e){e.startObject(6)}},{key:"addOrg",value:function(e,t){e.addFieldOffset(0,t,0)}},{key:"addCode",value:function(e,t){e.addFieldInt32(1,t,0)}},{key:"addName",value:function(e,t){e.addFieldOffset(2,t,0)}},{key:"addDescription",value:function(e,t){e.addFieldOffset(3,t,0)}},{key:"addWkt",value:function(e,t){e.addFieldOffset(4,t,0)}},{key:"addCodeString",value:function(e,t){e.addFieldOffset(5,t,0)}},{key:"endCrs",value:function(e){return e.endObject()}},{key:"createCrs",value:function(e,t,n,r,i,o,a){return Du.startCrs(e),Du.addOrg(e,t),Du.addCode(e,n),Du.addName(e,r),Du.addDescription(e,i),Du.addWkt(e,o),Du.addCodeString(e,a),Du.endCrs(e)}}],Lu((o=Du).prototype,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"org",value:function(e){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"code",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt32(this.bb_pos+e):0}},{key:"name",value:function(e){var t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"description",value:function(e){var t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"wkt",value:function(e){var t=this.bb.__offset(this.bb_pos,12);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"codeString",value:function(e){var t=this.bb.__offset(this.bb_pos,14);return t?this.bb.__string(this.bb_pos+t,e):null}}]),Lu(o,y),Object.defineProperty(o,"prototype",{writable:!1});var ju=Du;function Du(){if(!(this instanceof Du))throw new TypeError("Cannot call a class as a function");this.bb=null,this.bb_pos=0}function Bu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}y=[{key:"getRootAsHeader",value:function(e,t){return(t||new Nu).__init(e.readInt32(e.position())+e.position(),e)}},{key:"getSizePrefixedRootAsHeader",value:function(e,t){return e.setPosition(e.position()+gu.XU),(t||new Nu).__init(e.readInt32(e.position())+e.position(),e)}},{key:"startHeader",value:function(e){e.startObject(14)}},{key:"addName",value:function(e,t){e.addFieldOffset(0,t,0)}},{key:"addEnvelope",value:function(e,t){e.addFieldOffset(1,t,0)}},{key:"createEnvelopeVector",value:function(e,t){e.startVector(8,t.length,8);for(var n=t.length-1;0<=n;n--)e.addFloat64(t[n]);return e.endVector()}},{key:"startEnvelopeVector",value:function(e,t){e.startVector(8,t,8)}},{key:"addGeometryType",value:function(e,t){e.addFieldInt8(2,t,lu.Unknown)}},{key:"addHasZ",value:function(e,t){e.addFieldInt8(3,+t,0)}},{key:"addHasM",value:function(e,t){e.addFieldInt8(4,+t,0)}},{key:"addHasT",value:function(e,t){e.addFieldInt8(5,+t,0)}},{key:"addHasTm",value:function(e,t){e.addFieldInt8(6,+t,0)}},{key:"addColumns",value:function(e,t){e.addFieldOffset(7,t,0)}},{key:"createColumnsVector",value:function(e,t){e.startVector(4,t.length,4);for(var n=t.length-1;0<=n;n--)e.addOffset(t[n]);return e.endVector()}},{key:"startColumnsVector",value:function(e,t){e.startVector(4,t,4)}},{key:"addFeaturesCount",value:function(e,t){e.addFieldInt64(8,t,BigInt("0"))}},{key:"addIndexNodeSize",value:function(e,t){e.addFieldInt16(9,t,16)}},{key:"addCrs",value:function(e,t){e.addFieldOffset(10,t,0)}},{key:"addTitle",value:function(e,t){e.addFieldOffset(11,t,0)}},{key:"addDescription",value:function(e,t){e.addFieldOffset(12,t,0)}},{key:"addMetadata",value:function(e,t){e.addFieldOffset(13,t,0)}},{key:"endHeader",value:function(e){return e.endObject()}},{key:"finishHeaderBuffer",value:function(e,t){e.finish(t)}},{key:"finishSizePrefixedHeaderBuffer",value:function(e,t){e.finish(t,void 0,!0)}}],Bu((o=Nu).prototype,[{key:"__init",value:function(e,t){return this.bb_pos=e,this.bb=t,this}},{key:"name",value:function(e){var t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"envelope",value:function(e){var t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readFloat64(this.bb.__vector(this.bb_pos+t)+8*e):0}},{key:"envelopeLength",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"envelopeArray",value:function(){var e=this.bb.__offset(this.bb_pos,6);return e?new Float64Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+e),this.bb.__vector_len(this.bb_pos+e)):null}},{key:"geometryType",value:function(){var e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):lu.Unknown}},{key:"hasZ",value:function(){var e=this.bb.__offset(this.bb_pos,10);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}},{key:"hasM",value:function(){var e=this.bb.__offset(this.bb_pos,12);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}},{key:"hasT",value:function(){var e=this.bb.__offset(this.bb_pos,14);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}},{key:"hasTm",value:function(){var e=this.bb.__offset(this.bb_pos,16);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}},{key:"columns",value:function(e,t){var n=this.bb.__offset(this.bb_pos,18);return n?(t||new Cu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4*e),this.bb):null}},{key:"columnsLength",value:function(){var e=this.bb.__offset(this.bb_pos,18);return e?this.bb.__vector_len(this.bb_pos+e):0}},{key:"featuresCount",value:function(){var e=this.bb.__offset(this.bb_pos,20);return e?this.bb.readUint64(this.bb_pos+e):BigInt("0")}},{key:"indexNodeSize",value:function(){var e=this.bb.__offset(this.bb_pos,22);return e?this.bb.readUint16(this.bb_pos+e):16}},{key:"crs",value:function(e){var t=this.bb.__offset(this.bb_pos,24);return t?(e||new ju).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}},{key:"title",value:function(e){var t=this.bb.__offset(this.bb_pos,26);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"description",value:function(e){var t=this.bb.__offset(this.bb_pos,28);return t?this.bb.__string(this.bb_pos+t,e):null}},{key:"metadata",value:function(e){var t=this.bb.__offset(this.bb_pos,30);return t?this.bb.__string(this.bb_pos+t,e):null}}]),Bu(o,y),Object.defineProperty(o,"prototype",{writable:!1});var Ru=Nu;function Nu(){if(!(this instanceof Nu))throw new TypeError("Cannot call a class as a function");this.bb=null,this.bb_pos=0}function zu(e){for(var t=Ru.getRootAsHeader(e),e=t.featuresCount(),n=t.indexNodeSize(),r=[],i=0;i<t.columnsLength();i++){var o=t.columns(i);if(!o)throw new Error("Column unexpectedly missing");if(!o.name())throw new Error("Column name unexpectedly missing");r.push({name:o.name(),type:o.type(),title:o.title(),description:o.description(),width:o.width(),precision:o.precision(),scale:o.scale(),nullable:o.nullable(),unique:o.unique(),primary_key:o.primaryKey()})}var a=t.crs(),a=a?{org:a.org(),code:a.code(),name:a.name(),description:a.description(),wkt:a.wkt(),code_string:a.codeString()}:null;return{geometryType:t.geometryType(),columns:r,envelope:null,featuresCount:Number(e),indexNodeSize:n,crs:a,title:t.title(),description:t.description(),metadata:t.metadata()}}var Fu=qT(41351);function Vu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Vu((y=Gu).prototype,[{key:"extraRequestThreshold",value:function(){return this._extraRequestThreshold}},{key:"setExtraRequestThreshold",value:function(e){if(e<0)throw new Error("extraRequestThreshold cannot be negative");this._extraRequestThreshold=e}}]),Object.defineProperty(y,"prototype",{writable:!1});var Hu,Yu=Gu;function Gu(){if(!(this instanceof Gu))throw new TypeError("Cannot call a class as a function");this._extraRequestThreshold=262144}function Uu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Yu.global=new Yu,(o=Hu=Hu||{})[o.Debug=0]="Debug",o[o.Info=1]="Info",o[o.Warn=2]="Warn",o[o.Error=3]="Error";y=Wu,o=[{key:"debug",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log.apply(this,[Hu.Debug].concat(t))}},{key:"info",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log.apply(this,[Hu.Info].concat(t))}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log.apply(this,[Hu.Warn].concat(t))}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log.apply(this,[Hu.Error].concat(t))}},{key:"log",value:function(e){if(!(this.logLevel>e)){for(var t,n=arguments.length,r=new Array(1<n?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];switch(e){case Hu.Debug:(t=console).debug.apply(t,r);break;case Hu.Info:(t=console).info.apply(t,r);break;case Hu.Warn:(t=console).warn.apply(t,r);break;case Hu.Error:(t=console).error.apply(t,r)}}}}],null&&Uu(y.prototype,null),Uu(y,o),Object.defineProperty(y,"prototype",{writable:!1});var Qu=Wu;function Wu(){if(!(this instanceof Wu))throw new TypeError("Cannot call a class as a function")}function qu(e){return(qu="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})(e)}function Ku(){Ku=function(){return a};var a={},e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(a){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof f?t:f,t=Object.create(t.prototype),r=new _(r||[]);return t._invoke=(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return w()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return c;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}r=u(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,c;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,c):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c)}(n,a);if(n){if(n===c)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=u(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===c)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}}),t}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var c={};function f(){}function h(){}function d(){}var t={},p=(o(t,r,function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),y=(p&&p!==e&&l.call(p,r)&&(t=p),d.prototype=f.prototype=Object.create(t));function m(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function g(a,s){var t;this._invoke=function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=u(a[e],a,n);return"throw"!==e.type?(n=(o=e.arg).value)&&"object"==qu(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)}):void i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function x(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:w}}function w(){return{value:void 0,done:!0}}return o(y,"constructor",h.prototype=d),o(d,"constructor",h),h.displayName=o(d,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},a.awrap=function(e){return{__await:e}},m(g.prototype),o(g.prototype,n,function(){return this}),a.AsyncIterator=g,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new g(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},m(y),o(y,i,"Generator"),o(y,r,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),a.keys=function(n){var e,r=[];for(e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),b(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,b(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},a}function Xu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ju(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $u(a){var i,o;function s(n,e){try{var r=a[n](e),i=r.value,o=i instanceof Zu;Promise.resolve(o?i.v:i).then(function(e){if(o){var t="return"===n?"return":"next";if(!i.k||e.done)return s(t,e);e=a[t](e).value}l(r.done?"return":"normal",e)},function(e){s("throw",e)})}catch(e){l("throw",e)}}function l(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}(i=i.next)?s(i.key,i.arg):o=null}this._invoke=function(n,r){return new Promise(function(e,t){e={key:n,arg:r,resolve:e,reject:t,next:null};o?o=o.next=e:(i=o=e,s(n,r))})},"function"!=typeof a.return&&(this.return=void 0)}function Zu(e,t){this.v=e,this.k=t}Qu.logLevel=Hu.Info,$u.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},$u.prototype.next=function(e){return this._invoke("next",e)},$u.prototype.throw=function(e){return this._invoke("throw",e)},$u.prototype.return=function(e){return this._invoke("return",e)};var ec=40;function tc(e,t){t=Math.min(Math.max(+t,2),65535);for(var n=e,r=n;r+=n=Math.ceil(n/t),1!==n;);return r*ec}function nc(){var e=Ku().mark(function e(p,s,n,l){var y,m,g,v,b,_,x,w,r;return Ku().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:y=function(){function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");this._level=t,this.nodes=e}var e=n;return Ju(e.prototype,[{key:"level",value:function(){return this._level}},{key:"startNode",value:function(){return this.nodes[0]}},{key:"endNode",value:function(){return this.nodes[1]}},{key:"extendEndNodeToNewOffset",value:function(e){console.assert(e>this.nodes[1]),this.nodes[1]=e}},{key:"toString",value:function(){return"[NodeRange level: ".concat(this._level,", nodes: ").concat(this.nodes[0],"-").concat(this.nodes[1],"]")}}]),Object.defineProperty(e,"prototype",{writable:!1}),n}(),m=n.minX,g=n.minY,v=n.maxX,b=n.maxY,Qu.info("tree items: ".concat(p,", nodeSize: ").concat(s)),_=function(e,t){if(t<2)throw new Error("Node size must be at least 2");if(0===e)throw new Error("Number of items must be greater than 0");for(var n=o=e,r=[o];n+=o=Math.ceil(o/t),r.push(o),1!==o;);for(var i=[],o=n,a=0,s=r;a<s.length;a++){var l=s[a];i.push(o-l),o-=l}i.reverse(),r.reverse();for(var u=[],c=0;c<r.length;c++)u.push([i[c],i[c]+r[c]]);return u.reverse(),u}(p,s),x=_[0][0],t=_.length-1,r=new y([0,1],t),w=[r],Qu.debug("starting stream search with queue: ".concat(w,", numItems: ").concat(p,", nodeSize: ").concat(s,", levelBounds: ").concat(_)),r=Ku().mark(function e(){var u,c,f,r,i,h,d,o,a;return Ku().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u=w.shift(),Qu.debug("popped node: ".concat(u,", queueLength: ").concat(w.length)),c=u.startNode(),f=x<=c,t=_[u.level()],n=2,r=function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,n)||function(e,t){var n;if(e)return"string"==typeof e?Xu(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xu(e,t):void 0}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=r[1],r=Math.min(u.endNode()+s,r),i=r-c,e.next=9,new Zu(l(c*ec,i*ec),0);case 9:i=e.sent,h=new Float64Array(i),d=new Uint32Array(i),o=Ku().mark(function e(r){var i,o,a,s,l;return Ku().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(v<h[0+(i=5*(r-c))])return e.abrupt("return","continue");e.next=3;break;case 3:if(b<h[i+1])return e.abrupt("return","continue");e.next=5;break;case 5:if(m>h[i+2])return e.abrupt("return","continue");e.next=7;break;case 7:if(g>h[i+3])return e.abrupt("return","continue");e.next=9;break;case 9:if(a=d[8+(i<<1)],o=d[9+(i<<1)],o=rc(o,a),f)return t=n=void 0,a=r<p-1?(t=d[8+((n=5*(r-c+1))<<1)],rc(d[9+(n<<1)],t)-o):null,e.next=16,[o,r-x,a];e.next=17;break;case 16:return e.abrupt("return","continue");case 17:if(a=Yu.global.extraRequestThreshold()/ec,void 0!==(s=w[w.length-1])&&s.level()==u.level()-1&&o<s.endNode()+a)return Qu.debug('Merging "nodeRange" request into existing range: '.concat(s,", newOffset: ").concat(s.endNode()," -> ").concat(o)),s.extendEndNodeToNewOffset(o),e.abrupt("return","continue");e.next=23;break;case 23:n=u.level()-1,l=new y([o,o+1],n),void 0!==s&&s.level()==l.level()?Qu.info("Same level, but too far away. Pushing new request at offset: ".concat(o," rather than merging with distant ").concat(s)):Qu.info("Pushing new level for ".concat(l," onto queue with nearestNodeRange: ").concat(s," since there's not already a range for this level.")),w.push(l);case 26:case"end":return e.stop()}var t,n},e)}),a=c;case 14:if(a<r)return e.delegateYield(o(a),"t0",16);e.next=22;break;case 16:if("continue"===e.t0)return e.abrupt("continue",19);e.next=19;break;case 19:a++,e.next=14;break;case 22:case"end":return e.stop()}var t,n},e)});case 9:if(0!=w.length)return e.delegateYield(r(),"t0",11);e.next=13;break;case 11:e.next=9;break;case 13:case"end":return e.stop()}var t},e)});return(nc=function(){return new $u(e.apply(this,arguments))}).apply(this,arguments)}function rc(e,t){if(0!=(4293918720&e))throw Error("integer is too large to be safely represented");return t+e*Math.pow(2,32)}var ic=new Uint8Array([102,103,98,3,102,103,98,0]),oc=4;function ac(e){return(ac="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})(e)}function sc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||lc(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lc(e,t){var n;if(e)return"string"==typeof e?uc(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uc(e,t):void 0}function uc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cc(){cc=function(){return a};var a={},e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(a){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof f?t:f,t=Object.create(t.prototype),r=new _(r||[]);return t._invoke=(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return w()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return c;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}r=u(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,c;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,c):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c)}(n,a);if(n){if(n===c)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=u(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===c)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}}),t}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var c={};function f(){}function h(){}function d(){}var t={},p=(o(t,r,function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),y=(p&&p!==e&&l.call(p,r)&&(t=p),d.prototype=f.prototype=Object.create(t));function m(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function g(a,s){var t;this._invoke=function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=u(a[e],a,n);return"throw"!==e.type?(n=(o=e.arg).value)&&"object"==ac(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)}):void i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function x(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:w}}function w(){return{value:void 0,done:!0}}return o(y,"constructor",h.prototype=d),o(d,"constructor",h),h.displayName=o(d,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},a.awrap=function(e){return{__await:e}},m(g.prototype),o(g.prototype,n,function(){return this}),a.AsyncIterator=g,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new g(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},m(y),o(y,i,"Generator"),o(y,r,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),a.keys=function(n){var e,r=[];for(e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),b(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,b(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},a}function fc(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function hc(s){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){fc(r,t,n,i,o,"next",e)}function o(e){fc(r,t,n,i,o,"throw",e)}i(void 0)})}}function dc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yc(e,t,n){t&&pc(e.prototype,t),n&&pc(e,n),Object.defineProperty(e,"prototype",{writable:!1})}function mc(e){return function(){return new gc(e.apply(this,arguments))}}function gc(a){var i,o;function s(n,e){try{var r=a[n](e),i=r.value,o=i instanceof bc;Promise.resolve(o?i.v:i).then(function(e){if(o){var t="return"===n?"return":"next";if(!i.k||e.done)return s(t,e);e=a[t](e).value}l(r.done?"return":"normal",e)},function(e){s("throw",e)})}catch(e){l("throw",e)}}function l(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}(i=i.next)?s(i.key,i.arg):o=null}this._invoke=function(n,r){return new Promise(function(e,t){e={key:n,arg:r,resolve:e,reject:t,next:null};o?o=o.next=e:(i=o=e,s(n,r))})},"function"!=typeof a.return&&(this.return=void 0)}function vc(e){return new bc(e,0)}function bc(e,t){this.v=e,this.k=t}function _c(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new xc(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function xc(e){function n(e){var t;return Object(e)!==e?Promise.reject(new TypeError(e+" is not an object.")):(t=e.done,Promise.resolve(e.value).then(function(e){return{value:e,done:t}}))}return(xc=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return n(this.n.apply(this.s,arguments))},return:function(e){var t=this.s.return;return void 0===t?Promise.resolve({value:e,done:!0}):n(t.apply(this.s,arguments))},throw:function(e){var t=this.s.return;return void 0===t?Promise.reject(e):n(t.apply(this.s,arguments))}},new xc(e)}gc.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},gc.prototype.next=function(e){return this._invoke("next",e)},gc.prototype.throw=function(e){return this._invoke("throw",e)},gc.prototype.return=function(e){return this._invoke("return",e)};yc(Tc,[{key:"selectBbox",value:function(d){var p=this;return mc(cc().mark(function e(){var r,i,t,n,o,a,s,l,u,c,f,h;return cc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=p.lengthBeforeTree(),i=p.headerClient,l=function(){var n=hc(cc().mark(function e(t,n){return cc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",i.getRange(r+t,n,0,"index"));case 2:case"end":return e.stop()}},e)}));return function(e,t){return n.apply(this,arguments)}}(),t=[],a=o=!(n=[]),e.prev=7,l=_c(function(){return nc.apply(this,arguments)}(p.header.featuresCount,p.header.indexNodeSize,d,l));case 9:return e.next=11,vc(l.next());case 11:if(o=!(f=e.sent).done){if(f=f.value,u=sc(f,2),u=u[0],f=sc(f,3),(c=f[2])||(Qu.info("final feature"),f=Yu.global.extraRequestThreshold(),c=f),0==n.length)return n.push([u,c]),e.abrupt("continue",23);e.next=19}else e.next=26;break;case 19:f=n[n.length-1],(h=u-(f[0]+f[1]))>Yu.global.extraRequestThreshold()&&(Qu.info("Pushing new feature batch, since gap ".concat(h," was too large")),t.push(n),n=[]),n.push([u,c]);case 23:o=!1,e.next=9;break;case 26:e.next=32;break;case 28:e.prev=28,e.t0=e.catch(7),a=!0,s=e.t0;case 32:if(e.prev=32,e.prev=33,o&&null!=l.return)return e.next=37,vc(l.return());e.next=37;break;case 37:if(e.prev=37,a)throw s;e.next=40;break;case 40:return e.finish(37);case 41:return e.finish(32);case 42:return p.headerClient.logUsage("header+index"),0<n.length&&t.push(n),h=t.flatMap(function(e){return p.readFeatureBatch(e)}),e.delegateYield(function(r){var e={},i=!1;function t(t,n){return{done:!(i=!0),value:new bc(n=new Promise(function(e){e(r[t](n))}),1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(e){return i?(i=!1,e):t("next",e)},"function"==typeof r.throw&&(e.throw=function(e){if(i)throw i=!1,e;return t("throw",e)}),"function"==typeof r.return&&(e.return=function(e){return i?(i=!1,e):t("return",e)}),e}(_c(Fu.ZN.merge(h))),"t1",46);case 46:case"end":return e.stop()}},e,null,[[7,28,32,42],[33,,37,41]])}))()}},{key:"lengthBeforeTree",value:function(){return ic.length+oc+this.headerLength}},{key:"lengthBeforeFeatures",value:function(){return this.lengthBeforeTree()+this.indexLength}},{key:"buildFeatureClient",value:function(){return new Ec(this.headerClient.httpClient)}},{key:"readFeatureBatch",value:function(o){var a=this;return mc(cc().mark(function e(){var t,n,r,i;return cc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=sc(o[0],1),r=r[0],n=sc(o[o.length-1],2),t=n[0],n=n[1],t=t+n-r,n=a.buildFeatureClient(),r=function(e,t){var n,r,i,o,a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return i=!(r=!0),{s:function(){a=a.call(e)},n:function(){var e=a.next();return r=e.done,e},e:function(e){i=!0,n=e},f:function(){try{r||null==a.return||a.return()}finally{if(i)throw n}}};if(Array.isArray(e)||(a=lc(e))||t&&e&&"number"==typeof e.length)return a&&(e=a),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(o),e.prev=7,r.s();case 9:if((i=r.n()).done){e.next=17;break}return i=sc(i.value,1),i=i[0],e.next=13,vc(a.readFeature(n,i,t));case 13:return e.next=15,e.sent;case 15:e.next=9;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(7),r.e(e.t0);case 22:return e.prev=22,r.f(),e.finish(22);case 25:n.logUsage("feature");case 26:case"end":return e.stop()}},e,null,[[7,19,22,25]])}))()}},{key:"readFeature",value:(Cc=hc(cc().mark(function e(t,n,r){var i,o,a,s;return cc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n+this.lengthBeforeFeatures(),e.next=3,t.getRange(i,4,r,"feature length");case 3:return o=e.sent,o=new DataView(o).getUint32(0,!0),e.next=7,t.getRange(i+4,o,r,"feature data");case 7:return s=e.sent,s=new Uint8Array(s),(a=new Uint8Array(o+oc)).set(s,oc),(s=new gu.cZ(a)).setPosition(oc),e.abrupt("return",Mu.getRootAsFeature(s));case 14:case"end":return e.stop()}},e,this)})),function(e,t,n){return Cc.apply(this,arguments)})}],[{key:"open",value:(Sc=hc(cc().mark(function e(t){var n,r,i,o,a,s;return cc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=new Ec(t),i=function(){for(var e=0,t=0;t<3;t++)e+=Math.pow(16,t)*ec;return e}(),r=2024+i,Qu.debug("fetching header. minReqLength: ".concat(r," (assumedHeaderLength: ").concat(2024,", assumedIndexLength: ").concat(i,")")),e.t0=Uint8Array,e.next=8,n.getRange(0,8,r,"header");case 8:if(e.t1=e.sent,(i=new e.t0(e.t1)).subarray(0,3).every(function(e,t){return ic[t]===e})){e.next=13;break}throw Qu.error("bytes: ".concat(i," != ").concat(ic)),new Error("Not a FlatGeobuf file");case 13:return Qu.debug("magic bytes look good"),e.next=16,n.getRange(8,4,r,"header");case 16:if(o=e.sent,10485760<(o=new DataView(o).getUint32(0,!0))||o<8)throw new Error("Invalid header size");e.next=21;break;case 21:return Qu.debug("headerLength: ".concat(o)),e.next=24,n.getRange(12,o,r,"header");case 24:return a=e.sent,a=new gu.cZ(new Uint8Array(a)),a=zu(a),s=tc(a.featuresCount,a.indexNodeSize),Qu.debug("completed: opening http reader"),e.abrupt("return",new Tc(n,a,o,s));case 30:case"end":return e.stop()}},e)})),function(e){return Sc.apply(this,arguments)})}]);var wc,Ac,Sc,Cc,Oc=Tc,Ec=(yc(kc,[{key:"getRange",value:(Ac=hc(cc().mark(function e(t,n,r,i){var o,a;return cc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.bytesEverUsed+=n,a=t-this.head,o=a+n,0<=a&&o<=this.buffer.byteLength)return e.abrupt("return",this.buffer.slice(a,o));e.next=5;break;case 5:return a=Math.max(n,r),this.bytesEverFetched+=a,Qu.debug("requesting for new Range: ".concat(t,"-").concat(t+n-1)),e.next=10,this.httpClient.getRange(t,a,i);case 10:return this.buffer=e.sent,this.head=t,e.abrupt("return",this.buffer.slice(0,n));case 13:case"end":return e.stop()}},e,this)})),function(e,t,n,r){return Ac.apply(this,arguments)})},{key:"logUsage",value:function(e){var e=e.split(" ")[0],t=this.bytesEverUsed,n=this.bytesEverFetched,r=(100*t/n).toFixed(2);Qu.info("".concat(e," bytes used/requested: ").concat(t," / ").concat(n," = ").concat(r,"%"))}}]),kc),Mc=(yc(Pc,[{key:"getRange",value:(wc=hc(cc().mark(function e(t,n,r){var i;return cc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.requestsEverMade+=1,this.bytesEverRequested+=n,i="bytes=".concat(t,"-").concat(t+n-1),Qu.info("request: #".concat(this.requestsEverMade,", purpose: ").concat(r,"), bytes: (this_request: ").concat(n,", ever: ").concat(this.bytesEverRequested,"), Range: ").concat(i)),e.next=6,fetch(this.url,{headers:{Range:i}});case 6:return i=e.sent,e.abrupt("return",i.arrayBuffer());case 8:case"end":return e.stop()}},e,this)})),function(e,t,n){return wc.apply(this,arguments)})}]),Pc);function Pc(e){dc(this,Pc),this.requestsEverMade=0,this.bytesEverRequested=0,this.url=e}function kc(e){dc(this,kc),this.bytesEverUsed=0,this.bytesEverFetched=0,this.buffer=new ArrayBuffer(0),this.head=0,this.httpClient="string"==typeof e?new Mc(e):e}function Tc(e,t,n,r){dc(this,Tc),this.headerClient=e,this.header=t,this.headerLength=n,this.indexLength=r}function Ic(e){return(Ic="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})(e)}function Lc(){Lc=function(){return a};var a={},e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(a){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof f?t:f,t=Object.create(t.prototype),r=new _(r||[]);return t._invoke=(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return w()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return c;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}r=u(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,c;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,c):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c)}(n,a);if(n){if(n===c)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=u(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===c)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}}),t}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var c={};function f(){}function h(){}function d(){}var t={},p=(o(t,r,function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),y=(p&&p!==e&&l.call(p,r)&&(t=p),d.prototype=f.prototype=Object.create(t));function m(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function g(a,s){var t;this._invoke=function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=u(a[e],a,n);return"throw"!==e.type?(n=(o=e.arg).value)&&"object"==Ic(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)}):void i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function x(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:w}}function w(){return{value:void 0,done:!0}}return o(y,"constructor",h.prototype=d),o(d,"constructor",h),h.displayName=o(d,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},a.awrap=function(e){return{__await:e}},m(g.prototype),o(g.prototype,n,function(){return this}),a.AsyncIterator=g,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new g(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},m(y),o(y,i,"Generator"),o(y,r,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),a.keys=function(n){var e,r=[];for(e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),b(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,b(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},a}function jc(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function Dc(s){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){jc(r,t,n,i,o,"next",e)}function o(e){jc(r,t,n,i,o,"throw",e)}i(void 0)})}}function Bc(e){function n(e){var t;return Object(e)!==e?Promise.reject(new TypeError(e+" is not an object.")):(t=e.done,Promise.resolve(e.value).then(function(e){return{value:e,done:t}}))}return(Bc=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return n(this.n.apply(this.s,arguments))},return:function(e){var t=this.s.return;return void 0===t?Promise.resolve({value:e,done:!0}):n(t.apply(this.s,arguments))},throw:function(e){var t=this.s.return;return void 0===t?Promise.reject(e):n(t.apply(this.s,arguments))}},new Bc(e)}function Rc(e){return new Fc(e,0)}function Nc(e){return function(){return new zc(e.apply(this,arguments))}}function zc(a){var i,o;function s(n,e){try{var r=a[n](e),i=r.value,o=i instanceof Fc;Promise.resolve(o?i.v:i).then(function(e){if(o){var t="return"===n?"return":"next";if(!i.k||e.done)return s(t,e);e=a[t](e).value}l(r.done?"return":"normal",e)},function(e){s("throw",e)})}catch(e){l("throw",e)}}function l(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}(i=i.next)?s(i.key,i.arg):o=null}this._invoke=function(n,r){return new Promise(function(e,t){e={key:n,arg:r,resolve:e,reject:t,next:null};o?o=o.next=e:(i=o=e,s(n,r))})},"function"!=typeof a.return&&(this.return=void 0)}function Fc(e,t){this.v=e,this.k=t}function Vc(){return(Vc=Nc(Lc().mark(function e(t,n,r){var i,o,a,s,l,u,c;return Lc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=Iu(t),o=function(){var t=Dc(Lc().mark(function e(t){return Lc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.slice(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}}(),e.t0=Uint8Array,e.next=5,Rc(o(8,"magic bytes"));case 5:if(e.t1=e.sent,(a=new e.t0(e.t1)).subarray(0,3).every(function(e,t){return ic[t]===e})){e.next=9;break}throw new Error("Not a FlatGeobuf file");case 9:return e.t2=Uint8Array,e.next=12,Rc(o(4,"header length"));case 12:return e.t3=e.sent,a=new e.t2(e.t3),s=new gu.cZ(a),u=s.readUint32(0),e.t4=Uint8Array,e.next=19,Rc(o(u,"header data"));case 19:if(e.t5=e.sent,a=new e.t4(e.t5),s=new gu.cZ(a),l=zu(s),r&&r(l),u=l.indexNodeSize,c=l.featuresCount,0<u)return c=tc(c,u),e.next=29,Rc(o(c,"entire index, w/o rect"));e.next=29;break;case 29:return e.next=31,Rc(function(){return Yc.apply(this,arguments)}(o,l,n));case 31:if(c=e.sent)return e.next=34,c;e.next=36;break;case 34:e.next=29;break;case 36:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Hc(){return(Hc=Nc(Lc().mark(function e(t,n,r,i){var o,a,s,l,u,c;return Lc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Rc(Oc.open(t));case 2:o=e.sent,Qu.debug("opened reader"),i&&i(o.header),s=a=!1,e.prev=7,u=function(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new Bc(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}(o.selectBbox(n));case 9:return e.next=11,Rc(u.next());case 11:if(a=!(c=e.sent).done)return c=c.value,e.next=15,r(c,o.header);e.next=18;break;case 15:a=!1,e.next=9;break;case 18:e.next=24;break;case 20:e.prev=20,e.t0=e.catch(7),s=!0,l=e.t0;case 24:if(e.prev=24,e.prev=25,a&&null!=u.return)return e.next=29,Rc(u.return());e.next=29;break;case 29:if(e.prev=29,s)throw l;e.next=32;break;case 32:return e.finish(29);case 33:return e.finish(24);case 34:case"end":return e.stop()}},e,null,[[7,20,24,34],[25,,29,33]])}))).apply(this,arguments)}function Yc(){return(Yc=Dc(Lc().mark(function e(t,n,r){var i,o,a,s;return Lc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Uint8Array,e.next=3,t(4,"feature length");case 3:if(e.t1=e.sent,0===(i=new e.t0(e.t1)).byteLength)return e.abrupt("return");e.next=7;break;case 7:return o=new gu.cZ(i),a=o.readUint32(0),e.t2=Uint8Array,e.next=12,t(a,"feature data");case 12:return e.t3=e.sent,i=new e.t2(e.t3),(s=new Uint8Array(a+4)).set(i,4),(o=new gu.cZ(s)).setPosition(oc),s=Mu.getRootAsFeature(o),e.abrupt("return",r(s,n));case 20:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Gc(e,t,n){return e instanceof Uint8Array?{type:"FeatureCollection",features:function(e,t,n){if(!e.subarray(0,3).every(function(e,t){return ic[t]===e}))throw new Error("Not a FlatGeobuf file");var r=new gu.cZ(e),e=r.readUint32(ic.length),i=(r.setPosition(ic.length+oc),zu(r)),o=(n&&n(i),ic.length+oc+e),n=i.indexNodeSize,e=i.featuresCount;0<n&&(o+=tc(e,n));for(var a=[];o<r.capacity();){var s=r.readUint32(o),l=(r.setPosition(o+oc),Mu.getRootAsFeature(r));a.push(t(l,i)),o+=oc+s}return a}(e,Tu,n)}:e instanceof ReadableStream?function(){return Vc.apply(this,arguments)}(e,Tu,n):function(){return Hc.apply(this,arguments)}(e,t,Tu,n)}zc.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},zc.prototype.next=function(e){return this._invoke("next",e)},zc.prototype.throw=function(e){return this._invoke("throw",e)},zc.prototype.return=function(e){return this._invoke("return",e)};var o=qT(43861),Uc=qT.n(o);function Qc(e){return(Qc="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})(e)}function Wc(){Wc=function(){return a};var a={},e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(a){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof f?t:f,t=Object.create(t.prototype),r=new _(r||[]);return t._invoke=(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return w()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return c;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}r=u(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,c;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,c):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c)}(n,a);if(n){if(n===c)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=u(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===c)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}}),t}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var c={};function f(){}function h(){}function d(){}var t={},p=(o(t,r,function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),y=(p&&p!==e&&l.call(p,r)&&(t=p),d.prototype=f.prototype=Object.create(t));function m(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function g(a,s){var t;this._invoke=function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=u(a[e],a,n);return"throw"!==e.type?(n=(o=e.arg).value)&&"object"==Qc(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)}):void i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function x(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:w}}function w(){return{value:void 0,done:!0}}return o(y,"constructor",h.prototype=d),o(d,"constructor",h),h.displayName=o(d,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},a.awrap=function(e){return{__await:e}},m(g.prototype),o(g.prototype,n,function(){return this}),a.AsyncIterator=g,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new g(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},m(y),o(y,i,"Generator"),o(y,r,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),a.keys=function(n){var e,r=[];for(e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),b(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,b(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},a}function qc(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function Kc(s){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){qc(r,t,n,i,o,"next",e)}function o(e){qc(r,t,n,i,o,"throw",e)}i(void 0)})}}function Xc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jc(e){function n(e){var t;return Object(e)!==e?Promise.reject(new TypeError(e+" is not an object.")):(t=e.done,Promise.resolve(e.value).then(function(e){return{value:e,done:t}}))}return(Jc=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return n(this.n.apply(this.s,arguments))},return:function(e){var t=this.s.return;return void 0===t?Promise.resolve({value:e,done:!0}):n(t.apply(this.s,arguments))},throw:function(e){var t=this.s.return;return void 0===t?Promise.reject(e):n(t.apply(this.s,arguments))}},new Jc(e)}var $c,Zc,ef,tf={1:"circle",2:"line",3:"fill",5:"line",4:"circle",6:"fill",MultiPolygon:"fill",Point:"circle",MultiLineString:"line",MultiPoint:"circle",LineString:"line",Polygon:"fill"},nf=(y=rf,o=[{key:"init",value:function(){"bbox"===this.strategy&&(this.loadedExtentsRtree_=new(Uc()))}},{key:"iterateFeatures",value:(ef=Kc(Wc().mark(function e(t){var n,r,i,o,a,s;return Wc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:i=r=!(n={type:"FeatureCollection",features:[]}),e.prev=3,a=function(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new Jc(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}(t);case 5:return e.next=7,a.next();case 7:if(!(r=!(s=e.sent).done)){e.next=15;break}s=s.value,this.options.featureLoader&&"function"==typeof this.options.featureLoader&&(s=this.options.featureLoader(s)),this.layerType||(this.layerType=tf[s.geometry.type]),n.features.push(s);case 12:r=!1,e.next=5;break;case 15:e.next=21;break;case 17:e.prev=17,e.t0=e.catch(3),i=!0,o=e.t0;case 21:if(e.prev=21,e.prev=22,r&&null!=a.return)return e.next=26,a.return();e.next=26;break;case 26:if(e.prev=26,i)throw o;e.next=29;break;case 29:return e.finish(26);case 30:return e.finish(21);case 31:return e.abrupt("return",n);case 32:case"end":return e.stop()}},e,this,[[3,17,21,31],[22,,26,30]])})),function(e){return ef.apply(this,arguments)})},{key:"_loadData",value:(Zc=Kc(Wc().mark(function e(t){var n,r,i=this;return Wc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]},t.length){e.next=7;break}return e.next=4,this._getStream(this.url);case 4:n=e.sent,e.next=9;break;case 7:r.value={extent:t.slice()},this.loadedExtentsRtree_.insert(r);case 9:return e.next=11,Gc(n&&n.body||this.url,r,function(e){i.layerType=tf[e.geometryType]});case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}},e,this)})),function(e){return Zc.apply(this,arguments)})},{key:"_getStream",value:($c=Kc(Wc().mark(function e(t){return Wc().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.get(t,{},{withoutFormatSuffix:!0}).then(function(e){return e});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),function(e){return $c.apply(this,arguments)})},{key:"_containsExtent",value:function(e,t){return e[0]<=t[0]&&t[2]<=e[2]&&e[1]<=t[1]&&t[3]<=e[3]}},{key:"_getInExtent",value:function(e){e={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this.loadedExtentsRtree_.search(e).map(function(e){return e.value})}},{key:"_forEachInExtent",value:function(e,t){return this._forEach(this._getInExtent(e),t)}},{key:"_forEach",value:function(e,t){for(var n,r=0,i=e.length;r<i;r++)if(n=t(e[r]))return n;return n}}],Xc(y.prototype,o),Object.defineProperty(y,"prototype",{writable:!1}),rf);function rf(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=this;if(!(t instanceof rf))throw new TypeError("Cannot call a class as a function");this.id=e.layerID||D.createUniqueID("FGBLayer_"),this.layerId=this.id+"outer",this.sourceId=this.layerId,this.options=e,this.strategy=e.strategy||"bbox",this.url=e.url,this.layerType="",this.extent=e.extent,this.init()}function of(e){return(of="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})(e)}function af(){af=function(){return a};var a={},e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(a){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof f?t:f,t=Object.create(t.prototype),r=new _(r||[]);return t._invoke=(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return w()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return c;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}r=u(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,c;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,c):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c)}(n,a);if(n){if(n===c)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=u(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===c)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}}),t}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var c={};function f(){}function h(){}function d(){}var t={},p=(o(t,r,function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),y=(p&&p!==e&&l.call(p,r)&&(t=p),d.prototype=f.prototype=Object.create(t));function m(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function g(a,s){var t;this._invoke=function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=u(a[e],a,n);return"throw"!==e.type?(n=(o=e.arg).value)&&"object"==of(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)}):void i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function x(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:w}}function w(){return{value:void 0,done:!0}}return o(y,"constructor",h.prototype=d),o(d,"constructor",h),h.displayName=o(d,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},a.awrap=function(e){return{__await:e}},m(g.prototype),o(g.prototype,n,function(){return this}),a.AsyncIterator=g,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new g(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},m(y),o(y,i,"Generator"),o(y,r,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),a.keys=function(n){var e,r=[];for(e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),b(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,b(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},a}function sf(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function lf(s){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){sf(r,t,n,i,o,"next",e)}function o(e){sf(r,t,n,i,o,"throw",e)}i(void 0)})}}function uf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var cf,ff,hf={circle:{"circle-radius":6,"circle-color":"#3fb1e3","circle-opacity":1,"circle-blur":0,"circle-translate":[0,0],"circle-stroke-width":0,"circle-stroke-color":"#000","circle-stroke-opacity":1},line:{"line-opacity":1,"line-color":"#3fb1e3","line-width":3,"line-blur":1},fill:{"fill-opacity":.8,"fill-color":"#3fb1e3","fill-translate":[0,0],"fill-antialias":!0,"fill-outline-color":"#3fb1e3"}},y=(o=df,y=[{key:"onAdd",value:function(e){this.map=e;var t,n,r,e=[];"bbox"===this.strategy&&(e=[(n=this.map.getBounds().toArray())[0][0],n[0][1],n[1][0],n[1][1]],this.map.on("moveend",this._updateFeaturesFn)),this.extent&&(n=this.extent,t=[],r=e,n[0]<=r[2]&&n[2]>=r[0]&&n[1]<=r[3]&&n[3]>=r[1]&&(n[0]>r[0]?t[0]=n[0]:t[0]=r[0],n[1]>r[1]?t[1]=n[1]:t[1]=r[1],n[2]<r[2]?t[2]=n[2]:t[2]=r[2],n[3]<r[3]?t[3]=n[3]:t[3]=r[3]),e=(r=t)&&r.length?r:this.extent),this.renderer=new nf(this.options),this._handleFeatures(e)}},{key:"onRemove",value:function(){this.map.off("moveend",this._updateFeaturesFn)}},{key:"moveLayer",value:function(e){this.map.moveLayer(this.layerId,e)}},{key:"render",value:function(){}},{key:"setVisibility",value:function(e){this.map.setLayoutProperty(this.layerId,"visibility",e?"visible":"none")}},{key:"_handleFeatures",value:(ff=lf(af().mark(function e(t){var n,r;return af().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.renderer._loadData(t);case 2:return n=e.sent,e.next=5,this.renderer.iterateFeatures(n);case 5:n=e.sent,this.map.getSource(this.sourceId)?this.map.getSource(this.sourceId).setData(n):this.map.addSource(this.sourceId,{type:"geojson",data:n}),this.map.getLayer(this.layerId)||(this.layerType=this.renderer.layerType,r=Object.assign({id:this.layerId,type:this.layerType,source:this.sourceId,paint:Object.assign(hf[this.layerType],this.options.paint)||{},layout:this.options.layout||{}}),this.map.addLayer(r));case 8:case"end":return e.stop()}},e,this)})),function(e){return ff.apply(this,arguments)})},{key:"_updateFeatures",value:(cf=lf(af().mark(function e(){var t,n,r,i=this;return af().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.map.getBounds().toArray(),t=[n[0][0],n[0][1],n[1][0],n[1][1]],this.renderer._forEachInExtent(t,function(e){return i.renderer._containsExtent(e.extent,t)})){e.next=11;break}return e.next=6,this.renderer._loadData(t);case 6:return n=e.sent,e.next=9,this.renderer.iterateFeatures(n);case 9:r=e.sent,this.map.getSource(this.sourceId).setData(r);case 11:case"end":return e.stop()}},e,this)})),function(){return cf.apply(this,arguments)})}],uf(o.prototype,y),Object.defineProperty(o,"prototype",{writable:!1}),df);function df(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=this;if(!(t instanceof df))throw new TypeError("Cannot call a class as a function");this.id=e.layerID||D.createUniqueID("FGBLayer_"),this.layerId=this.id+"outer",this.sourceId=this.layerId,this.options=e,this.strategy=e.strategy||"bbox",this.url=e.url,this.layerType="",this.extent=e.extent,this.overlay=!0,this.type="custom",this.renderingMode="3d",this._updateFeaturesFn=this._updateFeatures.bind(this)}function pf(e){return(pf="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})(e)}function yf(e,t){return(yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function mf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gf(e){return(gf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(){var e=o,t=u().Evented;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yf(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=gf(n),t=(e=r?(e=gf(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===pf(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return mf(t)};function o(e,t){var n;if(this instanceof o)return(n=i.call(this)).options=t||{},n.url=e,n.fire("initialized",mf(n)),n;throw new TypeError("Cannot call a class as a function")}return e=o,Object.defineProperty(e,"prototype",{writable:!1}),e}();function vf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}o=_f,Jf=[{key:"generateToken",value:function(e,t){e=this.servers[e];if(e)return d.post(e.tokenServiceUrl,JSON.stringify(t.toJSON())).then(function(e){return e.text()})}},{key:"registerServers",value:function(e){this.servers=this.servers||{},D.isArray(e)||(e=[e]);for(var t=0;t<e.length;t++){var n=e[t];this.servers[n.server]=n}}},{key:"registerToken",value:function(e,t){this.tokens=this.tokens||{},e&&t&&(e=this._getTokenStorageKey(e),this.tokens[e]=t)}},{key:"registerKey",value:function(e,t){if(this.keys=this.keys||{},e&&!(e.length<1)&&t){e=D.isArray(e)?e:[e];for(var n=0;n<e.length;n++){var r=this._getUrlRestString(e[0])||e[0];this.keys[r]=t}}}},{key:"getServerInfo",value:function(e){return this.servers=this.servers||{},this.servers[e]}},{key:"getToken",value:function(e){if(e)return this.tokens=this.tokens||{},e=this._getTokenStorageKey(e),this.tokens[e]}},{key:"getKey",value:function(e){this.keys=this.keys||{};e=this._getUrlRestString(e)||e;return this.keys[e]}},{key:"loginiServer",value:function(e,t,n,r){e=D.urlPathAppend(e,"services/security/login");t={username:t&&t.toString(),password:n&&n.toString(),rememberme:r},t=JSON.stringify(t);return d.post(e,t,{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}}).then(function(e){return e.json()})}},{key:"logoutiServer",value:function(e){return e=D.urlPathAppend(e,"services/security/logout"),d.get(e,"",{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},withoutFormatSuffix:!0}).then(function(){return!0}).catch(function(){return!1})}},{key:"loginOnline",value:function(e,t){this._open(_f.SSO+"/login?service="+e,t)}},{key:"loginiPortal",value:function(e,t,n){e=D.urlPathAppend(e,"web/login");t={username:t&&t.toString(),password:n&&n.toString()},t=JSON.stringify(t);return d.post(e,t,{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},withCredentials:!0}).then(function(e){return e.json()})}},{key:"logoutiPortal",value:function(e){return e=D.urlPathAppend(e,"services/security/logout"),d.get(e,"",{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},withCredentials:!0,withoutFormatSuffix:!0}).then(function(){return!0}).catch(function(){return!1})}},{key:"loginManager",value:function(e,t,n){var r;if(D.isInTheSameDomain(e))return i=D.urlPathAppend(e,"icloud/security/tokens"),t={username:(t=t||{}).userName&&t.userName.toString(),password:t.password&&t.password.toString()},t=JSON.stringify(t),r=this,d.post(i,t,{headers:{Accept:"*/*","Content-Type":"application/json"}}).then(function(e){e.text().then(function(e){return r.imanagerToken=e})});var i=!n||n.isNewTab;this._open(e,i)}},{key:"destroyAllCredentials",value:function(){this.keys=null,this.tokens=null,this.servers=null}},{key:"destroyToken",value:function(e){e&&(e=this._getTokenStorageKey(e),this.tokens=this.tokens||{},this.tokens[e])&&delete this.tokens[e]}},{key:"destroyKey",value:function(e){e&&(this.keys=this.keys||{},e=this._getUrlRestString(e)||e,this.keys[e])&&delete this.keys[e]}},{key:"appendCredential",value:function(e){var t=e,n=this.getToken(e),r=n?new Ur(n,"token"):null;return t=(r=r||((n=this.getKey(e))?new Ur(n,"key"):null))?D.urlAppend(t,r.getUrlParameters()):t}},{key:"_open",value:function(e,t){t=null==t||t;var n=window.screen.availWidth/2-this.INNER_WINDOW_WIDTH/2,r=window.screen.availHeight/2-this.INNER_WINDOW_HEIGHT/2,r="height="+this.INNER_WINDOW_HEIGHT+", width="+this.INNER_WINDOW_WIDTH+",top="+r+", left="+n+",toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no";t?window.open(e,"login"):window.open(e,"login",r)}},{key:"_getTokenStorageKey",value:function(e){var t=e.match(/(.*?):\/\/([^\/]+)/i);return t?t[0]:e}},{key:"_getUrlRestString",value:function(e){var t;return e&&((t=e.match(/(http|https):\/\/(.*\/rest)/i))?t[0]:e)}}],null&&vf(o.prototype,null),vf(o,Jf),Object.defineProperty(o,"prototype",{writable:!1});var bf=_f;function _f(){if(!(this instanceof _f))throw new TypeError("Cannot call a class as a function")}function xf(e){return(xf="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})(e)}function wf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}bf.INNER_WINDOW_WIDTH=600,bf.INNER_WINDOW_HEIGHT=600,bf.SSO="https://sso.supermap.com",bf.ONLINE="https://www.supermapol.com";wf((Jf=Af).prototype,[{key:"destroy",value:function(){var e=this;D.isArray(e.urls)&&(e.urls=null,e.index=null,e.length=null,e.totalTimes=null),e.url=null,e._processSuccess=null,e._processFailed=null,e.isInTheSameDomain=null,e.EVENT_TYPES=null,e.events&&(e.events.destroy(),e.events=null),e.eventListeners&&(e.eventListeners=null)}},{key:"request",value:function(e){var t=e.scope.format;if(t&&!this.supportDataFormat(t))throw new Error("".concat(this.CLASS_NAME," is not surport ").concat(t," format!"));var t=this,n=(e.url=e.url||t.url,this._returnContent(e)&&!e.url.includes("returnContent=true")&&(e.url=D.urlAppend(e.url,"returnContent=true")),e.proxy=e.proxy||t.proxy,e.withCredentials=(null!=e.withCredentials?e:t).withCredentials,e.crossOrigin=(null!=e.crossOrigin?e:t).crossOrigin,e.headers=e.headers||t.headers,e.isInTheSameDomain=t.isInTheSameDomain,e.withoutFormatSuffix=e.scope.withoutFormatSuffix||!1,e.url=bf.appendCredential(e.url),t.calculatePollingTimes(),e.scope=t,e.scope?e.success.bind(e.scope):e.success),r=e.scope?e.failure.bind(e.scope):e.failure;e.success=t.getUrlCompleted(n,e),e.failure=t.getUrlFailed(r,e),t._commit(e)}},{key:"getUrlCompleted",value:function(t,n){return function(e){t&&t(e,n)}}},{key:"getUrlFailed",value:function(t,n){var r=this;return function(e){0<r.totalTimes?(r.totalTimes--,r.ajaxPolling(n)):t&&t(e,n)}}},{key:"ajaxPolling",value:function(e){var t=e.url,n=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;this.index=parseInt(Math.random()*this.length),this.url=this.urls[this.index],t=t.replace(n,n.exec(this.url)[0]),e.url=t,e.isInTheSameDomain=D.isInTheSameDomain(t),this._commit(e)}},{key:"calculatePollingTimes",value:function(){var e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.times<e.totalTimes&&(e.totalTimes=e.times):e.totalTimes>e.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}},{key:"isServiceSupportPolling",value:function(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}},{key:"serviceProcessCompleted",value:function(e,t){e=D.transformResult(e),this.events.triggerEvent("processCompleted",{result:e,options:t})}},{key:"serviceProcessFailed",value:function(e,t){e=(e=D.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:e,options:t})}},{key:"_returnContent",value:function(e){return e.scope.format!==a.FGB&&!!e.scope.returnContent}},{key:"supportDataFormat",value:function(e){return this.dataFormat().includes(e)}},{key:"dataFormat",value:function(){return[a.GEOJSON,a.ISERVER]}},{key:"_commit",value:function(n){if("POST"===n.method||"PUT"===n.method||"PATCH"===n.method)if(n.params&&(n.url=D.urlAppend(n.url,D.getParameterString(n.params||{}))),"object"===xf(n.data))try{n.params=D.toJSON(n.data)}catch(n){console.log("不是json对象")}else n.params=n.data;d.commit(n.method,n.url,n.params,{headers:n.headers,withoutFormatSuffix:n.withoutFormatSuffix,withCredentials:n.withCredentials,crossOrigin:n.crossOrigin,timeout:n.async?0:null,proxy:n.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(e){var t=e;return(t=!(t="string"==typeof e?(new lt).read(e):t)||t.error||300<=t.code&&304!==t.code?t&&t.error?{error:t.error}:{error:t}:t)&&n.scope.format===a.FGB&&(t.newResourceLocation=t.newResourceLocation.replace(".json","")+".fgb"),t}).catch(function(e){return{error:e}}).then(function(e){(e.error?n.scope?q.bind(n.failure,n.scope):n.failure:(e.succeed=null==e.succeed||e.succeed,n.scope?q.bind(n.success,n.scope):n.success))(e)})}}]),Object.defineProperty(Jf,"prototype",{writable:!1});var v=Af;function Af(e,t){if(!(this instanceof Af))throw new TypeError("Cannot call a class as a function");var n=this;this.EVENT_TYPES=["processCompleted","processFailed"],this.events=null,this.eventListeners=null,this.url=null,this.urls=null,this.proxy=null,this.index=null,this.length=null,this.totalTimes=null,this.POLLING_TIMES=3,this.isInTheSameDomain=null,this.withCredentials=!1,D.isArray(e)?(n.urls=e,n.length=e.length,n.totalTimes=n.length,1===n.length?n.url=e[0]:(n.index=parseInt(Math.random()*n.length),n.url=e[n.index])):(n.totalTimes=1,n.url=e),D.isArray(e)&&!n.isServiceSupportPolling()&&(n.url=e[0],n.totalTimes=1),this.crossOrigin=(t=t||{}).crossOrigin,this.headers=t.headers,D.extend(this,t),n.isInTheSameDomain=D.isInTheSameDomain(n.url),n.events=new Xr(n,null,n.EVENT_TYPES,!0),n.eventListeners instanceof Object&&n.events.on(n.eventListeners),this.CLASS_NAME="SuperMap.CommonServiceBase"}function Sf(e){return(Sf="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})(e)}function Cf(){Cf=function(){return a};var a={},e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(a){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof f?t:f,t=Object.create(t.prototype),r=new _(r||[]);return t._invoke=(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return w()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return c;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}r=u(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,c;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,c):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c)}(n,a);if(n){if(n===c)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=u(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===c)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}}),t}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var c={};function f(){}function h(){}function d(){}var t={},p=(o(t,r,function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),y=(p&&p!==e&&l.call(p,r)&&(t=p),d.prototype=f.prototype=Object.create(t));function m(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function g(a,s){var t;this._invoke=function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=u(a[e],a,n);return"throw"!==e.type?(n=(o=e.arg).value)&&"object"==Sf(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)}):void i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function x(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:w}}function w(){return{value:void 0,done:!0}}return o(y,"constructor",h.prototype=d),o(d,"constructor",h),h.displayName=o(d,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},a.awrap=function(e){return{__await:e}},m(g.prototype),o(g.prototype,n,function(){return this}),a.AsyncIterator=g,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new g(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},m(y),o(y,i,"Generator"),o(y,r,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),a.keys=function(n){var e,r=[];for(e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),b(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,b(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},a}function Of(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ef(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function Mf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pf(){return(Pf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Tf(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function kf(e,t){return(kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Tf(e){return(Tf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var If=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kf(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Tf(n),t=(e=r?(e=Tf(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Sf(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).options=t||{},e.eventCount=0,e.CLASS_NAME="SuperMap.KnowledgeGraphService",e;throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"destroy",value:function(){Pf(Tf(o.prototype),"destroy",this).call(this)}},{key:"query",value:function(e,t){e=D.urlAppend(this.url+"/query.json","".concat("cypherQuery","=").concat(e));this.processAsync({url:e,method:"GET",callback:t})}},{key:"getGraphMaps",value:function(e){var t=this.url+"/graphmaps.json";this.processAsync({url:t,method:"GET",callback:e})}},{key:"getGraphMap",value:function(e,t){e=this.url+"/graphmaps/".concat(e,".json");this.processAsync({url:e,method:"GET",callback:t})}},{key:"getGraphMapData",value:function(){var s;s=Cf().mark(function e(n){var r,i,o,a,s;return Cf().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=[],e.next=3,this._getGraphMapData(n);case 3:if(i=e.sent){e.next=6;break}return e.abrupt("return");case 6:a=i.dataContent.queries&&i.dataContent.queries.query||[],o=[],o="string"==typeof a?[a]:a,(a=this._getGraphMapExpandQuery(i)).length&&o.push.apply(o,function(e){if(Array.isArray(e))return Of(e)}(t=a)||function(){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}()||function(e){var t;if(e)return"string"==typeof e?Of(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Of(e,void 0):void 0}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=0;case 12:if(a<o.length)return s=o[a],e.next=16,this._queryDataBySql(s);e.next=21;break;case 16:s=e.sent,r=r.concat([],s);case 18:a++,e.next=12;break;case 21:return e.abrupt("return",{data:r,graphMap:i});case 22:case"end":return e.stop()}var t},e,this)});return function(e){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){Ef(r,t,n,i,o,"next",e)}function o(e){Ef(r,t,n,i,o,"throw",e)}i(void 0)})}.apply(this,arguments)}}()},{key:"_getGraphMapExpandQuery",value:function(e){var t=[];return(e.dataContent.expand&&JSON.parse(e.dataContent.expand)||[]).forEach(function(e){t.push("match p=(n)-[]-(m) where id(n)=".concat(e," return p;"))}),t}},{key:"processAsync",value:function(e){var t=e.url,n=e.params,r=e.method,i=e.callback,o=++this.eventCount,a={scope:this,processCompleted:function(e){if(o===e.result.eventId&&i)return delete e.result.eventId,i(e),this.events&&this.events.un(a),!1},processFailed:function(e){if((o===e.error.eventId||o===e.eventId)&&i)return delete e.eventId,i(e),this.events&&this.events.un(a),!1}},e=(this.events.on(a),{method:r,url:t,scope:this,success:function(e,t){e.eventId=o,this.serviceProcessCompleted(e,t)},failure:function(e,t){e.eventId=o,this.serviceProcessFailed(e,t)}});n&&(e.params=n),this.request(e)}},{key:"_getGraphMapData",value:function(e){var r=this;return new Promise(function(t,n){r.getGraphMap(e,function(e){"processFailed"===e.type?n(e.error):""===e.result.data?n("无数据"):t(e.result.graphMap)})})}},{key:"_queryDataBySql",value:function(e){var r=this;return new Promise(function(t,n){r.query(e,function(e){"processFailed"===e.type?n(e.error):t(e.result)})})}}],Mf(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Lf(e){return(Lf="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})(e)}function jf(){jf=function(){return a};var a={},e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(a){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof f?t:f,t=Object.create(t.prototype),r=new _(r||[]);return t._invoke=(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return w()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return c;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}r=u(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,c;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,c):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c)}(n,a);if(n){if(n===c)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=u(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===c)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}}),t}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var c={};function f(){}function h(){}function d(){}var t={},p=(o(t,r,function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),y=(p&&p!==e&&l.call(p,r)&&(t=p),d.prototype=f.prototype=Object.create(t));function m(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function g(a,s){var t;this._invoke=function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=u(a[e],a,n);return"throw"!==e.type?(n=(o=e.arg).value)&&"object"==Lf(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)}):void i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function x(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:w}}function w(){return{value:void 0,done:!0}}return o(y,"constructor",h.prototype=d),o(d,"constructor",h),h.displayName=o(d,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},a.awrap=function(e){return{__await:e}},m(g.prototype),o(g.prototype,n,function(){return this}),a.AsyncIterator=g,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new g(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},m(y),o(y,i,"Generator"),o(y,r,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),a.keys=function(n){var e,r=[];for(e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),b(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,b(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},a}function Df(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function Bf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rf(e,t){return(Rf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Nf(e){return(Nf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var zf=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rf(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Nf(n),t=(e=r?(e=Nf(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Lf(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._knowledgeGraphService=new If(e,t),n;throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"query",value:function(e,t){this._knowledgeGraphService.query(e,t)}},{key:"getGraphMaps",value:function(e){this._knowledgeGraphService.getGraphMaps(e)}},{key:"getGraphMap",value:function(e,t){this._knowledgeGraphService.getGraphMap(e,t)}},{key:"getGraphMapData",value:function(){var s;s=jf().mark(function e(t){var n;return jf().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._knowledgeGraphService.getGraphMapData(t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}},e,this)});return function(e){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){Df(r,t,n,i,o,"next",e)}function o(e){Df(r,t,n,i,o,"throw",e)}i(void 0)})}.apply(this,arguments)}}()}],Bf(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),o}(),o=qT(29819),Ff=qT.n(o);function Vf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Hf(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Vf(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):Vf(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}function Yf(e){return function(e){if(Array.isArray(e))return Gf(e)}(e)||function(){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}()||function(e){var t;if(e)return"string"==typeof e?Gf(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Gf(e,void 0):void 0}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Uf(e,t){var s=t&&t.styles&&t.styles.style,l=t&&t.captionFields&&t.captionFields.captionField,u={nodes:[],edges:[]};return e.forEach(function(e){var t,n,r,i,o,a=e.path;a?(r=s,i=l,o={nodes:[],edges:[]},a.forEach(function(e){var t;Wf(e)?(t=Kf(e,r),o.edges.push(t)):(t=qf(e,r,i),o.nodes.push(t))}),t=(a=o).edges,(n=u.nodes).push.apply(n,Yf(a.nodes)),(n=u.edges).push.apply(n,Yf(t))):Wf(e)?(a=Kf(e,s),u.edges.push(a)):(n=qf(e,s,l),u.nodes.push(n))}),{nodes:Qf(u.nodes),edges:Qf(u.edges,"edgeId")}}function Qf(e,t){t=1<arguments.length&&void 0!==t?t:"id";return Ff()(e,t)}function Wf(e){return e.hasOwnProperty("start")&&e.hasOwnProperty("end")}function qf(f,e,t){var n=f.id,r=f.properties,i=f.lables,e=e?function(e){if(e)for(var t=f.id,n=f.labels,r=e.filter(function(e){return"entity"===e.type}),i=0;i<r.length;i++){var o=r[i],a=o.color,s=o.textColor,l=o.font,u=o.size,c=o.entityTypes,o=o.entityIds,o=JSON.parse(o||"[]"),c=JSON.parse(c||"[]");if(o.includes(t)||c.includes(n[0]))return Hf({fillColor:a,fontSize:.8*l.fontSize,fontFamily:l.fontName,fill:s,size:u},Xf(l.fontStyle))}return{}}(e):{},t=function(e){var t=f.id,n=f.labels,r=f.properties;if(e)for(var i=e instanceof Array?e:[e],o=0;o<i.length;o++){var a=i[o],s=a.name,l=a.entityTypes,a=a.entityIds,a=JSON.parse(a||"[]"),l=JSON.parse(l||"[]");if(a.includes(t)||l.includes(n[0]))return r[s]||""}return r[r._labelfieldname]||""}(t),o=e.fillColor||"",n={id:n+"",label:t,properties:r,lables:i};return e.size&&(n.size=e.size,delete e.size),e.fillColor&&(n.style={fill:o,stroke:o},delete e.fillColor),0!==Object.keys(e).length&&(n.labelCfg={style:e}),n}function Kf(u,e){var t=u.start,n=u.end,r=u.id,i=u.type,o=u.properties;return{source:t+"",target:n+"",edgeId:r+"",label:i,labelCfg:{style:e?function(e){if(e)for(var t=u.id,n=u.type,r=e.filter(function(e){return"relationShip"===e.type}),i=0;i<r.length;i++){var o=r[i],a=o.textColor,s=o.font,l=o.relationTypes,o=o.relationIds,o=JSON.parse(o||"[]"),l=JSON.parse(l||"[]");if(o.includes(t)||l.includes(n))return Hf({fontSize:.8*s.fontSize,fontFamily:s.fontName,fill:a},Xf(s.fontStyle))}return{}}(e):{}},properties:o}}function Xf(e){return 1===e?{fontWeight:600}:2===e?{fontStyle:"italic"}:{}}var Jf=qT(27996),$f=qT.n(Jf),o=qT(28813),Zf=qT.n(o);function eh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function th(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function nh(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?th(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):th(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}function rh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}rh((Jf=oh).prototype,[{key:"importG6",value:function(){$f()||console.log("please import g6, eg:https://gw.alipayobjects.com/os/lib/antv/g6/4.3.2/dist/g6.min.js")}},{key:"initGraph",value:function(e){var t=new($f().Graph)(e);return this.graph=t,e&&!1===e.highlightNode||this.highlightNode(t),e&&!1===e.highlightEdge||this.highlightEdge(t),!1===e.dragCanvas&&!1===e.dragNode||this.stopDefaultEventPropagation(),t}},{key:"_getContextMenu",value:function(){var n=this;return new($f().Menu)({shouldBegin:function(e){return!!(e.target&&e.target.isCanvas&&e.target.isCanvas())||!!e.item},getContent:function(e){var t=e.item;if(!(e.target&&e.target.isCanvas&&e.target.isCanvas())&&t)return e=t.getType(),t=t.getModel(),e&&t&&"node"===e?n.isCollpased(t.id)?"<ul>\n <li id='expand'>展开</li>\n <li id='hide'>隐藏</li>\n </ul>":"<ul>\n <li id='collapse'>折叠</li>\n <li id='hide'>隐藏</li>\n </ul>":void 0},handleMenuClick:function(e,t){switch(e.id.split("-")[0]){case"hide":n.hideItem(t);break;case"expand":n.expandNode(t);break;case"collapse":n.collapseNode(t);break;case"show":n.showItem(t)}},offsetX:26,offsetY:0,itemTypes:["node","edge","canvas"]})}},{key:"_getGraphConfig",value:function(e){var t=this,n={speed:120,maxIteration:83,tick:function(){t.refreshPositions()}},r={type:"fruchterman",gravity:5},i={},o={type:"line",style:{endArrow:{path:"M 0,0 L 2,1 L 2,-1 Z"},lineWidth:.5},labelCfg:{autoRotate:!0,style:{fontSize:4,fill:"#333"}}},a={default:["drag-canvas","zoom-canvas","drag-node"]},s=this._getContextMenu(),l=[new($f().ToolBar),s],u={lineWidth:3,stroke:"#b4d6ff"},c={stroke:"#b4d6ff",lineWidth:2,endArrow:{path:"M 0,0 L 2,1 L 2,-1 Z",fill:"#b4d6ff"}};if(!e)return this._setToolBarStyle(),function(e){var e=0<arguments.length&&void 0!==e?e:"knowledgeGraph",t=document.querySelector("#".concat(e));return{container:e,width:t.scrollWidth,height:t.scrollHeight,plugins:l,modes:a,layout:nh(nh({},r),n),defaultNode:i,defaultEdge:o,nodeStateStyles:{hover:u},edgeStateStyles:{hover:c}}}();e.container=e.container||"knowledgeGraph";var f,h="string"==typeof e.container?document.querySelector("#".concat(e.container)):e.container;return e.width=e.width||h.scrollWidth,e.height=e.height||h.scrollHeight,e.layout=nh(nh(nh({},r),e.layout||{}),!1!==e.animate?n:{}),e.defaultNode=nh(nh({},i),e.defaultNode||{}),e.defaultEdge=nh(nh({},o),e.defaultEdge||{}),e.modes={default:[!1!==e.dragCanvas&&"drag-canvas",!1!==e.zoomCanvas&&"zoom-canvas",!1!==e.dragNode&&"drag-node"]},e.nodeStateStyles={hover:nh(nh({},u),e.nodeHighlightStyle||{})},!(e.edgeStateStyles={hover:nh(nh({},c),e.edgeHighlightStyle||{})})!==e.showToolBar&&(e.plugins=[new($f().ToolBar)],this._setToolBarStyle()),!1!==e.showContextMenu&&(e.plugins=[].concat(function(e){if(Array.isArray(e))return eh(e)}(f=e.plugins||[])||function(){if("undefined"!=typeof Symbol&&null!=f[Symbol.iterator]||null!=f["@@iterator"])return Array.from(f)}()||function(e){var t;if(e)return"string"==typeof e?eh(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?eh(e,void 0):void 0}(f)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[s]),this._setToolBarStyle()),e}},{key:"changeSize",value:function(e,t){return this.graph.changeSize(e,t)}},{key:"autoResize",value:function(){var n=this,r=this.getContainer();window.addEventListener("resize",function(){var e=r.scrollWidth,t=r.scrollHeight;n.graph.changeSize(e,t),n.graph.refresh()})}},{key:"zoom",value:function(e,t,n,r){this.graph.zoom(e,t,n,r)}},{key:"zoomTo",value:function(e,t,n,r){this.graph.zoomTo(e,t,n,r)}},{key:"fitView",value:function(e,t,n,r){this.graph.fitView(e,t,n,r)}},{key:"fitCenter",value:function(e,t){this.graph.fitCenter(e,t)}},{key:"getGraphCenterPoint",value:function(){return this.graph.getGraphCenterPoint()}},{key:"getViewPortCenterPoint",value:function(){return this.graph.getViewPortCenterPoint()}},{key:"getZoom",value:function(){return this.graph.getZoom()}},{key:"getMinZoom",value:function(){return this.graph.getMinZoom()}},{key:"setMinZoom",value:function(e){this.graph.setMinZoom(e)}},{key:"getMaxZoom",value:function(){return this.graph.getMaxZoom()}},{key:"setMaxZoom",value:function(e){this.graph.setMaxZoom(e)}},{key:"getWidth",value:function(){return this.graph.getWidth()}},{key:"getHeight",value:function(){return this.graph.getHeight()}},{key:"setCenter",value:function(e){var t=this.graph.getWidth()/2,n=this.graph.getHeight()/2,e=this.graph.getCanvasByPoint(e.x,e.y);this.graph.translate(t-e.x,n-e.y)}},{key:"_setToolBarStyle",value:function(){Zf()("\n .g6-component-toolbar li[code='redo'],\n .g6-component-toolbar li[code='undo'],\n .g6-component-toolbar li[code='realZoom'] {\n display: none;\n }\n .g6-component-contextmenu {\n position: absolute;\n z-index: 2;\n list-style-type: none;\n border-radius: 6px;\n font-size: 14px;\n width: fit-content;\n transition: opacity .2s;\n text-align: center;\n box-shadow: 0 5px 18px 0 rgba(0, 0, 0, 0.6);\n border: 0px;\n }\n .g6-component-contextmenu ul {\n padding-left: 0px;\n margin: 0;\n }\n .g6-component-contextmenu li {\n cursor: pointer;\n list-style-type: none;\n list-style: none;\n margin-left: 0;\n line-height: 38px;\n padding: 0px 35px;\n }\n .g6-component-contextmenu li:hover {\n color: #333;\n background: #aaaaaa45;\n }\n ")}},{key:"highlightNode",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph;t.on("node:mouseenter",function(e){e=e.item;t.setAutoPaint(!1),t.getNodes().forEach(function(e){t.clearItemStates(e)}),t.setItemState(e,"hover",!0),t.paint(),t.setAutoPaint(!0)}),t.on("node:mouseleave",function(){t.setAutoPaint(!1),t.getNodes().forEach(function(e){t.clearItemStates(e)}),t.paint(),t.setAutoPaint(!0)})}},{key:"highlightEdge",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph;t.on("edge:mouseenter",function(e){e=e.item;t.setAutoPaint(!1),t.getNodes().forEach(function(e){t.clearItemStates(e)}),t.setItemState(e,"hover",!0),t.paint(),t.setAutoPaint(!0)}),t.on("edge:mouseleave",function(){t.setAutoPaint(!1),t.getEdges().forEach(function(e){t.clearItemStates(e)}),t.paint(),t.setAutoPaint(!0)})}},{key:"setData",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.graph;this.data?t.changeData(e):t.data(e),this.data=e}},{key:"render",value:function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph).render()}},{key:"updateGraph",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.graph;this.data=e,t.changeData(e)}},{key:"refresh",value:function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph).refresh()}},{key:"getContainer",value:function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph).getContainer()}},{key:"getCanvas",value:function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph).get("canvas")}},{key:"getNodes",value:function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph).getNodes()}},{key:"getEdges",value:function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph).getEdges()}},{key:"getNeighbors",value:function(e,t){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.graph).getNeighbors(e,t)}},{key:"findById",value:function(e){return(1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.graph).findById(e)}},{key:"find",value:function(e,t){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.graph).find(e,t)}},{key:"findAll",value:function(e,t){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.graph).findAll(e,t)}},{key:"getEdgesByNode",value:function(e){return e.getEdges()}},{key:"getInEdges",value:function(e){return e.getInEdges()}},{key:"getOutEdges",value:function(e){return e.getOutEdges()}},{key:"getSourceByEdge",value:function(e){return e.getSource()}},{key:"getTargetByEdge",value:function(e){return e.getTarget()}},{key:"expandNode",value:function(e){e=e.getModel().id;this._expandCollapseNode(this.collpasedData[e],"show"),delete this.collpasedData[e]}},{key:"collapseNode",value:function(e){var t=e.getModel().id,n=[];this._collapseFunc(e,n),this.collpasedData[t]=n,this._expandCollapseNode(n)}},{key:"isCollpased",value:function(e){return!!this.collpasedData[e]}},{key:"_collapseFunc",value:function(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],n=this.getNeighbors(e,"target"),r=this.getNeighbors(e,"source"),i=0;i<n.length;i++){var o=n[i],a=o.getModel();1===this.getNeighbors(o).length&&t.push({id:a.id})}for(var s=0;s<r.length;s++){var l=r[s],u=l.getModel(),c=this.getNeighbors(l),f=this.getNeighbors(l,"source");1===c.length||0===f.length?t.push({id:u.id}):(this._collapseFunc(l,c=[]),t.push({id:u.id,children:c}))}return t}},{key:"_expandCollapseNode",value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"hide";e&&e.forEach(function(e){"hide"===n?t.hideItem(e.id):(t.showItem(e.id),t.isCollpased(e.id)&&delete t.collpasedData[e.id]),e.children&&t._expandCollapseNode(e.children,n)})}},{key:"showItem",value:function(e,t){(2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.graph).showItem(e,t)}},{key:"hideItem",value:function(e,t){(2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.graph).hideItem(e,t)}},{key:"show",value:function(e){e.show()}},{key:"hide",value:function(e){e.hide()}},{key:"changeVisibility",value:function(e,t){e.changeVisibility(t)}},{key:"isVisible",value:function(e){return e.isVisible()}},{key:"getModel",value:function(e){return e.getModel()}},{key:"addItem",value:function(e,t){(2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.graph).addItem(e,t)}},{key:"removeItem",value:function(e){(1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.graph).removeItem(e)}},{key:"updateItem",value:function(e,t){(2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.graph).updateItem(e,t)}},{key:"refreshItem",value:function(e){(1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.graph).refreshItem(e)}},{key:"refreshPositions",value:function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph).refreshPositions()}},{key:"on",value:function(e,t){(2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.graph).on(e,t)}},{key:"off",value:function(e,t){(2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.graph).off(e,t)}},{key:"toDataURL",value:function(e,t){(2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.graph).toDataURL(e,t)}},{key:"bindNodeDefaultDragEvent",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph;e.on("node:dragstart",function(e){ah(e)}),e.on("node:drag",function(e){ah(e)}),e.on("node:dragend",function(e){e.item.get("model").fx=null,e.item.get("model").fy=null})}},{key:"stopDefaultEventPropagation",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph;e.on("click",function(e){e.stopPropagation()}),e.on("mousedown",function(e){e.stopPropagation()}),e.on("mouseover",function(e){e.stopPropagation()}),e.on("mouseout",function(e){e.stopPropagation()})}},{key:"clear",value:function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph).clear()}},{key:"destroy",value:function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph).destroy()}}]),Object.defineProperty(Jf,"prototype",{writable:!1});var ih=oh;function oh(){if(!(this instanceof oh))throw new TypeError("Cannot call a class as a function");this.config=null,this.graph=null,this.data=null,this.collpasedData={},this.importG6(),this.CLASS_NAME="SuperMap.G6Render"}function ah(e){var t=e.item.get("model");t.fx=e.x,t.fy=e.y,t.x=e.x,t.y=e.y}var o=qT(42138),sh=qT.n(o);function lh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Jf=[{key:"dataFromGraphMap",value:Uf},{key:"dataFromKnowledgeGraphQuery",value:function(e){return Uf(e)}}],lh((o=ch).prototype,[{key:"handleNodeStatus",value:function(e){var t=e.expand,n=e.collapse,e=e.hidden;this.expandNodes(t),this.collapseNodes(n),this.hideNodes(e)}},{key:"expandNodes",value:function(e){var t=this;e&&e.forEach(function(e){t.expandNode(e+"")})}},{key:"collapseNodes",value:function(e){var t=this;e&&e.forEach(function(e){t.collapseNode(e+"")})}},{key:"hideNodes",value:function(e){var t=this;e&&e.forEach(function(e){t.hideItem(e+"")})}},{key:"createGraphRender",value:function(e){"G6"===e&&(this.graphRender=new ih)}},{key:"createGraph",value:function(e){e=this.initGraph(e);return this.graph=e,this.autoResize(),e}},{key:"getGraph",value:function(){return this.graph}},{key:"autoResize",value:function(){this.config&&!1!==this.config.autoResize&&this.graphRender.autoResize()}},{key:"zoom",value:function(e,t,n,r){this.graphRender.zoom(e,t,n,r)}},{key:"zoomTo",value:function(e,t,n,r){this.graphRender.zoomTo(e,t,n,r)}},{key:"fitView",value:function(e,t,n,r){this.graphRender.fitView(e,t,n,r)}},{key:"fitCenter",value:function(e,t){this.graphRender.fitCenter(e,t)}},{key:"getGraphCenterPoint",value:function(){return this.graphRender.getGraphCenterPoint()}},{key:"getViewPortCenterPoint",value:function(){return this.graphRender.getViewPortCenterPoint()}},{key:"getZoom",value:function(){return this.graphRender.getZoom()}},{key:"getMinZoom",value:function(){return this.graphRender.getMinZoom()}},{key:"setMinZoom",value:function(e){this.graphRender.setMinZoom(e)}},{key:"getMaxZoom",value:function(){return this.graphRender.getMaxZoom()}},{key:"setMaxZoom",value:function(e){this.graphRender.setMaxZoom(e)}},{key:"getWidth",value:function(){return this.graphRender.getWidth()}},{key:"getHeight",value:function(){return this.graphRender.getHeight()}},{key:"initGraph",value:function(e){var t=this,e=this.graphRender.initGraph(e);return this.graph=e,this.graph.on("beforelayout",function(){void 0!==t.config.zoom&&t.zoom(t.config.zoom),void 0!==t.config.center&&t.graphRender.setCenter({x:t.config.center[0],y:t.config.center[1]})}),e}},{key:"setData",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.graph;e=e||{nodes:[],edges:[]},this.config&&this.config.nodeLabelMaxWidth&&(e.nodes=this.nodeLabelOpenEllipsis(this.config.nodeLabelMaxWidth,e.nodes)),this.graphRender.setData(e,t),this.render(t),this.data=e}},{key:"render",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph;e&&this.graphRender.render(e)}},{key:"updateGraph",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.graph;t&&this.graphRender.updateGraph(e,t)}},{key:"refresh",value:function(){return this.graphRender.refresh()}},{key:"changeSize",value:function(e,t){return this.graphRender.changeSize(e,t)}},{key:"resize",value:function(e,t){this.graphRender.changeSize(e,t),this.graphRender.refresh()}},{key:"getContainer",value:function(){return this.graphRender.getContainer()}},{key:"getCanvas",value:function(){return this.graphRender.getCanvas()}},{key:"getNodes",value:function(){return this.graphRender.getNodes()}},{key:"getEdges",value:function(){return this.graphRender.getEdges()}},{key:"getNeighbors",value:function(e,t){return this.graphRender.getNeighbors(e,t)}},{key:"findById",value:function(e){return this.graphRender.findById(e)}},{key:"find",value:function(e,t){return this.graphRender.find(e,t)}},{key:"findAll",value:function(e,t){return this.graphRender.findAll(e,t)}},{key:"getEdgesByNode",value:function(e){return this.graphRender.getEdgesByNode(e)}},{key:"getInEdges",value:function(e){return this.graphRender.getInEdges(e)}},{key:"getOutEdges",value:function(e){return this.graphRender.getOutEdges(e)}},{key:"getSourceByEdge",value:function(e){return this.graphRender.getSourceByEdge(e)}},{key:"getTargetByEdge",value:function(e){return this.graphRender.getTargetByEdge(e)}},{key:"expandNode",value:function(e){e=this.findById(e);e&&this.graphRender.expandNode(e)}},{key:"collapseNode",value:function(e){e=this.findById(e);e&&this.graphRender.collapseNode(e)}},{key:"showItem",value:function(e,t){this.graphRender.showItem(e,t)}},{key:"hideItem",value:function(e,t){this.graphRender.hideItem(e,t)}},{key:"show",value:function(e){this.graphRender.show(e)}},{key:"hide",value:function(e){this.graphRender.hide(e)}},{key:"changeVisibility",value:function(e,t){this.graphRender.changeVisibility(e,t)}},{key:"isVisible",value:function(e){return this.graphRender.isVisible(e)}},{key:"getModel",value:function(e){return this.graphRender.getModel(e)}},{key:"addItem",value:function(e,t){return this.graphRender.addItem(e,t)}},{key:"removeItem",value:function(e){return this.graphRender.removeItem(e)}},{key:"updateItem",value:function(e,t){return this.graphRender.updateItem(e,t)}},{key:"refreshItem",value:function(e){return this.graphRender.refreshItem(e)}},{key:"refreshPositions",value:function(){return this.graphRender.refreshPositions()}},{key:"on",value:function(e,t){this.graphRender.on(e,t)}},{key:"off",value:function(e,t){this.graphRender.off(e,t)}},{key:"toDataURL",value:function(e,t){this.graphRender.toDataURL(e,t)}},{key:"nodeLabelOpenEllipsis",value:function(a,e){var s=this;return e?a?e.map(function(e){var t,n,r,i,o=e.labelCfg&&e.labelCfg.fontSize||s.defaultNode&&s.defaultNode.labelCfg&&s.defaultNode.labelCfg.fontSize||14;return e.label=(t=e.label,n=a,o=+o,n*=1.6,function(e){for(var t=0,n=0;n<e.length;n++)0<e.charCodeAt(n)&&e.charCodeAt(n)<128?t++:t+=2;return t}(t)*o>n?(r=Math.floor((n-20)/o),i=t.substring(0,r),(t.substring(r).length+"…".length)*o>n?i+"\n"+t.substring(r,r+r-2)+"…":0==t.substring(r).length?i:i+"\n"+t.substring(r)):t),e}):e:[]}},{key:"clear",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph;e&&e.clear()}},{key:"destroy",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.graph;e&&e.destroy()}}]),lh(o,Jf),Object.defineProperty(o,"prototype",{writable:!1});var uh=ch;function ch(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"G6",n=this;if(!(n instanceof ch))throw new TypeError("Cannot call a class as a function");this.graph=null,this.config=sh()(e),this.graphRender=null,this.type=t,this.createGraphRender(this.type),this.config=this.graphRender._getGraphConfig(this.config),this.createGraph(this.config),this.CLASS_NAME="SuperMap.KnowledgeGraph"}function fh(e){return(fh="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})(e)}function hh(){hh=function(){return a};var a={},e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(a){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof f?t:f,t=Object.create(t.prototype),r=new _(r||[]);return t._invoke=(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return w()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return c;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}r=u(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,c;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,c):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c)}(n,a);if(n){if(n===c)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=u(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===c)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}}),t}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var c={};function f(){}function h(){}function d(){}var t={},p=(o(t,r,function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),y=(p&&p!==e&&l.call(p,r)&&(t=p),d.prototype=f.prototype=Object.create(t));function m(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function g(a,s){var t;this._invoke=function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=u(a[e],a,n);return"throw"!==e.type?(n=(o=e.arg).value)&&"object"==fh(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)}):void i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function x(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:w}}function w(){return{value:void 0,done:!0}}return o(y,"constructor",h.prototype=d),o(d,"constructor",h),h.displayName=o(d,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},a.awrap=function(e){return{__await:e}},m(g.prototype),o(g.prototype,n,function(){return this}),a.AsyncIterator=g,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new g(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},m(y),o(y,i,"Generator"),o(y,r,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),a.keys=function(n){var e,r=[];for(e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),b(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,b(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},a}function dh(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function ph(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yh(e,t){return(yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function mh(e){return(mh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Jf=function(){var e=o,t=u().Evented;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yh(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=mh(n),t=(e=r?(e=mh(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==fh(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");(n=i.call(this,e,t)).graph=null,n.EVENT_TYPES=["loaded"];var r=e.split("/").pop();return n.url=e.replace("/graphmaps/".concat(r),""),n.createGraphMap(r,t),n}return e=o,t=[{key:"createGraphMap",value:function(){var s;s=hh().mark(function e(i,o){var a,s,l=this;return hh().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.knowledgeGraphService=this.createKnowledgeGraphService(this.url,o),e.next=3,this.knowledgeGraphService.getGraphMapData(i);case 3:a=e.sent,s=uh.dataFromGraphMap(a.data,a.graphMap),this.graph=new uh(o&&o.config),this.graph.on("beforelayout",function(){l.fire(l.EVENT_TYPES[0])}),this.graph.setData(s),this.graph.handleNodeStatus((t=(r=a.graphMap.dataContent).expand,n=r.collapse,r=r.hidden,{expand:t&&JSON.parse(t),collapse:n&&JSON.parse(n),hidden:r&&JSON.parse(r)}));case 9:case"end":return e.stop()}var t,n,r},e,this)});return function(e,t){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){dh(r,t,n,i,o,"next",e)}function o(e){dh(r,t,n,i,o,"throw",e)}i(void 0)})}.apply(this,arguments)}}()},{key:"createKnowledgeGraphService",value:function(e,t){return new zf(e,t)}}],ph(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),o}();function gh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}gh((o=bh).prototype,[{key:"getId",value:function(){return this.id}},{key:"setId",value:function(e){this.id=e}},{key:"getLngLat",value:function(){return this.lngLat}},{key:"setLngLat",value:function(e){this.lngLat=x.isArray(e)?{lng:e[0],lat:e[1]}:e}},{key:"setStyle",value:function(e){this.style=x.extend(this.style,e)}},{key:"getStyle",value:function(){return this.style}},{key:"setAttributes",value:function(e){this.attributes=x.extend({},this.attributes,e)}},{key:"getAttributes",value:function(){return this.attributes}}]),Object.defineProperty(o,"prototype",{writable:!1});var o=bh,vh={getPoint:function(e){if(e&&e instanceof Array)return new ds.DataSet([{geometry:{type:"Point",coordinates:e}}])},getPoints:function(e){var t;if(e&&e instanceof Array)return t=[],e.forEach(function(e){t.push({geometry:{type:"Point",coordinates:e.geometry.coordinates}})}),new ds.DataSet(t)},getCurveLines:function(n,e){var r;if(n&&n instanceof Array&&e&&e instanceof Array)return r=[],e.forEach(function(e){var e=e.geometry&&e.geometry.coordinates,e={lng:e[0],lat:e[1]},t={lng:n[0],lat:n[1]},t=ds.utilCurve.getPoints([t,e]);r.push({geometry:{type:"LineString",coordinates:t}})}),new ds.DataSet(r)},getCurveDynamicPoints:function(i,e){var o;if(i&&i instanceof Array&&e&&e instanceof Array)return o=[],e.forEach(function(e){for(var e=e.geometry&&e.geometry.coordinates,e={lng:e[0],lat:e[1]},t={lng:i[0],lat:i[1]},n=ds.utilCurve.getPoints([t,e]),r=0;r<n.length;r++)o.push({geometry:{type:"Point",coordinates:n[r]},time:r})}),new ds.DataSet(o)}};function bh(e,t,n){if(!(this instanceof bh))throw new TypeError("Cannot call a class as a function");this.lngLat=x.isArray(e)?{lng:e[0],lat:e[1]}:e,this.style=x.extend({},t),this.attributes=n}function _h(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function xh(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?_h(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):_h(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}function wh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}wh((od=Sh).prototype,[{key:"addLayer",value:function(e,t,n){e.layout&&"none"===e.layout.visibility&&Object.assign(e.layout,{visibility:"visible"}),e.paint&&Object.assign(t.paint||{},e.paint),e.layout&&Object.assign(t.layout||{},e.layout),this.map.addLayerBySymbolBak(xh(xh({},e),t),n)}}]),Object.defineProperty(od,"prototype",{writable:!1});var Ah=Sh;function Sh(e){if(!(this instanceof Sh))throw new TypeError("Cannot call a class as a function");this.map=e}function Ch(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Oh(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ch(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):Ch(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}function Eh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Eh((od=Ph).prototype,[{key:"addLayer",value:function(n,e,r){var i=this;e.forEach(function(e){var t=D.createUniqueID("".concat(n.id,"_"));i.singleSymbol.addLayer(Oh(Oh({},n),{},{id:t}),e,r),i.addLayerId(n.id,t)})}},{key:"addLayerId",value:function(e,t){this.layerIds[e]||(this.layerIds[e]=[]),this.layerIds[e].includes(t)||this.layerIds[e].push(t)}},{key:"removeLayerId",value:function(e){delete this.layerIds[e]}},{key:"getLayerIds",value:function(e){return this.layerIds[e]}},{key:"getLayerId",value:function(t){for(var e in this.layerIds)if(this.layerIds[e].find(function(e){return e===t}))return e}}]),Object.defineProperty(od,"prototype",{writable:!1});var Mh=Ph;function Ph(e){if(!(this instanceof Ph))throw new TypeError("Cannot call a class as a function");this.map=e,this.singleSymbol=new Ah(e),this.layerIds={}}function kh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}kh((od=Ih).prototype,[{key:"addSymbol",value:function(e,t){this.symbols[e]=t}},{key:"getSymbol",value:function(e){return this.symbols[e]&&JSON.parse(JSON.stringify(this.symbols[e]))}},{key:"removeSymbol",value:function(e){delete this.symbols[e]}},{key:"addImageInfo",value:function(e,t){this.images[e]=t}},{key:"getImageInfo",value:function(e){return this.images[e]}}]),Object.defineProperty(od,"prototype",{writable:!1});var Th=Ih;function Ih(){if(!(this instanceof Ih))throw new TypeError("Cannot call a class as a function");this.symbols={},this.images={}}function Lh(e,t){var n;if(e)return"string"==typeof e?jh(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jh(e,t):void 0}function jh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dh(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}var Bh="symbol",Rh="line",Nh="fill",zh=[{prefix:"line-",type:Rh},{prefix:"fill-",type:Nh},{prefix:"circle-",type:"circle"}];function Fh(e){return e&&0<e.length}function Vh(a){var e,t=function(){var e,n,t=a.paint,r=a.layout,r=void 0===r?{}:r,i=Object.keys(void 0===t?{}:t).concat(Object.keys(r)),o=function(e){var t,n,r,i,o,a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return r=!(n=!0),{s:function(){a=a.call(e)},n:function(){var e=a.next();return n=e.done,e},e:function(e){r=!0,t=e},f:function(){try{n||null==a.return||a.return()}finally{if(r)throw t}}};if(Array.isArray(e)||(a=Lh(e)))return a&&(e=a),i=0,{s:o=function(){},n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(zh);try{for(o.s();!(n=o.n()).done;)if("break"===function(){var t=n.value;if(i.some(function(e){return e.startsWith(t.prefix)}))return e=t.type,"break"}())break}catch(e){o.e(e)}finally{o.f()}return e||Bh}();return Dh(e={},Bh,{type:"layout",name:"icon-image"}),Dh(e,Rh,{type:"paint",name:"line-pattern"}),Dh(e,Nh,{type:"paint",name:"fill-pattern"}),e[t]}var Hh=["array","boolean","collator","format","literal","number","object","string","to-boolean","to-color","to-number","to-string","typeof","feature-state","geometry-type","id","line-progress","properties","at","get","has","length","!","!=","<","<=","==",">",">=","all","any","case","match","coalesce","interpolate","interpolate-hcl","interpolate-lab","step","let","var","concat","downcase","is-supported-script","resolved-locale","upcase","rgb","rgba","-","*","/","%","^","+","abs","acos","asin","atan","ceil","cos","e","floor","ln","ln2","log10","log2","max","min","pi","round","sin","sqrt","tan","zoom","heatmap-density"];function Yh(e){var t;if(e&&0<e.length)return t=1,"string"==typeof(e=(function(e){if(Array.isArray(e))return e}(e=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||Lh(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0])&&Hh.includes(e)}function Gh(t){return Object.keys(t).every(function(e){return!Yh(t[e])})}function Uh(e){return(Fh(e)?e:[e]).every(function(e){return Gh(e.paint||{})&&Gh(e.layout||{})})}function Qh(e){return["icon-color","icon-opacity","icon-translate","line-opacity","line-blur","line-translate","line-color","line-width","line-offset","line-dasharray","line-pattern","fill-color","fill-opacity","fill-pattern","fill-outline-color","text-color","text-halo-blur","text-halo-color","text-halo-width","text-opacity","text-translate","text-translate-anchor","circle-blur","circle-color","circle-opacity","circle-translate","circle-radius","circle-stroke-color","circle-stroke-opacity","circle-stroke-width"].includes(e)}function Wh(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function qh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wh(Object(n),!0).forEach(function(e){Kh(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Kh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Xh((od=$h).prototype,[{key:"_update",value:function(e){return this.map=e,this}},{key:"addLayer",value:function(e,t){if("string"==typeof e.symbol){var n=e.symbol;if(n){var r=this.symbolManager.getSymbol(n);if(!r)return this.map.fire("error",{error:new Error('Symbol "'.concat(n,'" could not be loaded. Please make sure you have added the symbol with map.addSymbol().'))});this.setSymbolTolayer(e.id,n),this.getSymbolRender(r).addLayer(e,r,t)}}else Yh(e.symbol)&&(this.setSymbolTolayer(e.id,e.symbol),this.addExpressionLayer(e,t))}},{key:"setSymbol",value:function(t,e){var n=this.map.getStyle().layers,r=n.findIndex(function(e){return e.id===t});if(-1===r)return this.map.fire("error",{error:new Error('Cannot set symbol "'.concat(e,'" to non-existing layer "').concat(t,'".'))});this.map.removeLayer(t);var i=n[r+1]&&n[r+1].id,o=i&&this.map.style.getLayer(i),o=o&&o.id||i&&this.getFirstLayerId(i),i=n[r];this.addLayer(qh(qh({},i),{},{paint:{},layout:{visibility:i.layout&&i.layout.visibility||"visible"},symbol:e}),o)}},{key:"getMatchLayers",value:function(n){var r=[],i=["all"],o=(n.filter&&i.push(n.filter),n.symbol.slice(2));return o.forEach(function(e,t){t%2==1?r.push(qh(qh({},n),{},{filter:[].concat(i,[["==",n.symbol[1][1],o[t-1]]]),symbol:e})):t===o.length-1&&r.unshift(qh(qh({},n),{},{symbol:e}))}),r}},{key:"getCaseLayers",value:function(n){var r=[],i=["all"],o=(n.filter&&i.push(n.filter),n.symbol.slice(1));return o.forEach(function(e,t){t%2==1?r.push(qh(qh({},n),{},{filter:[].concat(i,[o[t-1]]),symbol:e})):t===o.length-1&&r.unshift(qh(qh({},n),{},{symbol:e}))}),r}},{key:"addExpressionLayer",value:function(t,n){var r=this,e=(delete t.paint,delete t.layout,{match:this.getMatchLayers,case:this.getCaseLayers}[t.symbol[0]]),e=e&&e(t);if(!e)return this.map.fire("error",{error:new Error("This expressions not supported")});e.forEach(function(e){e.id=D.createUniqueID("".concat(t.id,"_")),r.compositeSymbolRender.addLayerId(t.id,e.id),r.addLayer(e,n)})}},{key:"getSymbolRender",value:function(e){return Fh(e)?this.compositeSymbolRender:this.singleSymbolRender}},{key:"addSymbolImageToMap",value:function(e,t){var n=Vh(e),r=n.type,n=n.name,e=e[r]&&e[r][n];e&&!this.map.hasImage(e)&&(this.map.addImage(e,t),this.symbolManager.addImageInfo(e,t))}},{key:"addSymbol",value:function(e,t){return this.symbolManager.getSymbol(e)?this.map.fire("error",{error:new Error("An symbol with this name already exists.")}):Uh(t)?void this.symbolManager.addSymbol(e,t):this.map.fire("error",{error:new Error("Symbol is not supported expressions.")})}},{key:"setSymbolTolayer",value:function(e,t){this._layerSymbols[e]=t}},{key:"getSymbol",value:function(e){return this._layerSymbols[e]}},{key:"hasSymbol",value:function(){return 0<Object.keys(this._layerSymbols).length}},{key:"removeSymbol",value:function(e){this.symbolManager.removeSymbol(e)}},{key:"getSymbolInfo",value:function(e){return this.symbolManager.getSymbol(e)}},{key:"getLayerIds",value:function(e){return this.compositeSymbolRender.getLayerIds(e)||[]}},{key:"getLayerId",value:function(e){return this.compositeSymbolRender.getLayerId(e)}},{key:"removeLayerId",value:function(e){return this.compositeSymbolRender.removeLayerId(e)}},{key:"getLayer",value:function(e){var t=this.map.getLayerBySymbolBak(e),n=this.getSymbol(e);return t?n?qh(qh({},t),{},{symbol:n}):t:(t=this.getLayerIds(e))[0]?(t=this.map.getLayerBySymbolBak(t[0]))&&qh(qh({},t),{},{symbol:n,id:e}):void 0}},{key:"removeLayer",value:function(e){var t=this,n=this.getLayerIds(e);0<n.length?(n.forEach(function(e){return t.map.style.removeLayer(e)}),this.removeLayerId(e)):this.map.style.removeLayer(e)}},{key:"getStyle",value:function(){var r=this,e=this.map.style.serialize();return this.hasSymbol()&&(e.layers=e.layers.reduce(function(e,t){var n=r.getLayerId(t.id);return n?e.find(function(e){return e.id===n})||e.push(qh(qh({},t),{},{symbol:r.getSymbol(n),id:n})):r.getSymbol(t.id)?e.push(qh(qh({},t),{},{symbol:r.getSymbol(t.id)})):e.push(t),e},[])),e}},{key:"getFirstLayerId",value:function(e){return this.getLayerIds(e)[0]}},{key:"moveLayer",value:function(e,t){var n=this,r=this.getLayerIds(e),i=t&&this.map.style.getLayer(t),o=i&&i.id||t&&this.getFirstLayerId(t);0<r.length?r.forEach(function(e){return n.map.style.moveLayer(e,o)}):this.map.style.moveLayer(e,o)}},{key:"setFilter",value:function(e,t,n){var r,i=this;Yh(this.getSymbol(e))?(r=this.getFirstLayerId(e),this.map.style.setFilter(r,t,n),r=this.getSymbol(e),this.setSymbol(e,r)):0<(r=this.getLayerIds(e)).length?r.forEach(function(e){return i.map.style.setFilter(e,t,n)}):this.map.style.setFilter(e,t,n)}},{key:"getFilter",value:function(e){e=this.getFirstLayerId(e);if(this.map.style.getLayer(e))return this.map.style.getFilter(e)}},{key:"setLayerZoomRange",value:function(e,t,n){var r=this,i=this.getLayerIds(e);0<i.length?i.forEach(function(e){return r.map.style.setLayerZoomRange(e,t,n)}):this.map.style.setLayerZoomRange(e,t,n)}},{key:"setPaintProperty",value:function(e,t,n,r){var i=this,o=this.getLayerIds(e);0<o.length?o.forEach(function(e){return i.map.style.setPaintProperty(e,t,n,r)}):this.map.style.setPaintProperty(e,t,n,r)}},{key:"getPaintProperty",value:function(e,t){e=this.getFirstLayerId(e);return this.map.style.getPaintProperty(e,t)}},{key:"setLayoutProperty",value:function(e,t,n,r){var i=this,o=this.getLayerIds(e);0<o.length?o.forEach(function(e){return i.map.style.setLayoutProperty(e,t,n,r)}):this.map.style.setLayoutProperty(e,t,n,r)}},{key:"getLayoutProperty",value:function(e,t){e=this.getFirstLayerId(e);return this.map.style.getLayoutProperty(e,t)}},{key:"updateLayerSymbol",value:function(n){var r=this;Object.keys(this._layerSymbols).forEach(function(e){var t=r._layerSymbols[e];t.includes(n)&&r.setSymbol(e,t)})}},{key:"updateSymbol",value:function(e,t){return this.symbolManager.getSymbol(e)?Uh(t)?(this.symbolManager.addSymbol(e,t),void this.updateLayerSymbol(e)):this.map.fire("error",{error:new Error("Symbol is not supported expressions.")}):this.map.fire("error",{error:new Error('Symbol "'.concat(e,'" could not be loaded. Please make sure you have added the symbol with map.addSymbol().'))})}},{key:"setSymbolProperty",value:function(e,t,n,r){var i=this.symbolManager.getSymbol(e);if(!i)return this.map.fire("error",{error:new Error('Symbol "'.concat(e,'" could not be loaded. Please make sure you have added the symbol with map.addSymbol().'))});if(Yh(r))return this.map.fire("error",{error:new Error("Symbol value is not supported expressions.")});var o=Qh(n)?"paint":"layout";if(0<i.length){var a=i[t];if(!a)return this.map.fire("error",{error:new Error("symbol[".concat(t,"] does not exist."))});a[o]||(a[o]={}),Object.assign(a[o],Kh({},n,r))}else i[o]||(i[o]={}),Object.assign(i[o],Kh({},n,r));this.symbolManager.addSymbol(e,i),this.updateLayerSymbol(e)}},{key:"getSymbolProperty",value:function(e,t,n){var r,i=this.symbolManager.getSymbol(e);if(i)return r=Qh(n)?"paint":"layout",0<i.length?i[t]&&i[t][r]&&i[t][r][n]:i[r]&&i[r][n];this.map.fire("error",{error:new Error('Symbol "'.concat(e,'" could not be loaded. Please make sure you have added the symbol with map.addSymbol().'))})}}]),Object.defineProperty(od,"prototype",{writable:!1});var Jh=$h;function $h(e){if(!(this instanceof $h))throw new TypeError("Cannot call a class as a function");this.map=e,this.symbolManager=new Th,this.singleSymbolRender=new Ah(e),this.compositeSymbolRender=new Mh(e),this._layerSymbols={}}function Zh(e){return(Zh="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})(e)}function ed(){ed=function(){return a};var a={},e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(a){o=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i,o,a,s,t=t&&t.prototype instanceof f?t:f,t=Object.create(t.prototype),r=new _(r||[]);return t._invoke=(i=e,o=n,a=r,s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return w()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return c;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}r=u(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,c;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,c):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c)}(n,a);if(n){if(n===c)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=u(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===c)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}}),t}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var c={};function f(){}function h(){}function d(){}var t={},p=(o(t,r,function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),y=(p&&p!==e&&l.call(p,r)&&(t=p),d.prototype=f.prototype=Object.create(t));function m(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function g(a,s){var t;this._invoke=function(n,r){function e(){return new s(function(e,t){!function t(e,n,r,i){var o,e=u(a[e],a,n);return"throw"!==e.type?(n=(o=e.arg).value)&&"object"==Zh(n)&&l.call(n,"__await")?s.resolve(n.__await).then(function(e){t("next",e,r,i)},function(e){t("throw",e,r,i)}):s.resolve(n).then(function(e){o.value=e,r(o)},function(e){return t("throw",e,r,i)}):void i(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}}function v(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function x(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:w}}function w(){return{value:void 0,done:!0}}return o(y,"constructor",h.prototype=d),o(d,"constructor",h),h.displayName=o(d,i,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},a.awrap=function(e){return{__await:e}},m(g.prototype),o(g.prototype,n,function(){return this}),a.AsyncIterator=g,a.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var o=new g(s(e,t,n,r),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},m(y),o(y,i,"Generator"),o(y,r,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),a.keys=function(n){var e,r=[];for(e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return o.type="throw",o.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),b(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,i=this.tryEntries[t];if(i.tryLoc===e)return"throw"===(n=i.completion).type&&(r=n.arg,b(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},a}function td(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function nd(s){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){td(r,t,n,i,o,"next",e)}function o(e){td(r,t,n,i,o,"throw",e)}i(void 0)})}}function rd(){function s(e){return u().Map.prototype.symbolHandler||(u().Map.prototype.symbolHandler=new Jh(e)),u().Map.prototype.symbolHandler._update(e)}var n;function l(){return(l=nd(ed().mark(function e(t,n){var r,i,o,a;return ed().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(n.basePath,"/").concat(t,"/").concat(t),e.next=4,d.get("".concat(r,".json")).then(function(e){if(e.ok)return e.json()}).catch(function(){return null});case 4:if(i=e.sent){e.next=7;break}return e.abrupt("return",null);case 7:if(o=i.paint||{},a=i.layout||{},o=o["fill-pattern"]||o["line-pattern"]||a["icon-image"],e.t0=o,e.t0)return e.next=14,new Promise(function(t){var n=new Image;n.src="".concat(r,".png"),n.onload=function(e){t(e?n:null)},n.onerror=function(){t(null)}});e.next=15;break;case 14:e.t0=e.sent;case 15:return a=e.t0,e.abrupt("return",{value:i,image:a});case 17:case"end":return e.stop()}},e)}))).apply(this,arguments)}void 0===u().Map.prototype.addLayerBySymbolBak&&(u().Map.prototype.addLayerBySymbolBak=u().Map.prototype.addLayer,u().Map.prototype.addLayer=function(e,t){return e.symbol?s(this).addLayer(e,t):this.addLayerBySymbolBak(e,t),this}),void 0===u().Map.prototype.getLayerBySymbolBak&&(u().Map.prototype.getLayerBySymbolBak=u().Map.prototype.getLayer,u().Map.prototype.getLayer=function(e){return s(this).getLayer(e)}),void 0===u().Map.prototype.moveLayerBySymbolBak&&(u().Map.prototype.moveLayerBySymbolBak=u().Map.prototype.moveLayer,u().Map.prototype.moveLayer=function(e,t){return!this.style.getLayer(e)||t&&!this.style.getLayer(t)?(s(this).moveLayer(e,t),this._update(!0)):this.moveLayerBySymbolBak(e,t)}),void 0===u().Map.prototype.removeLayerBySymbolBak&&(u().Map.prototype.removeLayerBySymbolBak=u().Map.prototype.removeLayer,u().Map.prototype.removeLayer=function(e){return this.style.getLayer(e)?this.removeLayerBySymbolBak(e):s(this).removeLayer(e)}),void 0===u().Map.prototype.setLayoutPropertyBySymbolBak&&(u().Map.prototype.setLayoutPropertyBySymbolBak=u().Map.prototype.setLayoutProperty,u().Map.prototype.setLayoutProperty=function(e,t,n,r){return this.overlayLayersManager[e]||this.style.getLayer(e)?this.setLayoutPropertyBySymbolBak(e,t,n,r):(s(this).setLayoutProperty(e,t,n,r),this._update(!0))}),u().Map.prototype.setSymbol=function(e,t){s(this).setSymbol(e,t)},u().Map.prototype.setStyleBak||(u().Map.prototype.setStyleBak=u().Map.prototype.setStyle,u().Map.prototype.setStyle=function(e,t){var n=this;return this.setStyleBak(e,t),this.style&&this.style.once("style.load",function(){e.layers.filter(function(e){return e.symbol}).forEach(function(e){n.setSymbol(e.id,e.symbol)})}),this}),u().Map.prototype.loadSymbol=(n=nd(ed().mark(function e(t,n){var r,i,o,a;return ed().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("string"!=typeof t){e.next=15;break}if(r=s(this).getSymbolInfo(t)){e.next=12;break}return e.next=5,function(){return l.apply(this,arguments)}(t,this);case 5:if(i=e.sent){e.next=9;break}return n({message:"This symbol is not exists."}),e.abrupt("return");case 9:o=i.value,a=i.image,r=o,a&&s(this).addSymbolImageToMap(o,a);case 12:n(null,r),e.next=16;break;case 15:n({message:"Symbol id must be a string."});case 16:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)}),u().Map.prototype.addSymbol=function(e,t){s(this).addSymbol(e,t)},u().Map.prototype.hasSymbol=function(e){return e?!!s(this).getSymbolInfo(e):(this.fire("error",{error:new Error("Missing required symbol id")}),!1)},u().Map.prototype.removeSymbol=function(e){s(this).removeSymbol(e)},u().Map.prototype.updateSymbol=function(e,t){s(this).updateSymbol(e,t)},u().Map.prototype.setSymbolProperty=function(e,t,n,r){s(this).setSymbolProperty(e,t,n,r)},u().Map.prototype.getSymbolProperty=function(e,t,n){return s(this).getSymbolProperty(e,t,n)},u().Map.prototype.getStyle=function(){if(this.style)return s(this).getStyle()},u().Map.prototype.setFilter=function(e,t,n){return(this.style.getLayer(e)?this.style:s(this)).setFilter(e,t,n),this._update(!0)},u().Map.prototype.getFilter=function(e){return(this.style.getLayer(e)?this.style:s(this)).getFilter(e)},u().Map.prototype.setLayerZoomRange=function(e,t,n){return(this.style.getLayer(e)?this.style:s(this)).setLayerZoomRange(e,t,n),this._update(!0)},u().Map.prototype.setPaintProperty=function(e,t,n,r){return(this.style.getLayer(e)?this.style:s(this)).setPaintProperty(e,t,n,r),this._update(!0)},u().Map.prototype.getPaintProperty=function(e,t){return(this.style.getLayer(e)?this.style:s(this)).getPaintProperty(e,t)},u().Map.prototype.getLayoutProperty=function(e,t){return(this.style.getLayer(e)?this.style:s(this)).getLayoutProperty(e,t)}}function id(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}id((od=ad).prototype,[{key:"init",value:function(e){u().Map.prototype.basePath=e&&e.basePath||this.defaultBasePath,rd()}}]),Object.defineProperty(od,"prototype",{writable:!1});var od=ad;function ad(){if(!(this instanceof ad))throw new TypeError("Cannot call a class as a function");this.defaultBasePath="./resources/symbols"}function sd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}sd((Ad=ud).prototype,[{key:"destroy",value:function(){this.address=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null}}]),Object.defineProperty(Ad,"prototype",{writable:!1});var ld=ud;function ud(e){if(!(this instanceof ud))throw new TypeError("Cannot call a class as a function");e.filters&&"string"==typeof e.filters&&(e.filters=e.filters.split(",")),this.address=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,D.extend(this,e)}function cd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}cd((Ad=hd).prototype,[{key:"destroy",value:function(){this.x=null,this.y=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,this.geoDecodingRadius=null}}]),Object.defineProperty(Ad,"prototype",{writable:!1});var fd=hd;function hd(e){if(!(this instanceof hd))throw new TypeError("Cannot call a class as a function");e.filters&&(e.filters=e.filters.split(",")),this.x=null,this.y=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,this.geoDecodingRadius=null,D.extend(this,e)}function dd(e){return(dd="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})(e)}function pd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yd(){return(yd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=gd(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function md(e,t){return(md=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function gd(e){return(gd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vd=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&md(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=gd(n),t=(e=r?(e=gd(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==dd(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).options=t||{},e.eventCount=0,e.CLASS_NAME="SuperMap.AddressMatchService",e;throw new TypeError("Cannot call a class as a function")}return pd((e=o).prototype,[{key:"destroy",value:function(){yd(gd(o.prototype),"destroy",this).call(this)}},{key:"code",value:function(e,t,n){t instanceof ld&&this.processAsync(e,t,n)}},{key:"decode",value:function(e,t,n){t instanceof fd&&this.processAsync(e,t,n)}},{key:"processAsync",value:function(e,t,n){var r=++this.eventCount,i={scope:this,processCompleted:function(e){if(r===e.result.eventId&&n)return delete e.result.eventId,n(e),this.events&&this.events.un(i),!1},processFailed:function(e){if((r===e.error.eventId||r===e.eventId)&&n)return n(e),this.events&&this.events.un(i),!1}};this.events.on(i),this.request({method:"GET",url:e,params:t,scope:this,success:function(e,t){e.eventId=r,this.serviceProcessCompleted(e,t)},failure:function(e,t){e.error&&(e.error.eventId=r),e.eventId=r,this.serviceProcessFailed(e,t)}})}},{key:"serviceProcessCompleted",value:function(e,t){e.succeed&&delete e.succeed,yd(gd(o.prototype),"serviceProcessCompleted",this).call(this,e,t)}},{key:"serviceProcessFailed",value:function(e,t){yd(gd(o.prototype),"serviceProcessFailed",this).call(this,e,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function bd(e){return(bd="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})(e)}function _d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xd(e,t){return(xd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function wd(e){return(wd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ad=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xd(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=wd(n),t=(e=r?(e=wd(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==bd(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._addressMatchService=new vd(e,t),n;throw new TypeError("Cannot call a class as a function")}return _d((e=o).prototype,[{key:"code",value:function(e,t){this._addressMatchService.code(D.urlPathAppend(this.url,"geocoding"),e,t)}},{key:"decode",value:function(e,t){this._addressMatchService.decode(D.urlPathAppend(this.url,"geodecoding"),e,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Sd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Sd((Zd=Od).prototype,[{key:"destroy",value:function(){var e=this;if(e.customParams=null,e.expectCount=null,e.networkType=null,e.queryOption=null,e.queryParams){for(var t=0,n=e.queryParams,r=n.length;t<r;t++)n[t].destroy();e.queryParams=null}e.startRecord=null,e.holdTime=null,e.returnCustomResult=null,e.prjCoordSys=null}}]),Object.defineProperty(Zd,"prototype",{writable:!1});var Cd=Od;function Od(e){if(!(this instanceof Od))throw new TypeError("Cannot call a class as a function");e&&(this.customParams=null,this.prjCoordSys=null,this.expectCount=1e5,this.networkType=jt.LINE,this.queryOption=Dt.ATTRIBUTEANDGEOMETRY,this.queryParams=null,this.startRecord=0,this.holdTime=10,this.returnCustomResult=!1,this.returnFeatureWithFieldCaption=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.QueryParameters")}function Ed(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ed((Zd=Pd).prototype,[{key:"destroy",value:function(){this.isQueryPoint=null,this.isQueryLine=null,this.isQueryRegion=null,this.attributeFilter=null,this.chartFeatureInfoSpecCode=null}},{key:"toJson",value:function(){var e="",e=(e=(e+='"isQueryPoint":'+this.isQueryPoint+",")+('"isQueryLine":'+this.isQueryLine+","))+('"isQueryRegion":'+this.isQueryRegion+",");return this.attributeFilter&&(e+='"attributeFilter": "'+this.attributeFilter+'",'),"{"+e+('"chartFeatureInfoSpecCode":'+this.chartFeatureInfoSpecCode)+"}"}}]),Object.defineProperty(Zd,"prototype",{writable:!1});var Md=Pd;function Pd(e){if(!(this instanceof Pd))throw new TypeError("Cannot call a class as a function");this.isQueryPoint=null,this.isQueryLine=null,this.isQueryRegion=null,this.attributeFilter=null,this.chartFeatureInfoSpecCode=null,D.extend(this,e),this.CLASS_NAME="SuperMap.ChartQueryFilterParameter"}function kd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}kd((Zd=Id).prototype,[{key:"destroy",value:function(){this.queryMode=null,this.bounds=null,this.chartLayerNames=null,this.chartQueryFilterParameters=null,this.returnContent=!0,this.startRecord=0,this.expectCount=null}},{key:"getVariablesJson",value:function(){var e="";if(e+='"queryMode":"'+this.queryMode+'",',this.chartLayerNames&&this.chartLayerNames.length){for(var t=[],n=this.chartLayerNames.length,r=0;r<n;r++)t.push('"'+this.chartLayerNames[r]+'"');e+='"chartLayerNames":['+t.join(",")+"],"}if("ChartBoundsQuery"===this.queryMode&&this.bounds&&(e+='"bounds":{"leftBottom":{"x":'+this.bounds.left+',"y":'+this.bounds.bottom+'},"rightTop":{"x":'+this.bounds.right+',"y":'+this.bounds.top+"}},"),this.chartQueryFilterParameters&&this.chartQueryFilterParameters.length){for(var i=[],o=this.chartQueryFilterParameters.length,a=0;a<o;a++){var s=this.chartQueryFilterParameters[a];s instanceof Md&&i.push(s.toJson())}var l='"chartQueryParams":'+(l="["+i.join(",")+"]")+",";e+='"chartQueryParameters":'+(l="{"+(l+='"startRecord":'+this.startRecord+",")+('"expectCount":'+this.expectCount)+"}")}return"{"+e+"}"}}]),Object.defineProperty(Zd,"prototype",{writable:!1});var Td=Id;function Id(e){if(!(this instanceof Id))throw new TypeError("Cannot call a class as a function");this.queryMode=null,this.bounds=null,this.chartLayerNames=null,this.chartQueryFilterParameters=null,this.returnContent=!0,this.startRecord=0,this.expectCount=null,D.extend(this,e),this.CLASS_NAME="SuperMap.ChartQueryParameters"}function Ld(e){return(Ld="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})(e)}function jd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dd(e,t){return(Dd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Bd(e,t){if(t&&("object"===Ld(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Rd(e)}function Rd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nd(e){return(Nd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var zd=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dd(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Nd(n);return Bd(this,r?(e=Nd(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))};function o(e,t){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");e=i.call(this,e,t),t=t||{},e.returnContent=null,e.format=a.GEOJSON,D.extend(Rd(e),t);var n=Rd(e);return t.format&&(n.format=t.format.toUpperCase()),n.url?(n.url=D.urlPathAppend(n.url,"queryResults"),e.CLASS_NAME="SuperMap.ChartQueryService",e):Bd(e)}return jd((e=o).prototype,[{key:"destroy",value:function(){v.prototype.destroy.apply(this,arguments),this.returnContent=null,this.format=null}},{key:"processAsync",value:function(e){e instanceof Td&&(this.returnContent=e.returnContent,e=e.getVariablesJson(),this.returnContent&&(this.url=D.urlAppend(this.url,"returnContent=true")),this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"serviceProcessCompleted",value:function(e,t){if((e=D.transformResult(e))&&e.recordsets&&this.format===a.GEOJSON)for(var n=0,r=e.recordsets,i=r.length;n<i;n++){var o;r[n].features&&(o=new En,r[n].features=o.toGeoJSON(r[n].features))}this.events.triggerEvent("processCompleted",{result:e,options:t})}},{key:"getQueryParameters",value:function(e){return new Cd({queryMode:e.queryMode,bounds:e.bounds,chartLayerNames:e.chartLayerNames,chartQueryFilterParameters:e.chartQueryFilterParameters,returnContent:e.returnContent})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Fd(e){return(Fd="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})(e)}function Vd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hd(){return(Hd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Gd(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Yd(e,t){return(Yd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Gd(e){return(Gd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ud=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yd(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Gd(n),t=(e=r?(e=Gd(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Fd(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.ChartFeatureInfoSpecsService",e;throw new TypeError("Cannot call a class as a function")}return Vd((e=o).prototype,[{key:"destroy",value:function(){Hd(Gd(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"processAsync",value:function(){this.isTempLayers||D.urlPathAppend(this.url,"chartFeatureInfoSpecs"),this.request({method:"GET",params:null,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Qd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Qd((Zd=qd).prototype,[{key:"queryChart",value:function(e,t,n){n=this._processFormat(n);new zd(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).processAsync(e)}},{key:"getChartFeatureInfo",value:function(e){var t=D.urlPathAppend(this.url,"chartFeatureInfoSpecs");new Ud(t,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e}}).processAsync()}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}}]),Object.defineProperty(Zd,"prototype",{writable:!1});var Wd=qd;function qd(e,t){if(!(this instanceof qd))throw new TypeError("Cannot call a class as a function");this.url=e,this.options=t||{}}function Kd(e){return(Kd="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})(e)}function Xd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jd(e,t){return(Jd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $d(e){return($d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zd=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jd(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=$d(n),t=(e=r?(e=$d(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Kd(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._chartService=new Wd(e,t),n;throw new TypeError("Cannot call a class as a function")}return Xd((e=o).prototype,[{key:"queryChart",value:function(e,t,n){this._chartService.queryChart(e,t,n)}},{key:"getChartFeatureInfo",value:function(e){this._chartService.getChartFeatureInfo(e)}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ep(e){return(ep="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})(e)}function tp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function np(e,t){return(np=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function rp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ip(e){return(ip=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var op=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&np(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ip(n),t=(e=r?(e=ip(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===ep(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return rp(t)};function o(e,t){if(this instanceof o)return(t=t||{}).EVENT_TYPES=["broadcastSocketConnected","broadcastSocketClosed","broadcastSocketError","broadcastFailed","broadcastSucceeded","subscribeSocketConnected","subscribeSocketClosed","subscribeSocketError","messageSucceeded","setFilterParamSucceeded"],(e=i.call(this,e,t)).geometry=null,e.prjCoordSys=null,e.excludeField=null,D.extend(rp(e),t),e.CLASS_NAME="SuperMap.DataFlowService",e;throw new TypeError("Cannot call a class as a function")}return tp((e=o).prototype,[{key:"initBroadcast",value:function(){var t=this;return this.broadcastWebSocket=this._connect(D.urlPathAppend(t.url,"broadcast")),this.broadcastWebSocket.onopen=function(e){t.broadcastWebSocket.isOpen=!0,e.eventType="broadcastSocketConnected",t.events.triggerEvent("broadcastSocketConnected",e)},this.broadcastWebSocket.onclose=function(e){t.broadcastWebSocket&&(t.broadcastWebSocket.isOpen=!1),e.eventType="broadcastSocketClosed",t.events.triggerEvent("broadcastSocketClosed",e)},this.broadcastWebSocket.onerror=function(e){e.eventType="broadcastSocketError",t.events.triggerEvent("broadcastSocketError",e)},this}},{key:"broadcast",value:function(e){this.broadcastWebSocket&&this.broadcastWebSocket.isOpen?(this.broadcastWebSocket.send(JSON.stringify(e)),this.events.triggerEvent("broadcastSucceeded")):this.events.triggerEvent("broadcastFailed")}},{key:"initSubscribe",value:function(){var t=this;return this.subscribeWebSocket=this._connect(D.urlPathAppend(t.url,"subscribe")),this.subscribeWebSocket.onopen=function(e){t.subscribeWebSocket.send(t._getFilterParams()),e.eventType="subscribeSocketConnected",t.events.triggerEvent("subscribeSocketConnected",e)},this.subscribeWebSocket.onclose=function(e){e.eventType="subscribeWebSocketClosed",t.events.triggerEvent("subscribeWebSocketClosed",e)},this.subscribeWebSocket.onerror=function(e){e.eventType="subscribeSocketError",t.events.triggerEvent("subscribeSocketError",e)},this.subscribeWebSocket.onmessage=function(e){t._onMessage(e)},this}},{key:"setExcludeField",value:function(e){return this.excludeField=e,this.subscribeWebSocket.send(this._getFilterParams()),this}},{key:"setGeometry",value:function(e){return this.geometry=e,this.subscribeWebSocket.send(this._getFilterParams()),this}},{key:"unSubscribe",value:function(){this.subscribeWebSocket&&(this.subscribeWebSocket.close(),this.subscribeWebSocket=null)}},{key:"unBroadcast",value:function(){this.broadcastWebSocket&&(this.broadcastWebSocket.close(),this.broadcastWebSocket=null)}},{key:"destroy",value:function(){v.prototype.destroy.apply(this,arguments),this.geometry=null,this.prjCoordSys=null,this.excludeField=null,this.unBroadcast(),this.unSubscribe()}},{key:"_getFilterParams",value:function(){var e={filterParam:{prjCoordSys:this.prjCoordSys,excludeField:this.excludeField,geometry:this.geometry}};return D.toJSON(e)}},{key:"_onMessage",value:function(e){var t;e.data&&0<=e.data.indexOf("filterParam")?(t=JSON.parse(e.data),e.filterParam=t,e.eventType="setFilterParamSucceeded",this.events.triggerEvent("setFilterParamSucceeded",e)):(t=JSON.parse(e.data),e.featureResult=t,e.eventType="messageSucceeded",this.events.triggerEvent("messageSucceeded",e))}},{key:"_connect",value:function(e){return e=bf.appendCredential(e),"WebSocket"in window?new WebSocket(e):"MozWebSocket"in window?new window.MozWebSocket(e):(console.log("no WebSocket"),null)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ap(e){return(ap="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})(e)}function sp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lp(e,t){return(lp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function up(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cp(e){return(cp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fp=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lp(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=cp(n),t=(e=r?(e=cp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===ap(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return up(t)};function o(e,t){var n;if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");(t=t||{}).projection&&(t.prjCoordSys=t.projection),(n=i.call(this,e,t)).dataFlow=new op(e,t),n.dataFlow.events.on({broadcastSocketConnected:n._defaultEvent,broadcastSocketError:n._defaultEvent,broadcastFailed:n._defaultEvent,broadcastSucceeded:n._defaultEvent,subscribeSocketConnected:n._defaultEvent,subscribeSocketError:n._defaultEvent,messageSucceeded:n._defaultEvent,setFilterParamSucceeded:n._defaultEvent,scope:up(n)});var r=up(n);return r.on("subscribeSocketConnected",function(e){r.fire("subscribesucceeded",e)}),n}return sp((e=o).prototype,[{key:"initBroadcast",value:function(){return this.dataFlow.initBroadcast(),this}},{key:"broadcast",value:function(e){this.dataFlow.broadcast(e)}},{key:"initSubscribe",value:function(){return this.dataFlow.initSubscribe(),this}},{key:"setExcludeField",value:function(e){return this.dataFlow.setExcludeField(e),this.options.excludeField=e,this}},{key:"setGeometry",value:function(e){return this.dataFlow.setGeometry(e),this.options.geometry=e,this}},{key:"unSubscribe",value:function(){this.dataFlow.unSubscribe()}},{key:"unBroadcast",value:function(){this.dataFlow.unBroadcast()}},{key:"_defaultEvent",value:function(e){this.fire(e.eventType||e.type,e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function hp(e){return(hp="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})(e)}function dp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pp(){return(pp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=vp(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function yp(e,t){return(yp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function mp(e,t){if(t&&("object"===hp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return gp(e)}function gp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vp(e){return(vp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var bp=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yp(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=vp(n);return mp(this,r?(e=vp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))};function o(e,t){if(this instanceof o)return e=i.call(this,e,t),t?(e.datasource=null,e.dataset=null,e.eventCount=0,t&&D.extend(gp(e),t),e.CLASS_NAME="SuperMap.DatasetService",e):mp(e);throw new TypeError("Cannot call a class as a function")}return dp((e=o).prototype,[{key:"destroy",value:function(){pp(vp(o.prototype),"destroy",this).call(this),this.datasource=null,this.dataset=null}},{key:"getDatasetsService",value:function(e,t){e=D.urlPathAppend(this.url,"datasources/name/".concat(e,"/datasets"));this.processAsync(e,"GET",t)}},{key:"getDatasetService",value:function(e,t,n){e=D.urlPathAppend(this.url,"datasources/name/".concat(e,"/datasets/name/").concat(t));this.processAsync(e,"GET",n)}},{key:"setDatasetService",value:function(e,t){var n;e&&(n=D.urlPathAppend(this.url,"datasources/name/".concat(e.datasourceName,"/datasets/name/").concat(e.datasetName)),delete e.datasourceName,this.processAsync(n,"PUT",t,e))}},{key:"deleteDatasetService",value:function(e,t,n){e=D.urlPathAppend(this.url,"datasources/name/".concat(e,"/datasets/name/").concat(t));this.processAsync(e,"DELETE",n)}},{key:"processAsync",value:function(e,t,n,r){var i=++this.eventCount,o={scope:this,processCompleted:function(e){if(i===e.result.eventId&&n)return delete e.result.eventId,n(e),this.events&&this.events.un(o),!1},processFailed:function(e){if((i===e.error.eventId||i===e.eventId)&&n)return n(e),this.events&&this.events.un(o),!1}},a=(this.events.on(o),this),e={url:e,method:t,scope:a,success:function(e,t){e.eventId=i,a.serviceProcessCompleted(e,t)},failure:function(e,t){e.error&&(e.error.eventId=i),e.eventId=i,a.serviceProcessFailed(e,t)}};r&&(e.data=D.toJSON(r)),a.request(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function _p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}_p((kp=wp).prototype,[{key:"destroy",value:function(){this.datasourceName=null,this.datasetName=null,this.datasetType=null}}]),Object.defineProperty(kp,"prototype",{writable:!1});var xp=wp;function wp(e){if(!(this instanceof wp))throw new TypeError("Cannot call a class as a function");e&&(this.datasourceName=null,this.datasetName=null,this.datasetType=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.CreateDatasetParameters")}function Ap(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ap((kp=Cp).prototype,[{key:"destroy",value:function(){this.datasourceName=null,this.datasetName=null,this.isFileCache=null,this.prjCoordSys=null,this.charset=null,this.palette=null,this.noValue=null}}]),Object.defineProperty(kp,"prototype",{writable:!1});var Sp=Cp;function Cp(e){if(!(this instanceof Cp))throw new TypeError("Cannot call a class as a function");e&&(this.datasourceName=null,this.datasetName=null,this.isFileCache=null,this.description=null,this.prjCoordSys=null,this.charset=null,this.palette=null,this.noValue=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.UpdateDatasetParameters")}function Op(e){return(Op="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})(e)}function Ep(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mp(e,t){return(Mp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Pp(e){return(Pp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var kp=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mp(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Pp(n),t=(e=r?(e=Pp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Op(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t))._datasetService=new bp(e.url,{proxy:e.options.proxy,withCredentials:e.options.withCredentials,crossOrigin:e.options.crossOrigin,headers:e.options.headers}),e;throw new TypeError("Cannot call a class as a function")}return Ep((e=o).prototype,[{key:"getDatasets",value:function(e,t){e&&this._datasetService.getDatasetsService(e,t)}},{key:"getDataset",value:function(e,t,n){e&&t&&this._datasetService.getDatasetService(e,t,n)}},{key:"setDataset",value:function(e,t){var n;(e instanceof xp||e instanceof Sp)&&(e instanceof xp?n={datasetType:e.datasetType,datasetName:e.datasetName,datasourceName:e.datasourceName}:e instanceof Sp&&(n={datasetName:e.datasetName,datasourceName:e.datasourceName,isFileCache:e.isFileCache,description:e.description,prjCoordSys:e.prjCoordSys,charset:e.charset}),this._datasetService.setDatasetService(n,t))}},{key:"deleteDataset",value:function(e,t,n){this._datasetService.deleteDatasetService(e,t,n)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Tp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Tp((Up=Lp).prototype,[{key:"destroy",value:function(){this.datasourceName=null,this.description=null,this.coordUnit=null,this.distanceUnit=null}}]),Object.defineProperty(Up,"prototype",{writable:!1});var Ip=Lp;function Lp(e){if(!(this instanceof Lp))throw new TypeError("Cannot call a class as a function");e&&(this.datasourceName=null,this.description=null,this.coordUnit=null,this.distanceUnit=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.SetDatasourceParameters")}function jp(e){return(jp="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})(e)}function Dp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bp(){return(Bp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=zp(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Rp(e,t){return(Rp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Np(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zp(e){return(zp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Fp=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rp(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=zp(n),t=(e=r?(e=zp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===jp(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Np(t)};function o(e,t){if(this instanceof o)return e=i.call(this,e,t),t&&D.extend(Np(e),t),e.eventCount=0,e.CLASS_NAME="SuperMap.DatasourceService",e;throw new TypeError("Cannot call a class as a function")}return Dp((e=o).prototype,[{key:"destroy",value:function(){this.eventCount=0,Bp(zp(o.prototype),"destroy",this).call(this)}},{key:"getDatasourceService",value:function(e,t){e=D.urlPathAppend(this.url,"datasources/name/".concat(e));this.processAsync(e,"GET",t)}},{key:"getDatasourcesService",value:function(e){var t=D.urlPathAppend(this.url,"datasources");this.processAsync(t,"GET",e)}},{key:"setDatasourceService",value:function(e,t){var n;e&&(n=D.urlPathAppend(this.url,"datasources/name/".concat(e.datasourceName)),this.processAsync(n,"PUT",t,e))}},{key:"processAsync",value:function(e,t,n,r){var i=++this.eventCount,o={scope:this,processCompleted:function(e){if(i===e.result.eventId&&n)return delete e.result.eventId,n(e),this.events&&this.events.un(o),!1},processFailed:function(e){if((i===e.error.eventId||i===e.eventId)&&n)return n(e),this.events&&this.events.un(o),!1}},e=(this.events.on(o),{url:e,method:t,scope:this,success:function(e,t){e.eventId=i,this.serviceProcessCompleted(e,t)},failure:function(e,t){e.error&&(e.error.eventId=i),e.eventId=i,this.serviceProcessFailed(e,t)}});r&&(e.data=D.toJSON(r)),this.request(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Vp(e){return(Vp="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})(e)}function Hp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yp(e,t){return(Yp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Gp(e){return(Gp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Up=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yp(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Gp(n),t=(e=r?(e=Gp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Vp(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t))._datasourceService=new Fp(e.url,{proxy:e.proxy,withCredentials:e.withCredentials,crossOrigin:e.crossOrigin,headers:e.headers}),e;throw new TypeError("Cannot call a class as a function")}return Hp((e=o).prototype,[{key:"getDatasources",value:function(e){this._datasourceService.getDatasourcesService(e)}},{key:"getDatasource",value:function(e,t){e&&this._datasourceService.getDatasourceService(e,t)}},{key:"setDatasource",value:function(e,t){e instanceof Ip&&(e={description:e.description,coordUnit:e.coordUnit,distanceUnit:e.distanceUnit,datasourceName:e.datasourceName},this._datasourceService.setDatasourceService(e,t))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Qp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}cy=[{key:"toJsonParameters",value:function(e){var t,n;if(e.editType===nn.DELETE){if(null===e.IDs)return;n={ids:e.IDs}}else if(n=[],e.features)for(var r=e.features.length,i=0;i<r;i++)(t=e.features[i]).geometry=s.fromGeometry(t.geometry),n.push(t);return D.toJSON(n)}}],Qp((L1=qp).prototype,[{key:"destroy",value:function(){this.dataSourceName=null,this.dataSetName=null,this.features=null,this.editType=null,this.IDs=null,this.returnContent=null}}]),Qp(L1,cy),Object.defineProperty(L1,"prototype",{writable:!1});var Wp=qp;function qp(e){if(!(this instanceof qp))throw new TypeError("Cannot call a class as a function");this.dataSourceName=null,this.dataSetName=null,this.features=null,this.editType=nn.ADD,this.IDs=null,this.returnContent=!1,this.isUseBatch=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.EditFeaturesParameters"}function Kp(e){return(Kp="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})(e)}function Xp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jp(){return(Jp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=e0(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function $p(e,t){return($p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Zp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e0(e){return(e0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var t0=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$p(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=e0(n),t=(e=r?(e=e0(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Kp(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Zp(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).returnContent=!1,e.isUseBatch=!1,t&&D.extend(Zp(e),t),e.url=D.urlPathAppend(e.url,"features"),e.CLASS_NAME="SuperMap.EditFeaturesService",e;throw new TypeError("Cannot call a class as a function")}return Xp((e=o).prototype,[{key:"destroy",value:function(){Jp(e0(o.prototype),"destroy",this).call(this),this.returnContent=null,this.isUseBatch=null,this.fromIndex=null,this.toIndex=null}},{key:"processAsync",value:function(e){var t,n,r,i,o;e instanceof Wp&&(o="POST",n="",r=e.editType,i=null,(t=this).returnContent=e.returnContent,t.isUseBatch=e.isUseBatch,i=Wp.toJsonParameters(e),r===nn.DELETE?(i=n=D.toJSON(e.IDs),e=D.urlAppend(t.url,D.getParameterString({ids:n})),o=d.urlIsLong(e)?(t.url=D.urlAppend(t.url,D.getParameterString({_method:"DELETE"})),"POST"):(t.url=e,"DELETE")):r===nn.UPDATE?o="PUT":(t.isUseBatch&&(t.url=D.urlAppend(t.url,"isUseBatch=".concat(t.isUseBatch)),t.returnContent=!1),t.returnContent&&(t.url=D.urlAppend(t.url,"returnContent=true"),o="POST")),t.request({method:o,data:i,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function n0(e){return(n0="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})(e)}function r0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i0(){return(i0="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s0(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function o0(e,t){return(o0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a0(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s0(e){return(s0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l0=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o0(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=s0(n),t=(e=r?(e=s0(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===n0(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a0(t)};function o(e,t){if(this instanceof o)return e=i.call(this,e,t),t=t||{},e.returnContent=!0,e.fromIndex=0,e.toIndex=19,e.hasGeometry=!0,e.maxFeatures=null,e.format=a.GEOJSON,D.extend(a0(e),t),e.url=D.urlPathAppend(e.url,"featureResults"),e.CLASS_NAME="SuperMap.GetFeaturesServiceBase",e;throw new TypeError("Cannot call a class as a function")}return r0((e=o).prototype,[{key:"destroy",value:function(){i0(s0(o.prototype),"destroy",this).call(this);this.returnContent=null,this.fromIndex=null,this.toIndex=null,this.maxFeatures=null,this.format=null,this.hasGeometry=null}},{key:"processAsync",value:function(e){var t,n;e&&(n=!0,(t=this).returnContent=e.returnContent,t.fromIndex=e.fromIndex,t.toIndex=e.toIndex,t.maxFeatures=e.maxFeatures,t.hasGeometry=e.hasGeometry,t.returnContent&&(n=!1),null!=t.fromIndex&&null!=t.toIndex&&!isNaN(t.fromIndex)&&!isNaN(t.toIndex)&&0<=t.fromIndex&&0<=t.toIndex&&!n&&(t.url=D.urlAppend(t.url,"fromIndex=".concat(t.fromIndex,"&toIndex=").concat(t.toIndex))),e.returnCountOnly&&(t.url=D.urlAppend(t.url,"&returnCountOnly="+e.returnContent)),n=t.getJsonParameters(e),t.request({method:"POST",data:n,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed}))}},{key:"serviceProcessCompleted",value:function(e,t){var n;e=D.transformResult(e),this.format===a.GEOJSON&&e.features&&(n=new En,e.features=n.toGeoJSON(e.features)),this.events.triggerEvent("processCompleted",{result:e,options:t})}},{key:"dataFormat",value:function(){return[a.GEOJSON,a.ISERVER,a.FGB]}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function u0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}u0((cy=f0).prototype,[{key:"destroy",value:function(){var e=this;if(e.attributeFilter=null,e.name=null,e.joinItems){for(var t=0,n=e.joinItems,r=n.length;t<r;t++)n[t].destroy();e.joinItems=null}if(e.linkItems){for(var i=0,o=e.linkItems,a=o.length;i<a;i++)o[i].destroy();e.linkItems=null}e.ids=null,e.orderBy=null,e.groupBy=null,e.fields=null}}]),Object.defineProperty(cy,"prototype",{writable:!1});var c0=f0;function f0(e){if(!(this instanceof f0))throw new TypeError("Cannot call a class as a function");this.attributeFilter=null,this.name=null,this.joinItems=null,this.linkItems=null,this.ids=null,this.orderBy=null,this.groupBy=null,this.fields=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.FilterParameter"}function h0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}h0((L1=p0).prototype,[{key:"destroy",value:function(){var e=this;e.datasetNames=null,e.returnContent=null,e.fromIndex=null,e.toIndex=null,e.hasGeometry=null,e.maxFeatures=null,e.targetEpsgCode=null,e.targetPrj=null,e.aggregation&&(e.aggregation=null)}}]),Object.defineProperty(L1,"prototype",{writable:!1});var d0=p0;function p0(e){if(!(this instanceof p0))throw new TypeError("Cannot call a class as a function");this.datasetNames=null,this.targetEpsgCode=null,this.targetPrj=null,this.returnContent=!0,this.fromIndex=0,this.toIndex=19,this.returnCountOnly=!1,this.maxFeatures=null,this.hasGeometry=!0,this.aggregations=null,D.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesParametersBase"}function y0(e){return(y0="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})(e)}function m0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g0(){return(g0="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_0(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function v0(e,t){return(v0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b0(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _0(e){return(_0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x0=function(){var e=o,t=d0;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),v0(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=_0(n),t=(e=r?(e=_0(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===y0(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return b0(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).getFeatureMode="ID",t.IDs=null,t.fields=null,D.extend(b0(t),e),t.CLASS_NAME="SuperMap.GetFeaturesByIDsParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toJsonParameters",value:function(e){var t,n={datasetNames:e.datasetNames,getFeatureMode:"ID",ids:e.IDs};return e.fields&&((t=new c0).name=e.datasetNames,t.fields=e.fields,n.queryParameter=t),e.targetEpsgCode&&(n.targetEpsgCode=e.targetEpsgCode),"boolean"==typeof e.hasGeometry&&(n.hasGeometry=e.hasGeometry),!e.targetEpsgCode&&e.targetPrj&&(n.targetPrj=e.targetPrj),e.aggregations&&(n.aggregations=e.aggregations),D.toJSON(n)}}],m0((t=o).prototype,[{key:"destroy",value:function(){g0(_0(o.prototype),"destroy",this).call(this);if(this.IDs=null,this.getFeatureMode=null,this.fields){for(;0<this.fields.length;)this.fields.pop();this.fields=null}}}]),m0(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function w0(e){return(w0="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})(e)}function A0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S0(){return(S0="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=O0(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function C0(e,t){return(C0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function O0(e){return(O0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E0=function(){var e=o,t=l0;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C0(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=O0(n),t=(e=r?(e=O0(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==w0(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.GetFeaturesByIDsService",e;throw new TypeError("Cannot call a class as a function")}return A0((e=o).prototype,[{key:"destroy",value:function(){S0(O0(o.prototype),"destroy",this).call(this)}},{key:"getJsonParameters",value:function(e){return x0.toJsonParameters(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function M0(e){return(M0="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})(e)}function P0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k0(){return(k0="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=L0(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function T0(e,t){return(T0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function I0(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L0(e){return(L0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j0=function(){var e=o,t=d0;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),T0(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=L0(n),t=(e=r?(e=L0(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===M0(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return I0(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).getFeatureMode="SQL",t.queryParameter=null,D.extend(I0(t),e),t.CLASS_NAME="SuperMap.GetFeaturesBySQLParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toJsonParameters",value:function(e){var t={datasetNames:e.datasetNames,getFeatureMode:"SQL",queryParameter:e.queryParameter};return e.maxFeatures&&!isNaN(e.maxFeatures)&&(t.maxFeatures=e.maxFeatures),"boolean"==typeof e.hasGeometry&&(t.hasGeometry=e.hasGeometry),e.aggregations&&(t.aggregations=e.aggregations),e.targetEpsgCode&&(t.targetEpsgCode=e.targetEpsgCode),!e.targetEpsgCode&&e.targetPrj&&(t.targetPrj=e.targetPrj),e.aggregations&&(t.aggregations=e.aggregations),D.toJSON(t)}}],P0((t=o).prototype,[{key:"destroy",value:function(){k0(L0(o.prototype),"destroy",this).call(this),this.getFeatureMode=null,this.queryParameter&&(this.queryParameter.destroy(),this.queryParameter=null)}}]),P0(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function D0(e){return(D0="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})(e)}function B0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R0(){return(R0="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=z0(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function N0(e,t){return(N0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function z0(e){return(z0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F0=function(){var e=o,t=l0;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N0(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=z0(n),t=(e=r?(e=z0(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==D0(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.GetFeaturesBySQLService",e;throw new TypeError("Cannot call a class as a function")}return B0((e=o).prototype,[{key:"destroy",value:function(){R0(z0(o.prototype),"destroy",this).call(this)}},{key:"getJsonParameters",value:function(e){return j0.toJsonParameters(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function V0(e){return(V0="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})(e)}function H0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Y0(){return(Y0="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Q0(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function G0(e,t){return(G0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function U0(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q0(e){return(Q0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W0=function(){var e=o,t=d0;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),G0(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Q0(n),t=(e=r?(e=Q0(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===V0(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return U0(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).getFeatureMode=o.getFeatureMode.BOUNDS,t.bounds=null,t.fields=null,t.attributeFilter=null,t.spatialQueryMode=Bt.CONTAIN,D.extend(U0(t),e),t.CLASS_NAME="SuperMap.GetFeaturesByBoundsParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toJsonParameters",value:function(e){var t,n={leftBottom:{x:e.bounds.left,y:e.bounds.bottom},rightTop:{x:e.bounds.right,y:e.bounds.top}},n={datasetNames:e.datasetNames,getFeatureMode:o.getFeatureMode.BOUNDS,bounds:n,spatialQueryMode:e.spatialQueryMode};return e.fields&&((t=new c0).name=e.datasetNames,t.fields=e.fields,n.queryParameter=t),e.attributeFilter&&(n.attributeFilter=e.attributeFilter,n.getFeatureMode=o.getFeatureMode.BOUNDS_ATTRIBUTEFILTER),e.maxFeatures&&!isNaN(e.maxFeatures)&&(n.maxFeatures=e.maxFeatures),"boolean"==typeof e.hasGeometry&&(n.hasGeometry=e.hasGeometry),e.targetEpsgCode&&(n.targetEpsgCode=e.targetEpsgCode),!e.targetEpsgCode&&e.targetPrj&&(n.targetPrj=e.targetPrj),e.aggregations&&(n.aggregations=e.aggregations),D.toJSON(n)}}],H0((t=o).prototype,[{key:"destroy",value:function(){Y0(Q0(o.prototype),"destroy",this).call(this);var e=this;if(e.bounds&&(e.bounds.destroy(),e.bounds=null),e.fields){for(;0<e.fields.length;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}}]),H0(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function q0(e){return(q0="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})(e)}function K0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X0(){return(X0="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$0(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function J0(e,t){return(J0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $0(e){return($0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}W0.getFeatureMode={BOUNDS:"BOUNDS",BOUNDS_ATTRIBUTEFILTER:"BOUNDS_ATTRIBUTEFILTER"};var Z0=function(){var e=o,t=l0;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&J0(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=$0(n),t=(e=r?(e=$0(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==q0(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.GetFeaturesByBoundsService",e;throw new TypeError("Cannot call a class as a function")}return K0((e=o).prototype,[{key:"destroy",value:function(){X0($0(o.prototype),"destroy",this).call(this)}},{key:"getJsonParameters",value:function(e){return W0.toJsonParameters(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function e1(e){return(e1="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})(e)}function t1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n1(){return(n1="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o1(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function r1(e,t){return(r1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i1(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o1(e){return(o1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var a1=function(){var e=o,t=d0;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r1(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=o1(n),t=(e=r?(e=o1(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===e1(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return i1(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).bufferDistance=null,t.attributeFilter=null,t.geometry=null,t.fields=null,D.extend(i1(t),e),t.CLASS_NAME="SuperMap.GetFeaturesByBufferParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toJsonParameters",value:function(e){var t,n=s.fromGeometry(e.geometry),n={datasetNames:e.datasetNames,getFeatureMode:"BUFFER",bufferDistance:e.bufferDistance,geometry:n};return e.fields&&((t=new c0).name=e.datasetNames,t.fields=e.fields,n.queryParameter=t),e.attributeFilter&&(n.attributeFilter=e.attributeFilter,n.getFeatureMode="BUFFER_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(n.maxFeatures=e.maxFeatures),"boolean"==typeof e.hasGeometry&&(n.hasGeometry=e.hasGeometry),e.targetEpsgCode&&(n.targetEpsgCode=e.targetEpsgCode),!e.targetEpsgCode&&e.targetPrj&&(n.targetPrj=e.targetPrj),D.toJSON(n)}}],t1((t=o).prototype,[{key:"destroy",value:function(){n1(o1(o.prototype),"destroy",this).call(this);if(this.bufferDistance=null,this.attributeFilter=null,this.fields){for(;0<this.fields.length;)this.fields.pop();this.fields=null}this.geometry&&(this.geometry.destroy(),this.geometry=null)}}]),t1(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function s1(e){return(s1="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})(e)}function l1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u1(){return(u1="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f1(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function c1(e,t){return(c1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f1(e){return(f1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h1=function(){var e=o,t=l0;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c1(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=f1(n),t=(e=r?(e=f1(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==s1(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.GetFeaturesByBufferService",e;throw new TypeError("Cannot call a class as a function")}return l1((e=o).prototype,[{key:"destroy",value:function(){u1(f1(o.prototype),"destroy",this).call(this)}},{key:"getJsonParameters",value:function(e){if(e instanceof a1)return a1.toJsonParameters(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function d1(e){return(d1="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})(e)}function p1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y1(){return(y1="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v1(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function m1(e,t){return(m1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g1(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v1(e){return(v1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b1=function(){var e=o,t=d0;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),m1(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=v1(n),t=(e=r?(e=v1(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===d1(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return g1(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).getFeatureMode="SPATIAL",t.geometry=null,t.fields=null,t.attributeFilter=null,t.spatialQueryMode=Bt.CONTAIN,D.extend(g1(t),e),t.CLASS_NAME="SuperMap.GetFeaturesByGeometryParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toJsonParameters",value:function(e){var t,n=s.fromGeometry(e.geometry),n={datasetNames:e.datasetNames,getFeatureMode:"SPATIAL",geometry:n,spatialQueryMode:e.spatialQueryMode};return e.fields&&((t=new c0).name=e.datasetNames,t.fields=e.fields,n.queryParameter=t),e.attributeFilter&&(n.attributeFilter=e.attributeFilter,n.getFeatureMode="SPATIAL_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(n.maxFeatures=e.maxFeatures),"boolean"==typeof e.hasGeometry&&(n.hasGeometry=e.hasGeometry),e.targetEpsgCode&&(n.targetEpsgCode=e.targetEpsgCode),!e.targetEpsgCode&&e.targetPrj&&(n.targetPrj=e.targetPrj),e.aggregations&&(n.aggregations=e.aggregations),D.toJSON(n)}}],p1((t=o).prototype,[{key:"destroy",value:function(){y1(v1(o.prototype),"destroy",this).call(this);var e=this;if(e.geometry&&(e.geometry.destroy(),e.geometry=null),e.fields){for(;0<e.fields.length;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}}]),p1(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function _1(e){return(_1="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})(e)}function x1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w1(){return(w1="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=S1(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function A1(e,t){return(A1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function S1(e){return(S1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C1=function(){var e=o,t=l0;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&A1(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=S1(n),t=(e=r?(e=S1(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==_1(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.GetFeaturesByGeometryService",e;throw new TypeError("Cannot call a class as a function")}return x1((e=o).prototype,[{key:"destroy",value:function(){w1(S1(o.prototype),"destroy",this).call(this)}},{key:"getJsonParameters",value:function(e){return b1.toJsonParameters(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function O1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O1((cy=M1).prototype,[{key:"getFeaturesByIDs",value:function(e,t,n){new E0(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:t,processFailed:t},format:n}).processAsync(e)}},{key:"getFeaturesByBounds",value:function(e,t,n){new Z0(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"getFeaturesByBuffer",value:function(e,t,n){new h1(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"getFeaturesBySQL",value:function(e,t,n){new F0(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"getFeaturesByGeometry",value:function(e,t,n){new C1(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"editFeatures",value:function(e,t){var n,r,i;e&&e.dataSourceName&&e.dataSetName&&(i=this.url,n=e.dataSourceName,r=e.dataSetName,i=D.urlPathAppend(i,"datasources/"+n+"/datasets/"+r),new t0(i,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:t,processFailed:t}}).processAsync(e))}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}}]),Object.defineProperty(cy,"prototype",{writable:!1});var E1=M1;function M1(e,t){if(!(this instanceof M1))throw new TypeError("Cannot call a class as a function");this.url=e,this.options=t||{}}function P1(e){return(P1="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})(e)}function k1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T1(e,t){return(T1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function I1(e){return(I1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var L1=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T1(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=I1(n),t=(e=r?(e=I1(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==P1(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._featureService=new E1(e,t),n;throw new TypeError("Cannot call a class as a function")}return k1((e=o).prototype,[{key:"getFeaturesByIDs",value:function(e,t,n){e=this._processParams(e),this._featureService.getFeaturesByIDs(e,t,n)}},{key:"getFeaturesByBounds",value:function(e,t,n){e=this._processParams(e),this._featureService.getFeaturesByBounds(e,t,n)}},{key:"getFeaturesByBuffer",value:function(e,t,n){e=this._processParams(e),this._featureService.getFeaturesByBuffer(e,t,n)}},{key:"getFeaturesBySQL",value:function(e,t,n){e=this._processParams(e),this._featureService.getFeaturesBySQL(e,t,n)}},{key:"getFeaturesByGeometry",value:function(e,t,n){e=this._processParams(e),this._featureService.getFeaturesByGeometry(e,t,n)}},{key:"editFeatures",value:function(e,t){var n,r,i;e&&e.dataSourceName&&e.dataSetName&&(i=this.url,n=e.dataSourceName,r=e.dataSetName,i=D.urlPathAppend(i,"datasources/"+n+"/datasets/"+r),new t0(i,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:t,processFailed:t}}).processAsync(this._processParams(e)))}},{key:"_processParams",value:function(e){var t,n;return e?(t=this,e.returnContent=null==e.returnContent||e.returnContent,e.fromIndex=e.fromIndex||0,e.toIndex=0===e.toIndex?0:e.toIndex||-1,e.bounds&&(e.bounds=x.toSuperMapBounds(e.bounds)),e.editType&&(e.editType=e.editType.toLowerCase()),e.geometry&&(e.geometry instanceof u().LngLatBounds?(e.geometry=x.toSuperMapPolygon(e.geometry),e.geometry.SRID=4326):e.geometry instanceof u().Point?e.geometry=new P(e.geometry.x,e.geometry.y):e.geometry instanceof u().LngLat?(e.geometry=new P(e.geometry.lng,e.geometry.lat),e.geometry.SRID=4326):e.geometry instanceof J||(e.geometry=x.toSuperMapGeometry(e.geometry))),e.features&&(n=[],x.isArray(e.features)?e.features.map(function(e){return n.push(t._createServerFeature(e)),n}):n.push(t._createServerFeature(e.features)),e.features=n),e):{}}},{key:"_createServerFeature",value:function(e){var t,n={},r=[],i=[],o=e.properties;for(t in o)r.push(t),i.push(o[t]);return n.fieldNames=r,n.fieldValues=i,e.id&&(n.id=e.id),n.geometry=x.toSuperMapGeometry(e),n}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function j1(e){return(j1="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})(e)}function D1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B1(){return(B1="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=z1(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function R1(e,t){return(R1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function N1(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z1(e){return(z1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F1=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R1(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=z1(n),t=(e=r?(e=z1(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===j1(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return N1(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).datasource=null,e.dataset=null,t&&D.extend(N1(e),t),e.CLASS_NAME="SuperMap.GetFieldsService",e;throw new TypeError("Cannot call a class as a function")}return D1((e=o).prototype,[{key:"destroy",value:function(){B1(z1(o.prototype),"destroy",this).call(this),this.datasource=null,this.dataset=null}},{key:"processAsync",value:function(){this.url=D.urlPathAppend(this.url,"datasources/".concat(this.datasource,"/datasets/").concat(this.dataset,"/fields")),this.request({method:"GET",data:null,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function V1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}V1((cy=Y1).prototype,[{key:"destroy",value:function(){this.datasource=null,this.dataset=null}}]),Object.defineProperty(cy,"prototype",{writable:!1});var H1=Y1;function Y1(e){if(!(this instanceof Y1))throw new TypeError("Cannot call a class as a function");this.datasource=null,this.dataset=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.FieldParameters"}function G1(e){return(G1="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})(e)}function U1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q1(e,t){return(Q1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function W1(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q1(e){return(q1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K1=function(){var e=o,t=H1;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Q1(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=q1(n),t=(e=r?(e=q1(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===G1(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return W1(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).fieldName=null,t.statisticMode=null,e&&D.extend(W1(t),e),t.CLASS_NAME="SuperMap.FieldStatisticsParameters",t;throw new TypeError("Cannot call a class as a function")}return U1((e=o).prototype,[{key:"destroy",value:function(){this.fieldName=null,this.statisticMode=null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function X1(e){return(X1="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})(e)}function J1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $1(){return($1="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ty(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Z1(e,t){return(Z1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ey(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ty(e){return(ty=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ny=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Z1(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ty(n),t=(e=r?(e=ty(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===X1(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ey(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).datasource=null,e.dataset=null,e.field=null,e.statisticMode=null,t&&D.extend(ey(e),t),e.CLASS_NAME="SuperMap.FieldStatisticService",e;throw new TypeError("Cannot call a class as a function")}return J1((e=o).prototype,[{key:"destroy",value:function(){$1(ty(o.prototype),"destroy",this).call(this),this.datasource=null,this.dataset=null,this.field=null,this.statisticMode=null}},{key:"processAsync",value:function(){var e=this,t="datasources/"+e.datasource+"/datasets/"+e.dataset+"/fields/"+e.field+"/"+e.statisticMode;e.url=D.urlPathAppend(e.url,t),e.request({method:"GET",data:null,scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ry(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}ry((cy=oy).prototype,[{key:"getFields",value:function(e,t){new F1(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},datasource:e.datasource,dataset:e.dataset}).processAsync()}},{key:"getFieldStatisticsInfo",value:function(t,e){var n,r,i;t instanceof K1&&(n=this,r=t.fieldName,(i=t.statisticMode)&&!Array.isArray(i)&&(i=[i]),n.currentStatisticResult={fieldName:r},n._statisticsCallback=e,i.forEach(function(e){n.currentStatisticResult[e]=null,n._fieldStatisticRequest(t.datasource,t.dataset,r,e)}))}},{key:"_fieldStatisticRequest",value:function(e,t,n,r){new ny(this.url,{eventListeners:{scope:this,processCompleted:this._processCompleted.bind(this),processFailed:this._statisticsCallback},datasource:e,dataset:t,field:n,statisticMode:r,crossOrigin:this.options.crossOrigin,headers:this.options.headers}).processAsync()}},{key:"_processCompleted",value:function(e,t){var n,r=!0,e=e.result;for(n in this.currentStatisticResult&&null==this.currentStatisticResult[e.mode]&&(this.currentStatisticResult[e.mode]=e.result),this.currentStatisticResult)if(null==this.currentStatisticResult[n]){r=!1;break}r&&this._statisticsCallback({result:this.currentStatisticResult,options:t})}}]),Object.defineProperty(cy,"prototype",{writable:!1});var iy=oy;function oy(e,t){if(!(this instanceof oy))throw new TypeError("Cannot call a class as a function");this.url=e,this.options=t||{}}function ay(e){return(ay="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})(e)}function sy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ly(e,t){return(ly=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function uy(e){return(uy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var cy=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ly(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=uy(n),t=(e=r?(e=uy(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==ay(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._fieldService=new iy(e,t),n;throw new TypeError("Cannot call a class as a function")}return sy((e=o).prototype,[{key:"getFields",value:function(e,t){this._fieldService.getFields(e,t)}},{key:"getFieldStatisticsInfo",value:function(e,t){this._fieldService.getFieldStatisticsInfo(e,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function fy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}fy((Cy=dy).prototype,[{key:"destroy",value:function(){this.datasetName=null,this.dataSourceName=null,this.X=null,this.Y=null}}]),Object.defineProperty(Cy,"prototype",{writable:!1});var hy=dy;function dy(e){if(!(this instanceof dy))throw new TypeError("Cannot call a class as a function");this.datasetName=null,this.dataSourceName=null,this.X=null,this.Y=null,D.extend(this,e),this.CLASS_NAME="SuperMap.GetGridCellInfosParameters"}function py(e){return(py="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})(e)}function yy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function my(){return(my="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=by(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function gy(e,t){return(gy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function vy(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function by(e){return(by=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _y=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gy(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=by(n),t=(e=r?(e=by(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===py(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return vy(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).datasetName=null,e.dataSourceName=null,e.datasetType=null,e.X=null,e.Y=null,t&&D.extend(vy(e),t),e.eventCount=0,e.CLASS_NAME="SuperMap.GetGridCellInfosService",e;throw new TypeError("Cannot call a class as a function")}return yy((e=o).prototype,[{key:"destroy",value:function(){my(by(o.prototype),"destroy",this).call(this);this.X=null,this.Y=null,this.datasetName=null,this.dataSourceName=null,this.datasetType=null}},{key:"processAsync",value:function(e,t){e instanceof hy&&(D.extend(this,e),this.url=D.urlPathAppend(this.url,"datasources/".concat(this.dataSourceName,"/datasets/").concat(this.datasetName)),this.queryRequest(this.getDatasetInfoCompleted.bind(this),this.getDatasetInfoFailed.bind(this),t))}},{key:"queryRequest",value:function(n,r,i){var o=++this.eventCount,t={scope:this,processCompleted:function(e){if(o===e.result.eventId&&i)return delete e.result.eventId,i(e),this.events&&this.events.un(t),!1},processFailed:function(e){if((o===e.error.eventId||o===e.eventId)&&i)return i(e),this.events&&this.events.un(t),!1}};this.events.on(t),this.request({method:"GET",data:null,scope:this,success:function(e,t){e.eventId=o,n(e,t,i)},failure:function(e,t){e.error&&(e.error.eventId=o),e.eventId=o,r(e,t)}})}},{key:"getDatasetInfoCompleted",value:function(e,t,n){e=D.transformResult(e),this.datasetType=e.datasetInfo.type,this.queryGridInfos(n)}},{key:"queryGridInfos",value:function(e){var t=this;t.url=D.urlPathAppend(t.url,"GRID"==t.datasetType?"gridValue":"imageValue"),null!=t.X&&null!=t.Y&&(t.url=D.urlAppend(t.url,"x=".concat(t.X,"&y=").concat(t.Y))),t.queryRequest(t.serviceProcessCompleted.bind(t),t.serviceProcessFailed.bind(t),e)}},{key:"getDatasetInfoFailed",value:function(e,t){this.serviceProcessFailed(e,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function xy(e){return(xy="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})(e)}function wy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ay(e,t){return(Ay=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Sy(e){return(Sy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Cy=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ay(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Sy(n),t=(e=r?(e=Sy(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==xy(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t))._gridCellQueryService=new _y(e.url,{proxy:e.options.proxy,withCredentials:e.options.withCredentials,crossOrigin:e.options.crossOrigin,headers:e.options.headers}),e;throw new TypeError("Cannot call a class as a function")}return wy((e=o).prototype,[{key:"getGridCellInfos",value:function(e,t){if(!e)return null;this._gridCellQueryService.processAsync(e,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Oy(e){return(Oy="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})(e)}function Ey(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function My(e,t){return(My=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Py(e){return(Py=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ky=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&My(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Py(n),t=(e=r?(e=Py(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Oy(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(t=t||{}).EVENT_TYPES=["processCompleted","processFailed","processRunning"],(e=i.call(this,e,t)).CLASS_NAME="SuperMap.GeoprocessingService",e.headers={},e.crossOrigin=!0,e.eventCount=0,e;throw new TypeError("Cannot call a class as a function")}return Ey((e=o).prototype,[{key:"getTools",value:function(e){this._processAsync({url:"".concat(this.url,"/list"),callback:e})}},{key:"getTool",value:function(e,t){this._processAsync({url:"".concat(this.url,"/").concat(e),callback:t})}},{key:"execute",value:function(e,t,n,r){t={parameter:t=t||null,environment:n=n||null};this._processAsync({url:"".concat(this.url,"/").concat(e,"/execute"),executeParamter:t,callback:r})}},{key:"submitJob",value:function(e,t,n,r){t=t||null,n=n||null;t=JSON.stringify({parameter:t,environments:n});this._processAsync({url:"".concat(this.url,"/").concat(e,"/jobs"),method:"POST",callback:r,params:t})}},{key:"waitForJobCompletion",value:function(e,t,n,r){var i=this,o=setInterval(function(){i._processAsync({url:"".concat(i.url,"/").concat(t,"/jobs/").concat(e),serviceProcessCompleted:function(e,t){var n=e.state.runState;switch(t.statusCallback&&t.statusCallback(n),n){case"FINISHED":clearInterval(o),i.events.triggerEvent("processCompleted",{result:e,options:t});break;case"FAILED":case"CANCELED":clearInterval(o),i.events.triggerEvent("processFailed",{result:e,options:t})}},callback:r})},n.interval)}},{key:"getJobInfo",value:function(e,t,n){this._processAsync({url:"".concat(this.url,"/").concat(e,"/jobs/").concat(t),callback:n})}},{key:"cancelJob",value:function(e,t,n){this._processAsync({url:"".concat(this.url,"/").concat(e,"/jobs/").concat(t,"/cancel"),callback:n})}},{key:"getJobs",value:function(e,t){var n="".concat(this.url,"/jobs");e&&(n="".concat(this.url,"/").concat(e,"/jobs")),this._processAsync({url:n,callback:t})}},{key:"getResults",value:function(e,t,n,r){e="".concat(this.url,"/").concat(e,"/jobs/").concat(t,"/results");n&&(e="".concat(e,"/").concat(n)),this._processAsync({url:e,callback:r})}},{key:"_processAsync",value:function(e){var t=e.url,n=e.method,r=e.callback,i=e.paramter,o=e.serviceProcessCompleted,a=e.serviceProcessFailed,s=++this.eventCount,l={scope:this,processCompleted:function(e){if(s===e.result.eventId&&r)return delete e.result.eventId,r(e),this.events&&this.events.un(l),!1},processFailed:function(e){if((s===e.error.eventId||s===e.eventId)&&r)return r(e),this.events&&this.events.un(l),!1}};this.events.on(l),this.request({url:t,method:n||"GET",params:i,headers:{"Content-type":"application/json"},scope:this,success:function(e,t){e.eventId=s,(o||this.serviceProcessCompleted.bind(this))(e,t)},failure:function(e,t){e.error&&(e.error.eventId=s),e.eventId=s,(a||this.serviceProcessFailed.bind(this))(e,t)}})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Ty(e){return(Ty="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})(e)}function Iy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ly(e,t){return(Ly=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function jy(e){return(jy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Dy=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ly(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=jy(n),t=(e=r?(e=jy(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Ty(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).headers={},e.crossOrigin=!0,e.withCredentials=!0,e.proxy=!0,e._geoprocessingJobsService=new ky(e.url,{proxy:e.options.proxy,withCredentials:e.options.withCredentials,crossOrigin:e.options.crossOrigin,headers:e.options.headers}),e;throw new TypeError("Cannot call a class as a function")}return Iy((e=o).prototype,[{key:"getTools",value:function(e){this._geoprocessingJobsService.getTools(e)}},{key:"getTool",value:function(e,t){this._geoprocessingJobsService.getTool(e,t)}},{key:"execute",value:function(e,t,n,r){this._geoprocessingJobsService.execute(e,t,n,r)}},{key:"submitJob",value:function(e,t,n,r){this._geoprocessingJobsService.submitJob(e,t,n,r)}},{key:"waitForJobCompletion",value:function(e,t,n,r){this._geoprocessingJobsService.waitForJobCompletion(e,t,n,r)}},{key:"getJobInfo",value:function(e,t,n){this._geoprocessingJobsService.getJobInfo(e,t,n)}},{key:"cancelJob",value:function(e,t,n){this._geoprocessingJobsService.cancelJob(e,t,n)}},{key:"getJobs",value:function(e,t){this._geoprocessingJobsService.getJobs(e,t)}},{key:"getResults",value:function(e,t,n,r){this._geoprocessingJobsService.getResults(e,t,n,r)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function By(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}By((b=Ny).prototype,[{key:"destroy",value:function(){this.memoryData&&(this.memoryData.destroy(),this.memoryData=null),this.type=null}},{key:"toServerJSONObject",value:function(){}}]),Object.defineProperty(b,"prototype",{writable:!1});var Ry=Ny;function Ny(e,t){if(!(this instanceof Ny))throw new TypeError("Cannot call a class as a function");if(!e)return this;this.memoryData=null,this.type=e,t&&D.extend(this,t),this.CLASS_NAME="SuperMap.Theme"}function zy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t=new Vy(e);return D.copy(t,e),t.backColor=l.fromJson(e.backColor),t.foreColor=l.fromJson(e.foreColor),t}}],zy((_=Vy).prototype,[{key:"destroy",value:function(){var e=this;e.align=null,e.backColor&&(e.backColor.destroy(),e.backColor=null),e.foreColor&&(e.foreColor.destroy(),e.foreColor=null),e.backOpaque=null,e.sizeFixed=null,e.fontHeight=null,e.fontWidth=null,e.fontWeight=null,e.fontName=null,e.bold=null,e.italic=null,e.italicAngle=null,e.shadow=null,e.strikeout=null,e.outline=null,e.opaqueRate=null,e.underline=null,e.rotation=null}}]),zy(_,b),Object.defineProperty(_,"prototype",{writable:!1});var Fy=Vy;function Vy(e){if(!(this instanceof Vy))throw new TypeError("Cannot call a class as a function");this.align=Qt.BASELINECENTER,this.backColor=new l(255,255,255),this.foreColor=new l(0,0,0),this.backOpaque=!1,this.sizeFixed=!0,this.fontHeight=6,this.fontWidth=0,this.fontWeight=400,this.fontName="Times New Roman",this.bold=!1,this.italic=!1,this.italicAngle=0,this.shadow=!1,this.strikeout=!1,this.outline=!1,this.opaqueRate=0,this.underline=!1,this.rotation=0,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ServerTextStyle"}function Hy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t;if(e)return t=new Gy,D.copy(t,e),t}}],Hy((_=Gy).prototype,[{key:"destroy",value:function(){this.caption=null,this.end=null,this.start=null,this.style&&(this.style.destroy(),this.style=null),this.visible=null}}]),Hy(_,b),Object.defineProperty(_,"prototype",{writable:!1});var Yy=Gy;function Gy(e){if(!(this instanceof Gy))throw new TypeError("Cannot call a class as a function");this.caption=null,this.end=0,this.start=0,this.visible=!0,this.style=new Fy,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeLabelItem"}function Uy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t=new Wy;return D.copy(t,e),t.style=c.fromJson(e.style),t}}],Uy((_=Wy).prototype,[{key:"destroy",value:function(){this.caption=null,this.unique=null,this.style&&(this.style.destroy(),this.style=null),this.visible=null}},{key:"toServerJSONObject",value:function(){var e={};return(e=D.copyAttributes(e,this)).style&&e.style.toServerJSONObject&&(e.style=e.style.toServerJSONObject()),e}}]),Uy(_,b),Object.defineProperty(_,"prototype",{writable:!1});var Qy=Wy;function Wy(e){if(!(this instanceof Wy))throw new TypeError("Cannot call a class as a function");this.caption=null,this.style=new c,this.unique=null,this.visible=!0,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeUniqueItem"}function qy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t;if(e)return t=new Xy,D.copy(t,e),t}}],qy((_=Xy).prototype,[{key:"destroy",value:function(){this.offsetFixed=null,this.offsetX=null,this.offsetY=null}}]),qy(_,b),Object.defineProperty(_,"prototype",{writable:!1});var Ky=Xy;function Xy(e){if(!(this instanceof Xy))throw new TypeError("Cannot call a class as a function");this.offsetFixed=!1,this.offsetX="0.0",this.offsetY="0.0",e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeOffset"}function Jy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){if(e){var t=new Zy,n=e.styles;if(D.copy(t,e),t.defaultStyle=new Fy(e.defaultStyle),n){t.styles=[];for(var r=0,i=n.length;r<i;r++)t.styles.push(new Fy(n[r]))}return t}}}],Jy((_=Zy).prototype,[{key:"destroy",value:function(){var e=this;if(e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null),e.separator=null,e.separatorEnabled=null,e.splitIndexes&&(e.splitIndexes=null),e.styles){for(var t=0,n=e.styles,r=n.length;t<r;t++)n[t].destroy();e.styles=null}}}]),Jy(_,b),Object.defineProperty(_,"prototype",{writable:!1});var $y=Zy;function Zy(e){if(!(this instanceof Zy))throw new TypeError("Cannot call a class as a function");this.defaultStyle=null,this.separator=null,this.separatorEnabled=!1,this.splitIndexes=null,this.styles=new Fy,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.LabelMixedTextStyle"}function em(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t;if(e)return t=new nm,D.copy(t,e),t.uniformStyle=Fy.fromObj(e.uniformStyle),t.uniformMixedStyle=$y.fromObj(e.uniformMixedStyle),t}}],em((_=nm).prototype,[{key:"destroy",value:function(){var e=this;e.maxTextHeight=null,e.maxTextWidth=null,e.minTextHeight=null,e.minTextWidth=null,e.uniformStyle&&(e.uniformStyle.destroy(),e.uniformStyle=null),e.uniformMixedStyle&&(e.uniformMixedStyle.destroy(),e.uniformMixedStyle=null)}}]),em(_,b),Object.defineProperty(_,"prototype",{writable:!1});var tm=nm;function nm(e){if(!(this instanceof nm))throw new TypeError("Cannot call a class as a function");this.maxTextHeight=0,this.maxTextWidth=0,this.minTextHeight=0,this.minTextWidth=0,this.uniformStyle=new Fy,this.uniformMixedStyle=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeLabelText"}function rm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t;if(e)return t=new om,D.copy(t,e),t}}],rm((_=om).prototype,[{key:"destroy",value:function(){this.isAlongLine=null,this.alongLineDirection=null,this.angleFixed=null,this.repeatedLabelAvoided=null,this.repeatIntervalFixed=null,this.labelRepeatInterval=null}}]),rm(_,b),Object.defineProperty(_,"prototype",{writable:!1});var im=om;function om(e){if(!(this instanceof om))throw new TypeError("Cannot call a class as a function");this.isAlongLine=!0,this.alongLineDirection=Wt.LB_TO_RT,this.angleFixed=!1,this.repeatedLabelAvoided=!1,this.repeatIntervalFixed=!1,this.labelRepeatInterval=0,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeLabelAlongLine"}function am(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t;if(e)return(t=new lm).labelBackShape=e.labelBackShape,t.backStyle=c.fromJson(e.backStyle),t}}],am((_=lm).prototype,[{key:"destroy",value:function(){this.labelBackShape=null,this.backStyle&&(this.backStyle.destroy(),this.backStyle=null)}}]),am(_,b),Object.defineProperty(_,"prototype",{writable:!1});var sm=lm;function lm(e){if(!(this instanceof lm))throw new TypeError("Cannot call a class as a function");this.labelBackShape=qt.NONE,this.backStyle=new c,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeLabelBackground"}function um(e){return(um="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})(e)}function cm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fm(){return(fm="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=pm(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function hm(e,t){return(hm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function dm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pm(e){return(pm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ym=function(){var e=f,t=Ry;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),hm(e,t);n=f,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=pm(n),t=(e=r?(e=pm(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===um(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return dm(t)};function f(e){var t;if(this instanceof f)return(t=i.call(this,"LABEL",e)).alongLine=new im,t.background=new sm,t.items=null,t.uniqueItems=null,t.labelExpression=null,t.labelOverLengthMode=Kt.NONE,t.matrixCells=null,t.maxLabelLength=256,t.numericPrecision=0,t.offset=new Ky,t.overlapAvoided=!0,t.rangeExpression=null,t.uniqueExpression=null,t.smallGeometryLabeled=!1,t.text=new tm,t.textSpace=0,e&&D.extend(dm(t),e),t.CLASS_NAME="SuperMap.ThemeLabel",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"fromObj",value:function(e){if(e){var t=new f,n=e.items,r=e.uniqueItems,i=e.matrixCells;if(e.matrixCells=null,D.copy(t,e),t.alongLine=im.fromObj(e),t.background=sm.fromObj(e),n){t.items=[];for(var o=0,a=n.length;o<a;o++)t.items.push(Yy.fromObj(n[o]))}if(r){t.uniqueItems=[];for(var s=0,l=r.length;s<l;s++)t.uniqueItems.push(Qy.fromObj(r[s]))}if(i){t.matrixCells=[];for(var u=0,c=i.length;u<c;u++);}return t.offset=Ky.fromObj(e),t.text=tm.fromObj(e),t}}}],cm((t=f).prototype,[{key:"destroy",value:function(){fm(pm(f.prototype),"destroy",this).call(this);var e=this;if(e.alongLine=null,e.background&&(e.background.destroy(),e.background=null),e.items){for(var t=0,n=e.items,r=n.length;t<r;t++)n[t].destroy();e.items=null}if(e.uniqueItems){for(var i=0,o=e.uniqueItems,a=o.length;i<a;i++)o[i].destory();e.uniqueItems=null}e.labelExpression=null,e.labelOverLengthMode=null,e.matrixCells=null,e.maxLabelLength=null,e.numericPrecision=null,e.overlapAvoided=null,e.rangeExpression=null,e.uniqueExpression=null,e.offset&&(e.offset.destroy(),e.offset=null),e.overlapAvoided=null,e.smallGeometryLabeled=null,e.text&&(e.text.destroy(),e.text=null),e.textSpace=null}},{key:"toJSON",value:function(){return D.toJSON(this.toServerJSONObject())}},{key:"toServerJSONObject",value:function(){var e={};return e.type=this.type,e.memoryData=this.memoryData,this.alongLine&&(e.alongLine=this.alongLine.isAlongLine,e.alongLineDirection=this.alongLine.alongLineDirection,e.angleFixed=this.alongLine.angleFixed,e.isLabelRepeated=this.alongLine.isLabelRepeated,e.labelRepeatInterval=this.alongLine.labelRepeatInterval,e.repeatedLabelAvoided=this.alongLine.repeatedLabelAvoided,e.repeatIntervalFixed=this.alongLine.repeatIntervalFixed),this.offset&&(e.offsetFixed=this.offset.offsetFixed,e.offsetX=this.offset.offsetX,e.offsetY=this.offset.offsetY),this.text&&(e.maxTextHeight=this.text.maxTextHeight,e.maxTextWidth=this.text.maxTextWidth,e.minTextHeight=this.text.minTextHeight,e.minTextWidth=this.text.minTextWidth,e.uniformStyle=this.text.uniformStyle,e.uniformMixedStyle=this.text.uniformMixedStyle),this.background&&(e.labelBackShape=this.background.labelBackShape,e.backStyle=this.background.backStyle),e.labelOverLengthMode=this.labelOverLengthMode,e.maxLabelLength=this.maxLabelLength,e.smallGeometryLabeled=this.smallGeometryLabeled,e.rangeExpression=this.rangeExpression,e.uniqueExpression=this.uniqueExpression,e.numericPrecision=this.numericPrecision,e.items=this.items,e.uniqueItems=this.uniqueItems,e.labelExpression=this.labelExpression,e.overlapAvoided=this.overlapAvoided,e.matrixCells=this.matrixCells,e.textSpace=this.textSpace,e}}]),cm(t,e),Object.defineProperty(t,"prototype",{writable:!1}),f}();function mm(e){return(mm="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})(e)}function gm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vm(){return(vm="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=xm(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function bm(e,t){return(bm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xm(e){return(xm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var wm=function(){var e=o,t=Ry;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),bm(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=xm(n),t=(e=r?(e=xm(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===mm(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _m(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,"UNIQUE",e)).defaultStyle=new c,t.items=null,t.uniqueExpression=null,t.colorGradientType=Ut.YELLOW_RED,e&&D.extend(_m(t),e),t.CLASS_NAME="SuperMap.ThemeUnique",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"fromObj",value:function(e){var t=new o,n=e.items,r=n?n.length:0;D.extend(t,e),t.items=[],t.defaultStyle=c.fromJson(e.defaultStyle);for(var i=0;i<r;i++)t.items.push(Qy.fromObj(n[i]));return t}}],gm((t=o).prototype,[{key:"destroy",value:function(){vm(xm(o.prototype),"destroy",this).call(this);var e=this;if(e.uniqueExpression=null,e.colorGradientType=null,e.items){if(0<e.items.length)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null)}},{key:"toServerJSONObject",value:function(){var e={};if((e=D.copyAttributes(e,this)).defaultStyle&&e.defaultStyle.toServerJSONObject&&(e.defaultStyle=e.defaultStyle.toServerJSONObject()),e.items){for(var t=[],n=e.items.length,r=0;r<n;r++)t.push(e.items[r].toServerJSONObject());e.items=t}return e}}]),gm(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function Am(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t;if(e)return t=new Cm,D.copy(t,e),t.axesColor=l.fromJson(e.axesColor),t.axesTextStyle=Fy.fromObj(e.axesTextStyle),t}}],Am((_=Cm).prototype,[{key:"destroy",value:function(){this.axesColor&&(this.axesColor.destroy(),this.axesColor=null),this.axesDisplayed=null,this.axesGridDisplayed=null,this.axesTextDisplayed=null,this.axesTextStyle&&(this.axesTextStyle.destroy(),this.axesTextStyle=null)}}]),Am(_,b),Object.defineProperty(_,"prototype",{writable:!1});var Sm=Cm;function Cm(e){if(!(this instanceof Cm))throw new TypeError("Cannot call a class as a function");this.axesColor=new l(0,0,0),this.axesDisplayed=!1,this.axesGridDisplayed=!1,this.axesTextDisplayed=!1,this.axesTextStyle=new Fy,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGraphAxes"}function Om(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t=new Mm;return D.copy(t,e),t}}],Om((_=Mm).prototype,[{key:"destroy",value:function(){this.maxGraphSize=null,this.minGraphSize=null}}]),Om(_,b),Object.defineProperty(_,"prototype",{writable:!1});var Em=Mm;function Mm(e){if(!(this instanceof Mm))throw new TypeError("Cannot call a class as a function");this.maxGraphSize=0,this.minGraphSize=0,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGraphSize"}function Pm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t=new Tm;return D.copy(t,e),t.graphTextStyle=Fy.fromObj(e.graphTextStyle),t}}],Pm((_=Tm).prototype,[{key:"destroy",value:function(){this.graphTextDisplayed=null,this.graphTextFormat=null,this.graphTextStyle&&(this.graphTextStyle.destroy(),this.graphTextStyle=null)}}]),Pm(_,b),Object.defineProperty(_,"prototype",{writable:!1});var km=Tm;function Tm(e){if(!(this instanceof Tm))throw new TypeError("Cannot call a class as a function");this.graphTextDisplayed=!1,this.graphTextFormat=Ft.CAPTION,this.graphTextStyle=new Fy,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGraphText"}function Im(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t;if(e)return t=new jm,D.copy(t,e),t.uniformStyle=c.fromJson(e.uniformStyle),t}}],Im((_=jm).prototype,[{key:"destroy",value:function(){this.caption=null,this.graphExpression=null,this.memoryDoubleValues=null,this.uniformStyle=null}}]),Im(_,b),Object.defineProperty(_,"prototype",{writable:!1});var Lm=jm;function jm(e){if(!(this instanceof jm))throw new TypeError("Cannot call a class as a function");this.caption=null,this.graphExpression=null,this.memoryDoubleValues=null,this.uniformStyle=new c,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGraphItem"}function Dm(e){return(Dm="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})(e)}function Bm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rm(){return(Rm="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Fm(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Nm(e,t){return(Nm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function zm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fm(e){return(Fm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vm=function(){var e=o,t=Ry;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Nm(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Fm(n),t=(e=r?(e=Fm(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Dm(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return zm(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,"GRAPH",e)).barWidth=0,t.graduatedMode=Yt.CONSTANT,t.graphAxes=new Sm,t.graphSize=new Em,t.graphSizeFixed=!1,t.graphText=new km,t.graphType=Vt.AREA,t.graphAxesTextDisplayMode=Ht.NONE,t.items=null,t.memoryKeys=null,t.negativeDisplayed=!1,t.offset=new Ky,t.overlapAvoided=!0,t.roseAngle=0,t.startAngle=0,e&&D.extend(zm(t),e),t.CLASS_NAME="SuperMap.ThemeGraph",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"fromObj",value:function(e){var t=new o,n=e.items,r=n?n.length:0;D.copy(t,e),t.items=[],t.graphAxes=Sm.fromObj(e),t.graphSize=Em.fromObj(e),t.graphText=km.fromObj(e),t.offset=Ky.fromObj(e);for(var i=0;i<r;i++)t.items.push(Lm.fromObj(n[i]));return t}}],Bm((t=o).prototype,[{key:"destroy",value:function(){Rm(Fm(o.prototype),"destroy",this).call(this);var e=this;if(e.barWidth=null,e.graduatedMode=null,e.graphAxes&&(e.graphAxes.destroy(),e.graphAxes=null),e.graphSize&&(e.graphSize.destroy(),e.graphSize=null),e.graphSizeFixed=null,e.graphText&&(e.graphText.destroy(),e.graphText=null),e.graphType=null,e.items){for(var t=0,n=e.items,r=n.length;t<r;t++)n[t].destroy();e.items=null}e.memoryKeys=null,e.negativeDisplayed=null,e.offset&&(e.offset.destroy(),e.offset=null),e.overlapAvoided=null,e.roseAngle=null,e.startAngle=null,e.graphAxesTextDisplayMode=null}},{key:"toJSON",value:function(){return D.toJSON(this.toServerJSONObject())}},{key:"toServerJSONObject",value:function(){var e={};return e.type=this.type,this.graphText&&(e.graphTextDisplayed=this.graphText.graphTextDisplayed,e.graphTextFormat=this.graphText.graphTextFormat,e.graphTextStyle=this.graphText.graphTextStyle),this.graphAxes&&(e.axesColor=this.graphAxes.axesColor,e.axesDisplayed=this.graphAxes.axesDisplayed,e.axesGridDisplayed=this.graphAxes.axesGridDisplayed,e.axesTextDisplayed=this.graphAxes.axesTextDisplayed,e.axesTextStyle=this.graphAxes.axesTextStyle),this.graphSize&&(e.maxGraphSize=this.graphSize.maxGraphSize,e.minGraphSize=this.graphSize.minGraphSize),this.offset&&(e.offsetFixed=this.offset.offsetFixed,e.offsetX=this.offset.offsetX,e.offsetY=this.offset.offsetY),e.barWidth=this.barWidth,e.graduatedMode=this.graduatedMode,e.graphSizeFixed=this.graphSizeFixed,e.graphType=this.graphType,e.graphAxesTextDisplayMode=this.graphAxesTextDisplayMode,e.items=this.items,e.memoryKeys=this.memoryKeys,e.negativeDisplayed=this.negativeDisplayed,e.overlapAvoided=this.overlapAvoided,e.roseAngle=this.roseAngle,e.startAngle=this.startAngle,e}}]),Bm(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function Hm(e){return(Hm="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})(e)}function Ym(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gm(e,t){return(Gm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Um(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qm(e){return(Qm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Wm=function(){var e=o,t=Ry;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Gm(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Qm(n),t=(e=r?(e=Qm(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Hm(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Um(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,"DOTDENSITY",e)).dotExpression=null,t.style=new c,t.value=null,e&&D.extend(Um(t),e),t.CLASS_NAME="SuperMap.ThemeDotDensity",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"fromObj",value:function(e){var t;if(e)return t=new o,D.copy(t,e),t.style=c.fromJson(e.style),t}}],Ym((t=o).prototype,[{key:"destroy",value:function(){this.dotExpression=null,this.value=null,this.style&&(this.style.destroy(),this.style=null)}},{key:"toServerJSONObject",value:function(){var e={};return(e=D.copyAttributes(e,this)).style&&e.style.toServerJSONObject&&(e.style=e.style.toServerJSONObject()),e}}]),Ym(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function qm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t;if(e)return t=new Xm,D.copy(t,e),t.negativeStyle=c.fromJson(e.negativeStyle),t.positiveStyle=c.fromJson(e.positiveStyle),t.zeroStyle=c.fromJson(e.zeroStyle),t}}],qm((_=Xm).prototype,[{key:"destroy",value:function(){this.negativeDisplayed=null,this.negativeStyle=null,this.positiveStyle=null,this.zeroDisplayed=null,this.zeroStyle=null}}]),qm(_,b),Object.defineProperty(_,"prototype",{writable:!1});var Km=Xm;function Xm(e){if(!(this instanceof Xm))throw new TypeError("Cannot call a class as a function");this.negativeDisplayed=!1,this.negativeStyle=new c,this.positiveStyle=new c,this.zeroDisplayed=!1,this.zeroStyle=new c,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGraduatedSymbolStyle"}function Jm(e){return(Jm="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})(e)}function $m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zm(){return(Zm="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ng(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function eg(e,t){return(eg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ng(e){return(ng=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rg=function(){var e=o,t=Ry;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),eg(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ng(n),t=(e=r?(e=ng(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Jm(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return tg(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,"GRADUATEDSYMBOL",e)).baseValue=0,t.expression=null,t.graduatedMode=Yt.CONSTAN,t.offset=new Ky,t.style=new Km,e&&D.extend(tg(t),e),t.CLASS_NAME="SuperMap.ThemeGraduatedSymbol",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"fromObj",value:function(e){var t;if(e)return t=new o,D.copy(t,e),t.offset=Ky.fromObj(e),t.style=Km.fromObj(e),t}}],$m((t=o).prototype,[{key:"destroy",value:function(){Zm(ng(o.prototype),"destroy",this).call(this);this.expression=null,this.graduatedMode=Yt.CONSTANT,this.offset&&(this.offset.destroy(),this.offset=null),this.style&&(this.style.destroy(),this.style=null)}},{key:"toJSON",value:function(){return D.toJSON(this.toServerJSONObject())}},{key:"toServerJSONObject",value:function(){var e={};return e.type=this.type,e.memoryData=this.memoryData,e.baseValue=this.baseValue,e.expression=this.expression,e.graduatedMode=this.graduatedMode,this.offset&&(e.offsetFixed=this.offset.offsetFixed,e.offsetX=this.offset.offsetX,e.offsetY=this.offset.offsetY),this.style&&(e.negativeStyle=this.style.negativeStyle,e.negativeDisplayed=this.style.negativeDisplayed,e.positiveStyle=this.style.positiveStyle,e.zeroDisplayed=this.style.zeroDisplayed,e.zeroStyle=this.style.zeroStyle),e}}]),$m(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function ig(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}b=[{key:"fromObj",value:function(e){var t;if(e)return t=new ag,D.copy(t,e),t.style=c.fromJson(e.style),t}}],ig((_=ag).prototype,[{key:"destroy",value:function(){this.caption=null,this.end=null,this.start=null,this.style&&(this.style.destroy(),this.style=null),this.visible=null}},{key:"toServerJSONObject",value:function(){var e={};return(e=D.copyAttributes(e,this)).style&&e.style.toServerJSONObject&&(e.style=e.style.toServerJSONObject()),e}}]),ig(_,b),Object.defineProperty(_,"prototype",{writable:!1});var og=ag;function ag(e){if(!(this instanceof ag))throw new TypeError("Cannot call a class as a function");this.caption=null,this.end=0,this.start=0,this.style=new c,this.visible=!0,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeRangeItem"}function sg(e){return(sg="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})(e)}function lg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ug(){return(ug="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=hg(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function cg(e,t){return(cg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function fg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hg(e){return(hg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var dg=function(){var e=o,t=Ry;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),cg(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=hg(n),t=(e=r?(e=hg(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===sg(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return fg(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,"RANGE",e)).precision="1.0E-12",t.items=null,t.rangeExpression=null,t.rangeMode=Gt.EQUALINTERVAL,t.rangeParameter=0,t.colorGradientType=Ut.YELLOW_RED,e&&D.extend(fg(t),e),t.CLASS_NAME="SuperMap.ThemeRange",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"fromObj",value:function(e){if(e){var t=new o,n=(D.copy(t,e),e.items),r=n?n.length:0;t.items=[];for(var i=0;i<r;i++)t.items.push(og.fromObj(n[i]));return t}}}],lg((t=o).prototype,[{key:"destroy",value:function(){ug(hg(o.prototype),"destroy",this).call(this);var e=this;if(e.items){if(0<e.items.length)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.rangeExpression=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}}]),lg(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function pg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}pg((b=mg).prototype,[{key:"destroy",value:function(){D.reset(this)}},{key:"fromJson",value:function(e){D.extend(this,e=e||{});e=this.bounds;e&&(this.bounds=new S(e.leftBottom.x,e.leftBottom.y,e.rightTop.x,e.rightTop.y))}},{key:"toServerJSONObject",value:function(){var e={};return(e=D.copyAttributes(e,this)).bounds&&e.bounds.toServerJSONObject&&(e.bounds=e.bounds.toServerJSONObject()),e}}]),Object.defineProperty(b,"prototype",{writable:!1});var yg=mg;function mg(e){if(!(this instanceof mg))throw new TypeError("Cannot call a class as a function");e=e||{},this.bounds=null,this.caption=null,this.description=null,this.name=null,this.queryable=null,this.subLayers=null,this.type=null,this.visible=null,D.extend(this,e),this.CLASS_NAME="SuperMap.UGCLayer"}function gg(e){return(gg="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})(e)}function vg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bg(){return(bg="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=xg(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function _g(e,t){return(_g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function xg(e){return(xg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var wg=function(){var e=o,t=yg;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_g(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=xg(n),t=(e=r?(e=xg(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==gg(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e=e||{})).completeLineSymbolDisplayed=null,e.maxScale=null,e.minScale=null,e.minVisibleGeometrySize=null,e.opaqueRate=null,e.symbolScalable=null,e.symbolScale=null,e.overlapDisplayed=null,e.overlapDisplayedOptions=null,e.CLASS_NAME="SuperMap.UGCMapLayer",e;throw new TypeError("Cannot call a class as a function")}return vg((e=o).prototype,[{key:"destroy",value:function(){bg(xg(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"fromJson",value:function(e){bg(xg(o.prototype),"fromJson",this).call(this,e)}},{key:"toServerJSONObject",value:function(){return bg(xg(o.prototype),"toServerJSONObject",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Ag(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ag((_=Cg).prototype,[{key:"destroy",value:function(){this.foreignTableName=null,this.joinFilter=null,this.joinType=null}},{key:"toServerJSONObject",value:function(){return D.copyAttributes({},this)}}]),Object.defineProperty(_,"prototype",{writable:!1});var Sg=Cg;function Cg(e){if(!(this instanceof Cg))throw new TypeError("Cannot call a class as a function");this.foreignTableName=null,this.joinFilter=null,this.joinType=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.JoinItem"}function Og(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Og((b=Mg).prototype,[{key:"destroy",value:function(){D.reset(this)}},{key:"toServerJSONObject",value:function(){var e={};return(e=D.copyAttributes(e,this)).bounds&&e.bounds.toServerJSONObject&&(e.bounds=e.bounds.toServerJSONObject()),e}}]),Object.defineProperty(b,"prototype",{writable:!1});var Eg=Mg;function Mg(e){if(!(this instanceof Mg))throw new TypeError("Cannot call a class as a function");e=e||{},this.bounds=null,this.dataSourceName=null,this.description=null,this.encodeType=null,this.isReadOnly=null,this.name=null,this.prjCoordSys=null,this.tableName=null,this.type=null,D.extend(this,e);e=this.bounds;e&&(this.bounds=new S(e.leftBottom.x,e.leftBottom.y,e.rightTop.x,e.rightTop.y)),this.CLASS_NAME="SuperMap.DatasetInfo"}function Pg(e){return(Pg="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})(e)}function kg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tg(){return(Tg="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Lg(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Ig(e,t){return(Ig=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Lg(e){return(Lg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var jg=function(){var e=o,t=wg;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ig(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Lg(n),t=(e=r?(e=Lg(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Pg(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e=e||{})).datasetInfo=null,e.displayFilter=null,e.joinItems=null,e.representationField=null,e.ugcLayerType=null,e.CLASS_NAME="SuperMap.UGCSubLayer",e;throw new TypeError("Cannot call a class as a function")}return kg((e=o).prototype,[{key:"fromJson",value:function(e){if(Tg(Lg(o.prototype),"fromJson",this).call(this,e),this.datasetInfo&&(this.datasetInfo=new Eg(this.datasetInfo)),this.joinItems&&this.joinItems.length){for(var t=[],n=0;n<this.joinItems.length;n++)t[n]=new Sg(this.joinItems[n]);this.joinItems=t}}},{key:"destroy",value:function(){Tg(Lg(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"toServerJSONObject",value:function(){var e=Tg(Lg(o.prototype),"toServerJSONObject",this).call(this);if(e.joinItems){for(var t=[],n=0;n<e.joinItems.length;n++)e.joinItems[n].toServerJSONObject&&(t[n]=e.joinItems[n].toServerJSONObject());e.joinItems=t}return e.datasetInfo&&e.datasetInfo.toServerJSONObject&&(e.datasetInfo=e.datasetInfo.toServerJSONObject()),e}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Dg(e){return(Dg="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})(e)}function Bg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rg(){return(Rg="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=zg(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Ng(e,t){return(Ng=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function zg(e){return(zg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Fg=function(){var e=o,t=jg;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ng(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=zg(n),t=(e=r?(e=zg(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Dg(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e=e||{})).theme=null,e.themeElementPosition=null,e.CLASS_NAME="SuperMap.ServerTheme",e;throw new TypeError("Cannot call a class as a function")}return Bg((e=o).prototype,[{key:"destroy",value:function(){Rg(zg(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"fromJson",value:function(e){Rg(zg(o.prototype),"fromJson",this).call(this,e);var t=this.theme;switch(t&&t.type){case"LABEL":this.theme=ym.fromObj(t);break;case"UNIQUE":this.theme=wm.fromObj(t);break;case"GRAPH":this.theme=Vm.fromObj(t);break;case"DOTDENSITY":this.theme=Wm.fromObj(t);break;case"GRADUATEDSYMBOL":this.theme=rg.fromObj(t);break;case"RANGE":this.theme=dg.fromObj(t)}this.themeElementPosition&&(this.themeElementPosition=new re(this.themeElementPosition.x,this.themeElementPosition.y))}},{key:"toServerJSONObject",value:function(){var e=Rg(zg(o.prototype),"toServerJSONObject",this).call(this);return e.themeElementPosition&&e.themeElementPosition.toServerJSONObject&&(e.themeElementPosition=e.themeElementPosition.toServerJSONObject()),e.theme&&e.theme.toServerJSONObject&&(e.theme=e.theme.toServerJSONObject()),e}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Vg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Vg((_=Yg).prototype,[{key:"destroy",value:function(){D.reset(this)}},{key:"toServerJSONObject",value:function(){return D.copyAttributes({},this)}}]),Object.defineProperty(_,"prototype",{writable:!1});var Hg=Yg;function Yg(e){if(!(this instanceof Yg))throw new TypeError("Cannot call a class as a function");e=e||{},this.elevation=null,this.color=null,D.extend(this,e);e=this.color;e&&(this.color=new l(e.red,e.green,e.blue)),this.CLASS_NAME="SuperMap.ColorDictionary"}function Gg(e){return(Gg="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})(e)}function Ug(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qg(){return(Qg="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=qg(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Wg(e,t){return(Wg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function qg(e){return(qg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Kg=function(){var e=s,t=jg;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wg(e,t);n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=qg(n),t=(e=r?(e=qg(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Gg(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function s(e){if(this instanceof s)return(e=i.call(this,e=e||{})).colorDictionarys=null,e.brightness=null,e.colorGradientType=null,e.colors=null,e.contrast=null,e.dashStyle=null,e.gridType=null,e.horizontalSpacing=null,e.sizeFixed=null,e.solidStyle=null,e.specialColor=null,e.specialValue=null,e.specialValueTransparent=null,e.verticalSpacing=null,e.CLASS_NAME="SuperMap.Grid",e;throw new TypeError("Cannot call a class as a function")}return Ug((e=s).prototype,[{key:"destroy",value:function(){Qg(qg(s.prototype),"destroy",this).call(this),D.reset(this)}},{key:"fromJson",value:function(e){if(Qg(qg(s.prototype),"fromJson",this).call(this,e),this.specialColor&&(this.specialColor=new l(this.specialColor.red,this.specialColor.green,this.specialColor.blue)),this.colors){var t,n,r=[];for(n in this.colors)t=this.colors[n],r.push(new l(t.red,t.green,t.blue));this.colors=r}if(this.dashStyle&&(this.dashStyle=new c(this.dashStyle)),this.solidStyle&&(this.solidStyle=new c(this.solidStyle)),this.colorDictionary){var i,o,a=[];for(o in this.colorDictionary)i=this.colorDictionary[o],a.push(new Hg({elevation:o,color:i}));this.colorDictionarys=a}delete this.colorDictionary}},{key:"toServerJSONObject",value:function(){var e=Qg(qg(s.prototype),"toServerJSONObject",this).call(this);return e.dashStyle&&e.dashStyle.toServerJSONObject&&(e.dashStyle=e.dashStyle.toServerJSONObject()),e.solidStyle&&e.solidStyle.toServerJSONObject&&(e.solidStyle=e.solidStyle.toServerJSONObject()),e}}]),Object.defineProperty(e,"prototype",{writable:!1}),s}();function Xg(e){return(Xg="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})(e)}function Jg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $g(){return($g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ev(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Zg(e,t){return(Zg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ev(e){return(ev=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var tv=function(){var e=o,t=jg;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zg(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ev(n),t=(e=r?(e=ev(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Xg(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e=e||{})).brightness=null,e.colorSpaceType=null,e.contrast=null,e.displayBandIndexes=null,e.transparent=null,e.transparentColor=null,e.transparentColorTolerance=null,e.CLASS_NAME="SuperMap.Image",e;throw new TypeError("Cannot call a class as a function")}return Jg((e=o).prototype,[{key:"destroy",value:function(){$g(ev(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"fromJson",value:function(e){$g(ev(o.prototype),"fromJson",this).call(this,e),this.transparentColor&&(this.transparentColor=new l(this.transparentColor.red,this.transparentColor.green,this.transparentColor.blue))}},{key:"toServerJSONObject",value:function(){return $g(ev(o.prototype),"toServerJSONObject",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function nv(e){return(nv="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})(e)}function rv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iv(){return(iv="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=av(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ov(e,t){return(ov=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function av(e){return(av=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var sv=function(){var e=o,t=jg;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ov(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=av(n),t=(e=r?(e=av(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==nv(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e=e||{})).style=null,e.CLASS_NAME="SuperMap.Vector",e;throw new TypeError("Cannot call a class as a function")}return rv((e=o).prototype,[{key:"destroy",value:function(){iv(av(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"fromJson",value:function(e){iv(av(o.prototype),"fromJson",this).call(this,e);e=this.style;e&&(this.style=new c(e))}},{key:"toServerJSONObject",value:function(){var e=iv(av(o.prototype),"toServerJSONObject",this).call(this);return e.style&&e.style.toServerJSONObject&&(e.style=e.style.toServerJSONObject()),e}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function lv(e){return(lv="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})(e)}function uv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cv(){return(cv="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=dv(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function fv(e,t){return(fv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function hv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dv(e){return(dv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var pv=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fv(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=dv(n),t=(e=r?(e=dv(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===lv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return hv(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).isTempLayers=!1,t&&D.extend(hv(e),t),e.CLASS_NAME="SuperMap.GetLayersInfoService",e;throw new TypeError("Cannot call a class as a function")}return uv((e=o).prototype,[{key:"destroy",value:function(){cv(dv(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"processAsync",value:function(){this.isTempLayers||(this.url=D.urlPathAppend(this.url,"layers")),this.request({method:"GET",params:null,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed})}},{key:"serviceProcessCompleted",value:function(e,t){var n,r=(n=(e=D.transformResult(e))&&0<e.length?e[0].subLayers.layers:null)?n.length:0;this.handleLayers(r,n),this.events.triggerEvent("processCompleted",{result:e[0],options:t})}},{key:"handleLayers",value:function(e,t){var n;if(e)for(var r=0;r<e;r++)if(t[r].subLayers&&t[r].subLayers.layers&&0<t[r].subLayers.layers.length)this.handleLayers(t[r].subLayers.layers.length,t[r].subLayers.layers);else switch(t[r].ugcLayerType){case"THEME":(n=new Fg).fromJson(t[r]),t[r]=n;break;case"GRID":(n=new Kg).fromJson(t[r]),t[r]=n;break;case"IMAGE":(n=new tv).fromJson(t[r]),t[r]=n;break;case"VECTOR":(n=new sv).fromJson(t[r]),t[r]=n}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function yv(e){return(yv="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})(e)}function mv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gv(){return(gv="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_v(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function vv(e,t){return(vv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function bv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _v(e){return(_v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xv=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vv(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=_v(n),t=(e=r?(e=_v(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===yv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return bv(t)};function o(e,t){if(this instanceof o)return e=i.call(this,e,t),t&&D.extend(bv(e),t),e.CLASS_NAME="SuperMap.SetLayerInfoService",e;throw new TypeError("Cannot call a class as a function")}return mv((e=o).prototype,[{key:"destroy",value:function(){gv(_v(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"processAsync",value:function(e){e&&(e=D.toJSON(e),this.request({method:"PUT",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function wv(e){return(wv="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})(e)}function Av(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sv(){return(Sv="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ev(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Cv(e,t){return(Cv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ov(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ev(e){return(Ev=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Mv=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cv(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ev(n),t=(e=r?(e=Ev(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===wv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Ov(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).resourceID=null,e.isTempLayers=!1,t&&D.extend(Ov(e),t),e.CLASS_NAME="SuperMap.SetLayersInfoService",e;throw new TypeError("Cannot call a class as a function")}return Av((e=o).prototype,[{key:"destroy",value:function(){Sv(Ev(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"processAsync",value:function(e){if(e){var t,n,r=[],i=this,o="",o=i.isTempLayers?(i.url=D.urlPathAppend(i.url,"tempLayersSet/"+i.resourceID),"PUT"):(i.url=D.urlPathAppend(i.url,"tempLayersSet"),"POST"),a=(e.subLayers||(e.subLayers={layers:[]}),e.subLayers.layers||(e.subLayers.layers=[]),e.subLayers.layers),s=a.length;for(n in a){if("GRID"===a[n].ugcLayerType){var l,u={},c=a[n].colorDictionarys;for(l in c)u[c[l].elevation]=c[l].color}a[n].colorDictionary=u,delete a[n].colorDictionarys}for(var f=0;f<s;f++)a[f].toJsonObject?r.push(a[f].toJsonObject()):r.push(a[f]);(t=D.extend(t,e)).subLayers={layers:r},t.object=null;e=D.toJSON([t]);i.request({method:o,data:e,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Pv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Pv((b=Tv).prototype,[{key:"destroy",value:function(){this.layerStatusList=null,this.holdTime=null,this.resourceID=null}},{key:"toJSON",value:function(){var e="{";e+='"layers":[';for(var t=[],n=0,r=this.layerStatusList.length;n<r;n++)t.push(this.layerStatusList[n].toJSON());return(e=e+t+"]")+"}"}}]),Object.defineProperty(b,"prototype",{writable:!1});var kv=Tv;function Tv(e){if(!(this instanceof Tv))throw new TypeError("Cannot call a class as a function");this.layerStatusList=[],this.holdTime=15,this.resourceID=null,e&&D.extend(this,e)}function Iv(e){return(Iv="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})(e)}function Lv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jv(){return(jv="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Rv(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Dv(e,t){return(Dv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Bv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rv(e){return(Rv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Nv=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dv(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Rv(n),t=(e=r?(e=Rv(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Iv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Bv(t)};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t)).lastparams=null,n.mapUrl=e,t&&D.extend(Bv(n),t),n.CLASS_NAME="SuperMap.SetLayerStatusService",n;throw new TypeError("Cannot call a class as a function")}return Lv((e=o).prototype,[{key:"destroy",value:function(){jv(Rv(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"processAsync",value:function(e){var t,n;e instanceof kv&&((t=this).url=t.mapUrl,null==e.resourceID?(t.url=D.urlPathAppend(t.url,"tempLayersSet"),t.lastparams=e,t.request({method:"POST",scope:t,success:t.createTempLayerComplete,failure:t.serviceProcessFailed})):(t.url=D.urlPathAppend(t.url,"tempLayersSet/"+e.resourceID),t.url=D.urlAppend(t.url,"elementRemain=true&reference="+e.resourceID+"&holdTime="+e.holdTime.toString()),n="[{",n+='"type":"UGC",',null!=e.layerStatusList&&0<e.layerStatusList.length&&(n+='"subLayers":'+e.toJSON()),n=(n+=',"visible":true,')+'"name":"'+this.getMapName(this.mapUrl)+'"',t.request({method:"PUT",data:n+="}]",scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})))}},{key:"createTempLayerComplete",value:function(e){(e=D.transformResult(e)).succeed&&(this.lastparams.resourceID=e.newResourceID),this.processAsync(this.lastparams)}},{key:"getMapName",value:function(e){var t=(e="/"===e.charAt(e.length-1)?e.substr(0,e.length-1):e).lastIndexOf("/");return e.substring(t+1,e.length)}},{key:"serviceProcessCompleted",value:function(e,t){null!=(e=D.transformResult(e))&&null!=this.lastparams&&(e.newResourceID=this.lastparams.resourceID),this.events.triggerEvent("processCompleted",{result:e,options:t})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function zv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}zv((_=Vv).prototype,[{key:"getLayersInfo",value:function(e){new pv(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:e,processFailed:e}}).processAsync()}},{key:"setLayerInfo",value:function(e,t){var n,r;e&&(r=e.resourceID,n=e.tempLayerName,e=e.layerInfo,r)&&n&&(r=D.urlPathAppend(this.url,"tempLayersSet/"+r+"/"+n),new xv(r,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:t,processFailed:t}}).processAsync(e))}},{key:"setLayersInfo",value:function(e,t){var n,r;e&&(n=e.resourceID,r=!!e.isTempLayers&&e.isTempLayers,e=e.layersInfo,r&&!n||!e||new Mv(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:t,processFailed:t},resourceID:n,isTempLayers:r}).processAsync(e))}},{key:"setLayerStatus",value:function(e,t){e&&new Nv(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{processCompleted:t,processFailed:t}}).processAsync(e)}}]),Object.defineProperty(_,"prototype",{writable:!1});var Fv=Vv;function Vv(e,t){if(!(this instanceof Vv))throw new TypeError("Cannot call a class as a function");this.url=e,this.options=t||{}}function Hv(e){return(Hv="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})(e)}function Yv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gv(e,t){return(Gv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Uv(e){return(Uv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gv(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Uv(n),t=(e=r?(e=Uv(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Hv(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._layerInfoService=new Fv(e,t),n;throw new TypeError("Cannot call a class as a function")}return Yv((e=o).prototype,[{key:"getLayersInfo",value:function(e){this._layerInfoService.getLayersInfo(e)}},{key:"setLayerInfo",value:function(e,t){this._layerInfoService.setLayerInfo(e,t)}},{key:"setLayersInfo",value:function(e,t){this._layerInfoService.setLayersInfo(e,t)}},{key:"setLayerStatus",value:function(e,t){this._layerInfoService.setLayerStatus(e,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Qv(e){return(Qv="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})(e)}function Wv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qv(){return(qv="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Jv(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Kv(e,t){return(Kv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Xv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jv(e){return(Jv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $v=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kv(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Jv(n),t=(e=r?(e=Jv(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Qv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Xv(t)};function o(e,t){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");(e=i.call(this,e,t)).projection=null,e.CLASS_NAME="SuperMap.MapService",t&&D.extend(Xv(e),t);var n,t=Xv(e);return t.projection&&(n=t.projection.split(":"))instanceof Array&&(2===n.length&&(t.url=D.urlAppend(t.url,"prjCoordSys=".concat(encodeURIComponent('{"epsgCode":"'.concat(n[1],'"}'))))),1===n.length)&&(t.url=D.urlAppend(t.url,"prjCoordSys=".concat(encodeURIComponent('{"epsgCode":"'.concat(n[0],'"}'))))),e.eventCount=0,e}return Wv((e=o).prototype,[{key:"destroy",value:function(){qv(Jv(o.prototype),"destroy",this).call(this);this.events&&(this.events.un(this.eventListeners),this.events.listeners=null,this.events.destroy(),this.events=null,this.eventListeners=null)}},{key:"processAsync",value:function(t){var n=++this.eventCount,r={scope:this,processCompleted:function(e){if(n===e.result.eventId&&t)return delete e.result.eventId,t(e),this.events&&this.events.un(r),!1},processFailed:function(e){if((n===e.error.eventId||n===e.eventId)&&t)return t(e),this.events&&this.events.un(r),!1}};this.events.on(r),this.request({method:"GET",scope:this,success:function(e,t){e.eventId=n,this.serviceProcessCompleted(e,t)},failure:function(e,t){e.error&&(e.error.eventId=n),e.eventId=n,this.serviceProcessFailed(e,t)}})}},{key:"serviceProcessCompleted",value:function(e,t){var n=200<=(e=D.transformResult(e)).code&&e.code<300||0==e.code||304===e.code,n=e.code&&n;!e.code||n?this.events&&this.events.triggerEvent("processCompleted",{result:e,options:t}):this.events.triggerEvent("processFailed",{error:e,options:t})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Zv(e){return(Zv="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})(e)}function e2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t2(){return(t2="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r2(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function n2(e,t){return(n2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function r2(e){return(r2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var i2=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n2(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=r2(n),t=(e=r?(e=r2(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Zv(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.TilesetsService",e;throw new TypeError("Cannot call a class as a function")}return e2((e=o).prototype,[{key:"destroy",value:function(){t2(r2(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(){this.url&&(this.url=D.urlPathAppend(this.url,"tilesets"),this.request({method:"GET",scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function o2(e){return(o2="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})(e)}function a2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s2(e,t){return(s2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l2(e){return(l2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s2(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=l2(n),t=(e=r?(e=l2(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==o2(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return i.call(this,e,t);throw new TypeError("Cannot call a class as a function")}return a2((e=o).prototype,[{key:"getMapInfo",value:function(e){new $v(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,projection:this.options.projection}).processAsync(e)}},{key:"getTilesets",value:function(e){new i2(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e}}).processAsync()}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function u2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}u2((A2=f2).prototype,[{key:"destroy",value:function(){this.geometry=null,this.unit=null,this.prjCoordSys=null}}]),Object.defineProperty(A2,"prototype",{writable:!1});var c2=f2;function f2(e,t){if(!(this instanceof f2))throw new TypeError("Cannot call a class as a function");e&&(this.geometry=e,this.unit=Nt.METER,this.prjCoordSys=null,this.distanceMode=null,t&&D.extend(this,t),this.CLASS_NAME="SuperMap.MeasureParameters")}function h2(e){return(h2="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})(e)}function d2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p2(){return(p2="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=g2(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function y2(e,t){return(y2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m2(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g2(e){return(g2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v2=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y2(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=g2(n),t=(e=r?(e=g2(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===h2(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return m2(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).measureMode=Rt.DISTANCE,t&&D.extend(m2(e),t),e.eventCount=0,e.CLASS_NAME="SuperMap.MeasureService",e;throw new TypeError("Cannot call a class as a function")}return d2((e=o).prototype,[{key:"destroy",value:function(){p2(g2(o.prototype),"destroy",this).call(this),this.measureMode=null}},{key:"processAsync",value:function(e,t){var n,r,i,o,a;e instanceof c2&&(n=++this.eventCount,r={scope:this,processCompleted:function(e){if(n===e.result.eventId&&t)return delete e.result.eventId,t(e),this.events&&this.events.un(r),!1},processFailed:function(e){if((n===e.error.eventId||n===e.eventId)&&t)return t(e),this.events&&this.events.un(r),!1}},this.events.on(r),a=e.geometry)&&(this.url=D.urlPathAppend(this.url,this.measureMode===Rt.AREA?"area":"distance"),a=s.fromGeometry(a))&&(o=a.parts[0],a=a.points.splice(0,o),o=e.prjCoordSys?("object"===h2(e.prjCoordSys)?i='{"epsgCode"'+(o=e.prjCoordSys.projCode).substring(o.indexOf(":"),o.length)+"}":"string"==typeof e.prjCoordSys&&(i='{"epsgCode"'+e.prjCoordSys.substring(e.prjCoordSys.indexOf(":"),e.prjCoordSys.length)+"}"),{point2Ds:D.toJSON(a),unit:e.unit,prjCoordSys:i,distanceMode:e.distanceMode||"Geodesic"}):{point2Ds:D.toJSON(a),unit:e.unit,distanceMode:e.distanceMode||"Geodesic"},this.request({method:"GET",params:o,scope:this,success:function(e,t){e.eventId=n,this.serviceProcessCompleted(e,t)},failure:function(e,t){e.error&&(e.error.eventId=n),e.eventId=n,this.serviceProcessFailed(e,t)}}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function b2(e){return(b2="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})(e)}function _2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x2(e,t){return(x2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w2(e){return(w2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A2=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x2(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=w2(n),t=(e=r?(e=w2(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==b2(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return i.call(this,e,t);throw new TypeError("Cannot call a class as a function")}return _2((e=o).prototype,[{key:"measureDistance",value:function(e,t){this.measure(e,"DISTANCE",t)}},{key:"measureArea",value:function(e,t){this.measure(e,"AREA",t)}},{key:"measure",value:function(e,t,n){new v2(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,measureMode:t}).processAsync(this._processParam(e),n)}},{key:"_processParam",value:function(e){return!e||e.geometry instanceof J||(e.geometry=x.toSuperMapGeometry(e.geometry)),e}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function S2(e){return(S2="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})(e)}function C2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O2(){return(O2="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=M2(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function E2(e,t){return(E2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function M2(e){return(M2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P2=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E2(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=M2(n),t=(e=r?(e=M2(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==S2(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).format=a.GEOJSON,e.CLASS_NAME="SuperMap.NetworkAnalystServiceBase",e;throw new TypeError("Cannot call a class as a function")}return C2((e=o).prototype,[{key:"destroy",value:function(){O2(M2(o.prototype),"destroy",this).call(this),this.format=null}},{key:"serviceProcessCompleted",value:function(e,t){var n;(e=D.transformResult(e))&&this.format===a.GEOJSON&&"function"==typeof this.toGeoJSONResult&&(n=this.toGeoJSONResult(e)),this.events.triggerEvent("processCompleted",{result:n=n||e,options:t})}},{key:"toGeoJSONResult",value:function(e){return null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function k2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}k2((w=I2).prototype,[{key:"destroy",value:function(){this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=null}}]),Object.defineProperty(w,"prototype",{writable:!1});var T2=I2;function I2(e){if(!(this instanceof I2))throw new TypeError("Cannot call a class as a function");this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.BurstPipelineAnalystParameters"}function L2(e){return(L2="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})(e)}function j2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D2(){return(D2="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=R2(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function B2(e,t){return(B2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R2(e){return(R2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N2=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B2(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=R2(n),t=(e=r?(e=R2(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==L2(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.BurstPipelineAnalystService",e;throw new TypeError("Cannot call a class as a function")}return j2((e=o).prototype,[{key:"destroy",value:function(){D2(R2(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){if(!(e instanceof T2))return null;var t;if(this.url=D.urlPathAppend(this.url,"burstAnalyse"),t={sourceNodeIDs:e.sourceNodeIDs,isUncertainDirectionValid:e.isUncertainDirectionValid},null!==e.edgeID&&null!==e.nodeID)throw new Error("edgeID and nodeID cannot be null at the same time.");if(null===e.edgeID&&null===e.nodeID)throw new Error("edgeID and nodeID cannot be null at the same time.");null!==e.edgeID?t.edgeID=e.edgeID:t.nodeID=e.nodeID,this.request({method:"GET",params:t,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function z2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}z2((w=V2).prototype,[{key:"destroy",value:function(){this.returnEdgeFeatures=null,this.returnEdgeGeometry=null,this.returnEdgeIDs=null,this.returnNodeFeatures=null,this.returnNodeGeometry=null,this.returnNodeIDs=null,this.returnPathGuides=null,this.returnRoutes=null}}]),Object.defineProperty(w,"prototype",{writable:!1});var F2=V2;function V2(e){if(!(this instanceof V2))throw new TypeError("Cannot call a class as a function");e&&(this.returnEdgeFeatures=!1,this.returnEdgeGeometry=!1,this.returnEdgeIDs=!1,this.returnNodeFeatures=!1,this.returnNodeGeometry=!1,this.returnNodeIDs=!1,this.returnPathGuides=!1,this.returnRoutes=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.TransportationAnalystResultSetting")}function H2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}H2((w=G2).prototype,[{key:"destroy",value:function(){var e=this;if(e.barrierEdgeIDs=null,e.barrierNodeIDs=null,e.weightFieldName=null,e.turnWeightField=null,e.resultSetting&&(e.resultSetting.destroy(),e.resultSetting=null),e.barrierPoints&&e.barrierPoints.length)for(var t in e.barrierPoints)e.barrierPoints[t].destroy();e.barrierPoints=null}}]),Object.defineProperty(w,"prototype",{writable:!1});var Y2=G2;function G2(e){if(!(this instanceof G2))throw new TypeError("Cannot call a class as a function");e&&(this.barrierEdgeIDs=null,this.barrierNodeIDs=null,this.barrierPoints=null,this.weightFieldName=null,this.turnWeightField=null,this.resultSetting=new F2,D.extend(this,e),this.CLASS_NAME="SuperMap.TransportationAnalystParameter")}function U2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}U2((w=W2).prototype,[{key:"destroy",value:function(){this.isAnalyzeById=null,this.nodes=null,this.parameter&&(this.parameter.destroy(),this.parameter=null)}}]),Object.defineProperty(w,"prototype",{writable:!1});var Q2=W2;function W2(e){if(!(this instanceof W2))throw new TypeError("Cannot call a class as a function");this.isAnalyzeById=!1,this.nodes=null,this.parameter=new Y2,D.extend(this,e),this.CLASS_NAME="SuperMap.ComputeWeightMatrixParameters"}function q2(e){return(q2="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})(e)}function K2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X2(){return(X2="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$2(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function J2(e,t){return(J2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $2(e){return($2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Z2=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&J2(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=$2(n),t=(e=r?(e=$2(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==q2(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.ComputeWeightMatrixService",e;throw new TypeError("Cannot call a class as a function")}return K2((e=o).prototype,[{key:"destroy",value:function(){X2($2(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof Q2&&(this.url=D.urlPathAppend(this.url,"weightmatrix"),e={parameter:D.toJSON(e.parameter),nodes:this.getJson(e.isAnalyzeById,e.nodes)},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getJson",value:function(e,t){var n="[",r=t?t.length:0;if(!1===e)for(var i=0;i<r;i++)0<i&&(n+=","),n+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(!0===e)for(var o=0;o<r;o++)0<o&&(n+=","),n+=t[o];return n+"]"}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function eb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}eb((w=nb).prototype,[{key:"destroy",value:function(){this.edgeID=null,this.nodeID=null,this.weightName=null,this.isUncertainDirectionValid=null,this.type=null}}]),Object.defineProperty(w,"prototype",{writable:!1});var tb=nb;function nb(e){if(!(this instanceof nb))throw new TypeError("Cannot call a class as a function");this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=!1,this.queryType=null,D.extend(this,e),this.CLASS_NAME="SuperMap.FacilityAnalystStreamParameters"}function rb(e){return(rb="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})(e)}function ib(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ob(){return(ob="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=sb(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ab(e,t){return(ab=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function sb(e){return(sb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var lb=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ab(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=sb(n),t=(e=r?(e=sb(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==rb(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FacilityAnalystStreamService",e;throw new TypeError("Cannot call a class as a function")}return ib((e=o).prototype,[{key:"destroy",value:function(){ob(sb(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){if(e instanceof tb){var t;if(0===e.queryType)this.url=D.urlPathAppend(this.url,"upstreamcirticalfaclilities");else{if(1!==e.queryType)return;this.url=D.urlPathAppend(this.url,"downstreamcirticalfaclilities")}t={sourceNodeIDs:e.sourceNodeIDs,isUncertainDirectionValid:e.isUncertainDirectionValid},null!==e.edgeID&&null!==e.nodeID||null===e.edgeID&&null===e.nodeID||(null!==e.edgeID?t.edgeID=e.edgeID:t.nodeID=e.nodeID,this.request({method:"GET",params:t,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ub(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}ub((w=fb).prototype,[{key:"destroy",value:function(){this.event=null,this.expectFacilityCount=null,this.facilities=null,this.fromEvent=null,this.isAnalyzeById=null,this.maxWeight=null,this.parameter&&(this.parameter.destroy(),this.parameter=null)}}]),Object.defineProperty(w,"prototype",{writable:!1});var cb=fb;function fb(e){if(!(this instanceof fb))throw new TypeError("Cannot call a class as a function");this.event=null,this.expectFacilityCount=1,this.facilities=null,this.fromEvent=!1,this.isAnalyzeById=!1,this.maxWeight=0,this.parameter=new Y2,D.extend(this,e),this.CLASS_NAME="SuperMap.FindClosestFacilitiesParameters"}function hb(e){return(hb="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})(e)}function db(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pb(){return(pb="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=mb(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function yb(e,t){return(yb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function mb(e){return(mb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var gb=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yb(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=mb(n),t=(e=r?(e=mb(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==hb(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FindClosestFacilitiesService",e;throw new TypeError("Cannot call a class as a function")}return db((e=o).prototype,[{key:"destroy",value:function(){pb(mb(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof cb&&(this.url=D.urlPathAppend(this.url,"closestfacility"),e={expectFacilityCount:e.expectFacilityCount,fromEvent:e.fromEvent,maxWeight:e.maxWeight,parameter:D.toJSON(e.parameter),event:D.toJSON(e.event),facilities:this.getJson(e.isAnalyzeById,e.facilities)},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getJson",value:function(e,t){var n="[",r=t?t.length:0;if(!1===e)for(var i=0;i<r;i++)0<i&&(n+=","),n+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(!0===e)for(var o=0;o<r;o++)0<o&&(n+=","),n+=t[o];return n+"]"}},{key:"toGeoJSONResult",value:function(e){var t;return e&&e.facilityPathList&&(t=new En,e.facilityPathList.map(function(e){return e.route&&(e.route=t.toGeoJSON(e.route)),e.pathGuideItems&&(e.pathGuideItems=t.toGeoJSON(e.pathGuideItems)),e.edgeFeatures&&(e.edgeFeatures=t.toGeoJSON(e.edgeFeatures)),e.nodeFeatures&&(e.nodeFeatures=t.toGeoJSON(e.nodeFeatures)),e})),e}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function vb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}vb((w=_b).prototype,[{key:"destroy",value:function(){if(this.expectedSupplyCenterCount=null,this.isFromCenter=null,this.turnWeightField=null,this.weightName=null,this.supplyCenters){for(var e=0,t=this.supplyCenters,n=t.length;e<n;e++)t[e].destroy();this.supplyCenters=null}}}]),Object.defineProperty(w,"prototype",{writable:!1});var bb=_b;function _b(e){if(!(this instanceof _b))throw new TypeError("Cannot call a class as a function");this.expectedSupplyCenterCount=null,this.isFromCenter=!1,this.supplyCenters=null,this.turnWeightField=null,this.weightName=null,D.extend(this,e),this.CLASS_NAME="SuperMap.FindLocationParameters"}function xb(e){return(xb="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})(e)}function wb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ab(){return(Ab="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Cb(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Sb(e,t){return(Sb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Cb(e){return(Cb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ob=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sb(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Cb(n),t=(e=r?(e=Cb(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==xb(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FindLocationService",e;throw new TypeError("Cannot call a class as a function")}return wb((e=o).prototype,[{key:"destroy",value:function(){Ab(Cb(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof bb&&(this.url=D.urlPathAppend(this.url,"location"),e={isFromCenter:e.isFromCenter,expectedSupplyCenterCount:e.expectedSupplyCenterCount,weightName:e.weightName,turnWeightField:e.turnWeightField,returnEdgeFeature:!0,returnEdgeGeometry:!0,returnNodeFeature:!0,mapParameter:D.toJSON(e.mapParameter),supplyCenters:this.getCentersJson(e.supplyCenters)},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getCentersJson",value:function(e){for(var t="[",n=e?e.length:0,r=0;r<n;r++)0<r&&(t+=","),t+=D.toJSON(e[r]);return t+"]"}},{key:"toGeoJSONResult",value:function(e){var t;return e?(t=new En,e.demandResults&&(e.demandResults=t.toGeoJSON(e.demandResults)),e.supplyResults&&(e.supplyResults=t.toGeoJSON(e.supplyResults)),e):null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Eb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Eb((w=Pb).prototype,[{key:"destroy",value:function(){this.centers=null,this.hasLeastTotalCost=null,this.isAnalyzeById=null,this.nodes=null,this.maxWeight=null,this.parameter&&(this.parameter.destroy(),this.parameter=null)}}]),Object.defineProperty(w,"prototype",{writable:!1});var Mb=Pb;function Pb(e){if(!(this instanceof Pb))throw new TypeError("Cannot call a class as a function");this.centers=null,this.hasLeastTotalCost=!1,this.isAnalyzeById=!1,this.nodes=null,this.parameter=new Y2,D.extend(this,e),this.CLASS_NAME="SuperMap.FindMTSPPathsParameters"}function kb(e){return(kb="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})(e)}function Tb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ib(){return(Ib="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=jb(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Lb(e,t){return(Lb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function jb(e){return(jb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Db=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lb(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=jb(n),t=(e=r?(e=jb(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==kb(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FindMTSPPathsService",e;throw new TypeError("Cannot call a class as a function")}return Tb((e=o).prototype,[{key:"destroy",value:function(){Ib(jb(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){var t,n;e instanceof Mb&&(t=this.getJson(e.isAnalyzeById,e.centers),n=this.getJson(e.isAnalyzeById,e.nodes),this.url=D.urlPathAppend(this.url,"mtsppath"),t={centers:t,nodes:n,parameter:D.toJSON(e.parameter),hasLeastTotalCost:e.hasLeastTotalCost},this.request({method:"GET",params:t,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getJson",value:function(e,t){var n="[",r=t?t.length:0;if(!1===e)for(var i=0;i<r;i++)0<i&&(n+=","),n+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(!0===e)for(var o=0;o<r;o++)0<o&&(n+=","),n+=t[o];return n+"]"}},{key:"toGeoJSONResult",value:function(e){var t;return e&&e.pathList?(t=new En,e.pathList.map(function(e){return e.route&&(e.route=t.toGeoJSON(e.route)),e.pathGuideItems&&(e.pathGuideItems=t.toGeoJSON(e.pathGuideItems)),e.edgeFeatures&&(e.edgeFeatures=t.toGeoJSON(e.edgeFeatures)),e.nodeFeatures&&(e.nodeFeatures=t.toGeoJSON(e.nodeFeatures)),e}),e):null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Bb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Bb((w=Nb).prototype,[{key:"destroy",value:function(){this.isAnalyzeById=null,this.hasLeastEdgeCount=null,this.nodes=null,this.parameter&&(this.parameter.destroy(),this.parameter=null)}}]),Object.defineProperty(w,"prototype",{writable:!1});var Rb=Nb;function Nb(e){if(!(this instanceof Nb))throw new TypeError("Cannot call a class as a function");this.isAnalyzeById=!1,this.hasLeastEdgeCount=null,this.nodes=null,this.parameter=new Y2,D.extend(this,e),this.CLASS_NAME="SuperMap.FindPathParameters"}function zb(e){return(zb="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})(e)}function Fb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vb(){return(Vb="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Yb(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Hb(e,t){return(Hb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Yb(e){return(Yb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Gb=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hb(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Yb(n),t=(e=r?(e=Yb(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==zb(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FindPathService",e;throw new TypeError("Cannot call a class as a function")}return Fb((e=o).prototype,[{key:"destroy",value:function(){Vb(Yb(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof Rb&&(this.url=D.urlPathAppend(this.url,"path"),e={hasLeastEdgeCount:e.hasLeastEdgeCount,parameter:D.toJSON(e.parameter),nodes:this.getJson(e.isAnalyzeById,e.nodes)},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getJson",value:function(e,t){var n="[",r=t?t.length:0;if(!1===e)for(var i=0;i<r;i++)0<i&&(n+=","),n+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(!0===e)for(var o=0;o<r;o++)0<o&&(n+=","),n+=t[o];return n+"]"}},{key:"toGeoJSONResult",value:function(e){var t;return!e||!e.pathList||e.pathList.length<1?null:(t=new En,e.pathList.forEach(function(e){e.route&&(e.route=t.toGeoJSON(e.route)),e.pathGuideItems&&(e.pathGuideItems=t.toGeoJSON(e.pathGuideItems)),e.edgeFeatures&&(e.edgeFeatures=t.toGeoJSON(e.edgeFeatures)),e.nodeFeatures&&(e.nodeFeatures=t.toGeoJSON(e.nodeFeatures))}),e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Ub(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ub((w=Wb).prototype,[{key:"destroy",value:function(){this.isAnalyzeById=null,this.isCenterMutuallyExclusive=null,this.centers=null,this.isFromCenter=null,this.weights=null,this.parameter&&(this.parameter.destroy(),this.parameter=null)}}]),Object.defineProperty(w,"prototype",{writable:!1});var Qb=Wb;function Wb(e){if(!(this instanceof Wb))throw new TypeError("Cannot call a class as a function");this.isAnalyzeById=!1,this.isCenterMutuallyExclusive=!1,this.centers=null,this.isFromCenter=!1,this.weights=null,this.parameter=new Y2,D.extend(this,e),this.CLASS_NAME="SuperMap.FindServiceAreasParameters"}function qb(e){return(qb="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})(e)}function Kb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xb(){return(Xb="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$b(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Jb(e,t){return(Jb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $b(e){return($b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zb=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jb(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=$b(n),t=(e=r?(e=$b(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==qb(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FindServiceAreasService",e;throw new TypeError("Cannot call a class as a function")}return Kb((e=o).prototype,[{key:"destroy",value:function(){Xb($b(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof Qb&&(this.url=D.urlPathAppend(this.url,"servicearea"),e={isFromCenter:e.isFromCenter,isCenterMutuallyExclusive:e.isCenterMutuallyExclusive,parameter:D.toJSON(e.parameter),centers:this.getJson(e.isAnalyzeById,e.centers),weights:this.getJson(!0,e.weights)},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getJson",value:function(e,t){var n="[",r=t?t.length:0;if(!1===e)for(var i=0;i<r;i++)0<i&&(n+=","),n+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(!0===e)for(var o=0;o<r;o++)0<o&&(n+=","),n+=t[o];return n+"]"}},{key:"toGeoJSONResult",value:function(e){var t;return e&&e.serviceAreaList&&(t=new En,e.serviceAreaList.map(function(e){return e.serviceRegion&&(e.serviceRegion=t.toGeoJSON(e.serviceRegion)),e.edgeFeatures&&(e.edgeFeatures=t.toGeoJSON(e.edgeFeatures)),e.nodeFeatures&&(e.nodeFeatures=t.toGeoJSON(e.nodeFeatures)),e.routes&&(e.routes=t.toGeoJSON(e.routes)),e})),e}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function e4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e4((w=n4).prototype,[{key:"destroy",value:function(){this.endNodeAssigned=null,this.isAnalyzeById=null,this.nodes=null,this.parameter&&(this.parameter.destroy(),this.parameter=null)}}]),Object.defineProperty(w,"prototype",{writable:!1});var t4=n4;function n4(e){if(!(this instanceof n4))throw new TypeError("Cannot call a class as a function");this.endNodeAssigned=!1,this.isAnalyzeById=!1,this.nodes=null,this.parameter=new Y2,D.extend(this,e),this.CLASS_NAME="SuperMap.FindTSPPathsParameters"}function r4(e){return(r4="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})(e)}function i4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o4(){return(o4="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s4(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function a4(e,t){return(a4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s4(e){return(s4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l4=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a4(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=s4(n),t=(e=r?(e=s4(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==r4(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FindTSPPathsService",e;throw new TypeError("Cannot call a class as a function")}return i4((e=o).prototype,[{key:"destroy",value:function(){o4(s4(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof t4&&(this.url=D.urlPathAppend(this.url,"tsppath"),e={parameter:D.toJSON(e.parameter),endNodeAssigned:e.endNodeAssigned,nodes:this.getNodesJson(e)},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getNodesJson",value:function(e){var t,n,r,i,o="";if(!1===e.isAnalyzeById){for(t="[",n=0,r=(i=e.nodes).length;n<r;n++)0<n&&(t+=","),t+='{"x":'+i[n].x+',"y":'+i[n].y+"}";o+=t+="]"}else if(!0===e.isAnalyzeById){for(var a="[",s=e.nodes,l=s.length,u=0;u<l;u++)0<u&&(a+=","),a+=s[u];o+=a+="]"}return o}},{key:"toGeoJSONResult",value:function(e){var t;return e&&e.tspPathList?(t=new En,e.tspPathList.forEach(function(e){e.route&&(e.route=t.toGeoJSON(e.route)),e.pathGuideItems&&(e.pathGuideItems=t.toGeoJSON(e.pathGuideItems)),e.edgeFeatures&&(e.edgeFeatures=t.toGeoJSON(e.edgeFeatures)),e.nodeFeatures&&(e.nodeFeatures=t.toGeoJSON(e.nodeFeatures))}),e):null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function u4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}u4((w=f4).prototype,[{key:"destroy",value:function(){this.edgeId=null,this.fromNodeId=null,this.toNodeId=null,this.weightField=null,this.edgeWeight=null}}]),Object.defineProperty(w,"prototype",{writable:!1});var c4=f4;function f4(e){if(!(this instanceof f4))throw new TypeError("Cannot call a class as a function");e&&(this.edgeId="",this.fromNodeId="",this.toNodeId="",this.weightField="",this.edgeWeight="",D.extend(this,e),this.CLASS_NAME="SuperMap.UpdateEdgeWeightParameters")}function h4(e){return(h4="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})(e)}function d4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p4(){return(p4="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m4(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function y4(e,t){return(y4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m4(e){return(m4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g4=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y4(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=m4(n),t=(e=r?(e=m4(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==h4(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.UpdateEdgeWeightService",e;throw new TypeError("Cannot call a class as a function")}return d4((e=o).prototype,[{key:"destroy",value:function(){p4(m4(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){var t;e instanceof c4&&(t=this.parse(e),this.url=D.urlPathAppend(this.url,t),t=e.edgeWeight||null,this.request({method:"PUT",scope:this,data:t,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"parse",value:function(e){if(e){var t,n="";for(t in e)if(""!==e[t]&&"edgeWeight"!==e[t])switch(t){case"edgeId":n+="/edgeweight/"+e[t];break;case"fromNodeId":n+="/fromnode/"+e[t];break;case"toNodeId":n+="/tonode/"+e[t];break;case"weightField":n+="/weightfield/"+e[t]}return n}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function v4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}v4((w=_4).prototype,[{key:"destroy",value:function(){this.nodeId=null,this.fromEdgeId=null,this.toEdgeId=null,this.weightField=null,this.turnNodeWeight=null}}]),Object.defineProperty(w,"prototype",{writable:!1});var b4=_4;function _4(e){if(!(this instanceof _4))throw new TypeError("Cannot call a class as a function");e&&(this.nodeId="",this.fromEdgeId="",this.toEdgeId="",this.weightField="",this.turnNodeWeight="",D.extend(this,e),this.CLASS_NAME="SuperMap.UpdateTurnNodeWeightParameters")}function x4(e){return(x4="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})(e)}function w4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function A4(){return(A4="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=C4(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function S4(e,t){return(S4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function C4(e){return(C4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O4=function(){var e=o,t=P2;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S4(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=C4(n),t=(e=r?(e=C4(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==x4(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.UpdateTurnNodeWeightService",e;throw new TypeError("Cannot call a class as a function")}return w4((e=o).prototype,[{key:"destroy",value:function(){A4(C4(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){var t;e instanceof b4&&(t=this.parse(e),this.url=D.urlPathAppend(this.url,t),t=e.turnNodeWeight||null,this.request({method:"PUT",scope:this,data:t,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"parse",value:function(e){if(e){var t,n="";for(t in e)if(""!==e[t]&&"turnNodeWeight"!==e[t])switch(t){case"nodeId":n+="/turnnodeweight/"+e[t];break;case"fromEdgeId":n+="/fromedge/"+e[t];break;case"toEdgeId":n+="/toedge/"+e[t];break;case"weightField":n+="/weightfield/"+e[t]}return n}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function E4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}E4((w=P4).prototype,[{key:"burstPipelineAnalyst",value:function(e,t){new N2(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}},{key:"computeWeightMatrix",value:function(e,t){new Z2(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}},{key:"findClosestFacilities",value:function(e,t,n){new gb(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"streamFacilityAnalyst",value:function(e,t,n){new lb(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"findLocation",value:function(e,t,n){new Ob(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"findPath",value:function(e,t,n){new Gb(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"findTSPPaths",value:function(e,t,n){new l4(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"findMTSPPaths",value:function(e,t,n){new Db(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"findServiceAreas",value:function(e,t,n){new Zb(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"updateEdgeWeight",value:function(e,t){new g4(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}},{key:"updateTurnNodeWeight",value:function(e,t){new O4(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}}]),Object.defineProperty(w,"prototype",{writable:!1});var M4=P4;function P4(e,t){if(!(this instanceof P4))throw new TypeError("Cannot call a class as a function");this.url=e,this.options=t||{}}function k4(e){return(k4="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})(e)}function T4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I4(e,t){return(I4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function L4(e){return(L4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I4(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=L4(n),t=(e=r?(e=L4(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==k4(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._networkAnalystService=new M4(e,t),n;throw new TypeError("Cannot call a class as a function")}return T4((e=o).prototype,[{key:"burstPipelineAnalyst",value:function(e,t){e=this._processParams(e),this._networkAnalystService.burstPipelineAnalyst(e,t)}},{key:"computeWeightMatrix",value:function(e,t){e=this._processParams(e),this._networkAnalystService.computeWeightMatrix(e,t)}},{key:"findClosestFacilities",value:function(e,t,n){e=this._processParams(e),this._networkAnalystService.findClosestFacilities(e,t,n)}},{key:"streamFacilityAnalyst",value:function(e,t,n){e=this._processParams(e),this._networkAnalystService.streamFacilityAnalyst(e,t,n)}},{key:"findLocation",value:function(e,t,n){e=this._processParams(e),this._networkAnalystService.findLocation(e,t,n)}},{key:"findPath",value:function(e,t,n){e=this._processParams(e),this._networkAnalystService.findPath(e,t,n)}},{key:"findTSPPaths",value:function(e,t,n){e=this._processParams(e),this._networkAnalystService.findTSPPaths(e,t,n)}},{key:"findMTSPPaths",value:function(e,t,n){e=this._processParams(e),this._networkAnalystService.findMTSPPaths(e,t,n)}},{key:"findServiceAreas",value:function(e,t,n){e=this._processParams(e),this._networkAnalystService.findServiceAreas(e,t,n)}},{key:"updateEdgeWeight",value:function(e,t){this._networkAnalystService.updateEdgeWeight(e,t)}},{key:"updateTurnNodeWeight",value:function(e,t){this._networkAnalystService.updateTurnNodeWeight(e,t)}},{key:"_processParams",value:function(n){var r,e;return n?(r=this,n.centers&&x.isArray(n.centers)&&n.centers.map(function(e,t){return n.centers[t]=r._toPointObject(e),n.centers[t]}),n.nodes&&x.isArray(n.nodes)&&n.nodes.map(function(e,t){return n.nodes[t]=r._toPointObject(e),n.nodes[t]}),n.event&&(n.event=r._toPointObject(n.event)),n.facilities&&x.isArray(n.facilities)&&n.facilities.map(function(e,t){return n.facilities[t]=r._toPointObject(e),n.facilities[t]}),n.parameter&&n.parameter.barrierPoints&&(e=n.parameter.barrierPoints,x.isArray(e)?e.map(function(e,t){return n.parameter[t]=r._toPointObject(e),n.parameter.barrierPoints[t]}):n.parameter.barrierPoints=[e instanceof u().LngLat?{x:e.lng,y:e.lat}:e]),n):{}}},{key:"_toPointObject",value:function(e){return x.isArray(e)?{x:e[0],y:e[1]}:e instanceof u().LngLat?{x:e.lng,y:e.lat}:e instanceof u().Point?{x:e.x,y:e.y}:e}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function j4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}j4((X3=B4).prototype,[{key:"destroy",value:function(){this.edgeID=null,this.nodeID=null,this.weightName=null,this.isUncertainDirectionValid=null}}]),Object.defineProperty(X3,"prototype",{writable:!1});var D4=B4;function B4(e){if(!(this instanceof B4))throw new TypeError("Cannot call a class as a function");this.edgeID=null,this.nodeID=null,this.weightName=null,this.isUncertainDirectionValid=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.FacilityAnalyst3DParameters"}function R4(e){return(R4="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})(e)}function N4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z4(){return(z4="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=V4(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function F4(e,t){return(F4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function V4(e){return(V4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H4=function(){var e=o,t=D4;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),F4(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=V4(n),t=(e=r?(e=V4(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==R4(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).CLASS_NAME="SuperMap.FacilityAnalystSinks3DParameters",e;throw new TypeError("Cannot call a class as a function")}return N4((e=o).prototype,[{key:"destroy",value:function(){z4(V4(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Y4(e){return(Y4="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})(e)}function G4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U4(e,t){return(U4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Q4(e){return(Q4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W4=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U4(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Q4(n),t=(e=r?(e=Q4(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Y4(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FacilityAnalystSinks3DService",e;throw new TypeError("Cannot call a class as a function")}return G4((e=o).prototype,[{key:"destroy",value:function(){v.prototype.destroy.apply(this,arguments)}},{key:"processAsync",value:function(e){e instanceof H4&&(this.url=D.urlPathAppend(this.url,"sinks"),e={edgeID:e.edgeID,nodeID:e.nodeID,weightName:e.weightName,isUncertainDirectionValid:e.isUncertainDirectionValid},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function q4(e){return(q4="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})(e)}function K4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X4(){return(X4="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$4(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function J4(e,t){return(J4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $4(e){return($4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Z4=function(){var e=o,t=D4;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),J4(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=$4(n),t=(e=r?(e=$4(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==q4(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).CLASS_NAME="SuperMap.FacilityAnalystSources3DParameters",e;throw new TypeError("Cannot call a class as a function")}return K4((e=o).prototype,[{key:"destroy",value:function(){X4($4(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function e3(e){return(e3="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})(e)}function t3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n3(){return(n3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=i3(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function r3(e,t){return(r3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i3(e){return(i3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var o3=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r3(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=i3(n),t=(e=r?(e=i3(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==e3(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FacilityAnalystSources3DService",e;throw new TypeError("Cannot call a class as a function")}return t3((e=o).prototype,[{key:"destroy",value:function(){n3(i3(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof Z4&&(this.url=D.urlPathAppend(this.url,"sources"),e={edgeID:e.edgeID,nodeID:e.nodeID,weightName:e.weightName,isUncertainDirectionValid:e.isUncertainDirectionValid},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function a3(e){return(a3="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})(e)}function s3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l3(){return(l3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c3(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function u3(e,t){return(u3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c3(e){return(c3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f3=function(){var e=o,t=D4;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),u3(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=c3(n),t=(e=r?(e=c3(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==a3(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).CLASS_NAME="SuperMap.FacilityAnalystTraceup3DParameters",e;throw new TypeError("Cannot call a class as a function")}return s3((e=o).prototype,[{key:"destroy",value:function(){l3(c3(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function h3(e){return(h3="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})(e)}function d3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p3(){return(p3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m3(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function y3(e,t){return(y3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m3(e){return(m3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g3=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y3(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=m3(n),t=(e=r?(e=m3(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==h3(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FacilityAnalystTraceup3DService",e;throw new TypeError("Cannot call a class as a function")}return d3((e=o).prototype,[{key:"destroy",value:function(){p3(m3(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof f3&&(this.url=D.urlPathAppend(this.url,"traceupresult"),e={edgeID:e.edgeID,nodeID:e.nodeID,weightName:e.weightName,isUncertainDirectionValid:e.isUncertainDirectionValid},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function v3(e){return(v3="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})(e)}function b3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _3(){return(_3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=w3(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function x3(e,t){return(x3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w3(e){return(w3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A3=function(){var e=o,t=D4;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),x3(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=w3(n),t=(e=r?(e=w3(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==v3(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).CLASS_NAME="SuperMap.FacilityAnalystTracedown3DParameters",e;throw new TypeError("Cannot call a class as a function")}return b3((e=o).prototype,[{key:"destroy",value:function(){_3(w3(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function S3(e){return(S3="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})(e)}function C3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O3(){return(O3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=M3(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function E3(e,t){return(E3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function M3(e){return(M3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P3=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E3(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=M3(n),t=(e=r?(e=M3(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==S3(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FacilityAnalystTracedown3DService",e;throw new TypeError("Cannot call a class as a function")}return C3((e=o).prototype,[{key:"destroy",value:function(){O3(M3(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof A3&&(this.url=D.urlPathAppend(this.url,"tracedownresult"),e={edgeID:e.edgeID,nodeID:e.nodeID,weightName:e.weightName,isUncertainDirectionValid:e.isUncertainDirectionValid},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function k3(e){return(k3="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})(e)}function T3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I3(){return(I3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=D3(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function L3(e,t){return(L3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function j3(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D3(e){return(D3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var B3=function(){var e=o,t=D4;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),L3(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=D3(n),t=(e=r?(e=D3(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===k3(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return j3(t)};function o(e){var t;if(this instanceof o)return t=i.call(this,e),e=e||{},t.sourceNodeIDs=null,D.extend(j3(t),e),t.CLASS_NAME="SuperMap.FacilityAnalystUpstream3DParameters",t;throw new TypeError("Cannot call a class as a function")}return T3((e=o).prototype,[{key:"destroy",value:function(){I3(D3(o.prototype),"destroy",this).call(this),this.sourceNodeIDs=null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function R3(e){return(R3="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})(e)}function N3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z3(){return(z3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=V3(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function F3(e,t){return(F3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function V3(e){return(V3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H3=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F3(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=V3(n),t=(e=r?(e=V3(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==R3(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.FacilityAnalystUpstream3DService",e;throw new TypeError("Cannot call a class as a function")}return N3((e=o).prototype,[{key:"destroy",value:function(){z3(V3(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof B3&&(this.url=D.urlPathAppend(this.url,"upstreamcirticalfaclilities"),e={sourceNodeIDs:e.sourceNodeIDs,edgeID:e.edgeID,nodeID:e.nodeID,isUncertainDirectionValid:e.isUncertainDirectionValid},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Y3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Y3((X3=U3).prototype,[{key:"sinksFacilityAnalyst",value:function(e,t){new W4(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}},{key:"sourcesFacilityAnalyst",value:function(e,t){new o3(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}},{key:"traceUpFacilityAnalyst",value:function(e,t){new g3(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}},{key:"traceDownFacilityAnalyst",value:function(e,t){new P3(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}},{key:"upstreamFacilityAnalyst",value:function(e,t){new H3(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}}]),Object.defineProperty(X3,"prototype",{writable:!1});var G3=U3;function U3(e,t){if(!(this instanceof U3))throw new TypeError("Cannot call a class as a function");this.url=e,this.options=t||{}}function Q3(e){return(Q3="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})(e)}function W3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function q3(e,t){return(q3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function K3(e){return(K3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var X3=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&q3(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=K3(n),t=(e=r?(e=K3(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Q3(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._networkAnalyst3DService=new G3(e,t),n;throw new TypeError("Cannot call a class as a function")}return W3((e=o).prototype,[{key:"sinksFacilityAnalyst",value:function(e,t){this._networkAnalyst3DService.sinksFacilityAnalyst(e,t)}},{key:"sourcesFacilityAnalyst",value:function(e,t){this._networkAnalyst3DService.sourcesFacilityAnalyst(e,t)}},{key:"traceUpFacilityAnalyst",value:function(e,t){this._networkAnalyst3DService.traceUpFacilityAnalyst(e,t)}},{key:"traceDownFacilityAnalyst",value:function(e,t){this._networkAnalyst3DService.traceDownFacilityAnalyst(e,t)}},{key:"upstreamFacilityAnalyst",value:function(e,t){this._networkAnalyst3DService.upstreamFacilityAnalyst(e,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function J3(e){return(J3="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})(e)}function $3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Z3(){return(Z3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=t8(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function e8(e,t){return(e8=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function t8(e){return(t8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var n8=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&e8(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=t8(n),t=(e=r?(e=t8(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==J3(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(t=t||{}).EVENT_TYPES=["processCompleted","processFailed","processRunning"],(e=i.call(this,e,t)).CLASS_NAME="SuperMap.ProcessingServiceBase",e;throw new TypeError("Cannot call a class as a function")}return $3((e=o).prototype,[{key:"destroy",value:function(){Z3(t8(o.prototype),"destroy",this).call(this)}},{key:"getJobs",value:function(e){var t=this;d.get(bf.appendCredential(e),null,{proxy:t.proxy}).then(function(e){return e.json()}).then(function(e){t.events.triggerEvent("processCompleted",{result:e})}).catch(function(e){t.eventListeners.processFailed({error:e})})}},{key:"addJob",value:function(e,t,n,r){var i=this,o=null,n=(t&&t instanceof n&&(o=new Object,n.toObject(t,o)),Object.assign({"Content-Type":"application/x-www-form-urlencoded"},i.headers||{})),t={proxy:i.proxy,headers:n,withCredentials:i.withCredentials,crossOrigin:i.crossOrigin,isInTheSameDomain:i.isInTheSameDomain};d.post(bf.appendCredential(e),JSON.stringify(o),t).then(function(e){return e.json()}).then(function(e){e.succeed?i.serviceProcessCompleted(e,r):i.serviceProcessFailed(e)}).catch(function(e){i.serviceProcessFailed({error:e})})}},{key:"serviceProcessCompleted",value:function(e,t){e=D.transformResult(e),t=t||1e3;var n,r=this;e&&(n=setInterval(function(){d.get(bf.appendCredential(e.newResourceLocation),{_t:(new Date).getTime()}).then(function(e){return e.json()}).then(function(e){r.events.triggerEvent("processRunning",{id:e.id,state:e.state}),"LOST"!==e.state.runState&&"KILLED"!==e.state.runState&&"FAILED"!==e.state.runState||(clearInterval(n),r.events.triggerEvent("processFailed",{error:e.state.errorMsg,state:e.state.runState})),"FINISHED"===e.state.runState&&e.setting.serviceInfo&&(clearInterval(n),r.events.triggerEvent("processCompleted",{result:e}))}).catch(function(e){clearInterval(n),r.events.triggerEvent("processFailed",{error:e})})},t))}},{key:"serviceProcessFailed",value:function(e){Z3(t8(o.prototype),"serviceProcessFailed",this).call(this,e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function r8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}r8((O=o8).prototype,[{key:"destroy",value:function(){var e=this;e.alias=null,e.connect=null,e.dataBase=null,e.driver=null,e.engineType=null,e.exclusive=null,e.OpenLinkTable=null,e.password=null,e.readOnly=null,e.server=null,e.user=null}}]),Object.defineProperty(O,"prototype",{writable:!1});var i8=o8;function o8(e){if(!(this instanceof o8))throw new TypeError("Cannot call a class as a function");this.alias=null,this.connect=null,this.dataBase=null,this.driver=null,this.engineType=null,this.exclusive=null,this.OpenLinkTable=null,this.password=null,this.readOnly=null,this.server=null,this.user=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.DatasourceConnectionInfo"}function a8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}a8((O=l8).prototype,[{key:"destroy",value:function(){this.type=null,this.datasetName=null,this.outputPath=null,this.datasourceInfo instanceof i8&&(this.datasourceInfo.destroy(),this.datasourceInfo=null)}}]),Object.defineProperty(O,"prototype",{writable:!1});var s8=l8;function l8(e){if(!(this instanceof l8))throw new TypeError("Cannot call a class as a function");this.type=$t.UDB,this.datasetName="analystResult",this.datasourceInfo=null,this.outputPath="",D.extend(this,e),this.CLASS_NAME="SuperMap.OutputSetting"}function u8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}u8((O=f8).prototype,[{key:"destroy",value:function(){var e=this;if(e.items){if(0<e.items.length)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.numericPrecision=null,e.rangeMode=null,e.rangeCount=null,e.colorGradientType=null}}]),Object.defineProperty(O,"prototype",{writable:!1});var c8=f8;function f8(e){if(!(this instanceof f8))throw new TypeError("Cannot call a class as a function");this.items=null,this.numericPrecision=1,this.rangeMode=Gt.EQUALINTERVAL,this.rangeCount="",this.colorGradientType=Ut.YELLOW_RED,D.extend(this,e),this.CLASS_NAME="SuperMap.MappingParameters"}function h8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"datasetName"!==n?"output"!==n?(t.analyst=t.analyst||{},"query"===n&&e[n]?t.analyst[n]=e[n].toBBOX():t.analyst[n]=e[n],"mappingParameters"===n&&(t.analyst[n]=t.analyst[n]||{},t.analyst.mappingParameters=e[n])):(t.output=t.output||{},t.output=e[n]):(t.input=t.input||{},t.input[n]=e[n])}}],h8((A=p8).prototype,[{key:"destroy",value:function(){this.datasetName=null,this.query=null,this.resolution=null,this.method=null,this.radius=null,this.meshType=null,this.fields=null,this.meshSizeUnit=null,this.radiusUnit=null,this.areaUnit=null,this.output instanceof s8&&(this.output.destroy(),this.output=null),this.mappingParameters instanceof c8&&(this.mappingParameters.destroy(),this.mappingParameters=null)}}]),h8(A,O),Object.defineProperty(A,"prototype",{writable:!1});var d8=p8;function p8(e){if(!(this instanceof p8))throw new TypeError("Cannot call a class as a function");e&&(this.datasetName="",this.query="",this.resolution=80,this.method=0,this.meshType=0,this.fields="",this.radius=300,this.meshSizeUnit=fn.METER,this.radiusUnit=fn.METER,this.areaUnit=cn.SQUAREMILE,this.output=null,this.mappingParameters=null,D.extend(this,e),this.CLASS_NAME="SuperMap.KernelDensityJobParameter")}function y8(e){return(y8="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})(e)}function m8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g8(){return(g8="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b8(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function v8(e,t){return(v8=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b8(e){return(b8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _8=function(){var e=o,t=n8;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v8(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=b8(n),t=(e=r?(e=b8(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==y8(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).url=D.urlPathAppend(e.url,"spatialanalyst/density"),e.CLASS_NAME="SuperMap.KernelDensityJobsService",e;throw new TypeError("Cannot call a class as a function")}return m8((e=o).prototype,[{key:"destroy",value:function(){g8(b8(o.prototype),"destroy",this).call(this)}},{key:"getKernelDensityJobs",value:function(){g8(b8(o.prototype),"getJobs",this).call(this,this.url)}},{key:"getKernelDensityJob",value:function(e){g8(b8(o.prototype),"getJobs",this).call(this,D.urlPathAppend(this.url,e))}},{key:"addKernelDensityJob",value:function(e,t){g8(b8(o.prototype),"addJob",this).call(this,this.url,e,d8,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function x8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"datasetName"!==n?"output"!==n?(t.analyst=t.analyst||{},t.analyst[n]=e[n],"mappingParameters"===n&&(t.analyst[n]=t.analyst[n]||{},t.analyst.mappingParameters=e[n])):(t.output=t.output||{},t.output=e[n]):(t.input=t.input||{},t.input[n]=e[n])}}],x8((A=A8).prototype,[{key:"destroy",value:function(){this.datasetName=null,this.datasetQuery=null,this.geometryQuery=null,this.mode=null,this.output instanceof s8&&(this.output.destroy(),this.output=null),this.mappingParameters instanceof c8&&(this.mappingParameters.destroy(),this.mappingParameters=null)}}]),x8(A,O),Object.defineProperty(A,"prototype",{writable:!1});var w8=A8;function A8(e){if(!(this instanceof A8))throw new TypeError("Cannot call a class as a function");e&&(this.datasetName="",this.datasetQuery="",this.geometryQuery="",this.mode=Bt.CONTAIN,this.output=null,this.mappingParameters=null,D.extend(this,e),this.CLASS_NAME="SuperMap.SingleObjectQueryJobsParameter")}function S8(e){return(S8="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})(e)}function C8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O8(){return(O8="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=M8(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function E8(e,t){return(E8=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function M8(e){return(M8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P8=function(){var e=o,t=n8;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E8(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=M8(n),t=(e=r?(e=M8(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==S8(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).url=D.urlPathAppend(e.url,"spatialanalyst/query"),e.CLASS_NAME="SuperMap.SingleObjectQueryJobsService",e;throw new TypeError("Cannot call a class as a function")}return C8((e=o).prototype,[{key:"destroy",value:function(){O8(M8(o.prototype),"destroy",this).call(this)}},{key:"getQueryJobs",value:function(){O8(M8(o.prototype),"getJobs",this).call(this,this.url)}},{key:"getQueryJob",value:function(e){O8(M8(o.prototype),"getJobs",this).call(this,D.urlPathAppend(this.url,e))}},{key:"addQueryJob",value:function(e,t){O8(M8(o.prototype),"addJob",this).call(this,this.url,e,w8,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function k8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"datasetName"!==n?"type"!==n?"output"!==n?("SUMMARYMESH"===e.type&&"regionDataset"!==n||"SUMMARYREGION"===e.type&&!function(e,t){for(var n=e.length;n--;)if(e[n]===t)return 1;return}(["meshType","resolution","query"],n))&&(t.analyst=t.analyst||{},"query"===n&&e[n]?t.analyst[n]=e[n].toBBOX():t.analyst[n]=e[n],"mappingParameters"===n)&&(t.analyst[n]=t.analyst[n]||{},t.analyst.mappingParameters=e[n]):(t.output=t.output||{},t.output=e[n]):t.type=e[n]:(t.input=t.input||{},t.input[n]=e[n])}}],k8((A=I8).prototype,[{key:"destroy",value:function(){this.datasetName=null,this.query=null,this.resolution=null,this.statisticModes=null,this.meshType=null,this.fields=null,this.regionDataset=null,this.type=null,this.output instanceof s8&&(this.output.destroy(),this.output=null),this.mappingParameters instanceof c8&&(this.mappingParameters.destroy(),this.mappingParameters=null)}}]),k8(A,O),Object.defineProperty(A,"prototype",{writable:!1});var T8=I8;function I8(e){if(!(this instanceof I8))throw new TypeError("Cannot call a class as a function");e&&(this.datasetName="",this.regionDataset="",this.query="",this.resolution=100,this.meshType=0,this.statisticModes=hn.AVERAGE,this.fields="",this.type=dn.SUMMARYMESH,this.output=null,this.mappingParameters=null,D.extend(this,e),this.CLASS_NAME="SuperMap.SummaryMeshJobParameter")}function L8(e){return(L8="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})(e)}function j8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D8(){return(D8="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=R8(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function B8(e,t){return(B8=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R8(e){return(R8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N8=function(){var e=o,t=n8;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B8(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=R8(n),t=(e=r?(e=R8(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==L8(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).url=D.urlPathAppend(e.url,"spatialanalyst/aggregatepoints"),e.CLASS_NAME="SuperMap.SummaryMeshJobsService",e;throw new TypeError("Cannot call a class as a function")}return j8((e=o).prototype,[{key:"destroy",value:function(){D8(R8(o.prototype),"destroy",this).call(this)}},{key:"getSummaryMeshJobs",value:function(){D8(R8(o.prototype),"getJobs",this).call(this,this.url)}},{key:"getSummaryMeshJob",value:function(e){D8(R8(o.prototype),"getJobs",this).call(this,D.urlPathAppend(this.url,e))}},{key:"addSummaryMeshJob",value:function(e,t){D8(R8(o.prototype),"addJob",this).call(this,this.url,e,T8,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function z8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"datasetName"!==n?"output"!==n?(t.analyst=t.analyst||{},t.analyst[n]=e[n],"mappingParameters"===n&&(t.analyst[n]=t.analyst[n]||{},t.analyst.mappingParameters=e[n])):(t.output=t.output||{},t.output=e[n]):(t.input=t.input||{},t.input[n]=e[n])}}],z8((A=V8).prototype,[{key:"destroy",value:function(){this.datasetName=null,this.datasetVectorClip=null,this.geometryClip=null,this.mode=null,this.output instanceof s8&&(this.output.destroy(),this.output=null),this.mappingParameters instanceof c8&&(this.mappingParameters.destroy(),this.mappingParameters=null)}}]),z8(A,O),Object.defineProperty(A,"prototype",{writable:!1});var F8=V8;function V8(e){if(!(this instanceof V8))throw new TypeError("Cannot call a class as a function");e=e||{},this.datasetName="",this.datasetVectorClip="",this.geometryClip="",this.mode=un.CLIP,this.output=null,this.mappingParameters=null,D.extend(this,e),this.CLASS_NAME="SuperMap.VectorClipJobsParameter"}function H8(e){return(H8="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})(e)}function Y8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G8(){return(G8="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Q8(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function U8(e,t){return(U8=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Q8(e){return(Q8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W8=function(){var e=o,t=n8;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U8(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Q8(n),t=(e=r?(e=Q8(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==H8(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).url=D.urlPathAppend(e.url,"spatialanalyst/vectorclip"),e.CLASS_NAME="SuperMap.VectorClipJobsService",e;throw new TypeError("Cannot call a class as a function")}return Y8((e=o).prototype,[{key:"destroy",value:function(){G8(Q8(o.prototype),"destroy",this).call(this)}},{key:"getVectorClipJobs",value:function(){G8(Q8(o.prototype),"getJobs",this).call(this,this.url)}},{key:"getVectorClipJob",value:function(e){G8(Q8(o.prototype),"getJobs",this).call(this,D.urlPathAppend(this.url,e))}},{key:"addVectorClipJob",value:function(e,t){G8(Q8(o.prototype),"addJob",this).call(this,this.url,e,F8,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function q8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"datasetName"!=n?"output"!==n?(t.analyst=t.analyst||{},t.analyst[n]=e[n],"mappingParameters"===n&&(t.analyst[n]=t.analyst[n]||{},t.analyst.mappingParameters=e[n])):(t.output=t.output||{},t.output=e[n]):(t.input=t.input||{},t.input[n]=e[n])}}],q8((A=X8).prototype,[{key:"destroy",value:function(){this.datasetName=null,this.datasetOverlay=null,this.mode=null,this.srcFields=null,this.overlayFields=null,this.output instanceof s8&&(this.output.destroy(),this.output=null),this.mappingParameters instanceof c8&&(this.mappingParameters.destroy(),this.mappingParameters=null)}}]),q8(A,O),Object.defineProperty(A,"prototype",{writable:!1});var K8=X8;function X8(e){if(!(this instanceof X8))throw new TypeError("Cannot call a class as a function");e&&(this.datasetName="",this.datasetOverlay="",this.mode="",this.srcFields="",this.overlayFields="",this.output=null,this.mappingParameters=null,D.extend(this,e),this.CLASS_NAME="SuperMap.OverlayGeoJobParameter")}function J8(e){return(J8="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})(e)}function $8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Z8(){return(Z8="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=t6(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function e6(e,t){return(e6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function t6(e){return(t6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var n6=function(){var e=o,t=n8;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&e6(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=t6(n),t=(e=r?(e=t6(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==J8(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).url=D.urlPathAppend(e.url,"spatialanalyst/overlay"),e.CLASS_NAME="SuperMap.OverlayGeoJobsService",e;throw new TypeError("Cannot call a class as a function")}return $8((e=o).prototype,[{key:"destroy",value:function(){Z8(t6(o.prototype),"destroy",this).call(this)}},{key:"getOverlayGeoJobs",value:function(){Z8(t6(o.prototype),"getJobs",this).call(this,this.url)}},{key:"getOverlayGeoJob",value:function(e){Z8(t6(o.prototype),"getJobs",this).call(this,D.urlPathAppend(this.url,e))}},{key:"addOverlayGeoJob",value:function(e,t){Z8(t6(o.prototype),"addJob",this).call(this,this.url,e,K8,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function r6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"datasetName"!==n?"type"!==n?"output"!==n?("SUMMARYREGION"===e.type||"SUMMARYMESH"===e.type&&"regionDataset"!==n)&&(t.analyst=t.analyst||{},"query"===n&&e[n]?t.analyst[n]=e[n].toBBOX():t.analyst[n]=e[n],"mappingParameters"===n)&&(t.analyst[n]=t.analyst[n]||{},t.analyst.mappingParameters=e[n]):(t.output=t.output||{},t.output=e[n]):t.type=e[n]:(t.input=t.input||{},t.input[n]=e[n])}}],r6((A=o6).prototype,[{key:"destroy",value:function(){this.datasetName=null,this.sumShape=null,this.regionDataset=null,this.query=null,this.standardSummaryFields=null,this.standardFields=null,this.standardStatisticModes=null,this.weightedSummaryFields=null,this.weightedFields=null,this.weightedStatisticModes=null,this.meshType=null,this.resolution=null,this.meshSizeUnit=null,this.type=null,this.output instanceof s8&&(this.output.destroy(),this.output=null),this.mappingParameters instanceof c8&&(this.mappingParameters.destroy(),this.mappingParameters=null)}}]),r6(A,O),Object.defineProperty(A,"prototype",{writable:!1});var i6=o6;function o6(e){if(!(this instanceof o6))throw new TypeError("Cannot call a class as a function");e&&(this.datasetName="",this.regionDataset="",this.sumShape=!0,this.query="",this.standardSummaryFields=!1,this.standardFields="",this.standardStatisticModes="",this.weightedSummaryFields=!1,this.weightedFields="",this.weightedStatisticModes="",this.meshType=0,this.resolution=100,this.meshSizeUnit=fn.METER,this.type=dn.SUMMARYMESH,this.output=null,this.mappingParameters=null,D.extend(this,e),this.CLASS_NAME="SuperMap.SummaryRegionJobParameter")}function a6(e){return(a6="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})(e)}function s6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l6(){return(l6="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c6(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function u6(e,t){return(u6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c6(e){return(c6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f6=function(){var e=o,t=n8;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u6(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=c6(n),t=(e=r?(e=c6(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==a6(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).url=D.urlPathAppend(e.url,"spatialanalyst/summaryregion"),e.CLASS_NAME="SuperMap.SummaryRegionJobsService",e;throw new TypeError("Cannot call a class as a function")}return s6((e=o).prototype,[{key:"destroy",value:function(){l6(c6(o.prototype),"destroy",this).call(this)}},{key:"getSummaryRegionJobs",value:function(){l6(c6(o.prototype),"getJobs",this).call(this,this.url)}},{key:"getSummaryRegionJob",value:function(e){l6(c6(o.prototype),"getJobs",this).call(this,D.urlPathAppend(this.url,e))}},{key:"addSummaryRegionJob",value:function(e,t){l6(c6(o.prototype),"addJob",this).call(this,this.url,e,i6,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function h6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"datasetName"!==n?"output"!==n?(t.analyst=t.analyst||{},"bounds"===n&&e[n]?t.analyst[n]=e[n].toBBOX():t.analyst[n]=e[n],"mappingParameters"===n&&(t.analyst[n]=t.analyst[n]||{},t.analyst.mappingParameters=e[n])):(t.output=t.output||{},t.output=e[n]):(t.input=t.input||{},t.input[n]=e[n])}}],h6((A=p6).prototype,[{key:"destroy",value:function(){this.datasetName=null,this.bounds=null,this.distance=null,this.distanceField=null,this.distanceUnit=null,this.dissolveField=null,this.output instanceof s8&&(this.output.destroy(),this.output=null),this.mappingParameters instanceof c8&&(this.mappingParameters.destroy(),this.mappingParameters=null)}}]),h6(A,O),Object.defineProperty(A,"prototype",{writable:!1});var d6=p6;function p6(e){if(!(this instanceof p6))throw new TypeError("Cannot call a class as a function");if(this.datasetName="",this.bounds="",this.distance="",this.distanceField="",this.distanceUnit=fn.METER,this.dissolveField="",this.output=null,this.mappingParameters=null,!e)return this;D.extend(this,e),this.CLASS_NAME="SuperMap.BuffersAnalystJobsParameter"}function y6(e){return(y6="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})(e)}function m6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g6(){return(g6="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b6(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function v6(e,t){return(v6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b6(e){return(b6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _6=function(){var e=o,t=n8;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v6(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=b6(n),t=(e=r?(e=b6(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==y6(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).url=D.urlPathAppend(e.url,"spatialanalyst/buffers"),e.CLASS_NAME="SuperMap.BuffersAnalystJobsService",e;throw new TypeError("Cannot call a class as a function")}return m6((e=o).prototype,[{key:"destroy",value:function(){g6(b6(o.prototype),"destroy",this).call(this)}},{key:"getBuffersJobs",value:function(){g6(b6(o.prototype),"getJobs",this).call(this,this.url)}},{key:"getBuffersJob",value:function(e){g6(b6(o.prototype),"getJobs",this).call(this,D.urlPathAppend(this.url,e))}},{key:"addBuffersJob",value:function(e,t){g6(b6(o.prototype),"addJob",this).call(this,this.url,e,d6,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function x6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"datasetName"!==n?"output"!==n?(t.analyst=t.analyst||{},t.analyst[n]=e[n],"mappingParameters"===n&&(t.analyst[n]=t.analyst[n]||{},t.analyst.mappingParameters=e[n])):(t.output=t.output||{},t.output=e[n]):(t.input=t.input||{},t.input[n]=e[n])}}],x6((A=A6).prototype,[{key:"destroy",value:function(){this.datasetName=null,this.datasetTopology=null,this.tolerance=null,this.rule=null,this.output instanceof s8&&(this.output.destroy(),this.output=null),this.mappingParameters instanceof c8&&(this.mappingParameters.destroy(),this.mappingParameters=null)}}]),x6(A,O),Object.defineProperty(A,"prototype",{writable:!1});var w6=A6;function A6(e){if(!(this instanceof A6))throw new TypeError("Cannot call a class as a function");e&&(this.datasetName="",this.datasetTopology="",this.tolerance="",this.rule=pn.REGIONNOOVERLAP,this.output=null,this.mappingParameters=null,D.extend(this,e),this.CLASS_NAME="SuperMap.TopologyValidatorJobsParameter")}function S6(e){return(S6="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})(e)}function C6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O6(){return(O6="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=M6(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function E6(e,t){return(E6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function M6(e){return(M6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P6=function(){var e=o,t=n8;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E6(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=M6(n),t=(e=r?(e=M6(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==S6(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).url=D.urlPathAppend(e.url,"spatialanalyst/topologyvalidator"),e.CLASS_NAME="SuperMap.TopologyValidatorJobsService",e;throw new TypeError("Cannot call a class as a function")}return C6((e=o).prototype,[{key:"destroy",value:function(){O6(M6(o.prototype),"destroy",this).call(this)}},{key:"getTopologyValidatorJobs",value:function(){O6(M6(o.prototype),"getJobs",this).call(this,this.url)}},{key:"getTopologyValidatorJob",value:function(e){O6(M6(o.prototype),"getJobs",this).call(this,D.urlPathAppend(this.url,e))}},{key:"addTopologyValidatorJob",value:function(e,t){O6(M6(o.prototype),"addJob",this).call(this,this.url,e,w6,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function k6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"datasetName"!==n?"output"!==n?(t.analyst=t.analyst||{},t.analyst[n]=e[n],"mappingParameters"===n&&(t.analyst[n]=t.analyst[n]||{},t.analyst.mappingParameters=e[n])):(t.output=t.output||{},t.output=e[n]):(t.input=t.input||{},t.input[n]=e[n])}}],k6((A=I6).prototype,[{key:"destroy",value:function(){this.datasetName=null,this.groupField=null,this.attributeField=null,this.statisticModes=null,this.output instanceof s8&&(this.output.destroy(),this.output=null),this.mappingParameters instanceof c8&&(this.mappingParameters.destroy(),this.mappingParameters=null)}}]),k6(A,O),Object.defineProperty(A,"prototype",{writable:!1});var T6=I6;function I6(e){if(!(this instanceof I6))throw new TypeError("Cannot call a class as a function");e&&(this.datasetName="",this.groupField="",this.attributeField="",this.statisticModes="",this.output=null,this.mappingParameters=null,D.extend(this,e),this.CLASS_NAME="SuperMap.SummaryAttributesJobsParameter")}function L6(e){return(L6="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})(e)}function j6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D6(){return(D6="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=R6(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function B6(e,t){return(B6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R6(e){return(R6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N6=function(){var e=o,t=n8;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B6(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=R6(n),t=(e=r?(e=R6(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==L6(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).url=D.urlPathAppend(e.url,"spatialanalyst/summaryattributes"),e.CLASS_NAME="SuperMap.SummaryAttributesJobsService",e;throw new TypeError("Cannot call a class as a function")}return j6((e=o).prototype,[{key:"destroy",value:function(){D6(R6(o.prototype),"destroy",this).call(this)}},{key:"getSummaryAttributesJobs",value:function(){D6(R6(o.prototype),"getJobs",this).call(this,this.url)}},{key:"getSummaryAttributesJob",value:function(e){D6(R6(o.prototype),"getJobs",this).call(this,D.urlPathAppend(this.url,e))}},{key:"addSummaryAttributesJob",value:function(e,t){D6(R6(o.prototype),"addJob",this).call(this,this.url,e,T6,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function z6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}z6((O=V6).prototype,[{key:"getKernelDensityJobs",value:function(e,t){t=this._processFormat(t);new _8(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e},format:t}).getKernelDensityJobs()}},{key:"getKernelDensityJob",value:function(e,t,n){n=this._processFormat(n);new _8(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).getKernelDensityJob(e)}},{key:"addKernelDensityJob",value:function(e,t,n,r){var i=this,r=i._processFormat(r);new _8(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,crossOrigin:i.options.crossOrigin,headers:i.options.headers,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.kernelDensityJobs[e.id]=e.state}},format:r}).addKernelDensityJob(e,n)}},{key:"getKernelDensityJobState",value:function(e){return this.kernelDensityJobs[e]}},{key:"getSummaryMeshJobs",value:function(e,t){t=this._processFormat(t);new N8(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e},format:t}).getSummaryMeshJobs()}},{key:"getSummaryMeshJob",value:function(e,t,n){n=this._processFormat(n);new N8(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).getSummaryMeshJob(e)}},{key:"addSummaryMeshJob",value:function(e,t,n,r){var i=this,r=i._processFormat(r);new N8(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,crossOrigin:i.options.crossOrigin,headers:i.options.headers,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.summaryMeshJobs[e.id]=e.state}},format:r}).addSummaryMeshJob(e,n)}},{key:"getSummaryMeshJobState",value:function(e){return this.summaryMeshJobs[e]}},{key:"getQueryJobs",value:function(e,t){t=this._processFormat(t);new P8(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e},format:t}).getQueryJobs()}},{key:"getQueryJob",value:function(e,t,n){n=this._processFormat(n);new P8(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).getQueryJob(e)}},{key:"addQueryJob",value:function(e,t,n,r){var i=this,r=i._processFormat(r);new P8(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,crossOrigin:i.options.crossOrigin,headers:i.options.headers,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.queryJobs[e.id]=e.state}},format:r}).addQueryJob(e,n)}},{key:"getQueryJobState",value:function(e){return this.queryJobs[e]}},{key:"getSummaryRegionJobs",value:function(e,t){t=this._processFormat(t);new f6(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e},format:t}).getSummaryRegionJobs()}},{key:"getSummaryRegionJob",value:function(e,t,n){n=this._processFormat(n);new f6(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).getSummaryRegionJob(e)}},{key:"addSummaryRegionJob",value:function(e,t,n,r){var i=this,r=i._processFormat(r);new f6(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,crossOrigin:i.options.crossOrigin,headers:i.options.headers,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.summaryRegionJobs[e.id]=e.state}},format:r}).addSummaryRegionJob(e,n)}},{key:"getSummaryRegionJobState",value:function(e){return this.summaryRegionJobs[e]}},{key:"getVectorClipJobs",value:function(e,t){t=this._processFormat(t);new W8(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e},format:t}).getVectorClipJobs()}},{key:"getVectorClipJob",value:function(e,t,n){n=this._processFormat(n);new W8(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).getVectorClipJob(e)}},{key:"addVectorClipJob",value:function(e,t,n,r){var i=this,r=i._processFormat(r);new W8(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,crossOrigin:i.options.crossOrigin,headers:i.options.headers,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.vectorClipJobs[e.id]=e.state}},format:r}).addVectorClipJob(e,n)}},{key:"getVectorClipJobState",value:function(e){return this.vectorClipJobs[e]}},{key:"getOverlayGeoJobs",value:function(e,t){t=this._processFormat(t);new n6(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e},format:t}).getOverlayGeoJobs()}},{key:"getOverlayGeoJob",value:function(e,t,n){n=this._processFormat(n);new n6(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).getOverlayGeoJob(e)}},{key:"addOverlayGeoJob",value:function(e,t,n,r){var i=this,r=i._processFormat(r);new n6(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,crossOrigin:i.options.crossOrigin,headers:i.options.headers,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.overlayGeoJobs[e.id]=e.state}},format:r}).addOverlayGeoJob(e,n)}},{key:"getoverlayGeoJobState",value:function(e){return this.overlayGeoJobs[e]}},{key:"getBuffersJobs",value:function(e,t){t=this._processFormat(t);new _6(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e},format:t}).getBuffersJobs()}},{key:"getBuffersJob",value:function(e,t,n){n=this._processFormat(n);new _6(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).getBuffersJob(e)}},{key:"addBuffersJob",value:function(e,t,n,r){var i=this,r=i._processFormat(r);new _6(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,crossOrigin:i.options.crossOrigin,headers:i.options.headers,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.buffersJobs[e.id]=e.state}},format:r}).addBuffersJob(e,n)}},{key:"getBuffersJobState",value:function(e){return this.buffersJobs[e]}},{key:"getTopologyValidatorJobs",value:function(e,t){t=this._processFormat(t);new P6(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e},format:t}).getTopologyValidatorJobs()}},{key:"getTopologyValidatorJob",value:function(e,t,n){n=this._processFormat(n);new P6(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).getTopologyValidatorJob(e)}},{key:"addTopologyValidatorJob",value:function(e,t,n,r){var i=this,r=i._processFormat(r);new P6(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,crossOrigin:i.options.crossOrigin,headers:i.options.headers,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.topologyValidatorJobs[e.id]=e.state}},format:r}).addTopologyValidatorJob(e,n)}},{key:"getTopologyValidatorJobState",value:function(e){return this.topologyValidatorJobs[e]}},{key:"getSummaryAttributesJobs",value:function(e,t){t=this._processFormat(t);new N6(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:e,processFailed:e},format:t}).getSummaryAttributesJobs()}},{key:"getSummaryAttributesJob",value:function(e,t,n){n=this._processFormat(n);new N6(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).getSummaryAttributesJob(e)}},{key:"addSummaryAttributesJob",value:function(e,t,n,r){var i=this,r=i._processFormat(r);new N6(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,crossOrigin:i.options.crossOrigin,headers:i.options.headers,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.summaryAttributesJobs[e.id]=e.state}},format:r}).addSummaryAttributesJob(e,n)}},{key:"getSummaryAttributesJobState",value:function(e){return this.summaryAttributesJobs[e]}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}}]),Object.defineProperty(O,"prototype",{writable:!1});var F6=V6;function V6(e,t){if(!(this instanceof V6))throw new TypeError("Cannot call a class as a function");this.url=e,this.options=t||{},this.kernelDensityJobs={},this.summaryMeshJobs={},this.queryJobs={},this.summaryRegionJobs={},this.vectorClipJobs={},this.overlayGeoJobs={},this.buffersJobs={},this.topologyValidatorJobs={},this.summaryAttributesJobs={}}function H6(e){return(H6="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})(e)}function Y6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G6(e,t){return(G6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function U6(e){return(U6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&G6(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=U6(n),t=(e=r?(e=U6(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==H6(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._processingService=new F6(e,t),n;throw new TypeError("Cannot call a class as a function")}return Y6((e=o).prototype,[{key:"getKernelDensityJobs",value:function(e,t){this._processingService.getKernelDensityJobs(e,t)}},{key:"getKernelDensityJob",value:function(e,t,n){this._processingService.getKernelDensityJob(e,t,n)}},{key:"addKernelDensityJob",value:function(e,t,n,r){e=this._processParams(e),this._processingService.addKernelDensityJob(e,t,n,r)}},{key:"getKernelDensityJobState",value:function(e){return this._processingService.getKernelDensityJobState(e)}},{key:"getSummaryMeshJobs",value:function(e,t){this._processingService.getSummaryMeshJobs(e,t)}},{key:"getSummaryMeshJob",value:function(e,t,n){this._processingService.getSummaryMeshJob(e,t,n)}},{key:"addSummaryMeshJob",value:function(e,t,n,r){e=this._processParams(e),this._processingService.addSummaryMeshJob(e,t,n,r)}},{key:"getSummaryMeshJobState",value:function(e){return this._processingService.getSummaryMeshJobState(e)}},{key:"getQueryJobs",value:function(e,t){this._processingService.getQueryJobs(e,t)}},{key:"getQueryJob",value:function(e,t,n){this._processingService.getQueryJob(e,t,n)}},{key:"addQueryJob",value:function(e,t,n,r){e=this._processParams(e),this._processingService.addQueryJob(e,t,n,r)}},{key:"getQueryJobState",value:function(e){return this._processingService.getQueryJobState(e)}},{key:"getSummaryRegionJobs",value:function(e,t){this._processingService.getSummaryRegionJobs(e,t)}},{key:"getSummaryRegionJob",value:function(e,t,n){this._processingService.getSummaryRegionJob(e,t,n)}},{key:"addSummaryRegionJob",value:function(e,t,n,r){e=this._processParams(e),this._processingService.addSummaryRegionJob(e,t,n,r)}},{key:"getSummaryRegionJobState",value:function(e){return this._processingService.getSummaryRegionJobState(e)}},{key:"getVectorClipJobs",value:function(e,t){this._processingService.getVectorClipJobs(e,t)}},{key:"getVectorClipJob",value:function(e,t,n){this._processingService.getVectorClipJob(e,t,n)}},{key:"addVectorClipJob",value:function(e,t,n,r){e=this._processParams(e),this._processingService.addVectorClipJob(e,t,n,r)}},{key:"getVectorClipJobState",value:function(e){return this._processingService.getVectorClipJobState(e)}},{key:"getOverlayGeoJobs",value:function(e,t){this._processingService.getOverlayGeoJobs(e,t)}},{key:"getOverlayGeoJob",value:function(e,t,n){this._processingService.getOverlayGeoJob(e,t,n)}},{key:"addOverlayGeoJob",value:function(e,t,n,r){e=this._processParams(e),this._processingService.addOverlayGeoJob(e,t,n,r)}},{key:"getoverlayGeoJobState",value:function(e){return this._processingService.getoverlayGeoJobState(e)}},{key:"getBuffersJobs",value:function(e,t){this._processingService.getBuffersJobs(e,t)}},{key:"getBuffersJob",value:function(e,t,n){this._processingService.getBuffersJob(e,t,n)}},{key:"addBuffersJob",value:function(e,t,n,r){e=this._processParams(e),this._processingService.addBuffersJob(e,t,n,r)}},{key:"getBuffersJobState",value:function(e){return this._processingService.getBuffersJobState(e)}},{key:"getTopologyValidatorJobs",value:function(e,t){this._processingService.getTopologyValidatorJobs(e,t)}},{key:"getTopologyValidatorJob",value:function(e,t,n){this._processingService.getTopologyValidatorJob(e,t,n)}},{key:"addTopologyValidatorJob",value:function(e,t,n,r){e=this._processParams(e),this._processingService.addTopologyValidatorJob(e,t,n,r)}},{key:"getTopologyValidatorJobState",value:function(e){return this._processingService.getTopologyValidatorJobState(e)}},{key:"getSummaryAttributesJobs",value:function(e,t){this._processingService.getSummaryAttributesJobs(e,t)}},{key:"getSummaryAttributesJob",value:function(e,t,n){this._processingService.getSummaryAttributesJob(e,t,n)}},{key:"addSummaryAttributesJob",value:function(e,t,n,r){e=this._processParams(e),this._processingService.addSummaryAttributesJob(e,t,n,r)}},{key:"getSummaryAttributesJobState",value:function(e){return this._processingService.getSummaryAttributesJobState(e)}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}},{key:"_processParams",value:function(e){return e?(e.bounds&&(e.bounds=x.toSuperMapBounds(e.bounds)),e.query&&(e.query=x.toSuperMapBounds(e.query)),e.geometryQuery&&(e.geometryQuery=x.toProcessingParam(e.geometryQuery)),e.geometryClip&&(e.geometryClip=x.toProcessingParam(e.geometryClip)),e):{}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Q6(e){return(Q6="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})(e)}function W6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function q6(){return(q6="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$6(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function K6(e,t){return(K6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function X6(e,t){if(t&&("object"===Q6(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return J6(e)}function J6(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $6(e){return($6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Z6=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&K6(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=$6(n);return X6(this,r?(e=$6(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).returnContent=!1,e.format=a.GEOJSON,e.returnFeatureWithFieldCaption=!1,t&&D.extend(J6(e),t),e.CLASS_NAME="SuperMap.QueryService",e.url?(t&&t.format&&(e.format=t.format.toUpperCase()),e.url=D.urlPathAppend(e.url,"queryResults"),e):X6(e);throw new TypeError("Cannot call a class as a function")}return W6((e=o).prototype,[{key:"destroy",value:function(){q6($6(o.prototype),"destroy",this).call(this),this.returnContent=null,this.format=null}},{key:"processAsync",value:function(e){var t,n,r;e instanceof Cd&&(r=null,(n=this).returnContent=e.returnContent,t=n.getJsonParameters(e),n.returnContent||(r=e.returnCustomResult)&&(n.url=D.urlAppend(n.url,"returnCustomResult="+r)),n.returnFeatureWithFieldCaption=e.returnFeatureWithFieldCaption,n.request({method:"POST",data:t,scope:n,success:n.serviceProcessCompleted,failure:n.serviceProcessFailed}))}},{key:"serviceProcessCompleted",value:function(e,t){e=D.transformResult(e);var n=new En;if(e&&e.recordsets)for(var r=0,i=e.recordsets,o=i.length;r<o;r++)i[r].features&&(!0===this.returnFeatureWithFieldCaption&&i[r].features.map(function(e){return e.fieldNames=i[r].fieldCaptions,e}),this.format===a.GEOJSON)&&(i[r].features=n.toGeoJSON(i[r].features));this.events.triggerEvent("processCompleted",{result:e,options:t})}},{key:"dataFormat",value:function(){return[a.GEOJSON,a.ISERVER,a.FGB]}},{key:"getQueryParameters",value:function(e){return new Cd({customParams:e.customParams,expectCount:e.expectCount,networkType:e.networkType,queryOption:e.queryOption,queryParams:e.queryParams,startRecord:e.startRecord,prjCoordSys:e.prjCoordSys,holdTime:e.holdTime})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function e_(e){return(e_="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})(e)}function t_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n_(){return(n_="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o_(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function r_(e,t){return(r_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i_(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o_(e){return(o_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var a_=function(){var e=o,t=Cd;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r_(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=o_(n),t=(e=r?(e=o_(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===e_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return i_(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e=e||{})).returnContent=!0,t.bounds=null,D.extend(i_(t),e),t.CLASS_NAME="SuperMap.QueryByBoundsParameters",t;throw new TypeError("Cannot call a class as a function")}return t_((e=o).prototype,[{key:"destroy",value:function(){n_(o_(o.prototype),"destroy",this).call(this),this.returnContent=null,this.bounds&&(this.bounds=null)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function s_(e){return(s_="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})(e)}function l_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u_(){return(u_="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f_(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function c_(e,t){return(c_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f_(e){return(f_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h_=function(){var e=o,t=Z6;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c_(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=f_(n),t=(e=r?(e=f_(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==s_(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.QueryByBoundsService",e;throw new TypeError("Cannot call a class as a function")}return l_((e=o).prototype,[{key:"destroy",value:function(){u_(f_(o.prototype),"destroy",this).call(this)}},{key:"getJsonParameters",value:function(e){var t,n;return e instanceof a_?(t="",n=e.bounds,e=this.getQueryParameters(e),"{"+(t=(t+="'queryMode':'BoundsQuery','queryParameters':")+D.toJSON(e))+(",'bounds': {'rightTop':{'y':"+n.top+",'x':"+n.right+"},'leftBottom':{'y':"+n.bottom+",'x':"+n.left)+"}}}"):null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function d_(e){return(d_="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})(e)}function p_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y_(){return(y_="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v_(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function m_(e,t){return(m_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(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 v_(e){return(v_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b_=function(){var e=o,t=Cd;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m_(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=v_(n),t=(e=r?(e=v_(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===d_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return g_(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e=e||{})).geometry=null,t.isNearest=null,t.returnContent=!0,D.extend(g_(t),e),t.CLASS_NAME="SuperMap.QueryByDistanceParameters",t;throw new TypeError("Cannot call a class as a function")}return p_((e=o).prototype,[{key:"destroy",value:function(){y_(v_(o.prototype),"destroy",this).call(this);this.returnContent=null,this.distance=null,this.isNearest=null,this.geometry&&(this.geometry.destroy(),this.geometry=null)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function __(e){return(__="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})(e)}function x_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w_(){return(w_="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=S_(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function A_(e,t){return(A_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function S_(e){return(S_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C_=function(){var e=o,t=Z6;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&A_(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=S_(n),t=(e=r?(e=S_(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==__(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.QueryByDistanceService",e;throw new TypeError("Cannot call a class as a function")}return x_((e=o).prototype,[{key:"destroy",value:function(){w_(S_(o.prototype),"destroy",this).call(this)}},{key:"getJsonParameters",value:function(e){var t,n,r;if(e instanceof b_)return t="",n=this.getQueryParameters(e),r=s.fromGeometry(e.geometry),"{"+(t=(t+=e.isNearest?"'queryMode':'FindNearest','queryParameters':":"'queryMode':'DistanceQuery','queryParameters':")+D.toJSON(n))+(",'geometry':"+D.toJSON(r)+",'distance':"+e.distance)+"}"}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function O_(e){return(O_="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})(e)}function E_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M_(){return(M_="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=T_(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function P_(e,t){return(P_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function k_(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T_(e){return(T_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I_=function(){var e=o,t=Cd;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P_(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=T_(n),t=(e=r?(e=T_(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===O_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return k_(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e=e||{})).returnContent=!0,D.extend(k_(t),e),t.CLASS_NAME="SuperMap.QueryBySQLParameters",t;throw new TypeError("Cannot call a class as a function")}return E_((e=o).prototype,[{key:"destroy",value:function(){M_(T_(o.prototype),"destroy",this).call(this),this.returnContent=null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function L_(e){return(L_="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})(e)}function j_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D_(){return(D_="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=R_(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function B_(e,t){return(B_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R_(e){return(R_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N_=function(){var e=o,t=Z6;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B_(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=R_(n),t=(e=r?(e=R_(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==L_(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.QueryBySQLService",e;throw new TypeError("Cannot call a class as a function")}return j_((e=o).prototype,[{key:"destroy",value:function(){D_(R_(o.prototype),"destroy",this).call(this)}},{key:"getJsonParameters",value:function(e){var t;if(e instanceof I_)return t="",e=this.getQueryParameters(e),"{"+((t+="'queryMode':'SqlQuery','queryParameters':")+D.toJSON(e))+"}"}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function z_(e){return(z_="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})(e)}function F_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V_(){return(V_="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=G_(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function H_(e,t){return(H_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Y_(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G_(e){return(G_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var U_=function(){var e=o,t=Cd;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&H_(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=G_(n),t=(e=r?(e=G_(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===z_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Y_(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e=e||{})).returnContent=!0,t.geometry=null,t.spatialQueryMode=Bt.INTERSECT,D.extend(Y_(t),e),t.CLASS_NAME="SuperMap.QueryByGeometryParameters",t;throw new TypeError("Cannot call a class as a function")}return F_((e=o).prototype,[{key:"destroy",value:function(){V_(G_(o.prototype),"destroy",this).call(this),this.returnContent=null,this.geometry=null,this.spatialQueryMode=null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Q_(e){return(Q_="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})(e)}function W_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function q_(){return(q_="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=X_(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function K_(e,t){return(K_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function X_(e){return(X_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var J_=function(){var e=o,t=Z6;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&K_(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=X_(n),t=(e=r?(e=X_(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Q_(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.QueryByGeometryService",e;throw new TypeError("Cannot call a class as a function")}return W_((e=o).prototype,[{key:"destroy",value:function(){q_(X_(o.prototype),"destroy",this).call(this)}},{key:"getJsonParameters",value:function(e){var t,n,r;if(e instanceof U_)return t="",n=e.geometry,n=s.fromGeometry(n),r=this.getQueryParameters(e),"{"+(t+="'queryMode':'SpatialQuery','queryParameters':")+(D.toJSON(r)+",'geometry':"+D.toJSON(n)+",'spatialQueryMode':"+D.toJSON(e.spatialQueryMode))+"}"}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function $_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}$_((O=e5).prototype,[{key:"queryByBounds",value:function(e,t,n){new h_(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"queryByDistance",value:function(e,t,n){new C_(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).processAsync(e)}},{key:"queryBySQL",value:function(e,t,n){new N_(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).processAsync(e)}},{key:"queryByGeometry",value:function(e,t,n){new J_(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:n}).processAsync(e)}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}}]),Object.defineProperty(O,"prototype",{writable:!1});var Z_=e5;function e5(e,t){if(!(this instanceof e5))throw new TypeError("Cannot call a class as a function");this.options=t||{},this.url=e}function t5(e){return(t5="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})(e)}function n5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r5(e,t){return(r5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i5(e){return(i5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var o5=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r5(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=i5(n),t=(e=r?(e=i5(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==t5(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._queryService=new Z_(e,t),n;throw new TypeError("Cannot call a class as a function")}return n5((e=o).prototype,[{key:"queryByBounds",value:function(e,t,n){e=this._processParams(e),this._queryService.queryByBounds(e,t,n)}},{key:"queryByDistance",value:function(e,t,n){e=this._processParams(e),this._queryService.queryByDistance(e,t,n)}},{key:"queryBySQL",value:function(e,t,n){e=this._processParams(e),this._queryService.queryBySQL(e,t,n)}},{key:"queryByGeometry",value:function(e,t,n){e=this._processParams(e),this._queryService.queryByGeometry(e,t,n)}},{key:"_processParams",value:function(e){return e?(e.returnContent=null==e.returnContent||e.returnContent,e.queryParams&&!x.isArray(e.queryParams)&&(e.queryParams=[e.queryParams]),e.bounds&&(e.bounds instanceof Array&&(e.bounds=new S(e.bounds[0],e.bounds[1],e.bounds[2],e.bounds[3])),e.bounds instanceof u().LngLatBounds)&&(e.bounds=new S(e.bounds.getSouthWest().lng,e.bounds.getSouthWest().lat,e.bounds.getNorthEast().lng,e.bounds.getNorthEast().lat)),e.geometry&&(e.geometry instanceof u().LngLat&&(e.geometry=new P(e.geometry.lng,e.geometry.lat)),e.geometry instanceof u().Point&&(e.geometry=new P(e.geometry.x,e.geometry.y)),e.geometry instanceof u().LngLatBounds&&(e.geometry=x.toSuperMapPolygon(e.geometry)),e.geometry instanceof J||(e.geometry=x.toSuperMapGeometry(e.geometry))),e):{}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function a5(e){return(a5="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})(e)}function s5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l5(){return(l5="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c5(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function u5(e,t){return(u5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c5(e){return(c5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f5=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u5(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=c5(n),t=(e=r?(e=c5(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==a5(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).format=t.format||a.GEOJSON,e.CLASS_NAME="SuperMap.SpatialAnalystBase",e;throw new TypeError("Cannot call a class as a function")}return s5((e=o).prototype,[{key:"destroy",value:function(){l5(c5(o.prototype),"destroy",this).call(this),this.format=null}},{key:"serviceProcessCompleted",value:function(e,t){var n;if((e=D.transformResult(e))&&this.format===a.GEOJSON&&"function"==typeof this.toGeoJSONResult)if(D.isArray(e)){for(var r=0;r<e.length;r++)e[r]=this.toGeoJSONResult(e[r]);n=e}else n=this.toGeoJSONResult(e);this.events.triggerEvent("processCompleted",{result:n=n||e,options:t})}},{key:"toGeoJSONResult",value:function(e){if(!e)return null;e.result&&e.result.resultGeometry&&(e=e.result);var t=new En;if(e.recordsets)for(var n=0,r=e.recordsets,i=r.length;n<i;n++)r[n].features&&(r[n].features=t.toGeoJSON(r[n].features));else e.recordset&&e.recordset.features&&(e.recordset.features=t.toGeoJSON(e.recordset.features));return e.resultGeometry&&(e.resultGeometry=t.toGeoJSON(e.resultGeometry)),e.regions&&(e.regions=t.toGeoJSON(e.regions)),e}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function h5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){var n,r={};for(n in e)"dataset"!==n&&("latitude"===n||"timeMode"===n||"dayStart"===n||"dayEnd"===n||"hourStart"===n||"hourEnd"===n||"transmittance"===n||"hourInterval"===n||"dayInterval"===n?r[n]=e[n]:t[n]=e[n]);t.parameter=r}}],h5((C=p5).prototype,[{key:"destroy",value:function(){this.dataset=null,this.zFactor=1,this.averageCurvatureName=null,this.profileCurvatureName=null,this.planCurvatureName=null,this.deleteExistResultDataset=!0}}]),h5(C,O),Object.defineProperty(C,"prototype",{writable:!1});var d5=p5;function p5(e){if(!(this instanceof p5))throw new TypeError("Cannot call a class as a function");this.dataset=null,this.targetDatasourceName=null,this.totalGridName=null,this.diffuseDatasetGridName=null,this.durationDatasetGridName=null,this.directDatasetGridName=null,this.latitude=null,this.timeMode="MULTIDAYS",this.dayStart=null,this.dayEnd=null,this.hourStart=null,this.hourEnd=null,this.transmittance=null,this.hourInterval=null,this.dayInterval=null,this.deleteExistResultDataset=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.AreaSolarRadiationParameters"}function y5(e){return(y5="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})(e)}function m5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g5(){return(g5="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b5(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function v5(e,t){return(v5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b5(e){return(b5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _5=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v5(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=b5(n),t=(e=r?(e=b5(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==y5(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.AreaSolarRadiationService",e;throw new TypeError("Cannot call a class as a function")}return m5((e=o).prototype,[{key:"destroy",value:function(){g5(b5(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){var t;e instanceof d5&&(t={},e instanceof d5&&(this.url=D.urlPathAppend(this.url,"datasets/".concat(e.dataset,"/solarradiation"))),this.url=D.urlAppend(this.url,"returnContent=true"),d5.toObject(e,t),e=D.toJSON(t),this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function x5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}x5((O=A5).prototype,[{key:"destroy",value:function(){this.exp=null,this.value=null}}]),Object.defineProperty(O,"prototype",{writable:!1});var w5=A5;function A5(e){if(!(this instanceof A5))throw new TypeError("Cannot call a class as a function");this.exp=null,this.value=100,D.extend(this,e),this.CLASS_NAME="SuperMap.BufferDistance"}function S5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}S5((C=O5).prototype,[{key:"destroy",value:function(){this.endType=null,this.leftDistance&&(this.leftDistance.destroy(),this.leftDistance=null),this.rightDistance&&(this.rightDistance.destroy(),this.rightDistance=null),this.semicircleLineSegment=null,this.radiusUnit=null}}]),Object.defineProperty(C,"prototype",{writable:!1});var C5=O5;function O5(e){if(!(this instanceof O5))throw new TypeError("Cannot call a class as a function");this.endType=Xt.FLAT,this.leftDistance=new w5,this.rightDistance=new w5,this.semicircleLineSegment=4,this.radiusUnit=zt.METER,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.BufferSetting"}function E5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}E5((O=P5).prototype,[{key:"destroy",value:function(){this.bufferSetting&&(this.bufferSetting.destroy(),this.bufferSetting=null)}}]),Object.defineProperty(O,"prototype",{writable:!1});var M5=P5;function P5(e){if(!(this instanceof P5))throw new TypeError("Cannot call a class as a function");this.bufferSetting=new C5,D.extend(this,e),this.CLASS_NAME="SuperMap.BufferAnalystParameters"}function k5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}k5((C=I5).prototype,[{key:"destroy",value:function(){this.expectCount=null,this.dataset=null,this.dataReturnMode=null,this.deleteExistResultDataset=null}}]),Object.defineProperty(C,"prototype",{writable:!1});var T5=I5;function I5(e){if(!(this instanceof I5))throw new TypeError("Cannot call a class as a function");this.expectCount=1e3,this.dataset=null,this.dataReturnMode=tn.RECORDSET_ONLY,this.deleteExistResultDataset=!0,D.extend(this,e),this.CLASS_NAME="SuperMap.DataReturnOption"}function L5(e){return(L5="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})(e)}function j5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D5(){return(D5="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=N5(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function B5(e,t){return(B5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R5(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N5(e){return(N5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z5=function(){var e=o,t=M5;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),B5(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=N5(n),t=(e=r?(e=N5(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===L5(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return R5(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).dataset=null,t.filterQueryParameter=new c0,t.resultSetting=new T5,t.isAttributeRetained=!0,t.isUnion=!1,D.extend(R5(t),e),t.CLASS_NAME="SuperMap.DatasetBufferAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toObject",value:function(e,t){for(var n in e)if("bufferSetting"===n)e.bufferSetting.radiusUnit=e.bufferSetting.radiusUnit.toUpperCase(),t.bufferAnalystParameter=e.bufferSetting;else if("resultSetting"===n)t.dataReturnOption=e.resultSetting;else{if("dataset"===n)continue;t[n]=e[n]}}}],j5((t=o).prototype,[{key:"destroy",value:function(){D5(N5(o.prototype),"destroy",this).call(this);this.dataset=null,this.filterQueryParameter&&(this.filterQueryParameter.destroy(),this.filterQueryParameter=null),this.resultSetting&&(this.resultSetting.destroy(),this.resultSetting=null),this.isAttributeRetained=null,this.isUnion=null}}]),j5(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function F5(e){return(F5="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})(e)}function V5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H5(){return(H5="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=U5(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Y5(e,t){return(Y5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function G5(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U5(e){return(U5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q5=function(){var e=o,t=M5;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Y5(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=U5(n),t=(e=r?(e=U5(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===F5(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return G5(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).sourceGeometry=null,t.sourceGeometrySRID=null,e&&D.extend(G5(t),e),t.CLASS_NAME=" SuperMap.GeometryBufferAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toObject",value:function(e,t){for(var n in e)if("bufferSetting"===n){var r,i={};for(r in e.bufferSetting)i[r]=e.bufferSetting[r];t.analystParameter=i}else"sourceGeometry"===n?t.sourceGeometry=s.fromGeometry(e.sourceGeometry):t[n]=e[n]}}],V5((t=o).prototype,[{key:"destroy",value:function(){H5(U5(o.prototype),"destroy",this).call(this),this.sourceGeometry&&(this.sourceGeometry.destroy(),this.sourceGeometry=null)}}]),V5(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function W5(e){return(W5="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})(e)}function q5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K5(){return(K5="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$5(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function X5(e,t){return(X5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function J5(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e){return($5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Z5=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&X5(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=$5(n),t=(e=r?(e=$5(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===W5(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return J5(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).mode=null,t&&D.extend(J5(e),t),e.CLASS_NAME="SuperMap.BufferAnalystService",e;throw new TypeError("Cannot call a class as a function")}return q5((e=o).prototype,[{key:"destroy",value:function(){K5($5(o.prototype),"destroy",this).call(this),this.mode=null}},{key:"processAsync",value:function(e){var t={},n=this,e=(e instanceof z5?(n.mode="datasets",n.url=D.urlPathAppend(n.url,"datasets/"+e.dataset+"/buffer"),z5.toObject(e,t)):e instanceof Q5&&(n.mode="geometry",n.url=D.urlPathAppend(n.url,"geometry/buffer"),Q5.toObject(e,t)),D.toJSON(t));this.returnContent=!0,n.request({method:"POST",data:e,scope:n,success:n.serviceProcessCompleted,failure:n.serviceProcessFailed})}},{key:"dataFormat",value:function(){return[a.GEOJSON,a.ISERVER,a.FGB]}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function ex(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"dataset"!==n&&(t[n]=e[n])}}],ex((C=nx).prototype,[{key:"destroy",value:function(){this.dataset=null,this.bounds=null,this.fieldName=null,this.resultGridDatasetResolution=null,this.searchRadius=null,this.targetDatasource=null,this.resultGridName=null,this.deleteExistResultDataset=null}}]),ex(C,O),Object.defineProperty(C,"prototype",{writable:!1});var tx=nx;function nx(e){if(!(this instanceof nx))throw new TypeError("Cannot call a class as a function");this.dataset=null,this.bounds=null,this.fieldName=null,this.resultGridDatasetResolution=null,this.searchRadius=null,this.targetDatasource=null,this.resultGridName=null,this.deleteExistResultDataset=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.DensityKernelAnalystParameters"}function rx(e){return(rx="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})(e)}function ix(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ox(){return(ox="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=lx(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ax(e,t){return(ax=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function sx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lx(e){return(lx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ux=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ax(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=lx(n),t=(e=r?(e=lx(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===rx(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return sx(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).mode=null,t&&D.extend(sx(e),t),e.CLASS_NAME="SuperMap.DensityAnalystService",e;throw new TypeError("Cannot call a class as a function")}return ix((e=o).prototype,[{key:"destroy",value:function(){ox(lx(o.prototype),"destroy",this).call(this),this.mode=null}},{key:"processAsync",value:function(e){var t=new Object,e=(e instanceof tx&&(this.url=D.urlPathAppend(this.url,"datasets/"+e.dataset+"/densityanalyst/kernel"),this.mode="kernel"),tx.toObject(e,t),D.toJSON(t));this.url=D.urlAppend(this.url,"returnContent=true"),this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function cx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}cx((O=hx).prototype,[{key:"destroy",value:function(){var e=this;e.routeTable&&(e.routeTable=null),e.routeIDField=null,e.attributeFilter=null,e.eventTable=null,e.eventRouteIDField=null,e.measureField=null,e.measureStartField=null,e.measureEndField=null,e.measureOffsetField=null,e.errorInfoField=null,e.dataReturnOption&&(e.dataReturnOption.destroy(),e.dataReturnOption=null)}}]),Object.defineProperty(O,"prototype",{writable:!1});var fx=hx;function hx(e){if(!(this instanceof hx))throw new TypeError("Cannot call a class as a function");this.routeTable=null,this.routeIDField=null,this.attributeFilter=null,this.eventTable=null,this.eventRouteIDField=null,this.measureField=null,this.measureStartField=null,this.measureEndField=null,this.measureOffsetField=null,this.errorInfoField=null,this.retainedFields=null,this.dataReturnOption=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.GenerateSpatialDataParameters"}function dx(e){return(dx="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})(e)}function px(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yx(){return(yx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=gx(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function mx(e,t){return(mx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function gx(e){return(gx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vx=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mx(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=gx(n),t=(e=r?(e=gx(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==dx(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.GenerateSpatialDataService",e;throw new TypeError("Cannot call a class as a function")}return px((e=o).prototype,[{key:"destroy",value:function(){yx(gx(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof fx&&(e=this.getJsonParameters(e),this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getJsonParameters",value:function(e){var t="datasets/"+e.routeTable+"/linearreferencing/generatespatialdata";return this.url=D.urlPathAppend(this.url,t),this.url=D.urlAppend(this.url,"returnContent=true"),D.toJSON(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function bx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}bx((C=xx).prototype,[{key:"destroy",value:function(){var e=this;e.sourceFilter&&e.sourceFilter.destroy(),e.sourceFilter=null,e.referenceFilter&&e.referenceFilter.destroy(),e.referenceFilter=null,e.dataset=null,e.spatialRelationType=null,e.isBorderInside=null,e.returnFeature=null,e.returnGeoRelatedOnly=null,e.startRecord=null,e.expectCount=null}}]),Object.defineProperty(C,"prototype",{writable:!1});var _x=xx;function xx(e){if(!(this instanceof xx))throw new TypeError("Cannot call a class as a function");this.dataset=null,this.sourceFilter=null,this.referenceFilter=null,this.spatialRelationType=null,this.isBorderInside=null,this.returnFeature=null,this.returnGeoRelatedOnly=null,this.startRecord=0,this.expectCount=500,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.GeoRelationAnalystParameters"}function wx(e){return(wx="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})(e)}function Ax(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sx(){return(Sx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ox(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Cx(e,t){return(Cx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ox(e){return(Ox=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ex=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cx(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Ox(n),t=(e=r?(e=Ox(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==wx(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.GeoRelationAnalystService",e;throw new TypeError("Cannot call a class as a function")}return Ax((e=o).prototype,[{key:"destroy",value:function(){Sx(Ox(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof _x&&(this.url=D.urlPathAppend(this.url,"datasets/"+e.dataset+"/georelation"),e=D.toJSON(e),this.url=D.urlAppend(this.url,"returnContent=true"),this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Mx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)if("inputPoints"===n&&"geometry"===e.InterpolationAnalystType){for(var r=[],i=0;i<e.inputPoints.length;i++){var o=e.inputPoints[i],o={x:o.x,y:o.y,z:o.tag};r.push(o)}t[n]=r}else t[n]=e[n]}}],Mx((C=kx).prototype,[{key:"destroy",value:function(){this.bounds=null,this.searchRadius=null,this.zValueFieldName=null,this.zValueScale=null,this.resolution=null,this.filterQueryParameter=null,this.outputDatasetName=null,this.pixelFormat=null}}]),Mx(C,O),Object.defineProperty(C,"prototype",{writable:!1});var Px=kx;function kx(e){if(!(this instanceof kx))throw new TypeError("Cannot call a class as a function");e&&(this.bounds=null,this.searchRadius=0,this.zValueFieldName=null,this.zValueScale=1,this.resolution=null,this.filterQueryParameter=null,this.outputDatasetName=null,this.outputDatasourceName=null,this.pixelFormat=null,this.dataset=null,this.inputPoints=null,this.InterpolationAnalystType="dataset",this.clipParam=null,D.extend(this,e),this.CLASS_NAME="SuperMap.InterpolationAnalystParameters")}function Tx(e){return(Tx="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})(e)}function Ix(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lx(){return(Lx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Bx(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function jx(e,t){return(jx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Dx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bx(e){return(Bx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Rx=function(){var e=o,t=Px;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jx(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Bx(n),t=(e=r?(e=Bx(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Tx(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Dx(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).smooth=.1,t.tension=40,t.searchMode=null,t.expectedCount=12,t.maxPointCountForInterpolation=200,t.maxPointCountInNode=50,e&&D.extend(Dx(t),e),t.CLASS_NAME="SuperMap.InterpolationRBFAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toObject",value:function(e,t){for(var n in e)t[n]=e[n]}}],Ix((t=o).prototype,[{key:"destroy",value:function(){Lx(Bx(o.prototype),"destroy",this).call(this);this.smooth=null,this.tension=null,this.searchMode=null,this.expectedCount=null,this.maxPointCountForInterpolation=null,this.maxPointCountInNode=null}}]),Ix(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function Nx(e){return(Nx="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})(e)}function zx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fx(){return(Fx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Yx(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Vx(e,t){return(Vx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Hx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yx(e){return(Yx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Gx=function(){var e=o,t=Px;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vx(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Yx(n),t=(e=r?(e=Yx(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Nx(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Hx(t)};function o(e){var t;if(this instanceof o)return t=i.call(this,e),e&&D.extend(Hx(t),e),t.CLASS_NAME="SuperMap.InterpolationDensityAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return zx((e=o).prototype,[{key:"destroy",value:function(){Fx(Yx(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Ux(e){return(Ux="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})(e)}function Qx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wx(){return(Wx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Xx(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function qx(e,t){return(qx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Kx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xx(e){return(Xx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Jx=function(){var e=o,t=Px;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qx(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Xx(n),t=(e=r?(e=Xx(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Ux(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Kx(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).power=2,t.searchMode=null,t.expectedCount=12,e&&D.extend(Kx(t),e),t.CLASS_NAME="SuperMap.InterpolationIDWAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return Qx((e=o).prototype,[{key:"destroy",value:function(){Wx(Xx(o.prototype),"destroy",this).call(this),this.power=null,this.searchMode=null,this.expectedCount=null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function $x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}$x((O=ew).prototype,[{key:"destroy",value:function(){this.clipRegion&&(this.clipRegion.destroy(),this.clipRegion=null),this.createResultDataset=null,this.resultDatasetName=null,this.resultDatasourceName=null,this.returnResultRegion=null}}]),Object.defineProperty(O,"prototype",{writable:!1});var Zx=ew;function ew(e){if(!(this instanceof ew))throw new TypeError("Cannot call a class as a function");e&&(this.clipRegion=null,this.createResultDataset=!1,this.resultDatasetName=null,this.resultDatasourceName=null,this.returnResultRegion=!0,D.extend(this,e),this.CLASS_NAME="SuperMap.ThiessenAnalystParameters")}function tw(e){return(tw="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})(e)}function nw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rw(){return(rw="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=aw(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function iw(e,t){return(iw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ow(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aw(e){return(aw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var sw=function(){var e=o,t=Px;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&iw(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=aw(n),t=(e=r?(e=aw(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===tw(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ow(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).type=null,t.mean=null,t.angle=0,t.nugget=0,t.range=0,t.sill=0,t.variogramMode=an.SPHERICAL,t.exponent=sn.EXP1,t.searchMode=null,t.expectedCount=12,t.maxPointCountForInterpolation=200,t.maxPointCountInNode=50,e&&D.extend(ow(t),e),t.CLASS_NAME="SuperMap.InterpolationKrigingAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return nw((e=o).prototype,[{key:"destroy",value:function(){rw(aw(o.prototype),"destroy",this).call(this);var e=this;e.type=null,e.mean=null,e.angle=null,e.nugget=null,e.range=null,e.sill=null,e.variogramMode=null,e.exponent=null,e.searchMode=null,e.expectedCount=null,e.maxPointCountForInterpolation=null,e.maxPointCountInNode=null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function lw(e){return(lw="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})(e)}function uw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cw(){return(cw="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=dw(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function fw(e,t){return(fw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function hw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dw(e){return(dw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var pw=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fw(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=dw(n),t=(e=r?(e=dw(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===lw(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return hw(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).mode=null,t&&D.extend(hw(e),t),e;throw new TypeError("Cannot call a class as a function")}return uw((e=o).prototype,[{key:"destroy",value:function(){cw(dw(o.prototype),"destroy",this).call(this),this.mode=null,this.CLASS_NAME="SuperMap.InterpolationAnalystService"}},{key:"processAsync",value:function(e){var t={},n=this,e=(e instanceof Gx?(n.mode="Density","geometry"===e.InterpolationAnalystType?n.url=D.urlPathAppend(n.url,"geometry/interpolation/density"):n.url=D.urlPathAppend(n.url,"datasets/"+e.dataset+"/interpolation/density")):e instanceof Jx?(n.mode="IDW","geometry"===e.InterpolationAnalystType?n.url=D.urlPathAppend(n.url,"geometry/interpolation/idw"):n.url=D.urlPathAppend(n.url,"datasets/"+e.dataset+"/interpolation/idw")):e instanceof Rx?(n.mode="RBF","geometry"===e.InterpolationAnalystType?n.url=D.urlPathAppend(n.url,"geometry/interpolation/rbf"):n.url=D.urlPathAppend(n.url,"datasets/"+e.dataset+"/interpolation/rbf")):e instanceof sw&&(n.mode="Kriging","geometry"===e.InterpolationAnalystType?n.url=D.urlPathAppend(n.url,"geometry/interpolation/kriging"):n.url=D.urlPathAppend(n.url,"datasets/"+e.dataset+"/interpolation/kriging")),Px.toObject(e,t),D.toJSON(t));n.url=D.urlAppend(n.url,"returnContent=true"),n.request({method:"POST",data:e,scope:n,success:n.serviceProcessCompleted,failure:n.serviceProcessFailed})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function yw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}C=[{key:"toObject",value:function(e,t){for(var n in e)if("dataset"!==n&&(t[n]=e[n]),"extractRegion"===n&&e[n]){for(var r=e[n].components[0].components,i={},o=[],a=r.length,s=0;s<a-1;s++){var l={};l.x=r[s].x,l.y=r[s].y,o.push(l)}i.points=o,i.type="REGION",t[n]=i}}}],yw((O=gw).prototype,[{key:"destroy",value:function(){this.dataset=null,this.bounds=null,this.expression=null,this.isZip=!0,this.ignoreNoValue=!0,this.targetDatasource=null,this.resultGridName=null,this.deleteExistResultDataset=null}}]),yw(O,C),Object.defineProperty(O,"prototype",{writable:!1});var mw=gw;function gw(e){if(!(this instanceof gw))throw new TypeError("Cannot call a class as a function");e&&(this.dataset=null,this.extractRegion=null,this.expression=null,this.isZip=!1,this.ignoreNoValue=!1,this.targetDatasource=null,this.resultGridName=null,this.deleteExistResultDataset=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.MathExpressionAnalysisParameters")}function vw(e){return(vw="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})(e)}function bw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _w(){return(_w="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ww(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function xw(e,t){return(xw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ww(e){return(ww=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Aw=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xw(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=ww(n),t=(e=r?(e=ww(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==vw(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.MathExpressionAnalysisService",e;throw new TypeError("Cannot call a class as a function")}return bw((e=o).prototype,[{key:"destroy",value:function(){_w(ww(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){var t={},e=(e instanceof mw&&(this.url=D.urlPathAppend(this.url,"datasets/"+e.dataset+"/mathanalyst")),mw.toObject(e,t),D.toJSON(t));this.url=D.urlAppend(this.url,"returnContent=true"),this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Sw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Sw((C=Ow).prototype,[{key:"destroy",value:function(){this.operation=null}}]),Object.defineProperty(C,"prototype",{writable:!1});var Cw=Ow;function Ow(e){if(!(this instanceof Ow))throw new TypeError("Cannot call a class as a function");this.operation=Jt.UNION,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.OverlayAnalystParameters"}function Ew(e){return(Ew="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})(e)}function Mw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pw(){return(Pw="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Iw(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function kw(e,t){return(kw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Tw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iw(e){return(Iw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Lw=function(){var e=o,t=Cw;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),kw(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Iw(n),t=(e=r?(e=Iw(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Ew(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Tw(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).operateDataset=null,t.operateDatasetFields=[],t.operateDatasetFilter=new c0,t.operateRegions=[],t.sourceDataset=null,t.sourceDatasetFields=[],t.sourceDatasetFilter=new c0,t.tolerance=0,t.resultSetting=new T5,D.extend(Tw(t),e),t.CLASS_NAME="SuperMap.DatasetOverlayAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toObject",value:function(e,t){for(var n in e)if("sourceDataset"!==n)if("operateRegions"===n){t.operateRegions=[];var r,i=e.operateRegions;for(r in i)i.hasOwnProperty(r)&&(t.operateRegions[r]=s.fromGeometry(i[r]))}else"resultSetting"===n?t.dataReturnOption=e.resultSetting:t[n]=e[n]}}],Mw((t=o).prototype,[{key:"destroy",value:function(){Pw(Iw(o.prototype),"destroy",this).call(this);var e=this;if(e.operateDataset=null,e.operateDatasetFields=null,e.operateDatasetFilter&&(e.operateDatasetFilter.destroy(),e.operateDatasetFilter=null),e.operateRegions){for(var t=0,n=e.operateRegions,r=n.length;t<r;t++)n[t].destroy();e.operateRegions=null}e.sourceDataset=null,e.sourceDatasetFields=null,e.sourceDatasetFilter&&(e.sourceDatasetFilter.destroy(),e.sourceDatasetFilter=null),e.tolerance=null,e.resultSetting&&(e.resultSetting.destroy(),e.resultSetting=null)}}]),Mw(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function jw(e){return(jw="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})(e)}function Dw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bw(){return(Bw="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=zw(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Rw(e,t){return(Rw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Nw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zw(e){return(zw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Fw=function(){var e=o,t=Cw;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Rw(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=zw(n),t=(e=r?(e=zw(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===jw(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Nw(t)};function o(e){var t;if(this instanceof o)return t=i.call(this,e),e&&e.operateGeometry&&(t.operateGeometry=e.operateGeometry),e&&e.sourceGeometry&&(t.sourceGeometry=e.sourceGeometry),e&&e.operateGeometries&&(t.operateGeometries=e.operateGeometries),e&&e.sourceGeometries&&(t.sourceGeometries=e.sourceGeometries),e&&D.extend(Nw(t),e),t.CLASS_NAME="SuperMap.GeometryOverlayAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toObject",value:function(e,t){for(var n in e)if("sourceGeometry"===n)t.sourceGeometry=s.fromGeometry(e.sourceGeometry);else if("sourceGeometries"===n){for(var r=[],i=0;i<e.sourceGeometries.length;i++)r.push(s.fromGeometry(e.sourceGeometries[i]));t.sourceGeometries=r}else if("operateGeometry"===n)t.operateGeometry=s.fromGeometry(e.operateGeometry);else if("operateGeometries"===n){for(var o=[],a=0;a<e.operateGeometries.length;a++)o.push(s.fromGeometry(e.operateGeometries[a]));t.operateGeometries=o}else t[n]=e[n]}}],Dw((t=o).prototype,[{key:"destroy",value:function(){Bw(zw(o.prototype),"destroy",this).call(this);var e=this;e.sourceGeometry&&(e.sourceGeometry.destroy(),e.sourceGeometry=null),e.sourceGeometries&&(e.sourceGeometries.destroy(),e.sourceGeometries=null),e.sourceGeometry&&(e.sourceGeometry.destroy(),e.sourceGeometry=null),e.operateGeometries&&(e.operateGeometries.destroy(),e.operateGeometries=null)}}]),Dw(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function Vw(e){return(Vw="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})(e)}function Hw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yw(){return(Yw="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Qw(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Gw(e,t){return(Gw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Uw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qw(e){return(Qw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ww=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gw(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Qw(n),t=(e=r?(e=Qw(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===Vw(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Uw(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).mode=null,t&&D.extend(Uw(e),t),e.CLASS_NAME="SuperMap.OverlayAnalystService",e;throw new TypeError("Cannot call a class as a function")}return Hw((e=o).prototype,[{key:"destroy",value:function(){Yw(Qw(o.prototype),"destroy",this).call(this),this.mode=null}},{key:"processAsync",value:function(e){var t={},n=this,e=(e instanceof Lw?(n.mode="datasets",n.url=D.urlPathAppend(n.url,"datasets/"+e.sourceDataset+"/overlay"),Lw.toObject(e,t)):e instanceof Fw&&(n.mode="geometry",e.operateGeometries&&e.sourceGeometries?(n.url=D.urlPathAppend(n.url,"geometry/overlay/batch"),n.url=D.urlAppend(n.url,"ignoreAnalystParam=true")):n.url=D.urlPathAppend(n.url,"geometry/overlay"),Fw.toObject(e,t)),this.returnContent=!0,D.toJSON(t));n.request({method:"POST",data:e,scope:n,success:n.serviceProcessCompleted,failure:n.serviceProcessFailed})}},{key:"dataFormat",value:function(){return[a.GEOJSON,a.ISERVER,a.FGB]}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function qw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}qw((O=Xw).prototype,[{key:"destroy",value:function(){this.sourceRoute=null,this.point=null,this.tolerance&&(this.tolerance=null),this.isIgnoreGap&&(this.isIgnoreGap=!1)}}]),Object.defineProperty(O,"prototype",{writable:!1});var Kw=Xw;function Xw(e){if(!(this instanceof Xw))throw new TypeError("Cannot call a class as a function");if(!e)return this;this.sourceRoute=null,this.point=null,this.tolerance=null,this.isIgnoreGap=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.RouteCalculateMeasureParameters"}function Jw(e){return(Jw="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})(e)}function $w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zw(){return(Zw="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=t7(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function e7(e,t){return(e7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function t7(e){return(t7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var n7=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&e7(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=t7(n),t=(e=r?(e=t7(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Jw(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.RouteCalculateMeasureService",e;throw new TypeError("Cannot call a class as a function")}return $w((e=o).prototype,[{key:"destroy",value:function(){Zw(t7(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof Kw&&(e=this.getJsonParameters(e),this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getJsonParameters",value:function(e){return this.url=D.urlPathAppend(this.url,"geometry/calculatemeasure"),this.url=D.urlAppend(this.url,"returnContent=true"),D.toJSON(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function r7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}r7((C=o7).prototype,[{key:"destroy",value:function(){var e=this;e.sourceRoute=null,e.type=null,e.measure=null,e.offset=0,e.isIgnoreGap=!1,e.startMeasure=null,e.endMeasure=null,e.dataset=null,e.routeID=null,e.routeIDField=null}}]),Object.defineProperty(C,"prototype",{writable:!1});var i7=o7;function o7(e){if(!(this instanceof o7))throw new TypeError("Cannot call a class as a function");if(!e)return this;this.sourceRoute=null,this.dataset=null,this.routeIDField=null,this.routeID=null,this.type=null,this.measure=null,this.offset=0,this.isIgnoreGap=!1,this.startMeasure=null,this.endMeasure=null;var t=e.sourceRoute,n={};if(t&&t instanceof J&&t.components){n.type=t.type,n.parts=t.parts;for(var r=[],i=0,o=t.components.length;i<o;i++)r=r.concat(t.components[i].components);n.points=r,e.sourceRoute=n}D.extend(this,e),this.CLASS_NAME="SuperMap.RouteLocatorParameters"}function a7(e){return(a7="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})(e)}function s7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l7(){return(l7="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c7(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function u7(e,t){return(u7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c7(e){return(c7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f7=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u7(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=c7(n),t=(e=r?(e=c7(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==a7(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.RouteLocatorService",e;throw new TypeError("Cannot call a class as a function")}return s7((e=o).prototype,[{key:"destroy",value:function(){l7(c7(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof i7&&(e=this.getJsonParameters(e),this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getJsonParameters",value:function(e){var t="geometry/routelocator";return e.dataset&&(t="datasets/"+e.dataset+"/linearreferencing/routelocator",e.sourceRoute=null),this.url=D.urlPathAppend(this.url,t),this.url=D.urlAppend(this.url,"returnContent=true"),D.toJSON(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function h7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}h7((O=p7).prototype,[{key:"destroy",value:function(){this.clipRegion&&(this.clipRegion.destroy(),this.clipRegion=null),this.datumValue=null,this.expectedZValues=null,this.interval=null,this.resampleTolerance=null,this.smoothMethod=null,this.smoothness=null}},{key:"toJSON",value:function(){var e,t="'datumValue':"+D.toJSON(this.datumValue),t=(t=(t=(t+=",'interval':"+D.toJSON(this.interval))+",'resampleTolerance':"+D.toJSON(this.resampleTolerance))+",'smoothMethod':"+D.toJSON(this.smoothMethod))+",'smoothness':"+D.toJSON(this.smoothness);return null!=this.expectedZValues&&(t+=",'expectedZValues':"+D.toJSON(this.expectedZValues)),null!=this.clipRegion&&(e=this.clipRegion,this.clipRegion instanceof J&&this.clipRegion.components&&(e=s.fromGeometry(this.clipRegion)),t+=",'clipRegion':"+D.toJSON(e)),"{"+t+"}"}}]),Object.defineProperty(O,"prototype",{writable:!1});var d7=p7;function p7(e){if(!(this instanceof p7))throw new TypeError("Cannot call a class as a function");this.clipRegion=null,this.datumValue=0,this.expectedZValues=null,this.interval=0,this.resampleTolerance=0,this.smoothMethod=Zt.BSPLINE,this.smoothness=0,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.SurfaceAnalystParametersSetting"}function y7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}y7((C=g7).prototype,[{key:"destroy",value:function(){this.resolution=null,this.extractParameter&&(this.extractParameter.destroy(),this.extractParameter=null),this.resultSetting&&(this.resultSetting.destroy(),this.resultSetting=null),this.surfaceAnalystMethod=null}}]),Object.defineProperty(C,"prototype",{writable:!1});var m7=g7;function g7(e){if(!(this instanceof g7))throw new TypeError("Cannot call a class as a function");this.resolution=0,this.extractParameter=new d7,this.resultSetting=new T5,this.surfaceAnalystMethod=en.ISOLINE,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.SurfaceAnalystParameters"}function v7(e){return(v7="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})(e)}function b7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _7(){return(_7="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=A7(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function x7(e,t){return(x7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w7(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A7(e){return(A7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S7=function(){var e=o,t=m7;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),x7(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=A7(n),t=(e=r?(e=A7(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===v7(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return w7(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).dataset=null,t.filterQueryParameter=new c0,t.zValueFieldName=null,e&&D.extend(w7(t),e),t.CLASS_NAME="SuperMap.DatasetSurfaceAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toObject",value:function(e,t){for(var n in e)if("filterQueryParameter"===n&&(t.filterQueryParameter=e.filterQueryParameter),"extractParameter"===n)e.extractParameter.clipRegion instanceof J&&e.extractParameter.clipRegion.components&&(e.extractParameter.clipRegion=s.fromGeometry(e.extractParameter.clipRegion)),t.extractParameter=e.extractParameter;else{if("dataset"===n)continue;if("surfaceAnalystMethod"===n)continue;t[n]=e[n]}}}],b7((t=o).prototype,[{key:"destroy",value:function(){_7(A7(o.prototype),"destroy",this).call(this);this.dataset=null,this.filterQueryParameter&&(this.filterQueryParameter.destroy(),this.filterQueryParameter=null),this.zValueFieldName=null}}]),b7(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function C7(e){return(C7="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})(e)}function O7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E7(){return(E7="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=k7(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function M7(e,t){return(M7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function P7(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k7(e){return(k7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T7=function(){var e=o,t=m7;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),M7(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=k7(n),t=(e=r?(e=k7(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===C7(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return P7(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).points=null,t.zValues=null,e&&D.extend(P7(t),e),t.CLASS_NAME="SuperMap.GeometrySurfaceAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return O7((e=o).prototype,[{key:"destroy",value:function(){if(E7(k7(o.prototype),"destroy",this).call(this),this.points){for(var e=0,t=this.points,n=t.length;e<n;e++)t[e].destroy();this.points=null}this.zValues=null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function I7(e){return(I7="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})(e)}function L7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j7(){return(j7="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=B7(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function D7(e,t){return(D7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function B7(e){return(B7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R7=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&D7(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=B7(n),t=(e=r?(e=B7(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==I7(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.SurfaceAnalystService",e;throw new TypeError("Cannot call a class as a function")}return L7((e=o).prototype,[{key:"destroy",value:function(){j7(B7(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof m7&&(e=this.getJsonParameters(e),this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}},{key:"getJsonParameters",value:function(e){var t="",n={};if(e instanceof S7)this.url=D.urlPathAppend(this.url,"datasets/"+e.dataset+"/"+e.surfaceAnalystMethod.toLowerCase()),S7.toObject(e,n),t=D.toJSON(n);else{if(!(e instanceof T7))return;this.url=D.urlPathAppend(this.url,"geometry/"+e.surfaceAnalystMethod.toLowerCase()),t=D.toJSON(e)}return this.returnContent=!0,t}},{key:"dataFormat",value:function(){return[a.GEOJSON,a.ISERVER,a.FGB]}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function N7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}O=[{key:"toObject",value:function(e,t){for(var n in e)"dataset"!==n&&(t[n]=e[n])}}],N7((C=F7).prototype,[{key:"destroy",value:function(){this.dataset=null,this.zFactor=1,this.averageCurvatureName=null,this.profileCurvatureName=null,this.planCurvatureName=null,this.deleteExistResultDataset=!0}}]),N7(C,O),Object.defineProperty(C,"prototype",{writable:!1});var z7=F7;function F7(e){if(!(this instanceof F7))throw new TypeError("Cannot call a class as a function");e&&(this.dataset=null,this.zFactor=1,this.averageCurvatureName=null,this.profileCurvatureName="",this.planCurvatureName="",this.deleteExistResultDataset=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.TerrainCurvatureCalculationParameters")}function V7(e){return(V7="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})(e)}function H7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Y7(){return(Y7="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=U7(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function G7(e,t){return(G7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function U7(e){return(U7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q7=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&G7(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=U7(n),t=(e=r?(e=U7(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==V7(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.TerrainCurvatureCalculationService",e;throw new TypeError("Cannot call a class as a function")}return H7((e=o).prototype,[{key:"destroy",value:function(){Y7(U7(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){var t={},e=(e instanceof z7&&(this.url=D.urlPathAppend(this.url,"datasets/"+e.dataset+"/terraincalculation/curvature")),z7.toObject(e,t),D.toJSON(t));this.url=D.urlAppend(this.url,"returnContent=true"),this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function W7(e){return(W7="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})(e)}function q7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K7(){return(K7="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$7(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function X7(e,t){return(X7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function J7(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $7(e){return($7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Z7=function(){var e=o,t=Zx;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),X7(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=$7(n),t=(e=r?(e=$7(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===W7(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return J7(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).filterQueryParameter=null,t.dataset=null,e&&D.extend(J7(t),e),t.CLASS_NAME="SuperMap.DatasetThiessenAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toObject",value:function(e,t){for(var n in e)"clipRegion"===n?t.clipRegion=s.fromGeometry(e.clipRegion):t[n]=e[n]}}],q7((t=o).prototype,[{key:"destroy",value:function(){K7($7(o.prototype),"destroy",this).call(this),this.filterQueryParameter&&(this.filterQueryParameter.destroy(),this.filterQueryParameter=null)}}]),q7(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function eA(e){return(eA="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})(e)}function tA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nA(){return(nA="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=oA(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function rA(e,t){return(rA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function iA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oA(e){return(oA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var aA=function(){var e=o,t=Zx;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),rA(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=oA(n),t=(e=r?(e=oA(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===eA(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return iA(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).points=null,e&&D.extend(iA(t),e),t.CLASS_NAME="SuperMap.GeometryThiessenAnalystParameters",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toObject",value:function(e,t){for(var n in e)"clipRegion"===n?t.clipRegion=s.fromGeometry(e.clipRegion):t[n]=e[n]}}],tA((t=o).prototype,[{key:"destroy",value:function(){if(nA(oA(o.prototype),"destroy",this).call(this),this.points){for(var e=this.points.length-1;0<=e;e--)this.points[e].destroy();this.points=null}}}]),tA(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function sA(e){return(sA="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})(e)}function lA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function uA(){return(uA="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=hA(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function cA(e,t){return(cA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function fA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hA(e){return(hA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var dA=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cA(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=hA(n),t=(e=r?(e=hA(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===sA(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return fA(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).mode=null,t&&D.extend(fA(e),t),e.CLASS_NAME="SuperMap.ThiessenAnalystService",e;throw new TypeError("Cannot call a class as a function")}return lA((e=o).prototype,[{key:"destroy",value:function(){uA(hA(o.prototype),"destroy",this).call(this),this.mode=null}},{key:"processAsync",value:function(e){var t={},n=this,e=(e instanceof Z7?(n.mode="datasets",n.url=D.urlPathAppend(n.url,"datasets/"+e.dataset+"/thiessenpolygon"),Z7.toObject(e,t)):e instanceof aA&&(n.mode="geometry",n.url=D.urlPathAppend(n.url,"geometry/thiessenpolygon"),aA.toObject(e,t)),D.toJSON(t));this.returnContent=!0,n.request({method:"POST",data:e,scope:n,success:n.serviceProcessCompleted,failure:n.serviceProcessFailed})}},{key:"dataFormat",value:function(){return[a.GEOJSON,a.ISERVER,a.FGB]}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function pA(e){return(pA="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})(e)}function yA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mA(){return(mA="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=bA(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function gA(e,t){return(gA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function vA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bA(e){return(bA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _A=function(){var e=o,t=f5;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gA(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=bA(n),t=(e=r?(e=bA(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===pA(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return vA(t)};function o(e,t){if(this instanceof o)return e=i.call(this,e,t),t&&D.extend(vA(e),t),e.CLASS_NAME="SuperMap.GeometryBatchAnalystService",e;throw new TypeError("Cannot call a class as a function")}return yA((e=o).prototype,[{key:"processAsync",value:function(e){this.url=D.urlPathAppend(this.url,"geometry/batchanalyst"),this.url=D.urlAppend(this.url,"returnContent=true&ignoreAnalystParam=true");e=this._processParams(e),e=D.toJSON(e);this.request({method:"POST",data:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed})}},{key:"_processParams",value:function(e){var t,n=this;if(D.isArray(e))return t=[],e.map(function(e){return t.push(n._toJSON(e)),e}),t}},{key:"_toJSON",value:function(e){var t={};if("buffer"===e.analystName)t.analystName="buffer",t.param={},Q5.toObject(e.param,t.param);else if("overlay"===e.analystName)t.analystName="overlay",t.param={},Fw.toObject(e.param,t.param);else if("interpolationDensity"===e.analystName)t.analystName="interpolationDensity",t.param={},Px.toObject(e.param,t.param);else if("interpolationidw"===e.analystName)t.analystName="interpolationidw",t.param={},Px.toObject(e.param,t.param);else if("interpolationRBF"===e.analystName)t.analystName="interpolationRBF",t.param={},Px.toObject(e.param,t.param);else if("interpolationKriging"===e.analystName)t.analystName="interpolationKriging",t.param={},Px.toObject(e.param,t.param);else{if("thiessenpolygon"!==e.analystName)return e;t.analystName="thiessenpolygon",t.param={},aA.toObject(e.param,t.param)}return t}},{key:"destroy",value:function(){mA(bA(o.prototype),"destroy",this).call(this)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function xA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}xA((O=AA).prototype,[{key:"getAreaSolarRadiationResult",value:function(e,t,n){new _5(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"bufferAnalysis",value:function(e,t,n){new Z5(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"densityAnalysis",value:function(e,t,n){new ux(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"generateSpatialData",value:function(e,t,n){new vx(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"geoRelationAnalysis",value:function(e,t,n){new Ex(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"interpolationAnalysis",value:function(e,t,n){new pw(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"mathExpressionAnalysis",value:function(e,t,n){new Aw(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"overlayAnalysis",value:function(e,t,n){new Ww(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"routeCalculateMeasure",value:function(e,t,n){new n7(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"routeLocate",value:function(e,t,n){new f7(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"surfaceAnalysis",value:function(e,t,n){new R7(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"terrainCurvatureCalculate",value:function(e,t,n){new Q7(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"thiessenAnalysis",value:function(e,t,n){new dA(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}).processAsync(e)}},{key:"geometrybatchAnalysis",value:function(e,t,n){for(var t=new _A(this.url,{eventListeners:{scope:this,processCompleted:t,processFailed:t},format:this._processFormat(n)}),r=[],i=0;i<e.length;i++){var o=e[i];r.push({analystName:o.analystName,param:o.param})}t.processAsync(r)}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}}]),Object.defineProperty(O,"prototype",{writable:!1});var wA=AA;function AA(e,t){if(!(this instanceof AA))throw new TypeError("Cannot call a class as a function");this.url=e,this.options=t||{}}function SA(e){return(SA="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})(e)}function CA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function OA(e,t){return(OA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function EA(e){return(EA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&OA(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=EA(n),t=(e=r?(e=EA(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==SA(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._spatialAnalystService=new wA(e,t),n;throw new TypeError("Cannot call a class as a function")}return CA((e=o).prototype,[{key:"getAreaSolarRadiationResult",value:function(e,t,n){this._spatialAnalystService.getAreaSolarRadiationResult(e,t,n)}},{key:"bufferAnalysis",value:function(e,t,n){e=this._processParams(e),this._spatialAnalystService.bufferAnalysis(e,t,n)}},{key:"densityAnalysis",value:function(e,t,n){e=this._processParams(e),this._spatialAnalystService.densityAnalysis(e,t,n)}},{key:"generateSpatialData",value:function(e,t,n){this._spatialAnalystService.generateSpatialData(e,t,n)}},{key:"geoRelationAnalysis",value:function(e,t,n){e=this._processParams(e),this._spatialAnalystService.geoRelationAnalysis(e,t,n)}},{key:"interpolationAnalysis",value:function(e,t,n){e=this._processParams(e),this._spatialAnalystService.interpolationAnalysis(e,t,n)}},{key:"mathExpressionAnalysis",value:function(e,t,n){e=this._processParams(e),this._spatialAnalystService.mathExpressionAnalysis(e,t,n)}},{key:"overlayAnalysis",value:function(e,t,n){e=this._processParams(e),this._spatialAnalystService.overlayAnalysis(e,t,n)}},{key:"routeCalculateMeasure",value:function(e,t,n){e=this._processParams(e),this._spatialAnalystService.routeCalculateMeasure(e,t,n)}},{key:"routeLocate",value:function(e,t,n){e=this._processParams(e),this._spatialAnalystService.routeLocate(e,t,n)}},{key:"surfaceAnalysis",value:function(e,t,n){e=this._processParams(e),this._spatialAnalystService.surfaceAnalysis(e,t,n)}},{key:"terrainCurvatureCalculate",value:function(e,t,n){this._spatialAnalystService.terrainCurvatureCalculate(e,t,n)}},{key:"thiessenAnalysis",value:function(e,t,n){e=this._processParams(e),this._spatialAnalystService.thiessenAnalysis(e,t,n)}},{key:"geometrybatchAnalysis",value:function(e,t,n){for(var r=0;r<e.length;r++)e[r].param=this._processParams(e[r].param);this._spatialAnalystService.geometrybatchAnalysis(e,t,n)}},{key:"_processParams",value:function(n){if(!n)return{};if(n.bounds&&(n.bounds=x.toSuperMapBounds(n.bounds)),n.inputPoints)for(var e=0;e<n.inputPoints.length;e++){var t=n.inputPoints[e];x.isArray(t)&&(n.inputPoints[e]={x:t[0],y:t[1],tag:t[2]})}if(n.points)for(var r=0;r<n.points.length;r++){var i=n.points[r];n.points[r]=x.toSuperMapPoint(i)}if(n.point&&(n.point=x.toSuperMapPoint(n.point)),n.extractRegion&&(n.extractRegion=x.toSuperMapGeometry(n.extractRegion)),n.extractParameter&&n.extractParameter.clipRegion&&(n.extractParameter.clipRegion=x.toSuperMapGeometry(n.extractParameter.clipRegion)),n.clipParam&&n.clipParam.clipRegion&&(n.clipParam.clipRegion=x.toSuperMapGeometry(n.clipParam.clipRegion)),n.sourceRoute&&n.sourceRoute){var o={type:"LINEM"};o.parts=[n.sourceRoute.geometry.coordinates.length],o.points=[];for(var a=0;a<n.sourceRoute.geometry.coordinates.length;a++){var s=n.sourceRoute.geometry.coordinates[a];o.points=o.points.concat({x:s[0],y:s[1],measure:s[2]})}n.sourceRoute=o}var l;if(n.operateRegions&&x.isArray(n.operateRegions)&&n.operateRegions.map(function(e,t){return n.operateRegions[t]=x.toSuperMapGeometry(e),n.operateRegions[t]}),n.sourceGeometry&&(l=null,n.sourceGeometrySRID&&(l=n.sourceGeometrySRID),n.sourceGeometry=x.toSuperMapGeometry(n.sourceGeometry),l&&(n.sourceGeometry.SRID=l),delete n.sourceGeometry.sourceGeometrySRID),n.operateGeometry&&(n.operateGeometry=x.toSuperMapGeometry(n.operateGeometry)),n.sourceGeometries){for(var u=[],c=0;c<n.sourceGeometries.length;c++)u.push(x.toSuperMapGeometry(n.sourceGeometries[c]));n.sourceGeometries=u}if(n.operateGeometries){for(var f=[],h=0;h<n.operateGeometries.length;h++)f.push(x.toSuperMapGeometry(n.operateGeometries[h]));n.operateGeometries=f}return n.sourceRoute&&n.sourceRoute.components&&x.isArray(n.sourceRoute.components)&&n.sourceRoute.components.map(function(e,t){return n.sourceRoute.components[t]=x.toSuperMapGeometry(e),n.sourceRoute.components[t]}),n}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function MA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}MA((O=kA).prototype,[{key:"destroy",value:function(){if(this.datasetNames=null,this.dataSourceNames=null,this.joinItems){for(var e=0,t=this.joinItems,n=t.length;e<n;e++)t[e].destroy();this.joinItems=null}if(this.themes){for(var r=0,i=this.themes,o=i.length;r<o;r++)i[r].destroy();this.themes=null}}}]),Object.defineProperty(O,"prototype",{writable:!1});var PA=kA;function kA(e){if(!(this instanceof kA))throw new TypeError("Cannot call a class as a function");this.datasetNames=null,this.dataSourceNames=null,this.joinItems=null,this.themes=null,this.displayFilters=null,this.displayOrderBys=null,this.fieldValuesDisplayFilter=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeParameters"}function TA(e){return(TA="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})(e)}function IA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function LA(){return(LA="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=BA(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function jA(e,t){return(jA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function DA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BA(e){return(BA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var RA=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jA(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=BA(n),t=(e=r?(e=BA(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===TA(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return DA(t)};function o(e,t){if(this instanceof o)return e=i.call(this,e,t),t&&D.extend(DA(e),t),e.eventCount=0,e.url=D.urlPathAppend(e.url,"tempLayersSet"),e.CLASS_NAME="SuperMap.ThemeService",e;throw new TypeError("Cannot call a class as a function")}return IA((e=o).prototype,[{key:"destroy",value:function(){LA(BA(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e,t){var n,r;e instanceof PA&&(e=this.getJsonParameters(e),n=++this.eventCount,r={scope:this,processCompleted:function(e){if(n===e.result.eventId&&t)return delete e.result.eventId,t(e),this.events&&this.events.un(r),!1},processFailed:function(e){if((n===e.error.eventId||n===e.eventId)&&t)return t(e),this.events&&this.events.un(r),!1}},this.events.on(r),this.request({method:"POST",data:e,scope:this,success:function(e,t){e.eventId=n,this.serviceProcessCompleted(e,t)},failure:function(e,t){e.error&&(e.error.eventId=n),e.eventId=n,this.serviceProcessFailed(e,t)}}))}},{key:"getJsonParameters",value:function(e){var t="";t+="[{'type': 'UGC','subLayers': {'layers': [";for(var n=0;n<e.themes.length;n++){var r,i=e.themes[n];t+="{'theme': "+D.toJSON(i).slice(0,-1)+"},'type': 'UGC','ugcLayerType': 'THEME',",(i=e.displayFilters)&&0<i.length&&(1===i.length?t+="'displayFilter':\""+i[0]+'",':t+="'displayFilter':\""+i[n]+'",'),(i=e.displayOrderBy)&&0<i.length&&(1===i.length?t+="'displayOrderBy':'"+i[0]+"',":t+="'displayOrderBy':'"+i[n]+"',"),(i=e.fieldValuesDisplayFilter)&&(t+="'fieldValuesDisplayFilter':"+D.toJSON(i)+","),e.joinItems&&0<e.joinItems.length&&e.joinItems[n]&&(t+="'joinItems':["+D.toJSON(e.joinItems[n])+"],"),e.datasetNames&&e.dataSourceNames?(i=e.datasetNames[n]?n:e.datasetNames.length-1,r=e.dataSourceNames[n]?n:e.dataSourceNames.length-1,t+="'datasetInfo': {'name': '"+e.datasetNames[i]+"','dataSourceName': '"+e.dataSourceNames[r]+"'}},"):t+="},"}e.themes&&0<e.themes.length&&(t=t.substring(0,t.length-1)),t+="]},";var o=this.url.split("/");return t+("'name': '"+o[o.length-2])+"'}]"}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function NA(e){return(NA="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})(e)}function zA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function FA(e,t){return(FA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function VA(e){return(VA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&FA(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=VA(n),t=(e=r?(e=VA(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==NA(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t))._themeService=new RA(e.url,{proxy:e.options.proxy,withCredentials:e.options.withCredentials,crossOrigin:e.options.crossOrigin,headers:e.options.headers}),e;throw new TypeError("Cannot call a class as a function")}return zA((e=o).prototype,[{key:"getThemeInfo",value:function(e,t){this._themeService.processAsync(e,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function HA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}HA((BS=GA).prototype,[{key:"destroy",value:function(){D.reset(this)}}]),Object.defineProperty(BS,"prototype",{writable:!1});var YA=GA;function GA(e){if(!(this instanceof GA))throw new TypeError("Cannot call a class as a function");e=e||{},this.keyWord=null,this.returnPosition=!1,D.extend(this,e),this.CLASS_NAME="SuperMap.StopQueryParameters"}function UA(e){return(UA="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})(e)}function QA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function WA(){return(WA="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=XA(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function qA(e,t){return(qA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function KA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XA(e){return(XA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var JA=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qA(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=XA(n),t=(e=r?(e=XA(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===UA(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return KA(t)};function o(e,t){if(this instanceof o)return e=i.call(this,e,t),t=t||{},D.extend(KA(e),t),e.CLASS_NAME="SuperMap.StopQueryService",e;throw new TypeError("Cannot call a class as a function")}return QA((e=o).prototype,[{key:"destroy",value:function(){WA(XA(o.prototype),"destroy",this).call(this),D.reset(this)}},{key:"processAsync",value:function(e){e instanceof YA&&(this.url=D.urlPathAppend(this.url,"stops/keyword/"+e.keyWord),this.request({method:"GET",params:{returnPosition:e.returnPosition},scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function $A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}BS=[{key:"toJson",value:function(e){if(e)return D.toJSON(e)}}],$A((AS=eS).prototype,[{key:"destroy",value:function(){D.reset(this)}}]),$A(AS,BS),Object.defineProperty(AS,"prototype",{writable:!1});var ZA=eS;function eS(e){if(!(this instanceof eS))throw new TypeError("Cannot call a class as a function");e=e||{},this.transferLines=null,this.points=null,D.extend(this,e),this.CLASS_NAME="SuperMap.TransferPathParameters"}function tS(e){return(tS="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})(e)}function nS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rS(){return(rS="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=oS(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function iS(e,t){return(iS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function oS(e){return(oS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var aS=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&iS(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=oS(n),t=(e=r?(e=oS(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==tS(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.TransferPathService",e;throw new TypeError("Cannot call a class as a function")}return nS((e=o).prototype,[{key:"destroy",value:function(){rS(oS(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){e instanceof ZA&&(this.url=D.urlPathAppend(this.url,"path"),e={points:D.toJSON(e.points),transferLines:D.toJSON(e.transferLines)},this.request({method:"GET",params:e,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function sS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}BS=[{key:"toJson",value:function(e){if(e)return D.toJSON(e)}}],sS((AS=uS).prototype,[{key:"destroy",value:function(){D.reset(this)}}]),sS(AS,BS),Object.defineProperty(AS,"prototype",{writable:!1});var lS=uS;function uS(e){if(!(this instanceof uS))throw new TypeError("Cannot call a class as a function");e=e||{},this.solutionCount=6,this.transferPreference=on.NONE,this.transferTactic=rn.LESS_TIME,this.walkingRatio=null,this.points=!1,this.evadeLines=null,this.evadeStops=null,this.priorLines=null,this.priorStops=null,this.travelTime=null,D.extend(this,e),this.CLASS_NAME="SuperMap.TransferSolutionParameters"}function cS(e){return(cS="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})(e)}function fS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hS(){return(hS="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=pS(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function dS(e,t){return(dS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function pS(e){return(pS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yS=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dS(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=pS(n),t=(e=r?(e=pS(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==cS(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).CLASS_NAME="SuperMap.TransferSolutionService",e;throw new TypeError("Cannot call a class as a function")}return fS((e=o).prototype,[{key:"destroy",value:function(){hS(pS(o.prototype),"destroy",this).call(this)}},{key:"processAsync",value:function(e){var t;e instanceof lS&&(this.url=D.urlPathAppend(this.url,"solutions"),t={points:D.toJSON(e.points),walkingRatio:e.walkingRatio,transferTactic:e.transferTactic,solutionCount:e.solutionCount,transferPreference:e.transferPreference},e.evadeLines&&(t.evadeLines=D.toJSON(e.evadeLines)),e.evadeStops&&(t.evadeStops=D.toJSON(e.evadeStops)),e.priorLines&&(t.priorLines=D.toJSON(e.priorLines)),e.priorStops&&(t.priorStops=D.toJSON(e.priorStops)),e.travelTime&&(t.travelTime=e.travelTime),this.request({method:"GET",params:t,scope:this,success:this.serviceProcessCompleted,failure:this.serviceProcessFailed}))}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function mS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}mS((BS=vS).prototype,[{key:"queryStop",value:function(e,t){new JA(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}},{key:"analysisTransferPath",value:function(e,t){new aS(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}},{key:"analysisTransferSolution",value:function(e,t){new yS(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,crossOrigin:this.options.crossOrigin,headers:this.options.headers,eventListeners:{scope:this,processCompleted:t,processFailed:t}}).processAsync(e)}}]),Object.defineProperty(BS,"prototype",{writable:!1});var gS=vS;function vS(e,t){if(!(this instanceof vS))throw new TypeError("Cannot call a class as a function");this.url=e,this.options=t||{}}function bS(e){return(bS="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})(e)}function _S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xS(e,t){return(xS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function wS(e){return(wS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var AS=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xS(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=wS(n),t=(e=r?(e=wS(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==bS(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._trafficTransferAnalystService=new gS(e,t),n;throw new TypeError("Cannot call a class as a function")}return _S((e=o).prototype,[{key:"queryStop",value:function(e,t){this._trafficTransferAnalystService.queryStop(e,t)}},{key:"analysisTransferPath",value:function(e,t){this._trafficTransferAnalystService.analysisTransferPath(e,t)}},{key:"analysisTransferSolution",value:function(e,t){this._trafficTransferAnalystService.analysisTransferSolution(e,t)}},{key:"_processParams",value:function(n){return n?(n.transferLines&&!x.isArray(n.transferLines)&&(n.transferLines=[n.transferLines]),n.points&&x.isArray(n.points)&&n.points.map(function(e,t){return n.points[t]=e instanceof u().LngLat?{x:e.lng,y:e.lat}:e,n.points[t]}),n):{}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function SS(e){return(SS="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})(e)}function CS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function OS(){return(OS="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=kS(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ES(e,t){return(ES=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function MS(e,t){if(t&&("object"===SS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return PS(e)}function PS(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kS(e){return(kS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var TS=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ES(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=kS(n);return MS(this,r?(e=kS(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))};function o(e,t){if(this instanceof o)return e=i.call(this,e,t),t&&D.extend(PS(e),t),e.eventCount=0,e.CLASS_NAME="SuperMap.WebPrintingService",e.url?e:MS(e);throw new TypeError("Cannot call a class as a function")}return CS((e=o).prototype,[{key:"destroy",value:function(){OS(kS(o.prototype),"destroy",this).call(this)}},{key:"createWebPrintingJob",value:function(e,t){e&&(e.layoutOptions&&e.layoutOptions.legendOptions&&(e.layoutOptions.legendOptions.title||(e.layoutOptions.legendOptions.title=""),e.layoutOptions.legendOptions.picAsBase64=e.layoutOptions.legendOptions.picAsBase64&&e.layoutOptions.legendOptions.picAsBase64.replace(/^data:.+;base64,/,""),e.layoutOptions.legendOptions.customItems)&&e.layoutOptions.legendOptions.customItems.hasOwnProperty("picAsBase64")&&(e.layoutOptions.legendOptions.customItems.picAsBase64=e.layoutOptions.legendOptions.customItems.picAsBase64.replace(/^data:.+;base64,/,"")),this.processAsync("jobs","POST",t,e))}},{key:"getPrintingJob",value:function(t,n){var r=this;r.processAsync("jobs/".concat(t),"GET",function(e){r.rollingProcess(e,r._processUrl("jobs/".concat(t)),n)})}},{key:"getPrintingJobResult",value:function(e,t){this.processAsync("jobs/".concat(e,"/result"),"GET",t)}},{key:"getLayoutTemplates",value:function(e){this.processAsync("layouts","GET",e)}},{key:"rollingProcess",value:function(e,r,i){var o,a=this;e&&(o=setInterval(function(){var n=++a.eventCount,t={scope:this,processCompleted:function(e){if(n===e.result.eventId&&i)return delete e.result.eventId,i(e),a.events.un(t),!1},processFailed:function(e){if((n===e.error.eventId||n===e.eventId)&&i)return i(e),a.events.un(t),!1}};a.events.on(t),a.request({url:r,method:"GET",scope:a,success:function(e,t){switch(e.eventId=n,e.status){case"FINISHED":clearInterval(o),a.serviceProcessCompleted(e,t);break;case"ERROR":clearInterval(o),a.serviceProcessFailed(e,t);break;case"RUNNING":a.events.triggerEvent("processRunning",e)}},failure:a.serviceProcessFailed})},1e3))}},{key:"processAsync",value:function(e,t,n,r){var i=++this.eventCount,o={scope:this,processCompleted:function(e){if(i===e.result.eventId&&n)return delete e.result.eventId,n(e),this.events&&this.events.un(o),!1},processFailed:function(e){if(i===e.error.eventId||i===e.eventId)return n(e),this.events&&this.events.un(o),!1}},e=(this.events.on(o),{url:this._processUrl(e),method:t,scope:this,success:function(e,t){e.eventId=i,this.serviceProcessCompleted(e,t)},failure:function(e,t){e.error&&(e.error.eventId=i),e.eventId=i,this.serviceProcessFailed(e,t)}});r&&(e.data=D.toJSON(r)),this.request(e)}},{key:"_processUrl",value:function(e){return e?D.urlPathAppend(this.url,e):this.url}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function IS(e){return(IS="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})(e)}function LS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jS(e,t){return(jS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function DS(e){return(DS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var BS=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jS(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=DS(n),t=(e=r?(e=DS(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==IS(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t))._webPrintingService=new TS(e,t),n;throw new TypeError("Cannot call a class as a function")}return LS((e=o).prototype,[{key:"createWebPrintingJob",value:function(e,t){e&&this._webPrintingService.createWebPrintingJob(this._processParams(e),t)}},{key:"getPrintingJob",value:function(e,t){this._webPrintingService.getPrintingJob(e,t)}},{key:"getPrintingJobResult",value:function(e,t){this._webPrintingService.getPrintingJobResult(e,t)}},{key:"getLayoutTemplates",value:function(e){this._webPrintingService.getLayoutTemplates(e)}},{key:"_processParams",value:function(e){return e.layoutOptions&&e.layoutOptions.littleMapOptions&&(e.layoutOptions.littleMapOptions.center=this._toPointObject(e.layoutOptions.littleMapOptions.center)),e.exportOptions&&(e.exportOptions.center=this._toPointObject(e.exportOptions.center)),e}},{key:"_toPointObject",value:function(e){return x.isArray(e)?{x:e[0],y:e[1]}:e instanceof P||e instanceof u().Point?{x:e.x,y:e.y}:e instanceof u().LngLat?{x:e.lng,y:e.lat}:e}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function RS(e){return(RS="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})(e)}function NS(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function zS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function FS(){return(FS="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=YS(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function VS(e,t){return(VS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function HS(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YS(e){return(YS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var GS=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&VS(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=YS(n),t=(e=r?(e=YS(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===RS(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return HS(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).options=t||{},t&&D.extend(HS(e),t),e.eventCount=0,e.CLASS_NAME="SuperMap.ImageService",e;throw new TypeError("Cannot call a class as a function")}return zS((e=o).prototype,[{key:"destroy",value:function(){FS(YS(o.prototype),"destroy",this).call(this)}},{key:"getCollections",value:function(e){var t=D.convertPath("/collections"),t=D.urlPathAppend(this.url,t);this._processAsync({url:t,mehtod:"GET",callback:e})}},{key:"getCollectionByID",value:function(e,t){e=D.convertPath("/collections/{collectionId}",{collectionId:e}),e=D.urlPathAppend(this.url,e);this._processAsync({url:e,mehtod:"GET",callback:t})}},{key:"search",value:function(e,t){var e=function(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?NS(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):NS(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}({},e||{}),n=D.convertPath("/search"),n=D.urlPathAppend(this.url,n);this._processAsync({url:n,method:"POST",data:e,callback:t})}},{key:"_processAsync",value:function(e){var t=e.url,n=e.method,r=e.callback,e=e.data,i=++this.eventCount,o=this,a={scope:this,processCompleted:function(e){if(i===e.result.eventId&&r)return delete e.result.eventId,r(e),this.events&&this.events.un(a),!1},processFailed:function(e){if((i===e.error.eventId||i===e.eventId)&&r)return r(e),this.events&&this.events.un(a),!1}};this.events.on(a),this.request({method:n||"GET",url:t,data:e,scope:this,success:function(e,t){e.eventId=i,o.serviceProcessCompleted(e,t)},failure:function(e,t){e.error&&(e.error.eventId=i),e.eventId=i,o.serviceProcessFailed(e,t)}})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function US(e){return(US="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})(e)}function QS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function WS(e,t){return(WS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function qS(e){return(qS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var KS=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&WS(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=qS(n),t=(e=r?(e=qS(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==US(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t))._imageService=new GS(e.url,{proxy:e.options.proxy,withCredentials:e.options.withCredentials,crossOrigin:e.options.crossOrigin,headers:e.options.headers}),e;throw new TypeError("Cannot call a class as a function")}return QS((e=o).prototype,[{key:"getCollections",value:function(e){this._imageService.getCollections(e)}},{key:"getCollectionByID",value:function(e,t){this._imageService.getCollectionByID(e,t)}},{key:"search",value:function(e,t){this._imageService.search(e,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function XS(e){return(XS="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})(e)}function JS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $S(){return($S="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=t9(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ZS(e,t){return(ZS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function e9(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t9(e){return(t9=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var n9=function(){var e=o,t=v;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZS(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=t9(n),t=(e=r?(e=t9(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===XS(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return e9(t)};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t)).options=t||{},t&&D.extend(e9(e),t),e.eventCount=0,e.CLASS_NAME="SuperMap.ImageCollectionService",e;throw new TypeError("Cannot call a class as a function")}return JS((e=o).prototype,[{key:"destroy",value:function(){$S(t9(o.prototype),"destroy",this).call(this)}},{key:"getLegend",value:function(e,t){var n={collectionId:this.options.collectionId},n=D.convertPath("/collections/{collectionId}/legend",n),n=D.urlPathAppend(this.url,n);this._processAsync({url:n,method:"GET",params:e,callback:t})}},{key:"getStatistics",value:function(e){var t={collectionId:this.options.collectionId},t=D.convertPath("/collections/{collectionId}/statistics",t),t=D.urlPathAppend(this.url,t);this._processAsync({url:t,method:"GET",callback:e})}},{key:"getTileInfo",value:function(e){var t={collectionId:this.options.collectionId},t=D.convertPath("/collections/{collectionId}/tileInfo",t),t=D.urlPathAppend(this.url,t);this._processAsync({url:t,method:"GET",callback:e})}},{key:"deleteItemByID",value:function(e,t){e={collectionId:this.options.collectionId,featureId:e},e=D.convertPath("/collections/{collectionId}/items/{featureId}",e),e=D.urlPathAppend(this.url,e);this._processAsync({url:e,method:"DELETE",callback:t})}},{key:"getItemByID",value:function(e,t){e={collectionId:this.options.collectionId,featureId:e},e=D.convertPath("/collections/{collectionId}/items/{featureId}",e),e=D.urlPathAppend(this.url,e);this._processAsync({url:e,method:"GET",callback:t})}},{key:"_processAsync",value:function(e){var t=e.url,n=e.method,r=e.callback,e=e.params,i=++this.eventCount,o={scope:this,processCompleted:function(e){if(i===e.result.eventId&&r)return delete e.result.eventId,r(e),this.events&&this.events.un(o),!1},processFailed:function(e){if((i===e.error.eventId||i===e.eventId)&&r)return r(e),this.events&&this.events.un(o),!1}};this.events.on(o),this.request({method:n||"GET",url:t,params:e,scope:this,success:function(e,t){e.eventId=i,this.serviceProcessCompleted(e,t)},failure:function(e,t){e.error&&(e.error.eventId=i),e.eventId=i,this.serviceProcessFailed(e,t)}})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function r9(e){return(r9="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})(e)}function i9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o9(e,t){return(o9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a9(e){return(a9=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s9=function(){var e=o,t=m;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o9(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=a9(n),t=(e=r?(e=a9(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==r9(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){if(this instanceof o)return(e=i.call(this,e,t))._imageCollectionService=new n9(e.url,{collectionId:e.options.collectionId,proxy:e.options.proxy,withCredentials:e.options.withCredentials,crossOrigin:e.options.crossOrigin,headers:e.options.headers}),e;throw new TypeError("Cannot call a class as a function")}return i9((e=o).prototype,[{key:"getLegend",value:function(e,t){this._imageCollectionService.getLegend(e,t)}},{key:"getStatistics",value:function(e){this._imageCollectionService.getStatistics(e)}},{key:"getTileInfo",value:function(e){this._imageCollectionService.getTileInfo(e)}},{key:"deleteItemByID",value:function(e,t){this._imageCollectionService.deleteItemByID(e,t)}},{key:"getItemByID",value:function(e,t){this._imageCollectionService.getItemByID(e,t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}(),E=window.SuperMap=window.SuperMap||{};function l9(e){return(l9="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})(e)}function u9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c9(e,t){return(c9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f9(e){return(f9=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}E.Components=window.SuperMap.Components||{};var h9=function(){var e=o,t=nt;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),c9(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=f9(n),t=(e=r?(e=f9(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==l9(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e)).regExes={typeStr:/^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,spaces:/\s+/,parenComma:/\)\s*,\s*\(/,doubleParenComma:/\)\s*\)\s*,\s*\(\s*\(/,trimParens:/^\s*\(?(.*?)\)?\s*$/},e.CLASS_NAME="SuperMap.Format.WKT",e.extract={point:function(e){return e.x+" "+e.y},multipoint:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push("("+this.extract.point.apply(this,[e.components[n]])+")");return t.join(",")},linestring:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push(this.extract.point.apply(this,[e.components[n]]));return t.join(",")},multilinestring:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push("("+this.extract.linestring.apply(this,[e.components[n]])+")");return t.join(",")},polygon:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push("("+this.extract.linestring.apply(this,[e.components[n]])+")");return t.join(",")},multipolygon:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push("("+this.extract.polygon.apply(this,[e.components[n]])+")");return t.join(",")},collection:function(e){for(var t=[],n=0,r=e.components.length;n<r;++n)t.push(this.extractGeometry.apply(this,[e.components[n]]));return t.join(",")}},e.parse={point:function(e){e=Q.trim(e).split(this.regExes.spaces);return new et(new P(e[0],e[1]))},multipoint:function(e){for(var t,n=Q.trim(e).split(","),r=[],i=0,o=n.length;i<o;++i)t=n[i].replace(this.regExes.trimParens,"$1"),r.push(this.parse.point.apply(this,[t]).geometry);return new et(new we(r))},linestring:function(e){for(var t=Q.trim(e).split(","),n=[],r=0,i=t.length;r<i;++r)n.push(this.parse.point.apply(this,[t[r]]).geometry);return new et(new Ie(n))},multilinestring:function(e){for(var t,n=Q.trim(e).split(this.regExes.parenComma),r=[],i=0,o=n.length;i<o;++i)t=n[i].replace(this.regExes.trimParens,"$1"),r.push(this.parse.linestring.apply(this,[t]).geometry);return new et(new ht(r))},polygon:function(e){for(var t,n=Q.trim(e).split(this.regExes.parenComma),r=[],i=0,o=n.length;i<o;++i)t=n[i].replace(this.regExes.trimParens,"$1"),t=this.parse.linestring.apply(this,[t]).geometry,t=new Ne(t.components),r.push(t);return new et(new Ye(r))},multipolygon:function(e){for(var t,n=Q.trim(e).split(this.regExes.doubleParenComma),r=[],i=0,o=n.length;i<o;++i)t=n[i].replace(this.regExes.trimParens,"$1"),r.push(this.parse.polygon.apply(this,[t]).geometry);return new et(new mt(r))},geometrycollection:function(e){e=e.replace(/,\s*([A-Za-z])/g,"|$1");for(var t=Q.trim(e).split("|"),n=[],r=0,i=t.length;r<i;++r)n.push(this.read(t[r]));return n}},e;throw new TypeError("Cannot call a class as a function")}return u9((e=o).prototype,[{key:"read",value:function(e){e=e.replace(/[\n\r]/g," ");var t,n,e=this.regExes.typeStr.exec(e);return t=e&&(n=e[1].toLowerCase(),e=e[2],this.parse[n])?this.parse[n].apply(this,[e]):t}},{key:"write",value:function(e){var t,n,r=e.constructor===Array?(t=e,!0):!(t=[e]),i=[];r&&i.push("GEOMETRYCOLLECTION(");for(var o=0,a=t.length;o<a;++o)r&&0<o&&i.push(","),n=t[o].geometry,i.push(this.extractGeometry(n));return r&&i.push(")"),i.join("")}},{key:"extractGeometry",value:function(e){var t=e.CLASS_NAME.split(".")[2].toLowerCase();return this.extract[t]?("collection"===t?"GEOMETRYCOLLECTION":t.toUpperCase())+"("+this.extract[t].apply(this,[e])+")":null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function d9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}d9((w9=y9).prototype,[{key:"updateOptions",value:function(e){var t=this;(e=e||{}).speed&&0<=e.speed&&(t.speed=e.speed,t.speed=Number(t.speed)),e.speed&&0<=e.frequency&&(t.frequency=e.frequency,t.frequency=Number(t.frequency)),e.startTime&&null!=e.startTime&&(t.startTime=e.startTime,t.startTime=Date.parse(new Date(t.startTime))),e.endTime&&null!=e.endTime&&e.endTime>=t.startTime&&(t.endTime=e.endTime,t.endTime=Date.parse(new Date(t.endTime))),null!=e.repeat&&(t.repeat=e.repeat),null!=e.reverse&&(t.reverse=e.reverse)}},{key:"start",value:function(){this.running||(this.running=!0,this.tick(),this.events.triggerEvent("start",this.currentTime))}},{key:"pause",value:function(){this.running=!1,this.events.triggerEvent("pause",this.currentTime)}},{key:"stop",value:function(){this.currentTime=this.startTime,this.running&&(this.running=!1),this.events.triggerEvent("stop",this.currentTime)}},{key:"toggle",value:function(){this.running?this.pause():this.start()}},{key:"setSpeed",value:function(e){return 0<=e&&(this.speed=e,!0)}},{key:"getSpeed",value:function(){return this.speed}},{key:"setFrequency",value:function(e){return 0<=e&&(this.frequency=e,!0)}},{key:"getFrequency",value:function(){return this.frequency}},{key:"setStartTime",value:function(e){return!((e=Date.parse(new Date(e)))>this.endTime||(this.startTime=e,this.currentTime<this.startTime&&(this.currentTime=this.startTime,this.tick()),0))}},{key:"getStartTime",value:function(){return this.startTime}},{key:"setEndTime",value:function(e){return this.endTime=Date.parse(new Date(this.endTime)),!(e<this.startTime||(this.endTime=e,this.currentTime>=this.endTime&&(this.currentTime=this.startTime,this.tick()),0))}},{key:"getEndTime",value:function(){return this.endTime}},{key:"setCurrentTime",value:function(e){return this.currentTime=Date.parse(new Date(this.currentTime)),e>=this.startTime&&e<=this.endTime&&(this.currentTime=e,this.startTime=this.currentTime,this.tick(),!0)}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"setRepeat",value:function(e){this.repeat=e}},{key:"getRepeat",value:function(){return this.repeat}},{key:"setReverse",value:function(e){this.reverse=e}},{key:"getReverse",value:function(){return this.reverse}},{key:"getRunning",value:function(){return this.running}},{key:"destroy",value:function(){this.speed=null,this.frequency=null,this.startTime=null,this.endTime=null,this.currentTime=null,this.repeat=null,this.running=!1,this.reverse=null}},{key:"tick",value:function(){}}]),Object.defineProperty(w9,"prototype",{writable:!1});var p9=y9;function y9(e){if(!(this instanceof y9))throw new TypeError("Cannot call a class as a function");var t=this;this.speed=(e=e||{}).speed&&0<=e.speed?e.speed:1,this.frequency=e.speed&&0<=e.frequency?e.frequency:1e3,this.startTime=e.startTime&&null!=e.startTime?e.startTime:0,this.endTime=e.endTime&&null!=e.endTime&&e.endTime>=t.startTime?e.endTime:+new Date,this.repeat=void 0===e.repeat||e.repeat,this.reverse=void 0!==e.reverse&&e.reverse,this.currentTime=null,this.oldTime=null,this.running=!1,this.EVENT_TYPES=["start","pause","stop"],t.events=new Xr(this,null,this.EVENT_TYPES),t.speed=Number(t.speed),t.frequency=Number(t.frequency),t.startTime=Number(t.startTime),t.endTime=Number(t.endTime),t.startTime=Date.parse(new Date(t.startTime)),t.endTime=Date.parse(new Date(t.endTime)),t.currentTime=t.startTime,this.CLASS_NAME="SuperMap.TimeControlBase"}function m9(e){return(m9="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})(e)}function g9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v9(){return(v9="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=x9(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function b9(e,t){return(b9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _9(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x9(e){return(x9=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w9=function(){var e=o,t=p9;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),b9(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=x9(n),t=(e=r?(e=x9(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===m9(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _9(t)};function o(e,t){var n;if(this instanceof o)return(n=_9(t=i.call(this,t))).callback=e,Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");function t(){return r.apply(this instanceof i&&e?this:e,n.concat(Array.prototype.slice.call(arguments)))}var n=Array.prototype.slice.call(arguments,1),r=this,i=function(){};return i.prototype=this.prototype,t.prototype=new i,t}),n.update=n.update.bind(n),n.oldTime=n.currentTime,n.CLASS_NAME="SuperMap.TimeFlowControl",t;throw new TypeError("Cannot call a class as a function")}return g9((e=o).prototype,[{key:"updateOptions",value:function(e){e=e||{},v9(x9(o.prototype),"updateOptions",this).call(this,e)}},{key:"start",value:function(){var e=this;e.running||(e.running=!0,e.reverse?e.currentTime===e.startTime&&(e.oldTime=e.endTime,e.currentTime=e.oldTime):e.oldTime===e.endTime&&(e.currentTime=e.startTime,e.oldTime=e.currentTime),e.tick())}},{key:"stop",value:function(){v9(x9(o.prototype),"stop",this).call(this);this.oldTime=this.currentTime,this.running&&(this.running=!1),this.intervalId&&window.clearTimeout(this.intervalId)}},{key:"destroy",value:function(){v9(x9(o.prototype),"destroy",this).call(this),this.oldTime=null,this.callback=null}},{key:"tick",value:function(){this.intervalId&&window.clearInterval(this.intervalId),this.intervalId=null,this.update(),this.intervalId=window.setInterval(this.update,this.frequency)}},{key:"update",value:function(){var e=this;if(e.running)if(e.callback&&e.callback(e.currentTime),e.reverse){if(e.currentTime===e.startTime){if(!e.repeat)return e.running=!1,null;e.oldTime=e.endTime,e.currentTime=e.oldTime}else e.currentTime=e.oldTime,e.oldTime-=e.speed;e.oldTime<=e.startTime&&(e.oldTime=e.startTime)}else{if(e.currentTime===e.endTime){if(!e.repeat)return e.running=!1,e.stop(),null;e.stop(),e.currentTime=e.startTime,e.oldTime=e.currentTime,e.start()}else e.oldTime=e.currentTime,e.currentTime+=e.speed;e.currentTime>=e.endTime&&(e.currentTime=e.endTime)}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function A9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}A9((T9=C9).prototype,[{key:"request",value:function(e,t,n,r){(r=r||{headers:{Accept:"*/*","Content-Type":"application/json"}}).hasOwnProperty("withCredentials")||(r.withCredentials=!0),r.crossOrigin=this.options.crossOrigin,r.headers=this.options.headers;var i=bf.imanagerToken;return i&&(r.headers||(r.headers=[]),r.headers["X-Auth-Token"]=i),n=n&&JSON.stringify(n),d.commit(e,t,n,r).then(function(e){return e.json()})}}]),Object.defineProperty(T9,"prototype",{writable:!1});var S9=C9;function C9(e,t){var n;if(!(this instanceof C9))throw new TypeError("Cannot call a class as a function");e&&(n=e.substr(e.length-1,1),this.serviceUrl="/"===n?e.substr(0,e.length-2):e),this.options=t||{},this.CLASS_NAME="SuperMap.iManagerServiceBase"}T9=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.nodeSpec="SMALL",this.nodeCount=1,this.nodeName="",this.password="",this.description="",this.physicalMachineName="",this.ips=[],this.userName="",D.extend(this,t)},Object.defineProperty(T9,"prototype",{writable:!1});var O9=T9;function E9(e){return(E9="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})(e)}function M9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P9(e,t){return(P9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function k9(e){return(k9=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T9=function(){var e=o,t=S9;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),P9(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=k9(n),t=(e=r?(e=k9(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==E9(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return i.call(this,e);throw new TypeError("Cannot call a class as a function")}return M9((e=o).prototype,[{key:"load",value:function(){return this.request("GET",this.serviceUrl+"/web/api/service.json")}},{key:"createIServer",value:function(e){return this.request("POST",this.serviceUrl+"/icloud/web/nodes/server.json",new O9(e))}},{key:"createIPortal",value:function(e){return this.request("POST",this.serviceUrl+"/icloud/web/nodes/portal.json",new O9(e))}},{key:"iServerList",value:function(){return this.request("GET",this.serviceUrl+"/icloud/web/nodes/server.json")}},{key:"iPortalList",value:function(){return this.request("GET",this.serviceUrl+"/icloud/web/nodes/portal.json")}},{key:"startNodes",value:function(e){return this.request("POST",this.serviceUrl+"/icloud/web/nodes/started.json",e)}},{key:"stopNodes",value:function(e){return this.request("POST",this.serviceUrl+"/icloud/web/nodes/stopped.json",e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function I9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}I9((q9=j9).prototype,[{key:"request",value:function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{headers:this.headers,crossOrigin:this.crossOrigin,withCredentials:this.withCredentials};return t=bf.appendCredential(t),d.commit(e,t,n,r).then(function(e){return e.json()})}}]),Object.defineProperty(q9,"prototype",{writable:!1});var L9=j9;function j9(e,t){if(!(this instanceof j9))throw new TypeError("Cannot call a class as a function");t=t||{},this.serviceUrl=e,this.CLASS_NAME="SuperMap.iPortalServiceBase",this.withCredentials=t.withCredentials||!1,this.crossOrigin=t.crossOrigin,this.headers=t.headers}q9=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.resourceType="",this.pageSize=12,this.currentPage=1,this.orderBy="UPDATETIME",this.orderType="DESC",this.searchType="PUBLIC",this.tags=[],this.dirIds=[],this.resourceSubTypes=[],this.aggregationTypes=[],this.text="",this.groupIds=[],this.departmentIds=[],D.extend(this,t)},Object.defineProperty(q9,"prototype",{writable:!1});var D9=q9;q9=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.content=[],this.total=0,this.currentPage=1,this.pageSize=12,this.aggregations=null,D.extend(this,t)},Object.defineProperty(q9,"prototype",{writable:!1});var B9=q9;function R9(e){return(R9="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})(e)}function N9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z9(e,t){return(z9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function F9(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V9(e){return(V9=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H9=function(){var e=o,t=L9;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),z9(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=V9(n),t=(e=r?(e=V9(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===R9(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return F9(t)};function o(e,t){var n;if(this instanceof o)return t=t||{},(n=i.call(this,e)).authorizeSetting=[],n.bounds="",n.bounds4326="",n.checkStatus="",n.createTime=0,n.description=null,n.dirId=null,n.epsgCode=0,n.heatLevel=0,n.id=0,n.name="",n.personalDirId=null,n.resourceId=0,n.resourceSubType=null,n.resourceType=null,n.serviceRootUrlId=null,n.tags=null,n.thumbnail=null,n.updateTime=0,n.userName="",n.sourceJSON={},D.extend(F9(n),t),n.resourceUrl=e+"/web/"+n.resourceType.replace("_","").toLowerCase()+"s/"+n.resourceId,n.withCredentials&&(n.resourceUrl=e+"/web/mycontent/"+n.resourceType.replace("_","").toLowerCase()+"s/"+n.resourceId),n;throw new TypeError("Cannot call a class as a function")}return N9((e=o).prototype,[{key:"load",value:function(){var t=this;return t.request("GET",t.resourceUrl+".json").then(function(e){if(e.error)return e;t.sourceJSON=e})}},{key:"update",value:function(){var e=this.resourceType.replace("_","").toLowerCase(),t=("data"===e&&(this.resourceUrl=this.resourceUrl+"/attributes.json"),JSON.stringify(this.sourceJSON));return"service"===e&&(e={authorizeSetting:this.sourceJSON.authorizeSetting,metadata:this.sourceJSON.metadata,tags:this.sourceJSON.tags,thumbnail:this.sourceJSON.thumbnail,tokenRefreshUrl:this.sourceJSON.tokenRefreshUrl},t=JSON.stringify(e)),this.request("PUT",this.resourceUrl,t,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();q9=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.ids=[],this.entities=[],this.resourceType="",D.extend(this,t)},Object.defineProperty(q9,"prototype",{writable:!1});var Y9=q9;function G9(e){return(G9="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})(e)}function U9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q9(e,t){return(Q9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function W9(e){return(W9=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q9=function(){var e=o,t=L9;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Q9(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=W9(n),t=(e=r?(e=W9(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==G9(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this,e,t)).iportalUrl=e,n.withCredentials=(t=t||{}).withCredentials||!1,n;throw new TypeError("Cannot call a class as a function")}return U9((e=o).prototype,[{key:"load",value:function(){return d.get(this.iportalUrl+"/web")}},{key:"queryResources",value:function(e){var r,t;return e instanceof D9?(t=(r=this).iportalUrl+"/gateway/catalog/resource/search.json",e.t=(new Date).getTime(),this.request("GET",t,e).then(function(e){var t=[],n=((e.content||[]).forEach(function(e){t.push(new H9(r.iportalUrl,e))}),new B9);return n.content=t,n.total=e.total,n.currentPage=e.currentPage,n.pageSize=e.pageSize,n.aggregations=e.aggregations,n})):new Promise(function(e){e("queryParams is not instanceof iPortalQueryParam !")})}},{key:"updateResourcesShareSetting",value:function(e){var t;return e instanceof Y9?(t=e.resourceType.replace("_","").toLowerCase()+"s",e={ids:e.ids,entities:e.entities},t=this.iportalUrl+"/web/"+(t="datas"===t?"mycontent/"+t:t)+"/sharesetting.json",this.request("PUT",t,JSON.stringify(e)).then(function(e){return e})):new Promise(function(e){e("shareParams is not instanceof iPortalShareParam !")})}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();K9=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.permissionType="",this.entityType="",this.entityName="GUEST",this.entityId=null,D.extend(this,t)},Object.defineProperty(K9,"prototype",{writable:!1});var K9;aC=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.rootUrl="",this.tags=[],this.entities=[],D.extend(this,t)},Object.defineProperty(aC,"prototype",{writable:!1});var X9=aC;aC=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.type="",this.tags=[],this.entities=[],this.metadata={},this.addedMapNames=[],this.addedSceneNames=[],D.extend(this,t)},Object.defineProperty(aC,"prototype",{writable:!1});var J9=aC;aC=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.fileName="",this.type="",this.tags=[],this.dataMetaInfo={},D.extend(this,t)},Object.defineProperty(aC,"prototype",{writable:!1});var $9=aC;aC=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.xField="",this.yField="",this.fileEncoding="UTF-8",this.xIndex=1,this.yIndex=1,this.fieldTypes=[],this.separator="",this.firstRowIsHead=!0,this.url="",this.dataStoreInfo={},D.extend(this,t)},Object.defineProperty(aC,"prototype",{writable:!1});var Z9=aC;aC=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.type="",this.url="",this.connectionInfo={},D.extend(this,t)},Object.defineProperty(aC,"prototype",{writable:!1});var eC=aC;aC=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.dataBase="",this.server="",D.extend(this,t)},Object.defineProperty(aC,"prototype",{writable:!1});var tC=aC;function nC(e){return(nC="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})(e)}function rC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iC(e,t){return(iC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function oC(e){return(oC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var aC=function(){var e=o,t=L9;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),iC(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=oC(n),t=(e=r?(e=oC(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==nC(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).iportalUrl=e,t;throw new TypeError("Cannot call a class as a function")}return rC((e=o).prototype,[{key:"deleteResources",value:function(e){var t=e.resourceType.replace("_","").toLowerCase(),n=this.iportalUrl+"/web/"+t+"s.json?ids="+encodeURI(JSON.stringify(e.ids));return"data"===t?(n=this.iportalUrl+"/web/mycontent/datas/delete.json",this.request("POST",n,JSON.stringify(e.ids))):this.request("DELETE",n)}},{key:"addMap",value:function(e){var t;return e instanceof X9?(e={rootUrl:e.rootUrl,tags:e.tags,authorizeSetting:e.entities},t=this.iportalUrl+"/web/maps/batchaddmaps.json",this.request("POST",t,JSON.stringify(e)).then(function(e){return e})):this.getErrMsgPromise("addMapParams is not instanceof IPortalAddResourceParam !")}},{key:"addScene",value:function(e){var t;return e instanceof X9?(e={rootUrl:e.rootUrl,tags:e.tags,authorizeSetting:e.entities},t=this.iportalUrl+"/web/scenes/batchaddscenes.json",this.request("POST",t,JSON.stringify(e)).then(function(e){return e})):this.getErrMsgPromise("addSceneParams is not instanceof IPortalAddResourceParam !")}},{key:"registerService",value:function(e){var t;return e instanceof J9?(e={type:e.type,tags:e.tags,authorizeSetting:e.entities,metadata:e.metadata,addedMapNames:e.addedMapNames,addedSceneNames:e.addedSceneNames},t=this.iportalUrl+"/web/services.json",this.request("POST",t,JSON.stringify(e)).then(function(e){return e})):this.getErrMsgPromise("registerParams is not instanceof IPortalRegisterServiceParam !")}},{key:"getErrMsgPromise",value:function(t){return new Promise(function(e){e(t)})}},{key:"uploadDataRequest",value:function(e,t){e=this.iportalUrl+"/web/mycontent/datas/"+e+"/upload.json";return this.request("POST",e,t)}},{key:"addData",value:function(e,t){var n=this;if(!(e instanceof $9))return this.getErrMsgPromise("params is not instanceof iPortalAddDataParam !");var r,i=this.iportalUrl+"/web/mycontent/datas.json",o={fileName:e.fileName,tags:e.tags,type:e.type},a=e.type.toLowerCase();if("excel"===a||"csv"===a){if(!(e.dataMetaInfo instanceof Z9))return this.getErrMsgPromise("params.dataMetaInfo is not instanceof iPortalDataMetaInfoParam !");r={xField:e.dataMetaInfo.xField,yField:e.dataMetaInfo.yField},"csv"===a&&(r.fileEncoding=e.dataMetaInfo.fileEncoding),o.coordType="WGS84",o.dataMetaInfo=r}else if("hdfs"===a||"hbase"===a){if(!(e.dataMetaInfo instanceof Z9))return this.getErrMsgPromise("params.dataMetaInfo is not instanceof iPortalDataMetaInfoParam !");if(!(e.dataMetaInfo.dataStoreInfo instanceof eC))return this.getErrMsgPromise("params.dataMetaInfo.dataStoreInfo is not instanceof iPortalDataStoreInfoParam !");var s={type:e.dataMetaInfo.dataStoreInfo.type};switch(a){case"hdfs":s.url=e.dataMetaInfo.dataStoreInfo.url,r={url:e.dataMetaInfo.url,dataStoreInfo:s};break;case"hbase":if(!(e.dataMetaInfo.dataStoreInfo.connectionInfo instanceof tC))return this.getErrMsgPromise("params.dataMetaInfo.dataStoreInfo.connectionInfo is not instanceof iPortalDataConnectionInfoParam !");s.connectionInfo={dataBase:e.dataMetaInfo.dataStoreInfo.connectionInfo.dataBase,server:e.dataMetaInfo.dataStoreInfo.connectionInfo.server,engineType:"HBASE"},s.datastoreType="SPATIAL",r={dataStoreInfo:s}}o.dataMetaInfo=r}return this.request("POST",i,JSON.stringify(o)).then(function(e){return"hdfs"===a||"hbase"===a?e:e.childID?n.uploadDataRequest(e.childID,t):e.customResult})}},{key:"publishOrUnpublish",value:function(e,t){var n,r;return e.dataId&&e.serviceType?(r=e.dataId,n=e.dataServiceId,e=e.serviceType,r=this.iportalUrl+"/web/mycontent/datas/"+r+"/publishstatus.json?serviceType="+e,n&&(r+="&dataServiceId="+n),this.request("PUT",r,JSON.stringify(t)).then(function(e){return t?n=n||e.customResult:e})):this.getErrMsgPromise("option.dataID and option.serviceType are Required!")}},{key:"getDataPublishedStatus",value:function(e,t){e=this.iportalUrl+"/web/mycontent/datas/"+e+"/publishstatus.json?dataServiceId="+t+"&forPublish=true";return this.request("GET",e)}},{key:"unPublishDataService",value:function(e){return this.publishOrUnpublish(e,!1)}},{key:"publishDataService",value:function(e){return this.publishOrUnpublish(e,!0)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function sC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}sC((wC=uC).prototype,[{key:"destroy",value:function(){this.aggName=null,this.aggFieldName=null,this.aggType=null}}]),Object.defineProperty(wC,"prototype",{writable:!1});var lC=uC;function uC(e){if(!(this instanceof uC))throw new TypeError("Cannot call a class as a function");this.aggName=null,this.aggFieldName=null,this.CLASS_NAME="SuperMap.AggregationParameter",D.extend(this,e)}function cC(e){return(cC="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})(e)}function fC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hC(e,t){return(hC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function dC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pC(e){return(pC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yC=function(){var e=o,t=lC;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),hC(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=pC(n),t=(e=r?(e=pC(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===cC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return dC(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this)).subAggs=null,t.aggType=null,t.CLASS_NAME="SuperMap.BucketAggParameter",D.extend(dC(t),e),t;throw new TypeError("Cannot call a class as a function")}return fC((e=o).prototype,[{key:"destroy",value:function(){this.subAggs&&(this.subAggs=null)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function mC(e){return(mC="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})(e)}function gC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vC(){return(vC="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=xC(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function bC(e,t){return(bC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xC(e){return(xC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var wC=function(){var e=o,t=lC;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),bC(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=xC(n),t=(e=r?(e=xC(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===mC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _C(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this)).aggType=mn.AVG,D.extend(_C(t),e),t.CLASS_NAME="SuperMap.MetricsAggParameter",t;throw new TypeError("Cannot call a class as a function")}return gC((e=o).prototype,[{key:"destroy",value:function(){vC(xC(o.prototype),"destroy",this).call(this),this.aggType=null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function AC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}AC((SC=CC).prototype,[{key:"destroy",value:function(){this.clipDatasetName=null,this.clipDatasourceName=null,this.clipRegion=null,this.isClipInRegion=null,this.isExactClip=null}},{key:"toJSON",value:function(){return D.toJSON({isClipInRegion:this.isClipInRegion,clipDatasetName:this.clipDatasetName,clipDatasourceName:this.clipDatasourceName,isExactClip:this.isExactClip,clipRegion:s.fromGeometry(this.clipRegion)})}}]),Object.defineProperty(SC,"prototype",{writable:!1});var SC=CC;function CC(e){if(!(this instanceof CC))throw new TypeError("Cannot call a class as a function");this.clipDatasetName=null,this.clipDatasourceName=null,this.clipRegion=null,this.isClipInRegion=!0,this.isExactClip=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ClipParameter"}function OC(e){return(OC="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})(e)}function EC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function MC(){return(MC="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=TC(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function PC(e,t){return(PC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function kC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TC(e){return(TC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var IC=function(){var e=o,t=yC;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&PC(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=TC(n),t=(e=r?(e=TC(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===OC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return kC(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this)).precision=5,D.extend(kC(t),e),t.aggType=yn.GEOHASH_GRID,t.CLASS_NAME="SuperMap.GeoHashGridAggParameter",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"toJsonParameters",value:function(e){e={aggName:e.aggName,aggFieldName:e.aggFieldName,aggType:e.aggType,precision:e.precision};return D.toJson(e)}}],EC((t=o).prototype,[{key:"destroy",value:function(){MC(TC(o.prototype),"destroy",this).call(this),this.aggType=null,this.precision=null}}]),EC(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();zC=function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.CLASS_NAME="LabelMatrixCell"},Object.defineProperty(zC,"prototype",{writable:!1});var LC=zC;function jC(e){return(jC="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})(e)}function DC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function BC(e,t){return(BC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function RC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NC(e){return(NC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var zC=function(){var e=o,t=LC;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),BC(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=NC(n),t=(e=r?(e=NC(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===jC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return RC(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).height=0,t.pathField=null,t.rotation=0,t.width=0,t.sizeFixed=!1,t.type="IMAGE",e&&D.extend(RC(t),e),t.CLASS_NAME="SuperMap.LabelImageCell",t;throw new TypeError("Cannot call a class as a function")}return DC((e=o).prototype,[{key:"destroy",value:function(){this.height=null,this.pathField=null,this.rotation=null,this.width=null,this.sizeFixed=null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function FC(e){return(FC="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})(e)}function VC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function HC(e,t){return(HC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function YC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GC(e){return(GC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var UC=function(){var e=o,t=LC;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),HC(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=GC(n),t=(e=r?(e=GC(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===FC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return YC(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).style=new c,t.symbolIDField=null,t.type="SYMBOL",e&&D.extend(YC(t),e),t.CLASS_NAME="SuperMap.LabelSymbolCell",t;throw new TypeError("Cannot call a class as a function")}return VC((e=o).prototype,[{key:"destroy",value:function(){this.style&&(this.style.destroy(),this.style=null),this.symbolIDField=null}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function QC(e){return(QC="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})(e)}function WC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qC(e,t){return(qC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function KC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XC(e){return(XC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var JC=function(){var e=o,t=LC;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),qC(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=XC(n),t=(e=r?(e=XC(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===QC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return KC(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).themeLabel=new ym,t.type="THEME",e&&D.extend(KC(t),e),t.CLASS_NAME=" SuperMap.LabelThemeCell",t;throw new TypeError("Cannot call a class as a function")}return WC((e=o).prototype,[{key:"destroy",value:function(){this.themeLabel&&(this.themeLabel.destroy(),this.themeLabel=null)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function $C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}$C((ZC=eO).prototype,[{key:"destroy",value:function(){this.layerName=null,this.isVisible=null,this.displayFilter=null}},{key:"toJSON",value:function(){var e="{",t=(e+='"type":"UGC",',[]);return this.layerName&&(t.push('"name":"'+this.layerName+'"'),t.push('"visible":'+this.isVisible)),this.displayFilter&&t.push('"displayFilter":"'+this.displayFilter+'"'),!this.minScale&&0!=this.minScale||t.push('"minScale":'+this.minScale),!this.maxScale&&0!=this.maxScale||t.push('"maxScale":'+this.maxScale),this.fieldValuesDisplayFilter&&t.push('"fieldValuesDisplayFilter":'+D.toJSON(this.fieldValuesDisplayFilter)),(e+=t)+"}"}}]),Object.defineProperty(ZC,"prototype",{writable:!1});var ZC=eO;function eO(e){if(!(this instanceof eO))throw new TypeError("Cannot call a class as a function");this.layerName=null,this.isVisible=null,this.displayFilter=null,this.fieldValuesDisplayFilter=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.LayerStatus"}function tO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}tO((nO=rO).prototype,[{key:"destroy",value:function(){this.datasourceConnectionInfo instanceof i8&&(this.datasourceConnectionInfo.destroy(),this.datasourceConnectionInfo=null),this.foreignKeys=null,this.foreignTable=null,this.linkFields=null,this.linkFilter=null,this.name=null,this.primaryKeys=null}}]),Object.defineProperty(nO,"prototype",{writable:!1});var nO=rO;function rO(e){if(!(this instanceof rO))throw new TypeError("Cannot call a class as a function");this.datasourceConnectionInfo=null,this.foreignKeys=null,this.foreignTable=null,this.linkFields=null,this.linkFilter=null,this.name=null,this.primaryKeys=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.LinkItem"}function iO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}iO((oO=aO).prototype,[{key:"destroy",value:function(){D.reset(this)}},{key:"fromJson",value:function(e){this.ugcLayer.fromJson.apply(this,[e])}},{key:"toServerJSONObject",value:function(){return this.ugcLayer.toServerJSONObject.apply(this,arguments)}},{key:"toString",value:function(){var e,t=this.ugcLayer.toServerJSONObject.apply(this,arguments),n="{";for(e in t)t.hasOwnProperty(e)&&(n+="'"+e+"':"+t[e]+",");return(n=n.substr(0,n.length-1))+"}"}}]),Object.defineProperty(oO,"prototype",{writable:!1});var oO=aO;function aO(e){if(!(this instanceof aO))throw new TypeError("Cannot call a class as a function");e=e||{},this.allowPointOverlap=!0,this.allowPointWithTextDisplay=!0,this.allowTextOverlap=!1,this.allowTextAndPointOverlap=!0,this.allowThemeGraduatedSymbolOverlap=!1,this.allowThemeGraphOverlap=!1,this.horizontalOverlappedSpaceSize=0,this.verticalOverlappedSpaceSize=0,D.extend(this,e),this.ugcLayer=new yg(e),this.CLASS_NAME="SuperMap.OverlapDisplayedOptions"}function sO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}sO((lO=uO).prototype,[{key:"destroy",value:function(){this.resourceID=null,this.tempLayerName=null,this.layerInfo=null}}]),Object.defineProperty(lO,"prototype",{writable:!1});var lO=uO;function uO(e){if(!(this instanceof uO))throw new TypeError("Cannot call a class as a function");e=e||{},this.resourceID=null,this.tempLayerName=null,this.layerInfo=null,D.extend(this,e),this.CLASS_NAME="SuperMap.SetLayerInfoParameters"}function cO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}cO((fO=hO).prototype,[{key:"destroy",value:function(){this.isTempLayers=null,this.resourceID=null,this.layersInfo=null}}]),Object.defineProperty(fO,"prototype",{writable:!1});var fO=hO;function hO(e){if(!(this instanceof hO))throw new TypeError("Cannot call a class as a function");e=e||{},this.isTempLayers=null,this.resourceID=null,this.layersInfo=null,D.extend(this,e),this.CLASS_NAME="SuperMap.SetLayersInfoParameters"}function dO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}pO=[{key:"fromJson",value:function(e){if(e)return new yO({maxWeight:e.maxWeight,nodeID:e.nodeID,resourceValue:e.resourceValue,type:e.type})}}],dO((gO=yO).prototype,[{key:"destroy",value:function(){this.maxWeight=null,this.nodeID=null,this.resourceValue=null,this.type=null}}]),dO(gO,pO),Object.defineProperty(gO,"prototype",{writable:!1});var pO=yO;function yO(e){if(!(this instanceof yO))throw new TypeError("Cannot call a class as a function");this.maxWeight=null,this.nodeID=null,this.resourceValue=null,this.type=null,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.SupplyCenter"}function mO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}gO=[{key:"fromObj",value:function(e){var t;if(e)return t=new vO,D.copy(t,e),t.leaderLineStyle=c.fromJson(e.leaderLineStyle),t}}],mO((MO=vO).prototype,[{key:"destroy",value:function(){this.flowEnabled=null,this.leaderLineDisplayed=null,this.leaderLineStyle&&(this.leaderLineStyle.destroy(),this.leaderLineStyle=null)}}]),mO(MO,gO),Object.defineProperty(MO,"prototype",{writable:!1});var gO=vO;function vO(e){if(!(this instanceof vO))throw new TypeError("Cannot call a class as a function");this.flowEnabled=!1,this.leaderLineDisplayed=!1,this.leaderLineStyle=new c,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeFlow"}function bO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}MO=[{key:"fromObj",value:function(e){var t;if(e)return t=new xO,D.copy(t,e),t.color=l.fromJson(e.color),t}}],bO((NO=xO).prototype,[{key:"destroy",value:function(){this.caption=null,this.end=null,this.start=null,this.color&&(this.color.destroy(),this.color=null),this.visible=null}},{key:"toServerJSONObject",value:function(){var e={};return(e=D.copyAttributes(e,this)).color&&e.color.toServerJSONObject&&(e.color=e.color.toServerJSONObject()),e}}]),bO(NO,MO),Object.defineProperty(NO,"prototype",{writable:!1});var _O=xO;function xO(e){if(!(this instanceof xO))throw new TypeError("Cannot call a class as a function");this.caption=null,this.color=new l,this.end=0,this.start=0,this.visible=!0,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGridRangeItem"}function wO(e){return(wO="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})(e)}function AO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function SO(){return(SO="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=EO(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function CO(e,t){return(CO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function OO(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EO(e){return(EO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var MO=function(){var e=o,t=Ry;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),CO(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=EO(n),t=(e=r?(e=EO(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===wO(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return OO(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,"GRIDRANGE",e)).items=null,t.rangeMode=Gt.EQUALINTERVAL,t.rangeParameter=0,t.colorGradientType=Ut.YELLOW_RED,t.reverseColor=!1,e&&D.extend(OO(t),e),t.CLASS_NAME="SuperMap.ThemeGridRange",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"fromObj",value:function(e){if(e){var t=new o,n=(D.copy(t,e),e.items),r=n?n.length:0;t.items=[];for(var i=0;i<r;i++)t.items.push(_O.fromObj(n[i]));return t}}}],AO((t=o).prototype,[{key:"destroy",value:function(){SO(EO(o.prototype),"destroy",this).call(this);var e=this;if(e.items){if(0<e.items.length)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.reverseColor=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}}]),AO(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function PO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}NO=[{key:"fromObj",value:function(e){var t=new TO;return D.copy(t,e),t.color=l.fromJson(e.color),t}}],PO((FO=TO).prototype,[{key:"destroy",value:function(){this.caption=null,this.unique=null,this.color&&(this.color.destroy(),this.color=null),this.visible=null}},{key:"toServerJSONObject",value:function(){var e={};return(e=D.copyAttributes(e,this)).color&&e.color.toServerJSONObject&&(e.color=e.color.toServerJSONObject()),e}}]),PO(FO,NO),Object.defineProperty(FO,"prototype",{writable:!1});var kO=TO;function TO(e){if(!(this instanceof TO))throw new TypeError("Cannot call a class as a function");this.caption=null,this.color=new l,this.unique=null,this.visible=!0,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGridUniqueItem"}function IO(e){return(IO="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})(e)}function LO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jO(){return(jO="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=RO(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function DO(e,t){return(DO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function BO(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RO(e){return(RO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var NO=function(){var e=o,t=Ry;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),DO(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=RO(n),t=(e=r?(e=RO(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===IO(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return BO(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,"GRIDUNIQUE",e)).defaultcolor=new l,t.items=null,e&&D.extend(BO(t),e),t.CLASS_NAME="SuperMap.ThemeGridUnique",t;throw new TypeError("Cannot call a class as a function")}return e=[{key:"fromObj",value:function(e){var t=new o,n=e.items,r=n?n.length:0;D.extend(t,e),t.items=[],t.defaultcolor=l.fromJson(e.defaultcolor);for(var i=0;i<r;i++)t.items.push(kO.fromObj(n[i]));return t}}],LO((t=o).prototype,[{key:"destroy",value:function(){jO(RO(o.prototype),"destroy",this).call(this);if(this.items){if(0<this.items.length)for(var e in this.items)this.items[e].destroy(),this.items[e]=null;this.items=null}this.defaultcolor&&(this.defaultcolor.destroy(),this.defaultcolor=null)}},{key:"toServerJSONObject",value:function(){var e={};if((e=D.copyAttributes(e,this)).defaultcolor&&e.defaultcolor.toServerJSONObject&&(e.defaultcolor=e.defaultcolor.toServerJSONObject()),e.items){for(var t=[],n=e.items.length,r=0;r<n;r++)t.push(e.items[r].toServerJSONObject());e.items=t}return e}}]),LO(t,e),Object.defineProperty(t,"prototype",{writable:!1}),o}();function zO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}FO=[{key:"fromObj",value:function(e){var t;if(e)return t=new VO,D.copy(t,e),t}}],zO((YO=VO).prototype,[{key:"destroy",value:function(){this.unique=null,this.caption=null,this.offsetX=null,this.offsetY=null,this.style&&(this.style.destroy(),this.style=null),this.visible=null}}]),zO(YO,FO),Object.defineProperty(YO,"prototype",{writable:!1});var FO=VO;function VO(e){if(!(this instanceof VO))throw new TypeError("Cannot call a class as a function");this.caption=null,this.unique=null,this.offsetX=0,this.offsetY=0,this.visible=!0,this.style=new Fy,e&&D.extend(this,e),this.CLASS_NAME="SuperMap.ThemeLabelUniqueItem"}function HO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}HO((YO=GO).prototype,[{key:"destroy",value:function(){this.srcData=null,this.targetData=null}},{key:"toJSON",value:function(){if(this.srcData&&this.targetData){for(var e="",t=Math.min(this.srcData.length,this.targetData.length),n=0;n<t;n++)e+="'"+this.srcData[n]+"':'"+this.targetData[n]+"',";return"{"+(e=0<n?e.substring(0,e.length-1):e)+"}"}return null}}]),Object.defineProperty(YO,"prototype",{writable:!1});var YO=GO;function GO(e,t){if(!(this instanceof GO))throw new TypeError("Cannot call a class as a function");this.srcData=e,this.targetData=t,this.CLASS_NAME="SuperMap.ThemeMemoryData"}function UO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}QO=[{key:"fromJson",value:function(e){if(e)return new WO({lineID:e.lineID,lineName:e.lineName,lineAliasName:e.lineAliasName,startStopIndex:e.startStopIndex,startStopName:e.startStopName,startStopAliasName:e.startStopAliasName,endStopIndex:e.endStopIndex,endStopName:e.endStopName,endStopAliasName:e.endStopAliasName})}}],UO((rE=WO).prototype,[{key:"destroy",value:function(){D.reset(this)}}]),UO(rE,QO),Object.defineProperty(rE,"prototype",{writable:!1});var QO=WO;function WO(e){if(!(this instanceof WO))throw new TypeError("Cannot call a class as a function");e=e||{},this.lineID=null,this.lineName=null,this.lineAliasName=null,this.startStopIndex=null,this.startStopName=null,this.startStopAliasName=null,this.endStopIndex=null,this.endStopName=null,this.endStopAliasName=null,D.extend(this,e),this.CLASS_NAME="SuperMap.TransferLine"}function qO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}qO((rE=XO).prototype,[{key:"destroy",value:function(){this.type=null}}]),Object.defineProperty(rE,"prototype",{writable:!1});var KO=XO;function XO(e){if(!(this instanceof XO))throw new TypeError("Cannot call a class as a function");e=e||{},this.type=null,D.extend(this,e),this.CLASS_NAME="SuperMap.RasterFunctionParameter"}function JO(e){return(JO="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})(e)}function $O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ZO(){return(ZO="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=nE(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function eE(e,t){return(eE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nE(e){return(nE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rE=function(){var e=o,t=KO;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),eE(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=nE(n),t=(e=r?(e=nE(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===JO(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return tE(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).redIndex=0,t.nirIndex=1,t.colorMap="0:ffffe5ff;0.1:f7fcb9ff;0.2:d9f0a3ff;0.3:addd8eff;0.4:78c679ff;0.5:41ab5dff;0.6:238443ff;0.7:006837ff;1:004529ff",t.type=gn.NDVI,D.extend(tE(t),e),t.CLASS_NAME="SuperMap.NDVIParameter",t;throw new TypeError("Cannot call a class as a function")}return $O((e=o).prototype,[{key:"destroy",value:function(){ZO(nE(o.prototype),"destroy",this).call(this),this.redIndex=null,this.nirIndex=null,this.colorMap=null}},{key:"toJSON",value:function(){return{redIndex:this.redIndex,nirIndex:this.nirIndex,colorMap:this.colorMap,type:this.type}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function iE(e){return(iE="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})(e)}function oE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aE(){return(aE="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=uE(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function sE(e,t){return(sE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function lE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uE(e){return(uE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var cE=function(){var e=o,t=KO;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),sE(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=uE(n),t=(e=r?(e=uE(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===iE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return lE(t)};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).altitude=45,t.azimuth=315,t.zFactor=1,t.type=gn.HILLSHADE,D.extend(lE(t),e),t.CLASS_NAME="SuperMap.HillshadeParameter",t;throw new TypeError("Cannot call a class as a function")}return oE((e=o).prototype,[{key:"destroy",value:function(){aE(uE(o.prototype),"destroy",this).call(this),this.altitude=null,this.azimuth=null,this.zFactor=null}},{key:"toJSON",value:function(){return{altitude:this.altitude,azimuth:this.azimuth,zFactor:this.zFactor,type:this.type}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function fE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}fE((k=dE).prototype,[{key:"destroy",value:function(){this.name=null,this.picAsUrl=null,this.picAsBase64=null}},{key:"toJSON",value:function(){var e={name:this.name};return this.title&&(e.title=this.title),this.picAsUrl?e.picAsUrl=this.picAsUrl:this.picAsBase64&&(e.picAsBase64=this.picAsBase64.replace(/^data:.+;base64,/,"")),D.toJSON(e)}}]),Object.defineProperty(k,"prototype",{writable:!1});var hE=dE;function dE(e){if(!(this instanceof dE))throw new TypeError("Cannot call a class as a function");this.name=null,this.picAsUrl=null,this.picAsBase64=null,this.CLASS_NAME="SuperMap.WebPrintingJobCustomItems",D.extend(this,e)}function pE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}pE((k=mE).prototype,[{key:"destroy",value:function(){this.picAsUrl=null,this.picAsBase64=null}},{key:"toJSON",value:function(){var e={};return this.picAsUrl&&(e.picAsUrl=this.picAsUrl),this.picAsBase64&&(e.picAsBase64=this.picAsBase64.replace(/^data:.+;base64,/,"")),D.toJSON(e)}}]),Object.defineProperty(k,"prototype",{writable:!1});var yE=mE;function mE(e){if(!(this instanceof mE))throw new TypeError("Cannot call a class as a function");this.picAsUrl=null,this.picAsBase64=null,this.CLASS_NAME="SuperMap.WebPrintingJobImage",D.extend(this,e)}function gE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}gE((k=bE).prototype,[{key:"destroy",value:function(){this.name=null,this.layerType=null,this.url=null}}]),Object.defineProperty(k,"prototype",{writable:!1});var vE=bE;function bE(e){if(!(this instanceof bE))throw new TypeError("Cannot call a class as a function");this.name=null,this.layerType=null,this.url=null,this.CLASS_NAME="SuperMap.WebPrintingJobLayers",D.extend(this,e)}function _E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}_E((k=wE).prototype,[{key:"destroy",value:function(){this.title=null,this.picAsUrl=null,this.picAsBase64=null,this.layers instanceof vE&&(this.layers.destroy(),this.layers=null),this.customItems instanceof hE&&(this.customItems.destroy(),this.customItems=null)}},{key:"toJSON",value:function(){var e={title:this.title||""};return this.picAsUrl?e.picAsUrl=this.picAsUrl:this.picAsBase64?e.picAsBase64=this.picAsBase64.replace(/^data:.+;base64,/,""):this.customItems&&(e.customItems=this.customItems),D.toJSON(e)}}]),Object.defineProperty(k,"prototype",{writable:!1});var xE=wE;function wE(e){if(!(this instanceof wE))throw new TypeError("Cannot call a class as a function");this.title=null,this.picAsUrl=null,this.picAsBase64=null,this.layers=null,this.customItems=null,this.CLASS_NAME="SuperMap.WebPrintingJobLegendOptions",D.extend(this,e)}function AE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}AE((k=CE).prototype,[{key:"destroy",value:function(){this.center=null,this.scale=null,this.layerNames=null,this.image instanceof yE&&(this.image.destroy(),this.image=null),this.layers instanceof vE&&(this.layers.destroy(),this.layers=null)}},{key:"toJSON",value:function(){var e={scale:this.scale,center:this.center};return this.layerNames?e.layerNames=this.layerNames:this.layers&&(e.layers=this.layers),this.image&&(e.image=this.image),D.toJSON(e)}}]),Object.defineProperty(k,"prototype",{writable:!1});var SE=CE;function CE(e){if(!(this instanceof CE))throw new TypeError("Cannot call a class as a function");this.center=null,this.scale=null,this.layerNames=null,this.image=null,this.layers=null,this.CLASS_NAME="SuperMap.WebPrintingJobLittleMapOptions",D.extend(this,e)}function OE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}OE((k=ME).prototype,[{key:"destroy",value:function(){this.picAsUrl=null,this.picAsBase64=null}},{key:"toJSON",value:function(){var e={};return this.picAsUrl?e.picAsUrl=this.picAsUrl:this.picAsBase64&&(e.picAsBase64=this.picAsBase64.replace(/^data:.+;base64,/,"")),D.toJSON(e)}}]),Object.defineProperty(k,"prototype",{writable:!1});var EE=ME;function ME(e){if(!(this instanceof ME))throw new TypeError("Cannot call a class as a function");this.picAsUrl=null,this.picAsBase64=null,this.CLASS_NAME="SuperMap.WebPrintingJobNorthArrowOptions",D.extend(this,e)}function PE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}PE((k=TE).prototype,[{key:"destroy",value:function(){this.scaleText=null,this.orientation=null,this.type=null,this.intervals=null,this.unit=null}},{key:"toJSON",value:function(){var e={scaleText:this.scaleText||"",type:this.type||"BAR",intervals:this.intervals||"",unit:this.unit||"METER"};return this.orientation&&(e.orientation=this.orientation),D.toJSON(e)}}]),Object.defineProperty(k,"prototype",{writable:!1});var kE=TE;function TE(e){if(!(this instanceof TE))throw new TypeError("Cannot call a class as a function");this.scaleText=null,this.orientation=null,this.type=null,this.intervals=null,this.unit=null,this.CLASS_NAME="SuperMap.WebPrintingJobScaleBarOptions",D.extend(this,e)}function IE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}IE((k=jE).prototype,[{key:"destroy",value:function(){this.type="WEBMAP",this.url=null,this.token=null,this.value=null}},{key:"toJSON",value:function(){var e={type:this.type};return this.token&&(e.token=this.token),this.url?e.url=this.url:this.value&&(e.value=this.value),D.toJSON(e)}}]),Object.defineProperty(k,"prototype",{writable:!1});var LE=jE;function jE(e){if(!(this instanceof jE))throw new TypeError("Cannot call a class as a function");this.type=null,this.url=null,this.token=null,this.value=null,this.CLASS_NAME="SuperMap.WebPrintingJobContent",D.extend(this,e)}function DE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}DE((k=RE).prototype,[{key:"destroy",value:function(){this.templateName=null,this.title=null,this.subTitle=null,this.author=null,this.copyright=null,this.scaleBarOptions instanceof kE&&(this.scaleBarOptions.destroy(),this.scaleBarOptions=null),this.northArrowOptions instanceof EE&&(this.northArrowOptions.destroy(),this.northArrowOptions=null),this.littleMapOptions instanceof SE&&(this.littleMapOptions.destroy(),this.littleMapOptions=null),this.legendOptions instanceof xE&&(this.legendOptions.destroy(),this.legendOptions=null)}},{key:"toJSON",value:function(){var e={templateName:this.templateName,title:this.title,subTitle:this.subTitle,author:this.author,copyright:this.copyright};return this.scaleBarOptions&&(e.scaleBarOptions=this.scaleBarOptions),this.northArrowOptions&&(e.northArrowOptions=this.northArrowOptions),this.littleMapOptions&&(e.littleMapOptions=this.littleMapOptions),this.legendOptions&&(e.legendOptions=this.legendOptions),D.toJSON(e)}}]),Object.defineProperty(k,"prototype",{writable:!1});var BE=RE;function RE(e){if(!(this instanceof RE))throw new TypeError("Cannot call a class as a function");this.templateName=null,this.title=null,this.subTitle=null,this.author=null,this.copyright=null,this.scaleBarOptions=null,this.northArrowOptions=null,this.littleMapOptions=null,this.legendOptions=null,this.CLASS_NAME="SuperMap.WebPrintingJobLayoutOptions",D.extend(this,e)}function NE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}NE((k=FE).prototype,[{key:"destroy",value:function(){this.format=null,this.dpi=null,this.scale=null,this.rotation=null,this.center=null,this.outputSize=null}},{key:"toJSON",value:function(){var e={format:this.format||"PDF",dpi:this.dpi,scale:this.scale,center:this.center};return this.rotation&&(e.rotation=this.rotation),this.outputSize&&(e.outputSize=this.outputSize),D.toJSON(e)}}]),Object.defineProperty(k,"prototype",{writable:!1});var zE=FE;function FE(e){if(!(this instanceof FE))throw new TypeError("Cannot call a class as a function");this.format=null,this.dpi=96,this.scale=null,this.rotation=null,this.center=null,this.CLASS_NAME="SuperMap.WebPrintingJobExportOptions",D.extend(this,e)}function VE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}VE((k=HE).prototype,[{key:"destroy",value:function(){this.content instanceof LE&&(this.content.destroy(),this.content=null),this.layoutOptions instanceof BE&&(this.layoutOptions.destroy(),this.layoutOptions=null),this.exportOptions instanceof zE&&(this.exportOptions.destroy(),this.exportOptions=null)}}]),Object.defineProperty(k,"prototype",{writable:!1});var k=HE;function HE(e){if(!(this instanceof HE))throw new TypeError("Cannot call a class as a function");e&&(this.content=null,this.layoutOptions=null,this.exportOptions=null,D.extend(this,e),this.CLASS_NAME="SuperMap.WebPrintingJobParameters")}function YE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}XE=[{key:"constructFromObject",value:function(e,t){return e&&(t=t||new UE,e.hasOwnProperty("include")&&(t.include=e.include),e.hasOwnProperty("exclude"))&&(t.exclude=e.exclude),t}}],YE((nM=UE).prototype,[{key:"destroy",value:function(){this.include=void 0,this.exclude=void 0}}]),YE(nM,XE),Object.defineProperty(nM,"prototype",{writable:!1});var GE=UE;function UE(e){if(!(this instanceof UE))throw new TypeError("Cannot call a class as a function");this.include=void 0,this.exclude=void 0,this.CLASS_NAME="SuperMap.FieldsFilter",D.extend(this,e)}function QE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}XE=[{key:"constructFromObject",value:function(e,t){return e&&(t=t||new qE,e.hasOwnProperty("field")&&(t.field=e.field),e.hasOwnProperty("direction"))&&(t.direction=e.direction),t}}],QE((nM=qE).prototype,[{key:"destroy",value:function(){this.field=void 0,this.direction="ASC"}}]),QE(nM,XE),Object.defineProperty(nM,"prototype",{writable:!1});var WE=qE;function qE(e){if(!(this instanceof qE))throw new TypeError("Cannot call a class as a function");this.field=void 0,this.direction=qE.Direction.ASC,this.CLASS_NAME="SuperMap.Sortby",D.extend(this,e)}function KE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}WE.Direction={ASC:"ASC",DESC:"DESC"};XE=[{key:"constructFromObject",value:function(e,t){return e&&(t=t||new JE,e.hasOwnProperty("bbox")&&(t.bbox=e.bbox),e.hasOwnProperty("collections")&&(t.collections=e.collections),e.hasOwnProperty("ids")&&(t.ids=e.ids),e.hasOwnProperty("limit")&&(t.limit=e.limit),e.hasOwnProperty("fields")&&(t.fields=GE.constructFromObject&&GE.constructFromObject(e.fields,{})||e.fields),e.hasOwnProperty("query")&&(t.query=e.query),e.hasOwnProperty("sortby"))&&(t.sortby=e.sortby,e.sortby)&&(t.sortby=e.sortby.map(function(e){return WE.constructFromObject&&WE.constructFromObject(e,{})||e})),t}}],KE((nM=JE).prototype,[{key:"destroy",value:function(){this.bbox=void 0,this.collections=void 0,this.ids=void 0,this.limit=void 0,this.fields=void 0,this.query=void 0,this.sortby=void 0}}]),KE(nM,XE),Object.defineProperty(nM,"prototype",{writable:!1});var XE=JE;function JE(e){if(!(this instanceof JE))throw new TypeError("Cannot call a class as a function");this.bbox=void 0,this.collections=void 0,this.ids=void 0,this.limit=void 0,this.fields=void 0,this.query=void 0,this.sortby=void 0,this.CLASS_NAME="SuperMap.ImageSearchParameter",D.extend(this,e)}function $E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}nM=[{key:"constructFromObject",value:function(e,t){return e&&(t=t||new eM,e.hasOwnProperty("stretchType")&&(t.stretchType=e.stretchType),e.hasOwnProperty("stdevCoefficient")&&(t.stdevCoefficient=e.stdevCoefficient),e.hasOwnProperty("gaussianCoefficient")&&(t.gaussianCoefficient=e.gaussianCoefficient),e.hasOwnProperty("useMedianValue")&&(t.useMedianValue=e.useMedianValue),e.hasOwnProperty("minPercent")&&(t.minPercent=e.minPercent),e.hasOwnProperty("maxPercent"))&&(t.maxPercent=e.maxPercent),t}}],$E((oM=eM).prototype,[{key:"destroy",value:function(){this.stretchType=void 0,this.stdevCoefficient=void 0,this.gaussianCoefficient=void 0,this.useMedianValue=void 0,this.minPercent=void 0,this.maxPercent=void 0}}]),$E(oM,nM),Object.defineProperty(oM,"prototype",{writable:!1});var ZE=eM;function eM(e){if(!(this instanceof eM))throw new TypeError("Cannot call a class as a function");this.stretchType=void 0,this.stdevCoefficient=void 0,this.gaussianCoefficient=void 0,this.useMedianValue=void 0,this.minPercent=void 0,this.maxPercent=void 0,this.CLASS_NAME="SuperMap.ImageStretchOption",D.extend(this,e)}function tM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}ZE.StretchType={NONE:"NONE",GAUSSIAN:"GAUSSIAN",PERCENTCLIP:"PERCENTCLIP",MINIMUMMAXIMUM:"MINIMUMMAXIMUM",STANDARDDEVIATION:"STANDARDDEVIATION"};nM=[{key:"constructFromObject",value:function(e,t){return e&&(t=t||new rM,e.hasOwnProperty("displayMode")&&(t.displayMode=e.displayMode),e.hasOwnProperty("displayBands")&&(t.displayBands=e.displayBands),e.hasOwnProperty("stretchOption")&&(t.stretchOption=ZE.constructFromObject&&ZE.constructFromObject(e.stretchOption,{})||e.stretchOption),e.hasOwnProperty("interpolationMode")&&(t.interpolationMode=e.interpolationMode),e.hasOwnProperty("colorScheme")&&(t.colorScheme=e.colorScheme),e.hasOwnProperty("colorTable")&&(t.colorTable=e.colorTable),e.hasOwnProperty("brightness")&&(t.brightness=e.brightness),e.hasOwnProperty("contrast")&&(t.contrast=e.contrast),e.hasOwnProperty("noData")&&(t.noData=e.noData),e.hasOwnProperty("noDataColor")&&(t.noDataColor=e.noDataColor),e.hasOwnProperty("backgroundValue")&&(t.backgroundValue=e.backgroundValue),e.hasOwnProperty("noDataTransparent")&&(t.noDataTransparent=e.noDataTransparent),e.hasOwnProperty("backgroundColor")&&(t.backgroundColor=e.backgroundColor),e.hasOwnProperty("backgroundTransparent")&&(t.backgroundTransparent=e.backgroundTransparent),e.hasOwnProperty("gridFunctions"))&&(t.gridFunctions=e.gridFunctions),t}}],tM((oM=rM).prototype,[{key:"destroy",value:function(){var e=this;e.displayMode=void 0,e.displayBands=void 0,e.stretchOption=void 0,e.interpolationMode=void 0,e.colorScheme=void 0,e.colorTable=void 0,e.brightness=void 0,e.contrast=void 0,e.noData=void 0,e.noDataColor=void 0,e.noDataTransparent=void 0,e.backgroundValue=void 0,e.backgroundColor=void 0,e.backgroundTransparent=void 0,e.gridFuncOptions=void 0}}]),tM(oM,nM),Object.defineProperty(oM,"prototype",{writable:!1});var nM=rM;function rM(e){if(!(this instanceof rM))throw new TypeError("Cannot call a class as a function");this.displayMode=void 0,this.displayBands=void 0,this.stretchOption=void 0,this.interpolationMode=void 0,this.colorScheme=void 0,this.colorTable=void 0,this.brightness=void 0,this.contrast=void 0,this.noData=void 0,this.noDataColor=void 0,this.noDataTransparent=void 0,this.backgroundValue=void 0,this.backgroundColor=void 0,this.backgroundTransparent=void 0,this.gridFunctions=void 0,this.CLASS_NAME="SuperMap.ImageRenderingRule",D.extend(this,e)}function iM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}nM.DisplayMode={COMPOSITE:"COMPOSITE",STRETCHED:"Stretched"},nM.InterpolationMode={NEARESTNEIGHBOR:"NEARESTNEIGHBOR",HIGHQUALITYBILINEAR:"HIGHQUALITYBILINEAR",DEFAULT:"DEFAULT"};oM=[{key:"constructFromObject",value:function(e,t){return e&&(t=t||new aM,e.hasOwnProperty("girdFuncName")&&(t.girdFuncName=e.girdFuncName),e.hasOwnProperty("Azimuth")&&(t.Azimuth=e.Azimuth),e.hasOwnProperty("Altitude")&&(t.Altitude=e.Altitude),e.hasOwnProperty("ZFactor"))&&(t.ZFactor=e.ZFactor),t}}],iM((lM=aM).prototype,[{key:"destroy",value:function(){this.girdFuncName="GFHillShade",this.Azimuth=315,this.Altitude=45,this.ZFactor=1}}]),iM(lM,oM),Object.defineProperty(lM,"prototype",{writable:!1});var oM=aM;function aM(e){if(!(this instanceof aM))throw new TypeError("Cannot call a class as a function");this.girdFuncName="GFHillShade",this.Azimuth=315,this.Altitude=45,this.ZFactor=1,this.CLASS_NAME="SuperMap.ImageGFHillShade",D.extend(this,e)}function sM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}lM=[{key:"constructFromObject",value:function(e,t){return e&&(t=t||new uM,e.hasOwnProperty("girdFuncName")&&(t.girdFuncName=e.girdFuncName),e.hasOwnProperty("Azimuth"))&&(t.Azimuth=e.Azimuth),t}}],sM((fM=uM).prototype,[{key:"destroy",value:function(){this.girdFuncName="GFAspect",this.Azimuth=void 0}}]),sM(fM,lM),Object.defineProperty(fM,"prototype",{writable:!1});var lM=uM;function uM(e){if(!(this instanceof uM))throw new TypeError("Cannot call a class as a function");this.girdFuncName="GFAspect",this.Azimuth=void 0,this.CLASS_NAME="SuperMap.ImageGFAspect",D.extend(this,e)}function cM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}fM=[{key:"constructFromObject",value:function(e,t){return e&&(t=t||new hM,e.hasOwnProperty("girdFuncName"))&&(t.girdFuncName=e.girdFuncName),t}}],cM((pM=hM).prototype,[{key:"destroy",value:function(){this.girdFuncName="GFOrtho"}}]),cM(pM,fM),Object.defineProperty(pM,"prototype",{writable:!1});var fM=hM;function hM(e){if(!(this instanceof hM))throw new TypeError("Cannot call a class as a function");this.girdFuncName="GFOrtho",this.CLASS_NAME="SuperMap.ImageGFOrtho",D.extend(this,e)}function dM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}pM=[{key:"constructFromObject",value:function(e,t){return e&&(t=t||new yM,e.hasOwnProperty("girdFuncName")&&(t.girdFuncName=e.girdFuncName),e.hasOwnProperty("Altitude")&&(t.Altitude=e.Altitude),e.hasOwnProperty("ZFactor"))&&(t.ZFactor=e.ZFactor),t}}],dM((OM=yM).prototype,[{key:"destroy",value:function(){this.girdFuncName="GFSlope",this.Altitude=45,this.ZFactor=1}}]),dM(OM,pM),Object.defineProperty(OM,"prototype",{writable:!1});var pM=yM;function yM(e){if(!(this instanceof yM))throw new TypeError("Cannot call a class as a function");this.girdFuncName="GFSlope",this.Altitude=45,this.ZFactor=1,this.CLASS_NAME="SuperMap.ImageGFSlope",D.extend(this,e)}function mM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}mM((OM=vM).prototype,[{key:"request",value:function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};return t=bf.appendCredential(t),r.crossOrigin=this.options.crossOrigin,r.headers=this.options.headers,d.commit(e,t,n,r).then(function(e){return e.json()})}}]),Object.defineProperty(OM,"prototype",{writable:!1});var gM=vM;function vM(e){if(!(this instanceof vM))throw new TypeError("Cannot call a class as a function");D.extend(this,e=e||{}),this.CLASS_NAME="SuperMap.OnlineServiceBase"}function bM(e){return(bM="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})(e)}function _M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xM(e,t){return(xM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function wM(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AM(e){return(AM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var SM=function(){var e=o,t=gM;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),xM(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=AM(n),t=(e=r?(e=AM(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(e&&("object"===bM(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return wM(t)};function o(e,t){var n;if(this instanceof o)return t=t||{},(n=i.call(this,e)).MD5=null,n.type=null,n.userName=null,n.fileName=null,n.size=null,n.serviceStatus=null,n.serviceId=null,n.id=null,n.lastModfiedTime=null,n.status=null,n.storageId=null,n.publishInfo=null,n.authorizeSetting=null,n.nickname=null,n.tags=[],n.description=null,n.dataItemServices=null,n.coordType=null,n.dataCheckResult=null,n.dataMetaInfo=null,n.thumbnail=null,D.extend(wM(n),t),n.id&&(n.serviceUrl=e+"/"+n.id),n.CLASS_NAME="SuperMap.OnlineData",n;throw new TypeError("Cannot call a class as a function")}return _M((e=o).prototype,[{key:"load",value:function(){var t;if(this.serviceUrl)return(t=this).request("GET",this.serviceUrl).then(function(e){D.extend(t,e)})}},{key:"getPublishedServices",value:function(){return this.dataItemServices}},{key:"getAuthorizeSetting",value:function(){return this.authorizeSetting}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function CM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}CM((OM=EM).prototype,[{key:"load",value:function(){return d.get(this.rootUrl).then(function(e){return e})}},{key:"login",value:function(){bf.loginOnline(this.rootUrl,!0)}},{key:"queryDatas",value:function(e){var a=this,t=a.mDatasUrl;return e=e&&e.toJSON(),d.get(t,e).then(function(e){if(e&&e.content&&!(e.content.length<1)){for(var t=[],n=e.content,r=n.length,i=0;i<r;i++){var o=n[i],o=new SM(a.mDatasUrl,o);t.push(o)}return t}})}}]),Object.defineProperty(OM,"prototype",{writable:!1});var OM=EM;function EM(){if(!(this instanceof EM))throw new TypeError("Cannot call a class as a function");this.rootUrl="https://www.supermapol.com",this.webUrl=this.rootUrl+"/web";var e=this.webUrl+"/mycontent";this.mDatasUrl=e+"/datas",this.CLASS_NAME="SuperMap.Online"}function MM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}MM((PM=kM).prototype,[{key:"toJSON",value:function(){var e,t={types:this.types,fileName:this.fileName,serviceStatuses:this.serviceStatuses,serviceId:this.serviceId,ids:this.ids,keywords:this.keywords,orderBy:this.orderBy,tags:this.tags,filterFields:this.filterFields};for(e in t)null==t[e]&&delete t[e];return t}}]),Object.defineProperty(PM,"prototype",{writable:!1});var PM=kM;function kM(e){if(!(this instanceof kM))throw new TypeError("Cannot call a class as a function");e=e||{},this.userNames=null,this.types=null,this.fileName=null,this.serviceStatuses=null,this.serviceId=null,this.ids=null,this.keywords=null,this.orderBy=null,this.tags=null,this.filterFields=null,D.extend(this,e),this.CLASS_NAME="SuperMap.OnlineQueryDatasParameter"}function TM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}TM((IM=LM).prototype,[{key:"toJSON",value:function(){return{name:this.name,serviceIds:this.serviceIds,clientType:this.clientType,limitation:this.limitation}}}]),Object.defineProperty(IM,"prototype",{writable:!1});var IM=LM;function LM(e){if(!(this instanceof LM))throw new TypeError("Cannot call a class as a function");this.name=null,this.serviceIds=null,this.clientType=ln.SERVER,this.limitation=null,D.extend(this,e),this.CLASS_NAME="SuperMap.KeyServiceParameter"}jM=function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.type=t,this.server=null,this.tokenServiceUrl=null,this.keyServiceUrl=null,D.extend(this,n),this.CLASS_NAME="SuperMap.ServerInfo",this.type=this.type||Lt.ISERVER,this.server||console.error("server url require is not undefined");t="/services/security/tokens";this.type===Lt.ISERVER&&this.server.indexOf("iserver")<0&&(t="/iserver"+t),this.tokenServiceUrl||(this.tokenServiceUrl=D.urlPathAppend(this.server,t)),this.keyServiceUrl||(this.type===Lt.IPORTAL?this.keyServiceUrl=D.urlPathAppend(this.server,"/web/mycontent/keys/register"):this.type===Lt.ONLINE&&(this.keyServiceUrl=D.urlPathAppend(this.server,"/web/mycontent/keys")))},Object.defineProperty(jM,"prototype",{writable:!1});var jM;function DM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}DM((BM=zM).prototype,[{key:"toJSON",value:function(){return{userName:this.userName,password:this.password,clientType:this.clientType,ip:this.ip,referer:this.referer,expiration:this.expiration}}}]),Object.defineProperty(BM,"prototype",{writable:!1});var BM=zM,RM=function(){try{return elasticsearch}catch(e){return{}}}(),NM=qT.n(RM);function zM(e){if(!(this instanceof zM))throw new TypeError("Cannot call a class as a function");this.userName=null,this.password=null,this.clientType=ln.NONE,this.ip=null,this.referer=null,this.expiration=60,D.extend(this,e),this.CLASS_NAME="SuperMap.TokenServiceParameter"}function FM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function VM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}VM((RM=HM).prototype,[{key:"setGeoFence",value:function(e){this.geoFence=e}},{key:"bulk",value:function(e,t){return this.client.bulk(e,this._handleCallback(t))}},{key:"clearScroll",value:function(e,t){return this.client.clearScroll(e,this._handleCallback(t))}},{key:"count",value:function(e,t){return this.client.count(e,this._handleCallback(t))}},{key:"create",value:function(e,t){return this.client.create(e,this._handleCallback(t))}},{key:"delete",value:function(e,t){return this.client.delete(e,this._handleCallback(t))}},{key:"deleteByQuery",value:function(e,t){return this.client.deleteByQuery(e,this._handleCallback(t))}},{key:"deleteScript",value:function(e,t){return this.client.deleteScript(e,this._handleCallback(t))}},{key:"deleteTemplate",value:function(e,t){return this.client.deleteTemplate(e,this._handleCallback(t))}},{key:"exists",value:function(e,t){return this.client.exists(e,this._handleCallback(t))}},{key:"existsSource",value:function(e,t){return this.client.existsSource(e,this._handleCallback(t))}},{key:"explain",value:function(e,t){return this.client.explain(e,this._handleCallback(t))}},{key:"fieldCaps",value:function(e,t){return this.client.fieldCaps(e,this._handleCallback(t))}},{key:"get",value:function(e,t){return this.client.get(e,this._handleCallback(t))}},{key:"getScript",value:function(e,t){return this.client.getScript(e,this._handleCallback(t))}},{key:"getSource",value:function(e,t){return this.client.getSource(e,this._handleCallback(t))}},{key:"getTemplate",value:function(e,t){return this.client.getTemplate(e,this._handleCallback(t))}},{key:"index",value:function(e,t){return this.client.index(e,this._handleCallback(t))}},{key:"info",value:function(e,t){return this.client.info(e,this._handleCallback(t))}},{key:"mget",value:function(e,t){return this.client.mget(e,this._handleCallback(t))}},{key:"msearch",value:function(e,t){var n=this;return n.client.msearch(e).then(function(e){return e=e.body||e,n._update(e.responses,t),e},function(e){return t(e),n.events.triggerEvent("error",{error:e}),e})}},{key:"msearchTemplate",value:function(e,t){return this.client.msearchTemplate(e,this._handleCallback(t))}},{key:"mtermvectors",value:function(e,t){return this.client.mtermvectors(e,this._handleCallback(t))}},{key:"ping",value:function(e,t){return this.client.ping(e,this._handleCallback(t))}},{key:"putScript",value:function(e,t){return this.client.putScript(e,this._handleCallback(t))}},{key:"putTemplate",value:function(e,t){return this.client.putTemplate(e,this._handleCallback(t))}},{key:"reindex",value:function(e,t){return this.client.reindex(e,this._handleCallback(t))}},{key:"reindexRessrottle",value:function(e,t){return this.client.reindexRessrottle(e,this._handleCallback(t))}},{key:"renderSearchTemplate",value:function(e,t){return this.client.renderSearchTemplate(e,this._handleCallback(t))}},{key:"scroll",value:function(e,t){return this.client.scroll(e,this._handleCallback(t))}},{key:"search",value:function(e,t){var n=this;return n.client.search(e).then(function(e){return e=e.body||e,n._update(e,t),e},function(e){return t&&t(e),n.events.triggerEvent("error",{error:e}),e})}},{key:"searchShards",value:function(e,t){return this.client.searchShards(e,this._handleCallback(t))}},{key:"searchTemplate",value:function(e,t){return this.client.searchTemplate(e,this._handleCallback(t))}},{key:"suggest",value:function(e,t){return this.client.suggest(e,this._handleCallback(t))}},{key:"termvectors",value:function(e,t){return this.client.termvectors(e,this._handleCallback(t))}},{key:"update",value:function(e,t){return this.client.update(e,this._handleCallback(t))}},{key:"updateByQuery",value:function(e,t){return this.client.updateByQuery(e,this._handleCallback(t))}},{key:"_handleCallback",value:function(a){return function(){var e,t,n=Array.from(arguments),r=n.shift(),i=n.shift(),o=i&&i.body;o&&(n=[(e=i).statusCode,e.headers],i=o),a.call.apply(a,[this,r,i].concat(function(e){if(Array.isArray(e))return FM(e)}(t=n)||function(){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}()||function(e){var t;if(e)return"string"==typeof e?FM(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?FM(e,void 0):void 0}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))}}},{key:"_update",value:function(e,t){e&&(this.data=e,this.openGeoFence&&this.geoFence&&this._validateDatas(e),this.events.triggerEvent("change",{data:this.data}),this.change?this.change&&this.change(e):t&&t(void 0,{responses:e}))}},{key:"_validateDatas",value:function(e){if(e)for(var t=(e=e instanceof Array?e:[e]).length,n=0;n<t;n++)this._validateData(e[n])}},{key:"_validateData",value:function(a){var s=this;a.hits.hits.map(function(e){var t=e._source,n=s._getMeterPerMapUnit(s.geoFence.unit),r=s.geoFence.center[0]*n,i=s.geoFence.center[1]*n,o=t.x*n,t=t.y*n;return s._distance(o,t,r,i)>s.geoFence.radius&&(s.outOfGeoFence&&s.outOfGeoFence(a),s.events.triggerEvent("outOfGeoFence",{data:a})),e})}},{key:"_distance",value:function(e,t,n,r){return Math.sqrt((e-n)*(e-n)+(t-r)*(t-r))}},{key:"_getMeterPerMapUnit",value:function(e){var t;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}]),Object.defineProperty(RM,"prototype",{writable:!1});RM=HM;function HM(e,t){if(!(this instanceof HM))throw new TypeError("Cannot call a class as a function");t=t||{},this.url=e;try{this.client=new(NM().Client)({host:this.url})}catch(e){this.client=new(NM().Client)({node:{url:new URL(this.url)}})}this.change=null,this.openGeoFence=!1,this.outOfGeoFence=null,this.geoFence=null,this.EVENT_TYPES=["change","error","outOfGeoFence"],this.events=new Xr(this,null,this.EVENT_TYPES),this.eventListeners=null,D.extend(this,t),this.eventListeners instanceof Object&&this.events.on(this.eventListeners)}function YM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var GM=new nr,UM=(XM=QM,eP=[{key:"createCanvas",value:function(e,t){var n=document.createElement("canvas");return n.height=e,n.width=t,n.getContext("2d")}},{key:"getLinearGradient",value:function(e,t,n,r,i){this._ctx||(this._ctx=this.getContext());for(var o=this._ctx.createLinearGradient(e,t,n,r),a=i.length,s=1/(a-1),l=0,u=0;u<a;u++)o.addColorStop(l,i[u]),l+=s;return o.__nonRecursion=!0,o}},{key:"getContext",value:function(){return this._ctx||(this._ctx=document.createElement("canvas").getContext("2d")),this._ctx}},{key:"getStepColors",value:function(e,t,n){e=GM.toRGBA(e),t=GM.toRGBA(t),e=GM.getData(e);for(var r=[],i=((t=GM.getData(t))[0]-e[0])/n,o=(t[1]-e[1])/n,a=(t[2]-e[2])/n,s=(t[3]-e[3])/n,l=0,u=e[0],c=e[1],f=e[2],h=e[3];l<n;l++)r[l]=GM.toColor([GM.adjust(Math.floor(u),[0,255]),GM.adjust(Math.floor(c),[0,255]),GM.adjust(Math.floor(f),[0,255]),+h.toFixed(4)],"hex"),u+=i,c+=o,f+=a,h+=s;return u=t[0],c=t[1],f=t[2],h=t[3],r[l]=GM.toColor([u,c,f,h],"hex"),r}},{key:"getGradientColors",value:function(e,t,n){var r,i,o,a=[],s=e.length;if(void 0!==t){if(t<=s)if("RANGE"===n)for(i=0;i<t;i++)a.push(e[i]);else for(i=0;i<t;i++){var l=Math.floor(i/2);i%2==0?a.push(e[l]):(l=e.length-1-l,a.push(e[l]))}else{for(r=Math.ceil(t/(s-1)),i=0,o=s-1;i<o;i++){var u=this.getStepColors(e[i],e[i+1],r);i<o-1&&u.pop(),a=a.concat(u)}for(var c=a.length-t,f=0;f<c;f++)a.splice(2,1)}return a}}}],null&&YM(XM.prototype,null),YM(XM,eP),Object.defineProperty(XM,"prototype",{writable:!1}),QM);function QM(){if(!(this instanceof QM))throw new TypeError("Cannot call a class as a function")}function WM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}eP=KM,XM=[{key:"newInstance",value:function(){return this.geostatsInstance||(this.geostatsInstance=new window.geostats),this.geostatsInstance}},{key:"getInstance",value:function(e){var t=this.newInstance();return t.setSerie(e),t}},{key:"getArrayStatistic",value:function(e,t){return e.length?"Sum"===t||"求和"===t?this.getSum(e):"Maximum"===t||"最大值"===t?this.getMax(e):"Minimum"===t||"最小值"===t?this.getMin(e):"Average"===t||"平均值"===t?this.getMean(e):"Median"===t||"中位数"===t?this.getMedian(e):"times"===t||"计数"===t?this.getTimes(e):void 0:0}},{key:"getArraySegments",value:function(e,t,n){return"offset"===t?this.getEqInterval(e,n):"jenks"===t?this.getJenks(e,n):"square"===t?0<=this.getMin(e)&&this.getSqrtInterval(e,n):"logarithm"===t?0<this.getMin(e)&&this.getGeometricProgression(e,n):void 0}},{key:"getSum",value:function(e){return this.getInstance(e).sum()}},{key:"getMax",value:function(e){return this.getInstance(e).max()}},{key:"getMin",value:function(e){return this.getInstance(e).min()}},{key:"getMean",value:function(e){return this.getInstance(e).mean()}},{key:"getMedian",value:function(e){return this.getInstance(e).median()}},{key:"getTimes",value:function(e){return e.length}},{key:"getEqInterval",value:function(e,t){return this.getInstance(e).getClassEqInterval(t)}},{key:"getJenks",value:function(e,t){return this.getInstance(e).getClassJenks(t)}},{key:"getSqrtInterval",value:function(e,t){return e=e.map(function(e){return Math.sqrt(e)}),this.getInstance(e).getClassEqInterval(t).map(function(e){return e*e})}},{key:"getGeometricProgression",value:function(e,t){return this.getInstance(e).getClassGeometricProgression(t)}}],null&&WM(eP.prototype,null),WM(eP,XM),Object.defineProperty(eP,"prototype",{writable:!1});var qM=KM;function KM(){if(!(this instanceof KM))throw new TypeError("Cannot call a class as a function")}var XM=qT(77820),JM=qT.n(XM);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})(e)}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t,n){return t&&ZM(e.prototype,t),n&&ZM(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}I(j,[{key:"getParser",value:function(o){var d,c,a,e,f,s,l,u,h,p=this;function i(){e=l[a],u=f=c}function y(){l[a]=e,u=c=f}function m(){u<c&&(l[a]=l[a].slice(c-u),u=c)}function g(e){var t,n,r;if(e instanceof Function)return e.call(h.parsers);if("string"==typeof e)t=d.charAt(c)===e?e:null,n=1,m();else{if(m(),!(t=e.exec(l[a])))return null;n=t[0].length}if(t){for(var e=c+=n,i=c+l[a].length-n;c<i&&(32===(r=d.charCodeAt(c))||10===r||9===r);)c++;return l[a]=l[a].slice(n+(c-e)),u=c,0===l[a].length&&a<l.length-1&&a++,"string"!=typeof t&&1===t.length?t[0]:t}}function v(e){var t,n,r={index:s,filename:o.filename,message:"Parse error.",line:0,column:-1};for(n in r)0===e[n]&&(e[n]=r[n]);t=e.filename&&p.env.inputs&&p.env.inputs[e.filename]?p.env.inputs[e.filename]:d,e.line=(t.slice(0,e.index).match(/\n/g)||"").length+1;for(var i=e.index;0<=i&&"\n"!==t.charAt(i);i--)e.column++;return new Error([e.filename,e.line,e.column,e.message].join(";"))}return this.env=o=o||{},this.env.filename=this.env.filename||null,this.env.inputs=this.env.inputs||{},h={parse:function(e){var h=null;if(c=a=u=s=0,l=[],d=e.replace(/\r\n/g,"\n"),o.filename&&(p.env.inputs[o.filename]=d),l=function(e){for(var t,n,r,i,o=0,a=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,s=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,l=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,u=0,c=e[0],f=0;f<d.length;)if(a.lastIndex=f,(t=a.exec(d))&&t.index===f&&(f+=t[0].length,c.push(t[0])),r=d.charAt(f),s.lastIndex=l.lastIndex=f,(t=l.exec(d))&&t.index===f)f+=t[0].length,c.push(t[0]);else if(n||"/"!==r||"/"!==(i=d.charAt(f+1))&&"*"!==i||!(t=s.exec(d))||t.index!==f){switch(r){case"{":if(!n){u++,c.push(r);break}case"}":if(!n){u--,c.push(r),e[++o]=c=[];break}case"(":if(!n){n=!0,c.push(r);break}case")":if(n){n=!1,c.push(r);break}default:c.push(r)}f++}else f+=t[0].length,c.push(t[0]);return 0!==u&&(h={index:f-1,type:"Parse",message:0<u?"missing closing `}`":"missing opening `{`"}),e.map(function(e){return e.join("")})}([[]]),h)throw v(h);function n(e,t){return e=e.specificity,t=t.specificity,e[0]!=t[0]?t[0]-e[0]:e[1]!=t[1]?t[1]-e[1]:e[2]!=t[2]?t[2]-e[2]:t[3]-e[3]}return(e=new j.Tree.Ruleset([],g(this.parsers.primary))).root=!0,e.toList=function(t){t.error=function(e){t.errors||(t.errors=new Error("")),t.errors.message?t.errors.message+="\n"+v(e).message:t.errors.message=v(e).message},t.frames=t.frames||[];var e=this.flatten([],[],t);return e.sort(n),e},e},parsers:{primary:function(){for(var e,t=[];(e=g(this.rule)||g(this.ruleset)||g(this.comment))||g(/^[\s\n]+/)||(e=g(this.invalid));)e&&t.push(e);return t},invalid:function(){var e=g(/^[^;\n]*[;\n]/);if(e)return new j.Tree.Invalid(e,f)},comment:function(){var e;if("/"===d.charAt(c))return"/"===d.charAt(c+1)?new j.Tree.Comment(g(/^\/\/.*/),!0):(e=g(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))?new j.Tree.Comment(e):void 0},entities:{quoted:function(){var e;return('"'===d.charAt(c)||"'"===d.charAt(c))&&(e=g(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/))?new j.Tree.Quoted(e[1]||e[2]):void 0},field:function(){var e;if(g("["))return e=g(/(^[^\]]+)/),g("]")&&e?new j.Tree.Field(e[1]):void 0},comparison:function(){var e=g(/^=~|=|!=|<=|>=|<|>/);if(e)return e},keyword:function(){var e=g(/^[A-Za-z\u4e00-\u9fa5-]+[A-Za-z-0-9\u4e00-\u9fa5_]*/);if(e)return new j.Tree.Keyword(e)},call:function(){var e,t;if(e=/^([\w\-]+|%)\(/.exec(l[a]))return"url"===(e=e[1])?null:(c+=e.length,g("("),t=g(this.entities.arguments),g(")")&&e?new j.Tree.Call(e,t,c):void 0)},arguments:function(){for(var e,t=[];(e=g(this.expression))&&(t.push(e),g(",")););return t},literal:function(){return g(this.entities.dimension)||g(this.entities.keywordcolor)||g(this.entities.hexcolor)||g(this.entities.quoted)},url:function(){var e;if("u"===d.charAt(c)&&g(/^url\(/))return e=g(this.entities.quoted)||g(this.entities.variable)||g(/^[\-\w%@_match\/.&=:;#+?~]+/)||"",g(")")?new j.Tree.URL(void 0!==e.value||e instanceof j.Tree.Variable?e:new j.Tree.Quoted(e)):new j.Tree.Invalid(e,f,"Missing closing ) in URL.")},variable:function(){var e,t=c;if("@"===d.charAt(c)&&(e=g(/^@[\w-]+/)))return new j.Tree.Variable(e,t,o.filename)},hexcolor:function(){var e;if("#"===d.charAt(c)&&(e=g(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})/)))return new j.Tree.Color(e[1])},keywordcolor:function(){var e=l[a].match(/^[a-z]+/);if(e&&e[0]in j.Tree.Reference.data.colors)return new j.Tree.Color(j.Tree.Reference.data.colors[g(/^[a-z]+/)])},dimension:function(){var e=d.charCodeAt(c);return!(57<e||e<45||47===e)&&(e=g(/^(-?\d*\.?\d+(?:[eE][-+]?\d+)?)(\%|\w+)?/))?new j.Tree.Dimension(e[1],e[2],f):void 0}},variable:function(){var e;if("@"===d.charAt(c)&&(e=g(/^(@[\w-]+)\s*:/)))return e[1]},entity:function(){var e=g(this.entities.call)||g(this.entities.literal),t=g(this.entities.field)||g(this.entities.variable),n=g(this.entities.url)||g(this.entities.keyword);return e||t||n},end:function(){return g(";")||"}"===d.charAt(c)},element:function(){var e=g(/^(?:[.#][\w\u4e00-\u9fa5\-]+|\*|Map)/);if(e)return new j.Tree.Element(e)},attachment:function(){var e=g(/^::([\w\-]+(?:\/[\w\-]+)*)/);if(e)return e[1]},selector:function(){for(var e,t,n,r,i=[],o=new j.Tree.Filterset,a=[],s=0,l=0;(u=g(this.element))||(r=g(this.zoom))||(n=g(this.filter))||(e=g(this.attachment));){if(s++,u)i.push(u);else if(r)a.push(r),l++;else if(n){var u=o.add(n);if(u)throw v({message:u,index:c-1});l++}else{if(t)throw v({message:"Encountered second attachment name.",index:c-1});t=e}u=d.charAt(c);if("{"===u||"}"===u||";"===u||","===u)break}if(s)return new j.Tree.Selector(o,a,i,t,l,f)},filter:function(){var e,t,n;if(i(),g("[")&&(e=g(/^[a-zA-Z0-9\-_]+/)||g(this.entities.quoted)||g(this.entities.variable)||g(this.entities.keyword)||g(this.entities.field))&&(e instanceof j.Tree.Quoted&&(e=new j.Tree.Field(e.toString())),t=g(this.entities.comparison))&&(n=g(this.entities.quoted)||g(this.entities.variable)||g(this.entities.dimension)||g(this.entities.keyword)||g(this.entities.field))){if(g("]"))return e.is||(e=new j.Tree.Field(e)),new j.Tree.Filter(e,t,n,f,o.filename);throw v({message:"Missing closing ] of filter.",index:f-1})}},zoom:function(){var e,t;if(i(),g(/^\[\s*zoom/g)&&(e=g(this.entities.comparison))&&(t=g(this.entities.variable)||g(this.entities.dimension))&&g("]"))return new j.Tree.Zoom(e,t,f);y()},block:function(){var e;if(g("{")&&(e=g(this.primary))&&g("}"))return e},ruleset:function(){var e,t,n,r=[];for(i();e=g(this.selector);){for(r.push(e);g(this.comment););if(!g(","))break;for(;g(this.comment););}if(e)for(;g(this.comment););if(0<r.length&&(t=g(this.block)))return 1===r.length&&r[0].elements.length&&"Map"===r[0].elements[0].value?((n=new j.Tree.Ruleset(r,t)).isMap=!0,n):new j.Tree.Ruleset(r,t);y()},rule:function(){var e,t=d.charAt(c);if(i(),"."!==t&&"#"!==t&&(e=g(this.variable)||g(this.property))){if((t=g(this.value))&&g(this.end))return new j.Tree.Rule(e,t,f,o.filename);s=c,y()}},font:function(){for(var e,t=[],n=[];e=g(this.entity);)n.push(e);if(t.push(new j.Tree.Expression(n)),g(","))for(;(e=g(this.expression))&&(t.push(e),g(",")););return new j.Tree.Value(t)},value:function(){for(var e,t=[];(e=g(this.expression))&&(t.push(e),g(",")););return 1<t.length?new j.Tree.Value(t.map(function(e){return e.value[0]})):1===t.length?new j.Tree.Value(t):void 0},sub:function(){var e;if(g("(")&&(e=g(this.expression))&&g(")"))return e},multiplication:function(){var e,t,n,r;if(e=g(this.operand)){for(;(n=g("/")||g("*")||g("%"))&&(t=g(this.operand));)r=new j.Tree.Operation(n,[r||e,t],f);return r||e}},addition:function(){var e,t,n,r;if(e=g(this.multiplication)){for(;(n=g(/^[-+]\s+/)||" "!=d.charAt(c-1)&&(g("+")||g("-")))&&(t=g(this.multiplication));)r=new j.Tree.Operation(n,[r||e,t],f);return r||e}},operand:function(){return g(this.sub)||g(this.entity)},expression:function(){for(var e,t=[];e=g(this.addition)||g(this.entity);)t.push(e);if(0<t.length)return new j.Tree.Expression(t)},property:function(){var e=g(/^(([a-z][-a-z_0-9]*\/)?\*?-?[-a-z_0-9]+)\s*:/);if(e)return e[1]}}}}},{key:"parse",value:function(e){var t=this.parser;return this.ruleSet=t.parse(e)}},{key:"toShaders",value:function(){if(this.ruleSet){var e=this.ruleSet;if(e){var t=e.toList(this.env),n=(t.reverse(),{}),r=[];this._toShaders(n,r,t);for(var i=[],o={},a=0,s=t.length;a<s;++a){var l=t[a],u=l.attachment,c=n[r[a]],f=[];if(!o[u]){var h,d=0;for(h in c)"zoom"!==h&&"frames"!==h&&"attachment"!==h&&"elements"!=h&&("layer-index"===h?(c[h].join("\n"),Object.defineProperty(f,"layerIndex",{configurable:!0,enumerable:!1,value:null})):f[d++]=function(e,t){var n,r,i,o;return Array.isArray(e)?0<=(r=(n=e.join("\n")).indexOf(i='attributes["FEATUREID"]&&attributes["FEATUREID"]'))?(t.featureFilter||(i=n.indexOf(")",(r=r+i.length)+1),o="featureId&&(featureId"+n.substring(r,i)+")",Object.defineProperty(t,"featureFilter",{configurable:!0,enumerable:!1,value:function(e){return!!o}})),{property:h,getValue:Function("attributes","zoom","seftFilter","var _value = null; var isExcute=typeof seftFilter=='function'?sefgFilter():seftFilter;if(isExcute){"+n+";} return _value; ")}):{property:h,getValue:Function("attributes","zoom","var _value = null;"+n+"; return _value; ")}:e}(c[h],f));Object.defineProperty(f,"attachment",{configurable:!0,enumerable:!1,value:u}),Object.defineProperty(f,"elements",{configurable:!0,enumerable:!1,value:l.elements}),i.push(f),o[r[a]]=!0}Object.defineProperty(f,"zoom",{configurable:!0,enumerable:!1,value:l.zoom})}return i}}return null}},{key:"_toShaders",value:function(e,t,n){for(var r=0,i=n.length;r<i;++r){for(var o=n[r],a=[],s=0,l=o.elements.length;s<l;s++)a.push(o.elements[s]);var u,c=o.filters.filters,f=[];for(u in c)f.push(c[u].id);var h,d=a.join("/")+"::"+o.attachment+"_"+f.join("_"),p=(t.push(d),e[d]=e[d]||{}),y=(p.zoom=j.Tree.Zoom.all,o.toJS(this.env));for(h in y)(p[h]=p[h]||[]).push(y[h].join("\n"))}}},{key:"getShaders",value:function(){return this.shaders}},{key:"destroy",value:function(){this.cartoStr=null,this.env=null,this.ruleSet=null,this.parser=null,this.shaders=null}}]);var L=j,eP={version:"2.1.1",style:{"filter-mode":{type:["all","first"],doc:"Control the processing behavior of Rule filters within a Style. If 'all' is used then all Rules are processed sequentially independent of whether any previous filters matched. If 'first' is used then it means processing ends after the first match (a positive filter evaluation) and no further Rules in the Style are processed ('first' is usually the default for CSS implementations on top of Mapnik to simplify translation from CSS to Mapnik XML)","default-value":"all","default-meaning":"All Rules in a Style are processed whether they have filters or not and whether or not the filter conditions evaluate to true."},"image-filters":{css:"image-filters","default-value":"none","default-meaning":"no filters",type:"functions",functions:[["agg-stack-blur",2],["emboss",0],["blur",0],["gray",0],["sobel",0],["edge-detect",0],["x-gradient",0],["y-gradient",0],["invert",0],["sharpen",0]],doc:"A list of image filters."},"comp-op":{css:"comp-op","default-value":"src-over","default-meaning":"add the current layer on top of other layers",doc:"Composite operation. This defines how this layer should behave relative to layers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]},opacity:{css:"opacity",type:"float",doc:"An alpha value for the style (which means an alpha applied to all features in separate buffer and then composited back to main buffer)","default-value":1,"default-meaning":"no separate buffer will be used and no alpha will be applied to the style after rendering"}},layer:{name:{"default-value":"",type:"string",required:!0,"default-meaning":"No layer name has been provided",doc:"The name of a layer. Can be anything you wish and is not strictly validated, but ideally unique in the map"},srs:{"default-value":"",type:"string","default-meaning":"No srs value is provided and the value will be inherited from the Map's srs",doc:"The spatial reference system definition for the layer, aka the projection. Can either be a proj4 literal string like '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' or, if the proper proj4 epsg/nad/etc identifier files are installed, a string that uses an id like: '+init=epsg:4326'"},status:{"default-value":!0,type:"boolean","default-meaning":"This layer will be marked as active and available for processing",doc:"A property that can be set to false to disable this layer from being processed"},minzoom:{"default-value":"0",type:"float","default-meaning":"The layer will be visible at the minimum possible scale",doc:"The minimum scale denominator that this layer will be visible at. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6"},maxzoom:{"default-value":"1.79769e+308",type:"float","default-meaning":"The layer will be visible at the maximum possible scale",doc:"The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6"},queryable:{"default-value":!1,type:"boolean","default-meaning":"The layer will not be available for the direct querying of data values",doc:"This property was added for GetFeatureInfo/WMS compatibility and is rarely used. It is off by default meaning that in a WMS context the layer will not be able to be queried unless the property is explicitly set to true"},"clear-label-cache":{"default-value":!1,type:"boolean","default-meaning":"The renderer's collision detector cache (used for avoiding duplicate labels and overlapping markers) will not be cleared immediately before processing this layer",doc:"This property, by default off, can be enabled to allow a user to clear the collision detector cache before a given layer is processed. This may be desirable to ensure that a given layers data shows up on the map even if it normally would not because of collisions with previously rendered labels or markers"},"group-by":{"default-value":"",type:"string","default-meaning":"No special layer grouping will be used during rendering",doc:"https://github.com/mapnik/mapnik/wiki/Grouped-rendering"},"buffer-size":{"default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:"Extra tolerance around the Layer extent (in pixels) used to when querying and (potentially) clipping the layer data during rendering"},"maximum-extent":{"default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query this specific layer data during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Layer."}},symbolizers:{"*":{"image-filters":{css:"image-filters","default-value":"none","default-meaning":"no filters",type:"functions",functions:[["agg-stack-blur",2],["emboss",0],["blur",0],["gray",0],["sobel",0],["edge-detect",0],["x-gradient",0],["y-gradient",0],["invert",0],["sharpen",0]],doc:"A list of image filters."},"comp-op":{css:"comp-op","default-value":"src-over","default-meaning":"add the current layer on top of other layers",doc:"Composite operation. This defines how this layer should behave relative to layers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]},opacity:{css:"opacity",type:"float",doc:"An alpha value for the style (which means an alpha applied to all features in separate buffer and then composited back to main buffer)","default-value":1,"default-meaning":"no separate buffer will be used and no alpha will be applied to the style after rendering"}},map:{"background-color":{css:"background-color","default-value":"none","default-meaning":"transparent",type:"color",doc:"Map Background color"},"background-image":{css:"background-image",type:"uri","default-value":"","default-meaning":"transparent",doc:"An image that is repeated below all features on a map as a background.",description:"Map Background image"},srs:{css:"srs",type:"string","default-value":"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs","default-meaning":"The proj4 literal of EPSG:4326 is assumed to be the Map's spatial reference and all data from layers within this map will be plotted using this coordinate system. If any layers do not declare an srs value then they will be assumed to be in the same srs as the Map and not transformations will be needed to plot them in the Map's coordinate space",doc:"Map spatial reference (proj4 string)"},"buffer-size":{css:"buffer-size","default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:'Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".'},"maximum-extent":{css:"","default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query all layers during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Map."},base:{css:"base","default-value":"","default-meaning":"This base path defaults to an empty string meaning that any relative paths to files referenced in styles or layers will be interpreted relative to the application process.",type:"string",doc:"Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet."},"paths-from-xml":{css:"","default-value":!0,"default-meaning":"Paths read from XML will be interpreted from the location of the XML",type:"boolean",doc:"value to control whether paths in the XML will be interpreted from the location of the XML or from the working directory of the program that calls load_map()"},"minimum-version":{css:"","default-value":"none","default-meaning":"Mapnik version will not be detected and no error will be thrown about compatibility",type:"string",doc:"The minumum Mapnik version (e.g. 0.7.2) needed to use certain functionality in the stylesheet"},"font-directory":{css:"font-directory",type:"uri","default-value":"none","default-meaning":"No map-specific fonts will be registered",doc:"Path to a directory which holds fonts which should be registered when the Map is loaded (in addition to any fonts that may be automatically registered)."}},polygon:{fill:{css:"polygon-fill",type:"color","default-value":"rgba(128,128,128,1)","default-meaning":"gray and fully opaque (alpha = 1), same as rgb(128,128,128)",doc:"Fill color to assign to a polygon"},"fill-opacity":{css:"polygon-opacity",type:"float",doc:"The opacity of the polygon","default-value":1,"default-meaning":"opaque"},gamma:{css:"polygon-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon edges"},"gamma-method":{css:"polygon-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},clip:{css:"polygon-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},line:{stroke:{css:"line-color","default-value":"rgba(0,0,0,1)",type:"color","default-meaning":"black and fully opaque (alpha = 1), same as rgb(0,0,0)",doc:"The color of a drawn line"},"stroke-width":{css:"line-width","default-value":1,type:"float",doc:"The width of a line in pixels"},"stroke-opacity":{css:"line-opacity","default-value":1,type:"float","default-meaning":"opaque",doc:"The opacity of a line"},"stroke-linejoin":{css:"line-join","default-value":"miter",type:["miter","round","bevel"],doc:"The behavior of lines when joining"},"stroke-linecap":{css:"line-cap","default-value":"butt",type:["butt","round","square"],doc:"The display of line endings"},"stroke-gamma":{css:"line-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of stroke line"},"stroke-gamma-method":{css:"line-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},"stroke-dasharray":{css:"line-dasharray",type:"numbers",doc:"A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.","default-value":"none","default-meaning":"solid line"},"stroke-dashoffset":{css:"line-dash-offset",type:"numbers",doc:"valid parameter but not currently used in renderers (only exists for experimental svg support in Mapnik which is not yet enabled)","default-value":"none","default-meaning":"solid line"},"stroke-miterlimit":{css:"line-miterlimit",type:"float",doc:"The limit on the ratio of the miter length to the stroke-width. Used to automatically convert miter joins to bevel joins for sharp angles to avoid the miter extending beyond the thickness of the stroking path. Normally will not need to be set, but a larger value can sometimes help avoid jaggy artifacts.","default-value":4,"default-meaning":"Will auto-convert miters to bevel line joins when theta is less than 29 degrees as per the SVG spec: 'miterLength / stroke-width = 1 / sin ( theta / 2 )'"},clip:{css:"line-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},offset:{css:"line-offset",type:"float","default-value":0,"default-meaning":"no offset",doc:"Offsets a line a number of pixels parallel to its actual path. Postive values move the line left, negative values move it right (relative to the directionality of the line)."},rasterizer:{css:"line-rasterizer",type:["full","fast"],"default-value":"full",doc:"Exposes an alternate AGG rendering method that sacrifices some accuracy for speed."},"geometry-transform":{css:"line-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},markers:{file:{css:"marker-file",doc:"An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.","default-value":"","default-meaning":"An ellipse or circle, if width equals height",type:"uri"},opacity:{css:"marker-opacity",doc:"The overall opacity of the marker, if set, overrides both the opacity of both the fill and stroke","default-value":1,"default-meaning":"The stroke-opacity and fill-opacity will be used",type:"float"},"fill-opacity":{css:"marker-fill-opacity",doc:"The fill opacity of the marker","default-value":1,"default-meaning":"opaque",type:"float"},stroke:{css:"marker-line-color",doc:"The color of the stroke around a marker shape.","default-value":"black",type:"color"},"stroke-width":{css:"marker-line-width",doc:"The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.",type:"float"},"stroke-opacity":{css:"marker-line-opacity","default-value":1,"default-meaning":"opaque",doc:"The opacity of a line",type:"float"},placement:{css:"marker-placement",type:["point","line","interior"],"default-value":"point","default-meaning":"Place markers at the center point (centroid) of the geometry",doc:"Attempt to place markers on a point, in the center of a polygon, or if markers-placement:line, then multiple times along a line. 'interior' placement can be used to ensure that points placed on polygons are forced to be inside the polygon interior"},"multi-policy":{css:"marker-multi-policy",type:["each","whole","largest"],"default-value":"each","default-meaning":"If a feature contains multiple geometries and the placement type is either point or interior then a marker will be rendered for each",doc:"A special setting to allow the user to control rendering behavior for 'multi-geometries' (when a feature contains multiple geometries). This setting does not apply to markers placed along lines. The 'each' policy is default and means all geometries will get a marker. The 'whole' policy means that the aggregate centroid between all geometries will be used. The 'largest' policy means that only the largest (by bounding box areas) feature will get a rendered marker (this is how text labeling behaves by default)."},"marker-type":{css:"marker-type",type:["arrow","ellipse"],"default-value":"ellipse",doc:"The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)"},width:{css:"marker-width","default-value":10,doc:"The width of the marker, if using one of the default types.",type:"expression"},height:{css:"marker-height","default-value":10,doc:"The height of the marker, if using one of the default types.",type:"expression"},fill:{css:"marker-fill","default-value":"blue",doc:"The color of the area of the marker.",type:"color"},"allow-overlap":{css:"marker-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping markers are shown or hidden.","default-meaning":"Do not allow makers to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"marker-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},spacing:{css:"marker-spacing",doc:"Space between repeated labels","default-value":100,type:"float"},"max-error":{css:"marker-max-error",type:"float","default-value":.2,doc:"The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers."},transform:{css:"marker-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},clip:{css:"marker-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"marker-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"marker-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"marker-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},shield:{name:{css:"shield-name",type:"expression",serialization:"content",doc:'Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]'},file:{css:"shield-file",required:!0,type:"uri","default-value":"none",doc:"Image file to render behind the shield text"},"face-name":{css:"shield-face-name",type:"string",validate:"font",doc:"Font name and style to use for the shield text","default-value":"",required:!0},"unlock-image":{css:"shield-unlock-image",type:"boolean",doc:"This parameter should be set to true if you are trying to position text beside rather than on top of the shield image","default-value":!1,"default-meaning":"text alignment relative to the shield image uses the center of the image as the anchor for text positioning."},size:{css:"shield-size",type:"float",doc:"The size of the shield text in pixels"},fill:{css:"shield-fill",type:"color",doc:"The color of the shield text"},placement:{css:"shield-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons."},"avoid-edges":{css:"shield-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.",type:"boolean","default-value":!1},"allow-overlap":{css:"shield-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping shields are shown or hidden.","default-meaning":"Do not allow shields to overlap with other map elements already placed."},"minimum-distance":{css:"shield-min-distance",type:"float","default-value":0,doc:"Minimum distance to the next shield symbol, not necessarily the same shield."},spacing:{css:"shield-spacing",type:"float","default-value":0,doc:"The spacing between repeated occurrences of the same shield on a line"},"minimum-padding":{css:"shield-min-padding","default-value":0,doc:"Determines the minimum amount of padding that a shield gets relative to other shields",type:"float"},"wrap-width":{css:"shield-wrap-width",type:"unsigned","default-value":0,doc:"Length of a chunk of text in characters before wrapping text"},"wrap-before":{css:"shield-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"shield-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long names."},"halo-fill":{css:"shield-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"shield-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},"character-spacing":{css:"shield-character-spacing",type:"unsigned","default-value":0,doc:"Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement."},"line-spacing":{css:"shield-line-spacing",doc:"Vertical spacing between lines of multiline labels (in pixels)",type:"unsigned"},dx:{css:"shield-text-dx",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"shield-text-dy",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"shield-dx":{css:"shield-dx",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},"shield-dy":{css:"shield-dy",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},opacity:{css:"shield-opacity",type:"float",doc:"(Default 1.0) - opacity of the image used for the shield","default-value":1},"text-opacity":{css:"shield-text-opacity",type:"float",doc:"(Default 1.0) - opacity of the text placed on top of the shield","default-value":1},"horizontal-alignment":{css:"shield-horizontal-alignment",type:["left","middle","right","auto"],doc:"The shield's horizontal alignment from its centerpoint","default-value":"auto"},"vertical-alignment":{css:"shield-vertical-alignment",type:["top","middle","bottom","auto"],doc:"The shield's vertical alignment from its centerpoint","default-value":"middle"},"text-transform":{css:"shield-text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"justify-alignment":{css:"shield-justify-alignment",type:["left","center","right","auto"],doc:"Define how text in a shield's label is justified","default-value":"auto"},clip:{css:"shield-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"shield-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"line-pattern":{file:{css:"line-pattern-file",type:"uri","default-value":"none",required:!0,doc:"An image file to be repeated and warped along a line"},clip:{css:"line-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"line-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"polygon-pattern":{file:{css:"polygon-pattern-file",type:"uri","default-value":"none",required:!0,doc:"Image to use as a repeated pattern fill within a polygon"},alignment:{css:"polygon-pattern-alignment",type:["local","global"],"default-value":"local",doc:"Specify whether to align pattern fills to the layer or to the map."},gamma:{css:"polygon-pattern-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon pattern edges"},opacity:{css:"polygon-pattern-opacity",type:"float",doc:"(Default 1.0) - Apply an opacity level to the image used for the pattern","default-value":1,"default-meaning":"The image is rendered without modifications"},clip:{css:"polygon-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},raster:{opacity:{css:"raster-opacity","default-value":1,"default-meaning":"opaque",type:"float",doc:"The opacity of the raster symbolizer on top of other symbolizers."},"filter-factor":{css:"raster-filter-factor","default-value":-1,"default-meaning":"Allow the datasource to choose appropriate downscaling.",type:"float",doc:"This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed."},scaling:{css:"raster-scaling",type:["near","fast","bilinear","bilinear8","bicubic","spline16","spline36","hanning","hamming","hermite","kaiser","quadric","catrom","gaussian","bessel","mitchell","sinc","lanczos","blackman"],"default-value":"near",doc:"The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality."},"mesh-size":{css:"raster-mesh-size","default-value":16,"default-meaning":"Reprojection mesh will be 1/16 of the resolution of the source image",type:"unsigned",doc:"A reduced resolution mesh is used for raster reprojection, and the total image size is divided by the mesh-size to determine the quality of that mesh. Values for mesh-size larger than the default will result in faster reprojection but might lead to distortion."},"comp-op":{css:"raster-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},point:{file:{css:"point-file",type:"uri",required:!1,"default-value":"none",doc:"Image file to represent a point"},"allow-overlap":{css:"point-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping points are shown or hidden.","default-meaning":"Do not allow points to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"point-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},opacity:{css:"point-opacity",type:"float","default-value":1,"default-meaning":"Fully opaque",doc:"A value from 0 to 1 to control the opacity of the point"},placement:{css:"point-placement",type:["centroid","interior"],doc:"How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.","default-value":"centroid"},transform:{css:"point-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},"comp-op":{css:"point-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},text:{name:{css:"text-name",type:"expression",required:!0,"default-value":"",serialization:"content",doc:"Value to use for a text label. Data columns are specified using brackets like [column_name]"},"face-name":{css:"text-face-name",type:"string",validate:"font",doc:"Font name and style to render a label in",required:!0},size:{css:"text-size",type:"float","default-value":10,doc:"Text size in pixels"},"text-ratio":{css:"text-ratio",doc:"Define the amount of text (of the total) present on successive lines when wrapping occurs","default-value":0,type:"unsigned"},"wrap-width":{css:"text-wrap-width",doc:"Length of a chunk of text in characters before wrapping text","default-value":0,type:"unsigned"},"wrap-before":{css:"text-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"text-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long text."},spacing:{css:"text-spacing",type:"unsigned",doc:"Distance between repeated text labels on a line (aka. label-spacing)"},"character-spacing":{css:"text-character-spacing",type:"float","default-value":0,doc:"Horizontal spacing adjustment between characters in pixels"},"line-spacing":{css:"text-line-spacing","default-value":0,type:"unsigned",doc:"Vertical spacing adjustment between lines in pixels"},"label-position-tolerance":{css:"text-label-position-tolerance","default-value":0,type:"unsigned",doc:"Allows the label to be displaced from its ideal position by a number of pixels (only works with placement:line)"},"max-char-angle-delta":{css:"text-max-char-angle-delta",type:"float","default-value":"22.5",doc:"The maximum angle change, in degrees, allowed between adjacent characters in a label. This value internally is converted to radians to the default is 22.5*math.pi/180.0. The higher the value the fewer labels will be placed around around sharp corners."},fill:{css:"text-fill",doc:"Specifies the color for the text","default-value":"#000000",type:"color"},opacity:{css:"text-opacity",doc:"A number from 0 to 1 specifying the opacity for the text","default-value":1,"default-meaning":"Fully opaque",type:"float"},"halo-fill":{css:"text-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"text-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},dx:{css:"text-dx",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"text-dy",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"vertical-alignment":{css:"text-vertical-alignment",type:["top","middle","bottom","auto"],doc:"Position of label relative to point position.","default-value":"auto","default-meaning":'Default affected by value of dy; "bottom" for dy>0, "top" for dy<0.'},"avoid-edges":{css:"text-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.","default-value":!1,type:"boolean"},"minimum-distance":{css:"text-min-distance",doc:"Minimum permitted distance to the next text symbolizer.",type:"float"},"minimum-padding":{css:"text-min-padding",doc:"Determines the minimum amount of padding that a text symbolizer gets relative to other text",type:"float"},"minimum-path-length":{css:"text-min-path-length",type:"float","default-value":0,"default-meaning":"place labels on all paths",doc:"Place labels only on paths longer than this value."},"allow-overlap":{css:"text-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping text is shown or hidden.","default-meaning":"Do not allow text to overlap with other text - overlapping markers will not be shown."},orientation:{css:"text-orientation",type:"expression",doc:"Rotate the text."},placement:{css:"text-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"Control the style of placement of a point versus the geometry it is attached to."},"placement-type":{css:"text-placement-type",doc:'Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.',type:["dummy","simple"],"default-value":"dummy"},placements:{css:"text-placements",type:"string","default-value":"",doc:'If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. An example is `text-placements: "E,NE,SE,W,NW,SW";` '},"text-transform":{css:"text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"horizontal-alignment":{css:"text-horizontal-alignment",type:["left","middle","right","auto"],doc:"The text's horizontal alignment from its centerpoint","default-value":"auto"},"justify-alignment":{css:"text-align",type:["left","right","center","auto"],doc:"Define how text is justified","default-value":"auto","default-meaning":"Auto alignment means that text will be centered by default except when using the `placement-type` parameter - in that case either right or left justification will be used automatically depending on where the text could be fit given the `text-placements` directives"},clip:{css:"text-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"text-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},building:{fill:{css:"building-fill","default-value":"#FFFFFF",doc:"The color of the buildings walls.",type:"color"},"fill-opacity":{css:"building-fill-opacity",type:"float",doc:"The opacity of the building as a whole, including all walls.","default-value":1},height:{css:"building-height",doc:"The height of the building in pixels.",type:"expression","default-value":"0"}}},colors:{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,134,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],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,250,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],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],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,221],powderblue:[176,224,230],purple:[128,0,128],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:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],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,50],transparent:[0,0,0,0]},filter:{value:["true","false","null","point","linestring","polygon","collection"]}};function j(e){T(this,j),this.env=null,this.parser=null,this.ruleSet=null,this.cartoStr="",this.shaders=null,"string"==typeof e&&(this.cartoStr=e,this.env={frames:[],errors:[],error:function(e){this.errors.push(e)}},this.parser=this.getParser(this.env),this.parse(e),this.shaders=this.toShaders())}function tP(e,t,n){T(this,tP),this.op=e,this.value=t,this.index=n}function nP(e,t,n){T(this,nP),this.is="variable",this.name=e,this.index=t,this.filename=n}function rP(e){T(this,rP),this.is="value",this.value=e}function iP(e,t){T(this,iP),this.is="uri",this.value=e,this.paths=t}function oP(e,t,n,r,i,o){T(this,oP),this.elements=n||[],this.attachment=r,this.filters=e||{},this.zoom=void 0!==t?t:L.Tree.Zoom.all,this.conditions=i,this.index=o}function aP(e,t){T(this,aP),this.is="ruleset",this.selectors=e,this.rules=t,this._lookups={}}function sP(e,t,n,r){T(this,sP),this.is="rule";var i=e.split("/");this.name=i.pop(),this.instance=i.length?i[0]:"__default__",this.value=t instanceof L.Tree.Value?t:new L.Tree.Value([t]),this.index=n,this.symbolizer=L.Tree.Reference.symbolizer(this.name),this.filename=r,this.variable="@"===e.charAt(0)}function lP(e){T(this,lP),this.is="string",this.value=e||""}function uP(e,t,n){T(this,uP),this.is="operation",this.op=e.trim(),this.operands=t,this.index=n}function cP(e){T(this,cP),this.value=e||"",this.is="field"}function fP(e){T(this,fP),this.value=e;var t={transparent:"color",true:"boolean",false:"boolean"};this.is=t[e]||"keyword"}function hP(e,t,n){T(this,hP),this.is="invalid",this.chunk=e,this.index=t,this.type="syntax",this.message=n||"Invalid code: "+this.chunk}function dP(){T(this,dP),this.filters={}}function pP(e,t,n,r,i){T(this,pP),this.ops={"<":[" < ","numeric"],">":[" > ","numeric"],"=":[" = ","both"],"!=":[" != ","both"],"<=":[" <= ","numeric"],">=":[" >= ","numeric"],"=~":[".match(","string",")"]},this.key=e,this.op=t,this.val=n,this.index=r,this.filename=i,this.id=this.key+this.op+this.val}function yP(e){T(this,yP),this.is="field",this.value=e||""}function mP(e){T(this,mP),this.is="expression",this.value=e}function gP(e){T(this,gP),this.value=e.trim(),"#"===this.value[0]&&(this.type="id",this.clean=this.value.replace(/^#/,"")),"."===this.value[0]&&(this.type="class",this.clean=this.value.replace(/^\./,"")),-1!==this.value.indexOf("*")&&(this.type="wildcard")}function vP(e,t,n){T(this,vP),this.is="float",this.physical_units=["m","cm","in","mm","pt","pc"],this.screen_units=["px","%"],this.all_units=["m","cm","in","mm","pt","pc","px","%"],this.densities={m:.0254,mm:25.4,cm:2.54,pt:72,pc:6},this.value=parseFloat(e),this.unit=t||null,this.index=n}function bP(e,t){T(this,bP),this.elements=e.elements,this.rules=t,this.ruleIndex={};for(var n=0;n<this.rules.length;n++)"zoom"in this.rules[n]&&(this.rules[n]=this.rules[n].clone()),this.rules[n].zoom=e.zoom,this.ruleIndex[this.rules[n].updateID()]=!0;this.filters=e.filters,this.zoom=e.zoom,this.attachment=e.attachment||"__default__",this.specificity=e.specificity()}function _P(e,t){T(this,_P),this.value=e,this.silent=!!t}function xP(e,t){T(this,xP),this.is="color",Array.isArray(e)?this.rgb=e.slice(0,3):6==e.length?this.rgb=e.match(/.{2}/g).map(function(e){return parseInt(e,16)}):this.rgb=e.split("").map(function(e){return parseInt(e+e,16)}),"number"==typeof t?this.alpha=t:4===e.length?this.alpha=e[3]:this.alpha=1}function wP(e,t,n){T(this,wP),this.is="call",this.name=e,this.args=t,this.index=n}L.mapnik_reference={version:{latest:eP,"2.1.1":eP}},L.Tree={},L.Tree.operate=function(e,t,n){switch(e){case"+":return t+n;case"-":return t-n;case"*":return t*n;case"%":return t%n;case"/":return t/n}},L.Tree.functions={rgb:function(e,t,n){return this.rgba(e,t,n,1)},rgba:function(e,t,n,r){var i=this,e=[e,t,n].map(function(e){return i.number(e)});return r=i.number(r),e.some(isNaN)||isNaN(r)?null:new L.Tree.Color(e,r)},stop:function(t){var n,r;return{is:"tag",val:t,color:n=1<arguments.length?arguments[1]:n,mode:r=2<arguments.length?arguments[2]:r,toString:function(e){return'\n\t<stop value="'+t.ev(e)+'"'+(n?' color="'+n.ev(e)+'" ':"")+(r?' mode="'+r.ev(e)+'" ':"")+"/>"}}},hsl:function(e,t,n){return this.hsla(e,t,n,1)},hsla:function(e,t,n,r){var i,o;return[e=this.number(e)%360/360,t=this.number(t),n=this.number(n),r=this.number(r)].some(isNaN)?null:(o=2*n-(i=n<=.5?n*(t+1):n+t-n*t),this.rgba(255*a(e+1/3),255*a(e),255*a(e-1/3),r));function a(e){return 6*(e=e<0?e+1:1<e?e-1:e)<1?o+(i-o)*e*6:2*e<1?i:3*e<2?o+(i-o)*(2/3-e)*6:o}},hue:function(e){return"toHSL"in e?new L.Tree.Dimension(Math.round(e.toHSL().h)):null},saturation:function(e){return"toHSL"in e?new L.Tree.Dimension(Math.round(100*e.toHSL().s),"%"):null},lightness:function(e){return"toHSL"in e?new L.Tree.Dimension(Math.round(100*e.toHSL().l),"%"):null},alpha:function(e){return"toHSL"in e?new L.Tree.Dimension(e.toHSL().a):null},saturate:function(e,t){return"toHSL"in e?((e=e.toHSL()).s+=t.value/100,e.s=this.clamp(e.s),this.hsla_simple(e)):null},desaturate:function(e,t){return"toHSL"in e?((e=e.toHSL()).s-=t.value/100,e.s=this.clamp(e.s),this.hsla_simple(e)):null},lighten:function(e,t){return"toHSL"in e?((e=e.toHSL()).l+=t.value/100,e.l=this.clamp(e.l),this.hsla_simple(e)):null},darken:function(e,t){return"toHSL"in e?((e=e.toHSL()).l-=t.value/100,e.l=this.clamp(e.l),this.hsla_simple(e)):null},fadein:function(e,t){return"toHSL"in e?((e=e.toHSL()).a+=t.value/100,e.a=this.clamp(e.a),this.hsla_simple(e)):null},fadeout:function(e,t){return"toHSL"in e?((e=e.toHSL()).a-=t.value/100,e.a=this.clamp(e.a),this.hsla_simple(e)):null},spin:function(e,t){return"toHSL"in e?(t=((e=e.toHSL()).h+t.value)%360,e.h=t<0?360+t:t,this.hsla_simple(e)):null},replace:function(e,t,n){return"field"===e.is?e.toString+".replace("+t.toString()+", "+n.toString()+")":e.replace(t,n)},mix:function(e,t,n){var n=n.value/100,r=2*n-1,i=e.toHSL().a-t.toHSL().a,r=(1+(r*i==-1?r:(r+i)/(1+r*i)))/2,i=1-r,r=[e.rgb[0]*r+t.rgb[0]*i,e.rgb[1]*r+t.rgb[1]*i,e.rgb[2]*r+t.rgb[2]*i],i=e.alpha*n+t.alpha*(1-n);return new L.Tree.Color(r,i)},greyscale:function(e){return this.desaturate(e,new L.Tree.Dimension(100))},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),n=e.value,r=0;r<t.length;r++)n=n.replace(/%s/,t[r].value).replace(/%[da]/,t[r].toString());return n=n.replace(/%%/g,"%"),new L.Tree.Quoted(n)},hsla_simple:function(e){return this.hsla(e.h,e.s,e.l,e.a)},number:function(e){return e instanceof L.Tree.Dimension?parseFloat("%"===e.unit?e.value/100:e.value):"number"==typeof e?e:NaN},clamp:function(e){return Math.min(1,Math.max(0,e))}},L.Tree.Call=(I(wP,[{key:"ev",value:function(t){for(var e,n,r,i=this.args.map(function(e){return e.ev(t)}),o=0;o<i.length;o++)if("undefined"===i[o].is)return{is:"undefined",value:"undefined"};return this.name in L.Tree.functions?L.Tree.functions[this.name].length<=i.length?null===(e=L.Tree.functions[this.name].apply(L.Tree.functions,i))?(t.error({message:"incorrect arguments given to "+this.name+"()",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):e:(t.error({message:"incorrect number of arguments for "+this.name+"(). "+L.Tree.functions[this.name].length+" expected.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):void 0===(e=L.Tree.Reference.mapnikFunctions[this.name])?(r=JM()(L.Tree.Reference.mapnikFunctions),n=this.name,r=r.map(function(e){return[e[0],L.Tree.Reference.editDistance(n,e[0]),e[1]]}).sort(function(e,t){return e[1]-t[1]}),t.error({message:"unknown function "+this.name+"(), did you mean "+r[0][0]+"("+r[0][2]+")",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):e!==i.length&&-1!==e?(t.error({message:"function "+this.name+"() takes "+e+" arguments and was given "+i.length,index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):(this.args=i,this)}},{key:"toString",value:function(e,t){return this.args.length?this.name+"("+this.args.join(",")+")":this.name}}]),wP),L.Tree.Color=(I(xP,[{key:"ev",value:function(){return this}},{key:"toString",value:function(){return"rgba("+this.rgb.map(function(e){return Math.round(e)}).concat(this.alpha).join(", ")+")"}},{key:"operate",value:function(e,t,n){var r=[];n instanceof L.Tree.Color||(n=n.toColor());for(var i=0;i<3;i++)r[i]=L.Tree.operate(t,this.rgb[i],n.rgb[i]);return new L.Tree.Color(r)}},{key:"toHSL",value:function(){var e,t,n=this.rgb[0]/255,r=this.rgb[1]/255,i=this.rgb[2]/255,o=this.alpha,a=Math.max(n,r,i),s=Math.min(n,r,i),l=(a+s)/2,u=a-s;if(a===s)e=t=0;else{switch(t=.5<l?u/(2-a-s):u/(a+s),a){case n:e=(r-i)/u+(r<i?6:0);break;case r:e=(i-n)/u+2;break;case i:e=(n-r)/u+4}e/=6}return{h:360*e,s:t,l:l,a:o}}}]),xP),L.Tree.Comment=(I(_P,[{key:"toString",value:function(e){return"\x3c!--"+this.value+"--\x3e"}},{key:"ev",value:function(){return this}}]),_P),L.Tree.Definition=(I(bP,[{key:"toString",value:function(){for(var e=this.filters.toString(),t=0;t<this.rules.length;t++)e+="\n "+this.rules[t];return e}},{key:"toJS",value:function(e){var t,n={},r=this.zoom,i=this.filters.toJS(e),r=[r];for(t in i&&r.push(i),i=r.join(" && "),this.rules){o=void 0;s=void 0;a=void 0;l=void 0;var o=this.rules[t];if(o instanceof L.Tree.Rule)n[o.name]=n[o.name]||[],i?n[o.name].push("if("+i+"){"+o.value.toJS(e)+"}"):n[o.name].push(o.value.toJS(e));else if(o instanceof L.Tree.Ruleset){var a,s=o.toJS(e);for(a in s)for(var l in n[a]=n[a]||[],s[a])n[a].push(s[a][l])}}return n}}]),bP),L.Tree.Dimension=(I(vP,[{key:"ev",value:function(e){if(this.unit&&this.all_units.indexOf(this.unit)<0)return e.error({message:"Invalid unit: '"+this.unit+"'",index:this.index}),{is:"undefined",value:"undefined"};if(this.unit&&0<=this.physical_units.indexOf(this.unit)){if(!e.ppi)return e.error({message:"ppi is not set, so metric units can't be used",index:this.index}),{is:"undefined",value:"undefined"};this.value=this.value/this.densities[this.unit]*e.ppi,this.unit="px"}return this}},{key:"toColor",value:function(){return new L.Tree.Color([this.value,this.value,this.value])}},{key:"round",value:function(){return this.value=Math.round(this.value),this}},{key:"toString",value:function(){return this.value.toString()}},{key:"operate",value:function(e,t,n){return"%"===this.unit&&"%"!==n.unit?(e.error({message:"If two operands differ, the first must not be %",index:this.index}),{is:"undefined",value:"undefined"}):"%"!==this.unit&&"%"===n.unit?"*"===t||"/"===t||"%"===t?(e.error({message:"Percent values can only be added or subtracted from other values",index:this.index}),{is:"undefined",value:"undefined"}):new L.Tree.Dimension(L.Tree.operate(t,this.value,this.value*n.value*.01),this.unit):new L.Tree.Dimension(L.Tree.operate(t,this.value,n.value),this.unit||n.unit)}}]),vP),L.Tree.Element=(I(gP,[{key:"specificity",value:function(){return["id"===this.type?1:0,"class"===this.type?1:0]}},{key:"toString",value:function(){return this.value}}]),gP),L.Tree.Expression=(I(mP,[{key:"ev",value:function(t){return 1<this.value.length?new L.Tree.Expression(this.value.map(function(e){return e.ev(t)})):this.value[0].ev(t)}},{key:"toString",value:function(t){return this.value.map(function(e){return e.toString(t)}).join(" ")}}]),mP),L.Tree.Field=(I(yP,[{key:"toString",value:function(){return'["'+this.value.toUpperCase()+'"]'}},{key:"ev",value:function(){return this}}]),yP),L.Tree.Filter=(I(pP,[{key:"ev",value:function(e){return this.key=this.key.ev(e),this.val=this.val.ev(e),this}},{key:"toString",value:function(){return"["+this.id+"]"}}]),pP),L.Tree.Filterset=(I(dP,[{key:"toJS",value:function(e){var t,n,r,i,o,a=[];for(t in this.filters)a.push((n=this.filters[t],r=void 0,i=void 0,o=void 0,r=n.op,"="===r&&(r="=="),i=n.val,void 0!==n._val&&(i=n._val.toString(!0)),n.key&&"scale"===n.key.value?i=+i:"string"!=typeof i&&"object"!==$M(i)||(i="'"+i+"'"),o="attributes",o+"&&"+o+n.key+"&&"+o+n.key+" "+r+i));return a.join(" && ")}},{key:"toString",value:function(){var e,t=[];for(e in this.filters)t.push(this.filters[e].id);return t.sort().join("\t")}},{key:"ev",value:function(e){for(var t in this.filters)this.filters[t].ev(e);return this}},{key:"clone",value:function(){var e,t=new L.Tree.Filterset;for(e in this.filters)t.filters[e]=this.filters[e];return t}},{key:"cloneWith",value:function(e){var t,n=[];for(t in e.filters){var r=this.addable(e.filters[t]);if(!1===r)return!1;!0===r&&n.push(e.filters[t])}if(!n.length)return null;var i=new L.Tree.Filterset;for(t in this.filters)i.filters[t]=this.filters[t];for(;t=n.shift();)i.add(t);return i}},{key:"addable",value:function(e){var t=e.key.toString(),n=e.val.toString();switch(n.match(/^[0-9]+(\.[0-9]*)?_match/)&&(n=parseFloat(n)),e.op){case"=":return void 0!==this.filters[t+"="]?this.filters[t+"="].val.toString()==n&&null:!(void 0!==this.filters[t+"!="+n]||void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=n||void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=n||void 0!==this.filters[t+">="]&&this.filters[t+">="].val>n||void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<n);case"=~":return!0;case"!=":return void 0!==this.filters[t+"="]?this.filters[t+"="].val!==n&&null:void 0===this.filters[t+"!="+n]&&!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=n)&&!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=n)&&!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>n)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<n)||null;case">":return t+"="in this.filters?!(this.filters[t+"="].val<=n)&&null:!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=n)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=n)&&(!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=n)&&!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>n)||null);case">=":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val<n)&&null:!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=n)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<n)&&(!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=n)&&!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=n)||null);case"<":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val>=n)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=n)&&!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=n)&&(!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=n)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<n)||null);case"<=":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val>n)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=n)&&!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>n)&&(!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=n)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=n)||null)}}},{key:"conflict",value:function(e){var t=e.key.toString(),n=e.val.toString();return isNaN(parseFloat(n))||(n=parseFloat(n)),("="===e.op&&void 0!==this.filters[t+"="]&&n!=this.filters[t+"="].val.toString()||"!="===e.op&&void 0!==this.filters[t+"="]&&n==this.filters[t+"="].val.toString()||"="===e.op&&void 0!==this.filters[t+"!="]&&n===this.filters[t+"!="].val.toString())&&e.toString()+" added to "+this.toString()+" produces an invalid filter"}},{key:"add",value:function(e,t){var n,r=e.key.toString(),i=e.op,o=this.conflict(e);if(o)return o;if("="===i){for(var a in this.filters)this.filters[a].key===r&&delete this.filters[a];this.filters[r+"="]=e}else if("!="===i)this.filters[r+"!="+e.val]=e;else if("=~"===i)this.filters[r+"=~"+e.val]=e;else if(">"===i){for(var s in this.filters)this.filters[s].key===r&&this.filters[s].val<=e.val&&delete this.filters[s];this.filters[r+">"]=e}else if(">="===i){for(var l in this.filters)n=+this.filters[l].val.toString(),this.filters[l].key===r&&n<e.val&&delete this.filters[l];void 0!==this.filters[r+"!="+e.val]?(delete this.filters[r+"!="+e.val],e.op=">",this.filters[r+">"]=e):this.filters[r+">="]=e}else if("<"===i){for(var u in this.filters)n=+this.filters[u].val.toString(),this.filters[u].key===r&&n>=e.val&&delete this.filters[u];this.filters[r+"<"]=e}else if("<="===i){for(var c in this.filters)n=+this.filters[c].val.toString(),this.filters[c].key===r&&n>e.val&&delete this.filters[c];void 0!==this.filters[r+"!="+e.val]?(delete this.filters[r+"!="+e.val],e.op="<",this.filters[r+"<"]=e):this.filters[r+"<="]=e}}}]),dP),L.Tree.Fontset=I(function e(t,n){T(this,e),this.fonts=n,this.name="fontset-"+t.effects.length}),L.Tree.Invalid=(I(hP,[{key:"ev",value:function(e){return e.error({chunk:this.chunk,index:this.index,type:"syntax",message:this.message||"Invalid code: "+this.chunk}),{is:"undefined"}}}]),hP),L.Tree.Keyword=(I(fP,[{key:"ev",value:function(){return this}},{key:"toString",value:function(){return this.value}}]),fP),L.Tree.Literal=(I(cP,[{key:"toString",value:function(){return this.value}},{key:"ev",value:function(){return this}}]),cP),L.Tree.Operation=(I(uP,[{key:"ev",value:function(e){var t,n=this.operands[0].ev(e),r=this.operands[1].ev(e);return"undefined"===n.is||"undefined"===r.is?{is:"undefined",value:"undefined"}:(n instanceof L.Tree.Dimension&&r instanceof L.Tree.Color&&("*"===this.op||"+"===this.op?(t=r,r=n,n=t):e.error({name:"OperationError",message:"Can't substract or divide a color from a number",index:this.index})),n instanceof L.Tree.Quoted&&r instanceof L.Tree.Quoted&&"+"!==this.op?(e.error({message:"Can't subtract, divide, or multiply strings.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):n instanceof L.Tree.Field||r instanceof L.Tree.Field||n instanceof L.Tree.Literal||r instanceof L.Tree.Literal?"color"===n.is||"color"===r.is?(e.error({message:"Can't subtract, divide, or multiply colors in expressions.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):new L.Tree.Literal(n.ev(e).toString(!0)+this.op+r.ev(e).toString(!0)):void 0===n.operate?(e.error({message:"Cannot do math with type "+n.is+".",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):n.operate(e,this.op,r))}}]),uP),L.Tree.Quoted=(I(lP,[{key:"toString",value:function(e){var t=this.value.replace(/&/g,"&"),n=t.replace(/\'/g,"\\'").replace(/\"/g,""").replace(/</g,"<").replace(/\>/g,">");return!0===e?"'"+n+"'":t}},{key:"ev",value:function(){return this}},{key:"operate",value:function(e,t,n){return new L.Tree.Quoted(L.Tree.operate(t,this.toString(),n.toString(this.contains_field)))}}]),lP),L.Tree.Reference={_validateValue:{font:function(e,t){return!e.validation_data||!e.validation_data.fonts||-1!=e.validation_data.fonts.indexOf(t)}},setData:function(e){this.data=e,this.selector_cache=function(e){var t,n={};for(t in e.symbolizers)for(var r in e.symbolizers[t])e.symbolizers[t][r].hasOwnProperty("css")&&(n[e.symbolizers[t][r].css]=[e.symbolizers[t][r],t,r]);return n}(e),this.mapnikFunctions=function(e){var t,n={};for(t in e.symbolizers)for(var r in e.symbolizers[t])if("functions"===e.symbolizers[t][r].type)for(var i=0;i<e.symbolizers[t][r].functions.length;i++){var o=e.symbolizers[t][r].functions[i];n[o[0]]=o[1]}return n}(e),this.required_cache=function(e){var t,n={};for(t in e.symbolizers)for(var r in n[t]=[],e.symbolizers[t])e.symbolizers[t][r].required&&n[t].push(e.symbolizers[t][r].css);return n}(e)},setVersion:function(e){return!!L.mapnik_reference.version.hasOwnProperty(e)&&(this.setData(L.mapnik_reference.version[e]),!0)},selectorData:function(e,t){if(this.selector_cache&&this.selector_cache[e])return this.selector_cache[e][t]},validSelector:function(e){return!!this.selector_cache[e]},selectorName:function(e){return this.selectorData(e,2)},selector:function(e){return this.selectorData(e,0)},symbolizer:function(e){return this.selectorData(e,1)},requiredProperties:function(e,t){var n,r=this.required_cache[e];for(n in r)if(!(r[n]in t))return"Property "+r[n]+" required for defining "+e+" styles."},isFont:function(e){return"font"===this.selector(e).validate},editDistance:function(e,t){if(0===e.length)return t.length;if(0===t.length)return e.length;for(var n=[],r=0;r<=t.length;r++)n[r]=[r];for(var i=0;i<=e.length;i++)n[0][i]=i;for(r=1;r<=t.length;r++)for(i=1;i<=e.length;i++)t.charAt(r-1)===e.charAt(i-1)?n[r][i]=n[r-1][i-1]:n[r][i]=Math.min(n[r-1][i-1]+1,Math.min(n[r][i-1]+1,n[r-1][i]+1));return n[t.length][e.length]},validValue:function(e,t,n){if(this.selector(t)){if("keyword"===n.value[0].is)return function(e,t){return"object"===$M(this.selector(t).type)?-1!==this.selector(t).type.indexOf(e.value[0].value):"string"===this.selector(t).type}(n,t);if("undefined"===n.value[0].is)return!0;if("numbers"===this.selector(t).type){for(var r in n.value)if("float"!==n.value[r].is)return!1;return!0}if("tags"===this.selector(t).type){if(!n.value)return!1;if(!n.value[0].value)return"tag"===n.value[0].is;for(r=0;r<n.value[0].value.length;r++)if("tag"!==n.value[0].value[r].is)return!1;return!0}if("functions"==this.selector(t).type)return function(t,e){if("string"!==t.value[0].is)for(var n in t.value)for(var r in t.value[n].value){if("call"!==t.value[n].value[r].is)return!1;var i=find(this.selector(e).functions,function(e){return e[0]===t.value[n].value[r].name});if(!(i&&-1===i[1]||i&&i[1]===t.value[n].value[r].args.length))return!1}return!0}(n,t);if("expression"===this.selector(t).type)return!0;if("unsigned"===this.selector(t).type)return"float"===n.value[0].is&&(n.value[0].round(),!0);if(this.selector(t).validate){for(r=0;r<n.value.length;r++)if(this.selector(t).type===n.value[r].is&&this._validateValue[this.selector(t).validate](e,n.value[r].value))return!0;return!1}return this.selector(t).type===n.value[0].is}return!1}},L.Tree.Reference.setVersion("latest"),L.Tree.Rule=(I(sP,[{key:"clone",value:function(){var e=Object.create(L.Tree.Rule.prototype);return e.name=this.name,e.value=this.value,e.index=this.index,e.instance=this.instance,e.symbolizer=this.symbolizer,e.filename=this.filename,e.variable=this.variable,e}},{key:"updateID",value:function(){return this.id=this.zoom+"#"+this.instance+"#"+this.name}},{key:"toString",value:function(){return"["+L.Tree.Zoom.toString(this.zoom)+"] "+this.name+": "+this.value}},{key:"ev",value:function(e){return new L.Tree.Rule(this.name,this.value.ev(e),this.index,this.filename)}}]),sP),L.Tree.Ruleset=(I(aP,[{key:"ev",value:function(e){var t,n,r=new L.Tree.Ruleset(this.selectors,this.rules.slice(0));for(r.root=this.root,e.frames.unshift(r),t=0;t<r.rules.length;t++)n=r.rules[t],r.rules[t]=n.ev?n.ev(e):n;return e.frames.shift(),r}},{key:"match",value:function(e){return!e||0===e.length}},{key:"variables",value:function(){return this._variables||(this._variables=this.rules.reduce(function(e,t){return t instanceof L.Tree.Rule&&!0===t.variable&&(e[t.name]=t),e},{}))}},{key:"variable",value:function(e){return this.variables()[e]}},{key:"rulesets",value:function(){return this._rulesets||(this._rulesets=this.rules.filter(function(e){return e instanceof L.Tree.Ruleset}))}},{key:"find",value:function(n,r){r=r||this;var i=[],e=n.toString();return e in this._lookups?this._lookups[e]:(this.rulesets().forEach(function(e){if(e!==r)for(var t=0;t<e.selectors.length;t++)if(n.match(e.selectors[t])){1<n.elements.length?Array.prototype.push.apply(i,e.find(new L.Tree.Selector(null,null,n.elements.slice(1)),r)):i.push(e);break}}),this._lookups[e]=i)}},{key:"evZooms",value:function(e){for(var t=0;t<this.selectors.length;t++){for(var n=L.Tree.Zoom.all,r=0;r<this.selectors[t].zoom.length;r++)n=this.selectors[t].zoom[r].ev(e).zoom;this.selectors[t].zoom=n}}},{key:"flatten",value:function(e,t,n){var r,i=[];for(0===this.selectors.length&&(n.frames=n.frames.concat(this.rules)),this.evZooms(n),c=0;c<this.selectors.length;c++){var o=this.selectors[c];if(o.filters)if(t.length)for(r=0;r<t.length;r++){var a=t[r],s=a.filters.cloneWith(o.filters);if(null===s){if(a.zoom===o.zoom&&a.attachment===o.attachment&&a.elements.join()===o.elements.join()){i.push(a);continue}s=a.filters}else if(!s)continue;var l=Object.create(L.Tree.Selector.prototype);l.filters=s,l.zoom=o.zoom,l.elements=a.elements.concat(o.elements),a.attachment&&o.attachment?l.attachment=a.attachment+"/"+o.attachment:l.attachment=o.attachment||a.attachment,l.conditions=a.conditions+o.conditions,l.index=o.index,i.push(l)}else i.push(o)}for(var u=[],c=0;c<this.rules.length;c++){var f=this.rules[c];f instanceof L.Tree.Ruleset?f.flatten(e,i,n):f instanceof L.Tree.Rule?u.push(f):f instanceof L.Tree.Invalid&&n.error(f)}var h=!!u.length&&u[0].index;for(c=0;c<i.length;c++)!1!==h&&(i[c].index=h),e.push(new L.Tree.Definition(i[c],u.slice()));return e}}]),aP),L.Tree.Selector=(I(oP,[{key:"specificity",value:function(){return this.elements.reduce(function(e,t){t=t.specificity();return e[0]+=t[0],e[1]+=t[1],e},[0,0,this.conditions,this.index])}}]),oP),L.Tree.URL=(I(iP,[{key:"toString",value:function(){return this.value.toString()}},{key:"ev",value:function(e){return new L.Tree.URL(this.value.ev(e),this.paths)}}]),iP),L.Tree.Value=(I(rP,[{key:"ev",value:function(t){return 1===this.value.length?this.value[0].ev(t):new L.Tree.Value(this.value.map(function(e){return e.ev(t)}))}},{key:"toJS",value:function(e){var e=this.ev(e),t=e.toString();return"color"===e.is||"uri"===e.is||"string"===e.is||"keyword"===e.is?t="'"+t+"'":"field"===e.is?t=t.replace(/\[(.*)\]/g,"attributes['_match1']"):e.value&&"object"===$M(e.value)&&(t="["+t+"]"),"_value = "+t+";"}},{key:"toString",value:function(t,e,n,r){return this.value.map(function(e){return e.toString(t,r)}).join(n||", ")}},{key:"clone",value:function(){var e=Object.create(L.Tree.Value.prototype);return Array.isArray(e)?e.value=this.value.slice():e.value=this.value,e.is=this.is,e}}]),rP),L.Tree.Variable=(I(nP,[{key:"toString",value:function(){return this.name}},{key:"ev",value:function(e){var t;return this._css||((t=e.frames.filter(function(e){return e.name===this.name}.bind(this))).length?t[0].value.ev(e):(e.error({message:"variable "+this.name+" is undefined",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}))}}]),nP),L.Tree.Zoom=(I(tP,[{key:"setZoom",value:function(e){return this.zoom=e,this}},{key:"ev",value:function(e){var t=parseInt(this.value.ev(e).toString(),10);switch((t>L.Tree.Zoom.maxZoom||t<0)&&e.error({message:"Only zoom levels between 0 and "+L.Tree.Zoom.maxZoom+" supported.",index:this.index}),this.op){case"=":return this.zoom="zoom && zoom === "+t,this;case">":this.zoom="zoom && zoom > "+t;break;case">=":this.zoom="zoom && zoom >= "+t;break;case"<":this.zoom="zoom && zoom < "+t;break;case"<=":this.zoom="zoom && zoom <= "+t}return this}},{key:"toString",value:function(){for(var e="",t=0;t<=L.Tree.Zoom.maxZoom;t++)e+=this.zoom&1<<t?"X":".";return e}}]),tP),L.Tree.Zoom.all=23,L.Tree.Zoom.maxZoom=22,L.Tree.Zoom.ranges={0:1e9,1:5e8,2:2e8,3:1e8,4:5e7,5:25e6,6:125e5,7:65e5,8:3e6,9:15e5,10:75e4,11:4e5,12:2e5,13:1e5,14:5e4,15:25e3,16:12500,17:5e3,18:2500,19:1500,20:750,21:500,22:250,23:100};XM=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");t=t||{},this.fill=!0,this.fillColor="#000000",this.fillOpacity=1,this.stroke=!1,this.strokeColor="#000000",this.strokeOpacity=1,this.strokeWidth=1,this.strokeLinecap="butt",this.strokeLineJoin="miter",this.strokeDashstyle="solid",this.pointRadius=6,this.shadowBlur=0,this.shadowColor="#000000",this.shadowOffsetX=0,this.shadowOffsetY=0,this.label="",this.labelRect=!1,this.fontColor="",this.fontSize=12,this.fontStyle="normal",this.fontVariant="normal",this.fontWeight="normal",this.fontFamily="arial,sans-serif",this.labelPosition="top",this.labelAlign="center",this.labelBaseline="middle",this.labelXOffset=0,this.labelYOffset=0,D.extend(this,t)},Object.defineProperty(XM,"prototype",{writable:!1});eP=XM;function AP(e){return(AP="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})(e)}function SP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function CP(){return(CP="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=EP(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function OP(e,t){return(OP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function EP(e){return(EP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var MP=function(){var e=s,t=Dn;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&OP(e,t);n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,a=function(){var e,t=EP(n),t=(e=r?(e=EP(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==AP(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function s(e,t,n,r,i,o){if(this instanceof s)return(e=a.call(this,e,t,n,r,i,o)).shapeFactory=new g,e.shapeParameters=null,e.RelativeCoordinate=!1,e.setting=null,e.origonPoint=null,e.chartBox=null,e.chartBounds=null,e.width=null,e.height=null,e.XOffset=0,e.YOffset=0,e.DVBParameter=null,e.dataViewBox=null,e.DVBCodomain=null,e.DVBCenterPoint=null,e.DVBUnitValue=null,e.DVBOrigonPoint=null,e.DVBWidth=null,e.DVBHeight=null,e.origonPointOffset=null,e.fields=n||[],e.dataValues=null,e.lonlat=i||e.data.geometry.getBounds().getCenterLonLat(),r&&r.width&&r.height&&r.codomain&&(e.setting=r),e.CLASS_NAME="SuperMap.Feature.Theme.Graph",e;throw new TypeError("Cannot call a class as a function")}return SP((e=s).prototype,[{key:"destroy",value:function(){this.shapeFactory=null,this.shapeParameters=null,this.width=null,this.height=null,this.origonPoint=null,this.chartBox=null,this.dataViewBox=null,this.chartBounds=null,this.DVBParameter=null,this.DVBOrigonPoint=null,this.DVBCenterPoint=null,this.DVBWidth=null,this.DVBHeight=null,this.DVBCodomain=null,this.DVBUnitValue=null,this.origonPointOffset=null,this.XOffset=null,this.YOffset=null,this.fields=null,this.dataValues=null,this.setting=null,CP(EP(s.prototype),"destroy",this).call(this)}},{key:"initBaseParameter",value:function(){var e,t,n;return!!this.setting&&!(!((n=this.setting).width&&n.height&&n.codomain)||(t=void 0===n.decimalNumber||isNaN(n.decimalNumber)?-1:n.decimalNumber,t=Dn.getDataValues(this.data,this.fields,t),this.dataValues=t||[],this.width=parseFloat(n.width),this.height=parseFloat(n.height),this.DVBCodomain=n.codomain,this.XOffset=n.XOffset||0,this.YOffset=n.YOffset||0,this.origonPoint=[],this.chartBox=[],this.dataViewBox=[],this.DVBParameter=n.dataViewBoxParameter||[0,0,0,0],this.DVBOrigonPoint=[],this.DVBCenterPoint=[],this.origonPointOffset=[],this.resetLocation(),t=this.width,n=this.height,e=this.location,this.origonPoint=[e[0]-t/2,e[1]-n/2],e=this.origonPoint,this.chartBox=[e[0],e[1]+n,e[0]+t,e[1]],n=this.chartBox,t=this.DVBParameter,this.dataViewBox=[n[0]+t[0],n[1]-t[1],n[2]-t[2],n[3]+t[3]],(n=this.dataViewBox)[0]>=n[2])||n[1]<=n[3]||(this.DVBOrigonPoint=[n[0],n[3]],this.DVBWidth=Math.abs(n[2]-n[0]),this.DVBHeight=Math.abs(n[1]-n[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-e[0],this.DVBOrigonPoint[1]-e[1]],0))}},{key:"resetLocation",value:function(e){e&&(this.lonlat=e);var e=this.getLocalXY(this.lonlat),e=(e[0]+=this.XOffset,e[1]+=this.YOffset,this.location=e,this.width),t=this.height,n=this.location;return this.chartBounds=new S(n[0]-e/2,n[1]+t/2,n[0]+e/2,n[1]-t/2),this.resetLinearGradient(),n}},{key:"resetLinearGradient",value:function(){}},{key:"shapesConvertToRelativeCoordinate",value:function(){for(var e=this.shapes,t=this.location,n=0,r=e.length;n<r;n++){e[n].refOriginalPosition=t;var i,o=e[n].style;for(i in o)switch(i){case"pointList":for(var a=o[i],s=0,l=a.length;s<l;s++)a[s][0]-=t[0],a[s][1]-=t[1];break;case"x":o[i]-=t[0];break;case"y":o[i]-=t[1]}}this.RelativeCoordinate=!0}},{key:"assembleShapes",value:function(){}},{key:"getLocalXY",value:function(e){return this.layer.getLocalXY(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),s}();function PP(e){return(PP="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})(e)}function kP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function TP(){return(TP="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=LP(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function IP(e,t){return(IP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function LP(e){return(LP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Dn.getDataValues=function(e,t,n){if(!e.attributes)return!1;for(var r=[],i=e.attributes,o=0;o<t.length;o++)for(var a in i)if(a===t[o])try{!isNaN(n)&&0<=n?r.push(parseFloat(i[a].toString()).toFixed(n)):r.push(parseFloat(i[a].toString()))}catch(e){throw new Error("not a number")}return r.length===t.length&&r};XM=function(){var e=a,t=MP;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&IP(e,t);n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,o=function(){var e,t=LP(n),t=(e=r?(e=LP(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==PP(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function a(e,t,n,r,i){if(this instanceof a)return(e=o.call(this,e,t,n,r,i)).CLASS_NAME="SuperMap.Feature.Theme.Bar",e;throw new TypeError("Cannot call a class as a function")}return kP((e=a).prototype,[{key:"destroy",value:function(){TP(LP(a.prototype),"destroy",this).call(this)}},{key:"assembleShapes",value:function(){var e={showShadow:!0,shadowBlur:8,shadowColor:"rgba(100,100,100,0.8)",shadowOffsetX:2,shadowOffsetY:2},t=this.setting;if(t.barLinearGradient||(t.barLinearGradient=[["#00FF00","#00CD00"],["#00CCFF","#5E87A2"],["#00FF66","#669985"],["#CCFF00","#94A25E"],["#FF9900","#A2945E"]]),t.dataViewBoxParameter||(void 0===t.useAxis||t.useAxis?t.dataViewBoxParameter=[45,15,15,15]:t.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var n=this.DVBCodomain,r=(this.DVBUnitValue=(n[1]-n[0])/this.DVBHeight,this.dataViewBox),i=this.dataValues;if(!(i.length<1)){for(var o=0,a=i.length;o<a;o++)if(i[o]<n[0]||i[o]>n[1])return;var s=this.calculateXShapeInfo();if(s){var l=s.xPositions,u=s.width;void 0!==t.useBackground&&!t.useBackground||this.shapes.push(g.Background(this.shapeFactory,this.chartBox,t)),void 0!==t.useAxis&&!t.useAxis||(this.shapes=this.shapes.concat(g.GraphAxis(this.shapeFactory,r,t,s)));for(var c=0;c<i.length;c++){var f,h=r[1]-(i[c]-n[0])/this.DVBUnitValue,h=[[l[c]-u/2,r[1]-1],[l[c]+u/2,r[1]-1],[l[c]+u/2,h],[l[c]-u/2,h]],h=new Oo(h);void 0!==t.showShadow&&!t.showShadow||(t.barShadowStyle&&((f=t.barShadowStyle).shadowBlur&&(e.shadowBlur=f.shadowBlur),f.shadowColor&&(e.shadowColor=f.shadowColor),f.shadowOffsetX&&(e.shadowOffsetX=f.shadowOffsetX),f.shadowOffsetY)&&(e.shadowOffsetY=f.shadowOffsetY),h.style={},D.copyAttributesWithClip(h.style,e)),h.refDataID=this.data.id,h.dataInfo={field:this.fields[c],value:i[c]},void 0!==t.barHoverAble&&(h.hoverable=t.barHoverAble),void 0!==t.barClickAble&&(h.clickable=t.barClickAble),this.shapes.push(this.shapeFactory.createShape(h))}this.shapesConvertToRelativeCoordinate()}}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,n=this.setting,r=this.dataValues.length;if(r<1)return null;var i=[],o=0,a=this.DVBWidth;if(n.xShapeBlank&&n.xShapeBlank.length&&3==n.xShapeBlank.length){n=a-((e=n.xShapeBlank)[0]+e[2]+(r-1)*e[1]);if(n<=r)return null;o=n/r}else e=[o=a/(2*r+1),o,o];for(var s=0,l=0;l<r;l++)0==l?s=e[0]+o/2:s+=o+e[1],i.push(t[0]+s);return{xPositions:i,width:o}}},{key:"resetLinearGradient",value:function(){if(this.RelativeCoordinate)for(var e=this.shapes.length,t=this.setting.barLinearGradient,n=-1,r=0;r<e;r++){var i,o,a,s,l=this.shapes[r];"SuperMap.LevelRenderer.Shape.SmicPolygon"===l.CLASS_NAME&&(i=l.style,s=this.location[0]+i.pointList[0][0],i=this.location[0]+i.pointList[1][0],++n>=t.length&&(n%=t.length),o=t[n][0],a=t[n][1],s=(new nr).getLinearGradient(s,0,i,0,[[0,o],[1,a]]),l.style.color=s)}}}]),Object.defineProperty(e,"prototype",{writable:!1}),a}();function jP(e){return(jP="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})(e)}function DP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function BP(){return(BP="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=NP(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function RP(e,t){return(RP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function NP(e){return(NP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var zP=function(){var e=a,t=MP;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&RP(e,t);n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,o=function(){var e,t=NP(n),t=(e=r?(e=NP(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==jP(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function a(e,t,n,r,i){if(this instanceof a)return(e=o.call(this,e,t,n,r,i)).CLASS_NAME="SuperMap.Feature.Theme.Bar3D",e;throw new TypeError("Cannot call a class as a function")}return DP((e=a).prototype,[{key:"destroy",value:function(){BP(NP(a.prototype),"destroy",this).call(this)}},{key:"assembleShapes",value:function(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,25,20,20]:e.dataViewBoxParameter=[5,5,5,5]),e.axisUseArrow=void 0===e.axisUseArrow||e.axisUseArrow,e.axisXLabelsOffset=void 0!==e.axisXLabelsOffset?e.axisXLabelsOffset:[-10,10],this.initBaseParameter()){var t=this.DVBCodomain,n=(this.DVBUnitValue=(t[1]-t[0])/this.DVBHeight,this.dataViewBox),r=this.dataValues;if(!(r.length<1)){for(var i=0,o=r.length;i<o;i++)if(r[i]<t[0]||r[i]>t[1])return;var a=this.calculateXShapeInfo();if(a){var s=a.xPositions,l=a.width;void 0!==e.useBackground&&!e.useBackground||this.shapes.push(g.Background(this.shapeFactory,this.chartBox,e)),(!e.axis3DParameter||isNaN(e.axis3DParameter)||e.axis3DParameter<15)&&(e.axis3DParameter=20),void 0!==e.useAxis&&!e.useAxis||(this.shapes=this.shapes.concat(g.GraphAxis(this.shapeFactory,n,e,a)));for(var u=e.bar3DParameter&&!isNaN(e.bar3DParameter)?e.bar3DParameter:10,c=0;c<r.length;c++){var f=n[1]-(r[c]-t[0])/this.DVBUnitValue,h=s[c]-l/2,d=s[c]+l/2,p=[[d,f],[d-u,f+u],[d-u,n[1]+u],[d,n[1]]],y=[[h-u,n[1]+u],[d-u,n[1]+u],[d-u,f+u],[h-u,f+u]],d=(u<=0&&(y=[[h,n[1]],[d,n[1]],[d,f],[h,f]]),new Oo([[h,f],[d,f],[d-u,f+u],[h-u,f+u]])),h=new Oo(p),f=new Oo(y);e.barSideStyle=e.barSideStyle||e.barFaceStyle,e.barSideStyleByFields=e.barSideStyleByFields||e.barFaceStyleByFields,e.barSideStyleByCodomain=e.barSideStyleByCodomain||e.barFaceStyleByCodomain,e.barTopStyle=e.barTopStyle||e.barFaceStyle,e.barTopStyleByFields=e.barTopStyleByFields||e.barFaceStyleByFields,e.barTopStyleByCodomain=e.barTopStyleByCodomain||e.barFaceStyleByCodomain,f.style=g.ShapeStyleTool({stroke:!0,strokeColor:"#ffffff",fillColor:"#ee9900"},e.barFaceStyle,e.barFaceStyleByFields,e.barFaceStyleByCodomain,c,r[c]),h.style=g.ShapeStyleTool({stroke:!0,strokeColor:"#ffffff",fillColor:"#ee9900"},e.barSideStyle,e.barSideStyleByFields,e.barSideStyleByCodomain,c,r[c]),d.style=g.ShapeStyleTool({stroke:!0,strokeColor:"#ffffff",fillColor:"#ee9900"},e.barTopStyle,e.barTopStyleByFields,e.barTopStyleByCodomain,c,r[c]),e.barSideHoverStyle=e.barSideHoverStyle||e.barFaceHoverStyle,e.barTopHoverStyle=e.barTopHoverStyle||e.barFaceHoverStyle,f.highlightStyle=g.ShapeStyleTool({stroke:!0},e.barFaceHoverStyle),h.highlightStyle=g.ShapeStyleTool({stroke:!0},e.barSideHoverStyle),d.highlightStyle=g.ShapeStyleTool({stroke:!0},e.barTopHoverStyle),d.refDataID=h.refDataID=f.refDataID=this.data.id,d.isHoverByRefDataID=h.isHoverByRefDataID=f.isHoverByRefDataID=!0,d.refDataHoverGroup=h.refDataHoverGroup=f.refDataHoverGroup=D.createUniqueID("lr_shg"),d.dataInfo=h.dataInfo=f.dataInfo={field:this.fields[c],value:r[c]},void 0!==e.barHoverAble&&(d.hoverable=h.hoverable=f.hoverable=e.barHoverAble),void 0!==e.barClickAble&&(d.clickable=h.clickable=f.clickable=e.barClickAble),this.shapes.push(this.shapeFactory.createShape(h)),this.shapes.push(this.shapeFactory.createShape(d)),this.shapes.push(this.shapeFactory.createShape(f))}this.shapesConvertToRelativeCoordinate()}}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,n=this.setting,r=this.dataValues.length;if(r<1)return null;var i=[],o=0,a=this.DVBWidth;if(n.xShapeBlank&&n.xShapeBlank.length&&3==n.xShapeBlank.length){n=a-((e=n.xShapeBlank)[0]+e[2]+(r-1)*e[1]);if(n<=r)return null;o=n/r}else e=[o=a/(2*r+1),o,o];for(var s=0,l=0;l<r;l++)0==l?s=e[0]+o/2:s+=o+e[1],i.push(t[0]+s);return{xPositions:i,width:o}}}]),Object.defineProperty(e,"prototype",{writable:!1}),a}();function FP(e){return(FP="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})(e)}function VP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function HP(){return(HP="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=GP(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function YP(e,t){return(YP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function GP(e){return(GP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var UP=function(){var e=s,t=MP;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&YP(e,t);n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,a=function(){var e,t=GP(n),t=(e=r?(e=GP(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==FP(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function s(e,t,n,r,i,o){if(this instanceof s)return(e=a.call(this,e,t,n,r,i,o)).setting=null,r&&r.codomain&&(e.setting=r,e.DVBCodomain=e.setting.codomain),e.CLASS_NAME="SuperMap.Feature.Theme.RankSymbol",e;throw new TypeError("Cannot call a class as a function")}return VP((e=s).prototype,[{key:"destroy",value:function(){this.setting=null,HP(GP(s.prototype),"destroy",this).call(this)}},{key:"initBaseParameter",value:function(){var e,t,n;return!(!this.setting||((t=this.setting).XOffset&&(this.XOffset=t.XOffset),t.YOffset&&(this.YOffset=t.YOffset),this.XOffset=t.XOffset||0,this.YOffset=t.YOffset||0,this.origonPoint=[],this.chartBox=[],this.dataViewBox=[],this.DVBParameter=t.dataViewBoxParameter||[0,0,0,0],this.DVBOrigonPoint=[],this.DVBCenterPoint=[],this.origonPointOffset=[],this.resetLocation(),t=this.width,n=this.height,e=this.location,this.origonPoint=[e[0]-t/2,e[1]-n/2],e=this.origonPoint,this.chartBox=[e[0],e[1]+n,e[0]+t,e[1]],n=this.chartBox,t=this.DVBParameter,this.dataViewBox=[n[0]+t[0],n[1]-t[1],n[2]-t[2],n[3]+t[3]],(n=this.dataViewBox)[0]>=n[2])||n[1]<=n[3]||(this.DVBOrigonPoint=[n[0],n[3]],this.DVBWidth=Math.abs(n[2]-n[0]),this.DVBHeight=Math.abs(n[1]-n[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-e[0],this.DVBOrigonPoint[1]-e[1]],0))}}]),Object.defineProperty(e,"prototype",{writable:!1}),s}();function QP(e){return(QP="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})(e)}function WP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qP(){return(qP="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=XP(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function KP(e,t){return(KP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function XP(e){return(XP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var JP=function(){var e=a,t=UP;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&KP(e,t);n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,o=function(){var e,t=XP(n),t=(e=r?(e=XP(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==QP(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function a(e,t,n,r,i){if(this instanceof a)return(e=o.call(this,e,t,n,r,i)).CLASS_NAME="SuperMap.Feature.Theme.Circle",e;throw new TypeError("Cannot call a class as a function")}return WP((e=a).prototype,[{key:"destroy",value:function(){qP(XP(a.prototype),"destroy",this).call(this)}},{key:"assembleShapes",value:function(){var e,t,n,r;return!!this.setting&&!!(e=this.setting).codomain&&(t=void 0===e.decimalNumber||isNaN(e.decimalNumber)?-1:e.decimalNumber,t=Dn.getDataValues(this.data,this.fields,t),this.dataValues=t||[],t=this.dataValues,e.maxR||(e.maxR=100),e.minR||(e.minR=0),(r=this.DVBCodomain)&&0<r[1]-r[0]?this.DVBUnitValue=e.maxR/(r[1]-r[0]):this.DVBUnitValue=e.maxR,n=this.DVBUnitValue,n=t[0]*n+e.minR,this.width=2*n,this.height=2*n,void(!this.initBaseParameter()||r&&(t[0]<r[0]||t[0]>r[1])||(r=this.DVBCenterPoint,(r=new na(r[0],r[1],n)).style=g.ShapeStyleTool(null,e.circleStyle,null,null,0),void 0!==e.fillColor?r.style.fillColor=e.fillColor:r.style.fillColor="#ff9277",r.highlightStyle=g.ShapeStyleTool(null,e.circleHoverStyle),void 0!==e.circleHoverAble&&(r.hoverable=e.circleHoverAble),void 0!==e.circleClickAble&&(r.clickable=e.circleClickAble),r.refDataID=this.data.id,r.dataInfo={field:this.fields[0],r:n,value:t[0]},this.shapes.push(this.shapeFactory.createShape(r)),this.shapesConvertToRelativeCoordinate())))}}]),Object.defineProperty(e,"prototype",{writable:!1}),a}();function $P(e){return($P="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})(e)}function ZP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ek(){return(ek="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=nk(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function tk(e,t){return(tk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function nk(e){return(nk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rk=function(){var e=s,t=MP;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tk(e,t);n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,a=function(){var e,t=nk(n),t=(e=r?(e=nk(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==$P(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function s(e,t,n,r,i,o){if(this instanceof s)return(e=a.call(this,e,t,n,r,i,o)).CLASS_NAME="SuperMap.Feature.Theme.Line",e;throw new TypeError("Cannot call a class as a function")}return ZP((e=s).prototype,[{key:"destroy",value:function(){ek(nk(s.prototype),"destroy",this).call(this)}},{key:"assembleShapes",value:function(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,15,15,15]:e.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var t=this.dataViewBox,n=this.DVBCodomain,r=(this.DVBUnitValue=(n[1]-n[0])/this.DVBHeight,this.DVBUnitValue),i=this.dataValues;if(!(i.length<1)){var o=this.calculateXShapeInfo();if(o){var a=o.xPositions;void 0!==e.useBackground&&!e.useBackground||this.shapes.push(g.Background(this.shapeFactory,this.chartBox,e)),this.shapes=this.shapes.concat(g.GraphAxis(this.shapeFactory,t,e,o));for(var s=[],l=[],u=0,c=i.length;u<c;u++){if(i[u]<n[0]||i[u]>n[1])return null;var f=a[u],h=t[1]-(i[u]-n[0])/r,d=new po(f,h),d=(d.style=g.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,u,i[u]),d.highlightStyle=g.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(d.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(d.clickable=e.pointClickAble),d.refDataID=this.data.id,d.dataInfo={field:this.fields[u],value:i[u]},l.push(this.shapeFactory.createShape(d)),[f,h]);s.push(d)}o=new _o(s),o=(o.style=g.ShapeStyleTool({strokeColor:"#ee9900"},e.lineStyle),o.clickable=!1,o.hoverable=!1,this.shapeFactory.createShape(o));this.shapes.push(o),this.shapes=this.shapes.concat(l),this.shapesConvertToRelativeCoordinate()}}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,n=this.setting,r=this.dataValues.length;if(r<1)return null;var i=[],o=this.DVBWidth,a=0;if(n.xShapeBlank&&n.xShapeBlank.length&&2==n.xShapeBlank.length){n=o-((e=n.xShapeBlank)[0]+e[1]);if(n<=r)return null;a=n/(r-1)}else e=[a=o/(r+1),a,a];for(var s=0,l=0;l<r;l++)0==l?s=e[0]:s+=a,i.push(t[0]+s);return{xPositions:i,width:0}}}]),Object.defineProperty(e,"prototype",{writable:!1}),s}();function ik(e){return(ik="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})(e)}function ok(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ak(){return(ak="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=lk(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function sk(e,t){return(sk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function lk(e){return(lk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var uk=function(){var e=a,t=MP;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sk(e,t);n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,o=function(){var e,t=lk(n),t=(e=r?(e=lk(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==ik(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function a(e,t,n,r,i){if(this instanceof a)return(e=o.call(this,e,t,n,r,i)).CLASS_NAME="SuperMap.Feature.Theme.Pie",e;throw new TypeError("Cannot call a class as a function")}return ok((e=a).prototype,[{key:"destroy",value:function(){ak(lk(a.prototype),"destroy",this).call(this)}},{key:"assembleShapes",value:function(){var e=this.setting,t=[{fillColor:"#ff9277"},{fillColor:"#dddd00"},{fillColor:"#ffc877"},{fillColor:"#bbe3ff"},{fillColor:"#d5ffbb"},{fillColor:"#bbbbff"},{fillColor:"#ddb000"},{fillColor:"#b0dd00"},{fillColor:"#e2bbff"},{fillColor:"#ffbbe3"},{fillColor:"#ff7777"},{fillColor:"#ff9900"},{fillColor:"#83dd00"},{fillColor:"#77e3ff"},{fillColor:"#778fff"},{fillColor:"#c877ff"},{fillColor:"#ff77ab"},{fillColor:"#ff6600"},{fillColor:"#aa8800"},{fillColor:"#77c7ff"},{fillColor:"#ad77ff"},{fillColor:"#ff77ff"},{fillColor:"#dd0083"},{fillColor:"#777700"},{fillColor:"#00aa00"},{fillColor:"#0088aa"},{fillColor:"#8400dd"},{fillColor:"#aa0088"},{fillColor:"#dd0000"},{fillColor:"#772e00"}];if(this.initBaseParameter()){e.useBackground&&this.shapes.push(g.Background(this.shapeFactory,this.chartBox,e));var n=this.dataValues;if(!(n.length<1)){for(var r=this.DVBCodomain,i=0;i<n.length;i++)if(n[i]<r[0]||n[i]>r[1])return;for(var o=0,a=0;a<n.length;a++)o+=Math.abs(n[a]);this.DVBUnitValue=360/o;for(var s=this.DVBUnitValue,l=this.DVBCenterPoint,u=0,c=0,f=u,h=this.DVBHeight<this.DVBWidth?this.DVBHeight/2:this.DVBWidth/2,d=0;d<n.length;d++){var p=Math.abs(n[d]),p=(360<=(c=0!==d&&d===p.length-1?f:u+p*s)-u&&(c=359.9999999),new No(l[0],l[1],h,u,c));void 0===e.sectorStyleByFields?p.style=g.ShapeStyleTool(null,e.sectorStyle,t,null,d%t.length):p.style=g.ShapeStyleTool(null,e.sectorStyle,e.sectorStyleByFields,e.sectorStyleByCodomain,d,n[d]),p.highlightStyle=g.ShapeStyleTool(null,e.sectorHoverStyle),void 0!==e.sectorHoverAble&&(p.hoverable=e.sectorHoverAble),void 0!==e.sectorClickAble&&(p.clickable=e.sectorClickAble),p.refDataID=this.data.id,p.dataInfo={field:this.fields[d],value:n[d]},this.shapes.push(this.shapeFactory.createShape(p)),u=c}this.shapesConvertToRelativeCoordinate()}}}}]),Object.defineProperty(e,"prototype",{writable:!1}),a}();function ck(e){return(ck="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})(e)}function fk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hk(){return(hk="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=pk(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function dk(e,t){return(dk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function pk(e){return(pk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yk=function(){var e=s,t=MP;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dk(e,t);n=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,a=function(){var e,t=pk(n),t=(e=r?(e=pk(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==ck(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function s(e,t,n,r,i,o){if(this instanceof s)return(e=a.call(this,e,t,n,r,i,o)).CLASS_NAME="SuperMap.Feature.Theme.Point",e;throw new TypeError("Cannot call a class as a function")}return fk((e=s).prototype,[{key:"destroy",value:function(){hk(pk(s.prototype),"destroy",this).call(this)}},{key:"assembleShapes",value:function(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,15,15,15]:e.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var t=this.dataViewBox,n=this.DVBCodomain,r=(this.DVBUnitValue=(n[1]-n[0])/this.DVBHeight,this.DVBUnitValue),i=this.dataValues,o=this.calculateXShapeInfo();if(o){var a=o.xPositions;void 0!==e.useBackground&&!e.useBackground||this.shapes.push(g.Background(this.shapeFactory,this.chartBox,e)),this.shapes=this.shapes.concat(g.GraphAxis(this.shapeFactory,t,e,o));for(var s=0,l=i.length;s<l;s++){if(i[s]<n[0]||i[s]>n[1])return null;var u=a[s],c=t[1]-(i[s]-n[0])/r,u=new po(u,c);u.style=g.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,s,i[s]),u.highlightStyle=g.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(u.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(u.clickable=e.pointClickAble),u.refDataID=this.data.id,u.dataInfo={field:this.fields[s],value:i[s]},this.shapes.push(this.shapeFactory.createShape(u))}this.shapesConvertToRelativeCoordinate()}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,n=this.setting,r=this.dataValues.length;if(r<1)return null;var i=[],o=this.DVBWidth,a=0;if(n.xShapeBlank&&n.xShapeBlank.length&&2==n.xShapeBlank.length){n=o-((e=n.xShapeBlank)[0]+e[1]);if(n<=r)return null;a=n/(r-1)}else e=[a=o/(r+1),a,a];for(var s=0,l=0;l<r;l++)0==l?s=e[0]:s+=a,i.push(t[0]+s);return{xPositions:i,width:0}}}]),Object.defineProperty(e,"prototype",{writable:!1}),s}();function mk(e){return(mk="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})(e)}function gk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vk(){return(vk="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_k(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function bk(e,t){return(bk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _k(e){return(_k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xk=function(){var e=a,t=MP;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bk(e,t);n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,o=function(){var e,t=_k(n),t=(e=r?(e=_k(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==mk(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function a(e,t,n,r,i){if(this instanceof a)return(e=o.call(this,e,t,n,r,i)).CLASS_NAME="SuperMap.Feature.Theme.Ring",e;throw new TypeError("Cannot call a class as a function")}return gk((e=a).prototype,[{key:"destroy",value:function(){vk(_k(a.prototype),"destroy",this).call(this)}},{key:"assembleShapes",value:function(){if(this.initBaseParameter()){var e=[{fillColor:"#ff9277"},{fillColor:"#dddd00"},{fillColor:"#ffc877"},{fillColor:"#bbe3ff"},{fillColor:"#d5ffbb"},{fillColor:"#bbbbff"},{fillColor:"#ddb000"},{fillColor:"#b0dd00"},{fillColor:"#e2bbff"},{fillColor:"#ffbbe3"},{fillColor:"#ff7777"},{fillColor:"#ff9900"},{fillColor:"#83dd00"},{fillColor:"#77e3ff"},{fillColor:"#778fff"},{fillColor:"#c877ff"},{fillColor:"#ff77ab"},{fillColor:"#ff6600"},{fillColor:"#aa8800"},{fillColor:"#77c7ff"},{fillColor:"#ad77ff"},{fillColor:"#ff77ff"},{fillColor:"#dd0083"},{fillColor:"#777700"},{fillColor:"#00aa00"},{fillColor:"#0088aa"},{fillColor:"#8400dd"},{fillColor:"#aa0088"},{fillColor:"#dd0000"},{fillColor:"#772e00"}],t=this.setting,n=(t.useBackground&&this.shapes.push(g.Background(this.shapeFactory,this.chartBox,t)),this.dataValues);if(!(n.length<1)){for(var r=this.DVBCodomain,i=0;i<n.length;i++)if(n[i]<r[0]||n[i]>r[1])return;for(var o=0,a=0;a<n.length;a++)o+=Math.abs(n[a]);this.DVBUnitValue=360/o;for(var s=this.DVBUnitValue,l=this.DVBCenterPoint,u=0,c=u,f=this.DVBHeight<this.DVBWidth?this.DVBHeight/2:this.DVBWidth/2,h=0<=t.innerRingRadius&&t.innerRingRadius<f,d=void 0!==t.innerRingRadius&&!isNaN(t.innerRingRadius)&&h?t.innerRingRadius:0,p=0;p<n.length;p++){var y=Math.abs(n[p]),y=0!==p&&p===y.length-1?c:u+y*s,m=new No(l[0],l[1],f,u,y,d);void 0===t.sectorStyleByFields?m.style=g.ShapeStyleTool(null,t.sectorStyle,e,null,p%e.length):m.style=g.ShapeStyleTool(null,t.sectorStyle,t.sectorStyleByFields,t.sectorStyleByCodomain,p,n[p]),m.highlightStyle=g.ShapeStyleTool(null,t.sectorHoverStyle),void 0!==t.sectorHoverAble&&(m.hoverable=t.sectorHoverAble),void 0!==t.sectorClickAble&&(m.clickable=t.sectorClickAble),m.refDataID=this.data.id,m.dataInfo={field:this.fields[p],value:n[p]},this.shapes.push(this.shapeFactory.createShape(m)),u=y}this.shapesConvertToRelativeCoordinate()}}}}]),Object.defineProperty(e,"prototype",{writable:!1}),a}();function wk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}wk((Sk=Pk).prototype,[{key:"_initView",value:function(){var e=document.createElement("div"),t=(e.hidden=!0,e.setAttribute("class","component-messageboxcontainer component-border-bottom-orange"),document.createElement("div")),t=(t.setAttribute("class","icon"),this.icon=document.createElement("span"),this.icon.setAttribute("class","supermapol-icons-message-warning"),t.appendChild(this.icon),e.appendChild(t),document.createElement("div")),t=(t.setAttribute("class","component-messagebox"),t.innerHTML="",e.appendChild(t),this.messageBox=t,document.createElement("div")),n=(t.setAttribute("class","component-messagebox__cancelbtncontainer"),document.createElement("button"));n.setAttribute("class","component-messagebox__cancelBtn"),n.innerHTML="x",n.onclick=this.closeView.bind(this),t.appendChild(n),e.appendChild(t),this.messageBoxContainer=e,document.body.appendChild(this.messageBoxContainer)}},{key:"closeView",value:function(){this.messageBoxContainer.hidden=!0}},{key:"showView",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"warring";"success"===t?(this.icon.setAttribute("class","supermapol-icons-message-success"),this.messageBoxContainer.setAttribute("class","component-messageboxcontainer component-border-bottom-green")):"failure"===t?(this.icon.setAttribute("class","supermapol-icons-message-failure"),this.messageBoxContainer.setAttribute("class","component-messageboxcontainer component-border-bottom-red")):"warring"===t&&(this.icon.setAttribute("class","supermapol-icons-message-warning"),this.messageBoxContainer.setAttribute("class","component-messageboxcontainer component-border-bottom-orange")),this.messageBox.innerHTML=e,this.messageBoxContainer.hidden=!1}}]),Object.defineProperty(Sk,"prototype",{writable:!1});var Ak=Pk,Sk=function(){try{return echarts}catch(e){return{}}}(),Ck=qT.n(Sk),Ok={"en-US":{title_dataFlowService:"Data Flow Service",title_distributedAnalysis:"Distributed Analysis",title_clientComputing:"Client Computing",title_dataServiceQuery:"Data Service Query",title_searchCity:"Search city",title_searchLayer:" Search layer",text_input_value_inputDataFlowUrl:"Please enter the data stream service address such as: ws://{serviceRoot}/{dataFlowName}/dataflow/subscribe",text_displayFeaturesInfo:"Display feature information",text_subscribe:"subscribe",text_cancelSubscribe:"unsubscribe",text_densityAnalysis:"Density Analysis",text_CalculateTheValuePerUnitArea:"Calculate the value per unit area within the neighborhood shape",text_option_selectDataset:"Please select a dataset",text_label_dataset:"Dataset",text_option_simplePointDensityAnalysis:"Simple point density analysis",text_option_nuclearDensityAnalysis:"Nuclear density analysis",text_label_analyticalMethod:"Analytical method",text_option_quadrilateral:"Quadrilateral",text_option_hexagon:"hexagon",text_label_meshType:"Mesh type",text_option_notSet:"Not set",text_label_weightField:"Weight field",text_label_gridSizeInMeters:"Grid size",text_label_searchRadius:"Search radius",text_label_queryRange:"Scope of analysis",text_label_areaUnit:"Area unit",text_option_equidistantSegmentation:"Equidistant segmentation",text_option_logarithm:"Logarithm",text_option_equalCountingSegment:"Equal counting segment",text_option_squareRootSegmentation:"Square root segmentation",text_label_thematicMapSegmentationMode:"Thematic map segmentation mode",text_label_thematicMapSegmentationParameters:"Thematic map segmentation parameters",text_option_greenOrangePurpleGradient:"Green orange purple gradient",text_option_greenOrangeRedGradient:"Green orange red gradient",text_option_rainbowGradient:"Rainbow gradient",text_option_spectralGradient:"Spectral gradient",text_option_terrainGradient:"Terrain gradient",text_label_thematicMapColorGradientMode:"Thematic map color gradient mode",text_label_resultLayerName:"Result layer name",text_chooseFile:"Open File",text_isoline:"Isoline",text_extractDiscreteValue:"Extract discrete value generation curve",text_buffer:"Buffer",text_specifyTheDistance:"Specify the distance to create the surrounding area",text_label_analysisLayer:"Analysis layer",text_label_extractField:"Extract field",text_label_extractedValue:"Extracted value",text_label_distanceAttenuation:"Distance attenuation",text_label_gridSize:"gridSize",text_label_bufferRadius:"Buffer radius",text_label_defaultkilometers:"Default 10 kilometers",text_label_kilometer:"kilometer",text_label_unit:"unit",text_retainOriginal:"Retain original object field",text_mergeBuffer:"Merge buffer",text_label_color:"Color",text_label_buffer:"[Buffer]",text_label_isolines:"[Isolines]",text_label_queryRangeTips:"The default is the full range of input data. Example: -74.050, 40.650, -73.850, 40.850",text_label_queryModel:"Query mode",text_label_IDArrayOfFeatures:"ID array of features",text_label_maxFeatures:"The maximum number of features that can be returned",text_label_bufferDistance:"Buffer distance",text_label_queryRange1:"Query range",text_label_spatialQueryMode:"Spatial query mode",text_label_featureFilter:"Feature filter",text_label_geometricObject:"Geometric object",text_label_queryMode:"Query mode",text_label_searchTips:"Search for city locations or layer features",text_label_chooseSearchLayers:"Select a query layer",text_loadSearchCriteria:"Load search criteria",text_saveSearchCriteria:"Save search criteria",btn_analyze:"Analyze",btn_analyzing:"Analyzing",btn_emptyTheAnalysisLayer:"Empty the analysis layer",btn_cancelAnalysis:"Cancel",btn_query:"Query",btn_querying:"Querying",btn_emptyTheRresultLayer:"Clear all result layers","msg_dataReturnedIsEmpty.":"The request is successful and the data returned by the query is empty.",msg_dataFlowServiceHasBeenSubscribed:"The data stream service has been subscribed to.",msg_inputDataFlowUrlFirst:"Please enter the data stream service address first.",msg_datasetOrMethodUnsupport:"This dataset does not support this analysis type. Please reselect the dataset.",msg_selectDataset:"Please select a data set!",msg_setTheWeightField:"Please set the weight field!",msg_theFieldNotSupportAnalysis:"The field you currently select does not support analysis!",msg_resultIsEmpty:"The result of the analysis is empty!",msg_openFileFail:"Failed to open file!",msg_fileTypeUnsupported:"File format is not supported!",msg_fileSizeExceeded:"File size exceeded! The file size should not exceed 10M!",msg_dataInWrongGeoJSONFormat:"Wrong data format! Non standard GEOJSON format data!",msg_dataInWrongFormat:"Wrong data format! Non standard EXCEL, CSV or GEOJSON format data!",msg_searchKeywords:"Search keywords cannot be empty. Please enter your search criteria.",msg_searchGeocodeField:"Did not match the address matching service data!",msg_cityGeocodeField:"The address matching service of the current city is not configured.",msg_getFeatureField:"No related vector features found!",msg_dataflowservicesubscribed:"The data stream service has been subscribed to.",msg_subscribesucceeded:"The data stream service subscription was successful.",msg_crsunsupport:"Does not support the coordinate system of the current map",msg_tilematrixsetunsupport:"Incoming TileMatrixSet is not supported",msg_jsonResolveFiled:"JSON format parsing failure!",msg_requestContentFiled:"Failed to request data through iportal!",msg_getdatafailed:"Failed to get data!"},"zh-CN":{title_dataFlowService:"数据流服务",title_distributedAnalysis:"分布式分析",title_clientComputing:"客户端计算",title_dataServiceQuery:"数据服务查询",title_searchCity:"搜索城市",title_searchLayer:"搜索图层",text_input_value_inputDataFlowUrl:"请输入数据流服务地址如:ws://{serviceRoot}/{dataFlowName}/dataflow/subscribe",text_displayFeaturesInfo:"显示要素信息",text_subscribe:"订阅",text_cancelSubscribe:"取消订阅",text_densityAnalysis:"密度分析",text_CalculateTheValuePerUnitArea:"计算点指定邻域形状内的每单位面积量值",text_option_selectDataset:"请选择数据集",text_label_dataset:"数据集",text_option_simplePointDensityAnalysis:"简单点密度分析",text_option_nuclearDensityAnalysis:"核密度分析",text_label_analyticalMethod:"分析方法",text_option_quadrilateral:"四边形",text_option_hexagon:"六边形",text_label_meshType:"网格面类型",text_option_notSet:"未设置",text_label_weightField:"权重字段",text_label_gridSizeInMeters:"网格大小",text_label_searchRadius:"搜索半径",text_label_queryRange:"分析范围",text_label_areaUnit:"面积单位",text_option_equidistantSegmentation:"等距离分段",text_option_logarithm:"对数",text_option_equalCountingSegment:"等计数分段",text_option_squareRootSegmentation:"平方根分段",text_label_thematicMapSegmentationMode:"专题图分段模式",text_label_thematicMapSegmentationParameters:"专题图分段参数",text_option_greenOrangePurpleGradient:"绿橙紫渐变",text_option_greenOrangeRedGradient:"绿橙红渐变",text_option_rainbowGradient:"彩虹渐变",text_option_spectralGradient:"光谱渐变",text_option_terrainGradient:"地形渐变",text_label_thematicMapColorGradientMode:"专题图颜色渐变模式",text_label_resultLayerName:"结果图层名称",text_chooseFile:"选择文件",text_isoline:"等值线",text_extractDiscreteValue:"提取离散值生成曲线",text_buffer:"缓冲区",text_specifyTheDistance:"指定距离创建周边区域",text_label_analysisLayer:"分析图层",text_label_extractField:"提取字段",text_label_extractedValue:"提取值",text_label_distanceAttenuation:"距离衰减",text_label_gridSize:"栅格大小",text_label_bufferRadius:"缓冲半径",text_label_defaultkilometers:"默认10千米",text_option_kilometer:"千米",text_label_unit:"单位",text_retainOriginal:"保留原对象字段属性",text_mergeBuffer:"合并缓冲区",text_label_color:"颜色",text_label_buffer:"[缓冲区]",text_label_isolines:"[等值线]",text_label_queryRangeTips:"默认为输入数据的全幅范围。范例:-74.050,40.650,-73.850,40.850",text_label_IDArrayOfFeatures:"要素 ID 数组",text_label_maxFeatures:"最多可返回的要素数量",text_label_bufferDistance:"缓冲区距离",text_label_queryRange1:"查询范围",text_label_spatialQueryMode:"空间查询模式",text_label_featureFilter:"要素过滤器",text_label_geometricObject:"几何对象",text_label_queryMode:"查询模式",text_label_searchTips:"搜索城市地点或图层要素",text_label_chooseSearchLayers:"选择查询图层",text_loadSearchCriteria:"加载搜索条件",text_saveSearchCriteria:"保存搜索条件",btn_analyze:"分析",btn_analyzing:"分析中",btn_emptyTheAnalysisLayer:"清空分析图层",btn_cancelAnalysis:"取消",btn_query:"查询",btn_querying:"查询中",btn_emptyTheRresultLayer:"清除所有结果图层",msg_dataFlowServiceHasBeenSubscribed:"已订阅该数据流服务。",msg_inputDataFlowUrlFirst:"请先输入数据流服务地址。",msg_datasetOrMethodUnsupport:"该数据集不支持本分析类型,请重新选择数据集",msg_selectDataset:"请选择数据集!",msg_setTheWeightField:"请设置权重字段!",msg_theFieldNotSupportAnalysis:"您当前选择的字段不支持分析!",msg_resultIsEmpty:"分析的结果为空!",msg_dataReturnedIsEmpty:"请求成功,查询返回的数据为空。",msg_openFileFail:"打开文件失败!",msg_fileTypeUnsupported:"不支持该文件格式!",msg_fileSizeExceeded:"文件大小超限!文件大小不得超过 10M!",msg_dataInWrongGeoJSONFormat:"数据格式错误!非标准的 GEOJSON 格式数据!",msg_dataInWrongFormat:"数据格式错误!非标准的 EXCEL, CSV 或 GEOJSON 格式数据!",msg_searchKeywords:"搜索关键字不能为空,请输入搜索条件。",msg_searchGeocodeField:"未匹配到地址匹配服务数据!",msg_cityGeocodeField:"未配置当前城市的地址匹配服务。",msg_getFeatureField:"未查找到相关矢量要素!",msg_dataflowservicesubscribed:"已订阅该数据流服务。",msg_subscribesucceeded:"数据流服务订阅成功。",msg_crsunsupport:"不支持当前地图的坐标系",msg_tilematrixsetunsupport:"不支持传入的TileMatrixSet",msg_jsonResolveFiled:"json格式解析失败!",msg_requestContentFiled:"通过iportal请求数据失败!",msg_getdatafailed:"获取数据失败!"},code:null,defaultCode:"en-US",getCode:function(){return Ok.code||Ok.setCode(),Ok.code},setCode:function(){var e=this.getLanguageFromCookie();e||(e=Ok.defaultCode,e="Netscape"===navigator.appName?navigator.language:navigator.browserLanguage),0===(e=0===e.indexOf("zh")?"zh-CN":e).indexOf("en")&&(e="en-US"),Ok.code=e},getLanguageFromCookie:function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){for(var n=e[t];" "===n.charAt(0);)n=n.substring(1);if(-1!==n.indexOf("language="))return n.substring("language=".length,n.length)}return""},i18n:function(e){var t=Ok[Ok.getCode()];return t&&t[e]||e}},Ek=function(){try{return XLSX}catch(e){return{}}}(),Mk={rABS:"undefined"!=typeof FileReader&&FileReader.prototype&&FileReader.prototype.readAsBinaryString,rABF:"undefined"!=typeof FileReader&&FileReader.prototype&&FileReader.prototype.readAsArrayBuffer,rAT:"undefined"!=typeof FileReader&&FileReader.prototype&&FileReader.prototype.readAsText,readFile:function(e,t,n,r,i){"JSON"===e||"GEOJSON"===e?this.readTextFile(t,n,r,i):"EXCEL"!==e&&"CSV"!==e||this.readXLSXFile(t,n,r,i)},readTextFile:function(e,t,n,r){var i=new FileReader;i.onloadend=function(e){t&&t.call(r,e.target.result)},i.onerror=function(e){n&&n.call(r,e)},this.rAT?i.readAsText(e.file,"utf-8"):i.readAsBinaryString(e.file)},readXLSXFile:function(e,i,o,a){var t=new FileReader;t.onloadend=function(e){var t,n,r=new Uint8Array(e.target.result),r=Ek.read(r,{type:"array"});try{r&&r.SheetNames&&0<r.SheetNames.length&&(t=r.SheetNames[0],n=Ek.utils.sheet_to_csv(r.Sheets[t]),i)&&i.call(a,n)}catch(e){o&&o.call(a,e)}},t.onerror=function(e){o&&o.call(a,e)},this.rABF&&t.readAsArrayBuffer(e.file)},processDataToGeoJson:function(e,t,n,r,i){var o=null;"EXCEL"===e||"CSV"===e?(o=this.processExcelDataToGeoJson(t),n&&n.call(i,o)):"JSON"===e||"GEOJSON"===e?("ISERVER"===(e="string"==typeof(e=t)?JSON.parse(e):e).type?o=e.data.recordsets[0].features:"FeatureCollection"===e.type?o=e:r&&r.call(i,Ok.i18n("msg_dataInWrongGeoJSONFormat")),n&&n.call(i,o)):r&&r.call(i,Ok.i18n("msg_dataInWrongFormat"))},processExcelDataToGeoJson:function(e){for(var t=this.string2Csv(e),n=t.colTitles,r=-1,i=-1,o=0,a=n.length;o<a;o++)this.isXField(n[o])&&(r=o),this.isYField(n[o])&&(i=o);for(var s=[],l=0,u=t.rows.length;l<u;l++){var c,f=t.rows[l],h=Number(f[r]),f=Number(f[i]),d={};for(c in t.colTitles)d[t.colTitles[c]]=t.rows[l][c];s.push({type:"Feature",geometry:{type:"Point",coordinates:[h,f]},properties:d})}return s},isXField:function(e){e=e.toLowerCase();return"x"===e||"smx"===e||"jd"===e||"经度"===e||"东经"===e||"longitude"===e||"lot"===e||"lon"===e||"lng"===e||"x坐标"===e},isYField:function(e){e=e.toLowerCase();return"y"===e||"smy"===e||"wd"===e||"纬度"===e||"北纬"===e||"latitude"===e||"lat"===e||"y坐标"===e},string2Csv:function(e,t){var n=e.split("\n"),r={};r.colTitles=t?[]:n[0].split(","),r.rows=[];for(var i=t?0:1;i<n.length;i++)n[i]&&r.rows.push(n[i].split(","));return r}};function Pk(){if(!(this instanceof Pk))throw new TypeError("Cannot call a class as a function");this._initView()}function kk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}kk((Sk=Ik).prototype,[{key:"getDatasetInfo",value:function(n){var e=this.datasets.url,r=this;d.get(e).then(function(e){return e.json()}).then(function(e){var t;e.datasetInfo&&(t=e.datasetInfo,r.datasetsInfo={dataSourceName:t.dataSourceName,datasetName:t.name,mapName:e.name},n({result:r.datasetsInfo}))}).catch(function(e){console.log(e),r._fireFailedEvent(e)})}},{key:"getDataFeatures",value:function(e,t){var e=e.result,n={name:e.datasetName+"@"+e.dataSourceName};Object.assign(n,this.datasets.queryInfo),n=new c0(n),n=new j0({queryParameter:n,datasetNames:[e.dataSourceName+":"+e.datasetName],fromIndex:0,toIndex:1e5}),new F0(e.dataUrl,{eventListeners:{processCompleted:t,processFailed:function(){}}}).processAsync(n)}},{key:"getLayerFeatures",value:function(e,t){var e=e.result,n={name:e.mapName};Object.assign(n,this.datasets.queryInfo),n=new c0(n),n=new I_({queryParams:[n],expectCount:1e5}),new N_(e.dataUrl,{eventListeners:{processCompleted:t,processFailed:function(){}}}).processAsync(n)}},{key:"getDataInfoByIptl",value:function(e){this.getServiceInfo(this.datasets.url,e)}},{key:"getServiceInfo",value:function(n,r){var i=this;d.get(n,null,{withCredentials:this.datasets.withCredentials}).then(function(e){return e.json()}).then(function(e){var t;!1!==e.succeed?e.dataItemServices&&0<e.dataItemServices.length?(e.dataItemServices.forEach(function(e){!("RESTDATA"===e.serviceType&&"PUBLISHED"===e.serviceStatus||"RESTMAP"===e.serviceType&&"PUBLISHED"===e.serviceStatus)?i.getDatafromContent(n,r):t=e}),t&&i.getDatafromRest(t.serviceType,t.address,r)):i.getDatafromContent(n,r):i._fireFailedEvent(e)}).catch(function(e){console.log(e),i._fireFailedEvent(e)})}},{key:"getDatafromContent",value:function(e,n){var r=this,i={result:{}},o=this;d.get(e+="/content.json?pageSize=9999999¤tPage=1",null,{withCredentials:this.datasets.withCredentials}).then(function(e){return e.json()}).then(function(e){if(!1!==e.succeed){if(e.type){if("JSON"===e.type||"GEOJSON"===e.type){if(e.content=JSON.parse(e.content.trim()),!e.content.features)return void console.log(Ok.i18n("msg_jsonResolveFiled"));var t=r._formatGeoJSON(e.content);i.result.features={type:e.content.type,features:t}}else"EXCEL"!==e.type&&"CSV"!==e.type||(t=r._excelData2Feature(e.content),i.result.features={type:"FeatureCollection",features:t});n(i,"content")}}else o._fireFailedEvent(e)},this).catch(function(e){console.log(e),o._fireFailedEvent(e)})}},{key:"getDatafromRest",value:function(e,t,n){var r,i,o,a,s,l,u,c=this,f=this.datasets.withCredentials;"RESTDATA"===e?(o="".concat(t,"/data/datasources"),d.get(o,null,{withCredentials:f}).then(function(e){return e.json()}).then(function(e){r=e.datasourceNames[0],o="".concat(t,"/data/datasources/").concat(r,"/datasets"),d.get(o,null,{withCredentials:f}).then(function(e){return e.json()}).then(function(e){return i=e.datasetNames[0],c.getDatafromRestData("".concat(t,"/data"),[r+":"+i],n),[r+":"+i]}).catch(function(e){c._fireFailedEvent(e)})}).catch(function(e){c._fireFailedEvent(e)})):(u="".concat(t,"/maps"),d.get(u,null,{withCredentials:f}).then(function(e){return e.json()}).then(function(e){a=e[0].name,l=e[0].path,u="".concat(t,"/maps/").concat(a,"/layers"),d.get(u,null,{withCredentials:f}).then(function(e){return e.json()}).then(function(e){return s=e[0].subLayers.layers[0].caption,c.getDatafromRestMap(s,l,n),s}).catch(function(e){c._fireFailedEvent(e)})}).catch(function(e){c._fireFailedEvent(e)}))}},{key:"getDatafromRestData",value:function(e,t,n){var r=this;this.datasets.queryInfo.attributeFilter=this.datasets.queryInfo.attributeFilter||"SmID>0",this._getFeatureBySQL(e,t,this.datasets.queryInfo,function(e){n(e,"RESTDATA")},function(e){console.log(e),r._fireFailedEvent(e)})}},{key:"getDatafromRestMap",value:function(e,t,n){var r=this;this.datasets.queryInfo.attributeFilter=this.datasets.queryInfo.attributeFilter||"smid=1",this._queryFeatureBySQL(t,e,this.datasets.queryInfo,null,null,function(e){n(e,"RESTMAP")},function(e){console.log(e),r._fireFailedEvent(e)})}},{key:"_getFeatureBySQL",value:function(e,t,n,r,i){var o={name:t.join().replace(":","@")};Object.assign(o,n),n=new c0(o),o=new j0({queryParameter:n,datasetNames:t,fromIndex:0,toIndex:1e5,returnContent:!0}),new F0(e,{eventListeners:{processCompleted:function(e){r&&r(e)},processFailed:function(e){i&&i(e)}}}).processAsync(o)}},{key:"_queryFeatureBySQL",value:function(e,t,n,r,i,o,a,s,l,u){t={name:t},Object.assign(t,n),n=new c0(t),r&&(n.fields=r),t={queryParams:[n]};u&&(t.queryOption=Dt.ATTRIBUTE),s&&(t.startRecord=s),l&&(t.expectCount=l),i&&(t.prjCoordSys={epsgCode:i}),r=new I_(t),this._queryBySQL(e,r,function(e){("processCompleted"===e.type?o:a)(e)})}},{key:"_queryBySQL",value:function(e,t,n,r){new N_(e,{eventListeners:{scope:this,processCompleted:n,processFailed:n},format:this._processFormat(r)}).processAsync(t)}},{key:"_processFormat",value:function(e){return e||a.GEOJSON}},{key:"_formatGeoJSON",value:function(e){e=e.features;return e.forEach(function(e,t){e.properties.index=t}),e}},{key:"_excelData2Feature",value:function(e){for(var t=e.colTitles,n=-1,r=-1,i=0,o=t.length;i<o;i++)Mk.isXField(t[i])&&(n=i),Mk.isYField(t[i])&&(r=i);for(var a=[],s=0,l=e.rows.length;s<l;s++){var u,c=e.rows[s],f=Number(c[n]),c=Number(c[r]),h={};for(u in e.colTitles)h[e.colTitles[u]]=e.rows[s][u];h.index=s+"",a.push({type:"Feature",geometry:{type:"Point",coordinates:[f,c]},properties:h})}return a}},{key:"_fireFailedEvent",value:function(e){e=e?{error:e,message:Ok.i18n("msg_getdatafailed")}:{message:Ok.i18n("msg_getdatafailed")};this.events.triggerEvent("getdatafailed",e)}}]),Object.defineProperty(Sk,"prototype",{writable:!1});var Tk=Ik;function Ik(e){if(!(this instanceof Ik))throw new TypeError("Cannot call a class as a function");this.datasets=e,this.EVENT_TYPES=["getdatafailed"],this.events=new Xr(this,null,this.EVENT_TYPES)}function Lk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}jk((Sk=Bk).prototype,[{key:"_initXYField",value:function(e){var t=this;e&&0<e.length&&e.forEach(function(e){e.xAxis&&t.xField.push({field:e.xAxis.field,name:e.xAxis.name}),e.yAxis&&t.yField.push({field:e.yAxis.field,name:e.yAxis.name})})}},{key:"getDatasetInfo",value:function(e){var t=this;this.createChart=e,this.datasets&&this._checkUrl(this.datasets.url)&&(this.chartModel=new Tk(this.datasets),"iServer"===this.datasets.type?this.chartModel.getDatasetInfo(this._getDatasetInfoSuccess.bind(this)):"iPortal"===this.datasets.type&&this.chartModel.getDataInfoByIptl(this._getDataInfoSuccess.bind(this)),this.chartModel.events.on({getdatafailed:function(e){t.events.triggerEvent("getdatafailed",e)}}))}},{key:"_getDatasetInfoSuccess",value:function(e){var t,n,r,i,o=this.datasets.url,a=o.indexOf("rest");0<a&&(r=o.indexOf("/",a+5),t=o.substring(a+5,r),i=o.substring(0,a+4)+"/data","maps"===t?(n=o.indexOf("/",r+1),r=o.substring(r+1,n),i=o.substring(0,a+4)+"/maps/"+r,e.result.dataUrl=i,this._getLayerFeatures(e)):"data"===t&&(e.result.dataUrl=i,this._getDataFeatures(e)))}},{key:"_getDataInfoSuccess",value:function(e,t){"RESTMAP"===t?this._getChartDatasFromLayer(e):this._getChartDatas(e)}},{key:"_getDataFeatures",value:function(e){this.chartModel.getDataFeatures(e,this._getChartDatas.bind(this))}},{key:"_getLayerFeatures",value:function(e){this.chartModel.getLayerFeatures(e,this._getChartDatasFromLayer.bind(this))}},{key:"_getChartDatas",value:function(e){if(e){this.features=e.result.features;var t=this.features.features,n={};if(t.length){var r,i,o=t[0],a=[],s=[];for(r in o.properties)a.push(r),s.push(this._getDataType(o.properties[r]));for(i in n={features:t,fieldCaptions:a,fieldTypes:s,fieldValues:[]},s){var l,u=[];for(l in t){var c=t[l],f=n.fieldCaptions[i],c=c.properties[f];u.push(c)}n.fieldValues.push(u)}this.createChart(n)}}}},{key:"_getChartDatasFromLayer",value:function(e){if(e.result.recordsets){var e=e.result.recordsets[0],t=e.features.features,n=(this.features=e.features,{});if(t.length){for(var r in(n={features:e.features,fieldCaptions:e.fieldCaptions,fieldTypes:e.fieldTypes,fieldValues:[]}).fieldCaptions){var i,o=[];for(i in t){var a=t[i],s=n.fieldCaptions[r],a=a.properties[s];o.push(a)}n.fieldValues.push(o)}this.createChart(n)}}}},{key:"_createChartOptions",value:function(e){return this.calculatedData=this._createChartDatas(e),this.updateChartOptions(this.chartType)}},{key:"changeType",value:function(e){if(e!==this.chartType)return this.chartType=e,this.updateChartOptions(this.chartType)}},{key:"updateData",value:function(e,t,n){this.updateChart=n,this.xField=[],this.yField=[],this._initXYField(t),e.type=e.type||"iServer",e.withCredentials=e.withCredentials||!1,this.datasets=e,this.getDatasetInfo(this._updateDataSuccess.bind(this))}},{key:"_updateDataSuccess",value:function(e){e=this._createChartOptions(e);this.updateChart(e)}},{key:"updateChartOptions",value:function(e,t){if(this.calculatedData){var n,r=this.grid,e=this._createChartSeries(this.calculatedData,e),i=[];for(n in this.calculatedData.XData)i.push({value:this.calculatedData.XData[n].fieldsData});var o={type:"category",name:this.xField[0].name||"X",data:i,nameTextStyle:{color:"#fff",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#eee"}}},a={type:"value",name:this.yFieldName||"Y",data:{},nameTextStyle:{color:"#fff",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#eee"}}},s={formatter:"{b0}: {c0}"},l="#404a59";return{backgroundColor:l=t&&(t.grid&&(r=t.grid),t.tooltip&&(s=t.tooltip),t.backgroundColor)?t.backgroundColor:l,grid:r,series:e,xAxis:o,yAxis:a,tooltip:s}}}},{key:"_createChartDatas",value:function(r){var n=0,i=[],t=r.fieldCaptions,o=this,e=(t.forEach(function(e,t){o.xField[0]&&e===o.xField[0].field&&(n=t)}),this.yFieldName="",this.yField.forEach(function(n,e){0!==e&&(o.yFieldName=o.yFieldName+","),o.yFieldName=o.yFieldName+n.name,t.forEach(function(e,t){e===n.field&&i.push(t)})}),this._getAttrData(r,n)),a=[];if(0<i.length)i.forEach(function(e){var t,n=[];for(t in r.fieldValues[e])n.push({value:r.fieldValues[e][t]});a.push(n)});else{for(var s=[],l=[],u=e.length,c=0;c<u;c++){for(var f=!1,h=0,d=l.length;h<d;h++)if(e[c].fieldsData===l[h].fieldsData){s[h].value++,l[h].recordIndexs.push(c),f=!0;break}f||e[c].fieldsData&&(l.push({fieldsData:e[c].fieldsData,recordIndexs:[c]}),s.push({value:1}))}e=l,a=[s]}return{XData:e,YData:a}}},{key:"_getAttrData",value:function(e,t){0===t&&(this.xField=[{field:e.fieldCaptions[t],name:e.fieldCaptions[t]}]);for(var n=[],r=0,i=e.fieldValues[t].length;r<i;r++){var o=e.fieldValues[t][r];n.push({recordIndexs:r,fieldsData:o})}return n}},{key:"_createChartSeries",value:function(e,o){var a=[];return e.YData.forEach(function(e){var t,n,r=[],i=function(e,t){var n,r,i,o,a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(a)return i=!(r=!0),{s:function(){a=a.call(e)},n:function(){var e=a.next();return r=e.done,e},e:function(e){i=!0,n=e},f:function(){try{r||null==a.return||a.return()}finally{if(i)throw n}}};if(Array.isArray(e)||(a=function(e){var t;if(e)return"string"==typeof e?Lk(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Lk(e,void 0):void 0}(e))||t&&e&&"number"==typeof e.length)return a&&(e=a),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);try{for(i.s();!(t=i.n()).done;)n=t.value.value,r.push({value:n})}catch(e){i.e(e)}finally{i.f()}a.push({type:o,data:r,name:"y"})}),a}},{key:"_isDate",value:function(e){return/((^((1[8-9]\d{2})|([2-9]\d{3}))([-\/\._])(10|12|0?[13578])([-\/\._])(3[01]|[12][0-9]|0?[1-9])$)|(^((1[8-9]\d{2})|([2-9]\d{3}))([-\/\._])(11|0?[469])([-\/\._])(30|[12][0-9]|0?[1-9])$)|(^((1[8-9]\d{2})|([2-9]\d{3}))([-\/\._])(0?2)([-\/\._])(2[0-8]|1[0-9]|0?[1-9])$)|(^([2468][048]00)([-\/\._])(0?2)([-\/\._])(29)$)|(^([3579][26]00)([-\/\._])(0?2)([-\/\._])(29)$)|(^([1][89][0][48])([-\/\._])(0?2)([-\/\._])(29)$)|(^([2-9][0-9][0][48])([-\/\._])(0?2)([-\/\._])(29)$)|(^([1][89][2468][048])([-\/\._])(0?2)([-\/\._])(29)$)|(^([2-9][0-9][2468][048])([-\/\._])(0?2)([-\/\._])(29)$)|(^([1][89][13579][26])([-\/\._])(0?2)([-\/\._])(29)$)|(^([2-9][0-9][13579][26])([-\/\._])(0?2)([-\/\._])(29)$))/gi.test(e)}},{key:"_isNumber",value:function(e){e=Number(e);return 0===e||!isNaN(e)}},{key:"_getDataType",value:function(e){if(null!=e&&""!==e){if(this._isDate(e))return"DATE";if(this._isNumber(e))return"NUMBER"}return"STRING"}},{key:"_checkUrl",value:function(e){return!(""===e||!this._isMatchUrl(e)||/^http[s]?:\/\/localhost/.test(e)||/^http[s]?:\/\/127.0.0.1/.test(e))}},{key:"_isMatchUrl",value:function(e){return new RegExp("(https?|http|file|ftp)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]").test(e)}},{key:"getStyle",value:function(){return{grid:this.grid,tooltip:this.tooltip,backgroundColor:this.backgroundColor}}},{key:"getFeatures",value:function(){return this.features}},{key:"setStyle",value:function(e){return this.updateChartOptions(this.chartType,e)}}]),Object.defineProperty(Sk,"prototype",{writable:!1});var Dk=Bk;function Bk(e){if(!(this instanceof Bk))throw new TypeError("Cannot call a class as a function");this.datasets=e.datasets,this.xField=[],this.yField=[],this.grid={top:"50px",bottom:"50px",left:"50px",right:"60px"},this.chartType=e.type||"bar",this._initXYField(e.chartOptions),this.EVENT_TYPES=["getdatafailed"],this.events=new Xr(this,null,this.EVENT_TYPES)}function Rk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Rk((Sk=Nk).prototype,[{key:"onAdd",value:function(e){this.addChart=e}},{key:"_fillDataToView",value:function(){var t=new Ak;this.viewModel.getDatasetInfo(this._createChart.bind(this)),this.viewModel.events.on({getdatafailed:function(e){t.showView(e.message)}})}},{key:"getStyle",value:function(){return this.viewModel.getStyle()}},{key:"getFeatures",value:function(){return this.viewModel.getFeatures()}},{key:"setStyle",value:function(e){e=this.viewModel.setStyle(e);this._updateChart(e)}},{key:"changeType",value:function(e){this.chartType!==e&&(this.chartType=e,e=this.viewModel.changeType(e),this._updateChart(e))}},{key:"updateData",value:function(e,t){var n=this;this.viewModel.updateData(e,t,function(e){n._updateChart(e),n.addChart&&n.addChart()})}},{key:"_createChart",value:function(e){this.echart=Ck().init(document.getElementById(this.domID),null,{renderer:"canvas"});e=this.viewModel._createChartOptions(e);this.echart.setOption(e),this.addChart&&this.addChart()}},{key:"_updateChart",value:function(e){this.echart&&(this.echart.clear(),this.echart.setOption(e))}}]),Object.defineProperty(Sk,"prototype",{writable:!1});Sk=Nk;function Nk(e,t){if(!(this instanceof Nk))throw new TypeError("Cannot call a class as a function");this.domID=e,this.chartType=t.type||"bar",t.datasets.type=t.datasets.type||"iServer",t.datasets.withCredentials=t.datasets.withCredentials||!1,this.viewModel=new Dk(t),this._fillDataToView()}function zk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}zk((Qk=Vk).prototype,[{key:"getElement",value:function(){return this.id&&(this.rootContainer.id=this.id),this.rootContainer}},{key:"_initView",value:function(){}},{key:"showView",value:function(){this.rootContainer.hidden=!1}},{key:"closeView",value:function(){this.rootContainer.hidden=!0}}]),Object.defineProperty(Qk,"prototype",{writable:!1});var Fk=Vk;function Vk(e){if(!(this instanceof Vk))throw new TypeError("Cannot call a class as a function");this.id=(e=e||{}).id||null,this.rootContainer=null}function Hk(e){return(Hk="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})(e)}function Yk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gk(e,t){return(Gk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Uk(e){return(Uk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Qk=function(){var e=o,t=Fk;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Gk(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Uk(n),t=(e=r?(e=Uk(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Hk(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return t=i.call(this,e),e=e.title||"",t._initView(e),t;throw new TypeError("Cannot call a class as a function")}return Yk((e=o).prototype,[{key:"_initView",value:function(e){var t=document.createElement("div"),n=(t.setAttribute("class","component-container"),document.createElement("div")),r=(n.setAttribute("class","component-title"),document.createElement("div")),e=(r.innerHTML=e,n.appendChild(r),t.appendChild(n),document.createElement("div"));return e.setAttribute("class","component-content"),t.appendChild(e),this.content=e,this.rootContainer=t}},{key:"getContentElement",value:function(){return this.content}},{key:"appendContent",value:function(e){this.content.appendChild(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function Wk(e){return(Wk="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})(e)}function qk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kk(e,t){return(Kk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Xk(e){return(Xk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Jk=function(){var e=o,t=Fk;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),Kk(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=Xk(n),t=(e=r?(e=Xk(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==Wk(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return(t=i.call(this,e))._initView(e),t;throw new TypeError("Cannot call a class as a function")}return qk((e=o).prototype,[{key:"_initView",value:function(e){var t=this._createElement("div","component-selecttool"),n=(e.labelName&&(this._createElement("label","component-selecttool__lable--describe",t).innerHTML=e.labelName),this._createElement("div","component-selecttool--chart",t)),r=(n.setAttribute("tabindex","1"),this._createElement("div","component-selecttool__name",n)),i=(r.title=e.optionsArr[0],r.innerHTML=e.optionsArr[0],this._createElement("div","component-selecttool__trianglebtn--chart",n)),i=this._createElement("div","component-triangle-down-img",i),o=this._createElement("div","component-selecttool__content",n),a=this._createElement("div","component-selecttool__content--chart",o),a=this._createElement("div","component-selecttool__scrollarea__content",a);a.setAttribute("tabindex","1"),this.createOptions(a,e.optionsArr),this.optionClickEvent(a,r,e.optionsClickCb),this._selectClickEvent(n,o,i),this.rootContainer=t}},{key:"createOptions",value:function(e,t){for(var n in t){var r=this._createElement("div","component-selecttool__option",e);r.title=t[n],r.innerHTML=t[n]}}},{key:"_selectClickEvent",value:function(e,t,n){e.onclick=function(e){"block"===t.style.display?(t.style.display="none",n.className="component-triangle-down-img"):(t.style.display="block",n.className="triangle-up-img"),e.preventDefault(),e.stopPropagation()},e.onmousedown=function(e){e.target!==this&&(this.focus(),e.preventDefault(),e.stopPropagation())},e.onblur=function(){t.style.display="none",n.className="component-triangle-down-img"}}},{key:"_createElement",value:function(e,t,n){e=document.createElement(e||"div");return t&&(e.className=t),n&&n.appendChild(e),e}},{key:"optionClickEvent",value:function(t,n,r){for(var i=0;i<t.children.length;i++)!function(){var e=t.children[i];e.onclick=function(){n.innerHTML=e.innerHTML,n.title=e.title,e.getAttribute("data-value")&&n.setAttribute("data-value",e.getAttribute("data-value")),r&&r(e)}}()}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function $k(e){return($k="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})(e)}function Zk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eT(e,t){return(eT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tT(e){return(tT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var nT=function(){var e=o,t=Fk;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),eT(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=tT(n),t=(e=r?(e=tT(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==$k(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return(t=i.call(this,e))._initView(e),t;throw new TypeError("Cannot call a class as a function")}return Zk((e=o).prototype,[{key:"_initView",value:function(e){var t=document.createElement("div"),n=(t.className="component-dropdownbox--container",document.createElement("div")),r=(n.setAttribute("tabindex","1"),n.className="component-dropdownbox",t.appendChild(n),document.createElement("div")),i=(n.appendChild(r),this._createDropDownOption(e[0],r),document.createElement("div")),o=(i.className="component-dropdownbox__triangle-btn",n.appendChild(i),document.createElement("div"));o.className="component-triangle-down-img",i.appendChild(o),this._createDropDownBox({parentEle:n,dropDownContent:["component-dropdownbox__content component-dropdownbox__content--chart","dropDownContent"],scrollareaContent:"component-selecttool__scrollarea__content",optionsArr:e,triangleBtn:o,dropDownTopContainer:r}),this.rootContainer=t}},{key:"_createDropDownBox",value:function(e){var t=e.parentEle,n=e.dropDownTopContainer,r=document.createElement("div"),i=(r.className=e.dropDownContent[0],t.appendChild(r),document.createElement("div"));i.className=e.scrollareaContent,r.appendChild(i);for(var o=e.optionsArr,a=0;a<o.length;a++)this._createDropDownOption(o[a],i);e=e.triangleBtn;this._dropDownClickEvent(t,r,e),this._eleOnblur(t,r,e);for(var s=i.children,l=0;l<s.length;l++)!function(e){s[e].onclick=function(){n.innerHTML=s[e].outerHTML}}(l)}},{key:"_createDropDownOption",value:function(e,t){var n=document.createElement("div"),t=(n.className="component-dropdownbox__item",e.dataValue&&n.setAttribute("data-value",e.dataValue),t.appendChild(n),document.createElement("div")),r=(t.className="component-dropdownbox__item__img",n.appendChild(t),document.createElement("div")),t=(e.icon.className&&(r.className=e.icon.className),e.icon.background&&(r.style.background=e.icon.background),t.appendChild(r),document.createElement("div")),r=(t.className="component-dropdownbox__item__title",t.title=e.title,t.innerHTML=e.title,n.appendChild(t),document.createElement("div"));r.className="component-dropdownbox__item__remark",r.title=e.remark,r.innerHTML=e.remark,n.appendChild(r)}},{key:"_dropDownClickEvent",value:function(e,t,n){e.onclick=function(e){"block"===t.style.display?(t.style.display="none",n.className="component-triangle-down-img"):(t.style.display="block",n.className="triangle-up-img"),e.preventDefault(),e.stopPropagation()},e.onmousedown=function(e){e.target!==this&&(this.focus(),e.preventDefault(),e.stopPropagation())}}},{key:"_eleOnblur",value:function(e,t,n){e.onblur=function(){t.style.display="none",n.className="component-triangle-down-img"}}},{key:"_createElement",value:function(e,t,n){e=document.createElement(e||"div");return t&&(e.className=t),n&&n.appendChild(e),e}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function rT(e){return(rT="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})(e)}function iT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oT(e,t){return(oT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function aT(e){return(aT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var sT=function(){var e=o,t=Fk;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),oT(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=aT(n),t=(e=r?(e=aT(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==rT(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return t=i.call(this,e=e||{}),e.title=e.title||"",t._initView(e.title),t;throw new TypeError("Cannot call a class as a function")}return iT((e=o).prototype,[{key:"_initView",value:function(e){var t=document.createElement("div"),n=(t.setAttribute("class","component-popcontainer"),document.createElement("div")),r=(n.setAttribute("class","component-popcontainer__header"),document.createElement("label")),e=(r.setAttribute("class","component-popcontainer__header__title"),r.innerHTML=e,n.appendChild(r),document.createElement("span")),r=(e.setAttribute("class","supermapol-icons-clear component-popcontainer__header__close"),e.onclick=this.closeView.bind(this),t.appendChild(e),t.appendChild(n),document.createElement("div"));r.setAttribute("class","component-popcontainer__content"),this.content=r,t.appendChild(r),this.rootContainer=t}},{key:"appendContent",value:function(e){this.content.appendChild(e)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function lT(e){return(lT="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})(e)}function uT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cT(e,t){return(cT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function fT(e){return(fT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var hT=function(){var e=o,t=sT;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cT(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=fT(n),t=(e=r?(e=fT(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==lT(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return e.title=e.title||"属性",(t=i.call(this,e)).rootContainer.firstChild.hidden=!0,e.attributes=e.attributes||[],t._createAttributesTable(e.attributes),t;throw new TypeError("Cannot call a class as a function")}return uT((e=o).prototype,[{key:"_createAttributesTable",value:function(e){var t,n=document.createElement("table"),r=(n.setAttribute("class","component-popcontainer__content__table"),document.createElement("tbody")),i=!0;for(t in e){var o=document.createElement("tr"),a=(i&&o.setAttribute("class","component-popcontainer__content__td--color"),document.createElement("td")),s=document.createElement("Span"),s=(s.innerHTML=t,a.appendChild(s),document.createElement("td"));s.innerHTML=e[t],o.appendChild(a),o.appendChild(s),r.appendChild(o),i=!i}n.appendChild(r),this.appendContent(n)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function dT(e){return(dT="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})(e)}function pT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yT(e,t){return(yT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function mT(e){return(mT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var gT=function(){var e=o,t=Fk;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),yT(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=mT(n),t=(e=r?(e=mT(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==dT(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){if(this instanceof o)return(e=i.call(this,e))._initView(),e;throw new TypeError("Cannot call a class as a function")}return pT((e=o).prototype,[{key:"_initView",value:function(){var e=document.createElement("div"),t=(e.setAttribute("class","component-tabpage"),document.createElement("ul")),n=(this.header=t,document.createElement("div"));n.setAttribute("class","component-tabpage__content"),this.content=n,e.appendChild(t),e.appendChild(n),this.rootContainer=e}},{key:"setTabs",value:function(e){this.removeAllTabs(),this.appendTabs(e)}},{key:"appendTabs",value:function(e){for(var t=0;t<e.length;t++){var n=document.createElement("span"),r=(n.index=t,n.appendChild(document.createTextNode(e[t].title)),n.onclick=this._changeTabsPage.bind(this),e[t].content);r.index=t,r.hidden=!0,this.header.appendChild(n),this.content.appendChild(r)}this.header.firstChild.setAttribute("class","on"),this.content.firstChild.hidden=!1}},{key:"removeTab",value:function(e){this.header.removeChild(this.header.children[e]),this.content.removeChild(this.content.children[e])}},{key:"removeAllTabs",value:function(){for(var e=this.header.children.length;0<e;e--)this.header.removeChild(this.header.children[e]),this.content.removeChild(this.content.children[e])}},{key:"_changeTabsPage",value:function(e){for(var t=e.target.index,n=0;n<this.header.children.length;n++)this.header.children[n].setAttribute("class",""),this.content.children[n].hidden=!0,n===t&&(this.header.children[n].setAttribute("class","on"),this.content.children[n].hidden=!1)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function vT(e){return(vT="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})(e)}function bT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _T(e,t){return(_T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function xT(e){return(xT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var wT=function(){var e=o,t=gT;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_T(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=xT(n),t=(e=r?(e=xT(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==vT(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var n;if(this instanceof o)return(n=i.call(this,e)).rootContainer.classList.add("component-citytabpage--noneBoxShadow"),n.config=e.config,D.isArray(n.config)?(n.header.hidden=!0,n._createCityItem("城市",n.config),n.content.style.border="none"):(n._createTabs(),n.header.onclick=function(e){for(var t=0;t<n.header.children.length;t++)n.header.children[t].setAttribute("class","");e.target.setAttribute("class","on"),n._createCityContent(e.target.innerHTML)}),n;throw new TypeError("Cannot call a class as a function")}return bT((e=o).prototype,[{key:"_createTabs",value:function(){if(D.isArray(this.config))for(var e=0;e<this.config.length;e++){var t,n="";for(t in this.config[e])n+=t;var r=document.createElement("li");r.innerHTML=n,this.header.appendChild(r)}else for(var i in this.config){var o=document.createElement("li");o.innerHTML=i,this.header.appendChild(o)}this.header.firstChild.setAttribute("class","on"),this._createCityContent(this.header.firstChild.innerHTML)}},{key:"_createCityContent",value:function(e){for(var t=this.content.children.length;0<t;t--)this.content.removeChild(this.content.children[t-1]);var n,r=this.config[e];for(n in r)this._createCityItem(n,r[n])}},{key:"_createCityItem",value:function(e,t){var n=document.createElement("div"),r=document.createElement("div"),i=(r.setAttribute("class","component-citytabpag__py-key"),r.innerHTML=e,n.appendChild(r),document.createElement("div"));i.setAttribute("class","component-citytabpag__content");for(var o=0;o<t.length;o++){var a=document.createElement("span");a.innerHTML=t[o],i.appendChild(a)}"HOT"===e&&(i.style.width="428px"),n.appendChild(i),this.content.appendChild(n)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function AT(e){return(AT="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})(e)}function ST(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function CT(e,t){return(CT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function OT(e){return(OT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ET=function(){var e=o,t=Fk;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),CT(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=OT(n),t=(e=r?(e=OT(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==AT(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return(t=i.call(this,e)).navTabsTitle=null,t.navTabsContent=null,e.tabs=e.tabs||[],t._initView(e.tabs),t;throw new TypeError("Cannot call a class as a function")}return ST((e=o).prototype,[{key:"_initView",value:function(e){var t=document.createElement("div"),n=(t.setAttribute("class","component-navtabspage"),document.createElement("span")),n=(n.setAttribute("class","supermapol-icons-close"),n.onclick=this.closeView.bind(this),t.appendChild(n),document.createElement("div")),n=((this.navTabsTitle=n).setAttribute("class","component-navtabspage__title"),t.appendChild(n),document.createElement("div"));(this.navTabsContent=n).setAttribute("class","component-navtabspage__content"),t.appendChild(n),0<e.length&&this.appendTabs(e),this.rootContainer=t}},{key:"setTabs",value:function(e){this.removeAllTabs(),this.appendTabs(e)}},{key:"appendTabs",value:function(e){for(var t=0;t<e.length;t++){var n=document.createElement("span"),r=(n.index=t,n.appendChild(document.createTextNode(e[t].title)),n.onclick=this._changeTabsPage.bind(this),e[t].content);r.index=t,r.hidden=!0,this.navTabsTitle.appendChild(n),this.navTabsContent.appendChild(r)}this.navTabsTitle.firstChild.setAttribute("class","component-navtabspage__tabs--select"),this.navTabsContent.firstChild.hidden=!1}},{key:"removeTab",value:function(e){this.navTabsTitle.removeChild(this.navTabsTitle.children[e]),this.navTabsContent.removeChild(this.navTabsContent.children[e])}},{key:"removeAllTabs",value:function(){for(var e=this.navTabsTitle.children.length;0<e;e--)this.navTabsTitle.removeChild(this.navTabsTitle.children[e]),this.navTabsContent.removeChild(this.navTabsContent.children[e])}},{key:"_changeTabsPage",value:function(e){for(var t=e.target.index,n=0;n<this.navTabsTitle.children.length;n++)this.navTabsTitle.children[n].setAttribute("class",""),this.navTabsContent.children[n].hidden=!0,n===t&&(this.navTabsTitle.children[n].setAttribute("class","component-navtabspage__tabs--select"),this.navTabsContent.children[n].hidden=!1)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function MT(e){return(MT="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})(e)}function PT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kT(e,t){return(kT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function TT(e){return(TT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var IT=function(){var e=o,t=Fk;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),kT(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=TT(n),t=(e=r?(e=TT(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==MT(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e){var t;if(this instanceof o)return(t=i.call(this,e=e||{})).currentPage=0,t.pageNumberLis=[],t.currentPageNumberLis=[],t.linkageEvent=null,e.contents=e.contents||null,e.pageCounts=e.pageCounts||0,t._initView(e.contents,e.pageCounts),t;throw new TypeError("Cannot call a class as a function")}return PT((e=o).prototype,[{key:"setLinkageEvent",value:function(e){this.linkageEvent=e}},{key:"_initView",value:function(e,t){var n=document.createElement("div"),r=(n.setAttribute("class","component-pagination"),document.createElement("div")),r=(r.setAttribute("class","component-pagination__content"),n.appendChild(r),this.content=r,document.createElement("ul"));r.setAttribute("class","component-pagination__link"),r.onclick=this._changePageEvent.bind(this),n.appendChild(r),this._createLink(r),this.link=r,e&&this.setContent(e),0!==t&&this.setPageLink(t),this.rootContainer=n}},{key:"setContent",value:function(e){this.clearContent(),this.appendContent(e)}},{key:"appendContent",value:function(e){this.content.appendChild(e)}},{key:"clearContent",value:function(){for(var e=this.content.children.length-1;0<=e;e--)this.content.removeChild(this.content.children[e])}},{key:"setPageLink",value:function(e){this.pageNumberLis=[],this.currentPageNumberLis=[],this.clearPageLink(),this._createPageLi(e),this._appendPageLink()}},{key:"_createPageLi",value:function(e){for(var t=0;t<e;t++){var n=document.createElement("li");n.innerHTML=t+1,this.pageNumberLis.push(n)}if(this.pageNumberLis[0].setAttribute("class","active"),this.currentPage=1,e<5)this.currentPageNumberLis=this.pageNumberLis;else for(var r=0;r<5;r++)this.currentPageNumberLis.push(this.pageNumberLis[r])}},{key:"_appendPageLink",value:function(){for(var e=0;e<this.currentPageNumberLis.length;e++)this.link.insertBefore(this.currentPageNumberLis[e],this.link.childNodes[this.link.children.length-2]);for(var t=0;t<this.currentPageNumberLis.length;t++)this.currentPageNumberLis[t].setAttribute("class",""),Number(this.currentPageNumberLis[t].innerHTML)===this.currentPage&&this.currentPageNumberLis[t].setAttribute("class","active");this._changeDisableState(),this.linkageEvent&&this.linkageEvent(this.currentPage)}},{key:"clearPageLink",value:function(){for(var e=this.link.children.length-3;1<e;e--)this.link.removeChild(this.link.children[e])}},{key:"_createLink",value:function(e){for(var t=0;t<4;t++){var n=document.createElement("li"),r=(n.setAttribute("class","disable"),document.createElement("span"));n.appendChild(r),0===t?(r.id="first",r.setAttribute("class","supermapol-icons-first")):1===t?(r.id="prev",r.setAttribute("class","supermapol-icons-prev")):2===t?(r.id="next",r.setAttribute("class","supermapol-icons-next")):3===t&&(r.id="last",r.setAttribute("class","supermapol-icons-last")),e.appendChild(n)}}},{key:"_changePageEvent",value:function(e){var t,e=e.target;if("disable"!==e.parentElement.classList[0]){if(e.id)t=e.id;else{if(!Number(e.innerHTML))return;t=Number(e.innerHTML)}this._prePageNum(t),this.clearPageLink(),this._appendPageLink()}}},{key:"_changeDisableState",value:function(){this.link.children[0].setAttribute("class",""),this.link.children[1].setAttribute("class",""),this.link.children[this.link.children.length-1].setAttribute("class",""),this.link.children[this.link.children.length-2].setAttribute("class",""),1===this.currentPage&&(this.link.children[0].setAttribute("class","disable"),this.link.children[1].setAttribute("class","disable")),this.currentPage===this.pageNumberLis.length&&(this.link.children[this.link.children.length-1].setAttribute("class","disable"),this.link.children[this.link.children.length-2].setAttribute("class","disable"))}},{key:"_prePageNum",value:function(e){var t=[];if(this.currentPage="first"===e?1:"last"===e?this.pageNumberLis.length:"prev"===e?this.currentPage-1:"next"===e?this.currentPage+1:e,this.pageNumberLis.length<=5)for(var n=0;n<this.pageNumberLis.length;n++)t.push(this.pageNumberLis[n]);else if(this.currentPage<=3)for(var r=0;r<5;r++)t.push(this.pageNumberLis[r]);else if(this.currentPage>=this.pageNumberLis.length-3)for(var i=this.pageNumberLis.length-5;i<this.pageNumberLis.length;i++)t.push(this.pageNumberLis[i]);else for(var o=this.currentPage-3;o<=this.currentPage+1;o++)t.push(this.pageNumberLis[o]);0<t.length&&(this.currentPageNumberLis=t)}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function LT(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function jT(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?LT(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):LT(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}function DT(e){n={},["(",")","(",")",",",","].forEach(function(e,t){n[e]="$".concat(t)});var n,t,r=n;for(t in r)for(var i=r[t],o=new RegExp("\\".concat(t),"g");o.test(e);)e=e.replace(o,i);return e}function BT(e){return/^\d/.test(e)}E.Lang=Ok,E.i18n=E.Lang.i18n,E.Util=jT(jT({},E.Util),D),E.Browser=ee,E.INCHES_PER_UNIT=r,E.METERS_PER_INCH=.0254000508001016,E.DOTS_PER_INCH=96,E.IS_GECKO=te,E.setCORS=function(e){au=e},E.isCORS=iu,E.setRequestTimeout=function(e){return su=e},E.getRequestTimeout=ou,E.FetchRequest=d,E.inherit=function(e,t){function n(){}var r,i,o;for(n.prototype=t.prototype,e.prototype=new n,r=2,i=arguments.length;r<i;r++)"function"==typeof(o=arguments[r])&&(o=o.prototype),D.extend(e.prototype,o)},E.mixin=U,E.String=Q,E.Number=W,E.Function=q,E.Array=K,E.Date=e,E.Event=f,E.Bounds=S,E.Credential=Ur,E.Events=Xr,E.Feature=Ue,E.Geometry=J,E.Pixel=Y,E.Size=F,E.Feature.Vector=et,E.Geometry.Collection=ge,E.Geometry.Curve=Oe,E.Geometry.GeoText=Ln,E.Geometry.LinearRing=Ne,E.Geometry.LineString=Ie,E.Geometry.MultiLineString=ht,E.Geometry.MultiPoint=we,E.Geometry.MultiPolygon=mt,E.Geometry.Point=P,E.Geometry.Polygon=Ye,E.Geometry.Rectangle=Yr,E.Components.Chart=Sk,E.Components.ChartViewModel=Dk,E.Components.MessageBox=Ak,E.Components.AttributesPopContainer=hT,E.Components.CityTabsPage=wT,E.Components.CommonContainer=Qk,E.Components.DropDownBox=nT,E.Components.IndexTabsPageContainer=gT,E.Components.NavTabsPage=ET,E.Components.PaginationContainer=IT,E.Components.PopContainer=sT,E.Components.Select=Jk,E.Components.TemplateBase=Fk,E.Components.FileReaderUtil=Mk,E.TimeControlBase=p9,E.TimeFlowControl=w9,E.Format=E.Format||nt,E.Format.GeoJSON=En,E.Format.JSON=lt,E.Format.WKT=h9,E.iManager=T9,E.iManagerCreateNodeParam=O9,E.iManagerServiceBase=S9,E.iPortal=q9,E.iPortalAddDataParam=$9,E.iPortalAddResourceParam=X9,E.iPortalDataConnectionInfoParam=tC,E.iPortalDataMetaInfoParam=Z9,E.iPortalDataStoreInfoParam=eC,E.iPortalQueryParam=D9,E.iPortalQueryResult=B9,E.iPortalRegisterServiceParam=J9,E.iPortalResource=H9,E.iPortalServiceBase=L9,E.iPortalShareEntity=K9,E.iPortalShareParam=Y9,E.iPortalUser=aC,E.AddressMatchService=vd,E.AggregationParameter=lC,E.AreaSolarRadiationParameters=d5,E.AreaSolarRadiationService=_5,E.BucketAggParameter=yC,E.BufferAnalystParameters=M5,E.BufferAnalystService=Z5,E.BufferDistance=w5,E.BuffersAnalystJobsParameter=d6,E.BuffersAnalystJobsService=_6,E.BufferSetting=C5,E.BurstPipelineAnalystParameters=T2,E.BurstPipelineAnalystService=N2,E.ChartFeatureInfoSpecsService=Ud,E.ChartQueryFilterParameter=Md,E.ChartQueryParameters=Td,E.ChartQueryService=zd,E.ClipParameter=SC,E.ColorDictionary=Hg,E.CommonServiceBase=v,E.ComputeWeightMatrixParameters=Q2,E.ComputeWeightMatrixService=Z2,E.CreateDatasetParameters=xp,E.DataFlowService=op,E.DataReturnOption=T5,E.DatasetBufferAnalystParameters=z5,E.DatasetInfo=Eg,E.DatasetOverlayAnalystParameters=Lw,E.DatasetService=bp,E.DatasetSurfaceAnalystParameters=S7,E.DatasetThiessenAnalystParameters=Z7,E.DatasourceConnectionInfo=i8,E.DatasourceService=Fp,E.DensityAnalystService=ux,E.DensityKernelAnalystParameters=tx,E.EditFeaturesParameters=Wp,E.EditFeaturesService=t0,E.FacilityAnalyst3DParameters=D4,E.FacilityAnalystSinks3DParameters=H4,E.FacilityAnalystSinks3DService=W4,E.FacilityAnalystSources3DParameters=Z4,E.FacilityAnalystSources3DService=o3,E.FacilityAnalystStreamParameters=tb,E.FacilityAnalystStreamService=lb,E.FacilityAnalystTracedown3DParameters=A3,E.FacilityAnalystTracedown3DService=P3,E.FacilityAnalystTraceup3DParameters=f3,E.FacilityAnalystTraceup3DService=g3,E.FacilityAnalystUpstream3DParameters=B3,E.FacilityAnalystUpstream3DService=H3,E.FieldParameters=H1,E.FieldsFilter=GE,E.FieldStatisticService=ny,E.FieldStatisticsParameters=K1,E.FilterParameter=c0,E.FindClosestFacilitiesParameters=cb,E.FindClosestFacilitiesService=gb,E.FindLocationParameters=bb,E.FindLocationService=Ob,E.FindMTSPPathsParameters=Mb,E.FindMTSPPathsService=Db,E.FindPathParameters=Rb,E.FindPathService=Gb,E.FindServiceAreasParameters=Qb,E.FindServiceAreasService=Zb,E.FindTSPPathsParameters=t4,E.FindTSPPathsService=l4,E.GenerateSpatialDataParameters=fx,E.GenerateSpatialDataService=vx,E.GeoCodingParameter=ld,E.GeoDecodingParameter=fd,E.GeoHashGridAggParameter=IC,E.GeometryBatchAnalystService=_A,E.GeometryBufferAnalystParameters=Q5,E.GeometryOverlayAnalystParameters=Fw,E.GeometrySurfaceAnalystParameters=T7,E.GeometryThiessenAnalystParameters=aA,E.GeoprocessingService=ky,E.GeoRelationAnalystParameters=_x,E.GeoRelationAnalystService=Ex,E.GetFeaturesByBoundsParameters=W0,E.GetFeaturesByBoundsService=Z0,E.GetFeaturesByBufferParameters=a1,E.GetFeaturesByBufferService=h1,E.GetFeaturesByGeometryParameters=b1,E.GetFeaturesByGeometryService=C1,E.GetFeaturesByIDsParameters=x0,E.GetFeaturesByIDsService=E0,E.GetFeaturesBySQLParameters=j0,E.GetFeaturesBySQLService=F0,E.GetFeaturesParametersBase=d0,E.GetFeaturesServiceBase=l0,E.GetFieldsService=F1,E.GetGridCellInfosParameters=hy,E.GetGridCellInfosService=_y,E.GetLayersInfoService=pv,E.Grid=Kg,E.HillshadeParameter=cE,E.Image=tv,E.ImageCollectionService=n9,E.ImageGFAspect=lM,E.ImageGFHillShade=oM,E.ImageGFOrtho=fM,E.ImageGFSlope=pM,E.ImageRenderingRule=nM,E.ImageSearchParameter=XE,E.ImageService=GS,E.ImageStretchOption=ZE,E.InterpolationAnalystParameters=Px,E.InterpolationAnalystService=pw,E.InterpolationDensityAnalystParameters=Gx,E.InterpolationIDWAnalystParameters=Jx,E.InterpolationKrigingAnalystParameters=sw,E.InterpolationRBFAnalystParameters=Rx,E.JoinItem=Sg,E.KernelDensityJobParameter=d8,E.KernelDensityJobsService=_8,E.LabelImageCell=zC,E.LabelMatrixCell=LC,E.LabelMixedTextStyle=$y,E.LabelSymbolCell=UC,E.LabelThemeCell=JC,E.LayerStatus=ZC,E.LinkItem=nO,E.MappingParameters=c8,E.MapService=$v,E.MathExpressionAnalysisParameters=mw,E.MathExpressionAnalysisService=Aw,E.MeasureParameters=c2,E.MeasureService=v2,E.MetricsAggParameter=wC,E.NDVIParameter=rE,E.NetworkAnalystServiceBase=P2,E.OutputSetting=s8,E.OverlapDisplayedOptions=oO,E.OverlayAnalystParameters=Cw,E.OverlayAnalystService=Ww,E.OverlayGeoJobParameter=K8,E.OverlayGeoJobsService=n6,E.PointWithMeasure=Ot,E.ProcessingServiceBase=n8,E.QueryByBoundsParameters=a_,E.QueryByBoundsService=h_,E.QueryByDistanceParameters=b_,E.QueryByDistanceService=C_,E.QueryByGeometryParameters=U_,E.QueryByGeometryService=J_,E.QueryBySQLParameters=I_,E.QueryBySQLService=N_,E.QueryParameters=Cd,E.QueryService=Z_,E.RasterFunctionParameter=KO,E.Route=It,E.RouteCalculateMeasureParameters=Kw,E.RouteCalculateMeasureService=n7,E.RouteLocatorParameters=i7,E.RouteLocatorService=f7,E.ServerColor=l,E.ServerFeature=qi,E.ServerGeometry=s,E.ServerStyle=c,E.ServerTextStyle=Fy,E.ServerTheme=Fg,E.SetDatasourceParameters=Ip,E.SetLayerInfoParameters=lO,E.SetLayerInfoService=xv,E.SetLayersInfoParameters=fO,E.SetLayersInfoService=Mv,E.SetLayerStatusParameters=kv,E.SetLayerStatusService=Nv,E.SingleObjectQueryJobsParameter=w8,E.SingleObjectQueryJobsService=P8,E.Sortby=WE,E.SpatialAnalystBase=f5,E.StopQueryParameters=YA,E.StopQueryService=JA,E.SummaryAttributesJobsParameter=T6,E.SummaryAttributesJobsService=N6,E.SummaryMeshJobParameter=T8,E.SummaryMeshJobsService=N8,E.SummaryRegionJobParameter=i6,E.SummaryRegionJobsService=f6,E.SupplyCenter=pO,E.SurfaceAnalystParameters=m7,E.SurfaceAnalystParametersSetting=d7,E.SurfaceAnalystService=R7,E.TerrainCurvatureCalculationParameters=z7,E.TerrainCurvatureCalculationService=Q7,E.Theme=Ry,E.ThemeDotDensity=Wm,E.ThemeFlow=gO,E.ThemeGraduatedSymbol=rg,E.ThemeGraduatedSymbolStyle=Km,E.ThemeGraph=Vm,E.ThemeGraphAxes=Sm,E.ThemeGraphItem=Lm,E.ThemeGraphSize=Em,E.ThemeGraphText=km,E.ThemeGridRange=MO,E.ThemeGridRangeItem=_O,E.ThemeGridUnique=NO,E.ThemeGridUniqueItem=kO,E.ThemeLabel=ym,E.ThemeLabelAlongLine=im,E.ThemeLabelBackground=sm,E.ThemeLabelItem=Yy,E.ThemeLabelText=tm,E.ThemeLabelUniqueItem=FO,E.ThemeMemoryData=YO,E.ThemeOffset=Ky,E.ThemeParameters=PA,E.ThemeRange=dg,E.ThemeRangeItem=og,E.ThemeService=RA,E.ThemeUnique=wm,E.ThemeUniqueItem=Qy,E.ThiessenAnalystParameters=Zx,E.ThiessenAnalystService=dA,E.TilesetsService=i2,E.TopologyValidatorJobsParameter=w6,E.TopologyValidatorJobsService=P6,E.TransferLine=QO,E.TransferPathParameters=ZA,E.TransferPathService=aS,E.TransferSolutionParameters=lS,E.TransferSolutionService=yS,E.TransportationAnalystParameter=Y2,E.TransportationAnalystResultSetting=F2,E.UGCLayer=yg,E.UGCMapLayer=wg,E.UGCSubLayer=jg,E.UpdateDatasetParameters=Sp,E.UpdateEdgeWeightParameters=c4,E.UpdateEdgeWeightService=g4,E.UpdateTurnNodeWeightParameters=b4,E.UpdateTurnNodeWeightService=O4,E.Vector=sv,E.VectorClipJobsParameter=F8,E.VectorClipJobsService=W8,E.WebPrintingJobContent=LE,E.WebPrintingJobCustomItems=hE,E.WebPrintingJobExportOptions=zE,E.WebPrintingJobImage=yE,E.WebPrintingJobLayers=vE,E.WebPrintingJobLayoutOptions=BE,E.WebPrintingJobLegendOptions=xE,E.WebPrintingJobLittleMapOptions=SE,E.WebPrintingJobNorthArrowOptions=EE,E.WebPrintingJobParameters=k,E.WebPrintingJobScaleBarOptions=kE,E.WebPrintingService=TS,E.Online=OM,E.OnlineData=SM,E.OnlineQueryDatasParameter=PM,E.ServiceStatus={DOES_NOT_INVOLVE:"DOES_NOT_INVOLVE",PUBLISH_FAILED:"PUBLISH_FAILED",PUBLISHED:"PUBLISHED",PUBLISHING:"PUBLISHING",UNPUBLISHED:"UNPUBLISHED",UNPUBLISHED_FAILED:"UNPUBLISHED_FAILED"},E.DataItemType={GEOJSON:"GEOJSON",UGCV5_MVT:"UGCV5_MVT",JSON:"JSON",AUDIO:"AUDIO",COLOR:"COLOR",COLORSCHEME:"COLORSCHEME",CSV:"CSV",EXCEL:"EXCEL",FILLSYMBOL:"FILLSYMBOL",IMAGE:"IMAGE",LAYERTEMPLATE:"LAYERTEMPLATE",LAYOUTTEMPLATE:"LAYOUTTEMPLATE",LINESYMBOL:"LINESYMBOL",MAPTEMPLATE:"MAPTEMPLATE",MARKERSYMBOL:"MARKERSYMBOL",MBTILES:"MBTILES",PHOTOS:"PHOTOS",SHP:"SHP",SMTILES:"SMTILES",SVTILES:"SVTILES",THEMETEMPLATE:"THEMETEMPLATE",TPK:"TPK",UDB:"UDB",UGCV5:"UGCV5",UNKNOWN:"UNKNOWN",VIDEO:"VIDEO",WORKENVIRONMENT:"WORKENVIRONMENT",WORKSPACE:"WORKSPACE"},E.DataItemOrderBy={FILENAME:"FILENAME",ID:"ID",LASTMODIFIEDTIME:"LASTMODIFIEDTIME",NICKNAME:"NICKNAME",SERVICESTATUS:"SERVICESTATUS",SIZE:"SIZE",STATUS:"STATUS",TYPE:"TYPE",UPDATETIME:"UPDATETIME",USERNAME:"USERNAME"},E.FilterField={LINKPAGE:"LINKPAGE",MAPTITLE:"MAPTITLE",NICKNAME:"NICKNAME",RESTITLE:"RESTITLE",USERNAME:"USERNAME"},E.OnlineServiceBase=gM,E.Feature=E.Feature||{},E.Feature.Theme=Dn,E.Feature.Theme.Bar=XM,E.Feature.Theme.Bar3D=zP,E.Feature.Theme.Circle=JP,E.Feature.Theme.Graph=MP,E.Feature.Theme.Line=rk,E.Feature.Theme.Pie=uk,E.Feature.Theme.Point=yk,E.Feature.Theme.RankSymbol=UP,E.Feature.Theme.Ring=xk,E.Feature.Theme.ThemeVector=es,E.Feature.ShapeParameters=ao,E.Feature.ShapeParameters.Circle=na,E.Feature.ShapeParameters.Image=Xo,E.Feature.ShapeParameters.Label=Go,E.Feature.ShapeParameters.Line=_o,E.Feature.ShapeParameters.Point=po,E.Feature.ShapeParameters.Polygon=Oo,E.Feature.ShapeParameters.Rectangle=Io,E.Feature.ShapeParameters.Sector=No,E.Feature.ShapeFactory=g,E.LevelRenderer=Ui,E.KeyServiceParameter=IM,E.SecurityManager=bf,E.ServerInfo=jM,E.TokenServiceParameter=BM,E.ThemeStyle=eP,E.CartoCSS=L,E.ElasticSearch=RM,E.ArrayStatistic=qM,E.ColorsPickerUtil=UM,E.DataFormat=a,E.ServerType=Lt,E.GeometryType=jt,E.QueryOption=Dt,E.JoinType={INNERJOIN:"INNERJOIN",LEFTJOIN:"LEFTJOIN"},E.SpatialQueryMode=Bt,E.SpatialRelationType={CONTAIN:"CONTAIN",INTERSECT:"INTERSECT",WITHIN:"WITHIN"},E.MeasureMode=Rt,E.Unit=Nt,E.BufferRadiusUnit=zt,E.EngineType={IMAGEPLUGINS:"IMAGEPLUGINS",OGC:"OGC",ORACLEPLUS:"ORACLEPLUS",SDBPLUS:"SDBPLUS",SQLPLUS:"SQLPLUS",UDB:"UDB"},E.ThemeGraphTextFormat=Ft,E.ThemeGraphType=Vt,E.GraphAxesTextDisplayMode=Ht,E.GraduatedMode=Yt,E.RangeMode=Gt,E.ThemeType={DOTDENSITY:"DOTDENSITY",GRADUATEDSYMBOL:"GRADUATEDSYMBOL",GRAPH:"GRAPH",LABEL:"LABEL",RANGE:"RANGE",UNIQUE:"UNIQUE"},E.ColorGradientType=Ut,E.TextAlignment=Qt,E.FillGradientMode={NONE:"NONE",LINEAR:"LINEAR",RADIAL:"RADIAL",CONICAL:"CONICAL",SQUARE:"SQUARE"},E.AlongLineDirection=Wt,E.LabelBackShape=qt,E.LabelOverLengthMode=Kt,E.DirectionType={EAST:"EAST",NONE:"NONE",NORTH:"NORTH",SOURTH:"SOURTH",WEST:"WEST"},E.OverlayOperationType=Jt,E.OutputType=$t,E.SideType={LEFT:"LEFT",MIDDLE:"MIDDLE",NONE:"NONE",RIGHT:"RIGHT"},E.SupplyCenterType={FIXEDCENTER:"FIXEDCENTER",NULL:"NULL",OPTIONALCENTER:"OPTIONALCENTER"},E.TurnType={AHEAD:"AHEAD",BACK:"BACK",END:"END",LEFT:"LEFT",NONE:"NONE",RIGHT:"RIGHT"},E.BufferEndType=Xt,E.SmoothMethod=Zt,E.SurfaceAnalystMethod=en,E.DataReturnMode=tn,E.EditType=nn,E.TransferTactic=rn,E.TransferPreference=on,E.GridType={CROSS:"CROSS",GRID:"GRID",POINT:"POINT"},E.ColorSpaceType={CMYK:"CMYK",RGB:"RGB"},E.LayerType={UGC:"UGC",WMS:"WMS",WFS:"WFS",CUSTOM:"CUSTOM"},E.UGCLayerType={THEME:"THEME",VECTOR:"VECTOR",GRID:"GRID",IMAGE:"IMAGE"},E.StatisticMode={AVERAGE:"AVERAGE",MAX:"MAX",MIN:"MIN",STDDEVIATION:"STDDEVIATION",SUM:"SUM",VARIANCE:"VARIANCE"},E.PixelFormat={BIT16:"BIT16",BIT32:"BIT32",BIT64:"BIT64",SINGLE:"SINGLE",DOUBLE:"DOUBLE",UBIT1:"UBIT1",UBIT4:"UBIT4",UBIT8:"UBIT8",UBIT24:"UBIT24",UBIT32:"UBIT32"},E.SearchMode={KDTREE_FIXED_COUNT:"KDTREE_FIXED_COUNT",KDTREE_FIXED_RADIUS:"KDTREE_FIXED_RADIUS",NONE:"NONE",QUADTREE:"QUADTREE"},E.InterpolationAlgorithmType={KRIGING:"KRIGING",SimpleKriging:"SimpleKriging",UniversalKriging:"UniversalKriging"},E.VariogramMode=an,E.Exponent=sn,E.ClientType=ln,E.ChartType={BAR:"Bar",BAR3D:"Bar3D",CIRCLE:"Circle",PIE:"Pie",POINT:"Point",LINE:"Line",RING:"Ring"},E.ClipAnalystMode=un,E.AnalystAreaUnit=cn,E.AnalystSizeUnit=fn,E.StatisticAnalystMode=hn,E.SummaryType=dn,E.TopologyValidatorRule=pn,E.BucketAggType=yn,E.MetricsAggType=mn,E.GetFeatureMode={BOUNDS:"BOUNDS",BUFFER:"BUFFER",ID:"ID",SPATIAL:"SPATIAL",SQL:"SQL"},E.RasterFunctionType=gn,E.ResourceType={MAP:"MAP",SERVICE:"SERVICE",SCENE:"SCENE",DATA:"DATA",INSIGHTS_WORKSPACE:"INSIGHTS_WORKSPACE",MAP_DASHBOARD:"MAP_DASHBOARD"},E.OrderBy={UPDATETIME:"UPDATETIME",HEATLEVEL:"HEATLEVEL",RELEVANCE:"RELEVANCE"},E.OrderType={ASC:"ASC",DESC:"DESC"},E.SearchType={PUBLIC:"PUBLIC",MY_RES:"MY_RES",MYGROUP_RES:"MYGROUP_RES",MYDEPARTMENT_RES:"MYDEPARTMENT_RES",SHARETOME_RES:"SHARETOME_RES"},E.AggregationTypes={TAG:"TAG",TYPE:"TYPE"},E.PermissionType={SEARCH:"SEARCH",READ:"READ",READWRITE:"READWRITE",DELETE:"DELETE",DOWNLOAD:"DOWNLOAD"},E.EntityType={DEPARTMENT:"DEPARTMENT",GROUP:"GROUP",IPORTALGROUP:"IPORTALGROUP",ROLE:"ROLE",USER:"USER"},E.WebExportFormatType={PNG:"PNG",PDF:"PDF"},E.WebScaleOrientationType={HORIZONTALLABELSBELOW:"HORIZONTALLABELSBELOW",HORIZONTALLABELSABOVE:"HORIZONTALLABELSABOVE",VERTICALLABELSLEFT:"VERTICALLABELSLEFT",VERTICALLABELSRIGHT:"VERTICALLABELSRIGHT"},E.WebScaleType={LINE:"LINE",BAR:"BAR",BAR_SUB:"BAR_SUB"},E.WebScaleUnit={METER:"METER",FOOT:"FOOT",DEGREES:"DEGREES"},E.KnowledgeGraph=uh;var te=function(){try{return convert}catch(e){return{}}}(),RT=qT.n(te),K=function(){try{return canvg}catch(e){return{}}}(),NT=qT.n(K);function zT(e){return(zT="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})(e)}function FT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function VT(e,t){return(VT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function HT(e){return(HT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var YT=["559082264.0287178","279541132.0143589","139770566.0071794","69885283.00358972","34942641.50179486","17471320.75089743","8735660.375448715","4367830.1877224357","2183915.093862179","1091957.546931089","545978.7734655447","272989.7734655447","272989.3867327723","136494.6933663862","68247.34668319309","34123.67334159654","17061.83667079827","8530.918335399136","4265.459167699568","2132.729583849784"],GT=["5.590822640287176E8","2.795411320143588E8","1.397705660071794E8","6.98852830035897E7","3.494264150179485E7","1.7471320750897426E7","8735660.375448713","4367830.187724357","2183915.0938621783","1091957.5469310891","545978.7734655446","272989.3867327723","136494.69336638614","68247.34668319307","34123.673341596535","17061.836670798268","8530.918335399134"],UT=["GoogleCRS84Quad","GoogleMapsCompatible"],e=function(){var e=o,t=u().Evented;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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&VT(e,t);n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();var n,r,i=function(){var e,t=HT(n),t=(e=r?(e=HT(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),this);if(!e||"object"!==zT(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=t))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e};function o(e,t){var n;if(this instanceof o)return(n=i.call(this)).mapId=e,n.server=(t=t||{}).server,n.credentialKey=t.credentialKey,n.credentialValue=t.credentialValue,n.withCredentials=t.withCredentials||!1,n.target=t.target||"map",n._canvgsV=[],n._createWebMap(),n.on("mapinitialized",function(){n.map.on("remove",function(){n._stopCanvg()})}),n;throw new TypeError("Cannot call a class as a function")}return FT((e=o).prototype,[{key:"resize",value:function(){this.map.resize()}},{key:"setMapId",value:function(e){this.mapId=e,this._createWebMap()}},{key:"setWebMapOptions",value:function(e){this.server=e.server,this._createWebMap()}},{key:"setMapOptions",value:function(e){var t=e.center,n=e.zoom,r=e.maxBounds,i=e.minZoom,o=e.maxZoom,a=e.isWorldCopy,s=e.bearing,e=e.pitch;t&&t.length&&this.map.setCenter(t),n&&this.map.setZoom(n),r&&this.map.setMaxBounds(r),i&&this.map.setMinZoom(i),o&&this.map.setMaxZoom(o),a&&this.map.setRenderWorldCopies(a),s&&this.map.setBearing(s),e&&this.map.setPitch(e)}},{key:"_createWebMap",value:function(){var e,t=this.server.split(""),t=("/"!==t[t.length-1]&&(this.server+="/"),this.server+"web/maps/"+this.mapId+"/map"),n=(this.credentialValue&&this.credentialKey&&(t+="?"+this.credentialKey+"="+this.credentialValue),"getUrlResource.json?url=");this.excludePortalProxyUrl&&-1<this.server.indexOf(n)&&1<(e=this.server.split(n)).length&&(t=e[0]+n+this.server+"web/maps/"+this.mapId+"/map.json"),this._getMapInfo(t)}},{key:"_createMap",value:function(e){var t=[],n=e.layers;n&&0<n.length&&n.forEach(function(e){e.labelStyle&&t.push(e.labelStyle.fontFamily)},this),t.push("'supermapol-icons'");var n=t.join(","),r=e.center,i=e.level||0;i+=e.minScale&&e.maxScale?this._transformScaleToZoom(e.minScale,u().CRS?u().CRS.get(this.baseProjection):"EPSG:3857"):(e=this._getResolution(u().CRS?u().CRS.get(this.baseProjection).getExtent():[-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892])/this._getResolution(e.extent),+Math.log(e)/Math.LN2.toFixed(2)),e=r?this._unproject([r.x,r.y]):new(u().LngLat)(0,0),this.map=new(u().Map)({container:this.target,center:e,zoom:i,style:{version:8,sources:{},layers:[]},crs:this.baseProjection,localIdeographFontFamily:n||""}),this.fire("mapinitialized")}},{key:"_getMapInfo",value:function(e){var n=this,e=-1===e.indexOf(".json")?"".concat(e,".json"):e;d.get(e,null,{withCredentials:this.withCredentials}).then(function(e){return e.json()}).then(function(e){if(n.baseProjection=e.projection,n.mapParams={title:e.title,description:e.description},!(n.baseProjection in{"EPSG:4490":"EPSG:4490","EPSG:4214":"EPSG:4214","EPSG:4610":"EPSG:4610","EPSG:3857":"EPSG:3857","EPSG:4326":"EPSG:4326"}))throw Error(Ok.i18n("msg_crsunsupport"));n._createMap(e,n.mapSetting);var t=e.layers;n.map.on("load",function(){n._addBaseMap(e),t&&0!==t.length?n._addLayers(t):n._sendMapToUser(0,0)})}).catch(function(e){n.fire("getmapfailed",{error:e})})}},{key:"_addBaseMap",value:function(e){this._createBaseLayer(e)}},{key:"_createBaseLayer",value:function(e){var t=e.baseLayer||e,n=t.layerType;switch(n=-1<n.indexOf("TIANDITU_VEC")||-1<n.indexOf("TIANDITU_IMG")||-1<n.indexOf("TIANDITU_TER")?n.substr(0,12):n){case"TIANDITU_VEC":case"TIANDITU_IMG":case"TIANDITU_TER":this._createTiandituLayer(e);break;case"BING":this._createBingLayer(t.name);break;case"WMS":this._createWMSLayer(t);break;case"WMTS":this._createWMTSLayer(t);break;case"TILE":case"SUPERMAP_REST":this._createDynamicTiledLayer(t);break;case"CLOUD":case"CLOUD_BLACK":case"OSM":case"JAPAN_ORT":case"JAPAN_RELIEF":case"JAPAN_PALE":case"JAPAN_STD":case"GOOGLE_CN":case"GOOGLE":this._createXYZLayer(t,{CLOUD:"http://t2.dituhui.com/FileService/image?map=quanguo&type=web&x={x}&y={y}&z={z}",CLOUD_BLACK:"http://t3.dituhui.com/MapService/getGdp?x={x}&y={y}&z={z}",OSM:"http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",GOOGLE:"https://www.google.cn/maps/vt/pb=!1m4!1m3!1i{z}!2i{x}!3i{y}!2m3!1e0!2sm!3i380072576!3m8!2szh-CN!3scn!5e1105!12m4!1e68!2m2!1sset!2sRoadmap!4e0!5m1!1e0",GOOGLE_CN:"https://mt{0-3}.google.cn/vt/lyrs=m&hl=zh-CN&gl=cn&x={x}&y={y}&z={z}",JAPAN_STD:"https://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png",JAPAN_PALE:"https://cyberjapandata.gsi.go.jp/xyz/pale/{z}/{x}/{y}.png",JAPAN_RELIEF:"https://cyberjapandata.gsi.go.jp/xyz/relief/{z}/{x}/{y}.png",JAPAN_ORT:"https://cyberjapandata.gsi.go.jp/xyz/ort/{z}/{x}/{y}.jpg"}[n]);break;case"MAPBOXSTYLE":this._createMapboxStyle(t)}}},{key:"_createMapboxStyle",value:function(e){var t=this,e=e.dataSource,e=void 0===e?{}:e,n=e.serverId,e=e.url,n=void 0!==n?"".concat(this.server,"web/datas/").concat(n,"/download"):e;d.get(n,null,{withCredentials:this.withCredentials,withoutFormatSuffix:!0,headers:{"Content-Type":"application/json;chartset=uft-8"}}).then(function(e){return e.json()}).then(function(e){t._matchStyleObject(e),t.map.setStyle(e)})}},{key:"_matchStyleObject",value:function(e){var t=e.sprite,n=e.glyphs;t&&"object"===zT(t)&&(e.sprite=Object.values(t)[0]),n&&"object"===zT(n)&&(e.glyphs=Object.values(n)[0])}},{key:"_createTiandituLayer",value:function(e){var t=this._getTiandituUrl(e),n=e.baseLayer.layerType,e=Boolean(e.baseLayer.labelLayerVisible),r=t.labelUrl,t=t.tiandituUrl;this._addBaselayer(t,"tianditu-layers-"+n),e&&this._addBaselayer(r,"tianditu-label-layers-"+n)}},{key:"_createWMTSLayer",value:function(n){var r=this,i=this._getWMTSUrl(n);this._filterWMTSIsMatched(n,function(e,t){e&&r._addBaselayer([i],"wmts-layers"+n.name,0,t)})}},{key:"_filterWMTSIsMatched",value:function(l,u){var c=this,f=!1,h=22,e=l.url;d.get(e,null,{withCredentials:!1,withoutFormatSuffix:!0}).then(function(e){return e.text()}).then(function(e){var t=RT()?RT():window.convert,n=JSON.parse(t.xml2json(e,{compact:!0,spaces:4})).Capabilities.Contents.TileMatrixSet;Array.isArray(n)||(n=[n]);for(var r=0;r<n.length;r++)if(n[r]["ows:Identifier"]&&n[r]["ows:Identifier"]._text===l.tileMatrixSet){if(!(-1<UT.indexOf(n[r].WellKnownScaleSet._text))){if(!n[r].WellKnownScaleSet||"Custom"!==n[r].WellKnownScaleSet._text)throw Error(Ok.i18n("msg_tilematrixsetunsupport"));for(var i=[],o="EPSG:3857"===c.map.crs?YT:GT,a=0,s=o.length;a<s&&n[r].TileMatrix[a]&&o[a]===n[r].TileMatrix[a].ScaleDenominator._text;a++)i.push(o[a]);if(h=i.length-1,0===i.length)throw Error(Ok.i18n("msg_tilematrixsetunsupport"))}f=!0}u(f,h)}).catch(function(e){c.fire("getwmtsfailed",{error:e,map:c.map})})}},{key:"_createBingLayer",value:function(e){this.addLayer(["https://dynamic.t0.tiles.ditu.live.com/comp/ch/{quadkey}?it=G,TW,L,LA&mkt=zh-cn&og=109&cstl=w4c&ur=CN&n=z"],"bing-layers-"+e)}},{key:"_createXYZLayer",value:function(e,t){var n=[];if("OSM"===e.layerType){for(var r=t.match(/\w\-\w/g)[0],i=r[0],r=r[2],o="",a=97;a<123;a++)o+=String.fromCharCode(a);for(var s=o.split(""),i=s.indexOf(i),r=s.indexOf(r),l=s.slice(i,r+1),u=0;u<l.length;u++){var c=t.replace(/{\w\-\w}/g,l[u]);n.push(c)}}else if("GOOGLE_CN"===e.layerType)for(var s=t.match(/\d\-\d/g)[0],i=s[0],f=s[2],h=i;h<=f;h++){var d=t.replace(/{\d\-\d}/g,h);n.push(d)}else n=[t];this._addBaselayer(n,"XYZ-layers-"+e.name)}},{key:"_createDynamicTiledLayer",value:function(e){var t=e.url,n=e.layerID||e.name,r=e.minzoom,e=e.maxzoom;this._addBaselayer([t],n,r,e,!0)}},{key:"_createWMSLayer",value:function(e){var t=this._getWMSUrl(e);this._addBaselayer([t],"WMS-layers-"+e.name)}},{key:"_createVectorLayer",value:function(e,t){var n=e.style,r=e.featureType,i=e.layerID,e=e.visible,o={},t=(o.style=this._transformStyleToMapBoxGl(n,r),o.layout={visibility:e},{type:"geojson",data:{type:"FeatureCollection",features:t}});this._addOverlayToMap(r,t,i,o),"POLYGON"===r&&n.strokeColor&&this._addStrokeLineForPoly(n,t,i+"-strokeLine",e)}},{key:"_getTiandituUrl",value:function(e){for(var t=/t0/gi,n={},r=e.baseLayer.layerType.split("_")[1].toLowerCase(),e=Boolean(e.baseLayer.labelLayerVisible),i="https://t0.tianditu.gov.cn/{layer}_{proj}/wmts?",o=i,a="EPSG:4326"===this.baseProjection?"c":"w",s={service:"WMTS",request:"GetTile",style:"default",version:"1.0.0",layer:r,tilematrixSet:a,format:"tiles",width:256,height:256},l=(i+=this._getParamString(s,i)+"&tilematrix={z}&tilerow={y}&tilecol={x}").replace("{layer}",r).replace("{proj}",a),u=[],c=0;c<8;c++)u.push(l.replace(t,"t".concat(c)));if(n.tiandituUrl=u,e){i={vec:"cva",ter:"cta",img:"cia"}[r];s.layer=i;for(var o=(o+=this._getParamString(s,o)+"&tilematrix={z}&tilerow={y}&tilecol={x}").replace("{layer}",i).replace("{proj}",a),f=[],h=0;h<8;h++)f.push(o.replace(t,"t".concat(h)));n.labelUrl=f}return n}},{key:"_getWMSUrl",value:function(e){var e=e.url,t=(e=e.split("?")[0]).split("/"),t={service:"WMS",request:"GetMap",layers:t[t.length-1],styles:"",format:"image/png",transparent:"true",version:"1.1.1",width:256,height:256,srs:this.baseProjection},n="EPSG:4326"===this.baseProjection?"{bbox-epsg-4326}":"{bbox-epsg-3857}";return e+(this._getParamString(t,e)+"&bbox=".concat(n))}},{key:"_addLayers",value:function(e){var s=this;this.layers=e;var n,l=0,u=e.length;e.forEach(function(o,a){var e,t;o.dataSource&&o.dataSource.serverId||"MARKER"===o.layerType?(t=(o.dataSource||o).serverId,e="".concat(s.server,"web/datas/").concat(t,"/content.json?pageSize=9999999¤tPage=1"),t&&d.get(e,null,{withCredentials:s.withCredentials}).then(function(e){return e.json()}).then(function(e){!1===e.succeed?(l++,s._sendMapToUser(l,u),s.fire("getlayersfailed",{error:e.error,map:s.map})):e.type&&("JSON"===e.type||"GEOJSON"===e.type?(e.content=JSON.parse(e.content.trim()),n=s._formatGeoJSON(e.content,o)):"EXCEL"!==e.type&&"CSV"!==e.type||(n=s._excelData2Feature(e.content,o)),s._addLayer(o,n,a),l++,s._sendMapToUser(l,u))}).catch(function(e){l++,s._sendMapToUser(l,u),s.fire("getlayersfailed",{error:e,map:s.map})})):"SUPERMAP_REST"===o.layerType||"TILE"===o.layerType||"WMS"===o.layerType||"WMTS"===o.layerType?(s._createBaseLayer(o),l++,s._sendMapToUser(l,u)):o.dataSource&&"REST_DATA"===o.dataSource.type?(t=o.dataSource,s._getFeatureBySQL(t.url,[t.dataSourseName||o.name],function(e){n=s._parseGeoJsonData2Feature({allDatas:{features:e.result.features.features},fileCode:o.projection,featureProjection:s.baseProjection}),s._addLayer(o,n,a),l++,s._sendMapToUser(l,u)},function(e){l++,s._sendMapToUser(l,u),s.fire("getfeaturesfailed",{error:e})})):o.dataSource&&"REST_MAP"===o.dataSource.type&&o.dataSource.url&&s._queryFeatureBySQL(o.dataSource.url,o.dataSource.layerName,"smid=1",null,null,function(e){var e=e&&e.result.recordsets,e=e&&e[0],t=e.fields;if(e&&t){var n,r=[];for(n in t){var i=t[n];0===i.indexOf("Sm")&&"SmID"!==i||r.push(i)}s._getFeatures(r,o,function(e){s._addLayer(o,e,a),l++,s._sendMapToUser(l,u)},function(e){l++,s.fire("getfeaturesfailed",{error:e,map:s.map})})}},function(e){s.fire("getlayersfailed",{error:e,map:s.map})})},this)}},{key:"_getFeatures",value:function(e,t,n,r){var i=this,o=t.dataSource,a=t.projection;this._queryFeatureBySQL(o.url,o.layerName,null,e,null,function(e){e=e.result.recordsets[0].features.features,e=i._parseGeoJsonData2Feature({allDatas:{features:e},fileCode:a,featureProjection:i.baseProjection},"JSON");n(e)},function(e){r(e)})}},{key:"_addLayer",value:function(e,t,n){var r=e.layerType;e.layerID=r+"-"+e.name+"-"+n,e.visible=e.visible?"visible":"none",t[0]&&"Polygon"===t[0].geometry.type&&(t=this._handleMultyPolygon(t)),e.style&&e.filterCondition&&"RANGE"!==r&&"UNIQUE"!==r&&(t=this._getFiterFeatures(e.filterCondition,t)),"VECTOR"===r?"POINT"===e.featureType?"SYMBOL_POINT"===e.style.type?this._createSymbolLayer(e,t):this._createGraphicLayer(e,t):this._createVectorLayer(e,t):"UNIQUE"===r?this._createUniqueLayer(e,t):"RANGE"===r?this._createRangeLayer(e,t):"HEAT"===r?this._createHeatLayer(e,t):"MARKER"===r&&this._createMarkerLayer(e,t),e.labelStyle&&e.labelStyle.labelField&&this._addLabelLayer(e,t)}},{key:"_addLabelLayer",value:function(e,t){var n=e.labelStyle;this.map.addLayer({id:e.layerID+"label",type:"symbol",source:{type:"geojson",data:{type:"FeatureCollection",features:t}},paint:{"text-color":n.fill},layout:{"text-field":"{".concat(n.labelField,"}"),"text-size":parseFloat(n.fontSize)||12,"text-offset":n.offsetX?[n.offsetX/10||0,n.offsetY/10||0]:[0,-1.5],"text-font":["DIN Offc Pro Italic","Arial Unicode MS Regular"],visibility:e.visible}})}},{key:"_createSymbolLayer",value:function(e,t){document.getElementById("".concat(this.target)).classList.add("supermapol-icons-map");var n=e.style,r=e.style.unicode,r=String.fromCharCode(parseInt(r.replace(/^&#x/,""),16)),i=e.layerID;this.map.addSource(i+"-source",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),this.map.addLayer({id:i,type:"symbol",source:i+"-source",paint:{"text-color":n.fillColor},layout:{"text-field":r,"text-font":["DIN Offc Pro Italic","Arial Unicode MS Regular"],visibility:e.visible}}),this.map.getSource(i+"-source").setData({type:"FeatureCollection",features:t})}},{key:"_createGraphicLayer",value:function(r,e){var t,i=this,o=r.style,n={},a=r.layerID,s={type:"geojson",data:{type:"FeatureCollection",features:e}};"IMAGE_POINT"===o.type?((t=(e=o.imageInfo).img)&&t.src||(e.url=this.server+e.url),this.map.loadImage(e.url||t.src,function(e,t){e&&console.log(e);e=2*Number.parseFloat((o.radius/t.height).toFixed(2));i.map.addImage("imageIcon",t),i.map.addLayer({id:a,type:"symbol",source:s,layout:{"icon-image":"imageIcon","icon-size":e,visibility:r.visible}})})):"SVG_POINT"===o.type?(e=o.url,this.svgDiv||(this.svgDiv=document.createElement("div"),document.body.appendChild(this.svgDiv)),this._getCanvasFromSVG(e,this.svgDiv,function(n){var e=n.toDataURL("img/png");e&&i.map.loadImage(e,function(e,t){e&&console.log(e);e=Number.parseFloat((o.radius/n.width).toFixed(2));i.map.addImage("imageIcon",t),i.map.addLayer({id:a,type:"symbol",source:s,layout:{"icon-image":"imageIcon","icon-size":e,visibility:r.visible}})},i)})):(n.style=this._transformStyleToMapBoxGl(o,r.featureType),n.layout={visibility:r.visible},this._addOverlayToMap("POINT",s,a,n))}},{key:"_createUniqueLayer",value:function(e,t){var n=this._getUniqueStyleGroup(e,t),r=(t=this._getFiterFeatures(e.filterCondition,t),e.style),i={},o=e.themeSetting.themeField,a=e.featureType,s=["match",["get","index"]],l=e.layerID,e=(t.forEach(function(t){n.forEach(function(e){e.value===t.properties[o]&&s.push(t.properties.index,e.color)})}),s.push("#ffffff"),i.style=this._transformStyleToMapBoxGl(r,a,s),e.visible),t=(i.layout={visibility:e},{type:"geojson",data:{type:"FeatureCollection",features:t}});this._addOverlayToMap(a,t,l,i),"POLYGON"===a&&r.strokeColor&&this._addStrokeLineForPoly(r,t,l+"-strokeLine",e)}},{key:"_getUniqueStyleGroup",value:function(e,t){var n,r=e.featureType,i=e.style,e=e.themeSetting,o=e.themeField,a=e.colors,s=[],l=e.customSettings;for(n in t){var u,c=t[n].properties[o],f=!1;for(u in s)if(s[u]===c){f=!0;break}f||s.push(c)}var h=a||this.defaultParameters.colors,h=UM.getGradientColors(h,s.length),d=[];return s.forEach(function(e,t){t=h[t];e in l&&(t=l[e]),"LINE"===r?i.strokeColor=t:i.fillColor=t,d.push({color:t,value:e})},this),d}},{key:"_getWMTSUrl",value:function(e){var t={service:"WMTS",request:"GetTile",version:"1.0.0",style:"default",layer:e.layer,tilematrixSet:e.tileMatrixSet,format:"image/png"},e=e.url;return e+(this._getParamString(t,e)+"&tilematrix={z}&tilerow={y}&tilecol={x}")}},{key:"_createMarkerLayer",value:function(s,e){var l=this;e&&e.forEach(function(e){var t=e.geometry.type.toUpperCase(),n=e.dv_v5_markerStyle,r=("POINT"===t&&n.text&&(t="TEXT"),l.setFeatureInfo(e)),i=(e.properties.useStyle=n,e.properties.featureInfo=r,"POINT"===t&&n.src&&-1===n.src.indexOf("http://")&&-1===n.src.indexOf("https://")&&(n.src=l.server+n.src),{type:"geojson",data:e}),o=e.properties.index,a=t+"-"+o;"POINT"===t&&n.src&&n.src.indexOf("svg")<=-1&&l.map.loadImage(n.src,function(e,t){e&&console.log(e),l.map.addImage(o+"",t),l.map.addLayer({id:a,type:"symbol",source:i,layout:{"icon-image":o+"","icon-size":n.scale,visibility:s.visible}})},l),"POINT"===t&&n.src&&-1<n.src.indexOf("svg")&&(l.svgDiv||(l.svgDiv=document.createElement("div"),document.body.appendChild(l.svgDiv)),l._getCanvasFromSVG(n.src,l.svgDiv,function(e){e=e.toDataURL("img/png");e&&l.map.loadImage(e,function(e,t){e&&console.log(e),l.map.addImage(o+"",t),l.map.addLayer({id:a,type:"symbol",source:i,layout:{"icon-image":o+"","icon-size":n.scale,visibility:s.visible}})},l)})),n.src||(r={layout:{}},"LINESTRING"===t&&n.lineCap&&(t="LINE",r.layout={"line-cap":n.lineCap}),e=s.visible,r.layout.visibility=e,r.style=l._transformStyleToMapBoxGl(n,t),l._addOverlayToMap(t,i,a,r),"POLYGON"===t&&n.strokeColor&&l._addStrokeLineForPoly(n,i,a+"-strokeLine",e))},this)}},{key:"setFeatureInfo",value:function(e){var t=e.dv_v5_markerInfo;if(!t||!t.dataViz_title)return t;var n,r=t,i=e.properties;for(n in r)i[n]&&(r[n]=i[n],delete i[n]);return r}},{key:"_createHeatLayer",value:function(e,t){var n,r=e.themeSetting,i={},o=(i.gradient=r.colors.slice(),i.radius=parseInt(r.radius),r.customSettings);for(n in o)i.gradient[n]=o[n];r.weight&&this._changeWeight(t,r.weight);var a,s,l,u=["interpolate",["linear"],["heatmap-density"]],c=(1/i.gradient.length).toFixed(2),r=(i.gradient.forEach(function(e,t){u.push(t*c),0===t&&(e=x.hexToRgba(e,0)),u.push(e)}),{"heatmap-color":u,"heatmap-radius":r.radius+15,"heatmap-intensity":{base:1,stops:[[0,.8],[22,1]]}});t[0].weight&&4<=t.length&&(a=[],t.forEach(function(e){a.push(e.weight)}),s=qM.getMax(a),l=qM.getMin(a),r["heatmap-weight"]=["interpolate",["linear"],["get","weight"],l,0,s,1]),this.map.addLayer({id:e.layerID,type:"heatmap",source:{type:"geojson",data:{type:"FeatureCollection",features:t}},paint:r})}},{key:"_changeWeight",value:function(e,n){this.fieldMaxValue={},this._getMaxValue(e,n);var r=this.fieldMaxValue[n];e.forEach(function(e){var t=e.properties[n];e.weight=t/r})}},{key:"_getMaxValue",value:function(e,t){var n,r=[],i=t;this.fieldMaxValue[i]||(e.forEach(function(e){(n=e.properties)&&parseFloat(n[i])&&r.push(parseFloat(n[i]))}),this.fieldMaxValue[i]=qM.getArrayStatistic(r,"Maximum"))}},{key:"_createRangeLayer",value:function(e,t){var r=e.themeSetting.themeField,n=e.style,i=e.featureType,o=this._getRangeStyleGroup(e,t),a={type:"geojson",data:{type:"FeatureCollection",features:t=this._getFiterFeatures(e.filterCondition,t)}},s=["match",["get","index"]],t=(t.forEach(function(e){for(var t=parseFloat(e.properties[r]),n=0;n<o.length;n++)o[n].start<=t&&t<o[n].end&&s.push(e.properties.index,o[n].color);t||s.push(e.properties.index,"rgba(0, 0, 0, 0)")},this),s.push("rgba(0, 0, 0, 0)"),{layout:{}}),l=("LINE"===i&&n.lineCap&&(t.layout={"line-cap":n.lineCap}),e.visible),e=(t.layout.visibility=l,t.style=this._transformStyleToMapBoxGl(n,i,s),e.layerID);this._addOverlayToMap(i,a,e,t),"POLYGON"===i&&n.strokeColor&&this._addStrokeLineForPoly(n,a,e+"-strokeline",l)}},{key:"_getFiterFeatures",value:function(e,t){if(!e)return t;for(var n=this._replaceFilterCharacter(e),r=[],i=0;i<t.length;i++){var o=t[i],a=!1;try{var s=o.properties,l=function(e,r){var i=e;return e.replace(/&|\||>|<|=|!/g," ").split(" ").filter(function(e){return e}).forEach(function(t){var e,n=r.find(function(e){return e===t});BT(t)&&n&&(i=i.replace(n,"$"+n)),n&&(e=DT(n),i=i.replace(n,e))}),i}(n,Object.keys(s)),u=function(e){var t,n={};for(t in e){var r=t;n[r=DT(r=BT(t)?"$"+t:r)]=e[t]}return n}(s),c="select * from json where ("+l+")",a=window.jsonsql.query(c,{attr:u})}catch(e){continue}a&&0<a.length&&r.push(o)}return r}},{key:"_replaceFilterCharacter",value:function(e){return e.replace(/=/g,"==").replace(/AND|and/g,"&&").replace(/or|OR/g,"||").replace(/<==/g,"<=").replace(/>==/g,">=")}},{key:"_getRangeStyleGroup",value:function(e,t){var n,r=e.featureType,i=e.style,o=[],e=e.themeSetting,a=e.customSettings,s=e.themeField,l=e.segmentCount,u=(t.forEach(function(e){(n=e.properties||e.get("Properties"))?n[s]&&x.isNumber(n[s])&&o.push(parseFloat(n[s])):e.get(s)&&x.isNumber(e.get(s))&&e.get(s)&&o.push(parseFloat(e.get(s)))},this),qM.getArraySegments(o,e.segmentMethod,l));if(u){var c,f=l;for(c in n&&u[0]===u[n.length-1]&&(f=1,u.length=2),u){var h=u[c],h=0==c?Math.floor(100*h)/100:Math.ceil(100*h)/100+.1;u[c]=Number(h.toFixed(2))}for(var d=e.colors,p=0;p<f;p++)p in a&&(a[p].segment.start&&(u[p]=a[p].segment.start),a[p].segment.end)&&(u[p+1]=a[p].segment.end);for(var y=[],m=0;m<f;m++){var g=d[m],v=(m in a&&a[m].color&&(g=a[m].color),"LINE"===r?i.strokeColor=g:i.fillColor=g,u[m]),b=u[m+1],_=JSON.parse(JSON.stringify(i));y.push({style:_,color:g,start:v,end:b})}return y}}},{key:"_formatGeoJSON",value:function(e){e=e.features;return e.forEach(function(e,t){e.properties.index=t}),e}},{key:"_excelData2Feature",value:function(e){for(var t=e.colTitles,n=-1,r=-1,i=0,o=t.length;i<o;i++)this._isXField(t[i])&&(n=i),this._isYField(t[i])&&(r=i);for(var a=[],s=0,l=e.rows.length;s<l;s++){var u,c=e.rows[s],f=Number(c[n]),c=Number(c[r]),h={};for(u in e.colTitles)h[e.colTitles[u]]=e.rows[s][u];h.index=s+"",a.push({type:"Feature",geometry:{type:"Point",coordinates:[f,c]},properties:h})}return a}},{key:"_sendMapToUser",value:function(e,t){e===t&&this.fire("addlayerssucceeded",{map:this.map,mapparams:this.mapParams,layers:this.layers})}},{key:"_unproject",value:function(e){for(var t=180/Math.PI,n=Math.exp(-e[1]/6378137),r=Math.PI/2-2*Math.atan(n),i=0,o=.1;i<15&&1e-7<Math.abs(o);i++)r+=o=Math.PI/2-2*Math.atan(+n)-r;return new(u().LngLat)(e[0]*t/6378137,r*t)}},{key:"_getParamString",value:function(e,t,n){var r,i=[];for(r in e)i.push((n?r.toUpperCase():r)+"="+e[r]);return(t&&-1!==t.indexOf("?")?"&":"?")+i.join("&")}},{key:"_isXField",value:function(e){e=e.toLowerCase();return"x"===e||"smx"===e||"jd"===e||"经度"===e||"东经"===e||"longitude"===e||"lot"===e||"lon"===e||"lng"===e}},{key:"_isYField",value:function(e){e=e.toLowerCase();return"y"===e||"smy"===e||"wd"===e||"纬度"===e||"北纬"===e||"latitude"===e||"lat"===e}},{key:"_transformStyleToMapBoxGl",value:function(e,t,n){var r,i={},o=("POINT"!==e.type&&"BASIC_POINT"!==e.type&&"POINT"!==t||"LINE"===t?"LINE"===t?i={strokeWidth:"line-width",strokeColor:"line-color",strokeOpacity:"line-opacity"}:"POLYGON"===t&&(i={fillColor:"fill-color",fillOpacity:"fill-opacity",strokeColor:"fill-outline-color"}):i={fillColor:"circle-color",strokeWidth:"circle-stroke-width",fillOpacity:"circle-opacity",radius:"circle-radius",strokeColor:"circle-stroke-color",strokeOpacity:"circle-stroke-opacity"},{});for(r in e)i[r]&&(o[i[r]]=e[r]);return n&&(o["circle-color"]?o["circle-color"]=n:o["line-color"]?o["line-color"]=n:o["fill-color"]=n),e.lineDash&&"solid"!==e.lineDash&&"LINE"===t&&(o["line-dasharray"]=this._dashStyle(e)),o}},{key:"_dashStyle",value:function(e){if(!e)return[];var t=e.strokeDashstyle||e.lineDash;switch(t){case"solid":return[];case"dot":return[1,4];case"dash":return[4,4];case"dashdot":return[4,4,1,4];case"longdash":return[8,4];case"longdashdot":return[8,4,1,4];default:return t?D.isArray(t)?t:(t=Q.trim(t).replace(/\s+/g,",")).replace(/\[|\]/gi,"").split(","):[]}}},{key:"_getCanvasFromSVG",value:function(e,t,n){var r=this,i=document.createElement("canvas"),t=(i.id="dataviz-canvas-"+x.newGuid(8),i.style.display="none",t.appendChild(i),window.canvg&&window.canvg.default?window.canvg.default:NT()),o=i.getContext("2d");t.from(o,e,{ignoreMouse:!0,ignoreAnimation:!0,forceRedraw:function(){return!1}}).then(function(e){e.start(),r._canvgsV.push(e),300<i.width||300<i.height||n(i)})}},{key:"_stopCanvg",value:function(){this._canvgsV.forEach(function(e){return e.stop()}),this._canvgsV=[]}},{key:"_addOverlayToMap",value:function(e,t,n,r){"circle"!==(e={POINT:"circle",LINE:"line",POLYGON:"fill"}[e])&&"line"!==e&&"fill"!==e||this.map.addLayer({id:n,type:e,source:t,paint:r.style,layout:r.layout||{}})}},{key:"_addBaselayer",value:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:22,i=4<arguments.length?arguments[4]:void 0;this.map.addLayer({id:t,type:"raster",source:{type:"raster",tiles:e,tileSize:256,rasterSource:i?"iserver":"",prjCoordSys:i?{epsgCode:this.baseProjection.split(":")[1]}:""},minzoom:n,maxzoom:r})}},{key:"_addStrokeLineForPoly",value:function(e,t,n,r){var i={};i.style=this._transformStyleToMapBoxGl(e,"LINE"),i.layout={visibility:r},this._addOverlayToMap("LINE",t,n,i)}},{key:"_parseGeoJsonData2Feature",value:function(e){for(var t=e.allDatas.features,n=[],r=0,i=t.length;r<i;r++){var o=t[r],a=o.geometry.coordinates;"Point"===t[r].geometry.type&&t[r].properties&&(t[r].properties.lon=a[0],t[r].properties.lat=a[1]),o.properties.index=r+"",n.push(o)}return n}},{key:"_getFeatureBySQL",value:function(e,t,n,r){var i=new c0({name:t.join().replace(":","@"),attributeFilter:"SMID > 0"}),i=new j0({queryParameter:i,datasetNames:t,fromIndex:0,toIndex:1e5,returnContent:!0});new F0(e,{eventListeners:{processCompleted:function(e){n&&n(e)},processFailed:function(e){r&&r(e)}}}).processAsync(i)}},{key:"_queryFeatureBySQL",value:function(e,t,n,r,i,o,a,s,l,u){t=new c0({name:t,attributeFilter:n}),r&&(t.fields=r),n={queryParams:[t]};u&&(n.queryOption=Dt.ATTRIBUTE),s&&(n.startRecord=s),l&&(n.expectCount=l),i&&(n.prjCoordSys={epsgCode:i}),r=new I_(n),new o5(e).queryBySQL(r,function(e){("processCompleted"===e.type?o:a)(e)})}},{key:"_handleMultyPolygon",value:function(e){return e.forEach(function(e){var t,n;"Polygon"===e.geometry.type&&1<(t=e.geometry.coordinates).length&&(n=[],t.forEach(function(e){n.push([e])}),e.geometry.coordinates=n,e.geometry.type="MultiPolygon")}),e}},{key:"_transformScaleToZoom",value:function(e,t){var n=295829515.2024169,t=("EPSG:3857"!==(t||this.map.getCRS()).epsgCode&&(n=295295895),e.split(":")[1]);return Math.min(24,+Math.log2(n/+t).toFixed(2))}},{key:"_getResolution",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:512;return e.leftBottom&&e.rightTop?Math.max(e.rightTop.x-e.leftBottom.x,e.rightTop.y-e.leftBottom.y)/t:Math.max(e[2]-e[0],e[3]-e[1])/t}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function QT(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function WT(r){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?QT(Object(i),!0).forEach(function(e){var t,n;t=r,n=i[e=e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):QT(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})}return r}u().supermap=WT(WT({},E),u().supermap),u().supermap.map=u().supermap.map||{},u().supermap.LogoControl=B,u().supermap.Logo=B,u().supermap.Util=x,u().supermap.WebMap=e,u().supermap.Graphic=o,u().supermap.map.getDefaultVectorTileStyle=function(e,t){var n={},e=(n.version=(t=t||{}).version||8,n.layers=t.layers||[],n.light=t.light||{anchor:"viewport",color:"#fcf6ef",intensity:.5,position:[1.15,201,20]},{version:n.version,sources:{"vector-tiles":{type:"vector",tiles:[e]}},layers:n.layers,light:n.light});return null!=t.sprite&&(e.sprite=t.sprite),null!=t.glyphs&&(e.glyphs=t.glyphs),e},u().supermap.map.setBackground=function(e,t){t&&e&&e.addLayer({id:"background",type:"background",paint:{"background-color":t}},"background")},u().supermap.map.setPaintProperty=function(e,t,n,r,i,o){if(t&&e){"[object Array]"!==Object.prototype.toString.call(t)&&(t=[t]);for(var a=0;a<t.length;a++){var s=o?o[a]:null,s={id:l=t[a],type:n,source:i||"vector-tiles","source-layer":s||l,paint:r};e.addLayer(s,t[a]),e.moveLayer(t[a])}}var l},u().supermap.MapvDataSet=vh,u().supermap.GeoFeatureThemeLayer=as,u().supermap.Theme3DLayer=Ps,u().supermap.ThemeFeature=Nn,u().supermap.ThemeLayer=Ji,u().supermap.Transform=ul,u().supermap.WebSymbol=od,u().supermap.DeckglLayer=Kl,u().supermap.GraphicLayer=wr,u().supermap.GraphThemeLayer=io,u().supermap.GraticuleLayer=hu,u().supermap.HeatMapLayer=Fl,u().supermap.LabelThemeLayer=br,u().supermap.MapvLayer=Os,u().supermap.FGBLayer=y,u().supermap.RangeTheme3DLayer=n,u().supermap.RangeThemeLayer=i,u().supermap.RankSymbolThemeLayer=ur,u().supermap.ThreeLayer=kl,u().supermap.UniqueTheme3DLayer=dr,u().supermap.UniqueThemeLayer=mr,u().supermap.GraphMap=Jf,u().supermap.AddressMatchService=Ad,u().supermap.ChartService=Zd,u().supermap.DataFlowService=fp,u().supermap.DatasetService=kp,u().supermap.DatasourceService=Up,u().supermap.FeatureService=L1,u().supermap.FieldService=cy,u().supermap.GeoprocessingService=Dy,u().supermap.GridCellInfosService=Cy,u().supermap.ImageCollectionService=s9,u().supermap.ImageService=KS,u().supermap.LayerInfoService=b,u().supermap.MapService=_,u().supermap.MeasureService=A2,u().supermap.NetworkAnalyst3DService=X3,u().supermap.NetworkAnalystService=w,u().supermap.ProcessingService=A,u().supermap.QueryService=o5,u().supermap.ServiceBase=m,u().supermap.SpatialAnalystService=C,u().supermap.ThemeService=O,u().supermap.TrafficTransferAnalystService=AS,u().supermap.WebPrintingJobService=BS,u().supermap.KnowledgeGraphService=zf,u().supermap.Components.ChartView=Sk,u().supermap.CommonUtil=D}()}.call(this,n("8oxB"))},usAy:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAADVFJREFUeAHt2zFuEwEARFGCOExuRoGoEF3KtFSIIpyC43AbUIpIabzJSpaYT16aWNn1ZvzGxcgr33z9+evPOz8ECBAgQIAAgWsIGBbXUHQNAgQIECBA4HFTvMdAgAABAgQIELiWgGFxLUnXIUCAAAECBN4ZFt4EBAgQIECAwNUEDIurUboQAQIECBAgYFh4DxAgQIAAAQJXE/hwdKVvt598FfUIyDECBAgQIPAGBb78/nFz6WUfDovHJx09+dJF/Z0AAQIECBD4PwVe+tDBrZD/s3evigABAgQI/BOBFz+xeEr1+f7BbZEnDL8JECBAgMAbE/h+9/Hi7Y/nFK8eFo9Peu1Fn/8DjwkQIECAAIG2wJkPF9wKaXctPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpAcNiqg5hCBAgQIBAW8CwaPcnPQECBAgQmBIwLKbqEIYAAQIECLQFDIt2f9ITIECAAIEpgQ9n0ny+f/hz5nznEiBAgAABAm9L4NXD4vvdx5u3RePVEiBAgAABAmcF3Ao5K+Z8AgQIECBA4KLAi59YfLv95PbHRT4HCBAgQIAAgecCh8Piy+8fbn881/KYAAECBAgQOBRwK+SQx0ECBAgQIEDgjIBhcUbLuQQIECBAgMChgGFxyOMgAQIECBAgcEbAsDij5VwCBAgQIEDgUMCwOORxkAABAgQIEDgjcPP15y9fJz0j5lwCBAgQIEDgosBfCPklARb6dIIAAAAASUVORK5CYII="},"v/rq":function(e,t,n){"use strict";var r=n("aNIs"),i=n("eRwv"),o=n("Ks5W").String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol();return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},v1Hm:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("sLfH"))),o=r(n("2Z54")),r=(i.default.install=function(e,t){(0,o.default)(e,t),e.component((i.default.options||i.default).name,i.default)},i.default);t.default=r},v2zb:function(e,t,n){"use strict";n.r(t);var r=n("kvrn"),a=n.n(r),r=n("YEIV"),s=n.n(r),r=n("TZE5"),l=n("2qPA"),i=n("TfX5");t.default={name:"ACardMeta",props:{prefixCls:r.a.string,title:r.a.any,description:r.a.any},inject:{configProvider:{default:function(){return i.a}}},render:function(){var e=arguments[0],t=this.$props.prefixCls,t=(0,this.configProvider.getPrefixCls)("card",t),n=s()({},t+"-meta",!0),r=Object(l.getComponentFromProp)(this,"avatar"),i=Object(l.getComponentFromProp)(this,"title"),o=Object(l.getComponentFromProp)(this,"description"),r=r?e("div",{class:t+"-meta-avatar"},[r]):null,i=i?e("div",{class:t+"-meta-title"},[i]):null,o=o?e("div",{class:t+"-meta-description"},[o]):null,t=i||o?e("div",{class:t+"-meta-detail"},[i,o]):null;return e("div",a()([{on:Object(l.getListeners)(this)},{class:n}]),[r,t])}}},v3sQ:function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),_=n.n(r),i=n("TZE5"),x=n("2qPA"),r=n("YEIV"),w=n.n(r),r=n("tIgm"),o=n("sEfC"),a=n.n(o);function s(){var e;if("undefined"!=typeof window&&window.document&&window.document.documentElement)return"flex"in(e=window.document.documentElement).style||"webkitFlex"in e.style||"Flex"in e.style||"msFlex"in e.style}var A=n("ewVk"),o={name:"Steps",mixins:[r.a],props:{type:i.a.string.def("default"),prefixCls:i.a.string.def("rc-steps"),iconPrefix:i.a.string.def("rc"),direction:i.a.string.def("horizontal"),labelPlacement:i.a.string.def("horizontal"),status:i.a.string.def("process"),size:i.a.string.def(""),progressDot:i.a.oneOfType([i.a.bool,i.a.func]),initial:i.a.number.def(0),current:i.a.number.def(0),icons:i.a.shape({finish:i.a.any,error:i.a.any}).loose},data:function(){return this.calcStepOffsetWidth=a()(this.calcStepOffsetWidth,150),{flexSupported:!0,lastStepOffsetWidth:0}},mounted:function(){var e=this;this.$nextTick(function(){e.calcStepOffsetWidth(),s()||e.setState({flexSupported:!1})})},updated:function(){var e=this;this.$nextTick(function(){e.calcStepOffsetWidth()})},beforeDestroy:function(){this.calcTimeout&&clearTimeout(this.calcTimeout),this.calcStepOffsetWidth&&this.calcStepOffsetWidth.cancel&&this.calcStepOffsetWidth.cancel()},methods:{onStepClick:function(e){this.$props.current!==e&&this.$emit("change",e)},calcStepOffsetWidth:function(){var t,n,r=this;s()||(t=this.$data.lastStepOffsetWidth,0<(n=this.$refs.vcStepsRef).children.length&&(this.calcTimeout&&clearTimeout(this.calcTimeout),this.calcTimeout=setTimeout(function(){var e=(n.lastChild.offsetWidth||0)+1;t===e||Math.abs(t-e)<=3||r.setState({lastStepOffsetWidth:e})})))}},render:function(){var e,o=this,t=arguments[0],a=this.prefixCls,s=this.direction,n=this.type,r=this.labelPlacement,l=this.iconPrefix,u=this.status,i=this.size,c=this.current,f=this.$scopedSlots,h=this.initial,d=this.icons,p="navigation"===n,n=this.progressDot,y=(void 0===n&&(n=f.progressDot),this.lastStepOffsetWidth),m=this.flexSupported,g=Object(x.filterEmpty)(this.$slots.default),v=g.length-1,r=n?"vertical":r,i=(e={},w()(e,a,!0),w()(e,a+"-"+s,!0),w()(e,a+"-"+i,i),w()(e,a+"-label-"+r,"horizontal"===s),w()(e,a+"-dot",!!n),w()(e,a+"-navigation",p),w()(e,a+"-flex-not-supported",!m),e),b=Object(x.getListeners)(this);return t("div",{class:i,ref:"vcStepsRef",on:b},[g.map(function(e,t){var n=Object(x.getPropsData)(e),r=h+t,i={props:_()({stepNumber:""+(r+1),stepIndex:r,prefixCls:a,iconPrefix:l,progressDot:o.progressDot,icons:d},n),on:Object(x.getEvents)(e),scopedSlots:f};return b.change&&(i.on.stepClick=o.onStepClick),m||"vertical"===s||(p?(i.props.itemWidth=100/(1+v)+"%",i.props.adjustMarginRight=0):t!==v&&(i.props.itemWidth=100/v+"%",i.props.adjustMarginRight=-Math.round(y/v+1)+"px")),"error"===u&&t===c-1&&(i.class=a+"-next-error"),n.status||(i.props.status=r===c?u:r<c?"finish":"wait"),i.props.active=r===c,Object(A.a)(e,i)})])}},r=n("kvrn"),h=n.n(r),r=n("m1cH"),l=n.n(r);function f(e){return"string"==typeof e}function d(){}var r={name:"Step",props:{prefixCls:i.a.string,wrapperStyle:i.a.object,itemWidth:i.a.string,active:i.a.bool,disabled:i.a.bool,status:i.a.string,iconPrefix:i.a.string,icon:i.a.any,adjustMarginRight:i.a.string,stepNumber:i.a.string,stepIndex:i.a.number,description:i.a.any,title:i.a.any,subTitle:i.a.any,progressDot:i.a.oneOfType([i.a.bool,i.a.func]),tailContent:i.a.any,icons:i.a.shape({finish:i.a.any,error:i.a.any}).loose},methods:{onClick:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.$emit.apply(this,["click"].concat(l()(t))),this.$emit("stepClick",this.stepIndex)},renderIconNode:function(){var e=this.$createElement,t=Object(x.getOptionProps)(this),n=t.prefixCls,r=t.stepNumber,i=t.status,o=t.iconPrefix,t=t.icons,a=this.progressDot,s=(void 0===a&&(a=this.$scopedSlots.progressDot),Object(x.getComponentFromProp)(this,"icon")),l=Object(x.getComponentFromProp)(this,"title"),u=Object(x.getComponentFromProp)(this,"description"),o=(c={},w()(c,n+"-icon",!0),w()(c,o+"icon",!0),w()(c,o+"icon-"+s,s&&f(s)),w()(c,o+"icon-check",!s&&"finish"===i&&t&&!t.finish),w()(c,o+"icon-close",!s&&"error"===i&&t&&!t.error),c),c=e("span",{class:n+"-icon-dot"});return a?e("span",{class:n+"-icon"},"function"==typeof a?[a({index:r-1,status:i,title:l,description:u,prefixCls:n})]:[c]):s&&!f(s)?e("span",{class:n+"-icon"},[s]):t&&t.finish&&"finish"===i?e("span",{class:n+"-icon"},[t.finish]):t&&t.error&&"error"===i?e("span",{class:n+"-icon"},[t.error]):s||"finish"===i||"error"===i?e("span",{class:o}):e("span",{class:n+"-icon"},[r])}},render:function(){var e=arguments[0],t=Object(x.getOptionProps)(this),n=t.prefixCls,r=t.itemWidth,i=t.active,o=t.status,o=void 0===o?"wait":o,a=t.tailContent,s=t.adjustMarginRight,t=t.disabled,l=Object(x.getComponentFromProp)(this,"title"),u=Object(x.getComponentFromProp)(this,"subTitle"),c=Object(x.getComponentFromProp)(this,"description"),f={};w()(f,n+"-item",!0),w()(f,n+"-item-"+o,!0),w()(f,n+"-item-custom",Object(x.getComponentFromProp)(this,"icon")),w()(f,n+"-item-active",i),w()(f,n+"-item-disabled",!0===t);o={class:f,on:Object(x.getListeners)(this)},i={},r&&(i.width=r),s&&(i.marginRight=s),f=Object(x.getListeners)(this),r={attrs:{},on:{click:f.click||d}};return f.stepClick&&!t&&(r.attrs.role="button",r.attrs.tabIndex=0,r.on.click=this.onClick),e("div",h()([o,{style:i}]),[e("div",h()([r,{class:n+"-item-container"}]),[e("div",{class:n+"-item-tail"},[a]),e("div",{class:n+"-item-icon"},[this.renderIconNode()]),e("div",{class:n+"-item-content"},[e("div",{class:n+"-item-title"},[l,u&&e("div",{attrs:{title:u},class:n+"-item-subtitle"},[u])]),c&&e("div",{class:n+"-item-description"},[c])])])])}},u=(o.Step=r,o),c=n("DGO/"),p=n("TfX5"),y=n("2xRk"),m={name:"ASteps",props:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t={prefixCls:i.a.string,iconPrefix:i.a.string,current:i.a.number,initial:i.a.number,labelPlacement:i.a.oneOf(["horizontal","vertical"]).def("horizontal"),status:i.a.oneOf(["wait","process","finish","error"]),size:i.a.oneOf(["default","small"]),direction:i.a.oneOf(["horizontal","vertical"]),progressDot:i.a.oneOfType([i.a.bool,i.a.func]),type:i.a.oneOf(["default","navigation"])};return Object(x.initDefaultProps)(t,e)}({current:0}),inject:{configProvider:{default:function(){return p.a}}},model:{prop:"current",event:"change"},Step:_()({},u.Step,{name:"AStep"}),render:function(){var e=arguments[0],t=Object(x.getOptionProps)(this),n=t.prefixCls,r=t.iconPrefix,i=this.configProvider.getPrefixCls,n=i("steps",n),i=i("",r),r={finish:e(c.default,{attrs:{type:"check"},class:n+"-finish-icon"}),error:e(c.default,{attrs:{type:"close"},class:n+"-error-icon"})},r={props:_()({icons:r,iconPrefix:i,prefixCls:n},t),on:Object(x.getListeners)(this),scopedSlots:this.$scopedSlots};return e(u,r,[this.$slots.default])},install:function(e){e.use(y.default),e.component(m.name,m),e.component(m.Step.name,m.Step)}};t.default=m},vIla:function(e,t,n){"use strict";n.r(t);var r,i=n("Hd2G");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},vPLx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e=!0);var n=this.activeIndex,r=this.params,i=this.previousIndex;r.cssMode||(r.autoHeight&&this.updateAutoHeight(),r=(r=t)||(i<n?"next":n<i?"prev":"reset"),this.emit("transitionStart"),e&&n!==i&&("reset"===r?this.emit("slideResetTransitionStart"):(this.emit("slideChangeTransitionStart"),"next"===r?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart"))))}},"vPd/":function(e,t,n){var r=n("kCCV"),i=n("IX3V").each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){e=new r(e);this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(n){var r=this.handlers;i(r,function(e,t){if(e.equals(n))return e.destroy(),!r.splice(t,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var t=this.matches()?"on":"off";i(this.handlers,function(e){e[t]()})}},e.exports=o},vTDQ:function(e,t,n){"use strict";var r=n("dAmL"),n=n("IGIO");e.exports=!r&&!n&&"object"==typeof window&&"object"==typeof document},vjCF:function(e,t,n){"use strict";
- /*!
- * css-vars-ponyfill
- * v2.2.1
- * https://jhildenbiddle.github.io/css-vars-ponyfill/
- * (c) 2018-2020 John Hildenbiddle <http://hildenbiddle.com>
- * MIT license
- */
- function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function S(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}
- /*!
- * get-css-data
- * v1.7.1
- * https://github.com/jhildenbiddle/get-css-data
- * (c) 2018-2020 John Hildenbiddle <http://hildenbiddle.com>
- * MIT license
- */()}function d(e,t
- /**
- * Gets CSS data from <style> and <link> nodes (including @imports), then
- * returns data in order processed by DOM. Allows specifying nodes to
- * include/exclude and filtering CSS data using RegEx.
- *
- * @preserve
- * @param {object} [options] The options object
- * @param {object} [options.rootElement=document] Root element to traverse for
- * <link> and <style> nodes.
- * @param {string} [options.include] CSS selector matching <link> and <style>
- * nodes to include
- * @param {string} [options.exclude] CSS selector matching <link> and <style>
- * nodes to exclude
- * @param {object} [options.filter] Regular expression used to filter node CSS
- * data. Each block of CSS data is tested against the filter,
- * and only matching data is included.
- * @param {object} [options.useCSSOM=false] Determines if CSS data will be
- * collected from a stylesheet's runtime values instead of its
- * text content. This is required to get accurate CSS data
- * when a stylesheet has been modified using the deleteRule()
- * or insertRule() methods because these modifications will
- * not be reflected in the stylesheet's text content.
- * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
- * 1) the XHR object, 2) source node reference, and 3) the
- * source URL as arguments.
- * @param {function} [options.onSuccess] Callback on each CSS node read. Passes
- * 1) CSS text, 2) source node reference, and 3) the source
- * URL as arguments.
- * @param {function} [options.onError] Callback on each error. Passes 1) the XHR
- * object for inspection, 2) soure node reference, and 3) the
- * source URL that failed (either a <link> href or an @import)
- * as arguments
- * @param {function} [options.onComplete] Callback after all nodes have been
- * processed. Passes 1) concatenated CSS text, 2) an array of
- * CSS text in DOM order, and 3) an array of nodes in DOM
- * order as arguments.
- *
- * @example
- *
- * getCssData({
- * rootElement: document,
- * include : 'style,link[rel="stylesheet"]',
- * exclude : '[href="skip.css"]',
- * filter : /red/,
- * useCSSOM : false,
- * onBeforeSend(xhr, node, url) {
- * // ...
- * }
- * onSuccess(cssText, node, url) {
- * // ...
- * }
- * onError(xhr, node, url) {
- * // ...
- * },
- * onComplete(cssText, cssArray, nodeArray) {
- * // ...
- * }
- * });
- */){var t=1<arguments.length&&void 0!==t?t:{},i={mimeType:t.mimeType||null,onBeforeSend:t.onBeforeSend||Function.prototype,onSuccess:t.onSuccess||Function.prototype,onError:t.onError||Function.prototype,onComplete:t.onComplete||Function.prototype},r=Array.isArray(e)?e:[e],o=Array.apply(null,Array(r.length)).map(function(e){return null});function a(e){return!("<"===(0<arguments.length&&void 0!==e?e:"").trim().charAt(0))}function s(e,t){i.onError(e,r[t],t)}function l(e,t){var n=i.onSuccess(e,r[t],t);o[t]=e=!1===n?"":n||e,-1===o.indexOf(null)&&i.onComplete(o)}var u=document.createElement("a");r.forEach(function(e,t){var n,r;u.setAttribute("href",e),u.href=String(u.href),Boolean(document.all&&!window.atob)&&u.host.split(":")[0]!==location.host.split(":")[0]?u.protocol===location.protocol?((n=new XDomainRequest).open("GET",e),n.timeout=0,n.onprogress=Function.prototype,n.ontimeout=Function.prototype,n.onload=function(){a(n.responseText)?l(n.responseText,t):s(n,t)},n.onerror=function(e){s(n,t)},setTimeout(function(){n.send()},0)):(console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(e,")")),s(null,t)):((r=new XMLHttpRequest).open("GET",e),i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.onBeforeSend(r,e,t),r.onreadystatechange=function(){4===r.readyState&&(200===r.status&&a(r.responseText)?l(r.responseText,t):s(r,t))},r.send())})}function a(e){var o={cssComments:/\/\*[\s\S]+?\*\//g,cssImports:/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g},f={rootElement:e.rootElement||document,include:e.include||'style,link[rel="stylesheet"]',exclude:e.exclude||null,filter:e.filter||null,useCSSOM:e.useCSSOM||!1,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},t=Array.apply(null,f.rootElement.querySelectorAll(f.include)).filter(function(e){return e=e,t=f.exclude,!(e.matches||e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector).call(e,t);var t}),s=Array.apply(null,Array(t.length)).map(function(e){return null});function l(){var e;-1===s.indexOf(null)&&(e=s.join(""),f.onComplete(e,s,t))}function u(e,n,r,t){var i=f.onSuccess(e,r,t);!function r(i,o,a,s){var l=4<arguments.length&&void 0!==arguments[4]?arguments[4]:[];var u=5<arguments.length&&void 0!==arguments[5]?arguments[5]:[];var c=h(i,a,u);c.rules.length?d(c.absoluteUrls,{onBeforeSend:function(e,t,n){f.onBeforeSend(e,o,t)},onSuccess:function(n,e,t){var r=f.onSuccess(n,o,e),i=h(n=!1===r?"":r||n,e,u);return i.rules.forEach(function(e,t){n=n.replace(e,i.absoluteRules[t])}),n},onError:function(e,t,n){l.push({xhr:e,url:t}),u.push(c.rules[n]),r(i,o,a,s,l,u)},onComplete:function(e){e.forEach(function(e,t){i=i.replace(c.rules[t],e)}),r(i,o,a,s,l,u)}}):s(i,l)}(e=void 0!==i&&!1===Boolean(i)?"":i||e,r,t,function(e,t){null===s[n]&&(t.forEach(function(e){return f.onError(e.xhr,r,e.url)}),!f.filter||f.filter.test(e)?s[n]=e:s[n]="",l())})}function h(e,r,t){var n=2<arguments.length&&void 0!==t?t:[],i={};return i.rules=(e.replace(o.cssComments,"").match(o.cssImports)||[]).filter(function(e){return-1===n.indexOf(e)}),i.urls=i.rules.map(function(e){return e.replace(o.cssImports,"$1")}),i.absoluteUrls=i.urls.map(function(e){return c(e,r)}),i.absoluteRules=i.rules.map(function(e,t){var n=i.urls[t],t=c(i.absoluteUrls[t],r);return e.replace(n,t)}),i}t.length?t.forEach(function(i,o){var a=i.getAttribute("href"),e=i.getAttribute("rel"),e="LINK"===i.nodeName&&a&&e&&"stylesheet"===e.toLowerCase(),t="STYLE"===i.nodeName;e?d(a,{mimeType:"text/css",onBeforeSend:function(e,t,n){f.onBeforeSend(e,i,t)},onSuccess:function(e,t,n){var r=c(a);u(e,o,i,r)},onError:function(e,t,n){s[o]="",f.onError(e,i,t),l()}}):t?(e=i.textContent,u(e=f.useCSSOM?Array.apply(null,i.sheet.cssRules).map(function(e){return e.cssText}).join(""):e,o,i,location.href)):(s[o]="",l())}):f.onComplete("",[])}function c(e,t){var n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(i),r.href=t||document.baseURI||(document.querySelector("base")||{}).href||location.href,i.href=e,i.href}n.r(t);var p=r;function r(e,t,n){var r=o(e=e instanceof RegExp?i(e,n):e,t=t instanceof RegExp?i(t,n):t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function i(e,t){t=t.match(e);return t?t[0]:null}function o(e,t,n){var r,i,o,a,s,l=n.indexOf(e),u=n.indexOf(t,l+1),c=l;if(0<=l&&0<u){for(r=[],o=n.length;0<=c&&!s;)c==l?(r.push(c),l=n.indexOf(e,c+1)):1==r.length?s=[r.pop(),u]:((i=r.pop())<o&&(o=i,a=u),u=n.indexOf(t,c+1)),c=l<u&&0<=l?l:u;r.length&&(s=[o,a])}return s}function C(i,e){var o=A({},{preserveStatic:!0,removeComments:!1},1<arguments.length&&void 0!==e?e:{});function a(e){throw new Error("CSS parse error: ".concat(e))}function s(e){e=e.exec(i);if(e)return i=i.slice(e[0].length),e}function l(){return s(/^{\s*/)}function u(){return s(/^}/)}function c(){s(/^\s*/)}function f(){for(var e,t=[];e=function(){if(c(),"/"===i[0]&&"*"===i[1]){for(var e,t=2;i[t]&&("*"!==i[t]||"/"!==i[t+1]);)t++;return i[t]?(e=i.slice(2,t),i=i.slice(t+2),{type:"comment",comment:e}):a("end of comment is missing")}}();)t.push(e);return o.removeComments?[]:t}function h(){for(c();"}"===i[0];)a("extra closing bracket");var e=s(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(e)return e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(e){return e.replace(/,/g,"")}).split(/\s*(?![^(]*\)),\s*/).map(function(e){return e.replace(/\u200C/g,",")})}function d(){if(!l())return a("missing '{'");for(var e,t=f();e=function(){if("@"===i[0])return r();s(/^([;\s]*)+/);var e,t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=s(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);return n?(n=n[0].trim(),s(/^:\s*/)?(e=s(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),n={type:"declaration",property:n.replace(t,""),value:e?e[0].replace(t,"").trim():""},s(/^[;\s]*/),n):a("property missing ':'")):void 0}();)t.push(e),t=t.concat(f());return u()?t:a("missing '}'")}function t(){if(n=s(/^@([-\w]+)?keyframes\s*/)){var e=n[1];if(!(n=s(/^([-\w]+)\s*/)))return a("@keyframes missing name");var t,n=n[1];if(!l())return a("@keyframes missing '{'");for(var r=f();t=function(){c();for(var e,t=[];e=s(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),s(/^,\s*/);if(t.length)return{type:"keyframe",values:t,declarations:d()}}();)r.push(t),r=r.concat(f());return u()?{type:"keyframes",name:n,vendor:e,keyframes:r}:a("@keyframes missing '}'")}}function r(){var e;if(c(),"@"===i[0])return!(e=function(){var e=s(/^@(import|charset|namespace)\s*([^;]+);/);if(e)return{type:e[1],name:e[2].trim()}}()||function(){if(s(/^@font-face\s*/))return{type:"font-face",declarations:d()}}()||function(){var e=s(/^@media([^{]+)*/);if(e)return{type:"media",media:(e[1]||"").trim(),rules:n()}}()||t()||function(){var e=s(/^@supports *([^{]+)/);if(e)return{type:"supports",supports:e[1].trim(),rules:n()}}()||function(){var e=s(/^@([-\w]+)?document *([^{]+)/);if(e)return{type:"document",document:e[2].trim(),vendor:e[1]?e[1].trim():null,rules:n()}}()||function(){var e=s(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(e)return{type:"custom-media",name:e[1].trim(),media:e[2].trim()}}()||function(){if(s(/^@host\s*/))return{type:"host",rules:n()}}()||function(){if(s(/^@page */))return{type:"page",selectors:h()||[],declarations:d()}}()||function(){var e=s(/@(top|bottom|left|right)-(left|center|right|top|middle|bottom)-?(corner)?\s*/);if(e)return{type:"page-margin-box",name:"".concat(e[1],"-").concat(e[2])+(e[3]?"-".concat(e[3]):""),declarations:d()}}())||o.preserveStatic||(e.declarations?e.declarations.some(function(e){return/var\(/.test(e.value)}):(e.keyframes||e.rules||[]).some(function(e){return(e.declarations||[]).some(function(e){return/var\(/.test(e.value)})}))?e:{}}function n(e){if(!e&&!l())return a("missing '{'");for(var t,n=f();i.length&&(e||"}"!==i[0])&&(t=r()||function(){if(!o.preserveStatic){var e=p("{","}",i);if(e){var t=/:(?:root|host)(?![.:#(])/.test(e.pre)&&/--\S*\s*:/.test(e.body),n=/var\(/.test(e.body);if(!t&&!n)return i=i.slice(e.end+1),{}}}var r=h()||[],t=o.preserveStatic?d():d().filter(function(e){var t=r.some(function(e){return/:(?:root|host)(?![.:#(])/.test(e)})&&/^--\S/.test(e.property),e=/var\(/.test(e.value);return t||e});return r.length||a("selector missing"),{type:"rule",selectors:r,declarations:t}}());)t.type&&n.push(t),n=n.concat(f());return e||u()?n:a("missing '}'")}return{type:"stylesheet",stylesheet:{rules:n(!0),errors:[]}}}function O(e,t){var r=A({},{parseHost:!1,store:{},onWarning:function(){}},1<arguments.length&&void 0!==t?t:{}),n=new RegExp(":".concat(r.parseHost?"host":"root","$"));(e="string"==typeof e?C(e,r):e).stylesheet.rules.forEach(function(e){"rule"===e.type&&e.selectors.some(function(e){return n.test(e)})&&e.declarations.forEach(function(e,t){var n=e.property,e=e.value;n&&0===n.indexOf("--")&&(r.store[n]=e)})}),r.store}function E(e,t,n){var o=1<arguments.length&&void 0!==t?t:"",a=2<arguments.length?n:void 0,s={charset:function(e){return"@charset "+e.name+";"},comment:function(e){return 0===e.comment.indexOf("__CSSVARSPONYFILL")?"/*"+e.comment+"*/":""},"custom-media":function(e){return"@custom-media "+e.name+" "+e.media+";"},declaration:function(e){return e.property+":"+e.value+";"},document:function(e){return"@"+(e.vendor||"")+"document "+e.document+"{"+r(e.rules)+"}"},"font-face":function(e){return"@font-face{"+r(e.declarations)+"}"},host:function(e){return"@host{"+r(e.rules)+"}"},import:function(e){return"@import "+e.name+";"},keyframe:function(e){return e.values.join(",")+"{"+r(e.declarations)+"}"},keyframes:function(e){return"@"+(e.vendor||"")+"keyframes "+e.name+"{"+r(e.keyframes)+"}"},media:function(e){return"@media "+e.media+"{"+r(e.rules)+"}"},namespace:function(e){return"@namespace "+e.name+";"},page:function(e){return"@page "+(e.selectors.length?e.selectors.join(", "):"")+"{"+r(e.declarations)+"}"},"page-margin-box":function(e){return"@"+e.name+"{"+r(e.declarations)+"}"},rule:function(e){var t=e.declarations;if(t.length)return e.selectors.join(",")+"{"+r(t)+"}"},supports:function(e){return"@supports "+e.supports+"{"+r(e.rules)+"}"}};function r(e){for(var t="",n=0;n<e.length;n++){var r=e[n],i=(a&&a(r),s[r.type](r));i&&(t+=i,i.length)&&r.selectors&&(t+=o)}return t}return r(e.stylesheet.rules)}r.range=o;var l="--",u="var";function M(e,t){var s=A({},{preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},1<arguments.length&&void 0!==t?t:{});!function e(n,r){n.rules.forEach(function(t){t.rules?e(t,r):t.keyframes?t.keyframes.forEach(function(e){"keyframe"===e.type&&r(e.declarations,t)}):t.declarations&&r(t.declarations,n)})}((e="string"==typeof e?C(e,s):e).stylesheet,function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=r.type,o=r.property,a=r.value;"declaration"===i&&(!s.preserveVars&&o&&0===o.indexOf(l)?(e.splice(n,1),n--):-1!==a.indexOf(u+"(")&&(a=function i(e){var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};var a=2<arguments.length?arguments[2]:void 0;if(-1===e.indexOf("var("))return e;var t=p("(",")",e);function n(e){var t=e.split(",")[0].replace(/[\s\n\t]/g,""),n=(e.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],r=Object.prototype.hasOwnProperty.call(o.variables,t)?String(o.variables[t]):void 0,n=r||(n?String(n):void 0),e=a||e;return r||o.onWarning('variable "'.concat(t,'" is undefined')),n&&"undefined"!==n&&0<n.length?i(n,o,e):"var(".concat(e,")")}return t?"var"===t.pre.slice(-3)?0===t.body.trim().length?(o.onWarning("var() must contain a non-whitespace string"),e):t.pre.slice(0,-3)+n(t.body)+i(t.post,o):t.pre+"(".concat(i(t.body,o),")")+i(t.post,o):(-1!==e.indexOf("var(")&&o.onWarning('missing closing ")" in the value "'.concat(e,'"')),e)}(a,s))!==r.value&&(a=function(n){return(n.match(/calc\(([^)]+)\)/g)||[]).forEach(function(e){var t="calc".concat(e.split("calc").join(""));n=n.replace(e,t)}),n}(a),s.preserveVars?(e.splice(n,0,{type:i,property:o,value:a}),n++):r.value=a))}}),E(e)}var s="undefined"!=typeof window,f=s&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),P={group:0,job:0},h={rootElement:s?document:null,shadowDOM:!1,include:"style,link[rel=stylesheet]",exclude:"",variables:{},onlyLegacy:!0,preserveStatic:!0,preserveVars:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:null,onBeforeSend:function(){},onWarning:function(){},onError:function(){},onSuccess:function(){},onComplete:function(){}},k={cssComments:/\/\*[\s\S]+?\*\//g,cssKeyframes:/@(?:-\w*-)?keyframes/,cssMediaQueries:/@media[^{]+\{([\s\S]+?})\s*}/g,cssUrls:/url\((?!['"]?(?:data|http|\/\/):)['"]?([^'")]*)['"]?\)/g,cssVarDeclRules:/(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^}]*})/g,cssVarDecls:/(?:[\s;]*)(-{2}\w[\w-]*)(?:\s*:\s*)([^;]*);/g,cssVarFunc:/var\(\s*--[\w-]/,cssVars:/(?:(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^;]*;*\s*)|(?:var\(\s*))(--[^:)]+)(?:\s*[:)])/},T={dom:{},job:{},user:{}},I=!1,y=null,L=0,m=null,g=!1;
- /**
- * Fetches, parses, and transforms CSS custom properties from specified
- * <style> and <link> elements into static values, then appends a new <style>
- * element with static values to the DOM to provide CSS custom property
- * compatibility for legacy browsers. Also provides a single interface for
- * live updates of runtime values in both modern and legacy browsers.
- *
- * @preserve
- * @param {object} [options] Options object
- * @param {object} [options.rootElement=document] Root element to traverse for
- * <link> and <style> nodes
- * @param {boolean} [options.shadowDOM=false] Determines if shadow DOM <link>
- * and <style> nodes will be processed.
- * @param {string} [options.include="style,link[rel=stylesheet]"] CSS selector
- * matching <link re="stylesheet"> and <style> nodes to
- * process
- * @param {string} [options.exclude] CSS selector matching <link
- * rel="stylehseet"> and <style> nodes to exclude from those
- * matches by options.include
- * @param {object} [options.variables] A map of custom property name/value
- * pairs. Property names can omit or include the leading
- * double-hyphen (—), and values specified will override
- * previous values
- * @param {boolean} [options.onlyLegacy=true] Determines if the ponyfill will
- * only generate legacy-compatible CSS in browsers that lack
- * native support (i.e., legacy browsers)
- * @param {boolean} [options.preserveStatic=true] Determines if CSS
- * declarations that do not reference a custom property will
- * be preserved in the transformed CSS
- * @param {boolean} [options.preserveVars=false] Determines if CSS custom
- * property declarations will be preserved in the transformed
- * CSS
- * @param {boolean} [options.silent=false] Determines if warning and error
- * messages will be displayed on the console
- * @param {boolean} [options.updateDOM=true] Determines if the ponyfill will
- * update the DOM after processing CSS custom properties
- * @param {boolean} [options.updateURLs=true] Determines if the ponyfill will
- * convert relative url() paths to absolute urls
- * @param {boolean} [options.watch=false] Determines if a MutationObserver will
- * be created that will execute the ponyfill when a <link> or
- * <style> DOM mutation is observed
- * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
- * 1) the XHR object, 2) source node reference, and 3) the
- * source URL as arguments
- * @param {function} [options.onWarning] Callback after each CSS parsing warning
- * has occurred. Passes 1) a warning message as an argument.
- * @param {function} [options.onError] Callback after a CSS parsing error has
- * occurred or an XHR request has failed. Passes 1) an error
- * message, and 2) source node reference, 3) xhr, and 4 url as
- * arguments.
- * @param {function} [options.onSuccess] Callback after CSS data has been
- * collected from each node and before CSS custom properties
- * have been transformed. Allows modifying the CSS data before
- * it is transformed by returning any string value (or false
- * to skip). Passes 1) CSS text, 2) source node reference, and
- * 3) the source URL as arguments.
- * @param {function} [options.onComplete] Callback after all CSS has been
- * processed, legacy-compatible CSS has been generated, and
- * (optionally) the DOM has been updated. Passes 1) a CSS
- * string with CSS variable values resolved, 2) an array of
- * output <style> node references that have been appended to
- * the DOM, 3) an object containing all custom properies names
- * and values, and 4) the ponyfill execution time in
- * milliseconds.
- *
- * @example
- *
- * cssVars({
- * rootElement : document,
- * shadowDOM : false,
- * include : 'style,link[rel="stylesheet"]',
- * exclude : '',
- * variables : {},
- * onlyLegacy : true,
- * preserveStatic: true,
- * preserveVars : false,
- * silent : false,
- * updateDOM : true,
- * updateURLs : true,
- * watch : false,
- * onBeforeSend(xhr, node, url) {},
- * onWarning(message) {},
- * onError(message, node, xhr, url) {},
- * onSuccess(cssText, node, url) {},
- * onComplete(cssText, styleNode, cssVariables, benchmark) {}
- * });
- */function j(){var i,e,t,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},o="cssVars(): ",_=A({},h,n);function x(e,t,n,r){!_.silent&&window.console&&console.error("".concat(o).concat(e,"\n"),t),_.onError(e,t,n,r)}function w(e){!_.silent&&window.console&&console.warn("".concat(o).concat(e)),_.onWarning(e)}if(s)if(_.watch)_.watch=h.watch,i=_,window.MutationObserver&&(y&&(y.disconnect(),y=null),(y=new MutationObserver(function(e){e.some(function(e){var t,n=!1;return"attributes"===e.type?n=r(e.target):"childList"===e.type&&(t=e.addedNodes,n=Array.apply(null,t).some(function(e){var t=1===e.nodeType&&e.hasAttribute("data-cssvars"),n="STYLE"===(n=e).tagName&&!n.disabled&&k.cssVars.test(e.textContent);return!t&&(r(e)||n)})||(t=e.removedNodes,Array.apply(null,t).some(function(e){var t=1===e.nodeType,n=t&&"out"===e.getAttribute("data-cssvars"),t=t&&"src"===e.getAttribute("data-cssvars"),r=t;return(t||n)&&(n=e.getAttribute("data-cssvars-group"),e=i.rootElement.querySelector('[data-cssvars-group="'.concat(n,'"]')),t&&(B(i.rootElement),T.dom={}),e)&&e.parentNode.removeChild(e),r}))),n})&&j(i)})).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0})),j(_);else{if(!1===_.watch&&y&&(y.disconnect(),y=null),!_.__benchmark){if(I===_.rootElement)return void function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:100;clearTimeout(m),m=setTimeout(function(){e.__benchmark=null,j(e)},t)}(n);_.__benchmark=D(),_.exclude=[y?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',_.exclude].filter(function(e){return e}).join(","),_.variables=function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=/^-{2}/;return Object.keys(n).reduce(function(e,t){return e[r.test(t)?t:"--".concat(t.replace(/^-+/,""))]=n[t],e},{})}(_.variables),y||(Array.apply(null,_.rootElement.querySelectorAll('[data-cssvars="out"]')).forEach(function(e){var t=e.getAttribute("data-cssvars-group");(t?_.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(t,'"]')):null)||e.parentNode.removeChild(e)}),L&&(e=_.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])')).length<L&&(L=e.length,T.dom={}))}"loading"!==document.readyState?f&&_.onlyLegacy?_.updateDOM&&(t=_.rootElement.host||(_.rootElement===document?document.documentElement:_.rootElement),Object.keys(_.variables).forEach(function(e){t.style.setProperty(e,_.variables[e])})):!g&&(_.shadowDOM||_.rootElement.shadowRoot||_.rootElement.host)?a({rootElement:h.rootElement,include:h.include,exclude:_.exclude,onSuccess:function(e,t,n){return(e=((e=e.replace(k.cssComments,"").replace(k.cssMediaQueries,"")).match(k.cssVarDeclRules)||[]).join(""))||!1},onComplete:function(e,t,n){O(e,{store:T.dom,onWarning:w}),g=!0,j(_)}}):(I=_.rootElement,a({rootElement:_.rootElement,include:_.include,exclude:_.exclude,onBeforeSend:_.onBeforeSend,onError:function(e,t,n){var n=e.responseURL||v(n,location.href),r=e.statusText?"(".concat(e.statusText,")"):"Unspecified Error"+(0===e.status?" (possibly CORS related)":"");x("CSS XHR Error: ".concat(n," ").concat(e.status," ").concat(r),t,e,n)},onSuccess:function(e,t,n){var r,i,t=_.onSuccess(e,t,n);return e=void 0!==t&&!1===Boolean(t)?"":t||e,_.updateURLs&&(i=n,((r=e).replace(k.cssComments,"").match(k.cssUrls)||[]).forEach(function(e){var t=e.replace(k.cssUrls,"$1"),n=v(t,i);r=r.replace(e,e.replace(t,n))}),e=r),e},onComplete:function(e,r){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],n=A({},T.dom,T.user);if(T.job={},t.forEach(function(t,e){if(k.cssVars.test(r[e]))try{var n=C(r[e],{preserveStatic:_.preserveStatic,removeComments:!0});O(n,{parseHost:Boolean(_.rootElement.host),store:T.dom,onWarning:w}),t.__cssVars={tree:n}}catch(e){x(e.message,t)}}),A(T.job,T.dom),_.updateDOM?(A(T.user,_.variables),A(T.job,T.user)):(A(T.job,T.user,_.variables),A(n,_.variables)),0<P.job&&Boolean(Object.keys(T.job).length>Object.keys(n).length||Boolean(Object.keys(n).length&&Object.keys(T.job).some(function(e){return T.job[e]!==n[e]}))))B(_.rootElement),j(_);else{var a=[],s=[],l=!1;if(_.updateDOM&&P.job++,t.forEach(function(t){var e=!t.__cssVars;if(t.__cssVars)try{M(t.__cssVars.tree,A({},_,{variables:T.job,onWarning:w}));var n,r,i,o=E(t.__cssVars.tree);_.updateDOM?(t.getAttribute("data-cssvars")||t.setAttribute("data-cssvars","src"),o.length&&(n=t.getAttribute("data-cssvars-group")||++P.group,r=o.replace(/\s/g,""),i=_.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(n,'"]'))||document.createElement("style"),l=l||k.cssKeyframes.test(o),i.hasAttribute("data-cssvars")||i.setAttribute("data-cssvars","out"),r===t.textContent.replace(/\s/g,"")?(e=!0,i&&i.parentNode&&(t.removeAttribute("data-cssvars-group"),i.parentNode.removeChild(i))):r!==i.textContent.replace(/\s/g,"")&&([t,i].forEach(function(e){e.setAttribute("data-cssvars-job",P.job),e.setAttribute("data-cssvars-group",n)}),i.textContent=o,a.push(o),s.push(i),i.parentNode||t.parentNode.insertBefore(i,t.nextSibling)))):t.textContent.replace(/\s/g,"")!==o&&a.push(o)}catch(e){x(e.message,t)}e&&t.setAttribute("data-cssvars","skip"),t.hasAttribute("data-cssvars-job")||t.setAttribute("data-cssvars-job",P.job)}),L=_.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,_.shadowDOM)for(var i,o=[_.rootElement].concat(S(_.rootElement.querySelectorAll("*"))),u=0;i=o[u];++u)i.shadowRoot&&i.shadowRoot.querySelector("style")&&j(A({},_,{rootElement:i.shadowRoot}));if(_.updateDOM&&l){var t=_.rootElement,c=["animation-name","-moz-animation-name","-webkit-animation-name"].filter(function(e){return getComputedStyle(document.body)[e]})[0];if(c){for(var f=t.getElementsByTagName("*"),h=[],d="__CSSVARSPONYFILL-KEYFRAMES__",p=0,y=f.length;p<y;p++){var m=f[p];"none"!==getComputedStyle(m)[c]&&(m.style[c]+=d,h.push(m))}document.body.offsetHeight;for(var g=0,v=h.length;g<v;g++){var b=h[g].style;b[c]=b[c].replace(d,"")}}}I=!1,_.onComplete(a.join(""),s,JSON.parse(JSON.stringify(T.job)),D()-_.__benchmark)}}})):document.addEventListener("DOMContentLoaded",function e(t){j(n),document.removeEventListener("DOMContentLoaded",e)})}function r(e){return"LINK"===e.tagName&&-1!==(e.getAttribute("rel")||"").indexOf("stylesheet")&&!e.disabled}}function v(e,t){var t=1<arguments.length&&void 0!==t?t:location.href,n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(i),r.href=t,i.href=e,i.href}function D(){return s&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function B(e){Array.apply(null,e.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]')).forEach(function(e){return e.setAttribute("data-cssvars","")})}j.reset=function(){for(var e in P.job=0,P.group=0,I=!1,y&&(y.disconnect(),y=null),L=0,m=null,g=!1,T)T[e]={}},t.default=j},vjGd:function(e,t,n){"use strict";n.r(t);var r=n("kvrn"),i=n.n(r),r=n("YEIV"),o=n.n(r),r=n("TZE5"),a=n("TfX5"),s=n("2qPA");t.default={name:"ACardGrid",__ANT_CARD_GRID:!0,props:{prefixCls:r.a.string,hoverable:r.a.bool},inject:{configProvider:{default:function(){return a.a}}},render:function(){var e,t=arguments[0],n=this.$props,r=n.prefixCls,n=n.hoverable,n=void 0===n||n,r=(0,this.configProvider.getPrefixCls)("card",r),r=(e={},o()(e,r+"-grid",!0),o()(e,r+"-grid-hoverable",n),e);return t("div",i()([{on:Object(s.getListeners)(this)},{class:r}]),[this.$slots.default])}}},vkZI:function(e,t,n){"use strict";var r=n("p5Ma"),i=n("XaNE");e.exports=function(e){return r(i(e))}},vpOj:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e,t=this,n=t.$createElement,n=t._self._c||n;return n("div",{staticClass:"sm-component-collapse-card",style:t.getTextColorStyle},[t.iconClass?n("div",{class:((e={})["sm-component-collapse-card__icon"]=!0,e["is-"+t.position]=!0,e["is-click-"+(t.isShow?"out":"in")]=!0,e["is-not-header"]=!t.headerName,e["icon-box-shadow"]=!t.isShow,e),style:[t.collapseCardHeaderBgStyle,t.headingTextColorStyle],on:{click:t.iconClicked}},[n("i",{class:((e={})[t.iconClass]=!0,e["is-auto-rotate"]=t.autoRotate,e),style:t.iconStyle})]):t._e(),t._v(" "),n("transition",{attrs:{name:"sm-component-zoom-in"},on:{"after-leave":function(e){return t.toggleTransition("leave")},enter:function(e){return t.toggleTransition("enter")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}],class:((e={})["sm-component-collapse-card__content"]=!0,e["is-not-header"]=!t.headerName,e["is-"+t.position]=!0,e["is-icon"]=t.iconClass,e),style:t.getCardStyle},[t.headerName?n("div",{class:((e={"sm-component-collapse-card__header":!0,"with-split-line":t.splitLine})["is-"+t.position]=!0,e),style:[t.collapseCardHeaderBgStyle,t.headingTextColorStyle]},[n("span",{staticClass:"sm-component-collapse-card__header-name"},[t._v(t._s(t.headerName))])]):t._e(),t._v(" "),n("div",{staticClass:"sm-component-collapse-card__body",style:t.getCardStyle},[t._t("default")],2)])])],1)},i=[]},vrKp:function(e,t,n){"use strict";n("tZjp"),n("A2dy"),n("13vt"),n("D0VN"),n("ESVS"),n("jCYL")},vsHO:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAD+CAYAAABmz0wVAAAABGdBTUEAALGPC/xhBQAAG6VJREFUeAHt3XuwXmV9L/BnvZd9yYUUZEqwGEASSRCOLUJFLgZbUoFIpVWjE7zM1On0j17m/NWZetrpae3Y6eWPTm9qO/SiklOjnhZDBEusoAhSwBt4FEOQ62lQBBKS7Oz32t+z3r3TvWEDIXmsQj5v9s673met57fW+uSZeb55L+ut0mHejr36pqW79u5623A4fGOV0unDYVqe0nDxYZbVnQABAgQIEPiBClR7qyrtHKZ0V1VV1yxbvOxjj77p/CcPd5eRBQ791r5qy7vigP44DdNxh15FTwIECBAgQOCHLlClRyIU/Gb3iss+fDjHcsjBonXV1t9Ow8H72s1GWv3jx6aTj/mxdOySyTQ5NpbajUYaxFMX8ZP6w0F9nx8PZpa7g1iX/wwGaRBHHw9H62K518/bj/rmbXK/fmxQ18vbzvTJ2+T26Pr0tty/7hvPncTyaN+jbePhaF+5PfoOZ2vkY4vHuWa+5f3U93X/3GfUXh/bTO18Yrl5dl/1Mc5ul1tjefa4636jEgfacv3c7kaAAAECBH5kBKrG7/SuWP8Hh3o8hxQsxjZtfX9MvL+15rhj03kvX5GWtFspxfMpVZ5w80Qdy6NJNk/Uowk7T6D9AxPtzGQfc3ee3vNcXq+rJ/mZGnFGuVYOJnmOz9Pv7MSda/VyEKjbR7Xy/FyHmJnt6uOol6NvfQx5u1wn/5k5ruiU++UIkWvOHvMoDOR1o/ASq+ftPz+Yu03ebpjPvg4nuU5ejo1CdxRUYvlpfbJWNLoRIECAAIEfMYFGo/GHnY3r33soh/W8gkVMltXYpmv+IubMXz1rxUvTOSf+RL3POIB+YzDoDvv9iBR5vhxUMfHGPBs/eSHP8nlF3GKizX/lW6yOB3VDfuIgokXePv8VFXrdXvydu0ZLLpJ/o6Hf680sjNrz1rEy9Tu9On/EMeQpfTjI93llP+8slvMtasSjXC+aIobk9fFXTi55mygdG/Rn9pv7R51o7PfzseSd93OgiDPtRcfoX5fop3yycbxRIrfH7uOc8n7SMLYPlcFgtr2f+r2oG0/L1NvmAqPkcSj/dvoQIECAAIFDFmi0mo3hjx29qLFq5fHVmtWnpomJJXOLxYT+V52Nb/z1eP/F8/pf8EEHi7duHjb/pbP1ypgt3/2aCBRnnnB8asRem81qqtHNs3Q/nrbI+45nK/KMHUv1xB7TdizF3Jtn4Tp05Al5FB9irh5N8HWESP241TNz3NXzbWxV14rGPAEP8sQfU3vdP0/xB9q7de36cV6Z+9V3/SifJ/g80dcb1zVibWwSvzMZIhpjwo+Gevczd/l4c1aI5iqvqrePor3eaDlq5EOIPeTdDYcRLPoRIOoziRyRg8rMtjm15FAyOpfcP7JRivV52whKz+sfbO4/umUCBAgQIFBCoNFuN6o3rDuzWrFi5dx68VrEP14+tv49H99Q9ee2P9vyQQWLV99+e/tr39q5KQLCW849+WXplfESSBXvoxhvNndX3W5j7+NPdL5x05e23/3vt333if//yFS3282vLrgRIECAAAECLyCB1uvXvjKtWXPG/EOuPvGq1cs33nHWWd357Qs/es5gccLmmyd3dr//ydjwkvNPXpFO/fGX5P9op8l2e/dwen9131fveujaD155Z2e6I0wsbKyVAAECBAi8YARaF649PZ225vR5B1yla5e3X/LmhzacOzWvfYEHzxos6mtU7HnimkgSr3vdqpPSyUcvS41Glcaq5q5qen/jrhtv2v65j3zs2wvU1USAAAECBAi8QAUWChfx7ocbly05+rLnutbFMwaLozZfd8xUp3tdvI/i7AtXnpSOX7a0DhXjVbW7mppK37zplu2f++jm7S9QM4dNgAABAgQIPIvAguEipdsmx9oX795w8WPP1HXBYLF407bjOsP91zer6owLV56YjlsabxSNLceGwyebne7gm1+4efuNmz5+zzMV1U6AAAECBAi88AUWDBdVdedYNbFu78aLHlnoDJ8WLCY3X7+i153eFhe5WrV21YnpmEWT8emPRmr3u3siVHTv/uKXdnz+/3xSqFhIUxsBAgQIEHiRCTxDuNjeao9fNLVh3QNPPd15wWL8qi2r4oOQ28ZarRVr45mKoybG6o+UtvuDPc3909N333zrvV/c/H93PLWIxwQIECBAgMCLV2DBcJHSA/G2y4umr7hs3tsiDgSLsY9uPSMua3X9ZKt13PlxNc2lE+O10Fi3u7fd7Uzd/cVb7735E1ff++Jlc2YECBAgQIDAMwksFC7ibRKPNIaNdZ13rL9ztl8dLNr/dO3ZcQGn6xa328ecd/IJaVF830dcaSu1utN72tOdfdtvufW+Wz65RaiYVXNPgAABAgSOQIGFw0X1WNVsXtx9+yW3ZZKqtenTa+MqkFviGYqlrz3phHzRq7j4VZXanQgVU/v3bL/1tvtv/eet3zkC/ZwyAQIECBAg8BSBBcNFSk+mRvOy3sZLb6xaV23Zt2xiYvLsl/1EGm836qtytzudJ8en9+/dfstt9/37pz5931NqekiAAAECBAgcwQILhosqTTWHzTe3jp6YnDzzZctTfBdJfPVFSq39U7ubU1N7vn37l++/7VPX3n8Euzl1AgQIECBAYAGB3g033hVfEJbmXaEzLsodX715deunTlhef/IjvpgrtaciVOzdt3v77V958MtbPyNULICpiQABAgQIEEhpwXCRhu1W/obS+O7NNL5valdr/77dO2778oNf+fT1T/tcKkQCBAgQIECAwFyBhcJFK4eK9tS+Jxp79+zaccfXHvrqddsenNvJMgECBAgQIEDgmQSeGi5azX17H2/u3v3EvV/5+sNf/9d/e+iZOmonQIAAAQIECCwkMDdctCJUPL7jjq88/I1tNz680MbaCBAgQIAAAQLPJTAbLprtVae/5Ruf/bxQ8Vxi1hMgQIAAAQLPKjC47/7vNr/XG/+5Z93KSgIECBAgQIDAQQrEFbHcCBAgQIAAAQJlBASLMo6qECBAgAABAiEgWBgGBAgQIECAQDEBwaIYpUIECBAgQICAYGEMECBAgAABAsUEBItilAoRIECAAAECgoUxQIAAAQIECBQTECyKUSpEgAABAgQICBbGAAECBAgQIFBMQLAoRqkQAQIECBAgIFgYAwQIECBAgEAxAcGiGKVCBAgQIECAgGBhDBAgQIAAAQLFBASLYpQKESBAgAABAoKFMUCAAAECBAgUExAsilEqRIAAAQIECAgWxgABAgQIECBQTECwKEapEAECBAgQICBYGAMECBAgQIBAMQHBohilQgQIECBAgIBgYQwQIECAAAECxQQEi2KUChEgQIAAAQKChTFAgAABAgQIFBMQLIpRKkSAAAECBAgIFsYAAQIECBAgUExAsChGqRABAgQIECAgWBgDBAgQIECAQDEBwaIYpUIECBAgQICAYGEMECBAgAABAsUEBItilAoRIECAAAECgoUxQIAAAQIECBQTECyKUSpEgAABAgQICBbGAAECBAgQIFBMQLAoRqkQAQIECBAgIFgYAwQIECBAgEAxAcGiGKVCBAgQIECAgGBhDBAgQIAAAQLFBASLYpQKESBAgAABAoKFMUCAAAECBAgUExAsilEqRIAAAQIECAgWxgABAgQIECBQTECwKEapEAECBAgQICBYGAMECBAgQIBAMQHBohilQgQIECBAgIBgYQwQIECAAAECxQQEi2KUChEgQIAAAQKChTFAgAABAgQIFBMQLIpRKkSAAAECBAgIFsYAAQIECBAgUExAsChGqRABAgQIECAgWBgDBAgQIECAQDEBwaIYpUIECBAgQICAYGEMECBAgAABAsUEBItilAoRIECAAAECgoUxQIAAAQIECBQTECyKUSpEgAABAgQICBbGAAECBAgQIFBMQLAoRqkQAQIECBAgIFgYAwQIECBAgEAxAcGiGKVCBAgQIECAgGBhDBAgQIAAAQLFBASLYpQKESBAgAABAoKFMUCAAAECBAgUExAsilEqRIAAAQIECAgWxgABAgQIECBQTECwKEapEAECBAgQICBYGAMECBAgQIBAMQHBohilQgQIECBAgIBgYQwQIECAAAECxQQEi2KUChEgQIAAAQKChTFAgAABAgQIFBMQLIpRKkSAAAECBAgIFsYAAQIECBAgUExAsChGqRABAgQIECAgWBgDBAgQIECAQDEBwaIYpUIECBAgQICAYGEMECBAgAABAsUEBItilAoRIECAAAECgoUxQIAAAQIECBQTECyKUSpEgAABAgQICBbGAAECBAgQIFBMQLAoRqkQAQIECBAgIFgYAwQIECBAgEAxAcGiGKVCBAgQIECAgGBhDBAgQIAAAQLFBASLYpQKESBAgAABAoKFMUCAAAECBAgUExAsilEqRIAAAQIECAgWxgABAgQIECBQTECwKEapEAECBAgQICBYGAMECBAgQIBAMQHBohilQgQIECBAgIBgYQwQIECAAAECxQQEi2KUChEgQIAAAQKChTFAgAABAgQIFBMQLIpRKkSAAAECBAgIFsYAAQIECBAgUExAsChGqRABAgQIECAgWBgDBAgQIECAQDEBwaIYpUIECBAgQICAYGEMECBAgAABAsUEBItilAoRIECAAAECgoUxQIAAAQIECBQTECyKUSpEgAABAgQICBbGAAECBAgQIFBMQLAoRqkQAQIECBAgIFgYAwQIECBAgEAxAcGiGKVCBAgQIECAgGBhDBAgQIAAAQLFBASLYpQKESBAgAABAoKFMUCAAAECBAgUExAsilEqRIAAAQIECAgWxgABAgQIECBQTECwKEapEAECBAgQICBYGAMECBAgQIBAMQHBohilQgQIECBAgIBgYQwQIECAAAECxQQEi2KUChEgQIAAAQKChTFAgAABAgQIFBMQLIpRKkSAAAECBAgIFsYAAQIECBAgUExAsChGqRABAgQIECAgWBgDBAgQIECAQDEBwaIYpUIECBAgQICAYGEMECBAgAABAsUEBItilAoRIECAAAECgoUxQIAAAQIECBQTECyKUSpEgAABAgQICBbGAAECBAgQIFBMQLAoRqkQAQIECBAgIFgYAwQIECBAgEAxAcGiGKVCBAgQIECAgGBhDBAgQIAAAQLFBASLYpQKESBAgAABAoKFMUCAAAECBAgUExAsilEqRIAAAQIECAgWxgABAgQIECBQTECwKEapEAECBAgQICBYGAMECBAgQIBAMQHBohilQgQIECBAgIBgYQwQIECAAAECxQQEi2KUChEgQIAAAQKChTFAgAABAgQIFBMQLIpRKkSAAAECBAgIFsYAAQIECBAgUExAsChGqRABAgQIECAgWBgDBAgQIECAQDEBwaIYpUIECBAgQICAYGEMECBAgAABAsUEBItilAoRIECAAAECgoUxQIAAAQIECBQTECyKUSpEgAABAgQICBbGAAECBAgQIFBMQLAoRqkQAQIECBAgIFgYAwQIECBAgEAxAcGiGKVCBAgQIECAgGBhDBAgQIAAAQLFBASLYpQKESBAgAABAoKFMUCAAAECBAgUExAsilEqRIAAAQIECAgWxgABAgQIECBQTECwKEapEAECBAgQICBYGAMECBAgQIBAMQHBohilQgQIECBAgIBgYQwQIECAAAECxQQEi2KUChEgQIAAAQKChTFAgAABAgQIFBMQLIpRKkSAAAECBAgIFsYAAQIECBAgUExAsChGqRABAgQIECAgWBgDBAgQIECAQDEBwaIYpUIECBAgQICAYGEMECBAgAABAsUEBItilAoRIECAAAECgoUxQIAAAQIECBQTECyKUSpEgAABAgQICBbGAAECBAgQIFBMQLAoRqkQAQIECBAgIFgYAwQIECBAgEAxAcGiGKVCBAgQIECAgGBhDBAgQIAAAQLFBASLYpQKESBAgAABAoKFMUCAAAECBAgUExAsilEqRIAAAQIECAgWxgABAgQIECBQTECwKEapEAECBAgQICBYGAMECBAgQIBAMQHBohilQgQIECBAgIBgYQwQIECAAAECxQQEi2KUChEgQIAAAQKChTFAgAABAgQIFBMQLIpRKkSAAAECBAgIFsYAAQIECBAgUExAsChGqRABAgQIECAgWBgDBAgQIECAQDEBwaIYpUIECBAgQICAYGEMECBAgAABAsUEBItilAoRIECAAAECgoUxQIAAAQIECBQTECyKUSpEgAABAgQICBbGAAECBAgQIFBMQLAoRqkQAQIECBAgIFgYAwQIECBAgEAxAcGiGKVCBAgQIECAQCNV6ToMBAgQIECAAIHDFfipS9etaKR1Z38kVY07DreY/gQIECBAgMCRK3Dm+jeceMrZr17RTDfcMEynnPvlNJh6VXAcfeSSOHMCBAgQIEDgUATOuuySE1e+5tUn9hYvXtoYu2rL/043/MP+VA3/JFXV9w+loD4ECBAgQIDAkSnw0z9/6UmrzjnrpP7iJUsHk5NHNQbD9Lt1uLhp6+Op2fyjlKqpI5PGWRMgQIAAAQLPR+A1l68/+RXn/vRJ/UWLlvbGx5c2qirVnwo5EC4+f/WDqdn4s3jmYvB8CtuWAAECBAgQOLIEzvnFnz959QWvPbm3aNGSwcTkkmajSoNIDwc+bnogXHzhU19Pw+rKI4vH2RIgQIAAAQIHK/Dat7zp5avPO+fl3bHxxcOJ8SXxREUaDofp9gcf/q9gkYsdCBc3b/m31Bh+6mB3YDsCBAgQIEDgyBA4b8MvnrLm/HNP6U+MLx6MR7AYptTrD9PN33koPbJnbydfx2LeeyoOhIsvbP2n1Ki+dGQwOUsCBAgQIEDguQTOf/svrFxz3mtOiUCxKP/Gqx+p3x+kL957f3p0376p5rB5eQSL5iVR6Mm5xepwsema303HT34ggsf2uessEyBAgAABAkeewNqNb1152gXnrxyMT0z2x9qT8eJH6vQG6YZ77kuPTe1/MueJ6Xdcem2jt/HSG6tW62fjDZuPzWWqw8Xl73pv6g3+ND4p8t256ywTIECAAAECR47AhVdsWLXmgnNXDcfbE8Ox1mQ8UZGmu9302W/vSLumO4/lHJHzRBbJ6+rb2Ee3njGoBtdHADluti3fx9Mcv9f54N9/KA2m3xfrFs9dZ5kAAQIECBB4cQu8/p1ve0UOFb1GY6zXao3nZyp2T02n6791b9rb6z7SGDbWdd6x/s5ZhQPBIjeMX7VlVTxTsS3eh7FidoN8X4eLD33wY6mf/lfUa85dZ5kAAQIECBB4cQr8zLve/orT155/ar/RaHciWAwjBDy2Zyr9azxTMd3tPxD54KLpKy6b95aJecEis0xuvn5Frzu9LT42smouUx0uPvA32+JDqr86t90yAQIECBAg8OITuOjdG0995esjVKTU6jdbY4P4+Mf39uxLn/nmPakzGGxvtccvmtqw7oGnnvnTgkXeYPGmbcd1hvuvj3BxxtwOdbj467+N61z03zq33TIBAgQIECDw4hH4uV965+ozLjxvda+qmvHbHsTLGf+xa0/6zN07Um84vHOsmli3d+NFjyx0xgsGi7zhUZuvO2aq070uXhY5e27HOlz81QdzsdfNbbdMgAABAgQIvPAF3vCed6454/UXnDpoNFr9VLX6cTnNBx5/IkLFd+JFi8Ftk2Pti3dvuHjeBz7mnvUzBou80bFX37R0157Ht8SzH2vndmqk4e93PvChXrzUctrcdssECBAgQIDAC1fgkl9+92n/42cuWB3Xu2r24vOj8eRC2v6976dtESqG1fDGZUuOvuzRN50/7xIVTz3bZw0WeeMTNt88ubP7/U9GiMjXuzhwa/S77+986O8m4t2hLz3QaIEAAQIECBB4wQmMTUw0Lv+fv3LmyjN/8qR4T0WVg8VgOEj/b+ej6bPbI1SkdO3y9kve/NCGc+ddVHOhE33OYJE7vfr229tf+9bOTREi3jK3SGN6+k86V/79smg7am67ZQIECBAgQOBHW2BsfKxxzEuXLzrt3HOO/8mfXXvqxNLFk/EKRYSKYSN/E+lXH9qZbthxfyxVn3jV6uUb7zjrrO7BnNFBBYtc6K2bh81/6Wy9Mj5q8u65hav9+z/e/+imzqDT8THUuTCWCRAgQOAHJtCIN/zFhR2rqtGMn1a8xTA/iuV2Xo77vEFe3WqN7uNxozXq1Gy1okurGsZ3fDdyn2Z8hVZeyn2azRR9Gnl5GL/N6FNvGPUbsWFcfyGuBdXK5eMAomZ8pWddIK/K/eu2vE07b1H3qfcTj3LNaMjH3WjmwnHt6ziQ6BEHkOvnNXHsM0eTa8cuo099i61Gy/ECRT6/ul6+ena9nB/ns5n5qe+bzXa01Yc1UyHu8vnV2+Z++UjiMPJW8Zu/86M/HNT3X7r/4XTTvQ/Exa6qf7x8bP17Pr6hiicyDu520MEil4tPiVRjm7b+edz/2rzy/f7O4dfvfHiw/Z7/qJ54fN+gFxcOdyNAgAABAj9AgTpQNIYxAccEmr+zO8+b4+MxS8bcGRNoPMwzfEycsS7PuTlY5G3qST0CSPzEdB0zekyvOTTEf4+bMXs3WmPRFLc8A+eJN37jKzvjfmYSz/3r+T/W54m6Dhej7etpOib+Vp0i8rTezDkg9htdYvP8OI4v2mKDvNjIE330GoWGel95t3WqGN3VbbE4Oo7RCdThIOebOsjkw8znH3Xj4OM3b51JcuH6Z6Ytb9gIirpI9Mn9ZnYch9Lv96v8noov7Hgg3RLBIkr8ZWfj+t+I+9x80LfnFSxmq0a4eH+8M/S3Zh+7J0CAAAEC/60C+b/XMRnGpFfvNqbM/LC+nPSoLebs/Dg3jjatH8c7ECM8REqYOdjcL/eq+9bLES5Gc3T99d+z7blOvW3Uirm6Xs49D+x3dn3dVk/eo/1Fe2wdy8N627yjOk/kpyuiQCSD+hhznbpW7j+z/5wb6vV1fJhZX9cbHW8Eh6hVH330mTmWvLd4UMVJRwyKcxmda66d9xv5pt7P7P5G+x8dw5PTnfS5e+6P91V8L9f4wwgV743Ded637HJIt9ZVW387DQfvO6TOOhEgQIAAgcMQyP+FzpN9nsTyJJpn6fpPnqxn2vOaPEmPtsrtox3Ors/3o21y+8xyHQDypB+P4ydPy/Vi/JUn4fwgt40m8tGknSfr/H/6OnzU+4twEtvV+43Heb+5ejx3UN/Xr3nEUjy3MJro67Kj/cw9thwKDjyu6+RtRvVyxbxu3jZ5Xd6u3le999Hjuk8j5aASi3W/3LcbHyOd6nTSY3v3p3sefSx967uPpk5+waFq/E7vivV/EGUO6ZbP9ZBv7au2vCss/zj+Ted9v8ghF9SRAAECBAgQ+OEIVOmRCAW/2b3isg8fzgEcVrDIO66vdbF319vifRdvjGKnx7NTy+N5J19Wdjj/KvoSIECAAIEfuEC1N5642BlPENwVz4Rcs2zxso891zUqDuaQ/hOJLHziXn7NhAAAAABJRU5ErkJggg=="},vwuL:function(e,t,n){var r=n("NV0k"),i=n("rr1i"),o=n("NsO/"),a=n("G8Mo"),s=n("B+OT"),l=n("eUtF"),u=Object.getOwnPropertyDescriptor;t.f=n("jmDH")?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},vyqP:function(e,t,n){"use strict";n.r(t);var r,i=n("ilQ7"),o=n("FXEt");for(r in o)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return o[e]})}(r);var a=n("KHd+"),a=Object(a.a)(o.default,i.a,i.b,!1,null,null,null);t.default=a.exports},"w/wX":function(e,t,n){var r=n("QqLw"),i=n("ExA7");e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},w0Wi:function(e,t,n){!function(d){function r(e){var t;return(i[e]||(t=i[e]={i:e,l:!1,exports:{}},n[e].call(t.exports,t,t.exports,r),t.l=!0,t)).exports}var n,i;e.exports=(n=[function(e,t){function r(e,t){var n=e[1]||"",r=e[3];return r?(t&&"function"==typeof btoa?(e="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */",[n].concat(r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"})).concat([e])):[n]).join("\n"):n}e.exports=function(n){var a=[];return a.toString=function(){return this.map(function(e){var t=r(e,n);return e[2]?"@media "+e[2]+"{"+t+"}":t}).join("")},a.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(n[i]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&n[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),a.push(o))}},a}},function(e,t,n){function l(e){for(var t=0;t<e.length;t++){var n=e[t],r=c[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(a(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var o=[],i=0;i<n.parts.length;i++)o.push(a(n.parts[i]));c[n.id]={id:n.id,refs:1,parts:o}}}}function o(){var e=document.createElement("style");return e.type="text/css",f.appendChild(e),e}function a(t){var e,n,r,i=document.querySelector("style["+g+'~="'+t.id+'"]');if(i){if(p)return y;i.parentNode.removeChild(i)}return r=v?(e=d++,i=h=h||o(),n=s.bind(null,i,e,!1),s.bind(null,i,e,!0)):(i=o(),n=function(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),m.ssrId&&e.setAttribute(g,t.id),i&&(n=(n+="\n/*# sourceURL="+i.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,i),function(){i.parentNode.removeChild(i)}),n(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||n(t=e):r()}}function s(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=b(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i,u=n(64),c={},f=r&&(document.head||document.getElementsByTagName("head")[0]),h=null,d=0,p=!1,y=function(){},m=null,g="data-vue-ssr-id",v="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase()),b=(e.exports=function(a,e,t,n){p=t,m=n||{};var s=u(a,e);return l(s),function(e){for(var t=[],n=0;n<s.length;n++){var r=s[n];(i=c[r.id]).refs--,t.push(i)}e?l(s=u(a,e)):s=[];for(var i,n=0;n<t.length;n++)if(0===(i=t[n]).refs){for(var o=0;o<i.parts.length;o++)i.parts[o]();delete c[i.id]}}},i=[],function(e,t){return i[e]=t,i.filter(Boolean).join("\n")})},function(e,t){e.exports=function(e,t,n,r,i,o){var a,s,l,u=e=e||{},c=typeof e.default,c="function"==typeof(u="object"!=c&&"function"!=c?u:(a=e).default)?u.options:u;return t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i),o?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=s):r&&(s=r),s&&(e=c.functional,l=e?c.render:c.beforeCreate,e?(c._injectStyles=s,c.render=function(e,t){return s.call(t),l(e,t)}):c.beforeCreate=l?[].concat(l,s):[s]),{esModule:a,exports:u,options:c}}},function(e,t,n){"use strict";function r(e,t){var n,r=e&&e.a,r=(!(n=e&&e.hsl?(0,o.default)(e.hsl):e&&e.hex&&0<e.hex.length?(0,o.default)(e.hex):e&&e.hsv?(0,o.default)(e.hsv):e&&e.rgba?(0,o.default)(e.rgba):e&&e.rgb?(0,o.default)(e.rgb):(0,o.default)(e))||void 0!==n._a&&null!==n._a||n.setAlpha(r||1),n.toHsl()),i=n.toHsv();return 0===r.s&&(i.h=r.h=e.h||e.hsl&&e.hsl.h||t||0),{hsl:r,hex:n.toHexString().toUpperCase(),hex8:n.toHex8String().toUpperCase(),rgba:n.toRgb(),hsv:i,oldHue:e.h||t||r.h,source:e.source,a:e.a||n.getAlpha()}}Object.defineProperty(t,"__esModule",{value:!0});var n=n(65),o=n&&n.__esModule?n:{default:n};t.default={props:["value"],data:function(){return{val:r(this.value)}},computed:{colors:{get:function(){return this.val},set:function(e){this.val=e,this.$emit("input",e)}}},watch:{value:function(e){this.val=r(e)}},methods:{colorChange:function(e,t){this.oldHue=this.colors.hsl.h,this.colors=r(e,t||this.oldHue)},isValidHex:function(e){return(0,o.default)(e).isValid()},simpleCheckForValidColor:function(e){for(var t=["r","g","b","a","h","s","l","v"],n=0,r=0,i=0;i<t.length;i++){var o=t[i];e[o]&&(n++,isNaN(e[o])||r++)}if(n===r)return e},paletteUpperCase:function(e){return e.map(function(e){return e.toUpperCase()})},isTransparent:function(e){return 0===(0,o.default)(e).getAlpha()}}}},function(e,t){e=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(36),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(68),o=n(2)(o.a,a.a,!1,function(e){n(66)},null,null);o.options.__file="src/components/common/EditableInput.vue",t.default=o.exports},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(8),i=n(18);e.exports=n(9)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(16),i=n(42),o=n(25),a=Object.defineProperty;t.f=n(9)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(90),i=n(24);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(29)("wks"),i=n(19),o=n(4).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(51),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(113),o=n(2)(o.a,a.a,!1,function(e){n(111)},null,null);o.options.__file="src/components/common/Hue.vue",t.default=o.exports},function(e,t){e.exports=!0},function(e,t){e=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},function(e,t,n){var r=n(12);e.exports=function(e){if(r(e))return e;throw TypeError(e+" is not an object!")}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(54),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(127),o=n(2)(o.a,a.a,!1,function(e){n(123)},null,null);o.options.__file="src/components/common/Saturation.vue",t.default=o.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(55),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(133),o=n(2)(o.a,a.a,!1,function(e){n(128)},null,null);o.options.__file="src/components/common/Alpha.vue",t.default=o.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(56),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(132),o=n(2)(o.a,a.a,!1,function(e){n(130)},null,null);o.options.__file="src/components/common/Checkboard.vue",t.default=o.exports},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:n)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(12);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e))||"function"==typeof(n=e.valueOf)&&!i(r=n.call(e))||!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,n){var r=n(46),i=n(30);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(29)("keys"),i=n(19);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(15),i=n(4),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(8).f,i=n(6),o=n(11)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){t.f=n(11)},function(e,t,n){var r=n(4),i=n(15),o=n(14),a=n(32),s=n(8).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=!o&&r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(3)),n=r(n(5)),o=["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#CCCCCC","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"];t.default={name:"Compact",mixins:[i.default],props:{palette:{type:Array,default:function(){return o}}},components:{"ed-in":n.default},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"editableInput",props:{label:String,labelText:String,desc:String,value:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get:function(){return this.value},set:function(e){if(!(void 0!==this.max&&+e>this.max))return e;this.$refs.input.value=this.max}},labelId:function(){return"input__label__"+this.label+"__"+Math.random().toString().slice(2,5)},labelSpanText:function(){return this.labelText||this.label}},methods:{update:function(e){this.handleChange(e.target.value)},handleChange:function(e){var t={};t[this.label]=e,(void 0===t.hex&&void 0===t["#"]||5<e.length)&&this.$emit("change",t)},handleKeyDown:function(e){var t,n=this.val,r=Number(n);r&&(t=this.arrowOffset||1,38===e.keyCode&&(this.handleChange(n=r+t),e.preventDefault()),40===e.keyCode)&&(this.handleChange(n=r-t),e.preventDefault())}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=n(3),n=n&&n.__esModule?n:{default:n},r=["#FFFFFF","#F2F2F2","#E6E6E6","#D9D9D9","#CCCCCC","#BFBFBF","#B3B3B3","#A6A6A6","#999999","#8C8C8C","#808080","#737373","#666666","#595959","#4D4D4D","#404040","#333333","#262626","#0D0D0D","#000000"];t.default={name:"Grayscale",mixins:[n.default],props:{palette:{type:Array,default:function(){return r}}},components:{},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(5)),n=r(n(3));t.default={name:"Material",mixins:[n.default],components:{"ed-in":i.default},methods:{onChange:function(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(81)),o=r(n(3)),n=r(n(13));t.default={name:"Slider",mixins:[o.default],props:{swatches:{type:Array,default:function(){return[{s:.5,l:.8},{s:.5,l:.65},{s:.5,l:.5},{s:.5,l:.35},{s:.5,l:.2}]}}},components:{hue:n.default},computed:{normalizedSwatches:function(){return this.swatches.map(function(e){return"object"!==(void 0===e?"undefined":(0,i.default)(e))?{s:.5,l:e}:e})}},methods:{isActive:function(e,t){var n=this.colors.hsl;return 1===n.l&&1===e.l||0===n.l&&0===e.l||Math.abs(n.l-e.l)<.01&&Math.abs(n.s-e.s)<.01},hueChange:function(e){this.colorChange(e)},handleSwClick:function(e,t){this.colorChange({h:this.colors.hsl.h,s:t.s,l:t.l,source:"hsl"})}}}},function(e,t,n){"use strict";function g(){return this}var v=n(14),b=n(41),_=n(44),x=n(7),w=n(26),A=n(88),S=n(31),C=n(95),O=n(11)("iterator"),E=!([].keys&&"next"in[].keys());e.exports=function(e,t,n,r,i,o,a){A(n,t,r);function s(e){if(!E&&e in h)return h[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}}var l,u,r=t+" Iterator",c="values"==i,f=!1,h=e.prototype,d=h[O]||h["@@iterator"]||i&&h[i],p=d||s(i),y=i?c?s("entries"):p:void 0,m="Array"==t&&h.entries||d;if(m&&(m=C(m.call(new e)))!==Object.prototype&&m.next&&(S(m,r,!0),v||"function"==typeof m[O]||x(m,O,g)),c&&d&&"values"!==d.name&&(f=!0,p=function(){return d.call(this)}),v&&!a||!E&&!f&&h[O]||x(h,O,p),w[t]=p,w[r]=g,i)if(l={values:c?p:s("values"),keys:o?p:s("keys"),entries:y},a)for(u in l)u in h||_(h,u,l[u]);else b(b.P+b.F*(E||f),t,l);return l}},function(e,t,n){function y(e,t,n){var r,i,o,a=e&y.F,s=e&y.G,l=e&y.S,u=e&y.P,c=e&y.B,f=e&y.W,h=s?g:g[t]||(g[t]={}),d=h.prototype,p=s?m:l?m[t]:(m[t]||{}).prototype;for(r in n=s?t:n)(i=!a&&p&&void 0!==p[r])&&_(h,r)||(o=(i?p:n)[r],h[r]=s&&"function"!=typeof p[r]?n[r]:c&&i?v(o,m):f&&p[r]==o?function(r){function e(e,t,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,n)}return r.apply(this,arguments)}return e.prototype=r.prototype,e}(o):u&&"function"==typeof o?v(Function.call,o):o,u&&((h.virtual||(h.virtual={}))[r]=o,e&y.R)&&d&&!d[r]&&b(d,r,o))}var m=n(4),g=n(15),v=n(86),b=n(7),_=n(6);y.F=1,y.G=2,y.S=4,y.P=8,y.B=16,y.W=32,y.U=64,y.R=128,e.exports=y},function(e,t,n){e.exports=!n(9)&&!n(17)(function(){return 7!=Object.defineProperty(n(43)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(12),i=n(4).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(7)},function(e,t,n){function r(){}var i=n(16),o=n(89),a=n(30),s=n(28)("IE_PROTO"),l=function(){var e=n(43)("iframe"),t=a.length;for(e.style.display="none",n(94).appendChild(e),e.src="javascript:",(e=e.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;t--;)delete l.prototype[a[t]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(r.prototype=i(e),n=new r,r.prototype=null,n[s]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var a=n(6),s=n(10),l=n(91)(!1),u=n(28)("IE_PROTO");e.exports=function(e,t){var n,r=s(e),i=0,o=[];for(n in r)n!=u&&a(r,n)&&o.push(n);for(;t.length>i;)!a(r,n=t[i++])||~l(o,n)||o.push(n);return o}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(24);e.exports=function(e){return Object(r(e))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(46),i=n(30).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"Hue",props:{value:Object,direction:{type:String,default:"horizontal"}},data:function(){return{oldHue:0,pullDirection:""}},computed:{colors:function(){var e=this.value.hsl.h;return 0!==e&&0<e-this.oldHue&&(this.pullDirection="right"),0!==e&&e-this.oldHue<0&&(this.pullDirection="left"),this.oldHue=e,this.value},directionClass:function(){return{"vc-hue--horizontal":"horizontal"===this.direction,"vc-hue--vertical":"vertical"===this.direction}},pointerTop:function(){return"vertical"!==this.direction||0===this.colors.hsl.h&&"right"===this.pullDirection?0:-100*this.colors.hsl.h/360+100+"%"},pointerLeft:function(){return"vertical"===this.direction?0:0===this.colors.hsl.h&&"right"===this.pullDirection?"100%":100*this.colors.hsl.h/360+"%"}},methods:{handleChange:function(e,t){t||e.preventDefault();var n,r,i,t=this.$refs.container;t&&(n=t.clientWidth,r=t.clientHeight,i=t.getBoundingClientRect().left+window.pageXOffset,t=t.getBoundingClientRect().top+window.pageYOffset,i=(e.pageX||(e.touches?e.touches[0].pageX:0))-i,e=(e.pageY||(e.touches?e.touches[0].pageY:0))-t,t="vertical"===this.direction?e<0?360:r<e?0:360*(-100*e/r+100)/100:i<0?0:n<i?360:360*(100*i/n)/100,this.colors.hsl.h!==t)&&this.$emit("change",{h:t,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"})},handleMouseDown:function(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(e){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i,o=r(n(118)),n=r(n(3)),a=["900","700","500","300","100"],s=(i=[],["red","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","blueGrey","black"].forEach(function(t){var n=[];"black"===t.toLowerCase()||"white"===t.toLowerCase()?n=n.concat(["#000000","#FFFFFF"]):a.forEach(function(e){e=o.default[t][e];n.push(e.toUpperCase())}),i.push(n)}),i);t.default={name:"Swatches",mixins:[n.default],props:{palette:{type:Array,default:function(){return s}}},computed:{pick:function(){return this.colors.hex}},methods:{equal:function(e){return e.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(3)),o=r(n(5)),a=r(n(20)),s=r(n(13)),n=r(n(21));t.default={name:"Photoshop",mixins:[i.default],props:{head:{type:String,default:"Color Picker"},disableFields:{type:Boolean,default:!1},hasResetButton:{type:Boolean,default:!1},acceptLabel:{type:String,default:"OK"},cancelLabel:{type:String,default:"Cancel"},resetLabel:{type:String,default:"Reset"},newLabel:{type:String,default:"new"},currentLabel:{type:String,default:"current"}},components:{saturation:a.default,hue:s.default,alpha:n.default,"ed-in":o.default},data:function(){return{currentColor:"#FFF"}},computed:{hsv:function(){var e=this.colors.hsv;return{h:e.h.toFixed(),s:(100*e.s).toFixed(),v:(100*e.v).toFixed()}},hex:function(){var e=this.colors.hex;return e&&e.replace("#","")}},created:function(){this.currentColor=this.colors.hex},methods:{childChange:function(e){this.colorChange(e)},inputChange:function(e){e&&(e["#"]?this.isValidHex(e["#"])&&this.colorChange({hex:e["#"],source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.v)&&this.colorChange({h:e.h||this.colors.hsv.h,s:e.s/100||this.colors.hsv.s,v:e.v/100||this.colors.hsv.v,source:"hsv"}))},clickCurrentColor:function(){this.colorChange({hex:this.currentColor,source:"hex"})},handleAccept:function(){this.$emit("ok")},handleCancel:function(){this.$emit("cancel")},handleReset:function(){this.$emit("reset")}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(125)),n=r(n(126));t.default={name:"Saturation",props:{value:Object},computed:{colors:function(){return this.value},bgColor:function(){return"hsl("+this.colors.hsv.h+", 100%, 50%)"},pointerTop:function(){return-100*this.colors.hsv.v+1+100+"%"},pointerLeft:function(){return 100*this.colors.hsv.s+"%"}},methods:{throttle:(0,n.default)(function(e,t){e(t)},20,{leading:!0,trailing:!1}),handleChange:function(e,t){t||e.preventDefault();var n,r,i,o,t=this.$refs.container;t&&(n=t.clientWidth,r=t.clientHeight,o=t.getBoundingClientRect().left+window.pageXOffset,t=t.getBoundingClientRect().top+window.pageYOffset,i=e.pageX||(e.touches?e.touches[0].pageX:0),e=e.pageY||(e.touches?e.touches[0].pageY:0),i=(0,a.default)(i-o,0,n),o=(0,a.default)(e-t,0,r),e=i/n,t=(0,a.default)(-o/r+1,0,1),this.throttle(this.onChange,{h:this.colors.hsv.h,s:e,v:t,a:this.colors.hsv.a,source:"hsva"}))},onChange:function(e){this.$emit("change",e)},handleMouseDown:function(e){window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(e){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n=n(22),n=n&&n.__esModule?n:{default:n};t.default={name:"Alpha",props:{value:Object,onChange:Function},components:{checkboard:n.default},computed:{colors:function(){return this.value},gradientColor:function(){var e=this.colors.rgba,e=[e.r,e.g,e.b].join(",");return"linear-gradient(to right, rgba("+e+", 0) 0%, rgba("+e+", 1) 100%)"}},methods:{handleChange:function(e,t){t||e.preventDefault();var n,t=this.$refs.container;t&&(n=t.clientWidth,t=t.getBoundingClientRect().left+window.pageXOffset,t=(e=(e.pageX||(e.touches?e.touches[0].pageX:0))-t)<0?0:n<e?1:Math.round(100*e/n)/100,this.colors.a!==t)&&this.$emit("change",{h:this.colors.hsl.h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:t,source:"rgba"})},handleMouseDown:function(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";function r(e,t,n){var r,i,o=e+","+t+","+n;return a[o]||(e=e,t=t,n=n,e="undefined"!=typeof document&&((r=document.createElement("canvas")).width=r.height=2*n,i=r.getContext("2d"))?(i.fillStyle=e,i.fillRect(0,0,r.width,r.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),r.toDataURL()):null,a[o]=e)}Object.defineProperty(t,"__esModule",{value:!0});var a={};t.default={name:"Checkboard",props:{size:{type:[Number,String],default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},computed:{bgStyle:function(){return{"background-image":"url("+r(this.white,this.grey,this.size)+")"}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(3)),o=r(n(5)),a=r(n(20)),s=r(n(13)),l=r(n(21)),n=r(n(22)),u=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF","rgba(0,0,0,0)"];t.default={name:"Sketch",mixins:[i.default],components:{saturation:a.default,hue:s.default,alpha:l.default,"ed-in":o.default,checkboard:n.default},props:{presetColors:{type:Array,default:function(){return u}},disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},computed:{hex:function(){return(this.colors.a<1?this.colors.hex8:this.colors.hex).replace("#","")},activeColor:function(){var e=this.colors.rgba;return"rgba("+[e.r,e.g,e.b,e.a].join(",")+")"}},methods:{handlePreset:function(e){this.colorChange({hex:e,source:"hex"})},childChange:function(e){this.colorChange(e)},inputChange:function(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b||e.a)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(3)),o=r(n(5)),a=r(n(20)),s=r(n(13)),l=r(n(21)),n=r(n(22));t.default={name:"Chrome",mixins:[i.default],props:{disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},components:{saturation:a.default,hue:s.default,alpha:l.default,"ed-in":o.default,checkboard:n.default},data:function(){return{fieldsIndex:0,highlight:!1}},computed:{hsl:function(){var e=this.colors.hsl,t=e.h,n=e.s,e=e.l;return{h:t.toFixed(),s:(100*n).toFixed()+"%",l:(100*e).toFixed()+"%"}},activeColor:function(){var e=this.colors.rgba;return"rgba("+[e.r,e.g,e.b,e.a].join(",")+")"},hasAlpha:function(){return this.colors.a<1}},methods:{childChange:function(e){this.colorChange(e)},inputChange:function(e){var t,n;e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.l)&&(t=e.s?e.s.replace("%","")/100:this.colors.hsl.s,n=e.l?e.l.replace("%","")/100:this.colors.hsl.l,this.colorChange({h:e.h||this.colors.hsl.h,s:t,l:n,source:"hsl"})))},toggleViews:function(){2<=this.fieldsIndex?this.fieldsIndex=0:this.fieldsIndex++},showHighlight:function(){this.highlight=!0},hideHighlight:function(){this.highlight=!1}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(5)),n=r(n(3)),o=["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"];t.default={name:"Twitter",mixins:[n.default],components:{editableInput:i.default},props:{width:{type:[String,Number],default:276},defaultColors:{type:Array,default:function(){return o}},triangle:{default:"top-left",validator:function(e){return["hide","top-left","top-right"].includes(e)}}},computed:{hsv:function(){var e=this.colors.hsv;return{h:e.h.toFixed(),s:(100*e.s).toFixed(),v:(100*e.v).toFixed()}},hex:function(){var e=this.colors.hex;return e&&e.replace("#","")}},methods:{equal:function(e){return e.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick:function(e){this.colorChange({hex:e,source:"hex"})},inputChange:function(e){e&&(e["#"]?this.isValidHex(e["#"])&&this.colorChange({hex:e["#"],source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.v)&&this.colorChange({h:e.h||this.colors.hsv.h,s:e.s/100||this.colors.hsv.s,v:e.v/100||this.colors.hsv.v,source:"hsv"}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=r(n(61)),o=r(n(70)),a=r(n(74)),s=r(n(78)),l=r(n(115)),u=r(n(120)),c=r(n(135)),f=r(n(139)),h=r(n(143)),d=r(n(21)),p=r(n(22)),y=r(n(5)),m=r(n(13)),g=r(n(20)),n=r(n(3)),i={version:"2.8.1",Compact:i.default,Grayscale:o.default,Twitter:h.default,Material:a.default,Slider:s.default,Swatches:l.default,Photoshop:u.default,Sketch:c.default,Chrome:f.default,Alpha:d.default,Checkboard:p.default,EditableInput:y.default,Hue:m.default,Saturation:g.default,ColorMixin:n.default};e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(35),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(69),o=n(2)(o.a,a.a,!1,function(e){n(62)},null,null);o.options.__file="src/components/Compact.vue",t.default=o.exports},function(e,t,n){var r=n(63);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("6ce8a5a8",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-compact {\n padding-top: 5px;\n padding-left: 5px;\n width: 245px;\n border-radius: 2px;\n box-sizing: border-box;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-compact-colors {\n overflow: hidden;\n padding: 0;\n margin: 0;\n}\n.vc-compact-color-item {\n list-style: none;\n width: 15px;\n height: 15px;\n float: left;\n margin-right: 5px;\n margin-bottom: 5px;\n position: relative;\n cursor: pointer;\n}\n.vc-compact-color-item--white {\n box-shadow: inset 0 0 0 1px #ddd;\n}\n.vc-compact-color-item--white .vc-compact-dot {\n background: #000;\n}\n.vc-compact-dot {\n position: absolute;\n top: 5px;\n right: 5px;\n bottom: 5px;\n left: 5px;\n border-radius: 50%;\n opacity: 1;\n background: #fff;\n}\n",""])},function(e,t){e.exports=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],o={id:e+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(o):n.push(r[a]={id:a,parts:[o]})}return n}},function(e,t,n){var c,r,i,o,f,h,d,p,y,m,a,g,s,v;function b(e,t){var n,r,i,o,a,s,l,u;return t=t||{},(e=e||"")instanceof b?e:this instanceof b?(r={r:0,g:0,b:0},s=a=o=null,u=l=!(i=1),i=E(i="object"==typeof(n="string"==typeof(n=e)?function(e){e=e.replace(f,"").replace(h,"").toLowerCase();var t,n=!1;if(g[e])e=g[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=v.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=v.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=v.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=v.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=v.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=v.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=v.hex8.exec(e))?{r:k(t[1]),g:k(t[2]),b:k(t[3]),a:j(t[4]),format:n?"name":"hex8"}:(t=v.hex6.exec(e))?{r:k(t[1]),g:k(t[2]),b:k(t[3]),format:n?"name":"hex"}:(t=v.hex4.exec(e))?{r:k(t[1]+""+t[1]),g:k(t[2]+""+t[2]),b:k(t[3]+""+t[3]),a:j(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=v.hex3.exec(e))&&{r:k(t[1]+""+t[1]),g:k(t[2]+""+t[2]),b:k(t[3]+""+t[3]),format:n?"name":"hex"}}(n):n)&&(D(n.r)&&D(n.g)&&D(n.b)?(r=function(e,t,n){return{r:255*M(e,255),g:255*M(t,255),b:255*M(n,255)}}(n.r,n.g,n.b),l=!0,u="%"===String(n.r).substr(-1)?"prgb":"rgb"):D(n.h)&&D(n.s)&&D(n.v)?(o=I(n.s),a=I(n.v),r=function(e,t,n){e=6*M(e,360),t=M(t,100),n=M(n,100);var r=c.floor(e),e=e-r,i=n*(1-t),o=n*(1-e*t),e=n*(1-(1-e)*t),t=r%6;return{r:255*[n,o,i,i,e,n][t],g:255*[e,n,n,o,i,i][t],b:255*[i,i,e,n,n,o][t]}}(n.h,o,a),l=!0,u="hsv"):D(n.h)&&D(n.s)&&D(n.l)&&(o=I(n.s),s=I(n.l),r=function(e,t,n){function r(e,t,n){return n<0&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var i,o,a;e=M(e,360),t=M(t,100),n=M(n,100),0===t?i=o=a=n:(i=r(t=2*n-(n=n<.5?n*(1+t):n+t-n*t),n,e+1/3),o=r(t,n,e),a=r(t,n,e-1/3));return{r:255*i,g:255*o,b:255*a}}(n.h,o,s),l=!0,u="hsl"),n.hasOwnProperty("a"))?n.a:i),a={ok:l,format:n.format||u,r:y(255,m(r.r,0)),g:y(255,m(r.g,0)),b:y(255,m(r.b,0)),a:i},this._originalInput=e,this._r=a.r,this._g=a.g,this._b=a.b,this._a=a.a,this._roundA=p(100*this._a)/100,this._format=t.format||a.format,this._gradientType=t.gradientType,this._r<1&&(this._r=p(this._r)),this._g<1&&(this._g=p(this._g)),this._b<1&&(this._b=p(this._b)),this._ok=a.ok,void(this._tc_id=d++)):new b(e,t)}function l(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var r,i=m(e,t,n),o=y(e,t,n),a=(i+o)/2;if(i==o)r=l=0;else{var s=i-o,l=.5<a?s/(2-i-o):s/(i+o);switch(i){case e:r=(t-n)/s+(t<n?6:0);break;case t:r=(n-e)/s+2;break;case n:r=(e-t)/s+4}r/=6}return{h:r,s:l,l:a}}function u(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var r,i=m(e,t,n),o=y(e,t,n),a=i,s=i-o,l=0===i?0:s/i;if(i==o)r=0;else{switch(i){case e:r=(t-n)/s+(t<n?6:0);break;case t:r=(n-e)/s+2;break;case n:r=(e-t)/s+4}r/=6}return{h:r,s:l,v:a}}function _(e,t,n,r){e=[T(p(e).toString(16)),T(p(t).toString(16)),T(p(n).toString(16))];return r&&e[0].charAt(0)==e[0].charAt(1)&&e[1].charAt(0)==e[1].charAt(1)&&e[2].charAt(0)==e[2].charAt(1)?e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0):e.join("")}function x(e,t,n,r){return[T(L(r)),T(p(e).toString(16)),T(p(t).toString(16)),T(p(n).toString(16))].join("")}function w(e,t){t=0===t?0:t||10;e=b(e).toHsl();return e.s-=t/100,e.s=P(e.s),b(e)}function A(e,t){t=0===t?0:t||10;e=b(e).toHsl();return e.s+=t/100,e.s=P(e.s),b(e)}function S(e){return b(e).desaturate(100)}function C(e,t){t=0===t?0:t||10;e=b(e).toHsl();return e.l+=t/100,e.l=P(e.l),b(e)}function O(e,t){t=0===t?0:t||10;e=b(e).toRgb();return e.r=m(0,y(255,e.r-p(-t/100*255))),e.g=m(0,y(255,e.g-p(-t/100*255))),e.b=m(0,y(255,e.b-p(-t/100*255))),b(e)}function B(e,t){t=0===t?0:t||10;e=b(e).toHsl();return e.l-=t/100,e.l=P(e.l),b(e)}function R(e,t){e=b(e).toHsl(),t=(e.h+t)%360;return e.h=t<0?360+t:t,b(e)}function N(e){e=b(e).toHsl();return e.h=(e.h+180)%360,b(e)}function z(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+120)%360,s:t.s,l:t.l}),b({h:(n+240)%360,s:t.s,l:t.l})]}function F(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+90)%360,s:t.s,l:t.l}),b({h:(n+180)%360,s:t.s,l:t.l}),b({h:(n+270)%360,s:t.s,l:t.l})]}function V(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+72)%360,s:t.s,l:t.l}),b({h:(n+216)%360,s:t.s,l:t.l})]}function H(e,t,n){t=t||6,n=n||30;var r=b(e).toHsl(),i=360/n,o=[b(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(b(r));return o}function Y(e,t){t=t||6;for(var e=b(e).toHsv(),n=e.h,r=e.s,i=e.v,o=[],a=1/t;t--;)o.push(b({h:n,s:r,v:i})),i=(i+a)%1;return o}function E(e){return e=parseFloat(e),e=isNaN(e)||e<0||1<e?1:e}function M(e,t){"string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var n="string"==typeof(n=e)&&-1!=n.indexOf("%");return e=y(t,m(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),c.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function P(e){return y(1,m(0,e))}function k(e){return parseInt(e,16)}function T(e){return 1==e.length?"0"+e:""+e}function I(e){return e=e<=1?100*e+"%":e}function L(e){return c.round(255*parseFloat(e)).toString(16)}function j(e){return k(e)/255}function D(e){return v.CSS_UNIT.exec(e)}c=Math,f=/^\s+/,h=/\s+$/,d=0,p=c.round,y=c.min,m=c.max,a=c.random,b.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,e=e.b/255;return.2126*(t<=.03928?t/12.92:c.pow((.055+t)/1.055,2.4))+.7152*(n<=.03928?n/12.92:c.pow((.055+n)/1.055,2.4))+.0722*(e<=.03928?e/12.92:c.pow((.055+e)/1.055,2.4))},setAlpha:function(e){return this._a=E(e),this._roundA=p(100*this._a)/100,this},toHsv:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=u(this._r,this._g,this._b),t=p(360*e.h),n=p(100*e.s),e=p(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+e+"%)":"hsva("+t+", "+n+"%, "+e+"%, "+this._roundA+")"},toHsl:function(){var e=l(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=l(this._r,this._g,this._b),t=p(360*e.h),n=p(100*e.s),e=p(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+e+"%)":"hsla("+t+", "+n+"%, "+e+"%, "+this._roundA+")"},toHex:function(e){return _(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return t=this._r,n=this._g,r=this._b,i=this._a,e=e,t=[T(p(t).toString(16)),T(p(n).toString(16)),T(p(r).toString(16)),T(L(i))],e&&t[0].charAt(0)==t[0].charAt(1)&&t[1].charAt(0)==t[1].charAt(1)&&t[2].charAt(0)==t[2].charAt(1)&&t[3].charAt(0)==t[3].charAt(1)?t[0].charAt(0)+t[1].charAt(0)+t[2].charAt(0)+t[3].charAt(0):t.join("");var t,n,r,i},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:p(this._r),g:p(this._g),b:p(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+p(this._r)+", "+p(this._g)+", "+p(this._b)+")":"rgba("+p(this._r)+", "+p(this._g)+", "+p(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:p(100*M(this._r,255))+"%",g:p(100*M(this._g,255))+"%",b:p(100*M(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+p(100*M(this._r,255))+"%, "+p(100*M(this._g,255))+"%, "+p(100*M(this._b,255))+"%)":"rgba("+p(100*M(this._r,255))+"%, "+p(100*M(this._g,255))+"%, "+p(100*M(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(s[_(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+x(this._r,this._g,this._b,this._a),n=t;return"progid:DXImageTransform.Microsoft.gradient("+(this._gradientType?"GradientType = 1, ":"")+"startColorstr="+t+",endColorstr="+(n=e?"#"+x((t=b(e))._r,t._g,t._b,t._a):n)+")"},toString:function(e){var t=!!e,n=(e=e||this._format,!1),r=this._a<1&&0<=this._a;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),(n="hsv"===e?this.toHsvString():n)||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return b(this.toString())},_applyModification:function(e,t){e=e.apply(null,[this].concat([].slice.call(t)));return this._r=e._r,this._g=e._g,this._b=e._b,this.setAlpha(e._a),this},lighten:function(){return this._applyModification(C,arguments)},brighten:function(){return this._applyModification(O,arguments)},darken:function(){return this._applyModification(B,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(A,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(R,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(H,arguments)},complement:function(){return this._applyCombination(N,arguments)},monochromatic:function(){return this._applyCombination(Y,arguments)},splitcomplement:function(){return this._applyCombination(V,arguments)},triad:function(){return this._applyCombination(z,arguments)},tetrad:function(){return this._applyCombination(F,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n,r={};for(n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:I(e[n]));e=r}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:a(),g:a(),b:a()})},b.mix=function(e,t,n){n=0===n?0:n||50;e=b(e).toRgb(),t=b(t).toRgb(),n/=100;return b({r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b,a:(t.a-e.a)*n+e.a})},b.readability=function(e,t){e=b(e),t=b(t);return(c.max(e.getLuminance(),t.getLuminance())+.05)/(c.min(e.getLuminance(),t.getLuminance())+.05)},b.isReadable=function(e,t,n){var r=b.readability(e,t),i=!1;switch((n={level:t="AA"!==(t=((e=(e=n)||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t?"AA":t,size:t="small"!==(t=(e.size||"small").toLowerCase())&&"large"!==t?"small":t}).level+n.size){case"AAsmall":case"AAAlarge":i=4.5<=r;break;case"AAlarge":i=3<=r;break;case"AAAsmall":i=7<=r}return i},b.mostReadable=function(e,t,n){for(var r,i=null,o=0,a=(n=n||{}).includeFallbackColors,s=n.level,l=n.size,u=0;u<t.length;u++)(r=b.readability(e,t[u]))>o&&(o=r,i=b(t[u]));return b.isReadable(e,i,{level:s,size:l})||!a?i:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))},g=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},s=b.hexNames=function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}(g),i="[\\s|\\(]+("+(r="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",o="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",v={CSS_UNIT:new RegExp(r),rgb:new RegExp("rgb"+i),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+i),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+i),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/},void 0!==e&&e.exports?e.exports=b:void 0!==(r=function(){return b}.call(t,n,t,e))&&(e.exports=r)},function(e,t,n){var r=n(67);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("0f73e73c",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-editable-input {\n position: relative;\n}\n.vc-input__input {\n padding: 0;\n border: 0;\n outline: none;\n}\n.vc-input__label {\n text-transform: capitalize;\n}\n",""])},function(e,t,n){"use strict";function r(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"vc-editable-input"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],ref:"input",staticClass:"vc-input__input",attrs:{"aria-labelledby":t.labelId},domProps:{value:t.val},on:{keydown:t.handleKeyDown,input:[function(e){e.target.composing||(t.val=e.target.value)},t.update]}}),t._v(" "),e("span",{staticClass:"vc-input__label",attrs:{for:t.label,id:t.labelId}},[t._v(t._s(t.labelSpanText))]),t._v(" "),e("span",{staticClass:"vc-input__desc"},[t._v(t._s(t.desc))])])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";function r(){var n=this,e=n.$createElement,r=n._self._c||e;return r("div",{staticClass:"vc-compact",attrs:{role:"application","aria-label":"Compact color picker"}},[r("ul",{staticClass:"vc-compact-colors",attrs:{role:"listbox"}},n._l(n.paletteUpperCase(n.palette),function(t){return r("li",{key:t,staticClass:"vc-compact-color-item",class:{"vc-compact-color-item--white":"#FFFFFF"===t},style:{background:t},attrs:{role:"option","aria-label":"color:"+t,"aria-selected":t===n.pick},on:{click:function(e){return n.handlerClick(t)}}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t===n.pick,expression:"c === pick"}],staticClass:"vc-compact-dot"})])}),0)])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(37),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(73),o=n(2)(o.a,a.a,!1,function(e){n(71)},null,null);o.options.__file="src/components/Grayscale.vue",t.default=o.exports},function(e,t,n){var r=n(72);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("21ddbb74",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-grayscale {\n width: 125px;\n border-radius: 2px;\n box-shadow: 0 2px 15px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-grayscale-colors {\n border-radius: 2px;\n overflow: hidden;\n padding: 0;\n margin: 0;\n}\n.vc-grayscale-color-item {\n list-style: none;\n width: 25px;\n height: 25px;\n float: left;\n position: relative;\n cursor: pointer;\n}\n.vc-grayscale-color-item--white .vc-grayscale-dot {\n background: #000;\n}\n.vc-grayscale-dot {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 6px;\n height: 6px;\n margin: -3px 0 0 -2px;\n border-radius: 50%;\n opacity: 1;\n background: #fff;\n}\n",""])},function(e,t,n){"use strict";function r(){var n=this,e=n.$createElement,r=n._self._c||e;return r("div",{staticClass:"vc-grayscale",attrs:{role:"application","aria-label":"Grayscale color picker"}},[r("ul",{staticClass:"vc-grayscale-colors",attrs:{role:"listbox"}},n._l(n.paletteUpperCase(n.palette),function(t){return r("li",{key:t,staticClass:"vc-grayscale-color-item",class:{"vc-grayscale-color-item--white":"#FFFFFF"==t},style:{background:t},attrs:{role:"option","aria-label":"Color:"+t,"aria-selected":t===n.pick},on:{click:function(e){return n.handlerClick(t)}}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t===n.pick,expression:"c === pick"}],staticClass:"vc-grayscale-dot"})])}),0)])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(38),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(77),o=n(2)(o.a,a.a,!1,function(e){n(75)},null,null);o.options.__file="src/components/Material.vue",t.default=o.exports},function(e,t,n){var r=n(76);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("1ff3af73",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,'\n.vc-material {\n width: 98px;\n height: 98px;\n padding: 16px;\n font-family: "Roboto";\n position: relative;\n border-radius: 2px;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-material .vc-input__input {\n width: 100%;\n margin-top: 12px;\n font-size: 15px;\n color: #333;\n height: 30px;\n}\n.vc-material .vc-input__label {\n position: absolute;\n top: 0;\n left: 0;\n font-size: 11px;\n color: #999;\n text-transform: capitalize;\n}\n.vc-material-hex {\n border-bottom-width: 2px;\n border-bottom-style: solid;\n}\n.vc-material-split {\n display: flex;\n margin-right: -10px;\n padding-top: 11px;\n}\n.vc-material-third {\n flex: 1;\n padding-right: 10px;\n}\n',""])},function(e,t,n){"use strict";function r(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"vc-material",attrs:{role:"application","aria-label":"Material color picker"}},[e("ed-in",{staticClass:"vc-material-hex",style:{borderColor:t.colors.hex},attrs:{label:"hex"},on:{change:t.onChange},model:{value:t.colors.hex,callback:function(e){t.$set(t.colors,"hex",e)},expression:"colors.hex"}}),t._v(" "),e("div",{staticClass:"vc-material-split"},[e("div",{staticClass:"vc-material-third"},[e("ed-in",{attrs:{label:"r"},on:{change:t.onChange},model:{value:t.colors.rgba.r,callback:function(e){t.$set(t.colors.rgba,"r",e)},expression:"colors.rgba.r"}})],1),t._v(" "),e("div",{staticClass:"vc-material-third"},[e("ed-in",{attrs:{label:"g"},on:{change:t.onChange},model:{value:t.colors.rgba.g,callback:function(e){t.$set(t.colors.rgba,"g",e)},expression:"colors.rgba.g"}})],1),t._v(" "),e("div",{staticClass:"vc-material-third"},[e("ed-in",{attrs:{label:"b"},on:{change:t.onChange},model:{value:t.colors.rgba.b,callback:function(e){t.$set(t.colors.rgba,"b",e)},expression:"colors.rgba.b"}})],1)])],1)}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(39),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(114),o=n(2)(o.a,a.a,!1,function(e){n(79)},null,null);o.options.__file="src/components/Slider.vue",t.default=o.exports},function(e,t,n){var r=n(80);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("7982aa43",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-slider {\n position: relative;\n width: 410px;\n}\n.vc-slider-hue-warp {\n height: 12px;\n position: relative;\n}\n.vc-slider-hue-warp .vc-hue-picker {\n width: 14px;\n height: 14px;\n border-radius: 6px;\n transform: translate(-7px, -2px);\n background-color: rgb(248, 248, 248);\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);\n}\n.vc-slider-swatches {\n display: flex;\n margin-top: 20px;\n}\n.vc-slider-swatch {\n margin-right: 1px;\n flex: 1;\n width: 20%;\n}\n.vc-slider-swatch:first-child {\n margin-right: 1px;\n}\n.vc-slider-swatch:first-child .vc-slider-swatch-picker {\n border-radius: 2px 0px 0px 2px;\n}\n.vc-slider-swatch:last-child {\n margin-right: 0;\n}\n.vc-slider-swatch:last-child .vc-slider-swatch-picker {\n border-radius: 0px 2px 2px 0px;\n}\n.vc-slider-swatch-picker {\n cursor: pointer;\n height: 12px;\n}\n.vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active {\n transform: scaleY(1.8);\n border-radius: 3.6px/2px;\n}\n.vc-slider-swatch-picker--white {\n box-shadow: inset 0 0 0 1px #ddd;\n}\n.vc-slider-swatch-picker--active.vc-slider-swatch-picker--white {\n box-shadow: inset 0 0 0 0.6px #ddd;\n}\n",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(n(82)),o=r(n(100)),a="function"==typeof o.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};t.default="function"==typeof o.default&&"symbol"===a(i.default)?function(e){return void 0===e?"undefined":a(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":a(e)}},function(e,t,n){e.exports={default:n(83),__esModule:!0}},function(e,t,n){n(84),n(96),e.exports=n(32).f("iterator")},function(e,t,n){"use strict";var r=n(85)(!0);n(40)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e=this._t,t=this._i;return t>=e.length?{value:void 0,done:!0}:(e=r(e,t),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var o=n(23),a=n(24);e.exports=function(i){return function(e,t){var n,e=String(a(e)),t=o(t),r=e.length;return t<0||r<=t?i?"":void 0:(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?i?e.charAt(t):n:i?e.slice(t,t+2):r-56320+(n-55296<<10)+65536}}},function(e,t,n){var o=n(87);e.exports=function(r,i,e){if(o(r),void 0===i)return r;switch(e){case 1:return function(e){return r.call(i,e)};case 2:return function(e,t){return r.call(i,e,t)};case 3:return function(e,t,n){return r.call(i,e,t,n)}}return function(){return r.apply(i,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(45),i=n(18),o=n(31),a={};n(7)(a,n(11)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var a=n(8),s=n(16),l=n(27);e.exports=n(9)?Object.defineProperties:function(e,t){s(e);for(var n,r=l(t),i=r.length,o=0;o<i;)a.f(e,n=r[o++],t[n]);return e}},function(e,t,n){var r=n(47);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var l=n(10),u=n(92),c=n(93);e.exports=function(s){return function(e,t,n){var r,i=l(e),o=u(i.length),a=c(n,o);if(s&&t!=t){for(;a<o;)if((r=i[a++])!=r)return!0}else for(;a<o;a++)if((s||a in i)&&i[a]===t)return s||a||0;return!s&&-1}}},function(e,t,n){var r=n(23),i=Math.min;e.exports=function(e){return 0<e?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(23),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t,n){n=n(4).document;e.exports=n&&n.documentElement},function(e,t,n){var r=n(6),i=n(48),o=n(28)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){n(97);for(var r=n(4),i=n(7),o=n(26),a=n(11)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],c=c&&c.prototype;c&&!c[a]&&i(c,a,u),o[u]=o.Array}},function(e,t,n){"use strict";var r=n(98),i=n(99),o=n(26),a=n(10);e.exports=n(40)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(101),__esModule:!0}},function(e,t,n){n(102),n(108),n(109),n(110),e.exports=n(15).Symbol},function(B,R,e){"use strict";function r(e){var t=M[e]=_(A.prototype);return t._k=e,t}function n(e,t){m(e);for(var n,r=H(t=g(t)),i=0,o=r.length;i<o;)D(e,n=r[i++],t[n]);return e}function t(e){var t=Z.call(this,e=v(e,!0));return!(this===k&&l(M,e)&&!l(P,e))&&(!(t||!l(this,e)||!l(M,e)||l(this,O)&&this[O][e])||t)}function i(e,t){var n;if(e=g(e),t=v(t,!0),e!==k||!l(M,t)||l(P,t))return!(n=X(e,t))||!l(M,t)||l(e,O)&&e[O][t]||(n.enumerable=!0),n}function o(e){for(var t,n=J(g(e)),r=[],i=0;n.length>i;)l(M,t=n[i++])||t==O||t==N||r.push(t);return r}function a(e){for(var t,n=e===k,r=J(n?P:g(e)),i=[],o=0;r.length>o;)!l(M,t=r[o++])||n&&!l(k,t)||i.push(M[t]);return i}var s=e(4),l=e(6),u=e(9),c=e(41),f=e(44),N=e(103).KEY,h=e(17),d=e(29),p=e(31),z=e(19),y=e(11),F=e(32),V=e(33),H=e(104),Y=e(105),m=e(16),G=e(12),U=e(48),g=e(10),v=e(25),b=e(18),_=e(45),Q=e(106),W=e(107),x=e(49),q=e(8),K=e(27),X=W.f,w=q.f,J=Q.f,A=s.Symbol,S=s.JSON,C=S&&S.stringify,O=y("_hidden"),$=y("toPrimitive"),Z={}.propertyIsEnumerable,E=d("symbol-registry"),M=d("symbols"),P=d("op-symbols"),k=Object.prototype,d="function"==typeof A&&!!x.f,T=s.QObject,I=!T||!T.prototype||!T.prototype.findChild,L=u&&h(function(){return 7!=_(w({},"a",{get:function(){return w(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=X(k,t);r&&delete k[t],w(e,t,n),r&&e!==k&&w(k,t,r)}:w,j=d&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},D=function(e,t,n){return e===k&&D(P,t,n),m(e),t=v(t,!0),m(n),(l(M,t)?(n.enumerable?(l(e,O)&&e[O][t]&&(e[O][t]=!1),n=_(n,{enumerable:b(0,!1)})):(l(e,O)||w(e,O,b(1,{})),e[O][t]=!0),L):w)(e,t,n)};d||(f((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=z(0<arguments.length?arguments[0]:void 0),n=function(e){this===k&&n.call(P,e),l(this,O)&&l(this[O],t)&&(this[O][t]=!1),L(this,t,b(1,e))};return u&&I&&L(k,t,{configurable:!0,set:n}),r(t)}).prototype,"toString",function(){return this._k}),W.f=i,q.f=D,e(50).f=Q.f=o,e(34).f=t,x.f=a,u&&!e(14)&&f(k,"propertyIsEnumerable",t,!0),F.f=function(e){return r(y(e))}),c(c.G+c.W+c.F*!d,{Symbol:A});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)y(ee[te++]);for(var ne=K(y.store),re=0;ne.length>re;)V(ne[re++]);c(c.S+c.F*!d,"Symbol",{for:function(e){return l(E,e+="")?E[e]:E[e]=A(e)},keyFor:function(e){if(!j(e))throw TypeError(e+" is not a symbol!");for(var t in E)if(E[t]===e)return t},useSetter:function(){I=!0},useSimple:function(){I=!1}}),c(c.S+c.F*!d,"Object",{create:function(e,t){return void 0===t?_(e):n(_(e),t)},defineProperty:D,defineProperties:n,getOwnPropertyDescriptor:i,getOwnPropertyNames:o,getOwnPropertySymbols:a});T=h(function(){x.f(1)});c(c.S+c.F*T,"Object",{getOwnPropertySymbols:function(e){return x.f(U(e))}}),S&&c(c.S+c.F*(!d||h(function(){var e=A();return"[null]"!=C([e])||"{}"!=C({a:e})||"{}"!=C(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;i<arguments.length;)r.push(arguments[i++]);if(n=t=r[1],(G(t)||void 0!==e)&&!j(e))return Y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!j(t))return t}),r[1]=t,C.apply(S,r)}}),A.prototype[$]||e(7)(A.prototype,$,A.prototype.valueOf),p(A,"Symbol"),p(Math,"Math",!0),p(s.JSON,"JSON",!0)},function(e,t,n){function r(e){s(e,i,{value:{i:"O"+ ++l,w:{}}})}var i=n(19)("meta"),o=n(12),a=n(6),s=n(8).f,l=0,u=Object.isExtensible||function(){return!0},c=!n(17)(function(){return u(Object.preventExtensions({}))}),f=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!u(e))return"F";if(!t)return"E";r(e)}return e[i].i},getWeak:function(e,t){if(!a(e,i)){if(!u(e))return!0;if(!t)return!1;r(e)}return e[i].w},onFreeze:function(e){return c&&f.NEED&&u(e)&&!a(e,i)&&r(e),e}}},function(e,t,n){var s=n(27),l=n(49),u=n(34);e.exports=function(e){var t=s(e),n=l.f;if(n)for(var r,i=n(e),o=u.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t}},function(e,t,n){var r=n(47);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(10),i=n(50).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){if(!a||"[object Window]"!=o.call(e))return i(r(e));var t=e;try{return i(t)}catch(t){return a.slice()}}},function(e,t,n){var r=n(34),i=n(18),o=n(10),a=n(25),s=n(6),l=n(42),u=Object.getOwnPropertyDescriptor;t.f=n(9)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(33)("asyncIterator")},function(e,t,n){n(33)("observable")},function(e,t,n){var r=n(112);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("7c5f1a1c",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-hue {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n border-radius: 2px;\n}\n.vc-hue--horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n}\n.vc-hue--vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n}\n.vc-hue-container {\n cursor: pointer;\n margin: 0 2px;\n position: relative;\n height: 100%;\n}\n.vc-hue-pointer {\n z-index: 2;\n position: absolute;\n}\n.vc-hue-picker {\n cursor: pointer;\n margin-top: 1px;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n transform: translateX(-2px) ;\n}\n",""])},function(e,t,n){"use strict";function r(){var e=this.$createElement;return(e=this._self._c||e)("div",{class:["vc-hue",this.directionClass]},[e("div",{ref:"container",staticClass:"vc-hue-container",attrs:{role:"slider","aria-valuenow":this.colors.hsl.h,"aria-valuemin":"0","aria-valuemax":"360"},on:{mousedown:this.handleMouseDown,touchmove:this.handleChange,touchstart:this.handleChange}},[e("div",{staticClass:"vc-hue-pointer",style:{top:this.pointerTop,left:this.pointerLeft},attrs:{role:"presentation"}},[e("div",{staticClass:"vc-hue-picker"})])])])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";function r(){var r=this,e=r.$createElement,i=r._self._c||e;return i("div",{staticClass:"vc-slider",attrs:{role:"application","aria-label":"Slider color picker"}},[i("div",{staticClass:"vc-slider-hue-warp"},[i("hue",{on:{change:r.hueChange},model:{value:r.colors,callback:function(e){r.colors=e},expression:"colors"}})],1),r._v(" "),i("div",{staticClass:"vc-slider-swatches",attrs:{role:"group"}},r._l(r.normalizedSwatches,function(t,n){return i("div",{key:n,staticClass:"vc-slider-swatch",attrs:{"data-index":n,"aria-label":"color:"+r.colors.hex,role:"button"},on:{click:function(e){return r.handleSwClick(n,t)}}},[i("div",{staticClass:"vc-slider-swatch-picker",class:{"vc-slider-swatch-picker--active":r.isActive(t,n),"vc-slider-swatch-picker--white":1===t.l},style:{background:"hsl("+r.colors.hsl.h+", "+100*t.s+"%, "+100*t.l+"%)"}})])}),0)])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(52),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(119),o=n(2)(o.a,a.a,!1,function(e){n(116)},null,null);o.options.__file="src/components/Swatches.vue",t.default=o.exports},function(e,t,n){var r=n(117);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("10f839a2",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-swatches {\n width: 320px;\n height: 240px;\n overflow-y: scroll;\n background-color: #fff;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n}\n.vc-swatches-box {\n padding: 16px 0 6px 16px;\n overflow: hidden;\n}\n.vc-swatches-color-group {\n padding-bottom: 10px;\n width: 40px;\n float: left;\n margin-right: 10px;\n}\n.vc-swatches-color-it {\n box-sizing: border-box;\n width: 40px;\n height: 24px;\n cursor: pointer;\n background: #880e4f;\n margin-bottom: 1px;\n overflow: hidden;\n -ms-border-radius: 2px 2px 0 0;\n -moz-border-radius: 2px 2px 0 0;\n -o-border-radius: 2px 2px 0 0;\n -webkit-border-radius: 2px 2px 0 0;\n border-radius: 2px 2px 0 0;\n}\n.vc-swatches-color--white {\n border: 1px solid #DDD;\n}\n.vc-swatches-pick {\n fill: rgb(255, 255, 255);\n margin-left: 8px;\n display: block;\n}\n.vc-swatches-color--white .vc-swatches-pick {\n fill: rgb(51, 51, 51);\n}\n",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"red",function(){return r}),n.d(t,"pink",function(){return i}),n.d(t,"purple",function(){return o}),n.d(t,"deepPurple",function(){return a}),n.d(t,"indigo",function(){return s}),n.d(t,"blue",function(){return l}),n.d(t,"lightBlue",function(){return u}),n.d(t,"cyan",function(){return c}),n.d(t,"teal",function(){return f}),n.d(t,"green",function(){return h}),n.d(t,"lightGreen",function(){return d}),n.d(t,"lime",function(){return p}),n.d(t,"yellow",function(){return y}),n.d(t,"amber",function(){return m}),n.d(t,"orange",function(){return g}),n.d(t,"deepOrange",function(){return v}),n.d(t,"brown",function(){return b}),n.d(t,"grey",function(){return _}),n.d(t,"blueGrey",function(){return x}),n.d(t,"darkText",function(){return w}),n.d(t,"lightText",function(){return A}),n.d(t,"darkIcons",function(){return S}),n.d(t,"lightIcons",function(){return C}),n.d(t,"white",function(){return O}),n.d(t,"black",function(){return E});var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},i={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},o={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},a={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},s={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},l={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},u={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},c={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},h={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},d={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},p={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},y={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},m={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},v={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},b={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},_={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},x={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},w={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},A={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},S={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},C={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},O="#ffffff",E="#000000";t.default={red:r,pink:i,purple:o,deepPurple:a,indigo:s,blue:l,lightBlue:u,cyan:c,teal:f,green:h,lightGreen:d,lime:p,yellow:y,amber:m,orange:g,deepOrange:v,brown:b,grey:_,blueGrey:x,darkText:w,lightText:A,darkIcons:S,lightIcons:C,white:O,black:E}},function(e,t,n){"use strict";function r(){var n=this,e=n.$createElement,r=n._self._c||e;return r("div",{staticClass:"vc-swatches",attrs:{role:"application","aria-label":"Swatches color picker","data-pick":n.pick}},[r("div",{staticClass:"vc-swatches-box",attrs:{role:"listbox"}},n._l(n.palette,function(e,t){return r("div",{key:t,staticClass:"vc-swatches-color-group"},n._l(e,function(t){return r("div",{key:t,class:["vc-swatches-color-it",{"vc-swatches-color--white":"#FFFFFF"===t}],style:{background:t},attrs:{role:"option","aria-label":"Color:"+t,"aria-selected":n.equal(t),"data-color":t},on:{click:function(e){return n.handlerClick(t)}}},[r("div",{directives:[{name:"show",rawName:"v-show",value:n.equal(t),expression:"equal(c)"}],staticClass:"vc-swatches-pick"},[r("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"}},[r("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}})])])])}),0)}),0)])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(53),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(134),o=n(2)(o.a,a.a,!1,function(e){n(121)},null,null);o.options.__file="src/components/Photoshop.vue",t.default=o.exports},function(e,t,n){var r=n(122);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("080365d4",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,'\n.vc-photoshop {\n background: #DCDCDC;\n border-radius: 4px;\n box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15);\n box-sizing: initial;\n width: 513px;\n font-family: Roboto;\n}\n.vc-photoshop__disable-fields {\n width: 390px;\n}\n.vc-ps-head {\n background-image: linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%);\n border-bottom: 1px solid #B1B1B1;\n box-shadow: inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02);\n height: 23px;\n line-height: 24px;\n border-radius: 4px 4px 0 0;\n font-size: 13px;\n color: #4D4D4D;\n text-align: center;\n}\n.vc-ps-body {\n padding: 15px;\n display: flex;\n}\n.vc-ps-saturation-wrap {\n width: 256px;\n height: 256px;\n position: relative;\n border: 2px solid #B3B3B3;\n border-bottom: 2px solid #F0F0F0;\n overflow: hidden;\n}\n.vc-ps-saturation-wrap .vc-saturation-circle {\n width: 12px;\n height: 12px;\n}\n.vc-ps-hue-wrap {\n position: relative;\n height: 256px;\n width: 19px;\n margin-left: 10px;\n border: 2px solid #B3B3B3;\n border-bottom: 2px solid #F0F0F0;\n}\n.vc-ps-hue-pointer {\n position: relative;\n}\n.vc-ps-hue-pointer--left,\n.vc-ps-hue-pointer--right {\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 0 5px 8px;\n border-color: transparent transparent transparent #555;\n}\n.vc-ps-hue-pointer--left:after,\n.vc-ps-hue-pointer--right:after {\n content: "";\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 4px 0 4px 6px;\n border-color: transparent transparent transparent #fff;\n position: absolute;\n top: 1px;\n left: 1px;\n transform: translate(-8px, -5px);\n}\n.vc-ps-hue-pointer--left {\n transform: translate(-13px, -4px);\n}\n.vc-ps-hue-pointer--right {\n transform: translate(20px, -4px) rotate(180deg);\n}\n.vc-ps-controls {\n width: 180px;\n margin-left: 10px;\n display: flex;\n}\n.vc-ps-controls__disable-fields {\n width: auto;\n}\n.vc-ps-actions {\n margin-left: 20px;\n flex: 1;\n}\n.vc-ps-ac-btn {\n cursor: pointer;\n background-image: linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%);\n border: 1px solid #878787;\n border-radius: 2px;\n height: 20px;\n box-shadow: 0 1px 0 0 #EAEAEA;\n font-size: 14px;\n color: #000;\n line-height: 20px;\n text-align: center;\n margin-bottom: 10px;\n}\n.vc-ps-previews {\n width: 60px;\n}\n.vc-ps-previews__swatches {\n border: 1px solid #B3B3B3;\n border-bottom: 1px solid #F0F0F0;\n margin-bottom: 2px;\n margin-top: 1px;\n}\n.vc-ps-previews__pr-color {\n height: 34px;\n box-shadow: inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000;\n}\n.vc-ps-previews__label {\n font-size: 14px;\n color: #000;\n text-align: center;\n}\n.vc-ps-fields {\n padding-top: 5px;\n padding-bottom: 9px;\n width: 80px;\n position: relative;\n}\n.vc-ps-fields .vc-input__input {\n margin-left: 40%;\n width: 40%;\n height: 18px;\n border: 1px solid #888888;\n box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;\n margin-bottom: 5px;\n font-size: 13px;\n padding-left: 3px;\n margin-right: 10px;\n}\n.vc-ps-fields .vc-input__label, .vc-ps-fields .vc-input__desc {\n top: 0;\n text-transform: uppercase;\n font-size: 13px;\n height: 18px;\n line-height: 22px;\n position: absolute;\n}\n.vc-ps-fields .vc-input__label {\n left: 0;\n width: 34px;\n}\n.vc-ps-fields .vc-input__desc {\n right: 0;\n width: 0;\n}\n.vc-ps-fields__divider {\n height: 5px;\n}\n.vc-ps-fields__hex .vc-input__input {\n margin-left: 20%;\n width: 80%;\n height: 18px;\n border: 1px solid #888888;\n box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;\n margin-bottom: 6px;\n font-size: 13px;\n padding-left: 3px;\n}\n.vc-ps-fields__hex .vc-input__label {\n position: absolute;\n top: 0;\n left: 0;\n width: 14px;\n text-transform: uppercase;\n font-size: 13px;\n height: 18px;\n line-height: 22px;\n}\n',""])},function(e,t,n){var r=n(124);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("b5380e52",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-saturation,\n.vc-saturation--white,\n.vc-saturation--black {\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.vc-saturation--white {\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n}\n.vc-saturation--black {\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n}\n.vc-saturation-pointer {\n cursor: pointer;\n position: absolute;\n}\n.vc-saturation-circle {\n cursor: head;\n width: 4px;\n height: 4px;\n box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3), 0 0 1px 2px rgba(0,0,0,.4);\n border-radius: 50%;\n transform: translate(-2px, -2px);\n}\n",""])},function(e,t){e.exports=function(e,t,n){return t<n?e<t?t:n<e?n:e:e<n?n:t<e?t:e}},function(e,t){function o(r,n,e){function i(e){var t=l,n=u;return l=u=void 0,p=e,f=r.apply(n,t)}function o(e){var t=e-d;return void 0===d||n<=t||t<0||m&&c<=e-p}function a(){var e,t=A();if(o(t))return s(t);h=setTimeout(a,(e=n-((t=t)-d),m?w(e,c-(t-p)):e))}function s(e){return h=void 0,g&&l?i(e):(l=u=void 0,f)}function t(){var e=A(),t=o(e);if(l=arguments,u=this,d=e,t){if(void 0===h)return p=e=d,h=setTimeout(a,n),y?i(e):f;if(m)return h=setTimeout(a,n),i(d)}return void 0===h&&(h=setTimeout(a,n)),f}var l,u,c,f,h,d,p=0,y=!1,m=!1,g=!0;if("function"!=typeof r)throw new TypeError(_);return n=b(n)||0,v(e)&&(y=!!e.leading,m="maxWait"in e,c=m?x(b(e.maxWait)||0,n):c,g="trailing"in e?!!e.trailing:g),t.cancel=function(){void 0!==h&&clearTimeout(h),l=d=u=h=void(p=0)},t.flush=function(){return void 0===h?f:s(A())},t}function v(e){var t=typeof e;return e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if("symbol"==typeof(n=e)||!!(t=n)&&"object"==typeof t&&"[object Symbol]"==h.call(n))return r;var t;if("string"!=typeof(e=v(e)?v(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):a.test(e)?r:+e}var _="Expected a function",r=NaN,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,n="object"==typeof d&&d&&d.Object===Object&&d,c="object"==typeof self&&self&&self.Object===Object&&self,f=n||c||Function("return this")(),h=Object.prototype.toString,x=Math.max,w=Math.min,A=function(){return f.Date.now()};e.exports=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError(_);return v(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),o(e,t,{leading:r,maxWait:t,trailing:i})}},function(e,t,n){"use strict";function r(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{ref:"container",staticClass:"vc-saturation",style:{background:e.bgColor},on:{mousedown:e.handleMouseDown,touchmove:e.handleChange,touchstart:e.handleChange}},[t("div",{staticClass:"vc-saturation--white"}),e._v(" "),t("div",{staticClass:"vc-saturation--black"}),e._v(" "),t("div",{staticClass:"vc-saturation-pointer",style:{top:e.pointerTop,left:e.pointerLeft}},[t("div",{staticClass:"vc-saturation-circle"})])])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){var r=n(129);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("4dc1b086",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-alpha {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n.vc-alpha-checkboard-wrap {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n overflow: hidden;\n}\n.vc-alpha-gradient {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n.vc-alpha-container {\n cursor: pointer;\n position: relative;\n z-index: 2;\n height: 100%;\n margin: 0 3px;\n}\n.vc-alpha-pointer {\n z-index: 2;\n position: absolute;\n}\n.vc-alpha-picker {\n cursor: pointer;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n margin-top: 1px;\n transform: translateX(-2px);\n}\n",""])},function(e,t,n){var r=n(131);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("7e15c05b",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-checkerboard {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n background-size: contain;\n}\n",""])},function(e,t,n){"use strict";function r(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"vc-checkerboard",style:this.bgStyle})}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";function r(){var e=this.$createElement;return(e=this._self._c||e)("div",{staticClass:"vc-alpha"},[e("div",{staticClass:"vc-alpha-checkboard-wrap"},[e("checkboard")],1),this._v(" "),e("div",{staticClass:"vc-alpha-gradient",style:{background:this.gradientColor}}),this._v(" "),e("div",{ref:"container",staticClass:"vc-alpha-container",on:{mousedown:this.handleMouseDown,touchmove:this.handleChange,touchstart:this.handleChange}},[e("div",{staticClass:"vc-alpha-pointer",style:{left:100*this.colors.a+"%"}},[e("div",{staticClass:"vc-alpha-picker"})])])])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";function r(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{class:["vc-photoshop",t.disableFields?"vc-photoshop__disable-fields":""],attrs:{role:"application","aria-label":"PhotoShop color picker"}},[e("div",{staticClass:"vc-ps-head",attrs:{role:"heading"}},[t._v(t._s(t.head))]),t._v(" "),e("div",{staticClass:"vc-ps-body"},[e("div",{staticClass:"vc-ps-saturation-wrap"},[e("saturation",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),e("div",{staticClass:"vc-ps-hue-wrap"},[e("hue",{attrs:{direction:"vertical"},on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}},[e("div",{staticClass:"vc-ps-hue-pointer"},[e("i",{staticClass:"vc-ps-hue-pointer--left"}),e("i",{staticClass:"vc-ps-hue-pointer--right"})])])],1),t._v(" "),e("div",{class:["vc-ps-controls",t.disableFields?"vc-ps-controls__disable-fields":""]},[e("div",{staticClass:"vc-ps-previews"},[e("div",{staticClass:"vc-ps-previews__label"},[t._v(t._s(t.newLabel))]),t._v(" "),e("div",{staticClass:"vc-ps-previews__swatches"},[e("div",{staticClass:"vc-ps-previews__pr-color",style:{background:t.colors.hex},attrs:{"aria-label":"New color is "+t.colors.hex}}),t._v(" "),e("div",{staticClass:"vc-ps-previews__pr-color",style:{background:t.currentColor},attrs:{"aria-label":"Current color is "+t.currentColor},on:{click:t.clickCurrentColor}})]),t._v(" "),e("div",{staticClass:"vc-ps-previews__label"},[t._v(t._s(t.currentLabel))])]),t._v(" "),t.disableFields?t._e():e("div",{staticClass:"vc-ps-actions"},[e("div",{staticClass:"vc-ps-ac-btn",attrs:{role:"button","aria-label":t.acceptLabel},on:{click:t.handleAccept}},[t._v(t._s(t.acceptLabel))]),t._v(" "),e("div",{staticClass:"vc-ps-ac-btn",attrs:{role:"button","aria-label":t.cancelLabel},on:{click:t.handleCancel}},[t._v(t._s(t.cancelLabel))]),t._v(" "),e("div",{staticClass:"vc-ps-fields"},[e("ed-in",{attrs:{label:"h",desc:"°",value:t.hsv.h},on:{change:t.inputChange}}),t._v(" "),e("ed-in",{attrs:{label:"s",desc:"%",value:t.hsv.s,max:100},on:{change:t.inputChange}}),t._v(" "),e("ed-in",{attrs:{label:"v",desc:"%",value:t.hsv.v,max:100},on:{change:t.inputChange}}),t._v(" "),e("div",{staticClass:"vc-ps-fields__divider"}),t._v(" "),e("ed-in",{attrs:{label:"r",value:t.colors.rgba.r},on:{change:t.inputChange}}),t._v(" "),e("ed-in",{attrs:{label:"g",value:t.colors.rgba.g},on:{change:t.inputChange}}),t._v(" "),e("ed-in",{attrs:{label:"b",value:t.colors.rgba.b},on:{change:t.inputChange}}),t._v(" "),e("div",{staticClass:"vc-ps-fields__divider"}),t._v(" "),e("ed-in",{staticClass:"vc-ps-fields__hex",attrs:{label:"#",value:t.hex},on:{change:t.inputChange}})],1),t._v(" "),t.hasResetButton?e("div",{staticClass:"vc-ps-ac-btn",attrs:{"aria-label":"reset"},on:{click:t.handleReset}},[t._v(t._s(t.resetLabel))]):t._e()])])])])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(57),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(138),o=n(2)(o.a,a.a,!1,function(e){n(136)},null,null);o.options.__file="src/components/Sketch.vue",t.default=o.exports},function(e,t,n){var r=n(137);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("612c6604",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-sketch {\n position: relative;\n width: 200px;\n padding: 10px 10px 0;\n box-sizing: initial;\n background: #fff;\n border-radius: 4px;\n box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 8px 16px rgba(0, 0, 0, .15);\n}\n.vc-sketch-saturation-wrap {\n width: 100%;\n padding-bottom: 75%;\n position: relative;\n overflow: hidden;\n}\n.vc-sketch-controls {\n display: flex;\n}\n.vc-sketch-sliders {\n padding: 4px 0;\n flex: 1;\n}\n.vc-sketch-sliders .vc-hue,\n.vc-sketch-sliders .vc-alpha-gradient {\n border-radius: 2px;\n}\n.vc-sketch-hue-wrap {\n position: relative;\n height: 10px;\n}\n.vc-sketch-alpha-wrap {\n position: relative;\n height: 10px;\n margin-top: 4px;\n overflow: hidden;\n}\n.vc-sketch-color-wrap {\n width: 24px;\n height: 24px;\n position: relative;\n margin-top: 4px;\n margin-left: 4px;\n border-radius: 3px;\n}\n.vc-sketch-active-color {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border-radius: 2px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 0 4px rgba(0, 0, 0, .25);\n z-index: 2;\n}\n.vc-sketch-color-wrap .vc-checkerboard {\n background-size: auto;\n}\n.vc-sketch-field {\n display: flex;\n padding-top: 4px;\n}\n.vc-sketch-field .vc-input__input {\n width: 90%;\n padding: 4px 0 3px 10%;\n border: none;\n box-shadow: inset 0 0 0 1px #ccc;\n font-size: 10px;\n}\n.vc-sketch-field .vc-input__label {\n display: block;\n text-align: center;\n font-size: 11px;\n color: #222;\n padding-top: 3px;\n padding-bottom: 4px;\n text-transform: capitalize;\n}\n.vc-sketch-field--single {\n flex: 1;\n padding-left: 6px;\n}\n.vc-sketch-field--double {\n flex: 2;\n}\n.vc-sketch-presets {\n margin-right: -10px;\n margin-left: -10px;\n padding-left: 10px;\n padding-top: 10px;\n border-top: 1px solid #eee;\n}\n.vc-sketch-presets-color {\n border-radius: 3px;\n overflow: hidden;\n position: relative;\n display: inline-block;\n margin: 0 10px 10px 0;\n vertical-align: top;\n cursor: pointer;\n width: 16px;\n height: 16px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);\n}\n.vc-sketch-presets-color .vc-checkerboard {\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);\n border-radius: 3px;\n}\n.vc-sketch__disable-alpha .vc-sketch-color-wrap {\n height: 10px;\n}\n",""])},function(e,t,n){"use strict";function r(){var n=this,e=n.$createElement,r=n._self._c||e;return r("div",{class:["vc-sketch",n.disableAlpha?"vc-sketch__disable-alpha":""],attrs:{role:"application","aria-label":"Sketch color picker"}},[r("div",{staticClass:"vc-sketch-saturation-wrap"},[r("saturation",{on:{change:n.childChange},model:{value:n.colors,callback:function(e){n.colors=e},expression:"colors"}})],1),n._v(" "),r("div",{staticClass:"vc-sketch-controls"},[r("div",{staticClass:"vc-sketch-sliders"},[r("div",{staticClass:"vc-sketch-hue-wrap"},[r("hue",{on:{change:n.childChange},model:{value:n.colors,callback:function(e){n.colors=e},expression:"colors"}})],1),n._v(" "),n.disableAlpha?n._e():r("div",{staticClass:"vc-sketch-alpha-wrap"},[r("alpha",{on:{change:n.childChange},model:{value:n.colors,callback:function(e){n.colors=e},expression:"colors"}})],1)]),n._v(" "),r("div",{staticClass:"vc-sketch-color-wrap"},[r("div",{staticClass:"vc-sketch-active-color",style:{background:n.activeColor},attrs:{"aria-label":"Current color is "+n.activeColor}}),n._v(" "),r("checkboard")],1)]),n._v(" "),n.disableFields?n._e():r("div",{staticClass:"vc-sketch-field"},[r("div",{staticClass:"vc-sketch-field--double"},[r("ed-in",{attrs:{label:"hex",value:n.hex},on:{change:n.inputChange}})],1),n._v(" "),r("div",{staticClass:"vc-sketch-field--single"},[r("ed-in",{attrs:{label:"r",value:n.colors.rgba.r},on:{change:n.inputChange}})],1),n._v(" "),r("div",{staticClass:"vc-sketch-field--single"},[r("ed-in",{attrs:{label:"g",value:n.colors.rgba.g},on:{change:n.inputChange}})],1),n._v(" "),r("div",{staticClass:"vc-sketch-field--single"},[r("ed-in",{attrs:{label:"b",value:n.colors.rgba.b},on:{change:n.inputChange}})],1),n._v(" "),n.disableAlpha?n._e():r("div",{staticClass:"vc-sketch-field--single"},[r("ed-in",{attrs:{label:"a",value:n.colors.a,"arrow-offset":.01,max:1},on:{change:n.inputChange}})],1)]),n._v(" "),r("div",{staticClass:"vc-sketch-presets",attrs:{role:"group","aria-label":"A color preset, pick one to set as current color"}},[n._l(n.presetColors,function(t){return[n.isTransparent(t)?r("div",{key:t,staticClass:"vc-sketch-presets-color",attrs:{"aria-label":"Color:"+t},on:{click:function(e){return n.handlePreset(t)}}},[r("checkboard")],1):r("div",{key:t,staticClass:"vc-sketch-presets-color",style:{background:t},attrs:{"aria-label":"Color:"+t},on:{click:function(e){return n.handlePreset(t)}}})]})],2)])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(58),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(142),o=n(2)(o.a,a.a,!1,function(e){n(140)},null,null);o.options.__file="src/components/Chrome.vue",t.default=o.exports},function(e,t,n){var r=n(141);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("1cd16048",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-chrome {\n background: #fff;\n border-radius: 2px;\n box-shadow: 0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3);\n box-sizing: initial;\n width: 225px;\n font-family: Menlo;\n background-color: #fff;\n}\n.vc-chrome-controls {\n display: flex;\n}\n.vc-chrome-color-wrap {\n position: relative;\n width: 36px;\n}\n.vc-chrome-active-color {\n position: relative;\n width: 30px;\n height: 30px;\n border-radius: 15px;\n overflow: hidden;\n z-index: 1;\n}\n.vc-chrome-color-wrap .vc-checkerboard {\n width: 30px;\n height: 30px;\n border-radius: 15px;\n background-size: auto;\n}\n.vc-chrome-sliders {\n flex: 1;\n}\n.vc-chrome-fields-wrap {\n display: flex;\n padding-top: 16px;\n}\n.vc-chrome-fields {\n display: flex;\n margin-left: -6px;\n flex: 1;\n}\n.vc-chrome-field {\n padding-left: 6px;\n width: 100%;\n}\n.vc-chrome-toggle-btn {\n width: 32px;\n text-align: right;\n position: relative;\n}\n.vc-chrome-toggle-icon {\n margin-right: -4px;\n margin-top: 12px;\n cursor: pointer;\n position: relative;\n z-index: 2;\n}\n.vc-chrome-toggle-icon-highlight {\n position: absolute;\n width: 24px;\n height: 28px;\n background: #eee;\n border-radius: 4px;\n top: 10px;\n left: 12px;\n}\n.vc-chrome-hue-wrap {\n position: relative;\n height: 10px;\n margin-bottom: 8px;\n}\n.vc-chrome-alpha-wrap {\n position: relative;\n height: 10px;\n}\n.vc-chrome-hue-wrap .vc-hue {\n border-radius: 2px;\n}\n.vc-chrome-alpha-wrap .vc-alpha-gradient {\n border-radius: 2px;\n}\n.vc-chrome-hue-wrap .vc-hue-picker, .vc-chrome-alpha-wrap .vc-alpha-picker {\n width: 12px;\n height: 12px;\n border-radius: 6px;\n transform: translate(-6px, -2px);\n background-color: rgb(248, 248, 248);\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);\n}\n.vc-chrome-body {\n padding: 16px 16px 12px;\n background-color: #fff;\n}\n.vc-chrome-saturation-wrap {\n width: 100%;\n padding-bottom: 55%;\n position: relative;\n border-radius: 2px 2px 0 0;\n overflow: hidden;\n}\n.vc-chrome-saturation-wrap .vc-saturation-circle {\n width: 12px;\n height: 12px;\n}\n.vc-chrome-fields .vc-input__input {\n font-size: 11px;\n color: #333;\n width: 100%;\n border-radius: 2px;\n border: none;\n box-shadow: inset 0 0 0 1px #dadada;\n height: 21px;\n text-align: center;\n}\n.vc-chrome-fields .vc-input__label {\n text-transform: uppercase;\n font-size: 11px;\n line-height: 11px;\n color: #969696;\n text-align: center;\n display: block;\n margin-top: 12px;\n}\n.vc-chrome__disable-alpha .vc-chrome-active-color {\n width: 18px;\n height: 18px;\n}\n.vc-chrome__disable-alpha .vc-chrome-color-wrap {\n width: 30px;\n}\n.vc-chrome__disable-alpha .vc-chrome-hue-wrap {\n margin-top: 4px;\n margin-bottom: 4px;\n}\n",""])},function(e,t,n){"use strict";function r(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{class:["vc-chrome",t.disableAlpha?"vc-chrome__disable-alpha":""],attrs:{role:"application","aria-label":"Chrome color picker"}},[e("div",{staticClass:"vc-chrome-saturation-wrap"},[e("saturation",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),e("div",{staticClass:"vc-chrome-body"},[e("div",{staticClass:"vc-chrome-controls"},[e("div",{staticClass:"vc-chrome-color-wrap"},[e("div",{staticClass:"vc-chrome-active-color",style:{background:t.activeColor},attrs:{"aria-label":"current color is "+t.colors.hex}}),t._v(" "),t.disableAlpha?t._e():e("checkboard")],1),t._v(" "),e("div",{staticClass:"vc-chrome-sliders"},[e("div",{staticClass:"vc-chrome-hue-wrap"},[e("hue",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),t.disableAlpha?t._e():e("div",{staticClass:"vc-chrome-alpha-wrap"},[e("alpha",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1)])]),t._v(" "),t.disableFields?t._e():e("div",{staticClass:"vc-chrome-fields-wrap"},[e("div",{directives:[{name:"show",rawName:"v-show",value:0===t.fieldsIndex,expression:"fieldsIndex === 0"}],staticClass:"vc-chrome-fields"},[e("div",{staticClass:"vc-chrome-field"},[t.hasAlpha?t._e():e("ed-in",{attrs:{label:"hex",value:t.colors.hex},on:{change:t.inputChange}}),t._v(" "),t.hasAlpha?e("ed-in",{attrs:{label:"hex",value:t.colors.hex8},on:{change:t.inputChange}}):t._e()],1)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:1===t.fieldsIndex,expression:"fieldsIndex === 1"}],staticClass:"vc-chrome-fields"},[e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"r",value:t.colors.rgba.r},on:{change:t.inputChange}})],1),t._v(" "),e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"g",value:t.colors.rgba.g},on:{change:t.inputChange}})],1),t._v(" "),e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"b",value:t.colors.rgba.b},on:{change:t.inputChange}})],1),t._v(" "),t.disableAlpha?t._e():e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"a",value:t.colors.a,"arrow-offset":.01,max:1},on:{change:t.inputChange}})],1)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:2===t.fieldsIndex,expression:"fieldsIndex === 2"}],staticClass:"vc-chrome-fields"},[e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"h",value:t.hsl.h},on:{change:t.inputChange}})],1),t._v(" "),e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"s",value:t.hsl.s},on:{change:t.inputChange}})],1),t._v(" "),e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"l",value:t.hsl.l},on:{change:t.inputChange}})],1),t._v(" "),t.disableAlpha?t._e():e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"a",value:t.colors.a,"arrow-offset":.01,max:1},on:{change:t.inputChange}})],1)]),t._v(" "),e("div",{staticClass:"vc-chrome-toggle-btn",attrs:{role:"button","aria-label":"Change another color definition"},on:{click:t.toggleViews}},[e("div",{staticClass:"vc-chrome-toggle-icon"},[e("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"},on:{mouseover:t.showHighlight,mouseenter:t.showHighlight,mouseout:t.hideHighlight}},[e("path",{attrs:{fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}})])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.highlight,expression:"highlight"}],staticClass:"vc-chrome-toggle-icon-highlight"})])])])])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(59),o=n.n(i);for(r in i)"default"!==r&&function(e){n.d(t,e,function(){return i[e]})}(r);var a=n(146),o=n(2)(o.a,a.a,!1,function(e){n(144)},null,null);o.options.__file="src/components/Twitter.vue",t.default=o.exports},function(e,t,n){var r=n(145);(r="string"==typeof r?[[e.i,r,""]]:r).locals&&(e.exports=r.locals),n(1)("669a48a5",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.vc-twitter {\n background: #fff;\n border: 0 solid rgba(0,0,0,0.25);\n box-shadow: 0 1px 4px rgba(0,0,0,0.25);\n border-radius: 4px;\n position: relative;\n}\n.vc-twitter-triangle {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-width: 0 9px 10px 9px;\n border-color: transparent transparent #fff transparent;\n position: absolute;\n}\n.vc-twitter-triangle-shadow {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-width: 0 9px 10px 9px;\n border-color: transparent transparent rgba(0, 0, 0, .1) transparent;\n position: absolute;\n}\n.vc-twitter-body {\n padding: 15px 9px 9px 15px;\n}\n.vc-twitter .vc-editable-input {\n position: relative;\n}\n.vc-twitter .vc-editable-input input {\n width: 100px;\n font-size: 14px;\n color: #666;\n border: 0px;\n outline: none;\n height: 28px;\n box-shadow: inset 0 0 0 1px #F0F0F0;\n box-sizing: content-box;\n border-radius: 0 4px 4px 0;\n float: left;\n padding: 1px;\n padding-left: 8px;\n}\n.vc-twitter .vc-editable-input span {\n display: none;\n}\n.vc-twitter-hash {\n background: #F0F0F0;\n height: 30px;\n width: 30px;\n border-radius: 4px 0 0 4px;\n float: left;\n color: #98A1A4;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.vc-twitter-swatch {\n width: 30px;\n height: 30px;\n float: left;\n border-radius: 4px;\n margin: 0 6px 6px 0;\n cursor: pointer;\n position: relative;\n outline: none;\n}\n.vc-twitter-clear {\n clear: both;\n}\n.vc-twitter-hide-triangle .vc-twitter-triangle {\n display: none;\n}\n.vc-twitter-hide-triangle .vc-twitter-triangle-shadow {\n display: none;\n}\n.vc-twitter-top-left-triangle .vc-twitter-triangle{\n top: -10px;\n left: 12px;\n}\n.vc-twitter-top-left-triangle .vc-twitter-triangle-shadow{\n top: -11px;\n left: 12px;\n}\n.vc-twitter-top-right-triangle .vc-twitter-triangle{\n top: -10px;\n right: 12px;\n}\n.vc-twitter-top-right-triangle .vc-twitter-triangle-shadow{\n top: -11px;\n right: 12px;\n}\n",""])},function(e,t,n){"use strict";function r(){var n=this,e=n.$createElement,r=n._self._c||e;return r("div",{staticClass:"vc-twitter",class:{"vc-twitter-hide-triangle ":"hide"===n.triangle,"vc-twitter-top-left-triangle ":"top-left"===n.triangle,"vc-twitter-top-right-triangle ":"top-right"===n.triangle},style:{width:"number"==typeof n.width?n.width+"px":n.width}},[r("div",{staticClass:"vc-twitter-triangle-shadow"}),n._v(" "),r("div",{staticClass:"vc-twitter-triangle"}),n._v(" "),r("div",{staticClass:"vc-twitter-body"},[n._l(n.defaultColors,function(t,e){return r("span",{key:e,staticClass:"vc-twitter-swatch",style:{background:t,boxShadow:"0 0 4px "+(n.equal(t)?t:"transparent")},on:{click:function(e){return n.handlerClick(t)}}})}),n._v(" "),r("div",{staticClass:"vc-twitter-hash"},[n._v("#")]),n._v(" "),r("editable-input",{attrs:{label:"#",value:n.hex},on:{change:n.inputChange}}),n._v(" "),r("div",{staticClass:"vc-twitter-clear"})],2)])}r._withStripped=!0,t.a={render:r,staticRenderFns:[]}}],i={},r.m=n,r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=60))}.call(this,n("yLpj"))},w1NJ:function(e,t){var c="[object Symbol]",f=Object.prototype.toString;function n(e,t,n){for(var r,i=-1,o=e.length;++i<o;){var a,s,l=e[i],u=t(l);null==u||(void 0===a?u!=u||"symbol"==typeof(r=u)||function(e){return e&&"object"==typeof e}(r)&&f.call(r)==c:!n(u,a))||(a=u,s=l)}return s}function r(e,t){return t<e}function i(e){return e}e.exports=function(e){return e&&e.length?n(e,i,r):void 0}},w1YM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){void 0===e&&(e=this.params.speed);void 0===t&&(t=!0);var r=this,i=r.params,o=r.animating;if(!r.enabled)return r;var a=r.activeIndex<i.slidesPerGroupSkip?1:i.slidesPerGroup;if(i.loop){if(o&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return r.slideTo(r.activeIndex+a,e,t,n)}},"w2d+":function(e,t,n){"use strict";var r=n("hDam"),i=n("UO39"),o=n("SBuE"),a=n("NsO/");e.exports=n("MPFp")(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},w4Wy:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("pVnL"))),o=r(n("VbXa")),r=(n("Qu1R"),n("upFX"),n("peoL")),a=n("e7LN"),s=n("EtYe"),n=function(n){function e(e){var t=n.call(this)||this;return t.eventTypes=["getdatafailed","getdatasucceeded"],t.options=e||{},t}(0,o.default)(e,n);var t=e.prototype;return t.setProxy=function(e){this.options.proxy=e},t.getData=function(e,n){var r=this;e&&("object"==typeof e?this.transfromGeoJSON((0,i.default)({},e),n):SuperMap.FetchRequest.get(e,null,{withoutFormatSuffix:!0,proxy:this.options.proxy}).then(function(e){return e.json()}).then(function(e){var t;e?(t=Object.prototype.hasOwnProperty.call(e,"data")?e.data:e,r.transfromGeoJSON(t,n)):r.triggerEvent("getdatafailed",{data:e})}).catch(function(e){console.log(e),r.triggerEvent("getdatafailed",{error:e})}))},t.transfromGeoJSON=function(e,t){var n={type:"FeatureCollection",features:[]},r=(0,a.getDataType)(e),t=(t||{}).maxFeatures,r=("[object Object]"===r&&e.type&&"FeatureCollection"===e.type&&"[object Array]"===(0,a.getDataType)(e.features)?(n=e).features=this._generateData(e.features,t,!1):n.features=this._generateData(e,t),this.transformed&&(n.transformed=this.transformed),n.totalCount=n.features.length,Object.assign({},n,(0,s.statisticsFeatures)(n.features)));this.triggerEvent("getdatasucceeded",r)},t._generateData=function(e,t,n){void 0===n&&(n=!0);var r,i=[];switch((0,a.getDataType)(e)){case"[object Number]":case"[object String]":i.push({properties:{value:e}});break;case"[object Array]":i=(r=t&&!isNaN(+t)&&t<e.length?e.slice(0,t):e).map(function(e){return"[object Object]"===(0,a.getDataType)(e)&&Object.prototype.hasOwnProperty.call(e,"properties")&&"[object Object]"===(0,a.getDataType)(e.properties)?e:{properties:"[object Object]"===(0,a.getDataType)(e)?e:{value:e}}});break;case"[object Object]":r=e,t&&!isNaN(+t)&&t<Object.keys(e).length&&(r=Object.fromEntries(Object.entries(e).slice(0,t))),Object.prototype.hasOwnProperty.call(r,"properties")&&"[object Object]"===(0,a.getDataType)(r.properties)||(n&&(this.transformed=!0),r={properties:r}),i.push(r)}return i},e}(r.Events);t.default=n},w6GO:function(e,t,n){var r=n("5vMV"),i=n("FpHa");e.exports=Object.keys||function(e){return r(e,i)}},wCrk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,n,t,r,i,o=this,a=o.activeIndex,s=o.initialized,l=o.loopedSlides,l=void 0===l?0:l,u=o.params,c=o.$el,f=u.breakpoints;f&&0!==Object.keys(f).length&&(e=o.getBreakpoint(f,o.params.breakpointsBase,o.el))&&o.currentBreakpoint!==e&&((n=e in f?f[e]:void 0)&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=n[e];void 0!==t&&(n[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}),f=n||o.originalParams,r=1<u.slidesPerColumn,i=1<f.slidesPerColumn,t=u.enabled,r&&!i?(c.removeClass(u.containerModifierClass+"multirow "+u.containerModifierClass+"multirow-column"),o.emitContainerClasses()):!r&&i&&(c.addClass(u.containerModifierClass+"multirow"),(f.slidesPerColumnFill&&"column"===f.slidesPerColumnFill||!f.slidesPerColumnFill&&"column"===u.slidesPerColumnFill)&&c.addClass(u.containerModifierClass+"multirow-column"),o.emitContainerClasses()),r=f.direction&&f.direction!==u.direction,i=u.loop&&(f.slidesPerView!==u.slidesPerView||r),r&&s&&o.changeDirection(),(0,h.extend)(o.params,f),c=o.params.enabled,(0,h.extend)(o,{allowTouchMove:o.params.allowTouchMove,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev}),t&&!c?o.disable():!t&&c&&o.enable(),o.currentBreakpoint=e,o.emit("_beforeBreakpoint",f),i&&s&&(o.loopDestroy(),o.loopCreate(),o.updateSlides(),o.slideTo(a-l+o.loopedSlides,0,!1)),o.emit("breakpoint",f))};var h=n("cKS0")},wJFT:function(e,t,n){"use strict";var r=n("TqRt"),f=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){void 0===e&&(e=this&&this.translate||0);var t=this,n=t.params,r=t.slides,i=t.rtlTranslate;if(0!==r.length){void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();var o=i?e:-e;r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var a=0;a<r.length;a+=1){var s,l,u=r[a],c=(o+(n.centeredSlides?t.minTranslate():0)-u.swiperSlideOffset)/(u.swiperSlideSize+n.spaceBetween);(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&(s=-(o-u.swiperSlideOffset),l=s+t.slidesSizesGrid[a],0<=s&&s<t.size-1||1<l&&l<=t.size||s<=0&&l>=t.size)&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(a),r.eq(a).addClass(n.slideVisibleClass)),u.progress=i?-c:c}t.visibleSlides=(0,f.default)(t.visibleSlides)}},r(n("Jq2x")))},wJg7:function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&-1<e&&e%1==0&&e<t}},wOD2:function(e,t,n){"use strict";var r=n("nCzB"),i=n("RXj+").trim;r({target:"String",proto:!0,forced:n("5JCY")("trim")},{trim:function(){return i(this)}})},wOTH:function(e,t,n){"use strict";n.r(t);var r=n("jo6Y"),i=n.n(r),r=n("QbLZ"),o=n.n(r),a=n("0zjr"),s=n("2qPA"),l=n("TfX5");t.default={name:"ARadioButton",props:o()({},a.default.props),inject:{radioGroupContext:{default:void 0},configProvider:{default:function(){return l.a}}},render:function(){var e=arguments[0],t=Object(s.getOptionProps)(this),n=t.prefixCls,t=i()(t,["prefixCls"]),n=(0,this.configProvider.getPrefixCls)("radio-button",n),t={props:o()({},t,{prefixCls:n}),on:Object(s.getListeners)(this)};return this.radioGroupContext&&(t.on.change=this.radioGroupContext.onRadioChange,t.props.checked=this.$props.value===this.radioGroupContext.stateValue,t.props.disabled=this.$props.disabled||this.radioGroupContext.disabled),e(a.default,t,[this.$slots.default])}}},wQk9:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n("wd/R"))},wZXL:function(e,t,n){var i=n("vPd/"),n=n("IX3V"),o=n.each,a=n.isFunction,s=n.isArray;function r(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}r.prototype={constructor:r,register:function(t,e,n){var r=this.queries,n=n&&this.browserIsIncapable;return r[t]||(r[t]=new i(t,n)),a(e)&&(e={match:e}),s(e)||(e=[e]),o(e,function(e){a(e)&&(e={match:e}),r[t].addHandler(e)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=r},wbPi:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n("QbLZ"),d=n.n(r),r=n("jo6Y"),p=n.n(r),r=n("TZE5"),y=n("hJbE"),i={adjustX:1,adjustY:1},o=[0,0],m={topLeft:{points:["bl","tl"],overflow:i,offset:[0,-4],targetOffset:o},topCenter:{points:["bc","tc"],overflow:i,offset:[0,-4],targetOffset:o},topRight:{points:["br","tr"],overflow:i,offset:[0,-4],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:i,offset:[0,4],targetOffset:o},bottomCenter:{points:["tc","bc"],overflow:i,offset:[0,4],targetOffset:o},bottomRight:{points:["tr","br"],overflow:i,offset:[0,4],targetOffset:o}},l=n("2qPA"),i=n("tIgm"),u=n("ewVk"),c={mixins:[i.a],props:{minOverlayWidthMatchTrigger:r.a.bool,prefixCls:r.a.string.def("rc-dropdown"),transitionName:r.a.string,overlayClassName:r.a.string.def(""),openClassName:r.a.string,animation:r.a.any,align:r.a.object,overlayStyle:r.a.object.def(function(){return{}}),placement:r.a.string.def("bottomLeft"),overlay:r.a.any,trigger:r.a.array.def(["hover"]),alignPoint:r.a.bool,showAction:r.a.array.def([]),hideAction:r.a.array.def([]),getPopupContainer:r.a.func,visible:r.a.bool,defaultVisible:r.a.bool.def(!1),mouseEnterDelay:r.a.number.def(.15),mouseLeaveDelay:r.a.number.def(.1)},data:function(){var e=this.defaultVisible;return{sVisible:e=Object(l.hasProp)(this,"visible")?this.visible:e}},watch:{visible:function(e){void 0!==e&&this.setState({sVisible:e})}},methods:{onClick:function(e){Object(l.hasProp)(this,"visible")||this.setState({sVisible:!1}),this.$emit("overlayClick",e),this.childOriginEvents.click&&this.childOriginEvents.click(e)},onVisibleChange:function(e){Object(l.hasProp)(this,"visible")||this.setState({sVisible:e}),this.__emit("visibleChange",e)},getMinOverlayWidthMatchTrigger:function(){var e=Object(l.getOptionProps)(this),t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n},getOverlayElement:function(){var e=this.overlay||this.$slots.overlay||this.$scopedSlots.overlay;return"function"==typeof e?e():e},getMenuElement:function(){var e=this,t=this.onClick,n=this.prefixCls,r=this.$slots;this.childOriginEvents=Object(l.getEvents)(r.overlay[0]);n={props:{prefixCls:n+"-menu",getPopupContainer:function(){return e.getPopupDomNode()}},on:{click:t}};return"string"==typeof this.getOverlayElement().type&&delete n.props.prefixCls,Object(u.a)(r.overlay[0],n)},getMenuElementOrLambda:function(){return"function"==typeof(this.overlay||this.$slots.overlay||this.$scopedSlots.overlay)?this.getMenuElement:this.getMenuElement()},getPopupDomNode:function(){return this.$refs.trigger.getPopupDomNode()},getOpenClassName:function(){var e=this.$props,t=e.openClassName,e=e.prefixCls;return void 0!==t?t:e+"-open"},afterVisibleChange:function(e){var t;e&&this.getMinOverlayWidthMatchTrigger()&&(e=this.getPopupDomNode(),t=this.$el)&&e&&t.offsetWidth>e.offsetWidth&&(e.style.minWidth=t.offsetWidth+"px",this.$refs.trigger)&&this.$refs.trigger._component&&this.$refs.trigger._component.$refs&&this.$refs.trigger._component.$refs.alignInstance&&this.$refs.trigger._component.$refs.alignInstance.forceAlign()},renderChildren:function(){var e=this.$slots.default&&this.$slots.default[0];return this.sVisible&&e?Object(u.a)(e,{class:this.getOpenClassName()}):e}},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,r=t.transitionName,i=t.animation,o=t.align,a=t.placement,s=t.getPopupContainer,l=t.showAction,u=t.hideAction,c=t.overlayClassName,f=t.overlayStyle,h=t.trigger,t=p()(t,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),t=(u||-1===h.indexOf("contextmenu")||(u=["click"]),{props:d()({},t,{prefixCls:n,popupClassName:c,popupStyle:f,builtinPlacements:m,action:h,showAction:l,hideAction:u||[],popupPlacement:a,popupAlign:o,popupTransitionName:r,popupAnimation:i,popupVisible:this.sVisible,afterPopupVisibleChange:this.afterVisibleChange,getPopupContainer:s}),on:{popupVisibleChange:this.onVisibleChange},ref:"trigger"});return e(y.a,t,[this.renderChildren(),e("template",{slot:"popup"},[this.$slots.overlay&&this.getMenuElement()])])}},o=n("RSx8"),i=n("HRl5"),a=n("TfX5"),s=n("DGO/"),f=Object(i.a)(),n={name:"ADropdown",props:d()({},f,{prefixCls:r.a.string,mouseEnterDelay:r.a.number.def(.15),mouseLeaveDelay:r.a.number.def(.1),placement:f.placement.def("bottomLeft")}),model:{prop:"visible",event:"visibleChange"},provide:function(){return{savePopupRef:this.savePopupRef}},inject:{configProvider:{default:function(){return a.a}}},methods:{savePopupRef:function(e){this.popupRef=e},getTransitionName:function(){var e=this.$props,t=e.placement,t=void 0===t?"":t,e=e.transitionName;return void 0!==e?e:0<=t.indexOf("top")?"slide-down":"slide-up"},renderOverlay:function(e){var t=this.$createElement,n=Object(l.getComponentFromProp)(this,"overlay"),r=Array.isArray(n)?n[0]:n,i=r&&Object(l.getPropsData)(r)||{},o=i.selectable,o=void 0!==o&&o,i=i.focusable,i=void 0===i||i,t=t("span",{class:e+"-menu-submenu-arrow"},[t(s.default,{attrs:{type:"right"},class:e+"-menu-submenu-arrow-icon"})]);return r&&r.componentOptions?Object(u.a)(r,{props:{mode:"vertical",selectable:o,focusable:i,expandIcon:t}}):n}},render:function(){var e=arguments[0],t=this.$slots,n=Object(l.getOptionProps)(this),r=n.prefixCls,i=n.trigger,o=n.disabled,a=n.getPopupContainer,s=this.configProvider.getPopupContainer,r=(0,this.configProvider.getPrefixCls)("dropdown",r),t=Object(u.a)(t.default,{class:r+"-trigger",props:{disabled:o}}),o=o?[]:i,i=void 0,i=(o&&-1!==o.indexOf("contextmenu")&&(i=!0),{props:d()({alignPoint:i},n,{prefixCls:r,getPopupContainer:a||s,transitionName:this.getTransitionName(),trigger:o}),on:Object(l.getListeners)(this)});return e(c,i,[t,e("template",{slot:"overlay"},[this.renderOverlay(r)])])}};n.Button=o.b,t.b=n},wclG:function(e,t,n){var r=n("pFRH"),n=n("88Gu")(r);e.exports=n},wcrc:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{ref:"chart",staticClass:"sm-component-liquidfill",style:[this.background&&this.getBackgroundStyle],attrs:{id:"chart"}})},i=[]},"wd/R":function(e,t,ha){!function(ca){var fa;//! moment.js
- //! version : 2.29.4
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
- //! license : MIT
- //! momentjs.com
- ca.exports=function(){"use strict";var B,R;function f(){return B.apply(null,arguments)}function N(e){B=e}function a(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function z(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function F(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;else{var t;for(t in e)if(l(e,t))return false;return true}}function s(e){return e===void 0}function u(e){return typeof e==="number"||Object.prototype.toString.call(e)==="[object Number]"}function V(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function H(e,t){var n=[],r,i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function Y(e,t){for(var n in t)if(l(t,n))e[n]=t[n];if(l(t,"toString"))e.toString=t.toString;if(l(t,"valueOf"))e.valueOf=t.valueOf;return e}function c(e,t,n,r){return $n(e,t,n,r,true).utc()}function G(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidEra:null,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],era:null,meridiem:null,rfc2822:false,weekdayMismatch:false}}function h(e){if(e._pf==null)e._pf=G();return e._pf}if(Array.prototype.some)R=Array.prototype.some;else R=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return true;return false};function U(e){if(e._isValid==null){var t=h(e),n=R.call(t.parsedDateParts,function(e){return e!=null}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict)r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===undefined;if(Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r}return e._isValid}function Q(e){var t=c(NaN);if(e!=null)Y(h(t),e);else h(t).userInvalidated=true;return t}var W=f.momentProperties=[],q=false;function K(e,t){var n,r,i,o=W.length;if(!s(t._isAMomentObject))e._isAMomentObject=t._isAMomentObject;if(!s(t._i))e._i=t._i;if(!s(t._f))e._f=t._f;if(!s(t._l))e._l=t._l;if(!s(t._strict))e._strict=t._strict;if(!s(t._tzm))e._tzm=t._tzm;if(!s(t._isUTC))e._isUTC=t._isUTC;if(!s(t._offset))e._offset=t._offset;if(!s(t._pf))e._pf=h(t);if(!s(t._locale))e._locale=t._locale;if(o>0)for(n=0;n<o;n++){r=W[n];i=t[r];if(!s(i))e[r]=i}return e}function X(e){K(this,e);this._d=new Date(e._d!=null?e._d.getTime():NaN);if(!this.isValid())this._d=new Date(NaN);if(q===false){q=true;f.updateOffset(this);q=false}}function d(e){return e instanceof X||e!=null&&e._isAMomentObject!=null}function J(e){if(f.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn)console.warn("Deprecation warning: "+e)}function e(o,a){var s=true;return Y(function(){if(f.deprecationHandler!=null)f.deprecationHandler(null,o);if(s){var e=[],t,n,r,i=arguments.length;for(n=0;n<i;n++){t="";if(typeof arguments[n]==="object"){t+="\n["+n+"] ";for(r in arguments[0])if(l(arguments[0],r))t+=r+": "+arguments[0][r]+", ";t=t.slice(0,-2)}else t=arguments[n];e.push(t)}J(o+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack);s=false}return a.apply(this,arguments)},a)}var $={},Z;function ee(e,t){if(f.deprecationHandler!=null)f.deprecationHandler(e,t);if(!$[e]){J(t);$[e]=true}}function p(e){return typeof Function!=="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function te(e){var t,n;for(n in e)if(l(e,n)){t=e[n];if(p(t))this[n]=t;else this["_"+n]=t}this._config=e;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ne(e,t){var n=Y({},e),r;for(r in t)if(l(t,r))if(z(e[r])&&z(t[r])){n[r]={};Y(n[r],e[r]);Y(n[r],t[r])}else if(t[r]!=null)n[r]=t[r];else delete n[r];for(r in e)if(l(e,r)&&!l(t,r)&&z(e[r]))n[r]=Y({},n[r]);return n}function re(e){if(e!=null)this.set(e)}if(f.suppressDeprecationWarnings=false,f.deprecationHandler=null,Object.keys)Z=Object.keys;else Z=function(e){var t,n=[];for(t in e)if(l(e,t))n.push(t);return n};var ie={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function oe(e,t,n){var r=this._calendar[e]||this._calendar["sameElse"];return p(r)?r.call(t,n):r}function o(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var ae=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,se=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,le={},ue={};function r(e,t,n,r){var i=r;if(typeof r==="string")i=function(){return this[r]()};if(e)ue[e]=i;if(t)ue[t[0]]=function(){return o(i.apply(this,arguments),t[1],t[2])};if(n)ue[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)}}function ce(e){if(e.match(/\[[\s\S]/))return e.replace(/^\[|\]$/g,"");return e.replace(/\\/g,"")}function fe(r){var i=r.match(ae),e,o;for(e=0,o=i.length;e<o;e++)if(ue[i[e]])i[e]=ue[i[e]];else i[e]=ce(i[e]);return function(e){var t="",n;for(n=0;n<o;n++)t+=p(i[n])?i[n].call(e,r):i[n];return t}}function he(e,t){if(!e.isValid())return e.localeData().invalidDate();t=de(t,e.localeData());le[t]=le[t]||fe(t);return le[t](e)}function de(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}se.lastIndex=0;while(n>=0&&se.test(e)){e=e.replace(se,r);se.lastIndex=0;n-=1}return e}var pe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function ye(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];if(t||!n)return t;this._longDateFormat[e]=n.match(ae).map(function(e){if(e==="MMMM"||e==="MM"||e==="DD"||e==="dddd")return e.slice(1);return e}).join("");return this._longDateFormat[e]}var me="Invalid date";function ge(){return this._invalidDate}var ve="%d",be=/\d{1,2}/;function _e(e){return this._ordinal.replace("%d",e)}var xe={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function we(e,t,n,r){var i=this._relativeTime[n];return p(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Ae(e,t){var n=this._relativeTime[e>0?"future":"past"];return p(n)?n(t):n.replace(/%s/i,t)}var Se={};function t(e,t){var n=e.toLowerCase();Se[n]=Se[n+"s"]=Se[t]=e}function y(e){return typeof e==="string"?Se[e]||Se[e.toLowerCase()]:undefined}function Ce(e){var t={},n,r;for(r in e)if(l(e,r)){n=y(r);if(n)t[n]=e[r]}return t}var Oe={};function n(e,t){Oe[e]=t}function Ee(e){var t=[],n;for(n in e)if(l(e,n))t.push({unit:n,priority:Oe[n]});t.sort(function(e,t){return e.priority-t.priority});return t}function Me(e){return e%4===0&&e%100!==0||e%400===0}function m(e){if(e<0)return Math.ceil(e)||0;else return Math.floor(e)}function g(e){var t=+e,n=0;if(t!==0&&isFinite(t))n=m(t);return n}function Pe(t,n){return function(e){if(e!=null){Te(this,t,e);f.updateOffset(this,n);return this}else return ke(this,t)}}function ke(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Te(e,t,n){if(e.isValid()&&!isNaN(n))if(t==="FullYear"&&Me(e.year())&&e.month()===1&&e.date()===29){n=g(n);e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ot(n,e.month()))}else e._d["set"+(e._isUTC?"UTC":"")+t](n)}function Ie(e){e=y(e);if(p(this[e]))return this[e]();return this}function Le(e,t){if(typeof e==="object"){e=Ce(e);var n=Ee(e),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else{e=y(e);if(p(this[e]))return this[e](t)}return this}var je=/\d/,i=/\d\d/,De=/\d{3}/,Be=/\d{4}/,Re=/[+-]?\d{6}/,v=/\d\d?/,Ne=/\d\d\d\d?/,ze=/\d\d\d\d\d\d?/,Fe=/\d{1,3}/,Ve=/\d{1,4}/,He=/[+-]?\d{1,6}/,Ye=/\d+/,Ge=/[+-]?\d+/,Ue=/Z|[+-]\d\d:?\d\d/gi,Qe=/Z|[+-]\d\d(?::?\d\d)?/gi,We=/[+-]?\d+(\.\d{1,3})?/,qe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ke;function b(e,n,r){Ke[e]=p(n)?n:function(e,t){return e&&r?r:n}}function Xe(e,t){if(!l(Ke,e))return new RegExp(Je(e));return Ke[e](t._strict,t._locale)}function Je(e){return _(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ke={},$e={};function x(e,n){var t,r=n,i;if(typeof e==="string")e=[e];if(u(n))r=function(e,t){t[n]=g(e)};i=e.length;for(t=0;t<i;t++)$e[e[t]]=r}function Ze(e,i){x(e,function(e,t,n,r){n._w=n._w||{};i(e,n._w,n,r)})}function et(e,t,n){if(t!=null&&l($e,e))$e[e](t,n._a,n,e)}var w=0,A=1,S=2,C=3,O=4,E=5,tt=6,nt=7,rt=8,M;function it(e,t){return(e%t+t)%t}if(Array.prototype.indexOf)M=Array.prototype.indexOf;else M=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ot(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=it(t,12);e+=(t-n)/12;return n===1?Me(e)?29:28:31-n%7%2}r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),b("M",v),b("MM",v,i),b("MMM",function(e,t){return t.monthsShortRegex(e)}),b("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[A]=g(e)-1}),x(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);if(i!=null)t[A]=i;else h(n).invalidMonth=e});var at="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),st="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),lt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ut=qe,ct=qe;function ft(e,t){if(!e)return a(this._months)?this._months:this._months["standalone"];return a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||lt).test(t)?"format":"standalone"][e.month()]}function ht(e,t){if(!e)return a(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"];return a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[lt.test(t)?"format":"standalone"][e.month()]}function dt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[];for(r=0;r<12;++r){o=c([2e3,r]);this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase();this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase()}}if(n)if(t==="MMM"){i=M.call(this._shortMonthsParse,a);return i!==-1?i:null}else{i=M.call(this._longMonthsParse,a);return i!==-1?i:null}else if(t==="MMM"){i=M.call(this._shortMonthsParse,a);if(i!==-1)return i;i=M.call(this._longMonthsParse,a);return i!==-1?i:null}else{i=M.call(this._longMonthsParse,a);if(i!==-1)return i;i=M.call(this._shortMonthsParse,a);return i!==-1?i:null}}function pt(e,t,n){var r,i,o;if(this._monthsParseExact)return dt.call(this,e,t,n);if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[]}for(r=0;r<12;r++){i=c([2e3,r]);if(n&&!this._longMonthsParse[r]){this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i");this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")}if(!n&&!this._monthsParse[r]){o="^"+this.months(i,"")+"|^"+this.monthsShort(i,"");this._monthsParse[r]=new RegExp(o.replace(".",""),"i")}if(n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;else if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;else if(!n&&this._monthsParse[r].test(e))return r}}function yt(e,t){var n;if(!e.isValid())return e;if(typeof t==="string")if(/^\d+$/.test(t))t=g(t);else{t=e.localeData().monthsParse(t);if(!u(t))return e}n=Math.min(e.date(),ot(e.year(),t));e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n);return e}function mt(e){if(e!=null){yt(this,e);f.updateOffset(this,true);return this}else return ke(this,"Month")}function gt(){return ot(this.year(),this.month())}function vt(e){if(this._monthsParseExact){if(!l(this,"_monthsRegex"))_t.call(this);if(e)return this._monthsShortStrictRegex;else return this._monthsShortRegex}else{if(!l(this,"_monthsShortRegex"))this._monthsShortRegex=ut;return this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}}function bt(e){if(this._monthsParseExact){if(!l(this,"_monthsRegex"))_t.call(this);if(e)return this._monthsStrictRegex;else return this._monthsRegex}else{if(!l(this,"_monthsRegex"))this._monthsRegex=ct;return this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}}function _t(){function e(e,t){return t.length-e.length}var t=[],n=[],r=[],i,o;for(i=0;i<12;i++){o=c([2e3,i]);t.push(this.monthsShort(o,""));n.push(this.months(o,""));r.push(this.months(o,""));r.push(this.monthsShort(o,""))}t.sort(e);n.sort(e);r.sort(e);for(i=0;i<12;i++){t[i]=_(t[i]);n[i]=_(n[i])}for(i=0;i<24;i++)r[i]=_(r[i]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function xt(e){return Me(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,true],0,"year"),t("year","y"),n("year",1),b("Y",Ge),b("YY",v,i),b("YYYY",Ve,Be),b("YYYYY",He,Re),b("YYYYYY",He,Re),x(["YYYYY","YYYYYY"],w),x("YYYY",function(e,t){t[w]=e.length===2?f.parseTwoDigitYear(e):g(e)}),x("YY",function(e,t){t[w]=f.parseTwoDigitYear(e)}),x("Y",function(e,t){t[w]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return g(e)+(g(e)>68?1900:2e3)};var wt=Pe("FullYear",true);function At(){return Me(this.year())}function St(e,t,n,r,i,o,a){var s;if(e<100&&e>=0){s=new Date(e+400,t,n,r,i,o,a);if(isFinite(s.getFullYear()))s.setFullYear(e)}else s=new Date(e,t,n,r,i,o,a);return s}function Ct(e){var t,n;if(e<100&&e>=0){n=Array.prototype.slice.call(arguments);n[0]=e+400;t=new Date(Date.UTC.apply(null,n));if(isFinite(t.getUTCFullYear()))t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ot(e,t,n){var r=7+t-n,i=(7+Ct(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Et(e,t,n,r,i){var o=(7+n-r)%7,a=Ot(e,r,i),s=1+7*(t-1)+o+a,l,u;if(s<=0){l=e-1;u=xt(l)+s}else if(s>xt(e)){l=e+1;u=s-xt(e)}else{l=e;u=s}return{year:l,dayOfYear:u}}function Mt(e,t,n){var r=Ot(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,o,a;if(i<1){a=e.year()-1;o=i+P(a,t,n)}else if(i>P(e.year(),t,n)){o=i-P(e.year(),t,n);a=e.year()+1}else{a=e.year();o=i}return{week:o,year:a}}function P(e,t,n){var r=Ot(e,t,n),i=Ot(e+1,t,n);return(xt(e)-r+i)/7}function Pt(e){return Mt(e,this._week.dow,this._week.doy).week}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),b("w",v),b("ww",v,i),b("W",v),b("WW",v,i),Ze(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=g(e)});var kt={dow:0,doy:6};function Tt(){return this._week.dow}function It(){return this._week.doy}function Lt(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function jt(e){var t=Mt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}function Dt(e,t){if(typeof e!=="string")return e;if(!isNaN(e))return parseInt(e,10);e=t.weekdaysParse(e);if(typeof e==="number")return e;return null}function Bt(e,t){if(typeof e==="string")return t.weekdaysParse(e)%7||7;return isNaN(e)?null:e}function Rt(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),b("d",v),b("e",v),b("E",v),b("dd",function(e,t){return t.weekdaysMinRegex(e)}),b("ddd",function(e,t){return t.weekdaysShortRegex(e)}),b("dddd",function(e,t){return t.weekdaysRegex(e)}),Ze(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);if(i!=null)t.d=i;else h(n).invalidWeekday=e}),Ze(["d","e","E"],function(e,t,n,r){t[r]=g(e)});var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ft="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Vt=qe,Ht=qe,Yt=qe;function Gt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&e!==true&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===true?Rt(n,this._week.dow):e?n[e.day()]:n}function Ut(e){return e===true?Rt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Qt(e){return e===true?Rt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[];this._shortWeekdaysParse=[];this._minWeekdaysParse=[];for(r=0;r<7;++r){o=c([2e3,1]).day(r);this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase();this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase();this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase()}}if(n)if(t==="dddd"){i=M.call(this._weekdaysParse,a);return i!==-1?i:null}else if(t==="ddd"){i=M.call(this._shortWeekdaysParse,a);return i!==-1?i:null}else{i=M.call(this._minWeekdaysParse,a);return i!==-1?i:null}else if(t==="dddd"){i=M.call(this._weekdaysParse,a);if(i!==-1)return i;i=M.call(this._shortWeekdaysParse,a);if(i!==-1)return i;i=M.call(this._minWeekdaysParse,a);return i!==-1?i:null}else if(t==="ddd"){i=M.call(this._shortWeekdaysParse,a);if(i!==-1)return i;i=M.call(this._weekdaysParse,a);if(i!==-1)return i;i=M.call(this._minWeekdaysParse,a);return i!==-1?i:null}else{i=M.call(this._minWeekdaysParse,a);if(i!==-1)return i;i=M.call(this._weekdaysParse,a);if(i!==-1)return i;i=M.call(this._shortWeekdaysParse,a);return i!==-1?i:null}}function qt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);if(!this._weekdaysParse){this._weekdaysParse=[];this._minWeekdaysParse=[];this._shortWeekdaysParse=[];this._fullWeekdaysParse=[]}for(r=0;r<7;r++){i=c([2e3,1]).day(r);if(n&&!this._fullWeekdaysParse[r]){this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i");this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i");this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")}if(!this._weekdaysParse[r]){o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,"");this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")}if(n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;else if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;else if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;else if(!n&&this._weekdaysParse[r].test(e))return r}}function Kt(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();if(e!=null){e=Dt(e,this.localeData());return this.add(e-t,"d")}else return t}function Xt(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Jt(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Bt(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function $t(e){if(this._weekdaysParseExact){if(!l(this,"_weekdaysRegex"))tn.call(this);if(e)return this._weekdaysStrictRegex;else return this._weekdaysRegex}else{if(!l(this,"_weekdaysRegex"))this._weekdaysRegex=Vt;return this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}}function Zt(e){if(this._weekdaysParseExact){if(!l(this,"_weekdaysRegex"))tn.call(this);if(e)return this._weekdaysShortStrictRegex;else return this._weekdaysShortRegex}else{if(!l(this,"_weekdaysShortRegex"))this._weekdaysShortRegex=Ht;return this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}}function en(e){if(this._weekdaysParseExact){if(!l(this,"_weekdaysRegex"))tn.call(this);if(e)return this._weekdaysMinStrictRegex;else return this._weekdaysMinRegex}else{if(!l(this,"_weekdaysMinRegex"))this._weekdaysMinRegex=Yt;return this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}}function tn(){function e(e,t){return t.length-e.length}var t=[],n=[],r=[],i=[],o,a,s,l,u;for(o=0;o<7;o++){a=c([2e3,1]).day(o);s=_(this.weekdaysMin(a,""));l=_(this.weekdaysShort(a,""));u=_(this.weekdays(a,""));t.push(s);n.push(l);r.push(u);i.push(s);i.push(l);i.push(u)}t.sort(e);n.sort(e);r.sort(e);i.sort(e);this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function nn(){return this.hours()%12||12}function rn(){return this.hours()||24}function on(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function an(e,t){return t._meridiemParse}function sn(e){return(e+"").toLowerCase().charAt(0)==="p"}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,nn),r("k",["kk",2],0,rn),r("hmm",0,0,function(){return""+nn.apply(this)+o(this.minutes(),2)}),r("hmmss",0,0,function(){return""+nn.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),on("a",true),on("A",false),t("hour","h"),n("hour",13),b("a",an),b("A",an),b("H",v),b("h",v),b("k",v),b("HH",v,i),b("hh",v,i),b("kk",v,i),b("hmm",Ne),b("hmmss",ze),b("Hmm",Ne),b("Hmmss",ze),x(["H","HH"],C),x(["k","kk"],function(e,t,n){var r=g(e);t[C]=r===24?0:r}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e);n._meridiem=e}),x(["h","hh"],function(e,t,n){t[C]=g(e);h(n).bigHour=true}),x("hmm",function(e,t,n){var r=e.length-2;t[C]=g(e.substr(0,r));t[O]=g(e.substr(r));h(n).bigHour=true}),x("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[C]=g(e.substr(0,r));t[O]=g(e.substr(r,2));t[E]=g(e.substr(i));h(n).bigHour=true}),x("Hmm",function(e,t,n){var r=e.length-2;t[C]=g(e.substr(0,r));t[O]=g(e.substr(r))}),x("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[C]=g(e.substr(0,r));t[O]=g(e.substr(r,2));t[E]=g(e.substr(i))});var ln,un=Pe("Hours",true);function cn(e,t,n){if(e>11)return n?"pm":"PM";else return n?"am":"AM"}var fn={calendar:ie,longDateFormat:pe,invalidDate:me,ordinal:ve,dayOfMonthOrdinalParse:be,relativeTime:xe,months:at,monthsShort:st,week:kt,weekdays:Nt,weekdaysMin:Ft,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},k={},hn={},dn;function pn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function yn(e){return e?e.toLowerCase().replace("_","-"):e}function mn(e){var t=0,n,r,i,o;while(t<e.length){o=yn(e[t]).split("-");n=o.length;r=yn(e[t+1]);r=r?r.split("-"):null;while(n>0){i=vn(o.slice(0,n).join("-"));if(i)return i;if(r&&r.length>=n&&pn(o,r)>=n-1)break;n--}t++}return dn}function gn(e){return e.match("^[^/\\\\]*$")!=null}function vn(t){var e=null,n;if(k[t]===undefined&&typeof ca!=="undefined"&&ca&&ca.exports&&gn(t))try{e=dn._abbr;n=fa;ha("RnhZ")("./"+t);bn(e)}catch(e){k[t]=null}return k[t]}function bn(e,t){var n;if(e){if(s(t))n=wn(e);else n=_n(e,t);if(n)dn=n;else if(typeof console!=="undefined"&&console.warn)console.warn("Locale "+e+" not found. Did you forget to load it?")}return dn._abbr}function _n(e,t){if(t!==null){var n,r=fn;t.abbr=e;if(k[e]!=null){ee("defineLocaleOverride","use moment.updateLocale(localeName, config) to change "+"an existing locale. moment.defineLocale(localeName, "+"config) should only be used for creating a new locale "+"See http://momentjs.com/guides/#/warnings/define-locale/ for more info.");r=k[e]._config}else if(t.parentLocale!=null)if(k[t.parentLocale]!=null)r=k[t.parentLocale]._config;else{n=vn(t.parentLocale);if(n!=null)r=n._config;else{if(!hn[t.parentLocale])hn[t.parentLocale]=[];hn[t.parentLocale].push({name:e,config:t});return null}}k[e]=new re(ne(r,t));if(hn[e])hn[e].forEach(function(e){_n(e.name,e.config)});bn(e);return k[e]}else{delete k[e];return null}}function xn(e,t){if(t!=null){var n,r,i=fn;if(k[e]!=null&&k[e].parentLocale!=null)k[e].set(ne(k[e]._config,t));else{r=vn(e);if(r!=null)i=r._config;t=ne(i,t);if(r==null)t.abbr=e;n=new re(t);n.parentLocale=k[e];k[e]=n}bn(e)}else if(k[e]!=null)if(k[e].parentLocale!=null){k[e]=k[e].parentLocale;if(e===bn())bn(e)}else if(k[e]!=null)delete k[e];return k[e]}function wn(e){var t;if(e&&e._locale&&e._locale._abbr)e=e._locale._abbr;if(!e)return dn;if(!a(e)){t=vn(e);if(t)return t;e=[e]}return mn(e)}function An(){return Z(k)}function Sn(e){var t,n=e._a;if(n&&h(e).overflow===-2){t=n[A]<0||n[A]>11?A:n[S]<1||n[S]>ot(n[w],n[A])?S:n[C]<0||n[C]>24||n[C]===24&&(n[O]!==0||n[E]!==0||n[tt]!==0)?C:n[O]<0||n[O]>59?O:n[E]<0||n[E]>59?E:n[tt]<0||n[tt]>999?tt:-1;if(h(e)._overflowDayOfYear&&(t<w||t>S))t=S;if(h(e)._overflowWeeks&&t===-1)t=nt;if(h(e)._overflowWeekday&&t===-1)t=rt;h(e).overflow=t}return e}var Cn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,On=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,En=/Z|[+-]\d\d(?::?\d\d)?/,Mn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,false],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,false],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,false],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,false],["YYYY",/\d{4}/,false]],Pn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kn=/^\/?Date\((-?\d+)/i,Tn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,In={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Ln(e){var t,n,r=e._i,i=Cn.exec(r)||On.exec(r),o,a,s,l,u=Mn.length,c=Pn.length;if(i){h(e).iso=true;for(t=0,n=u;t<n;t++)if(Mn[t][1].exec(i[1])){a=Mn[t][0];o=Mn[t][2]!==false;break}if(a==null){e._isValid=false;return}if(i[3]){for(t=0,n=c;t<n;t++)if(Pn[t][1].exec(i[3])){s=(i[2]||" ")+Pn[t][0];break}if(s==null){e._isValid=false;return}}if(!o&&s!=null){e._isValid=false;return}if(i[4])if(En.exec(i[4]))l="Z";else{e._isValid=false;return}e._f=a+(s||"")+(l||"");Un(e)}else e._isValid=false}function jn(e,t,n,r,i,o){var a=[Dn(e),st.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];if(o)a.push(parseInt(o,10));return a}function Dn(e){var t=parseInt(e,10);if(t<=49)return 2e3+t;else if(t<=999)return 1900+t;return t}function Bn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Rn(e,t,n){if(e){var r=zt.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i){h(n).weekdayMismatch=true;n._isValid=false;return false}}return true}function Nn(e,t,n){if(e)return In[e];else if(t)return 0;else{var r=parseInt(n,10),i=r%100,o=(r-i)/100;return o*60+i}}function zn(e){var t=Tn.exec(Bn(e._i)),n;if(t){n=jn(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Rn(t[1],n,e))return;e._a=n;e._tzm=Nn(t[8],t[9],t[10]);e._d=Ct.apply(null,e._a);e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm);h(e).rfc2822=true}else e._isValid=false}function Fn(e){var t=kn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}Ln(e);if(e._isValid===false)delete e._isValid;else return;zn(e);if(e._isValid===false)delete e._isValid;else return;if(e._strict)e._isValid=false;else f.createFromInputFallback(e)}function Vn(e,t,n){if(e!=null)return e;if(t!=null)return t;return n}function Hn(e){var t=new Date(f.now());if(e._useUTC)return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()];return[t.getFullYear(),t.getMonth(),t.getDate()]}function Yn(e){var t,n,r=[],i,o,a;if(e._d)return;i=Hn(e);if(e._w&&e._a[S]==null&&e._a[A]==null)Gn(e);if(e._dayOfYear!=null){a=Vn(e._a[w],i[w]);if(e._dayOfYear>xt(a)||e._dayOfYear===0)h(e)._overflowDayOfYear=true;n=Ct(a,0,e._dayOfYear);e._a[A]=n.getUTCMonth();e._a[S]=n.getUTCDate()}for(t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];if(e._a[C]===24&&e._a[O]===0&&e._a[E]===0&&e._a[tt]===0){e._nextDay=true;e._a[C]=0}e._d=(e._useUTC?Ct:St).apply(null,r);o=e._useUTC?e._d.getUTCDay():e._d.getDay();if(e._tzm!=null)e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm);if(e._nextDay)e._a[C]=24;if(e._w&&typeof e._w.d!=="undefined"&&e._w.d!==o)h(e).weekdayMismatch=true}function Gn(e){var t,n,r,i,o,a,s,l,u;t=e._w;if(t.GG!=null||t.W!=null||t.E!=null){o=1;a=4;n=Vn(t.GG,e._a[w],Mt(T(),1,4).year);r=Vn(t.W,1);i=Vn(t.E,1);if(i<1||i>7)l=true}else{o=e._locale._week.dow;a=e._locale._week.doy;u=Mt(T(),o,a);n=Vn(t.gg,e._a[w],u.year);r=Vn(t.w,u.week);if(t.d!=null){i=t.d;if(i<0||i>6)l=true}else if(t.e!=null){i=t.e+o;if(t.e<0||t.e>6)l=true}else i=o}if(r<1||r>P(n,o,a))h(e)._overflowWeeks=true;else if(l!=null)h(e)._overflowWeekday=true;else{s=Et(n,r,i,o,a);e._a[w]=s.year;e._dayOfYear=s.dayOfYear}}function Un(e){if(e._f===f.ISO_8601){Ln(e);return}if(e._f===f.RFC_2822){zn(e);return}e._a=[];h(e).empty=true;var t=""+e._i,n,r,i,o,a,s=t.length,l=0,u,c;i=de(e._f,e._locale).match(ae)||[];c=i.length;for(n=0;n<c;n++){o=i[n];r=(t.match(Xe(o,e))||[])[0];if(r){a=t.substr(0,t.indexOf(r));if(a.length>0)h(e).unusedInput.push(a);t=t.slice(t.indexOf(r)+r.length);l+=r.length}if(ue[o]){if(r)h(e).empty=false;else h(e).unusedTokens.push(o);et(o,r,e)}else if(e._strict&&!r)h(e).unusedTokens.push(o)}h(e).charsLeftOver=s-l;if(t.length>0)h(e).unusedInput.push(t);if(e._a[C]<=12&&h(e).bigHour===true&&e._a[C]>0)h(e).bigHour=undefined;h(e).parsedDateParts=e._a.slice(0);h(e).meridiem=e._meridiem;e._a[C]=Qn(e._locale,e._a[C],e._meridiem);u=h(e).era;if(u!==null)e._a[w]=e._locale.erasConvertYear(u,e._a[w]);Yn(e);Sn(e)}function Qn(e,t,n){var r;if(n==null)return t;if(e.meridiemHour!=null)return e.meridiemHour(t,n);else if(e.isPM!=null){r=e.isPM(n);if(r&&t<12)t+=12;if(!r&&t===12)t=0;return t}else return t}function Wn(e){var t,n,r,i,o,a,s=false,l=e._f.length;if(l===0){h(e).invalidFormat=true;e._d=new Date(NaN);return}for(i=0;i<l;i++){o=0;a=false;t=K({},e);if(e._useUTC!=null)t._useUTC=e._useUTC;t._f=e._f[i];Un(t);if(U(t))a=true;o+=h(t).charsLeftOver;o+=h(t).unusedTokens.length*10;h(t).score=o;if(!s){if(r==null||o<r||a){r=o;n=t;if(a)s=true}}else if(o<r){r=o;n=t}}Y(e,n||t)}function qn(e){if(e._d)return;var t=Ce(e._i),n=t.day===undefined?t.date:t.day;e._a=H([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)});Yn(e)}function Kn(e){var t=new X(Sn(Xn(e)));if(t._nextDay){t.add(1,"d");t._nextDay=undefined}return t}function Xn(e){var t=e._i,n=e._f;e._locale=e._locale||wn(e._l);if(t===null||n===undefined&&t==="")return Q({nullInput:true});if(typeof t==="string")e._i=t=e._locale.preparse(t);if(d(t))return new X(Sn(t));else if(V(t))e._d=t;else if(a(n))Wn(e);else if(n)Un(e);else Jn(e);if(!U(e))e._d=null;return e}function Jn(e){var t=e._i;if(s(t))e._d=new Date(f.now());else if(V(t))e._d=new Date(t.valueOf());else if(typeof t==="string")Fn(e);else if(a(t)){e._a=H(t.slice(0),function(e){return parseInt(e,10)});Yn(e)}else if(z(t))qn(e);else if(u(t))e._d=new Date(t);else f.createFromInputFallback(e)}function $n(e,t,n,r,i){var o={};if(t===true||t===false){r=t;t=undefined}if(n===true||n===false){r=n;n=undefined}if(z(e)&&F(e)||a(e)&&e.length===0)e=undefined;o._isAMomentObject=true;o._useUTC=o._isUTC=i;o._l=n;o._i=e;o._f=t;o._strict=r;return Kn(o)}function T(e,t,n,r){return $n(e,t,n,r,false)}f.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), "+"which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are "+"discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};var Zn=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);if(this.isValid()&&e.isValid())return e<this?this:e;else return Q()}),er=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);if(this.isValid()&&e.isValid())return e>this?this:e;else return Q()});function tr(e,t){var n,r;if(t.length===1&&a(t[0]))t=t[0];if(!t.length)return T();n=t[0];for(r=1;r<t.length;++r)if(!t[r].isValid()||t[r][e](n))n=t[r];return n}function nr(){var e=[].slice.call(arguments,0);return tr("isBefore",e)}function rr(){var e=[].slice.call(arguments,0);return tr("isAfter",e)}var ir=function(){return Date.now?Date.now():+new Date},or=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ar(e){var t,n=false,r,i=or.length;for(t in e)if(l(e,t)&&!(M.call(or,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return false;for(r=0;r<i;++r)if(e[or[r]]){if(n)return false;if(parseFloat(e[or[r]])!==g(e[or[r]]))n=true}return true}function sr(){return this._isValid}function lr(){return I(NaN)}function ur(e){var t=Ce(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=ar(t);this._milliseconds=+c+u*1e3+l*6e4+s*1e3*60*60;this._days=+a+o*7;this._months=+i+r*3+n*12;this._data={};this._locale=wn();this._bubble()}function cr(e){return e instanceof ur}function fr(e){if(e<0)return Math.round(-1*e)*-1;else return Math.round(e)}function hr(e,t,n){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,a;for(a=0;a<r;a++)if(n&&e[a]!==t[a]||!n&&g(e[a])!==g(t[a]))o++;return o+i}function dr(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";if(e<0){e=-e;t="-"}return t+o(~~(e/60),2)+n+o(~~e%60,2)})}dr("Z",":"),dr("ZZ",""),b("Z",Qe),b("ZZ",Qe),x(["Z","ZZ"],function(e,t,n){n._useUTC=true;n._tzm=yr(Qe,e)});var pr=/([\+\-]|\d\d)/gi;function yr(e,t){var n=(t||"").match(e),r,i,o;if(n===null)return null;r=n[n.length-1]||[];i=(r+"").match(pr)||["-",0,0];o=+(i[1]*60)+g(i[2]);return o===0?0:i[0]==="+"?o:-o}function mr(e,t){var n,r;if(t._isUTC){n=t.clone();r=(d(e)||V(e)?e.valueOf():T(e).valueOf())-n.valueOf();n._d.setTime(n._d.valueOf()+r);f.updateOffset(n,false);return n}else return T(e).local()}function gr(e){return-Math.round(e._d.getTimezoneOffset())}function vr(e,t,n){var r=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e==="string"){e=yr(Qe,e);if(e===null)return this}else if(Math.abs(e)<16&&!n)e=e*60;if(!this._isUTC&&t)i=gr(this);this._offset=e;this._isUTC=true;if(i!=null)this.add(i,"m");if(r!==e)if(!t||this._changeInProgress)Dr(this,I(e-r,"m"),1,false);else if(!this._changeInProgress){this._changeInProgress=true;f.updateOffset(this,true);this._changeInProgress=null}return this}else return this._isUTC?r:gr(this)}function br(e,t){if(e!=null){if(typeof e!=="string")e=-e;this.utcOffset(e,t);return this}else return-this.utcOffset()}function _r(e){return this.utcOffset(0,e)}function xr(e){if(this._isUTC){this.utcOffset(0,e);this._isUTC=false;if(e)this.subtract(gr(this),"m")}return this}function wr(){if(this._tzm!=null)this.utcOffset(this._tzm,false,true);else if(typeof this._i==="string"){var e=yr(Ue,this._i);if(e!=null)this.utcOffset(e);else this.utcOffset(0,true)}return this}function Ar(e){if(!this.isValid())return false;e=e?T(e).utcOffset():0;return(this.utcOffset()-e)%60===0}function Sr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Cr(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={},t;K(e,this);e=Xn(e);if(e._a){t=e._isUTC?c(e._a):T(e._a);this._isDSTShifted=this.isValid()&&hr(e._a,t.toArray())>0}else this._isDSTShifted=false;return this._isDSTShifted}function Or(){return this.isValid()?!this._isUTC:false}function Er(){return this.isValid()?this._isUTC:false}function Mr(){return this.isValid()?this._isUTC&&this._offset===0:false}f.updateOffset=function(){};var Pr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,kr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var n=e,r=null,i,o,a;if(cr(e))n={ms:e._milliseconds,d:e._days,M:e._months};else if(u(e)||!isNaN(+e)){n={};if(t)n[t]=+e;else n.milliseconds=+e}else if(r=Pr.exec(e)){i=r[1]==="-"?-1:1;n={y:0,d:g(r[S])*i,h:g(r[C])*i,m:g(r[O])*i,s:g(r[E])*i,ms:g(fr(r[tt]*1e3))*i}}else if(r=kr.exec(e)){i=r[1]==="-"?-1:1;n={y:Tr(r[2],i),M:Tr(r[3],i),w:Tr(r[4],i),d:Tr(r[5],i),h:Tr(r[6],i),m:Tr(r[7],i),s:Tr(r[8],i)}}else if(n==null)n={};else if(typeof n==="object"&&("from"in n||"to"in n)){a=Lr(T(n.from),T(n.to));n={};n.ms=a.milliseconds;n.M=a.months}o=new ur(n);if(cr(e)&&l(e,"_locale"))o._locale=e._locale;if(cr(e)&&l(e,"_isValid"))o._isValid=e._isValid;return o}function Tr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ir(e,t){var n={};n.months=t.month()-e.month()+(t.year()-e.year())*12;if(e.clone().add(n.months,"M").isAfter(t))--n.months;n.milliseconds=+t-+e.clone().add(n.months,"M");return n}function Lr(e,t){var n;if(!(e.isValid()&&t.isValid()))return{milliseconds:0,months:0};t=mr(t,e);if(e.isBefore(t))n=Ir(e,t);else{n=Ir(t,e);n.milliseconds=-n.milliseconds;n.months=-n.months}return n}function jr(i,o){return function(e,t){var n,r;if(t!==null&&!isNaN(+t)){ee(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). "+"See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.");r=e;e=t;t=r}n=I(e,t);Dr(this,n,i);return this}}function Dr(e,t,n,r){var i=t._milliseconds,o=fr(t._days),a=fr(t._months);if(!e.isValid())return;r=r==null?true:r;if(a)yt(e,ke(e,"Month")+a*n);if(o)Te(e,"Date",ke(e,"Date")+o*n);if(i)e._d.setTime(e._d.valueOf()+i*n);if(r)f.updateOffset(e,o||a)}I.fn=ur.prototype,I.invalid=lr;var Br=jr(1,"add"),Rr=jr(-1,"subtract");function Nr(e){return typeof e==="string"||e instanceof String}function zr(e){return d(e)||V(e)||Nr(e)||u(e)||Vr(e)||Fr(e)||e===null||e===undefined}function Fr(e){var t=z(e)&&!F(e),n=false,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,o,a=r.length;for(i=0;i<a;i+=1){o=r[i];n=n||l(e,o)}return t&&n}function Vr(t){var e=a(t),n=false;if(e)n=t.filter(function(e){return!u(e)&&Nr(t)}).length===0;return e&&n}function Hr(e){var t=z(e)&&!F(e),n=false,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,o;for(i=0;i<r.length;i+=1){o=r[i];n=n||l(e,o)}return t&&n}function Yr(e,t){var n=e.diff(t,"days",true);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gr(e,t){if(arguments.length===1)if(!arguments[0]){e=undefined;t=undefined}else if(zr(arguments[0])){e=arguments[0];t=undefined}else if(Hr(arguments[0])){t=arguments[0];e=undefined}var n=e||T(),r=mr(n,this).startOf("day"),i=f.calendarFormat(this,r)||"sameElse",o=t&&(p(t[i])?t[i].call(this,n):t[i]);return this.format(o||this.localeData().calendar(i,this,T(n)))}function Ur(){return new X(this)}function Qr(e,t){var n=d(e)?e:T(e);if(!(this.isValid()&&n.isValid()))return false;t=y(t)||"millisecond";if(t==="millisecond")return this.valueOf()>n.valueOf();else return n.valueOf()<this.clone().startOf(t).valueOf()}function Wr(e,t){var n=d(e)?e:T(e);if(!(this.isValid()&&n.isValid()))return false;t=y(t)||"millisecond";if(t==="millisecond")return this.valueOf()<n.valueOf();else return this.clone().endOf(t).valueOf()<n.valueOf()}function qr(e,t,n,r){var i=d(e)?e:T(e),o=d(t)?t:T(t);if(!(this.isValid()&&i.isValid()&&o.isValid()))return false;r=r||"()";return(r[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===")"?this.isBefore(o,n):!this.isAfter(o,n))}function Kr(e,t){var n=d(e)?e:T(e),r;if(!(this.isValid()&&n.isValid()))return false;t=y(t)||"millisecond";if(t==="millisecond")return this.valueOf()===n.valueOf();else{r=n.valueOf();return this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()}}function Xr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Jr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function $r(e,t,n){var r,i,o;if(!this.isValid())return NaN;r=mr(e,this);if(!r.isValid())return NaN;i=(r.utcOffset()-this.utcOffset())*6e4;t=y(t);switch(t){case"year":o=Zr(this,r)/12;break;case"month":o=Zr(this,r);break;case"quarter":o=Zr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:m(o)}function Zr(e,t){if(e.date()<t.date())return-Zr(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),i,o;if(t-r<0){i=e.clone().add(n-1,"months");o=(t-r)/(r-i)}else{i=e.clone().add(n+1,"months");o=(t-r)/(i-r)}return-(n+o)||0}function ei(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ti(e){if(!this.isValid())return null;var t=e!==true,n=t?this.clone().utc():this;if(n.year()<0||n.year()>9999)return he(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ");if(p(Date.prototype.toISOString))if(t)return this.toDate().toISOString();else return new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",he(n,"Z"));return he(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ni(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,o;if(!this.isLocal()){e=this.utcOffset()===0?"moment.utc":"moment.parseZone";t="Z"}n="["+e+'("]';r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";i="-MM-DD[T]HH:mm:ss.SSS";o=t+'[")]';return this.format(n+r+i+o)}function ri(e){if(!e)e=this.isUtc()?f.defaultFormatUtc:f.defaultFormat;var t=he(this,e);return this.localeData().postformat(t)}function ii(e,t){if(this.isValid()&&(d(e)&&e.isValid()||T(e).isValid()))return I({to:this,from:e}).locale(this.locale()).humanize(!t);else return this.localeData().invalidDate()}function oi(e){return this.from(T(),e)}function ai(e,t){if(this.isValid()&&(d(e)&&e.isValid()||T(e).isValid()))return I({from:this,to:e}).locale(this.locale()).humanize(!t);else return this.localeData().invalidDate()}function si(e){return this.to(T(),e)}function li(e){var t;if(e===undefined)return this._locale._abbr;else{t=wn(e);if(t!=null)this._locale=t;return this}}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ui=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){if(e===undefined)return this.localeData();else return this.locale(e)});function ci(){return this._locale}var fi=1e3,hi=60*fi,di=60*hi,pi=(365*400+97)*24*di;function yi(e,t){return(e%t+t)%t}function mi(e,t,n){if(e<100&&e>=0)return new Date(e+400,t,n)-pi;else return new Date(e,t,n).valueOf()}function gi(e,t,n){if(e<100&&e>=0)return Date.UTC(e+400,t,n)-pi;else return Date.UTC(e,t,n)}function vi(e){var t,n;e=y(e);if(e===undefined||e==="millisecond"||!this.isValid())return this;n=this._isUTC?gi:mi;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf();t-=yi(t+(this._isUTC?0:this.utcOffset()*hi),di);break;case"minute":t=this._d.valueOf();t-=yi(t,hi);break;case"second":t=this._d.valueOf();t-=yi(t,fi);break}this._d.setTime(t);f.updateOffset(this,true);return this}function bi(e){var t,n;e=y(e);if(e===undefined||e==="millisecond"||!this.isValid())return this;n=this._isUTC?gi:mi;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf();t+=di-yi(t+(this._isUTC?0:this.utcOffset()*hi),di)-1;break;case"minute":t=this._d.valueOf();t+=hi-yi(t,hi)-1;break;case"second":t=this._d.valueOf();t+=fi-yi(t,fi)-1;break}this._d.setTime(t);f.updateOffset(this,true);return this}function _i(){return this._d.valueOf()-(this._offset||0)*6e4}function xi(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function Ai(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Si(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ci(){return this.isValid()?this.toISOString():null}function Oi(){return U(this)}function Ei(){return Y({},h(this))}function Mi(){return h(this).overflow}function Pi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function ki(e,t){var n,r,i,o=this._eras||wn("en")._eras;for(n=0,r=o.length;n<r;++n){switch(typeof o[n].since){case"string":i=f(o[n].since).startOf("day");o[n].since=i.valueOf();break}switch(typeof o[n].until){case"undefined":o[n].until=+Infinity;break;case"string":i=f(o[n].until).startOf("day").valueOf();o[n].until=i.valueOf();break}}return o}function Ti(e,t,n){var r,i,o=this.eras(),a,s,l;e=e.toUpperCase();for(r=0,i=o.length;r<i;++r){a=o[r].name.toUpperCase();s=o[r].abbr.toUpperCase();l=o[r].narrow.toUpperCase();if(n)switch(t){case"N":case"NN":case"NNN":if(s===e)return o[r];break;case"NNNN":if(a===e)return o[r];break;case"NNNNN":if(l===e)return o[r];break}else if([a,s,l].indexOf(e)>=0)return o[r]}}function Ii(e,t){var n=e.since<=e.until?+1:-1;if(t===undefined)return f(e.since).year();else return f(e.since).year()+(t-e.offset)*n}function Li(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){n=this.clone().startOf("day").valueOf();if(r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function ji(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){n=this.clone().startOf("day").valueOf();if(r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Di(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){n=this.clone().startOf("day").valueOf();if(r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Bi(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){n=i[e].since<=i[e].until?+1:-1;r=this.clone().startOf("day").valueOf();if(i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-f(i[e].since).year())*n+i[e].offset}return this.year()}function Ri(e){if(!l(this,"_erasNameRegex"))Gi.call(this);return e?this._erasNameRegex:this._erasRegex}function Ni(e){if(!l(this,"_erasAbbrRegex"))Gi.call(this);return e?this._erasAbbrRegex:this._erasRegex}function zi(e){if(!l(this,"_erasNarrowRegex"))Gi.call(this);return e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function Vi(e,t){return t.erasNameRegex(e)}function Hi(e,t){return t.erasNarrowRegex(e)}function Yi(e,t){return t._eraYearOrdinalRegex||Ye}function Gi(){var e=[],t=[],n=[],r=[],i,o,a=this.eras();for(i=0,o=a.length;i<o;++i){t.push(_(a[i].name));e.push(_(a[i].abbr));n.push(_(a[i].narrow));r.push(_(a[i].name));r.push(_(a[i].abbr));r.push(_(a[i].narrow))}this._erasRegex=new RegExp("^("+r.join("|")+")","i");this._erasNameRegex=new RegExp("^("+t.join("|")+")","i");this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i");this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function Ui(e,t){r(0,[e,e.length],0,t)}function Qi(e){return $i.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Wi(e){return $i.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function qi(){return P(this.year(),1,4)}function Ki(){return P(this.isoWeekYear(),1,4)}function Xi(){var e=this.localeData()._week;return P(this.year(),e.dow,e.doy)}function Ji(){var e=this.localeData()._week;return P(this.weekYear(),e.dow,e.doy)}function $i(e,t,n,r,i){var o;if(e==null)return Mt(this,r,i).year;else{o=P(e,r,i);if(t>o)t=o;return Zi.call(this,e,t,n,r,i)}}function Zi(e,t,n,r,i){var o=Et(e,t,n,r,i),a=Ct(o.year,0,o.dayOfYear);this.year(a.getUTCFullYear());this.month(a.getUTCMonth());this.date(a.getUTCDate());return this}function eo(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),b("N",Fi),b("NN",Fi),b("NNN",Fi),b("NNNN",Vi),b("NNNNN",Hi),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);if(i)h(n).era=i;else h(n).invalidEra=e}),b("y",Ye),b("yy",Ye),b("yyy",Ye),b("yyyy",Ye),b("yo",Yi),x(["y","yy","yyy","yyyy"],w),x(["yo"],function(e,t,n,r){var i;if(n._locale._eraYearOrdinalRegex)i=e.match(n._locale._eraYearOrdinalRegex);if(n._locale.eraYearOrdinalParse)t[w]=n._locale.eraYearOrdinalParse(e,i);else t[w]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ui("gggg","weekYear"),Ui("ggggg","weekYear"),Ui("GGGG","isoWeekYear"),Ui("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),b("G",Ge),b("g",Ge),b("GG",v,i),b("gg",v,i),b("GGGG",Ve,Be),b("gggg",Ve,Be),b("GGGGG",He,Re),b("ggggg",He,Re),Ze(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=g(e)}),Ze(["gg","GG"],function(e,t,n,r){t[r]=f.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),b("Q",je),x("Q",function(e,t){t[A]=(g(e)-1)*3}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),b("D",v),b("DD",v,i),b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],S),x("Do",function(e,t){t[S]=g(e.match(v)[0])});var to=Pe("Date",true);function no(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),b("DDD",Fe),b("DDDD",De),x(["DDD","DDDD"],function(e,t,n){n._dayOfYear=g(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),b("m",v),b("mm",v,i),x(["m","mm"],O);var ro=Pe("Minutes",false),io=(r("s",["ss",2],0,"second"),t("second","s"),n("second",15),b("s",v),b("ss",v,i),x(["s","ss"],E),Pe("Seconds",false)),oo,ao;for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return this.millisecond()*10}),r(0,["SSSSS",5],0,function(){return this.millisecond()*100}),r(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),r(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),r(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),r(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),t("millisecond","ms"),n("millisecond",16),b("S",Fe,je),b("SS",Fe,i),b("SSS",Fe,De),oo="SSSS";oo.length<=9;oo+="S")b(oo,Ye);function so(e,t){t[tt]=g(("0."+e)*1e3)}for(oo="S";oo.length<=9;oo+="S")x(oo,so);function lo(){return this._isUTC?"UTC":""}function uo(){return this._isUTC?"Coordinated Universal Time":""}ao=Pe("Milliseconds",false),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");var L=X.prototype;if(L.add=Br,L.calendar=Gr,L.clone=Ur,L.diff=$r,L.endOf=bi,L.format=ri,L.from=ii,L.fromNow=oi,L.to=ai,L.toNow=si,L.get=Ie,L.invalidAt=Mi,L.isAfter=Qr,L.isBefore=Wr,L.isBetween=qr,L.isSame=Kr,L.isSameOrAfter=Xr,L.isSameOrBefore=Jr,L.isValid=Oi,L.lang=ui,L.locale=li,L.localeData=ci,L.max=er,L.min=Zn,L.parsingFlags=Ei,L.set=Le,L.startOf=vi,L.subtract=Rr,L.toArray=Ai,L.toObject=Si,L.toDate=wi,L.toISOString=ti,L.inspect=ni,typeof Symbol!=="undefined"&&Symbol.for!=null)L[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"};function co(e){return T(e*1e3)}function fo(){return T.apply(null,arguments).parseZone()}function ho(e){return e}L.toJSON=Ci,L.toString=ei,L.unix=xi,L.valueOf=_i,L.creationData=Pi,L.eraName=Li,L.eraNarrow=ji,L.eraAbbr=Di,L.eraYear=Bi,L.year=wt,L.isLeapYear=At,L.weekYear=Qi,L.isoWeekYear=Wi,L.quarter=L.quarters=eo,L.month=mt,L.daysInMonth=gt,L.week=L.weeks=Lt,L.isoWeek=L.isoWeeks=jt,L.weeksInYear=Xi,L.weeksInWeekYear=Ji,L.isoWeeksInYear=qi,L.isoWeeksInISOWeekYear=Ki,L.date=to,L.day=L.days=Kt,L.weekday=Xt,L.isoWeekday=Jt,L.dayOfYear=no,L.hour=L.hours=un,L.minute=L.minutes=ro,L.second=L.seconds=io,L.millisecond=L.milliseconds=ao,L.utcOffset=vr,L.utc=_r,L.local=xr,L.parseZone=wr,L.hasAlignedHourOffset=Ar,L.isDST=Sr,L.isLocal=Or,L.isUtcOffset=Er,L.isUtc=Mr,L.isUTC=Mr,L.zoneAbbr=lo,L.zoneName=uo,L.dates=e("dates accessor is deprecated. Use date instead.",to),L.months=e("months accessor is deprecated. Use month instead",mt),L.years=e("years accessor is deprecated. Use year instead",wt),L.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",br),L.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Cr);var j=re.prototype;function po(e,t,n,r){var i=wn(),o=c().set(r,t);return i[n](o,e)}function yo(e,t,n){if(u(e)){t=e;e=undefined}e=e||"";if(t!=null)return po(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=po(e,r,n,"month");return i}function mo(e,t,n,r){if(typeof e==="boolean"){if(u(t)){n=t;t=undefined}t=t||""}else{t=e;n=t;e=false;if(u(t)){n=t;t=undefined}t=t||""}var i=wn(),o=e?i._week.dow:0,a,s=[];if(n!=null)return po(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=po(t,(a+o)%7,r,"day");return s}function go(e,t){return yo(e,t,"months")}function vo(e,t){return yo(e,t,"monthsShort")}function bo(e,t,n){return mo(e,t,n,"weekdays")}function _o(e,t,n){return mo(e,t,n,"weekdaysShort")}function xo(e,t,n){return mo(e,t,n,"weekdaysMin")}j.calendar=oe,j.longDateFormat=ye,j.invalidDate=ge,j.ordinal=_e,j.preparse=ho,j.postformat=ho,j.relativeTime=we,j.pastFuture=Ae,j.set=te,j.eras=ki,j.erasParse=Ti,j.erasConvertYear=Ii,j.erasAbbrRegex=Ni,j.erasNameRegex=Ri,j.erasNarrowRegex=zi,j.months=ft,j.monthsShort=ht,j.monthsParse=pt,j.monthsRegex=bt,j.monthsShortRegex=vt,j.week=Pt,j.firstDayOfYear=It,j.firstDayOfWeek=Tt,j.weekdays=Gt,j.weekdaysMin=Qt,j.weekdaysShort=Ut,j.weekdaysParse=qt,j.weekdaysRegex=$t,j.weekdaysShortRegex=Zt,j.weekdaysMinRegex=en,j.isPM=sn,j.meridiem=cn,bn("en",{eras:[{since:"0001-01-01",until:+Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=g(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),f.lang=e("moment.lang is deprecated. Use moment.locale instead.",bn),f.langData=e("moment.langData is deprecated. Use moment.localeData instead.",wn);var wo=Math.abs;function Ao(){var e=this._data;this._milliseconds=wo(this._milliseconds);this._days=wo(this._days);this._months=wo(this._months);e.milliseconds=wo(e.milliseconds);e.seconds=wo(e.seconds);e.minutes=wo(e.minutes);e.hours=wo(e.hours);e.months=wo(e.months);e.years=wo(e.years);return this}function So(e,t,n,r){var i=I(t,n);e._milliseconds+=r*i._milliseconds;e._days+=r*i._days;e._months+=r*i._months;return e._bubble()}function Co(e,t){return So(this,e,t,1)}function Oo(e,t){return So(this,e,t,-1)}function Eo(e){if(e<0)return Math.floor(e);else return Math.ceil(e)}function Mo(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,o,a,s,l;if(!(e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0)){e+=Eo(ko(n)+t)*864e5;t=0;n=0}r.milliseconds=e%1e3;i=m(e/1e3);r.seconds=i%60;o=m(i/60);r.minutes=o%60;a=m(o/60);r.hours=a%24;t+=m(a/24);l=m(Po(t));n+=l;t-=Eo(ko(l));s=m(n/12);n%=12;r.days=t;r.months=n;r.years=s;return this}function Po(e){return e*4800/146097}function ko(e){return e*146097/4800}function To(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;e=y(e);if(e==="month"||e==="quarter"||e==="year"){t=this._days+r/864e5;n=this._months+Po(t);switch(e){case"month":return n;case"quarter":return n/3;case"year":return n/12}}else{t=this._days+Math.round(ko(this._months));switch(e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}}function Io(){if(!this.isValid())return NaN;return this._milliseconds+this._days*864e5+this._months%12*2592e6+g(this._months/12)*31536e6}function Lo(e){return function(){return this.as(e)}}var jo=Lo("ms"),Do=Lo("s"),Bo=Lo("m"),Ro=Lo("h"),No=Lo("d"),zo=Lo("w"),Fo=Lo("M"),Vo=Lo("Q"),Ho=Lo("y");function Yo(){return I(this)}function Go(e){e=y(e);return this.isValid()?this[e+"s"]():NaN}function Uo(e){return function(){return this.isValid()?this._data[e]:NaN}}var Qo=Uo("milliseconds"),Wo=Uo("seconds"),qo=Uo("minutes"),Ko=Uo("hours"),Xo=Uo("days"),Jo=Uo("months"),$o=Uo("years");function Zo(){return m(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var i=I(e).abs(),o=ea(i.as("s")),a=ea(i.as("m")),s=ea(i.as("h")),l=ea(i.as("d")),u=ea(i.as("M")),c=ea(i.as("w")),f=ea(i.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];if(n.w!=null)h=h||c<=1&&["w"]||c<n.w&&["ww",c];h=h||u<=1&&["M"]||u<n.M&&["MM",u]||f<=1&&["y"]||["yy",f];h[2]=t;h[3]=+e>0;h[4]=r;return na.apply(null,h)}function ia(e){if(e===undefined)return ea;if(typeof e==="function"){ea=e;return true}return false}function oa(e,t){if(ta[e]===undefined)return false;if(t===undefined)return ta[e];ta[e]=t;if(e==="s")ta.ss=t-1;return true}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=false,r=ta,i,o;if(typeof e==="object"){t=e;e=false}if(typeof e==="boolean")n=e;if(typeof t==="object"){r=Object.assign({},ta,t);if(t.s!=null&&t.ss==null)r.ss=t.s-1}i=this.localeData();o=ra(this,!n,r,i);if(n)o=i.pastFuture(+this,o);return i.postformat(o)}var sa=Math.abs;function la(e){return(e>0)-(e<0)||+e}function ua(){if(!this.isValid())return this.localeData().invalidDate();var e=sa(this._milliseconds)/1e3,t=sa(this._days),n=sa(this._months),r,i,o,a,s=this.asSeconds(),l,u,c,f;if(!s)return"P0D";r=m(e/60);i=m(r/60);e%=60;r%=60;o=m(n/12);n%=12;a=e?e.toFixed(3).replace(/\.?0+$/,""):"";l=s<0?"-":"";u=la(this._months)!==la(s)?"-":"";c=la(this._days)!==la(s)?"-":"";f=la(this._milliseconds)!==la(s)?"-":"";return l+"P"+(o?u+o+"Y":"")+(n?u+n+"M":"")+(t?c+t+"D":"")+(i||r||e?"T":"")+(i?f+i+"H":"")+(r?f+r+"M":"")+(e?f+a+"S":"")}var D=ur.prototype;return D.isValid=sr,D.abs=Ao,D.add=Co,D.subtract=Oo,D.as=To,D.asMilliseconds=jo,D.asSeconds=Do,D.asMinutes=Bo,D.asHours=Ro,D.asDays=No,D.asWeeks=zo,D.asMonths=Fo,D.asQuarters=Vo,D.asYears=Ho,D.valueOf=Io,D._bubble=Mo,D.clone=Yo,D.get=Go,D.milliseconds=Qo,D.seconds=Wo,D.minutes=qo,D.hours=Ko,D.days=Xo,D.weeks=Zo,D.months=Jo,D.years=$o,D.humanize=aa,D.toISOString=ua,D.toString=ua,D.toJSON=ua,D.locale=li,D.localeData=ci,D.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),D.lang=ui,r("X",0,0,"unix"),r("x",0,0,"valueOf"),b("x",Ge),b("X",We),x("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),x("x",function(e,t,n){n._d=new Date(g(e))}),
- //! moment.js
- f.version="2.29.4",N(T),f.fn=L,f.min=nr,f.max=rr,f.now=ir,f.utc=c,f.unix=co,f.months=go,f.isDate=V,f.locale=bn,f.invalid=Q,f.duration=I,f.isMoment=d,f.weekdays=bo,f.parseZone=fo,f.localeData=wn,f.isDuration=cr,f.monthsShort=vo,f.weekdaysMin=xo,f.defineLocale=_n,f.updateLocale=xn,f.locales=An,f.weekdaysShort=_o,f.normalizeUnits=y,f.relativeTimeRounding=ia,f.relativeTimeThreshold=oa,f.calendarFormat=Yr,f.prototype=L,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f}()}.call(this,ha("YuTi")(e))},wgeU:function(e,t){},wrZu:function(e,t,n){var i=n("+K+b"),o=n("XYm9"),a=n("b2z7"),s=n("otv/"),l=n("yP5f");e.exports=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return i(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return l(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return a(e);case"[object Set]":return new r;case"[object Symbol]":return s(e)}}},wvNA:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("rJb+"))),o=r(n("vPLx")),r=r(n("VyJC")),n={setTransition:i.default,transitionStart:o.default,transitionEnd:r.default};t.default=n},x0Ve:function(e,t,n){"use strict";e.exports=function(e){return null==e}},"x1+7":function(e,t,n){"use strict";var r=n("RYfq"),i=n("aLaa"),o=n("QrM1"),a=n("UCFi"),s=n("WxoH"),l=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?l(t,n(e)):t}},x2TH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Event=void 0;var u=n("yW8N"),c={observers:!1,KEY_SPACE:32,KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,element:function(e){return e.target||e.srcElement},isSingleTouch:function(e){return e.touches&&1===e.touches.length},isMultiTouch:function(e){return e.touches&&1<e.touches.length},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var n=c.element(e);n.parentNode&&(!n.tagName||n.tagName.toUpperCase()!==t.toUpperCase());)n=n.parentNode;return n},observe:function(e,t,n,r){var e=u.Util.getElement(e),i=(r=r||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||e.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),e._eventCacheID||(i="eventCacheID_",e.id&&(i=e.id+"_"+i),e._eventCacheID=u.Util.createUniqueID(i)),e._eventCacheID);this.observers[i]||(this.observers[i]=[]),this.observers[i].push({element:e,name:t,observer:n,useCapture:r}),e.addEventListener?"mousewheel"===t?e.addEventListener(t,n,{useCapture:r,passive:!1}):e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on"+t,n)},stopObservingElement:function(e){e=u.Util.getElement(e)._eventCacheID;this._removeElementObservers(c.observers[e])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;0<=t;t--){var n=e[t],n=[n.element,n.name,n.observer,n.useCapture];c.stopObserving.apply(this,n)}},stopObserving:function(e,t,n,r){r=r||!1;var e=u.Util.getElement(e),i=e._eventCacheID,o=("keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||e.detachEvent)&&(t="keydown"),!1),a=c.observers[i];if(a)for(var s=0;!o&&s<a.length;){var l=a[s];if(l.name===t&&l.observer===n&&l.useCapture===r){a.splice(s,1),0===a.length&&delete c.observers[i],o=!0;break}s++}return o&&(e.removeEventListener?e.removeEventListener(t,n,r):e&&e.detachEvent&&e.detachEvent("on"+t,n)),o},unloadCache:function(){if(c&&c.observers){for(var e in c.observers){e=c.observers[e];c._removeElementObservers.apply(this,[e])}c.observers=!1}},CLASS_NAME:"Event"};(t.Event=c).observe(window,"unload",c.unloadCache,!1)},x6pH:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){if(e===2)return"שעתיים";return e+" שעות"},d:"יום",dd:function(e){if(e===2)return"יומיים";return e+" ימים"},M:"חודש",MM:function(e){if(e===2)return"חודשיים";return e+" חודשים"},y:"שנה",yy:function(e){if(e===2)return"שנתיים";else if(e%10===0&&e!==10)return e+" שנה";return e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){if(e<5)return"לפנות בוקר";else if(e<10)return"בבוקר";else if(e<12)return n?'לפנה"צ':"לפני הצהריים";else if(e<18)return n?'אחה"צ':"אחרי הצהריים";else return"בערב"}})}(n("wd/R"))},x8x8:function(e,t,n){"use strict";var w=n("1mOU"),i=n("m7zg"),r=n("aLaa"),o=n("WONN"),a=n("eRwv"),A=n("WxoH"),S=n("JTf3"),s=n("x0Ve"),C=n("SN6V"),O=n("c3MK"),E=n("qzpy"),l=n("XaNE"),M=n("M/+V"),u=n("oK8H"),P=n("Ne/+"),k=n("3fk+"),c=n("11yv")("replace"),T=Math.max,I=Math.min,L=r([].concat),j=r([].push),D=r("".indexOf),B=r("".slice),n="$0"==="a".replace(/./,"$0"),f=!!/./[c]&&""===/./[c]("a","$0");o("replace",function(e,b,_){var x=f?"$":"$0";return[function(e,t){var n=l(this),r=s(e)?void 0:u(e,c);return r?i(r,e,n,t):i(b,E(n),e,t)},function(e,t){var n=A(this),r=E(e);if("string"==typeof t&&-1===D(t,x)&&-1===D(t,"$<")){e=_(b,n,r,t);if(e.done)return e.value}for(var i,o=S(t),a=(o||(t=E(t)),n.global),s=(a&&(i=n.unicode,n.lastIndex=0),[]);null!==(h=k(n,r))&&(j(s,h),a);)""===E(h[0])&&(n.lastIndex=M(r,O(n.lastIndex),i));for(var l,u="",c=0,f=0;f<s.length;f++){for(var h,d=E((h=s[f])[0]),p=T(I(C(h.index),r.length),0),y=[],m=1;m<h.length;m++)j(y,void 0===(l=h[m])?l:String(l));var g=h.groups,v=o?(v=L([d],y,p,r),void 0!==g&&j(v,g),E(w(t,void 0,v))):P(d,r,p,y,g,t);c<=p&&(u+=B(r,c,p)+v,c=p+d.length)}return u+B(r,c)}]},!!a(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!n||f)},xEkU:function(f,e,h){!function(e){for(var r,i,o,a=h("bQgK"),t="undefined"==typeof window?e:window,n=["moz","webkit"],s="AnimationFrame",l=t["request"+s],u=t["cancel"+s]||t["cancelRequest"+s],c=0;!l&&c<n.length;c++)l=t[n[c]+"Request"+s],u=t[n[c]+"Cancel"+s]||t[n[c]+"CancelRequest"+s];l&&u||(i=r=0,o=[],l=function(e){var t,n;return 0===o.length&&(t=a(),n=Math.max(0,1e3/60-(t-r)),r=n+t,setTimeout(function(){for(var e=o.slice(0),t=o.length=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(r)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))),o.push({handle:++i,callback:e,cancelled:!1}),i},u=function(e){for(var t=0;t<o.length;t++)o[t].handle===e&&(o[t].cancelled=!0)}),f.exports=function(e){return l.call(t,e)},f.exports.cancel=function(){u.apply(t,arguments)},f.exports.polyfill=function(e){(e=e||t).requestAnimationFrame=l,e.cancelAnimationFrame=u}}.call(this,h("yLpj"))},xHXu:function(e,t,n){"use strict";n.r(t);var r,i=n("LPAb"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},"xMD+":function(e,t,n){"use strict";var o=n("lm0R");function a(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return r||i?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o.nextTick(a,this,e)):o.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,o.nextTick(a,n,e)):o.nextTick(a,n,e):t&&t(e)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},xRo1:function(e,t,n){var r=n("hE+I"),i=n("B4q0"),o=n("zvmt"),n=n("STtz");e.exports={xml2js:r,xml2json:i,js2xml:o,json2xml:n}},xURT:function(e,t,n){"use strict";var o,r={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},i={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},a=[],s=[];function l(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r,i=e[n];for(r in i)if(r in o){t.push(i[r]);break}}}function u(e,t,n){e.addEventListener(t,n,!1)}function c(e,t,n){e.removeEventListener(t,n,!1)}"undefined"!=typeof window&&"undefined"!=typeof document&&(o=document.createElement("div").style,"AnimationEvent"in window||(delete r.animationstart.animation,delete i.animationend.animation),"TransitionEvent"in window||(delete r.transitionstart.transition,delete i.transitionend.transition),l(r,a),l(i,s));r={startEvents:a,addStartEventListener:function(t,n){0===a.length?window.setTimeout(n,0):a.forEach(function(e){u(t,e,n)})},removeStartEventListener:function(t,n){0!==a.length&&a.forEach(function(e){c(t,e,n)})},endEvents:s,addEndEventListener:function(t,n){0===s.length?window.setTimeout(n,0):s.forEach(function(e){u(t,e,n)})},removeEndEventListener:function(t,n){0!==s.length&&s.forEach(function(e){c(t,e,n)})}};t.a=r},xW1W:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={on:function(e,t,n){var r,i=this;return"function"==typeof t&&(r=n?"unshift":"push",e.split(" ").forEach(function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)})),i},once:function(r,i,e){var o=this;return"function"!=typeof i?o:(a.__emitterProxy=i,o.on(r,a,e));function a(){o.off(r,a),a.__emitterProxy&&delete a.__emitterProxy;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];i.apply(o,t)}},onAny:function(e,t){return"function"==typeof e&&(t=t?"unshift":"push",this.eventsAnyListeners.indexOf(e)<0)&&this.eventsAnyListeners[t](e),this},offAny:function(e){return this.eventsAnyListeners&&0<=(e=this.eventsAnyListeners.indexOf(e))&&this.eventsAnyListeners.splice(e,1),this},off:function(e,r){var i=this;return i.eventsListeners&&e.split(" ").forEach(function(n){void 0===r?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach(function(e,t){(e===r||e.__emitterProxy&&e.__emitterProxy===r)&&i.eventsListeners[n].splice(t,1)})}),i},emit:function(){var e=this;if(e.eventsListeners){for(var t,n,r,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r="string"==typeof o[0]||Array.isArray(o[0])?(t=o[0],n=o.slice(1,o.length),e):(t=o[0].events,n=o[0].data,o[0].context||e),n.unshift(r),(Array.isArray(t)?t:t.split(" ")).forEach(function(t){e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(function(e){e.apply(r,[t].concat(n))}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(function(e){e.apply(r,n)})})}return e}}},"xs/l":function(e,t,n){var r=n("TYy9"),i=n("Ioao"),o=n("wclG");e.exports=function(e){return o(i(e,void 0,r),e+"")}},xvyi:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.treeSelectTypes=t.default=void 0,function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=s(t);if(t&&t.has(e))return t.get(e);var n,r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=i?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n])}r.default=e,t&&t.set(e,r);return r}(n("e+xT"))),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG"));function s(e){var t,n;return"function"!=typeof WeakMap?null:(t=new WeakMap,n=new WeakMap,(s=function(e){return e?n:t})(e))}n=Object.assign(Object.assign({},(0,i.TreeSelectProps)()),{size:o.default.oneOf(["small","large","default","middle"])}),t.treeSelectTypes=n,o={name:"SmTreeSelect",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,model:{prop:"checkedKeys",event:"check"},props:n,computed:{extralListeners:function(){var e=this;return{check:function(){e.$emit.apply(e,["check"].concat(Array.prototype.slice.call(arguments)))}}},extralProps:function(){return{size:"middle"===this.size?void 0:this.size}},componentClass:function(){return{"sm-component-select-md":"middle"===this.size}}}};t.default=o},xwuM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop}},"y+pR":function(e,t,n){"use strict";n.r(t);var r,i=n("RpAZ"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},y1pI:function(e,t,n){var r=n("ljhN");e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},y7w9:function(e,t,n){"use strict";n.r(t);var r,i=n("+us0"),o=n.n(i);for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);t.default=o.a},yD9w:function(e,t,n){"use strict";var r=n("N6FT").PROPER,i=n("WaP5"),o=n("WxoH"),a=n("qzpy"),s=n("eRwv"),l=n("Vgcz"),n="toString",u=RegExp.prototype[n],s=s(function(){return"/a/b"!=u.call({source:"a",flags:"b"})}),r=r&&u.name!=n;(s||r)&&i(RegExp.prototype,n,function(){var e=o(this);return"/"+a(e.source)+"/"+a(l(e))},{unsafe:!0})},yGk4:function(e,t,n){n=n("Cwc5")(n("Kz5y"),"Set");e.exports=n},yHx3:function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},yJpe:function(e,t,n){"use strict";n.r(t);var r,i=n("Dxbw");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},yLpj:function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},"yMH/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){this.type="iServer",this.url=e.url,this.attributeFilter=e.attributeFilter||null,this.maxFeatures=e.maxFeatures||20,this.proxy=e.proxy}},yMYy:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var t=n("LIAx"),i=n.n(t);function r(e,t,n,r){return i()(e,t,n,r)}},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){return t=t?r(e.buffer):e.buffer,new e.constructor(t,e.byteOffset,e.length)}},yPMs:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:true,meridiemParse:/PD|MD/,isPM:function(e){return e.charAt(0)==="M"},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ySeX:function(e,t,n){"use strict";n.r(t);var r,i=n("gcKM");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},yW8N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Util=void 0;var r={};(t.Util=r).extend=function(e,t){if(e=e||{},t){for(var n in t){var r=t[n];void 0!==r&&(e[n]=r)}!("function"==typeof window.Event&&t instanceof window.Event)&&t.hasOwnProperty&&Object.prototype.hasOwnProperty.call(t,"toString")&&(e.toString=t.toString)}return e},r.copy=function(e,t){var n;if(e=e||{},t)for(var r in e)void 0!==(n=t[r])&&(e[r]=n)},r.reset=function(e){for(var t in e=e||{})if(Object.prototype.hasOwnProperty.call(e,t)){if("object"==typeof e[t]&&e[t]instanceof Array){for(var n in e[t])e[t][n].destroy&&e[t][n].destroy();e[t].length=0}else"object"==typeof e[t]&&e[t]instanceof Object&&e[t].destroy&&e[t].destroy();e[t]=null}},r.getElement=function(){for(var e=[],t=0,n=arguments.length;t<n;t++){var r=arguments[t];if("string"==typeof r&&(r=document.getElementById(r)),1===arguments.length)return r;e.push(r)}return e},r.isElement=function(e){return!(!e||1!==e.nodeType)},r.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},r.removeItem=function(e,t){for(var n=e.length-1;0<=n;n--)e[n]===t&&e.splice(n,1);return e},r.indexOf=function(e,t){if(null!=e){if("function"==typeof e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1},r.getElement=function(){for(var e=[],t=0,n=arguments.length;t<n;t++){var r=arguments[t];if("string"==typeof r&&(r=document.getElementById(r)),1===arguments.length)return r;e.push(r)}return e},r.lastSeqID=0,r.createUniqueID=function(e){return null==e&&(e="id_"),r.lastSeqID+=1,e+r.lastSeqID}},yXPU:function(e,t){function l(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}e.exports=function(s){return function(){var e=this,a=arguments;return new Promise(function(t,n){var r=s.apply(e,a);function i(e){l(r,t,n,i,o,"next",e)}function o(e){l(r,t,n,i,o,"throw",e)}i(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},yXPv:function(e,t,n){"use strict";n.r(t);n=n("TZE5");t.default={prefixCls:n.a.string,inputPrefixCls:n.a.string,defaultValue:n.a.oneOfType([n.a.string,n.a.number]),value:n.a.oneOfType([n.a.string,n.a.number]),placeholder:[String,Number],type:{default:"text",type:String},name:String,size:n.a.oneOf(["small","large","default"]),disabled:n.a.bool,readOnly:n.a.bool,addonBefore:n.a.any,addonAfter:n.a.any,prefix:n.a.any,suffix:n.a.any,autoFocus:Boolean,allowClear:Boolean,lazy:{default:!0,type:Boolean},maxLength:n.a.number,loading:n.a.bool,className:n.a.string}},yaTQ:function(e,t,n){"use strict";n.d(t,"o",function(){return h}),n.d(t,"b",function(){return d}),n.d(t,"a",function(){return p}),n.d(t,"n",function(){return y}),n.d(t,"k",function(){return m}),n.d(t,"j",function(){return v}),n.d(t,"l",function(){return _}),n.d(t,"i",function(){return x}),n.d(t,"c",function(){return C}),n.d(t,"d",function(){return O}),n.d(t,"g",function(){return M}),n.d(t,"h",function(){return P}),n.d(t,"m",function(){return k}),n.d(t,"e",function(){return T}),n.d(t,"f",function(){return I});var t=n("m1cH"),o=n.n(t),t=n("sk9p"),w=n.n(t),t=n("EJiy"),r=n.n(t),t=n("jo6Y"),a=n.n(t),t=n("2W6z"),A=n.n(t),i=n("Sx0+"),s=n("zdGa"),l=n("2qPA"),u=.25,c=2,f=!1;function h(){f||(f=!0,A()(!1,"Tree only accept TreeNode as children."))}function d(e,t){e=e.slice(),t=e.indexOf(t);return 0<=t&&e.splice(t,1),e}function p(e,t){e=e.slice();return-1===e.indexOf(t)&&e.push(t),e}function y(e){return e.split("-")}function m(e,t){return e+"-"+t}function g(e){return Object(l.getSlotOptions)(e).isTreeNode}function v(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).filter(g)}function S(e){var e=Object(l.getOptionProps)(e)||{},t=e.disabled,n=e.disableCheckbox,e=e.checkable;return t||n||!1===e}function b(s,l){!function n(r,e,t){var i,o=r?r.componentOptions.children:s,a=r?t.pos+"-"+e:0,o=v(o);r&&(i=r.key,e={node:r,index:e,pos:a,key:i=i||null!=i?i:a,parentPos:t.node?t.pos:null},l(e)),o.forEach(function(e,t){n(e,t,{node:r,pos:a})})}(null)}function _(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).map(arguments[1]);return 1===e.length?e[0]:e}function x(e,t){var t=Object(l.getOptionProps)(t),n=t.eventKey,t=t.pos,r=[];return b(e,function(e){e=e.key;r.push(e)}),r.push(n||t),r}function C(e,t){var e=e.clientY,t=t.$refs.selectHandle.getBoundingClientRect(),n=t.top,r=t.bottom,t=t.height,t=Math.max(t*u,c);return e<=n+t?-1:r-t<=e?1:0}function O(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}var E=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return{props:Object(i.a)(e,["on","key","class","className","style"]),on:e.on||{},class:e.class||e.className,style:e.style,key:e.key}};function M(n,e,r){var t,i;return e?(t=(r||{}).processProps,i=void 0===t?E:t,(Array.isArray(e)?e:[e]).map(function(e){var t=e.children,e=a()(e,["children"]),t=M(n,t,r);return n(s.a,i(e),[t])})):[]}function P(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,o=t.processEntity,t=t.onProcessFinished,a=new Map,s=new Map,l={posEntities:a,keyEntities:s};return n&&(l=n(l)||l),b(e,function(e){var t=e.node,n=e.index,r=e.pos,i=e.key,e=e.parentPos,t={node:t,index:n,key:i,pos:r};a.set(r,t),s.set(i,t),t.parent=a.get(e),t.parent&&(t.parent.children=t.parent.children||[],t.parent.children.push(t)),o&&o(t,l)}),t&&t(l),l}function k(e){if(!e)return null;var t=void 0;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(void 0===e?"undefined":r()(e)))return A()(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function T(t,s,l){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},u=new Map,c=new Map;function r(e){var t,n,r=l.get(e);r?(t=r.children,n=r.parent,r=r.node,u.set(e,s),S(r)||((t||[]).filter(function(e){return!S(e.node)}).forEach(function(e){!function t(e){var n,r;u.get(e)!==s&&(n=l.get(e))&&(r=n.children,S(n.node)||(u.set(e,s),(r||[]).forEach(function(e){t(e.key)})))}(e.key)}),n&&function e(t){var n,r,i,o,a;u.get(t)!==s&&(n=l.get(t))&&(r=n.children,i=n.parent,S(n.node)||(a=!(o=!0),(r||[]).filter(function(e){return!S(e.node)}).forEach(function(e){var e=e.key,t=u.get(e),e=c.get(e);(t||e)&&(a=!0),t||(o=!1)}),s?u.set(t,o):u.set(t,!1),c.set(t,a),i&&e(i.key)))}(n.key))):A()(!1,"'"+e+"' does not exist in the tree.")}(n.checkedKeys||[]).forEach(function(e){u.set(e,!0)}),(n.halfCheckedKeys||[]).forEach(function(e){c.set(e,!0)}),(t||[]).forEach(function(e){r(e)});var e=[],i=[],o=!0,n=!1,t=void 0;try{for(var a,f=u[Symbol.iterator]();!(o=(a=f.next()).done);o=!0){var h=a.value,d=w()(h,2),p=d[0];d[1]&&e.push(p)}}catch(e){n=!0,t=e}finally{try{!o&&f.return&&f.return()}finally{if(n)throw t}}var y=!0,n=!1,t=void 0;try{for(var m,g=c[Symbol.iterator]();!(y=(m=g.next()).done);y=!0){var v=m.value,b=w()(v,2),_=b[0],x=b[1];!u.get(_)&&x&&i.push(_)}}catch(e){n=!0,t=e}finally{try{!y&&g.return&&g.return()}finally{if(n)throw t}}return{checkedKeys:e,halfCheckedKeys:i}}function I(e,r){var i=new Map;return(e||[]).forEach(function(e){!function e(t){var n;i.get(t)||(n=r.get(t))&&(i.set(t,!0),t=n.parent,n=n.node,(n=Object(l.getOptionProps)(n))&&n.disabled||t&&e(t.key))}(e)}),[].concat(o()(i.keys()))}},yd00:function(e,t,n){"use strict";n.r(t);var r,i=n("1jv1");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},yd2B:function(e,t,n){"use strict";var r=n("TqRt"),r=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("Vs1/"))),i=r.default.open,n=(r.default.open=function(e){e=Object.assign({},e,{prefixCls:e.prefixCls||"sm-component-notification"});i(e)},r.default);t.default=n},ydGV:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("TFue"))),o=r(n("W6Z/")),a=r(n("9csQ")),s=n("QG5D"),l=r(n("9/5/")),r={name:"SmBorder",mixins:[i.default],props:{type:{type:[String],default:"border1"},customBorder:{type:Object}},data:function(){return{borderId:(0,a.default)(this.$options.name.toLowerCase()+"-"),position:{top:0,left:0,width:0,height:0},borderEdge:[],borderWidth:[],width:0,height:0}},computed:{borderConfig:function(){return!this.customBorder&&this.type?o.default[this.type]:this.customBorder},borderImage:function(){return this.customBorder&&this.customBorder.src||!this.type?""+this.customBorder.src:n("cV8Z")("./"+this.type+".png")},borderStyle:function(){var e=this.borderWidth.join(" ")+" fill";return{borderWidth:this.borderWidth.join("px ")+"px",borderImage:"url("+this.borderImage+") "+e+" / 1 / 0 stretch"}},contentStyle:function(){var e,t;for(t in e=Object.assign({},this.position))e[t]=e[t]+"px";return e}},watch:{type:function(){this.setPosition()}},mounted:function(){this.setPosition(),this.resizeHanlder=(0,l.default)(this.calcPosition.bind(this),500),(0,s.addListener)(this.$el,this.resizeHanlder)},updated:function(){this.calcPosition()},beforeDestroy:function(){(0,s.removeListener)(this.$el,this.resizeHandler)},methods:{setPosition:function(e){void 0===e&&(e=this.borderConfig),this.borderEdge=e.borderEdge,this.borderWidth=e.borderWidth,this.calcPosition()},calcPosition:function(){this.setWidthHeight();var e=this.borderEdge,t=e.top,n=e.left,r=e.bottom,e=e.right;this.position.left=n-this.borderWidth[3],this.position.top=t-this.borderWidth[0],this.position.width=this.width-n-e,this.position.height=this.height-t-r},setWidthHeight:function(){this.$refs[this.borderId]&&(this.width=this.$refs[this.borderId].offsetWidth,this.height=this.$refs[this.borderId].offsetHeight)}}};t.default=r},ydy9:function(e,t,n){"use strict";var r=n("TqRt"),r=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getProjection=function(e){return o.$options.getProjection(e)},t.registerProjection=function(e,t){return o.$options.registerProjection(e,t)},t.toEpsgCode=function(e){{var t,n;return"string"!=typeof e?"":0===e.indexOf("EPSG")?e:(t=e.lastIndexOf("AUTHORITY")+10,n=e.indexOf("]",t)-1,0<t&&0<n?"EPSG:"+e.substring(t,n).split(",")[1].substr(1):"")}},r(n("i7/w"))),i=n("e7LN"),o=new r.default({epsgCodes:{"EPSG:3857":'PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Mercator_1SP"],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],EXTENSION["PROJ4","+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"],AUTHORITY["EPSG","3857"]]',"EPSG:4326":'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],AXIS["Easting", "EAST"],AXIS["Northing", "NORTH"],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]',"EPSG:4490":'GEOGCS["China Geodetic Coordinate System 2000", DATUM["China 2000", SPHEROID["CGCS2000", 6378137.0, 298.257222101, AUTHORITY["EPSG","1024"]], AUTHORITY["EPSG","1043"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], AXIS["Geodetic latitude", NORTH], AXIS["Geodetic longitude", EAST], AUTHORITY["EPSG","4490"]]'},registerProjection:function(e,t){"[object Object]"===(0,i.getDataType)(e)&&1===arguments.length?this.epsgCodes=Object.assign({},this.epsgCodes,e):e&&t&&(this.epsgCodes[e]=t)},getProjection:function(e){return this.epsgCodes[e]},getAllProjections:function(){return this.epsgCodes}});t.default=o},ymN0:function(e,t,n){"use strict";function r(i){return function(e,t){var n,e=a(s(e)),t=o(t),r=e.length;return t<0||r<=t?i?"":void 0:(n=u(e,t))<55296||56319<n||t+1===r||(r=u(e,t+1))<56320||57343<r?i?l(e,t):n:i?c(e,t,t+2):r-56320+(n-55296<<10)+65536}}var i=n("aLaa"),o=n("SN6V"),a=n("qzpy"),s=n("XaNE"),l=i("".charAt),u=i("".charCodeAt),c=i("".slice);e.exports={codeAt:r(!1),charAt:r(!0)}},ymVN:function(e,t,n){"use strict";n.r(t);var r,i=n("ChI7");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},ynnC:function(e,t,n){"use strict";n.r(t);var r,i=n("y+pR");for(r in i)["default"].indexOf(r)<0&&!function(e){n.d(t,e,function(){return i[e]})}(r);var o=n("KHd+"),o=Object(o.a)(i.default,void 0,void 0,!1,null,null,null);t.default=o.exports},"z+Ea":function(e,t,n){"use strict";var r=n("TqRt"),l=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i,o){var a=(0,l.getWindow)();function s(){o&&o()}!((0,u.default)(e).parent("picture")[0]||e.complete&&i)&&t?((e=new a.Image).onload=s,e.onerror=s,r&&(e.sizes=r),n&&(e.srcset=n),t&&(e.src=t)):s()},n("/xfr")),u=r(n("Jq2x"))},z1FC:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var t;function n(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",""+e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",""+e+" ars"]};return r?i[n][0]:t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){if(e>11)return n?"d'o":"D'O";else return n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var o="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_"),t;function n(e){var t=e;t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"leS":e.indexOf("jar")!==-1?t.slice(0,-3)+"waQ":e.indexOf("DIS")!==-1?t.slice(0,-3)+"nem":t+" pIq";return t}function r(e){var t=e;t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"Hu’":e.indexOf("jar")!==-1?t.slice(0,-3)+"wen":e.indexOf("DIS")!==-1?t.slice(0,-3)+"ben":t+" ret";return t}function i(e,t,n,r){var i=a(e);switch(n){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function a(e){var t=Math.floor(e%1e3/100),n=Math.floor(e%100/10),r=e%10,i="";if(t>0)i+=o[t]+"vatlh";if(n>0)i+=(i!==""?" ":"")+o[n]+"maH";if(r>0)i+=(i!==""?" ":"")+o[r];return i===""?"pagh":i}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:true,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:r,s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},zEVN:function(e,t,n){var r=n("Gi0A"),i=n("sEf8"),n=n("mdPL"),n=n&&n.isMap,i=n?i(n):r;e.exports=i},zFjv:function(e,t,n){"use strict";function r(e){var n,r;this.promise=new e(function(e,t){if(void 0!==n||void 0!==r)throw o("Bad Promise constructor");n=e,r=t}),this.resolve=i(n),this.reject=i(r)}var i=n("8HiI"),o=TypeError;e.exports.f=function(e){return new r(e)}},zITX:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("cKS0")),o=r(n("Jq2x"));function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s={init:function(){var e=this,t=e.params.thumbs;if(e.thumbs.initialized)return!1;e.thumbs.initialized=!0;var n=e.constructor;return t.swiper instanceof n?(e.thumbs.swiper=t.swiper,(0,i.extend)(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),(0,i.extend)(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):(0,i.isObject)(t.swiper)&&(e.thumbs.swiper=new n((0,i.extend)({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick),!0},onThumbClick:function(){var e,t,n,r=this,i=r.thumbs.swiper;i&&(e=i.clickedIndex,(n=i.clickedSlide)&&(0,o.default)(n).hasClass(r.params.thumbs.slideThumbActiveClass)||null!=e&&(n=i.params.loop?parseInt((0,o.default)(i.clickedSlide).attr("data-swiper-slide-index"),10):e,r.params.loop&&(i=r.activeIndex,r.slides.eq(i).hasClass(r.params.slideDuplicateClass)&&(r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft,i=r.activeIndex),e=r.slides.eq(i).prevAll('[data-swiper-slide-index="'+n+'"]').eq(0).index(),t=r.slides.eq(i).nextAll('[data-swiper-slide-index="'+n+'"]').eq(0).index(),n=void 0===e||void 0!==t&&t-i<i-e?t:e),r.slideTo(n)))},update:function(e){var t=this,n=t.thumbs.swiper;if(n){var r,i,o,a="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView,s=t.params.thumbs.autoScrollOffset,l=s&&!n.params.loop,u=((t.realIndex!==n.realIndex||l)&&(r=n.activeIndex,o=n.params.loop?(n.slides.eq(r).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,r=n.activeIndex),o=n.slides.eq(r).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),i=n.slides.eq(r).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),i=void 0===o?i:void 0===i?o:i-r==r-o?1<n.params.slidesPerGroup?i:r:i-r<r-o?i:o,t.activeIndex>t.previousIndex?"next":"prev"):(i=t.realIndex)>t.previousIndex?"next":"prev",l&&(i+="next"===o?s:-1*s),n.visibleSlidesIndexes)&&n.visibleSlidesIndexes.indexOf(i)<0&&(n.params.centeredSlides?i=r<i?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:r<i&&n.params.slidesPerGroup,n.slideTo(i,e?0:void 0)),1),c=t.params.thumbs.slideThumbActiveClass;if(1<t.params.slidesPerView&&!t.params.centeredSlides&&(u=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),n.slides.removeClass(c),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(var f=0;f<u;f+=1)n.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+f)+'"]').addClass(c);else for(var h=0;h<u;h+=1)n.slides.eq(t.realIndex+h).addClass(c)}}};t.default={name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){(0,i.bindModuleMethods)(this,{thumbs:a({swiper:null,initialized:!1},s)})},on:{beforeInit:function(e){var t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(e){e.thumbs.swiper&&e.thumbs.update()},update:function(e){e.thumbs.swiper&&e.thumbs.update()},resize:function(e){e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(e){e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e,t){e=e.thumbs.swiper;e&&e.setTransition(t)},beforeDestroy:function(e){var t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}}},zLkG:function(e,t,n){t.f=n("UWiX")},zLns:function(B,e,t){"use strict";t.r(e),t.d(e,"TabPane",function(){return s}),t.d(e,"TabContent",function(){return P});var n=t("QbLZ"),m=t.n(n),n=t("Rs/M"),n=t.n(n),r=t("i7/w"),r=t.n(r),i=t("kvrn"),b=t.n(i),i=t("YEIV"),_=t.n(i),i=t("EJiy"),g=t.n(i),v=t("DGO/"),i=t("TZE5"),x=t("2qPA"),o=t("GKdC"),a={width:0,height:0,overflow:"hidden",position:"absolute"},h={name:"Sentinel",props:{setRef:i.a.func,prevElement:i.a.any,nextElement:i.a.any},methods:{onKeyDown:function(e){var t=e.target,n=e.which,e=e.shiftKey,r=this.$props,i=r.nextElement,r=r.prevElement;n===o.a.TAB&&document.activeElement===t&&(!e&&i&&i.focus(),e)&&r&&r.focus()}},render:function(){var e=arguments[0],t=this.$props.setRef;return e("div",b()([{attrs:{tabIndex:0}},{directives:[{name:"ant-ref",value:t}]},{style:a,on:{keydown:this.onKeyDown},attrs:{role:"presentation"}}]),[this.$slots.default])}},s={name:"TabPane",props:{active:i.a.bool,destroyInactiveTabPane:i.a.bool,forceRender:i.a.bool,placeholder:i.a.any,rootPrefixCls:i.a.string,tab:i.a.any,closable:i.a.bool,disabled:i.a.bool},inject:{sentinelContext:{default:function(){return{}}}},render:function(){var e=arguments[0],t=this.$props,n=t.destroyInactiveTabPane,r=t.active,i=t.forceRender,t=t.rootPrefixCls,o=this.$slots.default,a=Object(x.getComponentFromProp)(this,"placeholder"),t=(this._isActived=this._isActived||r,t+"-tabpane"),t=(s={},_()(s,t,1),_()(s,t+"-inactive",!r),_()(s,t+"-active",r),s),s=(n?r:this._isActived)||i,n=this.sentinelContext,i=n.sentinelStart,l=n.sentinelEnd,u=n.setPanelSentinelStart,n=n.setPanelSentinelEnd,c=void 0,f=void 0;return r&&s&&(c=e(h,{attrs:{setRef:u,prevElement:i}}),f=e(h,{attrs:{setRef:n,nextElement:l}})),e("div",{class:t,attrs:{role:"tabpanel","aria-hidden":r?"false":"true"}},[c,s?o:a,f])}},f=t("Sx0+"),l=t("tIgm"),u=t("xEkU"),c=t.n(u),R=37,N=38,z=39,F=40,w=t("ewVk"),d=function(e){return null!=e&&""!==e};function p(e){var t=void 0;return e.children.forEach(function(e){!e||d(t)||e.disabled||(t=e.key)}),t}var u={name:"Tabs",mixins:[l.a],model:{prop:"activeKey",event:"change"},props:{destroyInactiveTabPane:i.a.bool,renderTabBar:i.a.func.isRequired,renderTabContent:i.a.func.isRequired,navWrapper:i.a.func.def(function(e){return e}),children:i.a.any.def([]),prefixCls:i.a.string.def("ant-tabs"),tabBarPosition:i.a.string.def("top"),activeKey:i.a.oneOfType([i.a.string,i.a.number]),defaultActiveKey:i.a.oneOfType([i.a.string,i.a.number]),__propsSymbol__:i.a.any,direction:i.a.string.def("ltr"),tabBarGutter:i.a.number},data:function(){var e=Object(x.getOptionProps)(this);return{_activeKey:"activeKey"in e?e.activeKey:"defaultActiveKey"in e?e.defaultActiveKey:p(e)}},provide:function(){return{sentinelContext:this}},watch:{__propsSymbol__:function(){var e,t=Object(x.getOptionProps)(this);"activeKey"in t?this.setState({_activeKey:t.activeKey}):(e=this.$data._activeKey,0<=t.children.map(function(e){return e&&e.key}).indexOf(e)||this.setState({_activeKey:p(t)}))}},beforeDestroy:function(){this.destroy=!0,c.a.cancel(this.sentinelId)},methods:{onTabClick:function(e,t){this.tabBar.componentOptions&&this.tabBar.componentOptions.listeners&&this.tabBar.componentOptions.listeners.tabClick&&this.tabBar.componentOptions.listeners.tabClick(e,t),this.setActiveKey(e)},onNavKeyDown:function(e){var t,n=e.keyCode;n===z||n===F?(e.preventDefault(),t=this.getNextActiveKey(!0),this.onTabClick(t)):n!==R&&n!==N||(e.preventDefault(),t=this.getNextActiveKey(!1),this.onTabClick(t))},onScroll:function(e){var t=e.target;t===e.currentTarget&&0<t.scrollLeft&&(t.scrollLeft=0)},setSentinelStart:function(e){this.sentinelStart=e},setSentinelEnd:function(e){this.sentinelEnd=e},setPanelSentinelStart:function(e){e!==this.panelSentinelStart&&this.updateSentinelContext(),this.panelSentinelStart=e},setPanelSentinelEnd:function(e){e!==this.panelSentinelEnd&&this.updateSentinelContext(),this.panelSentinelEnd=e},setActiveKey:function(e){this.$data._activeKey!==e&&("activeKey"in Object(x.getOptionProps)(this)||this.setState({_activeKey:e}),this.__emit("change",e))},getNextActiveKey:function(t){var n=this.$data._activeKey,r=[],i=(this.$props.children.forEach(function(e){e&&!e.disabled&&""!==e.disabled&&(t?r.push(e):r.unshift(e))}),r.length),o=i&&r[0].key;return r.forEach(function(e,t){e.key===n&&(o=(t===i-1?r[0]:r[t+1]).key)}),o},updateSentinelContext:function(){var e=this;this.destroy||(c.a.cancel(this.sentinelId),this.sentinelId=c()(function(){e.destroy||e.$forceUpdate()}))}},render:function(){var e,t=arguments[0],n=this.$props,r=n.prefixCls,i=n.navWrapper,o=n.tabBarPosition,a=n.renderTabContent,s=n.renderTabBar,l=n.destroyInactiveTabPane,u=n.direction,c=n.tabBarGutter,s=(e={},_()(e,r,1),_()(e,r+"-"+o,1),_()(e,r+"-rtl","rtl"===u),this.tabBar=s(),Object(w.a)(this.tabBar,{props:{prefixCls:r,navWrapper:i,tabBarPosition:o,panels:n.children,activeKey:this.$data._activeKey,direction:u,tabBarGutter:c},on:{keydown:this.onNavKeyDown,tabClick:this.onTabClick},key:"tabBar"})),i=Object(w.a)(a(),{props:{prefixCls:r,tabBarPosition:o,activeKey:this.$data._activeKey,destroyInactiveTabPane:l,direction:u},on:{change:this.setActiveKey},children:n.children,key:"tabContent"}),c=t(h,{key:"sentinelStart",attrs:{setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}}),a=t(h,{key:"sentinelEnd",attrs:{setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}}),r=[];return"bottom"===o?r.push(c,i,a,s):r.push(s,c,i,a),t("div",{on:m()({},Object(f.a)(Object(x.getListeners)(this),["change"]),{scroll:this.onScroll}),class:e},[r])}},V=(r.a.use(n.a,{name:"ant-ref"}),u);function H(e){var t=[];return e.forEach(function(e){e.data&&t.push(e)}),t}function y(e,t){for(var n=H(e),r=0;r<n.length;r++)if(n[r].key===t)return r;return-1}function A(e,t){e.transform=t,e.webkitTransform=t,e.mozTransform=t}function S(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function C(e){return"left"===e||"right"===e}function O(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function E(e,t){return+e.getPropertyValue(t).replace("px","")}function M(n,r,i,o,e){var a=O(e,"padding-"+n);return o&&o.parentNode&&(e=o.parentNode.childNodes,Array.prototype.some.call(e,function(e){var t=window.getComputedStyle(e);return e!==o?(a=(a=(a+=E(t,"margin-"+n))+e[r])+E(t,"margin-"+i),"content-box"===t.boxSizing&&(a+=E(t,"border-"+n+"-width")+E(t,"border-"+i+"-width")),!1):(a+=E(t,"margin-"+n),!0)})),a}function Y(e){var t;return!("undefined"==typeof window||!window.document||!window.document.documentElement)&&(e=Array.isArray(e)?e:[e],t=window.document.documentElement,e.some(function(e){return e in t.style}))}var P={name:"TabContent",props:{animated:{type:Boolean,default:!0},animatedWithMargin:{type:Boolean,default:!0},prefixCls:{default:"ant-tabs",type:String},activeKey:i.a.oneOfType([i.a.string,i.a.number]),tabBarPosition:String,direction:i.a.string,destroyInactiveTabPane:i.a.bool},computed:{classes:function(){var e=this.animated,t=this.prefixCls,n={};return _()(n,t+"-content",!0),_()(n,e?t+"-content-animated":t+"-content-no-animated",!0),n}},methods:{getTabPanes:function(){var n=this.$props,r=n.activeKey,e=this.$slots.default||[],i=[];return e.forEach(function(e){var t;e&&(t=e.key,t=r===t,i.push(Object(w.a)(e,{props:{active:t,destroyInactiveTabPane:n.destroyInactiveTabPane,rootPrefixCls:n.prefixCls}})))}),i}},render:function(){var e=arguments[0],t=this.activeKey,n=this.tabBarPosition,r=this.animated,i=this.animatedWithMargin,o=this.direction,a={};return e("div",{class:this.classes,style:a=r&&this.$slots.default?-1!==(e=y(this.$slots.default,t))?i?(r=e,t=C(t=n)?"marginTop":"marginLeft",_()({},t,100*-r+"%")):{transform:i=function(e,t,n){var r=C(t)?"translateY":"translateX";return C(t)||"rtl"!==(2<arguments.length&&void 0!==n?n:"ltr")?r+"("+100*-e+"%) translateZ(0)":r+"("+100*e+"%) translateZ(0)"}(e,n,o),WebkitTransform:i,MozTransform:i}:{display:"none"}:a},[this.getTabPanes()])}},G=Y(["flex","webkitFlex","Flex","msFlex"]),U=t("TfX5");function k(e,t){var n=e.$props,r=n.styles,r=void 0===r?{}:r,i=n.panels,o=n.activeKey,n=n.direction,a=e.getRef("root"),s=e.getRef("nav")||a,l=e.getRef("inkBar"),u=e.getRef("activeTab"),l=l.style,e=e.$props.tabBarPosition,i=y(i,o);t&&(l.display="none"),u&&(o=u,t=S(l),A(l,""),l.width="",l.height="",l.left="",l.top="",l.bottom="",l.right="","top"===e||"bottom"===e?(u=M("left","offsetWidth","right",o,s),(e=o.offsetWidth)===a.offsetWidth?e=0:r.inkBar&&void 0!==r.inkBar.width&&(e=parseFloat(r.inkBar.width,10))&&(u+=(o.offsetWidth-e)/2),"rtl"===n&&(u=O(o,"margin-left")-u),t?A(l,"translate3d("+u+"px,0,0)"):l.left=u+"px",l.width=e+"px"):(a=M("top","offsetHeight","bottom",o,s),n=o.offsetHeight,r.inkBar&&void 0!==r.inkBar.height&&(n=parseFloat(r.inkBar.height,10))&&(a+=(o.offsetHeight-n)/2),t?(A(l,"translate3d(0,"+a+"px,0)"),l.top="0"):l.top=a+"px",l.height=n+"px")),l.display=-1!==i?"block":"none"}var Q={name:"InkTabBarNode",mixins:[l.a],props:{inkBarAnimated:{type:Boolean,default:!0},direction:i.a.string,prefixCls:String,styles:Object,tabBarPosition:String,saveRef:i.a.func.def(function(){}),getRef:i.a.func.def(function(){}),panels:i.a.array,activeKey:i.a.oneOfType([i.a.string,i.a.number])},updated:function(){this.$nextTick(function(){k(this)})},mounted:function(){this.$nextTick(function(){k(this,!0)})},render:function(){var e,t=arguments[0],n=this.prefixCls,r=this.styles,r=void 0===r?{}:r,i=this.inkBarAnimated,n=n+"-ink-bar",i=(e={},_()(e,n,!0),_()(e,i?n+"-animated":n+"-no-animated",!0),e);return t("div",b()([{style:r.inkBar,class:i,key:"inkBar"},{directives:[{name:"ant-ref",value:this.saveRef("inkBar")}]}]))}},u=t("2W6z"),W=t.n(u);function T(){}var q={name:"TabBarTabsNode",mixins:[l.a],props:{activeKey:i.a.oneOfType([i.a.string,i.a.number]),panels:i.a.any.def([]),prefixCls:i.a.string.def(""),tabBarGutter:i.a.any.def(null),onTabClick:i.a.func,saveRef:i.a.func.def(T),getRef:i.a.func.def(T),renderTabBarNode:i.a.func,tabBarPosition:i.a.string,direction:i.a.string},render:function(){var l=this,u=arguments[0],e=this.$props,c=e.panels,f=e.activeKey,h=e.prefixCls,d=e.tabBarGutter,p=e.saveRef,y=e.tabBarPosition,m=e.direction,g=[],v=this.renderTabBarNode||this.$scopedSlots.renderTabBarNode;return c.forEach(function(e,t){var n,r,i,o,a,s;e&&(o=Object(x.getOptionProps)(e),n=e.key,r=f===n?h+"-tab-active":"",r+=" "+h+"-tab",i={on:{}},(o=o.disabled||""===o.disabled)?r+=" "+h+"-tab-disabled":i.on.click=function(){l.__emit("tabClick",n)},a=[],f===n&&a.push({name:"ant-ref",value:p("activeTab")}),e=Object(x.getComponentFromProp)(e,"tab"),t="number"==typeof(t=d&&t===c.length-1?0:d)?t+"px":t,s="rtl"===m?"marginLeft":"marginRight",s=_()({},C(y)?"marginBottom":s,t),W()(void 0!==e,"There must be `tab` property or slot on children of Tabs."),t=u("div",b()([{attrs:{role:"tab","aria-disabled":o?"true":"false","aria-selected":f===n?"true":"false"}},i,{class:r,key:n,style:s},{directives:a}]),[e]),v&&(t=v(t)),g.push(t))}),u("div",{directives:[{name:"ant-ref",value:this.saveRef("navTabsContainer")}]},[g])}};function I(){}var K={name:"TabBarRootNode",mixins:[l.a],props:{saveRef:i.a.func.def(I),getRef:i.a.func.def(I),prefixCls:i.a.string.def(""),tabBarPosition:i.a.string.def("top"),extraContent:i.a.any},methods:{onKeyDown:function(e){this.__emit("keydown",e)}},render:function(){var e=arguments[0],t=this.prefixCls,n=this.onKeyDown,r=this.tabBarPosition,i=this.extraContent,t=_()({},t+"-bar",!0),r="top"===r||"bottom"===r,o=r?{float:"right"}:{},a=this.$slots.default,s=a;return i&&(s=[Object(w.a)(i,{key:"extra",style:m()({},o)}),Object(w.a)(a,{key:"content"})],s=r?s:s.reverse()),e("div",b()([{attrs:{role:"tablist",tabIndex:"0"},class:t,on:{keydown:n}},{directives:[{name:"ant-ref",value:this.saveRef("root")}]}]),[s])}},u=t("sEfC"),X=t.n(u),J=t("bdgK");function L(){}var $={name:"ScrollableTabBarNode",mixins:[l.a],props:{activeKey:i.a.any,getRef:i.a.func.def(function(){}),saveRef:i.a.func.def(function(){}),tabBarPosition:i.a.oneOf(["left","right","top","bottom"]).def("left"),prefixCls:i.a.string.def(""),scrollAnimated:i.a.bool.def(!0),navWrapper:i.a.func.def(function(e){return e}),prevIcon:i.a.any,nextIcon:i.a.any,direction:i.a.string},data:function(){return this.offset=0,this.prevProps=m()({},this.$props),{next:!1,prev:!1}},watch:{tabBarPosition:function(){var e=this;this.tabBarPositionChange=!0,this.$nextTick(function(){e.setOffset(0)})}},mounted:function(){var e=this;this.$nextTick(function(){e.updatedCal(),e.debouncedResize=X()(function(){e.setNextPrev(),e.scrollToActiveTab()},200),e.resizeObserver=new J.a(e.debouncedResize),e.resizeObserver.observe(e.$props.getRef("container"))})},updated:function(){var e=this;this.$nextTick(function(){e.updatedCal(e.prevProps),e.prevProps=m()({},e.$props)})},beforeDestroy:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.debouncedResize&&this.debouncedResize.cancel&&this.debouncedResize.cancel()},methods:{updatedCal:function(e){var t=this,n=this.$props;e&&e.tabBarPosition!==n.tabBarPosition?this.setOffset(0):this.isNextPrevShown(this.$data)!==this.isNextPrevShown(this.setNextPrev())?(this.$forceUpdate(),this.$nextTick(function(){t.scrollToActiveTab()})):e&&n.activeKey===e.activeKey||this.scrollToActiveTab()},setNextPrev:function(){var e=this.$props.getRef("nav"),t=this.$props.getRef("navTabsContainer"),t=this.getScrollWH(t||e),e=this.getOffsetWH(this.$props.getRef("container"))+1,n=this.getOffsetWH(this.$props.getRef("navWrap")),r=this.offset,e=e-t,i=this.next,o=this.prev;return 0<=e?(this.setOffset(0,i=!1),r=0):e<r?i=!0:(this.setOffset(e=n-t,i=!1),r=e),o=r<0,this.setNext(i),this.setPrev(o),{next:i,prev:o}},getOffsetWH:function(e){var t=this.$props.tabBarPosition;return e["left"!==t&&"right"!==t?"offsetWidth":"offsetHeight"]},getScrollWH:function(e){var t=this.tabBarPosition;return e["left"!==t&&"right"!==t?"scrollWidth":"scrollHeight"]},getOffsetLT:function(e){var t=this.$props.tabBarPosition,t="left"!==t&&"right"!==t?"left":"top";return e.getBoundingClientRect()[t]},setOffset:function(e){var t,n,r,i,o=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],e=Math.min(0,e);this.offset!==e&&(this.offset=e,i={},t=this.$props.tabBarPosition,r=S(n=this.$props.getRef("nav").style),i="left"===t||"right"===t?r?{value:"translate3d(0,"+e+"px,0)"}:{name:"top",value:e+"px"}:r?{value:"translate3d("+(e="rtl"===this.$props.direction?-e:e)+"px,0,0)"}:{name:"left",value:e+"px"},r?A(n,i.value):n[i.name]=i.value,o)&&this.setNextPrev()},setPrev:function(e){this.prev!==e&&(this.prev=e)},setNext:function(e){this.next!==e&&(this.next=e)},isNextPrevShown:function(e){return e?e.next||e.prev:this.next||this.prev},prevTransitionEnd:function(e){"opacity"===e.propertyName&&(e=this.$props.getRef("container"),this.scrollToActiveTab({target:e,currentTarget:e}))},scrollToActiveTab:function(e){var t,n,r=this.$props.getRef("activeTab"),i=this.$props.getRef("navWrap");e&&e.target!==e.currentTarget||!r||(e=this.isNextPrevShown()&&this.lastNextPrevShown,this.lastNextPrevShown=this.isNextPrevShown(),e&&(e=this.getScrollWH(r),t=this.getOffsetWH(i),n=this.offset,i=this.getOffsetLT(i),(r=this.getOffsetLT(r))<i?this.setOffset(n+=i-r):i+t<r+e&&this.setOffset(n-=r+e-(i+t))))},prevClick:function(e){this.__emit("prevClick",e);var e=this.$props.getRef("navWrap"),e=this.getOffsetWH(e),t=this.offset;this.setOffset(t+e)},nextClick:function(e){this.__emit("nextClick",e);var e=this.$props.getRef("navWrap"),e=this.getOffsetWH(e),t=this.offset;this.setOffset(t-e)}},render:function(){var e,t=arguments[0],n=this.next,r=this.prev,i=this.$props,o=i.prefixCls,a=i.scrollAnimated,i=i.navWrapper,s=Object(x.getComponentFromProp)(this,"prevIcon"),l=Object(x.getComponentFromProp)(this,"nextIcon"),u=r||n,r=t("span",{on:{click:r?this.prevClick:L,transitionend:this.prevTransitionEnd},attrs:{unselectable:"unselectable"},class:(e={},_()(e,o+"-tab-prev",1),_()(e,o+"-tab-btn-disabled",!r),_()(e,o+"-tab-arrow-show",u),e)},[s||t("span",{class:o+"-tab-prev-icon"})]),s=t("span",{on:{click:n?this.nextClick:L},attrs:{unselectable:"unselectable"},class:(e={},_()(e,o+"-tab-next",1),_()(e,o+"-tab-btn-disabled",!n),_()(e,o+"-tab-arrow-show",u),e)},[l||t("span",{class:o+"-tab-next-icon"})]),n=o+"-nav",l=(e={},_()(e,n,!0),_()(e,a?n+"-animated":n+"-no-animated",!0),e);return t("div",b()([{class:(a={},_()(a,o+"-nav-container",1),_()(a,o+"-nav-container-scrolling",u),a),key:"container"},{directives:[{name:"ant-ref",value:this.saveRef("container")}]}]),[r,s,t("div",b()([{class:o+"-nav-wrap"},{directives:[{name:"ant-ref",value:this.saveRef("navWrap")}]}]),[t("div",{class:o+"-nav-scroll"},[t("div",b()([{class:l},{directives:[{name:"ant-ref",value:this.saveRef("nav")}]}]),[i(this.$slots.default)])])])])}},Z={props:{children:i.a.func.def(function(){return null})},methods:{getRef:function(e){return this[e]},saveRef:function(t){var n=this;return function(e){e&&(n[t]=e)}}},render:function(){var t=this;return this.children(function(e){return t.saveRef(e)},function(e){return t.getRef(e)})}},j={name:"ScrollableInkTabBar",inheritAttrs:!1,props:["extraContent","inkBarAnimated","tabBarGutter","prefixCls","navWrapper","tabBarPosition","panels","activeKey","prevIcon","nextIcon"],render:function(){var n=arguments[0],r=m()({},this.$props),i=Object(x.getListeners)(this),o=this.$scopedSlots.default;return n(Z,{attrs:{children:function(e,t){return n(K,b()([{attrs:{saveRef:e}},{props:r,on:i}]),[n($,b()([{attrs:{saveRef:e,getRef:t}},{props:r,on:i}]),[n(q,b()([{attrs:{saveRef:e}},{props:m()({},r,{renderTabBarNode:o}),on:i}])),n(Q,b()([{attrs:{saveRef:e,getRef:t}},{props:r,on:i}]))])])}}})}},ee={name:"TabBar",inheritAttrs:!1,props:{prefixCls:i.a.string,tabBarStyle:i.a.object,tabBarExtraContent:i.a.any,type:i.a.oneOf(["line","card","editable-card"]),tabPosition:i.a.oneOf(["top","right","bottom","left"]).def("top"),tabBarPosition:i.a.oneOf(["top","right","bottom","left"]),size:i.a.oneOf(["default","small","large"]),animated:i.a.oneOfType([i.a.bool,i.a.object]),renderTabBar:i.a.func,panels:i.a.array.def([]),activeKey:i.a.oneOfType([i.a.string,i.a.number]),tabBarGutter:i.a.number},render:function(){var e,t=arguments[0],n=this.$props,r=n.tabBarStyle,i=n.animated,i=void 0===i||i,o=n.renderTabBar,a=n.tabBarExtraContent,s=n.tabPosition,l=n.prefixCls,u=n.type,u=void 0===u?"line":u,n=n.size,i="object"===(void 0===i?"undefined":g()(i))?i.inkBar:i,c="left"===s||"right"===s,f=c?"down":"right",c=t("span",{class:l+"-tab-prev-icon"},[t(v.default,{attrs:{type:c?"up":"left"},class:l+"-tab-prev-icon-target"})]),f=t("span",{class:l+"-tab-next-icon"},[t(v.default,{attrs:{type:f},class:l+"-tab-next-icon-target"})]),s=(e={},_()(e,l+"-"+s+"-bar",!0),_()(e,l+"-"+n+"-bar",!!n),_()(e,l+"-card-bar",u&&0<=u.indexOf("card")),e),n={props:m()({},this.$props,this.$attrs,{inkBarAnimated:i,extraContent:a,prevIcon:c,nextIcon:f}),style:r,on:Object(x.getListeners)(this),class:s};return o?(l=o(n,j),Object(w.a)(l,n)):t(j,n)}},D={TabPane:s,name:"ATabs",model:{prop:"activeKey",event:"change"},props:{prefixCls:i.a.string,activeKey:i.a.oneOfType([i.a.string,i.a.number]),defaultActiveKey:i.a.oneOfType([i.a.string,i.a.number]),hideAdd:i.a.bool.def(!1),tabBarStyle:i.a.object,tabBarExtraContent:i.a.any,destroyInactiveTabPane:i.a.bool.def(!1),type:i.a.oneOf(["line","card","editable-card"]),tabPosition:i.a.oneOf(["top","right","bottom","left"]).def("top"),size:i.a.oneOf(["default","small","large"]),animated:i.a.oneOfType([i.a.bool,i.a.object]),tabBarGutter:i.a.number,renderTabBar:i.a.func},inject:{configProvider:{default:function(){return U.a}}},mounted:function(){var e=this.$el;e&&!G&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")},methods:{removeTab:function(e,t){t.stopPropagation(),d(e)&&this.$emit("edit",e,"remove")},handleChange:function(e){this.$emit("change",e)},createNewTab:function(e){this.$emit("edit",e,"add")},onTabClick:function(e){this.$emit("tabClick",e)},onPrevClick:function(e){this.$emit("prevClick",e)},onNextClick:function(e){this.$emit("nextClick",e)}},render:function(){var i=this,o=arguments[0],e=Object(x.getOptionProps)(this),t=e.prefixCls,n=e.size,r=e.type,r=void 0===r?"line":r,a=e.tabPosition,s=e.animated,s=void 0===s||s,l=e.hideAdd,u=e.renderTabBar,c=(0,this.configProvider.getPrefixCls)("tabs",t),t=Object(x.filterEmpty)(this.$slots.default),f=Object(x.getComponentFromProp)(this,"tabBarExtraContent"),h="object"===(void 0===s?"undefined":g()(s))?s.tabPane:s,e=("line"!==r&&(h="animated"in e&&h),s={},_()(s,c+"-vertical","left"===a||"right"===a),_()(s,c+"-"+n,!!n),_()(s,c+"-card",0<=r.indexOf("card")),_()(s,c+"-"+r,!0),_()(s,c+"-no-animation",!h),s),d=[],n=("editable-card"===r&&(d=[],t.forEach(function(t,e){var n=Object(x.getOptionProps)(t).closable,r=(n=void 0===n||n)?o(v.default,{attrs:{type:"close"},class:c+"-close-x",on:{click:function(e){return i.removeTab(t.key,e)}}}):null;d.push(Object(w.a)(t,{props:{tab:o("div",{class:n?void 0:c+"-tab-unclosable"},[Object(x.getComponentFromProp)(t,"tab"),r])},key:t.key||e}))}),l||(f=o("span",[o(v.default,{attrs:{type:"plus"},class:c+"-new-tab",on:{click:this.createNewTab}}),f]))),f=f?o("div",{class:c+"-extra-content"},[f]):null,u||this.$scopedSlots.renderTabBar),s=Object(x.getListeners)(this),p={props:m()({},this.$props,{prefixCls:c,tabBarExtraContent:f,renderTabBar:n}),on:s},y=(l={},_()(l,c+"-"+a+"-content",!0),_()(l,c+"-card-content",0<=r.indexOf("card")),l),u={props:m()({},Object(x.getOptionProps)(this),{prefixCls:c,tabBarPosition:a,renderTabBar:function(){return o(ee,b()([{key:"tabBar"},p]))},renderTabContent:function(){return o(P,{class:y,attrs:{animated:h,animatedWithMargin:!0}})},children:0<d.length?d:t,__propsSymbol__:Symbol()}),on:m()({},s,{change:this.handleChange}),class:e};return o(V,u)}},te=t("2xRk");D.TabPane=m()({},s,{name:"ATabPane",__ANT_TAB_PANE:!0}),D.TabContent=m()({},P,{name:"ATabContent"}),r.a.use(n.a,{name:"ant-ref"}),D.install=function(e){e.use(te.default),e.component(D.name,D),e.component(D.TabPane.name,D.TabPane),e.component(D.TabContent.name,D.TabContent)},e.default=D},zT9C:function(e,Be,t){!function(e,t){var x="__lodash_hash_undefined__",R=9007199254740991,w="[object Arguments]",N="[object Boolean]",z="[object Date]",A="[object Function]",F="[object GeneratorFunction]",S="[object Map]",V="[object Number]",C="[object Object]",H="[object Promise]",Y="[object RegExp]",O="[object Set]",G="[object String]",U="[object Symbol]",n="[object WeakMap]",Q="[object ArrayBuffer]",E="[object DataView]",W="[object Float32Array]",q="[object Float64Array]",K="[object Int8Array]",X="[object Int16Array]",J="[object Int32Array]",$="[object Uint8Array]",Z="[object Uint8ClampedArray]",ee="[object Uint16Array]",te="[object Uint32Array]",ne=/\w*$/,re=/^\[object .+?Constructor\]$/,ie=/^(?:0|[1-9]\d*)$/,M={},e=(M[w]=M["[object Array]"]=M[Q]=M[E]=M[N]=M[z]=M[W]=M[q]=M[K]=M[X]=M[J]=M[S]=M[V]=M[C]=M[Y]=M[O]=M[G]=M[U]=M[$]=M[Z]=M[ee]=M[te]=!0,M["[object Error]"]=M[A]=M[n]=!1,"object"==typeof e&&e&&e.Object===Object&&e),r="object"==typeof self&&self&&self.Object===Object&&self,e=e||r||Function("return this")(),r=Be&&!Be.nodeType&&Be,i=r&&"object"==typeof t&&t&&!t.nodeType&&t,i=i&&i.exports===r;function oe(e,t){return e.set(t[0],t[1]),e}function ae(e,t){return e.add(t),e}function se(e,t,n,r){var i=-1,o=e?e.length:0;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function le(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function ue(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function o(t,n){return function(e){return t(n(e))}}function ce(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var r=Array.prototype,a=Function.prototype,s=Object.prototype,l=e["__core-js_shared__"],fe=(l=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",he=a.toString,P=s.hasOwnProperty,u=s.toString,de=RegExp("^"+he.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),l=i?e.Buffer:void 0,a=e.Symbol,pe=e.Uint8Array,ye=o(Object.getPrototypeOf,Object),me=Object.create,ge=s.propertyIsEnumerable,ve=r.splice,i=Object.getOwnPropertySymbols,r=l?l.isBuffer:void 0,be=o(Object.keys,Object),l=b(e,"DataView"),c=b(e,"Map"),f=b(e,"Promise"),h=b(e,"Set"),e=b(e,"WeakMap"),d=b(Object,"create"),_e=_(l),xe=_(c),we=_(f),Ae=_(h),Se=_(e),a=a?a.prototype:void 0,Ce=a?a.valueOf:void 0;function p(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function m(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function k(e){this.__data__=new y(e)}function Oe(e,t){var n,r,i,o,a=j(e)||function(e){return function(e){return e&&"object"==typeof e}(e)&&Le(e)}(n=e)&&P.call(n,"callee")&&(!ge.call(n,"callee")||u.call(n)==w)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=a.length,l=!!s;for(r in e)!t&&!P.call(e,r)||l&&("length"==r||(i=r,(o=null==(o=s)?R:o)&&("number"==typeof i||ie.test(i))&&-1<i&&i%1==0&&i<o))||a.push(r);return a}function Ee(e,t,n){var r=e[t];P.call(e,t)&&Ie(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function g(e,t){for(var n=e.length;n--;)if(Ie(e[n][0],t))return n;return-1}function T(n,r,i,o,e,t,a){var s;if(void 0===(s=o?t?o(n,e,t,a):o(n):s)){if(!D(n))return n;e=j(n);if(e){if(s=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&P.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(n),!r){var l=n,u=s,c=-1,f=l.length;for(u=u||Array(f);++c<f;)u[c]=l[c];return u}}else{var h,d,p=L(n),y=p==A||p==F;if(je(n))return h=n,(d=r)?h.slice():(d=new h.constructor(h.length),h.copy(d),d);if(p==C||p==w||y&&!t){if(le(n))return t?n:{};if(s="function"!=typeof(h=y?{}:n).constructor||Te(h)?{}:function(e){return D(e)?me(e):{}}(ye(h)),!r)return y=d=n,y=(g=s)&&Pe(y,B(y),g),Pe(d,ke(d),y)}else{if(!M[p])return t?n:{};s=function(e,t,n,r){var i=e.constructor;switch(t){case Q:return I(e);case N:case z:return new i(+e);case E:return function(e,t){t=t?I(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}(e,r);case W:case q:case K:case X:case J:case $:case Z:case ee:case te:return function(e,t){t=t?I(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}(e,r);case S:return function(e,t,n){return se(t?n(ue(e),!0):ue(e),oe,new e.constructor)}(e,r,n);case V:case G:return new i(e);case Y:return function(e){var t=new e.constructor(e.source,ne.exec(e));return t.lastIndex=e.lastIndex,t}(e);case O:return function(e,t,n){return se(t?n(ce(e),!0):ce(e),ae,new e.constructor)}(e,r,n);case U:return function(e){return Ce?Object(Ce.call(e)):{}}(e)}}(n,p,T,r)}}var m,g=(a=a||new k).get(n);if(g)return g;a.set(n,s);for(var v=(m=e?m:i?function(e,t,n){t=t(e);return j(e)?t:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(t,n(e))}(n,B,ke):B(n))||n,b=function(e,t){m&&(e=n[t=e]),Ee(s,t,T(e,r,i,o,t,n,a))},_=-1,x=v?v.length:0;++_<x&&!1!==b(v[_],_,v););}return s}function Me(e){var t;return D(e)&&(t=e,!(fe&&fe in t))&&(De(e)||le(e)?de:re).test(_(e))}function I(e){var t=new e.constructor(e.byteLength);return new pe(t).set(new pe(e)),t}function Pe(e,t,n,r){n=n||{};for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;Ee(n,a,void 0===s?e[a]:s)}return n}function v(e,t){var n,r,e=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?e["string"==typeof t?"string":"hash"]:e.map}function b(e,t){t=t;e=null==(e=e)?void 0:e[t];return Me(e)?e:void 0}p.prototype.clear=function(){this.__data__=d?d(null):{}},p.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},p.prototype.get=function(e){var t,n=this.__data__;return d?(t=n[e])===x?void 0:t:P.call(n,e)?n[e]:void 0},p.prototype.has=function(e){var t=this.__data__;return d?void 0!==t[e]:P.call(t,e)},p.prototype.set=function(e,t){return this.__data__[e]=d&&void 0===t?x:t,this},y.prototype.clear=function(){this.__data__=[]},y.prototype.delete=function(e){var t=this.__data__;return!((e=g(t,e))<0||(e==t.length-1?t.pop():ve.call(t,e,1),0))},y.prototype.get=function(e){var t=this.__data__;return(e=g(t,e))<0?void 0:t[e][1]},y.prototype.has=function(e){return-1<g(this.__data__,e)},y.prototype.set=function(e,t){var n=this.__data__,r=g(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},m.prototype.clear=function(){this.__data__={hash:new p,map:new(c||y),string:new p}},m.prototype.delete=function(e){return v(this,e).delete(e)},m.prototype.get=function(e){return v(this,e).get(e)},m.prototype.has=function(e){return v(this,e).has(e)},m.prototype.set=function(e,t){return v(this,e).set(e,t),this},k.prototype.clear=function(){this.__data__=new y},k.prototype.delete=function(e){return this.__data__.delete(e)},k.prototype.get=function(e){return this.__data__.get(e)},k.prototype.has=function(e){return this.__data__.has(e)},k.prototype.set=function(e,t){var n=this.__data__;if(n instanceof y){var r=n.__data__;if(!c||r.length<199)return r.push([e,t]),this;n=this.__data__=new m(r)}return n.set(e,t),this};var ke=i?o(i,Object):function(){return[]},L=function(e){return u.call(e)};function Te(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||s)}function _(e){if(null!=e){try{return he.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ie(e,t){return e===t||e!=e&&t!=t}(l&&L(new l(new ArrayBuffer(1)))!=E||c&&L(new c)!=S||f&&L(f.resolve())!=H||h&&L(new h)!=O||e&&L(new e)!=n)&&(L=function(e){var t=u.call(e),e=t==C?e.constructor:void 0,e=e?_(e):void 0;if(e)switch(e){case _e:return E;case xe:return S;case we:return H;case Ae:return O;case Se:return n}return t});var j=Array.isArray;function Le(e){return null!=e&&"number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=R&&!De(e);var t}var je=r||function(){return!1};function De(e){e=D(e)?u.call(e):"";return e==A||e==F}function D(e){var t=typeof e;return e&&("object"==t||"function"==t)}function B(e){return(Le(e)?Oe:function(e){if(!Te(e))return be(e);var t,n=[];for(t in Object(e))P.call(e,t)&&"constructor"!=t&&n.push(t);return n})(e)}t.exports=function(e){return T(e,!0,!0)}}.call(this,t("yLpj"),t("YuTi")(e))},zUnQ:function(e,t,n){"use strict";function r(){this.head=null,this.tail=null}r.prototype={add:function(e){var e={item:e,next:null},t=this.tail;t?t.next=e:this.head=e,this.tail=e},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=r},zZ0H:function(e,t){e.exports=function(e){return e}},zZCW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t;this.support.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||((t=this.el).style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab")}},zZPE:function(e,t){var n,r,i=Function.prototype,o=Object.prototype,a=i.toString,s=o.hasOwnProperty,l=a.call(Object),u=o.toString,c=(n=Object.getPrototypeOf,r=Object,function(e){return n(r(e))});e.exports=function(e){var t;return!(!(t=e)||"object"!=typeof t||"[object Object]"!=u.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))&&(null===(t=c(e))||"function"==typeof(e=s.call(t,"constructor")&&t.constructor)&&e instanceof e&&a.call(e)==l)}},zdGa:function(e,t,n){"use strict";var r=n("YEIV"),y=n.n(r),r=n("EJiy"),l=n.n(r),r=n("QbLZ"),p=n.n(r),r=n("TZE5"),i=n("TSYQ"),m=n.n(i),u=n("yaTQ"),g=n("2qPA"),i=n("tIgm"),c=n("lOvz");function v(){}n={name:"TreeNode",mixins:[i.a],__ANT_TREE_NODE:!0,props:Object(g.initDefaultProps)({eventKey:r.a.oneOfType([r.a.string,r.a.number]),prefixCls:r.a.string,root:r.a.object,expanded:r.a.bool,selected:r.a.bool,checked:r.a.bool,loaded:r.a.bool,loading:r.a.bool,halfChecked:r.a.bool,title:r.a.any,pos:r.a.string,dragOver:r.a.bool,dragOverGapTop:r.a.bool,dragOverGapBottom:r.a.bool,isLeaf:r.a.bool,checkable:r.a.bool,selectable:r.a.bool,disabled:r.a.bool,disableCheckbox:r.a.bool,icon:r.a.any,dataRef:r.a.object,switcherIcon:r.a.any,label:r.a.any,value:r.a.any},{}),data:function(){return{dragNodeHighlight:!1}},inject:{vcTree:{default:function(){return{}}},vcTreeNode:{default:function(){return{}}}},provide:function(){return{vcTreeNode:this}},mounted:function(){var e=this.eventKey,t=this.vcTree.registerTreeNode;this.syncLoadData(this.$props),t&&t(e,this)},updated:function(){this.syncLoadData(this.$props)},beforeDestroy:function(){var e=this.eventKey,t=this.vcTree.registerTreeNode;t&&t(e,null)},methods:{onSelectorClick:function(e){(0,this.vcTree.onNodeClick)(e,this),this.isSelectable()?this.onSelect(e):this.onCheck(e)},onSelectorDoubleClick:function(e){(0,this.vcTree.onNodeDoubleClick)(e,this)},onSelect:function(e){var t;this.isDisabled()||(t=this.vcTree.onNodeSelect,e.preventDefault(),t(e,this))},onCheck:function(e){var t,n,r;this.isDisabled()||(t=this.disableCheckbox,n=this.checked,r=this.vcTree.onNodeCheck,this.isCheckable()&&!t&&(e.preventDefault(),r(e,this,!n)))},onMouseEnter:function(e){(0,this.vcTree.onNodeMouseEnter)(e,this)},onMouseLeave:function(e){(0,this.vcTree.onNodeMouseLeave)(e,this)},onContextMenu:function(e){(0,this.vcTree.onNodeContextMenu)(e,this)},onDragStart:function(e){var t=this.vcTree.onNodeDragStart;e.stopPropagation(),this.setState({dragNodeHighlight:!0}),t(e,this);try{e.dataTransfer.setData("text/plain","")}catch(e){}},onDragEnter:function(e){var t=this.vcTree.onNodeDragEnter;e.preventDefault(),e.stopPropagation(),t(e,this)},onDragOver:function(e){var t=this.vcTree.onNodeDragOver;e.preventDefault(),e.stopPropagation(),t(e,this)},onDragLeave:function(e){var t=this.vcTree.onNodeDragLeave;e.stopPropagation(),t(e,this)},onDragEnd:function(e){var t=this.vcTree.onNodeDragEnd;e.stopPropagation(),this.setState({dragNodeHighlight:!1}),t(e,this)},onDrop:function(e){var t=this.vcTree.onNodeDrop;e.preventDefault(),e.stopPropagation(),this.setState({dragNodeHighlight:!1}),t(e,this)},onExpand:function(e){(0,this.vcTree.onNodeExpand)(e,this)},getNodeChildren:function(){var e=this.$slots.default,e=Object(g.filterEmpty)(e),t=Object(u.j)(e);return e.length!==t.length&&Object(u.o)(),t},getNodeState:function(){var e=this.expanded;return this.isLeaf2()?null:e?"open":"close"},isLeaf2:function(){var e=this.isLeaf,t=this.loaded,n=this.vcTree.loadData,r=0!==this.getNodeChildren().length;return!1!==e&&(e||!n&&!r||n&&t&&!r)},isDisabled:function(){var e=this.disabled,t=this.vcTree.disabled;return!1!==e&&!(!t&&!e)},isCheckable:function(){var e=this.$props.checkable,t=this.vcTree.checkable;return!(!t||!1===e)&&t},syncLoadData:function(e){var t=e.expanded,n=e.loading,e=e.loaded,r=this.vcTree,i=r.loadData,r=r.onNodeLoad;n||i&&t&&!this.isLeaf2()&&0===this.getNodeChildren().length&&!e&&r(this)},isSelectable:function(){var e=this.selectable,t=this.vcTree.selectable;return"boolean"==typeof e?e:t},renderSwitcher:function(){var e=this.$createElement,t=this.expanded,n=this.vcTree.prefixCls,r=Object(g.getComponentFromProp)(this,"switcherIcon",{},!1)||Object(g.getComponentFromProp)(this.vcTree,"switcherIcon",{},!1);return this.isLeaf2()?e("span",{key:"switcher",class:m()(n+"-switcher",n+"-switcher-noop")},["function"==typeof r?r(p()({},this.$props,this.$props.dataRef,{isLeaf:!0})):r]):(n=m()(n+"-switcher",n+"-switcher_"+(t?"open":"close")),e("span",{key:"switcher",on:{click:this.onExpand},class:n},["function"==typeof r?r(p()({},this.$props,this.$props.dataRef,{isLeaf:!1})):r]))},renderCheckbox:function(){var e=this.$createElement,t=this.checked,n=this.halfChecked,r=this.disableCheckbox,i=this.vcTree.prefixCls,o=this.isDisabled(),a=this.isCheckable();return a?(a="boolean"!=typeof a?a:null,e("span",{key:"checkbox",class:m()(i+"-checkbox",t&&i+"-checkbox-checked",!t&&n&&i+"-checkbox-indeterminate",(o||r)&&i+"-checkbox-disabled"),on:{click:this.onCheck}},[a])):null},renderIcon:function(){var e=this.$createElement,t=this.loading,n=this.vcTree.prefixCls;return e("span",{key:"icon",class:m()(n+"-iconEle",n+"-icon__"+(this.getNodeState()||"docu"),t&&n+"-icon_loading")})},renderSelector:function(e){var t=this.selected,n=this.loading,r=this.dragNodeHighlight,i=Object(g.getComponentFromProp)(this,"icon",{},!1),o=this.vcTree,a=o.prefixCls,s=o.showIcon,l=o.icon,u=o.draggable,o=o.loadData,c=this.isDisabled(),f=Object(g.getComponentFromProp)(this,"title",{},!1),h=a+"-node-content-wrapper",d=void 0,i=(s?d=(s=i||l)?e("span",{class:m()(a+"-iconEle",a+"-icon__customize")},["function"==typeof s?s(p()({},this.$props,this.$props.dataRef),e):s]):this.renderIcon():o&&n&&(d=this.renderIcon()),f),l=e("span",{class:a+"-title"},i?["function"==typeof i?i(p()({},this.$props,this.$props.dataRef),e):i]:["---"]);return e("span",{key:"selector",ref:"selectHandle",attrs:{title:"string"==typeof f?f:"",draggable:!c&&u||void 0,"aria-grabbed":!c&&u||void 0},class:m()(h,h+"-"+(this.getNodeState()||"normal"),!c&&(t||r)&&a+"-node-selected",!c&&u&&"draggable"),on:{mouseenter:this.onMouseEnter,mouseleave:this.onMouseLeave,contextmenu:this.onContextMenu,click:this.onSelectorClick,dblclick:this.onSelectorDoubleClick,dragstart:u?this.onDragStart:v}},[d,l])},renderChildren:function(){var e=this.$createElement,t=this.expanded,n=this.pos,r=this.vcTree,i=r.prefixCls,o=r.openTransitionName,a=r.openAnimation,s=r.renderTreeNode,r={},o=(o?r=Object(c.a)(o):"object"===(void 0===a?"undefined":l()(a))&&((r=p()({},a)).props=p()({css:!1},r.props)),this.getNodeChildren());return 0===o.length?null:(a=void 0,t&&(a=e("ul",{class:m()(i+"-child-tree",t&&i+"-child-tree-open"),attrs:{"data-expanded":t,role:"group"}},[Object(u.l)(o,function(e,t){return s(e,t,n)})])),e("transition",r,[a]))}},render:function(e){var t,n=this.$props,r=n.dragOver,i=n.dragOverGapTop,o=n.dragOverGapBottom,a=n.isLeaf,s=n.expanded,l=n.selected,u=n.checked,c=n.halfChecked,n=n.loading,f=this.vcTree,h=f.prefixCls,d=f.filterTreeNode,f=f.draggable,p=this.isDisabled();return e("li",{class:(t={},y()(t,h+"-treenode-disabled",p),y()(t,h+"-treenode-switcher-"+(s?"open":"close"),!a),y()(t,h+"-treenode-checkbox-checked",u),y()(t,h+"-treenode-checkbox-indeterminate",c),y()(t,h+"-treenode-selected",l),y()(t,h+"-treenode-loading",n),y()(t,"drag-over",!p&&r),y()(t,"drag-over-gap-top",!p&&i),y()(t,"drag-over-gap-bottom",!p&&o),y()(t,"filter-node",d&&d(this)),t),attrs:{role:"treeitem"},on:{dragenter:f?this.onDragEnter:v,dragover:f?this.onDragOver:v,dragleave:f?this.onDragLeave:v,drop:f?this.onDrop:v,dragend:f?this.onDragEnd:v}},[this.renderSwitcher(),this.renderCheckbox(),this.renderSelector(e),this.renderChildren()])},isTreeNode:1};t.a=n},zoYe:function(e,t,n){var r=n("nmnc"),i=n("eUgh"),o=n("Z0cm"),a=n("/9aa"),n=r?r.prototype:void 0,s=n?n.toString:void 0;e.exports=function e(t){var n;return"string"==typeof t?t:o(t)?i(t,e)+"":a(t)?s?s.call(t):"":"0"==(n=t+"")&&1/t==-1/0?"-0":n}},zqUU:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.tabPaneTypes=t.default=void 0,n("zLns")),o=r(n("ET/Y")),a=r(n("TFue")),r=r(n("WlrG")),n={active:o.default.bool,destroyInactiveTabPane:o.default.bool,forceRender:o.default.bool,placeholder:o.default.any,rootPrefixCls:o.default.string,tab:o.default.any,closable:o.default.bool,disabled:o.default.bool},o=(t.tabPaneTypes=n,{name:"SmTabPane",__ANT_TAB_PANE:!0,defaultComponent:i.TabPane,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},zqxc:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("SWlJ"))),o=r(n("hRi9")),a=r(n("d0De")),s=r(n("2Z54")),r=(i.default.install=function(e,t){(0,s.default)(e,t),e.component((i.default.options||i.default).name,i.default),e.component((o.default.options||o.default).name,o.default),e.component((a.default.options||a.default).name,a.default)},i.default);t.default=r},zs13:function(e,t){e.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},zvmt:function(e,t,n){var l,u,i=n("lsHq"),c=n("mxIc").isArray;function f(e,t,n){return(!n&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function h(e,t,n){if(t.ignoreAttributes)return"";var r,i,o,a,s=[];for(r in e="attributesFn"in t?t.attributesFn(e,u,l):e)e.hasOwnProperty(r)&&null!==e[r]&&void 0!==e[r]&&(a=t.noQuotesForNativeAttributes&&"string"!=typeof e[r]?"":'"',i=(i=""+e[r]).replace(/"/g,"""),o="attributeNameFn"in t?t.attributeNameFn(r,i,u,l):r,s.push(t.spaces&&t.indentAttributes?f(t,n+1,!1):" "),s.push(o+"="+a+("attributeValueFn"in t?t.attributeValueFn(i,r,u,l):i)+a));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&s.push(f(t,n,!1)),s.join("")}function d(e,t,n){return l=e,u="xml",t.ignoreDeclaration?"":"<?xml"+h(e[t.attributesKey],t,n)+"?>"}function p(e,t,n){if(t.ignoreInstruction)return"";for(var r in e)if(e.hasOwnProperty(r))break;var i="instructionNameFn"in t?t.instructionNameFn(r,e[r],u,l):r;return"object"==typeof e[r]?"<?"+(u=i)+h((l=e)[r][t.attributesKey],t,n)+"?>":(n=e[r]||"","<?"+i+((n="instructionFn"in t?t.instructionFn(n,r,u,l):n)?" "+n:"")+"?>")}function y(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,u,l):e)+"--\x3e"}function m(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,u,l):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function g(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,u,l):e)+">"}function v(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&/g,"&")).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"textFn"in t?t.textFn(e,u,l):e)}function s(e,t,n){u=(l=e).name;var r=[],i="elementNameFn"in t?t.elementNameFn(e.name,e):e.name,o=(r.push("<"+i),e[t.attributesKey]&&r.push(h(e[t.attributesKey],t,n)),e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"]);return(o=o||("fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement))?(r.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(r.push(a(e[t.elementsKey],t,n+1)),u=(l=e).name),r.push(t.spaces&&function(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n<e.elements.length;++n)switch(e.elements[n][t.typeKey]){case"text":if(t.indentText)return 1;break;case"cdata":if(t.indentCdata)return 1;break;case"instruction":if(t.indentInstruction)return 1;break;default:return 1}}(e,t)?"\n"+Array(n+1).join(t.spaces):""),r.push("</"+i+">")):r.push("/>"),r.join("")}function a(e,i,o,a){return e.reduce(function(e,t){var n=f(i,o,a&&!e);switch(t.type){case"element":return e+n+s(t,i,o);case"comment":return e+n+y(t[i.commentKey],i);case"doctype":return e+n+g(t[i.doctypeKey],i);case"cdata":return e+(i.indentCdata?n:"")+m(t[i.cdataKey],i);case"text":return e+(i.indentText?n:"")+v(t[i.textKey],i);case"instruction":var r={};return r[t[i.nameKey]]=t[i.attributesKey]?t:t[i.instructionKey],e+(i.indentInstruction?n:"")+p(r,i,o)}},"")}function b(e,t,n){for(var r in e)if(e.hasOwnProperty(r))switch(r){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function _(e,t,n,r){var i,o,a,s=[];for(o in e)if(e.hasOwnProperty(o))for(a=c(e[o])?e[o]:[e[o]],i=0;i<a.length;++i){switch(o){case t.declarationKey:s.push(d(a[i],t,n));break;case t.instructionKey:s.push((t.indentInstruction?f(t,n,r):"")+p(a[i],t,n));break;case t.attributesKey:case t.parentKey:break;case t.textKey:s.push((t.indentText?f(t,n,r):"")+v(a[i],t));break;case t.cdataKey:s.push((t.indentCdata?f(t,n,r):"")+m(a[i],t));break;case t.doctypeKey:s.push(f(t,n,r)+g(a[i],t));break;case t.commentKey:s.push(f(t,n,r)+y(a[i],t));break;default:s.push(f(t,n,r)+function(e,t,n,r,i){l=e,u=t;var o="elementNameFn"in n?n.elementNameFn(t,e):t;if(null==e||""===e)return"fullTagEmptyElementFn"in n&&n.fullTagEmptyElementFn(t,e)||n.fullTagEmptyElement?"<"+o+"></"+o+">":"<"+o+"/>";var a=[];if(t){if(a.push("<"+o),"object"!=typeof e)return a.push(">"+v(e,n)+"</"+o+">"),a.join("");e[n.attributesKey]&&a.push(h(e[n.attributesKey],n,r));var s=b(e,n,!0)||e[n.attributesKey]&&"preserve"===e[n.attributesKey]["xml:space"];if(!(s=s||("fullTagEmptyElementFn"in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement)))return a.push("/>"),a.join("");a.push(">")}return a.push(_(e,n,r+1,!1)),l=e,(u=t)&&a.push((i?f(n,r,!1):"")+"</"+o+">"),a.join("")}(a[i],o,t,n,b(a[i],t)))}r=r&&!s.length}return s.join("")}e.exports=function(e,t){n=t,n=i.copyOptions(n),i.ensureFlagExists("ignoreDeclaration",n),i.ensureFlagExists("ignoreInstruction",n),i.ensureFlagExists("ignoreAttributes",n),i.ensureFlagExists("ignoreText",n),i.ensureFlagExists("ignoreComment",n),i.ensureFlagExists("ignoreCdata",n),i.ensureFlagExists("ignoreDoctype",n),i.ensureFlagExists("compact",n),i.ensureFlagExists("indentText",n),i.ensureFlagExists("indentCdata",n),i.ensureFlagExists("indentAttributes",n),i.ensureFlagExists("indentInstruction",n),i.ensureFlagExists("fullTagEmptyElement",n),i.ensureFlagExists("noQuotesForNativeAttributes",n),i.ensureSpacesExists(n),"number"==typeof n.spaces&&(n.spaces=Array(n.spaces+1).join(" ")),i.ensureKeyExists("declaration",n),i.ensureKeyExists("instruction",n),i.ensureKeyExists("attributes",n),i.ensureKeyExists("text",n),i.ensureKeyExists("comment",n),i.ensureKeyExists("cdata",n),i.ensureKeyExists("doctype",n),i.ensureKeyExists("type",n),i.ensureKeyExists("name",n),i.ensureKeyExists("elements",n),i.checkFnExists("doctype",n),i.checkFnExists("instruction",n),i.checkFnExists("cdata",n),i.checkFnExists("comment",n),i.checkFnExists("text",n),i.checkFnExists("instructionName",n),i.checkFnExists("elementName",n),i.checkFnExists("attributeName",n),i.checkFnExists("attributeValue",n),i.checkFnExists("attributes",n),i.checkFnExists("fullTagEmptyElement",n);var n,r=[];return l=e,u="_root_",(t=n).compact?r.push(_(e,t,0,!0)):(e[t.declarationKey]&&r.push(d(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&r.push(a(e[t.elementsKey],t,0,!r.length))),r.join("")}},zx6S:function(e,t,n){!function(e){"use strict";
- //! moment.js locale configuration
- var a={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){if(e%10>=1&&e%10<=4&&(e%100<10||e%100>=20))return e%10===1?t[0]:t[1];return t[2]},translate:function(e,t,n,r){var i=a.words[n],o;if(n.length===1){if(n==="y"&&t)return"jedna godina";return r||t?i[0]:i[1]}o=a.correctGrammaticalCase(e,i);if(n==="yy"&&t&&o==="godinu")return e+" godina";return e+" "+o}},t;e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:true,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:true,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},zxod:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.radioButtonTypes=t.default=void 0,r(n("wOTH"))),o=n("lSl3"),a=r(n("TFue")),r=r(n("WlrG")),n=Object.assign({},o.radioTypes),o=(t.radioButtonTypes=n,{name:"SmRadioButton",defaultComponent:i.default,mixins:[a.default,r.default],inheritAttrs:!1,props:n});t.default=o},zyim:function(e,t,n){"use strict";var r=n("TqRt"),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(n("KP9C"))),o=r(n("R7NE")),a=r(n("drpF")),r=(n("jKu1"),{name:"SmChart",mixins:[o.default,i.default],loaded:function(){this.viewModel=new a.default(this.map)},beforeDestroy:function(){this.$options.removed.call(this)},removed:function(){this.clearPopup()},methods:{clearPopup:function(){this.viewModel&&this.viewModel.clear()}}});t.default=r}}).default});
|