/*! * * @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[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=1t[r]&&(n=r);return Math.abs(t[n+1]-e)=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=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&&-180i&&!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=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=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;ma.translate&&y>a.maxTranslate()&&(c||0)!==s)return!1}p=ce.phi1&&(e.phi2-=2*h),1===e.sweepFlag&&e.phi2C.maxX&&(C.maxX=e),eC.maxY&&(C.maxY=e),ey&&by&&br&&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=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=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'),n.append(A)),A.css({height:i+"px"})):0===(A=t.find(".swiper-cube-shadow")).length&&(A=(0,S.default)('
'),t.append(A)));for(var d,p=0;p'),y.append(g)),0===_.length&&(_=(0,S.default)('
'),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=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=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")){var a="div",s=(0===o.indexOf("=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();++ti;)!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;tthis.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.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e(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=(111)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]=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=+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=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(0n||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=!(1i;)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(0ne;)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'),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=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=i.snapGrid[a]?(l=i.snapGrid[a],(i.snapGrid[a+1]-l)*rO.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.yearu);var t,n=L,n=e.yearu?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=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||112?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;hn--&&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]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{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}=1e()))&&(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{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{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{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{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{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=0this.x2)&&(this.x2=e),void 0!==t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),tthis.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[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{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{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=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.adjustChildCoordinatesRecursiveCore(n,this,this,t)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(n,r,e,t){var i=e.children[t];0{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{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{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{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=03===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{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{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[0e.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;h0!==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&&00{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{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{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}=1n(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=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>",{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:0t+.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=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[c]&&n=r[c]&&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>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>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}(r));return i.join("")}(e,o,a>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=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=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(0n.slides.length&&!i)break;r.push(a(s))}else r.push(a(n.activeIndex));for(t=0;t10&&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=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=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>>0,t>>>=0,Array(i));++r=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=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"===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+=""===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",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",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+="";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>10),i%1024+56320),(t+1===n||16384>>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>>0;if(0==s)return[];if(0===r.length)return null===A(a,r)?[r]:[];for(var l=0,u=0,c=[];u]*>)/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=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=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=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=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;e1&&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=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(r=1))return r;for(;no?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>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@\,;\:\\"\/\[\]\?\=\{\}\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=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=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;r255?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":"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=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;t2){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=[];r1)&&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-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;o4?"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=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;c0&&s<0||a<0&&s>0}function Ht(e,t,n){for(var r=0,i=n;rn[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=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;rt))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=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;t0&&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;o1}))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=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)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;aNumber.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=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",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":[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;n0&&"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=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=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;l0||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.lengthr.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=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);tt?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;sn?(this.lastIntegerZoom=n+1,this.lastIntegerZoomTime=t):this.lastFloorZoom=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=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-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;nthis.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);tthis.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(r=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);ir.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.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>>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>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>1],a=r-1,s=i+1;;){do{a++}while(t[a]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-ra.x+1||la.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;n1){if(ia(e,t))return!0;for(var r=0;r1?n:n.sub(t)._mult(i)._add(t))}function la(e,t){for(var n,r,i,o=!1,a=0;at.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;rt.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.xi.x&&t.x>i.x||e.yi.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=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;d80*n){r=o=e[0],i=a=e[1];for(var p=n;po&&(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=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;t0||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=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.x&&r.x>=c&&i!==r.x&&Qa(on.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=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;or;){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);h0;)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 et?1:0}function ss(e,t){var n=e.length;if(n<=1)return[e];for(var r,i,o=[],a=0;a1)for(var l=0;l0&&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>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>3}if(r--,1===n||2===n)(i+=e.readSVarint())s&&(s=i),(o+=e.readSVarint())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>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;r8192})||I.every(function(e){return e.y<0})||I.every(function(e){return e.y>8192})))for(var y=0,m=0;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=2&&e[o-1].equals(e[o-2]);)o--;for(var a=0;a0;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&&(vn&&(S="bevel"),"bevel"===S&&(v>2&&(S="flipbevel"),v100)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;P2*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=3)for(var o=0;o0?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<>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<>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<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>>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=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>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;i239?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.pos127;);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;t268435455||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;o55295&&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=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));_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=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=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=0,f=0,h=0;h-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;sr;)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;nu){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=0&&x=0&&w=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=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;d0&&(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 et?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;lo)&&(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;dy.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;ie.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=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;a32640&&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=0;a--)if(r.dist(o[a])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=0;for(var I=0,L=S.sections;I=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;l0},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;i1||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=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",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(""===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(""===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:"",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: , lat: }, an object {lon: , lat: }, or an array of [, ]")};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<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>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.wrape.wrap)&&(this.overscaledZe.overscaledZ)&&(this.canonical.xe.canonical.x)&&this.canonical.y=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=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=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=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;yr)i=!1;else if(t)if(this.expirationTimeFe&&(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;r0&&(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=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);w1){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=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=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>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>3}if(r--,1===n||2===n)(i+=e.readSVarint())s&&(s=i),(o+=e.readSVarint())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>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>31}function re(e,t){for(var n=e.loadGeometry(),r=e.type,i=0,o=0,a=n.length,s=0;s>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);dh;)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;r1?1:r)),t.push(0)}function S(e,t,n,r){for(var i,o,a=0,s=0;s0&&(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;da)o=d,a=p;else if(p===a){var y=Math.abs(d-s);yi&&(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=(n/=t)&&a=r)return null;for(var l=[],u=0;u=n&&p=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=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;hn&&(l=c(u,d,p,m,g,n),a&&(u.start=f+s*l)):v>r?b=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;aa.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;s0&&t.size<(i?a:r))n.numPoints+=t.length/3;else{for(var s=[],l=0;la)&&(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;r0===t)for(r=0,i=e.length;r24)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=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));ct&&(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;_1)for(var S=0,C=c;S>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<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<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<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;r1?"@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=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=0?1.2:1))}function q(e,t,n,r,i,o,a){for(var s=0;s65535)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;r1&&(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;u1&&(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=n&&e.x=r&&e.y0&&(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+10&&(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;ot.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];ethis.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];r1||(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);uthis._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;o0||(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=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=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.length0?(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=-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;mMath.abs(n.x-t.x)*r?{useVertical:!0}:(e===ae.WritingMode.vertical?t.yn.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;C0?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;L0?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)=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;s0: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=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;ga*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=1;_--)b.push(g.path[_]);for(var x=1;x0){for(var S=b[0].clone(),C=b[0].clone(),O=1;O=p.x&&C.x<=y.x&&S.y>=p.y&&C.y<=y.y?[b]:C.xy.x||C.yy.y?[]:ae.clipLine([b],p.x,p.y,y.x,y.y)}for(var E=0,M=A;E=this.screenRightBoundary||r<100||t>this.screenBottomBoundary},s.prototype.isInsideGrid=function(e,t,n,r){return n>=0&&e=0&&t0?(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;n0&&(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=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=0;--a){var s=o[a];i(D.symbolInstances.get(s),D.collisionArrays[s])}else for(var l=e.symbolInstanceStart;l=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];o0,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;oe},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._currentTileIndex2};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;re.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;c0)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=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] 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>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();_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;h0){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=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;E0){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;c256&&this.clearStencil(),n.setColorMode(y.disabled),n.setDepthMode(se.disabled);var i=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var o=0,a=t;o256&&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=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.currentLayer0?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=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;cthis.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&&te.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<=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]))-io&&(r=o-y)}if(this.lngRange){var m=h.x,g=l.x/2;m-gs&&(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=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.duration0&&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=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;rthis.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;n30)&&(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)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,!(aMath.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;rl?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=we.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)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=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;ne.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()=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()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=n&&e.x=r&&e.y180;){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)-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.longitudet.getEast()||n.latitudet.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.ythis._map.transform.height-s?["bottom"]:[],n.xthis._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):3a;)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):3i.maxRatio&&(r.scale=i.maxRatio-1+Math.pow(r.scale-i.maxRatio+1,.5)),r.scaler.touchesStart.x))return void(r.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(r.minY)===Math.floor(r.startY)&&r.touchesCurrent.yr.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.currentXr.maxX&&(r.currentX=r.maxX-1+Math.pow(r.currentX-r.maxX+1,.8)),r.currentYr.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)=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=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>",{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=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=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;n1))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=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;u150)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;nthis.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=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;na.left&&c.xa.top&&c.y=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=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.clientXh.innerWidth-y.margin;a=r.clientY>h.innerHeight-y.margin}else{var d=Da.getElementClientRect(h);s=r.clientXd.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=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":r0)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);t1&&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;ir.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(oMath.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=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):3this.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=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.maxTranslate())t.slides.lengtht.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-y){m=g;break}y=-(y=Math.abs(l[m]-y)=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var v=0,b=t.slidesSizesGrid[0],_=0;_=s[_]&&u=s[_]&&(v=_,b=s[s.length-1]-s[s.length-2])}o=(u-s[v])/b,i=vr.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 "+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=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+""},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=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=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();++ti-1-2*e.loopedSlides&&(r-=i-2*e.loopedSlides),a-1n.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=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";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):' / ',r.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'',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>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>h,0>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)=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=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')})})},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):39)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=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__;n1?"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&&0t.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.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;eo.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=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>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;lb)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$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=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 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'),h.append(d)),0===g.length&&(g=(0,_.default)('
'),h.append(g)),d.length&&(d[0].style.opacity=0'+e+"")).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;t1&&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>>0;t=+t||0;if(Math.abs(t)===Infinity)t=0;if(t<0){t+=n;if(t<0)t=0}for(;tthis.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;nthis.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;ir)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;i0;i--){var l=o[i+1]-this.stddev();o[i]=l}for(i=s+1;i0;i--){var l=o[i+1]-this.stddev();o[i]=l}for(i=u+1;i=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;iparseFloat(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.counter[i]+")";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='
'+h+s+"
";l.push(d)}else for(i=0;i('+this.counter[i]+")";var h=fn(this.bounds[i]);var d='
'+h+s+"
";l.push(d)}if(a==="DESC")l.reverse();var p='
'+D(lg)+"
";for(i=0;i";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=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=1i.length&&(r.loopedSlides=i.length);var l=[],u=[];i.each(function(e,t){var n=(0,d.default)(e);t=i.length-r.loopedSlides&&l.push(e),n.attr("data-swiper-slide-index",t)});for(var c=0;c>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,"�"):1o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(lo.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&&1i.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=0n.minTranslate()?(t=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+r.startTranslate+c,u))):c<0&&r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),0i.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=1e.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/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;en.right}function ye(e,t,n){return e.topn.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.widtho.bottom||r.top+i.height=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+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 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 */ 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&&011)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=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=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 */ t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<>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,c+=r;0>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<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?ot.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+(t1)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>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;ui){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=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=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>>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);td&&(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
'),o.append(r)),0===i.length&&(i=(0,f.default)('
'),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.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._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;tb.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=+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&&0t.maxFeatures&&(l=t.maxFeatures);for(var u=0;u=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=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:-1document.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=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.placeMath.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=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 2g?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?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(60g?(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?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(gg?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(eMath.PI&&(n=Math.PI),t=(2*r+Math.sin(2*r))/Math.PI,12*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=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=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:1t.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)==/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/,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 '' 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/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;012?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=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=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;io[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 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 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&&-1Math.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=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=0o.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=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 * @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()=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=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>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>>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;yt)&&(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;cthis.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/2e.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>>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>>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>>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>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=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>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(e=e||0))for(s=t;s>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=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=a}),s=(0,x.detectStrongConnectComponents)({nodes:s,edges:d.edges}).filter(function(e){return 1u[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];ar[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=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;n2*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}nH&&(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),nR[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;aR[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);(vF[r][F[r].length-1])||(t=s[e].node[k],o[t]--,o[t]=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=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]*>/,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;en.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=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,0m.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;gMath.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;oh&&(v=w,g=l,a=u,w=x+h*(s&&x=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.xi.x||i.xr.x)&&(r.yi.y||i.yr.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;fMath.max(i,a)||Math.max(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=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=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=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;le.maxX||t.maxXe.maxY||t.maxY'}),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';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=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+=''+e+"":"top"===a?r+=''+e+"":"middle"===a?r+=''+e+"":"bottom"===a?r+=''+e+"":"hanging"===a&&(r+=''+e+""):r+=''+e+""}),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",Vector3Float:"vec3",Vector4Float:"vec4",Vector2Boolean:"vec2",Vector3Boolean:"vec3",Vector4Boolean:"vec4",Vector2Uint:"vec2",Vector3Uint:"vec3",Vector4Uint:"vec4",Vector2Int:"vec2",Vector3Int:"vec3",Vector4Int:"vec4",Matrix:"Matrix",Matrix3x3Float:"mat3x3",Matrix4x4Float:"mat4x4",Struct:"Struct",FloatArray:"Float[]",Vector4FloatArray:"vec4[]"},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=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.ya.x?1:0:t.x>n.x&&t.y<=n.y?this.clockwise=s.y=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;er&&15!==c(e,t)&&(n=function(e,t){for(var n,r,i=e,o=t,a=0;an.y?r?s:t:r?l:u:o.ya.x?r?s:t:r?u:l:e.xr.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;dn.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;la.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
.
','Find out how to get it here.']:['Your browser does not seem to support WebGL.
','Find out how to get it here.']).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;ot.x&&(t.x=e.x),e.xt.y&&(t.y=e.y),e.y+

":"

-

",i=o?"":"

".concat(void 0===i?"":i,"

"),o=o?"".concat(e,"px"):"".concat(e,"px ").concat(e,"px 0 0"),'
\n \n

").concat(n,"

\n ").concat(r,"\n ").concat("

x

","\n
\n ").concat(i,"\n ")},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)("
"));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)('
'))).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)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=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 ni||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||t.get("height"))&&1(a||t.get("height"))&&1(a||t.get("height"))&&1
")),n=(0,a.createDom)(""));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)("
")),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"),tc?(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
"))),n=(((r=(0,g.isString)(r)?document.getElementById(r):r)||e.get("container")).appendChild(t),this.set("container",t),(0,v.createDom)('
')),i=(t.appendChild(n),(0,v.createDom)('')),o=(n.appendChild(i),this.set("containerDOM",n),this.set("containerSpan",i),(0,v.createDom)('')));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]'));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"),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\n
  • 菜单项1
  • \n
  • 菜单项2
  • \n \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)("
    "));(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")),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)("
    "));((r=(0,b.isString)(r)?document.getElementById(r):r)||e.get("container")).appendChild(n),this.set("container",n);r=(0,_.createDom)('
    ');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")),(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=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))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;ll?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')),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
    "))),s=(o.innerHTML=r,e.appendChild(o),this.backgroundDOM=o,(0,u.createDom)("
    ")));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;nc?(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;tthis.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
      \n
    • \n \n \n \n
    • \n
    • \n \n \n \n
    • \n
    • \n \n \n \n
    • \n
    • \n \n \n \n
    • \n
    • \n \n \n \n
    • \n
    • \n \n \n \n
    • \n
    \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

    类型:".concat(e.item.getType(),"

    \n ID:").concat(e.item.getID(),"\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)("
    ")),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>1])?void 0:t.priority)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];0t[r])return 1;if(e[r]l&&ll);)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;rh.low&&(h=h.nxt);var g,v=p+d.prelim+d.w-(m+y.prelim);if(0o&&(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;ie.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 ethis.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;Ce.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;ad[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;an&&(o.minX=n),o.minY>r&&(o.minY=r),o.maxX=i.maxLevelDiff&&(h=[],f.push(h)),h.push(e)}),u+(l||i.minNodeSpacing)),p=(i.preventOverlap||(n=0e.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=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}):1e.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>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=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 0t.barycenter)return 1;if(o&&void 0!==e.order&&void 0!==t.order){if(e.ordert.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)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=(nr.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||eMath.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;tn(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;no){for(var d=y=Math.ceil((u.size[0]+i)/o)-1,p=0;pa){for(var y,d=y=Math.ceil((u.size[1]+i)/a)-1,p=0;p=e&&(this.additionColumn[r]+=t);for(n=0;n=e&&(this.additionRow[n]+=t);for(r=0;r(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(oo||r.y>a)&&(t+=1e12);for(var i=n+1;io||e.y+e.size[1]+20>a)&&(n+=1e12);for(var r=0;ro||d<1)&&d=h||e.judgingDistanceu&&(u=e.y),Math.sqrt(r*r+t*t));switch(f){case"max":c.judgingDistancei&&(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=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=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)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&&(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=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)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;as.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[0]&&t[1]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?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;_=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.layeri[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;iA[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;on?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;iMath.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;ot[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];nt[r])return 1;if(e[r]e.maxX)||r.maxXe.maxY||r.maxY=i.paramsCount[n]&&("m"===n&&2=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>0)/Math.pow(10,9)),x=Math.asin(((u-b)/i*Math.pow(10,9)>>0)/Math.pow(10,9)),_=tf&&(g=x,m=l,a=u,x=_+f*(s&&_=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=[];0y[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;ie.maxX)||o.maxXe.maxY||o.maxYi.x||i.xr.x)&&(r.yi.y||i.yr.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;fMath.max(i,a)||Math.max(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;lthis.max?NaN:this.values[t]},r.prototype.getText=function(e){for(var t=[],n=1;nthis.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(eo.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!");tt[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;hP.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;cP.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= 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>>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 al&&ll);)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;rt[r])return 1;if(e[r]>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>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;as.index&&(n=(t=l-o.x-o.vx)*t+(r=u-o.y-o.vy)*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=(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;cd||(l=r.y0)>p||(a=r.x1)=(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;tn._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=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);nthis._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>1].priority=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=2Math.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;sr.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>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=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.barycentert.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){ni)&&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;0s||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).maxRankMath.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=1l?e.x:l,s=e.yu?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)this.minalign&&(this.minalign=e);for(var n=1+~(this.bb.capacity()-this.space+t)&e-1;this.space>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>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))<>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>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;td.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=0d.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 0t[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=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;oi&&(i=e[o]);return i}},10617:function(e,t,n){"use strict";var a=n(88370);e.exports=function(e){var t=1=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;ot?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=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=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=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=1e.get(r,n)&&(r=i);if(0!==e.get(r,n)){e.swapRows(t,r);for(var o=e.get(t,n),a=n;at[n]&&(t[n]=this.get(n,r));return t;case"column":for(var i=new Array(this.columns).fill(Number.NEGATIVE_INFINITY),o=0;oi[a]&&(i[a]=this.get(o,a));return i;case void 0:for(var s=this.get(0,0),l=0;ls&&(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;ne&&(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;nt&&(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;rt&&(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;nt&&(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;rt&&(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.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=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=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);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>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>>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>>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;eMath.abs(s[r])&&(r=p);if(r!==t){for(n=0;nMath.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;ut&&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;fe&&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=s[v+1]);){var De=s[v];if(s[v]=s[v+1],s[v+1]=De,a&&vce*ue);f[d]=f[d]+le,c[d]=0}for(h=0;hMath.abs(j)?(-I-w*xe)/A:(-L-S*xe)/j)),1Math.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]))),1Math.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;st?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=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;ithis._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>c,r=s>>c,p(t.mipmask&1<>c,h=o>>c,p(l.mipmask&1<>>=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>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>>31<<15,r=n>>13&1023,i[o]=(n=(n<<1>>>24)-127)<-24?t:n<-14?t+(1024+r>>-14-n):15>=i,n.height>>=i,C(n,r[i]),e.mipmask|=1<>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<>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<>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>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=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=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=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"+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=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(0t&&(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>=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=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);ns[0]&&t[1]=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=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=_||(e.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?(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>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;uo&&(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>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*(ns&&(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 ss[0]&&t[1]=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 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=""+n+"",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",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var n="",r=0,i=t.length;r=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;ne.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;nthis.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&&ethis.bottom&&t=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=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=e.right&&i.right>e.right;)i=i.add(-o,0);t=i.left+n;te.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;nr.x&&i.x>r.x||n.xl*i.x+u||n.yr.y?i.xr.x&&(o=!1):e.xl*i.x+u&&(o=!1):e.x>r.x?i.y>r.y&&(o=!1):i.ye[a]&&(i=e[a],e[a]=e[o],e[o]=i,i=t[a],t[a]=t[o],t[o]=i,n&&0-this.EPSILON&&ethis.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=u)return!0;(i=o?(t=r,r=this.normalizeRadian(i),this.normalizeRadian(t)):(r=this.normalizeRadian(r),this.normalizeRadian(i)))a||(u[p]a?0:on||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)))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;pthis.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[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),1i&&(i=l[0]),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=(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=fthis._zlevelList[0]){for(r=0;re);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=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;nr&&(r=l[0]),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))i&&(i=s[l][0]+n[0]),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;ns&&(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;it.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=a[u].start&&l=a[u].start&&ln.bottom&&(t=Math.abs(e.y-n.bottom),sn.right&&(t=Math.abs(e.x-n.right),an-t&&e.timethis.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"+(r.legendTitle||"")+"",t="
    "+(r._createLegendElement.call(r)||"")+"
    ",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",n=0;n "+r:r+"-"+this._getWrapperText(this.colorStops[n+1][0]);t+="
  • "+r+"
  • "}return t+""}},{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=a[u].start&&l"+r+""}return e+""}}]),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;ne/a.height?o/a.width:e/a.height;this.useRadius=this.useGeoUnit?parseInt(this.radius/o):this.radius;for(var s=0;se.length)&&(t=e.length);for(var n=0,r=new Array(t);n=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=0o[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=0o[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=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=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>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;re)){for(var t,n=arguments.length,r=new Array(1e.length)&&(t=e.length);for(var n=0,r=new Array(t);nthis.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;ah[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 ").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(ae.length)&&(t=e.length);for(var n=0,r=new Array(t);nYu.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=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=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]e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.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(;++ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n\n
  • 展开
  • \n
  • 隐藏
  • \n ":"
      \n
    • 折叠
    • \n
    • 隐藏
    • \n
    ":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=0n?(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=0e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=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=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.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=e.endTime&&(e.currentTime=e.endTime)}}}]),Object.defineProperty(e,"prototype",{writable:!1}),o}();function A9(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ns.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=|<|>/);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= 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"}}},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"]&&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"]&&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":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"]&&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+"<="].valn)&&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",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,">");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;iL.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<=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;nn[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=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;nt[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=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;nr[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;nn[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;lr[1])return;for(var o=0,a=0;an[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;lr[1])return;for(var o=0,a=0;a0",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;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n=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=this.pageNumberLis.length-3)for(var i=this.pageNumberLis.length-5;i|<|=|!/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==/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 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 * MIT license */ function A(){return(A=Object.assign||function(e){for(var t=1;t * MIT license */()}function d(e,t /** * Gets CSS data from